Hi yall!
I have tried for hours to solve this nut scratcher:
When homing Z does fine. X gets alarm 8 (failure to clear the endstop) after the first, faster search. I have them set normally closed, and $5=1.
Otherwise Z and X switches are supposed to be similar, but the homing direction is inverted for X (and Y, at the moment - will change their switches to max positions) thus $23=1.
I measured the resistance of both Z and X switches and their wiring from the RPI CNC board's endstop connectors - everything looks to be fine and similar for both: Normally the pins are grounded, 5V between gnd and endstop connector's pin when triggered.
I have no idea what might be the solution - maybe I have a dorky mistake that I just don't get by myself. Noise it most probably is not, because I have shielded cables (grounded in the PSU end) and the alarm always comes when the pull of movement is done. I tried a longer pull off (2cm off of the switch), same result.
Would pull down resistors solve this? Doesn't the RPI CNC board have pull up resistors? Can I add pull downs on top of the existing pull ups?
So weird that the Z works perfectly at the same time.
I do have A and Z limit switches connected in series because I have enabled the auto squaring homing, but I am still far from getting to wrestle with Y and A homing
Any advise appreciated!