Battery backup for security cameras
Cameras go blind exactly when you need them: in a power cut. Most cameras and recorders run on 12 V DC, so a 12 V battery can carry them. A charger keeps the battery full, and a stabiliser board holds the output at exactly 12 V whether the mains is on or off.
New to electronics? The words used on this page
- Fuse
- A small part that melts and cuts the power if too much current flows. It protects the wire from overheating.
- BMS
- Battery management system. A small board inside a lithium battery that stops it being over-charged, run flat or shorted.
- LiFePO4
- A safe, long-lasting kind of lithium battery. A 12 V one is 12.8 V and charges at 14.4 to 14.6 V.
- Crimp
- To squeeze a metal end (a terminal or lug) onto a wire with a special tool, instead of soldering.
- Lug, ring terminal
- A metal end with a hole, crimped onto a wire so it can be bolted to a battery, fuse or busbar.
- Multimeter
- A hand-held meter that measures voltage. Use it to check before you connect anything.
- Step-down (buck) board
- A small board that lowers a voltage, for example 12 V down to 5 V.
- Step-up (boost) board
- A small board that raises a voltage, for example 3.7 V up to 5 V.
ABattery, charger and 12 V stabiliser
Your cameras and recorder each have a 12 V DC power adapter. Crimping · 2 to 3 hours
You will need
- 12 V LiFePO4 battery with built-in BMSSize from the calculatorView on Amazon
- LiFePO4 charger, 14.6 VAmps from the calculator: it must run the cameras and charge the batteryView on Amazon
- 12 V stabiliser (buck-boost converter)Input 9 to 16 V or wider, output 12 V, amps from the calculatorView on Amazon
- Blade fuse block, 6 wayOne fuse per cameraView on Amazon
- Inline fuse holder and blade fusesFuse size from the calculatorView on Amazon
- DC plug leads, 5.5 × 2.1 mmOne per camera and one for the recorderView on Amazon
- Red and black wire, ring terminalsGauge from the calculatorView on Amazon
- MultimeterTo check voltages before you connect anythingView on Amazon
Tools
Crimper, wire stripper, screwdriver, multimeter.
Step by step
- 1
Fit the main fuse holder on the battery's + wire and run it to the stabiliser's IN+. Battery − goes to IN−.
Check: leave the fuse out for now.
- 2
Fit the fuse and measure the stabiliser's output: 12.0 V. If it has a screw, turn it until it reads 12.0 V.
Check: set it before any camera is connected.
- 3
Connect the stabiliser's output to the fuse block: OUT+ to the + stud, OUT− to the negative bar.
- 4
Wire one DC plug lead per camera to its own fuse (2 A) and to the negative bar, centre wire to +. Do the same for the recorder (5 A).
Check: check each plug with the meter: + on the centre pin.
- 5
Connect the charger to the battery: + to +, − to −. Plug it in and leave it in.
- 6
Unplug the cameras' own adapters and plug in your leads. Then test: pull the charger's plug. Everything must keep running.
Check: check the recording afterwards for a gap.
Every connection, one by one
Tick each one as you make it. When every box is ticked, the wiring is complete.
| Done | From | To | Wire |
|---|---|---|---|
| Battery + | Main fuse, then stabiliser IN+ | Red, gauge from the calculator | |
| Battery − | Stabiliser IN− | Black | |
| Stabiliser OUT+ | Fuse block + stud | Red | |
| Stabiliser OUT− | Fuse block negative bar | Black | |
| Fuse block, one fuse each | Each DC plug's centre wire | Red | |
| Negative bar | Each DC plug's outer wire | Black | |
| Charger + | Battery + | The charger's own lead | |
| Charger − | Battery − | The charger's own lead |
As an Amazon Associate I earn from qualifying purchases. Links open Amazon search results.
Size the battery, charger and fuse
For your cameras, recorder and hours of backup.
How this is calculated
- Method
- Load = cameras × watts each + recorder. Energy = load × hours ÷ 90% (stabiliser). Battery Ah = that ÷ 90% usable ÷ 12.8 V. Stabiliser A = load ÷ 12 V × 1.25. Charger A = the load's current plus one tenth of the battery's Ah. Main fuse = 1.25 × the current at 11 V.
- Assumptions
- Camera and recorder watts are typical values; night-vision LEDs and disks raise them. Read the labels on your power adapters for real figures.
- Sources
- Typical camera and recorder power ratings; LiFePO4 battery datasheets.
Stay safe
- Put the main fuse on the battery's + wire as close to the terminal as you can.
- Use a charger made for LiFePO4 (14.4 to 14.6 V) that can stay connected all the time.
- Set the stabiliser to 12.0 V before you connect any camera. A battery on charge reaches 14.6 V, which is too high for some cameras.
- This build is 12 V only. The charger plugs into a wall socket: do not open it.
- Keep the battery indoors: LiFePO4 must not be charged below 0 °C (32 °F).
Questions people ask
Why not connect the cameras straight to the battery?
A 12 V lithium battery swings from about 10 V empty to 14.6 V on charge. Cameras and recorders want a steady 12 V. The stabiliser gives exactly 12.0 V the whole time.
Does this work for PoE cameras?
Put the PoE switch or the recorder's PoE power on a normal mains UPS instead. This build is for cameras and recorders with a 12 V DC plug.
What about the doorbell?
A wired doorbell runs on low-voltage AC from a transformer, so it needs a mains UPS. A battery doorbell needs nothing.
Will the internet stay up too?
Only if the router has backup as well. See the router backup project.
Written and checked by Moataz FOUAD, telecom and electronics engineer. About this site.