• 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 | Hire Me | Contact | Calculators-online
You are here: Home / Lamps and Lights / Li-ion Emergency Light Circuit

Li-ion Emergency Light Circuit

Last Updated on June 1, 2026 by Swagatam 193 Comments

The post presents a simple Li-ion emergency light circuit with over charge and low battery cut off features. The Circuit was requested by Mr. Saeed Abu and Y0f4N.

Table of Contents
  • Technical Requirement
    • The Design

Technical Requirement

My requirement is:(1) Circuit is Operated by Nokia standard cell phone charger

(2) Battery nokia 3.7 volt

(3) Auto ac to dc changeover system when ac fail

(4) Battery overcharge protection system(auto battery full charge cutoff) with LED indicator.I have tried many times to develop such type of circuit but i failed. So Please bro help me urgently. Please design it simple.

The Design

The proposed Li-ion emergency light circuit with over charge and low battery cut off features functioning may be understood with the the following points:

Transistor T6 is basically configured to automatically sense and shut off the LED during the presence of mains AC and vice versa. Here a mobile charger is used for powering the T6 circuit.

As long as the mains input is available, the 1 watt LED stays switched OFF due to the presence of a positive potential at the base of T6,  T6 starts conducting the moment AC mains fails illuminating the connected LED with the help of the attached Li-ion battery power.

T1 and T2 form the low battery detector stage and does the same when the Li-ion battery voltage falls below a certain predetermined level set by P1.

When this happens, T1 just stops conducting forcing T2, T3 to switch ON hard.
T3 passes the battery voltage to the base of T6 choking its conduction thereby shutting off the LED and inhibiting any further loss of voltage under the situation.

T4 and T5 are configured for the opposite function, that is for detecting the full charge of the li-ion battery.

P2 is appropriately set such that T4 conducts fully at this battery voltage.

With T4 fully ON, the base of T5 is unable to acquire the required negative biasing via  R6 and thus is prevented from supplying the charging voltage to the battery, which in turn protects the battery from getting over charged and damaged in due course of time.

The red/green LEDs indicate the relevant states of the battery and the cut off conditions.

The 10 ohm with the negative of the battery may be eliminated, it's not worth with so many existing protections.

For getting a better response from the over-charge cut-off stage, the above circuit could be modified further with an additional transistor stage T5, as shown below:

Referring to the following circuit, we are able to the see a few crucial additions and removals:

IC 7805 has been added, diode at T6 collector is removed, and D1 position changed. These changes ensure that an exact 4.3V is able to develop across the emitter of T6 and ground, irrespective of the input voltage level.

D5 has been removed in order to provide a better illumination for the LED at the collector of T2.

All high value resistors have now been reduced to 1K for an increased current biasing for the BJTs.

As suggested by one of the avid readers of this blog Mr. Syed, the above diagram needed some corrections.

The finalized diagram of the Li-ion emergency light circuit with over charge and low battery cut off featurescan be seen below:

You'll also like:

  • rgb 3Arduino RGB Flowing Sequential Light Circuit
  • Running medical sign lightMedical Store LED Cross Sign Circuit [Plus Sign]
  • containeronepickgadgetarewriteMimeimageurlhttpimages.brighthub.comc79c79165ef19ec38fb8bf5f6ad1142913aad354a22 largeHow to Make Any Light a Strobe Light Using Just Two Transistors
  • LEd connections compressedSimple LED Circuits

Filed Under: Lamps and Lights Tagged With: Emergency, Light

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: « Simplest 100 Watt LED Bulb Circuit
Next Post: High Voltage Transistor MJ11021(PNP) MJ11022 (NPN) Datasheet – Complementary Pair »

Reader Interactions

Questions & Answers

Total Posts: 193
Newest Oldest
Y0f4N
April 8, 2014 • 12 years ago #21280

