I am controlling several components at once so I am stepping each motor one step at a time so that I can turn each motor 'simultaneously' as well as read data from a sensor between steps.
The stepper motors are turning very slowly: one step every 3 seconds. My motors use 200 steps for a full rotation. Each step is not really smooth enough for my purposes.
A very simply version of my code looks like this:
Code: Select all
loop{
AF_Stepper.onestep(direction, steptype)
wait 3 seconds
}
What I would like to do is smooth the rotation by using microsteps, but I'm not sure how many steps a microstep is?
How many degrees will my stepper turn if I switch the steptype from 'double' to 'microstep'?
Thanks