Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Motion in Opposite Direction During Acceleration and Deceleration #20

Open
ryancasler opened this issue Dec 20, 2022 · 0 comments
Open

Comments

@ryancasler
Copy link

I am using a NEMA 17, bi-polar stepper motor with a DRV8825 stepper driver. When I attempt to use any acceleration and deceleration on the motor at all, the motor will momentarily "stutter" and travel in the opposite direction briefly while the motor is speeding up or slowing down. It is not a very large amount of travel but it is significant enough to cause the motor to be out of position after a couple of moves of the motor, since it happens during both the acceleration and deceleration parts of the movement. Since steppers get the most torque when they are moving slowly, I was hoping to be able to use this library to also get the most speed out of the motors as possible. I have checked the direction pin and that is not changing at all. I have to think it's something with the timing of the steps that are being sent to the controller. Any idea what might be causing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant