I'm using a Sabertooth 2x25 motor driver which supports regenerative braking.
This means that it will charge my 4S Lipo when the motor (max 20A stall current) decelerates.
I'm using the same battery to power my Arduino, through a switching/buck convertor (VMA404) which steps down the voltage to 5V. So this circuit is connected in parallel with the motor circuitry.
Now I'm wondering how to deal with the fact that regenerative braking will reverse polarity of the battery. I suppose that will either fry my buck convertor or Arduino.
I could put a diode in front of the switching convertor to protect it, but even then I'm stuck with the problem that the Arduino won't get power during braking events.
What is the typical way to deal with this? I did my research, but can't seem to find much about this.
Edit: The Sabertooth itself has a 5V output but that one can only supply 10 milliamps, which is not enough for my needs. So I would like to tap off the main battery directly, through my BEC.
Thanks a lot!