Last active
October 5, 2021 00:41
-
-
Save pixeldrew/6a2b21a42f4da5db619efbe307d038d5 to your computer and use it in GitHub Desktop.
Klipper config with skr min e3 with Ender 3, EZ-ABL and Pi connected via UART on the TFT out header
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
CONFIG_LOW_LEVEL_OPTIONS=y | |
# CONFIG_MACH_AVR is not set | |
# CONFIG_MACH_ATSAM is not set | |
# CONFIG_MACH_ATSAMD is not set | |
# CONFIG_MACH_LPC176X is not set | |
CONFIG_MACH_STM32=y | |
# CONFIG_MACH_RP2040 is not set | |
# CONFIG_MACH_PRU is not set | |
# CONFIG_MACH_LINUX is not set | |
# CONFIG_MACH_SIMU is not set | |
CONFIG_STEP_DELAY=2 | |
CONFIG_BOARD_DIRECTORY="stm32" | |
CONFIG_MCU="stm32f103xe" | |
CONFIG_CLOCK_FREQ=72000000 | |
CONFIG_SERIAL=y | |
CONFIG_FLASH_START=0x8007000 | |
CONFIG_FLASH_SIZE=0x10000 | |
CONFIG_RAM_START=0x20000000 | |
CONFIG_RAM_SIZE=0x5000 | |
CONFIG_STACK_SIZE=512 | |
CONFIG_STM32_SELECT=y | |
CONFIG_MACH_STM32F103=y | |
# CONFIG_MACH_STM32F207 is not set | |
# CONFIG_MACH_STM32F401 is not set | |
# CONFIG_MACH_STM32F405 is not set | |
# CONFIG_MACH_STM32F407 is not set | |
# CONFIG_MACH_STM32F429 is not set | |
# CONFIG_MACH_STM32F446 is not set | |
# CONFIG_MACH_STM32F031 is not set | |
# CONFIG_MACH_STM32F042 is not set | |
# CONFIG_MACH_STM32F070 is not set | |
# CONFIG_MACH_STM32F072 is not set | |
CONFIG_MACH_STM32F1=y | |
CONFIG_HAVE_STM32_USBFS=y | |
CONFIG_HAVE_STM32_CANBUS=y | |
# CONFIG_STM32_FLASH_START_2000 is not set | |
# CONFIG_STM32_FLASH_START_5000 is not set | |
CONFIG_STM32_FLASH_START_7000=y | |
# CONFIG_STM32_FLASH_START_8800 is not set | |
# CONFIG_STM32_FLASH_START_10000 is not set | |
# CONFIG_STM32_FLASH_START_800 is not set | |
# CONFIG_STM32_FLASH_START_4000 is not set | |
# CONFIG_STM32_FLASH_START_0000 is not set | |
CONFIG_STM32_CLOCK_REF_8M=y | |
# CONFIG_STM32_CLOCK_REF_12M is not set | |
# CONFIG_STM32_CLOCK_REF_16M is not set | |
# CONFIG_STM32_CLOCK_REF_25M is not set | |
# CONFIG_STM32_CLOCK_REF_INTERNAL is not set | |
CONFIG_CLOCK_REF_FREQ=8000000 | |
CONFIG_STM32F0_TRIM=16 | |
# CONFIG_STM32_USB_PA11_PA12 is not set | |
# CONFIG_STM32_SERIAL_USART1 is not set | |
# CONFIG_STM32_SERIAL_USART1_ALT_PB7_PB6 is not set | |
CONFIG_STM32_SERIAL_USART2=y | |
# CONFIG_STM32_SERIAL_USART2_ALT_PD6_PD5 is not set | |
# CONFIG_STM32_SERIAL_USART3 is not set | |
# CONFIG_STM32_SERIAL_USART3_ALT_PD9_PD8 is not set | |
# CONFIG_STM32_CANBUS_PA11_PA12 is not set | |
# CONFIG_STM32_CANBUS_PB8_PB9 is not set | |
CONFIG_CANBUS_FREQUENCY=500000 | |
CONFIG_SERIAL_BAUD=250000 | |
CONFIG_USB_VENDOR_ID=0x1d50 | |
CONFIG_USB_DEVICE_ID=0x614e | |
CONFIG_USB_SERIAL_NUMBER_CHIPID=y | |
CONFIG_USB_SERIAL_NUMBER="12345" | |
# CONFIG_CUSTOM_STEP_DELAY is not set | |
CONFIG_INITIAL_PINS="!PA14" | |
CONFIG_HAVE_GPIO=y | |
CONFIG_HAVE_GPIO_ADC=y | |
CONFIG_HAVE_GPIO_SPI=y | |
CONFIG_HAVE_GPIO_I2C=y | |
CONFIG_HAVE_GPIO_HARD_PWM=y | |
CONFIG_HAVE_GPIO_BITBANGING=y | |
CONFIG_HAVE_STRICT_TIMING=y | |
CONFIG_HAVE_CHIPID=y | |
CONFIG_INLINE_STEPPER_HACK=y |
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" and USB communication. 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: 235 | |
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: 999999 | |
[stepper_y] | |
step_pin: PB10 | |
dir_pin: !PB2 | |
enable_pin: !PB11 | |
microsteps: 16 | |
rotation_distance: 40 | |
endstop_pin: ^PC1 | |
position_endstop: 0 | |
position_max: 235 | |
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: 999999 | |
[stepper_z] | |
step_pin: PB0 | |
dir_pin: PC5 | |
enable_pin: !PB1 | |
microsteps: 16 | |
endstop_pin: probe:z_virtual_endstop | |
rotation_distance: 7.8 | |
position_min: -5 | |
position_max: 250 | |
[probe] | |
pin: ^!PC2 | |
x_offset: -44.0 | |
y_offset: -10. | |
#z_offset: 2.2 | |
speed: 10.0 | |
[safe_z_home] | |
home_xy_position: 117,117 # Change coordinates to the center of your print bed | |
speed: 50 | |
z_hop: 10 # Move up 10mm | |
z_hop_speed: 5 | |
# working | |
# [bed_mesh] | |
# speed: 100 | |
# mesh_min: 20,20 | |
# mesh_max: 180,200 | |
# probe_count: 4,4 | |
# margin = 5 | |
[bed_mesh] | |
speed: 100 | |
mesh_min: 27,10 # x = probe offset / 2 + margin , y = probe offset / 2 + margin | |
mesh_max: 191,220 | |
probe_count: 6,6 | |
[tmc2209 stepper_z] | |
uart_pin: PC11 | |
tx_pin: PC10 | |
uart_address: 1 | |
run_current: 0.580 | |
hold_current: 0.500 | |
stealthchop_threshold: 999999 | |
[extruder] | |
step_pin: PB3 | |
dir_pin: !PB4 | |
enable_pin: !PD2 | |
microsteps: 16 | |
rotation_distance: 33.500 | |
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: 280 | |
[tmc2209 extruder] | |
uart_pin: PC11 | |
tx_pin: PC10 | |
uart_address: 3 | |
run_current: 0.650 | |
hold_current: 0.500 | |
stealthchop_threshold: 999999 | |
[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 | |
[controller_fan case_fan] | |
pin: PC7 | |
[fan] | |
pin: PC6 | |
[mcu] | |
serial = /dev/serial0 | |
restart_method: command | |
#baud = 250000 | |
[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 | |
[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> | |
[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 | |
#kill_pin: ^!EXP2_8 | |
[output_pin beeper] | |
pin: EXP1_1 | |
[temperature_sensor raspberry_pi] | |
sensor_type: temperature_host | |
min_temp: 10 | |
max_temp: 100 | |
[temperature_sensor mcu_temp] | |
sensor_type: temperature_mcu | |
min_temp: 0 | |
max_temp: 100 | |
[bed_screws] | |
screw1: 35,35 | |
screw2: 200,35 | |
screw3: 35,200 | |
screw4: 200,200 | |
[screws_tilt_adjust] | |
screw1: 79,45 # screw + probe offset or max bed (-44,-10) | |
screw1_name: front left screw | |
screw2: 235,45 | |
screw2_name: front right screw | |
screw3: 235,210 | |
screw3_name: rear right screw | |
screw4: 79,210 | |
screw4_name: rear left screw | |
horizontal_move_z: 10. | |
speed: 50. | |
screw_thread: CW-M3 | |
[include fluidd.cfg] | |
#*# <---------------------- SAVE_CONFIG ----------------------> | |
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. | |
#*# | |
#*# [probe] | |
#*# z_offset = 1.672 | |
#*# | |
#*# [bed_mesh default] | |
#*# version = 1 | |
#*# points = | |
#*# 0.034125, -0.019500, -0.041438, -0.029250, 0.024375, 0.058500 | |
#*# 0.041437, -0.024375, -0.080438, -0.075563, -0.051188, 0.021937 | |
#*# 0.021937, -0.048750, -0.104813, -0.095063, -0.053625, 0.012187 | |
#*# -0.014625, -0.075563, -0.129188, -0.124313, -0.080438, -0.000000 | |
#*# 0.017062, -0.063375, -0.112125, -0.095063, -0.048750, 0.021937 | |
#*# 0.065812, -0.019500, -0.070688, -0.053625, -0.007313, 0.068250 | |
#*# tension = 0.2 | |
#*# min_x = 27.0 | |
#*# algo = lagrange | |
#*# y_count = 6 | |
#*# mesh_y_pps = 2 | |
#*# min_y = 10.0 | |
#*# x_count = 6 | |
#*# max_y = 220.0 | |
#*# mesh_x_pps = 2 | |
#*# max_x = 190.95 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment