How to Set Up the DHT11 Humidity and Temperature Sensor on an Arduino

preview_player
Показать описание
How to Set Up the DHT11 Humidity and Temperature Sensor on an Arduino

This video will show you how to set up the DHT11 humidity and temperature sensor on your Arduino. I talk a little about how the humidity sensor works, and how to set it up to output readings to the Arduino serial monitor or a 16x2 LCD display. Then I show you how to modify the program to output Celsius or Fahrenheit. Leave a comment if you need help!

Рекомендации по теме
Комментарии
Автор

Finally a tutorial that works. You would not believe how many I have gone through.

trontty
Автор

this is literally the only video on youtube that has the download to the needed library, liked :D

goldngams
Автор

While using the LCD, you should use I2C module so that the connection becomes simple because we only need 4 pins (including VCC and GND)

vedansh
Автор

Great video to get the basics of the sensor down. Especially with the info on your blog page. Thanks!

Using mine to control the environment in my snake enclosures via a mister and small computer fan.

minifigjake
Автор

Thanks by thousand dewde... I was stuck on the step to display the temp and the humidity on lcd and finally succeed retrying all the plugs now it works

You deserve a thumb up :)

sinaiyema-osango
Автор

Thank you so much from Italy! My thesis can now progress. Your help is greatly appreciated.

mattiasollo
Автор

In case anyone is wondering how to convert this to fahrenheit, you just change this line---- lcd.print(DHT.temperature * 1.8 + 32, 0);

jasonc
Автор

worked! I had a problem as it was my first project. asked me to change port and I randomly picked a wrong one. So once I changed it its working normally! thank you. easy for a first project ;)

First.Last.
Автор

I got it working. I am not sure why arduino IDE wouldn't accept the library but anyhow it did in the end. I am happy now.

ycmgxekwa
Автор

Putting the delay to 2000 fixed this for me thank you

kallumarrowsmith
Автор

Dude...thank you so much!!!! I followed your instructions to the T and everything went well!

unkophil
Автор

For anyone working on this. If you set it up with the LCD like in this video, I used a 2k ohm resistor at pin 3. I tried to follow his tutorial with the potentiometer, but mine was broken.

carlospineda
Автор

If you get the -999 error make sure you've connected the pins of the DHT11 right, some sensors have the + - and signal placed differently than the sensor used in the video.

sub
Автор

Some DHT11 has signal pin in middle and ground on left and VCC on right.

Un_Pour_Tous
Автор

Thanks for the useful video! May I ask you, why between correct readings I receive this reading? 12:43:40.127 -> Temperature = -999.00
12:43:40.161 -> Humidity = -999.00

thecrazykartbyAJ
Автор

Have joined your channel as I found your tutorial easy to follow and very helpful thank you Bob

MrBobWareham
Автор

works fine for me using Uno with serial monitor. However, have yet to try out the LCD version. Bravo.

prof
Автор

Hi, I have selected the serial. When I see the serial output, I am getting the display as given below:
emperature = -999.00
Humidity = -999.00
Temperature = -999.00
Humidity = -999.00
Temperature = -999.00
Humidity = -999.00
Temperature = -999.00
Humidity = -999.00
Temperature = -999.00
Humidity = -999.00
Temperature = -999.00
Humidity = -999.00
Temperature = -999.00
Humidity = -999.00

What went wrong ? Can you please help?

pari
Автор

Thank you so much bro! i couldn't find my mistake and you helped me good video!!

jonathanflores
Автор

Hi Guys, you have to change the delay, just put it in 2000ms. it will work!

ericmb