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

Rpi5 #26

Open
lankycanadian opened this issue Mar 27, 2024 · 2 comments
Open

Rpi5 #26

lankycanadian opened this issue Mar 27, 2024 · 2 comments

Comments

@lankycanadian
Copy link

I'm getting an error "cannot determine soc peripheral base address" with the GPIO library. It looks as though GPIO has been replaced on the rpi5
https://www.tomshardware.com/how-to/control-raspberry-pi-5-gpio-with-python-3

Do you have any plans to update this library to work on a Pi 5?

@gavinlyonsrepo
Copy link
Owner

Hi

RPi.GPIO library will not work with Raspberry pi 5 due to changes in how it handles the peripheral access.
I must try and figure out if RPI.GPIO is going to be ungraded to work with Raspberry pi 5(probably not) first.
If it is not going to be upgraded, I will have to find another path forward. Not sure how long this will take, In meantime I added a RP5 note to readme.

regards

@bmagsalan
Copy link

I'm getting an error "cannot determine soc peripheral base address" with the GPIO library. It looks as though GPIO has been replaced on the rpi5 https://www.tomshardware.com/how-to/control-raspberry-pi-5-gpio-with-python-3

Do you have any plans to update this library to work on a Pi 5?

Yeah I ran into the same issue so I wrote a shared library for it using c++ and wiringPi.

Tested with arm64 bookworm on Raspberry Pi 5 with 2 x 28BYJ-48 stepper motors.

https://github.com/bmagsalan/StepperMotor

Motors movement is asynchronous so you can move them at the same time.

The library is scalable so feel free to expand on it.

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

3 participants