AgentLoneStar007

printer.cfg

Oct 18th, 2025
11
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.26 KB | None | 0 0
  1. # Paste here and save your klipper configuration
  2. # This file contains common pin mappings for the BIGTREETECH SKR mini
  3. # E3 v2.0. To use this config, the firmware should be compiled for the
  4. # STM32F103 with a "28KiB bootloader" and USB communication. Also,
  5. # select "Enable extra low-level configuration options" and configure
  6. # "GPIO pins to set at micro-controller startup" to "!PA14".
  7.  
  8. # The "make flash" command does not work on the SKR mini E3. Instead,
  9. # after running "make", copy the generated "out/klipper.bin" file to a
  10. # file named "firmware.bin" on an SD card and then restart the SKR
  11. # mini E3 with that SD card.
  12.  
  13. # See docs/Config_Reference.md for a description of parameters.
  14.  
  15. [stepper_x]
  16. step_pin: PB13
  17. dir_pin: !PB12
  18. enable_pin: !PB14
  19. microsteps: 16
  20. rotation_distance: 40
  21. endstop_pin: ^PC0
  22. position_endstop: 0
  23. position_max: 235
  24. homing_speed: 50
  25.  
  26. [tmc2209 stepper_x]
  27. uart_pin: PC11
  28. tx_pin: PC10
  29. uart_address: 0
  30. run_current: 0.580
  31. stealthchop_threshold: 999999
  32.  
  33. [stepper_y]
  34. step_pin: PB10
  35. dir_pin: !PB2
  36. enable_pin: !PB11
  37. microsteps: 16
  38. rotation_distance: 40
  39. endstop_pin: ^PC1
  40. position_endstop: 0
  41. position_max: 235
  42. homing_speed: 50
  43.  
  44. [tmc2209 stepper_y]
  45. uart_pin: PC11
  46. tx_pin: PC10
  47. uart_address: 2
  48. run_current: 0.580
  49. stealthchop_threshold: 999999
  50.  
  51. [stepper_z]
  52. step_pin: PB0
  53. dir_pin: PC5
  54. enable_pin: !PB1
  55. microsteps: 16
  56. rotation_distance: 8
  57. endstop_pin: ^PC2
  58. position_endstop: 0.0
  59. position_max: 250
  60.  
  61. [tmc2209 stepper_z]
  62. uart_pin: PC11
  63. tx_pin: PC10
  64. uart_address: 1
  65. run_current: 0.580
  66. stealthchop_threshold: 999999
  67.  
  68. [extruder]
  69. step_pin: PB3
  70. dir_pin: !PB4
  71. enable_pin: !PD2
  72. microsteps: 16
  73. rotation_distance: 33.500
  74. nozzle_diameter: 0.400
  75. filament_diameter: 1.750
  76. heater_pin: PC8
  77. sensor_type: EPCOS 100K B57560G104F
  78. sensor_pin: PA0
  79. control: pid
  80. pid_Kp: 21.527
  81. pid_Ki: 1.063
  82. pid_Kd: 108.982
  83. min_temp: 0
  84. max_temp: 250
  85.  
  86. [tmc2209 extruder]
  87. uart_pin: PC11
  88. tx_pin: PC10
  89. uart_address: 3
  90. run_current: 0.650
  91. stealthchop_threshold: 999999
  92.  
  93. [heater_bed]
  94. heater_pin: PC9
  95. sensor_type: EPCOS 100K B57560G104F
  96. sensor_pin: PC3
  97. control: pid
  98. pid_Kp: 54.027
  99. pid_Ki: 0.770
  100. pid_Kd: 948.182
  101. min_temp: 0
  102. max_temp: 130
  103.  
  104. [heater_fan heatbreak_cooling_fan]
  105. pin: PC7
  106.  
  107. [fan]
  108. pin: PC6
  109.  
  110. [mcu]
  111. serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_38FFD9055254323315762543-if00
  112.  
  113. [printer]
  114. kinematics: cartesian
  115. max_velocity: 300
  116. max_accel: 3000
  117. max_z_velocity: 5
  118. max_z_accel: 100
  119.  
  120. [static_digital_output usb_pullup_enable]
  121. pins: !PA14
  122.  
  123. [board_pins]
  124. aliases:
  125. # EXP1 header
  126. EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
  127. EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PB15, EXP1_10=<5V>
  128.  
  129. [display]
  130. lcd_type: st7920
  131. cs_pin: EXP1_7
  132. sclk_pin: EXP1_6
  133. sid_pin: EXP1_8
  134. encoder_pins: ^EXP1_5, ^EXP1_3
  135. click_pin: ^!EXP1_2
  136.  
  137. [output_pin beeper]
  138. pin: EXP1_1
  139.  
  140. [filament_switch_sensor switch_sensor]
  141. switch_pin: ^PC15
  142. pause_on_runout: False
  143. runout_gcode:
  144. pause_resume
  145. M117 Filament switch runout
  146. insert_gcode:
  147. M117 Filament switch inserted
  148.  
  149. [filament_motion_sensor encoder_sensor]
  150. switch_pin: ^PC12
  151. detection_length: 3.5
  152. extruder: extruder
  153. pause_on_runout: False
  154. runout_gcode:
  155. pause_resume
  156. M117 Filament encoder runout
  157. insert_gcode:
  158. M117 Filament encoder inserted
  159.  
Add Comment
Please, Sign In to add comment