Advertisement
Guest User

printer.cfg

a guest
Mar 10th, 2024
215
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.56 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 docs/Config_Reference.md for a description of parameters.
  6.  
  7. [printer]
  8. kinematics: corexz
  9. max_velocity: 500
  10. max_accel: 3700
  11. max_accel_to_decel: 3700
  12. max_z_velocity: 50
  13. max_z_accel: 1000
  14. square_corner_velocity: 5
  15.  
  16. [mcu]
  17. serial: /dev/serial/by-id/usb-Klipper_lpc1768_1910001142941DAF83F8FC59C72000F5-if00
  18.  
  19. [force_move]
  20.  
  21. enable_force_move: True
  22.  
  23. #[static_digital_output usb_pullup_enable]
  24. #pins: !PA14
  25.  
  26.  
  27. #####################################################################
  28. # X Stepper Settings
  29. #####################################################################
  30.  
  31. ######
  32. # Motor -XM
  33. # Endstop - X-STOP
  34. ###############
  35. [stepper_x]
  36. step_pin: P2.2
  37. dir_pin: !P2.6
  38. enable_pin: !P2.1
  39. rotation_distance: 40
  40. full_steps_per_rotation: 200
  41. microsteps: 32
  42. #endstop_pin: P1.29 # P1.28 for X-max
  43. endstop_pin: tmc2209_stepper_x:virtual_endstop
  44. position_endstop: 0
  45. position_min: 0
  46. position_max: 216
  47. homing_speed: 30
  48. homing_retract_dist: 0
  49. homing_positive_dir: false
  50.  
  51. [tmc2209 stepper_x]
  52. uart_pin: P1.17
  53. tx_pin: P4.29
  54. #uart_address: 0
  55. run_current: 0.9
  56. diag_pin: ^P1.29 # Set to MCU pin connected to TMC DIAG pin
  57. driver_SGTHRS: 56 # 255 is most sensitive value, 0 is least sensitive
  58. interpolate: False
  59. stealthchop_threshold: 0
  60.  
  61. #####################################################################
  62. # Y Stepper Settings
  63. #####################################################################
  64.  
  65. ######
  66. # Motor -YM
  67. # Endstop - Y-STOP
  68. ###############
  69. [stepper_y]
  70. step_pin: P0.19
  71. dir_pin: !P0.20
  72. enable_pin: !P2.8
  73. rotation_distance: 40
  74. full_steps_per_rotation: 200
  75. microsteps: 32
  76. ## Ucomment one of the following:
  77. ## Switch-based endstop for Y
  78. endstop_pin: P1.26 # P1.26 for Y-max
  79. ## Sensorless endstop for Y
  80. #endstop_pin: tmc2209_stepper_y:virtual_endstop
  81. #homing_retract_dist: 0 # Uncomment this line too
  82. position_endstop: 0
  83. position_min: 0
  84. position_max: 235
  85. homing_speed: 70
  86. homing_positive_dir: false
  87.  
  88. [tmc2209 stepper_y]
  89. uart_pin: P1.15
  90. tx_pin: P1.16
  91. #uart_address: 2
  92. run_current: 0.85
  93. interpolate: False
  94. stealthchop_threshold: 0
  95. ## Uncomment if using sensorless Y homing.
  96. #driver_SGTHRS: 120 # tune this once it's working.
  97.  
  98. #####################################################################
  99. # Z Stepper Settings
  100. #####################################################################
  101.  
  102. ######
  103. # Motor -ZAM
  104. # Endstop - Z-STOP
  105. ###############
  106. [stepper_z]
  107. step_pin: P0.22
  108. dir_pin: !P2.11
  109. enable_pin: !P0.21
  110. rotation_distance: 40
  111. full_steps_per_rotation: 200
  112. microsteps: 32
  113. endstop_pin: probe:z_virtual_endstop
  114. position_max: 250
  115. homing_speed: 20
  116. position_min: -3.0
  117.  
  118. [tmc2209 stepper_z]
  119. uart_pin: P1.10
  120. tx_pin: P1.14
  121. #uart_address: 1
  122. run_current: 0.85
  123. interpolate: False
  124. stealthchop_threshold: 0
  125.  
  126. ###############################################################################
  127. # Extruder
  128. ###############################################################################
  129.  
  130. [extruder]
  131. step_pin: P2.13
  132. dir_pin: !P0.11
  133. enable_pin: !P2.12
  134. microsteps: 16
  135. rotation_distance: 4.637
  136. nozzle_diameter: 0.400
  137. filament_diameter: 1.750
  138. max_extrude_only_distance:500
  139. max_extrude_only_velocity:120
  140.  
  141. heater_pin: P2.7
  142. sensor_type: PT1000
  143. sensor_pin: P0.24
  144. #control: pid
  145. #pid_Kp: 21.527
  146. #pid_Ki: 1.063
  147. #pid_Kd: 108.982
  148. min_temp: 0
  149. max_temp: 250
  150. pressure_advance:0.04
  151. pressure_advance_smooth_time:0.03
  152.  
  153.  
  154.  
  155.  
  156. [tmc2209 extruder]
  157. uart_pin: P1.8
  158. tx_pin: P1.9
  159. #uart_address: 3
  160. interpolate:true
  161. run_current: 0.850
  162. hold_current:0.100
  163. stealthchop_threshold: 1
  164.  
  165. [heater_bed]
  166. heater_pin: P2.5
  167. sensor_type: EPCOS 100K B57560G104F
  168. sensor_pin: P0.23
  169. #control: pid
  170. #pid_Kp: 54.027
  171. #pid_Ki: 0.770
  172. #pid_Kd: 948.182
  173. min_temp: 0
  174. max_temp: 120
  175.  
  176. ###############################################################################
  177. # Probe, Bed
  178. ###############################################################################
  179.  
  180. [bltouch]
  181. stow_on_each_sample: True
  182. sensor_pin: ^P1.25 # Pull-up (^ symbol) needed in open drain mode
  183. control_pin: P2.0
  184. x_offset:37.5
  185. y_offset:0
  186.  
  187. speed: 10.0
  188. pin_move_time: 0.675
  189. pin_up_touch_mode_reports_triggered: True
  190. pin_up_reports_not_triggered: True
  191. lift_speed: 20 #80.0
  192. samples_result: median
  193. samples_tolerance: 0.015
  194. samples_tolerance_retries: 8
  195. stow_on_each_sample: False
  196. sample_retract_dist: 0.8
  197.  
  198.  
  199. #samples: 3 #Or higher if you want
  200. #pin_up_touch_mode_reports_triggered :false
  201. #probe_with_touch_mode:false
  202.  
  203.  
  204. [safe_z_home]
  205. home_xy_position: 89.5, 127 # Change coordinates to the center of your print bed
  206. speed: 300
  207. z_hop: 10 # Move up 10mm
  208. z_hop_speed: 400
  209.  
  210.  
  211. [bed_screws]
  212. screw1: 0, 25
  213. screw2: 210, 25
  214. screw3: 210, 220
  215. screw4: 0, 220
  216.  
  217. [screws_tilt_adjust]
  218. screw1: 0, 25
  219. screw1_name: front left screw
  220. screw2: 180, 25
  221. screw2_name: front right screw
  222. screw3: 180, 220
  223. screw3_name: rear right screw
  224. screw4: 0, 220
  225. screw4_name: rear left screw
  226. horizontal_move_z: 10.
  227. speed: 300.
  228. screw_thread: CW-M3
  229.  
  230.  
  231. [bed_mesh]
  232. speed: 1000
  233. horizontal_move_z: 5
  234. mesh_min: 37.5, 5
  235. mesh_max: 216, 220
  236. probe_count: 6,6
  237. algorithm: bicubic
  238. fade_start: 1
  239. fade_end: 10
  240. fade_target: 0
  241.  
  242. ###############################################################################
  243. # Displays, Menus
  244. ###############################################################################
  245. [include display.cfg]
  246. [include lcd_tweaks.cfg]
  247. [include menu_overrides.cfg]
  248.  
  249.  
  250. ###############################################################################
  251. # Fans
  252. ###############################################################################
  253. [heater_fan hotendfan]
  254. pin: P2.4
  255. heater_temp: 50.0
  256.  
  257. [fan]
  258. pin: P2.3
  259.  
  260. [virtual_sdcard]
  261. path: ~/gcode_files
  262.  
  263. [temperature_sensor raspberry_pi]
  264. sensor_type: temperature_host
  265. min_temp: 10
  266. max_temp: 100
  267.  
  268. #[temperature_sensor mcu_temp]
  269. #sensor_type: temperature_mcu
  270. #min_temp: 0
  271. #max_temp: 100
  272.  
  273.  
  274. [input_shaper]
  275. #shaper_freq_x: 77.4 # frequency for the X mark of the test model
  276. #shaper_type_x: mzv
  277. #shaper_freq_y:34.8# frequency for the Y mark of the test model
  278. #shaper_type_y: mzv
  279.  
  280.  
  281.  
  282. #[mcu rpi]
  283. #serial: /tmp/klipper_host_mcu
  284.  
  285. #[adxl345]
  286. #cs_pin: rpi:None
  287.  
  288. #[resonance_tester]
  289. #accel_chip: adxl345
  290. #probe_points:
  291. # 115, 115, 20 # an example
  292.  
  293. #used for DSLR Timelapses
  294. [firmware_retraction]
  295. retract_length:0.5
  296. retract_speed:120
  297. unretract_speed:120
  298.  
  299.  
  300. [include macros.cfg]
  301. [include shell_command.cfg]
  302. [include mainsail.cfg]
  303.  
  304. [respond]
  305. default_type: command
  306.  
  307. #*# <---------------------- SAVE_CONFIG ---------------------->
  308. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  309. #*#
  310. #*# [extruder]
  311. #*# control = pid
  312. #*# pid_kp = 21.799
  313. #*# pid_ki = 2.047
  314. #*# pid_kd = 58.041
  315. #*#
  316. #*# [heater_bed]
  317. #*# control = pid
  318. #*# pid_kp = 74.214
  319. #*# pid_ki = 1.026
  320. #*# pid_kd = 1341.414
  321. #*#
  322. #*# [bltouch]
  323. #*# z_offset = 3.394
  324. #*#
  325. #*# [bed_mesh default]
  326. #*# version = 1
  327. #*# points =
  328. #*# 0.012500, -0.000000, -0.037500, -0.031250, -0.068750, 0.143750
  329. #*# 0.012500, -0.012500, -0.037500, -0.037500, -0.087500, 0.100000
  330. #*# 0.000000, -0.043750, -0.043750, -0.037500, -0.050000, 0.081250
  331. #*# -0.025000, -0.037500, -0.050000, -0.018750, -0.037500, 0.093750
  332. #*# -0.025000, -0.050000, -0.031250, -0.006250, -0.006250, 0.087500
  333. #*# 0.025000, -0.012500, 0.025000, 0.050000, 0.050000, 0.137500
  334. #*# x_count = 6
  335. #*# y_count = 6
  336. #*# mesh_x_pps = 2
  337. #*# mesh_y_pps = 2
  338. #*# algo = bicubic
  339. #*# tension = 0.2
  340. #*# min_x = 37.5
  341. #*# max_x = 216.0
  342. #*# min_y = 5.0
  343. #*# max_y = 220.0
  344.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement