Showing posts with label mains. Show all posts
Showing posts with label mains. Show all posts

Saturday, November 8, 2014

Mains Voltage Monitor Circuit Diagram

Many electronics hobbyists will have experienced the following: you try to finish a project late at night, and the mains supply fails. Whether that is caused by the electricity board or your carelessness isn’t really important. In any case, at such times you may find yourself without a torch or with flat batteries. There is no need to panic, as this circuit provides an emergency light. When the mains fails, the mains voltage monitor turns on five super bright LEDs, which are fed from a 9 V battery (NiCd or NiMH) or 7 AA cells. A buzzer has also been included, which should wake you from your sleep when the mains fails.

You obviously wouldn’t want to oversleep because your clock radio had reset, would you? When the mains voltage is present, the battery is charged via relay Re1, diode D8 and resistor R10. D8 prevents the battery voltage from powering the relay, and makes sure that the relay switches off when the mains voltage disappears. R10 is chosen such that the charging current of the battery is only a few milliamps. This current is small enough to prevent over-charging the battery. D6 acts as a mains indicator. When the relay turns off, IC1 receives power from the battery. The JK flip-flops are set via R12 and C4.

Circuit diagram:
Mains
Mains Voltage Monitor Circuit Diagram

This causes T1 and T2 to conduct, which turns on D1-D5 and the buzzer. When the push button is pressed, a clock pulse appears on the CLK input of flip-flop IC1b. The output then toggles and the LEDs turn off. At the same time IC1a is reset, which silences the buzzer. If you press the button again, the LEDs will turn on since IC1b receives another clock pulse. The buzzer remains off because IC1a stays in its reset state. R11, R3 and C3 help to debounce the push button signal. In this way the circuit can also be used as a torch, especially if a separate mains adapter is used as the power supply.

As soon as the mains voltage is restored, the relay turns on, the LEDs turn off and the battery starts charging. The function of R13 is to discharge C4, preparing the circuit for the next mishap. If mains failures are a regular occurrence, we recommend that you connect pairs of LEDs in series. The series resistors should then have a value of 100 ?. This reduces the current consumption and therefore extends the battery life. This proves very useful when the battery hasn’t recharged fully after the last time. In any case, you should buy the brightest LEDs you can get hold of. If the LEDs you use have a maximum current of 20 mA, you should double the value of the series resistors! You could also consider using white LEDs.

Wednesday, October 29, 2014

Remote Mains Switch Low Voltage Diagram Circuit

This circuit allows a 240V mains appliance to be controlled remotely via low-voltage cabling and a pushbutton switch. The mains appliance (in this case, a light bulb) is switched with a suitably-rated relay. All of the electronics is housed in an ABS box located in proximity to the appliance. The pushbutton switch and plugpack are located remotely and can be wired up with 3-core alarm cable or similar. Cable lengths of 20m or more are feasible with this arrangement. When the switch (S1) is pressed, the input (pin 8) of IC1c is briefly pulled low via the 10mF capacitor, which is initially discharged.

Circuit diagram:
Low-Voltage Remote Mains Switch Circuit Diagram

The output (pin 10) immediately goes high and this is inverted and fed back to the second input (pin 9) via another gate in the quad NAND package (IC1d). In conjunction with the 1MW resistor and 470nF capacitor, IC1d eliminates the effects of contact "bounce" by ensuring that IC1c’s output remains high for a predetermined period. The output from IC1c drives the clock input of a 4013 D-type flip-flop (IC2). The flipflop is wired for a "toggle" function by virtue of the Q-bar connection back to the D input. A 2.2MW resistor and 100nF capacitor improve circuit noise immunity. Each time the switch is pressed, the flipflop output (pin 13) toggles, switching the transistor (Q1) and relay on or off. Note that all mains wiring must be properly installed and completely insulated so that there is no possibility of it contacting the low-voltage side of the circuit.
Author: Bob Hammond - Copyright: Silicon Chip Elecronics

Wednesday, September 24, 2014

Mains Voltage Monitor

Many electronics hobbyists will have experienced the following: you try to finish a project late at night, and the mains supply fails. Whether that is caused by the electricity board or your carelessness isn’t really important. In any case, at such times you may find yourself without a torch or with flat batteries. There is no need to panic, as this circuit provides an emergency light. When the mains fails, the mains voltage monitor turns on five super bright LEDs, which are fed from a 9 V battery (NiCd or NiMH) or 7 AA cells. A buzzer has also been included, which should wake you from your sleep when the mains fails.

You obviously wouldn’t want to oversleep because your clock radio had reset, would you? When the mains voltage is present, the battery is charged via relay Re1, diode D8 and resistor R10. D8 prevents the battery voltage from powering the relay, and makes sure that the relay switches off when the mains voltage disappears. R10 is chosen such that the charging current of the battery is only a few milliamps. This current is small enough to prevent over-charging the battery. D6 acts as a mains indicator. When the relay turns off, IC1 receives power from the battery. The JK flip-flops are set via R12 and C4.

Circuit diagram:
mains-voltage-monitor-circuit diagram
Mains Voltage Monitor Circuit Diagram

This causes T1 and T2 to conduct, which turns on D1-D5 and the buzzer. When the push button is pressed, a clock pulse appears on the CLK input of flip-flop IC1b. The output then toggles and the LEDs turn off. At the same time IC1a is reset, which silences the buzzer. If you press the button again, the LEDs will turn on since IC1b receives another clock pulse. The buzzer remains off because IC1a stays in its reset state. R11, R3 and C3 help to debounce the push button signal. In this way the circuit can also be used as a torch, especially if a separate mains adapter is used as the power supply.

As soon as the mains voltage is restored, the relay turns on, the LEDs turn off and the battery starts charging. The function of R13 is to discharge C4, preparing the circuit for the next mishap. If mains failures are a regular occurrence, we recommend that you connect pairs of LEDs in series. The series resistors should then have a value of 100 ?. This reduces the current consumption and therefore extends the battery life. This proves very useful when the battery hasn’t recharged fully after the last time. In any case, you should buy the brightest LEDs you can get hold of. If the LEDs you use have a maximum current of 20 mA, you should double the value of the series resistors! You could also consider using white LEDs.


Author: Goswin Visschers - Copyright: Elektor July-August 2004