Homing Stepper Motors Question

You are completely misunderstanding the homing procedure. The "HOME" position is the first step AWAY from the home position. Your program will never WANT to return to the home switch or what ever sensor you have, but just the step next to it. Many "homing" sensors, such as microswitches, will remain switched for more than one step of the motor.
You need to first find the home position, then back away one step and see if the home position sensor is still set. When it is no longer set, that position becomes the home or ZERO position.
Paul

1 Like