Advertisement
Guest User

Untitled

a guest
Nov 20th, 2019
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.16 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 #P1.29 P1.28 for X-max
  13. position_endstop: 0
  14. position_max: 320
  15. homing_speed: 50
  16. homing_retract_dist: 0
  17.  
  18. [tmc2209 stepper_x]
  19. uart_pin: P1.17
  20. microsteps: 16
  21. run_current: 0.800
  22. hold_current: 0.500
  23. stealthchop_threshold: 250
  24. diag_pin: P1.29
  25. driver_SGTHRS: 85 # tuning value for sensor-less homing, set to 250 as a start
  26.  
  27. [stepper_y]
  28. step_pin: P0.19
  29. dir_pin: P0.20
  30. enable_pin: !P2.8
  31. step_distance: .0125
  32. endstop_pin: tmc2209_stepper_y:virtual_endstop # P1.27 P1.26 for Y-max
  33. position_endstop: 0
  34. position_max: 320
  35. homing_speed: 50
  36. homing_retract_dist: 0
  37.  
  38. [tmc2209 stepper_y]
  39. uart_pin: P1.15
  40. microsteps: 16
  41. run_current: 0.800
  42. hold_current: 0.500
  43. stealthchop_threshold: 250
  44. diag_pin: P1.27
  45. driver_SGTHRS: 85 # tuning value for sensor-less homing, set to 250 as a start
  46.  
  47. [stepper_z]
  48. step_pin: P0.22
  49. dir_pin: P2.11
  50. enable_pin: !P0.21
  51. step_distance: .00125
  52. endstop_pin: probe:z_virtual_endstop # P1.25 P1.24 for Z-max
  53. position_endstop: 0.5
  54. position_max: 300
  55.  
  56. [tmc2209 stepper_z]
  57. uart_pin: P1.10
  58. microsteps: 16
  59. run_current: 0.800
  60. hold_current: 0.500
  61. stealthchop_threshold: 5
  62.  
  63. [probe]
  64. pin: P1.25
  65. x_offset: 20
  66. y_offset: 25
  67. z_offset: 1.65
  68.  
  69. [homing_override]
  70. set_position_z: 0
  71. axes: z
  72. gcode:
  73. G90
  74. G1 Z2 F600 ; Uncomment to blindly lift the Z 2mm at start
  75. G28 X0 Y0
  76. G1 X150 Y150 F3600
  77. G28 Z0
  78.  
  79. [extruder]
  80. step_pin: P2.13
  81. dir_pin: !P0.11
  82. enable_pin: !P2.12
  83. step_distance: .007143
  84. nozzle_diameter: 0.400
  85. max_extrude_cross_section: 1
  86. filament_diameter: 1.750
  87. heater_pin: P2.7
  88. sensor_type: EPCOS 100K B57560G104F
  89. sensor_pin: P0.24
  90. #control: pid
  91. #pid_Kp: 22.2
  92. #pid_Ki: 1.08
  93. #pid_Kd: 114
  94. min_temp: 0
  95. max_temp: 260
  96. pressure_advance: 0.4
  97.  
  98. [tmc2209 extruder]
  99. uart_pin: P1.8
  100. microsteps: 16
  101. run_current: 1.000
  102. hold_current: 0.500
  103. stealthchop_threshold: 0
  104.  
  105. [extruder1]
  106. step_pin: P0.1
  107. dir_pin: P0.0
  108. enable_pin: !P0.10
  109. step_distance: .007143
  110. nozzle_diameter: 0.400
  111. filament_diameter: 1.750
  112. shared_heater: extruder
  113. #heater_pin: P2.7
  114. #sensor_type: EPCOS 100K B57560G104F
  115. #sensor_pin: P0.24
  116. #control: pid
  117. #pid_Kp: 22.2
  118. #pid_Ki: 1.08
  119. #pid_Kd: 114
  120. #min_temp: 0
  121. #max_temp: 260
  122. pressure_advance: 0.4
  123.  
  124. [tmc2209 extruder1]
  125. uart_pin: P1.1
  126. microsteps: 16
  127. run_current: 1.000
  128. hold_current: 0.500
  129. stealthchop_threshold: 0
  130.  
  131. [heater_bed]
  132. heater_pin: P2.5
  133. sensor_type: ATC Semitec 104GT-2
  134. sensor_pin: P0.23
  135. control: watermark
  136. min_temp: 0
  137. max_temp: 130
  138.  
  139. [fan]
  140. pin: P2.3
  141.  
  142. [controller_fan case_fan]
  143. pin: P2.4
  144. #max_power:
  145. #shutdown_speed:
  146. #cycle_time:
  147. #hardware_pwm:
  148. #kick_start_time:
  149. heater: extruder
  150.  
  151. [mcu]
  152. serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00
  153.  
  154. [printer]
  155. kinematics: corexy
  156. # This option must be "corexy" for corexy printers.
  157. max_velocity: 300
  158. max_accel: 3000
  159. max_z_velocity: 25
  160. max_z_accel: 30
  161.  
  162. [display]
  163. lcd_type: st7920
  164. cs_pin: EXP1_4
  165. sclk_pin: EXP1_5
  166. sid_pin: EXP1_3
  167. encoder_pins: ^EXP2_3, ^EXP2_5
  168. click_pin: ^!EXP1_2
  169. #kill_pin: ^!EXP2_8
  170.  
  171. [output_pin beeper]
  172. pin: EXP1_1
  173.  
  174. ########################################
  175. # EXP1 / EXP2 (display) pins
  176. ########################################
  177.  
  178. [board_pins]
  179. aliases:
  180. # EXP1 header
  181. EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>,
  182. EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>,
  183. # EXP2 header
  184. EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>,
  185. EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC>
  186. # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0"
  187.  
  188. # See the sample-lcd.cfg file for definitions of common LCD displays.
  189.  
  190. #*# <---------------------- SAVE_CONFIG ---------------------->
  191. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  192. #*#
  193. #*# [extruder]
  194. #*# control = pid
  195. #*# pid_kp = 17.941
  196. #*# pid_ki = 0.767
  197. #*# pid_kd = 104.957
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement