From 3132f99feaaf46e34fc90508090574e69c4a12ec Mon Sep 17 00:00:00 2001 From: shiftingtech <53156353+shiftingtech@users.noreply.github.com> Date: Sat, 9 Jan 2021 11:26:59 -0700 Subject: [PATCH 1/4] stock config updates * updated V2 SKR 1.3 Config to use rotation_distance in place of step_distance * updated V2 SKR 1.3 Config to use by-id serial paths in place of by-path --- .../SKR_1.3/Voron2_SKR_13_Config.cfg | 43 ++++++++++--------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/firmware/klipper_configurations/SKR_1.3/Voron2_SKR_13_Config.cfg b/firmware/klipper_configurations/SKR_1.3/Voron2_SKR_13_Config.cfg index c25e071..58cdabb 100644 --- a/firmware/klipper_configurations/SKR_1.3/Voron2_SKR_13_Config.cfg +++ b/firmware/klipper_configurations/SKR_1.3/Voron2_SKR_13_Config.cfg @@ -63,9 +63,9 @@ ## [X in X] - B Motor ## [Y in Y] - A Motor ## [E in E0] - Extruder -## Obtain definition by "ls -l /dev/serial/by-path/" then unplug to verify +## Obtain definition by "ls -l /dev/serial/by-id/" then unplug to verify ##-------------------------------------------------------------------- -serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.1.2:1.0 +serial: /dev/serial/by-id/usb-Klipper_lpc1768_00000-if00 ##-------------------------------------------------------------------- [mcu z] @@ -74,9 +74,9 @@ serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.1.2:1.0 ## [Z1 in Y] - Rear Left ## [Z2 in Z] - Rear Right ## [Z3 in E0]- Front Right -## Obtain definition by "ls -l /dev/serial/by-path/" then unplug to verify +## Obtain definition by "ls -l /dev/serial/by-id/" then unplug to verify ##-------------------------------------------------------------------- -serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.1.3:1.0 +serial: /dev/serial/by-id/usb-Klipper_lpc1768_00000-if00 ##-------------------------------------------------------------------- [printer] @@ -96,7 +96,9 @@ square_corner_velocity: 5.0 #Can experiment with 8.0, default 5.0 step_pin: P2.2 dir_pin: !P2.6 enable_pin: !P2.1 -step_distance: 0.0125 +rotation_distance: 40 +microsteps: 16 +# full_steps_per_rotation:200 #set to 400 for 0.9 degree stepper endstop_pin: P1.28 position_min: 0 ##-------------------------------------------------------------------- @@ -121,7 +123,6 @@ homing_positive_dir: true ## Make sure to update below for your relevant driver (2208 or 2209) [tmcXXXX stepper_x] uart_pin: P1.17 -microsteps: 16 interpolate: True run_current: 0.8 hold_current: 0.7 @@ -133,7 +134,9 @@ stealthchop_threshold: 0 step_pin: P0.19 dir_pin: !P0.20 enable_pin: !P2.8 -step_distance: 0.0125 +rotation_distance: 40 +microsteps: 16 +# full_steps_per_rotation:200 #set to 400 for 0.9 degree stepper endstop_pin: P1.26 position_min: 0 ##-------------------------------------------------------------------- @@ -158,7 +161,6 @@ homing_positive_dir: true ## Make sure to update below for your relevant driver (2208 or 2209) [tmcXXXX stepper_y] uart_pin: P1.15 -microsteps: 16 interpolate: True run_current: 0.8 hold_current: 0.7 @@ -175,7 +177,8 @@ stealthchop_threshold: 0 step_pin: z:P2.2 dir_pin: !z:P2.6 enable_pin: !z:P2.1 -step_distance: 0.00250 +rotation_distance: 8 +microsteps: 16 endstop_pin: z:P1.25 ## Z-position of nozzle (in mm) to z-endstop trigger point relative to print surface (Z0) ## (+) value = endstop above Z0, (-) value = endstop below @@ -202,7 +205,6 @@ homing_retract_dist: 3.0 ## Make sure to update below for your relevant driver (2208 or 2209) [tmcXXXX stepper_z] uart_pin: z:P1.17 -microsteps: 16 interpolate: true run_current: 0.8 hold_current: 0.8 @@ -215,12 +217,12 @@ stealthchop_threshold: 0 step_pin: z:P0.19 dir_pin: z:P0.20 enable_pin: !z:P2.8 -step_distance: 0.00250 +rotation_distance: 8 +microsteps: 16 ## Make sure to update below for your relevant driver (2208 or 2209) [tmcXXXX stepper_z1] uart_pin: z:P1.15 -microsteps: 16 interpolate: true run_current: 0.8 hold_current: 0.80 @@ -233,12 +235,12 @@ stealthchop_threshold: 0 step_pin: z:P0.22 dir_pin: !z:P2.11 enable_pin: !z:P0.21 -step_distance: 0.00250 +rotation_distance: 8 +microsteps: 16 ## Make sure to update below for your relevant driver (2208 or 2209) [tmcXXXX stepper_z2] uart_pin: z:P1.10 -microsteps: 16 interpolate: true run_current: 0.8 hold_current: 0.80 @@ -251,12 +253,12 @@ stealthchop_threshold: 0 step_pin: z:P2.13 dir_pin: z:P0.11 enable_pin: !z:P2.12 -step_distance: 0.00250 +rotation_distance: 8 +microsteps: 16 ## Make sure to update below for your relevant driver (2208 or 2209) [tmcXXXX stepper_z3] uart_pin: z:P1.8 -microsteps: 16 interpolate: true run_current: 0.8 hold_current: 0.80 @@ -275,11 +277,11 @@ dir_pin: P0.11 enable_pin: !P2.12 ## 16 microsteps Mobius 3 ~= 0.00180 ## Update value below when you perform extruder calibration -## Higher value means less filament extruded ## If you ask for 100mm of filament, but in reality it is 98mm: -## step_distance = 98 / 100 * step_distance_old -## 0.00240 a good starting value for Afterburner, 0.00180 for Mobius -step_distance: 0.00240 +## rotation_distance = * / 100 +## 7.68 a good starting value for Afterburner, 5.76 for Mobius +rotation_distance: 7.68 +microsteps: 16 nozzle_diameter: 0.400 filament_diameter: 1.75 heater_pin: P2.7 @@ -303,7 +305,6 @@ pressure_advance_smooth_time: 0.040 ## Make sure to update below for your relevant driver (2208 or 2209) [tmcXXXX extruder] uart_pin: P1.9 -microsteps: 16 interpolate: false run_current: 0.5 hold_current: 0.4 From 42b5cf9a4d3604b60a608137eaa32a664577867f Mon Sep 17 00:00:00 2001 From: shiftingtech <53156353+shiftingtech@users.noreply.github.com> Date: Sat, 9 Jan 2021 11:33:55 -0700 Subject: [PATCH 2/4] Stock config updates * updated V2 SKR 1.4 Config to use rotation_distance in place of step_distance * updated V2 SKR 1.4 Config to use by-id serial paths in place of by-path --- .../SKR_1.4/Voron2_SKR_14_Config.cfg | 43 ++++++++++--------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/firmware/klipper_configurations/SKR_1.4/Voron2_SKR_14_Config.cfg b/firmware/klipper_configurations/SKR_1.4/Voron2_SKR_14_Config.cfg index fe09b2c..b2535ad 100644 --- a/firmware/klipper_configurations/SKR_1.4/Voron2_SKR_14_Config.cfg +++ b/firmware/klipper_configurations/SKR_1.4/Voron2_SKR_14_Config.cfg @@ -63,9 +63,9 @@ ## [X in X] - B Motor ## [Y in Y] - A Motor ## [E in E0] - Extruder -## Obtain definition by "ls -l /dev/serial/by-path/" then unplug to verify +## Obtain definition by "ls -l /dev/serial/by-id/" then unplug to verify ##-------------------------------------------------------------------- -serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.1.2:1.0 +serial: /dev/serial/by-id/usb-Klipper_lpc1768_00000-if00 ##-------------------------------------------------------------------- [mcu z] @@ -74,9 +74,9 @@ serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.1.2:1.0 ## [Z1 in Y] - Rear Left ## [Z2 in Z] - Rear Right ## [Z3 in E0]- Front Right -## Obtain definition by "ls -l /dev/serial/by-path/" then unplug to verify +## Obtain definition by "ls -l /dev/serial/by-id/" then unplug to verify ##-------------------------------------------------------------------- -serial: /dev/serial/by-path/platform-3f980000.usb-usb-0:1.1.3:1.0 +serial: /dev/serial/by-id/usb-Klipper_lpc1768_00000-if00 ##-------------------------------------------------------------------- [printer] @@ -96,7 +96,9 @@ square_corner_velocity: 5.0 #Can experiment with 8.0, default 5.0 step_pin: P2.2 dir_pin: !P2.6 enable_pin: !P2.1 -step_distance: 0.0125 +rotation_distance: 40 +microsteps: 16 +# full_steps_per_rotation:200 #set to 400 for 0.9 degree stepper endstop_pin: P1.29 position_min: 0 ##-------------------------------------------------------------------- @@ -121,7 +123,6 @@ homing_positive_dir: true ## Make sure to update below for your relevant driver (2208 or 2209) [tmcXXXX stepper_x] uart_pin: P1.10 -microsteps: 16 interpolate: True run_current: 0.8 hold_current: 0.7 @@ -133,7 +134,9 @@ stealthchop_threshold: 0 step_pin: P0.19 dir_pin: !P0.20 enable_pin: !P2.8 -step_distance: 0.0125 +rotation_distance: 40 +microsteps: 16 +# full_steps_per_rotation:200 #set to 400 for 0.9 degree stepper endstop_pin: P1.28 position_min: 0 ##-------------------------------------------------------------------- @@ -158,7 +161,6 @@ homing_positive_dir: true ## Make sure to update below for your relevant driver (2208 or 2209) [tmcXXXX stepper_y] uart_pin: P1.9 -microsteps: 16 interpolate: True run_current: 0.8 hold_current: 0.7 @@ -175,7 +177,8 @@ stealthchop_threshold: 0 step_pin: z:P2.2 dir_pin: !z:P2.6 enable_pin: !z:P2.1 -step_distance: 0.00250 +rotation_distance: 8 +microsteps: 16 endstop_pin: z:P1.27 ## Z-position of nozzle (in mm) to z-endstop trigger point relative to print surface (Z0) ## (+) value = endstop above Z0, (-) value = endstop below @@ -202,7 +205,6 @@ homing_retract_dist: 3.0 ## Make sure to update below for your relevant driver (2208 or 2209) [tmcXXXX stepper_z] uart_pin: z:P1.10 -microsteps: 16 interpolate: true run_current: 0.8 hold_current: 0.8 @@ -215,12 +217,12 @@ stealthchop_threshold: 0 step_pin: z:P0.19 dir_pin: z:P0.20 enable_pin: !z:P2.8 -step_distance: 0.00250 +rotation_distance: 8 +microsteps: 16 ## Make sure to update below for your relevant driver (2208 or 2209) [tmcXXXX stepper_z1] uart_pin: z:P1.9 -microsteps: 16 interpolate: true run_current: 0.8 hold_current: 0.8 @@ -233,12 +235,12 @@ stealthchop_threshold: 0 step_pin: z:P0.22 dir_pin: !z:P2.11 enable_pin: !z:P0.21 -step_distance: 0.00250 +rotation_distance: 8 +microsteps: 16 ## Make sure to update below for your relevant driver (2208 or 2209) [tmcXXXX stepper_z2] uart_pin: z:P1.8 -microsteps: 16 interpolate: true run_current: 0.8 hold_current: 0.80 @@ -251,12 +253,12 @@ stealthchop_threshold: 0 step_pin: z:P2.13 dir_pin: z:P0.11 enable_pin: !z:P2.12 -step_distance: 0.00250 +rotation_distance: 8 +microsteps: 16 ## Make sure to update below for your relevant driver (2208 or 2209) [tmcXXXX stepper_z3] uart_pin: z:P1.4 -microsteps: 16 interpolate: true run_current: 0.8 hold_current: 0.80 @@ -275,11 +277,11 @@ dir_pin: P0.11 enable_pin: !P2.12 ## 16 microsteps Mobius 3 ~= 0.00180 ## Update value below when you perform extruder calibration -## Higher value means less filament extruded ## If you ask for 100mm of filament, but in reality it is 98mm: -## step_distance = 98 / 100 * step_distance_old -## 0.00240 a good starting value for Afterburner, 0.00180 for Mobius -step_distance: 0.00240 +## rotation_distance = * / 100 +## 7.68 a good starting value for Afterburner, 5.76 for Mobius +rotation_distance: 7.68 +microsteps: 16 nozzle_diameter: 0.400 filament_diameter: 1.75 heater_pin: P2.7 @@ -303,7 +305,6 @@ pressure_advance_smooth_time: 0.040 ## Make sure to update below for your relevant driver (2208 or 2209) [tmcXXXX extruder] uart_pin: P1.4 -microsteps: 16 interpolate: false run_current: 0.5 hold_current: 0.4 From 8038202dea48ba5a9e27244bdff7c03d786d8b85 Mon Sep 17 00:00:00 2001 From: shiftingtech <53156353+shiftingtech@users.noreply.github.com> Date: Sat, 9 Jan 2021 17:20:54 -0700 Subject: [PATCH 3/4] Update Voron2_SKR_13_Config.cfg Updated Z axis to use gear_ratio: --- .../SKR_1.3/Voron2_SKR_13_Config.cfg | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/firmware/klipper_configurations/SKR_1.3/Voron2_SKR_13_Config.cfg b/firmware/klipper_configurations/SKR_1.3/Voron2_SKR_13_Config.cfg index 58cdabb..2f3f331 100644 --- a/firmware/klipper_configurations/SKR_1.3/Voron2_SKR_13_Config.cfg +++ b/firmware/klipper_configurations/SKR_1.3/Voron2_SKR_13_Config.cfg @@ -177,7 +177,8 @@ stealthchop_threshold: 0 step_pin: z:P2.2 dir_pin: !z:P2.6 enable_pin: !z:P2.1 -rotation_distance: 8 +rotation_distance: 40 +gear_ratio: 80:16 microsteps: 16 endstop_pin: z:P1.25 ## Z-position of nozzle (in mm) to z-endstop trigger point relative to print surface (Z0) @@ -217,7 +218,8 @@ stealthchop_threshold: 0 step_pin: z:P0.19 dir_pin: z:P0.20 enable_pin: !z:P2.8 -rotation_distance: 8 +rotation_distance: 40 +gear_ratio: 80:16 microsteps: 16 ## Make sure to update below for your relevant driver (2208 or 2209) @@ -235,7 +237,8 @@ stealthchop_threshold: 0 step_pin: z:P0.22 dir_pin: !z:P2.11 enable_pin: !z:P0.21 -rotation_distance: 8 +rotation_distance: 40 +gear_ratio: 80:16 microsteps: 16 ## Make sure to update below for your relevant driver (2208 or 2209) @@ -253,7 +256,8 @@ stealthchop_threshold: 0 step_pin: z:P2.13 dir_pin: z:P0.11 enable_pin: !z:P2.12 -rotation_distance: 8 +rotation_distance: 40 +gear_ratio: 80:16 microsteps: 16 ## Make sure to update below for your relevant driver (2208 or 2209) From c97de1823f7bcff6f0ce2bc0dba12914be1efee6 Mon Sep 17 00:00:00 2001 From: shiftingtech <53156353+shiftingtech@users.noreply.github.com> Date: Sat, 9 Jan 2021 17:22:08 -0700 Subject: [PATCH 4/4] Update Voron2_SKR_14_Config.cfg Updated Z axis to use gear_ratio --- .../SKR_1.4/Voron2_SKR_14_Config.cfg | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/firmware/klipper_configurations/SKR_1.4/Voron2_SKR_14_Config.cfg b/firmware/klipper_configurations/SKR_1.4/Voron2_SKR_14_Config.cfg index b2535ad..2b2fb87 100644 --- a/firmware/klipper_configurations/SKR_1.4/Voron2_SKR_14_Config.cfg +++ b/firmware/klipper_configurations/SKR_1.4/Voron2_SKR_14_Config.cfg @@ -177,7 +177,8 @@ stealthchop_threshold: 0 step_pin: z:P2.2 dir_pin: !z:P2.6 enable_pin: !z:P2.1 -rotation_distance: 8 +rotation_distance: 40 +gear_ratio: 80:16 microsteps: 16 endstop_pin: z:P1.27 ## Z-position of nozzle (in mm) to z-endstop trigger point relative to print surface (Z0) @@ -217,7 +218,8 @@ stealthchop_threshold: 0 step_pin: z:P0.19 dir_pin: z:P0.20 enable_pin: !z:P2.8 -rotation_distance: 8 +rotation_distance: 40 +gear_ratio: 80:16 microsteps: 16 ## Make sure to update below for your relevant driver (2208 or 2209) @@ -235,7 +237,8 @@ stealthchop_threshold: 0 step_pin: z:P0.22 dir_pin: !z:P2.11 enable_pin: !z:P0.21 -rotation_distance: 8 +rotation_distance: 40 +gear_ratio: 80:16 microsteps: 16 ## Make sure to update below for your relevant driver (2208 or 2209) @@ -253,7 +256,8 @@ stealthchop_threshold: 0 step_pin: z:P2.13 dir_pin: z:P0.11 enable_pin: !z:P2.12 -rotation_distance: 8 +rotation_distance: 40 +gear_ratio: 80:16 microsteps: 16 ## Make sure to update below for your relevant driver (2208 or 2209)