nebulx29 / dht22

Utility that reads values from DHT22 sensors
Apache License 2.0
12 stars 7 forks source link

dht22 no reading from working sensor #3

Open eredrine opened 6 years ago

eredrine commented 6 years ago

Hello nebulx29,

Thanks for our work on connecting the dht22 to the pi. As the last piece of the puzzle for my magic mirror, I'm trying to connect a working dht22 to the magic mirror using your modules.

I hooked up the dht22 to my pi using through a breadboard, placing a 10k ohm resistor between the input and data line. The data line is linked to the GPIO.22 (= 22 using wPi, or 6 in BCM) on the pi and works perfectly using the Adafruit python package as I get consistent temp & humidity readings. screenshot:

1

I'v followed your read.me and didn't get any issues (cloning, installing prerequisites, installing, put into bin directory) so all seemed perfect.

However, once using the command to read from the bin (sudo ./dht22 c 22), it never returns any value and stays stuck as is:

2

I've tried re-installing multiple times and tried reading from all other pins (more by desperation than by logic..) but none of it worked.

Would you have any idea why? Is there any package that'd be missing from the read.me that could prevent the good reading using your dht22 package?

Thanks for the help :)

nitrogen73 commented 6 years ago

This is same happening for me too... Any can help us in this...But I can blink the LED using Wiringpi libraries...

herbyFIT commented 6 years ago

i have the same problem here.. with Adafruit its working...

gilo27 commented 5 years ago

I'm having the same issue. Works fine with Adafruit. I'm on the latest WPi. Did anyone find a fix, workaround, another module to work with please?

Thank you in advanced!

ayitipilot commented 5 years ago

Same issue for me. AdaFruit works perfectly but nothing with this module. Any chance of a response / update?

Ponguipaple commented 4 years ago

Hi all, for those of you who have the issue on using for a Magic Mirror, you can simply swipe to MMM-LocalTemperature which is working fine even if you have the issue listed here. Hope this helps!