Auto calibration problem

Basic Information:

Printer Model: Anycubic Kobra 2 neo
MCU / Printerboard: Stock
Host / SBC: TV box rockchip

#Included files
[include mainsail.cfg]
[include makro.cfg] #comment this if you dont have this macro file.
#[include adxl.cfg] #uncomment this if you want to connect an adxl sensor and have this config file

#mcu config (i would advise against changing this)
[mcu]
serial:/dev/serial/by-id/usb-1a86_USB_Serial-if00-port0 #set this to your serial connection after running ls /dev/serial/by-id/*
baud: 250000
restart_method: command

#printer config
[printer]
kinematics: cartesian
max_velocity: 250
max_accel: 10000 #yes it does 10k atlease at 250mm/s
max_z_velocity: 8 #dont change this
max_z_accel: 800

#this is my input shaper result, change or disable this only if you know what it does and at best have an adxl sensor
[input_shaper]
shaper_freq_x: 54.8
shaper_type_x: ei
shaper_freq_y: 34.0
shaper_type_y: mzv

#virtual SD
[virtual_sdcard]
path: /home/raiko/printer_data/gcodes
on_error_gcode: CANCEL_PRINT

#x stepper
[stepper_x]
step_pin: PA12
dir_pin: PA11
enable_pin: !PA15
microsteps: 16
rotation_distance: 40
endstop_pin: ^!PB11
position_endstop: -10
position_min: -14
position_max: 220
homing_speed: 100 #this sets the homing speed.

#y stepper
[stepper_y]
step_pin: PA9
dir_pin: !PA8
enable_pin: !PA15
microsteps: 16
rotation_distance: 40
endstop_pin: ^!PC13
position_endstop: -2
position_min: -3
position_max: 230
homing_speed: 100 #this sets the homing speed.

#z stepper
[stepper_z]
step_pin: PB0
dir_pin: !PB1
enable_pin: !PA15
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
position_min: -2
position_max: 200
homing_speed: 15
second_homing_speed: 2

#extruder config
[extruder]
max_extrude_cross_section: 5.0 #change if you change nozzle diameter to something large
step_pin: PB15
dir_pin: PB14
enable_pin: !PA15
microsteps: 16
max_extrude_only_distance: 200
max_extrude_only_velocity: 80
max_extrude_only_accel: 5000
rotation_distance: 7.084
nozzle_diameter: 0.400
filament_diameter: 1.750
pressure_advance: 0.06
heater_pin: PB8
sensor_type: ATC Semitec 104GT-2
sensor_pin: PC3
min_extrude_temp: 180
min_temp: 0
max_temp: 250
control: pid
pid_ki: 0.88
pid_kd: 59.12
#pressure advance
pid_kp: 14.42 #tune this with this guide

#hotbed
[heater_bed]
heater_pin: PB9
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC1
min_temp: 0
max_temp: 120
control: pid
pid_kp: 97.1
pid_ki: 1.41
pid_kd: 1675.16

#inductive probe settings
[probe]
pin: PA1
x_offset : 24.0
y_offset : 13.35
#z_offset: 0
samples: 3
samples_result: average
samples_tolerance_retries: 1
sample_retract_dist: 2
speed: 15
lift_speed: 8
samples_tolerance : 0.1
samples_tolerance_retries : 3

#auto bed level settings
[bed_mesh]
speed: 200
horizontal_move_z: 3
mesh_min: 14, 11
mesh_max: 210, 215
probe_count: 7,7 #change this if you want more or less probe points
mesh_pps: 4,4
algorithm: bicubic
bicubic_tension: 0.2

#zhome probing. Probably dont change this
[safe_z_home]
home_xy_position: 0, 0
speed: 100
z_hop: 10
z_hop_speed: 15

[controller_fan controller_fan]
pin: PB12

[heater_fan extruder_fan]
pin: PB13

[fan]
pin: PB5
cycle_time: 0.00005 #20kHz

#This pin enables the bed, hotend, extruder fan, part fan.
[output_pin enable_pin]
pin: PB6
value: 1

## <---------------------- SAVE_CONFIG ---------------------->
#
# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
##
#
# [probe]
## z_offset = 2.210
#
#
## [bed_mesh LKP2]
#
# version = 1
## points =
#
# -0.080833, 0.127500, 0.340000, 0.538333, 0.730833, 0.938333, 1.168333
## 0.060000, 0.247500, 0.439167, 0.621667, 0.800833, 0.979167, 1.190833
#
# 0.174167, 0.360000, 0.547500, 0.738333, 0.917500, 1.098333, 1.305833
## 0.262500, 0.444167, 0.637500, 0.828333, 0.990000, 1.173333, 1.366667
#
# 0.304167, 0.497500, 0.690833, 0.901667, 1.081667, 1.255000, 1.440000
## 0.326667, 0.488333, 0.674167, 0.875000, 1.050000, 1.210833, 1.390833
#
# 0.325833, 0.490833, 0.685833, 0.895833, 1.080000, 1.245833, 1.420833
## x_count = 7
#
# y_count = 7
## mesh_x_pps = 4
#
# mesh_y_pps = 4
## algo = bicubic
#
# tension = 0.2
## min_x = 14.0
#
# max_x = 209.95999999999998
## min_y = 11.0
#
# max_y = 215.0

Describe your issue:

I’m having trouble with the automatic calibration. The calibration occurs normally and the height map is generated without any problems, but when printing, the nozzle always remains too high, more than 2 millimeters, and I have to manually set the offset, so the auto-calibration isn’t very useful.

Hello @Raikodragon !

The template asked for the klippy.log, not the printer.cfg.

Please read here: How-To Ask for Help and try again.

2 Likes