TMC5160Pro @48v on Octopus v1.1

Hello guys, i have the RR afaik ready 2 run, but i cant wrap my head around it how i can activate stallguard2 for using sensorless homing. the Motors drive in the right way, everything is cool until i hit home x or y it just keeps driving into the joints until it stops and says something like "No trigger on x after full movement". I was building now for the past 48h and tbh. im at the last step to finish this beauty and may brain is joghurt i believe by now. Sensorless...cfg # [stepper_x] endstop_pin: tmc5160_stepper_x:virtual_endstop position_min: -1 position_endstop: 0 homing_retract_dist: 0 [stepper_y] endstop_pin: tmc5160_stepper_y:virtual_endstop position_min: -1 position_endstop: 0 homing_retract_dist: 0 [tmc5160 stepper_x] diag1_pin: ^!x_diag_pin driver_SGT: -63# Stall guard threshold, this is your X sensitivity, to adjust, copy this section and override it in printer.cfg. [tmc5160 stepper_y] diag1_pin: ^!y_diag_pin driver_SGT: -63 # Stall guard threshold, this is your Y sensitivity, to adjust, copy this section and override it in printer.cfg. [gcode_macro RatOS] variable_homing: "sensorless" variable_sensorless_x_current: 0.4 variable_sensorless_y_current: 0.4 printer.cfg # [stepper_x] dir_pin: !x_dir_pin # Add ! in front of pin name to reverse X stepper direction rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys [tmc5160 stepper_x] stealthchop_threshold: 0 interpolate: False [stepper_y] dir_pin: !y_dir_pin # Add ! in front of pin name to reverse Y stepper direction rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys [tmc5160 stepper_y] stealthchop_threshold: 0 interpolate: False 5160...x.cfg # [tmc5160 stepper_x] spi_bus: spi1 cs_pin: x_uart_pin #spi_software_mosi_pin: stepper_spi_mosi_pin #spi_software_miso_pin: stepper_spi_miso_pin #spi_software_sclk_pin: stepper_spi_sclk_pin run_current: 1.768 sense_resistor: 0.075 driver_TBL: 0 driver_TOFF: 4 driver_HEND: 0 driver_HSTRT: 4
2 Replies
blacksmithforlife
why not use an endstop? sensorless has to be tuned and unlike in other printer designs BOTH motors are used for X and Y movements so you have to tune two drivers at once
ambitious-aqua
ambitious-aqua10mo ago
because i have it running on the certesian printer and i am fine with it. and i have not bought endstops because i want to use the sensorless system. solved.