Problem getting the correct speed on my NEMA17+A4489+potentiometer project

Look at the Stepper.h library. You can use it with the driver board. It takes the speed in RPM,and allows you to select how many steps you want the motor to take per call to Run() (all steps mean one full revolution).

1 Like