## # Prusa Mini+ ## ## general configuration [mcu] serial: /dev/serial/by-id/usb-Klipper_stm32f407xx_2B0024001547393432343038-if00 restart_method: command [printer] kinematics: cartesian # Prusa firmware defaults. max_velocity: 180 max_accel: 1250 max_z_velocity: 12 max_z_accel: 400 [virtual_sdcard] path: ~/gcode_files ## neopixel [include neopixel.cfg] ## macros [include macros.cfg] ## display menu [include display_menu.cfg] ## web [pause_resume] [display_status] [respond] default_type: echo # Sets the default prefix of the "M118" and "RESPOND" output to one # of the following: # echo: "echo: " (This is the default) # command: "// " # error: "!! " # default_prefix: echo: # Directly sets the default prefix. If present, this value will # override the "default_type". ## stepper [stepper_x] step_pin: PD1 dir_pin: PD0 enable_pin: !PD3 microsteps: 16 rotation_distance: 32 # 200 * 16 / 100 endstop_pin: tmc2209_stepper_x:virtual_endstop position_endstop: 180.4 position_min: -2 position_max: 180.4 homing_speed: 50 homing_retract_dist: 0 [stepper_y] step_pin: PD13 dir_pin: PD12 enable_pin: !PD14 microsteps: 16 rotation_distance: 32 # 200 * 16 / 100 endstop_pin: tmc2209_stepper_y:virtual_endstop position_endstop: -3 position_min: -3 position_max: 180 homing_speed: 50 homing_retract_dist: 0 [stepper_z] step_pin: PD4 dir_pin: !PD15 enable_pin: !PD2 microsteps: 16 rotation_distance: 4 endstop_pin: probe:z_virtual_endstop position_min: -3 position_max: 185 ## tmc [tmc2209 stepper_x] uart_pin: PD5 uart_address: 1 diag_pin: ^PE2 driver_SGTHRS: 130 run_current: 0.35 sense_resistor: 0.22 stealthchop_threshold: 999999 [tmc2209 stepper_y] uart_pin: PD5 uart_address: 3 diag_pin: ^PE1 driver_SGTHRS: 130 run_current: 0.35 sense_resistor: 0.22 stealthchop_threshold: 999999 [tmc2209 stepper_z] uart_pin: PD5 uart_address: 0 diag_pin: ^PE3 driver_SGTHRS: 100 run_current: 0.35 sense_resistor: 0.22 stealthchop_threshold: 999999 [tmc2209 extruder] uart_pin: PD5 uart_address: 2 diag_pin: ^PA15 driver_SGTHRS: 100 run_current: 0.4 sense_resistor: 0.22 ## display [display] lcd_type: st7789v spi_bus: spi2a rst_pin: PC8 cs_pin: PC9 rs_pin: PD11 encoder_pins: ^PE13, ^PE15 click_pin: ^!PE12 [extruder] step_pin: PD9 dir_pin: !PD8 enable_pin: !PD10 microsteps: 16 rotation_distance: 26.2564 # (200 * 16 * 48/18) / 325 gear_ratio: 48:18 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: PB1 sensor_type: ATC Semitec 104GT-2 sensor_pin: PC0 # Prusa's firmware defaults. #control: pid #pid_Kp: 7 #pid_Ki: 0.5 #pid_Kd: 45 min_temp: 10 max_temp: 305 max_extrude_only_distance: 800.0 # max_extrude_cross_section: 10.0 [heater_bed] heater_pin: PB0 sensor_type: EPCOS 100K B57560G104F sensor_pin: PA4 # Prusa's firmware defaults. #control: pid #pid_Kp: 120 #pid_Ki: 1.5 #pid_Kd: 600 min_temp: 10 max_temp: 110 # Hotend fan. # The stock firmware uses control ranges of PWM 0-50%, RPM 1000-8000. # Change fan_speed below to match your preference. Measured speeds: # fan_speed 0.5: 50% PWM = 4000RPM (Prusa stock default speed) # fan_speed 1.0: 100% PWM = 8000RPM (safe but loud) [heater_fan hotend_fan] pin: PE9 tachometer_pin: PE14 fan_speed: 0.5 # Part cooling fan. # The stock firmware uses control ranges of PWM 10-50%, RPM 500-5000. # To match stock firmware, set the Klipper fan speed to 50%. This speed # can be safely increased to 100% for better part cooling. Measured speeds: # 50% PWM = 2500RPM (Prusa stock default speed) # 100% PWM = 5000RPM (better cooling, still quiet) [fan] pin: PE11 tachometer_pin: PE10 # The SuperPINDA has built-in temperature compensation and no thermistor output, # so no compensation table is needed here. [probe] pin: PA8 x_offset: -29 y_offset: -3 #z_offset: 0 # set this to your Live Z Offset, but negated (invert the sign) speed: 6.0 [safe_z_home] home_xy_position: 160,20 z_hop: 4 [bed_mesh] speed: 1000 horizontal_move_z: 5 mesh_min: 10,10 mesh_max: 141,167 probe_count: 5,5 algorithm: bicubic [filament_switch_sensor filament_sensor] switch_pin: ^PB4 pause_on_runout: True event_delay: 3.0 pause_delay: 0.5 runout_gcode: M117 filament removed insert_gcode: M117 filament inserted G4 P3000 {% for i in range(10) %} M117 loading in {10-i} G4 P1000 {% endfor %} M117 loading now load #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [extruder] #*# control = pid #*# pid_kp = 21.307 #*# pid_ki = 0.911 #*# pid_kd = 124.644 #*# #*# [heater_bed] #*# control = pid #*# pid_kp = 57.528 #*# pid_ki = 1.059 #*# pid_kd = 780.942 #*# #*# [probe] #*# z_offset = 1.480 #*# #*# [bed_mesh default] #*# version = 1 #*# points = #*# -0.068750, -0.116250, 0.025000, 0.067500, -0.095000, 0.002500 #*# -0.048750, -0.036250, 0.005000, -0.028750, 0.032500, 0.086250 #*# -0.027500, -0.028750, -0.001250, 0.010000, 0.026250, 0.045000 #*# 0.006250, -0.023750, -0.021250, 0.020000, 0.017500, 0.046250 #*# -0.063750, -0.011250, -0.015000, -0.030000, 0.021250, 0.017500 #*# -0.056250, -0.150000, -0.012500, -0.010000, -0.067500, -0.021250 #*# tension = 0.2 #*# min_x = 10.0 #*# algo = bicubic #*# y_count = 6 #*# mesh_y_pps = 2 #*# min_y = 10.0 #*# x_count = 6 #*# max_y = 167.0 #*# mesh_x_pps = 2 #*# max_x = 141.0