robathome

Ender-5 klipper config

May 9th, 2021 (edited)
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.82 KB | None | 0 0
  1. [mcu]
  2. serial: /dev/serial/by-id/usb-Klipper_lpc1769_1FB0000EA39869AFE65B405EC52000F5-if00
  3. baud: 250000
  4. restart_method: command
  5.  
  6. [printer]
  7. kinematics: cartesian
  8. max_velocity: 250
  9. max_z_velocity: 20
  10. max_accel: 5000
  11. max_z_accel: 1000
  12. max_accel_to_decel: 1250
  13. square_corner_velocity: 5.0
  14.  
  15. [stepper_x]
  16. step_pin: P2.2
  17. dir_pin: !P2.6
  18. enable_pin: !P2.1
  19. microsteps: 4
  20. rotation_distance: 40
  21. full_steps_per_rotation: 200
  22. endstop_pin: ^!P1.26
  23. position_min: -3
  24. position_endstop: -3
  25. position_max: 220
  26. homing_speed: 75
  27. homing_retract_dist: 10
  28. homing_retract_speed: 100
  29. second_homing_speed: 5
  30.  
  31. [tmc2208 stepper_x]
  32. uart_pin: P1.10
  33. interpolate: True
  34. run_current: 0.800
  35. hold_current: 0.250
  36. stealthchop_threshold: 300
  37.  
  38. [stepper_y]
  39. step_pin: P0.19
  40. dir_pin: !P0.20
  41. enable_pin: !P2.8
  42. microsteps: 4
  43. rotation_distance: 40
  44. full_steps_per_rotation: 200
  45. endstop_pin: ^!P1.28
  46. position_endstop: 0
  47. position_max: 220
  48. homing_speed: 75
  49. homing_retract_dist: 10
  50. homing_retract_speed: 100
  51. second_homing_speed: 5
  52.  
  53. [tmc2208 stepper_y]
  54. uart_pin: P1.9
  55. interpolate: True
  56. run_current: 0.800
  57. hold_current: 0.330
  58. stealthchop_threshold: 300
  59.  
  60. [stepper_z]
  61. step_pin: P0.22
  62. dir_pin: !P2.11
  63. enable_pin: !P0.21
  64. microsteps: 16
  65. rotation_distance: 4
  66. full_steps_per_rotation: 200
  67. endstop_pin: probe:z_virtual_endstop
  68. position_max: 250
  69. homing_speed: 10
  70. homing_retract_dist: 5
  71. homing_retract_speed: 15
  72. second_homing_speed: 2.5
  73.  
  74. [tmc2208 stepper_z]
  75. uart_pin: P1.8
  76. interpolate: False
  77. run_current: 0.850
  78. hold_current: 0.350
  79. stealthchop_threshold: 35
  80.  
  81. [extruder]
  82. step_pin: P2.13
  83. dir_pin: P0.11
  84. enable_pin: !P2.12
  85. microsteps: 16
  86. rotation_distance: 22.749
  87. full_steps_per_rotation: 200
  88. gear_ratio: 3:1
  89. instantaneous_corner_velocity: 1.0
  90. max_extrude_only_distance: 125
  91. pressure_advance: 0.05
  92. nozzle_diameter: 0.4
  93. filament_diameter: 1.750
  94. heater_pin: P2.4
  95. sensor_type: NTC 100K beta 3950
  96. sensor_pin: P0.24
  97. smooth_time: 2
  98. control: pid
  99. pid_Kp: 21.527
  100. pid_Ki: 1.068
  101. pid_Kd: 108.982
  102. min_temp: 0
  103. min_extrude_temp: 170
  104. max_temp: 260
  105.  
  106. [tmc2208 extruder]
  107. uart_pin: P1.4
  108. interpolate: False
  109. run_current: 0.7
  110. hold_current: 0.250
  111. stealthchop_threshold: 0
  112.  
  113. [heater_bed]
  114. heater_pin: P2.5
  115. sensor_type: NTC 100K beta 3950
  116. sensor_pin: P0.23
  117. control: pid
  118. pid_Kp: 72.175
  119. pid_Ki: 1.588
  120. pid_Kd: 820.087
  121. min_temp: 0
  122. max_temp: 130
  123.  
  124. [fan]
  125. pin: P2.3
  126.  
  127. [board_pins]
  128. aliases:
  129. # EXP1 header
  130. EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>,
  131. EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>,
  132. # EXP2 header
  133. EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>,
  134. EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC>
  135. # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0"
  136.  
  137. [probe]
  138. pin: P1.27
  139. x_offset: -28
  140. y_offset: -31
  141. z_offset: 2.15
  142. speed: 3
  143. samples: 5
  144. sample_retract_dist: 2
  145. samples_tolerance_retries: 0
  146. lift_speed: 10
  147.  
  148. [bed_tilt]
  149. points:85.36, 63.00
  150. 154.64, 63.00
  151. 185.00, 118.00
  152. 154.64, 173.00
  153. 85.36, 173.00
  154. 55.00, 118.00
  155. speed: 150
  156. horizontal_move_z: 3
  157.  
  158. [safe_z_home]
  159. home_xy_position: 135,143
  160. speed: 100
  161. z_hop: 10
  162. z_hop_speed: 25
  163.  
  164. [virtual_sdcard]
  165. path: ~/.octoprint/uploads
  166.  
  167. [force_move]
  168. enable_force_move: True
  169.  
  170. [pause_resume]
  171. recover_velocity: 50
  172.  
  173. [firmware_retraction]
  174. retract_length: 1
  175. retract_speed: 35
  176. unretract_extra_length: 0
  177. unretract_speed: 10
  178.  
  179. [display]
  180. lcd_type: st7920
  181. cs_pin: EXP1_4
  182. sclk_pin: EXP1_5
  183. sid_pin: EXP1_3
  184. encoder_pins: ^EXP2_3, ^EXP2_5
  185. click_pin: ^!EXP1_2
  186. #kill_pin: ^!EXP2_8
  187.  
  188. [output_pin beeper]
  189. pin: EXP1_1
  190. pwm: True
  191. value: 0
  192. shutdown_value: 0
  193. cycle_time: 0.001
  194. scale: 1000
  195.  
  196. [gcode_macro M300]
  197. default_parameter_S: 1000
  198. default_parameter_P: 100
  199. gcode:
  200. SET_PIN PIN=beeper VALUE={S}
  201. G4 P{P}
  202. SET_PIN PIN=beeper VALUE=0
  203.  
  204.  
Add Comment
Please, Sign In to add comment