I designed my own endstop with A3144 hall effect sensor.
It is fully compatible with the mechanicals.
It can be installed directly instead of stock endstops. We just need to add a +5V wire to work, and replace 2 pin connetor with 3 pins.
I istalled it on Z axes, but other axes should work good as well.
I also included the case for it. It consists of 2 parts:
a case, and a cover for it.
A cover has 2 different designs: printed, or cutted on the CNC machine.
I used 3.8mm thick shaded acryllic and cut it on CNC. The *.DXF file is included.
To make the board I used CNC too.
You can make it in any way you like. The gerbers and drilling files included. You can use FlatCam to make it.
The printed cover fits very well, but I did no picture of it.
If you will print the cover, it is designed for 3mm LED. If you cut the transparent cover with CNC, you can use both 3mm LED or SMD 1206.
It acts just like the stock, normally closed mechanical enstops. It is tied to GND when no triggered, and tied to +5v when triggered.
Some changes in marlin Configuration_adv.h may be required to work well:
// Homing hits each endstop, retracts by these distances, then does a slower bump.
line 387 #define Z_HOME_BUMP_MM 5
instead of 2mm on stock.
Print the case with any material you like. I've used HIPS.
It uses ~4 g for case, and 1g of plastic for cover.
It is designed with 0.1mm tolerances. So it fits all toghether very close and secure.
To screw it on the stock mount we need 2 pcs hided M2x15 screws and make a holder for moving magnet on Z axe.
You can see my design on the picture. I used a short piece of angle 10x20x1mm , made its form with the file, and drilled 5mm hole to screw it on Z, and 2.5mm with 3mm threads to M3 screw with magnet on top of it.
Be carefull - only one side of a magnet triggers the switch!
All components on the board are SMD, capacitor 1206, resistors 1206 or 0805.
Version for Ender 5 is testing.