Im running the skr 1.4 turbo board on lowrider 3 and all endstops we’re working perfectly, then 1 of my z endstops stopped ,
When homing z the machine wont do anything atall I’ve narrowed this down to my z max pin as ive tryed (working switches) and still nothing keeps saying triggered is also reflashed filmware
How would i go about changing the pin to another pin ? Also what pin can i use ?
I’ve currently running a separate router but also have a laser configured useing other pins
If you find the schematic for your board, it will have a list of pins. If you find a free one that is a signal pin, you can then go into our firmware, find the pins file for your board and change the number. Then recompile and reflash your board.
Make sure it is the pin first by checking with m119 in a slicer terminal, could be your wires or your switch. So test with and with things plugged in.
Expanding a bit on Ryan’s answer. If I remember correctly, you use pin 4.29 on the WIFI block for the laser enable pin. That leaves pin 4.28 on the WIFI block available.
If I’m following the include chain correctly, you will find the pins file ultimately used by the turbo here: Marlin/src/pins/lpc1768/pins_BTT_SKR_V1_4.h
If you completely unplug the ZMax cable, do you still see ‘triggered’ from an M119? If you can carefully check the voltage at the signal pin, you can see if it is getting pulled high correctly. If it is a pin issue, adding a 1K pullup resistor between the ‘s’ pin and ‘+’ might solve your problem. If it is a pin issue, the question is whether the pin is burned out or whether it is not getting pulled high correctly. First make sure you are seeing ‘triggered’ with nothing connected to that endstop.
Zmax and zprobe are opposite too. The zmsx should trigger with nothing attached (it needs a normally closed switch). The zprobe on zmin is looking for normally open, so it needs to be tied to ground to be triggered.