Mains Supply Failure Alarm

When ever AC mains supply fails, this mains supply failure alarm circuit alerts you by sounding an alarm. It also provides a backup light to help you find your way to the torch or the generator key in the dark.

Mains Supply Failure Alarm Circuit

The circuit is powered directly by a 9V PP3/6F22 compact battery. Pressing of switch S1 provides the 9V power supply to the circuit. A red LED (LED2), in conjunction with zener diode ZD1 (6V), is used to indicate the battery power level. Resistor R9 limits the operating current (and hence the brightness) of LED2.

mains supply failure alarm circuit
mains supply failure alarm circuit

When the battery voltage is 9V, LED2 glows with full intensity. As the battery voltage goes below 8V, the intensity of LED2 decreases and it glows very dimly. LED2 goes off when the battery voltage goes below 7.5V.

- Advertisement -

 

Initially, in standby state, both the LEDs are off and the buzzer does not sound. The 230V AC mains is directly fed to mains-voltage detection optocoupler IC MCT2E (IC1) via resistors R1, R2 and R3, bridge rectifier BR1 and capacitor C1. Illumination of the LED inside optocoupler IC1 activates its internal phototransistor and clock input pin 12 of IC2 (connected to 9V via N/C contact of relay RL1) is pulled low. Note that only one monostable ofdual-monostable multivibrator IC CD4538 (IC2) is used here.

- Advertisement -

Circuit operation

When mains goes off, IC2 is triggered after a short duration determined by components C1, R4 and C3. Output pin 10 of IC2 goes high to forward bias relay driver transistor T1 via resistor R7. Relay RL1 energises to activate the piezobuzzer via its N/O contact for the time-out period of the monostable multivibrator (approximately 17 minutes). At the same time, the N/C contact removes the positive supply to resistor R4. The time-out period of the monostable multivibrator is determined by R5 and C2.

 

Simultaneously, output pin 9 of IC2 goes low and pnp transistor T2 gets forward biased to light up the white LED (LED1). Light provided by this back-up LED is sufficient to search the torch or generator key.

During the mono time-out period, the circuit can be switched off by opening switch S1. The ‘on’ period of the monostable multivibrator may be changed by changing the value of resistor R5 or capacitor C2.

If mains doesn’t resume when the ‘on’ period of the monostable lapses, the timer is re-triggered after a short delay determined by resistor R4 and C3.


The article was first published in May 2004 and has recently been updated.

T.K. Hareendran
T.K. Hareendran
T. K. Hareendran is a veteran electronics expert, educator, and technology writer with over 30 years of hands-on experience in the field of electronics and embedded systems. His journey began with a deep curiosity about how technology works, which evolved into a lifelong passion for understanding and building electronic systems. Over the decades, Hareendran has witnessed and actively engaged with the evolution of electronics—from early circuit designs and discrete components to modern microcontrollers, embedded platforms, and advanced digital systems. His expertise spans circuit design, hardware development, and practical electronics, backed by extensive real-world experience. Known for his ability to simplify complex concepts, he has dedicated many years to knowledge sharing, helping students, hobbyists, and professionals navigate the intricacies of electronics. His writing focuses on making technical subjects accessible, combining clarity with practical insights that readers can apply in real-world scenarios. Hareendran continues to contribute to the electronics community through educational content and hands-on guidance, driven by a strong belief in the power of curiosity, continuous learning, and shared knowledge.

SHARE YOUR THOUGHTS & COMMENTS

EFY Prime

Unique DIY Projects

Truly Innovative Electronics

Electronics News

Latest DIY Videos

Electronics Components

Electronics Jobs

Calculators For Electronics