Hello all,
I have built a line follower robot with stepper motors to drive the wheels. It is controlled with TMC stepper motor drivers from the 3D printing area and a Teensy / Arduino microcontroller. It is powered by an 18 volt drill battery.
As far as everything works wonderfully, however, I have now encountered the following problem: If I move or drive the car by hand when it is switched off, the stepper motors behave like a generator, i.e. various LEDs of the circuit start to light up.
I am therefore concerned that this can damage the controller, drivers or battery due to this reverse current if you move the trolley too fast.
So now the question:
What is the best way to get the coils of the stepper motor disconnected from the rest of the circuit when it is off?
I have now read quite a bit about relays, optocouplers, solid state relays, mosfets etc.
So for me as a hobbyist / electronics layman it is hard to assess what would be the best / easiest solution to the problem.
I would be very grateful for helpful tips.