Skip to main content

Marlin Configuration

Info
  • This document provides the following
  • Marlin configuration methods

Pin Configuration

  • Reference pin configuration
  • Please note that the following configuration methods are mutually exclusive (choose only one)
#define Z_MIN_PROBE_PIN    PC0
  • Add to the bottom of Configuration.h or in a location that does not affect other configurations
  • Mutually exclusive (choose only one)
Loading...
  • Motherboard pin configuration method
  • Mutually exclusive (choose only one)
Loading...

Set Probe Pin

#define SOL1_PIN PA5

Probe Offset

  • Set probe offset
#define NOZZLE_TO_PROBE_OFFSET { 0, 0, 0 }

Safe Edge Distance

#define PROBING_MARGIN 10

Disable Software Endstop

// #define MIN_SOFTWARE_ENDSTOP_Z

Set Default Endstop Logic Level

#define Z_MIN_ENDSTOP_HIT_STATE HIGH

Probing Points

  • Set the number of probing points
#define GRID_MAX_POINTS_X 3
#define GRID_MAX_POINTS_Y 3

Use Z_MIN Endstop for Probe Signal

#define Z_MIN_PROBE_USES_Z_MIN_ENDSTOP_PIN

Use Probe Data for Z Homing

#define USE_PROBE_FOR_Z_HOMING

Enable Center Z Homing

#define Z_SAFE_HOMING

Set Bed Leveling Type (Grid)

#define AUTO_BED_LEVELING_BILINEAR

Enable EEPROM Settings

#define EEPROM_SETTINGS

Enable Solenoid Probe

#define SOLENOID_PROBE

Automatically Enable Leveling Data After Homing

#defne RESTORE LEVELING AFTER G28

Slicer Software Settings

  • If you need to re-level before each print job, add the following commands to the start G-code in your slicer software:
G28;
G29;
Loading...