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

preview_player
Показать описание
How to use a DHT sensor with an ESP32 board!

--------------------------------------------------------------------

FOLLOW ME:
● TikTok :
--------------------------------------------------------------------

► All content by Enjoy Mechatronics is 100% free.
I believe that education should be freely available to everyone.
Рекомендации по теме
Комментарии
Автор

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.

random_guy_whith_random_name
Автор

#include <DHT.h>
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);

}

race
Автор

Great video!! Helped me pass my prostate exam

yahyamedani
Автор

looks and sound simple to understand.
thanks!

DanBurgaud
Автор

Excellent, finally a good tutorial about this. Thanks.

brunofrancosentis
Автор

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.

glencindy
Автор

Very simple and well explained, Thank You

cabinfeverjack
Автор

Hro what app are u using to show dht11 commected to esp32?

sreeramramesh
Автор

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?

irfanudinnoranwar
Автор

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

eagleeyegps
Автор

Hi, someone knows what is the maximum area i can use this sensor?

luisfelipeonellipini
Автор

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?

clerciomarchinhak
Автор

Hello, thank you for video, but you don't show how to install driver for ESP32 and how you installed ESP32 in 'Broad Manager'

SAIRETANIMS
Автор

Why my output is like this?
o/p:
TEMP: nan C
Humidity: nan%
Please help me out.

susmitadey
Автор

Iam struggling for 1 week for my temp project still I cannot manage

mounikap-sd
Автор

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?

sanabouhaha
Автор

deben instalar una libreria mas aparte de la que mencionan en el video la libreria es :Adafruit Unified Sensor

brianandresaragonzabala
Автор

why do i keep getting nan? i have arduino nano iot 33

lizexi