Hello Swagatam,
thank you for your fast design.this design more cheap and easy to find for componen at local store.I just modify for LED driver with replacing T6 with BD 139 and adjust R7 with 10 K for 3 Watt. In this design better you remove D1,D2 as T5 already protected the battery. A
P1 is key to prevent battery to drop to deep and P2 to protect battery from overload.
Just suggestion for protection battery , when we set 3.2 volt as cutt off battery and full charge about 4.1 Volt, then we can modify P1 and P2 as fixed resistor. as I see R1,P1 and R5,P2 are voltage devider.may be it's not easy to find match resistor
Thanks & Rgds,
Yofan

Reply
SwagatamAdmin
April 8, 2014 • 12 years ago #21294

Helo Yofan,

You are welcome!
yes, after confirming the exact values, P1/P2 may be appropriately replaced with fixed resistors..it won't be much difficult

Reply
Y0f4N
April 8, 2014 • 12 years ago #21298

Hello Swagatam,
I just want add some detail for your article at first circuit since use variable resistor. For expert will be no issue to adjusting P1 and P2. As your blog mention, we are here for learning an discussion.
To setup P1 as use for protection low batt
– Remove / unplug the input power supply then connect your low battery (can use 3.2 V or 3.0 V) for me prefer 3.2 V.
– Adjust P1 until red LED was glow and main LED was off
To Setup P2 as use for protection overcharge
– Plugin the input with power supply and put batt with full charge. let say about 3.7 V
– Adjust P2 until green LED are glow
hope this can help
Thanks & Rgds,
Yofan

Reply
SwagatamAdmin
April 9, 2014 • 12 years ago #21311

Hello Yofan,

That's perfect. You've made life easier for those who would want to build this.

Thanks very much.

Reply
SwagatamAdmin
April 9, 2014 • 12 years ago #21312

yofan, the full charge threshold of 3.7 li-ion is 4.2V

Reply
Y0f4N
April 10, 2014 • 12 years ago #21360

Hello Swagatam,
agree with you 4.2 V ..it's seem I miss set to 3.7 V

Reply
Gopal Chauhan
April 9, 2014 • 12 years ago #21313

Swagatam,

What modification should I do in this circuit to support 4 rechargeable pencil cells of 1.2 volts each, at 1000mah. thanks this will be tried out soon, what can i use as the equivalent of BC 547 available.

Regards
Gopal

Reply
SwagatamAdmin
April 9, 2014 • 12 years ago #21323

Gopal, No changes would be required, you may use the same configuration.

Reply
SwagatamAdmin
April 9, 2014 • 12 years ago #21324

any general purpose NPN transistor will work in place of BC547

Reply
Trilokee KUMAR GUPTA
April 9, 2014 • 12 years ago #21332

Hello sir,
Just I wana to make a circuit wich work in such a way that when ac supply is off then dc supply automatically on but when ac supply is on then dc supply automatically off.pls reply me sir ….

Reply
SwagatamAdmin
April 10, 2014 • 12 years ago #21346

Trilokee, pls refer to the following article, you can use the transistor stage for your application:

https://www.homemade-circuits.com/2011/12/how-to-make-efficient-led-emergency.html

Reply
Shiraz rizvi
April 15, 2014 • 12 years ago #21460

Swagatam bro hi… maine 3 watt led lagai but transitor hit ho raha h then whai do plz help me

Reply
SwagatamAdmin
April 15, 2014 • 12 years ago #21472

bro use 1 watt led, not 3 watt led, for 3 watt use tip127 as the transistor and a 3.7/2ah batt

Reply
Saeed Abu
April 15, 2014 • 12 years ago #21474

Bro thanks for ur developing my requesting circuit and also ur so talent on electronics.If i use 5/6 cell in parallel then this circuit will work properly?What is the alternative transistor of 2N 2907?

Reply
SwagatamAdmin
April 15, 2014 • 12 years ago #21482

my pleasure bro, you can use a TIP127 for 5/6 cells.

but please note that the circuit is not yet tested by me, although i believe it would work

Reply
Saeed Abu
April 16, 2014 • 12 years ago #21490

Bro thanks ur reply.Where should i use TIP127 for 5/6 cells(Parallel connection) in above circuit?Also any change is required in Charge section in above circuit for 5/6 cells(Parallel connection) ?

