Advertisement
Guest User

Klipper Config for Ender 5+ on SKR 1.4 Turbo

a guest
Mar 21st, 2021
1,414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.75 KB | None | 0 0
  1. # SKR V1.4 Turbo XYZ>TMC 2208, E>LV8729
  2. # BLTouch
  3. # BMG Extruder
  4. # LPC1769.
  5. # https://www.reddit.com/r/klippers/comments/etpvtc/klipper_profile_for_skr_v14_turbo/
  6. # https://www.reddit.com/r/klippers/comments/m27xhm/klipper_config_for_ender_5_plus_with_skr_14_turbo/
  7.  
  8. ###################################
  9. # Extruder Settings
  10. # https://github.com/KevinOConnor/klipper/blob/master/docs/Rotation_Distance.md
  11. #
  12. # rotation_distance = <full_steps_per_rotation> * <microsteps> / <steps_per_mm>
  13. # r_d = 200 * 16 / 138 = 23.1884
  14. # Round the new rotation_distance to three decimal places.
  15. ###################################
  16. [extruder]
  17. step_pin: P2.13
  18. dir_pin: !P0.11
  19. enable_pin: !P2.12
  20. microsteps: 16
  21. rotation_distance: 46.25
  22. nozzle_diameter: 0.400
  23. filament_diameter: 1.750
  24. max_extrude_only_distance: 750.0
  25. max_extrude_only_velocity: 75.0
  26. max_extrude_only_accel: 1000.0
  27. #pressure_advance: 0.202
  28. heater_pin: P2.7
  29. sensor_type: EPCOS 100K B57560G104F
  30. sensor_pin: P0.24
  31. control: pid
  32. pid_kp = 26.057
  33. pid_ki = 1.316
  34. pid_kd = 128.982
  35. min_extrude_temp: 15
  36. min_temp: 5
  37. max_temp: 265
  38.  
  39. ########################################
  40. # BL-Touch, Mesh and Homing Configuration
  41. # Reference: https://www.klipper3d.org/BLTouch.html
  42. ########################################
  43. [bltouch]
  44. sensor_pin: P0.10 #Probe
  45. control_pin: P2.0 #SERVOS
  46. stow_on_each_sample: False
  47. probe_with_touch_mode: True
  48. set_output_mode: 5V
  49. x_offset: -47.5
  50. y_offset: -10
  51. z_offset: 1.7
  52. speed: 2.0
  53. samples: 2
  54. sample_retract_dist: 4.0
  55.  
  56. [bed_mesh]
  57. speed: 100
  58. horizontal_move_z: 5
  59. mesh_min: 5, 15
  60. #mesh_max: 314,347
  61. mesh_max: 310,337
  62. probe_count: 5,5
  63. fade_start: 1
  64. fade_end: 10
  65.  
  66. [safe_z_home]
  67. #home_xy_position: 225,200 # Change coordinates to the center of your print bed
  68. home_xy_position: 180,180
  69. speed: 80
  70. z_hop: 10 # Move up 10mm
  71. z_hop_speed: 5
  72.  
  73. ########################################
  74. # Stepper Axis & TMC2208 Configuration
  75. ########################################
  76. [tmc2208 stepper_x]
  77. uart_pin: P1.10
  78. run_current: 0.800
  79. hold_current: 0.500
  80. stealthchop_threshold: 250
  81.  
  82. [stepper_x]
  83. step_pin: P2.2
  84. dir_pin: !P2.6
  85. enable_pin: !P2.1
  86. microsteps: 16
  87. rotation_distance: 40
  88. endstop_pin: P1.29
  89. position_endstop: 360
  90. position_min: 0
  91. position_max: 360
  92. homing_speed: 50
  93. homing_retract_dist: 5
  94.  
  95. [tmc2208 stepper_y]
  96. uart_pin: P1.9
  97. run_current: 0.800
  98. hold_current: 0.500
  99. stealthchop_threshold: 250
  100.  
  101. [stepper_y]
  102. step_pin: P0.19
  103. dir_pin: !P0.20
  104. enable_pin:! P2.8
  105. microsteps: 16
  106. rotation_distance: 40
  107. endstop_pin: P1.28
  108. position_endstop: 360
  109. position_min: 0
  110. position_max: 360
  111. homing_speed: 50
  112. homing_retract_dist: 5
  113.  
  114. [tmc2208 stepper_z]
  115. uart_pin: P1.8
  116. run_current: 0.750
  117. hold_current: 0.500
  118. stealthchop_threshold: 30
  119.  
  120. [stepper_z]
  121. step_pin: P0.22
  122. dir_pin: !P2.11
  123. enable_pin: !P0.21
  124. endstop_pin: probe:z_virtual_endstop
  125. rotation_distance: 4
  126. position_min: -5.75
  127. position_max: 410.75
  128. homing_speed: 10.0
  129. microsteps: 16
  130.  
  131. ###################################
  132. # Heated Bed Settings
  133. ###################################
  134. [heater_bed]
  135. heater_pin: P2.5 #ok
  136. sensor_type: EPCOS 100K B57560G104F
  137. sensor_pin: P0.25 #P0.23
  138. control: pid
  139. control = pid
  140. pid_kp = 69.343
  141. pid_ki = 1.016
  142. pid_kd = 1183.162
  143. min_temp: 5
  144. max_temp: 140
  145.  
  146. [fan]
  147. pin: P2.3 #ok to change later
  148.  
  149. [t5uid1]
  150. firmware: dgus_reloaded
  151. machine_name: Ender 5 Plus
  152. #volume: 60
  153. #brightness: 50
  154. z_min: 0
  155. z_max: 410
  156.  
  157. [mcu]
  158. serial: /dev/serial/by-id/usb-Klipper_lpc1769_0CE00007A8943BAF03A7685CC22000F5-if00
  159.  
  160.  
  161. [printer]
  162. kinematics: cartesian
  163. max_velocity: 300
  164. max_accel: 2000
  165. max_accel_to_decel:2000
  166. max_z_velocity: 6
  167. max_z_accel: 100
  168.  
  169. #[virtual_sdcard]
  170. #path: /home/ender/.octoprint/uploads
  171.  
  172. [display_status]
  173.  
  174. [pause_resume]
  175. #recover_velocity: 50.
  176. # When capture/restore is enabled, the speed at which to return to
  177. # the captured position (in mm/s). Default is 50.0 mm/s.
  178.  
  179. [gcode_arcs]
  180. resolution: 0.05
  181. # An arc will be split into segments. Each segment's length will
  182. # equal the resolution in mm set above. Lower values will produce a
  183. # finer arc, but also more work for your machine. Arcs smaller than
  184. # the configured value will become straight lines. The default is
  185. # 1mm.
  186.  
  187. ########################################
  188. # GCODE MACRO: G29 Bed Leveling
  189. ########################################
  190. [gcode_macro G29]
  191. gcode:
  192. M117 Starting bed leveling now.
  193. G28
  194. M117 Deleting Old Profile, p1
  195. BED_MESH_PROFILE REMOVE=p1
  196. BED_MESH_CALIBRATE
  197. M117 Saving new profile, p1
  198. BED_MESH_PROFILE SAVE=p1
  199. M117 Saving config now. Will restart klipper.
  200. SAVE_CONFIG
  201.  
  202. #*# <---------------------- SAVE_CONFIG ---------------------->
  203. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  204. #*#
  205. #*# [bed_mesh default]
  206. #*# version = 1
  207. #*# points =
  208. #*# -0.238125, -0.174375, -0.140625, -0.161250, -0.226875
  209. #*# -0.217500, -0.105000, -0.041250, -0.071875, -0.166250
  210. #*# -0.173750, -0.058125, 0.017500, -0.035000, -0.386250
  211. #*# -0.150625, -0.047500, 0.005625, -0.060625, -0.158750
  212. #*# -0.169375, -0.115625, -0.112500, -0.165000, -0.214375
  213. #*# tension = 0.2
  214. #*# min_x = 5.0
  215. #*# algo = lagrange
  216. #*# y_count = 5
  217. #*# mesh_y_pps = 2
  218. #*# min_y = 15.0
  219. #*# x_count = 5
  220. #*# max_y = 337.0
  221. #*# mesh_x_pps = 2
  222. #*# max_x = 310.0
  223. #*#
  224. #*# [bed_mesh p1]
  225. #*# version = 1
  226. #*# points =
  227. #*# -0.238125, -0.174375, -0.140625, -0.161250, -0.226875
  228. #*# -0.217500, -0.105000, -0.041250, -0.071875, -0.166250
  229. #*# -0.173750, -0.058125, 0.017500, -0.035000, -0.386250
  230. #*# -0.150625, -0.047500, 0.005625, -0.060625, -0.158750
  231. #*# -0.169375, -0.115625, -0.112500, -0.165000, -0.214375
  232. #*# tension = 0.2
  233. #*# min_x = 5.0
  234. #*# algo = lagrange
  235. #*# y_count = 5
  236. #*# mesh_y_pps = 2
  237. #*# min_y = 15.0
  238. #*# x_count = 5
  239. #*# max_y = 337.0
  240. #*# mesh_x_pps = 2
  241. #*# max_x = 310.0
  242.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement