Show Posts
Pages: [1]
1  Development / Other Software Development / Re: Class for both DHT11 and DHT 22 (temperature & humidity) on: June 18, 2012, 03:35:01 am
Hi all,
At first I want to thank you for the library. Very nice and succint.

However, I noticed that in about 50% of all cases I'm getting a checksum error. This happens both, using 3.3V or 5V power supply. 
Does anyone now whether this is a hardware problem (low cost sensor?) or a timing problem while retrieving the data from the sensor?
I read that someone else also had this problem. Any solution? Typical situation :

DHT22,    Checksum error,   48.7,   1665.4
DHT22,    Checksum error,   48.7,   1665.4
DHT22,    Checksum error,   48.1,   846.2
DHT22,    Checksum error,   48.1,   846.2
DHT22,    OK,   48.5,   27.0
DHT22,    Checksum error,   48.4,   846.2
DHT22,    OK,   48.5,   27.0
DHT22,    Checksum error,   48.4,   846.2
DHT22,    OK,   48.5,   27.0
DHT22,    OK,   48.3,   27.0

Thanks for any help!
Pages: [1]