-
Notifications
You must be signed in to change notification settings - Fork 345
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
Raspberry Pi5 RuntimeError: Timed out waiting for PulseIn message. Make sure libgpiod is installed. #752
Comments
I think the pulsein binary likely needs to be be recompiled for the Pi 5. |
It didn't need recompiling, it just needed to use the correct gpiochip and offset. |
It works great now, thanks! |
Hello, I get the following error
This is the code snipplet:
|
@gkellershs I think |
I installed it on a fresh image and now it´s working, thank you very much. |
Board Name
Raspberry Pi5
Steps
Hi there! Recently, I've been following the guide at https://learn.adafruit.com/dht-humidity-sensing-on-raspberry-pi-with-gdocs-logging/python-setup to work with my DHT11 sensor using Blinka on my Raspberry Pi 5.
sudo apt-get update sudo apt-get upgrade sudo apt install python3.11-venv python -m venv env --system-site-packages source env/bin/activate
And get:
Everything above went as expected, very smoothly.
3. However, when I ran the sample code in this tutorial https://learn.adafruit.com/dht-humidity-sensing-on-raspberry-pi-with-gdocs-logging/python-setup, I encountered an error.
I looked into some potentially related issues, such as those found at #740 and #259. However, I still couldn't resolve my problem. Also, I'm pretty sure that I installed
libgpiod
by runningsudo apt-get install libgpiod2
.I would appreciate any insights or suggestions on troubleshooting this issue. Has anyone else encountered this problem with the Raspberry Pi 5, and if so, how was it resolved?
Thank you for your time and help!
Description
No response
Additional information
Raspberry Pi 5 Model B Rev 1.0
OS: Debian GNU/Linux 12 (bookworm) aarch64
Kernel: 6.1.0-rpi7-rpi-2712
The text was updated successfully, but these errors were encountered: