I came across some cheap sensors for 3D printer levelling and am wondering if it’s possible to use that for homing/preventing the motors from moving past the limit.
At the manufacturing company I used to work at (for medical instruments) we used optical switches quite a lot for homing and preventing drift. For example:
Having said that, I couldn’t say if they are more or less precise than the ones you mentioned that are used in 3D printers. For the applications we used them with, we did need a decent amount of precision for pipetting. It’s hard to say where either of these sensors would go on the microscope