You are on page 1of 1

Mains Voltage

Monitor
R10
1k +9V
D8
BC337
+12V BC547
1N4004
300mA
D7 RE1

D6
12V
C E
C1 1N4148 +9V
BT1 B
R9
100µ
16V 9V
1k

D1 D2 D3 D4 D5

R4 R5 R6 R7 R8
+9V
150Ω

150Ω

150Ω

150Ω

150Ω
R13 T1
S1 C4 R1
IC1.B
1M

9
1k
10 J S 15
100n +9V
13 BC337
C
11 14
R11 K
R
+9V
2
16 C2
IC1 = 4027 IC1
BZ1
8 100n
IC1.B 9
10 J S 15
13 9...12V
C
R3 R12 11 14 T2
C3 K R2
10k

10k

R
1k
2
100n
BC547

040074 - 11

Goswin Visschers makes sure that the relay switches off As soon as the mains voltage is restored,
when the mains voltage disappears. R10 the relay turns on, the LEDs turn off and
Many electronics hobbyists will have is chosen such that the charging current the battery starts charging. The function
experienced the following: you try to fin- of the battery is only a few milliamps. This of R13 is to discharge C4, preparing the
ish a project late at night, and the mains current is small enough to prevent over- circuit for the next mishap.
supply fails. Whether that is caused by charging the battery. D6 acts as a mains If mains failures are a regular occurrence,
the electricity board or your carelessness indicator. we recommend that you connect pairs of
isn’t really important. In any case, at such LEDs in series. The series resistors should
times you may find yourself without a When the relay turns off, IC1 receives then have a value of 100 Ω. This reduces
torch or with flat batteries. There is no power from the battery. The JK flip-flops the current consumption and therefore
need to panic, as this circuit provides an are set via R12 and C4. This causes T1 extends the battery life. This proves very
emergency light. and T2 to conduct, which turns on D1-D5 useful when the battery hasn’t recharged
and the buzzer. fully after the last time.
When the mains fails, the mains voltage
monitor turns on five super bright LEDs, When the push button is pressed, a clock In any case, you should buy the brightest
which are fed from a 9 V battery (NiCd pulse appears on the CLK input of flip-flop LEDs you can get hold of. If the LEDs you
or NiMH) or 7 AA cells. A buzzer has IC1b. The output then toggles and the LEDs use have a maximum current of 20 mA,
also been included, which should wake turn off. At the same time IC1a is reset, you should double the value of the series
you from your sleep when the mains fails. which silences the buzzer. If you press the resistors! You could also consider using
You obviously wouldn’t want to oversleep button again, the LEDs will turn on since white LEDs.
because your clock radio had reset, IC1b receives another clock pulse. The (040074-1)
would you? buzzer remains off because IC1a stays in its
reset state. R11, R3 and C3 help to
When the mains voltage is present, the debounce the push button signal. In this
battery is charged via relay Re1, diode way the circuit can also be used as a
D8 and resistor R10. D8 prevents the bat- torch, especially if a separate mains
tery voltage from powering the relay, and adapter is used as the power supply.

7-8/2004 - elektor electronics

You might also like