WojTek wrote: ↑Sun May 19, 2024 11:11 amThis is not about tracking the position, but about recognising obstacles.
The position is tracked by the controller of the rail (Arduino, Raspberry-Pi, etc).
What I mean is the driver of the stepper motor TMC 5130.
Please read the user manual of this driver, then everything will be clear :-)
It's a 130 page document, so if you'd be so kind to elucidate rather than have me read that, it'd be beneficial

I'm assuming you're mentioning the sensorless homing scheme or something to detect current/load fluctuations. In ether case, implementing the extra hardware is a complexity tradeoff as it has to take into account what existing controller fotochris has, tacking this on, and reading up on implementation for the TMC. As I mentioned in one of my schemes, one limit switch or no limit switch but programmed in known values for rail length and starting always at 0 are other complexity trade off options. There are a myriad of control schemes for linear motions, none can be stated to be the best invariant of knowing what system one is integrating for and one's appetite or ability to modify the controller hardware/software, to me. This may be my issue with proclaiming a 'best,' especially given that the current controller may natively support limits and have routines for homing as an option. Even if the 5130 may be an excellent overall option.
CrispyBee wrote: ↑Sun May 19, 2024 12:15 pmIn case anyone is interested: I opened the MJKZZ controller box and the case is not grounded. In fact it wouldn't even matter if it was, as the power supply it was shipped with only has a flat Euro plug, meaning it isn't grounded either.
I wonder how why or whether they are selling tose legally in the EU, I have my doubts about that.
The mjkzz controllers are powered by raspberry pi, no? If so, I'd not be too concerned, they're usually isolated DC USB power supplies. I can't speak to EU regulations, tho.