Go Down

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

khaleefa

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
http://www.sparkfun.com/products/10167
it has an example code(http://www.sparkfun.com/datasheets/Sensors/Temperature/DHT22.doc) , which never compiles with me

Thank you,



PaulS

Quote
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.

robtillaart


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