• 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 / Battery Charger Circuits / 4 Simple Li-Ion Battery Charger Circuits – Using LM317, NE555, LM324

4 Simple Li-Ion Battery Charger Circuits – Using LM317, NE555, LM324

Last Updated on July 16, 2024 by Swagatam 216 Comments

In this post I have explained a four simple yet a safe way of charging a Li-ion battery using ordinary ICs like LM317 and NE555 which can be easily constructed at home by any new hobbyist.

Table of Contents
  • Basic Facts about Li-Ion Charging
  • Does Charging a Li-Ion Battery Require Complex Considerations?
  • So What does the Graph Basically Suggest?
  • 1) Simplest Li-Ion Charger using a single MOSFET
  • Advantage of Li-Ion Battery
  • 2) Using LM317 as the Controller IC
  • Using Temperature Detection as the Parameter
  • Without Temperature Compensation
  • Employing an SCR for the Cut-Off
  • How to Set-Up the Above Circuit
  • 3) Li-Ion Battery Charger Circuit Using IC 555
  • Charging Li-ion Battery Can be Critical
  • How it Works
  • Circuit Diagram
  • How to Set up the Circuit
  • Conclusion
  • 4) Charging Many Li-Ion Batteries
  • Charging many Li-ion Battery Together
  • The Design
  • Controlling  Temperature at 1C Rate is Crucial
  • Automatic Li-Ion Cell Charger and Controller Circuit.

Although Li-Ion batteries are vulnerable devices, these can be charged through simpler circuits if the charging rate does not cause significant warming of the battery., and if the user does not mind a slight delay in the charging period of the cell.

For users who want rapid charging of the battery, must not use the below explained concepts, instead they can employ one of these professional smart designs.

Basic Facts about Li-Ion Charging

Before learning the construction procedures of a li-Ion Charger, it would be important for us to know the basic parameters concerned with the charging Li-Ion battery.

Unlike, lead acid battery, a Li-Ion battery can be charged at significantly high initial currents which can as high as the Ah rating of the battery itself. This is termed as charging at 1C rate, where C is the Ah value of the battery.

Having said this, it is never advisable to use this extreme rate, as this would mean charging the battery at highly stressful conditions due to increase in its temperature. A 0.5C rate is therefore considered as a standard recommended value.

0.5C signifies a charging current rate that's 50% of the Ah value of the battery. In tropical summer conditions, even this rate can turn into an unfavorable rate for the battery due to the existing high ambient temperature.

Does Charging a Li-Ion Battery Require Complex Considerations?

Absolutely not. It's actually an extremely friendly form of battery, and will get charged with minimal considerations, although these minimal considerations are essential and must be followed without fail.

A few critical but easy to implement considerations are: auto cut-off at the full charge level, constant voltage, and constant current input supply.

The following explanation will help to understand this better.

The following graph suggests the ideal charging procedure of a standard 3.7 V Li-Ion Cell, rated with 4.2 V as the full charge level.

warning message: electricity is dangerous, proceed with caution
Li-Ion Charging waveform, graph, current voltage, saturation trace.

Stage#1: At the initial stage#1 we see that the battery voltage rises from 0.25 V to 4.0 V level in around one hour at 1 amp constant current charging rate. This is indicated by the BLUE line. The 0.25 V is only for indicative purpose, an actual 3.7 V cell should never be discharged below 3 V.

Stage#2: In stage#2, the charging enters the saturation charge state, where the voltage peaks to the full charge level of 4.2 V, and the current consumption begins dropping. This drop in the current rate continues for the next couple of hours. The charging current is indicated by the RED dotted line.

Stage#3: As the current drops, it reaches its lowest level which is lower than 3% of the cell's Ah rating.

Once this happens, the input supply is switched OFF and the cell is allowed to settle down for another 1 hour.

After one hour the cell voltage indicates the real State-Of-Charge or the SoC of the cell. The SoC of a cell or battery is the optimal charge level which it has attained after a course of full charging, and this level shows the actual level which can be used for a given application.

At this state we can say the cell condition is ready to use.

Stage#4: In situations where the cell is not used for long periods, a topping up charging is applied from time to time, wherein the current consumed by the cell is below 3% of its Ah value.

Remember, although the graph shows the cell being charged even after it has reached 4.2 V, that's strictly not recommended during practical charging of a Li-Ion cell. The supply must be automatically cut off as soon as the cell reaches 4.2 V level.

So What does the Graph Basically Suggest?

  1. Use an input supply which has a fixed current and fixed voltage output, as discussed above. (Typically this can be = Voltage 14% higher than printed value, Current 50% of the Ah value, lower current than this will also work nicely, although charging time will increase proportionately)
  2. The charger should have an auto-cut off at the recommended full charge level.
  3. Temperature management or control for the battery may not be required if the input current is restricted to a value which does not cause warming of the battery

If you don't have an auto cut-off, simply restrict the constant voltage input to 4.1 V.

1) Simplest Li-Ion Charger using a single MOSFET

If you are looking for a cheapest and the simplest Li-Ion charger circuit, then there cannot be a better option than this one.

Li Ion battery charger simplest
NOTE: This design is without temperature regulation, therefore lower input current is recommended.

A single MOSFET, a preset or trimmer and a 10k ohm 1/4 watt resistor is all that you would need to make a simple and safe charger circuit.

Before connecting the output to a Li-Ion cell make sure of a couple of things.

1) Since the above design does not incorporate temperature regulation, the input current must be restricted to a level which does not cause significant heating of the cell.

2) Adjust the preset to generate exactly a 4.1V across the charging terminals, where the cell is supposed to be connected. A great way to fix this voltage is to connect a precise zener diode in place of the preset, and replace the 10 k ohm with a 1 k ohm resistor.

For the current, typically a constant current input of around 0.5C would be just right, that is 50% of the mAh value of the cell. So, the input supply should have a fixed 12V DC and a current that is 50% of the Li-Ion cells mAH rating.

Adding a Current Controller

If the input DC supply source is not current controlled, in that case we can quickly upgrade the above circuit with a simple BJT current control stage as shown below:

Li Ion battery charger simplest with current control circuit
RX = 0.7 / Max Charging Current

Advantage of Li-Ion Battery

The main advantage with Li-Ion cells is their ability to accept charge at a quick, and an efficient rate. However Li-Ion cells have the bad reputation of being too sensitive to unfavorable inputs such as high voltage, high current, and most importantly over charging conditions.

When charged under any of the above conditions, the cell may get too warm, and if the conditions persist, may result in leaking of the cell fluid or even an explosion, ultimately damaging the cell permanently.

Under any unfavorable charging conditions the first thing that happens to the cell is rise in its temperature, and  in the proposed circuit concept we utilize this characteristic of the device for implementing the required safety operations, where the cell is never allowed to reach high temperatures  keeping the parameters well under the required specs of the cell.

2) Using LM317 as the Controller IC

In this blog we have come across many battery charger circuits using the IC LM317 and LM338 which are the most versatile, and the most suitable devices for the discussed operations.

Here too we employ the IC LM317, although this device is used only to generate the required regulated voltage, and current for the connected Li-Ion cell.

The actual sensing function is done by the couple of NPN transistors which are positioned such that they come in physical contact with the cell under charge.

Looking at the given circuit diagram, we get three types of protections simultaneously:

When power is applied to the set up, the IC 317 restricts, and generates an output equal to 3.9V to the connected Li-ion battery.

  1. The 640 ohm resistor makes sure this voltage never exceeds the full charge limit.
  2. Two NPN transistors connected in a standard Darlington mode to the ADJ pin of the IC controls the cell temperature.
  3. These transistors also work like current limiter, preventing an over current situation for the Li-Ion cell.

We know that if the ADJ pin of the IC 317 is grounded, the situation completely shuts off the output voltage from it.

It means if the transistors conduct would cause a short circuit of the ADJ pin to ground causing the output to the battery shut off.

With the above feature in hand, here the Darlingtom pair does a couple of interesting safety functions.

The 0.8 resistor connected across its base and ground restricts the max current to around 500 mA, if the current tends to exceed this limit, the voltage across the 0.8 ohm resistor becomes sufficient to activate the transistors which "chokes" up the output of the IC, and inhibits any further rise in the current. This in turn helps keep the battery from getting undesired amounts of current.

Using Temperature Detection as the Parameter

However, the main safety function that's conducted by the transistors is detecting the rise in temperature of the Li-Ion battery.

Transistors like all semiconductor devices tend to conduct current more proportionately with increase in the ambient or their body temperatures.

As discussed, these transistor must be positioned in close physical contact with the battery.

Now suppose in case the cell temperature begins  rising, the transistors would respond to this and start conducting, the conduction would instantly cause the ADJ pin of the IC to be subjected more to the ground potential, resulting in decrease in the output voltage.

With a decrease in the charging voltage  the temperature rise of the connected Li-Ion battery would also decrease. The result being a controlled charging of the cell, making sure the cell never goes into a run away situations, and maintains a safe charging profile.

simplestli ionbatterychargercircuit

The above circuit works with temperature compensation principle, but it does not incorporate an automatic over charge cut off feature, and therefore the maximum charging voltage is being fixed at 4.1 V.

Without Temperature Compensation

If you want to avoid the temperature controlling hassles, you can simply ignore the Darlington pair of BC547, and use a single BC547 instead.

Now, this will work only as a current/voltage controlled supply for the Li-Ion cell. Here's the required modified design.

Li ion charger LM317
Transformer can be a 0-6/9/12V transformer

Since, here temperature control is not employed, make sure that Rc value is correctly dimensioned for a 0.5 C rate. For this you can use the following formula:

Rc = 0.7 / 50% of Ah value

Suppose the Ah value is printed as 2800 mAh. Then the above formula could be solved as:

Rc = 0.7 / 1400 mA = 0.7 / 1.4 = 0.5 Ohms

Wattage will be 0.7 x 1.4 = 0.98, or simply 1 watt.

Likewise, make sure the 4k7 preset is adjusted to an exact 4.1 V across the output terminals.

Once the above adjustments are made, you can charge the intended Li-Ion battery safely, without worrying about any untoward situation.

Since, at 4.1 V we cannot assume the battery to be fully charged.

To counter the above drawback, an automatic  cut off facility becomes more favorable than the above concept.

I have discussed many op amp automatic charger circuits in this blog, any one of them can be applied for the proposed design, but since we are interested to keep the design cheap and easy, an alternative idea which is shown below can be tried.

Employing an SCR for the Cut-Off

If you are interested to have an auto cut off only, without temperature monitoring, you can try the below explained SCR based design. The SCR is used across the ADJ and ground of the IC for a latching operation. The gate is rigged with the output such that when the potential reaches at about 4.2V, the SCR fires and latches ON, cutting of power to the battery permanently.

The threshold may be adjusted in the following manner:

Initially keep the 1K preset adjusted to ground level (extreme right), apply a 4.3V external voltage source at the output terminals.
Now slowly adjust the preset until the SCR just fires (LED illuminated).

This sets the circuit for the auto shut off action.

li ionautomaticbatterychargercircuit

How to Set-Up the Above Circuit

Initially keep the central slider arm of the preset touching the ground rail of the circuit.

Now, without connecting the battery switch ON power, check the output voltage which would naturally show the full charge level as set by the 700 ohm resistor.

Next, very skilfully and gently adjust the preset until the SCR just fires shutting off the output voltage to zero.

