The optical endstops are reliable and cheap. I've found that they are also repeatably accurate to the limits of my system's resolution, viz, 0.102 mm
-------------------------------------------------------
Hell, there are no rules here - we're trying to accomplish something.
Opportunity is missed by most people because it is dressed in overalls and looks like work.
Thomas A. Edison