Go Down

Topic: DHT11 too high values (Read 2237 times) previous topic - next topic


Hello, I am a newbie on Arduino matters.
I connected a DHT11 hum/temp sensor to my Arduino Leonardo as shown here:


using the suggested code, and it seems to work fine.
But, the data I received in the log are quite strange: values are too high (about 600° C temp / 1200% humidity).
How could it be possible?


the dog ate the sensor?  :D

are all readings wrong?
or just <10%?

r u sure u connected the wires right?


I just followed the scheme in the URL. Maybe is there some difference with the Leonardo board?


Did you connect to same pins as described in the tutorial and select correct device in there example code as it defaults to DHT22 and not DHT11
// Uncomment whatever type you're using!
//#define DHTTYPE DHT11 // DHT 11
#define DHTTYPE DHT22 // DHT 22 (AM2302)
//#define DHTTYPE DHT21 // DHT 21 (AM2301)
Don't PM me for help as I will ignore it.


The humidity of this sensor is discussed here in the past and its accuracy is not always high.
Sometimes recalibration helps, see datasheet, but not always.

Rob Tillaart

Nederlandse sectie - http://arduino.cc/forum/index.php/board,77.0.html -
(Please do not PM for private consultancy)


Riva, you are right! It was declared as DHT22.... Sorry, I'm still a beginner..
thank you


Glad you got it working okay and it's not a faulty device.
Don't PM me for help as I will ignore it.

Go Up