Skip to main content

Automatic Emergency Light Using IC555

The discussed simple IC 555 based emergency lamp system employs just a single IC 555 and yet is able to switch more than 20 LEDs directly, it will illuminate the LEDs only during the absence of mains power and ambient light.

The Circuit Concept


The proposed circuit is not only simple, it offers some very useful feature without involving too many components.

The use of IC 555 facilitates direct connection of the LEds across it's output pin#3, without needing an extra transistor driver buffer stage, although it may be incorporated in case more number LEDs are desired.

The IC is also configured as a light detector and furthermore a DC inverter.

Light Detection


The design has two features, 1) Mains outage detection, 2) Day night detection.

Whenever mains fails or in case of an outage, the lamp quickly detects this and automatically switches ON, to provide an emergency illumination in the premise

The light detection feature ensures that the IC switches ON the LEDs only in the absence of adequate ambient light.

The level of darkness or the level of ambient light at which the IC triggers the LEDs may be set by adjusting the value of R2. This is an added feature which allows customizing the triggering threshold.

The introduction of C1 offers yet another novel feature to the design, it offers some delay before the LEDs are switched ON once the above specified conditions are met.

That means C2 can be selected for getting certain time delay before the LEDs get switched ON.

Using IC 555


Last but not the least, the IC also provides the facility which prevents the LEDs from illuminating for so long the AC mains stays active.

The reset pin of the IC is held at zero potential by the T1 during the presence of AC mains, the moment mains power fails T1 switches OFF connecting the reset pin#4 to battery positive, so that the IC is reset for the required triggering.

Just forgot to mention, the circuit also behaves like a trickle charger and keeps the associated battery fully charged and in a  standby condition whenever in need.

Caution: The circuit is not isolated from AC mains, so be extremely careful while testing.

Circuit Diagram


Parts List


R1 = 2M2
R2 = 1M
R3, R5 = 10K
R4, R6 = 120K
R7----R13 = 330 ohms
LDR = any standard type having ambient light resistance around 30K and  dark resistance to infinity.
D1---D4 = 1N4007
C1 = As required
C2 = 0.22uF/400V
T1 = BC547
LEDs = white, high efficiency, 5mm
Battery = 12V, 4AH

IC 555 Pinouts




LDR Image


image of LDR

Need Help? Please leave a comment, I'll get back soon with a reply!




