Temperature Differential Calibration
Update your printer config file in Klipper.
[gcode_macro DATA_SAMPLE]
gcode:
{% set bed_temp = params.BED_TEMP|default(90)|int %}
{% set nozzle_temp = params.NOZZLE_TEMP|default(250)|int %}
{% set min_temp = params.MIN_TEMP|default(40)|int %}
{% set max_temp = params.MAX_TEMP|default(70)|int %}
G90
M106 S255
RESPOND TYPE=command MSG='Waiting for Coil to cool to 40'
M117 Waiting for Coil to cool to 40
TEMPERATURE_WAIT SENSOR='temperature_sensor cartographer_coil' MAXIMUM={min_temp}
RESPOND TYPE=command MSG='Starting Phase 1 of 4'
M117 Starting Phase 1 of 4
M106 S0
G28
G0 Z1
M104 S{nozzle_temp}
M140 S{bed_temp}
G4 P1000
TEMPERATURE_WAIT SENSOR='temperature_sensor cartographer_coil' MINIMUM={min_temp}
CARTOGRAPHER_STREAM FILENAME=data1
M117 Waiting for Coil to heat to 70
RESPOND TYPE=command MSG='Waiting for Coil to heat to 70'
TEMPERATURE_WAIT SENSOR='temperature_sensor cartographer_coil' MINIMUM={max_temp}
CARTOGRAPHER_STREAM FILENAME=data1
M104 S0
M140 S0
M106 S255
G0 Z80
RESPOND TYPE=command MSG='Waiting for Coil to cool to 40'
M117 Waiting for Coil to cool to 40
TEMPERATURE_WAIT SENSOR='temperature_sensor cartographer_coil' MAXIMUM={min_temp}
M117 Starting Phase 2 of 4
RESPOND TYPE=command MSG='Starting Phase 2 of 4'
M106 S0
G28 Z0
G0 Z2
M104 S{nozzle_temp}
M140 S{bed_temp}
G4 P1000
CARTOGRAPHER_STREAM FILENAME=data2
M117 Waiting for Coil to heat to 70
RESPOND TYPE=command MSG='Waiting for Coil to heat to 70'
TEMPERATURE_WAIT SENSOR='temperature_sensor cartographer_coil' MINIMUM={max_temp}
CARTOGRAPHER_STREAM FILENAME=data2
M104 S0
M140 S0
M106 S255
G0 Z80
RESPOND TYPE=command MSG='Waiting for Coil to cool to 40'
M117 Waiting for Coil to cool to 40
TEMPERATURE_WAIT SENSOR='temperature_sensor cartographer_coil' MAXIMUM={min_temp}
M117 "Starting Phase 3 of 4"
RESPOND TYPE=command MSG='Starting Phase 3 of 4'
M106 S0
G28 Z0
G0 Z3
M104 S{nozzle_temp}
M140 S{bed_temp}
G4 P1000
CARTOGRAPHER_STREAM FILENAME=data3
M117 Waiting for Coil to heat to 70
RESPOND TYPE=command MSG='Waiting for Coil to heat to 70'
TEMPERATURE_WAIT SENSOR='temperature_sensor cartographer_coil' MINIMUM={max_temp}
CARTOGRAPHER_STREAM FILENAME=data3
M104 S0
M140 S0
RESPOND TYPE=command MSG='Testing complete, please move files using: mv ~/klipper/data1 ~/klipper/data2 ~/klipper/data3 ~/cartographer-klipper/'
M117 "Testing complete, please move files using: mv ~/klipper/data1 ~/klipper/data2 ~/klipper/data3 ~/cartographer-klipper/"
RESPOND TYPE=command MSG='Follow the remaining instructions here: https://docs.cartographer3d.com/cartographer-probe/advanced-features/temperature-differential-calibration-beta'
M117 "Follow the remaining instructions here: https://docs.cartographer3d.com/cartographer-probe/advanced-features/temperature-differential-calibration-beta"

Last updated