Your Ad Here

Audio Light Modulator

Posted by ganesh at 9:00 PM

Friday, December 19, 2008


Audio light modulations add to the enjoyment of music during functions organised at home or outdoors. Presented here is one such simple circuit in which light is modulated using a small fraction of the audio output from the speaker terminals of the audio amplifier. The output from the speaker terminals of audio amplifier is connected to a transformer (output transformer used in transistor radios) through a non-polarised capacitor. The use of transformer is essential for isolating the audio source from the circuit in The sensitivity control potentiometer VR1 provided in the input to transistor T1 may be adjusted to ensure that conduction takes place only after the AF exceeds certain amplitude. This control has to be adjusted as per audio source level. The audio signal Proper earthing of the circuit is quite essential. The diode bridge provides pulsating DC output and acts as a guard circuit between the mains input and pulsating DC output. Extreme care is necessary to avoid any electric shock

Running Message Display

Posted by ganesh at 8:58 PM



Light emitting diodes are advan- tageous due to their smaller size, low current consumption and catchy colours they emit. Here is a running message display circuit wherein the letters formed by LED arrangement light up progressively. Once all the letters of the message have been lit up, the circuit gets reset. The circuit is built around Johnson decade counter CD4017BC (IC2). One of the IC CD4017BE’s features is its provision of ten fully decoded outputs, making the IC ideal for use in a whole range of sequencing operations. In the circuit only one of the outputs remains high and the other outputs switch to high state successively on the arrival of each clock pulse. The timer NE555 (IC1) is wired as a 1Hz astable multivibrator which clocks the IC2 for sequencing operations. On reset, output pin 3 goes high and drives transistor T7 to ‘on’ state. The output of transistor T7 is connected to letter ‘W’ of the LED word array (all LEDs of letter array are connected in parallel) and thus letter ‘W’ is illuminated. On arrival of first clock pulse, pin 3 goes low and pin 2 goes high. Transistor T6 conducts and letter ‘E’ lights up. The preceding letter ‘W’ also remains lighted because of forward biasing of transistor T7 via diode D21. In a similar fashion, on the arrival of each successive pulse, the other letters of the display are also illuminated and finally the complete word becomes visible. On the following clock pulse, pin 6 goes to logic 1 and resets the circuit, and the sequence repeats itself. The frequency of sequencing operations is controlled with the help of potmeter VR1.The display can be fixed on a veroboard of suitable size and connected to ground of a common supply (of 6V to 9V) while the anodes of LEDs are to be connected to emitters of transistors T1 through T7 as shown in the circuit. The above circuit is very versatile and can be wired with a large number of LEDs to make an LED fashion jewellery of any design. With two circuits connected in a similar fashion, multiplexing of LEDs can be done to give a moving display effect
[Home]
Electronic Kits& GadgetsTiny RF (wireless) modules
Search this site:

Super simple stepper motor controller

Posted by ganesh at 8:56 PM