That's it, now you can assume the circuit to be all set.

Connect a discharged battery, switch ON power and check the response, presumably the SCR will not fire until the set threshold is reached, and cut off as soon as the battery reaches the set full charge threshold.

3) Li-Ion Battery Charger Circuit Using IC 555

The second simple design explains a straightforward yet precise automatic Li-Ion battery charger circuit using the ubiquitous IC 555.

Charging Li-ion Battery Can be Critical

A Li-ion battery as we all know needs to be charged under controlled conditions, if it's charged with ordinary means could lead to damage or even explosion of the battery.

Basically Li-ion batteries don't like over charging their cells. Once the cells reach the upper threshold, the charging voltage should be cut off.

The following Li-Ion battery charger circuit very efficiently follows the above conditions such that the connected battery is never allowed to exceed its over charge limit.

When the IC 555 is used as a comparator, its pin#2 and pin#6 become effective sensing inputs for detecting the lower and the upper voltage threshold limits depending upon the setting of the relevant presets.

Pin#2 monitors the low voltage threshold level, and triggers the output to a high logic in case the level drops below the set limit.

Conversely, pin#6 monitors the upper voltage threshold and reverts the output to low on detecting a voltage level higher than the set high detection limit.

Basically the upper cut off and lower switch ON actions must be set with the help of the relevant presets satisfying the standard specs of the IC as well as the connected battery.

The preset concerning pin#2 must be set such that the lower limit corresponds to 1/3rd of the Vcc, and similarly preset associated with pin#6 must be set such that the upper cut off limit corresponds to 2/3rd of Vcc, as per the standard rules of the IC 555.

How it Works

The entire functioning of the proposed Li-Ion charger circuit using IC 555 takes place as explained in the following discussion:

Let's Assume a fully discharged li-ion battery (at around 3.4V) is connected at the output of the below shown circuit.

Assuming the lower threshold to be set somewhere above the 3.4V level, pin#2 immediately senses the low voltage situation and pulls the output high at pin#3.

The high at pin#3 activates the transistor which switches ON the input power to the connected battery.

The battery now gradually begins charging.

As soon as the battery reaches full charge (@4.2V), assuming the upper cut off threshold at pin#6 to be set at around 4.2v, the level is sensed at pin#6 which immediately reverts the output to low.

The low output instantly switches off the transistor which means the charging input is now inhibited or cut off to the battery.

The inclusion of a transistor T1 stage provides the facility of charging higher current Li-Ion cells also.

The power supply must be selected with voltage not exceeding 6V, and current rating 1/2th of battery Ah rating.

Circuit Diagram

555 IC li ion battery charger circuit

If you feel that the above design is much complex you could try the following design which looks much simpler:

5552Bbattery2Bcharger2Bcircuit

 

How to Set up the Circuit

Connect a fully charged battery across the shown points and adjust the preset such that the relay just deactivates from N/C to N/O position....do this without connecting any charging DC input to the circuit.

Once this is done you can assume the circuit to be set and usable for an automatic battery supply cut off when fully charged.

During actual charging, make sure the charging input current is always lower than the battery AH rating, meaning if suppose the battery AH is 900mAH, the input should not be more than 500mA.

The battery should be removed as soon as the relay switches OFF to prevent self discharging of the battery via the 1K preset.

IC1 = IC555

All resistors are 1/4 watt CFR

IC 555 Pinout

IC 555 pinout

Conclusion

Although the designs presented above are all technically correct and will perform the tasks as per the proposed specifications, they actually appear as an overkill.

A simple yet effective and safe way to charge a Li-Ion Cell is explained in this post, and this circuit may be applicable to all forms of batteries since it perfectly takes care of two crucial parameters: Constant-Current and full charge auto cut-off. A constant voltage is assumed to be available from the charging source.

4) Charging Many Li-Ion Batteries

The article explains a simple circuit which can be used for charging at least 25 nos of Li-Ion cells in parallel together quickly, from a single voltage source such as a 12V battery or a 12V solar panel.

The idea was requested by one the keen followers of this blog, let's hear it :

Charging many Li-ion Battery Together

Can you help me design a circuit to charge 25 li-on cell battery (3.7v- 800mA each) at the same time. My power source is from 12v- 50AH battery. Also let me know how many amps of the 12v battery would be drawn with this setup per hour...thanks in advance.

The Design

When it comes to charging, Li-ion cells require more stringent parameters compared to lead acid batteries.

This becomes especially crucial because Li-ion cells tend to generate considerable amount of heat in the course of the charging process, and if this heat generation goes beyond control may lead serious damage to the cell or even a possible explosion.

However one good thing about Li-ion cells is that they can be charged at full 1C rate initially, contrary to lead acid batteries which doesn't allow more than C/5 charging rate.

The above advantage permits Li-ion cells to get charged at 10 times faster rate than the lead acid counter part.

As discussed above, since heat management becomes the crucial issue, if this parameter is appropriately controlled, the rest of the things become pretty simple.

It means we can charge the Li-ion cells at full 1C rate without being bothered about anything as long as we have something which monitors the heat generation from these cells and initiates the necessary corrective measures.

I have tried to implement this by attaching a separate heat sensing circuit which monitors the heat from the cells and regulates the charging current in case the heat starts deviating from safe levels.

Controlling  Temperature at 1C Rate is Crucial

The first circuit diagram below shows a precise temperature sensor circuit using the IC LM324. Three of its opamps have been employed here.

The diode D1 is a 1N4148 which effectively acts as the temperature sensor here. The voltage across this diode drops by 2mV with every degree rise in temperature.

This change in the voltage across D1 prompts A2 to change its output logic, which in turn initiates A3 to gradually increase its output voltage correspondingly.

The output of A3 is connected to an opto coupler LED. As per the setting of P1, A4 output tends to increase in response to the heat from the cell, until eventually the connected LED lights up and the internal transistor of the opto conducts.

When this happens the opto transistor supplies the 12V to the LM338 circuit for initiating the necessary corrective actions.

The second circuit shows a simple regulated power supply using the IC LM338. The 2k2 pot is adjusted to produce exactly 4.5V across the connected Li-ion cells.

The preceding IC741 circuit is an over charge cut off circuit which monitors the charge over the cells and disconnects the supply when it reaches above 4.2V.

The BC547 at the left near the ICLM338 is introduced for applying the appropriate corrective actions when the cells begin getting hot.

In case the cells begin getting too hot, the supply from the temperature sensor opto coupler hits the LM338 transistor (BC547), the transistor conducts, and instantly shuts off the LM338 output until the temperature comes down to normal levels, this process continues until the cells get fully charged when the IC 741 activates and disconnects the cells permanently from the source.

In all 25 cells may be connected to this circuit in parallel, each positive line must incorporate a separate diode and a 5 Ohm 1 watt resistor for equal distribution of charge.

The entire cell package should be fixed over a common aluminum platform so that the heat is dissipated over the aluminum plate uniformly.

D1 should be glued appropriately over this aluminum plate so that the dissipated heat is optimally sensed by the sensor D1.

li ioncelltemperaturecontrollercircuit

Automatic Li-Ion Cell Charger and Controller Circuit.

multipleli ioncellchargercircuit

Conclusion

  • The basic criteria that needs to be maintained for any battery are: charging under convenient temperatures, and cutting off the supply as soon as it reaches the full charge. That's the basic thing you need to follow regardless of the battery type. You can monitor this manually or make it automatic, under both cases your battery will charge safely and have a longer life.
  • The charging/discharging current is responsible for the temperature of the battery, if these are too high compared to the ambient temperature then your battery will suffer heavily in the long run.
  • Second important factor is never allowing the battery to discharge heavily. Keep restoring the full charge level or keep topping it up whenever possible. This will ensure that the battery never reaches its lower discharge levels.
  • If you find it difficult to monitor this manually then you can go for an automatic circuit as described on this page.

Have further doubts? Please let them come through the comment box below 🙂

You'll also like:

  • 1.  3-Step Automatic Fast Battery Charger/Controller Circuit
  • 2.  How to Select the Right Charger for Li-Ion Battery
  • 3.  High Voltage Battery Charger Circuit
  • 4.  Battery Charging Fault Indicator Circuit
  • 5.  3 Smart Li-Ion Battery Chargers using TP4056, IC LP2951, IC LM3622
  • 6.  12 V to 19 V Boost Converter Circuit

About Swagatam

I am an electronics engineer with over 15 years of hands-on experience. I am passionate about inventing, designing electronic circuits and PCBs, and helping hobbyists bring their projects to life. That is why I founded homemade-circuits.com, a website where I share innovative circuit ideas and tutorials. Have a circuit related question? Leave a comment.... I guarantee a reply!

Previous Post: « Sequential Bar Graph Turn Light Indicator Circuit for Car
Next Post: Simple Solar Garden Light Circuit – With Automatic Cut Off »

Reader Interactions

