dbv
July 9, 2021, 10:45am
1
Hi, I currently switched from Marlin to Klipper…or at least I tried to. I’ve set up my BLTouch config and I can manually trigger the pin/down. QUERY_PROBE shows allways open. If I trigger the pin with my finger it does not stay up but comes down immediately. Any ideas? Maybe the sensor Pin is wrong even though it’s the same as in my Marlin Config where everything works flawlessly.
Edit: It now works a little bit better…without any changes by me. Yet it still fails.
I do a G28 Z the printbed drives up, hits the pin, it triggers but the second trigger does fail stating
!! BLTouch failed to deploy
Edit2: I removed pin_up_reports_not_triggered: False (which I just added because nothing worked and I was tinkering around) but I got my first successful Z homing…which drives me mad because I had the config in this state the whole day and it did not work.
my Config:
[stepper_x]
step_pin: PB9
dir_pin: !PC2
enable_pin: !PC3
microsteps: 16
rotation_distance: 40
endstop_pin: ^PA5
position_endstop: 0
position_max: 235
homing_speed: 50
[stepper_y]
step_pin: PB7
dir_pin: !PB8
enable_pin: !PC3
microsteps: 16
rotation_distance: 40
endstop_pin: ^PA6
position_endstop: 0
position_max: 235
homing_speed: 50
[stepper_z]
step_pin: PB5
dir_pin: PB6
enable_pin: !PC3
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
position_max: 250
[extruder]
max_extrude_only_distance: 100.0
step_pin: PB3
dir_pin: PB4
enable_pin: !PC3
microsteps: 16
rotation_distance: 33.500
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
control: pid
pid_Kp: 54.027
pid_Ki: 0.770
pid_Kd: 948.182
min_temp: 0
max_temp: 130
[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
[display]
lcd_type: st7920
cs_pin: PB12
sclk_pin: PB13
sid_pin: PB15
encoder_pins: ^PB14, ^PB10
click_pin: ^!PB2
[virtual_sdcard]
path: ~/gcode_files
[display_status]
[pause_resume]
[bltouch]
sensor_pin: ^PA7
control_pin: PB0
x_offset: -37
y_offset: -12
z_offset: 0
samples: 2
pin_up_reports_not_triggered: False
[safe_z_home]
home_xy_position: 110,110 # Change coordinates to the center of your print bed
speed: 50
z_hop: 10 # Move up 10mm
z_hop_speed: 5
[bed_mesh]
mesh_min: 10,10
mesh_max: 220,180
Sineos
July 9, 2021, 12:51pm
3
This advice is quite dangerous!
If a controller board NEEDs 5V mode AND it is 5V tolerant on its input signal line AND if you have a BL-Touch Smart V3.0/V3.1 then you can try it. Otherwise you might end up killing your board
oh fuck, good to know
have you tested This ?
if you use the bltouch endstop it is PB1, pa7 if you use the Z endstop
Maybe you can extract some information here:
Getting Klipper setup on Ender 3 with 4.2.7 board and BLTouch 3.1. I am having trouble with the bltouch when homing. It will move to start homing and then probe wont deploy at all. I get a message of “Endstop z still triggered after retract”
I’ve tried going through steps on this site (Connecting BL-Touch | klipper ) but didnt work. Wires on bltouch on board are plugged in this order (from left to right)- brown, red, yellow, black, red. My config file is below. Thanks!
[stepper_x]
step_pi…
Unfortunately the user @DaveWW00 did not report back on how he solved it.
Two additional comments:
[stepper_z]
...
position_min: -1.5
You should give the BLTouch a bit headroom in the Z-direction
[bltouch]
sensor_pin: ^PA7
control_pin: PB0
x_offset: -37
y_offset: -12
z_offset: 0
samples: 2
pin_up_reports_not_triggered: False
Remove the z_offset
. This is set via calibrating-probe-z-offset
dbv
July 9, 2021, 4:48pm
6
Ok, I’ve done the changes and homing does work. I’ve no idea what’s different to this morning but I’m glad it works. Now to next problem…in another thread;) Can I mark this thread as solved?
Sineos
July 10, 2021, 7:19am
7
@dbv would you post your final config for this. Seems that BLTouch and Creality Board 4.2.7 is always causing a challenge.
dbv
July 11, 2021, 6:33pm
8
of course. As soon as I have everything up and running I’m going to share my config. Currently fiddling with screws_tilt_adjust
dbv
July 12, 2021, 1:35pm
9
@Sineos
here’s my current config which I would consider final in terms of BLtouch implemantation. I do have a clone and needed to set samples down to 1 otherwise the double scan and the bed movement where sometimes not in sync which led to failed probing.
[stepper_x]
step_pin: PB9
dir_pin: PC2
enable_pin: !PC3
microsteps: 16
rotation_distance: 40
endstop_pin: ^PA5
position_endstop: 225
position_max: 225
homing_speed: 50
[stepper_y]
step_pin: PB7
dir_pin: PB8
enable_pin: !PC3
microsteps: 16
rotation_distance: 40
endstop_pin: ^PA6
position_endstop: 225
position_max: 225
homing_speed: 50
[stepper_z]
step_pin: PB5
dir_pin: PB6
enable_pin: !PC3
microsteps: 16
rotation_distance: 4
endstop_pin: probe:z_virtual_endstop
position_max: 300
position_min: -3
[extruder]
max_extrude_only_distance: 100.0
step_pin: PB3
dir_pin: PB4
enable_pin: !PC3
microsteps: 16
rotation_distance: 7.467 #Bondtech Dual Drive Extruder / 33.500 default
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
#control: pid
#pid_Kp: 54.027
#pid_Ki: 0.770
#pid_Kd: 948.182
min_temp: 0
max_temp: 130
[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
[display]
lcd_type: st7920
cs_pin: PB12
sclk_pin: PB13
sid_pin: PB15
encoder_pins: ^PB14, ^PB10
click_pin: ^!PB2
[virtual_sdcard]
path: ~/gcode_files
[display_status]
[pause_resume]
[bltouch]
sensor_pin: PA7
control_pin: PB0
x_offset: -37
y_offset: -12
z_offset = 1.25
samples: 1
[safe_z_home]
home_xy_position: 110,110 # Change coordinates to the center of your print bed
speed: 50
z_hop: 10 # Move up 10mm
z_hop_speed: 5
[bed_mesh]
speed: 30
horizontal_move_z: 10
mesh_min: 20,18
mesh_max: 180,206
probe_count: 3,3
[screws_tilt_adjust]
screw1: 66,47
screw1_name: vorne links
screw2: 225,47
screw2_name: vorne rechts
screw3: 225,216
screw3_name: hinten rechts
screw4: 66,216
screw4_name: hinten links
horizontal_move_z: 10.
speed: 50.
screw_thread: CW-M4
[gcode_macro CANCEL_PRINT]
description: Cancel the actual running print
rename_existing: CANCEL_PRINT_BASE
gcode:
#TURN_OFF_HEATERS
CANCEL_PRINT_BASE
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 24.973
#*# pid_ki = 1.321
#*# pid_kd = 117.998
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 75.272
#*# pid_ki = 1.667
#*# pid_kd = 849.630
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# -0.031250, -0.092500, -0.047500
#*# 0.080000, -0.006250, 0.033750
#*# -0.025000, -0.071250, -0.006250
#*# tension = 0.2
#*# min_x = 20.0
#*# algo = lagrange
#*# y_count = 3
#*# mesh_y_pps = 2
#*# min_y = 18.0
#*# x_count = 3
#*# max_y = 206.0
#*# mesh_x_pps = 2
#*# max_x = 180.0