Reply
SwagatamAdmin
April 16, 2014 • 12 years ago #21507

TIP127 should be replaced for the 2N2907 transistor.

no other changes would be required.

Reply
roshan ran
April 24, 2014 • 12 years ago #21737

what is R4 value?

Reply
SwagatamAdmin
April 25, 2014 • 12 years ago #21775

10k

Reply
Saeed Abu
April 25, 2014 • 12 years ago #21784

Bro What is the R3 and R4 value?

Reply
SwagatamAdmin
April 26, 2014 • 12 years ago #21807

bro, both are 10k

Reply
Saeed Abu
April 25, 2014 • 12 years ago #21788

Bro what is value of R3 and R4? Is R8 is essential for this circuit?

Reply
SwagatamAdmin
April 26, 2014 • 12 years ago #21809

R8 may be removed

Reply
Saeed Abu
April 30, 2014 • 12 years ago #21948

bro is R7=1k is needed and why? Also i can not collect TIP 127 in my locality.So am i use BD 140 or any other NPN Transistor?

Reply
SwagatamAdmin
May 1, 2014 • 12 years ago #21978

Bro R7 is for enabling the transistor to conduct when mains is absent, without it the LED will not glow.
BD140 will do, it's not an NPN, rather a PNP

Reply
Saeed Abu
May 1, 2014 • 12 years ago #21984

Bro thanks ur reply.However today i have developed ur circuit as per ur given model and i successfully done auto ac to dc changeover system,battery low voltage cutoff system but i can not success in auto high voltage cutoff(battery over charge protection) system.The problem is here:

1)The green LED is not glow during battery voltage is 4.25 when charger is connected but when charger is disconnected from circuit then green LED is glow but so dim.

2)Then i replace R6 into 1k then green LED is glow normally.

3) I tune P2 very accurately at battery voltage 4.25 but auto high voltage cutoff(battery over charge protection) system is not worked.

4) Only working Battery's self overcharge protection circuit when voltage raised at 4.25v but not ur given over charge protection circuit that's why the green LED is not glowing.

5) I have tested it by connecting a battery without it's self overcharge protection circuit with ur circuit.Ur circuit is continued to give charge that battery and battery voltage is raised up to around 4.75 then i stop to give charge my battery.

So bro it seems to me that in auto high voltage cutoff(battery over charge protection) system there is something wrong.Pls refine it.This circuit is badly needed for me.I have tried to refine it but i failed.

Reply
SwagatamAdmin
May 2, 2014 • 12 years ago #22011

Bro, remove the green LED from the shown position, and connect the collector of T4 to directly to positive.

Now connect the green LED in series with the base of T5, anode to base, cathode to T4 emitter.

When the voltage reaches 4.25V, this LED will shutoff indicating that T5 has been switched OFF and the battery is receiving no charging voltage.

….also reduce R5 to 1K

please try this and let meknow the results.

Reply
Saeed Abu
May 2, 2014 • 12 years ago #22025

Bro then what will be the P2 condition it will be removed or not?

Reply
SwagatamAdmin
May 3, 2014 • 12 years ago #22042

everything else will be as before, even the setting of P2

Reply
Saeed Abu
May 4, 2014 • 12 years ago #22086

Bro i have tried again as per ur modification guideline but result is not positive.The green LED is not glowing during charging the battery so there is no question of shutoff the green LED When the voltage reaches 4.25V.Also ur developed auto high voltage cutoff circuit (battery over charge protection) system is not working.Only working Battery's self overcharge protection circuit when voltage reaches at 4.25v( I have tested it again by connecting a battery without it's self overcharge protection circuit) .So Bro i think u have to redesign the circuit freshly and upload it again.I am waiting for ur great feedback.

Reply
SwagatamAdmin
May 4, 2014 • 12 years ago #22089

Bro, electronics is not easy, you won't get results even from the easiest of the circuits until you do it by understanding it.

The above circuit is perfect in all respects according to me, however if you can pinpoint the faults in the design then surely we can debate on that.

