Read the statement by Michael Teeuw here.
Unable to get any of my GPIO-related modules from PI4 to work with Pi5
-
Unable to get any of my GPIO-related modules from PI4 to work with Pi5- specifically: MMM-temp-ds18b20 and MMM-PIR. Is there some type of program that will convert the GPIO.py libraries to the new Pi5 GPIO libraries or other method? Any help is greatly appreciated!
-
The Pi5 has new GPIO hardware. It is not compatible with software written for earlier Pi models.
So look at what gpio library is being called by the modules you are wanting to use.
I’ve been rewriting my own code to use gpiozero .
gpiozero works and isrecommend by raspberry pi foundation and works on older pis too.Lgpio works on rpi5
Gpiod works on rpi5Pigpio WILL NOT WORK
RPi.GIPO WILL NOT WORKI haven’t tried rpi-lgpio which supposed to be a drop in replacement for rpi.gpio.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login