Advertisement
Guest User

Klipper printer.cfg for SKR1.3 Hypercube

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