#Reverse polarity protection for battery

1 messages · Page 1 of 1 (latest)

dawn rover
#

Hey! So I want to implement some simple reverse polarity protection on my battery connection, since I accidentally fried one of my microcontrollers because I like a dumb dumb didn't check polarity on a battery I bought. Would something like this work, using a P-Channel mosfet?

MCBat+ goes to the B+ pin on a Nice Nano V2 and MCBat- goes to GND on the Nice Nano V2

#

I had thought of just using a simple diode, but the voltage drop that would include doesn't make me comfortable lol

minor beacon
#

Do you intend to support charging the battery as well? If so, using a simple diode will prevent current going back the other way to charge the battery.

My investigations into reverse polarity protection circuits that support charging just led me to a never-ending series of increasingly complicated circuits which each fixed some issue with the previous one but added new issues of their own. At that point, I just gave up and decided to use keyed connectors and silkscreen text so you can check that the battery is wired correctly.

dawn rover
#

Or well, in the current method charging the battery is supported just by using the nice nano v2, since it has battery mangement. BUT it doesn't seem to have reverse polarity protection lmao, at least I don't think the clones do then - since I fried one by plugging the battery in the wrong way around and having it try to charge lol

minor beacon
#

Adding a diode is not perfectly fine for charging. That means current can only come out of the battery and never back into it.

dawn rover
#

True yeah, I misread what you wrote :) I was a lil confused. I've done some research and it seems like one of the best options is a p channel mosfet. But I've also just contemplated doing the silk screen and keyed connectors lol

minor beacon
#

You would want reverse polarity protection but not reverse current protection, since reverse current is a feature here. Probably a good idea to breadboard a circuit that you want to use and test that

  1. With a simple load connected (a high value resistor or something else that you don't care about blowing up if your circuit doesn't work), you get the expected voltage with correct polarity and no voltage with reverse polarity.
  2. With the battery in the correct orientation and connected to your charger, the charger is able to charge it.

Also, not a bad idea to use the smallest battery you can and keep a sand bucket on hand whenever experimenting with lithium batteries...