Reviewingspy

Printer.cfg

Sep 23rd, 2025
12
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.37 KB | Software | 0 0
  1. # This file contains common pin mappings for the BIGTREETECH SKR mini
  2. # E3 v3.0. To use this config, the firmware should be compiled for the
  3. # STM32G0B1 with a "8KiB bootloader" and USB communication/USART.
  4.  
  5. # The "make flash" command does not work on the SKR mini E3. Instead,
  6. # after running "make", copy the generated "out/klipper.bin" file to a
  7. # file named "firmware.bin" on an SD card and then restart the SKR
  8. # mini E3 with that SD card.
  9.  
  10. # See docs/Config_Reference.md for a description of parameters.
  11. [include GCode.cfg]
  12. [include screws_tilt_adjust.cfg]
  13. [include test_speed.cfg]
  14. [include Runout_Sensor.cfg]
  15. [virtual_sdcard]
  16. path: /home/mott31/printer_data/gcodes
  17.  
  18.  
  19. [bltouch]
  20. sensor_pin: ^PC14
  21. control_pin: PA1
  22. x_offset: -45
  23. y_offset: -10
  24. z_offset: 0.77
  25.  
  26. [safe_z_home]
  27. home_xy_position: 164,115 # Change coordinates to the center of your print bed
  28. speed: 50
  29. z_hop: 10 # Move up 10mm
  30. z_hop_speed: 5
  31.  
  32.  
  33. [bed_mesh]
  34. speed: 120
  35. horizontal_move_z: 5
  36. mesh_min: 20, 20
  37. mesh_max: 210, 210 # --- FIX: Increased to use more of the bed
  38. probe_count: 5,5
  39.  
  40. [stepper_x]
  41. step_pin: PB13
  42. dir_pin: !PB12
  43. enable_pin: !PB14
  44. microsteps: 16
  45. rotation_distance: 40
  46. endstop_pin: ^PC0
  47. position_endstop: 0
  48. position_min: -0
  49. position_max: 247
  50. homing_speed: 50
  51.  
  52. [tmc2209 stepper_x]
  53. uart_pin: PC11
  54. tx_pin: PC10
  55. uart_address: 0
  56. run_current: 0.70
  57. hold_current: 0.500
  58. stealthchop_threshold: 0
  59.  
  60. [stepper_y]
  61. step_pin: PB10
  62. dir_pin: !PB2
  63. enable_pin: !PB11
  64. microsteps: 16
  65. rotation_distance: 40
  66. endstop_pin: ^PC1
  67. position_endstop: 0
  68. position_min:-0
  69. position_max: 230
  70. homing_speed: 50
  71.  
  72. [tmc2209 stepper_y]
  73. uart_pin: PC11
  74. tx_pin: PC10
  75. uart_address: 2
  76. run_current: 0.580
  77. hold_current: 0.500
  78. stealthchop_threshold: 0
  79.  
  80. [stepper_z]
  81. step_pin: PB0
  82. dir_pin: PC5
  83. enable_pin: !PB1
  84. microsteps: 16
  85. rotation_distance: 8
  86. # endstop_pin: ^PC2
  87. # position_endstop: 0.0
  88. endstop_pin: probe:z_virtual_endstop
  89. position_max: 250
  90. position_min: -2
  91.  
  92. [tmc2209 stepper_z]
  93. uart_pin: PC11
  94. tx_pin: PC10
  95. uart_address: 1
  96. run_current: 0.580
  97. hold_current: 0.500
  98. stealthchop_threshold: 999999
  99.  
  100. [extruder]
  101. step_pin: PB3
  102. dir_pin: !PB4
  103. enable_pin: !PD1
  104. microsteps: 16
  105. rotation_distance: 33.500
  106. nozzle_diameter: 0.400
  107. filament_diameter: 1.750
  108. heater_pin: PC8
  109. sensor_type: EPCOS 100K B57560G104F
  110. sensor_pin: PA0
  111. control: pid
  112. pid_Kp: 21.527
  113. pid_Ki: 1.063
  114. pid_Kd: 108.982
  115. min_temp: 0
  116. max_temp: 250
  117.  
  118. [tmc2209 extruder]
  119. uart_pin: PC11
  120. tx_pin: PC10
  121. uart_address: 3
  122. run_current: 0.650
  123. hold_current: 0.500
  124. stealthchop_threshold: 999999
  125.  
  126. [heater_bed]
  127. heater_pin: PC9
  128. sensor_type: ATC Semitec 104GT-2
  129. sensor_pin: PC4
  130. control: pid
  131. pid_Kp: 54.027
  132. pid_Ki: 0.770
  133. pid_Kd: 948.182
  134. min_temp: 0
  135. max_temp: 130
  136.  
  137. [heater_fan controller_fan]
  138. pin: PB15
  139. heater: heater_bed
  140. heater_temp: 45.0
  141.  
  142. [heater_fan nozzle_cooling_fan]
  143. pin: PC7
  144.  
  145. [fan]
  146. pin: PC6
  147.  
  148. [mcu]
  149. serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_5500240004504E5238363120-if00
  150. # serial: /dev/ttyAMA0
  151. # restart_method: command
  152.  
  153. [printer]
  154. kinematics: cartesian
  155. max_velocity: 900
  156. max_accel: 10000
  157. max_z_velocity: 5
  158. max_z_accel: 10000
  159.  
  160. [board_pins]
  161. aliases:
  162. # EXP1 header
  163. EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
  164. EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>
  165.  
  166.  
  167. ######################################################################
  168. # BigTreeTech TFT TouchScreen emulated 12864 mode
  169. ######################################################################
  170.  
  171. [display]
  172. lcd_type: emulated_st7920
  173. spi_software_miso_pin: PD8 # status led, Virtual MISO
  174. spi_software_mosi_pin: PD6
  175. spi_software_sclk_pin: PB9
  176. en_pin: PB8
  177. encoder_pins: ^PA10, ^PA9
  178. click_pin: ^!PA15
  179.  
  180. [output_pin beeper]
  181. pin: PB5
  182.  
  183. #*# <---------------------- SAVE_CONFIG ---------------------->
  184. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  185. #*#
  186. #*# [bed_mesh default]
  187. #*# version = 1
  188. #*# points =
  189. #*# 0.947500, 0.360000, -0.117500, -0.612500, -1.022500
  190. #*# 0.842500, 0.265000, -0.227500, -0.707500, -1.115000
  191. #*# 0.782500, 0.200000, -0.262500, -0.757500, -1.150000
  192. #*# 0.785000, 0.240000, -0.252500, -0.717500, -1.120000
  193. #*# 1.185000, 0.392500, -0.137500, -0.572500, -0.915000
  194. #*# x_count = 5
  195. #*# y_count = 5
  196. #*# mesh_x_pps = 2
  197. #*# mesh_y_pps = 2
  198. #*# algo = lagrange
  199. #*# tension = 0.2
  200. #*# min_x = 10.0
  201. #*# max_x = 190.0
  202. #*# min_y = 10.0
  203. #*# max_y = 220.0
  204.  
  205.  
  206.  
  207.  
Add Comment
Please, Sign In to add comment