From 3a3ea90ba567be584455c66b22de40ff9e6762dc Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 4 Jun 2020 11:46:57 -0400 Subject: [PATCH] config: Fixes for generic-bigtreetech-skr-mini-e3-v2.0.cfg Add config file to printers.test. Fix errors in config and unify settings with the mini-e3-v1.2 config. Signed-off-by: Kevin O'Connor --- .../generic-bigtreetech-skr-mini-e3-v2.0.cfg | 41 +++++++++---------- test/klippy/printers.test | 1 + 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/config/generic-bigtreetech-skr-mini-e3-v2.0.cfg b/config/generic-bigtreetech-skr-mini-e3-v2.0.cfg index 9ef04cc5..48b9a45c 100644 --- a/config/generic-bigtreetech-skr-mini-e3-v2.0.cfg +++ b/config/generic-bigtreetech-skr-mini-e3-v2.0.cfg @@ -56,7 +56,7 @@ enable_pin: !PB1 step_distance: .0025 endstop_pin: ^PC2 position_endstop: 0.0 -position_max: 220 +position_max: 250 [tmc2209 stepper_z] uart_pin: PC11 @@ -69,18 +69,20 @@ stealthchop_threshold: 5 [extruder] step_pin: PB3 -dir_pin: PB4 +dir_pin: !PB4 enable_pin: !PD2 -step_distance: 0.010526 +step_distance: 0.010526 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: PC8 sensor_type: EPCOS 100K B57560G104F sensor_pin: PA0 -#control: pid +control: pid +pid_Kp: 21.527 +pid_Ki: 1.063 +pid_Kd: 108.982 min_temp: 0 -max_temp: 280 -max_extrude_only_distance: 150.0 +max_temp: 250 [tmc2209 extruder] uart_pin: PC11 @@ -96,23 +98,27 @@ heater_pin: PC9 sensor_type: ATC Semitec 104GT-2 sensor_pin: PC3 control: pid -min_temp: 0 -max_temp: 110 pid_Kp: 54.027 pid_Ki: 0.770 pid_Kd: 948.182 +min_temp: 0 +max_temp: 130 -[heater_fan extruder] +[heater_fan nozzle_cooling_fan] pin: PC7 -heater: extruder -heater_temp: 50.0 -fan_speed: 0.5 [fan] pin: PC6 [mcu] -serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_35FFD6054246303216590757-if00 +serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00 + +[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 @@ -123,11 +129,4 @@ aliases: EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=, EXP1_2=PA15, EXP1_4=, 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 +# 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 51ec5126..8d2830db 100644 --- a/test/klippy/printers.test +++ b/test/klippy/printers.test @@ -112,6 +112,7 @@ DICTIONARY stm32f103.dict CONFIG ../../config/generic-bigtreetech-skr-mini.cfg CONFIG ../../config/generic-bigtreetech-skr-mini-e3-v1.0.cfg CONFIG ../../config/generic-bigtreetech-skr-mini-e3-v1.2.cfg +CONFIG ../../config/generic-bigtreetech-skr-mini-e3-v2.0.cfg CONFIG ../../config/generic-bigtreetech-skr-e3-dip.cfg # Printers using the stm32f103 via serial