• 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 / How to Set IC 741 for Auto Cut-oFF

DIY Circuits | Learn Basics | Arduino Coding




How to Set IC 741 for Auto Cut-oFF

Last Updated on July 15, 2019 by Swagatam 102 Comments

In this post I have explained how to set or adjust an opamp 741 IC based battery charger circuit for implementing an automatic cut-off for the connected battery once it reaches the full-charge level.

Since I have many such IC 741 battery charger circuits posted here, the instructions will be helpful for correctly setting up most of those relevant circuits. The query was put forth by Mr. Chaw.

How to Setup Charging Thresholds

I have finished with the universal Automatic 741 battery charger circuit prototyping. In order to test, can u explain me briefly about the settings for input and trimmers etc before i charge the battery ?

Let's say now I am going to charge Ni-MH 400mAh 7.2V battery:

(1) What is the power supply input voltage and current ? According to what u have mentioned, any voltage between 15-24V and 5A setting will do regardless of the battery voltage ?

(2) How can I predict and calculate my charging time to the battery ?

(3) What are the modification to 4k7 and 10k trimmer before charging ?

(4) Last but not least, if I want to add the LED showing the charging status, where should i add this to ?

I am sorry for asking too many questions, but thanks for all the way helping me out with my internship project. May god bless u for ur hardwork. Really appreciate it !! 😀

Video Explanation:

Circuit Diagram

LM338 opamp battery auto cut charger circuit

PCB Design

Analyzing the Circuit Query

Hi Chaw,

The instructions given below will help you to understand regarding how to quickly set up an opamp 741 battery charger circuit for an auto cut-off operation.

1) First disconnect the 1N4148 diode link connected at preset center arm and also the LED 4k7 resistor end from the base of the transistor. Connect this 4k7 end to ground temporarily.

2) Do not connect any battery as yet.

3) Feed an input voltage that may be at least 3 to 5V higher than the battery voltage.

4) Adjust the 4K7 pot to get a 8.5V across the terminals which is to be connected with battery.

5) Now adjust the trimmer such that the red LED just lights up.

That's all, your circuit is all set now

Reconnect the 1N4148 end with the preset center terminal as before and restore the LED 4k7 connection with the BC547 base.

You can now charge the battery from this charger and witness an auto cut off when the 7.2V reaches 8.5V.

The back up time will depend on the input current, if it's at the full 1C rate then you can expect the cell to charge within 1 hour or time.

you can add another LED across positive rail and pin#6 (for IC 741) with a series 1K resistor for the charging ON indicator

Estimating Charging Time

Yes noted, I have followed ur instructions to make a setting before charging. I have mentioned that I will made use of a 7.2V battery to test. In this case, may i know the purpose of why u advice me to get a 8.5V at the battery terminal ?

Like for example, if I were to charge another battery (12V,24V,etc...) with different voltage, how do I know the voltage that I should achieve ? Additionally, adjusting 4k7 trimmer to get 8.5V at the battery terminals (cathode of 1N5408 and ground), do I also need to get this voltage at the Vout pin of LM338?

Since my battery is 400mAh, I try to use 40mA for my input current because I got read from some of the comments that u suggested to use the input current which is five or ten times lesser than the battery mAh.

Thus, the time taken will be up to 4 hours to charge my battery, am I correct ? Is there any way to shorten my time taken like increase the input current in the other way ?

One more thing to clarify is that if I test with my multimetre to the battery terminals while charging, the voltage will keep on increasing after some time and when it reaches 8.5V, it will auto cut off the current and said to have a full charging ? I do apologize for so many questions every time sir.

Since I am still doing an internship, I want to understand in depth about all this project. I really do appreciate your patience to me 😀 With regards, Chaw

Charging a 12V Battery Optimally

For a 12V battery the recommended full charge level is 14.3V, so with this yardstick we can easily calculate the full charge levels of other batteries using the following simple cross multiplication formula:

12/V(Batt) = 14.3/V(full)

Here V(batt) is the normal batt voltage of any battery, and V(full) is the required full charge result.

the charging voltage should be measured and set after the diode cathode so that the diode FWD drop is countered appropriately, meaning the LM338 terminal voltage will be 0.6V higher than the above level.