Comments

  1. can you give me a specific capacitance and volts for capacitor c1 please!! I need this for our project in school thank a lot. I need ASAP answer.

    ReplyDelete
  2. You can try a 10uF/25V, although it's not absolutely required, can be eliminated if the delay switch-ON feature is not required.

    ReplyDelete
  3. I think I have a problem?
    are you sure of the connection of the battery, which is directly connected to the bridge rectifier, which the bridge rectifier is connected directly to the 220V AC? I think the R6 limits the voltage. But how about the capacitor that sucks up pure 220V AC?
    The battery is connected AFTER the DIODE but BEFORE the R3, how is that possible? If I am wrong PLEASE correct me or if possible explain it to me, because I am just a hobbyist visiting your website every weekend. by the way call me ESHKARIEL (esh-kar-yel) thanks a lot Sir for your sincere help!!!!!

    ReplyDelete
  4. ONLY ANSWER THIS QUESTION IN CASE YOU HAVEN'T READ MY PREVIOUS COMMENT. IF YOU ALREADY READ MY PREVIOUS COMMENT DON'T BOTHER ANSWERING THIS QUESTION. OKAY? and by the way, why was my last comment didn't show up?

    are you sure that the battery is connected to the bridge rectifier, which the (bridge rectifier) is connected to the 220V AC? I know that the resistor (R6) limits the voltage, but how about the capacitor (C2) that sucks up pure 220V AC? plsssss explain it to me.

    ReplyDelete
  5. The abttery is conected to bridge so that it can charge while the mains is present.

    R6 is for discharging the parallel cap whenever the system is unplugged from the socket to prevent painful shock hanging over the plug pins.

    Sorry, I could not understand the following statement:

    "The battery is connected AFTER the DIODE but BEFORE the R3, how is that possible..."

    the connections are all absolutely correct, you can be sure about them.

    ReplyDelete
  6. the 1st AC line has a capacitor(C2) and a resistor(R6), but how about the other line which connects directly to the bridge rectifier without any passive devices like resistor?

    ReplyDelete
  7. I have already answered you in the previous comment.

    C2, R6 and the diodes are the parts of a transformerless power supply, to learn more about you may refer to the following post:

    https://homemade-circuits.com/2011/12/cheap-yet-useful-transformerless-power.html

    ReplyDelete
  8. It's a transformerless power supply where the capacitor is placed for dropping the mains current to desirable levels.

    The other line acts as the return path.

    ReplyDelete
  9. how much is the output voltage at the bridge rectifier?

    ReplyDelete
  10. can I use .22uF/ having Voltage greater than 220v, like 250v, 300v, 400v, 500v...and so on?

    ReplyDelete
  11. for example I dont want the light detection feature, can I just omit or cut-out-of-the-circuit the LDR?

    ReplyDelete
  12. 330V, which comes down to the required level due to low current levels from C2.

    ReplyDelete
  13. the voltage rating should be much higher than the supply voltage

    ReplyDelete
  14. you can use this circuit in that case:

    https://homemade-circuits.com/2012/07/making-automatic-emergency-lamp-using.html

    ReplyDelete
  15. how about the output voltage of the bridge rectifier?

    ReplyDelete
  16. is the output at the bridge rectifier 12v

    how will I know the output voltage? is there any equation for that?
    THANK YOU SO MUCH SIR!!! YOU HELP A LOT TO ME.

    ReplyDelete
  17. Output bridge voltage will be always equal to the peak voltage of the input mains.

    ReplyDelete
  18. does that mean the peak voltage is 220v!?!!or

    ReplyDelete
  19. I just tested the capacitive reactance circuit a.k.a."transformerless power supply " you mentioned. When I touched the output at the bridge rectifier it gave me a SHOCK!!! but when I tested the current output it gives me only 100mA!. It can't even power a 12v/180mA comp. fan. Is that all normal???

    ReplyDelete
  20. 220V is the average or the RMS value, peak will be around 330V

    ReplyDelete
  21. Read the given caution statement, it's extremely dangerous to touch these circuits, even 5mA at 220V could kill a living being.

    such power supplies are for low current applications only, your readings are correct and normal.

    ReplyDelete
  22. If the peak voltage is 330v that means the battery is not safe at this kind of circuit??

    by the way sorry for my misunderstanding. :)

    ReplyDelete
  23. 330V will settle down to the required level due to low current levels from C2. you can add an additional zener diode if you feel so.

    ReplyDelete
  24. Amazing project sir, sure to help loads of electronics hobbyists like me. Thankyou for this circuit.

    Is the capacitor C2 a polyster or electrolytic capacitor? and what is the maximum number of LED's that can be used in this circuit. And in case i want to add a transistor buffer is it the same as in the street light circuit i.e.,collector to LED cathodes and emitter to ground?

    ReplyDelete
  25. Thanks Sriram,

    C2 is metallized polyester.

    The is can sink upto 150mA without issues so can accommodate LEDs within this limit.

    Yes the transistor stage can be identical to the street light design.

    ReplyDelete
  26. Sir i have a 0.47uF/400V metallised polyster capacitor instead of a 0.22uF/400V capacitor for C2 can i use that in my circuit...

    ReplyDelete
  27. Higher value will mean greater initial surge current, so that makes the circuit prone to damages, you can use it by adding some protections such as a thermister, a 1N4007 diode across C2 output and ground etc. or simply add two such capacitors in series.

    ReplyDelete
  28. is this in trickle charging mode?

    and what is trickle charging?

    ReplyDelete
  29. for smaller batteries this will be better tan trickle charging, but for larger battery it will be only work as trickle charger.

    means it will only prevent the fully charged battery from self-discharging.

    ReplyDelete
  30. what smaller battery do you mean? is like 12v/7.5Ah?

    ReplyDelete
  31. smaller batteries means batteries with lower voltages and current like, 4.5V/ 1ah

    ReplyDelete
  32. yes, by using a transistor sage at the output

    ReplyDelete
  33. why, and what is transistor sage?

    and by the way I already made this circuit.but i have a problem.

    when i connected the battery and the 1 watt led to this circuit, and when i plugged in the cord to 220V ac, the 1 watt led didnt turnoff totally but instead it only dim a little. can you explain why? i havent put a transistor sage yet.

    ReplyDelete
  34. transistor keeps pin#4 of IC 555 to ground level (0V) which keeps the output of the IC inactive, check pin#4 voltage after switching ON mains power, it should show zero volts.

    Read warning message in the article.

    ReplyDelete
  35. where will i put the test probe in the circuit?

    ReplyDelete
  36. red at pin#4, black at ground.

    did you make all the grounds common??

    ReplyDelete
  37. can i charged battery of 4.5v/1Ah with this circuit?

    ReplyDelete
  38. Sir can i use a 6V, 5Ah rechargeable battery to power the circuit given

    ReplyDelete
  39. what are the changes to be made for the circuit for using a 6V 5 Ah battery? if there are any changes needed. And is D5 also 1N4007?

    ReplyDelete
  40. use strings of two leds at the output with no series resistors, no other changes would be required.
    yes D5 is also 1N4007

    ReplyDelete
  41. hi brother,

    I made the whole cct ,but there is no output at o/p pin of 555 .......could u suggest what is the fault............i made this cct in electronic workbench just to avoid fatigue
    thnx and best regards for your nice work.

    ReplyDelete
  42. hi brother,

    the circuit will work only when there's no AC mains, and complete darkness on the LDR...

    by the way I did not understand what you meant by

    ."i made this cct in electronic workbench just to avoid fatigue"

    ReplyDelete
  43. hello brother !!
    sorry i was busy in job ........ whenever i got some time i tried different ccts from internet but they were all useless........so to avoid fatigue i build a soft copy ..........

    but there is a good news ..........ur ccts worked ........ yesterday i got time and assembled it on bread board...........its ok in absence of AC ..........but its showing no response when i turned on the AC supply..........BC547 was smoking so i replaced it ......but it didn't changed the result. plz guide....

    I measured 12V on the reset Pin...............?? i think its not ok.

    ReplyDelete
  44. Is this cct stop charging the battery ,once its fully charged??? if not ......could i add this feature and how ???

    ReplyDelete
  45. I am not sure why it may have happened because 0.22uF will not produce that much current to burn the 555........anyway you can try adding a 4.7V/1watt zener across the bridge +/- pins, this will restrict the mains DC to this level.

    The circuit doe not include an over charge cutout, if possible I will try to update it here.

    ReplyDelete
  46. Good day Sir,

    Please check some of the measurements i got when DC12V 4Ah is on and AC is turned off. Pin 3 is low ........

    PIN 2 12V
    PIN 4 0.8V
    PIN 6 10V

    I think voltage at pin 6 and 2 are hindering pin 3 to become high

    What is the Purpose of 120K from pin 5 to 7 ..............

    ReplyDelete
  47. Pin4 should not be 0.8V it should be also near 10V....or equal to pin8 voltage...pin4 will be low only f the BC547 is conducting which will happen if AC mains is ON...
    disconnect the link between the collector of the transistor and pin4 and then check the response

    ReplyDelete
  48. thnx a lot ................i disconnected the transistor from Pin 4......... rest of the cct is working fine ...............then i coupled ac cct again.........with 12V 1amp transformer at I/P and capacitor filter at O/P of bridge.............its working fine.............

    ReplyDelete
  49. that's great, thanks for the update!

    ReplyDelete
  50. Thanks, if you are referring to the above circuit, it's already quite simple and uses minimum parts, anything less than this can make the design ineffective.

    ReplyDelete
  51. where to connect the -ve terminal of the battery

    ReplyDelete
  52. can you see the "earth" symbol...connect it there, the emitter of the transistor also needs to be made common with this line...

    ReplyDelete
  53. Hello sir. ..I was thinking of an emergency light bt not automatic... using a rechargeable battery and switch such that I can use it whenever I need... can u help me anyway?
    Thank you. ..

    ReplyDelete
  54. Hello Deblina, please let me know the LED and the battery specifications so that I can calculate and suggest you the correct procedures...

    ReplyDelete
  55. NISHANT KESARWANIJuly 18, 2018 at 10:29 PM

    Sir,
    I have an old emergency light which is not working because of bad battery as well as burnt capacitor in the tranformerless supply circuit.Since I have some 18650 laptop cells of my old laptop,I want to use that in place of non working battery.can u plz suggest a circuit.
    Led emergency lamp has
    1. 24 Smd 2835 LEDs module with all in parallel
    2.transformerless supply(capacitor burnt)
    3.A battery
    What I require?
    1.Want to use 24 led module
    2.use 18650 cells(I have 6 in no)
    3. I have tp4056 charging module( if it can be used)
    4.The circuit should have low voltage cutoff while discharging and high voltage cutoff while charging(I think tp4056 has high voltage cutoff feature)
    Good backup
    5.circuit should be powered with 5v mobile charger.
    If there is cheaper and efficient circuit than tp4056 for charging above cells in the ckt plz tell .

    ReplyDelete
  56. Hi Nishant, You can try the circuit which is explained in the following article and see it that helps:
    https://www.homemade-circuits.com/smart-emergency-lamp-circuit-with/

    ReplyDelete
  57. Hi, thank you for the circuit.
    I would like to place a battery maintainer/charger (1a) and place a big battery like 45A. To be able to light up some high power leds.
    Could you please let me know if this will work?

    ReplyDelete
  58. Hi, yes it will work, just make sure to use a transistor at pin#3 of the IC for the driving the LEDs

    ReplyDelete
  59. Thanks for answering.
    Another modification please.
    Can be set to turn on the leds immediately (if dark) and not after some seconds.
    Also what's the battery charging voltage? It would be great if 13-13.8v?
    Thanks in advance

    ReplyDelete
  60. You can remove the capacitor C1 if you don't wish to have the delay....

    ReplyDelete

Post a Comment