grblesp icon indicating copy to clipboard operation
grblesp copied to clipboard

how do I connect limit switches with 3 pins

Open psyqjo opened this issue 4 years ago • 1 comments

how do i connect limit switches with 3 pins that have 5v gnd and signal? and is the stepper disable pin connected to enable on the stepper driver? unfortunately this is not visible on the schematic sketch.

psyqjo avatar Aug 02 '21 17:08 psyqjo

Hi! I should add that part to the schematic at some point. GPIO2 (D4 in NodeMCU) controls all the limits. You need to connect D4 to the switch and to 3V through a pull up resistor. Then the other wire of the switch must be connected to the pin from the shift registers controlling the corresponding limit for the axis.

And yes, the ENABLE pin is to ENABLE/DISABLE the stepper drivers.

gcobos avatar Aug 15 '21 19:08 gcobos