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
This commit is contained in:
shiftingtech 2021-01-09 11:26:59 -07:00 committed by GitHub
parent 66b36f6fbd
commit 3132f99fea
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23

@ -63,9 +63,9 @@
## [X in X] - B Motor ## [X in X] - B Motor
## [Y in Y] - A Motor ## [Y in Y] - A Motor
## [E in E0] - Extruder ## [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] [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 ## [Z1 in Y] - Rear Left
## [Z2 in Z] - Rear Right ## [Z2 in Z] - Rear Right
## [Z3 in E0]- Front 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] [printer]
@ -96,7 +96,9 @@ square_corner_velocity: 5.0 #Can experiment with 8.0, default 5.0
step_pin: P2.2 step_pin: P2.2
dir_pin: !P2.6 dir_pin: !P2.6
enable_pin: !P2.1 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 endstop_pin: P1.28
position_min: 0 position_min: 0
##-------------------------------------------------------------------- ##--------------------------------------------------------------------
@ -121,7 +123,6 @@ homing_positive_dir: true
## Make sure to update below for your relevant driver (2208 or 2209) ## Make sure to update below for your relevant driver (2208 or 2209)
[tmcXXXX stepper_x] [tmcXXXX stepper_x]
uart_pin: P1.17 uart_pin: P1.17
microsteps: 16
interpolate: True interpolate: True
run_current: 0.8 run_current: 0.8
hold_current: 0.7 hold_current: 0.7
@ -133,7 +134,9 @@ stealthchop_threshold: 0
step_pin: P0.19 step_pin: P0.19
dir_pin: !P0.20 dir_pin: !P0.20
enable_pin: !P2.8 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 endstop_pin: P1.26
position_min: 0 position_min: 0
##-------------------------------------------------------------------- ##--------------------------------------------------------------------
@ -158,7 +161,6 @@ homing_positive_dir: true
## Make sure to update below for your relevant driver (2208 or 2209) ## Make sure to update below for your relevant driver (2208 or 2209)
[tmcXXXX stepper_y] [tmcXXXX stepper_y]
uart_pin: P1.15 uart_pin: P1.15
microsteps: 16
interpolate: True interpolate: True
run_current: 0.8 run_current: 0.8
hold_current: 0.7 hold_current: 0.7
@ -175,7 +177,8 @@ stealthchop_threshold: 0
step_pin: z:P2.2 step_pin: z:P2.2
dir_pin: !z:P2.6 dir_pin: !z:P2.6
enable_pin: !z:P2.1 enable_pin: !z:P2.1
step_distance: 0.00250 rotation_distance: 8
microsteps: 16
endstop_pin: z:P1.25 endstop_pin: z:P1.25
## Z-position of nozzle (in mm) to z-endstop trigger point relative to print surface (Z0) ## Z-position of nozzle (in mm) to z-endstop trigger point relative to print surface (Z0)
## (+) value = endstop above Z0, (-) value = endstop below ## (+) 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) ## Make sure to update below for your relevant driver (2208 or 2209)
[tmcXXXX stepper_z] [tmcXXXX stepper_z]
uart_pin: z:P1.17 uart_pin: z:P1.17
microsteps: 16
interpolate: true interpolate: true
run_current: 0.8 run_current: 0.8
hold_current: 0.8 hold_current: 0.8
@ -215,12 +217,12 @@ stealthchop_threshold: 0
step_pin: z:P0.19 step_pin: z:P0.19
dir_pin: z:P0.20 dir_pin: z:P0.20
enable_pin: !z:P2.8 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) ## Make sure to update below for your relevant driver (2208 or 2209)
[tmcXXXX stepper_z1] [tmcXXXX stepper_z1]
uart_pin: z:P1.15 uart_pin: z:P1.15
microsteps: 16
interpolate: true interpolate: true
run_current: 0.8 run_current: 0.8
hold_current: 0.80 hold_current: 0.80
@ -233,12 +235,12 @@ stealthchop_threshold: 0
step_pin: z:P0.22 step_pin: z:P0.22
dir_pin: !z:P2.11 dir_pin: !z:P2.11
enable_pin: !z:P0.21 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) ## Make sure to update below for your relevant driver (2208 or 2209)
[tmcXXXX stepper_z2] [tmcXXXX stepper_z2]
uart_pin: z:P1.10 uart_pin: z:P1.10
microsteps: 16
interpolate: true interpolate: true
run_current: 0.8 run_current: 0.8
hold_current: 0.80 hold_current: 0.80
@ -251,12 +253,12 @@ stealthchop_threshold: 0
step_pin: z:P2.13 step_pin: z:P2.13
dir_pin: z:P0.11 dir_pin: z:P0.11
enable_pin: !z:P2.12 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) ## Make sure to update below for your relevant driver (2208 or 2209)
[tmcXXXX stepper_z3] [tmcXXXX stepper_z3]
uart_pin: z:P1.8 uart_pin: z:P1.8
microsteps: 16
interpolate: true interpolate: true
run_current: 0.8 run_current: 0.8
hold_current: 0.80 hold_current: 0.80
@ -275,11 +277,11 @@ dir_pin: P0.11
enable_pin: !P2.12 enable_pin: !P2.12
## 16 microsteps Mobius 3 ~= 0.00180 ## 16 microsteps Mobius 3 ~= 0.00180
## Update value below when you perform extruder calibration ## 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: ## If you ask for 100mm of filament, but in reality it is 98mm:
## step_distance = 98 / 100 * step_distance_old ## rotation_distance = <previous_rotation_distance> * <actual_extrude_distance> / 100
## 0.00240 a good starting value for Afterburner, 0.00180 for Mobius ## 7.68 a good starting value for Afterburner, 5.76 for Mobius
step_distance: 0.00240 rotation_distance: 7.68
microsteps: 16
nozzle_diameter: 0.400 nozzle_diameter: 0.400
filament_diameter: 1.75 filament_diameter: 1.75
heater_pin: P2.7 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) ## Make sure to update below for your relevant driver (2208 or 2209)
[tmcXXXX extruder] [tmcXXXX extruder]
uart_pin: P1.9 uart_pin: P1.9
microsteps: 16
interpolate: false interpolate: false
run_current: 0.5 run_current: 0.5
hold_current: 0.4 hold_current: 0.4