Go Down

Topic: Arduino DHT22 library (Read 8 times) previous topic - next topic

Net Honcho

I have created an Arduino DHT22 library. This is my first post on the forum and can not post the links until my second post  >:(

Net Honcho

2nd Post with links
DHT22 humidity and temperature sensor page at sparkfun http://www.sparkfun.com/products/10167
The code is currently posted here http://goo.gl/uy1fV
Post a reply with any comments or questions you may have.

Bob Schnieder

Works perfectly. the only other code i could find for the DHT22 did not work all the time and Aosong's datasheet was remarkably unhelpful.
Kudos Net  Honcho!  8-)

Net Honcho

Thanks for the kind words. Next version will verify the checksum.

tkbyd

I worked with a very similar device, the DHT11. I'd be interested to know if what is at...

http://sheepdogguides.com/arduino/ar3ne1humDHT11.htm

... works with the DHT22.

Neat device, by the way! I got mine from Nuelectronics who do some fun things at good prices. Web page a little untidy, and "hides" things... but dig around! The above links to further comments in this vein.

robtillaart

@Net:

As there are similar devices like the DHT11, does your lib support them too? now or in a next release?
Rob Tillaart

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

Net Honcho

I looked at the DHT11 protocol. It looks like the same protocol. It is worth a try. I do not have a DHT11 to test with.

Net Honcho

I created a github project for the DHT22 arduino library
https://github.com/nethoncho/Arduino-DHT22

Go Up