ВНИМАНИЕ!!! Опубликованный конфиг предоставлен как образец.
Все указанные значения вы применяете для своих принтеров на свой страх и риск!
На всех 3д принтерах я использую метод разбивки конфигурации на файлы, с подключением их в основном файле printer.cfg. Вы можете создать файлы изменив имена на свои, подключив их аналогично определением [include файл.cfg].
Вы можете не разбивать все на файлы, а собрать все в printer.cfg, минимализм иногда может быть и лучше, каждому своё=)
Обязательно требуются калибровки всего! Обнулите z_offset в разделе SAVE_CONFIG. Для другой платы управления лучше взять в пример конфигурацию именно для неё. В остальном макросы и прочее применимо для любых 3д принтеров, при условии замены имени пинов.
Надеюсь данная страница поможет вам в настройке своего 3д принтера.
ТТХ 3д принтера
[printer]
kinematics: cartesian
max_velocity: 150
max_accel: 5000
max_z_velocity: 15
max_z_accel: 50
max_accel_to_decel: 2500
square_corner_velocity: 5
[mcu]
serial: /dev/serial/by-id/usb-Klipper_lpc1768_0800000C47104AAFC8E7645DC22000F5-if00
baud: 250000
restart_method: command
[input_shaper]
shaper_freq_x: 44.4
shaper_type_x: zv
shaper_freq_y: 44.2
shaper_type_y: mzv
[idle_timeout]
timeout: 5000
################Temperature ####################
# [temperature_sensor mcu]
# sensor_type: temperature_mcu
[temperature_sensor HOST]
sensor_type: temperature_host
# [include framecomp.cfg]
##################Display/Custom Menu/Case Ligh##################
# [include lcd.cfg]
# [include display_menu.cfg]
# [include case_lights.cfg]
################ G-Code features ####################
[virtual_sdcard]
path: /home/pi/printer_3_data/gcodes
[pause_resume]
[display_status]
[respond]
[exclude_object]
[include stepper.cfg]
[include extruder.cfg]
[include tmc.cfg]
[include thermistor.cfg]
[include bed.cfg]
[include fan.cfg]
[include macros.cfg]
[output_pin POWER_OFF]
pin: !P1.20
shutdown_value: 1
# [adxl345]
# cs_pin: rpi:None
# [resonance_tester]
# accel_chip: adxl345
# probe_points:
# 100, 100, 20 # an example
########################################
# EXP1 / EXP2 (display) pins
########################################
[board_pins]
aliases:
# EXP1 header
EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>,
EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>,
# EXP2 header
EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>,
EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC>
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0"
# See the sample-lcd.cfg file for definitions of common LCD displays.
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 13.395
#*# pid_ki = 0.607
#*# pid_kd = 73.839
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 71.239
#*# pid_ki = 1.766
#*# pid_kd = 718.621
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.004615, -0.019135, -0.007885, -0.026635, -0.010385
#*# 0.015865, 0.003365, 0.012115, -0.010385, 0.008365
#*# 0.009615, -0.010385, -0.000385, -0.021635, 0.000865
#*# 0.057115, 0.027115, 0.035865, 0.013365, 0.034615
#*# 0.082115, 0.048365, 0.050865, 0.024615, 0.052115
#*# tension = 0.2
#*# min_x = 55.0
#*# algo = lagrange
#*# y_count = 5
#*# mesh_y_pps = 2
#*# min_y = 40.0
#*# x_count = 5
#*# max_y = 189.99
#*# mesh_x_pps = 2
#*# max_x = 190.0
#*#
#*# [probe]
#*# z_offset = 2.050
[stepper_x]
step_pin: P2.2
dir_pin: !P2.6
enable_pin: !P2.1
microsteps: 16
rotation_distance: 40.1
endstop_pin: !P1.29 # P1.28 for X-max
position_endstop: -10
position_min: -10
position_max: 220
homing_speed: 50
[stepper_y]
step_pin: P0.19
dir_pin: !P0.20
enable_pin: !P2.8
#step_distance: .0000
microsteps: 16
rotation_distance: 40.473
endstop_pin: !P1.27 # P1.26 for Y-max
position_endstop: -8
position_min: -8
position_max: 220
homing_speed: 50
[stepper_z]
step_pin: P0.22
dir_pin: !P2.11
enable_pin: !P0.21
microsteps: 16
rotation_distance: 4
#endstop_pin: !P1.25 # P1.24 for Z-max
#position_endstop: 0
endstop_pin: probe: z_virtual_endstop
position_min: -10
position_max: 250
homing_speed: 15
[stepper_z1]
step_pin: P2.13
dir_pin: !P0.11
enable_pin: !P2.12
microsteps: 16
rotation_distance: 4
endstop_pin: probe: z_virtual_endstop
[extruder]
step_pin: P0.1
dir_pin: !P0.0
enable_pin: !P0.10
microsteps: 16
rotation_distance: 24.2
gear_ratio: 3:1
nozzle_diameter: 0.400
filament_diameter: 1.750
instantaneous_corner_velocity: 1
max_extrude_only_distance: 500
#max_extrude_only_velocity: 75
#max_extrude_only_accel: 1500
pressure_advance: 0.03
heater_pin: P2.7
#sensor_type: EPCOS 100K B57560G104F
sensor_type: Mingda_Calibrated B3950
sensor_pin: P0.24
max_power: 1.0
smooth_time: 2
min_temp: 0
max_temp: 280
min_extrude_temp: 170
[verify_heater extruder]
hysteresis: 10
max_error: 120
heating_gain: 2
check_gain_time: 60
[filament_switch_sensor filament_sensor]
switch_pin: P1.28
pause_on_runout: true
[firmware_retraction]
retract_length: 0.5
retract_speed: 35
unretract_speed: 35
[tmc2208 stepper_x]
uart_pin: P1.17
run_current: 0.800
hold_current: 0.400
stealthchop_threshold: 999999
[tmc2208 stepper_y]
uart_pin: P1.15
run_current: 0.800
hold_current: 0.400
stealthchop_threshold: 999999
[tmc2208 extruder]
uart_pin: P1.1
run_current: 0.600
hold_current: 0.300
stealthchop_threshold: 999999
[thermistor Mingda_Calibrated B3950]
temperature1: 25.0
resistance1: 103180.0
temperature2: 150.0
resistance2: 1366.2
temperature3: 250.0
resistance3: 168.6
[probe]
pin:!P1.26
x_offset: -25
y_offset: 37
[safe_z_home]
home_xy_position: 115,115
speed: 50
z_hop: 10
z_hop_speed: 5
[bed_mesh]
mesh_min: 55,40
mesh_max: 190,190
probe_count: 5,5
fade_start: 1
fade_end: 5
algorithm: lagrange
mesh_pps: 2,2
[heater_bed]
heater_pin: P2.5
sensor_type: EPCOS 100K B57560G104F
sensor_pin: P0.23
min_temp: 0
max_temp: 120
[z_tilt]
z_positions: 50,85
220,85
points: 50,85
220,85
speed: 100
horizontal_move_z: 5
retries: 20
retry_tolerance: 0.005
[fan]
pin: P2.3
max_power: 1.0
kick_start_time: 0.2
[heater_fan radiator_fan]
pin: P2.4
# max_power: 0,6
# kick_start_time: 0.2
heater: extruder
heater_temp: 50
fan_speed: 0.8
Набор типовых макросов, смотреть в соответствующей статье с пояснениями, что куда зачем =)