Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.38 KB | None | 0 0
  1.  
  2. # This file contains common pin mappings for the BIGTREETECH SKR mini
  3. # E3 v1.2. To use this config, the firmware should be compiled for the
  4. # STM32F103 with a "28KiB bootloader". Also, select "Enable extra
  5. # low-level configuration options" and configure "GPIO pins to set at
  6. # micro-controller startup" to "!PC13".
  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 the example.cfg file for a description of available parameters.
  14.  
  15. [stepper_x]
  16. step_pin: PB13
  17. dir_pin: !PB12
  18. enable_pin: !PB14
  19. step_distance: .0125
  20. endstop_pin: ^PC0
  21. position_endstop: 0
  22. position_max: 235
  23. homing_speed: 50
  24.  
  25. [tmc2209 stepper_x]
  26. uart_pin: PB15
  27. microsteps: 16
  28. run_current: 0.580
  29. hold_current: 0.500
  30. stealthchop_threshold: 250
  31.  
  32. [stepper_y]
  33. step_pin: PB10
  34. dir_pin: !PB2
  35. enable_pin: !PB11
  36. step_distance: .0125
  37. endstop_pin: ^PC1
  38. position_endstop: 0
  39. position_max: 235
  40. homing_speed: 50
  41.  
  42. [tmc2209 stepper_y]
  43. uart_pin: PC6
  44. microsteps: 16
  45. run_current: 0.580
  46. hold_current: 0.500
  47. stealthchop_threshold: 250
  48.  
  49. [stepper_z]
  50. step_pin: PB0
  51. dir_pin: PC5
  52. enable_pin: !PB1
  53. step_distance: .0025
  54. endstop_pin: probe:z_virtual_endstop
  55. #position_endstop: 0.0
  56. position_max: 250
  57. position_min: -1.5
  58.  
  59. [tmc2209 stepper_z]
  60. uart_pin: PC10
  61. microsteps: 16
  62. run_current: 0.580
  63. hold_current: 0.500
  64. stealthchop_threshold: 5
  65.  
  66. [extruder]
  67. step_pin: PB3
  68. dir_pin: !PB4
  69. enable_pin: !PD2
  70. step_distance: 0.0101030927835
  71. nozzle_diameter: 0.400
  72. filament_diameter: 1.750
  73. pressure_advance: 0.1411
  74. pressure_advance_smooth_time: 0.040
  75. heater_pin: PC8
  76. sensor_type: EPCOS 100K B57560G104F
  77. sensor_pin: PA0
  78. #control: pid
  79. #pid_Kp: 29.16
  80. #pid_Ki: 2.93
  81. #pid_Kd: 72.47
  82. min_temp: 0
  83. max_temp: 250
  84.  
  85. [tmc2209 extruder]
  86. uart_pin: PC11
  87. microsteps: 16
  88. run_current: 0.650
  89. hold_current: 0.500
  90. stealthchop_threshold: 5
  91.  
  92. [heater_bed]
  93. heater_pin: PC9
  94. sensor_type: ATC Semitec 104GT-2
  95. sensor_pin: PC3
  96. #control: pid
  97. #pid_Kp: 54.027
  98. #pid_Ki: 0.770
  99. #pid_Kd: 948.182
  100. min_temp: 0
  101. max_temp: 130
  102.  
  103. [fan]
  104. pin: PA8
  105.  
  106. [mcu]
  107. serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00
  108.  
  109. [printer]
  110. kinematics: cartesian
  111. max_velocity: 300
  112. max_accel: 3000
  113. max_z_velocity: 5
  114. max_z_accel: 100
  115.  
  116. [static_digital_output usb_pullup_enable]
  117. pins: !PC13
  118.  
  119. [board_pins]
  120. aliases:
  121. # EXP1 header
  122. EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>,
  123. EXP1_2=PB6, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PB7, EXP1_10=<5V>
  124.  
  125. # See the sample-lcd.cfg file for definitions of common LCD displays.
  126.  
  127. [display]
  128. lcd_type: st7920
  129. cs_pin: EXP1_7
  130. sclk_pin: EXP1_6
  131. sid_pin: EXP1_8
  132. encoder_pins: ^EXP1_5, ^EXP1_3
  133. click_pin: ^!EXP1_2
  134.  
  135. [output_pin beeper]
  136. pin: EXP1_1
  137.  
  138. [bltouch]
  139. control_pin:PA1
  140. sensor_pin: PC2
  141. x_offset: -52.1
  142. y_offset: -13.8
  143. #z_offset: 0
  144. pin_move_time: 0.4
  145.  
  146. [bed_mesh]
  147. speed: 80
  148. horizontal_move_z: 8
  149. min_point: 90, 30
  150. max_point: 235,235
  151. probe_count: 3,3
  152. fade_start: 1.0
  153. mesh_pps: 2,2
  154. relative_reference_index: 4
  155.  
  156. [include meshBed.cfg]
  157.  
  158. [gcode_macro G29]
  159. gcode:
  160. BED_MESH_CLEAR
  161. G28
  162. G1 Z7.5 F600
  163. BED_MESH_CALIBRATE
  164. u/BEDLEVELVISUALIZER
  165. BED_MESH_OUTPUT
  166.  
  167. [gcode_macro START_PRINT]
  168. gcode:
  169. G90
  170. M204 P500.00 R1000.00 T500.00
  171. M220 S100
  172. M221 S100
  173. G29
  174. G92 E0
  175. G1 Z10 F3000
  176. G1 X10.1 Y20 Z0.28 F5000.0
  177. G1 X10.1 Y200.0 Z0.28 F1500.0 E15
  178. G1 X10.4 Y200.0 Z0.28 F5000.0
  179. G1 X10.4 Y20 Z0.28 F1500.0 E30
  180. G92 E0
  181. G1 Z2.0 F3000
  182.  
  183.  
  184. [safe_z_home]
  185. home_xy_position: 155,120
  186. speed: 80.0
  187. z_hop: 10.0
  188. z_hop_speed: 10.0
  189.  
  190. #*# <---------------------- SAVE_CONFIG ---------------------->
  191. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  192. #*#
  193. #*# [bed_mesh default]
  194. #*# points =
  195. #*# 0.052500, 0.067500, 0.110000
  196. #*# -0.002500, 0.000000, 0.005000
  197. #*# 0.042500, 0.057500, 0.062500
  198. #*# x_count = 3
  199. #*# y_count = 3
  200. #*# min_x = 90.0
  201. #*# max_x = 235.0
  202. #*# min_y = 30.0
  203. #*# max_y = 235.0
  204. #*# x_offset = -52.1
  205. #*# y_offset = -13.8
  206. #*# mesh_x_pps = 2
  207. #*# mesh_y_pps = 2
  208. #*# algo = lagrange
  209. #*# tension = 0.2
  210. #*#
  211. #*# [extruder]
  212. #*# control = pid
  213. #*# pid_kp = 27.286
  214. #*# pid_ki = 1.684
  215. #*# pid_kd = 110.508
  216. #*#
  217. #*# [heater_bed]
  218. #*# control = pid
  219. #*# pid_kp = 71.759
  220. #*# pid_ki = 1.029
  221. #*# pid_kd = 1251.290
  222. #*#
  223. #*# [bltouch]
  224. #*# z_offset = 2.130
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement