Advertisement
Guest User

Untitled

a guest
Jan 28th, 2023
1,446
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.78 KB | Fixit | 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.  
  12. [include mainsail.cfg]
  13.  
  14. [bltouch]
  15. sensor_pin: ^PC14
  16. control_pin: PA1
  17. x_offset: -39
  18. y_offset: -2
  19. #z_offset: 0
  20. speed: 10.0
  21. pin_move_time: 0.675
  22. pin_up_touch_mode_reports_triggered: True
  23. pin_up_reports_not_triggered: True
  24. lift_speed: 20
  25. samples: 3
  26. samples_result: average
  27. samples_tolerance: 0.012
  28. samples_tolerance_retries: 8
  29. stow_on_each_sample: False
  30. sample_retract_dist: 0.8
  31.  
  32. [safe_z_home]
  33. home_xy_position: 112.5,112.5 # Change coordinates to the center of your print bed
  34. speed: 50
  35. z_hop: 10 # Move up 10mm
  36. z_hop_speed: 5
  37.  
  38. [bed_mesh]
  39. speed: 120
  40. horizontal_move_z: 5
  41. mesh_min: 10, 10
  42. mesh_max: 186, 213
  43. probe_count: 7,7
  44. algorithm: bicubic
  45. fade_start: 1
  46. fade_end: 10
  47. fade_target: 0
  48.  
  49. [filament_switch_sensor RunoutSensor]
  50. pause_on_runout: False
  51. runout_gcode: M600
  52. #insert_gcode: RESUME
  53. switch_pin: PC15
  54.  
  55. [screws_tilt_adjust]
  56. screw1: 62,27
  57. screw1_name: front left screw
  58. screw2: 225,27
  59. screw2_name: front right screw
  60. screw3: 225,197
  61. screw3_name: rear right screw
  62. screw4: 62,197
  63. screw4_name: rear left screw
  64. horizontal_move_z: 5.
  65. speed: 200.
  66. screw_thread: CW-M3
  67.  
  68. [stepper_x]
  69. step_pin: PB13
  70. dir_pin: PB12
  71. enable_pin: !PB14
  72. microsteps: 16
  73. rotation_distance: 40
  74. endstop_pin: ^PC0
  75. position_endstop: 225
  76. position_max: 225
  77. homing_speed: 100
  78.  
  79. [tmc2209 stepper_x]
  80. uart_pin: PC11
  81. tx_pin: PC10
  82. uart_address: 0
  83. run_current: 1.13
  84. hold_current: 0.500
  85. stealthchop_threshold: 0
  86.  
  87. [stepper_y]
  88. step_pin: !PB10
  89. dir_pin: PB2
  90. enable_pin: !PB11
  91. microsteps: 16
  92. rotation_distance: 40
  93. endstop_pin: ^PC1
  94. position_endstop: 225
  95. position_max: 225
  96. homing_speed: 100
  97.  
  98. [tmc2209 stepper_y]
  99. uart_pin: PC11
  100. tx_pin: PC10
  101. uart_address: 2
  102. run_current: 1.13
  103. hold_current: 0.500
  104. stealthchop_threshold: 0
  105.  
  106. [stepper_z]
  107. step_pin: PB0
  108. dir_pin: !PC5
  109. enable_pin: !PB1
  110. microsteps: 16
  111. rotation_distance: 4
  112. # endstop_pin: ^PC2
  113. # position_endstop: 0.0
  114. endstop_pin: probe:z_virtual_endstop
  115. position_max: 300
  116. position_min: -50
  117.  
  118. [tmc2209 stepper_z]
  119. uart_pin: PC11
  120. tx_pin: PC10
  121. uart_address: 1
  122. run_current: 0.580
  123. hold_current: 0.500
  124. stealthchop_threshold: 999999
  125.  
  126. [extruder]
  127. max_extrude_only_distance: 1000.0
  128. step_pin: PB3
  129. dir_pin: !PB4
  130. enable_pin: !PD1
  131. microsteps: 16
  132. rotation_distance: 4.55
  133. nozzle_diameter: 0.400
  134. filament_diameter: 1.750
  135. heater_pin: PC8
  136. sensor_type: ATC Semitec 104GT-2
  137. sensor_pin: PA0
  138. #control: pid
  139. #pid_Kp: 21.527
  140. #pid_Ki: 1.063
  141. #pid_Kd: 108.982
  142. min_temp: 0
  143. max_temp: 280
  144. pressure_advance: 0.06
  145.  
  146. [tmc2209 extruder]
  147. uart_pin: PC11
  148. tx_pin: PC10
  149. uart_address: 3
  150. run_current: 0.700
  151. hold_current: 0.500
  152. stealthchop_threshold: 999999
  153.  
  154. [heater_bed]
  155. heater_pin: PC9
  156. sensor_type: EPCOS 100K B57560G104F
  157. sensor_pin: PC4
  158. #control: pid
  159. #pid_Kp: 54.027
  160. #pid_Ki: 0.770
  161. #pid_Kd: 948.182
  162. min_temp: 0
  163. max_temp: 130
  164.  
  165. [heater_fan controller_fan]
  166. pin: PB15
  167. heater: heater_bed
  168. heater_temp: 45.0
  169.  
  170. [heater_fan nozzle_cooling_fan]
  171. pin: PC7
  172.  
  173. [fan]
  174. pin: PC6
  175.  
  176. [mcu]
  177. serial: /dev/serial/by-id/usb-Klipper_stm32g0b1xx_260050000250415339373620-if00
  178. # serial: /dev/ttyAMA0
  179. # restart_method: command
  180.  
  181. [printer]
  182. kinematics: corexy
  183. max_velocity: 300
  184. max_accel: 10000
  185. max_accel_to_decel: 10000
  186. square_corner_velocity: 5
  187. max_z_velocity: 20
  188. max_z_accel: 100
  189.  
  190. [board_pins]
  191. aliases:
  192. # EXP1 header
  193. EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
  194. EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PD6, EXP1_10=<5V>
  195.  
  196. [mcu rpi]
  197. serial: /tmp/klipper_host_mcu
  198.  
  199. [adxl345]
  200. cs_pin: rpi:None
  201.  
  202. [resonance_tester]
  203. accel_chip: adxl345
  204. probe_points:
  205. 100, 100, 20 # an example
  206.  
  207.  
  208. ######################################################################
  209. # BigTreeTech TFT TouchScreen emulated 12864 mode
  210. ######################################################################
  211.  
  212. [display]
  213. lcd_type: emulated_st7920
  214. spi_software_miso_pin: PD8 # status led, Virtual MISO
  215. spi_software_mosi_pin: PD6
  216. spi_software_sclk_pin: PB9
  217. en_pin: PB8
  218. encoder_pins: ^PA10, ^PA9
  219. click_pin: ^!PA15
  220.  
  221. [output_pin beeper]
  222. pin: PB5
  223.  
  224. #*# <---------------------- SAVE_CONFIG ---------------------->
  225. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  226. #*#
  227. #*# [bed_mesh default]
  228. #*# version = 1
  229. #*# points =
  230. #*# 0.059583, 0.015000, -0.005000, -0.020000, -0.027917, -0.021250, -0.000417
  231. #*# 0.048750, -0.001250, -0.004167, -0.025417, -0.009167, -0.023750, 0.013333
  232. #*# 0.070833, 0.029583, 0.008333, 0.001667, 0.005417, 0.010417, 0.039167
  233. #*# 0.055417, 0.028750, 0.020417, 0.005417, 0.005833, -0.012083, 0.035417
  234. #*# 0.055000, 0.016250, 0.024167, -0.001250, -0.022083, -0.023333, -0.010000
  235. #*# 0.029167, 0.006667, 0.007917, -0.008750, -0.020000, -0.025833, -0.005833
  236. #*# 0.060833, 0.011250, 0.018333, 0.006667, -0.003333, -0.013750, 0.006667
  237. #*# x_count = 7
  238. #*# y_count = 7
  239. #*# mesh_x_pps = 2
  240. #*# mesh_y_pps = 2
  241. #*# algo = bicubic
  242. #*# tension = 0.2
  243. #*# min_x = 10.0
  244. #*# max_x = 185.98
  245. #*# min_y = 10.0
  246. #*# max_y = 212.98
  247. #*#
  248. #*# [bltouch]
  249. #*# z_offset = 1.125
  250. #*#
  251. #*# [heater_bed]
  252. #*# control = pid
  253. #*# pid_kp = 70.981
  254. #*# pid_ki = 1.878
  255. #*# pid_kd = 670.775
  256. #*#
  257. #*# [extruder]
  258. #*# control = pid
  259. #*# pid_kp = 24.125
  260. #*# pid_ki = 1.476
  261. #*# pid_kd = 98.612
  262. #*#
  263. #*# [input_shaper]
  264. #*# shaper_type_x = ei
  265. #*# shaper_freq_x = 68.8
  266. #*# shaper_type_y = 2hump_ei
  267. #*# shaper_freq_y = 54.0
  268.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement