DHT11 & DHT22 Sensors Temperature and Humidity Tutorial using Arduino

preview_player
Показать описание

In this Arduino Tutorial we will learn how to use the DHT11 or the DHT22 sensor for measuring temperature and humidity with the Arduino board.

Like my page on Facebook:

Add me on Google+:

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

Thanks,
You have by far the best Arduino tutorial projects.

ruitfsilva
Автор

I am running the same code but getting an error of No such file or directory . Can you please help me with that thanks.

waleedishaq
Автор

I know most of the previous comments are 2 years old or more but I just started and like all the others it was very clear and easy to follow. Thanks for a great tutorial.

pademo
Автор

Hi, congratulations on your video. But I get the error that "the dht.h library is missing. There are several libraries, I don't know which one to install. In my Arduino the dht sensor library is installed, but it doesn't work with this library. Any suggestions? Thanks.

justovelarde
Автор

Excellent! You provide a vital service to the Arduino community. Keep up with the good work!

jorgefantin
Автор

The DHT22 sensor enables temperature measurement in the range of -40 to 80°Celsius
Does your program accept this? I.e it also shows negative temperatures?

dtn
Автор

the dht11 works fine without a pullup resistor...thanks for this super tutorial.

Messerwerkstatt
Автор

I am brand new to arduino, can you hook this and a MQ9 up to a single arduino uno? Thanks for this video.

albertanasoul
Автор

if i change the delay to lower than 2000 ms, is error occure? or it gives the earlier calculation.

emresagr
Автор

can we design with an Arduino to read 2 Max6675 temperature and send the data to the computer?

Presso
Автор

This video is excellent. Educational, clear, and concise, and interesting. Thank you so much! I wish could subscribe 100 times

u
Автор

Where do I download the library for my DHT22?

misharains
Автор

Can you tell me exactly which library to download?
DHT only? Or the Adafruit-sensor-master as well?


sketch_oct30b:14:1: error: 'dht' does not name a type

dht DHT;

mateuszk
Автор

hi, if you don't use the resistor what will happen, I have mines setup with a 10k but the temp is off 10 degrees. do you have any idea why I am off so much degrees? I am using the DHT22 with 3.3V. also can this be power by only by 3.3v or it can be power by 5v?

roystervi
Автор

My DHT22 started measuring wrong humidity. It was supposed to be around 60% (as used to be) and now a 4%. I am new to electronics, is that a way to fix it?

talespimentel
Автор

I can see others seem to have had the error ‘ dht ‘does not name a type, but no solution seems to appear, does anyone have an answer please ?

grahamevans
Автор

I could not get the DHT11 single wire protocol to work with a 20x4 I2C display. The display works fine with just a display sketch, and the DHT11 works fine with just a DHT11 sketch, but the two could not be carefully combined to work together. Using the serial monitor display as well as the LCD display simultaneously, I can see the sensor working properly but there is no change whatsoever to the LCD - nothing displays. I suspect that with the on-board pull-up resistor pulling the DHT11 high and ready for communication, it may have been preventing I2C from starting up. I don't know. Ideas?

donprefontaine
Автор

Can I use this sensor on the industry level?

mri
Автор

Dejan thanks for your stuff it is clearly and understandable as always! I would like to ask if you know how can l schedule two dht22 to take their measure every 2 sec, l mean to synchronized the measures at the same time (cause l need to calculate a gradient )?

amityungerman
Автор

@dejan Nedelkovski Do you know if the DHT11's readings of the humidity and temperature can be float variable and give an accurate value, just like the DHT22 you showed in the video?

thx

cylurian