if you are using an existing printer config, make sure you remove any previous reference to [cartographer] or [probe] in the saved section at the bottom.
Use CTL + F (Mac OS use Command (β) + F) to search to find either [cartographer] or [probe] and delete these sections.
[cartographer]serial:# Path to the serial port for the Cartographer device. Typically has the form# /dev/serial/by-id/usb-cartographer_cartographer_...# # If you are using the CAN Bus version, replace serial: with canbus_uuid: and add the UUID.# Example: canbus_uuid: 1283as878a9sd#speed:40.# Z probing dive speed.lift_speed:5.0# Z probing lift speed.backlash_comp:0.5# Backlash compensation distance for removing Z backlash before measuring# the sensor response.# # Offsets are measured from the centre of your coil, to the tip of your nozzle # on a level axis. It is vital that this is accurate. #x_offset:0.0# X offset of cartographer from the nozzle.y_offset:21.1# Y offset of cartographer from the nozzle.mesh_runs:2# Number of passes to make during mesh scan.[bed_mesh]zero_reference_position:125, 125# set this to the middle of your bedspeed:200# movement speed of toolhead during bed meshhorizontal_move_z:5# height of scanner during bed mesh scanmesh_min:35, 6# start point of bed mesh [X, Y]mesh_max:240, 198# end point of bed mesh [X, Y]probe_count:30, 30algorithm:bicubic
NOTE - The [cartographer] section needs to be above any other reference to either cartographer or probe within your Klipper config, for this reason I advise adding it near the top of your config file.
If you want to use the probe for Input Shaper, please add the following to your config.
You then need to remove, or comment out your [probe] section.
Now add a safe_z_home section with the following inforamation.
[safe_z_home]home_xy_position: [your x-axis center coordinate], [your y-axis center coordinate]# Example home_xy_position: 175,175 - This would be for a 350 * 350mm bed. z_hop:10
You will also need to update your Z configuration settings, this will involve removing or commenting out your position_endstop: configuration. Homing_retract_dist must also be set to 0
Don't get confused, "endstop_pin" should contain probe and NOT cartographer.
[stepper_z]endstop_pin:probe:z_virtual_endstop# uses cartographer as virtual endstophoming_retract_dist:0# cartographer needs this to be set to 0
If you are running Klipper Screen, add this Macro to your G-Code, this stops klipper screen doing a random bedmesh when you press Z Calibrate on it.
You will now need to ensure that you update your Z-Tilt or QGL settings to ensure that Cartographer is over the bed when performing these actions. We will be checking these during the calibration phase.
Finally, you need to ensure you have a suitable bed_mesh section. Information can be found here
It is vital you complete the Calibration steps, without doing so the probe will not work properly and is likely to show TRIGGERED.