I'm working on a project and using a nema 23 stepper motor and driver.
Need to be able to move the stepper 1/32 rotation when I press a button.
I need a small delay so I have time to release the button and not move the 1/32 rotation twice or more (its in a loop) before I can release the button.
I also want to the stepper to continue to move in 1/32 rotation increments as long as the button is held down.
I can get this to work with the move() and runToPosition() commands, but it accelerates and decelerates each time making the movement much slower then I need. I would just use the runSpeed() command inside a while loop setting move() each time, but I need the acceleration as the pull in torque of the stepper is not great enough to start at the full speed needed.
Any ideas or suggestions would be greatly appreciated.
not pressed
topressed