For a lead acid batt the 1/10th charging current becomes a crucial factor and is strongly recommended but for Li-Ion this may not be the case, these batts can be charged even at their full AH rates for achieving a quick 1 hour or 2 hour charging period (temperature of the batt may go significantly high and must be monitored in such cases).

Yes the battery voltage will gradually keep rising while it gets charged, and as soon as it reaches 8.5V, will be auto cut-off by the opamp circuit.

Wish you all the best!

You'll also like:

  • powerbank5 Simple Power Bank Circuits for Mobile Phones
  • BQ24295 Smart Battery Charger IC with Boost + OTG
  • car battery charger for garage mechanicsRegulated Car Battery Charger Circuit for Garage Mechanics
  • TPelectrical3 Smart Li-Ion Battery Chargers using TP4056, IC LP2951, IC LM3622

Filed Under: Battery Charger Circuits Tagged With: 741, Auto

About Swagatam

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

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

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

Previous Post: « Make this Radio Repeater Circuit at Home
Next Post: Make this Home Security Project Using Arduino – Tested and Working »

Reader Interactions

Comments

DEEPAK says:
April 30, 2018 at 5:09 pm

can use 12v 7ah betterie

Reply
Swagatam says:
April 30, 2018 at 5:39 pm

yes you can

Reply
DEEPAK says:
April 30, 2018 at 6:48 pm

thank sir..
and Maximum amount of AH battery can be used on this circuit. If you use Battery above 7AH, then how many VOLT input is to be given. And what to change

Reply
Swagatam says:
May 1, 2018 at 11:27 am

Deepak, 50Ah is the maximum if the LM338 is included, you can upgrade the LM338 with an outboard transistor in increase this limit

Reply
Patrick says:
October 24, 2017 at 10:13 pm

Dear Swagatam then I reconfigure the charger with the procedure and then connect a discharged battery, and then the red led will turn off and activate the power?

Reply
Swagatam says:
October 25, 2017 at 8:40 am

Patrick, if you do it with proper understanding then it will definitely work.

You can first try it without the 1N4148 feedback link.

check whether the red LED switches ON or not once the battery reaches full charge level. If it does then your charger is working correctly.

s

Reply
Patrick says:
October 24, 2017 at 6:35 pm

Dear Swagatam but in the article indicates that there should be no battery connected, then the battery that I connect in the configuration must be charged or discharged?

Reply
Swagatam says:
October 24, 2017 at 8:05 pm

Patrick, yes that’s correct!

Actually I thought you had completed all the procedures and were seeing the RED LED ON during initial power switch ON, without a battery connected. but anyway after setting up the red LED if you connect the feedabck then the opamp will get latched, and you will find the red LED always ON until power is switch OFF and ON again, with a battery connected…you will have to understand how the feedback is designed to work, or you can simply remove it.

during setting up procedure the feed back should be removed, no battery should be attached, and the preset flipped up down to identify the red LED trigger point, and finally the preset should be set at the point where the LED just switches ON…this should be done with the correct supply fed to the circuit.

once this is done the feedback can be connected back in position.

next, for verifying the results, a discharged battery may be connected and power switched ON, you will find the red LED shut off and the battery charging… until the set charge threshold is reached.

Reply
Patrick says:
October 24, 2017 at 5:17 am

Dear swagatan I do everything that you indicate in the configuration and then I connect the diode 1n4148 and the resistor of 4,7k when I connect I stay on the red led and there is no voltage output

Reply
Swagatam says:
October 24, 2017 at 6:52 am

Dear Patrick, if you do it without a battery connected then naturally the circuit will get latched through the red LED, and that means you have not followed the explanation and the instructions given in the article.

I hope you have adjusted the preset as mentioned in the article and I hope your oamp is switching the LED ON/OFF at the thresholds??

If it is then you must test it with a discharged battery connected, and using an input supply whose current much lower than the battery’s aH rating.

and just following my instructions will not help…you will have to understand how the opamp is designed to function, once you understand it will be matter of seconds solving any issues that may possibly arise.

Reply
Swagatam says:
October 24, 2017 at 7:33 am

…if you are not able to “handle” the feedback link, don’t bother,…remove it, just make sure red LED lights up at the full charge threshold level…that’s all, even in this condition it will still prevent the battery from getting over charged.

Reply
Patrick says:
October 21, 2017 at 8:39 pm

Ok thanks, Dear Swagatan another query the red led that indicates? How do I know my battery will be fully charged? another query instead of placing the lm338 could place a lm317, since the current of my battery is low?

Reply
Swagatam says:
October 22, 2017 at 12:05 pm

The red LED will light up when the opamp detects full charge voltage level on the battery, as per the adjustment done on the preset.

yes, you can replace LM338 with LM317 for low current battery.

Reply
Patrick says:
October 20, 2017 at 1:41 am

Dear Swagatan for an 18 V battery do you need to make any changes?

Reply
Swagatam says:
October 20, 2017 at 2:50 am

Dear Patrick, for 18V battery you will need a charging 22V input which is above the max limit of IC 741, therefore you may have to use a 7812 IC for supplying the pin#7 of the IC, and also use a 1K in series with the upper arm of the 10K preset. that’s all

Reply
Wiseman says:
September 22, 2016 at 3:39 am

Hello Swagatam,

Thank you for all your help. I'm trying to implement this circuit for a 20V (2Ah) Li-Ion battery, so what should I change to get that done? Since the cutoff setup seems to require removal of parts, how would set up take place if this circuit were built on a PCB?

Reply
Swagatam says:
September 22, 2016 at 8:27 am

you just need to insert and solder the feedback 1N4148 diode into the PCB as soon as the setting up procedure is completed.

Reply
Swagatam says:
September 22, 2016 at 8:24 am

Thank you wiseman, you can use the same circuit for safely charging your 20V Li-ion battery, just alter the following two things:

use a 22k pot for the LM338 voltage regulation instead of the shown 4k7, and use the 741 IC which is rated to work with 32V, if it's not available then replace the 741 with a LM321 IC and configure the pis accordingly.

Reply
Wiseman says:
September 22, 2016 at 3:37 am

Hello Swagatam,

Thank you for this circuitry. I am trying to modify this circuit for a 20V Li-Ion battery, so what should change? It appears that one has to remove circuit parts to set the voltage. How should it be set up if one is interested in building the circuit in PCB?

Thank you for your response.

Reply
Kanta says:
August 21, 2016 at 4:21 pm

Hi Swa,
Thanks for your kind support.

I have spare IC TL082, can use this IC istead of LM 741.
Thanks
Kanta

Reply
Swagatam says:
August 22, 2016 at 2:36 am

Hi Kanta, it can be used according to me.

Reply
Kanta says:
August 14, 2016 at 12:07 pm

Hi Swa,
The circuit that i use is using LM 741. You are right, pin 6 produces only arround 1.1V when the battery has not reached the preferrable full charge voltage. The reason why last time it can be 2.5V, because the LM 741 was not conducting yet as the pin7 is not properly connected to Vcc+, but pin 6 got the positive supply from the feed back voltage of the LED of the charging indicator (positive trail to pin 6 zener anode lead with 1K resistor).

I have done some modifiction as follows
-. Reduced the zener of the pin 2 to 4V3. Retained the resistor value of pin 2 as it is
-. Reduced the value of the resistor of pin 3
-. Removed the charging indicator LED, as it caused the feed back voltage which is adding the voltage of the anode lead of the pin 6 zener. This caused the BC 547 conducting all the time.
-. Installed beeper using IC555 and switching transistor 2N2222. The beeper will sound once the battery get fully charged.
-. installed a 2 poles 3 position selector for: 1. setting the cut-off; 2. connect discharged battery, then wait for few seconds untill the charger voltage come down, then; 3. Connect the cut off.
-. Increase the value of the relevant diodes to accomodate charging current up to 5Amp.
-. For charging indicator LED, i installed a LED differently.

By doing that, the charger is perfectly functioning for charging 6V to 24V battery with max 50AH.
Thanks for your support.
Kanta.

Reply
Swagatam says:
August 14, 2016 at 3:59 pm

That's great Kanta! Although I believe few of the modifications were not required, if it's working for you then it's absolutely fine….

Reply
Kanta says:
August 12, 2016 at 3:16 pm

Hi Swa,

