Skip to content
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

Not working in RPi3 #65

Closed
mmontes11 opened this issue Oct 21, 2017 · 11 comments
Closed

Not working in RPi3 #65

mmontes11 opened this issue Oct 21, 2017 · 11 comments

Comments

@mmontes11
Copy link

mmontes11 commented Oct 21, 2017

start sensor read (type=11, pin=17).
*** timeout #2

I've checked wiring configuration with AdafruitDHT and it worked:

pi@raspberrypi:~/project/Adafruit_Python_DHT/examples $ ./AdafruitDHT.py 11 17
Temp=21.0* Humidity=80.0%

I've checked this issue as well:
#57

What's the problem? I'm going crazy

@run-towards
Copy link

What sensor are you using? What pin convention following? BCM or WPi? From latter it's possible that you are reading from incorrect pin

@momenso
Copy link
Owner

momenso commented Nov 11, 2017

most likely incorrect pin configuration.

@mmontes11
Copy link
Author

mmontes11 commented Nov 30, 2017

I'm sure I have correct pin configuration but sometimes I got a timeout, I think the problem is a sensor problem.

BTW how can I configure a WPi approach ?

@saschakiefer
Copy link

I'm facing the exact same issue on the same hardware. The Python access is working for me as well. It's even working when I use the rpio library directly accessing the sensor with an own algorithm (since it's error prone I wanted to switch to the lib).

#57 didn't fix my issue either.

@momenso
Copy link
Owner

momenso commented Dec 3, 2017

Currently, there's no support for other GPIO library other than the standard BCM2835 library. If someone wants to give that a try feel free to contribute.

@battistaar
Copy link

Same for me, wiring configuration is correct (tested with AdafruitDHT).
#57 didn't fix.

any news about it?

@mmontes11
Copy link
Author

#57 didn't fix my issue either.

any news?

@fbrinker
Copy link

For me it is working on a RPI3 with BMC2835 and a DHT22
I am using this version: http://www.airspayce.com/mikem/bcm2835/bcm2835-1.52.tar.gz
Wired the DHT22 to Pin 11, GPIO 17 (so I pass 17 to the lib as second parameter)

@YannLeBihan
Copy link

YannLeBihan commented Jan 15, 2018

Hi,

It's also working here on a RPI3 + DHT11 with BMC2835 1.52, wired to Pin 7 - GPIO 4.

One particularity of the sensor I'm using (a Velleman VMA311) is its pins order : signal on the left, + in the middle and - on the right. Will soon test it with a DHT22, too.

And btw, @momenso, thanks a lot for this very useful module.

@prasanpro
Copy link

It is working with RPi3 following instruction of installing node-gyp.

@momenso
Copy link
Owner

momenso commented Jan 20, 2018

If anyone still have any problems please open a new issue with your specifics.

@momenso momenso closed this as completed Jan 20, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants