Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #########################################################################################
- ## B/A Stepper Settings
- #########################################################################################
- ## | Stepper | Signal | EN | STEP | DIR | DIAG | UART | CS | SCK | MOSI | MISO | SPI |
- ## |-----------|-------------|-----|------|------|------|------|------|------|------|------|------|
- ## | X | HV_Stepper0 | PG0 | PB10 | PB11 | PG1 | | PE15 | PE12 | PE14 | PE13 | spi4 |
- ## | Y | HV_Stepper1 | PE9 | PF15 | PF14 | PE10 | | PE11 | PE12 | PE14 | PE13 | spi4 |
- ##---------------------------------------------------------------------------------------
- ## B Stepper - Left
- ## Connected to HV STEPPER 0
- ## Endstop connected to X-ENDSTOP
- ## B/A MOTORS = LDO-42STH48-2004MAH(VRN) - NEMA 17, 0.9° Step Angle, 400 steps, 2 Amp
- ## these motors are connected to the Leviathan v1.2 through 2x TMC5160 stepper drivers
- ##---------------------------------------------------------------------------------------
- ## Stepper motor
- [stepper_x]
- step_pin: PB10
- dir_pin: !PB11
- enable_pin: !PG0
- rotation_distance: 40
- microsteps: 32
- full_steps_per_rotation:400 #set to 200 for 1.8 degree stepper
- endstop_pin: tmc5160_stepper_x:virtual_endstop
- position_min: 0
- position_endstop: 300
- position_max: 300
- homing_speed: 20 #Max 100
- homing_retract_dist: 0 # was 5
- homing_positive_dir: true
- ## Stepper driver
- [tmc5160 stepper_x]
- cs_pin: PE15
- spi_bus: spi4
- diag0_pin: ^!PG1
- interpolate: true
- run_current: 0.8
- sense_resistor: 0.075
- stealthchop_threshold: 0
- ## TMC Auto tune
- [autotune_tmc stepper_x]
- motor: ldo-42sth48-2004mah
- tuning_goal: auto
- extra_hysteresis: 0
- tbl: 2
- toff: 1
- sgt: -64 # -64 is most sensitive value, 63 is least sensitive
- sg4_thrs: 10 # CoolStep current regulation threshold
- voltage: 2.9
- overvoltage_vth: 0.0
- ##---------------------------------------------------------------------------------------
- ## A Stepper - Right
- ## Connected to HV STEPPER 1
- ## Endstop connected to Y-ENDSTOP
- ## B/A MOTORS = LDO-42STH48-2004MAH(VRN) - NEMA 17, 0.9° Step Angle, 400 steps, 2 Amp
- ## these motors are connected to the Leviathan v1.2 through 2x TMC5160 stepper drivers
- ##---------------------------------------------------------------------------------------
- ## Stepper motor
- [stepper_y]
- step_pin: PF15
- dir_pin: !PF14
- enable_pin: !PE9
- rotation_distance: 40
- microsteps: 32
- full_steps_per_rotation:400 #set to 200 for 1.8 degree stepper
- endstop_pin: tmc5160_stepper_y:virtual_endstop
- position_min: 0
- position_endstop: 300
- position_max: 301
- homing_speed: 20 #Max 100
- homing_retract_dist: 0
- homing_positive_dir: true
- ## Stepper driver
- [tmc5160 stepper_y]
- cs_pin: PE11
- spi_bus: spi4
- diag0_pin: ^!PE10
- interpolate: true
- run_current: 0.8
- sense_resistor: 0.075
- stealthchop_threshold: 0
- ## TMC Auto tune
- [autotune_tmc stepper_y]
- motor: ldo-42sth48-2004mah
- tuning_goal: auto
- extra_hysteresis: 0
- tbl: 2
- toff: 1
- sgt: -64 # -64 is most sensitive value, 63 is least sensitive
- sg4_thrs: 10 # CoolStep current regulation threshold
- voltage: 2.9
- overvoltage_vth: 0.0
Advertisement
Add Comment
Please, Sign In to add comment