From 25438a790199e16c64b56817f8fa15628849e8cd Mon Sep 17 00:00:00 2001 From: Kevin O'Connor Date: Thu, 11 Jul 2019 18:50:26 -0400 Subject: [PATCH] config: Simplify generic-bigtreetech-skr-v1.3.cfg Move the TMC2208 and TMC2130 blocks to later in the file. Signed-off-by: Kevin O'Connor --- config/generic-bigtreetech-skr-v1.3.cfg | 172 +++++++++++------------- 1 file changed, 82 insertions(+), 90 deletions(-) diff --git a/config/generic-bigtreetech-skr-v1.3.cfg b/config/generic-bigtreetech-skr-v1.3.cfg index 412657de..b4844dd7 100644 --- a/config/generic-bigtreetech-skr-v1.3.cfg +++ b/config/generic-bigtreetech-skr-v1.3.cfg @@ -4,10 +4,85 @@ # 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 # P1.28 for X-max +position_endstop: 0 +position_max: 320 +homing_speed: 50 -######################## +[stepper_y] +step_pin: P0.19 +dir_pin: !P0.20 +enable_pin: !P2.8 +step_distance: .0125 +endstop_pin: P1.27 # P1.26 for Y-max +position_endstop: 0 +position_max: 300 +homing_speed: 50 + +[stepper_z] +step_pin: P0.22 +dir_pin: P2.11 +enable_pin: !P0.21 +step_distance: .0025 +endstop_pin: P1.25 # P1.24 for Z-max +position_endstop: 0.5 +position_max: 400 + +[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: P0.1 +#dir_pin: P0.0 +#enable_pin: !P0.10 +#heater_pin: P2.4 +#sensor_pin: P0.25 +#... + +[heater_bed] +heater_pin: P2.5 +sensor_type: ATC Semitec 104GT-2 +sensor_pin: P0.23 +control: watermark +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: 200 +max_accel: 2000 +max_z_velocity: 25 +max_z_accel: 100 + + +######################################## # TMC2208 configuration -######################## +######################################## # For TMC2208 UART # 1) Remove all of the jumpers below the stepper drivers @@ -49,9 +124,9 @@ #stealthchop_threshold: 5 -######################## +######################################## # TMC2130 configuration -######################## +######################################## # For TMC SPI # 1) Place jumpers on all the red pin headers under the stepper drivers @@ -113,92 +188,9 @@ #stealthchop_threshold: 5 -######################## -# Main configuration -######################## - -## Basic steppers configuration ## - -[stepper_x] -step_pin: P2.2 -dir_pin: !P2.6 -enable_pin: !P2.1 -step_distance: .0125 -endstop_pin: P1.29 # P1.28 for X-max -position_endstop: 0 -position_max: 320 -homing_speed: 50 - -[stepper_y] -step_pin: P0.19 -dir_pin: !P0.20 -enable_pin: !P2.8 -step_distance: .0125 -endstop_pin: P1.27 # P1.26 for Y-max -position_endstop: 0 -position_max: 300 -homing_speed: 50 - -[stepper_z] -step_pin: P0.22 -dir_pin: P2.11 -enable_pin: !P0.21 -step_distance: .0025 -endstop_pin: P1.25 # P1.24 for Z-max -position_endstop: 0.5 -position_max: 400 - -## Extruder configuration ## - -[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: P0.1 -#dir_pin: P0.0 -#enable_pin: !P0.10 -#heater_pin: P2.4 -#sensor_pin: P0.25 -#... - -## Heatbed configuration ## - -[heater_bed] -heater_pin: P2.5 -sensor_type: ATC Semitec 104GT-2 -sensor_pin: P0.23 -control: watermark -min_temp: 0 -max_temp: 130 - -## Additional configuration ## - -[fan] -pin: P2.3 - -[mcu] -serial: /dev/serial/by-id/usb-Klipper_Klipper_firmware_12345-if00 - -[printer] -kinematics: cartesian -max_velocity: 200 -max_accel: 2000 -max_z_velocity: 25 -max_z_accel: 100 +######################################## +# Optional LCD configuration +######################################## # "RepRapDiscount 128x64 Full Graphic Smart Controller" type displays #[display]