• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Need circuit help? Post them in the comments! I've answered over 50,000!

Blog | Categories | About | Contact | Calculators-online
You are here: Home / Inverter Circuits / 3 Simple DC UPS Circuits for Modem/Router

DIY Circuits | Learn Basics | Arduino Coding




3 Simple DC UPS Circuits for Modem/Router

Last Updated on January 2, 2024 by Swagatam 272 Comments

In the following article I have explained 3 useful DC to DC uninterruptible power supply circuits or DC UPS circuits for low DC to DC uninterruptible power applications

The first idea below presents a DC UPS circuit can be used for providing back up power to modems or routers during mains failures, so that the  broadband/WiFi connection never gets interrupted. The idea was requested by Mr. Galive.

Technical Specifications

I need a circuit like,
I have two 12v dc adapter(600mA and 2A).
When input Mains is present, with the 600ma adapter i want to charge the battery(7.5AH) and with the 2A adapter i want to use my wifi router.
when the AC mains fails the battery will backup my wifi router without interruption.like UPS.
MY modem is rated as 12V 2.0A. That is why i want to use two 12v dc adapter.

The Design

Two adapters actually are not required for the proposed application. A single adapter, probably the one which is being used for charging the laptop battery may be used for charging the external battery also.

Looking at the given DC modem UPS circuit diagram we can see a simple yet interesting configuration involving a couple of diodes D1, D2, and resistor R1.

Normally a laptop charger is specified with 18V, so for charging a 12V battery this needs to be lowered to 14V. This is easily done using a transistor zener stage.

When mains is present, the voltage at D1 cathode is more positive than D2, which keeps D2 reverse biassed. This allows only D1 to conduct, supplying the voltage from the adapter to the modem.

D2 being switched OFF, the connected battery starts receiving the required charging voltage via R1 and begins getting charged in the process.

In an event AC mains fails, D1 gets switched OFF, and therefore allows D2 to conduct, enabling the battery voltage to instantly reach the modem without causing any interruptions to the network.

R1 must be selected depending upon the charging current rate of the attached battery.

A much better and improved version of the above is shown in the following diagram:

router modem DC UPS circuit

2) 6V to 220V Boost UPS Circuit

The second circuit explains a simple boost converter UPS circuit for supplying an uninterruptible power to satellite TV set top boxes so that the offline recording is never allowed to fail during power outages. The idea was requested by Mr. Aniruddha Mukherji.

Technical Specifications

I am an enthusiast electronic hobbyist person. Though I know only the basics, I am sure you must be getting 100's of emails daily and I am completely betting on my luck if this one gets to your "eyes" 

My requirement:

16 volt 1 amp DC backup for my apartment Tata sky centralized distribution panel.
Issue: My apartment maintenance people do not run backup (generator) during day time, I have a Tata sky DVR which fails to record since there is signal loss due to power failure.

Resolution:

I had thought of a small back up system,I had purchased a small 6 volt 11 watt CFL Ballast circuit thinking as cheap alternate solution, but the same failed to work.

Why I am looking for AC supply instead of DC?I do not want to tamper with their system and get penalized for whatsoever failures which may come to it due to natural course of operation.

Could you please help me with a very simple cost effective circuit that will give me 220 volt 20 watts power from 6 volt 5ah battery. To be precise 220 volts from 6 volt battery, as I have purchased a 6 volt 5 ah battery recently. The output wattage requirement is less than 20 watts, the
adapter ratings are :

Output - 16 volt 1 amp
Input - 240 volt .06 amp

I know you have lot of work, but if you could spare some time and help me with this it would be of great help. thank you

Thanks,
Aniruddha

The Design

Since today all electronic systems employ an SMPS power supply, the input does not necessarily need to be an AC for powering these equipment, rather an equivalent DC or pulsed DC also become useful and works as good.

Referring to the diagram above, a couple of sections can be seen, the IC1 configuration enables a 6V DC to be boosted to a much higher 220V pulsed DC through a boost converter topology using the IC 555 in its astable form. The extreme left side battery section ensures an changeover from mains to battery back up every time a power failure is sensed by the circuit.

The idea is pretty simple and does not require much of an elaboration.

How the Circuit Functions

IC1 is configured as an astable oscillator, which drives T1 and consequently L1 at the same frequency.

T1 induces the entire battery current across L1, causing a proportionately boosted voltage to appear across it during the OFF periods of the T1 (induced back EMF from L1).

L1 must be appropriately calculated such that it generates the required magnitude of voltage across the shown terminals.

The indicated 200 turns is tentatively figured out and might need much tweaking for achieving the intended 220V from the input 6V battery source.

T2 is introduced for regulating the output voltage to the desired safe levels, which is 220V here.

Z1 should be therefore a 220V zener, which conducts only when  this limit is exceeded, which forces T2 to conduct and ground pin5 of the IC, stalling the frequency at pin3 to a zero voltage.

The above process continuously readjusts itself rapidly ensuring a constant 220V at the output.

The adapter which can be seen at the extreme left is employed for two reasons, first to ensure that IC1 works continuously and produces the required 220V for the connected load regardless of the mains presence (just as we have in online UPS systems), and also to ensure a charging current for the battery when mains voltage is present.

The associated TIP122 transistor is positioned to generate a regulated 7V DC for the battery and also to restrict over charging of the battery .

Using Op Amp Cut OFF

If you want a precise circuit which will accurately monitor the DC UPS battery and implement the required over charge and low discharge cut OFFs, the following design may prove useful.

3) Redundant DC UPS Circuit

In this third concept below I have explained a couple of straightforward redundant UPS circuits for providing a secured uninterruptible power to crucial gadgets such as computer ATX or modems etc. The idea was requested by Mr.  Shayan Firoozi.

Circuit Objectives and Requirements

  1. There are many products which has 2 input for different power supply,for example one for normal mains,one for generator or other mains,like servers,routers,and some critical equipment,we call it redundant power supplies
  2. I have an equipment which consumes 3 ampere in 12 volt dc,if I use 2 transfer with 12 volt,3 amp output which one take responsibility and which one is waiting for first loss?? Both are same on voltage and amperage,I don,t want them to work together,
  3. I want second power supply to be standby
  4. Just a simple question: What would happens if I replace battery with another 12 volt power supply ?? Will it work as a redundant or standby power supply ??
  5. Thanks for your answer in advanced And if it's possible tell us about model of diode and other components for 12 volt 3 ampere

 The Design

As per the request, the circuit discussed in the above link can be modified to work with another DC power supply by eliminating the battery and associated stages as shown in the following form of redundant UPS circuit:

redundant UPS circuit with alternative power source

Using Two Power Supply Inputs

As we can see, the circuit is intended to work with a couple of power supplies having identical specs, such that whenever the primary power supply fails, the relay instantly changes over to the secondary power supply source ensuring an uninterruptible power supply to the connected load.

The diode D1 makes sure that while the primary power source is active and the relay in the deactivated position, it connects in series with D3 creating a greater forward drop than the primary supply diode D4...thus allowing the primary voltage to be in command and powering the load.

However as soon as the primary source goes through an outage, D4 is disabled, and for that split second D1 and D4 takes over powering the load, until the relay has changed over bypassing D1 and enabling the full rated power to the load.

The next diagram shows a method which allows a battery to be included within the proposed redundant UPS circuit, and the primary power source replaced with a solar panel, making the system a 3 way protected UPS circuit

redundant UPS circuit with charger and 18V solar panel

Using Power Supply with Battery

Referring to the diagram, as long as the solar energy is available, the relay stays activated keeping the mains derived 14v supply cut off from the system.

The solar power in the meantime charges the battery and also the connected load via D1.

The battery power being slightly subdued than the solar panel power keeps D2 deactivated such that only D1 is allowed to carry the solar energy to the attached load at the output.

Using TIP122 for CV Battery Charging

The TIP122 ensures a regulated and safe over charging protected supply for the battery which charges solely through the panel voltage during day time.

As night sets in, the relay deactivates at some of time when the solar supply gets too weak to hold the relay activated.

The above changeover instantly switches the mains operated 14V into the system enabling the load to switch to the mains derived voltage without an interruption.

The battery power makes sure that while the relay is transferring over from the solar to the mains adapter supply, it compensates the split second changeover lapse in power by supplying its own power to the load, and inhibiting even a microsecond break of supply for the load.

The battery also forms the third "line of defense" in case both the primary and the secondary power happens to fail together, and is always positioned in the standby mode for the recommended redundant uninterruptible power supply circuit operation.

The first redundant UPS circuit incorporating two power sources can be better modified in the manner shown below, here the relay N/C can be seen directly connected with the load, thus enabling zero drop in the supply line:

zero drop redundant UPS circuit

Modem UPS using TP4056 Li-IOn Charger

If you are interested to make a 5 V DC UPS for your router using high end chargers such as TP4056 and boost converter modules, the following design could help:

The above design could be also built without a relay as given below:

You'll also like:

  • How to Design an Inverter – Theory and Tutorial
  • fec5960f1fb08b909e75abd56bbead3cf3622a7c large4 Simple Uninterruptible Power Supply (UPS) Circuits Explored
  • 502Bwatt2Bmosfet2Binverter2Bcircuit2 Cool 50 Watt Inverter Circuits for Students and Hobbyists
  • waveform 2Multilevel 5 Step Cascaded Sine Wave Inverter Circuit

Filed Under: Inverter Circuits Tagged With: Circuits, DC, Modem, Router, Simple, UPS

About Swagatam

I am an electronics engineer and doing practical hands-on work from more than 15 years now. Building real circuits, testing them and also making PCB layouts by myself. I really love doing all these things like inventing something new, designing electronics and also helping other people like hobby guys who want to make their own cool circuits at home.

And that is the main reason why I started this website homemade-circuits.com, to share different types of circuit ideas..

If you are having any kind of doubt or question related to circuits then just write down your question in the comment box below, I am like always checking, so I guarantee I will reply you for sure!

Previous Post: « Energy Saving Automatic LED Light Controller Circuit
Next Post: Laser Diode Driver Circuit »

