If it's long enough, use the wiring for the current z endstop. Otherwise use some 20AWG or thinner wire for the endstop wiring, and Amazon has kits for the Dupont connector the RAMPS. Link for one of the kits: [
www.amazon.com] For a crimping tool, just scroll down a little and look in the 'what others bought' section at that link. I bought the SainSmart crimper.
Just solder the wires onto the switch using the common and NC connections. Install a two pin Dupont connector to the other end. Don't forget to use the gcode M119 to make sure the endstop is working correctly.
That Dupont kit is also good for making an extension for the servo wires.
Edited 1 time(s). Last edit at 03/01/2016 12:46PM by stephenrc.