Showing posts with label Homely Circuits. Show all posts
Showing posts with label Homely Circuits. Show all posts

Monday, June 27, 2011

Universal IR Remote Control


Here is a circuit which can switch on and switch off any appliance with the help of a common type of infra-red remote control (transmitter). 
click to enlarge

This circuit senses the IR pulse and then controls the appliance accordingly. The circuit functions such that a short pulse from the remote tran- smitter switches on the triac (and the load) while a longer pulse switches off the triac as also the load. The circuit is built around hex inverter IC CD 4049. When the infra-red pulse is received by the sensor, its output (Note: Here VR1 denotes the in-circuit resistance of preset VR1.) The output of multivibrator is fed to the base of current amplifier 2N3055 via resistor R2 (1kilo-ohm). The brakelight bulb is connected in series with the collector of 2N3055. The flashing rate of this bulb is adjusted by 100k preset (VR1). 
Transistor 2N3055 may get heated due to high current switching action; hence a small heatsink, similar to the type used in television power supply, is recommended. The category of 2-wheelers which do not have a battery, can use the bridge rectifier circuit shown here. Several designs of round, square and rectangular reflectors are available which may be used in conjunction with any suitable 12V bulb with proper rating (around 20 watts). However, if flashing of the brake- light affects intensity of headlight bulb, reduce the rating of brakelight bulb to 10 watts.

Water Tank Overflow Preventer


There is practically no house without an overhead tank (OHT). People who use electrically-operated water pumps for filling the OHT find it very inconvenient to switch off the pump when their overhead tank starts overflowing, specially when they are busy. So there is plenty of water wastage as well as wastage of power (consumed by the pump). However, there is a solution to get rid of this headache. 
click to enlarge

The circuit given here will switch off the pump and also generate a melodious tune when the overhead tank gets filled up to the maximum desired level. All you have to do is switch off the power supply to the circuit when you are relatively free. The heart of the circuit is the CMOS latch CD4001. Usually the latch can be operated in two modes, namely, set and reset mode, i.e. the latch output can be set to logic 1 or reset to logic 0 by applying appropriate active low level input signal to pins 1 and 13, respectively. Here, in the given circuit, the set point is pin 1 and the reset point is pin 13. The inverted output of the latches are obtained at pins 3 and 11, respectively. When the circuit is powered there is a voltage drop at pin 1 due to the resistor-capacitor R1-C1 combination. The values of resistor R1 and C1 are chosen in such a way that pin 1 is low for about two seconds which is sufficient to energise the relay through transistor T1 and thus the pump starts running. When sufficient water gets filled in the overhead tank, switch S1 in the sensing unit, in the overhead tank as shown in Fig. 2, sends an active low signal to pin 13 which resets latch gate N1 output to logic 0. This causes transistor T1 to stop conducting, thereby de-energising the relay and shutting down the pump. At the same time, the output at pin 11 of gate N2 will be logic 1. This results in conduction of transistor T2 and melodious buzzer sounds. The green LED also lights up while the red LED, which remains on as long as the relay remains energised, gets switched off when water reaches the specified level in the overhead tank. The circuit possesses the following advantages:
1.    Special sensing mechanism (easy to build) is used to sense the water level in the overhead tank.
2.    One can replace CD4011 with IC 7400. In that case, a 5.1V zener may be connected additionally between pin 14 of IC1 and the ground.
The circuit can be easily fabricated on a general-purpose PCB.

Mains Manager


Very often we forget to switch off the peripherals like monitor, scanner, and printer while  witching off our PC. The problem is that there are separate power switches to turn the peripherals off. Normally, the peripherals are connected to a single of those four-way trailing sockets that are plugged into a single wall socket. If that socket is accessible, all the devices could be switched off from there and none of the equipment used will require any modification.
click to enlarge

 Here is a mains manager circuit that allows you to turn all the equipment on or off by just operating the switch on any one of the devices; for example, when you switch off your PC, the monitor as well as other equipment will get powered down automatically.  You may choose the main equipment to control other gadgets. 
