Skip to content

Commit 7f47338

Browse files
committed
config: enable Z probe and bed leveling
Signed-off-by: Bhavin Gandhi <bhavin7392@gmail.com>
1 parent 9275e8b commit 7f47338

File tree

1 file changed

+12
-8
lines changed

1 file changed

+12
-8
lines changed

marlin-config/Configuration.h

Lines changed: 12 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -656,11 +656,11 @@
656656
// Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
657657
#define X_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
658658
#define Y_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
659-
#define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
659+
#define Z_MIN_ENDSTOP_INVERTING true // Set to true to invert the logic of the endstop.
660660
#define X_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
661661
#define Y_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
662662
#define Z_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
663-
#define Z_MIN_PROBE_ENDSTOP_INVERTING false // Set to true to invert the logic of the probe.
663+
#define Z_MIN_PROBE_ENDSTOP_INVERTING true // Set to true to invert the logic of the probe.
664664

665665
/**
666666
* Stepper Drivers
@@ -882,7 +882,7 @@
882882
* A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
883883
* (e.g., an inductive probe or a nozzle-based probe-switch.)
884884
*/
885-
//#define FIX_MOUNTED_PROBE
885+
#define FIX_MOUNTED_PROBE
886886

887887
/**
888888
* Use the nozzle as the probe, as with a conductive
@@ -986,7 +986,9 @@
986986
* | [-] |
987987
* O-- FRONT --+
988988
*/
989-
#define NOZZLE_TO_PROBE_OFFSET { 10, 10, 0 }
989+
// https://www.thingiverse.com/thing:2023947
990+
// [2021-11-12 Fri 21:52] M851 Z-5.73
991+
#define NOZZLE_TO_PROBE_OFFSET { 32.5, 5, -5.73 }
990992

991993
// Most probes should stay away from the edges of the bed, but
992994
// with NOZZLE_AS_PROBE this can be negative for a wider probing area.
@@ -1010,7 +1012,7 @@
10101012
* A total of 2 does fast/slow probes with a weighted average.
10111013
* A total of 3 or more adds more slow probes, taking the average.
10121014
*/
1013-
//#define MULTIPLE_PROBING 2
1015+
#define MULTIPLE_PROBING 2
10141016
//#define EXTRA_PROBING 1
10151017

10161018
/**
@@ -1234,7 +1236,7 @@
12341236
*/
12351237
//#define AUTO_BED_LEVELING_3POINT
12361238
//#define AUTO_BED_LEVELING_LINEAR
1237-
//#define AUTO_BED_LEVELING_BILINEAR
1239+
#define AUTO_BED_LEVELING_BILINEAR
12381240
//#define AUTO_BED_LEVELING_UBL
12391241
//#define MESH_BED_LEVELING
12401242

@@ -1281,7 +1283,7 @@
12811283
#if EITHER(AUTO_BED_LEVELING_LINEAR, AUTO_BED_LEVELING_BILINEAR)
12821284

12831285
// Set the number of grid points per dimension.
1284-
#define GRID_MAX_POINTS_X 3
1286+
#define GRID_MAX_POINTS_X 4
12851287
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
12861288

12871289
// Probe along the Y axis, advancing X after each column
@@ -1385,7 +1387,9 @@
13851387
// - Move the Z probe (or nozzle) to a defined XY point before Z Homing.
13861388
// - Prevent Z homing when the Z probe is outside bed area.
13871389
//
1388-
//#define Z_SAFE_HOMING
1390+
#define Z_SAFE_HOMING
1391+
1392+
// TODO(bhavin192): might need to change this to some other place?
13891393

13901394
#if ENABLED(Z_SAFE_HOMING)
13911395
#define Z_SAFE_HOMING_X_POINT X_CENTER // X point for Z homing

0 commit comments

Comments
 (0)