Advertisement
Razorx89

Printer

Jan 17th, 2022
1,118
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.4
  2. # board. To use this config, the firmware should be compiled for the
  3. # LPC1768 or LPC1769(Turbo).
  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
  14. position_endstop: 0
  15. position_max: 235
  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.28
  25. position_endstop: 0
  26. position_max: 235
  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.27
  36. position_endstop: 0.0
  37. position_max: 300
  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. #[extruder1]
  58. #step_pin: P1.15
  59. #dir_pin: P1.14
  60. #enable_pin: !P1.16
  61. #heater_pin: P2.4
  62. #sensor_pin: P0.23
  63. #...
  64.  
  65. [heater_bed]
  66. heater_pin: P2.5
  67. sensor_type: EPCOS 100K B57560G104F
  68. sensor_pin: P0.25
  69. control: pid
  70. pid_Kp: 54.027
  71. pid_Ki: 0.770
  72. pid_Kd: 948.182
  73. min_temp: 0
  74. max_temp: 130
  75.  
  76. [fan]
  77. pin: P2.3
  78.  
  79. [mcu]
  80. serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00
  81.  
  82. [printer]
  83. kinematics: cartesian
  84. max_velocity: 400
  85. max_accel: 500
  86. max_z_velocity: 10
  87. max_z_accel: 100
  88.  
  89.  
  90. ########################################
  91. # TMC2208 configuration
  92. ########################################
  93.  
  94. [tmc2208 stepper_x]
  95. uart_pin: P1.10
  96. run_current: 0.800
  97. stealthchop_threshold: 999999
  98.  
  99. [tmc2208 stepper_y]
  100. uart_pin: P1.9
  101. run_current: 0.800
  102. stealthchop_threshold: 999999
  103.  
  104. [tmc2208 stepper_z]
  105. uart_pin: P1.8
  106. run_current: 0.650
  107. stealthchop_threshold: 999999
  108.  
  109. [tmc2208 extruder]
  110. uart_pin: P1.4
  111. run_current: 0.800
  112. stealthchop_threshold: 999999
  113. #
  114. #[tmc2208 extruder1]
  115. #uart_pin: P1.1
  116. #run_current: 0.800
  117. #stealthchop_threshold: 999999
  118.  
  119.  
  120. ########################################
  121. # TMC2130 configuration
  122. ########################################
  123.  
  124. #[tmc2130 stepper_x]
  125. #cs_pin: P1.10
  126. #spi_software_miso_pin: P0.5
  127. #spi_software_mosi_pin: P1.17
  128. #spi_software_sclk_pin: P0.4
  129. #run_current: 0.800
  130. #stealthchop_threshold: 999999
  131. #diag1_pin: P1.29
  132.  
  133. #[tmc2130 stepper_y]
  134. #cs_pin: P1.9
  135. #spi_software_miso_pin: P0.5
  136. #spi_software_mosi_pin: P1.17
  137. #spi_software_sclk_pin: P0.4
  138. #run_current: 0.800
  139. #stealthchop_threshold: 999999
  140. #diag1_pin: P1.28
  141.  
  142. #[tmc2130 stepper_z]
  143. #cs_pin: P1.8
  144. #spi_software_miso_pin: P0.5
  145. #spi_software_mosi_pin: P1.17
  146. #spi_software_sclk_pin: P0.4
  147. #run_current: 0.650
  148. #stealthchop_threshold: 999999
  149. #diag1_pin: P1.27
  150.  
  151. #[tmc2130 extruder]
  152. #cs_pin: P1.4
  153. #spi_software_miso_pin: P0.5
  154. #spi_software_mosi_pin: P1.17
  155. #spi_software_sclk_pin: P0.4
  156. #run_current: 0.800
  157. #stealthchop_threshold: 999999
  158. #diag1_pin: P1.26
  159.  
  160. #[tmc2130 extruder1]
  161. #cs_pin: P1.1
  162. #spi_software_miso_pin: P0.5
  163. #spi_software_mosi_pin: P1.17
  164. #spi_software_sclk_pin: P0.4
  165. #run_current: 0.800
  166. #stealthchop_threshold: 999999
  167. #diag1_pin: P1.25
  168.  
  169.  
  170. ########################################
  171. # EXP1 / EXP2 (display) pins
  172. ########################################
  173.  
  174. [board_pins]
  175. aliases:
  176.    # EXP1 header
  177.     EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>,
  178.     EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>,
  179.    # EXP2 header
  180.     EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>,
  181.     EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC>
  182.    # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0"
  183.  
  184. # See the sample-lcd.cfg file for definitions of common LCD displays.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement