Insert ECAS connector and heat set just like the original ProtoXtruder.
Solder wires to the 2 outer microswitch pins (Common and Normally Closed) (polarity does not matter). Keeping the top wire shorter can make assemble easier (You may cut them to the same length latter).
Push the microswitch in the housing, pins go in first. Wire exit at the top. Protrusion (clicky thing) on the lower side.
Set the 4mm bearing ball into the hole
Push the microswitch into the main body with the protrusion inside the bearing ball hole.
Secure the housing with a M3x30 Button Head screw.
Insert a zip tie though the hole at the corner to act as a cable strain relief.
Connect the wires to the endstop slot on your board (Signal and Ground)
Adjust the housing screw to adjust pressure on the microswitch
Add filament sensor section into your klipper printer config (refers to Klipper Documentation):
[filament_switch_sensor toolhead_sensor]
switch_pin: ^PG13 # check the pin used on your board, pullup usually needed
Bill of Materials (On top of the original ProtoXtruder)