Non rechargable backup battery

battery

If I'm using an Arduino or an ESP8266 NodeMCU board and have it connected to a power supply, how can I set up a backup battery?

Let's consider a scenario: the board has been running on the power supply for one year, and then a power outage occurs. In this situation, I want the board to switch to a backup battery, not necessarily for an extended period, but just long enough to send a notification indicating a power outage.

Please note that the battery is not rechargeable and is meant to be in place solely as a fail-safe measure in case of power failure.

What components or methods can I use to accomplish this?
the point is while battery not used, not to discharge it

1 Like

What is the voltage of your power supply, and what battery will you be using?

In the real universe, ALL batteries are chemical devices and will self-discharge. Even atomic backup devices have a limited lifetime.

Feed the power supply and battery to two common cathode Schottky diodes.

Your power supply needs to be greater than the battery voltage.

Feed the cathode output voltage to a Boost/Buck converter set to the controller supply voltage.

is quite possible with a largish capacitor and a few other components. The technique is used often to afford an opportunity to write to EEPROM.

Google and or see

a7

1 Like

Why Schottky diodes as opposed to regular? As long as both the external supply is a slightly higher voltage won't the Arduino just run on that, but if it drops low or out the batteries take over?

They have lower forward voltage drop.

Not sure what batteries you are using.

Here is one way to connect things.

Schottky diodes have a Vf of about .2 or .3V where Silicon is .7 to .8V

  • When the UNO is connected to the PC via USB, disconnect the Boost/Buck converter.
2 Likes

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.