mirror of https://github.com/Desuuuu/klipper.git
config: Add example config files for the Fysetc Cheetah boards
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
parent
1b454c0943
commit
5e2c60bd67
|
@ -0,0 +1,125 @@
|
||||||
|
# This file contains common pin mappings for the Fysetc Cheetah v1.1
|
||||||
|
# board. To use this config, the firmware should be compiled for the
|
||||||
|
# STM32F103 with "No bootloader" and with "Use USB for communication"
|
||||||
|
# disabled.
|
||||||
|
|
||||||
|
# The "make flash" command does not work on the Cheetah. Instead,
|
||||||
|
# after running "make", run the following command to flash the board:
|
||||||
|
# stm32flash -w out/klipper.bin -v -i rts,-dtr,dtr /dev/ttyUSB0
|
||||||
|
|
||||||
|
# See the example.cfg file for a description of available parameters.
|
||||||
|
|
||||||
|
[stepper_x]
|
||||||
|
step_pin: PB8
|
||||||
|
dir_pin: !PB9
|
||||||
|
enable_pin: !PA8
|
||||||
|
step_distance: .0125
|
||||||
|
endstop_pin: ^PA1
|
||||||
|
position_endstop: 0
|
||||||
|
position_max: 200
|
||||||
|
homing_speed: 50
|
||||||
|
|
||||||
|
[tmc2209 stepper_x]
|
||||||
|
uart_pin: PA3
|
||||||
|
tx_pin: PA2
|
||||||
|
uart_address: 0
|
||||||
|
microsteps: 16
|
||||||
|
run_current: 0.800
|
||||||
|
hold_current: 0.500
|
||||||
|
stealthchop_threshold: 250
|
||||||
|
|
||||||
|
[stepper_y]
|
||||||
|
step_pin: PB2
|
||||||
|
dir_pin: !PB3
|
||||||
|
enable_pin: !PB1
|
||||||
|
step_distance: .0125
|
||||||
|
endstop_pin: ^PB4
|
||||||
|
position_endstop: 0
|
||||||
|
position_max: 200
|
||||||
|
homing_speed: 50
|
||||||
|
|
||||||
|
[tmc2209 stepper_y]
|
||||||
|
uart_pin: PA3
|
||||||
|
tx_pin: PA2
|
||||||
|
uart_address: 1
|
||||||
|
microsteps: 16
|
||||||
|
run_current: 0.800
|
||||||
|
hold_current: 0.500
|
||||||
|
stealthchop_threshold: 250
|
||||||
|
|
||||||
|
[stepper_z]
|
||||||
|
step_pin: PC0
|
||||||
|
dir_pin: PC1
|
||||||
|
enable_pin: !PC2
|
||||||
|
step_distance: .0025
|
||||||
|
endstop_pin: ^PA15
|
||||||
|
position_endstop: 0
|
||||||
|
position_max: 200
|
||||||
|
|
||||||
|
[tmc2209 stepper_z]
|
||||||
|
uart_pin: PA3
|
||||||
|
tx_pin: PA2
|
||||||
|
uart_address: 2
|
||||||
|
microsteps: 16
|
||||||
|
run_current: 0.800
|
||||||
|
hold_current: 0.500
|
||||||
|
stealthchop_threshold: 5
|
||||||
|
|
||||||
|
[extruder]
|
||||||
|
step_pin: PC15
|
||||||
|
dir_pin: !PC14
|
||||||
|
enable_pin: !PC13
|
||||||
|
step_distance: 0.010526
|
||||||
|
nozzle_diameter: 0.400
|
||||||
|
filament_diameter: 1.750
|
||||||
|
heater_pin: PC6
|
||||||
|
sensor_type: EPCOS 100K B57560G104F
|
||||||
|
sensor_pin: PC4
|
||||||
|
control: pid
|
||||||
|
pid_kp: 21.527
|
||||||
|
pid_ki: 1.063
|
||||||
|
pid_kd: 108.982
|
||||||
|
min_temp: 0
|
||||||
|
max_temp: 250
|
||||||
|
|
||||||
|
[tmc2209 extruder]
|
||||||
|
uart_pin: PA3
|
||||||
|
tx_pin: PA2
|
||||||
|
uart_address: 3
|
||||||
|
microsteps: 16
|
||||||
|
run_current: 1.0
|
||||||
|
hold_current: 0.500
|
||||||
|
stealthchop_threshold: 5
|
||||||
|
|
||||||
|
[heater_bed]
|
||||||
|
heater_pin: PC7
|
||||||
|
sensor_type: EPCOS 100K B57560G104F
|
||||||
|
sensor_pin: PC5
|
||||||
|
control: pid
|
||||||
|
pid_kp: 54.027
|
||||||
|
pid_ki: 0.770
|
||||||
|
pid_kd: 948.182
|
||||||
|
min_temp: 0
|
||||||
|
max_temp: 130
|
||||||
|
|
||||||
|
[fan]
|
||||||
|
pin: PC8
|
||||||
|
|
||||||
|
[mcu]
|
||||||
|
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
|
||||||
|
|
||||||
|
[printer]
|
||||||
|
kinematics: cartesian
|
||||||
|
max_velocity: 300
|
||||||
|
max_accel: 3000
|
||||||
|
max_z_velocity: 5
|
||||||
|
max_z_accel: 100
|
||||||
|
|
||||||
|
[board_pins]
|
||||||
|
aliases:
|
||||||
|
# EXP1 header
|
||||||
|
EXP1_1=PC9, EXP1_3=PC11, EXP1_5=PC10, EXP1_7=PB12, EXP1_9=<GND>,
|
||||||
|
EXP1_2=PC12, EXP1_4=PB14, EXP1_6=PB13, EXP1_8=PB15, EXP1_10=<5V>
|
||||||
|
# Pins EXP1_4, EXP1_8, EXP1_6 are also MISO, MOSI, SCK of bus "spi2"
|
||||||
|
|
||||||
|
# See the sample-lcd.cfg file for definitions of common LCD displays.
|
|
@ -0,0 +1,121 @@
|
||||||
|
# This file contains common pin mappings for the Fysetc Cheetah v1.2b
|
||||||
|
# board. To use this config, the firmware should be compiled for the
|
||||||
|
# STM32F103 with "No bootloader" and with "Use USB for communication"
|
||||||
|
# disabled.
|
||||||
|
|
||||||
|
# The "make flash" command does not work on the Cheetah. Instead,
|
||||||
|
# after running "make", run the following command to flash the board:
|
||||||
|
# stm32flash -w out/klipper.bin -v -i rts,-dtr,dtr /dev/ttyUSB0
|
||||||
|
|
||||||
|
# See the example.cfg file for a description of available parameters.
|
||||||
|
|
||||||
|
[stepper_x]
|
||||||
|
step_pin: PB8
|
||||||
|
dir_pin: !PB9
|
||||||
|
enable_pin: !PA8
|
||||||
|
step_distance: .0125
|
||||||
|
endstop_pin: ^PA1
|
||||||
|
position_endstop: 0
|
||||||
|
position_max: 200
|
||||||
|
homing_speed: 50
|
||||||
|
|
||||||
|
[tmc2208 stepper_x]
|
||||||
|
uart_pin: PA12
|
||||||
|
tx_pin: PA11
|
||||||
|
microsteps: 16
|
||||||
|
run_current: 0.800
|
||||||
|
hold_current: 0.500
|
||||||
|
stealthchop_threshold: 250
|
||||||
|
|
||||||
|
[stepper_y]
|
||||||
|
step_pin: PB2
|
||||||
|
dir_pin: !PB3
|
||||||
|
enable_pin: !PB1
|
||||||
|
step_distance: .0125
|
||||||
|
endstop_pin: ^PB4
|
||||||
|
position_endstop: 0
|
||||||
|
position_max: 200
|
||||||
|
homing_speed: 50
|
||||||
|
|
||||||
|
[tmc2208 stepper_y]
|
||||||
|
uart_pin: PB7
|
||||||
|
tx_pin: PB6
|
||||||
|
microsteps: 16
|
||||||
|
run_current: 0.800
|
||||||
|
hold_current: 0.500
|
||||||
|
stealthchop_threshold: 250
|
||||||
|
|
||||||
|
[stepper_z]
|
||||||
|
step_pin: PC0
|
||||||
|
dir_pin: PC1
|
||||||
|
enable_pin: !PC2
|
||||||
|
step_distance: .0025
|
||||||
|
endstop_pin: ^PA15
|
||||||
|
position_endstop: 0
|
||||||
|
position_max: 200
|
||||||
|
|
||||||
|
[tmc2208 stepper_z]
|
||||||
|
uart_pin: PB10
|
||||||
|
tx_pin: PB11
|
||||||
|
microsteps: 16
|
||||||
|
run_current: 0.800
|
||||||
|
hold_current: 0.500
|
||||||
|
stealthchop_threshold: 5
|
||||||
|
|
||||||
|
[extruder]
|
||||||
|
step_pin: PC15
|
||||||
|
dir_pin: !PC14
|
||||||
|
enable_pin: !PC13
|
||||||
|
step_distance: 0.010526
|
||||||
|
nozzle_diameter: 0.400
|
||||||
|
filament_diameter: 1.750
|
||||||
|
heater_pin: PC6
|
||||||
|
sensor_type: EPCOS 100K B57560G104F
|
||||||
|
sensor_pin: PC4
|
||||||
|
control: pid
|
||||||
|
pid_kp: 21.527
|
||||||
|
pid_ki: 1.063
|
||||||
|
pid_kd: 108.982
|
||||||
|
min_temp: 0
|
||||||
|
max_temp: 250
|
||||||
|
|
||||||
|
[tmc2208 extruder]
|
||||||
|
uart_pin: PA3
|
||||||
|
tx_pin: PA2
|
||||||
|
microsteps: 16
|
||||||
|
run_current: 1.0
|
||||||
|
hold_current: 0.500
|
||||||
|
stealthchop_threshold: 5
|
||||||
|
|
||||||
|
[heater_bed]
|
||||||
|
heater_pin: PC7
|
||||||
|
sensor_type: EPCOS 100K B57560G104F
|
||||||
|
sensor_pin: PC5
|
||||||
|
control: pid
|
||||||
|
pid_kp: 54.027
|
||||||
|
pid_ki: 0.770
|
||||||
|
pid_kd: 948.182
|
||||||
|
min_temp: 0
|
||||||
|
max_temp: 130
|
||||||
|
|
||||||
|
[fan]
|
||||||
|
pin: PC8
|
||||||
|
|
||||||
|
[mcu]
|
||||||
|
serial: /dev/serial/by-id/usb-1a86_USB2.0-Serial-if00-port0
|
||||||
|
|
||||||
|
[printer]
|
||||||
|
kinematics: cartesian
|
||||||
|
max_velocity: 300
|
||||||
|
max_accel: 3000
|
||||||
|
max_z_velocity: 5
|
||||||
|
max_z_accel: 100
|
||||||
|
|
||||||
|
[board_pins]
|
||||||
|
aliases:
|
||||||
|
# EXP1 header
|
||||||
|
EXP1_1=PC9, EXP1_3=PC11, EXP1_5=PC10, EXP1_7=PB12, EXP1_9=<GND>,
|
||||||
|
EXP1_2=PC12, EXP1_4=PB14, EXP1_6=PB13, EXP1_8=PB15, EXP1_10=<5V>
|
||||||
|
# Pins EXP1_4, EXP1_8, EXP1_6 are also MISO, MOSI, SCK of bus "spi2"
|
||||||
|
|
||||||
|
# See the sample-lcd.cfg file for definitions of common LCD displays.
|
|
@ -0,0 +1,4 @@
|
||||||
|
# Base config file for STM32F1 ARM processor using serial communication
|
||||||
|
CONFIG_MACH_STM32=y
|
||||||
|
CONFIG_MACH_STM32F103=y
|
||||||
|
CONFIG_USBSERIAL=n
|
|
@ -87,6 +87,11 @@ DICTIONARY stm32f1.dict
|
||||||
CONFIG ../../config/generic-bigtreetech-skr-mini.cfg
|
CONFIG ../../config/generic-bigtreetech-skr-mini.cfg
|
||||||
CONFIG ../../config/generic-bigtreetech-skr-mini-e3.cfg
|
CONFIG ../../config/generic-bigtreetech-skr-mini-e3.cfg
|
||||||
|
|
||||||
|
# Printers using the stm32f103 via serial
|
||||||
|
DICTIONARY stm32f1-serial.dict
|
||||||
|
CONFIG ../../config/generic-fysetc-cheetah-v1.1.cfg
|
||||||
|
CONFIG ../../config/generic-fysetc-cheetah-v1.2.cfg
|
||||||
|
|
||||||
# Printers using the PRU
|
# Printers using the PRU
|
||||||
DICTIONARY pru.dict host=linuxprocess.dict
|
DICTIONARY pru.dict host=linuxprocess.dict
|
||||||
CONFIG ../../config/generic-cramps.cfg
|
CONFIG ../../config/generic-cramps.cfg
|
||||||
|
|
Loading…
Reference in New Issue