klipper参考配置
# [include fluidd.cfg]
# This file contains common pin mappings for the Mellow Fly-C8P.
# To use this config, the firmware should be compiled for the
# STM32H723 with a "128KiB bootloader" "25 MHz crystal"
# and "USB (on PA11/PA12)" or "CAN bus (on PB8/PB9)".
# See docs/Config_Reference.md for a description of parameters.
[mcu]
serial: /dev/serial/by-id/usb-Klipper_stm32h723xx_12345-if00
[printer]
kinematics: cartesian
max_velocity: 300
max_accel: 3000
max_z_velocity: 5
max_z_accel: 100
[stepper_x]
step_pin: PE5
dir_pin: !PA8
enable_pin: !PA15
microsteps: 16
rotation_distance: 40
endstop_pin: ^PD9
position_endstop: 0
position_max: 200
homing_speed: 50
[stepper_y]
step_pin: PE4
dir_pin: !PC11
enable_pin: !PC12
microsteps: 16
rotation_distance: 40
endstop_pin: ^PD8
position_endstop: 0
position_max: 200
homing_speed: 50
[stepper_z]
step_pin: PE3
dir_pin: PD1
enable_pin: !PD2
microsteps: 16
rotation_distance: 8
endstop_pin: ^PD11
position_endstop: 0.0
position_max: 200
[extruder]
step_pin: PE2
dir_pin: !PD4
enable_pin: !PD5
microsteps: 16
rotation_distance: 33.500
nozzle_diameter: 0.400
filament_diameter: 1.750
heater_pin: PD12
sensor_type: Generic 3950
sensor_pin: PC2
control: pid
pid_Kp: 21.527
pid_Ki: 1.063
pid_Kd: 108.982
min_temp: 0
max_temp: 250
#[filament_switch_sensor material_0]
#switch_pin: PD10
#[extruder1]
#step_pin: PE1
#dir_pin: PD7
#enable_pin: !PB6
#heater_pin: PD13
#sensor_pin: PC3
#...
#[filament_switch_sensor material_1]
#switch_pin: PA5
#[extruder2]
#step_pin: PE0
#dir_pin: PC13
#enable_pin: !PC14
#heater_pin: PD14
#sensor_pin: PC4
#...
#[filament_switch_sensor material_2]
#switch_pin: PA4
#[extruder3]
#step_pin: PE7
#dir_pin: PE11
#enable_pin: !PE10
#...
#[extruder4]
#step_pin: PE8
#dir_pin: PA7
#enable_pin: !PA6
#...
[heater_bed]
heater_pin: PB0
sensor_type: Generic 3950
sensor_pin: PC5
min_temp: 0
max_temp: 130
control: pid
pid_Kp: 21.527
pid_Ki: 1.063
pid_Kd: 108.982
[fan]
pin: PA0
#[heater_fan fan1]
#pin: PA1
#[heater_fan fan2]
#pin: PA2
#[heater_fan fan3]
#pin: PC6
#[heater_fan fan4]
#pin: PC7
#[heater_fan fan5]
#pin: PC8
########################################
# TMC2209 configuration
########################################
#[tmc2209 stepper_x]
#uart_pin: PC9
#run_current: 0.800
#diag_pin: PD9
#[tmc2209 stepper_y]
#uart_pin: PC10
#run_current: 0.800
#diag_pin: PD8
#[tmc2209 stepper_z]
#uart_pin: PD0
#run_current: 0.800
#diag_pin: PD11
#[tmc2209 extruder]
#uart_pin: PD3
#run_current: 0.600
#diag_pin: PD10
#[tmc2209 extruder1]
#uart_pin: PD6
#run_current: 0.600
#diag_pin: PA5
#[tmc2209 extruder2]
#uart_pin: PB7
#run_current: 0.600
#diag_pin: PA4
#[tmc2209 extruder3]
#uart_pin: PC15
#run_current: 0.600
#[tmc2209 extruder4]
#uart_pin: PE9
#run_current: 0.600
########################################
# TMC5160 configuration
########################################
#[tmc5160 stepper_x]
#cs_pin: PC9
#spi_bus: spi1a
#run_current: 0.800
#stealthchop_threshold: 999999
#diag1_pin: PD9
#[tmc5160 stepper_y]
#cs_pin: PC10
#spi_bus: spi1a
#run_current: 0.800
#stealthchop_threshold: 999999
#diag1_pin: PD8
#[tmc5160 stepper_z]
#cs_pin: PD0
#spi_bus: spi1a
#run_current: 0.650
#stealthchop_threshold: 999999
#diag1_pin: PD11
#[tmc5160 extruder]
#cs_pin: PD3
#spi_bus: spi1a
#run_current: 0.800
#stealthchop_threshold: 999999
#diag1_pin: PD10
#[tmc5160 extruder1]
#cs_pin: PD6
#spi_bus: spi1a
#run_current: 0.800
#stealthchop_threshold: 999999
#diag1_pin: PA5
#[tmc5160 extruder2]
#cs_pin: PB7
#spi_bus: spi1a
#run_current: 0.800
#stealthchop_threshold: 999999
#diag1_pin: PA4
#[tmc5160 extruder3]
#cs_pin: PC15
#spi_bus: spi1a
#run_current: 0.800
#stealthchop_threshold: 999999
#[tmc5160 extruder4]
#cs_pin: PE9
#spi_bus: spi1a
#run_current: 0.800
#stealthchop_threshold: 999999
# [board_pins]
# aliases:
# # EXP1扩展接口 / EXP1 header
# EXP1_1=PB10, EXP1_3=PA14, EXP1_5=PE15, EXP1_7=PE13, EXP1_9=<GND>,
# EXP1_2=PB1, EXP1_4=PA13, EXP1_6=PE14, EXP1_8=PB11, EXP1_10=<5V>,
# # EXP2扩展接口 / EXP2 header
# EXP2_1=PB14, EXP2_3=PA9, EXP2_5=PA10, EXP2_7=PE12, EXP2_9=<GND>,
# EXP2_2=PB13, EXP2_4=PB12, EXP2_6=PB15, EXP2_8=<RST>, EXP2_10=<NC>,
#[bltouch]
#sensor_pin: PE6
#control_pin: PC0
# Proximity switch
#[probe]
#pin: PC0
#[neopixel my_neopixel1]
#pin: PA3
#[neopixel my_neopixel2]
#pin: PD15
Loading...