Skip to content

Instantly share code, notes, and snippets.

@simonbogh
Created March 25, 2024 07:43
Show Gist options
  • Save simonbogh/eef3cdaba4994cc14019e7718ddd183a to your computer and use it in GitHub Desktop.
Save simonbogh/eef3cdaba4994cc14019e7718ddd183a to your computer and use it in GitHub Desktop.
My Creality CR-10 S5 klipper printer settings for OctoPrint
# This file contains pin mappings for the Creality CR-10 S5. To use
# this config, the firmware should be compiled for the AVR atmega2560.
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: PF0
dir_pin: PF1
enable_pin: !PD7
microsteps: 16
rotation_distance: 40
endstop_pin: ^PE5
position_endstop: 0
position_max: 500 # Adjusted for CR-10 S5
homing_speed: 50
[stepper_y]
step_pin: PF6
dir_pin: PF7
enable_pin: !PF2
microsteps: 16
rotation_distance: 40
endstop_pin: ^PJ1
position_endstop: 0
position_max: 500 # Adjusted for CR-10 S5
homing_speed: 50
[stepper_z]
step_pin: PL3
dir_pin: !PL1
enable_pin: !PK0
microsteps: 16
rotation_distance: 8
endstop_pin: ^PD3
position_endstop: 0
position_max: 500 # Adjusted for CR-10 S5
homing_speed: 25 # Reduced Z homing speed for safety
[extruder]
step_pin: PA4
dir_pin: PA6
enable_pin: !PA2
microsteps: 16
rotation_distance: 33.683
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PB4
sensor_type: EPCOS 100K B57560G104F
sensor_pin: PK5
#control: pid
#pid_Kp: 22.2
#pid_Ki: 1.08
#pid_Kd: 114
min_temp: 0
max_temp: 250
[heater_bed]
heater_pin: PH5
sensor_type: ATC Semitec 104GT-2
sensor_pin: PK6
#control: pid
#pid_Kp: 690.34
#pid_Ki: 111.47
#pid_Kd: 1068.83
min_temp: 0
max_temp: 60
[fan]
pin: PH6
[mcu]
serial: /dev/ttyUSB0
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100
[display]
lcd_type: st7920
cs_pin: PH1
sclk_pin: PA1
sid_pin: PH0
encoder_pins: ^PC4, ^PC6
click_pin: ^!PC2
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [extruder]
#*# control = pid
#*# pid_kp = 28.456
#*# pid_ki = 1.482
#*# pid_kd = 136.588
#*#
#*# [heater_bed]
#*# control = pid
#*# pid_kp = 690.000
#*# pid_ki = 110.000
#*# pid_kd = 1070.000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment