BL-Touch works properly on G28 however the probe does not deploy for bed mesh

I went through the BL touch debugging and everything works as expected. Whenever I home the printer (G28) the BL-Touch deploys and properly homes the z. However when I initiate the BED_MESH_CALIBRATE the print head moves down but the BL-Touch is stowed and BED_MESH_CALIBRATE does not deploy the pin. I have to send M112 to prevent a collision. The BL-Touch is an Antclabs V3.1 on a Ender 3 V2 V4.2.2 board. I apologize if I am missing something simple. Help would be greatly appreciated

Starting Klippy…
Args: [’/home/pi/OctoPrint/klipper/klippy/klippy.py’, β€˜/home/pi/printer.cfg’, β€˜-l’, β€˜/tmp/klippy.log’]
Git version: β€˜v0.10.0-237-g28b568a’
CPU: 4 core ARMv7 Processor rev 0 (v7l)
Python: β€˜2.7.12 (default, Mar 1 2021, 11:38:31) \n[GCC 5.4.0 20160609]’
Start printer at Thu Apr 1 20:52:05 2021 (1617331926.0 11.9)
===== Config file =====
[stepper_x]
step_pin = PC2
dir_pin = PB9
enable_pin = !PC3
microsteps = 16
rotation_distance = 40
endstop_pin = ^PA5
position_endstop = 0
position_max = 235
homing_speed = 50

[stepper_y]
step_pin = PB8
dir_pin = PB7
enable_pin = !PC3
microsteps = 16
rotation_distance = 40
endstop_pin = ^PA6
position_endstop = 0
position_max = 235
homing_speed = 50

[stepper_z]
step_pin = PB6
dir_pin = !PB5
enable_pin = !PC3
microsteps = 16
rotation_distance = 8
endstop_pin = probe:z_virtual_endstop
position_max = 250
position_min = -1

[extruder]
max_extrude_only_distance = 100.0
step_pin = PB4
dir_pin = PB3
enable_pin = !PC3
microsteps = 16
rotation_distance = 34.406
nozzle_diameter = 0.400
filament_diameter = 1.750
heater_pin = PA1
sensor_type = EPCOS 100K B57560G104F
sensor_pin = PC5
control = pid
pid_kp = 21.527
pid_ki = 1.063
pid_kd = 108.982
min_temp = 0
max_temp = 250

[heater_bed]
heater_pin = PA2
sensor_type = EPCOS 100K B57560G104F
sensor_pin = PC4
min_temp = 0
max_temp = 130
control = pid
pid_kp = 69.148
pid_ki = 1.506
pid_kd = 793.477

[fan]
pin = PA0

[mcu]
serial = /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
restart_method = command

[printer]
kinematics = cartesian
max_velocity = 300
max_accel = 3000
max_z_velocity = 5
max_z_accel = 100

[bltouch]
sensor_pin = PA7
control_pin = PB0
x_offset = -42
y_offset = -10
z_offset = 0
probe_with_touch_mode = true

[safe_z_home]
home_xy_position = 117.5,117.5
z_hop = 10

[bed_mesh]
speed = 120
horizontal_move_z = 5
mesh_min = 15, 15
mesh_max = 205, 205
probe_count = 5,3
algorithm = bicubic
fade_start = 1
fade_end = 10
fade_target = 0

[screws_tilt_adjust]
screw1 = 70.5,37.5
screw1_name = front left screw
screw2 = 240,37.5
screw2_name = front right screw
screw3 = 240,207.5
screw3_name = rear right screw
screw4 = 70.5,207.5
screw4_name = rear left screw
horizontal_move_z = 10
speed = 50
screw_thread = CW-M4

bed_mesh: bicubic interpolation with a probe_count of less than 4 points detected. Forcing lagrange interpolation. Configured Probe Count: 5, 3
Extruder max_extrude_ratio=0.266081
mcu β€˜mcu’: Starting serial connect
mcu β€˜mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: β€˜/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0’
mcu β€˜mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: β€˜/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0’
mcu β€˜mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: β€˜/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0’
mcu β€˜mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: β€˜/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0’
mcu β€˜mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: β€˜/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0’
mcu β€˜mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: β€˜/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0’
mcu β€˜mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: β€˜/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0’
mcu β€˜mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: β€˜/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0’
mcu β€˜mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: β€˜/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0’
mcu β€˜mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: β€˜/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0’
mcu β€˜mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: β€˜/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0’
mcu β€˜mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: β€˜/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0’
mcu β€˜mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: β€˜/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0’
mcu β€˜mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: β€˜/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0’
mcu β€˜mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: β€˜/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0’
mcu β€˜mcu’: Unable to open serial port: [Errno 2] could not open port /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0: [Errno 2] No such file or directory: β€˜/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0’

Hello @Mdietz10.9 !

You have the offsets for the BLtouch:

And you want to do this mesh:

When you start the mesh at 15,15 the BLtouch is at position 15-42,15-10 β†’ -27,5. So the BLtouch is out of range of the built plate.

You have to adapt the mesh to the BLtouch offsets, e.g.:

1 Like

Also see BL-Touch - Klipper documentation for information on necessary settings when working with BLtouch clones

I found the mistake with the Probe not deploying. I didn’t know it deploys the pin very close to the bed unlike on a G28 where the z could be at a height of 100 mm and it immediately deploys the pin and begins to moves down. With BED_MESH_CALIBRATE this is not the case and only deploys the pin when it gets close to the bed. stupid mistake on my part, oops.

However
mesh_min = 57, 25
mesh_max = 230, 225

Fails on the third probe
Move out of range: 272.000 35.000 5.000 [0.000]

I got the mesh to work but I had to use this
[bed_mesh]
speed: 120
horizontal_move_z: 5
mesh_min = 5, 25
mesh_max = 188, 220
probe_count: 5,3
algorithm: bicubic
fade_start: 1
fade_end: 10
fade_target: 0

positions
probe at 47.000,35.000 is z=2.575000
probe at 92.750,35.000 is z=2.025000
probe at 138.500,35.000 is z=1.442500
probe at 184.250,35.000 is z=0.905000
probe at 230.000,35.000 is z=0.332500
probe at 230.000,132.500 is z=0.415000
probe at 184.250,132.500 is z=0.985000
probe at 138.500,132.500 is z=1.527500
probe at 92.750,132.500 is z=2.105000
probe at 47.000,132.500 is z=2.662500
probe at 47.000,230.000 is z=2.627500
probe at 92.750,230.000 is z=2.062500
probe at 138.500,230.000 is z=1.447500
probe at 184.250,230.000 is z=0.880000
probe at 230.000,230.000 is z=0.305000