Advertisement
balkin

BaRoN klipper config: SKR1.4 TMC2226 BMG Mini, titanium heatbreak

Jan 15th, 2021
2,564
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. step_distance: .0125
  12. endstop_pin: P1.29
  13. position_endstop: 0
  14. position_max: 200
  15. homing_speed: 40
  16. second_homing_speed: 10
  17.  
  18. [stepper_y]
  19. step_pin: P0.19
  20. dir_pin: !P0.20
  21. enable_pin: !P2.8
  22. step_distance: .0125
  23. endstop_pin: P1.28
  24. position_endstop: 0
  25. position_max: 205
  26. homing_speed: 40
  27. second_homing_speed: 10
  28.  
  29. [stepper_z]
  30. step_pin: P0.22
  31. dir_pin: P2.11
  32. enable_pin: !P0.21
  33. step_distance: .000625
  34. endstop_pin: P1.27
  35. position_endstop: 0.05
  36. position_max: 270.0
  37.  
  38. [extruder]
  39. step_pin: P2.13
  40. dir_pin: !P0.11
  41. enable_pin: !P2.12
  42. step_distance: 0.00740
  43. nozzle_diameter: 0.4
  44. filament_diameter: 1.750
  45. heater_pin: P2.7
  46. sensor_pin: P0.24
  47. sensor_type: NTC 100K beta 3950
  48. pullup_resistor: 4700
  49. #control = pid
  50. #pid_kp: 26.869
  51. #pid_ki: 1.035
  52. #pid_kd: 174.310
  53. min_temp: 10
  54. max_temp: 300
  55. pressure_advance: 0.6
  56. pressure_advance_smooth_time: 0.05
  57. max_extrude_cross_section: 9
  58. instantaneous_corner_velocity: 1
  59. max_extrude_only_accel: 10000
  60. max_extrude_only_velocity: 100
  61. max_extrude_only_distance: 2000
  62.  
  63. [verify_heater extruder]
  64. max_error: 240
  65.  
  66. [heater_bed]
  67. heater_pin: P2.5
  68. sensor_type: EPCOS 100K B57560G104F
  69. sensor_pin: P0.25
  70. control: pid
  71. pid_Kp: 54.027
  72. pid_Ki: 0.770
  73. pid_Kd: 948.182
  74. min_temp: 0
  75. max_temp: 130
  76.  
  77. [fan]
  78. pin: P2.3
  79. kick_start_time: 0.500
  80.  
  81. [heater_fan my_nozzle_fan]
  82. pin: P2.4
  83. heater_temp: 50.0
  84. fan_speed: 1.0
  85.  
  86. [mcu]
  87. serial: /dev/serial/by-id/usb-Klipper_lpc1769_02D0000922813AAF17006A5CC02000F5-if00
  88.  
  89. [printer]
  90. kinematics: cartesian
  91. max_velocity: 300
  92. max_accel: 4000
  93. max_accel_to_decel: 2000
  94. max_z_velocity: 4
  95. max_z_accel: 50
  96. square_corner_velocity: 15
  97.  
  98. # RINGING TOWER
  99. # max_accel: 7000
  100. # max_accel_to_decel: 7000
  101. # square_corner_velocity: 5
  102.  
  103. [input_shaper]
  104. shaper_freq_x: 82.81
  105. shaper_freq_y: 66.25
  106. shaper_type: mzv
  107.  
  108. #[scurve]
  109. #acceleration_order: 4
  110. #min_accel: 2500
  111.  
  112. [tmc2209 stepper_x]
  113. uart_pin: P1.10
  114. microsteps: 16
  115. run_current: 1.100
  116. hold_current: 0.500
  117. stealthchop_threshold: 100
  118.  
  119. [tmc2209 stepper_y]
  120. uart_pin: P1.9
  121. microsteps: 16
  122. run_current: 1.100
  123. hold_current: 0.500
  124. stealthchop_threshold: 100
  125.  
  126. [tmc2209 stepper_z]
  127. uart_pin: P1.8
  128. microsteps: 16
  129. run_current: 1.000
  130. hold_current: 0.450
  131. stealthchop_threshold: 30
  132.  
  133. [tmc2209 extruder]
  134. uart_pin: P1.4
  135. microsteps: 16
  136. run_current: 0.950
  137. hold_current: 0.500
  138. stealthchop_threshold: 250
  139.  
  140.  
  141. ########################################
  142. # EXP1 / EXP2 (display) pins
  143. ########################################
  144.  
  145. [board_pins]
  146. aliases:
  147.     # EXP1 header
  148.     EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>,
  149.     EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>,
  150.     # EXP2 header
  151.     EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>,
  152.     EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC>
  153.     # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0"
  154.  
  155. [display]
  156. lcd_type: uc1701
  157. cs_pin: EXP1_3
  158. a0_pin: EXP1_4
  159. rst_pin: EXP1_5
  160. contrast: 63
  161. encoder_pins: ^EXP2_5, ^EXP2_3
  162. click_pin: ^!EXP1_2
  163. ## Some micro-controller boards may require an spi bus to be specified:
  164. #spi_bus: spi
  165. ## Alternatively, some micro-controller boards may work with software spi:
  166. spi_software_miso_pin: EXP2_1
  167. spi_software_mosi_pin: EXP2_6
  168. spi_software_sclk_pin: EXP2_2
  169.  
  170. [output_pin BEEPER_pin]
  171. pin: EXP1_1
  172. value: 1
  173. shutdown_value: 1
  174.  
  175. [neopixel fysetc_mini12864]
  176. pin: EXP1_6
  177. chain_count: 3
  178. color_order: GRB
  179. initial_RED: 0.4
  180. initial_GREEN: 0.4
  181. initial_BLUE: 0.4
  182.  
  183. [gcode_macro UNLOAD_FILAMENT]
  184. gcode:
  185.     M83
  186.     G1 E10 F300
  187.     G1 E-780 F1800
  188.     M82
  189.  
  190. [gcode_macro LOAD_FILAMENT]
  191. gcode:
  192.     M83
  193.     G1 E750 F1800
  194.     G1 E30 F300
  195.     G1 E15 F150
  196.     M82
  197.  
  198. #*# <---------------------- SAVE_CONFIG ---------------------->
  199. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  200. #*#
  201. #*# [extruder]
  202. #*# control = pid
  203. #*# pid_kp = 18.910
  204. #*# pid_ki = 0.663
  205. #*# pid_kd = 134.731
  206.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement