Hi, is there any way how to use homing with Arduino + TMC2130? The TMC2130 driver allows homing, but I have not found a function for it in any TMC2130 library and hesitate how to use it.
D.
I think a tmc2130 is only a driver which can register when the stepper encounters resistance which can be seen as an end switch. I prefer a regular end switch.
here is a tutorial to upgrade ramps1.4 with TMC2130
https://www.instructables.com/Upgrading-RAMPS-14-With-TMC2130-Stepper-Drivers/
I think there are two ways. Look for a 'stall' status or look in the 'lost steps' register. Both will tell you when your motion hits a physical stop.
Thank you for your answers and advices. Maybe it's something else I'm looking for. I'm not looking for the option to turn on a feature that returns the home position after a bump or overload (CNC or printers homing). Is is not my case. I am looking for a function that I can call to return to home position - to a position that is known or saved as home. A function that I can call at any time and the motor will get to that position without counting steps and checking the lost steps register. Similar is in STSPIN drivers and software. Thanks
Well thanks for pointing me to those ST devices which indeed have a homing function. Usually a machine controller has to work with a range of drivers which mostly don't have this, so a separate homing system compatible with the majority of drivers is needed. I've looked at quite a few stepper driver ICs but hadn't come across these ST ones, they seem to date from 4 years back and I wonder if they haven't really caught on, so other chips haven't incorporated similar functionality?
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.