Skip to content

Instantly share code, notes, and snippets.

@nLight
Last active June 23, 2025 10:34
Show Gist options
  • Select an option

  • Save nLight/5e5eba384fdea1d17a7c9dd06aea9581 to your computer and use it in GitHub Desktop.

Select an option

Save nLight/5e5eba384fdea1d17a7c9dd06aea9581 to your computer and use it in GitHub Desktop.
Creality CR10 Mini SKR1.4 Klippper config
# Paste here and save your klipper configuration
# This file contains common pin mappings for the BIGTREETECH SKR V1.4
# board. To use this config, the firmware should be compiled for the
# LPC1768 or LPC1769(Turbo).
# See docs/Config_Reference.md for a description of parameters.
[stepper_x]
step_pin: P2.2
dir_pin: !P2.6
enable_pin: !P2.1
microsteps: 16
rotation_distance: 40
endstop_pin: P1.29 #tmc2130_stepper_x:virtual_endstop
position_max: 300
position_endstop: 0
homing_speed: 50
homing_retract_dist: 5
[stepper_y]
step_pin: P0.19
dir_pin: !P0.20
enable_pin: !P2.8
microsteps: 16
rotation_distance: 40
endstop_pin: P1.28 #tmc2130_stepper_y:virtual_endstop
position_max: 220
position_endstop: 0
homing_speed: 50
homing_retract_dist: 5
[stepper_z]
step_pin: P0.22
dir_pin: P2.11
enable_pin: !P0.21
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
position_max: 300
[stepper_z1]
step_pin: P1.15
dir_pin: !P1.14
enable_pin: !P1.16
microsteps: 16
rotation_distance: 8
endstop_pin: probe:z_virtual_endstop
[extruder]
step_pin: P2.13
dir_pin: P0.11
enable_pin: !P2.12
microsteps: 16
rotation_distance: 7.59
nozzle_diameter: 0.6
filament_diameter: 1.750
heater_pin: P2.7
sensor_type: EPCOS 100K B57560G104F
sensor_pin: P0.24
control: pid
pid_Kp: 22.2
pid_Ki: 1.08
pid_Kd: 114
min_temp: 0
max_temp: 260
#[extruder1]
#step_pin: P1.15
#dir_pin: P1.14
#enable_pin: !P1.16
#heater_pin: P2.4
#sensor_pin: P0.23
#...
[bltouch]
sensor_pin: ^P0.10
control_pin: P2.0
x_offset: 36
y_offset: -9
#z_offset: 3
pin_up_touch_mode_reports_triggered: False
pin_move_time: 0.5
stow_on_each_sample: False
probe_with_touch_mode: True
[safe_z_home]
home_xy_position: 150, 100 # Change coordinates to the center of your print bed
speed: 50
z_hop: 10 # Move up 10mm
z_hop_speed: 5
[heater_bed]
heater_pin: P2.5
sensor_type: Generic 3950
sensor_pin: P0.25
control: pid
pid_Kp: 54.027
pid_Ki: 0.770
pid_Kd: 948.182
min_temp: 0
max_temp: 130
[fan]
pin: P2.3
[heater_fan heatbreak_cooling_fan]
pin: P2.4
#max_power:
#shutdown_speed:
#cycle_time:
#hardware_pwm:
#kick_start_time:
#off_below:
#tachometer_pin:
#tachometer_ppr:
#tachometer_poll_interval:
#enable_pin:
# See the "fan" section for a description of the above parameters.
heater: extruder
# Name of the config section defining the heater that this fan is
# associated with. If a comma separated list of heater names is
# provided here, then the fan will be enabled when any of the given
# heaters are enabled. The default is "extruder".
heater_temp: 50.0
# A temperature (in Celsius) that the heater must drop below before
# the fan is disabled. The default is 50 Celsius.
#fan_speed: 1.0
# The fan speed (expressed as a value from 0.0 to 1.0) that the fan
# will be set to when its associated heater is enabled. The default
# is 1.0
[mcu]
serial:/dev/serial/by-id/usb-Klipper_lpc1768_1240011327903CAF14B96D5CC02000F5-if00
[printer]
kinematics: cartesian
max_velocity: 400
max_accel: 500
max_z_velocity: 10
max_z_accel: 100
[force_move]
enable_force_move: True
#[display] # CR10 config
#lcd_type: st7920
#cs_pin: PA3
#sclk_pin: PA1
#sid_pin: PC1
#encoder_pins: ^PD2, ^PD3
#click_pin: ^!PC0
[bed_mesh]
speed: 120
horizontal_move_z: 5
mesh_min: 40, 20
mesh_max: 280, 180
probe_count: 5, 3
mesh_pps: 2, 3
algorithm: bicubic
bicubic_tension: 0.2
########################################
# TMC2130 configuration
########################################
[tmc2130 stepper_x]
cs_pin: P1.10
diag1_pin: P1.29
spi_software_miso_pin: P0.5
spi_software_mosi_pin: P1.17
spi_software_sclk_pin: P0.4
run_current: 0.800
stealthchop_threshold: 999999
driver_SGT: -10 # -64 is most sensitive value, 63 is least sensitive
[tmc2130 stepper_y]
cs_pin: P1.9
diag1_pin: P1.28
spi_software_miso_pin: P0.5
spi_software_mosi_pin: P1.17
spi_software_sclk_pin: P0.4
run_current: 0.800
stealthchop_threshold: 999999
driver_SGT: -10 # -64 is most sensitive value, 63 is least sensitive
[tmc2130 stepper_z]
cs_pin: P1.8
diag1_pin: P1.27
spi_software_miso_pin: P0.5
spi_software_mosi_pin: P1.17
spi_software_sclk_pin: P0.4
run_current: 0.650
stealthchop_threshold: 999999
[tmc2130 stepper_z1]
cs_pin: P1.1
diag1_pin: P1.25
spi_software_miso_pin: P0.5
spi_software_mosi_pin: P1.17
spi_software_sclk_pin: P0.4
run_current: 0.650
stealthchop_threshold: 999999
[tmc2130 extruder]
cs_pin: P1.4
spi_software_miso_pin: P0.5
spi_software_mosi_pin: P1.17
spi_software_sclk_pin: P0.4
run_current: 0.800
stealthchop_threshold: 999999
diag1_pin: P1.26
########################################
# EXP1 / EXP2 (display) pins
########################################
[board_pins]
aliases:
# EXP1 header
EXP1_1=P1.30, EXP1_3=P1.18, EXP1_5=P1.20, EXP1_7=P1.22, EXP1_9=<GND>,
EXP1_2=P0.28, EXP1_4=P1.19, EXP1_6=P1.21, EXP1_8=P1.23, EXP1_10=<5V>,
# EXP2 header
# EXP2_1=P0.17, EXP2_3=P3.26, EXP2_5=P3.25, EXP2_7=P1.31, EXP2_9=<GND>,
# EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=<RST>, EXP2_10=<NC>
# Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0"
[display]
lcd_type: st7920
cs_pin: EXP1_7
sclk_pin: EXP1_6
sid_pin: EXP1_8
encoder_pins: ^EXP1_5, ^EXP1_3
click_pin: ^!EXP1_2
[output_pin beeper]
pin: EXP1_1
# See the sample-lcd.cfg file for definitions of common LCD displays.
#*# <---------------------- SAVE_CONFIG ---------------------->
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
#*#
#*# [bed_mesh default]
#*# version = 1
#*# points =
#*# 0.265000, 0.207500, 0.102500, 0.042500, -0.010000
#*# 0.197500, 0.147500, 0.010000, -0.040000, -0.110000
#*# 0.182500, 0.120000, -0.030000, -0.072500, -0.122500
#*# tension = 0.2
#*# min_x = 40.0
#*# algo = bicubic
#*# y_count = 3
#*# mesh_y_pps = 3
#*# min_y = 20.0
#*# x_count = 5
#*# max_y = 180.0
#*# mesh_x_pps = 2
#*# max_x = 280.0
#*#
#*# [bltouch]
#*# z_offset = 1.150
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment