Advertisement
Guest User

SKR 1.3 Ender 3 Pro TMC2209 Klipper

a guest
Feb 8th, 2020
5,080
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.28 KB | None | 0 0
  1. # This file contains common pin mappings for the BIGTREETECH SKR V1.3
  2. # board. To use this config, the firmware should be compiled for the
  3. # LPC1768.
  4.  
  5. # See the example.cfg file for a description of available parameters.
  6.  
  7. [stepper_x]
  8. step_pin: P2.2
  9. dir_pin: !P2.6
  10. enable_pin: !P2.1
  11. step_distance: .0125
  12. endstop_pin: tmc2209_stepper_x:virtual_endstop #sensorless homing
  13. # endstop_pin: P1.29 # P1.28 for X-max
  14. position_endstop: 0
  15. position_max: 235
  16. homing_speed: 50
  17. homing_retract_dist: 0
  18.  
  19.  
  20. [tmc2209 stepper_x]
  21. uart_pin: P1.17
  22. microsteps: 16
  23. interpolate: True
  24. run_current: 0.8
  25. hold_current: 0.5
  26. stealthchop_threshold: 250
  27. # stealthchop_threshold: 0
  28. diag_pin: P1.29
  29. driver_SGTHRS: 100
  30.  
  31. [stepper_y]
  32. step_pin: P0.19
  33. dir_pin: !P0.20
  34. enable_pin: !P2.8
  35. step_distance: .0125
  36. endstop_pin: tmc2209_stepper_y:virtual_endstop #sensorless homing
  37. # endstop_pin: P1.27 # P1.26 for Y-max
  38. position_endstop: 0
  39. position_max: 235
  40. homing_speed: 50
  41. homing_retract_dist: 0
  42.  
  43.  
  44. [tmc2209 stepper_y]
  45. uart_pin: P1.15
  46. microsteps: 16
  47. interpolate: True
  48. run_current: 0.8
  49. hold_current: 0.5
  50. stealthchop_threshold: 250
  51. # stealthchop_threshold: 0
  52. diag_pin: P1.27
  53. driver_SGTHRS: 100
  54.  
  55. [stepper_z]
  56. step_pin: P0.22
  57. dir_pin: P2.11
  58. enable_pin: !P0.21
  59. step_distance: .0025
  60. endstop_pin: probe:z_virtual_endstop
  61. position_max: 250
  62. position_min: -3
  63.  
  64.  
  65. [tmc2209 stepper_z]
  66. uart_pin: P1.10
  67. microsteps: 16
  68. interpolate: True
  69. run_current: 0.650
  70. hold_current: 0.450
  71. stealthchop_threshold: 50
  72.  
  73.  
  74. [extruder]
  75. max_extrude_only_distance: 100.0
  76. step_pin: P2.13
  77. dir_pin: !P0.11
  78. enable_pin: !P2.12
  79. step_distance: .010526
  80. nozzle_diameter: 0.400
  81. filament_diameter: 1.750
  82. heater_pin: P2.7
  83. sensor_type: EPCOS 100K B57560G104F
  84. sensor_pin: P0.24
  85. pressure_advance: 0.2
  86. pressure_advance_smooth_time: 0.010
  87. control: pid
  88. # tuned for stock hardware with 200 degree Celsius target
  89. pid_Kp: 21.527
  90. pid_Ki: 1.063
  91. pid_Kd: 108.982
  92. min_temp: 0
  93. max_temp: 250
  94.  
  95. [tmc2209 extruder]
  96. uart_pin: P1.8
  97. microsteps: 16
  98. interpolate: False
  99. run_current: 0.9
  100. hold_current: 0.500
  101. stealthchop_threshold: 5
  102.  
  103. [heater_bed]
  104. heater_pin: P2.5
  105. sensor_type: ATC Semitec 104GT-2
  106. sensor_pin: P0.23
  107. control: pid
  108. # tuned for stock hardware with 50 degree Celsius target
  109. pid_Kp: 54.027
  110. pid_Ki: 0.770
  111. pid_Kd: 948.182
  112. min_temp: 0
  113. max_temp: 130
  114.  
  115. [fan]
  116. pin: P2.3
  117.  
  118. [heater_fan e0_fan]
  119. pin: P2.4
  120. heater: extruder
  121. heater_temp: 50.0
  122. fan_speed: 1.0
  123.  
  124. [mcu]
  125. # serial: /dev/ttyAMA0 #rpi serial connection
  126. serial: /dev/serial/by-id/usb-Klipper_lpc1768_13000002C0143EAF6069B55CC72000F5-if00
  127.  
  128. [printer]
  129. kinematics: cartesian
  130. max_velocity: 200
  131. max_accel: 2000
  132. max_z_velocity: 25
  133. max_z_accel: 100
  134.  
  135. [bltouch]
  136. sensor_pin: P1.25
  137. control_pin: P2.0
  138. x_offset: 0
  139. y_offset: 0
  140. z_offset: 2.4
  141. pin_move_time: 0.675
  142.  
  143. [safe_z_home]
  144. home_xy_position: 155,120
  145. speed: 80.0
  146. z_hop: 10.0
  147. z_hop_speed: 10.0
  148.  
  149. [bed_mesh]
  150. speed: 80
  151. horizontal_move_z: 5
  152. mesh_min: 90,30
  153. mesh_max: 230, 220
  154. probe_count: 3,3
  155. fade_start: 1.0
  156. mesh_pps: 2,2
  157.  
  158. [display]
  159. lcd_type: st7920
  160. cs_pin: P1.19
  161. sclk_pin: P1.21
  162. sid_pin: P1.23
  163. encoder_pins: ^P1.18, ^P1.20
  164. click_pin: !P0.28
  165.  
  166. [output_pin beeper]
  167. pin: P1.30
  168.  
  169. [gcode_macro G29]
  170. gcode:
  171. BED_MESH_CALIBRATE
  172.  
  173. [gcode_macro HOME_ABL]
  174. gcode:
  175. G28
  176. BED_MESH_CALIBRATE
  177. G90
  178. G1 X155 Y120 F3000
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement