laurb9 / StepperDriver

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

Loosing steps during acceleration and deceleration #92

Closed sigurdild closed 4 years ago

sigurdild commented 4 years ago

Is it possible set a cut in and cut out speed during acceleration. I have noticed a step loss and expect it to happen at low rpm during the constant acceleration and deceleration. I can minimise is it to a certain degree by using very high accelerations.

laurb9 commented 4 years ago

Having a minimum speed could be useful, but I do not understand why slower speed is a problem here.

Are you observing the stepper is losing steps, or is the library sending fewer steps ? A stepper should be able to handle any slow speed since it's moving step by step. There is a ClockStepper example which does just that, move the stepper one step per second.

laurb9 commented 4 years ago

Closing (stale)