ESP32 Tutorial - DHT11/DHT22 (Temperature and Humidity Sensor)

  Рет қаралды 98,407

DIY TechRush

DIY TechRush

Күн бұрын

How to use a DHT sensor with an ESP32 board!
● Playlist Link: bit.ly/3TdXiq5
● Introduction to ESP32: • Introduction to ESP32 ...
● Serial Monitor( NEW Arduino IDE ): • ESP32 Tutorial - How t...
♥ Don't Click This! : bit.ly/3jvI8g6
--------------------------------------------------------------------
FOLLOW ME:
● TikTok :
/ enjoy_mechatronics
● Facebook: / enjoymechatronics
● Github: github.com/Enj...
--------------------------------------------------------------------
► All content by "DIY TechRush" is 100% free.
I believe that education should be freely available to everyone.

Пікірлер: 62
@random_guy_whith_random_name
@random_guy_whith_random_name Жыл бұрын
Much better than my teacher, she asks us for projects in a short time and then leaves for a week without teaching us anything and expects us to know everything. You made it look so easy that I wonder how hard it was for him to explain it to us anyway.
@yahyamedani3915
@yahyamedani3915 Жыл бұрын
Great video!! Helped me pass my prostate exam
@DIYTechRush
@DIYTechRush Жыл бұрын
Glad it helped!
@2race66
@2race66 Жыл бұрын
#include DHT dht(26, DHT11); void setup() { dht.begin(); delay(2000); Serial.begin(115200); } void loop() { float temp = dht.readTemperature(); float humidity = dht.readHumidity(); Serial.print("Temp: "); Serial.print(temp); Serial.print(" C "); Serial.print("Humidity: "); Serial.print(humidity); Serial.println(" % "); delay(2000); }
@marypazmikomatala2702
@marypazmikomatala2702 8 ай бұрын
thank you
@Andyeditzs
@Andyeditzs 3 ай бұрын
Thanks
@DanBurgaud
@DanBurgaud 11 ай бұрын
looks and sound simple to understand. thanks!
@DIYTechRush
@DIYTechRush 11 ай бұрын
You are welcome!
@brunofrancosentis5148
@brunofrancosentis5148 Жыл бұрын
Excellent, finally a good tutorial about this. Thanks.
@DIYTechRush
@DIYTechRush Жыл бұрын
Glad it was helpful!
@aXfranXa
@aXfranXa 9 ай бұрын
92% of humidity? xD great video!
@cabinfeverjack1925
@cabinfeverjack1925 2 жыл бұрын
Very simple and well explained, Thank You
@DIYTechRush
@DIYTechRush 2 жыл бұрын
Glad it was helpful😊
@glen4cindy
@glen4cindy Жыл бұрын
This is an awesome tutorial. I see you are not using a resistor on your signal pin. I have one of these working successfully with an ESP32 but when I tried using an ESP32-S2 it acts just like it's not present. I'm using a resistor on the signal pin.
@naodtesfalem6758
@naodtesfalem6758 Жыл бұрын
well explained, kudos!!
@nafisatasfia2993
@nafisatasfia2993 9 ай бұрын
THE BEST!!
@floura_san5318
@floura_san5318 9 ай бұрын
جزاك الله كل خير 🥰🥰🥰🥰
@DIYTechRush
@DIYTechRush 9 ай бұрын
الله يبارك لك
@sreeramramesh4634
@sreeramramesh4634 7 ай бұрын
Hro what app are u using to show dht11 commected to esp32?
@Marvel_fan_page_yt
@Marvel_fan_page_yt 2 ай бұрын
In which app we should run the code
@irfanudinnoranwar3944
@irfanudinnoranwar3944 7 ай бұрын
i used dht 22 and managed to get the reading for my three sensor. But the last dht22 gave me nan celsius and ann humidity. How to solve this?
@ArmanManyata
@ArmanManyata 7 ай бұрын
thanks a lot
@DIYTechRush
@DIYTechRush 7 ай бұрын
Happy to help
@eagleeyegps8003
@eagleeyegps8003 2 ай бұрын
Hello, Thank you for your video i am looking for the circuit which can operate motor on/off with humidity and temperature sensor Please help me
@DIYTechRush
@DIYTechRush 2 ай бұрын
That's a great project idea!
@clerciomarchinhak4084
@clerciomarchinhak4084 9 ай бұрын
I'll try using your video, as I have an ESP32 S3 board and an INA219 current sensor and using PlatformIO in VSCode and I can't see the current values. It only says `Talk is running`, which means it is reading, executing but the current values do not appear on the terminal. If you can give me a tip I would appreciate it! Or if I had a video from someone even better?
@victorvanderpol504
@victorvanderpol504 Ай бұрын
I have problems with the esp32 WiFi cutting out. I’ve read a comment somewhere that this is a common problem with the DHT11/22
@onelineurdu9483
@onelineurdu9483 Жыл бұрын
Osam its work 100% thanks bro
@DIYTechRush
@DIYTechRush Жыл бұрын
Great 👍
@luisfelipeonellipini9124
@luisfelipeonellipini9124 Жыл бұрын
Hi, someone knows what is the maximum area i can use this sensor?
@Marvel_fan_page_yt
@Marvel_fan_page_yt 2 ай бұрын
Can anyone Send me the code
@susmitadey9816
@susmitadey9816 Жыл бұрын
Why my output is like this? o/p: TEMP: nan C Humidity: nan% Please help me out.
@vlogerji
@vlogerji Жыл бұрын
Same problem with me
@winstonacousticstudio445
@winstonacousticstudio445 11 ай бұрын
Calibrate ?
@robokids3801
@robokids3801 11 ай бұрын
It is because your dht is not properly connected or it is not working
@robokids3801
@robokids3801 11 ай бұрын
Check the pins
@WorldofDreams0.0
@WorldofDreams0.0 4 ай бұрын
Same
@fjz613
@fjz613 Жыл бұрын
Can you use shtc3?
@DIYTechRush
@DIYTechRush 2 жыл бұрын
♥ Don't Click This! : bit.ly/3jvI8g6
@mounikap-s1d
@mounikap-s1d 11 ай бұрын
Iam struggling for 1 week for my temp project still I cannot manage
@Marvel_fan_page_yt
@Marvel_fan_page_yt 3 ай бұрын
i need that project how much it cost
@DIYTechRush
@DIYTechRush 3 ай бұрын
The ESP32 is pretty affordable, and the DHT11/22 sensor is cheap too!
@SAIRETANIMS
@SAIRETANIMS Жыл бұрын
Hello, thank you for video, but you don't show how to install driver for ESP32 and how you installed ESP32 in 'Broad Manager'
@DIYTechRush
@DIYTechRush Жыл бұрын
We've talked about that in this guide kzbin.info/www/bejne/l32ofJx9g8t7kNk
@SAIRETANIMS
@SAIRETANIMS Жыл бұрын
@@DIYTechRush ty
@brianandresaragonzabala8320
@brianandresaragonzabala8320 10 ай бұрын
deben instalar una libreria mas aparte de la que mencionan en el video la libreria es :Adafruit Unified Sensor
@deoboligao5971
@deoboligao5971 Жыл бұрын
Hi, can you use mq2 sensor?
@DIYTechRush
@DIYTechRush Жыл бұрын
Of course kzbin.info/www/bejne/pXvEXnWkq9OcabM
@renatorodriguezjr3537
@renatorodriguezjr3537 Жыл бұрын
Can I download the results?
@ShivakotiManish
@ShivakotiManish 4 ай бұрын
Can i get the code
@sanabouhaha6637
@sanabouhaha6637 2 жыл бұрын
hello, when i compile it says failed uploading. i pressed the boot button and the enable one but still the same problem. what can i do please?
@A.n.o.n.y.m.o.u.s_Creator
@A.n.o.n.y.m.o.u.s_Creator Жыл бұрын
You are 100% sure you didn't make a mistake in the code? Try pressing verify for compiler to check if the code is "doable" for your board. Of course it may not support all exceptions but it usually helps to notice a missing comma or dot. If it does compile you should make sure you have the exact board. For example just by looks Esp32 and Esp8266 look simmilar (build almost the same way, usually on the board type, and both cores are shielded) but are different inside.
@HansGeorgHorzella
@HansGeorgHorzella Жыл бұрын
super
@DIYTechRush
@DIYTechRush Жыл бұрын
Thank you
@janaugustmagallanes1487
@janaugustmagallanes1487 4 ай бұрын
code pls
@lizexi7115
@lizexi7115 Жыл бұрын
why do i keep getting nan? i have arduino nano iot 33
@DIYTechRush
@DIYTechRush Жыл бұрын
There is a problem with the sensor
@anyajoshi1069
@anyajoshi1069 Жыл бұрын
is this esp32 s2??
@alaricshiran9189
@alaricshiran9189 Жыл бұрын
why am i get nanC as a result
@DIYTechRush
@DIYTechRush Жыл бұрын
Something went wrong with the sensor
@leadomingo4567
@leadomingo4567 8 ай бұрын
Send code
@hugocarloshuizaquinto3619
@hugocarloshuizaquinto3619 Жыл бұрын
HAY CODIGO HAY LIKE
ESP32 DHT Web Server Project
5:53
DIY TechRush
Рет қаралды 148 М.
Tutorial - Multi-sensor setups for ESP32 & Home Assistant
7:20
Byte My Bits
Рет қаралды 116 М.
ВЛОГ ДИАНА В ТУРЦИИ
1:31:22
Lady Diana VLOG
Рет қаралды 1,2 МЛН
I Sent a Subscriber to Disneyland
0:27
MrBeast
Рет қаралды 104 МЛН
Introduction to ESP32 - Getting Started
47:57
DroneBot Workshop
Рет қаралды 1,7 МЛН
ESP32 Touch Sensor Pins - (ESP32 + Arduino IDE)
7:30
DIY TechRush
Рет қаралды 15 М.
ESP32 Guide 2024 | Choosing and Using an ESP32 Board
41:06
DroneBot Workshop
Рет қаралды 396 М.
ESP32 with DHT22 Sensor: Read Temperature & Humidity
3:18
sm Tronics
Рет қаралды 128
ESP-NOW - Peer to Peer ESP32 Network
43:02
DroneBot Workshop
Рет қаралды 398 М.
Try these 16 Brilliant ESP32 projects!!!
11:18
ToP Projects Compilation
Рет қаралды 632 М.
Introduction to ESP32 Board - Getting Started ( Step by Step)
14:49
DIY TechRush
Рет қаралды 113 М.