The circuit shown above can be used to control a unipolar stepper motor which has FOUR coils (I've swiped it off an old fax machine). The above circuit can be for a motor current of up to about 500mA per winding with suitable heat sinks for the SL100. For higher currents power transistors like 2N3055 can be used as darlington pair along with SL100. The diodes are used to protect the transistor from transients.Activating sequence:-
Inputs

Coils Energised
D0
D1
0
0
A,B
0
1
B,C
1
0
C,D
1
1
D,A
To reverse the motor just reverse the above sequence viz. 11,10,01,00.
Alternately a 2bit UP/DOWN counter can also be used to control the direction , and a 555 multi-vibrator can be used to control the speed

Automatic Speed Controller for fans & Coolers

Posted by ganesh at 8:53 PM


During summer nights, the temperature is initially quite high. As time passes, the temperature starts dropping. Also, after a person falls asleep, the metabolic rate of one’s body decreases. Thus, initially the fan/cooler needs to be run at full speed. As time passes, one has to get up again and again to adjust the speed of the fan or the cooler.The device presented here makes the fan run at full speed for a predetermined time. The speed is decreased to medium after some time, and to slow later on. After a period of about eight hours, the fan/cooler is switched off.Fig. 1 shows the circuit diagram of the system. IC1 (555) is used as an astable multivibrator to generate clock pulses. The pulses are fed to decade dividers/counters formed by IC2 and IC3. These ICs act as divide-by-10 and divide-by-9 counters, respectively. The values of capacitor C1 and resistors R1 and R2 are so adjusted that the final output of IC3 goes high after about eight hours.The first two outputs of IC3 (Q0 and Q1) are connected (ORed) via diodes D1 and D2 to the base of transistor T1. Initially output Q0 is high and therefore relay RL1 is energised. It remains energised when Q1 becomes high. The method of connecting the gadget to the fan/cooler is given in Figs 3 and 4.

It can be seen that initially the fan shall get AC supply directly, and so it shall run at top speed. When output Q2 becomes high and Q1 becomes low, relay RL1 is turned ‘off’ and relay RL2 is switched ‘on’. The fan gets AC through a resistance and its speed drops to medium. This continues until output Q4 is high. When Q4 goes low and Q5 goes high, relay RL2 is switched ‘off’ and relay RL3 is activated. The fan now runs at low speed.Throughout the process, pin 11 of the IC is low, so T4 is cut off, thus keeping T5 in saturation and RL4 ‘on’. At the end of the cycle, when pin 11 (Q9) becomes high, T4 gets saturated and T5 is cut off. RL4 is switched ‘off’, thus switching ‘off’ the fan/cooler.Using the circuit described above, the fan shall run at high speed for a comparatively lesser time when either of Q0 or Q1 output is high. At medium speed, it will run for a moderate time period when any of three outputs Q2 through Q4 is high, while at low speed, it will run for a much longer time period when any of the four outputs Q5 through Q8 is high.If one wishes, one can make the fan run at the three speeds for an equal amount of time by connecting three decimal decoded outputs of IC3 to each of the transistors T1 to T3. One can also get more than three speeds by using an additional relay, transistor, and associated components, and connecting one or more outputs of IC3 to it.In the motors used in certain coolers there are separate windings for separate speeds. Such coolers do not use a rheostat type speed regulator. The method of connection of this device to such coolers is given in Fig. 4.The resistors in Figs 2 and 3 are the tapped resistors, similar to those used in manually controlled fan-speed regulators. Alternatively, wire-wound resistors of suitable wattage and resistance can be used.

Remote Control Circuits

Posted by ganesh at 8:51 PM



Radio Remote Control using DTMF Click here for the circuit diagram
H ere is a circuit of a remote control unit which makes use of the radio frequency signals to control various electrical appliances. This remote control unit has 4 channels which can be easily extended to 12. This circuit differs from similar circuits in view of its simplicity and a totally different concept of generating the control signals. Usually remote control circuits make use of infrared light to transmit control signals. Their use is thus limited to a very confined area and line-of-sight. However, this circuit makes use of radio frequency to transmit the control signals and hence it can be used for control from almost anywhere in the house. Here we make use of DTMF (dual-tone multi frequency) signals (used in telephones to dial the digits) as the control codes. The DTMF tones are used for frequency modulation of the carrier. At the receiver unit, these frequency modulated signals are intercepted to obtain DTMF tones at the speaker terminals. This DTMF signal is connected to a DTMF-to-BCD converter whose BCD output is used to switch-on and switch-off various electrical applicances (4 in this case). The remote control transmitter consists of DTMF generator and an FM transmitter circuit. For generating the DTMF frequencies, a dedicated IC UM91214B (which is used as a dialler IC in telephone instruments) is used here. This IC requires 3 volts for its operation. This is provided by a simple zener diode voltage regulator which converts 9 volts into 3 volts for use by this IC. For its time base, it requires a quartz crystal of 3.58 MHz which is easily available from electronic component shops. Pins 1 and 2 are used as chip select and DTMF mode select pins respectively. When the row and column pins (12 and 15) are shorted to each other, DTMF tones corresponding to digit 1 are output from its pin 7. Similarly, pins 13, 16 and 17 are additionally required to dial digits 2, 4 and 8. Rest of the pins of this IC may be left as they are. The output of IC1 is given to the input of this transmitter circuit which effectively frequency modulates the carrier and transmits it in the air. The carrier frequency is determined by coil L1 and trimmer capacitor VC1 (which may be adjusted for around 100MHz operation). An antenna of 10 to 15 cms (4 to 6 inches) length will be sufficient to provide adequate range. The antenna is also necessary because the transmitter unit has to be housed in a metallic cabinet to protect the frequency drift caused due to stray EM fields. Four key switches (DPST push-to-on spring loaded) are required to transmit the desired DTMF tones. The switches when pressed generate the specific tone pairs as well as provide power to the transmitter circuit simultaneously. This way when the transmitter unit is not in use it consumes no power at all and the battery lasts much longer. The receiver unit consists of an FM receiver (these days simple and inexpensive FM kits are readily available in the market which work exceptionally well), a DTMF-to-BCD converter and a flip-flop toggling latch section. The frequency modulated DTMF signals are received by the FM receiver and the output (DTMF tones) are fed to the dedicated IC KT3170 which is a DTMF-to-BCD converter. This IC when fed with the DTMF tones gives corresponding BCD output; for example, when digit 1 is pressed, the output is 0001 and when digit 4 is pressed the output is 0100. This IC also requires a 3.58MHz crystal for its operation. The tone input is connected to its pin 2 and the BCD outputs are taken from pins 11 to 14 respectively. These outputs are fed to 4 individual ‘D’ flip-flop latches which have been converted into toggle flip-flops built around two CD4013B ICs. Whenever a digit is pressed, the receiver decodes it and gives a clock pulse which is used to toggle the corresponding flip-flop to the alternate state. The flip-flop output is used to drive a relay which in turn can latch or unlatch any electrical appliance. We can upgrade the circuit to control as many as 12 channels since IC UM91214B can generates 12 DTMF tones. For this purpose some modification has to be done in receiver unit and also in between IC2 and toggle flip-flop section in the receiver. A 4-to-16 lines demultiplexer (IC 74154) has to be used and the number of toggle flip-flops have also to be increased to 12 from the existing 4

Remote Control Circuits

Posted by ganesh at 8:47 PM



Remote control using telephone Click here for the circuit diagram
Here is a teleremote circuit which enables switching ‘on’ and ‘off’ of appliances through telephone lines. It can be used to switch appliances from any distance, overcoming the limited range of infrared and radio remote controls.The circuit described here can be used to switch up to nine appliances (corresponding to the digits 1 through 9 of the telephone key-pad). The DTMF signals on telephone instrument are used as control signals. The digit ‘0’ in DTMF mode is used to toggle between the appliance mode and normal telephone operation mode. Thus the telephone can be used to switch on or switch off the appliances also while being used for normal conversation.The circuit uses IC KT3170 (DTMF-to-BCD converter), 74154 (4-to-16-line demult-iplexer), and five CD4013 (D flip-flop) ICs. The working of the circuit is as follows.Once a call is established (after hearing ring-back tone), dial ‘0’ in DTMF mode. IC1 decodes this as ‘1010,’ which is further demultiplexed by IC2 as output O10 (at pin 11) of IC2 (74154). The active low output of IC2, after inversion by an inverter gate of IC3 (CD4049), becomes logic 1. This is used to toggle flip-flop-1 (F/F-1) and relay RL1 is energised. Relay RL1 has two changeover contacts, RL1(a) and RL1(b). The energised RL1(a) contacts provide a 220-ohm loop across the telephone line while RL1(b) contacts inject a 10kHz tone on the line, which indicates to the caller that appliance mode has been selected. The 220-ohm loop on telephone line disconnects the ringer from the telephone line in the exchange. The line is now connected for appliance mode of operation.If digit ‘0’ is not dialed (in DTMF) after establishing the call, the ring continues and the telephone can be used for normal conversation. After selection of the appliance mode of operation, if digit ‘1’ is dialed, it is decoded by IC1 and its output is ‘0001’. This BCD code is then demultiplexed by 4-to-16-line demultiplexer IC2 whose corresponding output, after inversion by a CD4049 inverter gate, goes to logic 1 state. This pulse toggles the corresponding flip-flop to alternate state. The flip-flop output is used to drive a relay (RL2) which can switch on or switch off the appliance connected through its contacts. By dialing other digits in a similar way, other appliances can also be switched ‘on’ or ‘off.’Once the switching operation is over, the 220-ohm loop resistance and 10kHz tone needs to be removed from the telephone line. To achieve this, digit ‘0’ (in DTMF mode) is dialed again to toggle flip-flop-1 to de-energise relay RL1, which terminates the loop on line and the 10kHz tone is also disconnected. The telephone line is thus again set free to receive normal calls.This circuit is to be connected in parallel to the telephone instrument

Lights & LED Circuits

Posted by ganesh at 8:45 PM



Flashy Christmas Lights Click here for the circuit diagram
This simple and inexpensive circuit built around a popular CMOS hex inverter IC CD4069UB offers four sequential switching outputs that may be used to control 200 LEDs (50 LEDs per channel), driven directly from mains supply. Input supply of 230V AC is rectified by the bridge rectifiers D1 to D4. After fullwave rectification, the average output voltage of about 6 volts is obtained across the filter comprising capacitor C1 and resistor R5. This supply energises IC CD4069UB.All gates (N1-N6) of the inverter have been utilised here. Gates N1 to N4 have been used to control four high voltage transistors T1 to T4 (2N3440 or 2N3439) which in turn drive four channels of 50 LEDs each through current limiting resistors of 10-kilo-o Base drive of transistors can be adjusted with the help of 10-kilo-ohm pots provided in their paths. Remaining two gates (N5 and N6) form a low frequency oscillator. The frequency of this oscillator can be changed through pot VR1. When pot VR1 is adjusted To get the best results, a low leakage, good quality capacitor must be used for the timing capacitor C2

Fun/Games Circuits

Posted by ganesh at 8:43 PM



Electronic Scoring Game Click here for the circuit diagram
You can play this game alone or with your friends. The circuit comprises a timer IC, two decade counters and a display driver along with a 7-segment display. The game is simple. As stated above, it is a scoring game and the competitor who scores 100 points rapidly (in short steps) is the winner. For scoring, one has the option of pressing either switch S2 or S3. Switch S2, when pressed, makes the counter count in the forward direction, while switch S3 helps to count downwards. Before starting a fresh game, and for that matter even a fresh move, you must press switch S1 to reset the circuit. Thereafter, press any of the two switches, i.e. S2 or S3. On pressing switch S2 or S3, the counter’s BCD outputs change very rapidly and when you release the switch, the last number remains latched at the output of IC2. The latched BCD number is input to BCD to 7-segment decoder/driver IC3 which drives a common-anode display DIS1. However, you can read this number only when you press switch S4. The sequence of operations for playing the game between, say two players ‘X’ and ‘Y’, is summarised below:1. Player ‘X’ starts by momentary pressing of reset switch S1 followed by pressing and releasing of either switch S2 or S3. Thereafter he presses switch S4 to read the display (score) and notes down this number (say X1) manually.2. Player ‘Y’ also starts by momentary pressing of switch S1 followed by pressing of switch S2 or S3 and then notes down his score (say Y1), after pressing switch S4, exactly in the same fashion as done by the first player.3. Player ‘X’ again presses switch S1 and repeats the steps shown in step 1 above and notes down his new score (say, X2). He adds up this score to his previous score. The same procedure is repeated by player ‘Y’ in his turn.4. The game carries on until the score attained by one of the two players totals up to or exceeds 100, to be declared as the winner.Several players can participate in this game, with each getting a chance to score during his own turn. The assembly can be done using a multipurpose board. Fix the display (LEDs and 7-segment display) on top of the cabinet along with the three switches. The supply voltage for the circuit is 5V

Remote Control Circuits

Posted by ganesh at 8:40 PM



Remote control using VHF modules Click here for the circuit diagram
A few designs for remote control switches, using VG40T and VG40R remote control pair, are shown here.The miniature transmitter module shown in Fig. 1, which just measures 34 mm x 29 mm x 10 mm, can be used to operate all remote control receiver-cum-switch combinations described in this project. A compact 9-volt PP3 battery can be used with the transmitter. It can transmit signals up to 15 metres without any aerial. The operating frequency of the transmitter is 300 MHz. The following circuits, using VG40R remote control receiver module measuring 45 mm x 21 mm x 13 mm, can be used to:(a) activate a relay momentarily,(b) activate a relay for a preset period,(c) switch on and switch off a load.To activate a relay momentarily (see Fig. 2), the switch on the transmitter unit is pressed, and so a positive voltage is obtained at output pin of VG40R module. This voltage is given to bias the relay driver transistor. The relay gets activated by just pressing push-to-on micro switch on the transmitter unit. The relay remains energised as long as the switch remains pressed. When the switch is released, the relay gets deactivated. Any electrical/electronic load can be connected via N/O contacts of the relay.To activate a relay for a preset period (refer Fig. 3), the switch on the transmitter unit is pressed momentarily. The transistor gets base bias from VG40R module. As a result the transistor conducts and applies a trigger pulse to IC 555, which is wired as a monostable multivibrator. The relay remains activated till the preset time is over. Time delay can be varied from a few seconds to a few minutes by adjusting timing components.To switch on and switch off a load (refer Fig. 4), a 555 IC and a decade counter 4017 IC are used. Here the 4017 IC is wired as a flip-flop for toggle action. This is achieved by connecting Q2 output to reset terminal while Q1 output is unused. Q0 output is used for energising the relay. The relay is activated and deactivated by pressing the transmitter switch alternately. So, to activate the load, just press the transmitter switch once, momentarily. The relay will remain activated. To switch off the relay, press the transmitter switch again. This process can be repeated. Time delay of monostable multivibrator is set for about one second.Note: Short length of shielded wire should be used between VG40R receiver module output and the rest of the circuit. The transmitter with 9V battery must be housed inside a nonmetallic (say, plastic) cabinet for maximum range of operation.

Lights & LED Circuits

Posted by ganesh at 7:44 PM



Automatic Room Lights Click here for the circuit diagram
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. The circuit described here overcomes the above-mentioned problem. It has a small memory which enables it to automatically 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 distance 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 getting into the room and the other will count as -1, -2, -3 etc when persons are getting 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 is triggered. 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 bi-colour 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) are 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 for 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