Reader Interactions

Comments

Salman says:
May 21, 2020 at 2:42 am

Sir I need your help I made 12v ups for router I used 5v 2A charger for input and connected to tp4056 and used 3*18650 batteries 3.7v 5000mAh in parallel combination then connected to dc booster xl6009 (and set the required voltages 12v)
But I connected the ups to my router it can’t run properly the power light of router starts blinking.
without connecting the ups and connected to the adapter its working fine without the power light blinking
My specifications of router are
Huawei 12V 1A
Waiting for reply
THANKS

Reply
Lord Lovaduck says:
May 17, 2020 at 4:10 pm

Dear Swagatam,
Thanks for publishing the circuits. First, by reading your article I see the power supply is assumed to be a laptop power supply which provides 18-19 V. Looking at the first and second circuits, the drawing indicates 12V sourced from what looks like “wire tap” from a laptop ps. This confused me a while as I was looking into using this circuit with a modem/router power supply that is rated at 12V 2A. This would not work, I believe since the 12V would not charge the battery, at least 14V should be required. Is that the case? Can you confirm my interpretation that the source should be 18-19 volt (or anything above 16V I guess). If that is indeed the case it may make sense to modify the drawing and state 18 – 19 volt source to avoid confusion.
Second, I wanted to go with the second circuit using LM317 until after discussing with a supplier who pointed out the second design will overcharge the battery, unlike the first design. How can I turn off the charging so it won’t be damaging the 12 V 7AH lead acid battery? Maybe add a simple circuit (found a couple online) that will switch off charging to the battery when it reaches 14.4 volt or so?
Thanks in advance for your help!

Reply
Swagatam says:
May 17, 2020 at 8:30 pm

Dear Lord, yes you are right 12 V will not charge a 12 V battery. I have only tried to present a rough concept regarding the dC UPS and might have missed a few basic points in the design,and i am assuming the readers would take care of these by themselves or may consult me, as you have done.

Actually you will need 15 to 16V in the first circuit since an emitter follower transistor is used. To implement this you can make a transformer based adapter for the 12 V adapter. For this you will need a 0-12V transformer, a bridge rectifier, and a 1000uf/25v capacitor.

the second circuit will not overcharge the battery if the input supply is regulated at precise 14.1V. If I include an auto cut off that may unnecessarily complicate the simple design, which may not be required. To make a customized volatge regulator that will control the supply to exactly 14.1V you can apply a LM317 based design or a transistorized based regulator design.

Reply
Ruwan Fernando says:
March 18, 2020 at 5:27 pm

Hello Sir…
I need to a circuit, DC UPS With 150A Battery charger I using Solar Power and power supply smps with 12V 150A Battery

Reply
Swagatam says:
March 19, 2020 at 10:19 am

Hello Ruwan,

you can try the following design
solae panel, DC UPS 150 Ah battery
Replace the diodes with 20 amp diodes on heatsink

Reply
Mohamood ameen says:
March 15, 2020 at 9:03 pm

Hi sir, i am planning to run a 12v 20w bldc fan even during power cuts. So, i have used 12v 2a smps power supply to power the load directly. Using 12v 1a battery charger with auto cut off feature to charge the 12v 7ah battery. Using relay to switch between regulator power supply to battery power supply while power cuts. Also using over discharge protector bought on aliexpress at the output of battery to prevent over discharging. Everything seems OK. But, my doubt is 12v 1a charger stops charging when it reaches certain voltage ex: 14v and starts charging instantly when voltage falls below 14v during normal discharge of battery. This continuous charging will affect the battery or not.

Reply
Swagatam says:
March 16, 2020 at 9:28 am

Hi Mohammad, the ON/OFF charging and cut off at the full charge threshold will not harm the battery in anyway.

Reply
Jerry Thomas says:
March 4, 2020 at 8:34 am

Thank you for this nice tutorial. I was looking for a laptop-style charging circuit. This helped me understand it quite well.

I wanted to create a Raspberry Pi Cluster containing max 8 Raspberry Pi’s. Each Raspberry Pi has 4 USB2 ports which can be used to connect to 4 external HDD’s leading to a max of 32 HDD’s. 32 external drives might be too much so I would limit this to 16. These HDD’s would need to be powered externally as the board itself does not provide sufficient power to each HDD. I believe the power required for each drive is 5V, 900mA. I also want to have a power module that consists of a battery that will be charged when external power is available. The power to the drives and Raspberry Pi’s should be provided from this battery when external power is not available. The switchover from A/C power to battery power should be seamless and should not cause the devices to power off.

I was thinking that using a laptop-style circuit for charging a battery while also providing power to the cluster would be required in this case. I also assumed that I would need splitter USB cables to pass data from the Pi board to the HDD and power from the power circuit.

What would you suggest as the circuit to power this cluster and what is the battery capacity would I need to support the power required for this cluster? Can you guide me on the circuit and the parts needed to build this power supply?

A/C -> Power supply ( rechargeable battery + circuit + board with USB ports for power to HDD’s and Pi’s)

Reply
Swagatam says:
March 4, 2020 at 1:44 pm

Thanks, Glad you found the right article for your application. The first circuit can be ideally applied for powering the mentioned units.
For 16 units, you would require a supply of 5 V, 15 amp. This could be acquired from a ready made SMPS adapter. The battery could be rather large if it is a lead acid battery at 5 V, (15 x 10 = 150 Ah). This would provide a back up of around 9 hours for all the connected HDDs.
For this you can replace the adapter with a 5 V 15 amp SMPS input in the first diagram. Replace the transistor with a Darlington pair made using TIP35/2N2222
For the diodes you can use any 15 amp diode (on heatsink)
The zener diode must be experimented to at an output of around 6.5 V to 6.9V
R1 can be eliminated since 15 amp from the adapter is the right charging voltage for a 150 Ah battery.
I hope this will help you to achieve the intended purpose!

Reply
Fabio says:
January 18, 2020 at 9:32 am

Hi and tanks for share all your knowledge.

I was looking at all the schematic and I think the second picture show what maybe will work with my system.

I have different network device connected all together to a single power supply.
The total load is around 7-8Amps at 12V but sometime I have spikes of 16A

I am looking to an UPS circuit that I can connect the entire system and charge a Lithium pack with max 14V 2A (This already have a balance charger installed inside).
I have a 15V power supply 18A but I am not sure what type of diode and resistance value to use for my environment.

Can you help me please

Reply
Swagatam says:
January 18, 2020 at 4:32 pm

Hi, if you are interested in the second circuit, you can use it by replacing the LM317/R1 stage with your balance charger and the battery, and then terminate the battery positive through D2 for supplying the system.

Reply
Fabio says:
January 18, 2020 at 5:04 pm

I want limit the charger current to max 2A. What resistor value should I use? Also for 20A should I use 4x6A4 diodes in parallel ?

Thanks

Reply
Swagatam says:
January 19, 2020 at 5:17 pm

You will need 1.25 / 2 = 0.625 Ohm resistor wattage will be 1.25 x 2 = 2.5 watts or 3 watt. For 20A load you will need a 25 amp diode

Reply
Fabio says:
January 19, 2020 at 5:23 pm

Thanks for the extra info.
For the diode, any schottky diode rated to 25 or + Amps should be fine?

Thanks a lot

Reply
Swagatam says:
January 20, 2020 at 4:40 pm

Yes will do, but it can be very costly..

Reply
Harinath says:
August 24, 2019 at 10:25 am

Dear Swagatam,
I was looking for ideas to make a good 12v ups for my modem and also a DVR. Your circuit ideas are very nice and informative. Now I will go ahead and build a unit.

Thank you for sharing these ideas and explaining them so well.

Best Regards,
Hari

Reply
Swagatam says:
August 24, 2019 at 12:26 pm

I am glad you found them useful Harinath. I wish you all the best!

Reply
Danie Brink says:
July 16, 2019 at 4:50 pm

Hi Swagatam,

I don’t know much about circuits but am trying to adapt yours from the first image to run a 3.5A load backed-up by a 35AH battery. I have a 100W 13.5-18V adjustable power supply. Would my circuit at: https://www.lucidchart.com/publicSegments/view/4aeab8a0-f9b7-4575-be14-df8708da7af0/image.png work?

I’ve used 3x 2.2Ω resistors to give me a 12/3.3 = 3.6A charge. I can’t source a 14V 1W zener diode locally but can get a 14V 5W one … would this work? If I wanted to add a hold-up cap to the output (I have 1 10k uF 16V cap lying around) how would I wire it in?

Thank you so much for the great work & help.

Reply
Swagatam says:
July 16, 2019 at 5:09 pm

Hi Danie, yes your circuit looks OK and will work, just make sure the battery gets the minimum 14V for charging. A 14V zener might not produce 14V at the output due to the TIP122 internal drop. So you may have a to add a couple of 1N4007 diodes in series with the 14V zener to ensure that the voltage at the emitter of TIP122 gets to 14V. The 1N4007 diode polarity will be opposite to the zener polarity.

If you want to include a capacitor at the output you can do it by joining the positive of the cap with the common cathode end of the 6A4 diodes, and negative terminal to the negative line.

Reply
ali says:
September 15, 2018 at 8:53 pm

hi dear swagatam
does the circuit in the following link work for 12 amps?

https://drive.google.com/file/d/1Npz2anCUy_pp1CLUHpua7mt7FOt-NX8T/view?usp=sharing

Reply
Swagatam says:
September 16, 2018 at 8:43 am

Hi Ali, it will work, but the diodes will need to be rated at 20 amps and on heatsink, the LM338 will also need a large heatsink

Reply
ali says:
June 13, 2018 at 11:49 pm

Dear Swagatam
to flow of 12 Amp, can I use SBL2040CT diode or two parallel 6A4 diodes ?
please guide me

Reply
Swagatam says:
June 14, 2018 at 8:52 am

Dear Ali, you can use two 6A4 in parallel by clamping them together on an aluminum heatsink

