So I'm using LiPos to power my robot. There's a very slight problem.
I'm using the same power line to power a brushless motor and an Arduino. The problem arises when I turn on the motor.
The brushless motor draws huge amounts of power, around 20A. The problem is that the 20A power input from the batteries also goes into the Arduino because of the common power line.
Needless to say, a tiny regulator doesn't like amperages that are way over it's rating. The Nano proceeded to turn into a heating element, shorting out almost every part on the board.
How do I fix this issue? The problem with just using an absolute monster of a resistor is that the current input significantly drops when the weapon turns off, and then the Nano would have next to no input current due to the resistor.