Advertisement
Tom_Neverwinter

Creality Ender 3 S1 Pro [Klipper]

Oct 2nd, 2023 (edited)
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.32 KB | None | 0 0
  1. ##################Creality Ender 3 S1 Pro Klipper Config - Enhanced Version###############
  2. ######Full guide: https://3dprintbeginner.com/how-to-install-klipper-on-ender-3-s1/######
  3.  
  4. [stepper_x]
  5. step_pin: PC2
  6. dir_pin: PB9
  7. enable_pin: !PC3
  8. microsteps: 16
  9. rotation_distance: 40
  10. endstop_pin: !PA5
  11. position_endstop: -10
  12. position_max: 250
  13. position_min: -15
  14. homing_speed: 50
  15.  
  16. [stepper_y]
  17. step_pin: PB8
  18. dir_pin: PB7
  19. enable_pin: !PC3
  20. microsteps: 16
  21. rotation_distance: 40
  22. endstop_pin: !PA6
  23. position_endstop: -10
  24. position_max: 225
  25. position_min: -15
  26. homing_speed: 50
  27.  
  28. [stepper_z]
  29. step_pin: PB6
  30. dir_pin: !PB5
  31. enable_pin: !PC3
  32. microsteps: 16
  33. rotation_distance: 8
  34. endstop_pin: probe:z_virtual_endstop
  35. position_max: 270
  36. position_min: -4
  37.  
  38. [extruder]
  39. step_pin: PB4
  40. dir_pin: PB3
  41. enable_pin: !PC3
  42. microsteps: 16
  43. gear_ratio: 42:12
  44. rotation_distance: 26.359
  45. nozzle_diameter: 0.400
  46. filament_diameter: 1.750
  47. heater_pin: PA1
  48. sensor_type: EPCOS 100K B57560G104F
  49. sensor_pin: PC5
  50. # control = pid
  51. # pid_kp = 22.472
  52. # pid_ki = 1.161
  53. # pid_kd = 108.708
  54. min_temp: 0
  55. max_temp: 300
  56. pressure_advance = 0.0950
  57.  
  58. [heater_bed]
  59. heater_pin: PA7
  60. sensor_type: EPCOS 100K B57560G104F
  61. sensor_pin: PC4
  62. # control = pid
  63. # pid_kp = 73.609
  64. # pid_ki = 1.469
  65. # pid_kd = 921.956
  66. min_temp: 0
  67. max_temp: 110
  68.  
  69. [verify_heater extruder]
  70. check_gain_time: 200
  71. hysteresis: 5
  72.  
  73. [heater_fan hotend_fan]
  74. pin: PC0
  75.  
  76. [fan]
  77. pin: PA0
  78.  
  79. [mcu]
  80. serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
  81. restart_method: command
  82.  
  83. [printer]
  84. kinematics: cartesian
  85. max_velocity: 300
  86. max_accel: 2000
  87. max_z_velocity: 5
  88. max_z_accel: 100
  89.  
  90. [bltouch]
  91. sensor_pin: ^PC14
  92. control_pin: PC13
  93. x_offset: -31.8
  94. y_offset: -40.5
  95. #z_offset = 4.000
  96. speed:10
  97. samples:1
  98. samples_result:average
  99. probe_with_touch_mode: true
  100. stow_on_each_sample: true
  101.  
  102. [include mainsail.cfg]
  103.  
  104. [safe_z_home]
  105. home_xy_position: 147,154
  106. speed: 100
  107. z_hop: 10
  108. z_hop_speed: 5
  109.  
  110. [bed_mesh]
  111. speed: 120
  112. mesh_min: 20, 20
  113. mesh_max: 200, 184.5
  114. probe_count: 11,11
  115. algorithm: bicubic
  116.  
  117. [gcode_macro TILT_ADJUST]
  118. description: Start screws tilt adjust
  119. gcode:
  120. SCREWS_TILT_CALCULATE
  121.  
  122. [screws_tilt_adjust]
  123. screw1: 50, 67
  124. screw1_name: front left
  125. screw2: 226, 67
  126. screw2_name: front right
  127. screw3: 226, 225
  128. screw3_name: back right
  129. screw4: 50, 225
  130. screw4_name: back left
  131. horizontal_move_z: 10.
  132. speed: 50.
  133. screw_thread: CW-M3
  134.  
  135.  
  136. [exclude_object]
  137.  
  138. # This file contains all settings for KAMP, and must be included in printer.cfg with:
  139.  
  140. [include KAMP_Settings.cfg]
  141.  
  142. ### see KAMP_Settings.cfg. for its settings ###
  143.  
  144. [temperature_sensor Raspberry_Pi]
  145. sensor_type: temperature_host
  146. min_temp: 0
  147. max_temp: 100
  148.  
  149. [virtual_sdcard]
  150. path: /home/pi/printer_data/gcodes
  151.  
  152. [display_status]
  153.  
  154. [filament_switch_sensor RunoutSensor]
  155. # Set to 'True' to enable automatic pausing when filament runs out.
  156. pause_on_runout: True
  157. runout_gcode: PAUSE_PRINT
  158. insert_gcode: RESUME_PRINT
  159. switch_pin: !PC15
  160.  
  161. [gcode_macro PAUSE]
  162. description: Pause the actual running print
  163. rename_existing: PAUSE_BASE
  164. gcode:
  165. PAUSE_BASE
  166. _TOOLHEAD_PARK_PAUSE_CANCEL
  167.  
  168. [gcode_macro RESUME]
  169. description: Resume the actual running print
  170. rename_existing: RESUME_BASE
  171. gcode:
  172. ##### read extrude from _TOOLHEAD_PARK_PAUSE_CANCEL macro #####
  173. {% set extrude = printer['gcode_macro _TOOLHEAD_PARK_PAUSE_CANCEL'].extrude %}
  174.  
  175. #### get VELOCITY parameter if specified ####
  176. {% if 'VELOCITY' in params|upper %}
  177. {% set get_params = ('VELOCITY=' + params.VELOCITY) %}
  178. {% else %}
  179. {% set get_params = "" %}
  180. {% endif %}
  181. ##### end of definitions #####
  182.  
  183. {% if printer.extruder.can_extrude|lower == 'true' %}
  184. M83 ; Set extruder to relative mode
  185. G1 E{extrude} F2100 ; Extrude the specified amount
  186. {% if printer.gcode_move.absolute_extrude |lower == 'true' %} M82 {% endif %} ; Set extruder to absolute mode if needed
  187. {% else %}
  188. {action_respond_info("Extruder not hot enough")}
  189. {% endif %}
  190.  
  191. RESUME_BASE {get_params}
  192.  
  193. [gcode_macro CANCEL_PRINT]
  194. description: Advanced Cancel Print
  195. rename_existing: CANCEL_PRINT_BASE
  196. variable_park: True
  197. gcode:
  198. {% if printer.idle_timeout.state == 'Printing' and park|lower == 'true' %}
  199. PAUSE_PRINT ; Invoke the PAUSE_PRINT macro if printing is active
  200. {% endif %}
  201. TURN_OFF_HEATERS ; Turn off all heaters
  202. CANCEL_PRINT_BASE ; Call the base cancel print functionality
  203. {action_respond_info("Print Cancelled.")}
  204.  
  205. #*# <---------------------- SAVE_CONFIG ---------------------->
  206. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  207. #*#
  208. #*# [extruder]
  209. #*# control = pid
  210. #*# pid_kp = 22.472
  211. #*# pid_ki = 1.161
  212. #*# pid_kd = 108.708
  213. #*#
  214. #*# [heater_bed]
  215. #*# control = pid
  216. #*# pid_kp = 73.609
  217. #*# pid_ki = 1.469
  218. #*# pid_kd = 921.956
  219. #*#
  220. #*# [bed_mesh default]
  221. #*# version = 1
  222. #*# points =
  223. #*# 0.032500, 0.057500, 0.077500, -0.055000, -0.092500, -0.102500, -0.107500, -0.047500, -0.020000, 0.092500, 0.127500
  224. #*# 0.037500, -0.015000, -0.080000, -0.085000, -0.117500, -0.120000, -0.127500, -0.057500, -0.002500, 0.065000, 0.110000
  225. #*# 0.042500, 0.020000, -0.037500, -0.072500, -0.090000, -0.040000, -0.087500, -0.015000, 0.040000, 0.187500, 0.142500
  226. #*# 0.090000, 0.045000, -0.022500, -0.082500, -0.075000, -0.025000, -0.055000, 0.067500, 0.127500, 0.212500, 0.110000
  227. #*# 0.110000, 0.060000, 0.032500, -0.022500, -0.012500, 0.005000, 0.015000, 0.070000, 0.067500, 0.205000, 0.167500
  228. #*# 0.125000, 0.035000, -0.035000, -0.047500, -0.090000, -0.015000, 0.002500, 0.027500, 0.137500, 0.205000, 0.195000
  229. #*# 0.125000, 0.057500, 0.065000, 0.007500, 0.002500, -0.027500, -0.045000, 0.120000, 0.062500, 0.155000, 0.200000
  230. #*# 0.130000, 0.162500, 0.037500, -0.102500, -0.120000, -0.025000, 0.067500, 0.005000, 0.080000, 0.140000, 0.170000
  231. #*# 0.155000, 0.135000, 0.060000, -0.050000, -0.037500, -0.010000, -0.000000, -0.027500, 0.050000, 0.197500, 0.185000
  232. #*# 0.122500, 0.140000, 0.005000, -0.030000, -0.030000, -0.030000, -0.005000, 0.005000, 0.057500, 0.150000, 0.220000
  233. #*# 0.005000, 0.007500, -0.050000, -0.095000, -0.032500, -0.100000, -0.125000, -0.105000, -0.035000, 0.075000, 0.092500
  234. #*# x_count = 11
  235. #*# y_count = 11
  236. #*# mesh_x_pps = 2
  237. #*# mesh_y_pps = 2
  238. #*# algo = bicubic
  239. #*# tension = 0.2
  240. #*# min_x = 19.999999999999996
  241. #*# max_x = 200.0
  242. #*# min_y = 20.0
  243. #*# max_y = 184.5
  244. #*#
  245. #*# [bltouch]
  246. #*# z_offset = 3.905
  247.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement