####################################### # Macros ####################################### [include kiauh_macros.cfg] [include macros.cfg] [include start_stop_macros.cfg] ################################ ####################################### # MCU Printer ####################################### [mcu] serial: /dev/ttyUSB0 baud: 250000 restart_method: command [printer] kinematics: corexy max_velocity: 250 max_accel: 5000 max_accel_to_decel: 2500 square_corner_velocity: 5.0 max_z_velocity: 25 max_z_accel: 100 ####################################### # Stepper configuration ####################################### [stepper_x] step_pin: PE3 dir_pin: !PE2 enable_pin: !PE4 microsteps: 16 rotation_distance: 32 endstop_pin: tmc2209_stepper_x:virtual_endstop position_endstop: 0 position_max: 225 homing_speed: 30 homing_retract_dist: 0 [stepper_y] step_pin: PE0 dir_pin: !PB9 enable_pin: !PE1 microsteps: 16 rotation_distance: 32 endstop_pin: tmc2209_stepper_y:virtual_endstop position_endstop: 225 position_max: 225 homing_speed: 50 homing_retract_dist: 0 [stepper_z] step_pin: PB5 dir_pin: !PB4 enable_pin: !PB8 microsteps: 16 rotation_distance: 8 endstop_pin: probe:z_virtual_endstop position_min: -10 position_max: 230 [extruder] step_pin: PD6 dir_pin: !PD3 enable_pin: !PB3 microsteps: 16 rotation_distance: 6.720 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: PC3 sensor_type: ATC Semitec 104GT-2 sensor_pin: PC1 control: pid pid_Kp: 14.669 pid_Ki: 0.572 pid_Kd: 94.068 min_temp: 0 max_temp: 250 ####################################### # TMC2209 configuration ####################################### [tmc2209 stepper_x] uart_pin: PA3 run_current: 0.850 hold_current: 0.30 stealthchop_threshold: 0 # microsteps: 16 # driver_PWM_GRAD: 8 # sensorless diag_pin: PA15 driver_SGTHRS: 120 [tmc2209 stepper_y] uart_pin: PA6 run_current: 0.850 hold_current: 0.30 stealthchop_threshold: 0 # microsteps: 16 # driver_PWM_GRAD: 8 # sensorless diag_pin: PA12 driver_SGTHRS: 80 [tmc2209 stepper_z] uart_pin: PA1 run_current: 0.850 hold_current: 0.03 stealthchop_threshold: 0 [tmc2209 extruder] uart_pin: PE5 run_current: 0.700 hold_current: 0.500 stealthchop_threshold: 0 ####################################### # Bed & BLTouch ####################################### [heater_bed] heater_pin: PA0 sensor_type: EPCOS 100K B57560G104F sensor_pin: PC0 control: pid pid_Kp: 325.10 pid_Ki: 63.35 pid_Kd: 417.10 min_temp: 0 max_temp: 130 [bltouch] sensor_pin: ^PA11 control_pin: PA8 samples: 2 sample_retract_dist: 3.0 probe_with_touch_mode: True x_offset: -1 y_offset: -38 z_offset: 0 [safe_z_home] home_xy_position: 110,110 speed: 50.0 z_hop: 5.0 z_hop_speed: 5.0 [bed_mesh] speed: 120 horizontal_move_z: 5 mesh_min: 25,5 mesh_max: 210,180 probe_count: 5,5 ####################################### # Fans ####################################### [fan] pin: PB1 ####################################### # MISC ####################################### [temperature_sensor mcu_temp] sensor_type: temperature_mcu min_temp: 0 max_temp: 100 [temperature_sensor raspi_temp] sensor_type: temperature_host min_temp: 10 max_temp: 100 ###################################### # Default ####################################### [pause_resume] [display_status] [virtual_sdcard] path: ~/gcode_files [static_digital_output reset_display] pins: !PC6, !PD13 #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [bltouch] #*# z_offset = 2.270 #*# #*# [bed_mesh default] #*# version = 1 #*# points = #*# -0.068438, -0.055000, -0.060625, -0.072188, -0.121875 #*# -0.041563, -0.028438, -0.023438, -0.030625, -0.075000 #*# -0.045938, -0.016563, -0.014688, -0.022813, -0.060313 #*# -0.041563, -0.015313, -0.023125, -0.023125, -0.057813 #*# -0.036250, -0.031250, -0.042500, -0.044688, -0.077500 #*# tension = 0.2 #*# min_x = 25.0 #*# algo = lagrange #*# y_count = 5 #*# mesh_y_pps = 2 #*# min_y = 5.0 #*# x_count = 5 #*# max_y = 180.0 #*# mesh_x_pps = 2 #*# max_x = 210.0 #*# #*# [bed_mesh 80] #*# version = 1 #*# points = #*# -0.085938, -0.067813, -0.090000, -0.087500, -0.132500 #*# -0.047188, -0.026563, -0.042500, -0.053750, -0.076250 #*# -0.036875, -0.010000, -0.025000, -0.025000, -0.048438 #*# -0.039688, -0.016563, -0.028750, -0.039375, -0.062500 #*# -0.060625, -0.049375, -0.048750, -0.061250, -0.101250 #*# tension = 0.2 #*# mesh_x_pps = 2 #*# algo = lagrange #*# min_x = 25.0 #*# min_y = 5.0 #*# y_count = 5 #*# mesh_y_pps = 2 #*# x_count = 5 #*# max_x = 210.0 #*# max_y = 180.0 #*# #*# [bed_mesh 100] #*# version = 1 #*# points = #*# -0.068438, -0.055000, -0.060625, -0.072188, -0.121875 #*# -0.041563, -0.028438, -0.023438, -0.030625, -0.075000 #*# -0.045938, -0.016563, -0.014688, -0.022813, -0.060313 #*# -0.041563, -0.015313, -0.023125, -0.023125, -0.057813 #*# -0.036250, -0.031250, -0.042500, -0.044688, -0.077500 #*# tension = 0.2 #*# min_x = 25.0 #*# algo = lagrange #*# y_count = 5 #*# mesh_y_pps = 2 #*# min_y = 5.0 #*# x_count = 5 #*# max_y = 180.0 #*# mesh_x_pps = 2 #*# max_x = 210.0