Alternatively you can try testing the design by checking the voltages at the base of T5 while setting P2. The base voltage should almost become zero at 4.25V.

confirm this by disconnecting the emitter of T4, this should revert the T5 into conducting mode again. once confirmed connect it back in position.

Reply
SwagatamAdmin
May 4, 2014 • 12 years ago #22090

…check it by putting red prod of the meter on the positive line and black on the base.

when conducting, it should show near 0.6V, keep adjusting P2 until it drops to zero at 4.25V.

Reply
SwagatamAdmin
May 4, 2014 • 12 years ago #22091

also replace all 33k resistors with 1k resistors.

Reply
Vidyarthi
May 14, 2014 • 12 years ago #22478

Dear Sir,

I request you to kindly suggest me a simple circuit to cut off power supply to a 4V-4Ah lead acid battery on full charge (over charging protection) from a 5V mobile charger.

Reply
SwagatamAdmin
May 15, 2014 • 12 years ago #22493

Dear Vidyarthi,

you can use the following design

https://www.homemade-circuits.com/2013/12/make-this-usb-li-ion-37v-battery.html

Reply
SwagatamAdmin
May 15, 2014 • 12 years ago #22494

sorry here's the correct link:

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

Reply
Saeed Abu
May 22, 2014 • 12 years ago #22762

Dear bro, I have tried again as per ur latest direction but i am again failure.here the problems are:

1)The voltages at the base of T5 cannot make zero from 0.6v by setting up P2.
2) The green LED keep glow gently at 4.25v of the battery.
3)Also ur developed auto high voltage cutoff circuit (battery over charge protection) system is not working.Only working Battery's self overcharge protection circuit when voltage reaches at 4.25v( I have tested it again by connecting a battery without it's self overcharge protection circuit).
4)But ur other system low battery cutoff and ac to dc change over system is ok.

So bro what can i do now to over come above problem.Please do something.I think u should practically make this circuit then u can easily find out the problem.

Reply
SwagatamAdmin
May 23, 2014 • 12 years ago #22781

Dear Bro, I have modified the diagram with an additional stage, please do it as per the new diagram and check the response.

Reply
Saeed Abu
May 24, 2014 • 12 years ago #22823

Dear bro i have tried again ur new circuit as per ur direction but no positive result.The problem is here:

1) The charging green LED is glowing during charging but no so much glow.
2)The yellow LED is not glow during battery voltage is 4.25 also i can not glow that by adjusting the P2. At 4.25v the voltage remain in yellow LED is approx. 0.65v.
3)Also ur developed auto high voltage cutoff circuit (battery over charge protection) system is not working.Only working Battery's self overcharge protection circuit when voltage reaches at 4.25v( I have tested it again by connecting a battery without it's self overcharge protection circuit, it getting charged 4.40v then i disconnect the charger).
4)But ur other system low battery cutoff and ac to dc change over system is ok.

Bro what will be the solution of this.I think u have to develop this circuit practically to find out the solution of this.

Reply
SwagatamAdmin
May 24, 2014 • 12 years ago #22828

Dear bro, the second circuit is perfect in every way.

again I'll say if you do without understanding, you will keep getting problems.

if T4 and the yellow led are not conducting it means either one of them is faulty or the connections are wrong in your circuit.

make R5 = 1k (I had suggested this before also)… and check.

as soon as T4 conducts, T5 will switch OFF and the green LED will also switch OFF

you can try making the series resistor of green LED to 1k for increasing its current and brightness.

practical making won't be required because I am sure this circuit is OK.

Reply
SwagatamAdmin
May 24, 2014 • 12 years ago #22830

…bro, i think got the culprit.

the yellow led should not be placed at the emitter of T4. connect the emitter of T4 directly with ground

put it at the base of T4….and check.

the emitter position is not allowing T5 to stop conducting completely.

I'll correct the diagram soon.

Reply
Saeed Abu
May 24, 2014 • 12 years ago #22838

Pls bro correct the diagram ASAP.I am waiting for this.Also i need true over charge cut off system i mean battery will be over charge cut off by ur circuit not his(battery) self over charge circuit.

