Configuring Marlin for Ender 3 V2

BL Touch Configuration

If you haven’t already set up Visual Studio Code or something to compile the Marlin firmware see these instruction Compiling Marlin for Ender 3 V2


NOTE: The original Creality firmware allowed the z-offset adjustment to move the Z axis while the printer was idle. These settings don’t allow this – not sure why yet.

// BL Touch with 5 pin header



#define BLTOUCH

// you probably want to pick your own values (X, Y, Z)
// if you know your z offset you can enter it into Z, otherwise set once the firmware is installed
#define NOZZLE_TO_PROBE_OFFSET { -44, -6, 0 }

// Changing printer movement speeds
// Slower takes long but is ultimately more accurate
#define XY_PROBE_SPEED (100*60)
// Homing speeds (mm/min)
#define HOMING_FEEDRATE_XY (50*60)
#define HOMING_FEEDRATE_Z (8*60)

// set method used to evaluate Z axis height

// sets homing XY position to near the middle of the bed
#define Z_SAFE_HOMING_X_POINT ((X_BED_SIZE - 10) / 2) // X point for Z homing
#define Z_SAFE_HOMING_Y_POINT ((Y_BED_SIZE - 10) / 2) // Y point for Z homing




// The BL Touch 3.1 may or may not be 5V compatible.  My printer suppliers suggested using this setting instead of BLTOUCH_SET_5V_MODE

Z Axis Quick Stop Button

I mounted the original Z Axis switch on the base facing forward. This config change results in the switch activating the KILL mode.

After pressing the switch the printer stops (seems to leave fans running which is good). The stepper motors, nozzle heating and bed all switch off. Turn off the printer to reset back to normal – but leave it a while first to allow the nozzle to cool else you’ll find the heat travel up into the purposely cooled filament guide and this could cause a problem.

This saves me scrabbling to get to the power switch at the back which would stop the fans (not ideal) or frantically navigating menus to stop a rogue print.



// add these lines under the commented line above
// Use original Z input as a KILL switch
// The actual pin needed will vary between controller boards.  
// Find the pin currently assigned to Z_STOP_PIN in the config that relates to your printer look in Marlin\src\pins\.......
#define KILL_PIN PA7


No change

Leave a Reply

Your email address will not be published. Required fields are marked *