Tom_Neverwinter

Creality Ender 3 S1 Pro [Klipper] 11032025

Jun 9th, 2025 (edited)
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.90 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: 240
  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. [extruder]
  60. step_pin: PB4
  61. dir_pin: PB3
  62. enable_pin: !PC3
  63. microsteps: 16
  64. gear_ratio: 42:12
  65. rotation_distance: 26.3952
  66. nozzle_diameter: 0.400
  67. filament_diameter: 1.750
  68. heater_pin: PA1
  69. #sensor_type: EPCOS 100K B57560G104F
  70. sensor_type: Generic 3950
  71. sensor_pin: PC5
  72. # control = pid
  73. # pid_kp = 22.472
  74. # pid_ki = 1.161
  75. # pid_kd = 108.708
  76. min_temp: 0
  77. max_temp: 300
  78. pressure_advance = 0.0950
  79.  
  80. [heater_bed]
  81. heater_pin: PA7
  82. sensor_type: EPCOS 100K B57560G104F
  83. sensor_pin: PC4
  84. control = pid
  85. pid_kp = 81.000 # Increased from 73.609
  86. pid_ki = 1.616 # Increased from 1.469
  87. pid_kd = 1014.000 # Increased from 921.956
  88. min_temp: 0
  89. max_temp: 110
  90.  
  91. # Note: PID values adjusted to compensate for ~8°C temperature offset
  92.  
  93. [verify_heater extruder]
  94. check_gain_time: 200
  95. hysteresis: 5
  96.  
  97. [heater_fan hotend_fan]
  98. pin: PC0
  99.  
  100. [fan]
  101. pin: PA0
  102.  
  103. [mcu]
  104. serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
  105. restart_method: command
  106.  
  107. [include PIS.cfg]
  108.  
  109. [printer]
  110. kinematics: cartesian
  111. max_velocity: 300
  112. max_accel: 2000
  113. max_z_velocity: 10
  114. max_z_accel: 200
  115.  
  116. [bltouch]
  117. sensor_pin: ^PC14 # Add inversion to sensor
  118. control_pin: PC13 # Keep as working
  119. x_offset: -31.8
  120. y_offset: -40.5
  121. #z_offset = 4.000
  122. speed:10
  123. samples:1
  124. samples_result:average
  125. probe_with_touch_mode: true
  126. stow_on_each_sample: false
  127.  
  128. [include mainsail.cfg]
  129.  
  130. [safe_z_home]
  131. home_xy_position: 147,154
  132. speed: 100
  133. z_hop: 10
  134. z_hop_speed: 5
  135.  
  136. [bed_mesh]
  137. speed: 120
  138. mesh_min: 20, 20
  139. mesh_max: 200, 184.5
  140. probe_count: 11,11
  141. algorithm: bicubic
  142.  
  143. [gcode_macro TILT_ADJUST]
  144. description: Start screws tilt adjust
  145. gcode:
  146. SCREWS_TILT_CALCULATE
  147.  
  148. [screws_tilt_adjust]
  149. screw1: 50, 67
  150. screw1_name: front left
  151. screw2: 226, 67
  152. screw2_name: front right
  153. screw3: 226, 225
  154. screw3_name: back right
  155. screw4: 50, 225
  156. screw4_name: back left
  157. horizontal_move_z: 10.
  158. speed: 50.
  159. screw_thread: CW-M3
  160.  
  161.  
  162. [exclude_object]
  163.  
  164. # This file contains all settings for KAMP, and must be included in printer.cfg with:
  165.  
  166. [include KAMP_Settings.cfg]
  167.  
  168. ### see KAMP_Settings.cfg. for its settings ###
  169.  
  170. [temperature_sensor Raspberry_Pi]
  171. sensor_type: temperature_host
  172. min_temp: 0
  173. max_temp: 85
  174.  
  175. [virtual_sdcard]
  176. path: /home/pi/printer_data/gcodes
  177.  
  178. [display_status]
  179.  
  180. [filament_switch_sensor e0_sensor]
  181. switch_pin: !PC15
  182. pause_on_runout: true
  183. runout_gcode: PAUSE
  184.  
  185. [pause_resume]
  186. recover_velocity: 25
  187.  
  188. #*# <---------------------- SAVE_CONFIG ---------------------->
  189. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  190. #*#
  191. #*# [extruder]
  192. #*# control = pid
  193. #*# pid_kp = 21.734
  194. #*# pid_ki = 1.050
  195. #*# pid_kd = 112.471
  196. #*#
  197. #*# [heater_bed]
  198. #*#
  199. #*# [bed_mesh default]
  200. #*# version = 1
  201. #*# points =
  202. #*# 0.012500, -0.007500, -0.035000, -0.077500, -0.145000, -0.092500, -0.057500, -0.047500, 0.002500, 0.180000, 0.282500
  203. #*# -0.002500, -0.025000, -0.052500, -0.122500, -0.167500, -0.127500, -0.082500, -0.075000, -0.007500, 0.170000, 0.300000
  204. #*# -0.000000, -0.022500, -0.090000, -0.132500, -0.197500, -0.100000, -0.142500, -0.100000, -0.052500, 0.057500, 0.087500
  205. #*# 0.020000, 0.050000, -0.035000, -0.105000, -0.115000, -0.065000, -0.112500, -0.022500, -0.015000, 0.005000, 0.087500
  206. #*# 0.032500, -0.030000, -0.040000, -0.077500, -0.097500, -0.085000, -0.037500, -0.037500, -0.042500, 0.072500, 0.182500
  207. #*# 0.030000, 0.007500, -0.040000, -0.062500, -0.097500, -0.060000, -0.047500, -0.010000, -0.022500, 0.122500, 0.107500
  208. #*# 0.035000, -0.015000, 0.012500, -0.015000, -0.115000, -0.072500, -0.017500, -0.005000, 0.012500, 0.077500, 0.182500
  209. #*# 0.030000, -0.010000, -0.010000, -0.087500, -0.097500, -0.062500, -0.022500, -0.040000, 0.005000, 0.032500, 0.160000
  210. #*# 0.010000, 0.012500, -0.042500, -0.090000, -0.137500, -0.072500, -0.032500, 0.005000, -0.005000, 0.082500, 0.167500
  211. #*# -0.012500, -0.027500, -0.085000, -0.097500, -0.130000, -0.080000, -0.140000, 0.010000, -0.005000, 0.052500, 0.155000
  212. #*# -0.095000, -0.092500, -0.135000, -0.180000, -0.185000, -0.140000, -0.107500, -0.055000, -0.092500, -0.027500, 0.037500
  213. #*# x_count = 11
  214. #*# y_count = 11
  215. #*# mesh_x_pps = 2
  216. #*# mesh_y_pps = 2
  217. #*# algo = bicubic
  218. #*# tension = 0.2
  219. #*# min_x = 20.0
  220. #*# max_x = 200.0
  221. #*# min_y = 20.0
  222. #*# max_y = 184.49999999999997
  223. #*#
  224. #*# [bltouch]
  225. #*# z_offset = 2.915
  226.  
Advertisement
Add Comment
Please, Sign In to add comment