[mcu] serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_1900470008504E5238363120-if00 restart_method: command [include mainsail.cfg] [printer] kinematics: cartesian max_velocity: 300 max_accel: 3000 max_z_velocity: 5 max_z_accel: 100 square_corner_velocity: 5.0 ##################################################################### # STEPPERS (your pins; home to MAX on X/Y) ##################################################################### [stepper_x] step_pin: PB13 dir_pin: !PB12 enable_pin: !PB14 microsteps: 16 rotation_distance: 40 endstop_pin: ^PC0 position_min: 0 position_max: 350 position_endstop: 350 homing_positive_dir: true homing_speed: 60 second_homing_speed: 20 homing_retract_dist: 5 [stepper_y] step_pin: PB10 dir_pin: !PB2 enable_pin: !PB11 endstop_pin: ^PC1 homing_retract_dist: 0 rotation_distance: 40 # pitch 2mm, teeth 20? full_steps_per_rotation: 200 microsteps: 16 homing_speed: 50 position_min: 0 position_max: 350 position_endstop: 350 homing_positive_dir: true [stepper_z] step_pin: PB0 dir_pin: !PC5 enable_pin: !PB1 microsteps: 16 rotation_distance: 8 endstop_pin: probe:z_virtual_endstop position_min: -9 position_max: 400 homing_speed: 6 second_homing_speed: 2 homing_retract_dist: 2 ##################################################################### # TMC DRIVERS ##################################################################### [tmc2209 stepper_x] uart_pin: PC11 tx_pin: PC10 uart_address: 0 run_current: 0.7 hold_current: 0.400 stealthchop_threshold: 999999 [tmc2209 stepper_y] uart_pin: PC11 tx_pin: PC10 uart_address: 1 run_current: 0.7 hold_current: 0.400 stealthchop_threshold: 999999 [tmc2209 stepper_z] uart_pin: PC11 tx_pin: PC10 uart_address: 2 run_current: 0.7 hold_current: 0.400 stealthchop_threshold: 999999 [tmc2209 extruder] uart_pin: PC11 tx_pin: PC10 uart_address: 3 run_current: 0.650 stealthchop_threshold: 999999 # ------------------------- # EXTRUDER # ------------------------- [extruder] step_pin: PB3 dir_pin: !PB4 enable_pin: !PD1 microsteps: 16 rotation_distance: 33.500 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: PC8 sensor_type: EPCOS 100K B57560G104F sensor_pin: PA0 control: pid pid_Kp: 21.527 pid_Ki: 1.063 pid_Kd: 108.982 min_temp: 0 max_temp: 250 max_extrude_only_distance: 100.0 # ------------------------- # HEATED BED # ------------------------- [heater_bed] heater_pin: PC9 sensor_type: EPCOS 100K B57560G104F sensor_pin: PC4 control: pid pid_Kp: 54.027 pid_Ki: 0.770 pid_Kd: 948.182 min_temp: 0 max_temp: 130 # ------------------------- # FANS # ------------------------- [fan] pin: PC6 [heater_fan hotend_fan] pin: PB15 heater: extruder heater_temp: 50.0 ##################################################################### # PROBE ##################################################################### [bltouch] sensor_pin: ^PC14 control_pin: PA1 x_offset: -44 y_offset: -6 z_offset: 0 [safe_z_home] home_xy_position: 219, 181 # 175+44=219, 175+6=181 speed: 100 z_hop: 10 z_hop_speed: 5 # ------------------------- # BED MESH # ------------------------- [bed_mesh] speed: 120 horizontal_move_z: 5 mesh_min: 10, 10 mesh_max: 306, 344 probe_count: 5, 5 algorithm: bicubic fade_start: 1 fade_end: 10 fade_target: 0 # ------------------------- # BED LEVELING # ------------------------- [bed_screws] screw1: 32, 32 screw1_name: Front Left screw2: 325, 32 screw2_name: Front Right screw3: 325, 325 screw3_name: Rear Right screw4: 32, 325 screw4_name: Rear Left horizontal_move_z: 5 probe_height: 0.3 speed: 100 # ------------------------- # BOARD PINS # ------------------------- [board_pins] aliases: EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=, EXP1_2=PA15, EXP1_4=, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V> # ------------------------- # FILAMENT RUNOUT SENSOR # ------------------------- [filament_switch_sensor filament_sensor] switch_pin: ^PC15 pause_on_runout: True runout_gcode: M117 Filament runout detected! insert_gcode: M117 Filament inserted ##################################################################### # BASICS / SAFETIES ##################################################################### # ------------------------- # IDLE TIMEOUT # ------------------------- [idle_timeout] timeout: 1800 gcode: # Keep heaters on, just disable steppers M84 #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [bed_mesh default] #*# version = 1 #*# points = #*# -0.182500, -0.252500, -0.185000, 0.090000, 0.145000 #*# -0.050000, -0.125000, -0.080000, 0.212500, 0.315000 #*# -0.062500, -0.105000, -0.027500, 0.270000, 0.415000 #*# -0.095000, -0.177500, -0.137500, 0.197500, 0.290000 #*# -0.130000, -0.410000, -0.387500, -0.060000, 0.005000 #*# x_count = 5 #*# y_count = 5 #*# mesh_x_pps = 2 #*# mesh_y_pps = 2 #*# algo = bicubic #*# tension = 0.2 #*# min_x = 10.0 #*# max_x = 306.0 #*# min_y = 10.0 #*# max_y = 344.0