Go Down

Topic: Need help with programming humidity sensor (Read 803 times) previous topic - next topic


Hello, ...

I need a simple code for a humidity sensor that makes the sensor sense humidity and reports the serial monitor.

the sensor is in this website
it has an example code(http://www.sparkfun.com/datasheets/Sensors/Temperature/DHT22.doc) , which never compiles with me

Thank you,



which never compiles with me

You are obviously not chanting the proper prayers while compiling. Perhaps if you posted some code AND the (exact) errors, we could help you learn the proper prayer to chant.


The DHT22 works fine with my lib and sample code, see playground - http://arduino.cc/playground/Main/DHTLib -

special attention to have a delay between reads ~2 secs
Rob Tillaart

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

Go Up