Can anyone tell me why this Wokwi simulation doesn't run both stepper motors identically? They move slightly differently and stop at different values.
I am implementing the code with real stepper motors but it is harder to tell where they stop.
Can anyone tell me why this Wokwi simulation doesn't run both stepper motors identically? They move slightly differently and stop at different values.
I am implementing the code with real stepper motors but it is harder to tell where they stop.
Would I be better off connecting both stepper motors to one motor driver like this?
Something fishy going on.
If you add a delay(5000);
in the first line of setup(),
then you see that the issue (left motor -2) already starts before setup.
The En pins must be set to OUTPUT, but that does not change the problem.
Stepper motors can be used in series (not parallel) on one driver, as long as you have enough supply voltage overhead.
Leo..
Thanks @Wawa, perhaps its a Wokwi thing. I've connected my steppers to the same driver now and they are moving nicely.
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.