Reply
ali says:
June 14, 2018 at 2:46 pm

Thank you for your prompt response.

Reply
Shigida says:
June 3, 2018 at 10:27 pm

What is the role of 1k resistor in the first diagram?

Reply
Swagatam says:
June 4, 2018 at 8:05 am

without some kind of load the emitter side will show an incorrect reading on the meter while setting it up, connecting the 1K creates a dummy load for the transistor and allows a correct reading to appear on the meter.

Reply
Swagatam says:
April 26, 2018 at 6:48 am

1N4148 will not do, you must use the ones specified in the article, that is 1N5408 or 6A4

Reply
Swagatam says:
April 2, 2018 at 7:26 pm

In the first circuit if you set the maximum output at the emitter of T1 to little below the specified full charge level of the battery, then extra no cut-off circuit would be required, for a 12V battery this could be set at 13.9V.
The negative line which is connected with the battery negative should eb connected with the load’s negative.

Reply
Nish says:
January 4, 2018 at 5:49 am

Hi Swagatam. I have a 9V 600mA router and I was wondering if I could use this circuit with 18650 cells in 3S2P or 3P formation with a TP4056 charging circuit? Using a DC-DC step down converter to drop the input charging voltage to 5V and then using another DC-DC boost converter to increasing it back to 9v at battery output. Is this convoluted and if yes then is there a better way?
Thanks.

Reply
Swagatam says:
January 4, 2018 at 9:17 am

Hi Nish,

You can use this circuit for the mentioned application, however you can keep things simple by eliminating the step down converter, and instead using the cells in series to match the 9V output, because using two converters together can waste some power in the process and also make the system unnecessarily bulky..

Reply
Sujay says:
October 2, 2017 at 9:57 am

Hi Swagatam,
I have 1 switch [12V, 2A] & 1 router [12V, .5A], both of them needs a backup from 12V 7AH battery. So there will be 2 o/p from battery. I have following queries..
1) Can I use D1 & D2 as 1N4007, so that it can limit to 12V, 1Amp output of the circuit and can be input for switch?
2) How can I restrict the current to .5A [12V .5A] in another output, as an input of the router?

-Thanks
Sujay

Reply
Swagatam says:
October 2, 2017 at 3:19 pm

Hi Sujay,

1N4007 will burn at 1 amp unless it is on some form of heatsink…you will have to use a higher rated diode such as 1N5408 etc. for allowing 1 amp current through it.

for restricting current you can use a simple LM317 IC and wire it as per the following concept

https://www.homemade-circuits.com/2013/06/universal-high-watt-led-current-limiter.html

Reply
Sujay says:
October 2, 2017 at 5:31 pm

Thanks Swag.
I need some more clarifications about the same. As router needs “.5A” current, I can use LM317 to restrict the current for that device input. For switch, hope I can directly connect through 1N5408 diode. Or in both scenario I should use LM317?

In precision current limiter, to calculate R1, Vref used as 1.25V. But here my Battery is of 12V & device input voltage also 12V, so Vref is practically 0. So how should I define Vref to calculate R1?
-Thanks
Sujay

Reply
Swagatam says:
October 3, 2017 at 1:49 am

Hi Sujay,

actually current control is not required for any of the devices because if the voltage specs for the devices match with the battery voltage, current would be immaterial. You can safely connect the devices directly with the battery.

as for the 1.25V ref, I don’t think it is dependent on the input supply, this reference will be available as long as the input supply is well over the 1.25V value

Reply
NooMan2032 says:
September 8, 2017 at 8:40 am

HI Sir, my router requiere 12v 0.6A I want to plug it straight to car cigarette socket, do I need any protection or just an adequat fuse. thank you.

Reply
Swagatam says:
September 8, 2017 at 10:09 am

Hi Nooman, just do it through a 7812 IC, that will take care of everything

Reply
Drake says:
August 27, 2017 at 2:35 pm

Having 3 cells would actually give me less than 12v (3.7V * 3 = 11.1v) that’s why I was thinking for 4. Will that be an issue? Also, how will the charging be limited else batteries will be ruined in no time on continuous charging

Reply
Swagatam says:
August 27, 2017 at 3:18 pm

11.1V won’t be an issue for your modem…3 cells is the right number that you must use
as I mentioned in the my previous comment if the 4.2V per cell is prevented then an auto cut off won’t be required, because the cells will never be able to reach their full charge levels and therefore be safe.

Reply
Drake says:
November 26, 2017 at 8:16 pm

Sorry, couldn’t follow this up earlier.

I will be using your second circuit with LM317, to be adjusted to 12V output. My input is 19.75V 3.5A using an old laptop charger. I am planning to use 3 cells 18650 in series for 1-3 mins backup

Can you please tell:

1. If 3 cells would be sufficient.
2. Can I use battery protection module in your circuit – just before the battery charge
3. Need help with R1 value with the values mentioned above.

Reply
Swagatam says:
November 27, 2017 at 8:23 am

3 cells would provide around 10V which won’t be sufficient for a 12V load.

yes you can use any battery protection module in between the LM317 and the battery

R1 = 1.25 / 0.5C, where C is the Ah value of the battery

Reply
Drake says:
November 28, 2017 at 8:45 am

Hi Swagat,

In an earlier post before last one, you asked for using 3 cells only

“11.1V won’t be an issue for your modem…3 cells is the right number that you must use
as I mentioned in the my previous comment if the 4.2V per cell is prevented then an auto cut off won’t be required, because the cells will never be able to reach their full charge levels and therefore be safe.”

I am fine to use 4 if that’s the case. Please clarify

Reply
Swagatam says:
November 28, 2017 at 10:45 am

Hi Drake, I said this with reference to the modem supply requirement, but as far charging is concerned 4 cells would required 16V and furthermore this level may be higher for the modem too, so it is better to use 3 cells, just check whether at 10V the modem still works satisfactorily or not, if yes then you an go ahead with 3 cells.

you can fix the charging level to 12V which will never allow the cells to get overcharged.

Reply
Drake says:
August 27, 2017 at 12:47 pm

I am still confused. If you recall, I will be using chargeable batteries (I am planning to use 3.7 V 18650*4) in series as I need just 2-3 mins of backup . If I use LM7815 (7814 not available) in place of LM317, I will get 15V charging voltage and 1A fixed. How can I reduce the current here for batteries charge?

Reply
Swagatam says:
August 27, 2017 at 2:01 pm

I think you must use 3 cells in series and not 4…so the full charge level becomes 4.2 x 3 = 12.6V.
even if you need 3,4 min backup the battery would be continuously charged by the system and therefore it would need some kind of limiter, the current actually won’t matter if the voltage is kept slightly below 12.6V… to implement this you can configure the LM317 as a voltage regulator instead of current limiter, and fine tune the output to may be around 12.3V, 7815 can be totally avoided

Reply
Drake says:
August 14, 2017 at 5:12 am

HI, Not an electrical student but can understand circuits to an extent. My Dlink router is 12V 1.5A listed. I have a power backup for my apartment but it takes 2-3 minutes to resume the power and in calls, this is very annoying to connect again. Can you recommend a circuit that can be used with AA rechargeable batteries? Like I mentioned, I would need backup only for max 5 mins. I would like to assemble myself so appreciate your detailed response.

Reply
Swagatam says:
August 16, 2017 at 3:17 am

R1 can be removed and replaced with a short link since the 13.5V setting will never allow to battery to overcharge

Reply
Drake says:
August 27, 2017 at 11:59 am

I have found an old laptop charger which I would like to use. Its O/p is 19.75V 3.5A. Can I use your second circuit using LM317?

1. I see the direct o/p in your diagram from 12v to 12 v but that will not be case for me. How do I step it down? Can I use LM7812 there for reducing the o/p from 19.5v to 12v? What will be my current in that case?

2. While going through LM317 circuit, what should be value of R1? Can I use LM 7814 for charging the battery?

My router is rated at 12v, 1.5A.

Reply
Swagatam says:
August 27, 2017 at 12:13 pm

1) yes you can use a 7812, the current will be limited to 1 amp.
2) you can use 7814 in conjunction with the LM317 for charging the battery.
3) R1 will be = 1.25 / charging current limit

Reply
Drake says:
August 27, 2017 at 12:17 pm

Thanks for 1.5A, I was thinking of LM7912. Will that be ok as it outputs 1.5A?

If using 7814 instead of LM317, the charging current will be 1A. Will that mean that I need R1 as 1.25 Ohm?

Reply
Swagatam says:
August 27, 2017 at 12:36 pm

you can use 7912.

the charging current is supposed to be extremely low, may be around 1/20 of the battery AH if it is an SMF type of batt.

therefore R will need to be calculated as per this charging current rate

Reply
Swagatam says:
August 16, 2017 at 3:13 am

yes the first design using TIP122, the base resistor can be increased to 1K that's not very crucial, but the zener value should be selected such that the voltage at emitter is slightly higher than the battery voltage that is around 13.5V, rest can be as given in the design

Reply
Drake says:
August 15, 2017 at 8:04 am

Thanks for your prompt response. Are you recommending the one with TIP 122 circuit? Will the ratings for diode and resistor remains what you have recommended elsewhere?

Reply
Swagatam says:
August 14, 2017 at 6:40 am

yes I understood your requirement, you can still use the above concepts, for the battery you can use 8 rechargeable AAA cells in series….rest can be as is.

the first design looks more appropriate as it will not allow the batt to overcharge once the emitter side limit is correctly set.

the circuit (diodes) will automatically disconnect the battery as soon as the power resumes from your apartment backup.

Reply
john kg says:
May 10, 2017 at 5:12 am

good day sir

i am using normal inverter at home. the modem also connected to the normal power supply at home.when a power failure ( mains ) happens the inverter take some micro secs to switch over to battery and viceversa . so in that period the modem restarts and will take time to function . i need a backup for modem to avoid this operation, modem using 9v dc supply.( i installed a 9v dc batery to overcome this in parallel with power supply but it didnt work out still modem restart during this small changeover time )

