Hello,
I've just got a waveshare HRB8825 stepper motor HAT for my RPI 5. I've been trying to get their demo code running correctly but keep running into issues with motor 2 (GPIO busy).
I've done some debugging and found that the issue is coming from the fact that the code is using pin 4 as the enable_pin, however this pin is for supplying 5v and cannot be used as the enable pin. Motor 1 uses pin 12 for the enable pin and works perfectly.
I've tried changing to a different pin which prevents the error occurring, however there is no movement from the motor.
Has anyone else had this issue and found a solution?
I've just got a waveshare HRB8825 stepper motor HAT for my RPI 5. I've been trying to get their demo code running correctly but keep running into issues with motor 2 (GPIO busy).
I've done some debugging and found that the issue is coming from the fact that the code is using pin 4 as the enable_pin, however this pin is for supplying 5v and cannot be used as the enable pin. Motor 1 uses pin 12 for the enable pin and works perfectly.
I've tried changing to a different pin which prevents the error occurring, however there is no movement from the motor.
Has anyone else had this issue and found a solution?
Statistics: Posted by Osain002 — Sat Nov 02, 2024 9:10 pm — Replies 0 — Views 22