Reply
Saeed Abu
May 24, 2014 • 12 years ago #22842

Thanks bro I'll wait for ur corrected diagram also i need true over charge cut off circuit which only worked by ur developed circuit not by the battery's self over charge protection circuit.Pls bro update ur circuit ASAP.

Reply
SwagatamAdmin
May 25, 2014 • 12 years ago #22852

Thanks bro, I updated it yesterday itself….please check it out.

Reply
Saeed Abu
May 27, 2014 • 12 years ago #22919

Dear bro, i have tried again ur revised circuit but problem is still exist, these r:

1)Ur developed Over charge cut off system is not worked only work in case of battery with self over charge protection circuit which i have told u before.
2)During low cut off and Over charge cut off stage the charging Green LED is glowing gently (when i disconnect the charger.)
3)During over charge cut off stage the full charge indicator Yellow LED is glowing gently.If i adjust the P2 to increase the brightness of Yellow LED then Green LED glow gently and vice versa.

So i am hoping a nice solution of it from u.

Reply
SwagatamAdmin
May 28, 2014 • 12 years ago #22934

Sorry Bro, that looks impossible…

If the blue LEd in the last diagram illuminates it means T4 is conducting.

If T4 is conducting it would ground the base of T5, stopping it from conducting.

When T5 is stopped from conducting how will the green LEd glow???

Because as long as T5 is conducting the green LED is getting its ground through the collector/emitter of T5, once T5 stops conducting this passage is blocked and the green LED also has to stop glowing, resulting in shutting off the 2N2907 transistor completely.

Check the voltage at the base of T5 when the BLUE LED is glowing. It should be zero and the green LED must stop glowing.

Please do the above, we'll troubleshoot it right here…..

Reply
ravindra metri
May 29, 2014 • 12 years ago #22975

1 watt led glow dim can i remove 10 ohm and how to check battery charging or not

Reply
SwagatamAdmin
May 29, 2014 • 12 years ago #22987

yes you can remove the 10ohm resistor.

Reply
SwagatamAdmin
May 29, 2014 • 12 years ago #22988

the green LED indicates battery is charging.

Reply
ravindra metri
May 29, 2014 • 12 years ago #22996

When charger connect green led not glowing

Reply
View Older Comments

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



My Youtube Channel

Circuit Simulator

circuit simulator image



Subscribe to get New Circuits in your Email



Categories

  • Arduino Projects (95)
  • Audio and Amplifier Projects (134)
  • Automation Projects (18)
  • Automobile Electronics (103)
  • Battery Charger Circuits (88)
  • Datasheets and Components (109)
  • Electronics Theory (149)
  • Energy from Magnets and Earth (40)
  • Games and Sports Projects (11)
  • Grid and 3-Phase (20)
  • Health related Projects (27)
  • Home Electrical Circuits (13)
  • Indicator Circuits (16)
  • Inverter Circuits (100)
  • Lamps and Lights (162)
  • Meters and Testers (72)
  • Mini Projects (28)
  • Motor Controller (68)
  • Oscillator Circuits (28)
  • Pets and Pests (15)
  • Power Supply Circuits (91)
  • Remote Control Circuits (50)
  • Security and Alarm (65)
  • Sensors and Detectors (107)
  • SMPS and Converters (45)
  • Solar Controller Circuits (61)
  • Temperature Controllers (43)
  • Timer and Delay Relay (50)
  • Voltage Control and Protection (44)
  • Water Controller (37)
  • Wireless Circuits (31)



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 |



Recent Comments

  • Swagatam on Pure Sine Wave Inverter Circuit Using IC 4047
  • Johan on Pure Sine Wave Inverter Circuit Using IC 4047
  • Swagatam on DPDT Relay Working, Pinouts, Testing Explained
  • Swagatam on How to Modify SMPS for Adjustable Current and Voltage Output
  • Swagatam on Pure Sine Wave Inverter Circuit Using IC 4047

Social Profiles

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

© 2026 · Swagatam Innovations