Date: 1/03/2016 19:29:19
From: CrazyNeutrino
ID: 853529
Subject: Arduino Mains Failure Battery Backup Circuit

Arduino Mains Failure Battery Backup Circuit

The article explains a simple mains failure backup circuit for providing Arduino boards an uninterruptible supply during such situations. The idea was requested by Mr. Fredrik.

Reply Quote

Date: 1/03/2016 19:44:12
From: mollwollfumble
ID: 853531
Subject: re: Arduino Mains Failure Battery Backup Circuit

TIC. I thought Arduino was supposed to run off battery in the first place.

Reply Quote

Date: 1/03/2016 19:44:36
From: CrazyNeutrino
ID: 853532
Subject: re: Arduino Mains Failure Battery Backup Circuit

http://electronics.stackexchange.com/questions/194537/can-i-use-two-power-source-to-switch-with-a-relay-like-this

http://electronics.stackexchange.com/questions/48577/power-from-battery-when-primary-source-fails

is the second one better?

Reply Quote

Date: 1/03/2016 19:50:33
From: CrazyNeutrino
ID: 853534
Subject: re: Arduino Mains Failure Battery Backup Circuit

this one

Reply Quote

Date: 1/03/2016 19:53:37
From: CrazyNeutrino
ID: 853537
Subject: re: Arduino Mains Failure Battery Backup Circuit

Is there any problem with this one?

Reply Quote

Date: 1/03/2016 20:19:28
From: mollwollfumble
ID: 853547
Subject: re: Arduino Mains Failure Battery Backup Circuit

Why use 12 volt battery backup when the Arduino happily runs off both 5 volt (regulated) and 7+ volt (unregulated)?

Reply Quote

Date: 1/03/2016 20:26:39
From: CrazyNeutrino
ID: 853548
Subject: re: Arduino Mains Failure Battery Backup Circuit

mollwollfumble said:


Why use 12 volt battery backup when the Arduino happily runs off both 5 volt (regulated) and 7+ volt (unregulated)?

Im going to have a separate 12 v system for my house as well as the grid

but I want to switch over from mains to battery when the power goes off

some things I have running at 12, some at 9 some at 5 usb power and some at 3 and 1.5

Reply Quote

Date: 1/03/2016 20:28:39
From: CrazyNeutrino
ID: 853549
Subject: re: Arduino Mains Failure Battery Backup Circuit

just looking at different options

http://www.mini-box.com/s.nl/sc.8/category.13/.f?gclid=CMrN9PWVn8sCFYKavAod23QJ1w

http://www.mini-box.com/Car-PC-Automotive-Computing-Solutions

Reply Quote

Date: 1/03/2016 21:02:49
From: CrazyNeutrino
ID: 853555
Subject: re: Arduino Mains Failure Battery Backup Circuit

one of these looks interesting

its a 12 volt PC for your car

http://www.mini-box.com/CarPC-Gigabyte-J1900N-D3V-M2-ATX-HV?sc=8&category=1543

Reply Quote

Date: 1/03/2016 21:34:36
From: wookiemeister
ID: 853572
Subject: re: Arduino Mains Failure Battery Backup Circuit

mollwollfumble said:


TIC. I thought Arduino was supposed to run off battery in the first place.

they can run off mains OR battery

if running off the mains you get a plug pack that steps down the voltage down to 5VDC centre pin positive

if running off a battery you can can use a 9 VDC battery that’s connected to a jack plug positive centre

the arduino when supplied with 9vdc will take it and step it down to 5 VDC using a voltage regulator on the board

Reply Quote

Date: 1/03/2016 21:36:07
From: wookiemeister
ID: 853574
Subject: re: Arduino Mains Failure Battery Backup Circuit

CrazyNeutrino said:


mollwollfumble said:

Why use 12 volt battery backup when the Arduino happily runs off both 5 volt (regulated) and 7+ volt (unregulated)?

Im going to have a separate 12 v system for my house as well as the grid

but I want to switch over from mains to battery when the power goes off

some things I have running at 12, some at 9 some at 5 usb power and some at 3 and 1.5


use USB power for the arduino – it’s safer

voltages above 5v is just wasting power

Reply Quote

Date: 1/03/2016 21:37:31
From: wookiemeister
ID: 853577
Subject: re: Arduino Mains Failure Battery Backup Circuit

I wouldn’t bother reinventing the wheel

BUY something that will do this rather than build it

Reply Quote

Date: 1/03/2016 21:44:49
From: AwesomeO
ID: 853583
Subject: re: Arduino Mains Failure Battery Backup Circuit

