Skip to content

Commit

Permalink
add tmc kinematics
Browse files Browse the repository at this point in the history
  • Loading branch information
frylock34 committed Dec 15, 2023
1 parent 16f109e commit 969696c
Show file tree
Hide file tree
Showing 3 changed files with 57 additions and 2 deletions.
2 changes: 1 addition & 1 deletion stereotech_config/630/kinematics.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ step_pin: z_step_pin
dir_pin: !z_dir_pin
enable_pin: !z_en_pin
microsteps: 128
rotation_distance: 4
rotation_distance: 2
endstop_pin: z_endstop_pin
position_endstop: 300
position_max: 300
Expand Down
55 changes: 55 additions & 0 deletions stereotech_config/630/kinematics_tmc.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
[tmc5160 stepper_x]
cs_pin: PC4
spi_bus: spi1
#diag1_pin: PG6
run_current: 0.700
interpolate: False
#stealthchop_threshold: 999999

[tmc5160 stepper_y]
cs_pin: PD11
spi_bus: spi1
#diag1_pin: PG9
run_current: 0.700
interpolate: False
#stealthchop_threshold: 999999

[tmc5160 stepper_z]
cs_pin: PC6
spi_bus: spi1
#diag1_pin: PG10
run_current: 1.5
interpolate: False
#stealthchop_threshold: 999999

[tmc5160 stepper_a]
cs_pin: PC7
spi_bus: spi1
#diag1_pin: PG11
run_current: 0.650
interpolate: False
#stealthchop_threshold: 999999

[tmc5160 stepper_c]
cs_pin: PF2
spi_bus: spi1
#diag1_pin: PG11
run_current: 0.800
interpolate: False
#stealthchop_threshold: 999999

[tmc5160 extruder]
cs_pin: PE4
spi_bus: spi1
#diag1_pin: PG11
run_current: 0.700
interpolate: False
#stealthchop_threshold: 999999

[tmc5160 extruder1]
cs_pin: PE1
spi_bus: spi1
#diag1_pin: PG11
run_current: 0.700
interpolate: False
#stealthchop_threshold: 999999
2 changes: 1 addition & 1 deletion stereotech_config/HTE630-0-C-23.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ path: /home/ste/uploads
[include config/common/board_stm32f4.cfg]

[include config/630/kinematics.cfg]
[include config/530/kinematics_tmc.cfg]
[include config/630/kinematics_tmc.cfg]
[include config/630/homing_override.cfg]
[include config/common/homing_macros.cfg]

Expand Down

0 comments on commit 969696c

Please sign in to comment.