This tip For older XP builds

Posted by ganesh at 10:04 AM

Edit or remove the "Comments" link in window title bars

During the Windows XP beta, Microsoft has added a "Comments?" hyperlink to the title bar of each window in the system so that beta testers can more easily send in a problem report about the user interface. But for most of us, this isn't an issue, and the Comments link is simply a visual distraction. And for many programs that alter the title bar, the Comments link renders the Minimize, Maximize, and Close window buttons unusable, so it's actually a problem.
Let's get rid of it. Or, if you're into this kind of thing, you can edit it too.

Open the Registry Editor and navigate to the following keys:
My Computer \ HKEY_CURRENT_USER \ Control Panel \ Desktop \ LameButtonEnabled
My Computer \ HKEY_CURRENT_USER \ Control Panel \ Desktop \ LameButtonText

The first key determines whether the link appears at all; change its value to 0 to turn it off. The second key lets you have a little fun with the hyperlink; you can change the text to anything you'd like, such as "Paul Thurrott" or whatever.

Editing either value requires a restart before the changes take effect.


Before: An unnecessary hyperlink. Have some fun with it! Or just remove it entirely. It's up to you.

Speed up the Start Menu

Posted by ganesh at 10:01 AM

The default speed of the Start Menu is pretty slow, but you can fix that by editing a Registry Key. Fire up the Registry Editor and navigate to the following key:
HKEY_CURRENT_USER \ Control Panel \ Desktop \ MenuShowDelay

By default, the value is 400. Change this to a smaller value, such as 0, to speed it up.