The main equipment is to be directly plugged into the master socket, while all other equipment are to be connected via the slave socket. The mains supply from the wall socket is to be connected to the input of the mains manager circuit. The unit operates by sensing the current drawn by the control equipment/load from the master socket. On sensing that the control equipment is on, it powers up the other (slave) sockets. The load on the master socket can be anywhere between 20 VA and 500 VA, while the load on the slave sockets can be 60 VA to 1200 VA.
 During the positive half cycle of the mains AC supply, diodes D4, D5, and D6 have a voltage drop of about 1.8 volts when current is drawn from the master socket. Diode D7 carries the current during negative half cycles. Capacitor C3, in series with diode D3, is connected across the diode combination of D4 through D6, in addition to diode D7 as well as resistor R10. Thus current pulses during positive half-cycles, charge up the capacitor to 1.8 volts via diode D3. This voltage is sufficient to hold transistor T2 in forward biased condition for about 200 ms even after the controlling load on the master socket is switched off.
 When transistor T2 is ‘on’, transistor T1 gets forward biased and is switched on. This, in turn, triggers Triac 1, which then powers the slave loads. Capacitor C4 and resistor R9 form a snubber network to ensure that the triac turns off cleanly with an inductive load.
 LED1 indicates that the unit is operating. Capacitor C1 and zener ZD1 are effectively in series across the mains. The resulting 15V pulses across ZD1 are rectified by diode D2 and smoothened by capacitor C2 to provide the necessary DC supply for the circuit around transistors T1 and T2. Resistor R3 is used to limit the switching-on surge current, while resistor R1 serves as a bleeder for rapidly discharging capacitor C1 when the unit is unplugged. LED1 glows whenever the unit is plugged into the mains. Diode D1, in anti-parallel to LED1, carries the current during the opposite half cycles.
 Don’t plug anything into the master or slave sockets without testing the unit. If possible, plug the unit into the mains via an earth leakage circuit breaker. The mains LED1 should glow and the slave LED2 should remain off. Now connect a table lamp to the master socket and switch it ‘on’. The lamp should operate as usual. The slave LED should turn ‘on’ whenever the lamp plugged into slave socket is switched on. Both lamps should be at full brightness without any flicker. If so, the unit is working correctly and can be put into use.
 Note. 1. The device connected to the master socket must have its power switch on the primary side of the internal transformer. Some electronic equipment have the power switch on the secondary side and hence these devices continue to draw a small current from the mains even when switched off. Thus such devices, if connected as the master, will not control the
slave units correctly.
2. Though this unit removes the power from the equipment being controlled, it doesn’t provide isolation from the mains. So, before working inside any equipment connected to this unit, it must be unplugged from the socket.

Automatic Blown fuse Indicator


Generally, when an equipment indicates no power, the cause may be just a blown fuse. Here is a circuit that shows the condition of fuse through LEDs. This compact circuit is very useful and reliable. It uses very few components, which makes it inexpensive too.
click to enlarge

 Under normal conditions (when fuse is alright), voltage drop in first arm is 2V + (2 x 0.7V) = 3.4V, whereas in second arm it is only 2V. So current flows through the second arm, i.e. through the green LED, causing it to glow; whereas the red LED remains off.
When the fuse blows off, the supply to green LED gets blocked, and because only one LED is in the circuit, the red LED glows. In case of power failure, both LEDs remain ‘off’.
 This circuit can be easily modified to produce a siren in fuse-blown condition (see Fig. 2). An optocoupler is used to trigger the siren. When the fuse blows, red LED glows. Simultaneously it switches ‘on’ the siren.
 In place of a bicolour LED, two LEDs of red and green colour can be used. Similarly, only one diode in place of  D1 and D2 may be used. Two diodes are used to increase the voltage drop, since the two LEDs may produce different voltage drops.

Automatic Room power Controler


