HALL OMNIDIRECTIONAL ENDSTOP - ONLY TWO COMPONENTS.
After looking at the current hall enstop options, I chose to make my own. I used the Honeywell SS451A (DigiKey part number 480-3587-ND). Advantages:
1) Omnidirectional so you don't need to know magnet orientation. 2) Its a switch; we have no need for ratiometric or linear data, we only need position. 3) It can directly source 20ma - more than enough for most LED's. 4) Through-hole package easy to work with (instead of SMD version). 5) Supply voltage 3 to 24V 6) No external capacitors are specified in the Honeywell installation datasheet.
1) No internal pull-up resistor, thus need an external resistor (You can turn on the pull-up resistor on the input RAMPS pin in Marlin or Sprinter). 2 When turned on (magnet present) output is low. Magnetic field removed, output is high. (This can be compensated in the software, or could add a PNP transistor.)