laurb9 / StepperDriver

Arduino library for A4988, DRV8825, DRV8834, DRV8880 and generic two-pin (DIR/STEP) stepper motor drivers
MIT License
557 stars 228 forks source link

DRV8825 speed control #99

Closed BertJager closed 3 years ago

BertJager commented 4 years ago

*Is there a way to control the speed by way of potmeter on analog pin?

laurb9 commented 4 years ago

One way could be using the "non-blocking" example in constant speed mode and varying the RPM inside the loop based on the analogRead value.

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.