can u help me to sort it out . (i dont want to install a separate full ups only for modem ).

regards

john

Reply
Swagatam says:
May 10, 2017 at 8:18 am

good day john, a modem will not reset if the changeover is within microseconds…it will happen only if the delay lasts over 500ms approximately.

you can probably try solving the issue by connecting a high value filter capacitor across the supply terminals of the modem. it should be at least a 6800uF/25V rated capacitor or above.

Reply
Nikhil says:
September 24, 2016 at 8:34 pm

Can 12V 2A (DC) Circuit be connected to 12V 9AH (DC) ?

Reply
Swagatam says:
September 25, 2016 at 3:51 pm

yes it's possible

Reply
Unknown says:
August 1, 2016 at 10:13 pm

Hi there I was wondering if I'm charging the battery with an outside source charger I just need to add a diode to the positive line of the battery, so I don't get a feedback to the battery is that correct?

Reply
Swagatam says:
August 2, 2016 at 5:16 am

Hi, only D1 and D2 are required no other diode needs to b included no matter from where you are charging the battery

Reply
NAREN says:
July 14, 2016 at 12:26 pm

hi
i have a maintenance free 12v bike battery,and 12v input modem, could i use your above circuit .

Reply
Swagatam says:
July 14, 2016 at 4:58 pm

yes you can use them without any issues…

Reply
Rahul says:
April 27, 2016 at 5:56 am

Hello sir,
I need you help. This is what i m looking for. My router adapter rating is 9V 600mA. And i want to use 12V 7AH battery. which circuit will be batter in my case? How much backup i will get from this battery.

Sorry for my english

Reply
Swagatam says:
April 27, 2016 at 1:39 pm

Hello Rahul,

sorry, none of the circuits will work because a 9V source can never charge a 12V battery….so you will have to procure a 14V adapter, or build a 14V adapter using a 0-12/1amp transformer along with a bridge rectifier/capacitor output network, for the application

Reply
Ezequiel says:
April 23, 2016 at 6:05 pm

I have a 16,5 VAC – 1,5 AMPS transformer. Can I use it with a full rectifier bridge (or 4x1n4007)? (I think I obtain 23.3V on the output)

Reply
Swagatam says:
April 24, 2016 at 5:34 am

23V will be high and dangerous for a 18V router, unless you step it down through a regulator IC

Reply
Aj says:
April 23, 2016 at 4:17 am

Not a electrical student. Have a wifi router. Adaptor says power output 18v/1a. Couldn't get a UPS for this router in market. Only 12v is available. Can you help me with this. Need to make my own ups.

Reply
Swagatam says:
April 23, 2016 at 5:05 pm

you can buy a 0-12V transformer and connect a diode bridge rectifier to its output along with a filter capacitor, this will provide you an output of around 19V which can be used for driving your router.

Reply
alis says:
March 18, 2016 at 12:18 pm

Thanks sir for your kind reply.
Sir I got the idea of emitter follower cct for transistor but I forgot to mention in previous question that my battery is 12 volt.
One thing more I want to ask that, does the formula R= 1.25/charging current apply on the second circuit only and Ohm's law apply on the first curcuit for the the value of R1. If yes then for the 1st cct, is the value of R1=12/2 = 6 Ohms or 14/2= 7 Ohms for 2 Amps of charging current. And what will be the wattage rating of other componants like zener diod for this charging current.

Reply
Swagatam says:
March 19, 2016 at 5:37 am

You got everything right Alis!

the wattage can be calculated with the following formula

P = R x I^2 = 6 x 2×2 = 6 x 4 = 24 watts

By the way the current is supposed to be 1/10th of the battery AH…I am not sure what's 2 amp in your case.

Reply
Kailash Upadhyaya says:
March 15, 2016 at 11:51 am

Dear Swagatam.
I tried to make the circuit according to the diagram, but i got an issue.
The line going to the laptop has very low and fluctuating amperage although the voltage is fine. I am actually trying to power two routers and it works flawlessly on one router, but it only works with the mains connected in the second router. Once the mains is disconnected and battery is connected, the amps is too low and fluctuating. What could be the reason for this? Please give feedback

Reply
Swagatam says:
March 18, 2016 at 2:34 pm

Dear Kailash,

It's easy, solder the long lead of the capacitor with the D1/D2 junction, and the smaller lead with the bottom negative line or the earth line

Reply
Kailash Upadhyaya says:
March 18, 2016 at 5:55 am

Dear Swagatam,
Thank you for your prompt response.
Could you please post picture of the capacitor connection. I am new to all this stuffs. I do not think that I could do it without a picture.

Reply
Swagatam says:
March 17, 2016 at 7:26 am

Dear Kailash, please try the new adapter and see how it performs.

for a better response you can try connecting a 2200uF/25V cap across the D1/D2 junction and ground.

Reply
Kailash Upadhyaya says:
March 20, 2016 at 11:14 am

Dear Swagatam,
I think that there has been some misunderstanding regarding my situation.
The circiut works fine when the adapter is connected to the main line of 220 volts. Once I switch the main line off and the circuit is running on battery, It can power one of the routers, but the other fluctuates. I do not think that this is the issue with the adapter. I might have done some mistake with circuit itself. I am a bit confused with the final part of the circuit. From the d2 and d1 junction it goes to the +ve of the modem. What about the -ve of the modem?I have connected the negative of the adapter to the negative of the battery using a wire from which I have cut two areas which connect to the -ve of the modem and to the ground. Is this correct? I think that this could be the issue. Please shed some light on this.

Reply
Swagatam says:
March 20, 2016 at 2:36 pm

Dear Kailash. yes I misunderstood and thought that the issue was when the mains was ON.

The negative line shown with the earthing sign should be connected in common to all the negatives of the respective devices….

If the voltage is not dropping then the current fluctuations can be ignored…please measure the voltages across the specific routers and confirm whether it's constant or not.

Reply
Kailash Upadhyaya says:
March 17, 2016 at 5:24 am

Dear Swagatam,
Thank you for your prompt response.
I bought the adapter just for this project according to the specs you had given on one of the comments.
It is a 14 volts adapter with 2.37 amps current. I could not find the 3 amps one in the market so I got the 2.37 amps one.
I cannot afford to buy another adapter at this moment, so is there anything that could be done for instance by adding transistors or any other parts in the same configuration.
I would be very grateful if you could provide the solution.
Thank you once again.

Reply
Swagatam says:
March 16, 2016 at 3:44 am

Dear Kailash,

check your adapter specifications or change with a higher current adapter, I think it may be low in current and therefore not able to charge the external battery and the laptop together.

Reply
Kailash Upadhyaya says:
March 15, 2016 at 11:47 am

Dear Swagatam.
I tried to make the above circuit, but I have come accross a certain issue.
The amperage on one of the connection is very low and fluctuating.
I am new to electronics, so could you please shed some light on this matter.
The line connected to the laptop has the problem. The one going to the router is just fine.
Thank you for your time

Reply
alis says:
March 12, 2016 at 3:15 pm

Thanks a lot for nice and great information.
Sir, I just want to know that what phenomena in the first circuit is to protect overcharging the battery, that is less current, voltage or anything else.
Secondly if I want to charge my 9Ah AGM battery with 2 Amps for quicker charging what changes should I made in first cct, what will be the value of R1 and across it what will be the value of resister in series of Led to indicate charging.
Thanks again.

Reply
Swagatam says:
March 13, 2016 at 4:20 am

R1 can be calculated by using ohm's law
R = V/I

9/0.5 = 18 ohms
watt = 18 x I^2 = 4.5 watts or 5 watts

if an LEd is connected in parallel to R1, then a 100 ohm resistor will be enough to safeguard it

Reply
Swagatam says:
March 13, 2016 at 4:08 am

Thanks Alis,
in the first circuit, the transistor is wired in the emitter follower mode in which the transistor is simply not allowed to conduct or is "choked" as soon as the emitter voltage reaches the base voltage level or at a difference of 0.6V (close to it.)

therefore assuming if the base zener voltage is 14.6V, then as soon the battery voltage reaches 14V, the transistor is unable to conduct any further, unless the battery drops to below 13.8V

for 9V battery, you can use a 11V zener diode

Reply
Achuet Kumar says:
February 7, 2016 at 5:23 pm

Can u please tell me…. Is this circuit protects battery from over charging

Reply
Swagatam says:
February 8, 2016 at 8:38 am

the first one will do it..

Reply
Rusan says:
February 5, 2016 at 6:46 pm

Also, please kindly list the components that i should use to complete the circuit.

Reply
Swagatam says:
February 6, 2016 at 5:31 am

click the diagram to enlarge, and write down the components as it's shown, your retailer will understand and give you the components accordingly…

Reply
Rusan says:
February 5, 2016 at 6:33 pm

Thank you for your quick reply. But, you didn't mention which circuit should i use? And, would the 12 V adapter safe?

Reply
Swagatam says:
February 6, 2016 at 5:28 am

Rusan, you did not ask me about the circuit selection therefore I did not suggest about it.

both the circuits are correct and will work.

you can use any of those as per your convenience..

12V adapter will not charge 12V battery…so it must be set to 14.4V adapter

Reply
Rusan says:
February 5, 2016 at 3:47 am

Hello, Swagatam.

I want to power my router which requires 9 volt 1 amp but i have two 6 volt 4.5 Ah Lead Acid Battery. So, i want to use two 6 V batteries to power my router. Is it possible? I would be very thankful if you could help me.

Reply
Swagatam says:
February 5, 2016 at 6:38 am

Hi Rusan,

yes you can do that, just be sure to add a 7809 regulator across the output, that is across the cathode junction of D1/D2 and ground

Reply
Adnan Ali says:
February 3, 2016 at 1:40 pm

Sir can I use a Transformer with bridge connected instead of 12v adapter and can I also just skip voltage regulator and directly connect through R1/D1 & which R1 resistor should I choose if I need 2.5~3.0ampere current for 12v battery. Thanks for your help & It is humble request to you please reply this message.

