Skip to content

Instantly share code, notes, and snippets.

@Disane87
Created December 5, 2023 15:39
Show Gist options
  • Save Disane87/4d7f88bfad225ccff7c63287190c3b21 to your computer and use it in GitHub Desktop.
Save Disane87/4d7f88bfad225ccff7c63287190c3b21 to your computer and use it in GitHub Desktop.
Creality Ender 3S1 Klipper
##################Creality Ender 3 S1 Klipper Config - 3DPrintBeginner###################
######Full guide: https://3dprintbeginner.com/how-to-install-klipper-on-ender-3-s1/######
[stepper_x]
step_pin: PC2
dir_pin: PB9
enable_pin: !PC3
microsteps: 16
rotation_distance: 40
endstop_pin: !PA5
position_endstop: -10
position_min: -15
position_max: 254
homing_speed: 50
[stepper_y]
step_pin: PB8
dir_pin: PB7
enable_pin: !PC3
microsteps: 16
rotation_distance: 40
endstop_pin: !PA6
position_endstop: -8
position_max: 238
position_min: -13
homing_speed: 50
[stepper_z]
step_pin: PB6
dir_pin: !PB5
enable_pin: !PC3
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
position_max: 270
position_min: -5
[extruder]
step_pin: PB4
dir_pin: PB3
enable_pin: !PC3
microsteps: 16
gear_ratio: 42:12
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PA1
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC5
rotation_distance: 25.5390
max_extrude_only_distance: 80.0
#control: pid
#pid_Kp: 22.865
#pid_Ki: 1.292
#pid_Kd: 101.178
min_temp: 0
max_temp: 260
pressure_advance = 0.12
[filament_switch_sensor RunoutSensor]
switch_pin: !PC15
pause_on_runout: true
runout_gcode: PAUSE
[pause_resume]
recover_velocity: 25
[heater_bed]
heater_pin: PA7
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PC4
#control: pid
#pid_Kp: 69.139
#pid_Ki: 1.273
#pid_Kd: 938.565
min_temp: 0
max_temp: 100
[heater_fan hotend_fan]
pin: PC0
heater: extruder
heater_temp: 50.0
[fan]
pin: PA0
[mcu]
serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
restart_method: command
[printer]
kinematics: cartesian
max_velocity: 500
max_accel: 2000
max_z_velocity: 5
max_z_accel: 100
max_accel_to_decel: 3000
square_corner_velocity: 5.0
[bltouch]
sensor_pin: ^PC14
control_pin: PC13
#x_offset: -32
#y_offset: -41
x_offset: -47
y_offset: 0
#z_offset: 0
speed:35
samples:3
samples_result: median
samples_tolerance: 0.0075
samples_tolerance_retries: 10
probe_with_touch_mode: true
stow_on_each_sample: false
[safe_z_home]
home_xy_position: 160,113
speed: 100
z_hop: 10
z_hop_speed: 5
[bed_mesh]
speed: 120
mesh_min: 35, 35
#relative_reference_index: 45
mesh_max: 190, 210
algorithm: bicubic
probe_count: 4
#fade_start: 1
#fade_end: 3
#fade_target: 0
#faulty_region_1_min: 10, 25
#faulty_region_1_max: 219, 25
#faulty_region_2_min: 220, 27
#faulty_region_2_max: 220, 220
[temperature_sensor Board_MCU]
sensor_type: temperature_mcu
min_temp: 0
max_temp: 100
[temperature_sensor Raspberry_Pi]
sensor_type: temperature_host
min_temp: 0
max_temp: 100
[bed_screws]
screw1: 32, 35
screw2: 205, 35
screw3: 205, 202
screw4: 32, 202
[screws_tilt_adjust]
#screw1: 64, 76
#screw1_name: front left screw
#screw2: 237, 76
#screw2_name: front right screw
#screw3: 237, 230
#screw3_name: rear right screw
#screw4: 60, 230
#screw4_name: rear left screw
screw1: 68, 35
screw1_name: front left screw
screw2: 245, 35
screw2_name: front right screw
screw3: 245, 200
screw3_name: rear right screw
screw4: 68, 200
screw4_name: rear left screw
horizontal_move_z: 10.
speed: 50.
screw_thread: CW-M3 # Use CW for Clowise and CCW for Counter Clockwise
[virtual_sdcard]
path: /home/disane/printer_data/gcodes
[display_status]
[pause_resume]
[include timelapse.cfg]
#[include klipper_screens.cfg]
[include custom_macros.cfg]
[include macros/*.cfg]
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 24.316
#*# pid_ki = 1.559
#*# pid_kd = 94.833
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 70.223
#*# pid_ki = 1.265
#*# pid_kd = 974.341
#*#
#*# [bltouch]
#*# z_offset = 3.610
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.076250, 0.093750, 0.075000, 0.073750
#*# 0.033750, 0.020000, -0.002500, -0.030000
#*# 0.052500, 0.045000, -0.002500, -0.031250
#*# 0.076250, 0.102500, 0.057500, 0.062500
#*# x_count = 4
#*# y_count = 4
#*# mesh_x_pps = 2
#*# mesh_y_pps = 2
#*# algo = bicubic
#*# tension = 0.2
#*# min_x = 35.0
#*# max_x = 189.97
#*# min_y = 35.0
#*# max_y = 209.99
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment