Created
September 2, 2021 21:00
-
-
Save Fank/1b2e563c2004401a11b39f36d00de44a to your computer and use it in GitHub Desktop.
CR-5 Pro Klipper config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file contains common pin mappings for the BIGTREETECH SKR mini | |
# E3 v2.0. To use this config, the firmware should be compiled for the | |
# STM32F103 with a "28KiB bootloader". Also, select "Enable extra | |
# low-level configuration options" and configure "GPIO pins to set at | |
# micro-controller startup" to "!PA14". | |
# The "make flash" command does not work on the SKR mini E3. Instead, | |
# after running "make", copy the generated "out/klipper.bin" file to a | |
# file named "firmware.bin" on an SD card and then restart the SKR | |
# mini E3 with that SD card. | |
# See docs/Config_Reference.md for a description of parameters. | |
[stepper_x] | |
step_pin: PB13 | |
dir_pin: !PB12 | |
enable_pin: !PB14 | |
microsteps: 16 | |
rotation_distance: 40 | |
endstop_pin: ^!PC0 | |
position_endstop: 0 | |
position_max: 305 | |
homing_speed: 50 | |
[tmc2209 stepper_x] | |
uart_pin: PC11 | |
tx_pin: PC10 | |
uart_address: 0 | |
run_current: 0.580 | |
hold_current: 0.500 | |
stealthchop_threshold: 5000 | |
[stepper_y] | |
step_pin: PB10 | |
dir_pin: !PB2 | |
enable_pin: !PB11 | |
microsteps: 16 | |
rotation_distance: 40 | |
endstop_pin: ^!PC1 | |
position_endstop: 0 | |
position_max: 230 | |
homing_speed: 50 | |
[tmc2209 stepper_y] | |
uart_pin: PC11 | |
tx_pin: PC10 | |
uart_address: 2 | |
run_current: 0.580 | |
hold_current: 0.500 | |
stealthchop_threshold: 5000 | |
[stepper_z] | |
step_pin: PB0 | |
dir_pin: !PC5 | |
enable_pin: !PB1 | |
microsteps: 16 | |
rotation_distance: 4 | |
#endstop_pin: ^!PC2 | |
#position_endstop: 0.0 | |
endstop_pin: probe:z_virtual_endstop #bltouch | |
position_min: -2 | |
position_max: 400 | |
[tmc2209 stepper_z] | |
uart_pin: PC11 | |
tx_pin: PC10 | |
uart_address: 1 | |
run_current: 0.580 | |
hold_current: 0.500 | |
stealthchop_threshold: 5 | |
[extruder] | |
max_extrude_only_distance: 100 | |
step_pin: PB3 | |
dir_pin: !PB4 | |
enable_pin: !PD2 | |
microsteps: 16 | |
rotation_distance: 22.24 | |
nozzle_diameter: 0.400 | |
filament_diameter: 1.750 | |
heater_pin: PC8 | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: PA0 | |
control: pid | |
pid_Kp: 21.527 | |
pid_Ki: 1.063 | |
pid_Kd: 108.982 | |
min_temp: 0 | |
max_temp: 250 | |
[tmc2209 extruder] | |
uart_pin: PC11 | |
tx_pin: PC10 | |
uart_address: 3 | |
run_current: 0.650 | |
hold_current: 0.500 | |
stealthchop_threshold: 5 | |
[heater_bed] | |
heater_pin: PC9 | |
sensor_type: ATC Semitec 104GT-2 | |
sensor_pin: PC3 | |
control: pid | |
pid_Kp: 54.027 | |
pid_Ki: 0.770 | |
pid_Kd: 948.182 | |
min_temp: 0 | |
max_temp: 130 | |
[heater_fan nozzle_cooling_fan] | |
pin: PC7 | |
[fan] | |
pin: PC6 | |
[mcu] | |
serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_31FFD8055358313818542343-if00 | |
[printer] | |
kinematics: cartesian | |
max_velocity: 300 | |
max_accel: 3000 | |
max_z_velocity: 5 | |
max_z_accel: 100 | |
[static_digital_output usb_pullup_enable] | |
pins: !PA14 | |
[filament_switch_sensor filament_sensor] | |
switch_pin: ^!PC15 | |
[temperature_sensor m] | |
sensor_type: temperature_mcu | |
min_temp: 0 | |
max_temp: 100 | |
[temperature_sensor r] | |
sensor_type: temperature_host | |
min_temp: 10 | |
max_temp: 100 | |
[bltouch] | |
sensor_pin: ^PC14 | |
control_pin: PA1 | |
x_offset: 35 | |
y_offset: 0 | |
#z_offset: 0 | |
[safe_z_home] | |
home_xy_position: 115,150 # Change coordinates to the center of your print bed | |
speed: 50 | |
z_hop: 10 # Move up 10mm | |
z_hop_speed: 5 | |
[bed_mesh] | |
speed: 120 | |
horizontal_move_z: 5 | |
mesh_min: 35, 10 | |
mesh_max: 290, 210 | |
probe_count: 6,5 | |
[board_pins] | |
aliases: | |
# EXP1 header | |
EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=<GND>, | |
EXP1_2=PA15, EXP1_4=<RST>, EXP1_6=PB9, EXP1_8=PB15, EXP1_10=<5V> | |
[gcode_arcs] | |
[pause_resume] | |
[respond] | |
[gcode_macro GET_TEMPERATURE] | |
gcode: | |
{ printer["temperature_sensor " + params.VALUE].temperature } | |
#*# <---------------------- SAVE_CONFIG ----------------------> | |
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. | |
#*# | |
#*# [bed_mesh default] | |
#*# version = 1 | |
#*# points = | |
#*# 0.048750, -0.001250, 0.020000, 0.030000, 0.033750, 0.056250 | |
#*# 0.072500, -0.015000, -0.003750, -0.012500, -0.003750, 0.018750 | |
#*# 0.008750, -0.038750, -0.026250, -0.018750, -0.022500, -0.001250 | |
#*# 0.018750, -0.028750, -0.022500, -0.011250, -0.015000, 0.007500 | |
#*# 0.021250, -0.002500, -0.008750, 0.006250, -0.003750, 0.037500 | |
#*# tension = 0.2 | |
#*# min_x = 35.0 | |
#*# algo = lagrange | |
#*# y_count = 5 | |
#*# mesh_y_pps = 2 | |
#*# min_y = 10.0 | |
#*# x_count = 6 | |
#*# max_y = 210.0 | |
#*# mesh_x_pps = 2 | |
#*# max_x = 290.0 | |
#*# | |
#*# [bltouch] | |
#*# z_offset = 1.170 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment