A36_TestMost battery chargers stop charging the battery when it attains its maximum charging voltage set by the circuit. This circuit charges the battery at a particular voltage, that is, absorption voltage, and once the maximum charging voltage is attained, the charger changes the output voltage to float voltage for maintaining the battery at that voltage. Absorption and floating voltages are dependent on the type of battery.

For this charger, voltages are set for a sealed lead-acid (SLA) 12V, 7Ah battery, for which absorption voltage is 14.1V to 14.3V and floating voltage is 13.6V to 13.8V. For safe working and to avoid overcharging of battery, absorption voltage is selected as 14.1V and floating voltage is selected as 13.6V. These values are to be set as specified by the battery manufacturer.

Fig. 1: Circuit diagram of the 12V battery absorb and float charger

Circuit and working

ZD8_PartsCircuit diagram of the 12V battery absorb and float charger is shown in Fig. 1. It is built around step-down transformer X1, adjustable voltage regulator LM317 (IC1), op-amp comparator LM358 (IC2) and a few other components.

The 230V AC primary to 15V-0-15V, 1A secondary transformer used in this circuit steps down mains voltage, which is rectified by diodes D1 and D2 and smoothened by capacitor C1.This voltage is given to the input of LM317 for regulation.

The basic circuit is a regulated power supply using LM317, with a control on output by changing resistance at adjust pin 1. A good heat-sink is required for LM317. LM358 is a dual-operation amplifier that is used here to control overcharging of the battery. Capacitor C4 should be as near as possible to pin 1 of IC2.

Jumper J1 is used for calibration (set-up). While setting the charging voltage, remove the jumper and connect it back after calibration.

For initial setup, remove jumper J1, switch off S2, switch on S1 and adjust potmeter VR2 to get 13.6V at test point TP2. Adjust potmeter VR3, so that LED2 begins to glow. Adjust potmeter VR1 to read 0.5V (difference of 14.1V and 13.6V) at test point TP1. Adjust VR2 to read 14.1V at test point TP2.

With these settings, TP2 should read 14.1V when there is low voltage at test point TP3, and 13.6V when there is high voltage at test point TP3. Connect jumper J1. The charger is now ready for use.

Connect the 12V battery under charging (BUC), with correct polarity, at CON2. Switch on S2; one of the LEDs out of LED2 and LED3 will light up (most likely it would be LED2). If neither of these light up, check the connections; battery could be dead. Switch on S1 for charging. Fully charged status of the battery will be indicated by glowing of LED3.

Do not worry if you forget to switch off the charger. The charger is on floating voltage (13.6V) now and it can be kept in this charging mode forever.

Construction and testing
An actual-size, single-side PCB for the 12V battery absorb and float charger circuit is shown in Fig. 2 and its component layout in Fig. 3. Assemble the circuit on the PCB, except transformer X1 and the battery under charge (BUC).

Fig. 2: Actual-size PCB of the charger
Fig. 2: Actual-size PCB of the charger
Fig. 3: Component layout of the PCB
Fig. 3: Component layout of the PCB

Download the PCB and component layout PDFs: click here

Enclose the PCB in a small box. Fix the battery terminal on the front of the box for connecting the BUC. Connect switches S1 and S2, potmeters VR1 through VR3, etc on the body of the box.

EFY notes. 1. Switch off S2 or disconnect battery terminals to avoid unnecessary discharge of battery when not charging, that is, when S1 is switched off.
2. Connect the battery with correct polarity.
3. Casing of IC1 should not be connected to ground, so use insulation.

Fayaz Hassan is manager at Visakhapatnam Steel Plant, Visakhapatnam, and is interested in microcontoller projects, mechatronics and robotics


  1. Sir, Thanks for sharing this circuit design. Can it charge my Alto K10’s battery also, which need more current? I have a 12-0-12 5A transformer. Could you help me use it build the charger which can charge my car battery as well as my my bike battery which is 12V/9AH. Many thanks in advance.


  2. A 12V battery requires about 14VDC for charging. About 2VDC will be dropped across the voltage regulator IC. So, 12-0-12 transformer may not sufficient for charging 12V Lead acid battery.
    Please refer the project 12V BATTERY CHARGER CUM VARIABLE POWER SUPPLY published in November 2016 EFY edition for higher AH battery charging.

    • What if the transformer is used with Full Bridge Rectifier? I think, 12-0-12 2Amp Trafo is good. The Full Bridge should use the 2 end terminals and keep the center tap unused. Please confirm if this is true.

  3. Dear Fayaz Hassan,
    Is it possible to use a 18-0-18, 20A transformer that I already have, instead of the 15-0-15 1A described as X1?

    I would like to charge a 12V 14ah lead acid battery for a motorcycle but i would like to use it as well for 12V car battery.
    Thanks and Regards

    • when charging current is more than 1A, the IC1 will start heated up. since your transformer is able to supply more than 1A (where 20A is felt as infinite current in this case), I think, the IC1 will be damaged within no time, if a highly discharged battery is connected for charging.
      you can try by connecting about 3.3 ohm, 10W resistance instead of series resistance R7 and reduce to a safe value ( it is trial and error method only ).

  4. Hello,
    I’m planning on using 15V-0-15V 1,67A 50VA transformer in this project for charging a 7Ah 12V SLA battery.
    Should I increase the value of R7?
    Best regards.


Please enter your comment!
Please enter your name here