Reply
Swagatam says:
February 3, 2016 at 3:38 pm

Adnan, yes you can do it in that way, but please note the battery charging section is crude therefore it's better to use a reduced charging rate.

you can use 1/20th of the battery AH as the charging rate.

Use Ohms law for R1, that is R = V/I, where I is the charging rate as described above, V is the supply voltage

Reply
Swagatam says:
February 3, 2016 at 2:33 am

Adnan, LM317 will work, because the modem will not consume the entire 1 amp while the battery will require only 500mA for the charging….however L78012 can be used, but you will need to add diodes in series with its GND pin, along with a 1K resistor as shown in this article…this is required for raising the voltage from 12V to 14V for charging the battery

https://www.homemade-circuits.com/2013/04/12v-5-amp-fixed-voltage-regulator-ic.html

Reply
Adnan Ali says:
February 2, 2016 at 1:56 pm

Sir Great Work but I some confusion there,I have 12v Battery 7.5aH & 1Ampere consuming Modem. As LM317 Regulator only gives 1.5ampere, so will this 1.5ampere regulator run modem & also charge battery efficiently. Another thing is that I got L78012CV Regulator, so can I use this regulator instead of LM317/TIP122 without changing something in circuit. Thanks in advance Sir

Reply
Emotion Piano says:
January 31, 2016 at 1:17 pm

