rahlquist
Posts: 149
Joined: Tue Jan 21, 2014 1:02 pm

DH11 errors, any way to figure out why

Wed Feb 03, 2016 3:53 pm

Hello,

Recently I decided to throw a DH11 on my older Pi B. The problem is I get lots of errors no matter whose code I use or how much of a delay I implement between readings. While not earth shattering its annoying. Does anyone have any thoughts as to why something like this would happen?

For reference I used http://www.uugear.com/portfolio/dht11-h ... or-module/ for the inital setup and tried both the C and the Python code there and both get the errors. I have also tried Adafruit's code for the dh11 and others.
pi@raspberrypioldpi:~ $ sudo ./t1
Raspberry Pi wiringPi DHT11 Temperature test program
Data not good, skip
Data not good, skip
Data not good, skip
Humidity = 34.0 % Temperature = 20.0 *C (68.0 *F)
Data not good, skip
Humidity = 35.0 % Temperature = 20.0 *C (68.0 *F)
Data not good, skip
Humidity = 35.0 % Temperature = 20.0 *C (68.0 *F)
Data not good, skip
Humidity = 34.0 % Temperature = 20.0 *C (68.0 *F)
The above is using the C code compiled using the latest g++ and libraries.
g++ -o t1 dtmp.c -lwiringPi

Return to “Troubleshooting”