Anet A8 3D Touch (bltouch) Klipper config

Hello Dear all,

I use klipper with my Anet A8 For a few years have been maintained.
I print main of ABS.

That being my question is, I whant to not need to perpetually adjust the bed leveling manualy with the sheet of paper methode.

Also, having seen some videos and configuration file for Klipper with Anet A8 and 3D Touch Auto Level.

I just buy this one:www.ebay.fr/itm/303093758883

I whant to know:
If it is possible to mount this Bltouch in parallel with the end stop switch in order to keep this protection? Is it useful to do that?

If have found some config file:

AND

In one i see :

[bltouch]
z_offset: -1.10
x_offset: 66
y_offset: 0
sensor_pin: ^PC4
control_pin: PA4

[bed_mesh]
min_point: 0,0
max_point: 150,150
probe_count: 5,5
horizontal_move_z: 25

[homing_override]
set_position_z: 0
axes: xyz
gcode:
** G90**
** G1 Z5 F600 ; Lift Z 35 mm to make sure probe wont hit bed, it may hit top though**
** G28 X0 Y0**
** ;G1 X110 - probe_x_offset Y110 - probe_z_offset F3600**
** G1 X44 Y110 F3600**
** G28 Z0**
** G1 Z10**

[gcode_macro G29]
gcode:
** BED_MESH_CALIBRATE**

In the other:

# Define the BLTouch servo
[servo bltouch]
pin: PA4
maximum_servo_angle: 180
minimum_pulse_width: 0.0006
maximum_pulse_width: 0.0024

# Define a probe using the BLTouch
[probe]
pin: PC4
speed: 5.0
z_offset: 0.79
activate_gcode:
** SET_SERVO SERVO=bltouch ANGLE=10**
** SET_SERVO SERVO=bltouch ANGLE=60**
** G4 P200**
deactivate_gcode:
** SET_SERVO SERVO=bltouch ANGLE=90**

# Example bed_tilt config section
[bed_tilt]
#x_adjust:
#y_adjust:
points:
** 50,50**
** 50,100**
** 50,190**
** 100,50**
** 100,100**
** 100,150**
** 150,50**
** 150,100**
** 150,150**

# If the BLTouch is used to home the Z axis, then define a
# homing_override section, use probe:z_virtual_endstop as the
# endstop_pin in the stepper_z section, and set the endstop_position
# in the stepper_z section to match the probe’s probe_z_offset.
[homing_override]
set_position_z: 5
gcode:
** G91 ; Uncomment these 2 lines to blindly lift the Z 20mm at start**
** G1 Z20 F600**
** G90**
** G28 X0 Y0**
** G1 X100 Y100 F3600**
** G28 Z0**
** G1 Z10 ; lift to Z10 at the end**

Can you say me what the good way with last version of klipper because i just réinstall my octoklipper.

Thanks in advance!

Hey, so a few things to digest here.

First, you cannot have both the end stopper and the BL touch plugged in. You can leave it on there, but it cannot be plugged into your board.

Next, about safety - you are able to define the minimum z it is allowed to go to. For example, on my printer, I have this config:

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

When you home the axis, BL touch will first establish where the bed is at the homing point. With that in mind, in my config, it will not allow the carriage to go 0.22mm below where it established the bed is. You can change this number to fit your needs, and a lower number will obviously make it safer. However, the less level your bed is, the larger this number needs to be. I would recommend at least leveling it somewhat before going ahead and using the BL touch.

TL;DR: You cannot install an end stopper, and there are other ways the software will protect your carriage.

Finally, the two configs. One is uploaded 4 years ago, and the other is 2 years ago - between the two, I would use the one that’s from 2 years ago as reference, but not copy it. Every printer is just slightly different, and you’ll have to change some stuff. Make sure the pins are correct. You can follow the BL Touch guide here, and that should be able to get you up and running.