Home » 3DP » Ender 3 Klipper Conversion – Stage 2 – Configure Bed Level Probe

Ender 3 Klipper Conversion – Stage 2 – Configure Bed Level Probe

Configure BL-Touch / CR-Touch – Leveling bed on Klipper – Mainsail – Bigtreetech SKR MINI E3 V3.0

Ender 3 Klipper Conversion – Stage 1 – Klipper & Mainsail
Ender 3 Klipper Conversion – Stage 2 – Configure Bed Level Probe
Ender 3 Klipper Conversion – Stage 3 – Extruder Rate & Stepper Motor Calibration
Ender 3 Klipper Conversion – Stage 4 – PID calibration
Ender 3 Klipper Conversion – Stage 5 – Camera Setup & Remote Access
Ender 3 Klipper Conversion – Stage 6 – Macros
Ender 3 Klipper Conversion – Stage 7 – Filament Runout Sensor
Ender 3 Klipper Conversion – Troubleshooting

Configuring BL Touch

The official sample config for the SKR Mini E3 v2 is already set up for an Ender 3-like printer.

You’ll just need to add the bltouch stuff:

[bltouch]
sensor_pin: PC14
control_pin: PA1
x_offset: -40
y_offset: -10
z_offset: 3.0

[safe_z_home]

home_xy_position: 115,115 # Change coordinates to the center of your print bed speed: 50 z_hop: 10 # Move up 10mm z_hop_speed: 5

[bed_mesh]

speed: 120 horizontal_move_z: 5 mesh_min: 10, 10 mesh_max: 190, 220 probe_count: 5,5

and change this line under [stepper_z]:

endstop_pin: ^PC2

to:

endstop_pin: probe:z_virtual_endstop

Note:

This assumes you are using the z_probe connector on the board not using the z_endstop connector with the bltouch wires.

Some guides tell you to use the z_endstop connector with the bltouch wiring despite the fact that the z_probe connector has all the relevant pins needed and you don’t need to use the z_endstop connector for a probe.

If you are partially using the z_endstop connector with your bltouch wiring, you will need to modify the pins in the config to match that. I would suggest just using the z_probe connector as it’s meant to be used though.

Ender 3 config file:

https://github.com/Klipper3d/klipper/blob/master/config/printer-creality-ender3-2018.cfg

Bigtreetech SKR MINI E3 V3.0 Config file

https://github.com/Klipper3d/klipper/blob/master/config/generic-bigtreetech-skr-mini-e3-v3.0.cfg

Configuring CR – Touch

CR touch uses a 5 pin connector to connect to the motherboard. The printer.cfg file needs to be set up accordingly:

  • Set endstop_pin
  • Comment “position_endstop” in the [stepper_z] section
[stepper_z]
step_pin: PB0
dir_pin: PC5
enable_pin: !PB1
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
# position_endstop: 0.0
position_max: 255
position_min: -3
  • Add the CR-Touch related settings to the end of the printer.cfg file under the [bltouch] section.
[bltouch]
sensor_pin: ^PC14
control_pin: PA1
x_offset: -40
y_offset: -30
#z_offset: 3.0
probe_with_touch_mode: True
pin_up_touch_mode_reports_triggered = False
#speed:

[safe_z_home]
home_xy_position: 155,130 # Change coordinates to the center of your print bed
speed: 50
z_hop: 10                 # Move up 10mm
z_hop_speed: 5

[bed_mesh]
speed: 120
horizontal_move_z: 5
mesh_min: 20, 5
mesh_max: 207, 190
probe_count: 5,5

Bed Leveling – BED ADJUSTMENT

Home ALL in Toolhead section or G28 in console.

Move the head over the bed’s screws one by one. This requires modification of the [stepper_x] and [stepper_y] position_max: values otherwise the probe can’t reach the screws.

Add position_min: -3 to [stepper_z] if using bed leveling probe so it will allow a bit of play when z offset needs change due to uneven bed level.

[stepper_x]
step_pin: PB13
dir_pin: !PB12
enable_pin: !PB14
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC0
position_endstop: 0
position_max: 247
homing_speed: 50
[stepper_y]
step_pin: PB10
dir_pin: !PB2
enable_pin: !PB11
microsteps: 16
rotation_distance: 40
endstop_pin: ^PC1
position_endstop: 0
position_max: 245
homing_speed: 50 

Take note of the screws locations, modify and then add to code to the end of the printer.cfg file:

[screws_tilt_adjust]
screw1: 77, 43    #screw coordinates need to be measure for YOUR specific printer
screw1_name: front left screw
screw2: 246, 43
screw2_name: front right screw
screw3: 246, 211
screw3_name: rear right screw
screw4: 77, 211
screw4_name: rear left screw
horizontal_move_z: 10
speed: 50   #speed of travel moves between screws
screw_thread: CW-M4  #measure your bed screw m3=3mm / m4=4mm / m5=5mm

Now we should have the option in the Toolhead section to do: SCREWS TILT CALCULATE

Once done, a pop-up window will open with the measured values and the required adjustments.

SCREWS_TILT_CALCULATE