hanna8754
Posts: 5
Joined: Tue Dec 31, 2019 5:17 pm

Stepper motor RPM using A4988 and pi 4

Fri Jan 03, 2020 10:55 pm

Hi all,

I am currently using an A4988 Stepper Motor driver with a nema 17 and a pi 4. I have some experience moving motors, but I need help making the motor move at a continuous RPM. I want to run at 1/16th micro steps and between 5 and 50 RPM. I was hoping someone had an example of some basic code or could help in any way.
Thank you so much for any help!

pootle
Posts: 371
Joined: Wed Sep 04, 2013 10:20 am
Location: Staffordshire
Contact: Website

Re: Stepper motor RPM using A4988 and pi 4

Sat Jan 04, 2020 8:18 am

Why not try the code posted in response to your earlier question?

hanna8754
Posts: 5
Joined: Tue Dec 31, 2019 5:17 pm

Re: Stepper motor RPM using A4988 and pi 4

Sat Jan 04, 2020 3:40 pm

Thanks for the reply, I am. I was unsure if it would work now that I have changed the driver, but I will definitely try it
Thanks for all help!

Return to “Automation, sensing and robotics”