What if i lower the zener value of the pin2 from 6V2 to 4V7 and also change the resistor value on its cathode lead to 1K. I will also remove the resistor on the pin 2 and pin3. By doing this i hope the cut off can be workable for charging 6 V up to 24 V battery. Do you agree? You kind advice please.

For your information, as for the pin6, the lowest voltage comes out from pin 6 is ranging 3.1 to 3.3V, hence, the zener of the pin 6 should not be lower than 3V, otherwise the BC 547 will always be conducted. That happened when i used the 2V7 zener on the pin 6, the BC547 always conduct eventhough the trimmer of pin3 on the lowest position.

Thanks
Kanta

Reply
Swagatam says:
August 14, 2016 at 4:00 pm

OK then no issues…

Reply
Kanta says:
August 14, 2016 at 12:12 pm

Hi Swa,
Off course i dont use 7812 for the charger. iC 7812 is only for dedicated power supply of the LM741, because my charger transformer produces 24 V.
Thanks
Kanta

Reply
Swagatam says:
August 13, 2016 at 2:44 am

Kanta, Which schematic are you using, because 7812 cannot be used in the above shown design?

I am assuming that you are using the following schematic

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

Pin6 should not produce more than 1.5V as offset voltage…3V is too high…may be your IC is not good something's not correct in your circuit.

You can use 4.7V as the reference zener but that may not be related with your issue.

The circuit explained in the above article will work only with IC LM317 or LM338…it won't work with 7812

Reply
Kanta says:
August 11, 2016 at 11:17 am

Hi Swa,
I have constructed the charger using the above circuit. However, when i set the cut off, it only works when the voltage of the Power supply reach above 12.3 volt. When i measure the voltage of the pin 6 of the LM 741, if the power supply below 12.3V, the voltage of pin 6 is allways below 3.1 to 3.3V, eventhough i have trimmed the preset of the LM741 on the max level.
Can you please tell me what cause this. How do we modify the circuit in such a way so that we can use it to have automatically cut off for charging the battery below 12 V. I will use it to charge 6V, 9V and 12 V battery.
Thanks
Kanta

Reply
Swagatam says:
August 12, 2016 at 1:03 pm

Kanta,
6.2V is OK…
pin#6 zener is only to block a possible leakage (1V) from the IC output which can be easily done with a 3V zener, so that's fine too.

If you wish you can remove the 10K resistors from pin3 and pin2 although that's irrelevant…

just adjust the preset at pin3 such that at the preferred over voltage pin3 voltage is set to be just above pin#2 reference voltage that is 6.2V

for example if the overcharge level is 9V then at this voltage pin3 voltage should be set at 6.3V or 6.4V which will trigger the output to go high.

I have explained the procedure thoroughly in the article you may want to go through it also for more info

Reply
Kanta says:
August 12, 2016 at 2:57 am

Hi Swa,
I am using zener diode of 6V2 at the pin 2. I am using IC 7812 to feed the power of the IC 741. The zener for pin 6 is 3V. The charger power is supplied by 24V 5A transformer.
Could you please give me the proper value for the zener at pin 6 which can be used for cut off function for 6V up to 24 V. Should we also change the Resistor value at pin 2 and pin 3 ?
Thanks
Kanta

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

Hi Kanta, which zener diode did you use as the reference at pin#2?

the idea is simple, the pin#6 will become high whenever the voltage at pin#3 goes above the reference value set at pin#2, therefore pin#3 preset must be adjusted such that the voltage at pin#3 just goes above pin#2 reference at the preferred battery full-charge voltage level.

Reply
Kanta says:
August 6, 2016 at 2:58 pm

Hi Swa,
I am constructing the charger using the above circuit, i just notice that the shop gave me the wrong zener of 2V7 instead of 3V for the pin 6 of the IC. Can i use the 2V7 zener ?
Thanks
Kanta

Reply
Swagatam says:
February 15, 2017 at 1:39 pm

Hi JK, that can never happen since the 220 ohm has no place to get shorted.

the 4k7 pot may short the ADJ pin and the 220 ohm to ground while adjusting, but that's a normal feature of the IC….therefore the 220 ohm has no reason to burn unless you have connected the IC pins wrongly or your IC itself is faulty.

Reply
JK says:
February 15, 2017 at 10:11 am

Hi Sir,