Comments

  1. John says

    February 23, 2025 at 8:22 pm

    Hello dear Swagatam,

    First of all, thank you for your hard work. Every time I had a question, you guided me, and I truly appreciate it.

    I have a few questions, and I’d be really grateful if you could explain them.

    I have a 14.4V Makita cordless drill (American model) with a 2.2Ah nickel-metal hydride (NiMH) battery, which has now become very weak. I want to replace the internal cells and convert them to lithium-ion.

    My questions are:
    1. If I convert it to lithium-ion, can I still use the original charger for charging? If not, why? Is there any way to modify or hack it to work?

    2. How many lithium-ion batteries do I need, and what type would be best for improving its performance?
    I haven’t been able to find the original battery anywhere, and all available ones are 2Ah nickel-cadmium (NiCd), while my current one is nickel-metal hydride (NiMH) and has lasted over ten years.
    Would it be better to buy a 2Ah NiCd battery, or should I convert it to lithium-ion?
    And finally, if I convert it to lithium-ion and need a new charger, which circuit would be suitable for me?
    Thank you very much. I wish you continued s
    uccess and happiness!

    Reply
    • Swagatam says

      February 24, 2025 at 8:22 am

      Thank you John, for your detailed question.
      You can replace the NiMH batteries with Li-Ion battery and use your existing NiMH charger with some external modifications.
      You can add a constant current, constant voltage regulator at the output of the charger.
      The current could be controlled at 1 ampere and the voltage can be restricted at 16V, fixed.
      You can use 18650 Li-ion batteries, 4 in series.
      Since we are restricting the maximum charging voltage of each Li-ion cell to around 4V, instead of applying the full charge level of 4.2V, so an automatic cut-off feature may not be required.
      It might take around 4 to 5 hours for the battery to reach 16V level, with 1 amp charging current.
      NiCd battery will not work because its charging/discharging rate is very low compared to NiMH or Li-in batteries.

      Reply
  2. Ashu says

    January 5, 2025 at 9:13 pm

    Sir, I am thinking about to make a led string light which I want to operate on 3.7volt li-ion battery led are arranged in parallel and a fairy light and battery that I want to pack in a small plastic case then please suggest me a circuit which is so compact and tiny that I pack it to charge battery in little case. I’ll obliged to you

    Reply
    • Swagatam says

      January 6, 2025 at 7:41 am

      Ashu, you can try the first circuit from the following article:
      https://www.homemade-circuits.com/make-yourself-simple-led-flasher-at/
      Please comment under the above article for any further questions.

      Reply
  3. hamid says

    July 16, 2024 at 3:37 pm

    Hello: In plan number 1 🙁 Simplest Li-Ion Charger using a single MOSFET), the explanation given does not match the diagram shown!Thank you.

    Reply
    • Swagatam says

      July 16, 2024 at 5:35 pm

      Thank you, please check it now!!

      Reply
  4. mohd ak says

    May 3, 2024 at 1:32 pm

    Hello, for the circuit with the LM317, can you please explain how did you calculate the resistance of each resistor and also why did you choose a 3V zener diode. thank you.

    Reply
    • Swagatam says

      May 3, 2024 at 2:28 pm

      Hi, you can use the following software to calculate the Lm317 output voltage:
      https://www.homemade-circuits.com/lm317-lm338-lm396-calculator-software/
      3V zener was selected so that the SCR can never be triggered for any voltage below 3V.
      0.8 ohm resistor decides the max charging current for the battery, using Ohms law.

      Reply
      • mohd ak says

        May 3, 2024 at 3:36 pm

        so with R1 as 240ohms and R2 as 700ohms, the calculator shows an output voltage of 4.9V. How did you come to the conclusion that the battery required this voltage to charge? also what is the charging current in this case?

        Reply
        • Swagatam says

          May 3, 2024 at 5:38 pm

          The maximum voltage is set at 4.9V, but the cut off must be set at 4.1V using the preset.
          Charging current is
          I = V/R = 4.1 / 0.8 = 5 amps approx.
          5 amp is the max range, you can reduce it by increasing the 0.8 ohm resistor vaalue.

          Reply
          • mohd ak says

            May 3, 2024 at 6:31 pm

            Thank you for your reply. Now if i want to calculate the exact resistance of the 1k resistor without having to manually adjust it until i the SCR turns on, how can i do the calculation? what is the exact value of the resistance required? Thank you

            Reply
            • Swagatam says

              May 3, 2024 at 7:05 pm

              The SCR circuit can be difficult to setup and I won’t recommend this circuit, because there are much easier and effective alternatives.
              You can try the second circuit instead, with current control.
              You can replace the MOSFET with a TIP122 transistor, and set the preset to an exact 4.1V output.
              It will charge your 3.7V li-ion battery safely and effectively upto 4.1V, providing an 85% to 90% charging.

              Reply
              • mohd ak says

                May 4, 2024 at 1:07 pm

                Got it, however i am trying to understand the SCR circuit properly, and i am confused as to why do you have two 1K resistors, why can’t you have just one variable resistor and remove the other 1K, does that work?

                Reply
                • Swagatam says

                  May 4, 2024 at 1:42 pm

                  If you have only the variable resistor, and if you accidentally move it to the extreme positive end, then your LED and SCR both can get damaged, that is why the other 1k is positioned, to safeguard against this situation.

                  Reply
                  • mohd ak says

                    May 4, 2024 at 1:56 pm

                    Thank you very much for your replies. very helpful. just one last question. why is the 1K resistor being used as a COM? if this entire circuit is connected to a full bridge rectifier that converts AC to DC for power supply of this circuit, and the full bridge rectifier is already grounded, do i need the COM in the battery charging circuit or should it also be grounded?

                    Reply
                    • Swagatam says

                      May 4, 2024 at 2:17 pm

                      You are welcome!
                      Can you please specify which 1k you are referring to?
                      I did not understand what you meant by “1K resistor being used as a COM?”
                      Please elaborate on this..
                      There’s no grounding needed in any DC circuit, the negative line from the bridge-rectifier itself refers to the ground line.

                    • mohd ak says

                      May 4, 2024 at 2:26 pm

                      so in the circuit that has the BT169 SCR, at the very bottom there is a 1K resistor, and there is an arrow pointing downwards at it, i assumed this arrow is a COM. Can you explain what is meant by that arrow if it is not a COM?

                    • Swagatam says

                      May 4, 2024 at 2:51 pm

                      The arrow refers to the middle wiper arm of the preset or the trimpot.

                    • mohd ak says

                      May 4, 2024 at 3:09 pm

                      oh okay i got confused by this, thank you for clarifying. so the other 1k resistor that is closer to the LED, is that also a variable resistor or a regular 1k resistor? in short, how many variable resistors does this circuit have?

                    • Swagatam says

                      May 4, 2024 at 4:10 pm

                      There’s only one variable resistor, the other 1k is a regular resistor.
                      I have simplified the design, you can check it in the following link. I have put the 0.8 ohm resistor on the positive line, which makes more sense:
                      " rel="ugc">comment image

  5. Pankaj Ramawat says

    February 25, 2024 at 7:47 pm

    Good Evening swagatam & Thankyou for Ur circuit diagrams but I have doubt in 4th number can u help me, I want to build CCCV charger for Lithium-ion battery 4S3P So what modification needed in 4th number circuit for it. I want to build online UPS using lithium ion battery of200w so can u help me for this. I hope u reply me & give solution for it, Thanks in advance

    Reply
    • Swagatam says

      February 26, 2024 at 9:08 am

      Hi Pankaj,
      The 4rth circuit will not be able to implement a balanced charging, since it is not a balance charger. However a balance charger is mostly not needed if the series/parallel batteries are rated with precisely identical specifications.
      Also, if you charge the li-ion battery at 0.5C rate the temperature monitor circuit will not be required.
      Also, if you keep the full charge level of the charger at 1V lower than the actual full charge level of the battery, then an auto-cut off will not be needed.
      So basically, the 4rth circuit is unnecessarily complex, you can actually charge your batteries effectively and safely using any simple CC CV voltage regulator circuit.
      Please let me know if you want to try one such regulator circuit for charging your battery

      Reply
      • Pankaj Ramawat says

        February 26, 2024 at 9:12 am

        Yes I want to try this circuit for my project can u help me for building CC CV charger I need this type of charger, Thank you in advance ??

        Reply
        • Swagatam says

          February 26, 2024 at 12:28 pm

          OK, here’s the regulator circuit which you can use to charge your Li-ion battery:
          " rel="ugc">comment image
          For 4S Li-ion battery the optimal safe maximum voltage range should be around 16.2V (4.1 x 4), so before connecting the battery make sure to adjust the VR1 to precisely 16.2V across the output terminals of the circuit. This takes care of the constant voltage adjustment.
          Please tell me the mAh rating of the battery so that I can tell you how to calculate the R2 value for implementing the constant current output.

          Reply
          • Pankaj Ramawat says

            February 26, 2024 at 3:58 pm

            3.7V/ 2000mah or 2600mah lithium ion cell each cell I am using 4Series 3 parallel/4 parallel plz help me to design CC CV charger for my project

            Reply
            • Swagatam says

              February 26, 2024 at 6:20 pm

              In the previous diagram the value of R2 can be 1.3 / 0.6 = 2 ohms 1 watt. The input supply can be from any 20V DC adapter with a minimum current of 2 amps.

              Reply
              • Pankaj Ramawat says

                February 26, 2024 at 6:24 pm

                Can this diagram work with CC CV mode? I have some doubts on the above circuit why there 3v Zener diode used?

                Reply
                • Swagatam says

                  February 26, 2024 at 6:27 pm

                  It is a CV CC circuit, 3V decides the minimum output voltage, if you don’t want it you can replace it with a short.

                  Reply
                  • Pankaj Ramawat says

                    February 26, 2024 at 6:31 pm

                    Sir I want to design 3.7×4=14.8v nominal voltage lithium ion battery charger & sir how 3V decides minimum output voltage. Plz help regarding this, I am finding solution from 2 months

                    Reply
                    • Swagatam says

                      February 26, 2024 at 6:37 pm

                      3V is the minimum setting, you can use VR1 to set the maximum voltage to 4.1 x 4 = 16.4V or 16.2V, please read the instructions which I provided with the previous link.

  6. Stephen Adams says

    January 8, 2024 at 4:24 pm

    Li-Ion Battery Charger Circuit Using IC 555 will not work as the BD139 will never turn on!The earth to the 5v regulator and the 555 IC are both on the collector side of transistor!
    The power supply earth is on the emitter of the transistor, so never the two will meet unless the transistor is turned on from the 555 IC which is without power!

    Reply
    • Swagatam says

      January 8, 2024 at 5:33 pm

      Thank you for pointing out the mistake! I will try to correct the circuit soon using a PNP approach instead of the NPN.

      OK, I have replaced the diagram with a new one using PNP transistor.

      Reply
  7. Nelio Abreu says

    October 10, 2023 at 5:19 pm

    Hi Swagatam,

    In the circuit using the SCR can I charge 2 3.7V Batteries of 1000mAH each connected in parallel (to achieve 2000mAH)?

    Reply
    • Swagatam says

      October 10, 2023 at 5:32 pm

      Hi Nelio,
      the SCR circuit is not confirmed practically so i cannot suggest much about that circuit.
      Frankly speaking you can charge a Li-Ion battery most efficiently using a an LM317 or LM338 circuit, there’s no need of an auto cut off. You simply have to set the maximum output voltage to 4.1V and use a constant current control in it. That’s all is needed.
      If you need an auto cut off then I would recommend using an op amp circuit for that.

      Reply
      • Nelio Abreu says

        October 10, 2023 at 7:49 pm

        Hi Swagatam,
        Won’t there be any danger of the batteries be constantly under charge without the auto cut off?
        To use a circuit with op amp, will require more space than there is available.

        Reply
        • Swagatam says

          October 11, 2023 at 8:11 am

          Hi Nelio,
          A Li-Ion battery can overcharge once it reaches the 4.2V mark. But since we are keeping the LM338 output fixed at 4.1V only, it can never reach an overcharging situation. Keeping the max charging voltage 0.1V less will also help to enhance battery life.
          At 4.1V the Li-ion battery can remain connected to the charger without any fear of over charging.

          Reply
  8. Nelio Abreu says

    June 25, 2023 at 2:14 am

    Hi Swagatam, a resistor of 700 Ohm will be dificult, eaven in 1%. Does it has to be that value?

    Reply
    • Swagatam says

      June 25, 2023 at 9:10 am

      Hi Nelio, You can adjust the values of the 240 ohm and 700 ohm resistors using the following software, and find the appropriate values which may be available in the market.

      https://www.homemade-circuits.com/lm317-lm338-lm396-calculator-software/

      Reply
  9. Nelio Abreu says

    June 25, 2023 at 1:51 am

    Hi Swagatam, in the circuit with SCR, I assume the LED will light during charging, and after completion will turn off, since there will be no current at the gate of the SCR, correct?

    Reply
    • Swagatam says

      June 25, 2023 at 9:06 am

      Hi Nelio,
      The LED will remain shut off until the battery voltage reaches the full charge threshold, when the current through the LED will trigger ON the SCR. you are right the LED cannot get current once the SCR is switched ON. That means the LED will remain shut off all the time. It is merely used as a voltage dropper for the SCR gate.

      Reply
  10. BillP says

    November 29, 2022 at 11:54 pm

    I am looking for a discharge, then charge circuit for Lithium-Ion 24-28vdc pack. So, each pack consists of 6 cells. Our float voltage is around 28vdc. Presently we discharge, disconnect and connect to a charging system. We charge at about 1 amp.

    Reply
    • Swagatam says

      November 30, 2022 at 12:44 pm

      I would recommend you following circuit, just make sure to replace the LM317 with an LM338 IC.
      " rel="ugc">comment image
      You can set the output voltage to the battery at 27.5 V using the 4k7 pot and current to 1 amp using the RC resistor.
      For enhanced safety you can add individual over charge battery protection circuitry to each of the cells

      Reply
  11. Allan says

    September 1, 2022 at 4:41 am

    (Very interesting artical but not too much help with my problem I am trying to setup a charge system to charge 8 lithium cells in series parallel to give me a 14.4 voltage pack for some drills I have, the batteries fit in the battery case’s with a little adjustment. I have been looking at the Charging Many li-lon batteries and though this could be modified to do the job.
    Thankyou in advance Allan Brown

    Reply
    • Swagatam says

      September 1, 2022 at 9:41 am

      I guess you have 4 cells in series in the pack (2 of these in parallel). Considering 4.2V as the full charge level of each cell, the total full charge level of the pack should be 4.2 x 4 = 16.8V.
      The last concept could be very difficult and lengthy to implement. I would rather recommend using a simple LM338 based power supply, with its output voltage adjusted at slightly lower than the full charge level, maybe at 16.5V. This will allow optimal charging of the pack and also ensure the batteries are never over charged.

      Reply
  12. Godspower says

    August 4, 2022 at 8:54 pm

    Good day mr Swag , thank you very much for the quick responses, here is my questions
    1. What is this 0.8E resistor? if am correct is it the same as 800ohms resistor?
    2. what other exact value can replace 700E resistor?
    3. please i will like to see a sample of this 0.8E resistor if the image can be uploaded here sir

    NOTE: My questions are from the above circuit (Employing an SCR for the Cut-Off)
    thank you sir

    Reply
    • Swagatam says

      August 5, 2022 at 9:14 am

      Good day Godspower,
      1) 0.8E = 0.8 Ohms or a 1 Ohm will also work
      2) 700 E = 700 ohms, you can replace it with a 1K preset for precise output voltage adjustments.
      However, please note that the ScR circuit can be very difficult to adjust and set up, instead an op amp based design looks more preferable.

      Reply
      • Godspower says

        August 5, 2022 at 8:14 pm

        Noted sir, thank you very much

        Reply
      • Godspower says

        August 10, 2022 at 1:11 pm

        Good day Mr Swagatam. thanks for the quick response. please the 0.8 ohms or 1 ohms can only give output of 500mA.
        which other resistor can you recommend for me that can give me maximum of 1000mA to charge multiple batteries.
        thanks you.

        Reply
        • Swagatam says

          August 10, 2022 at 1:59 pm

          Godspower,
          I will recommend you to use the following circuit which is foolproof and hassle free. Just make sure to keep the output voltage slightly lower than the full charge level of the battery. For example if the full charge level of the battery is 4.2V, then adjust the pot to produce a output of 4.1V or 4 V. In doing so, no auto cut off will be required
          The formula for RC current limiting resistor is
          RC = 0.6 / maximum charging current

          " rel="ugc">comment image

          You can replace LM317 with LM338 for optimal response at 1 amp

          Reply
  13. Josip says

    June 19, 2022 at 2:18 pm

    Useful post about Li-ion battery chargers. Thank You for it.

    Reply
    • Swagatam says

      June 19, 2022 at 4:44 pm

      Thanks for your valuable feedback, glad you liked it!

      Reply
  14. Jorge says

    June 5, 2022 at 2:25 pm

    Hi, my friend, Swagatam!
    I have two 1.5V 3000mWh li-ion polymer rechargeable batteries and one 3v li-ion 1/2AA (CR1425).
    What circuit can you recommend for charging them?

    Reply
    • Swagatam says

      June 5, 2022 at 4:59 pm

      Hi, Jorge,
      According to me the LM317 based charger is the best for any Li-ion battery. The only thing that needs to be done is to keep the charging voltage 0.1V lower than the full charge level of the battery. In this way the battery can never be over charged, and can be charged without an cut off. Make sure to adjust the current to 50% of the battery’s mAh rating

      Reply
  15. charis says

    June 1, 2022 at 12:17 am

    Hi, Using Temperature Detection as the Parameter circuit, is there a difference if I use one darlington transistor e.g. BC517 instead of two BC547?
    also for calculating the output voltage for three cells in serial, will the following equation apply?
    Vout= Vbat+Vdiode+Vsense => Vout=(3*4.15)+0.6+0.3=13.35V

    Reply
    • Swagatam says

      June 1, 2022 at 10:29 am

      Hi, yes BC517 should also work.
      The 0.6V is not required in the formula. The following formula will do:

      Vout = Vbat + Vdiode

      Reply
  16. Prosper says

    April 22, 2022 at 6:16 pm

    What is SCR?

    Reply
  17. Kenia says

    February 1, 2022 at 12:56 am

    Hola si quiero un circuito para cargar una batería de litio de 3.7 a 4.2 V y con una salida de 3A como modificaria el circuito, para una forma segura de su carga y descarga.

    Reply
    • Swagatam says

      February 1, 2022 at 9:04 am

      You can use the LM317 circuit, replace the LM317 with LM338. And adjust Rc to get exact 3 amp at the output. Also make sure to adjust the output voltage to exactly 4.1 V

      Reply
      • Kenia says

        February 1, 2022 at 10:39 pm

        Cuál de los circuitos que presentas, me puedo guiar por favor

        Reply
        • Swagatam says

          February 2, 2022 at 8:56 am

          The LM317 IC circuit at the top.

          Reply
  18. Mike says

    January 15, 2022 at 3:09 pm

    Hey swag i have a quick and hopefully simple question, i have a 42v lion battery, 10s2p, 6ah. The current voltage is 26.7v. is there a safe way for me to restore this battery back to it’s full 42v, i have a 36v lion charger @ 2amps available should i use that first then put it in the 42v charger after the 36v charger brings it to 36v? Or do you think it would be too much current? I have plenty of resistors and a few reels of smds on hand, plenty of caps and some 1amp smd skow blow fuses aswell. Thanks in advance any advice in not blowing up my house is greatly appreciated.

    Reply
    • Swagatam says

      January 15, 2022 at 4:23 pm

      Thanks Mike, for the interesting question. I think your assumption is perfectly correct. Using the 36V charger initially makes sense and you should use it until the charge voltage of the battery is restored to 36V, and then you can connect the 42V charger for charging the battery to the full level. You can use 6 amp current with the 36V source, and reduce it to 3 amps for the 42V charging

      Reply
  19. Mehmet OVACIKLI says

    December 16, 2021 at 7:57 pm

    Dear Swagatam, first of all hello would it be soeun if we used these circuits in lead acid circuits?

    Reply
    • Swagatam says

      December 17, 2021 at 9:47 am

      Hello Mehmet, yes definitely you can use the above circuits for charging lead acid battery also.

      Reply
  20. Dady says

    December 7, 2021 at 9:53 pm

    I need a automatic charger that can charge ( 7 li-on battery rated 3.7v 3800mah) the 7 batteries in series to give 26.6v and in parallel to give 38000mah. Thank

    Reply
    • Swagatam says

      December 8, 2021 at 1:35 pm

      you can try one of the options explained in the following article:

      https://www.homemade-circuits.com/usb-automatic-li-ion-battery-charger/

      Reply
  21. Scott says

    November 28, 2021 at 1:23 am

    Ok now for the fun stuff.
    My idea so far is working well now as long as i am mentoring the re-charging.
    Now i need to have it shut off when the battery has been charged.
    The ideas i have seen for this all have one thing in common and that is a V-ref so it can be monitored and controlled.
    However that doesn’t quite work with my idea where i want it to re-charge different types that have different voltages. (selected via a rotary switch by the user)
    Now if i have lets say 2 types to re-charge today, one is say a 4.7v cell and the other is a 9.7 pack.
    I set the CC and V-out ect. for the type and hit start (simple latching circuit).
    The V-ref will also need to change to the selected V-out ?
    This is where i know my thinking is not quite right.
    My thought is to use a trusty lm431 and make use of another layer on the Voltage select rotary switch.
    But why im sure that would work it seems to make this all way more complex than it needs to be.
    My other thought is to know if there is a common cut-off voltage when a battery is charged.
    Im thinking that comes out to 2.5v above the battery rating and happens to also be the V-ref of lm431.
    So if its going to always be about 2.5 above the rating of any given battery then i won’t need to dual track with more complex switching and makes it all much simpler.
    As you can tell my thinking at this point is all over the shop and could use some thoughts about the problem.
    If i were only charging 4.7v battery’s or 9.7 and that’s it, then no problem but in my case would not meet my specs. (ease of use, can re-charge a wide range of types safely and auto-cut-off/error detection)
    Anyway i thought id ask the big brains here for some nudge in the right direction.

    Scott
    (i will come back to the need for a START button later but is a simple latching circuit that does what it says)

    Reply
    • Swagatam says

      November 28, 2021 at 6:26 pm

      A reference voltage is used when an automatic cut-off is employed, for example using an op amp. Here’s an op amp based example for charging a li-ion with fixed reference and variable cut-off point:
      https://www.homemade-circuits.com/usb-automatic-li-ion-battery-charger/

      Another design could be using a linear transistorized power supply such as the following, which has an adjustable current and adjustable voltage output:

      " rel="ugc">comment image

      The TR1/TR2 could be replaced with a single TIP122

      For Li-ion battery, the overcharge limit is approximately 15% of the printed value, and for a lead acid battery this is around 17%, according to my assumptions.

      so 15% of 3.7 gives around 4.2V, and 17% of 12V gives around 14V

      Reply
  22. Scott says

    November 20, 2021 at 2:06 am

    I am trying to make a more universal battery charger using 2 LM-317’s.
    The first is set as a Constant Current source with a multi-position switch to select the CC i want.
    The last LM-317 is and adjustable voltage reg. that lets me set the voltage for the battery’s i plan to charge.
    The idea is so i can re-charge NMH or Li types regardless of there configuration.
    This would be a slow type charger and will not exceed the limits of a normal LM-317.
    Some of the ideas here will be helpful options so it can all be monitored and turn off on error or when done.
    Many thanks for all of the great ideas.
    I would be interested in any thoughts about my planned project as i may not have considered all aspects of what i want.
    I get man used Li and NMH types that are all still good so i want to make them usable in other projects.
    One charger that can cover most types seems logical.
    Scott (ICET)

    Reply
    • Swagatam says

      November 20, 2021 at 10:40 am

      Thank you for the useful suggestion, yes that’s definitely possible and the idea can be used for charging all types of NiMH and Li-Ion batteries safely. I appreciate your feedback.

      Reply
      • Scott says

        November 20, 2021 at 12:59 pm

        Thanks
        Yah im thinking ill use fixed resisters for the constant current source and rotary switches to select the range, the same for the output voltage regulator value because most common rechargeable battery packs we use have known values and ratings right on them (also simple math).
        No pesky control knobs to bump (lol).
        Anyway i like simple and LM-317s also have many safeguards in them already.
        so ill try something like 200 ma (low setting) 400 ma (med setting) 800ma (high setting).
        The output reg. voltage would be common battery pack types 3.7, 4.7 and so on.
        I am only using it for small battery’s and not doing fast charging so i think it will be quite safe.
        I will not be pumping in much current or voltages any higher than the rated value (your idea to not fully charge them to max is right on in my tests too), Long life, low risk.
        Anyway we know most all of the common types used and there ratings.
        The other options you and the others have covered quite well (who doesn’t like feature’s).
        So at least i can save a few packs from ending up in a landfill and use them to run something interesting with.
        Many thanks for sharing your ideas and helping with some of the math.
        Scott (ICET)
        BTW: In 30+ as a tech i only every saw 1 battery ever explode. it was a FAKE Li cell from the wonhunglo market we all love so much. (be safe out there).

        Reply
        • Swagatam says

          November 20, 2021 at 5:10 pm

          Sounds good, and this will help you to create a good power supply for the batteries. Hope the readers will also find the concept helpful. Please keep up the good work.

          Reply
          • Scott says

            November 20, 2021 at 10:53 pm

            Well i started to lay this out then remembered something that matters when using 2 lm317’s like this and that is, Each one needs its own heatsink!
            Do not share one common heatsink for both.
            If you do then you get a condition called thermal runaway and well it just will not work right.
            Others can explain this problem better than i can.
            Anyway you will need 2 heatsinks not just one big one.
            Ok well back to finding out who stole my resistors 🙂
            Have fun making stuff.

            Reply
            • Swagatam says

              November 21, 2021 at 11:17 am

              If you want to put two semiconductor devices in parallel then definitely you will want to put them over a common a heatsink so that they can share the dissipation and work uniformly. Putting them on separate heatsinks would cause dissimilar dissipation, ultimately resulting in one of the devices reaching a thermal runaway situation.
              However for LM317 thermal runaway may not be possible since these are thermally protected internally, but not putting them on a common would mean one of them shutting down before the other or both not working collectively.

              Reply
              • Scott says

                November 22, 2021 at 12:39 am

                Ok well ill start at the experiment i did and how i reached my conclusion.
                I breadboarded it up to tweak out the values i needed. i had no heat sinks on the 317s at that time.
                At 18v with 500ma load they got no hotter than my cup of coffee was. (thought nothing more of it).
                As i was laying out a proto board for that part of of it i decided to add a common heatsink anyway.
                It did not seem to really need one but why not.
                So i attached both the lm317 (as a C.C.) and the 317 (as a v.reg) with the proper insulator hardware.
                At that point i powered it up again to make sure things were working as they had before.
                Within a few min the common heatsink got so hot i could not touch it.
                Same 18v same 500ma load i had before.
                So i took off the heat sink as that was the only change to it and it all went back to working as it had on the breadboard where nether of them got hotter than my coffee.
                So i remembered running into this a long time ago when i was a young pup and took my circuit to one of the gray beards at work and he looked it over said said the problem wasn’t my circuit but the cooling, he called the condition thermal runaway.
                The solution was exactly the same this time as well.
                I had long forgot about it over the years.
                Now with each on there own heat sink its all working very well.
                So perhaps the term thermal runaway was not exactly the right term for what went wrong but seemed fitting enough.
                Anyway im now working on adding in more of the ideas you have posted for monitoring and auto cutoff as im building it out in stages.
                I just though i should point out what i ran into and how i fixed it.
                Many thanks for the feedback and help. So far its all working as the math said it should :).

                Reply
                • Swagatam says

                  November 22, 2021 at 10:14 am

                  Thanks for the clarification….That could have happened due to some unidentified reasons, you may have to investigate on that, but I am pretty sure adding semiconductors in parallel on a common heatsink help them to work uniformly and more efficiently.

                  Adding separate heatsink may allow one of the devices to work harder than the other and carry more current than the other, which is not good.

                  Reply
  23. Ray says

    November 12, 2021 at 9:38 pm

    I need a simple small circuit board to provide low voltage lithium battery protection in the handle of a 20 volt power tool. Do you have a circuit that would work for this?? Thanks

    Reply
    • Swagatam says

      November 13, 2021 at 8:40 am

      What is the voltage specification of the battery!

      Reply
      • Ray says

        November 13, 2021 at 9:05 am

        I have two one is a 20 volt 1.5 ah 5 cell lithium battery the other is a 20 volt 3.0 ah. I suspect there rating those at the top end there probably 18 volt

        Reply
        • Swagatam says

          November 13, 2021 at 1:23 pm

          OK, I think you can try the following concept:
          The first diagram can be used for cutting off the load during a low voltage situation. For your application the TIP36 can be replaced with a TIP127, and TIP122 can be replaced with a 2N2222

          https://www.homemade-circuits.com/battery-deep-discharge-protection-circuit/

          Reply
          • Ray says

            November 13, 2021 at 10:35 pm

            Thanks for all your help.

            Reply
  24. Thomas Croswell says

    October 18, 2021 at 11:34 pm

    I don’t see that this question was asked…

    I want to be able to keep a Li-ion battery charged while also using it at the same time. There may be moments when the charging circuit is disconnected from its source and the load will be 100% on the battery and there will be other times (this is the normal case) where there is a supply voltage that can be used to charge the battery and provide current to the load. Would this scenario dramatically change your charging circuits? If the supply voltage is a constant 12V DC, is there a preference for the design?

    Reply
    • Swagatam says

      October 19, 2021 at 2:13 pm

      It may be possible by bifurcating the charging supply into two paths through individual diodes, one to the battery and the other to the load. You can try the concept presented in the second last diagram from the following article:

      https://www.homemade-circuits.com/opamp-low-high-battery-charger/

      Reply
  25. Mitsof says

    September 21, 2021 at 7:57 pm

    I tried to use a mobile phone charger to charge my battery but it is depleting it for some reason. I tried other chargers some do the same ,some dont. The same does a 13 volt power supply I used.

    Reply
  26. Wyatt says

    August 9, 2021 at 9:10 pm

    Your method of explaining everything in this paragraph is really nice, every
    one be capable of simply understand it, Thanks a lot.

    Reply
    • Swagatam says

      August 10, 2021 at 8:35 am

      You are welcome!

      Reply
  27. Scott says

    August 5, 2021 at 9:37 pm

    Very well done.
    I am a electronics bench tech with over 30 years under my belt.
    I will be trying your last solution as my needs are robotic based and will need the best protection with long life of the power solution.
    One thing as an ET (CET) is that when dealing with mains there are many requirements for safety to consider as well as making use of fuses in all of theses designs (things can and will go wrong).
    As far as the rest of your designs go they are quite solid and well explained.
    I would be a poor tech by not pointing out a few concerns not shown in the schematics.
    No matter what way you do them ALWAYS add simple fuses and in my case i am including spike protection as well.
    Heed the words of a bench tech ‘Always assume worst case situations of any high current design’.
    Many thanks.

    Reply
    • Swagatam says

      August 6, 2021 at 9:01 am

      Thank you for your suggestions, I appreciate it.
      Actually most of the designs presented in this blog are basic ideas intended for educating the hobbyists regarding the working and the purpose of the circuit, the external aspects have not been included in it.

      Moreover, DC circuits being low current devices, fuses are not critically required, since the dangers of a fire hazard is negligible in Dc circuits. Also selecting a fuse for a DC circuit can be problematic, since in a short circuit situation the circuit parts can burn in a split second, even before a fuse can react. Instead of a fuse a current controlled power supply looks more preferable…

      Having said that, fuses must be included in AC section of the circuit, for example at the input side of a transformer, or an SMPS.

      If you any further regarding the circuits, please let me know.

      Reply
  28. Carlos says

    May 28, 2021 at 4:36 am

    Thank you very much for your quick reply. I believed that 4 and 5 were the best.
    Thank you very much

    Reply
    • Swagatam says

      May 28, 2021 at 8:13 am

      No problem, wish you all the best!

      Reply
  29. Carlos says

    May 27, 2021 at 6:30 pm

    Hello Mr. Swagatam, I have multiple 18650 batteries and I want to charge them Which of all these circuits is best to automatically charge 18650 batteries without problems.
    Thank you.

    Reply
    • Swagatam says

      May 27, 2021 at 7:05 pm

      Hello Carlos, according to me the second circuit is very good. It will automatically cut off when the Li-ion voltage reaches the full charge level, and the circuit also has a current control feature.

      Make sure to set the voltage across the battery points marginally less than the full charge value of the battery. Adjust the level using the shown 47k preset, without a battery across the indicated points.

      Reply
  30. Micheal Smith says

    May 19, 2021 at 4:42 pm

    Great post! I like to learn, and I have learned something! Thanks you very much keep the good work!

    Reply
    • Swagatam says

      May 19, 2021 at 5:02 pm

      Thank you, I am always happy to help!

      Reply
  31. Richard Ayley says

    May 14, 2021 at 10:58 am

    Just what I was looking for simple circuits using easy to obtain components. The text is informative with out complex formula giving set-up and test procedures. Thanks for sharing.

    Reply
    • Swagatam says

      May 14, 2021 at 11:19 am

      Glad you liked the post, do let me know if you have any further questions…

      Reply
  32. Binoj K says

    February 14, 2021 at 8:36 am

    Sir, I wish to use the first circuit ( MOSFET 540) without temp.control to have a charger for 2 Li ion cells of 3.7v in series. Can we modify the circuit to have a full charge indicator led? Pls advice where to add it and how? If the same function is to be incorporated for charging a single cell, any further modifications needed for the indicator led section?

    Reply
    • Swagatam says

      February 14, 2021 at 12:37 pm

      Binoj, you can try the second design, remove the BC547, and connect an LED parallel to Rx.
      Rx = 2 / charging current

      Reply
  33. FesDan says

    January 11, 2021 at 9:07 am

    Hi, I want to charge two lithium batteries of 3.7 volt 2amps in series making it 7.2 volt 2amps, please which of the above circuit will work well? Thank you
    Festus Daniel

    Reply
    • Swagatam says

      January 11, 2021 at 12:32 pm

      Hi, you can try the second simple design. Make sure the current limit is appropriately set.

      Reply
  34. Luiz Toni says

    December 27, 2020 at 2:43 pm

    Thank you very much for the valuable, clear, pratical, detailed and comprehensive information.
    It really solves the problem.

    Reply
    • Swagatam says

      December 27, 2020 at 8:00 pm

      Thank you, and glad you found the post useful!!

      Reply
  35. arthur lilford says

    November 6, 2020 at 5:16 pm

    Hi Swagatam – I want to charge 3 x Li-Ion 3,7 v batteries in series giving 11.1 v what would I use as a charging circuit and if there is one on you website please tell me where to find it
    Thanks for all the interesting info as well

    Thanks Arthur Lilford – South Africa

    Reply
    • Swagatam says

      November 6, 2020 at 9:09 pm

      Hi Arthur, You can use the last circuit from the following article:

      https://www.homemade-circuits.com/usb-automatic-li-ion-battery-charger/

      Replace the 5V relay with a 12V relay, and use a power supply input of exactly 12.5V

      The current of the supply should be 50% pf the battery mAh value

      Reply
      • arthur lilford says

        November 6, 2020 at 9:28 pm

        Thanks

        Reply
      • arthur lilford says

        November 7, 2020 at 9:10 am

        Hi Swagatam
        When you say the input must be “exactly 12,5 v” must this be controlled because connecting in a car cig lighter connection will be perhaps 13,8V will this be an issue
        Arthur

        Reply
        • Swagatam says

          November 7, 2020 at 12:11 pm

          Hi arthur, 12.5V is the recommended level, however since we have an auto cutoff installed, 13.8V wil also work. But make sure the current is controlled below 0.5 Ah value of the battery

          Reply
  36. Anantha says

    September 15, 2020 at 1:31 pm

    Preferably connect the MOSFET from Battery/ batteries -ve to GND.

    Reply
  37. Steve Y. says

    June 25, 2020 at 8:37 am

    Mr. Swag
    I tried to contact you from your site but there is no way to do so. Thank you for the great website. I am looking for an universal cell phone battery charger circuit with the smallest foot print possible (i.e., smallest PCB and components) do you have any suggestions for a circuit like this that can be miniaturized? Thank you in advance for your reply.

    Reply
    • Swagatam says

      June 25, 2020 at 4:28 pm

      Hi Steve, Please provide the battery specifications, I’ll try to suggest a suitable circuit

      Reply
  38. Tushar Dubey says

    March 9, 2020 at 10:58 am

    How do you calculate the output of the circuit? And how should the resistor value of the circuit be changed to according to changes input? How can I connect NOT logic gate without breadboard?

    Reply
  39. raju says

    February 2, 2020 at 12:16 pm

    Hi,
    i am designing a 72V 10A battery,can you tell me which circuit is better?,or can you send me the circuit for that?

    Reply
    • Swagatam says

      February 2, 2020 at 1:26 pm

      Hi, you can customize the following concept:

      https://www.homemade-circuits.com/high-voltage-360v-battery-charger/

      Th red line supply can be connected to the separate 12 V DC, with common negative.

      Reply
      • AdilAziz says

        October 31, 2020 at 3:42 pm

        hello sir i am a student of EE and i want to build a circuit for 12v 14ah lithium ion battery can you give me the circuit of this rating?….I shall be very grateful to you and anxiously waiting for your reply!

        Reply
        • Swagatam says

          October 31, 2020 at 8:44 pm

          Hello Adil, Li-Ion charger can be mage using many different methods, from simplest to very complex. Which method do you intend to have?

          Reply
          • AdilAziz says

            October 31, 2020 at 10:15 pm

            Sir a method in your sense that an engineer student can understand. A mediocre design might be suitable. Also sir i will be thankful to you if you also clear my ambiguity that as we knw in LI charging we have to keep reducing charging current in satutation stage up to cutoff point how i am going to doing it?
            Thanks

            Reply
            • Swagatam says

              November 1, 2020 at 1:31 pm

              Adil, the simplest for of Li-ion circuit is shown in the second figure above.
              I would rather you the second design from the following article, but it will require proper understanding and a little calculation to ensure perfect working of the circuit.

              https://www.homemade-circuits.com/battery-current-indicator-circuit/

              For charging any battery, the charger is not required to do any kind of reduction or increase in current or voltage. The current and voltage specifications are supposed to be accurately adjusted and fixed for the charger. Once this is done, the battery automatically adjusts the rate of current and voltage absorption until it is fully charged. If the charger output is wrongly adjusted, the battery will be forced to absorb the power inefficiently causing deterioration. The current may require automatic adjustments, if the battery is charged at very fast rate causing warming up of the battery, which is then sensed by the charger initiating the appropriate reduction in the current.

              Reply
  40. Precious Emerenwa says

    November 15, 2019 at 2:42 am

    Good day Sir, I recently read your article on lithium ion charger, and I found it most educative and an eye opener. This got me interested in seeing how to design a lithium ion battery charger for a capacity of 12V 150AH and 200AH. How does one go about designing a charger for such capacity. I Will be most grateful if you could help me out. Thanks yours sincerely Precious.

    Reply
    • Swagatam says

      November 15, 2019 at 10:37 am

      Glad you found it useful precious! The fundamental principle is the same for all batteries regardless of the amp and voltage ratings. For a 12V 150 Ah battery you can use the cut off threshold at the level as specified by the manufacturer and for the current you can use a constant value that may be 50% less than the Ah value of the battery.

      Reply
  41. Geo says

    September 11, 2019 at 7:21 am

    I put on 6 18650 which series-connected. If I’m using BMS for balanced charge, and power supply for the supply, how big input voltage should I use?

    Reply
    • Swagatam says

      September 11, 2019 at 9:19 am

      One cell requires 4.2V to be fully charged, so 6 would require 6 x 4.2 = 25.2V

      Reply
      • Geo says

        September 11, 2019 at 12:54 pm

        ok then.
        I’ll use 25.2V for input.
        thank you, Sir!

        Reply
        • Swagatam says

          September 11, 2019 at 1:18 pm

          Sure, please go ahead!

          Reply
  42. Charan S says

    August 28, 2019 at 10:52 am

    Hi bro, i want a buck converter circuit from 12v/(1 or 2A) to 5v with a variable output current feature. Do you have any such circuits or can you prefer me IC or related circuit.

    Reply
    • Swagatam says

      August 28, 2019 at 4:28 pm

      Hi Charan, I have a 30V to 5V buck converter which perhaps you can tweak a little for your desired purpose, here’s the link:

      https://www.homemade-circuits.com/5v-pwm-solar-battery-charger-circuit/

      Current range can be changed by varying R13, and the range can be made variable by adding a pot for either R1 or R2.

      Reply
  43. Marian Tkáč says

    July 27, 2019 at 11:21 pm

    Hello sir. I may burden you with such stupidity, but I don’t know why. Why is it written in the graph at the beginning: Phase no. 1 In the initial phase no. 1, the battery voltage rises from 0.25 V to 4 V in approximately 1 hour. After all, no battery should be discharged to 0.25 V. Thank you for your answer if you find the time.

    Reply
    • Swagatam says

      July 28, 2019 at 9:54 am

      Hello Marian,

      The graph is only for understanding purpose, to show how typically the Li-Ion cell chemical would behave to an applied input voltage and current..
      It is not to be implemented practically.
      For a real battery you must follow the standard rules, like never discharge it below 3 V and cut if off as soon as it reaches 4.2V.

      Reply
      • Marian Tkáč says

        July 28, 2019 at 12:49 pm

        Ďakujem Vám veľmi pekne, pane a ostávam s pozdravom.

        Reply
  44. Marian Tkáč says

    July 22, 2019 at 7:45 pm

    Veľká vďaka za hodnotné články, pane.

    Reply
    • Swagatam says

      July 22, 2019 at 7:58 pm

      It’s my pleasure Marian. Thanks for stopping by!

      Reply
  45. Marcelo says

    July 22, 2019 at 3:11 am

    Hello Swag,
    I am mounting the most practical circuit with the 555.
    What would be the most suitable value for the electrolytic capacitor (C1)?
    Can I use a 5 volt relay?
    Is it possible to use indicative LEDs, connected to pins “NO” and “NC”, without compromising the circuit operation or do you have any other suggestions?
    Thank you and sorry for so many questions.

    Reply
    • Swagatam says

      July 22, 2019 at 9:34 am

      Hello Marcelo, yes a 5V relay will work but will require 2 times more current to switch than a 12V relay. You can one LED in series with the transistor base, and another LED between pin#3 and the pin#4/8 of the IC with a 1K series resistor

      Reply
      • Swagatam says

        July 22, 2019 at 9:35 am

        ….For C1, you can any capacitor between 220uF/25V and 1000uF/25V

        Reply
        • Marcelo says

          July 23, 2019 at 3:22 am

          Thanks again Swag.
          I made these changes, but I’m not having trim adjustment. I only have, at the moment, 5v or 24v relay. For the 5v I used, is there a need to change the zener value from 6v? I am using the 6.2v one. I have 5.7v zener.

          Reply
          • Swagatam says

            July 23, 2019 at 9:11 am

            Hi Marcelo, without a trimmer it is not possible to make any of these circuits, so it is a must for the adjustments. For the zener you can use a 6.2 V zener.

            Reply
            • Marcelo Wainstock says

              July 23, 2019 at 9:26 am

              Swag once again thank you for your attention. I am using a 1k trimpot as per your design, but there is no change in the adjustment. I have the load according to input setting, load lit LED, current according to voltage setting, but there is no load cut.

              Reply
              • Swagatam says

                July 23, 2019 at 11:30 am

                Marcelo, I’ll soon check it practically and let you know….

                Reply
            • Marcelo says

              July 27, 2019 at 2:56 am

              Great Swag,
              I made some corrections. My mistakes for still being a novice and knowing little about relays. Improved, but I still found the control not sensitive

              Reply
              • Swagatam says

                July 27, 2019 at 11:15 am

                Thanks Macelo, can you please tell me how are you checking the preset action? Are you using a variable power supply for varying the input voltage??

                Reply
  46. Old Hedgehog says

    July 20, 2019 at 1:46 am

    NEVER charge Li-Ion batteries with cells connected in series without a co-called balancing circuit!!! Swagatam, please, remove the last variant, or at least warn your readers about it’s dangerous to use it as is.

    TLDR:
    Every cell in such batteries is slightly different in its capacity and internal resistance. That’s why while charging with the same current they always get the same absolute charge value but different charge percentage. Those ones which have a bit less capacity and/or a bit more resistance have their voltage grown up quicker then others. So then such weak cells are 100% charged other ones are not yet. The charger measures the common voltage on the whole battery which obviously is less then the cut-off value and continues charging. This leads to overcharge and thus to further degradation of that weak cells. Each time you charge the battery in such manner, especially if it’s not fully discharged before, you make them more and more weak. Until one of them, the weakest one finally dies. Then you have to replace the whole battery, or to repack it replacing dead cell by the new one. Alas, the history will repeat with the cell which becomes the weakest one now.

    That’s why they designed the so-called balancing circuits. The most simple one behaves like a Zenner diode connected in parallel to each cell. Then cell voltage reaches a maximum value (about 4.2V) during charging, the BC opens and bypasses the charging current via itself working like shunt. So the 100% full cell stops charging while other ones can continue.

    Well, really the same process takes place when the battery is discharging. The weakest cell discharges first. But overdischarging is not as hazardous as overcharging. And yes, it also could be prevented by using individual protection PCB per cell, if cells themselves are not supplied by built-in ones.

    Reply
    • Swagatam says

      July 20, 2019 at 6:36 am

      Thank you OH, I am totally aware of what you have said. I already have a balance charger circuit published in this website.

      I always recommend to use a charging supply voltage slightly lower than the actual full charge, so in this case also if we use say 4.1 V for each cell then the problem could be averted, in my opinion. The cells may not charge fully but they will be still be charged at 70%.

      Balance charger can be be complex to build and verify, it may also have a possibility of failure at some of time, so using single charger with a slightly lower total charge voltage looks a better option.

      Reply
      • Swagatam says

        July 20, 2019 at 8:20 am

        ….Well, it seems the last concept is about parallel charging and not series charging.

        Reply
        • Old Hedgehog says

          July 24, 2019 at 7:07 pm

          Sure that TLDR part in my comment was not for You personally but for non-advised readers of Your article. IMO it would be better to include some kind of warning to the article itself.

          Yeah, the parallel connection of cells during charging would be much better but it’s not always possible to reconnect the already assembled solid battery. While soldering additional leads to inner intercell buses without cutting them (if absent) is not too hard thing to make oneself. So one can charge each cell separately using the single charger, or even build a special multistage device with a separate charging stage per cell, but both methods still would cost more time/money.

          For me the universal charger for serial connected batteries like yours appeared to be the optimal solution. I only equipped it by a switch to vary its cut-off voltage depending on cells number, another switch to set initial current, and use it with a number of external shunting balancers for individual cell protection. That’s cheap and easy to use with a variety of solid batteries.

          Reply
          • Swagatam says

            July 25, 2019 at 11:28 am

            Fair enough! I have a pending request for a 2 Li-Ion cell series charging circuit, when I update it in this article I’ll also add the warning message and other related info in the posting.

            Thank you for your concern, appreciate it!

            Reply
  47. Sam says

    July 9, 2019 at 6:41 pm

    Does that mean the battery will not be charged up to 3.8A, or does it mean it will not be charged with current higher than 1.9A? I prefer charging it with 0.5A or 0.38A, And also a transistor is supposed to switch on at 0.65v why use 0.3v in the formula?

    Reply
    • Swagatam says

      July 9, 2019 at 8:49 pm

      It will charge to 3.8Ah, at a rate of 1.9 Amp current, this rate decides the amount of time for the full charging.

      For charging at other rates simply put that value in the formula to get the resistor value.

      0.3V is for the Darlington pair, for single transistor it would be 0.6V, but 0.3V is not a calculated value, it’s assumed value, could be even lower.

      Reply
  48. Sam says

    July 8, 2019 at 9:17 pm

    Hi swagtam, how do i solve for the 0.8 ohm resistor in the lm317 circuit, the shunt resistor below the 100 ohm resistor used for limiting the transistors base current. Is there a formula? I want to charge a 3,800mAh Lion battery.

    Reply
    • Swagatam says

      July 9, 2019 at 8:22 am

      Hi Sam, I have assumed 0.3V as the optimal switch ON level for the Darlington, and have used Ohm’s law to calculate the resistor value.

      For 3800mAh the charging rate can be 1900mAh, and R may be calculated in the following way

      R = V / I
      = 0.3 / 1.9 = 0.15 Ohms

      wattage = 0.3 x 1.9 = 0.57 watts or simply 1 watt will do!

      Reply
  49. Marcelo says

    June 1, 2019 at 5:58 am

    Swag these 2 circuits with the 555 operate using a 12v battery. as a source to charge the 3.7v lithium batteries?

    Reply
    • Swagatam says

      June 1, 2019 at 9:58 am

      yes you can use 12V as the source for the given circuits.

      Reply
      • Rodolpho says

        June 28, 2019 at 4:00 am

        Excelent job !!!! Congratulations

        Reply
    • Swagatam says

      June 25, 2019 at 7:27 am

      Hi Marcelo, please use 6V supply for a 3.7 cell. I think I answered your question in a hurry, sorry about that!

      Reply
      • Marcelo Wainstock says

        June 25, 2019 at 9:39 am

        Tudo bem Swang. Poderia usar 3 baterias de 3,7v em série ?
        Obrigado e muita saúde.

        Reply
        • Swagatam says

          June 25, 2019 at 11:18 am

          Yes, that’s possible, in that case the input will have to be 12.6V or 13V

          Reply
  50. Marcelo says

    June 1, 2019 at 5:16 am

    Another doubt sir.
    On charging through a 12v./12Ah battery to a 3.7v./1800mAh battery, what would be the determinant for the current value (considering a circuit for this charging)?

    Reply
    • Swagatam says

      June 1, 2019 at 9:03 am

      Current should be as per your room’s atmospheric temperature, in colder climates you can use higher current and vice versa. Typically, at 25 degrees Celcius ambient temperature you can use 50% of the Ah value of the cell.

      Reply
    • Marcelo says

      June 1, 2019 at 10:05 pm

      Sir Swag. I do not know if I understood your answer or if I could not explain myself in English. In the case of cellular charging, using as a source a 12V / 12Ah battery and several LM7805, as in one of your projects, what would define the current (I) amperage? Since according to you explained “can only charge 1 cell” and no other components. Thank you.

      Reply
      • Swagatam says

        June 2, 2019 at 11:11 am

        The current is defined by the 7805 IC’s maximum limit, which is 1 amp.

        Reply
  51. Marcelo says

    June 1, 2019 at 5:04 am

    Hello Swagatam.
    What would be the most efficient, safe and economical circuit for charging lithium battery using a 12v lead-acid battery as a source?
    Greetings

    Reply
    • Swagatam says

      June 1, 2019 at 9:01 am

      Hello Marcelo, the first circuit is the safest and the most efficient design. Just make sure to add a heatsink to the IC.

      Reply
  52. MADS says

    April 24, 2019 at 2:03 pm

    Hello
    Could these circuits be used for NiMH cells as well?

    Reply
    • Swagatam says

      April 24, 2019 at 2:13 pm

      Yes, they can be used without any worries!

      Reply
      • MADS says

        April 24, 2019 at 8:38 pm

        awesome.
        thank you very much 🙂

        Reply
        • Swagatam says

          April 24, 2019 at 9:00 pm

          You are welcome!

          Reply
  53. Nélio Abreu says

    January 19, 2019 at 9:45 pm

    Hi Swag,
    In the 2nd circuit with the SCR, 700 Ohm resistor is dificult to acquire…. Any alternatives?
    Best Regards.
    Nélio Abreu

    Reply
    • Swagatam says

      January 20, 2019 at 8:54 am

      Hi Nelio, you can use the following software to adjust the values as per your convenience:

      https://www.homemade-circuits.com/lm317-lm338-lm396-calculator-software

      Reply
  54. Afterburn Effect says

    August 30, 2017 at 11:40 pm

    Would it be possible to make this able to charge 6x 4.2v Lithium ion battery’s separately with their own scr trigger while only using 1 lm317

    Reply
    • Afterburn Effect says

      August 30, 2017 at 11:50 pm

      Also would there be a way without a zener as I am limited on components at the moment

      Reply
      • Swagatam says

        August 31, 2017 at 2:46 am

        Not possible, zener helps to achieve the correct threshold triggering

        Reply
    • Swagatam says

      August 31, 2017 at 2:45 am

      No that won’t be possible, triggering of one SCR will completely switch OFF the LM317.

      Reply
  55. john kg says

    June 28, 2017 at 1:22 am

    Good day sir
    How can I modify the circuit to connect 3 batteries in series 12v I basically need a 12v li ion battery charger

    John

    Reply
    • Swagatam says

      June 28, 2017 at 12:57 pm

      Hi John, I would recommend the following circuit instead
      https://www.homemade-circuits.com/2013/12/usb-automatic-li-ion-battery-charger.html

      use 12.6V as the input and a 6V zener in place of the 3 diodes and finally adjust the preset to set cut off at 12.6V

      Reply
  56. ronald says

    May 29, 2017 at 7:14 am

    Dear Mr. Swagatam.
    Could you provide us the simple and cheap circuit to protected the Li-Ion batteries due charging cut off at 4.2V max and discharging cut off at 2.5V, thanks so much.

    Reply
    • Swagatam says

      May 29, 2017 at 11:56 am

      Dear Ronald, you can try the first circuit from the following article, and tweak it according to the mentioned cut-off thresholds

      https://www.homemade-circuits.com/2016/05/solar-charger-circuit-using-transistors.html

      Reply
  57. kennedy cheskaki says

    December 22, 2016 at 8:08 am

    This is some nice work, keep up the good work. However I am confused about using an E instead of Ohms to express resistance.
    Am assuming 1 Ohm = 1E.
    Also for simplicity I'm considering using this circuit to charge a 7.8v laptop battery as it's internal charging has failed to work, also will it be ok if I use the battery while it's charging. The laptops charger rating are 12v 3Amps.

    Reply
    • Swagatam says

      December 22, 2016 at 4:31 pm

      i am glad you liked my site…thanks

      sometimes R and E are also used for representing Ohms as alternate symbols.

      the above article only discuses the concepts which may be useful for charging a Li-ion battery, however these might require some fine tuning until the concepts may look suitable for actual implementation.

      there are much better options discussed in this site which you can try using opamps.

      furthermore an Lm317 power supply alone could be just fine for charging a Li-ion batt if its output is restricted to 4V for a typical 3.7V cell, and the input current at 50% of the Li-ion batt's AH rating.

      for a 7.8V laptop batt, this could be set to 8.5V.

      yes both could be used together, but the charging current for the batt must be separately restricted to the above explained level for safe charging.

      Reply
  58. The Rocking Time says

    July 7, 2016 at 3:51 am

    but sir how these types of circuits can work efficiently ? please refer this charging cycle diagram of a Li Ion cell.

    https://www.google.co.in/search?q=charging+cycle+of+lithium+ion+battery&safe=off&prmd=ivn&source=lnms&tbm=isch&sa=X&ved=0ahUKEwiLoNCpt-DNAhUDso8KHa6tA4YQ_AUIBygB&biw=640&bih=279#imgrc=tlQylQep8HZyHM%3A

    according to the circuis that you are saying, the source stops charging the battery ( the current drawn by the battery from the source terminates ) when the battery voltage reaches the threshold of 4.2 V. but according to the charging cycle of a Li Ion battery charging continues even after reaching the threshold point.. After this voltage and current begins to decrease.. and we can say the battery fully charged when the charge reduced as below as 0.1 C and voltage remains stable in the value of 3.9 V.. so what is the point of making a voltage sensing types of chargers ? that is why i have asked you to suggest a circuit based of current sensing

    Reply
    • Swagatam says

      July 7, 2016 at 4:48 am

      sorry I could not understand the following sentence:

      "according to the charging cycle of a Li Ion battery charging continues even after reaching the threshold point"

      the voltage threshold cut-off method is the correct method and is employed by all standard chargers and for all types of batteries, however for extremely efficient charging process a stepped current charging is often recommended, but is not strictly required if the voltage cut-off is precisely adjusted

      to ensure a enhanced life for the Li-ion cell you can reduce the cut off threshold to 4V instead of 4.2V which might help to reduce the stress level on the cell although that would also mean charging the cell to only 85%
      another method is to reduce the charging current to 1/10th of the cell mAH, but this might require a much longer charging period…

      Reply
  59. The Rocking Time says

    July 6, 2016 at 12:37 pm

    sir while testing the charging of a Li Ion battery taken from an old Sony Xperia phone using only a 7805 voltage regulator the charging current was initially 390 mA and voltage across the battery terminal rised directly from 3.7 V to 4.1 v . . after 1 hr the voltage was 4.2 V and current reduced to 250 mA.. this went on and after 4 hours the charging current reduced below 10 mA and voltage was shown as 3.9 V… so if i am using a circuit to terminate battery charging at 4.2 V how can it charge the battery fully… in my case the charging was not even complete when the battery voltage reaches 4.2 V .. also this cut of voltage reached very soon after connecting to the charger… so please suggest a better circuit which will be able to work according to the current drawn by the battery from the source while charging… i.e, making a circuit which senses the amount of current drawn by the Li Ion battery and will disconnect the charging supply from battery when that current reduces below 10 mA… i think that circuit will be good compared to the voltage sensing ones…… ot is easily understood from the charging cycle of Li Ion battery…

    Reply
    • Swagatam says

      July 6, 2016 at 2:34 pm

      Hi RT, if you are having difficulty in optimizing the above designs you could try the last circuit from the following article:

      https://www.homemade-circuits.com/2013/12/usb-automatic-li-ion-battery-charger.html

      please replace the shown IC 741 with a LM321 since LM321 is specified to work at as low as 3v

      Reply
  60. Gajendra Mishra says

    June 3, 2016 at 5:28 pm

    Hello swagtam ji please guide that what's changes required in above circuit for 11.1v battery

    Reply
  61. Unknown says

    June 3, 2016 at 5:16 pm

    Hello swagtam ji please guide that what's changes required in above circuit for 11.1v battery

    Reply
    • Swagatam says

      June 4, 2016 at 2:08 am

      I would recommend you to build the following circuit because the above ones are rather crude with their features:

      https://www.homemade-circuits.com/2016/05/how-to-set-ic741-battery-charger.html

      Reply
  62. Antoine Blanpain says

    March 11, 2016 at 11:55 am

    If I want to do this for a 6V battery, what are the differences?

    Reply
  63. Antoine Blanpain says

    March 11, 2016 at 11:54 am

    If I want to make this to charge a 6V battery, what are the differences?

    Reply
    • Swagatam says

      March 12, 2016 at 1:59 am

      only the output voltage level will need to be changed to 7V, and same will need to be done for the cut off adjustment.

      Reply
    • Antoine Blanpain says

      March 17, 2016 at 12:03 pm

      Could you explain how I can calculate the cut off adjustment?

      Reply
  64. mycosys says

    December 13, 2015 at 5:43 am

    You do realise that this will only charge the battery to about 75% as you dont have the final constant voltage charging mode that is supposed to continue at the voltage you shut the system off at until current reaches .1C? ie it is only the first thalf of a CC/CV charger.

    Reply
  65. Rohith N says

    December 2, 2015 at 7:53 am

    Sir , i have tried the 2nd ckt many times, with scr 1k pot& 3.9v zener.
    Whenever i connected the fully charged batt from mobile(3.7v) and adjusted pot led never lights
    when i disconnected connection between the led and pot terminal its lighting the led.
    actually one the 2 terminals of pot(left + adj) is connected to -ve and the 3rd terminal or right
    is connected to led's positive lead so its a chance of short circuiting?

    Reply
    • Swagatam says

      December 2, 2015 at 11:59 am

      Rohith, you will need to use a preset (not pot) and adjust it very carefully for getting the results, if you are finding it difficult then you can try an opamp based circuit which is much reliable, as shown below

      https://www.homemade-circuits.com/2012/02/how-to-build-automatic-6-volt-12-volt.html

      Reply
  66. Abby Dimac says

    November 24, 2015 at 12:54 am

    Hello sir, I'm a student and currently doing my final project. What would be charging circuit if i want to charge a 4.2V,30000mAH lithium ion battery with overcharge and over discharge protection too. i hope you can help me. Thanks.

    Reply
    • Swagatam says

      November 24, 2015 at 4:48 am

      Hello Abby, may be you can try the following concept for your need:

      https://www.homemade-circuits.com/2015/10/smart-emergency-lamp-circuit-with.html

      Reply
  67. Faizan Hamayun says

    March 11, 2015 at 11:24 am

    Hello;
    What would be the changing required in circuit if i want to charge a 4.2V,1200mAH cylindrical battery with overcharge and over discharge protection.Over discharge in sense if battery is connected with circuit and their is no power supply attached the battery will drain through the circuitry..
    Also it should have 3 status LED's for charging yellow,full charge green and for fault indication red if battery is dead or short circuited.Please reply i am hoping for good.

    Reply
    • Swagatam says

      March 11, 2015 at 3:32 pm

      I have addressed your requirement in the following article, please check it out:

      https://www.homemade-circuits.com/2015/03/battery-charging-fault-indicator-circuit.html

      Reply
  68. Nuraisyah says

    July 4, 2014 at 4:24 am

    Hello sir,
    can this circuit control discharging of battery?

    Reply
    • Swagatam says

      July 4, 2014 at 12:00 pm

      please elaborate, I could not understand the requirement

      Reply
  69. Premkumar.P says

    June 30, 2014 at 6:26 am

    What is the purpose of 0.8 ohm resistor? Is it for current limiting? If so, how it limits current?

    Reply
    • Swagatam says

      July 1, 2014 at 5:00 am

      It limits current through Ohms law I = V/R

      Reply
  70. Yeshwanth Kumar says

    May 14, 2014 at 6:26 am

    Thanku Swagatam. I just realized one more thing, Once i trigger the SCR its not possible to switch off my SCR. Which means i cannot charge my battery again with out disconnecting my battery. ( I am trying to use this system as a nano UPS to power up Hard disks). Is there any other better way for me to do this??
    Thanks
    Yeshwanth Kumar J

    Reply
  71. Yeshwanth Kumar says

    May 13, 2014 at 4:26 am

    Hi Sawgat,
    I am trying to implement the battery charger circuit for a 12v 2.8Ah, (though i will be using 3 batteries in parallel to achieve the required voltage).
    say by selecting a 10 V zener wil i be able to achieve the same??
    Thanks
    Yeshwanth Kumar J

    Reply
    • Swagatam says

      May 13, 2014 at 6:25 am

      Hi Yeshwanth, yes it can be implemented by using a 10V zener and setting the preset appropriately, also the 700 ohm resistor will need to calculated and replaced for getting the required 14V output for charging the 12V batt.

      The input current must not be much higher than 1/10th of the battery AH for correct response.
      The circuit has not been verified practically by me, though.

      Reply
    • Yeshwanth Kumar says

      May 13, 2014 at 6:30 am

      thanks Swagat
      I have another doubt what is the use of 240 ohm resistor that i connected from the output to the scr? And can you help me out with the calculation of the 700 ohm resistor? If you can just guide me through it will be of great help to me.
      Thanks
      Yeshwanth Kumar J

      Reply
    • Yeshwanth Kumar says

      May 13, 2014 at 10:56 am

      Thanks for your prompt response
      I have a few doubts You said adjust the 1k to preset? what do you mean by this? Also can you help me out with the calculation realted to the selection of 700OHm resistor?
      Thanks
      Yeshwanth Kumar J

      Reply
    • Swagatam says

      May 13, 2014 at 2:55 pm

      Yeshwant, 240 ohms is as per the datasheet of the LM317, it's mandatory and fixed.
      For finding the 700 ohm resistor replacement, you can use any online LM317 calculator software.
      Just enter the 240 value and the required output voltage in the given slots and press calculate to get the value in question.

      Reply
    • Swagatam says

      May 13, 2014 at 2:56 pm

      ……….I'll update the setting procedure of the preset soon in the above article

      Reply
    • Yeshwanth Kumar says

      May 13, 2014 at 4:30 pm

      Thanku Swagatam it will be of great help to me, to understand my working better. Once again thanku waiting for your response
      Regards
      yeshwanth Kumar J

      Reply
    • Swagatam says

      May 14, 2014 at 6:15 am

      You are welcome Yeshwanth,

      the required data has been updated in the article, please check it.

      Reply
  72. Swagatam says

    April 10, 2014 at 5:53 am

    according to me it's perfect, although I haven't checked it practically.

    Reply
  73. wvdakker says

    April 9, 2014 at 8:09 pm

    Is the second one to be declared stable now? I need it to connect my 3,7 Lithion battery to a 6V solar panel.
    I want to minimize the components, so if I can remove the pot and change the zener to a 4007 it would be great. Also removing the LED and connect the SCR to the ground. Right?

    Reply
  74. Arun Kumar says

    April 2, 2014 at 4:41 am

    Hi Swagat,
    Can we modify this circuit for charging 11.1Volt, 6600mAh Li-Ion battery. Or do you have any recommended circuit for this.
    Thanks

    Reply
    • Swagatam says

      April 2, 2014 at 3:03 pm

      Hi Arun,

      yes the above circuits can modified for the specified application…… the second design by selecting the zener diode suitably.

      Reply
  75. Jacky Trần says

    December 27, 2013 at 9:44 am

    I want to make a circuite have output 17.4v – 210mA to charge 4 lithium-ion cell ! Can I follow this circuit ??

    Reply
    • Swagatam says

      December 28, 2013 at 6:37 am

      the above circuit will need to be tweaked a lot for exact results, you can try the second circuit from the following link

      For R2 use a 10k pot for adjusting 17.4V output

      https://www.homemade-circuits.com/2012/07/make-6v-4ah-automatic-battery-charger.html

      Reply
  76. Joydip H says

    September 24, 2013 at 11:28 pm

    Hi Swagatam
    Thanks for the interesting simple yet safe Lithium battery charger circuit. Recently I acquired some 4.2 volt 4200 mAh lithium ion batteries (size TR18650) but am planning to build my own charger. Your max voltage goes up to 3.9v, but how does one go about safely charging the newer 4.2 v cells ? Any modifications needed to your circuit to achieve this ? Regards, J.

    Reply
    • Swagatam says

      September 25, 2013 at 8:13 am

      Hi J, thanks,

      Do not use the above circuit as it's not yet verified, you can try the SECOND one from the link below, it's a bit elaborate but it's safer and accurate, moreover you can adjust it to suit any desired voltage level:

      https://www.homemade-circuits.com/2012/07/make-6v-4ah-automatic-battery-charger.html

      Reply
  77. Swagatam says

    September 15, 2013 at 4:11 pm

    BT169 is a standard ScR very popular one, you will get it.

    Please first confirm the above circuit and then we can go ahead with the LED indications….please note that this circuit is not confirmed yet, so the functions may not be guaranteed.

    Reply

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

