I had a circuit setup to control the motor and a few other electronics from a 24v battery. The motor was connected to a motor controller from polulo and I also had a micro-controller connected to the 24 volt battery (motor controller: https://www.pololu.com/product/1456) The micro-controller had a power regulator rated at 5-36v (https://www.pololu.com/product/3104). Everything worked fine for a few minutes and then the power regulator on my micro-controller board quit functioning. The micro-controller itself still works fine if supplied with 5v but the power regulator is not outputting any voltage anymore.
I am assuming that there was a voltage spike from the motor that exceeded the voltage rating of the power regulator.
I've attached an imaging showing the circuit layout.
Is there anyway to predict what the maximum voltage spike would be from the motor? and what is the best way to handle the voltage spike? Should I just get a higher rated power regulator, or use a snubber diode? and if so how to size the diode?
I am assuming that there was a voltage spike from the motor that exceeded the voltage rating of the power regulator.
I've attached an imaging showing the circuit layout.
Is there anyway to predict what the maximum voltage spike would be from the motor? and what is the best way to handle the voltage spike? Should I just get a higher rated power regulator, or use a snubber diode? and if so how to size the diode?