It looks like you're new here. If you want to get involved, click one of these buttons!Sign In Register
I need to control two motors at the same time but different steps numbers but they need to start and stop at the same time.
Say motor 1 needs to travel 1000 steps and 2 travels 2000 steps, then I need motor 1 to run half as fast.
However, when I set the speed of motor 1 to say 50 and the speed of motor 2 to 100 they don't stop at the same time.
Just starting and stopping them at the same time doesn't help, since I need both to do an exact number of steps.
What can I do, or how does speed (setMinSpeed, setMaxSpeed) translate to steps per second for example?