Subscribe to New Circuit Ideas

Categories

  • Arduino Projects (87)
  • Audio and Amplifier Projects (132)
  • Automation Projects (17)
  • Automobile Electronics (101)
  • Battery Charger Circuits (83)
  • Datasheets and Components (104)
  • Electronics Theory (143)
  • Free Energy (37)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (19)
  • Health related Projects (25)
  • Home Electrical Circuits (12)
  • Indicator Circuits (14)
  • Inverter Circuits (87)
  • Lamps and Lights (142)
  • Meters and Testers (69)
  • Mini Projects (46)
  • Motor Controller (64)
  • Oscillator Circuits (27)
  • Pets and Pests (15)
  • Power Supply Circuits (108)
  • Remote Control Circuits (50)
  • Security and Alarm (64)
  • Sensors and Detectors (101)
  • Solar Controller Circuits (59)
  • Temperature Controllers (42)
  • Timer and Delay Relay (49)
  • Transmitter Circuits (29)
  • Voltage Control and Protection (37)
  • Water Controller (36)

Calculators

  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator
  • Filter Capacitor Calculator
  • Buck Converter Calculator
  • Boost Converter Calculator
  • Solar Panel, Inverter, Battery Calculator
  • Wire Current Calculator
  • SMPS Transformer Calculator
  • IC SG3525, SG3524 Calculator
  • Inverter LC Filter Calculator

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 |

Recent Comments

  • Swagatam on Adjustable 0-100V 50 Amp SMPS Circuit
  • ibrahim on Adjustable 0-100V 50 Amp SMPS Circuit
  • Swagatam on Contact
  • KRAB Babu on Contact
  • Swagatam on How Shunt Regulator TL431 Works, Datasheet, Application

Company

  • Privacy Policy
  • Cookie Policy
  • About Me
  • Contact
  • Disclaimer
  • Copyright
  • Videos
  • Sitemap

Social Profiles

  • Twitter
  • YouTube
  • Instagram
  • Pinterest
  • My Facebook-Page
  • Quora
  • Stack Exchange
  • Linkedin
  • © 2025 · Swagatam Innovations