I made the circuit. But the 220ohm resistor at the output of LM338 is burning after a few seconds. I believe this resistir does not need to be a high wattage as it does not expect high current here. I am using a 1/4w resistor.
Please guide me.

regards
JK

Reply
Swagatam says:
February 2, 2017 at 3:01 pm

will do!

Reply
JK says:
February 2, 2017 at 9:24 am

Sir,

can we use a 3.3V zener here as 3v rated is not available to me.

Regards
JK

Reply
Swagatam says:
August 7, 2016 at 4:30 am

Hi Kanta, 2v7 zener will also work, you can use it at pin#6 of the IC

Reply
Kanta says:
July 30, 2016 at 6:40 pm

Hi Swa,

I become confuse.
Can you please explain why the end lead of the trimmer is connected to the anode of the 1N5408 in the above circuit. While, I saw in your other charger circuit (please open the link beneath), it is connected to the cathode of 1N5408?

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

Thanks
Kanta

Reply
Swagatam says:
July 31, 2016 at 11:46 am

Hi Kanta,

Both the diode connections are OK, they are just connected in two different ways, that's all……

Reply
Kanta says:
July 29, 2016 at 5:31 pm

Hi Swa,
Sorry, to ask you again. The trimmer of 10K (on LM 741), should be connected to the Anode or Cathode of 1N 5408 ?
As for zener at pin 2 of LM 741, can i use 6.2V ?
Thanks
Kanta

Reply
Swagatam says:
July 30, 2016 at 12:24 pm

Kanta, one of the end leads of the trimmer is connected with the anode of the 1N5408, center with the 741 pin#3, and the other end lead with ground.

any zener within 3 and 10V can be used.

Reply
Kanta says:
July 29, 2016 at 3:40 am

Hi Swa,
LM 741 as shown in your circuit aboved, can take up to 24V ?
Thanks
Kanta

Reply
Swagatam says:
July 29, 2016 at 1:39 pm

thanks for the update Kanta!

Reply
Kanta says:
July 27, 2016 at 12:58 pm

Hi Swa,
Can LM 741/UA 741 take supply voltage up to 24 volt ?
What if i use LM 321, can this IC take upto 24 volt ?
Thanks
Kanta

Reply
Swagatam says:
July 28, 2016 at 5:21 am

Hi Kanta, LM321 can take upto 32V, not sure about the other variants of 741

Reply
mayokun deji says:
July 22, 2016 at 2:46 am

not in dis circuit sir ,just a personal question .need helpon that thanks

Reply
mayokun deji says:
July 20, 2016 at 2:47 pm

am not geting it right.wil try again .was too lazy to cross check my components.anyway,wl get newer ones.sir, one question is i need a zener diode of 12v 1watt bt all i can get is 12v 1/2watt pls hw can i add zener diodes to give 12v 1watt.tnx

Reply
Swagatam says:
July 21, 2016 at 8:08 am

which zener diode you are referring to in the circuit??

Reply
Abubakar Sani says:
July 7, 2016 at 5:43 pm

Good day sir,
Please can this circuit be used in an inverter to cut off full charge?
I see the input amps as just 50.
Thank you sir.

Reply
Swagatam says:
July 9, 2016 at 11:21 am

you can try the following circuit for a 200AH battery:

https://www.homemade-circuits.com/2011/12/high-current-10-to-20-amp-automatic.html

Reply
Abubakar Sani says:
July 8, 2016 at 4:43 pm

Thank you sir, but is there any modification you can make to make it habdle around 200Ah battery?
Thank you.

Reply
Swagatam says:
July 8, 2016 at 11:07 am

Hi Abubakar, yes it can be used but only for batteries below 60AH

Reply
Back to Newest

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

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

Primary Sidebar

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

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





Other Links

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



People also Search

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

Social Profiles

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



Recent Comments

  • Swagatam on 9 Simple Solar Battery Charger Circuits
  • Gagana on 9 Simple Solar Battery Charger Circuits
  • Swagatam on Arduino 2-Step Programmable Timer Circuit
  • Swagatam on Simple Buck-Boost Converter Circuits Explained
  • Swagatam on IC IR2111 H-Bridge MOSFET, IGBT Driver IC: Full Datasheet, Circuit Diagram

© 2026 · Swagatam Innovations