#switched to sensorless but need to stop the motor first l between prices

13 messages · Page 1 of 1 (latest)

maiden thorn
#

So I'm having this issue with sensorless homing that if I do it after a print it acts like it's triggered immediately. But if I kill the motors and do it fresh it works just fine wondering if I'm missing a setting or something.

olive kettle
#

did you get this figured out? can go through some things if you want.

maiden thorn
grim moth
#

Are you running tmc autotune or something like that which might mess with the stepper driver settings?

maiden thorn
# grim moth Are you running tmc autotune or something like that which might mess with the st...
[tmc2209 stepper_x]
uart_pin: PE7
interpolate: True
run_current: 1.1
#hold_current: 0.4
sense_resistor: 0.110
stealthchop_threshold: 0
diag_pin: ^PB14 # use the same pin that was previously the endstop_pin!
driver_SGTHRS: 47




[tmc2209 stepper_y]
uart_pin: PE15
interpolate: True
run_current: 1.1
#hold_current: 0.4
sense_resistor: 0.110
stealthchop_threshold: 0
diag_pin: ^PB13     # use the same pin that was previously the endstop_pin!
driver_SGTHRS: 39 # 255 is most sensitive value, 0 is least sensitive
#

that is what i have currently

grim moth
#

Just guessing at what might cause it to work fine first thing after a restart, but not later. Some kind of "automagically fiddle with stepper settings" could certainly do that, but i don't know what else would.

olive kettle
#

TMC autotune means you have to tune a slightly differently titled value for sensorless

#

You adjust sg4_thrs: instead of driver_SGTHRS

maiden thorn
olive kettle
#

Yep

#

Let me show you where it goes first though

olive kettle
#

so in your TMC autotune section you would have something like this:

motor: ldo-42sth48-2004mah
sg4_thrs: 170
[autotune_tmc stepper_y]
motor: ldo-42sth48-2004mah
sg4_thrs: 168```