BurndTire

Ender 3 Pro SKR 1.3 TMC2208 Klipper Octoprint

Jul 16th, 2021 (edited)
1,911
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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 docs/Config_Reference.md for a description of parameters.
  6.  
  7. [stepper_x]
  8. step_pin: P2.2
  9. dir_pin: !P2.6
  10. enable_pin: !P2.1
  11. microsteps: 16
  12. rotation_distance: 40
  13. endstop_pin: P1.29  # P1.28 for X-max
  14. position_endstop: 0
  15. position_max: 320
  16. homing_speed: 50
  17.  
  18. [stepper_y]
  19. step_pin: P0.19
  20. dir_pin: !P0.20
  21. enable_pin: !P2.8
  22. microsteps: 16
  23. rotation_distance: 40
  24. endstop_pin: P1.27  # P1.26 for Y-max
  25. position_endstop: 0
  26. position_max: 300
  27. homing_speed: 50
  28.  
  29. [stepper_z]
  30. step_pin: P0.22
  31. dir_pin: P2.11
  32. enable_pin: !P0.21
  33. microsteps: 16
  34. rotation_distance: 8
  35. endstop_pin: P1.25  # P1.24 for Z-max
  36. position_endstop: 0.5
  37. position_max: 400
  38.  
  39. [extruder]
  40. step_pin: P2.13
  41. dir_pin: !P0.11
  42. enable_pin: !P2.12
  43. microsteps: 16
  44. rotation_distance: 33.500
  45. nozzle_diameter: 0.400
  46. filament_diameter: 1.750
  47. heater_pin: P2.7
  48. sensor_type: EPCOS 100K B57560G104F
  49. sensor_pin: P0.24
  50. control: pid
  51. pid_Kp: 22.2
  52. pid_Ki: 1.08
  53. pid_Kd: 114
  54. min_temp: 0
  55. max_temp: 260
  56.  
  57. [heater_bed]
  58. heater_pin: P2.5
  59. sensor_type: ATC Semitec 104GT-2
  60. sensor_pin: P0.23
  61. control: pid
  62. pid_Kp: 54.027
  63. pid_Ki: 0.770
  64. pid_Kd: 948.182
  65. min_temp: 0
  66. max_temp: 130
  67.  
  68. [fan]
  69. pin: P2.3
  70.  
  71. [heater_fan hotend_fan]
  72. pin: P2.4
  73. heater: extruder
  74. heater_temp: 50.0
  75. fan_speed: 1.0
  76.  
  77. [mcu]
  78. serial: /dev/serial/by-id/usb-Klipper_lpc1768_20D0FF04809C48AF952E3A5DC22000F5-if00
  79.  
  80. [printer]
  81. kinematics: cartesian
  82. max_velocity: 300
  83. max_accel: 3000
  84. max_z_velocity: 5
  85. max_z_accel: 100
  86.  
  87. ########################################
  88. # TMC2208 configuration
  89. ########################################
  90.  
  91. # For TMC2208 UART
  92. #   1) Remove all of the jumpers below the stepper drivers
  93. #   2) Place jumpers on the red pin headers labeled XUART (XUART, YUART etc.)
  94.  
  95. [tmc2208 stepper_x]
  96. uart_pin: P1.17
  97. run_current: 0.800
  98. hold_current: 0.500
  99. stealthchop_threshold: 999999
  100.  
  101. [tmc2208 stepper_y]
  102. uart_pin: P1.15
  103. run_current: 0.800
  104. hold_current: 0.500
  105. stealthchop_threshold: 999999
  106.  
  107. [tmc2208 stepper_z]
  108. uart_pin: P1.10
  109. run_current: 0.650
  110. hold_current: 0.450
  111. stealthchop_threshold: 999999
  112.  
  113. [tmc2208 extruder]
  114. uart_pin: P1.8
  115. run_current: 0.800
  116. hold_current: 0.500
  117. stealthchop_threshold: 0
  118.  
  119. ########################################
  120. # EXP1 / EXP2 (display) pins
  121. ########################################
  122.  
  123. [board_pins]
  124. aliases:
  125.    # EXP1 header
  126.     EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>,
  127.     EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>,
  128.    # EXP2 header
  129.     EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>,
  130.     EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC>
  131.    # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0"
  132.  
  133. # See the sample-lcd.cfg file for definitions of common LCD displays.
  134.  
  135. [display]
  136. lcd_type: st7920
  137. cs_pin: EXP1_7
  138. sclk_pin: EXP1_6
  139. sid_pin: EXP1_8
  140. encoder_pins: ^EXP1_5, ^EXP1_3
  141. click_pin: ^!EXP1_2
  142. #kill_pin: ^!EXP2_8
  143.  
  144. [output_pin beeper]
  145. pin: EXP1_1
Add Comment
Please, Sign In to add comment