Thanks for uploading your schematic circuit ,! I have some questions here.Could you please reply me soon ?.
1.As far as i know ,the voltage for battery charging is about 13.6v -> ~ 15v (depending on your battery type).Your first circuit apply 12v adaptor ,does it work ?
2.When the battery is full ,it is about 13.5~13.7 .The battery voltage is dominant ,leads it works continuously (at that time the circuit won't use adapter supply ,it will use the battery ).

Reply
Swagatam says:
January 31, 2016 at 3:51 pm

For a 12V batt the input is supposed to b e 14.4V, the diagram shows a 12V adapter because we don't get 14.4V adapter, so readers are advised to handle such situation with discretion and logically.
The batt voltage can never surpass the adapter voltage, therefore the adapter voltage will be always the dominant one as long as the mains is available.

Reply
al santiago says:
January 5, 2016 at 11:40 pm

Will this work if connected to an LED strip with 12v input, 2.8amp and consumes 7.2 watts per meter?

Reply
Swagatam says:
January 6, 2016 at 6:46 am

yes it will work but make sure the transistor or the IC is mounted over a large heatsink

Reply
Eudald Bover says:
January 5, 2016 at 11:40 am

Dear Swagatam,

I want to design a ups circuit with the following requirements:

– Power supply AC/DC: 35W, 15VDC (www.meanwell.com/search/LRS-35/LRS-35-spec.pdf)
– Battery: 12VDC
– Operation: While the AC is OK, the battery will be charged (WITHOUT OVERCHARGING) and the output will be the power supply 15VDC. When the AC is NOT OK, the output will be the battery 12VDC.

I think that a simple way to detect if the AC is OK or not could be to read the output voltage. If it's 15VDC i can consider that the AC is OK and if it's 12VDC it's not OK.

To sum up: I need a circuit to charge the battery without overcharging and to provide me an output with 15VDC when AC is OK and 12VDC when AC is not OK.

I have seen your experience with UPS, could you help me with that?

Lots of thanks,

Reply
Swagatam says:
January 5, 2016 at 4:24 pm

Dear Eudald,

You can effectively use the first circuit shown in the above article, just eliminate D1 so that the full 15V is able to reach the output while mains is present. rest everything can be as is.

Reply
Ritesh Shakya says:
December 25, 2015 at 11:00 am

What is the replacement of 100 ohms 2watt resistor?

Reply
Joao Dias says:
December 15, 2015 at 7:48 pm

Thank you for answering. Its an Lead Battery. By the way, is it possible to set a led to indicate full charge? If yes, where should i put it? Thank you again!

Reply
Swagatam says:
December 16, 2015 at 1:40 pm

you can try adding an LED across R1 with a series 50 ohm resistor, and check the response, as long as it stays illuminated you can assume the battery to be getting charged.

Reply
Joao Dias says:
December 14, 2015 at 9:01 pm

Hi there! Thank you for the schematic! For the second circuit i have a 2Ah (12v) battery. Im using a 12v 1amp charger. Witch is the value of R1? R1 = 1.25/1A = 1 Ohm?
Thanks!

Reply
Swagatam says:
December 15, 2015 at 5:46 am

Hi, if it's a lead acid battery then the charging current should be restricted to 2/10 = 200mA

so R1 should be 1.25/.2 = 6.25 ohms

if it's a Li-ion batt then your calculation results will work.

the first circuit is more efficient in terms of voltage control so I recommend the first circuit

Reply
Mustafa Samim says:
December 5, 2015 at 7:52 pm

Thanks for the nice tutorial of yours Mr. Majumdar!

Here what I want to do is a bit different. I Have a UPS with 12v, 9AH (cycle use: 14.4 – 15.0v) battery inside and NO LOAD CUT OFF feature added which means it will charge the battery even if it is off but connected to the main outlet.

And at the same time I have a DSLR router with 9v, 0.85A adapter. Now I want to connect the router to the battery directly without the need of adapter of course.

What sort of circuit do you recommend for this purpose. Initially I want the router to be feed from UPS coming connections to the battery and when the main power fails the battery should feed the router?

Thanks in advance

Reply
Swagatam says:
December 7, 2015 at 1:22 pm

no problem even if it's 100 amps, because as long as the voltage is as per the load specs, the load will draw only the minimum required amount of current.

Reply
MSTF SMM says:
December 7, 2015 at 6:29 am

Thanks again
That does the job and brings the voltage to 9v, but it still outputs 1A I think, right? So no problem for router?

Reply
Swagatam says:
December 7, 2015 at 6:15 am

I was a little confused here….so if that is the situation, then you won't need anything, rather you can simply connect your router directly across the battery terminal via a 7809 IC. just make sure the IC is fitted with sufficiently large heatsink.

Reply
Mustafa Samim says:
December 6, 2015 at 5:02 pm

Thanks for the reply.

One thing to make sure as the alternative power or 12V DC from UPS main is connected to battery terminals, so I should have the UPS mains (alternative power) and battery terminals (12V adapter) connected together, right? At this stage it will charge the battery and feed the router at the same time.

And the 2nd thing that I need a 9v, 0.85A output, but the mentioned circuit is for 12v 3A I think. How should I adjust that?

Reply
Swagatam says:
December 6, 2015 at 8:41 am

Hi Mustafa,

according to my assumption, you can use the last circuit presented in the following article:

https://www.homemade-circuits.com/2015/11/redundant-ups-circuit.html

The "alternative power" can be replaced with the 12V DC power from the UPS mains, and the "12V adapter" can be replaced with battery terminals.

Reply
Shayan Firoozi says:
November 16, 2015 at 6:41 am

Hi again sir ,

i need to do the same with two 24 volt AC 5 Ampere adapter , i mean how can i make redundant power supply for AC adapters ?? and which diode or which technique should i use ?

many thanks Swagatam

Reply
Swagatam says:
November 16, 2015 at 1:11 pm

Hi Shayan, if your primary supply is connected to D1, then make sure D2 has one more diode (D3) in series with it….that's all.

Reply
Muhammad Waqar says:
November 15, 2015 at 4:05 pm

sir give me a circut diagrame.i have a bike battry 12v and dsl modem with chager.give me diagrame in which i connet these things.some qulity must b in.like no need to disconncet battry when light in on and overcharge protection and off during light off

Reply
Swagatam says:
November 16, 2015 at 12:47 pm

you can try the first circuit from the above article

Reply
Asif Suhaib says:
October 30, 2015 at 11:27 am

Sir can you please make me circuit for 9v and 0.6 amps…and there is a POE also i want that also to backup …its is rated as 12V and 1amp also can do the job or 0.7 or 0.8 amp also…plz post ASAP sir i want to build it

Reply
Swagatam says:
November 2, 2015 at 3:48 am

…sorry the above diagram did not publish correctly….but you can get the idea…D1, D2 ends are joined and connected with the 4 diode chain….the left end of this chain gives 12V, and the right end gives the 9V

Reply
Swagatam says:
November 2, 2015 at 3:45 am

D1, D2 junction can be used for your 12V load…and connect three mote diodes in series at the junction of D1/D2, and the end of this four diodes series can be used for powering the 9V load.

D1
—>I—|12V
D2 |————–>I—–>I——>I——->I——– = 9V
—>I—|

Reply
Asif Suhaib says:
November 1, 2015 at 4:17 am

Thnks You for the intimidate Reply Sir…but i am a beginner sir so i dont know can u redesign schamatic for me plz sir

Reply
Swagatam says:
October 30, 2015 at 2:22 pm

Asif, you can use the same circuit as presented in the above article.

just add 4 more diodes in series with the D1, D2 outputs and use it for the 9V load while the D1/D2 terminals can be used for the POE

Reply
Shayan Firoozi says:
October 24, 2015 at 11:24 am

Thank for your reply,
The point is clear,there are many products which has 2 input for different power supply,for example one for noraml mains,one for generator or other mains,like servers,routers,and some critical equipment,we call it redundant power supplies

I have an equipment wh consumes 3 amper in 12 volt dc,if I use 2 transfer with 12 volt,3 amp output which one take responsibility and which one is waiting for first loss?? Both are same on voltage and amperage,I don,t want them to work together,I want second power supply to be standby

Thank you
And if it's possible tell us about model of diode and other components for 12 volt 3 amper

Reply
Swagatam says:
October 24, 2015 at 2:04 pm

OK understood, the above circuit can be used with two power supplies, but one of the supplies will need to be slightly higher than the other for ensuring that the diodes do not conduct together or randomly…the main power supply could be made slightly higher than the standby supply, may be by a volt, amperage won't be an issue.

or in case the both the supplies are equal, the standby supply can have two diodes in series while the main supply may be provided with a single diode…. this will take care of the alternate switching of the diodes.

for 3amp use 6A4 diodes

Reply
Shayan Firoozi says:
October 23, 2015 at 6:28 pm

Hi sir
Just a simple question:
What would happens if I replace battery with another 12 volt power supply ??
Will it work as a redundant or standby power supply ??
Thanks for your answer in advanced

Reply
Swagatam says:
October 24, 2015 at 6:57 am

Hi Shayan,

sorry I could not understand the logic behind this…of course it would work like a battery would do…but what's the point in using two mains operated power supplies??

Reply
Chris says:
August 18, 2015 at 5:23 am

Thanks for the reply, with the same idea that it 12 V battery I connected, does polarity make any difference in DC connections probably I did not take care of polarity.
In that case, can i connect as following-> 12V SMPS charger to Battery terminals and From battery terminals to Modem Just like an on line UPS? do I have to incorporate any safety components from Terminals to Modem?
( they may calling it 12 V SMPS, but probably it is more than 12V it is actually used in UPS/Inverters for charging it is perfectly charging the exide battery)

Reply
Swagatam says:
August 31, 2015 at 10:50 am

You can use two more diodes in series, meaning put two more diodes in series with D1, this will rectify the issue and drop around 1.2V from the adapter output for the modem

Reply
Chris says:
August 31, 2015 at 5:12 am

SMPS when not connected 13.70 When SMPS charging it is showing 13.35 , battery voltage is 12.80 when SMPS not connected ,Should we have any protection before the modem to limit it to 12 Volts/ I mean, is it necessary? if so what should we put there .

Reply
Swagatam says:
August 18, 2015 at 9:02 am

yes, maintaining a correct polarity is definitely critical, a wrong polarity can instantly damage a particular device unless it may be protected with a diode.

It's possible to connect the units the way you have suggested and no safety measures are essential except for a battery over charge cut off circuit…or if you want to avoid this you can use a13.5V input instead of a 14.3V, which will never allow the battery to get 100% charged and therefore can be used without the over charger protection feature.

it would be advisable to measure the SMPS output volatge and make sure it's delivering above 13.5V

Reply
Chris says:
August 17, 2015 at 1:51 pm

HI Swagatam nice explanaations and ideas, i need help on similar need, here are what i have at hand
1.12 V 35 Amps exide battery
2.7V/7AH Batery
312 SMPS charger i am using to charge the exide battery
4.12V/1 Amp Adapter for modem
5.Modem
I wanted to have two circuits
1.To use with Exide battery -UPS circuit ,Charging with existing SMPS charger, and powering the Modem on power fail switch to battery power

2.To use with12V/7AH batter-UPS circuit charging the 12v 7Ah and powering the Modem on power fail switch to battery power
i did a stupid thing connecting 12 V 35 amps Exide battery directly to modem thinking that it just 12V and my modem is in't working now, i just bought new modem and seek your help. Yes i can assemble circuits on experimental boards
Kindly need your help, regards

Reply
Swagatam says:
August 18, 2015 at 4:32 am

Hi Chris, Thanks for posting your question!

The circuits explained in the above article are perfectly suited for fulfilling your requirements.

You can try the second circuit which is more sophisticated than the first one for both the needs..

A 12V adapter might not charge a 12V battery…the adapter output needs to be at least 14V to implement this.

If your modem is rated to operate at 12V, then I think you have done nothing stupid by connecting it to the 12V/35AH battery. Here the current is not important as long as the voltages are compatible…so it's quite OK to operate your 12V modem with any DC 12V source, even if it may be rated 1000 amp or 100000 amps

Reply
Athar Baig says:
August 1, 2015 at 6:09 am

hello Swagatam, I have Lead Acid battery with 6v 6Ah, laptop charger with 20V, 3.25mA. i want to use these thing to operate modem which operates on 12V, 800mA. Please help me to find the solution of this problem.

Reply
Swagatam says:
August 1, 2015 at 2:02 pm

hello Athar, for operating a 12V modem with a 6v you'll require a boost converter circuit which could be quite difficult if you are a newcomer in the field of electronics.

Reply
Shiva says:
July 30, 2015 at 3:25 pm

What components shuld I use for a 5v 500mamp current…???

Reply
Swagatam says:
July 31, 2015 at 4:27 am

components can be the same, just use a 7V adapter and set R1 according to the formula.

Reply
Syed Khalid says:
June 5, 2015 at 5:16 pm

realy appreciate bro thanks buddy…… nice

Reply
Swagatam says:
June 6, 2015 at 4:08 am

you are welcome buddy!

Reply
Black Bird says:
June 4, 2015 at 3:50 pm

Hello Brother, I have a 12v 7ah battery. And I want to use it for backing up a 12v 0.5Amp modem. I want to run this setup continuously. Thus iam worried about overcharging of the battery. which circuit is preferable in this situation. 1st pic or 2nd pic ? and I also have a 24v wall adaptor could I use it on this setup ?

Reply
Swagatam says:
June 10, 2015 at 10:01 am

I am sorry blackbird, I just overlooked the fact that the 24V would get directly connected with your modem….please do the following change in the design…just disconnect the anode of D1 and connect it directly with the emitter of the TIP122….and entirely sure that the zener diode is rated at 14V or slightly lower, you can try connecting a 1K preset parallel with the zener diode for correcting the output voltage to the required precise levels

Reply
Black Bird says:
June 9, 2015 at 5:34 pm

Sorry to disturb You again , Iam getting 24v in between Modem out terminals , when using a 24 v power supply. and about 16v in between battery out terminals ? My modem is rated about 12v .? what to do ?

Reply
Swagatam says:
June 8, 2015 at 2:45 pm

yes bro, it will be able to charge your battery, you can remove R1 for ensuring quicker charging, withing 8 to 10 hours.

Reply
Black Bird says:
June 8, 2015 at 9:13 am

Sorry Brother One More Doubt 🙂 , The adapter that is with me now is rated 24v 0.5A . So could it provide sufficient current to charge a 12v 7Ah battery ? Iam a newbie in electronics . So please help me ?

Reply
Swagatam says:
June 6, 2015 at 4:10 am

D1, and D2 cab be 1N5408 diodes, rest everything is given in the diagram itself, yes all these are standard components and should be easily available in the market.

Reply
Black Bird says:
June 5, 2015 at 2:24 pm

Thanks For the Reply 🙂 . Any way Could you please list the exact values of items that are included in the circuit. And is these items are easily available ? especially the Transistor TIP122 and 14v Zener ? Thanks again 🙂

Reply
Swagatam says:
June 5, 2015 at 2:39 am

Hello black bird, you can use the first circuit for charging your battery continuously without worrying, just make sure the zener diode is not rated above 14V. R1 can be selected arbitrarily, may be a 1 ohm resistor will be just enough…24V adapter can be used with the first circuit

Reply
Syed Khalid says:
June 4, 2015 at 12:54 pm

ok bro can i use 8v i have a 8v charger at the rate of 700mA can i use plz help me..

Reply
Swagatam says:
June 4, 2015 at 3:03 pm

ye, 8V/700mA will do, you can use it, if possible put a 1N4007 diode in series with the positive of the charger… this will drop the voltage to 7.4V…

Reply
Syed Khalid says:
June 3, 2015 at 4:25 pm

sir i have a battery 6v 4.5ah/20hr and i want to charge plz help me what voltage i use to charge the 6v battery
and i have a 12v charger can i use 12v charger to charge the 6v battery plzz help me plzz

Reply
Swagatam says:
June 4, 2015 at 6:27 am

Syed, you must use 7V as the input for the battery at the rate of 500mA current for your battery.

No, you should not use 12V for charging a 6V battery, it might damage the battery permanently or start internal gasing of the cells

Reply
Syed Khalid says:
June 2, 2015 at 11:26 am

But i check my router with multimeter router is droping the ampere about 0.40 at full load

Reply
Swagatam says:
June 2, 2015 at 4:09 pm

sorry I could not get your point…please elaborate what exactly are you referring to?

Reply
Syed Khalid says:
May 31, 2015 at 12:45 pm

hello can we use the diode name 1N4007 as on 1N5402

Reply
Swagatam says:
June 1, 2015 at 9:09 am

no, 1N4007 will burn at 1amp..you can use either 1N5402, 1N5408 or 6A4 diodes

Reply
Syed Khalid says:
May 31, 2015 at 12:31 pm

can you plz tell me the names of the item which you used in this circuit
thanks again i hope you help me again

Reply
Swagatam says:
June 1, 2015 at 9:08 am

D1, D2 are the diodes, TIP122 is the transistor, LM317 is an IC, the 14V/1watt part is the zener diode

Reply
Syed Khalid says:
May 29, 2015 at 4:24 pm

hello sir i want to make wifi ups for 5v 1a and mean to say that when the ac power is on the router is on the ac power and that time the battery will also on charging and when the ac power is off or cut router is on on the battery power when the ac is on the router will run on the ac power sorry for bad english and i hope you will help me plzz

Reply
Swagatam says:
May 30, 2015 at 11:18 am

Hello Syed, the above indicated circuits are exactly as per your application needs, you can try any one of these for implementing the same.

Reply
Engr. Abdul Hannan says:
January 14, 2015 at 8:30 pm

Can a relay be used for auto backup function in this circuit if so then plz tell and give the circuit diagram for that

Reply
Swagatam says:
January 15, 2015 at 3:13 pm

relay is not required here, the diodes do the changeover automatically….for relay operation the diode set up won't be required, it may be done simply by using a single relay with the mains adapter supply and wire its N/O, N/C contacts with the load and the battery

Reply
Zainey says:
January 8, 2015 at 9:37 pm

sir i have made this circuit but i am not sure whether the battery is charging or not because i have also used an ammeter in series with battery junction and its shows no current flowing into the battery while mains is available

Reply
Swagatam says:
January 9, 2015 at 9:48 am

Zainey, what is your battery Ah rating? and what is your input current range and what resistor have you used in series with the battery?…what is the FSD range of the ammeter that you have used?…specify all these I'll try to troubleshoot it.

Reply
mudassir awan says:
October 14, 2014 at 5:46 am

dear sir , i followed all your instructions for the above mentioned circuit but unfortunately i could not found the Lm338 and 1N5402 instead there is 1N4007 available here.so i want to know if there is any way of connecting my modem directly to the battery and is it possible to use a 1A fuse in line …..2ndly can i charge my 12v 30Ah battery with 12v 1A charger which is at the same time powering the modem also???? any help will be appreciated pls help…. i'll be waiting for your ans from now

Reply
mudassir awan says:
October 25, 2014 at 3:34 pm

yahooo…. i did it easily with a simple way… i connect a 1A fuse inline and connet it with 12v 30Ah battery directly and it worked fine for me now i can use it for 25-28 hours continously powering my dsl without any problem i used a 2way switch between battery and 12v dc adaptor …..

Reply
Swagatam says:
October 21, 2014 at 6:00 am

hello mudassir…13v will just not work…it should be at least 14.5V…and at 700mA it may take ages to get your 30ah battery fully charged.

Reply
mudassir awan says:
October 20, 2014 at 6:16 pm

hello Swagatam majumdar ….i found an adopter and there is 5-13v 700mA stated on it will it charge 12v 30Ah battery ….if yes then it will take too long to charge fully what you say?

Reply
mudassir awan says:
October 14, 2014 at 2:36 pm

many thanks sir …..i'll try once more

Reply
Swagatam says:
October 14, 2014 at 11:42 am

I am sorry mudassir, the diodes are the heart of the circuit, with no diodes the circuit would become meaningless, so you must find 1N5402 or iN5408 diodes for you particular application. 1N4007 will not do

12v/1amp will not charge a 12V/30ah battery properly…the adapter should be rated at 14V/3amp minimum.

Reply
mudassir awan says:
October 10, 2014 at 8:11 am

hi sir…..appreciate your work
actually i have a 12v and 30amps(not sure) and i wanna use it to power my 12v 1amp modem ….what changes should i made for that in this schematic that exactly fulfil my requirements and do not damage my modem ,…..i am waiting for your kind suggestions

Reply
Chris says:
August 31, 2015 at 4:46 am

Can you please modify and incorporate the second circuit to prevent overcharging plz?

Reply
Swagatam says:
October 11, 2014 at 8:14 am

the first circuit will stop overcharging of the battery, the second circuit will not do this.

Reply
mudassir awan says:
October 10, 2014 at 3:41 pm

thanks….and what if i plan to use it permanently with modem .i mean if the battery is over charged will this circuit stop charging ?

Reply
Swagatam says:
October 10, 2014 at 12:10 pm

thanks mudassir,

you can use the same circuit for a 12V 30amp battery also, no changes would be required except the following

in the second circuit, use LM338 instead of LM317 and use 0.25 ohms/1watt for R1

in the first circuit remove R1 and replace it with a wire link.

Reply
Roney Renaissance says:
October 2, 2014 at 2:44 am

Hi Swagatam,
Can I use 3ah battery instead of the 7.5ah one? The suggested 14v adapter is not widely available on our market? If 12v one is used, will it not work? And if 15v adapter is used, will the router run a risk of burning out?

Reply
Swagatam says:
October 3, 2014 at 11:44 am

Please refer to the third circuit from this article, a basic transformer bridge capacitor circuit is shown, please connect them exactly as shown for implementing the required cirucit:

https://www.homemade-circuits.com/2012/03/how-to-design-power-supply-simplest-to.html

Reply
Roney Renaissance says:
October 3, 2014 at 4:44 am

Thanks a lot. I'm just a new comer to electronics. May I ask for any link of that bridge network design to get 14v from 12v transformer? And what would be the R1 value in case 3ah 12v battery?

Reply
Swagatam says:
October 2, 2014 at 9:29 am

Hi Roney, yes 12V 3ah can be used but it will give a proportionately lower backup time compared to a 7ah battery

you can easily make a 14V power supply by using a 0-12V/1amp transformer and then rectify its output with a bridge network and capacitor

Reply
Dipto says:
September 14, 2014 at 6:41 pm

Hi Swagatam,
I want to use an external 3.6VDC 700mAh Lithium Battery as backup instead of charging it from main supply & want to drive a 5W light rather than modem/router will this work?

Reply
Swagatam says:
September 15, 2014 at 9:30 am

Hi Dipto, do you mean you don't want the LM317 or the TIP122 stage and want to use only the diodes for the changeover?

Yes the above circuit can be used for your application too….but a 5 watt light will be too big for the mentioned battery, will drain it quickly

Reply
Ahmed Sabra says:
September 2, 2014 at 5:46 pm

hi Swagatam,
i have a laptop charger "19v, 4.2amp" i build a voltage regulator lm338 to use it as a 12v battery charger..with variant resistor.. and i adjust it to get 14.5v to charge the battery.. but the output current had never crossed 1.7 amp.. even if the battery is fully discharged.. why?? you told me that lm338 output could reach 5amp.. so what is the problem?? why cant i get at least 4 amp??
another question.. when the battery is fully charged.. the output current from charger is near 0.2amp.. does that mean the charging is stopped?? or this current will harm my lead acid battery??
and thank you very much

Reply
Swagatam says:
September 5, 2014 at 6:16 am

for a 70AH battery LM338 will not work anyway, because the batt will need around 8 to 10amp charging current and LM338 can provide max 5amp, better to use a 14V 10amp smps and charge the battery with it directly for 8 hours.

Reply
Ahmed Sabra says:
September 4, 2014 at 3:30 pm

it's 70AH .. and when i charge using another charger it get 10amp.. but thats mean like you said that the ic is very bad..
anyway thank you very much

Reply
Swagatam says:
September 4, 2014 at 9:16 am

AH means ampere/hour it can be seen printed on your battery body

if you apply 19V to a 12V the battery it will get damaged quickly, so it's never recommended even for a short duration.

Your ICLM338 is faulty for sure, a good IC will allow the full amp to be delivered to the battery depending on how the battery is pulling….

test the battery charging amp with a different 14V source that will give a clearer idea regarding the consumption.

Reply
Ahmed Sabra says:
September 3, 2014 at 7:46 pm

what do you mean by AH rating??
and about the charger .. i tried to apply the charger directly on battery "with 19v" it gives 4.2amp.. but when i use the regulator it's never cross 1.7
thanx again

Reply
Swagatam says:
September 3, 2014 at 7:00 am

Hi Ahmed,

Either the input charger is not supplying 4 amps to the IC LM338 or the IC LM338 is faulty or duplicate….a good IC and a good charger will definitely allow full 5amp to the load….of course only if the load would be consuming this much current.

By the way what is the AH rating of the battery??

When the battery is fully charged it will naturally stop accepting current from the charger but that doesn't mean it's not being charged, the input will need to be switched off in order to avoid damage to the battery in this situation.

Reply
shahab ali says:
August 30, 2014 at 8:48 am

ok sir, that is good. thanks

Reply
shahab ali says:
August 19, 2014 at 1:42 pm

sir i want to construct a 14v and 10A transformer but i do not know about wire diameter, number of turns and aria of bobbin. so kindly guide me or send me any link that is helpful to beginners.

Reply
Swagatam says:
August 20, 2014 at 2:11 pm

Shahab, I too do not have much knowledge regarding designing of transformers, so I won't be able to provide any help

Reply
Syed Arham says:
June 10, 2014 at 3:16 pm

sir, i want to eliminate the charging system.
I just want to connect the wifi router with battery when the AC(Main) fails.
I have use a relay for desired operation but when the AC(main) fails the device restarts and wifi connections are disconnected.

Reply
Swagatam says:
June 22, 2014 at 4:45 pm

In this configuration the battery would have no connection with the adapter voltage and would not get charged.

Reply
Syed Arham says:
June 21, 2014 at 6:12 pm

at this configuration when the ac main is present the battery is not consuming or it is consuming??

Reply
Swagatam says:
June 11, 2014 at 6:33 am

use only D1, D2 for it.

D1 comes from the adapter positive, D2 from the battery positive, their common cathodes ends join with the router positive.

Reply
Pat Selim says:
June 7, 2014 at 6:57 am

Most laptop adapter nowadays output 18.5 to 19V. I guess they're OK for laptop use, of course, and would give the required 13.8V to the battery?

Reply
Swagatam says:
June 8, 2014 at 5:26 am

OK, that's fine Pat!

Reply
Mannan shah says:
June 7, 2014 at 3:24 am

my router is 12v(0.8A)
battery=12v 3.5AH

give some suggestion about using this circuit?
thanks

Reply
Swagatam says:
June 7, 2014 at 11:51 am

you can use the above circuit with a 14V adapter, but 3.5ah won't last too long during back up.

Reply
Pat Selim says:
June 6, 2014 at 4:59 am

Hello Swagatam,

just made this circuit with a 1ohm resistor to provide a lower (thus safer) current to my 4.5Ah battery. I used it with a 12V adapter, but forgot that a 12V battery needs about 13V to charge properly, whereas there's only 10.5V on battery terminals. Is the circuit built with 9V batteries in mind by any chance?

Reply
Swagatam says:
June 6, 2014 at 8:08 am

Hello Pat, the adapter voltage should be 14V, the diagram shows a standard value adapter (12V) which could be ignored and a 14V must be used.

Reply
Ahmed Sabra says:
May 27, 2014 at 8:08 am

thank you very much for your advice
i did what you told me… but i got a problem
since i use a 12v adapter..when i connect it with diode it decrease to 11.5v and since i use a car battery.. most of time it gives 13.5-12.5v so its always above the adapter.. so its always take the lead.. and the adapter only work when i disconnect the battery.. (the circuits do the opposite of its purpose" 🙁
so should i put some 7812 for the battery?? or use a higher volt adapter like 14v?? but am afraid for the router because its 12v only

thank u again

Reply
Swagatam says:
May 27, 2014 at 8:52 am

yes, a 7812 with the battery output would solve the problem instantly.
If possible use an adapter which has a feature of fine-tuning the output through a preset.

This would allow you to increase the adapter voltage slightly, may be to 13V for getting a perfect response.

Reply
Ahmed Sabra says:
May 25, 2014 at 5:43 pm

hello Swagatam
first of all i have to thank you very much for your nice work.
i have a 12v.5A router, wireless phone "panasonic" 6v/0.5A , an acid battery with 100 amp and a 20A charger for the battery…
1.i want this ups but without charging myu battery "because i have a chagrger"
2. could i put 7806 regulator on output to run my wireless phone ?
3. i have a 12v/1.25A and laptop charger 19v/3.5A.. which one should i use ??

and thank you again

Reply
Swagatam says:
May 27, 2014 at 3:56 am

Ok, the following design will be sufficient in that caes:

1.bp.blogspot.com/-I2zlapFq6RM/UML_NxUJy2I/AAAAAAAAB3w/27ZLDjK9C9g/s1600/simple+modem+UPS+circuit.png

The entire R1 link may be included excluded, it won't make much of a difference.

use 1N5402 for the diodes.

Reply
Ahmed Sabra says:
May 26, 2014 at 1:29 pm

i like to build this circuit but without charging feature because i want to charge the battery manually
i mean.. i will use an adapter 12v as main current but i dont want it to charge the battery… i want it only to be the main current…
when the adapter power fail… the battery will give the current instead of the adapter…
when i notice that the battery need to be charged.. i will connect my 20amp charger manually..
hope u get my idea
thank you again

Reply
Swagatam says:
May 26, 2014 at 4:19 am

Thank you Ahmad.
I did not quite understand how you are planning to use the above circuit.
Do you mean you want the 20A charger in place of the adapter shown in the above circuit??
2. yes 7806 can be used at the output
3. If you intend to use it as the input source, you can use a 14V adapter, if the battery is rated 12V, but none of this would be able to charge a 100AH battery.

Reply
Elijah says:
April 5, 2014 at 5:12 am

…with load connected, with smaller load no issues….smaller load of about .5A. At full load, Ammeter shows an average draw of 3.5A, sometimes it oscillates between 3.4 to 3.8A. what surprises me is that the 338 never even warm up talk less of very hot, I thought it will heat up initially, so I mounted it on a heat sink. Surprises, it never warms up even, its cold there…

Reply
Swagatam says:
April 6, 2014 at 1:31 pm

that's strange…at 3.5Amps the IC should get very warm….I am not sure if everything's correct in the circuit,
try different values for R1 and check the amp consumption, if it varies accordingly then you can assume it to be OK.

Reply
Elijah says:
April 3, 2014 at 6:39 pm

Swagatam,
everything works well, but am having problem with the diodes, I used 4 1N5401, but they are still getting warm…..what should I do with this diodes…..

Reply
Swagatam says:
April 5, 2014 at 12:57 pm

yes, in that case you can put more diodes in parallel or use a single 6/10amp diodes

Reply
Elijah says:
April 4, 2014 at 9:09 am

..with load connected only, in fact if i put a small load less than an 1amp, no problem, until i put the entire load on it, or should i go for a higher diode , like 6 or 10amps?

Reply
Swagatam says:
April 4, 2014 at 8:09 am

…with load connected or always??. check the current consumption by an ammeter to confirm if everything's correct.

Reply
Elijah says:
April 3, 2014 at 11:31 am

Am doing an additional follow up despite sending you an earlier one. The reverse current still flows, despite putting a diode, may be am putting it wrongly. Kindly help. This is the way I did it. Am using 1N5401 for this, this is the arrangement, the input positive power rail is connected to the anode of the diode and the cathode of the diode connects to the input of the LM 338…. Is that right?

Secondly, I have also added 2 additional diodes in parallel to D1.

Thanks for your support.

Reply
Swagatam says:
April 4, 2014 at 7:40 am

Elijah, that cannot be possible…a diode at the input of the LM338 will never allow an opposite flow of current,

the suggested diode connection is correct.

The band side of the diode is the cathode.

Reply
Elijah says:
April 3, 2014 at 9:18 am

Hello Swagatam,
Thank you so very much on this, without Load, I have not experience the heat, but I will check again and observe. Do you have any recommended make of the 338.

I will try to work on the leakage and feed you back.

Reply
Elijah says:
February 27, 2014 at 3:43 pm

Hi Swagatam,
This is a nice solution I have been looking for and very simple to implement, but I want to use it to power a monorail motherboard, that is rated for 12V, but a about 5A, what do I need to do to this circuit to help me deliver 12V, 6A, and what battery capacity do you recommend.

Reply
Swagatam says:
April 3, 2014 at 6:09 am

Hi Elijah,

Is the diode getting hot even without the load connected? If so then there could be some problem with the LM338 circuit. Otherwise its fine, you may put a couple of more1N5408 diodes in parallel to the existing one.

To stop a reverse flow of current from the battery, put a diode at the input of the LM338, this will prevent the battery voltage from leaking back to the modem.

Reply
Elijah says:
April 2, 2014 at 10:46 pm

HI Swagatam,
I appreciate your magnanimity at your replying me. I actually have implemented the circuit replacing Lm 317 with LM 338. It work quite well, but figured out that Diode D1, is getting very hot, I have to shut down. My guess was that the load (a monorail motherboard with other accessories are drawing a lot of current, while the battery is also charging. I changed the diode to 1N5408…thinking it should work, yet it is still very hot, though it worked well, I also eventually have to shut it down what do you advise, what am I doing wrong?
And or what am I suppose to do?

2- My adapter has a light by the side that lights up when its doing it job. I also discovered that despite taking the mains off, but battery is still connected to my board, the green light on the adapter still lights up/ Hope current is not flowing back from battery…..

Reply
Swagatam says:
February 28, 2014 at 7:01 am

Thanks Elijah,

for a 12V 6A load the recommended battery would be a 12V 40 ah, this would provide a back up of around a couple of hours max.
For this you can simply eliminate the resistor R1 (in the second design) and use a LM338 IC in place of the IC 317.
LM338 is specified for operating at maximum 5amps, so the battery would be always charged at the optimal rate of 5amps safely.

Reply
ajay varma says:
February 9, 2014 at 2:53 pm

Hello,

I have a router of rating 9V, 0.6A. Can I use the same circuit with output voltage set to 9V. Plz suggest a battery rating for this configuration.

Reply
Swagatam says:
February 10, 2014 at 11:49 am

for a 9v router the output voltage must be set to 10V and a 9V/4ah battery could be used

Reply
Pat Selim says:
January 13, 2014 at 4:16 am

Oh, and what wattage should R1 be? Charging current squared times number of ohms calculated?

I am a bit afraid that this DC UPS, having no charging regulation, reduces the battery life.

Reply
Swagatam says:
January 13, 2014 at 2:35 pm

In the second circuit which uses the IC 317, wattage of R1 will be 1.25 x battery AH/10, yes without an auto cut-off it wouldn't be the best of the chargers, however the inclusion of the 317 current controller stage would help to keep the battery safeguarded to a considerable extent.

Reply
Pat Selim says:
January 11, 2014 at 10:18 pm

I have no 1N5402. Would it be possible to use a 4004 instead in this application? Forward voltage drop is only 1.1V (1V for the 5402), and allows for less amperes. If used with a low-draw modem, would such a replacement be correct?

And if I want to power both a modem and a router from the same battery, different voltages, would I be able to use my DC booster to get the required 18V for the modem while keeping 12V for the router?

Reply
Pat Selim says:
January 13, 2014 at 4:09 am

Thanks for your quick answer Swagatam. My goal is to re-use small 12V batteries I have to power the essentials: Modem and internet gear!

I will be using the inverter in a car. Considering the hassle associated with building a homemade inverter (namely, hard-to-find transformer and costly radiators), I'd rather buy a ready-made one.

Reply
Swagatam says:
January 12, 2014 at 5:40 am

1N5402 will handle upto 3 amps while 1N4004 not above 1 amps.

yes you can use a booster circuit for getting the required 18V for the same source.

Reply
Swagatam says:
November 26, 2013 at 6:05 am

Tanks!, you can try the LAST circuit shown in the foowing article:

https://www.homemade-circuits.com/2012/07/making-simple-smart-automatic-battery.html

Ignore the LM338 stage and connect the 14V supply directly across the N/C of the relay and ground….the two diodes connected at the positive of the batt make sure that the batt is held at 13.5V everytime the relay trips at 14.5V.

Reply
Back to Newest

Need Help? Please Leave a Comment! We value your input—Kindly keep it relevant to the above topic! Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (93)
  • Audio and Amplifier Projects (133)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (85)
  • Datasheets and Components (109)
  • Electronics Theory (149)
  • Energy from Magnets (27)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (95)
  • Lamps and Lights (159)
  • Meters and Testers (71)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Renewable Energy (12)
  • Security and Alarm (64)
  • Sensors and Detectors (106)
  • SMPS and Converters (34)
  • Solar Controller Circuits (60)
  • Temperature Controllers (43)
  • Timer and Delay Relay (49)
  • Voltage Control and Protection (42)
  • Water Controller (36)
  • Wireless Circuits (30)





Other Links

  • Privacy Policy
  • Cookie Policy
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap



People also Search

555 Circuits | 741 Circuits | LM324 Circuits | LM338 Circuits | 4017 Circuits | Ultrasonic Projects | SMPS Projects | Christmas Projects | MOSFETs | Radio Circuits | Laser Circuits | PIR Projects |

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Stack Exchange
  • Linkedin



Recent Comments

  • Swagatam on Arduino 2-Step Programmable Timer Circuit
  • Swagatam on Simple Buck-Boost Converter Circuits Explained
  • Swagatam on IC IR2111 H-Bridge MOSFET, IGBT Driver IC: Full Datasheet, Circuit Diagram
  • Swagatam on Electronic Circuit Projects, Tutorials, and Practical Engineering Solutions
  • Kadir on Simple 3 Phase Inverter Circuit

© 2026 · Swagatam Innovations