From f29022499e13b0503a8cfe97c5217977bc2b1435 Mon Sep 17 00:00:00 2001 From: Junliang Yan Date: Tue, 28 Jan 2020 12:13:54 -0500 Subject: [PATCH] config: Add Skr v1.4 configuration (#2423) Signed-off-by: John Yan --- config/generic-bigtreetech-skr-v1.4.cfg | 144 ++++++++++++++++++++++++ 1 file changed, 144 insertions(+) create mode 100644 config/generic-bigtreetech-skr-v1.4.cfg diff --git a/config/generic-bigtreetech-skr-v1.4.cfg b/config/generic-bigtreetech-skr-v1.4.cfg new file mode 100644 index 00000000..58024310 --- /dev/null +++ b/config/generic-bigtreetech-skr-v1.4.cfg @@ -0,0 +1,144 @@ +# 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 the example.cfg file for a description of available parameters. + +[stepper_x] +step_pin: P2.2 +dir_pin: P2.6 +enable_pin: !P2.1 +step_distance: .0125 +endstop_pin: !P1.29 +position_endstop: 0 +position_max: 235 +homing_speed: 50 + +[stepper_y] +step_pin: P0.19 +dir_pin: P0.20 +enable_pin: !P2.8 +step_distance: .0125 +endstop_pin: !P1.28 +position_endstop: 0 +position_max: 235 +homing_speed: 50 + +[stepper_z] +step_pin: P0.22 +dir_pin: !P2.11 +enable_pin: !P0.21 +step_distance: .0025 +endstop_pin: !P1.27 +position_endstop: 0.0 +position_max: 300 + +[extruder] +step_pin: P2.13 +dir_pin: !P0.11 +enable_pin: !P2.12 +step_distance: .010526 +nozzle_diameter: 0.400 +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 +#... + +[heater_bed] +heater_pin: P2.5 +sensor_type: EPCOS 100K B57560G104F +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 + +[mcu] +serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00 + +[printer] +kinematics: cartesian +max_velocity: 400 +max_accel: 500 +max_z_velocity: 10 +max_z_accel: 100 + + +######################################## +# TMC2208 configuration +######################################## + +# For TMC2208 UART +# 1) Place jumpers based on configuration +# 2) Uncomment below config + +#[tmc2208 stepper_x] +#uart_pin: P1.10 +#microsteps: 16 +#run_current: 0.800 +#hold_current: 0.500 +#stealthchop_threshold: 250 +# +#[tmc2208 stepper_y] +#uart_pin: P1.9 +#microsteps: 16 +#run_current: 0.800 +#hold_current: 0.500 +#stealthchop_threshold: 250 +# +#[tmc2208 stepper_z] +#uart_pin: P1.8 +#microsteps: 16 +#run_current: 0.650 +#hold_current: 0.450 +#stealthchop_threshold: 30 +# +#[tmc2208 extruder] +#uart_pin: P1.4 +#microsteps: 16 +#run_current: 0.800 +#hold_current: 0.500 +#stealthchop_threshold: 5 +# +#[tmc2208 extruder1] +#uart_pin: P1.1 +#microsteps: 16 +#run_current: 0.800 +#hold_current: 0.500 +#stealthchop_threshold: 5 + + +######################################## +# 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=, + 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=, + EXP2_2=P0.15, EXP2_4=P0.16, EXP2_6=P0.18, EXP2_8=, EXP2_10= + # Pins EXP2_1, EXP2_6, EXP2_2 are also MISO, MOSI, SCK of bus "ssp0" + +# See the sample-lcd.cfg file for definitions of common LCD displays.