An ordinary automatic room power control circuit has only one light sensor. So when a person enters the room it gets one pulse and the lights come ‘on.’ When the person goes out it gets another pulse and the lights go ‘off.’ But what happens when two persons enter the room, one after the other? It gets two pulses and the lights remain in ‘off’ state. 
click to enlarge

 The circuit described here overcomes the above-mentioned problem. It has a small memory which enables it to  utomatically switch ‘on’ and switch ‘off’ the lights in a desired fashion. The circuit uses two LDRs which are placed one after another (separated by a istance of say half a metre) so that they may separately sense a person going into the room or coming out of the room. Outputs of the two LDR sensors, after processing, are used in conjunction with a bicolour LED in such a fashion that when a person gets into the room it emits green light and when a person goes out of the room it emits red light, and vice versa. These outputs are simultaneously applied to two counters.
One of the counters will count as +1, +2, +3 etc when persons are coming into the room and the other will count as -1,-2, -3 etc when persons are going out of the room. These counters make use of Johnson decade counter CD4017 ICs. The next stage comprises two logic ICs which can combine the outputs of the two counters and determine if there is any person still left in the room or not. Since in the circuit LDRs have been used, care should be taken to protect them from ambient light. If desired, one may use readily available IR sensor modules to replace the LDRs. The sensors are installed in such a way that when a person enters or leaves the room, he intercepts the light falling on them sequentially—one after the other.
 When a person enters the room, first he would obstruct the light falling on LDR1, followed by that falling on LDR2. When a person leaves the room it will be the other way round. In the normal case light keeps falling on both the LDRs, and as such their resistance is low (about 5 kilo-ohms). As a result, pin 2 of both timers (IC1 and IC2), which have been configured as monostable flip-flops, are held near the supply voltage (+9V).
 When the light falling on the LDRs is obstructed, their resistance becomes very high and pin 2 voltages drop to near ground potential, thereby triggering the flip-flops. Capacitors across pin 2 and ground have been added to avoid false triggering due to electrical noise.
 When a person enters the room,  LDR1 is triggered first and it results in triggering of monostable IC1. The short output pulse immediately charges up capacitor C5, forward biasing transistor pair T1-T2. But at this instant the collectors of transistors T1 and T2 are in high impedance state as IC2 pin 3 is at low potential and diode D4 is not conducting.
But when the same person passes LDR2, IC2 monostable flip-flop istriggered. Its pin 3 goes high and this potential is coupled to transistor pair T1-T2 via diode D4. As a result transistor pair T1-T2 conducts because capacitor C5 retains the charge for some time as its discharge time is controlled by resistor R5 (and R7 to an extent). Thus green LED portion of bi-colour LED is lit momentarily.
 The same output is also coupled to IC3 for which it acts as a clock. With entry of each person IC3 output (high state) keeps advancing. At this stage transistor pair T3-T4 cannot conduct because output pin 3 of IC1 is no longer positive as its output pulse duration is quite short and hence transistor collectors are in high impedance state.
 When persons leave the room, LDR2 is triggered first, followed by LDR1.  Since the bottom half portion of circuit is identical to top half, this time, with the departure of each person, red portion of bicolour LED is lit momentarily and output of IC4 advances in the same fashion as in case of IC3.
 The outputs of IC3 and those of IC4 (after inversion by inverter gates N1 through N4) are ANDed by AND gates (A1 through A4) and then wire ORed (using diodes D5 through D8). The net effect is that when persons are entering, the output of at least one of the AND gates is high, causing transistor T5 to conduct and energise relay RL1. The bulb connected to the supply via N/O contact of relay RL1 also lights up.
 When persons are leaving the room, and till all the persons who entered the room have left, the wired OR output continues to remain high, i.e. the bulb continues to remains ‘on,’ until all persons who entered the room have left.
 The maximum number of persons that this circuit can handle is limited to four since on receipt of fifth clock pulse the counters are reset. The capacity of the circuit can be easily extended to handle up to nine persons by removing the connection of pin 1 from reset pin (15) and utilising Q1 to Q9 outputs of CD4017 counters. Additional inverters, AND gates and diodes will, however, be required.

Twitter Delicious Facebook Digg Stumbleupon Favorites More