I use "stepper_oneRevolution" starter kit program.
With these 2 motors, I calculated that I would need 4096 steps per revolution, but to do 1 revolution, i must write 2048 step in this program ("myStepper.step(2048);".
Because one of the parameters in your calculation is wrong.
It could be the gear ratio, or the step angle, or your driver could be in half step mode, or you software is not counting what you think.
Am I to understand that "myStepper.step(2048)", it's a drive with half step ?
Also with is i do 1 revolution and with 4096 steps two revolution, thats my problem.
"myStepper.step(2048);" pour que le moteur fasse un tour au lieu de 4096 pas?
So why, in the example program "stepper_oneRevolution", I have to register " myStepper.step (2048); " so that the engine makes 1 revolution instead of 4096 steps?
Furthermore for the attached program, every implusion generates an angular movement of 5.625 °/64, I would thus need to make 1 revolution: 1024 cycles * 4 impulses * 5.625 °/64 to make 1 revolution yet I have to register 512 cycles in my loop.
These motors have about 2048 steps per revolution. The finest resolution you can
drive a unipolar motor naively is in half-steps, so you can get about 4096 distinct
positions through 360 degrees.
There are 3 commonly used stepping modes for unipolar motors, driving one
winding at a time (full steps), driving two windings at a time (full steps) or alternating
between driving one winding and two windings (half steps).