wookiemeister said:


I wouldn’t bother reinventing the wheel

BUY something that will do this rather than build it

Yes. And THEN attach it to the drone.

Reply Quote

Date: 1/03/2016 21:53:36
From: CrazyNeutrino
ID: 853591
Subject: re: Arduino Mains Failure Battery Backup Circuit

AwesomeO said:


wookiemeister said:

I wouldn’t bother reinventing the wheel

BUY something that will do this rather than build it

Yes. And THEN attach it to the drone.

I want a Bunnings shop where I can buy anything off the shelve!

Reply Quote

Date: 1/03/2016 22:15:51
From: wookiemeister
ID: 853598
Subject: re: Arduino Mains Failure Battery Backup Circuit

you might be able to buy a USB hub with battery back up that has a plug to 240

Reply Quote

Date: 1/03/2016 22:25:57
From: mollwollfumble
ID: 853607
Subject: re: Arduino Mains Failure Battery Backup Circuit

CrazyNeutrino said:


mollwollfumble said:

Why use 12 volt battery backup when the Arduino happily runs off both 5 volt (regulated) and 7+ volt (unregulated)?

Im going to have a separate 12 v system for my house as well as the grid

but I want to switch over from mains to battery when the power goes off

some things I have running at 12, some at 9 some at 5 usb power and some at 3 and 1.5

Interesting. I’ve often wondered what the ideal DC voltage is for running all the less-power-consuming parts of a house.

Reply Quote

Date: 1/03/2016 22:33:02
From: wookiemeister
ID: 853614
Subject: re: Arduino Mains Failure Battery Backup Circuit

ideal voltage related to the load there’s a safety factor as well

by rights the higher the voltage the better because less current produces less heat

unfortunately it means more insulation

Reply Quote

Date: 1/03/2016 22:34:51
From: sibeen
ID: 853616
Subject: re: Arduino Mains Failure Battery Backup Circuit

mollwollfumble said:

Interesting. I’ve often wondered what the ideal DC voltage is for running all the less-power-consuming parts of a house.

2.37854 volts.

I’m an engineer, trust me.

Reply Quote

Date: 1/03/2016 23:00:59
From: CrazyNeutrino
ID: 853656
Subject: re: Arduino Mains Failure Battery Backup Circuit

here is an interesting article

http://www.treehugger.com/sustainable-product-design/big-steps-in-building-change-our-wiring-to-12-volt-dc.html

Big steps in building change our wiring to 12 volt dc

Reply Quote

Date: 2/03/2016 03:51:38
From: mollwollfumble
ID: 853723
Subject: re: Arduino Mains Failure Battery Backup Circuit

CrazyNeutrino said:

here is an interesting article

http://www.treehugger.com/sustainable-product-design/big-steps-in-building-change-our-wiring-to-12-volt-dc.html

Big steps in building change our wiring to 12 volt dc

Interesting. Car batteries are a nominal 12.6 volts fully charged. Checking a few “wall warts” in the house yields 10.5, 9, 6, 4.8 and 4.75 volts. The 4.8 and 4.75 volt power sources are not interchangeable. Why isn’t there a darn standard for DC devices?

Reply Quote

Date: 2/03/2016 12:36:19
From: transition
ID: 853756
Subject: re: Arduino Mains Failure Battery Backup Circuit

if you ‘ave two parallel 12V supplies, why bother with a low Vd power mos or micropower relay, just use two diodes with a low forward Vd, one on each supply. Depending on the current, if a single diode has a forward Vd of .2-.3V, so @ 1A current the latter Vd will give you .3W dissipation in the diode (example only). 5A’d be 1.5W, 10A’d be 3W. Typical silicon diodes’d be ~ double that.

you can easy enough add an indicator diode to show which supply it’s running off.

Reply Quote

Date: 2/03/2016 23:17:39
From: wookiemeister
ID: 854034
Subject: re: Arduino Mains Failure Battery Backup Circuit

mollwollfumble said:


CrazyNeutrino said:

here is an interesting article

http://www.treehugger.com/sustainable-product-design/big-steps-in-building-change-our-wiring-to-12-volt-dc.html

Big steps in building change our wiring to 12 volt dc

Interesting. Car batteries are a nominal 12.6 volts fully charged. Checking a few “wall warts” in the house yields 10.5, 9, 6, 4.8 and 4.75 volts. The 4.8 and 4.75 volt power sources are not interchangeable. Why isn’t there a darn standard for DC devices?


they can be up to 13V point something fully charged open circuit

Reply Quote