From f79187d726d00c7215448e5953cdb0dd8d490683 Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Tue, 5 Jan 2021 12:04:37 -0500 Subject: [PATCH] config: Add example generic-bigtreetech-skr-e3-turbo.cfg config file Reported by @kinggrave. Signed-off-by: Kevin O'Connor --- config/generic-bigtreetech-skr-e3-turbo.cfg | 134 ++++++++++++++++++++ test/klippy/printers.test | 1 + 2 files changed, 135 insertions(+) create mode 100644 config/generic-bigtreetech-skr-e3-turbo.cfg diff --git a/config/generic-bigtreetech-skr-e3-turbo.cfg b/config/generic-bigtreetech-skr-e3-turbo.cfg new file mode 100644 index 00000000..3dfeaf36 --- /dev/null +++ b/config/generic-bigtreetech-skr-e3-turbo.cfg @@ -0,0 +1,134 @@ +# This file contains common pin mappings for the BIGTREETECH SKR E3 +# Turbo. To use this config, the firmware should be compiled for the +# LPC1769. + +# See docs/Config_Reference.md for a description of parameters. + +[stepper_x] +step_pin: P1.4 +dir_pin: !P1.8 +enable_pin: !P1.0 +microsteps: 16 +rotation_distance: 40 +endstop_pin: ^P1.29 +position_endstop: 0 +position_max: 235 +homing_speed: 50 + +[tmc2209 stepper_x] +uart_pin: P1.1 +#diag_pin: P1.29 +run_current: 0.580 +hold_current: 0.500 +stealthchop_threshold: 99999 + +[stepper_y] +step_pin: P1.14 +dir_pin: !P1.15 +enable_pin: !P1.9 +microsteps: 16 +rotation_distance: 40 +endstop_pin: ^P1.28 +position_endstop: 0 +position_max: 235 +homing_speed: 50 + +[tmc2209 stepper_y] +uart_pin: P1.10 +#diag_pin: P1.28 +run_current: 0.580 +hold_current: 0.500 +stealthchop_threshold: 99999 + +[stepper_z] +step_pin: P4.29 +dir_pin: P4.28 +enable_pin: !P1.16 +microsteps: 16 +rotation_distance: 8 +endstop_pin: ^P1.27 +position_endstop: 0.0 +position_max: 250 + +[tmc2209 stepper_z] +uart_pin: P1.17 +#diag_pin: P1.27 +run_current: 0.580 +hold_current: 0.500 +stealthchop_threshold: 99999 + +[extruder] +step_pin: P2.6 +dir_pin: !P2.7 +enable_pin: !P0.4 +microsteps: 16 +rotation_distance: 33.500 +nozzle_diameter: 0.400 +filament_diameter: 1.750 +heater_pin: P2.3 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: P0.24 +control: pid +pid_Kp: 21.527 +pid_Ki: 1.063 +pid_Kd: 108.982 +min_temp: 0 +max_temp: 250 + +[tmc2209 extruder] +uart_pin: P0.5 +#diag_pin: P1.26 +run_current: 0.650 +hold_current: 0.500 +stealthchop_threshold: 99999 + +#[extruder1] +#step_pin: P2.11 +#dir_pin: P2.12 +#enable_pin: !P0.21 +#heater_pin: P2.4 +#sensor_pin: P0.23 +#... + +#[tmc2209 extruder1] +#uart_pin: P0.22 +##diag_pin: P1.25 +#... + +[heater_bed] +heater_pin: P2.5 +sensor_type: ATC Semitec 104GT-2 +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.1 + +[heater_fan nozzle_cooling_fan] +pin: P2.2 + +[mcu] +serial: /dev/serial/by-id/usb-Klipper_lpc1769_00000000000000000000000000000000-if00 + +[printer] +kinematics: cartesian +max_velocity: 300 +max_accel: 3000 +max_z_velocity: 5 +max_z_accel: 100 + +[static_digital_output tmc_standby_pins] +pins: !P3.26, !P3.25, !P1.18, !P1.19, !P2.13 + +[board_pins] +aliases: + # EXP1 header + EXP1_1=P2.8, EXP1_3=P0.19, EXP1_5=P0.20, EXP1_7=P0.17, EXP1_9=, + EXP1_2=P0.16, EXP1_4=, EXP1_6=P0.15, EXP1_8=P0.18, EXP1_10=<5V> + +# See the sample-lcd.cfg file for definitions of common LCD displays. diff --git a/test/klippy/printers.test b/test/klippy/printers.test index 85219af8..6e687835 100644 --- a/test/klippy/printers.test +++ b/test/klippy/printers.test @@ -101,6 +101,7 @@ CONFIG ../../config/generic-duet2-duex.cfg # Printers using the lpc176x DICTIONARY lpc176x.dict CONFIG ../../config/generic-azteeg-x5-mini-v3.cfg +CONFIG ../../config/generic-bigtreetech-skr-e3-turbo.cfg CONFIG ../../config/generic-bigtreetech-skr-v1.1.cfg CONFIG ../../config/generic-bigtreetech-skr-v1.3.cfg CONFIG ../../config/generic-bigtreetech-skr-v1.4.cfg