-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Raspberry Pi GPIO17 with DHT22 no longer working #1889
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The filename Beaglebone_Black.py suggests the library has failed to identify that this is running on a Pi. There is a commit on Jan 20th to AdaFruit's Github repo for AdafruitDHT that looks like it might help, so can you update? On this page you'll find all of the different firmware+kernel releases, along with a long SHA hash identifying the commit. You can get rpi-update to install a specific version by giving the hash. I suggest you start with the last release built from the 4.4 kernel, labelled "kernel: Bump to 4.4.50":
if you are keen you can then jump backwards or forwards from that point to find the first failing commit, but just knowing the result of testing with that one release would help. |
I've downgraded to the following, which as far as I can see is the last one I can downgrade to before breaking the raspberry pi 2 v1.2 compatibility
Which still gives me an error, but it's different again.
Is there any way to see how the pin mapping differs without getting to deep into the code? Or even better is there a way to enable Pi2 v1.2 compatibility but still regaining the ability to run this library? |
It sounds like you haven't installed the library properly and/or need to update it for the 4.9 kernel. I'm sure the good people at Adafruit (or their forums) will be able to help. |
Ok, Thank you for your time. I have opened an issue over on the library page too: |
Hi There,
I have a few raspberry pi's wired with DHT22 sensors. It would be very expensive for me to wire them all back up.
This is a working raspberry pi with raspbian:
The non working raspberry pi with rasbian is:
The only difference between the two Raspberry Pis is that I ran rpi-update on one, which is now not working. The are both wired up identically, have the identical image (however I updated one).
My Wiring looks like this:
GPIO17 / Raspberry Pi Pin 11 - DHT22 Pin 2
+5VDC / Raspberry Pi Pin 2 - DHT22 Pin 1
GND / Raspberry Pi Pin 6 - DHT22 Pin 4
The text was updated successfully, but these errors were encountered: