I also tried to keep the sensor in the hand and the temp spikes to 70-80C by the sensor reading. Also I put it in a container with ice and the temperature is actually going up to 37-40C. However the humidity is going down as expected. Both sensors are behaving the same.
I forgot to mention that I do wait in the setup sequence 1 second and I read the sensor after 5 seconds in average, so it's not the timing that causes the problem...
Those sensors are not very accurate at all.
Their specified accuracy from the datasheet is HUM +- 5% and temp is +-2D C.
So you are doing pretty close as is.
If you want better accuracy use DHT22.
Hi,
Have you got the 5K or 4K7 resistor from data to 5V?
Have you added the 0.1uF capacitor between pin1 and pin4 of the DH11, right up close to it?
It only updates every second.
Can you please post a copy of your circuit, in CAD or a picture of a hand drawn circuit in jpg, png or pdf?
Hi,
Has the board got a 5K or 4K7 from data to 5V.
The resistor is needed to bias the communication line, look up the spec for the DHT11 and it will tell you ALL about the one-wire com system.