Automatic Lithium Battery Charger Circuit

Last Updated on July 31, 2025

We mostly use Lithium Batteries for our electronic projects and applications. But these batteries are sensitive to overcharging and little high temperature, these conditions may lead to battery fire and explosion. Here is the simple Automatic Lithium Battery Charger Circuit suitable for Li-Ion batteries 3.7V to 4.2V and 18650 batteries. This circuit constructed by using LM358 dual operational amplifier, S8550 PNP transistor and Indicator LEDs. This charger circuit is designed to automatically change output voltage from charging to maintenance voltage, when the target battery fully charged and starts to overflow. By this way it avoids overcharging.




Here we have used 18650 Li-Ion battery 3.7V / 2000 mAh as a load and constructed this circuit on breadboard to test.

Circuit Diagram

Components Required

1C1470pFC_Disc_D3.8mm_W2.6mm_P2.50mm1
2C2100μFCP_Radial_D4.0mm_P2.00mm1
3R3, R5, R71KΩR_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal3
4R1, R22.2KΩR_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal2
5R4, R8680ΩR_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal2
6R6220ΩR_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal1
7R91MΩR_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal1
8R1022KΩR_Axial_DIN0207_L6.3mm_D2.5mm_P10.16mm_Horizontal1
9U1LM358DIP-8_W7.62mm_LongPads1
10Green1, Red1, Yellow1LEDLED_D5.0mm3
11Q1S8550TO-92_Inline1
12J1, J2Screw_Terminal_01x02TerminalBlock_Altech_AK300-2_P5.00mm2

Prototype on Breadboard

Construction & Working

Main operation of this circuit is to detect the Battery Voltage, Control Charging Voltage and Indicate charging and full status using LEDs. Dual operational amplifier LM358 used as a comparator to perform all the operations. Transistor S8550 delivers controlled charge voltage and current to battery.

Input DC Power Supply 5V is applied through J2 connector. This is suitable for 3.7V with 4.2V full charge voltage Li-Ion batteries. Red LED connected through R3 indicates output power supply from the Q1 transistor. A Voltage divider made from R1 and R2 Resistors takes voltage from the battery and divided voltage is applied to the Non Inverting input pin 3 of op-amp U1A inside the LM358. U1A op-amp inverting input is taken between R3 and power indicator LED. This is slightly higher than divider voltage from R1,R2.

When the battery connected at J1 connector not fully charged, then its voltage through voltage divider at pin 3 is lower than the reference at pin 2. This difference makes the output of U1A LOW and makes Charging LED Glow and allows S8550 transistor in ON condition so that battery gets charge voltage/current.

When the battery gets fully charged then the voltage divider voltage becomes higher than inverting input. That is pin 3 voltage higher than pin 2 of U1A op-amp. So that this inverting voltage comparator gives HIGH output and makes CHG Full LED to glow and also makes S8550 PNP transistor OFF (below saturation). Hence there is minimum output voltage to battery, that is stopping battery charge. U1B op-amp makes Yellow LED (Charging) blink during charge cycles, using C1 as a timing capacitor.

Printed Circuit Board

Automatic Lithium Battery Charger Circuit Gerber Files.

Interactive Board Viewer

     

PCB 3D View




Leave a Reply

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