I'm currently working on a project with a stepper motor and linear guide. I got movement both directions with this program:
This was purely for testing purposes as I don't want it to be on a timed and step based control.
I was wondering if anyone could point me to a project or code that would allow me extend the capabilities of the motor for example
Push and holding one button and the motor will move one direction until released.
Push and hold another button so the motor will move the other direction until released.
These are two basic things I'd like to try next, but I welcome other ideas. I tried searching online for something but I wasn't finding anything of much help.
I can figure out the wiring, but if you have a diagram for that as well that'd be great.
Push and holding one button and the motor will move one direction until released.
When the ONLY thing a stepper knows how to do is step ONE STEP at a time, you need to explain EXACTLY what you want to have happen while the switch is pressed.