Marlin Endstop wiring
August 02, 2013 10:42PM
Read or do not respond.

Ok I know that marlin uses a non standard mechanical end-stop wiring scheme.
I'm using radioshack endstops 275-0016
(I DO NOT NEED AND OR WANT THE CODING JUST A WIRING DIAGRAM)


(this is not the correct wiring for marlin firmware, but is a great reference point)
[reprap.org]
this also is not correct for marlin firmware
[www.reprap.org]


can anyone provide sources with a explanation of how to properly wire mechanical endstops
Re: Marlin Endstop wiring
August 03, 2013 03:02AM
The second link is correct. You connect the normally closed contacts between the input and ground. There needs to be a pull up but often just the internal pull ups in the chip are used. They need to be enabled in the firmware.

marlin configuration looks like this:
// Endstop Settings
#define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors

// The pullups are needed if you directly connect a mechanical endswitch between the signal and ground pins.
const bool X_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops.
const bool Y_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops.
const bool Z_ENDSTOPS_INVERTING = false; // set to true to invert the logic of the endstops.


[www.hydraraptor.blogspot.com]
Sorry, only registered users may post in this forum.

Click here to login