Advertisement
Guest User

Klipper on Ender 3v2 Sprite Pro Extruder with BL Touch

a guest
Oct 15th, 2022
4,630
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.46 KB | None | 1 0
  1. # This file contains pin mappings for the stock 2020 Creality Ender 3
  2. # V2. To use this config, during "make menuconfig" select the
  3. # STM32F103 with a "28KiB bootloader" and serial (on USART1 PA10/PA9)
  4. # communication.
  5.  
  6. # If you prefer a direct serial connection, in "make menuconfig"
  7. # select "Enable extra low-level configuration options" and select
  8. # serial (on USART3 PB11/PB10), which is broken out on the 10 pin IDC
  9. # cable used for the LCD module as follows:
  10. # 3: Tx, 4: Rx, 9: GND, 10: VCC
  11.  
  12. # Flash this firmware by copying "out/klipper.bin" to a SD card and
  13. # turning on the printer with the card inserted. The firmware
  14. # filename must end in ".bin" and must not match the last filename
  15. # that was flashed.
  16.  
  17. # See docs/Config_Reference.md for a description of parameters.
  18.  
  19. ## *** THINGS TO CHANGE/CHECK: ***
  20. ## MCU paths [mcu] section
  21. ## Thermistor types [extruder] and [heater_bed] sections - See 'sensor types' list at end of file
  22. ## Z Endstop Switch location [homing_override] section
  23. ## Z Endstop Switch offset for Z0 [stepper_z] section
  24. ## Leadscrew type settings for Z Rotation_Distance for both steppers
  25. ## Probe points [z_tilt] section
  26. ## PID tune [extruder] and [heater_bed] sections
  27. ## Enable Heated Bed [Heater_bed] section
  28. ## Fine tune E steps [extruder] section
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39. ###################################################################
  40. # Include Mainsail Settings/Config and Macros
  41. ###################################################################
  42.  
  43. [include mainsail.cfg]
  44.  
  45. # Macros
  46. [include macros.cfg]
  47. [include prime_line.cfg]
  48. #[include macros/buzzer.cfg]
  49. #[include macros/hotend_leds.cfg]
  50. #[include macros/linear_advance.cfg]
  51. #[include macros/move_nozzle.cfg]
  52. [include macros/nozzle_prime.cfg]
  53. [include macros/print_cancel.cfg]
  54. [include macros/print_end.cfg]
  55. [include macros/print_pause.cfg]
  56. [include macros/print_resume.cfg]
  57. [include macros/print_start.cfg]
  58. #[include macros/safe_park.cfg]
  59. #[include macros/safe_retract.cfg]
  60. #[include macros/test_speed.cfg]
  61. [include mainsail.cfg]
  62. #[include timelapse.cfg]
  63.  
  64. #====================================================================
  65. # INPUT SHAPER
  66. #====================================================================
  67. [input_shaper]
  68. shaper_freq_x: 70.0
  69. shaper_type_x: mzv
  70. shaper_freq_y: 45.4
  71. shaper_type_y: ei
  72. #====================================================================
  73. # BED MESH PARAMETERS
  74. #====================================================================
  75.  
  76. [bed_mesh]
  77. speed: 120
  78. horizontal_move_z: 5
  79. mesh_min: 15,15
  80. mesh_max: 186,195
  81. probe_count: 10,10
  82. algorithm: bicubic
  83. fade_start: 1
  84. fade_end: 10
  85. fade_target: 0
  86.  
  87. #====================================================================
  88. # BLTOUCH CONFIG
  89. #====================================================================
  90.  
  91. [bltouch]
  92. sensor_pin: ^PB1
  93. control_pin: PB0
  94. pin_move_time: 0.675
  95. #stow_on_each_sample: True
  96. probe_with_touch_mode: True
  97. pin_up_touch_mode_reports_triggered: False
  98. x_offset: -40 # mm left of the nozzle
  99. y_offset: -33 # mm forward of the nozzle
  100. #z_offset: 1.380
  101. stow_on_each_sample: True
  102. samples: 1
  103. speed: 5
  104. sample_retract_dist: 5
  105.  
  106. [safe_z_home]
  107. home_xy_position: 111,123
  108. z_hop: 10 # Move up 10mm
  109. z_hop_speed: 10
  110.  
  111. #====================================================================
  112. # MANUAL BED LEVELING
  113. #====================================================================
  114.  
  115. [bed_screws]
  116. screw1: 35,35
  117. screw1_name: front left screw
  118. screw2: 35,195
  119. screw2_name: rear left screw
  120. screw3: 195,195
  121. screw3_name: rear right screw
  122. screw4: 195,35
  123. screw4_name: front right screw
  124.  
  125. #====================================================================
  126. # SCREW ADJUSTMENT
  127. #====================================================================
  128.  
  129. [screws_tilt_adjust]
  130. screw1: 75,35
  131. screw1_name: front left screw
  132. screw2: 75,192
  133. screw2_name: rear left screw
  134. screw3: 230,192
  135. screw3_name: rear right screw
  136. screw4: 230,35
  137. screw4_name: front right screw
  138. horizontal_move_z: 5
  139. speed: 50
  140. screw_thread: CW-M4
  141.  
  142. #====================================================================
  143. # ARC SUPPORT
  144. #====================================================================
  145. [gcode_arcs]
  146. resolution: 0.2
  147.  
  148. #====================================================================
  149. # Stepper X
  150. #====================================================================
  151.  
  152. [stepper_x]
  153. step_pin: PC2
  154. dir_pin: PB9
  155. enable_pin: !PC3
  156. microsteps: 16
  157. rotation_distance: 40
  158. endstop_pin: ^PA5
  159. position_endstop: 0
  160. position_max: 235
  161. homing_speed: 50
  162. position_min: -50
  163.  
  164. #====================================================================
  165. # Stepper y
  166. #====================================================================
  167.  
  168. [stepper_y]
  169. step_pin: PB8
  170. dir_pin: PB7
  171. enable_pin: !PC3
  172. microsteps: 16
  173. rotation_distance: 40
  174. endstop_pin: ^PA6
  175. position_endstop: 0
  176. position_max: 235
  177. homing_speed: 50
  178. position_min: -50
  179.  
  180. #====================================================================
  181. # Stepper Z
  182. #====================================================================
  183.  
  184. [stepper_z]
  185. step_pin: PB6
  186. dir_pin: !PB5
  187. enable_pin: !PC3
  188. microsteps: 16
  189. rotation_distance: 8
  190. endstop_pin: probe:z_virtual_endstop
  191. position_max: 250
  192. position_min: -10
  193.  
  194. #====================================================================
  195. # Extruder Z
  196. #====================================================================
  197.  
  198. [extruder]
  199. max_extrude_only_distance: 200.0
  200. step_pin: PB4
  201. dir_pin: PB3
  202. enable_pin: !PC3
  203. microsteps: 16
  204. rotation_distance: 25.6
  205. #rotation_distance: 34.406 # Initial Settings
  206. nozzle_diameter: 0.400
  207. filament_diameter: 1.750
  208. heater_pin: PA1
  209. sensor_type: EPCOS 100K B57560G104F
  210. sensor_pin: PC5
  211. min_extrude_temp: 170
  212. gear_ratio: 42:12
  213. min_temp: 0
  214. max_temp: 250
  215. pressure_advance: 0.0325
  216. [heater_bed]
  217. heater_pin: PA2
  218. sensor_type: EPCOS 100K B57560G104F
  219. sensor_pin: PC4
  220. control: pid
  221.  
  222. # tuned for stock hardware with 50 degree Celsius target
  223. #pid_Kp: 54.027
  224. #pid_Ki: 0.770
  225. #pid_Kd: 948.182
  226. min_temp: 0
  227. max_temp: 130
  228.  
  229. #====================================================================
  230. # FANS
  231. #====================================================================
  232.  
  233. [fan]
  234. pin: PA0
  235.  
  236. #====================================================================
  237. # MCU
  238. #====================================================================
  239.  
  240. [mcu]
  241. serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
  242. restart_method: command
  243.  
  244.  
  245. #====================================================================
  246. # Printer Limit Settings
  247. #====================================================================
  248.  
  249. [printer]
  250. kinematics: cartesian
  251. max_velocity: 300
  252. max_accel: 3000
  253. max_accel_to_decel: 1000
  254. max_z_velocity: 5
  255. max_z_accel: 100
  256. square_corner_velocity: 5
  257.  
  258. #*# <---------------------- SAVE_CONFIG ---------------------->
  259. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  260. #*#
  261. #*# [bltouch]
  262. #*# z_offset = 3.500
  263. #*#
  264. #*# [extruder]
  265. #*# control = pid
  266. #*# pid_kp = 21.111
  267. #*# pid_ki = 1.224
  268. #*# pid_kd = 91.039
  269. #*#
  270. #*# [heater_bed]
  271. #*# pid_kp = 73.324
  272. #*# pid_ki = 1.347
  273. #*# pid_kd = 998.121
  274. #*#
  275. #*# [bed_mesh default]
  276. #*# version = 1
  277. #*# points =
  278. #*# 0.055000, 0.007500, -0.052500, -0.072500, -0.110000, -0.135000, -0.112500, -0.137500, -0.152500, -0.145000
  279. #*# 0.060000, 0.017500, -0.032500, -0.057500, -0.095000, -0.125000, -0.105000, -0.132500, -0.155000, -0.145000
  280. #*# 0.062500, 0.030000, -0.020000, -0.050000, -0.090000, -0.117500, -0.097500, -0.130000, -0.155000, -0.160000
  281. #*# 0.090000, 0.052500, -0.007500, -0.032500, -0.077500, -0.105000, -0.092500, -0.120000, -0.137500, -0.130000
  282. #*# 0.122500, 0.090000, 0.030000, 0.007500, -0.045000, -0.065000, -0.047500, -0.075000, -0.087500, -0.092500
  283. #*# 0.117500, 0.082500, 0.020000, -0.012500, -0.050000, -0.075000, -0.050000, -0.080000, -0.095000, -0.087500
  284. #*# 0.122500, 0.090000, 0.025000, -0.005000, -0.047500, -0.072500, -0.062500, -0.090000, -0.107500, -0.115000
  285. #*# 0.090000, 0.045000, -0.015000, -0.042500, -0.077500, -0.095000, -0.087500, -0.107500, -0.127500, -0.117500
  286. #*# 0.070000, 0.037500, -0.022500, -0.047500, -0.077500, -0.100000, -0.090000, -0.117500, -0.142500, -0.150000
  287. #*# 0.065000, 0.015000, -0.050000, -0.075000, -0.102500, -0.140000, -0.142500, -0.170000, -0.205000, -0.215000
  288. #*# tension = 0.2
  289. #*# min_x = 15.0
  290. #*# algo = bicubic
  291. #*# y_count = 10
  292. #*# mesh_y_pps = 2
  293. #*# min_y = 15.0
  294. #*# x_count = 10
  295. #*# max_y = 195.0
  296. #*# mesh_x_pps = 2
  297. #*# max_x = 186.0
  298.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement