Advertisement
Guest User

sv06+ klipper printer.cfg

a guest
Nov 25th, 2023
122
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.82 KB | Source Code | 0 0
  1. # This file contains pin mappings for the stock Sovol SV06 Plus.
  2. #
  3. # Find installation instructions at https://github.com/bassamanator/Sovol-SV06-firmware
  4. #
  5. # See https://www.klipper3d.org/Config_Reference.html for configuration reference.
  6.  
  7. [include ./osskc.cfg]
  8.  
  9. [mcu]
  10. # NOTE Obtain definition by "ls -l /dev/serial/by-path/" or "ls -l /dev/serial/by-id/"
  11. #serial: /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2:1.0-port0
  12. serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
  13. restart_method: command
  14.  
  15. [printer]
  16. kinematics: cartesian
  17. max_velocity: 200
  18. max_accel: 3000
  19. max_z_velocity: 15
  20. max_z_accel: 45
  21. square_corner_velocity: 8.0
  22.  
  23. #####################################################################
  24. # X/Y/Z Stepper Settings
  25. #####################################################################
  26.  
  27. [stepper_x]
  28. step_pin: PC2
  29. dir_pin: !PB9
  30. enable_pin: !PC3
  31. microsteps: 128
  32. rotation_distance: 40
  33. endstop_pin: tmc2209_stepper_x:virtual_endstop
  34. position_endstop: 0
  35. position_max: 300 # NOTE You can adjust this if you have more room
  36. homing_speed: 40
  37. homing_retract_dist: 0
  38.  
  39. [tmc2209 stepper_x]
  40. uart_pin: PC1
  41. run_current: 0.820
  42. stealthchop_threshold: 0
  43. interpolate: False
  44. sense_resistor: 0.150
  45. uart_address: 3
  46. driver_SGTHRS: 86 # NOTE Bump sensitivity; increase to make more sensitive
  47. diag_pin: PA5
  48.  
  49. [stepper_y]
  50. step_pin: PB8
  51. dir_pin: PB7
  52. enable_pin: !PC3
  53. microsteps: 128
  54. rotation_distance: 40
  55. endstop_pin: tmc2209_stepper_y:virtual_endstop
  56. position_endstop: 0
  57. position_max: 300 # NOTE You can adjust this if you have more room
  58. homing_speed: 40
  59. homing_retract_dist: 0
  60.  
  61. [tmc2209 stepper_y]
  62. uart_pin: PC0
  63. run_current: 0.880
  64. stealthchop_threshold: 0
  65. interpolate: False
  66. sense_resistor: 0.150
  67. uart_address: 3
  68. driver_SGTHRS: 110 # NOTE Bump sensitivity; increase to make more sensitive
  69. diag_pin: PA6
  70.  
  71. [stepper_z]
  72. step_pin: PB6
  73. dir_pin: !PB5
  74. enable_pin: !PC3
  75. microsteps: 128
  76. rotation_distance: 4
  77. endstop_pin: probe:z_virtual_endstop
  78. position_min: -4
  79. position_max: 340 # NOTE You can adjust this if you have more room
  80. homing_speed: 5
  81.  
  82. [tmc2209 stepper_z]
  83. uart_pin: PA15
  84. run_current: 0.800
  85. stealthchop_threshold: 0
  86. interpolate: False
  87. sense_resistor: 0.150
  88. uart_address: 3
  89. diag_pin: PA7
  90.  
  91. #####################################################################
  92. # Extruder
  93. #####################################################################
  94.  
  95. [extruder]
  96. step_pin: PB4
  97. dir_pin: !PB3
  98. enable_pin: !PC3
  99. microsteps: 128
  100. rotation_distance: 4.65 # NOTE Calibrate e-steps https://www.klipper3d.org/Rotation_Distance.html#calibrating-rotation_distance-on-extruders, https://github.com/bassamanator/everything-sovol-sv06/blob/main/howto.md#calibrate-esteps
  101. nozzle_diameter: 0.400
  102. filament_diameter: 1.750
  103. heater_pin: PA1
  104. sensor_type: EPCOS 100K B57560G104F
  105. sensor_pin: PC5
  106. #control: pid
  107. #pid_kd: 41.96
  108. #pid_kp: 15.66
  109. #pid_ki: 1.49
  110. min_temp: 0
  111. max_temp: 300
  112. max_extrude_only_distance: 150.0
  113. max_extrude_cross_section: 5 # NOTE Uncomment this line if you intend on using KAMP pruge
  114. pressure_advance: 0.034
  115.  
  116. [tmc2209 extruder]
  117. uart_pin: PC14
  118. run_current: 0.550
  119. stealthchop_threshold: 0
  120. interpolate: False
  121. sense_resistor: 0.150
  122. uart_address: 3
  123.  
  124. #####################################################################
  125. # Bed Heater
  126. #####################################################################
  127.  
  128. [heater_bed]
  129. heater_pin: PA2
  130. sensor_type: EPCOS 100K B57560G104F
  131. sensor_pin: PC4
  132. #control: pid
  133. #pid_kp: 186.38
  134. #pid_ki: 36.12
  135. #pid_kd: 637.30
  136. min_temp: 0
  137. max_temp: 110
  138.  
  139. #####################################################################
  140. # Probe Related
  141. #####################################################################
  142.  
  143. [probe]
  144. pin: PB1
  145. x_offset: 27
  146. y_offset: -20
  147. #z_offset: 0
  148. samples: 3
  149. samples_result: median
  150. samples_tolerance: 0.01
  151. samples_tolerance_retries: 5
  152.  
  153. [safe_z_home]
  154. home_xy_position: 123, 170
  155. speed: 100.0
  156. z_hop: 10
  157. z_hop_speed: 15
  158.  
  159. #[bed_mesh]
  160. #speed: 175
  161. #mesh_min: 30, 30
  162. #mesh_max: 270, 270
  163. #probe_count: 5,5
  164. #algorithm: bicubic
  165. #fade_start: 1
  166. #fade_end: 10
  167. #fade_target: 0
  168.  
  169. [bed_mesh]
  170. speed: 175
  171. mesh_min: 27, 6
  172. mesh_max: 299, 280
  173. probe_count: 7, 7
  174. algorithm: bicubic
  175. fade_start: 1
  176. fade_end: 10
  177. fade_target: 0
  178.  
  179. #####################################################################
  180. # Fans
  181. #####################################################################
  182.  
  183. [fan]
  184. pin: PA0
  185.  
  186. #####################################################################
  187. # Raspberry Pi Temperature
  188. #####################################################################
  189.  
  190. [temperature_sensor raspberry_pi]
  191. sensor_type: temperature_host
  192. min_temp: 10
  193. max_temp: 100
  194.  
  195. #####################################################################
  196. # Misc
  197. #####################################################################
  198.  
  199. [exclude_object]
  200.  
  201. [include shaper/ADXL_SHAPER.cfg]
  202.  
  203. # NOTE Apparently the screen is not Klipper friendly
  204. # [display]
  205. # lcd_type: st7920
  206. # cs_pin: PB12
  207. # sclk_pin: PB13
  208. # sid_pin: PB15
  209. # encoder_pins: ^PB14, ^PB10
  210. # click_pin: ^!PB2
  211.  
  212. # NOTE The speaker will not work, since the screen doesn't
  213. # [output_pin beeper]
  214. # pin: PC6
  215. # value: 0
  216. # shutdown_value: 0
  217. # pwm: True
  218. # cycle_time: 0.0005 ; Default beeper tone in kHz. 1 / 0.0005 = 2000Hz (2kHz)
  219.  
  220. [filament_switch_sensor filament_sensor]
  221. switch_pin: PA4
  222. pause_on_runout: True
  223. insert_gcode:
  224. { action_respond_info("Insert Detected") }
  225. runout_gcode:
  226. { action_respond_info("Runout Detected") }
  227. CONDITIONAL_BEEP i=3 dur=300 freq=400
  228.  
  229. #*# <---------------------- SAVE_CONFIG ---------------------->
  230. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  231. #*#
  232. #*# [heater_bed]
  233. #*# control = pid
  234. #*# pid_kp = 72.905
  235. #*# pid_ki = 0.928
  236. #*# pid_kd = 1432.586
  237. #*#
  238. #*# [extruder]
  239. #*# control = pid
  240. #*# pid_kp = 22.178
  241. #*# pid_ki = 1.524
  242. #*# pid_kd = 80.671
  243. #*#
  244. #*# [probe]
  245. #*# z_offset = 1.820
  246. #*#
  247. #*# [bed_mesh default]
  248. #*# version = 1
  249. #*# points =
  250. #*# 0.194531, 0.088750, -0.071094, -0.267656, -0.484219, -0.789063, -1.390469
  251. #*# 0.259219, 0.147344, 0.010156, -0.182656, -0.402813, -0.688594, -1.262656
  252. #*# 0.294687, 0.190312, 0.060000, -0.114219, -0.315781, -0.587031, -1.123281
  253. #*# 0.305625, 0.203750, 0.075156, -0.080938, -0.276094, -0.531719, -1.028125
  254. #*# 0.288281, 0.191094, 0.046250, -0.097500, -0.270781, -0.523906, -1.026719
  255. #*# 0.248281, 0.122812, -0.010313, -0.149844, -0.324688, -0.545469, -1.021719
  256. #*# 0.194062, 0.067187, -0.083281, -0.226250, -0.382969, -0.592500, -1.030469
  257. #*# x_count = 7
  258. #*# y_count = 7
  259. #*# mesh_x_pps = 2
  260. #*# mesh_y_pps = 2
  261. #*# algo = bicubic
  262. #*# tension = 0.2
  263. #*# min_x = 27.0
  264. #*# max_x = 298.98
  265. #*# min_y = 6.0
  266. #*# max_y = 279.96
  267. #*#
  268. #*# [input_shaper]
  269. #*# shaper_type_y = zv
  270. #*# shaper_freq_y = 31.6
  271. #*# shaper_type_x = ei
  272. #*# shaper_freq_x = 44.6
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement