The program seems to run fine excepts for the fact that both the temp and the humidity readings show no decimal values: Current humdity = 37.0% temperature = 26.0C Has anyone experience with these sensors and the above code?
It's not very important since the accuracy of the temp sensor is +-2C and the humidity sensor is +-4% but I wanted to be sure of doing things correctly. I've also tried this other code: http://sheepdogguides.com/arduino/ar3ne1humDHT11.htm but the program gets stalled somewhere when doing the first reading.
The DHT11 does not provide decimal parts. It outputs zero's.
The "bigger" DHT22 does provide decimals.
DHT22 - voltage range is 3.3-6V
Very interesting! Much more accuracy, support for negative temps...
Seriously, is that part only for over 0c temperatures?
Measuring range:humidity 20-90%RHtemperature 0-50 Celsius