Go Down

Topic: Need help with programming humidity sensor (Read 744 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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy