A common trick is to logically AND the limit switches with one of the phases.
That way the stepper will always stop in the same place, and the position sensitivity of the limit switch (or opto) is decreased by at least 4.
This is easy to do in software.




Bookmarks