mirror of
git://soft.sys114.com/klipper
synced 2026-02-12 06:50:25 +09:00
config: Update example configs to use rotation_distance
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
@@ -87,7 +87,8 @@
|
||||
step_pin: PD6
|
||||
dir_pin: PD11
|
||||
enable_pin: !PC6
|
||||
step_distance: .0125
|
||||
microsteps: 16
|
||||
rotation_distance: 40
|
||||
endstop_pin: ^PC14
|
||||
position_endstop: 0
|
||||
position_max: 250
|
||||
@@ -95,7 +96,6 @@ position_max: 250
|
||||
[tmc2660 stepper_x]
|
||||
cs_pin: PD14 # X_SPI_EN Required for communication
|
||||
spi_bus: usart1 # All TMC2660 drivers are connected to USART1
|
||||
microsteps: 16
|
||||
interpolate: True # 1/16 micro-steps interpolated to 1/256
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
@@ -105,7 +105,8 @@ idle_current_percent: 20
|
||||
step_pin: PD7
|
||||
dir_pin: !PD12
|
||||
enable_pin: !PC6
|
||||
step_distance: .0125
|
||||
microsteps: 16
|
||||
rotation_distance: 40
|
||||
endstop_pin: ^PA2
|
||||
position_endstop: 0
|
||||
position_max: 210
|
||||
@@ -113,7 +114,6 @@ position_max: 210
|
||||
[tmc2660 stepper_y]
|
||||
cs_pin: PC9
|
||||
spi_bus: usart1
|
||||
microsteps: 16
|
||||
interpolate: True
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
@@ -123,7 +123,8 @@ idle_current_percent: 20
|
||||
step_pin: PD8
|
||||
dir_pin: PD13
|
||||
enable_pin: !PC6
|
||||
step_distance: .0025
|
||||
microsteps: 16
|
||||
rotation_distance: 8
|
||||
endstop_pin: ^PD29
|
||||
position_endstop: 0.5
|
||||
position_max: 200
|
||||
@@ -131,7 +132,6 @@ position_max: 200
|
||||
[tmc2660 stepper_z]
|
||||
cs_pin: PC10
|
||||
spi_bus: usart1
|
||||
microsteps: 16
|
||||
interpolate: True
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
@@ -141,12 +141,12 @@ sense_resistor: 0.051
|
||||
step_pin: PD0
|
||||
dir_pin: PD16
|
||||
enable_pin: !PC6
|
||||
step_distance: .0025
|
||||
microsteps: 16
|
||||
rotation_distance: 8
|
||||
|
||||
[tmc2660 stepper_z1]
|
||||
cs_pin: PD25
|
||||
spi_bus: usart1
|
||||
microsteps: 16
|
||||
interpolate: True
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
@@ -156,12 +156,12 @@ sense_resistor: 0.051
|
||||
step_pin: PD3
|
||||
dir_pin: !PD17
|
||||
enable_pin: !PC6
|
||||
step_distance: .0025
|
||||
microsteps: 16
|
||||
rotation_distance: 8
|
||||
|
||||
[tmc2660 stepper_z2]
|
||||
cs_pin: PD26
|
||||
spi_bus: usart1
|
||||
microsteps: 16
|
||||
interpolate: True
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
@@ -171,12 +171,12 @@ sense_resistor: 0.051
|
||||
step_pin: PD27
|
||||
dir_pin: !PC0
|
||||
enable_pin: !PC6
|
||||
step_distance: .0025
|
||||
microsteps: 16
|
||||
rotation_distance: 8
|
||||
|
||||
[tmc2660 stepper_z3]
|
||||
cs_pin: PB14
|
||||
spi_bus: usart1
|
||||
microsteps: 16
|
||||
interpolate: True
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
@@ -186,7 +186,8 @@ sense_resistor: 0.051
|
||||
step_pin: PD5
|
||||
dir_pin: PA1
|
||||
enable_pin: !PC6
|
||||
step_distance: .002
|
||||
microsteps: 16
|
||||
rotation_distance: 33.500
|
||||
nozzle_diameter: 0.400
|
||||
filament_diameter: 1.750
|
||||
heater_pin: !PA20
|
||||
@@ -202,7 +203,6 @@ max_temp: 250
|
||||
[tmc2660 extruder]
|
||||
cs_pin: PC17
|
||||
spi_bus: usart1
|
||||
microsteps: 16
|
||||
interpolate: True
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
@@ -212,7 +212,8 @@ sense_resistor: 0.051
|
||||
step_pin: PD4
|
||||
dir_pin: PD9
|
||||
enable_pin: !PC6
|
||||
step_distance: .002
|
||||
microsteps: 16
|
||||
rotation_distance: 33.500
|
||||
nozzle_diameter: 0.400
|
||||
filament_diameter: 1.750
|
||||
heater_pin: !PA16
|
||||
@@ -228,7 +229,6 @@ max_temp: 250
|
||||
[tmc2660 extruder1]
|
||||
cs_pin: PC25
|
||||
spi_bus: usart1
|
||||
microsteps: 16
|
||||
interpolate: True
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
@@ -238,7 +238,8 @@ sense_resistor: 0.051
|
||||
step_pin: PD2
|
||||
dir_pin: !PD28
|
||||
enable_pin: !PC6
|
||||
step_distance: .002
|
||||
microsteps: 16
|
||||
rotation_distance: 33.500
|
||||
nozzle_diameter: 0.400
|
||||
filament_diameter: 1.750
|
||||
heater_pin: !PC3
|
||||
@@ -254,7 +255,6 @@ max_temp: 250
|
||||
[tmc2660 extruder2]
|
||||
cs_pin: PD23
|
||||
spi_bus: usart1
|
||||
microsteps: 16
|
||||
interpolate: True
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
@@ -264,7 +264,8 @@ sense_resistor: 0.051
|
||||
step_pin: PD1
|
||||
dir_pin: !PD22
|
||||
enable_pin: !PC6
|
||||
step_distance: .002
|
||||
microsteps: 16
|
||||
rotation_distance: 33.500
|
||||
nozzle_diameter: 0.400
|
||||
filament_diameter: 1.750
|
||||
heater_pin: !PC5
|
||||
@@ -280,7 +281,6 @@ max_temp: 250
|
||||
[tmc2660 extruder3]
|
||||
cs_pin: PD24
|
||||
spi_bus: usart1
|
||||
microsteps: 16
|
||||
interpolate: True
|
||||
run_current: 1.000
|
||||
sense_resistor: 0.051
|
||||
|
||||
Reference in New Issue
Block a user