Tom_Neverwinter

Creality Ender 3 S1 Pro [Klipper]

Oct 2nd, 2023 (edited)
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.79 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. # This file contains pin mappings for the stock 2021 Creality Ender 3
  5. # S1 & S1 Pro. To use this config, check the STM32 Chip on the
  6. # Mainboard, during "make menuconfig" select accordingly either the
  7. # STM32F103 with "28KiB bootloader" or the STM32F401 with
  8. # "64KiB bootloader" and serial (on USART1 PA10/PA9) for both.
  9.  
  10. # For a direct serial connection, in "make menuconfig" select
  11. # "Enable extra low-level configuration options" and Serial
  12. # (on USART2 PA3/PA2), which is on the 10 pin IDC cable used
  13. # for the LCD module as follows: 3: Tx, 4: Rx, 9: GND, 10: VCC
  14.  
  15. # Flash this firmware by copying "out/klipper.bin" to a SD card and
  16. # turning on the printer with the card inserted. The filename
  17. # must be changed to "firmware.bin"
  18.  
  19. # With STM32F401, you might need to put "firmware.bin" in a
  20. # folder on the SD card called "STM32F4_UPDATE" in order to flash.
  21.  
  22. # See docs/Config_Reference.md for a description of parameters.
  23.  
  24.  
  25. [stepper_x]
  26. step_pin: PC2
  27. dir_pin: PB9
  28. enable_pin: !PC3
  29. microsteps: 16
  30. rotation_distance: 40
  31. endstop_pin: !PA5
  32. position_endstop: -10
  33. position_max: 250
  34. position_min: -15
  35. homing_speed: 50
  36.  
  37. [stepper_y]
  38. step_pin: PB8
  39. dir_pin: PB7
  40. enable_pin: !PC3
  41. microsteps: 16
  42. rotation_distance: 40
  43. endstop_pin: !PA6
  44. position_endstop: -10
  45. position_max: 225
  46. position_min: -15
  47. homing_speed: 50
  48.  
  49. [stepper_z]
  50. step_pin: PB6
  51. dir_pin: !PB5
  52. enable_pin: !PC3
  53. microsteps: 16
  54. rotation_distance: 8
  55. endstop_pin: probe:z_virtual_endstop
  56. position_max: 270
  57. position_min: -4
  58.  
  59. # check your ribbon cable if failure
  60. [extruder]
  61. step_pin: PB4
  62. dir_pin: PB3
  63. enable_pin: !PC3
  64. microsteps: 16
  65. gear_ratio: 42:12
  66. rotation_distance: 26.359
  67. nozzle_diameter: 0.400
  68. filament_diameter: 1.750
  69. heater_pin: PA1
  70. #sensor_type: EPCOS 100K B57560G104F
  71. sensor_type: Generic 3950
  72. sensor_pin: PC5
  73. # control = pid
  74. # pid_kp = 22.472
  75. # pid_ki = 1.161
  76. # pid_kd = 108.708
  77. min_temp: 0
  78. max_temp: 300
  79. pressure_advance = 0.0950
  80.  
  81. [heater_bed]
  82. heater_pin: PA7
  83. sensor_type: EPCOS 100K B57560G104F
  84. sensor_pin: PC4
  85. # control = pid
  86. # pid_kp = 73.609
  87. # pid_ki = 1.469
  88. # pid_kd = 921.956
  89. min_temp: 0
  90. max_temp: 110
  91.  
  92. [verify_heater extruder]
  93. check_gain_time: 200
  94. hysteresis: 5
  95.  
  96. [heater_fan hotend_fan]
  97. pin: PC0
  98.  
  99. [fan]
  100. pin: PA0
  101.  
  102. [mcu]
  103. serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
  104. restart_method: command
  105.  
  106. [printer]
  107. kinematics: cartesian
  108. max_velocity: 300
  109. max_accel: 2000
  110. max_z_velocity: 5
  111. max_z_accel: 100
  112.  
  113. [bltouch]
  114. sensor_pin: ^PC14
  115. control_pin: PC13
  116. x_offset: -31.8
  117. y_offset: -40.5
  118. #z_offset = 4.000
  119. speed:10
  120. samples:1
  121. samples_result:average
  122. probe_with_touch_mode: true
  123. stow_on_each_sample: true
  124.  
  125. [include mainsail.cfg]
  126.  
  127. [safe_z_home]
  128. home_xy_position: 147,154
  129. speed: 100
  130. z_hop: 10
  131. z_hop_speed: 5
  132.  
  133. [bed_mesh]
  134. speed: 120
  135. mesh_min: 20, 20
  136. mesh_max: 200, 184.5
  137. probe_count: 11,11
  138. algorithm: bicubic
  139.  
  140. [gcode_macro TILT_ADJUST]
  141. description: Start screws tilt adjust
  142. gcode:
  143. SCREWS_TILT_CALCULATE
  144.  
  145. [screws_tilt_adjust]
  146. screw1: 50, 67
  147. screw1_name: front left
  148. screw2: 226, 67
  149. screw2_name: front right
  150. screw3: 226, 225
  151. screw3_name: back right
  152. screw4: 50, 225
  153. screw4_name: back left
  154. horizontal_move_z: 10.
  155. speed: 50.
  156. screw_thread: CW-M3
  157.  
  158.  
  159. [exclude_object]
  160.  
  161. # This file contains all settings for KAMP, and must be included in printer.cfg with:
  162.  
  163. [include KAMP_Settings.cfg]
  164.  
  165. ### see KAMP_Settings.cfg. for its settings ###
  166.  
  167. [temperature_sensor Raspberry_Pi]
  168. sensor_type: temperature_host
  169. min_temp: 0
  170. max_temp: 100
  171.  
  172. [virtual_sdcard]
  173. path: /home/pi/printer_data/gcodes
  174.  
  175. [display_status]
  176.  
  177. [filament_switch_sensor e0_sensor]
  178. switch_pin: !PC15
  179. pause_on_runout: true
  180. runout_gcode: PAUSE
  181.  
  182. [pause_resume]
  183. recover_velocity: 25
  184.  
  185. #*# <---------------------- SAVE_CONFIG ---------------------->
  186. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  187. #*#
  188. #*# [extruder]
  189. #*# control = pid
  190. #*# pid_kp = 22.472
  191. #*# pid_ki = 1.161
  192. #*# pid_kd = 108.708
  193. #*#
  194. #*# [heater_bed]
  195. #*# control = pid
  196. #*# pid_kp = 73.609
  197. #*# pid_ki = 1.469
  198. #*# pid_kd = 921.956
  199. #*#
  200. #*# [bed_mesh default]
  201. #*# version = 1
  202. #*# points =
  203. #*# 0.117500, 0.040000, 0.045000, -0.072500, -0.065000, -0.110000, -0.065000, -0.120000, -0.027500, 0.042500, 0.132500
  204. #*# 0.092500, 0.010000, 0.042500, -0.102500, -0.110000, -0.155000, -0.080000, -0.142500, -0.012500, 0.022500, 0.127500
  205. #*# 0.142500, 0.035000, 0.012500, -0.102500, -0.052500, -0.097500, -0.035000, -0.105000, 0.002500, 0.040000, 0.147500
  206. #*# 0.180000, 0.077500, 0.090000, -0.057500, -0.030000, -0.060000, -0.020000, -0.085000, 0.022500, 0.062500, 0.150000
  207. #*# 0.190000, 0.085000, 0.090000, -0.027500, -0.017500, -0.050000, 0.005000, -0.042500, 0.060000, 0.102500, 0.180000
  208. #*# 0.190000, 0.067500, 0.062500, -0.040000, -0.020000, -0.047500, 0.027500, -0.012500, 0.067500, 0.117500, 0.205000
  209. #*# 0.175000, 0.097500, 0.097500, -0.012500, 0.002500, -0.010000, 0.042500, -0.007500, 0.077500, 0.120000, 0.215000
  210. #*# 0.172500, 0.087500, 0.065000, -0.032500, 0.015000, -0.012500, 0.025000, -0.005000, 0.080000, 0.115000, 0.217500
  211. #*# 0.150000, 0.092500, 0.077500, 0.012500, 0.027500, -0.010000, 0.042500, -0.000000, 0.090000, 0.127500, 0.192500
  212. #*# 0.122500, 0.045000, 0.047500, -0.037500, -0.022500, -0.032500, 0.030000, -0.000000, 0.122500, 0.110000, 0.240000
  213. #*# 0.067500, 0.007500, -0.012500, -0.097500, -0.065000, -0.085000, -0.007500, -0.057500, 0.070000, 0.055000, 0.127500
  214. #*# x_count = 11
  215. #*# y_count = 11
  216. #*# mesh_x_pps = 2
  217. #*# mesh_y_pps = 2
  218. #*# algo = bicubic
  219. #*# tension = 0.2
  220. #*# min_x = 19.999999999999996
  221. #*# max_x = 200.0
  222. #*# min_y = 20.0
  223. #*# max_y = 184.5
  224. #*#
  225. #*# [bltouch]
  226. #*# z_offset = 3.550
Advertisement
Add Comment
Please, Sign In to add comment