The unused enstops can trigger randomly if they are not properly configured. The unused endstops should always have the pullup resistors enabled and the endstop inverting set to true. This will insure that the unused endstops will always be open. This applies to all control boards that use the Mega2560 chip. Example: My printer uses the XMAX, YMAX, and ZMIN endstops. The unused endstops did nby normw - RAMPS Electronics
Now have the GRID auto leveling working. The 3 point auto leveling was working intermittently and the GRID auto level would appear to home, but would not center the probe in the bed. Eventually, the 3 point auto leveling stopped working completely and the axis were moving erratically. The problem: Unused endstops were triggering - they should always be open. The unused endstops should alby normw - Firmware - mainstream and related support
The first thing you need to do is configure your endstops. A mechanical endstop, that is normally closed until triggered, in the "const bool" code should be set to inverting = false. Example: If you have an endstop for XMIN, the line should be (const bool X_MIN_ENDSTOP_INVERTING = false; // set to true to invert the logic of the endstop.) As the endstops are configured above, they will be trigby normw - RAMPS Electronics
Can someone explain the endstoppullups #define? // coarse Endstop Settings #define ENDSTOPPULLUPS // Comment this out (using // at the start of the line) to disable the endstop pullup resistors #ifndef ENDSTOPPULLUPS // fine endstop settings: Individual pullups. will be ignored if ENDSTOPPULLUPS is defined // #define ENDSTOPPULLUP_XMAX // #define ENDSTOPPULLUP_YMAX // #define ENDSTOPPULby normw - Firmware - mainstream and related support
I've been trying to figure out this auto bed leveling also. The x axis numbers you are getting is a calculation of the ((x max - x min)/2) + x offset, the same with your y axis. I think there is a bug in the "z - safe homing" routine, so comment that line: //#define Z_SAFE_HOMING Couldn't figure out how to get the the "grid mode" to position the probe, so comment that line: //#define AUTO_BED_Lby normw - Firmware - mainstream and related support