You are on page 1of 385

CIRCUIT IDEAS

15-STEP DIGITAL POWER SUPPLY


ing resistor across the relay contacts gets
connected to the circuit.
The table shows the theoretical out-
put for various digital input combinations.
NAVEEN THARIYAN NA The measured output is nearly equal to
ANJA
RUP the theoretically calculated output across
regulator IC3 (LM317). The output volt-

H
ere is a simple circuit to obtain down by closing switch S2. age is governed by the following relation-
variable DC voltage from 1.25V The output of counter IC2 is used to ship as long as the input-to-output differ-
to 15.19V in reasonably small realise a digitally variable resistor. This ential is greater than or equal to 2.5V:
steps as shown in the table. The input section consists of four N/O reed relays Vout = 1.25(1+R2'/R1')
voltage may lie anywhere between 20V that need just about 5mA current for their Where, R1' = R15 = 270 ohms (fixed)

and 35V.
The first section of the circuit com-
prises a digital up-down counter built
around IC1 a quad 2-input NAND
schmitt trigger (4093), followed by
IC2 a binary up-down counter (4029).
Two gates of IC 4093 are used to gen-
erate up-down logic using push but-
tons S1 and S2, respectively, while the
other two gates form an oscillator to
provide clock pulses to IC2 (4029). The
frequency of oscillations can be varied
by changing the value of capacitor C1
or preset VR1.
IC2 receives clock pulses from the os- operation. (EFY lab note. The original and R2' = R11 + R12 + R13 + R14
cillator and produces a sequential binary circuit containing quad bilateral switch = 220 + 470 + 820 +1500 ohms
output. As long as its pin 5 is low, the IC 4066 has been replaced by reed relays = 3,010 ohms (with all relays
counter continues to count at the rising operated by transistorised switches be- energised)
edge of each clock pulse, but stops count- cause of unreliable operation of the One can use either the binary
ing as soon as its pin 5 is brought to logic former.) The switching action is performed weighted LED display as indicated by
1. using BC548 transistors. External resis- LED1 through LED4 in the circuit or a
Logic 1 at pin 10 makes the counter tors are connected in parallel with the 74LS154 IC in conjunction with LED5
to count upwards, while logic 0 makes it reed relay contacts. If particular relay con- through LED20 to indicate one of the 16
count downwards. Therefore the counter tacts are opened by the control input at selected voltage steps of Table I. The in-
counts up by closing switch S1 and counts the base of a transistor, the correspond- put for IC4 is to be tapped from points

ELECTRONICS FOR YOU  MAY 2001


CIRCUIT IDEAS

TABLE sets itself, and hence the output at pins


Binary Equivalent LED4 LED3 LED2 LED1
6, 11, 14, and 12 is equivalent to binary
output dec no. R14 (W) R13 (W) R12 (W) R11 (W) R2' (W) Vout (V) zero, i.e. 0000. The corresponding DC
0000 0 Shorted Shorted Shorted Shorted 0 1.25 output of the circuit is minimum (1.25V).
0001 1 Shorted Shorted Shorted 220 220 2.27 As count-up switch S1 is pressed, the
0010 2 Shorted Shorted 470 Shorted 470 3.43 binary count of IC2 increases and the
0011 3 Shorted Shorted 470 220 690 4.44 output starts increasing too. At the high-
0100 4 Shorted 820 Shorted Shorted 820 5.05
0101 5 Shorted 820 Shorted 220 1040 6.06 est count output of 1111, the output volt-
0110 6 Shorted 820 470 Shorted 1290 7.22 age is 15.19V (assuming the in-circuit re-
0111 7 Shorted 820 470 220 1510 8.24 sistance of preset VR2 as zero). Preset
1000 8 1500 Shorted Shorted Shorted 1500 8.19 VR2 can be used for trimming the output
1001 9 1500 Shorted Shorted 220 1720 9.21
1010 10 1500 Shorted 470 Shorted 1970 10.37
voltage as desired. To decrease the out-
1011 11 1500 Shorted 470 220 2190 11.39 put voltage within the range of 1.25V to
1100 12 1500 820 Shorted Shorted 2390 11.99 15.2V, count-down switch S2 is to be de-
1101 13 1500 820 Shorted 220 2540 13.01 pressed.
1110 14 1500 820 470 Shorted 2790 14.17
Notes. 1. When relay contacts across
1111 15 1500 820 470 220 3010 15.19
a particular resistor are opened, the cor-
marked A through D in the figure. This count value. LEDs at the output of this responding LED glows.
arrangement can be used to replace the IC can be arranged in a circular way along 2. The output voltages are shown as-
LED arrangement at points A, B, C, and side the corresponding voltages. suming the in-circuit resistance of preset
D. This 74LS154 IC is a decoder/ VR2 as zero. Thus when the in-circuit re-
demultiplexer that senses the output of sistance of preset VR2 is not zero, the
IC2 and accordingly activates only one of
Working output voltage will be higher than that
its 16 outputs in accordance with the When the power is switched on, IC2 re- indicated here.

ELECTRONICS FOR YOU  MAY 2001


2-LINE INTERCOM-
CUM-TELEPHONE LINE
CHANGEOVER CIRCUIT
T
he circuit presented here can be changeover mode, exchange line is dis- switch S3 is used to changeover the tele-
used for connecting two tele connected from telephone 3 and gets con- phone line for use by telephone 2. The
phones in parallel and also as a nected to telephone 2. switch is normally in the intercom mode
2-line intercom. For operation in intercom mode, one and telephone 3 is connected to the ex-
Usually a single telephone is con- has to just lift the handset of phone 1 change line. Before changing over the ex-
nected to a telephone line. If another tele- and then press switch S1. As a result, change line to telephone 2, the person at
phone is required at some distance, a par- buzzer PZ2 sounds. Simultaneously, the telephone 1 may inform the person at tele-
allel line is taken for connecting the other side tone is heard in the speaker of hand- phone 2 (in the intercom mode) that he is
telephone. In this simple parallel line op- set of phone 1. The person at phone 2 going to changeover the line for use by
eration, the main problem is loss of pri- could then lift the handset and start con- him (the person at telephone 2). As soon
vacy besides interference from the other versation. Similar procedure is to be fol- as changeover switch S3 is flipped to the
phone. This problem is obviated in the lowed for initiation of the conversation other position, 12V supply is cut off and
circuit presented here. from phone 2 using switch S2. In this telephones 1 and 3 do not get any voltage
Under normal condition, two tele- mode of operation, a 3-pole, 2-way slide- or ring via the ring-tone-sensing unit.
phones (telephone 1 and 2) can be used switch S3 is to be used as shown in the Once switch S3 is flipped over for use
as intercom while telephone 3 is con- figure. of exchange line by the person at tele-
nected to the lines from exchange. In In the changeover mode of operation, phone 2, and the same (switch S3) is not
flipped back to normal po-
sition after a telephone
call is over, the next tele-
phone call via exchange
lines will go to telephone
2 only and the ring-tone-
sensing circuit will still
work. This enables the
person at phone 3 to know
that a call has gone
through. If the handset of
telephone 3 is lifted, it is
found to be dead. To make
telephone 3 again active,
switch S3 should be
changed over to its normal
position.

ELECTRONICS PROJECTS Vol. 21 189


40-Metre Direct
Conversion Receiver
U
sing the circuit of direct-conver- is injected into the gate of first FET (T1) control VR1. An audio output from the AF
sion receiver described here, one through 10pF capacitor C16. The VFO is amplifier is connected to an 8-ohm, 1-watt
can listen to amateur radio QSO tuned to a frequency which differs from speaker.
signals in CW as well as in SSB mode in the incoming CW signal frequency by The receiver can be powered by a
the 40-metre band. about 1 kHz to produce a beat frequency 12-volt power-supply, capable of sourc-
The circuit makes use of three note in the audio range at the output ing around 250mA current. Audio-
n-channel FETs (BFW10). The first of transformer X1, which is an audio output stage can be substituted with a
FET (T1) performs the function of driver transformer of the type used in readymade L-plate audio output circuit
ant./RF amplifier-cum-product detector, transistor radios. used in transistor amplifiers, if desired.
while the second and third FETs (T2 The audio output from transformer X1 The necessary data regarding the coils
and T3) together form a VFO (vari- is connected to the input of audio amplifier used in the circuit is given in the circuit
able frequency oscillator) whose output built around IC1 (TBA820M) via volume diagram itself.

ELECTRONICS PROJECTS Vol. 20


CIRCUIT IDEAS

MAINS-OPERATED SAN
I THE
O

CHRISTMAS STAR
PRINCE PHILLIPS
capacitors C1, C2, and C3, diodes D1 and
D2, and zener ZD1 are used to develop a
fairly steady 5V DC supply voltage that

H
ere is a low-cost circuit of Christ- advantage of this circuit is that it doesnt provides the required current to operate
mas star that can be easily con- require any step-down transformer or ICs. the multivibrator circuit and trigger triac
structed even by a novice. The main Components like resistors R1 and R2, BT136 via LED1.
The multivibrator circuit is constructed
using two BC548 transistors (T1 and T2)
and some passive components. The fre-
quency of the multivibrator circuit is con-
trolled by capacitors C4 and C5 and resis-
tors R3 through R7. The output of the
multivibrator circuit is connected to tran-
sistor T3, which, in turn, drives the triac
via LED1. During positive half cycles of
the multivibrators output, transistor T3
energises triac BT136 and the lamp glows.
This circuit is estimated to cost Rs 75.

MAY 2002 ELECTRONICS FOR YOU


CIRCUIT IDEAS

INFRARED TOY CAR SAN


I THE
O

MOTOR CONTROLLER
T.K. HAREENDRAN

T
his add-on circuit enables remote depressed again, the monostable is example, behind the front glass, and con-
switching on/off of battery-operated retriggered to reset decade counter IC2 and nect its wires to the circuit board using a
toy cars with the help of a TV/ the motor is switched off. Standby LED1 short 3-core ribbon cable/shielded wire.
video remote control handset operating at glows again. Note. Since the circuit uses modu-
3040 kHz.
When the circuit is energised
from a 6V battery, the decade
counter CD4017 (IC2), which is
configured as a toggle flip-flop, is
immediately reset by the power-on-
reset combination of capacitor C3
and resistor R6. LED1 connected
to pin 3 (Q0) of IC2 via resistor R5
glows to indicate the standby con-
dition. In standby condition, data
output pin of the integrated infra-
red receiver/demodulator
(SFH505A or TSOP1738) is at a
high level (about 5 volts) and tran-
sistor T1 is off (reverse biased).
The monostable wired around IC1
is inactive in this condition.
When any key on the remote
control handset is depressed, the
output of the IR receiver momen-
tarily transits through low state and
transistor T1 conducts. As a result,
the monostable is triggered and a
short pulse is applied to the clock
input (pin 14) of IC2, which takes Q1 out- This circuit can be easily fabricated on lated infrared beam for control function,
put (pin 2) of IC2 high to switch on motor a general-purpose printed board. After con- ambient light reflections will not affect the
driver transistor T2 via base bias resistor struction, enclose it inside the toy car and circuit operation. However, fluorescent
R7 and the motor starts rotating connect the supply wires to the battery of tubelights with electronic ballasts and CFL
continously (car starts running). Resistor the toy car with right polarity. Rewire the lamps may cause malfunctioning of the
R8 limits the starting current. DC motor connections and fix the IR re- circuit.
When any key on the handset is ceiver module in a suitable location, for

JULY 2002 ELECTRONICS FOR YOU


CCIIRRC UCIUT IITD EIADS E A S

MAINS MANAGER SUN


IL KU
MAR

SHIBASHISH PATEL

V
ery often we forget to switch off volts via diode D3. This voltage is suffi- possible, plug the unit into the mains via
the peripherals like monitor, scan- cient to hold transistor T2 in forward bi- an earth leakage circuit breaker. The mains
ner, and printer while switching off ased condition for about 200 ms even af- LED1 should glow and the slave LED2
our PC. The problem is that there are sepa- ter the controlling load on the master should remain off. Now connect a table
rate power switches to turn the peripher- socket is switched off. lamp to the master socket and switch it
als off. Normally, the peripherals are con- When transistor T2 is on, transistor on. The lamp should operate as usual.
nected to a single of those four-way trail- T1 gets forward biased and is switched The slave LED should turn on whenever
ing sockets that are plugged into a single on. This, in turn, triggers Triac 1, which the lamp plugged into slave socket is
wall socket. If that socket is accessible, all then powers the slave loads. Capacitor C4 switched on. Both lamps should be at full
the devices could be switched off from and resistor R9 form a snubber network to brightness without any flicker. If so, the
there and none of the equipment used will ensure that the triac turns off cleanly with unit is working correctly and can be put
require any modification. an inductive load. into use.
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 con-
nected via the slave socket.
The mains supply from the
wall socket is to be connected
to the input of the mains man-
ager 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 LED1 indicates that the unit is operat- Note. 1. The device connected to the
(slave) sockets. The load on the master ing. Capacitor C1 and zener ZD1 are effec- master socket must have its power switch
socket can be anywhere between 20 VA tively in series across the mains. The result- on the primary side of the internal trans-
and 500 VA, while the load on the slave ing 15V pulses across ZD1 are rectified by former. Some electronic equipment have
sockets can be 60 VA to 1200 VA. diode D2 and smoothened by capacitor C2 the power switch on the secondary side
During the positive half cycle of the to provide the necessary DC supply for the and hence these devices continue to draw
mains AC supply, diodes D4, D5, and D6 circuit around transistors T1 and T2. Resis- a small current from the mains even when
have a voltage drop of about 1.8 volts tor R3 is used to limit the switching-on switched off. Thus such devices, if con-
when current is drawn from the master surge current, while resistor R1 serves as a nected as the master, will not control the
socket. Diode D7 carries the current dur- bleeder for rapidly discharging capacitor C1 slave units correctly.
ing negative half cycles. Capacitor C3, in when the unit is unplugged. LED1 glows 2. Though this unit removes the power
series with diode D3, is connected across whenever the unit is plugged into the mains. from the equipment being controlled, it
the diode combination of D4 through D6, Diode D1, in anti-parallel to LED1, carries doesnt provide isolation from the mains.
in addition to diode D7 as well as resistor the current during the opposite half cycles. So, before working inside any equipment
R10. Thus current pulses during positive Dont plug anything into the master or connected to this unit, it must be un-
half-cycles, charge up the capacitor to 1.8 slave sockets without testing the unit. If plugged from the socket.

ELECTRONICS FOR YOU JULY 2002


7MHz CW/AM QRP TRANSMITTER
D. PRABAHARAN

T
he circuit
of a 7MHz
C W / A M
QRP transmit-
ter described here
can be used to
transmit either
CW or audio fre-
quency modulat-
ed signal over a
7MHz carrier.
The carrier fre-
quency oscillator is
crystal controlled
using 7MHz crystal
in its fundamental
mode. The tank
circuit comprises a
shortwave oscilla-
tor coil which can
be tuned to 7MHz
frequency with the
help of J gang
capacitor VC1.
Transistor T2
(with identical tank circuit connected sion line for maximum power transfer. For CW operation, switch S1 is to be
at its collector as in case of transis- Suitable heatsink should be used for kept on for bypassing the audio driver
tor T1) serves as a power amplifier. transistor T2. transformer and Morse key is used
The RF output from oscillator stage Tuning adjustments may be accom- for on/off-type modulation. CW would
is inductively coupled to the power plished using a 6-volt torch bulb. Connect be generated during key depressions.
amplifier stage. The output from power the bulb to the collector of transistor T1 For AF modulation, Morse key points
amplifier is routed via capacitor C3 first through a coupling capacitor and should be closed and switch S1 should
and inductor L3 to a half-wave dipole tune J gang VC1 for maximum bril- be flipped to off position.
using a 75-ohm coaxial cable. J gang liance. (Note: the bulb would light ac- Any suitable mic. amplifier may be
capacitor VC3 along with inductor L3 cording to intensity of RF energy.) Same used to feed audio input to the audio
forms an antenna tuning and matching procedure may be repeated for power am- driver transformer X1. (For transformer
network between the output of power plifier stage and antenna tuning network X1 you may use the transistor-radio
amplifier stage and coaxial transmis- for ensuring maximum power transfer. type AF driver transformer.)

Reader Comments: Vaibhav Kumar air-core tube using 26 SWG wire.


I request the author for the following Saharanpur The frequency allotted for amateur
clarifications: The author D. Prabaharan, com- radio operators is 7.0 MHz to 7.1 MHz.
1. Please indicate the construction ments: Hence, any crystal available within this
details of coils L1 and L3 as well as the In reply to the above queries, I frequency can be used. Range of this QRP
inductor which is connected in parallel would like to say that the transistor T1 transmitter depends on propagation condi-
to VC2. is BF495. Power output of this circuit is tions. If conditions are good, the range is
2. Can we use any other crystal in about 150mW. It can be further increased about 500 kms in the CW mode and 100
place of 7MHz crystal? by using separate power supply for the kms in the AM mode.
M.A. Kamal power-amplifier stage (24V, 1A). It is possible to convert this transmit-
Guwahati The coil details are as follows L1 is ter to 20-meter HAM band. Any crystal
What is the range of this transmit- short-wave oscillator coil; L2:14 turns on available from 14 MHz to 14.350 MHz
ter and what is the output power of this 1cm-diameter air-core tube using 26 SWG range can be used for the purpose. How-
circuit? wire; L3 has 12 turns on 1.5cm-diameter ever, this conversion needs following

198 ELECTRONICS PROJECTS Vol. 19


modifications on coils L1, L2 and L3L1: connected in-between the positive of the x 250mA
shortwave oscillator coil; L2: 11 turns on supply and the modulation transformer. = 6watt (the power amplifier draws
1cm-diameter air-core tube using 26 SWG Adjust VC1, VC2 and VC3 for maximum 250mA current).
wire; L3: 9 turns on 1cm-diameter air- current through ammeter (CW-200mA, DC power input (AM mode) = 24V x
core tube using 28 SWG wire. AM-125mA). The power input in CW and 120mA
An ammeter with a range 0-250mA AM mode is calculated as shown below: = 2.8watt (the power amplifier draws
or a multimeter with 0-250mA can be DC power input (CW mode) = 24V 120mA current).

ELECTRONICS PROJECTS Vol. 19 199


CIRCUIT IDEAS

9-LINE TELEPHONE SHARER DWIV


EDI
called subscriber. When the call is estab-
lished, no ring-back tone is heard by the
S.C. calling party. The calling subscriber has
DHURJATI SINHA then to press the asterik (*) button on
the telephone to activate the tone mode

T
his circuit is able to handle nine heard in all the nine telephones (it is (if the phone normally works in dial mode)
independent telephones (using a also possible that the phones will not and dial extension number, say, 1, within
single telephone line pair) lo- work due to higher load), and out of 10 seconds. (In case the calling subscriber
cated at nine different locations, say, nine persons eight will find that the call fails to dial the required extension num-
up to a distance of 100m from each is not for them. Further, one can over- ber within 10 seconds, the line will be
other, for receiving and making outgo- hear others conversation, which is not disconnected automatically.) Also, if the
ing calls, while maintaining conversa- desirable. To overcome these problems, dialed extension phone is not lifted within
tion secrecy. This circuit is useful when the circuit given here proves beneficial, 10 seconds, the ring-back tone will cease.
a single telephone line is to be shared as the ring is heard only in the desired The ring signal on the main phone
by more members residing in different extension, say, extension number 1. line is detected by opto-coupler MCT-
rooms/apartments. For making use of this facility, the 2E (IC1), which in turn activates the
Normally, if one connects nine calling subscriber is required to initially 10-second on timer, formed by IC2
phones in parallel, ring signals are dial the normal phone number of the (555), and energises relay RL10 (6V, 100-
ohm, 2 C/O). One of the N/O
contacts of the relay has been
used to connect +6V rail to the
processing circuitry and the
other has been used to provide
220-ohm loop resistance to de-
energise the ringer relay in
telephone exchange, to cut off
the ring.
When the caller dials the
extension number (say, 1) in
tone mode, tone receiver
CM8870 (IC3) outputs code
0001, which is fed to the 4-
bit BCD-to-10 line decimal de-
coder IC4 (CD4028). The out-
put of IC4 at its output pin
14 (Q1) goes high and
switches on the SCR (TH-1)
and associated relay RL1. Re-
lay RL1, in turn, connects, via
its N/O contacts, the 50Hz ex-
tension ring signal, derived
from the 230V AC mains, to
the line of telephone 1. This
ring signal is available to tele-
phone 1 only, because half
of the signal is blocked by di-
ode D1 and DIAC1 (which do
not conduct below 35 volts).
As soon as phone 1 is
lifted, the ring current in-
creases and voltage drop
across R28 (220-ohm, 1/2W re-
sistor) increases and operates
opto-coupler IC5 (MCT-2E).
This in turn resets timer IC2
causing:
(a) interruption of the
power supply for processing
circuitry as well as the ring

ELECTRONICS FOR YOU  FEBRUARY 2001


A HIERARCHICAL PRIORITY ENCODER
A
normal priority encoder encodes (active-low). Thus Lp=0 and Lq=0. All ment of Lp = 1. All other Ls are not
only the highest-order data line. lines above Lp and also between Lp and changed because the corresponding Ms
But in many situations, not only Lq (denoted as Lj) are at logic 1. All lines are all 1s. Thus data lines N0 through N7
the highest but the second-highest below Lq logic state are irrelevant, i.e. are same as L0 through L7, except that
priority information is also needed. The dont care. Here p is the highest-priority the highest-priority level in L0 through
circuit presented here encodes both value and q the second-highest-priority L7 is cancelled in N0 through N7.
the highest-priority information as well value. (Obviously, q has to be lower than The highest-priority level in N0
as the second-highest priority information p, and the minimum possible value for p through N7 is the second-highest priority
of an 8-line incoming data. The circuit is taken as 1.) leftover from L0 through L7, i.e. Nq=0 and
uses the standard octal priority encoder Priority encoder IC1 generates binary Nj=1 for q<j7. Now these N lines are ap-
74148 that is an 8-line-to-3-line (4-2-1) output F2, F1, F0, which represents the plied to priority encoder 2 (IC3) to gener-
binary encoder with active-low data in- value of p in active-low format. The ate S2, S1, S0, which represent q. Thus
puts and outputs. complemented F2, F1, and F0 are ap- the second-highest priority value is ex-
The first encoder (IC1) generates the plied to 3-line-to-8-line (one out of eight tracted. Through cascading one can re-
highest-priority value, say, F. The active- outputs is active-low) decoder 74138. Let cover the third-highest priority, and so on.
low output (A0, A1, A2) of IC1 is in- the output lines of 74138 be denoted as For example, let L0 through L7 = X X
verted by gates N9 through N11 and fed M0 through M7. Now only one line is X 0 1 1 0 1. Here the highest 0 line is L6
to a 3-line-to-8-line decoder (74138) that active-low among M0 through M7, and and the next highest is L3 (X denotes
requires active-high inputs. The decoded that is Mp (where the value of p is ex- dont care). Thus p=6 and q=3. Now the
outputs are active-low. The decoder iden- plained as above). Therefore the logic level active-low output of the first priority en-
tifies the highest-priority data line and of line Mp is 0 and that of all other M coder will be F2 F1 F0 = 0 0 1. The input

that data value is cancelled using XNOR lines 1. to 74138 is 1 1 0 and it outputs M0
gates (N1 through N8) to retain the sec- The highest-priority line is cancelled through M7 = 1 1 1 1 1 1 0 1. Since M6=0,
ond-highest priority value that is gener- using eight XNOR gates as shown in the only L6 is complemented by XNOR gates.
ated by the second encoder. figure. Let the output lines from XNOR Thus the outputs of XNORs are N0
To understand the logic, let the in- gates be N0 through N7. Consider inputs through N7 = X X X 0 1 1 1 1. Now N3=0
coming data lines be denoted as L0 to L7. Lp and Mp of the corresponding XNOR and the highest priority for N is 3. This
Lp is the highest-priority line (active-low) gate. Since Mp = 0 and also Lp = 0, the value is recovered by priority encoder 2
and Lq the second-highest priority line output of this XNOR gate is Np = comple- (IC3) as S2 S1 S0 = 1 0 0.

ELECTRONICS PROJECTS Vol. 22


ACCURATE ELECTRONIC
STOP-WATCH
H
ere is a simple circuit which counter) IC to obtain a final frequency of either 99.99 seconds or 999.9 seconds
can be used as an accurate 100 Hz or 10 Hz. Due to the use of crystal, maximum count.
stop-watch to count up to 100 the final frequency is very accurate. For proper operation, first press
seconds with a resolution of 0.01 second The output of IC4 (7490) is counted switch S3 (reset) and then operate switch
or up to 1000 seconds with a resolution of and displayed using IC5 74C926 (4-digit S2, according to the resolution/range
0.1 second. This stop-watch can be used for counter with multiplexed 7-segment LED desired (0.1 sec. or 0.01 sec.)/(100 seconds
sports and similar other activities. driver). Due to multiplexed display the or 1000 seconds). Now to start counting,
A 1MHz crystal generates stable power consumption is very low. Switch S2 press switch S1. To stop counting, press
frequency which is divided by two stages (2-pole, 2-way) is used to select appropri- switch S1 again. The counting will stop
of 74390 ICs (dual decade counter) and ate input frequency and corresponding and display will show the correct time
another stage employing 7490 (decade decimal point position to display up to elapsed since the start of counting.

ELECTRONICS PROJECTS Vol. 19 195


C I RC ICR CUUII T
T I D E A S
IDEAS
counter IC. Since only one of its out-
puts is high at any instant, only one

ADD-ON STEREO CHANNEL


switch will be closed at a time. IC
CD4017 is configured as a 4-bit ring
counter by connecting the fifth output

SELECTOR
Q4 (pin 10) to the reset pin. Capacitor
RUPANJANA
C5 in conjunction with resistor R6 forms
a power-on-reset circuit for IC2, so that
on initial switching on of the power
supply, output Q0 (pin 3) is always
PRABHASH K.P.
high. The clock signal to CD4017 is pro-
vided by IC1 (NE555) which acts as an

T
he add-on circuit presented here channel A is selected, the audio from astable multivibrator when transistor
is useful for stereo systems. This the tape recorder will be present at the T1 is in cut-off state.
circuit has provision for connect- output. After the tape is played com- IC5 (KA2281) is used here for not
ing stereo outputs from four different pletely, or if there is sufficient pause only indicating the audio levels of the
sources/channels as inputs and only one between consecutive recordings, the cir- selected stereo channel, but also for for-
of them is selected/ connected to the cuit automatically switches over to the ward biasing transistor T1. As soon as
output at any one time. output from the radio receiver. To a specific threshold audio level is de-
When power supply is turned on, manually skip over from one (selected) tected in a selected channel, pin 7 and/
channel A (A2 and A1) is selected. If no active channel, simply push the skip or pin 10 of IC5 goes low. This low
audio is present in channel A, the cir- switch (S1) momentarily once or more, level is coupled to the base of transistor
cuit waits for some time and then se- until the desired channel inputs gets T1, through diode-resistor combination
lects the next channel (channel B), This selected. The selected channel (A, B, C, of D2-R1/D3-R22. As a result, transis-
search operation continues until it de- or D) is indicated by the glowing of cor- tor T1 conducts and causes output of
tects audio signal in one of the chan- responding LED (LED11, LED12, IC1 to remain low (disabled) as long as
nels. The inter-channel wait or delay LED13, or LED14 respectively). the selected channel output exceeds the
time can be adjusted with the help of IC CD4066 contains four analogue preset audio threshold level.
preset VR1. If still longer time is switches. These switches are connected Presets VR2 and VR3 have been in-
needed, one may replace capacitor C1 to four separate channels. For stereo cluded for adjustment of individual au-
with a capacitor of higher value. operation, two similar CD4066 ICs are dio threshold levels of left stereo chan-
Suppose channel A is connected to used as shown in the circuit. These ana- nels, as desired. Once the multivibrator
a tape recorder and channel B is con- logue switches are controlled by IC action of IC1 is disabled, output of IC2
nected to a radio receiver. If initially CD4017 outputs. CD4017 is a 10-bit ring does not change further. Hence, search-

97
C I R C U I T I D E A S

ing through the channels continues un- switch S1 is used to skip a channel even ily extended up to ten, by using addi-
til it receives an audio signal exceeding if audio is present in the selected chan- tional 4066 ICs.
the preset threshold value. The skip nel. The number of channels can be eas-

98
CIRCUIT IDEAS

ANTI-THEFT SECURITY mately 5 seconds as on and 5 seconds as


off time.
Gate N4, with its associated compo-

FOR CAR AUDIOS S.C.


DWIV
EDI nents, forms a self-testing circuit. Nor-
mally, both of its inputs are in high state.
However, when one switches off the igni-
tion key, the supply to the car audio is
T.K. HAREENDRAN also disconnected. Thus the output of gate
N4 jumps to a high state and it provides

T
his small circuit, based on popu- Whenever an attempt is made to re- a differentiated short pulse to forward bias
lar CMOS NAND chip CD4093, move the car audio from its mounting by transistor T1 for a short duration. (The
can be effectively used for protect- cutting its connecting wires, the combination of capacitor C1 and resistor
ing your expensive car audio system optocoupler immediately turns off, as its R5 acts as the differentiating circuit.)
against theft. LED cathode terminal is hanging. As a As a result, buzzer in the collector
When 12V DC from the car battery is result, the oscillator circuit built around terminal of T1 beeps for a short duration
to announce that
the security cir-
cuit is intact.
This on period
of buzzer can be
varied by chang-
ing the values of
capacitor C1
and/or resistor
R5.
After con-
struction, fix the
LED and buzzer
in dashboard as
per your re-
quirement and
hide switch S1
applied to the gadget (as indicated by gates N2 and N3 is enabled and it con- in a suitable location. Then connect lead
LED1) through switch S1, the circuit goes trols the on/off timings of the relay via A to the body of car stereo (not to the
into standby mode. LED inside transistor T2. (Relay contacts can be used body of vehicle) and lead B to its positive
optocoupler IC1 is lit as its cathode ter- to energise an emergency beeper, indica- lead terminal. Take power supply for the
minal is grounded via the car audio (am- tor, car horns, etc, as desired.) circuit from the car battery directly.
plifier) body. As a result, the output at Different values of capacitor C2 give Caution. This design is meant for car
pin 3 of gate N1 goes low and disables different on/off timings for relay RL1 to audios with negative ground only.
the rest of the circuit. be on/off. With 100F we get approxi-

ELECTRONICS FOR YOU  JULY 2001


Audio-Visual Extra of the resistors and capacitors may be
carried out to obtain desired pleasing
tone.

Ringer for Phone Working of the circuit is quite simple.


The bell signal, approximately 75V AC,
passes through capacitor C1 and resistor
R2 and appears across the diode bridge

M
any a times one needs an ex- 8-pin mini DIP pack. comprising diodes D1 to D4. The rectified
tra telephone ringer in an ad- Resistor R3 is used for bell sensitiv- DC output is smoothed by capacitor C2.
joining room to know if there ity adjustment. The bell frequency is The dual-tone ring signal is output from
is an incoming call. For example, if the controlled by resistor R5 and capacitor pin 8 of IC1 and its volume is adjusted
telephone is installed in the drawing C4, and the repetition rate is controlled by volume control VR1. Thereafter, it is
room you may need an extra ringer in the by resistor R4 and capacitor C3. A little impressed on the piezo-ceramic sound
bedroom. All that needs to be done is to experimentation with the various values generator.
connect the given circuit in parallel with
the existing telephone lines using twin
flexible wires.
This circuit does not require any ex-
ternal power source for its operation. The
section comprising resistor R1 and diodes
D5 and LED1 provides a visual indication
of the ring. Remaining part of the circuit
is the audio ringer based on IC1 (BA8204
or ML8204). This integr- ated circuit,
specially designed for telec- om application
as bell sound generator, requires very few
external parts. It is readily available in

ELECTRONICS PROJECTS Vol. 20


CIRCUIT IDEAS

Dual-Channel Digital mum count being 15 (all outputs logic


1) and minimum count being 0 (all out-
puts logic 0), it results in maximum and

Volume Control . DH
ILLO
N
minimum volume respectively.
The active high outputs A, B, C and
D of the counter are used for control-
ling two quad bi-polar analogue switches
A.P.S in each of the two CD4066 ICs (IC3 and
SHEENA K. IC4). Each of the output bits, when high,
short a part of the resistor network com-

T
his circuit could be used for re- quency pulses to up/down clock input prising series resistors R6 through R9
placing your manual volume con- pins of pre-setable up/down counter for one channel and R10 through R13
trol in a stereo amplifier. In this 74LS193 (IC2) via push-to-on switches for the other channel,
circuit, push-to-on switch S1 controls the S1 and S2. To vary the pulse width of and thereby control the output of the
forward (volume increase) operation of pulses from IC1, one may replace tim- audio signals being fed to the inputs of
both channels while a similar switch ing resistor R1 with a variable resistor. stereo amplifier. Push-to-on switch S3
S2 controls reverse (volume decrease) Operation of switch S1 (up) causes is used for resetting the output of
operation of both channels. the binary output to increment while counter to 0000, and thereby turning
Here IC1 timer 555 is configured as operation of S2 (down) causes the bi- the volume of both channels to the mini-
an astable flip-flop to provide low-fre- nary output to decrement. The maxi- mum level.

ELECTRONICS FOR YOU n  AUGUST '99


CIRCUIT IDEAS

Infrared Cordless gauge or thicker wires) are used for con-


nection to TV side while high-imped-
ance windings are connected to IR trans-

Headphone G.S.
SAG
OO
mitter. This IR transmitter can be pow-
ered from a 9-volt mains adapter or bat-
tery. Red LED1 in transmitter circuit
functions as a zener diode (0.65V) as
PRADEEP G. well as supply-on indicator.
IR receiver uses 3-stage transistor
amplifier. The first two transistors (T4

U
sing this low-cost project one possible. Range can be extended by and T5) form audio signal amplifier
can reproduce audio from TV using lenses and reflectors with IR sen- while the third transistor T6 is used to
without disturbing others. It sors comprising transmitters and re- drive a headphone. Adjust potmeter VR2
does not use any wire connection be- ceivers. for max. clarity.
tween TV and headphones. In place of IR transmitter uses two-stage tran- Direct photo-transistor towards IR
a pair of wires, it uses invisible infra- sistor amplifier to drive two series-con- LEDs of transmitter for max. range. A
red light to transmit audio signals from nected IR LEDs. An
audio out-
put trans-
former is
used (in re-
verse) to
couple audio
output from
TV to the IR
transmitter.
Transistors
T1 and T2
amplify the
audio sig-
nals re-
ceived from
TV to headphones. Without using any TV through the audio transformer. Low- 9-volt battery can be used with receiver
lens, a range of up to 6 metres is impedance output windings (lower for portable operation.

ELECTRONICS FOR YOU n  AUGUST '99


Auto Reset Over/Under
Voltage Cut-Out
J. Gopalakrishnan

T
his over/under voltage cut-out very low mains voltages. inside 555 timer ICs. Supply is tapped
will save your costly electrical The circuit features auto reset and from different points of the power sup-
and electronic appliances from utilises easily available components. It ply circuit for relay and control circuit
the adverse effects of very high and makes use of the comparators available operation to achieve reliability.

7 is therefore serving that LED2 just extinguishes


off. The out- when the mains voltage is slightly
put (at pin 3) less than 270V AC. With RESET
reverses (goes pin 4 of IC2 high, the output pin 3 is
low) when pin also high. As a result transistor T2
2 is taken more conducts and energises relay RL1,
positive than connecting load to power supply via
1/3 Vcc. At the its N/O contacts. This is the situation
same time pin as long as mains voltage is greater
7 goes low (as than 160V AC but less than 270V AC.
Q output of in- When mains voltage goes beyond
ternal flip-flop 270V AC, it causes output pin 3 of
is high) and IC2 to go low and cut-off transistor T2
the ED con- and de-energise relay RL1, in spite of
nected to pin 7 RESET pin 4 still being high. When
is lit. Both tim- mains voltage goes below 160V AC,
ers (IC1 and IC1s pin 3 goes high and LED1 is
IC2) are config- extinguished. The high output at pin 3
The circuit utilises comparator 2 ured to function in the same fashion. results in conduction of transistor T1.
for control while comparator 1 output Preset VR1 is adjusted for under As a result collector of transistor T1
(connected to reset pin R) is kept low voltage (say 160 volts) cut-out by ob- as also RESET pin 4 of IC2 are pulled
by shorting pins 5 and 6 of 555 IC. The serving that LED1 just lights up when low. Thus output of IC2 goes low
positive input pin of comparator 2 is mains voltage is slightly greater than and transistor T2 does not conduct.
at 1/3rd of Vcc voltage. Thus as long as 160V AC. At this setting the output at As a result relay RL1 is de-energised,
negative input pin 2 is less positive pin 3 of IC1 is low and transistor T1 is which causes load to be disconnected
than 1/3 Vcc, comparator 2 output is in cut-off state. As a result RESET pin from the supply. When mains volt-
high and the internal flip-flop is set, 4 of IC2 is held high since it is connect- age again goes beyond 160V AC (but
i.e. its Q output (pin 3) is high. At ed to Vcc via 100 kilo-ohm resistor R4. less than 270V AC) the relay again
the same time pin 7 is in high imped- Preset VR2 is adjusted for over energises to connect the load to power
ance state and LED connected to pin voltage (say 270V AC) cut-out by ob- supply.

128 ELECTRONICS PROJECTS Vol. 20


CIRCUIT IDEAS

AUTO SHUT-OFF FOR CASSETTE tween the noise and the signal. Resistor
R4 offers feedback resistance to control
the gain of the opamp. By increasing or

PLAYERS AND AMPLIFIERS


decreasing the value of resistor R4, the
MAR gain can be increased or decreased, re-
IL KU
SUN spectively. The preset time delay of timer
NE555 (which is about one minute) can
ARTHUR LOUIS be increased by increasing the value
of C4.

H
ere are two simple, low-cost cir- interrupt the power supply. Initial energisation of relay RL2 and
cuits that can be used to shut The other circuit, shown in Fig. 2, charging of capacitor C4 take place on
off the mains supply to any au- functions on the basis of the signal re- depression of switch S3 in the same man-
dio or video equipment (such as tape re- ceived from preamp of the appliance used. ner as charging of capacitor C1 (refer Fig.
corder, CD player, and amplifier). These In this circuit, opamp A741 is wired in 1) on depression of switch S1. As a re-
circuits are helpful to those in the habit inverting opamp configuration. It ampli- sult, pins 2 and 6 of NE555 go high and
of falling asleep with their music system fies the signal received from the preamp. the output of timer goes low to switch off
on. Timer NE555 is used to provide the nec- mains supply from the relay to step-down
The circuits will also protect the equip- essary time delay of about one minute. transformer X2 of the appliance. Bleeder
ment from getting damaged due to high- Preset VR1 is used to control the sen- resistor R6 is used to discharge capacitor
voltage spikes whenever there is a re- sitivity of the circuit to differentiate be- C4. Now if signals are received from the
sumption of power after a break. This is
possible because the equipment will get
switched off automatically under such con-
ditions but will not get switched on auto-
matically on resumption of mains supply.
The circuit in Fig. 1 can be used to
shut off any cassette player that has a
reliable auto-stop mechanism. Whenever
switch S1 is pressed momentarily, it ex-
tends the supply to the step-down trans-
former of the tape recorder and charges
capacitor C1 through diode D1. This, in
turn, makes transistor T1 conduct and
energise relay RL1 to provide a parallel
path to switch S1, so that supply to the
step-down transformer continues even
when switch S1 is released.
When any button on the cassette
player is pressed, the capacitor charges
through diode D2. This ensures conduc-
tion of transistor T1 and thus the conti-
nuity of operation of cassette player. How-
ever, whenever the auto-stop mechanism
functions at the end of a tape, the leaf
switch gets opened. This cuts the charg-
ing path for the capacitor and it starts
discharging slowly. After about one
minute, the relay opens and interrupts
main power to the transformer. The time
delay can be increased by increasing the
value of capacitor C1.
If the appliance used is a two-in-one
type (e.g. cassette player-cum-radio), just
connect another diode in parallel with di-
odes D1 and D2 to provide an additional
path for charging capacitor C1 via the
tape-to-radio changeover switch, so that
when radio is played the relay does not

ELECTRONICS FOR YOU  APRIL 2001


CIRCUIT IDEAS

preamplifier, these are amplified by 741 the mains supply to transformer X2. driven from the preamplifier of the gad-
and fed to the base of transistor T2, which Switch S2 can be depressed momentarily get used, and not from its power ampli-
keeps capacitor C4 charged through re- if the device needs to be manually fier output. Switches S1 and S2 are 2-
sistor R5. When there is no signal, T2 switched off. pole push-to-on switches. These can also
will not conduct and the capacitor slowly Note. The 12V supply should be pro- be fabricated from 2-pole on-off switches,
discharges through R6. The output of 555 vided to the circuit from the equipments which are widely used in cassette play-
goes high to switch off the relay and thus power supply. Opamp 741 should be ers, by removing the latch pin from them.

ELECTRONICS FOR YOU  APRIL 2001


Automatic Dual-
output Display
T
his circuit lights up ten bulbs an oscillator. The output of this oscillator During count up operation, pin 7 of IC2
sequentially, first in one direction is used as a clock for BCD up/down coun- outputs an active low pulse on reaching
and then in the opposite direction, ter CD4510 (IC2). the ninth count. Similarly, during count-
thus presenting a nice visual effect. Depending on the logic state at its down operation, you again get a low-going
In this circuit, gates N1 and N2 form pin 10, the counter counts up or down. pulse at pin 7.

This terminal count output from pin Initially, pin 3 (Q0) of IC3 is high nected to 1-of-10 decoder CD4028 (IC4).
7, after inversion by gate N3, is con- and the counter is in count-up state. On During count-up operation of IC2, the
nected to clock pin 14 of decade counter reaching ninth count, pin 3 of IC3 goes outputs of IC4 go logic high sequentially
IC3 (CD4017) which is configured here low and as a result IC2 starts counting from Q0 to Q9 and thus trigger the tri-
as a toggle flip-flop by returning its Q2 down. When the counter reaches 0 count, acs and lighting bulbs 1 through 10,
output at pin 4 to reset pin 15. Thus Q2 output of IC3 momentarily goes high to one after the other. Thereafter, during
output at pin 3 of IC3 goes to logic 1 and reset it, thus taking pin 3 to logic 1 state, count-down operation of IC2, the bulbs
logic 0 state alternately at each terminal and the cycle repeats. light in the reverse order, presenting a
count of IC2. The BCD outputs of IC2 are con- wonderful visual effect.

ELECTRONICS PROJECTS Vol. 20


CIRCUIT
IDEAS

AUTOMATIC EMERGENCY LIGHT S.C. DW


IVEDI

 PRIYANK MUDGAL stepped down by transformer X1, rec- former output is fed to the collector of
tified by a full-wave rectifier compris- transistor T1, which provides a fixed

T
his emergency light has the ing diodes D1 and D2, filtered by ca- bias voltage of 6.8V to charge the bat-
following two advantages: pacitor C1 and fed to relay coil RL1. tery. When the battery is fully charged,
1. It turns on automatically The relay energises to connect the bat- the battery voltage becomes equal to
the breakdown voltage
of the zener diode
(ZD1). Zener diode ZD1
conducts to provide an
alternative path for the
current to ground and
battery charging stops.
When mains fails,
relay RL1 de-energises.
The battery now gets
connected to the white
LED array (comprising
LED1 through LED6)
through current-limit-
ing resistor R2. The
when the mains power fails, so you tery to the charging circuit through its LEDs glow to light up the room. To
need not search it in the dark. normally-opened (N/O) contacts. Free- increase the brightness in your room,
2. Its battery starts charging as soon wheeling diode D3 acts as a spike you can increase the number of white
as the mains resumes. buster for the relay. LEDs after reducing the value of resis-
Operation of the circuit is quite The charging circuit is built around tor R2 and also use a reflector assem-
straightforward. Mains supply is npn transistor BD139 (T1). The trans- bly. 

114 MARCH 2007 ELECTRONICS FOR YOU WWW.EFYMAG.COM


AUTOMATIC EMERGENCY TORCH
J
ust dont think that this is yet
another addition to other emer-
gency light circuits published in
EFY earlier. This circuit is a hit different.
Its main features are:
1. Very reliable operation.
2. As transformer is not used, it is
compact and cost-effective.
3. The torch bulb glows automatically
at power off and goes out on restoration
of power.
4. Since Ni-Cd battery is used, no
maintenance is required. Also, battery life
is very long, nearly 4-5 years (though this
depends on frequency of usage and also on
ampere-hour rating of the battery used).
Sounds interesting, doesnt it? Read on
then. The circuit is very simple, compris- charges the battery through resistor R4 and 3. Collector voltage must be 2.0V
ing just a handful of components. This LED D5 combination at about 50mA rate. to 2.2V, i.e. nearly equal to the battery
implies that the circuit operation also is The glowing LED (D5) also gives an indica- voltage.
very simple. The circuit consists of two tion of mains presence. Further, due to the All above voltages should be checked
parts: LED (D5), base of transistor T1 is about with AC mains off. If any of the above-
1. Power supply for charging the Ni- 1.6V (drop across D5) more positive than its mentioned voltages is absent it indicates
Cd battery. emitter. This voltage is more than sufficient that the transistor is bad and it should be
2. Switchover circuit which detects to keep the transistor at cut-off. replaced by a good one.
mains failure and switches the bulb on. As soon as the mains voltage fails, the Here is a word of caution now. Since
In the power supply section, capacitors base of transistor T1 is pulled low through the circuit is not isolated from AC mains. it
C1 and C2 function as non-dissipating, re- resistor R3 which drives transistor T1 to may be hazardous to touch any component
active impedances which limit the current saturation thereby turning the bulb on. when the mains supply is on, especially
to a safe value. With the values of capaci- Since the transistor is in its saturated if the supply wires (live and neutral) get
tors as shown, the maximum current that state, the voltage drop across it is very interchanged. It is strongly recommended
can be drawn is limited to about 70 mA low. Hence the bulb glows with full bril- to use an all-plastic enclosure (including
at 230V AC. Resistor R2 limits the initial liance. The bulb can be switched off by the reflector for the bulb) for the circuit.
surge current and resistor R1 assists in the ON/OFF switch, when not required. Also the ON/OFF switch used should have
discharging the capacitors after switch off. With this bulb (2.2V, 250mA) the torch can a plastic lever. Take proper care and pre-
Diodes D1 through D4 form a conventional work continuously for about two hours. cautions while building, testing and using
bridge rectifier while capacitor C3 is the The batteries should be charged for about the circuit, and never ever allow the supply
filter capacitor. Fuse F1 is for protection 14 hours after they are discharged. wires to interchange. It is advisable to pro-
and is very helpful in the event of any You can verify following voltages in vide a plug for the mains input on the box
component giving up the ghost. This sup- the circuit: itself so that it can be plugged directly into
ply charges the battery as long as mains 1. Base voltage of the transistor must a mains outlet. This reduces the chances of
is present. be 1.8V to 2.0V, i.e. about 0.6V less than mains supply wires getting interchanged.
In the switchover section, transistor the battery voltage. With proper precautions and a little
T1 is used as switch. Normally, when AC 2. Emitter voltage must be equal to the care, it is hoped that this small circuit will
mains supply is present, the rectifier output battery voltage. help make life a bit more comfortable.

178 ELECTRONICS PROJECTS Vol. 19


CIRCUIT IDEAS

AUTOMATIC HEAT DETECTOR IVEDI


lay is in energised state. LED1, con-
nected in series with 68-ohm resistor
R1 across resistor R4, glows when the
DW
SUKANT KUMAR BEHARA S.C. siren is on.
To test the working of the cir-

T
his circuit uses a complementary Pin Designation Sound Effect cuit, bring a burning matchstick
pair comprising npn metallic SEL1 SEL2 close to transistor T1 (BC109),
transistor T1 (BC109) and pnp No Connection No Connection Police Siren which causes the resistance of its
germanium transistor T2 (AC188) to de- +3V No Connection Fire Engine Siren emitter-collector junction to go low
tect heat (due to outbreak of fire, etc) Ground No Connection Ambulance Siren due to a rise in temperature and it
in the vicinity and energise a siren. The Do not care +3V Machine Gun starts conducting. Simultaneously,
collector of transistor T1 is connected transistor T2
to the base of transistor T2, while the also conducts be-
collector of transistor T2 is connected cause its base is
to relay RL1. connected to the
The second part of the circuit com- collector of tran-
prises popular IC UM3561 (a siren and sistor T1. As a
machine-gun sound generator IC), which result, relay RL1
can produce the sound of a fire-brigade energises and
siren. Pin numbers 5 and 6 of the IC switches on the
are connected to the +3V supply when siren circuit to
the relay is in energised state, whereas produce loud
pin 2 is grounded. A resistor (R2) con- sound of a fire-
nected across pins 7 and 8 is used to fix brigade siren.
the frequency of the inbuilt oscillator. Lab note.
The output is available from pin 3. We have added a
Two transistors BC147 (T3) and sound from UM3561. Resistor R4 in se- table to enable readers to obtain all pos-
BEL187 (T4) are connected in ries with a 3V zener is used to provide sible sound effects by returning pins 1
Darlington configuration to amplify the the 3V supply to UM3561 when the re- and 2 as suggested in the table.

ELECTRONICS FOR YOU  MARCH 2001


Automatic Room Power
Control
A
n 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 auto-
matically 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 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 in-
stalled in such a way that when a person
enters or leaves the room, he intercepts
the light falling on them sequentiallyone
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 fall-
ing on both the LDRs, and as such their
resistance is low (about 5 kilo-ohms). As a

ELECTRONICS PROJECTS Vol. 20


result, pin 2 of both timers (IC1 and IC2), pair T1-T2 conducts because capacitor C5 through N4) are ANDed by AND gates
which have been configured as monostable retains the charge for some time as its (A1 through A4) and then wire ORed
flip-flops, are held near the supply voltage discharge time is controlled by resistor (using diodes D5 through D8). The net
(+9V). R5 (and R7 to an extent). Thus green LED effect is that when persons are entering,
When the light falling on the LDRs portion of bi-colour LED is lit momentar- the output of at least one of the AND
is obstructed, their resistance becomes ily. gates is high, causing transistor T5 to
very high and pin 2 voltages drop to near The same output is also coupled to IC3 conduct and energise relay RL1. The bulb
ground potential, thereby triggering the for which it acts as a clock. With entry of connected to the supply via N/O contact of
flip-flops. Capacitors across pin 2 and each person IC3 output (high state) keeps relay RL1 also lights up.
ground have been added to avoid false advancing. At this stage transistor pair When persons are leaving the room,
triggering due to electrical noise. T3-T4 cannot conduct because output pin and till all the persons who entered the
When a person enters the room, 3 of IC1 is no longer positive as its output room have left, the wired OR output
LDR1 is triggered first and it results in pulse duration is quite short and hence continues to remain high, i.e. the bulb
triggering of monostable IC1. The transistor collectors are in high imped- continues to remains on, until all persons
short output pulse immediately charges ance state. who entered the room have left.
up capacitor C5, forward biasing transis- When persons leave the room, LDR2 The maximum number of persons
tor pair T1-T2. But at this instant the is triggered first, followed by LDR1. that this circuit can handle is limited to
collectors of transistors T1 and T2 are in Since the bottom half portion of circuit is four since on receipt of fifth clock pulse
high impedance state as IC2 pin 3 is at low identical to top half, this time, with the the counters are reset. The capacity of
potential and diode D4 is not conducting. departure of each person, red portion of bi- the circuit can be easily extended to
But when the same person pass- colour LED is lit momentarily and output handle up to nine persons by removing
es LDR2, IC2 monostable flip-flop is of IC4 advances in the same fashion as in the connection of pin 1 from reset pin (15)
triggered. Its pin 3 goes high and this case of IC3. and utilising Q1 to Q9 outputs of CD4017
potential is coupled to transistor pair The outputs of IC3 and those of IC4 counters. Additional inverters, AND gates
T1-T2 via diode D4. As a result transistor (after inversion by inverter gates N1 and diodes will, however, be required.

ELECTRONICS PROJECTS Vol. 20


AUTOMATIC SPEED-CONTROLLER
FOR FANS AND COOLERS
D
uring summer nights, the tem- shall get AC supply directly, and so it shall high, while at low speed, it will run for a
perature is initially quite high. run at top speed. When output Q2 becomes much longer time period when any of the
As time passes, the temperature high and Q1 becomes low, relay RL1 is four outputs Q5 through Q8 is high.
starts dropping. Also, after a person falls turned off and relay RL2 is switched on. If one wishes, one can make the fan
asleep, the metabolic rate of ones body The fan gets AC through a resistance and run at the three speeds for an equal amount
decreases. Thus, initially the fan/cooler its speed drops to medium value. This con- of time by connecting three decimal
needs to be run at full speed. As time tinues until output Q4 is high. When Q4 decoded outputs of IC3 to each of the
passes, one has to get up again and again goes low and Q5 goes high, relay RL2 is transistors T1 to T3. One can also get
to adjust the speed of the fan or the cooler. switched off and relay RL3 is activated. more than three speeds by using an
The device presented here makes the The fan now runs at low speed. additional relay, transistor, and associated
fan run at full speed
for a predetermined
time. The speed is
decreased to medium
after some time, and
to slow later on. Af-
ter 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

Throughout the process, pin


11 of the IC3 is low, so T4 is cut
off, thus keeping T5 in satura-
tion and RL4 on. At the end of
the cycle, when pin 11 (Q9) be-
comes high, T4 gets saturated
and T5 is cut off. RL4 is switched
off, thus switching off the fan/
cooler.
divide-by-10 and divide-by-9 counters, Using the circuit described above, the components, and connecting one or more
respectively. The values of capacitor C1 fan shall run at high speed for a com- outputs of IC3 to it.
and resistors R1 and R2 are so adjusted paratively lesser time when either of Q0 In the motors used in certain coolers
that the final output of IC3 goes high or Q1 output is high. At medium speed, it there are separate windings for separate
after about eight hours. will run for a moderate time period when speeds. Such coolers do not use a rheostat
The first two outputs of IC3 (Q0 and any of three outputs Q2 through Q4 is type speed regulator. The method of
Q1) are connected (ORed) via diodes D1 connection of this device to such coolers is
and D2 to the base of transistor T1. Ini- given in Fig. 4.
tially output Q0 is high and therefore The resistors in Figs 2 and 3 are the
relay RL1 is energised. It remains tapped resistors, similar to those used in
energised when Q1 becomes high. The manually controlled fan-speed regulators.
method of connecting the gadget to the Alternatively wire-wound resistors of
fan/cooler is given in Figs 3 and 4. suitable wattage and resistance can be
It can be seen that initially the fan used.

194 ELECTRONICS PROJECTS Vol. 21


AUTOMATIC TEMPERATURE
CONTROLLED FAN
H
ere is a circuit through which the D1 combination is used for generating power delivered to fan (load).
speed of a fan can be linearly con- reference voltage as we want to am- The circuit has a high sensitivity and
trolled automatically, depending plify only change in voltage due to the the output RMS voltage (across load) can
on the room temperature. The circuit is change in temperature. be varied from 120V to 230V (for a temp.
highly efficient as it uses thyristors for Op-amp A741 (IC2) works as a range of 22C to 36C), and hence wide
power control. Alternatively, the same comparator. One input to the compara- variations in speed are available. Also
circuit can be used for automatic tempera- tor is the output from the instrumen- note that speed varies linearly and not
ture controlled AC power control. tation amplifier while the other input in steps. Besides, since an optocoupler is
In this circuit, the temperature sensor is the stepped down, rectified and used, the control circuit is fully isolated
used is an NTC thermistor, i.e. one having suitably attenuated sample of AC volt- from power circuit, thus providing added
a negative temperature coefficient. The age. This is a negative going pulsating safety. Note that for any given tempera-
value of thermistor resistance at 25C is DC voltage. It will be observed that ture the speed of fan (i.e. voltage across
about 1 kilo-ohm. with increase in temperature, pin 2 of load) can be adjusted to a desired value
Op-amp A1 essentially works as IC2 goes more and more negative and by adjusting potmeters VR1 and VR2
I to V (current-to-voltage) converter hence the width of the positive going appropriately.
and converts temperature variations output pulses (at pin 6) increases lin- Potmeter VR1 should he initially kept
into voltage variations. To amplify early with the temperature. Thus IC2 in its mid position to realise a gain of ap-
the change in voltage due to change in functions as a pulse width modulator proximately 40 from the instrumentation
temperature, instrumentation ampli- in this circuit. The output from the amplifier. It may be subsequently trimmed
fier formed by op-amps A2, A3 and A4 comparator is coupled to an optocou- slightly to obtain linear variation of the
is used. Resistor R2 and zener diode pler, which in turn controls the AC fan speed.

ELECTRONICS PROJECTS Vol. 19 189


blown fuse indicator
G
enerally, when an equipment in- second arm it is only 2V. So current flows (see Fig. 2). An optocoupler is used to
dicates no power, the cause may through the second arm, i.e. through the trigger the siren. When the fuse blows, red
be just a blown fuse. Here is a green LED, causing it to glow; whereas LED glows. Simultaneously it switches
circuit that shows the condition of fuse the red LED remains off. on the siren.
through LEDs. This compact circuit is When the fuse blows off, the supply In place of a bicolour LED, two LEDs
very useful and reliable. It uses very few to green LED gets blocked, and because of red and green colour can be used.
components, which makes it inexpensive only one LED is in the circuit, the red LED Similarly, only one diode in place of D1
too. glows. In case of power failure, both LEDs and D2 may be used. Two diodes are used
Under normal conditions (when fuse remain off. to increase the voltage drop, since the
is alright), voltage drop in first arm This circuit can be easily modified to two LEDs may produce different voltage
is 2V + (2 x 0.7V) = 3.4V, whereas in produce a siren in fuse-blown condition drops.

12 ELECTRONICS PROJECTS Vol. 22


CD-ROM Drive as Digital
-audio CD-Player
A
CD-ROM drive can be used as a
stand-alone unit for playing dig-
ital audio CDs without interfacing
with a computer. The stereo output of
CD player available at the audio jack
can be amplified using audio input fa-
cility which is normally available on a
tape-deck/tape-recorder or a stereo
amplifier. Audio socket on front/rear of
the CD-ROM drive is capable of driving
headphones or speakers of less than 500
mW. Proper stereo jacks for interconnec-
tion between CD-ROM drive and tape
deck are available from computer/tape
recorder spares vendors. The principle of
operation is illustrated here with the help
of block diagram.
The 4-pin power supply socket avail-
able at the rear of a CD-ROM player is
meant for +5V, ground (two middle pins)
and +12V inputs. The power supply can be since it has self-contained power supply is routed using a yellow wire and
easily derived using a conventional power circuit inside. for +5V a red wir is used, while for
supply circuit as shown in the figure. If While there may be minor differ- ground black wires are used with the sup-
you have an external CD-ROM drive, it ences amongst the available CD-ROM ply connector.
can be simply plugged into the mains drives external controls, a typical Once the power supply has been
drives controls are shown in connected correctly, you will notice
the figure here. Please ensure that LED indicator on the drive starts
that a proper power supply con- flashing. Now the digital audio CD can
nector available from computer be loaded after pushing the eject but-
spare parts vendor is used for ton. A second push of the same button
connection to CD-ROM drive. causes retraction of CD carriage into the
To identify +5V and +12V pins drive. One can change the track (song)
on the drive connector, please on the CD using play switch on the
note that in the computer +12V CD-ROM drive.

ELECTRONICS PROJECTS Vol. 20


circuit
ideas

Drinking Water Alarm s.c. dwiv


edi

Dr C.H. Vithalani

T
he State Jal Boards supply
water for limited duration in a
day. Time of water supply is
decided by the management and the
public does not know the same. In such
a situation, this water alarm circuit will
save the people from long wait as it
will inform them as soon as the water
supply starts.
At the heart of this circuit is a
small water sensor. For fabricating
this water sensor, you need two
foilsan aluminium foil and a plastic
foil. You can assemble the sensor by
rolling aluminium and plastic foils
in the shape of a concentric cylinder.
Connect one end of the insulated
flexible wire on the aluminium foil
and the other end to resistor R2. Now work only when water flows through from the tap. The circuit works off a 9V
mount this sensor inside the water the water tap and completes the cir- battery supply.
tap such that water can flow through cuit connection. It oscillates at about Assemble the circuit on any gen-
it uninterrupted. To complete the 1 kHz. The output of the timer at pin eral-purpose PCB and house in a
circuit, connect another wire from 3 is connected to loudspeaker LS1 via suitable cabinet. The water sensor is
the junction of pins 2 and 6 of IC1 to capacitor C3. As soon as water starts inserted into the water tap. Connect
the water pipeline or the water tap flowing through the tap, the speaker the lead coming out from the junc-
itself. starts sounding, which indicates re- tion of 555 pins 2 and 6 to the body of
The working of the circuit is sim- sumption of water supply. It remains the water tap. Use on/off switch S1
ple. Timer 555 is wired as an astable on until you switch off the circuit to power the circuit with the 9V PP3
multivibrator. The multivibrator will with switch S1 or remove the sensor battery.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u m a r c h 2 0 0 8 1 0 5
CIRCUIT IDEAS

FLASHING BEACON S.C.


DWI
VED
I

ASHOK K. DOCTOR the figure. The IC is pro-


vided with an aluminium

A
flashing beacon has many uses. It heat-sink to dissipate the
can be employed as a distress sig- heat generated while deliv-
nal on highways or as a direction ering full current. Since the
pointer for parking lots, hospitals, hotels, IC has an inbuilt switch-on
etc. Here we present a flashing beacon current limiter, it extends
that uses well-known regulator IC LM317T. the bulb life.
As LM317T regulator can deliver more than For the shown values
1 amp. A small 12V, 10W bulb with a of resistors and capacitors,
high-quality reflector can serve as a good the bulb flashes at approxi-
visible blinker. mately 4 cycles per second.
A 12-15V, 1A DC supply is connected The number of flashes de-
to the input pin of the IC. A 12V, 10W pends on the charge-dis-
bulb and a combination of resistors and charge time of the capaci-
capacitors are connected between the out- tors. Different values of resistors and ca- crease the number of flashes.
put pin and ADJ pin of the IC as shown in pacitors can be used to increase or de- This circuit costs around Rs 50.

NOVEMBER 2002 ELECTRONICS FOR YOU


circuit
ideas

GLOW PLUG CONTROLLER s.c. dwiv


edi

T.A. Babu charges capacitor C1 rapidly via resis-


tor R1. When the voltage on capacitor

I
n diesel engines, the air in the C1 exceeds the threshold voltage of the glow plug gets the power supply
cylinders is not hot enough to the gate (G) of MOSFET T1, it starts through its contact.
ignite the fuel under cold condi- charging reservoir capacitor C2 and The red LED (LED1) indicates that
tions. Therefore each cylinder of these simultaneously energises relay RL1. the heating process of glow plugs is

Fig. 2: Pin configurations of bs170


and bc548

on. When the on time is over,


the green LED (LED2) turns on
for a while, followed by a short
beep from the buzzer, which in-
dicates that the engine is ready
Fig. 1: Glow plug controller
for starting. Glow plugs draw a
heavy current, hence high-cur-
engines is fitted with an electric heater MOSFET T1 remains conducting as rent-rating contacts of an automotive
known as glow plug. A control circuit long as the voltage on C1 is greater relay are required.
is necessary to optimise the functioning than the threshold voltage of the MOS- Assemble the circuit on any gen-
of glow plugs. It raises the air tem- FET gate. eral-purpose PCB and house in a
perature inside the engine cylinder for The on time period depends on suitable case. Connect the glow plug
quick and reliable starting, extended the value of capacitor C1 and resistor wire to the relay contact. 12V battery
battery life and reduced diesel con- R2, which govern the discharge current already available with the vehicle is
sumption. of capacitor C2. The component values used to power the circuit. Connect
The glow plug controller (Fig. 1) given here will produce on time of the piezobuzzer and LED1 and LED2
uses a simple timer circuit built around around 25 seconds. In effect, when you through an external connection and
MOSFET T1 for reliability and simplic- press switch S2 momentarily, the relay place it at a convenient location for the
ity. Momentary pushing of switch S2 energises for about 25 seconds and driver to operate.

1 0 4 m a r c h 2 0 0 8 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
CIRCUIT IDEAS

KNOCK ALARM SUN


IL KU
MAR

PRADEEP G. circuit. When someone knocks on the


door, the piezoelectric sensor gener-

T
his circuit (Fig. 1), used in conjunc- ates an electrical signal, which is am-
tion with a thin piezoelectric plate, plified by transistors T1 through T3.
senses the vibration generated on The amplified signal is rectified
knocking a surface (such as a door or a and filtered to produce a low-level
table) to activate the alarm. It uses readily- DC voltage, which is further ampli-
available, low-cost components and can fied by the remaining transistors. The
also be used to safeguard motor vehicles. final output from the collector of pnp
The piezoelectric plate is used as the sen- transistor T6 is applied to reset pin 4
sor. It is the same as used in ordinary of 555 (IC1) that is wired as an Fig. 2: Proposed installation of knock alarm

Fig. 1: The circuit of knock alarm


piezobuzzers and is easily available in the astable multivibrator. Whenever the col- time that capacitor C5 connected between
market. lector of transistor T6 goes high, the astable the emitter of transistor T4 and ground
The piezoelectric plate can convert any multivibrator activates to sound an alarm takes to discharge after a knock. The time
mechanical vibration into electrical varia- through the speaker. The value of resistor delay can be changed by changing the
tion. As it doesnt sense sound from a dis- R12 is chosen between 220 and 680 ohms value of capacitor C5. After about 10 sec-
tance like a microphone, it avoids false such that IC1 remains inactive in the ab- onds, the alarm is automatically reset.
triggering. The plate can be fixed on a door, sence of any perceptible knock. The circuit operates off a 9V or a 12V
cash box, cupboard, etc using adhesive. A 1- When the circuit receives an input sig- battery eliminator. The proposed installa-
1.5m long, shielded wire is connected be- nal due to knocking, the alarm gets acti- tion of the knock alarm is shown in Fig. 2.
tween the sensor plate and the input of the vated for about 10 seconds. This is the This circuit costs around Rs 75.

ELECTRONICS FOR YOU NOVEMBER 2002


CIRCUIT
IDEAS

MEDIUM-POWER S.C. DW
IVEDI

FM TRANSMITTER
PRADEEP G. in RF stages as oscillator.) The third tenna. For the
stage is a class-A tuned amplifier that maximum range,

T
he range of this FM transmi- boosts signals from the oscillator. Use use a sensitive re-
tter is around 100 metres at 9V of the additional RF amplifier increases ceiver. VC1 is a
DC supply. the range of the transmitter. frequency-adjust-
The circuit comprises three stages. Coil L1 comprises four turns of ing trimpot. VC2
The first stage is a microphone pream- 20SWG enamelled copper wire wound should be adjusted
plifier built around BC548 transistor. to 1.5cm length of a 4mm dia. air core. Fig. 2: Pin for the maximum
configurations of
The next stage is a VHF oscillator wired Coil L2 comprises six turns of 20SWG transistors BC548
range. The trans-
around another BC548. (BC series tran- enamelled copper wire wound on a and C2570 mitter unit is pow-
sistors are generally used in low-fre- 4mm dia. air core.
quency stages. But these also work fine Use a 75cm long wire as the an-

Fig. 3: Walkie-talkie arrangement

ered by a 9V PP3 battery. It can be


combined with a readily available FM
receiver kit to make a walkie-talkie set
Fig. 1: FM transmitter as shown in Fig. 3. z

80 AUGUST 2005 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
CIRCUIT
IDEAS

PASAMY
MOBILE SHIELD MALAYAP

 D. MOHAN KUMAR greater sensitivity and enables the cir- lates. This produces chirping sound
cuit with hand capacitance effect. Out- from the buzzer and also makes the

P
rotect your mobile phone from put pulses from the oscillator are di- LED1 blink.
unauthorised use or theft using rectly given to trigger pin 2 of the The circuit can also be used as a
this simple circuit. It can gener- monostable. The monostable uses a mobile charger. It provides output of
ate a loud chirping sound when some- low-value capacitor C6, resistors R3 6V at 180 mA through regulator IC
body attempts to take away the mo- and preset VR1 for timing. 7806 (IC4) and resistor R5 for charg-
bile handset. The added feature is that The output frequency of the ing the mobile phone. Diode D3 pro-
the circuit also works as a mobile monostable is adjusted using preset tects the output from polarity rever-
charger. VR1 such that it is slightly less than sal.
The circuit is powered by a that of the astable. This makes the The circuit can be wired on a
step-down transformer X1 with recti- circuit standby, when there is no common PCB. Enclose it in a suitable
fier diodes D1 and D2 and filter ca- hand capacitance present. So in the case with provision for charger out-

pacitor C1. Regulator IC 7812 (IC1) standby mode, the astables output put leads. Make the protective shield
along with noise filter capacitors C2 will be low. This makes the trigger using 10cm10cm copper-clad board
and C3 provides regulated power sup- input of monostable low and output or aluminium sheet. Connect it to
ply. high. the circuit using a 15cm plastic wire.
The circuit utilises two NE555 The warning LED1 and buzzer are Leads of all capacitors should be
timer ICs: One as a simple astable connected such that they become ac- short.
multivibrator (IC2) and the second as tive only when the output of the Adjust VR1 slowly using a plastic
a monostable (IC3). The astable monostable sinks current. In the screwdriver until the buzzer stops
multivibrator has timing resistors R1 standby state, the LED1 remains off sounding. Bring the hand close to the
and R2 but no timing capacitor as it and the buzzer is silent. As somebody shield and adjust VR1 until the buzzer
works with stray capacitance. Its pins tries to take the mobile phone from sounds. With trial-and-error proce-
6 and 2 are directly connected to a pro- the protecting shield, his hand comes dure, set it for the maximum sensitiv-
tecting shield made up of 10cm10cm near the shield or makes contact with ity such that as soon the hand comes
copper-clad board. the shield, which introduces hand ca- near the shield, the buzzer starts
The inherent stray capacitance of pacitance in the circuit. As a result, the chirpring and the LED blinks. Instead
the circuit is sufficient to given an out- astables frequency changes, which of using the copper cladding for shield,
put frequency of about 25 kHz with makes the trigger pin of the a metallic mobile phone holder can be
R1 and R2. This arrangement provides monostable low and its output oscil- used as the shield. 

92 AUGUST 2007 ELECTRONICS FOR YOU WWW.EFYMAG.COM


circuit
ideas

Three-Phase Appliance Protector


R.G. Thiagaraj Kumar and four poles.
P. Kasi Rajan Relays RL1 and RL2 act as a
edi
sensing devices for phases Y and s.c. dwiv

M
any of our costly appliances B, respectively. These relays are
require three-phase AC sup- connected such that each acts as an
ply for operation. Failure enabling device for the subsequent
of any of the phases makes the appli- relay. Therefore the combination of mately four seconds, which energises
ance prone to erratic functioning and the relays forms a logical AND gate relay RL3 and its N/O contact closes
may even lead to failure. Hence it is connected serially. to connect the line to the energising
of paramount importance to moni- The availability of phase R en- coil of four-pole contactor relay RL4.
tor the availability of the three-phase ergises relay RL1 and its normally- Contactor RL4 closes to ensure the
supply and switch off the appliance opened (N/O) contacts close to availability of the three-phase sup-
in the event of failure of one or two connect phase Y to the input of ply to the appliance.
phases. The power to the appliance transformer X2. The availability of The rating of contactor RL4 can be
should resume with the availability of phase Y energises relay RL2 and its selected according to the full-load cur-
all phases of the supply with certain N/O contacts close to connect phase rent rating of the appliances. Here the
time delay in order to avoid surges and B to the input of transformer X3, thus contact current rating of the four-pole
momentary fluctuations. applying a triggering input to timer contactor is up to 32A. The availability
The complete circuit of a three- IC NE555 (IC1). of phases R, Y and B is monitored by
phase appliance protector is described Therefore the delay timer built appropriate LEDs connected across
here. It requires three-phase supply, around NE555 triggers only when the secondary windings of transform-
three 12V relays and a timer IC NE555 all the phases (R, Y and B) are avail- ers X1, X2 and X3, respectively. Hence
along with 230V coil contactor having able. It provides a delay of approxi- this circuit does not require a separate

8 8 au g u s t 2 0 0 8 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
indicator lamp for monitoring the phases by disconnecting the power mounted on the backside of cabinet.
availability of the three phases. When supply through the contactor and Connect the appliance through exter-
phase R is available, LED1 glows. automatically restores the three-phase nal wires.
When phase Y is available, LED2 supply to the appliance (with reason- Caution. To avoid the risk of elec-
glows. When phase B is available, able time delay) when all the phases tric shock, ensure that AC mains is
LED3 glows. are available. disconnected during assembly of the
The main advantage of this protec- Assemble the circuit on a gen- circuit and double check everything
tor circuit is that it protects three-phase eral-purpose PCB and enclose in a before connecting your circuit to the
appliances from failure of any of the cabinet with the relays and contactor mains.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u au g u s t 2 0 0 8 8 9
circuit
ideas

Constant-Current s.c. dwiv


edi

Battery Charger
Monoj Das 13.5-14.2V in the case of a 12V battery), 14+5=19V.
give indication and the charger will For the sake of simplicity, this con-

T
here are many ways of battery switch off automatically. You need not stant-current battery charger circuit is
charging but constant-current remove the battery from the circuit. divided into three sections: constant-
charging, in particular, is a 4. If the battery is discharged be- current source, overcharge protection
popular method for lead-acid and Ni- low a limit, it will give deep-discharge and deep-discharge protection sec-
Cd batteries. In this circuit, the battery indication. tions.
is charged with a constant current that 5. Quiescent current is less than 5 The constant-current source is
is generally one-tenth of the battery mA and mostly due to zeners. built around MOSFET T5, transistor
capacity in ampere-hours. So for a 6. DC source voltage (VCC) ranges T1, diodes D1 and D2, resistors R1, R2,
4.5Ah battery, constant charging cur- from 9V to 24V. R10 and R11, and potmeter VR1. Diode
rent would be 450 mA. 7. The charger is short-circuit pro- D2 is a low-temperature-coefficient,
This battery charger has the follow- tected. highly stable reference diode LM236-5.
ing features: D1 is a low-forward-drop schottky LM336-5 can also be used with reduced
1. It can charge 6V, 9V and 12V bat- diode SB560 having peak reverse volt- operating temperature range of 0 to
teries. Batteries rated at other voltages age (PRV) of 60V at 5A or a 1N5822 +70C. Gate-source voltage (VGS) of T5
can be charged by changing the values diode having 40V PRV at 3A. Nor- is set by adjusting VR1 slightly above
of zener diodes ZD1 and ZD2. mally, the minimum DC source volt- 4V. By setting VGS, charging current
2. Constant current can be set as age should be D1 drop+Full charged can be fixed depending on the battery
per the battery capacity by using a battery voltage+VDSS+ R2 drop, which capacity. First, decide the charging
potmeter and multimeter in series with is approximately Full charged battery current (one-tenth of the batterys Ah
the battery. voltage+5V. For example, if we take capacity) and then calculate the nearest
3. Once the battery is fully charged, full-charge voltage as 14V for a 12V standard value of R2 as follows:
it will attain certain voltage level (e.g. battery, the source voltage should be R2 = 0.7/Safe fault current

1 1 4 Au g u s t 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
R2 and T1 limit the charging cur- diode ZD1 starts conducting after LED2 will glow to indicate that the bat-
rent if something fails or battery termi- its breakdown voltage is reached, tery voltage is low.
nals get short-circuited accidentally. i.e., it conducts when the battery Values of zener diodes ZD1 and
To set a charging current, while voltage goes beyond a prefixed high ZD2 will be the same for 6V, 9V and
a multimeter is connected in series level. Adjust VR2 when the battery 12V batteries. For other voltages, you
with the battery and source supply is is fully charged (say, 13.5V in case of need to suitably change the values of
present, adjust potmeter VR1 slowly a 12V battery) so that VGS of T5 is set ZD1 and ZD2. Charging current pro-
until the charging current reaches its to zero and hence charging current vided by this circuit is 1 mA to 1 A, and
required value. stops flowing to the battery. LED1 no heat-sink is required for T5. If the
Overcharge and deep-discharge glows to indicate that the battery is maximum charging current required is
protection have been shown in dotted fully charged. When LED1 glows, the 5A, put another LM236-5 in series with
areas of the circuit diagram. All com- internal LED of the optocoupler also diode D2, change the value of R11 to 1
ponents in these areas are subjected to glows and the internal transistor con- kilo-ohm, replace D1 with two SB560
a maximum of the battery voltage and ducts. As a result, gate-source voltage devices in parallel and provide a good
not the DC source voltage. This makes (VGS) of MOSFET T5 becomes zero and heat-sink for MOSFET T1. TO-220 pack-
the circuit work under a wide range of charging stops. age of IRF540 can handle up to 50W.
source voltages and without any influ- Normally, zener diode ZD2 con- Assemble the circuit on a gen-
ence from the charging current value. ducts to drive transistor T3 into con- eral-purpose PCB and enclose in a
Set overcharge and deep-discharge duction and thus make transistor T4 box after setting the charging current,
voltage of the battery using potmeters cut-off. If the battery terminal voltage overcharge voltage and deep-discharge
VR1 and VR2 before charging the bat- drops to, say, 11V in case of a 12V bat- voltage. Mount potmeters VR1, VR2
tery. tery, adjust potmeter VR3 such that and VR3 on the front panel of the
In overcharge protection, zener transistor T3 is cut-off and T4 conducts. box.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u Au g u s t 2 0 0 9 1 1 5
circuit
ideas

Battery-level indicator edi


s.c. dwiv
Aniruddh K.S. makes it easier to recognise the
voltage level on the basis of the

N
ormally, in mobile phones, calibration made. Red LEDs (LED1
the battery level is shown in through LED3) indicate battery initially set it at 3V. Slowly adjust VR1
dot or bar form. This lets you capacity of less than 40 per cent. until LED1 glows. Now, increase the
easily recognise the battery level. Here Orange LEDs (LED4 through LED6) input voltage to 15V in steps of 1.2V
we present a circuit that lets you know indicate battery capacity of 40 to until the corresponding LED (LED2
the battery level of a device from the less than 70 per cent and green through LED10) lights up.
number of LEDs that are glowing. It LEDs (LED7 through LED10) indi- Now the circuit is ready to show
uses ten LEDs in all. So if three LEDs cate battery capacity of 70 to under any voltage value with respect to the
glow, it indicates battery capacity of 100 per cent. The brightness of the maximum voltage. As the number of

30 per cent. Unlike in mobile phones LEDs can be adjusted by varying the LEDs is ten, we can easily consider one
where the battery-level indicator func- value of preset VR2 between pins 6 LED for 10 per cent of the maximum
tion is integrated with other functions, and 7. voltage.
here only one comparator IC (LM3914) Diode D1 prevents the circuit Connect the voltage from any
does it all. from reverse-polarity battery con- battery to be tested at the input
The LM3914 uses ten comparators, nection. The tenth LED glows only probes of the circuit. By examining
which are internally assembled in the when the battery capacity is full, the number of LEDs glowing you
voltage divider network based on the i.e., the battery is fully charged. can easily know the status of the bat-
current-division rule. So it divides the When the battery is fully charged, tery. Suppose five LEDs are glowing.
battery level into ten parts. relay-driver transistor T1 conducts In this case, the battery capacity is
The circuit derives the power to energise relay RL1. This stops the 50 to 59 per cent of its maximum
supply for its operation from the charging through normally-open value.
battery of the device itself. It uses (N/O) contacts of relay RL1. Assemble the circuit on a general-
ten LEDs wired in a 10-dot mode. For calibration, connect 15V vari- purpose PCB. Calibrate it and then en-
The use of different coloured LEDs able, regulated power supply and close in a box.

8 4 D E C e m b e r 2 0 0 8 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas

Pyroelectric fire alarm s.c. dwiv


edi

D. Mohan Kumar gate protected p-channel MOSFETs


in the inputs. It has high speed of

H
ere is an ultra-sensitive fire performance and low input current re- momentarily changes the voltage level
sensor that exploits the direct quirements. There are two inputsthe at pin 3 of IC1 and its output swings
piezoelectric property of an non-inverting input (pin 3) connected high. Transistor T1 conducts taking
ordinary piezo element to detect fire. to the piezo element through diode D7 the reset pin 12 of IC2 to ground. IC2
The lead zirconate titanate crystals in (OA71) that carries the voltage signal is now enabled and starts oscillating.
the piezo element have the property from the piezo element and the invert- With the shown values of the oscil-
to deform and generate an electric ing input (pin 2) that gets a preset volt- lating components C3 (0.22) and R6

Fig. 1: Pyroelectric fire sensor

age through (1M), the first output (Q3) turns high


VR1. after a few seconds and a red LED2
By ad- starts flashing. If heat near the piezo
justing VR1, persists, Q7 (pin 14) output of IC2 be-
it is easy to comes high after one minute, and the
set the ref- alarm starts beeping. If heat contin-
erence volt- ues, Q9 (pin 15) turns high after four
age level minutes and turns on the relay driver
at pin 2. In transistor T2. At the same time, diode
normal con- D8 conducts and IC2 stops oscillating
Fig. 2: Power supply with battery backup dition, IC1 and toggles.
gives a low The solenoid pump connected to
potential when heated, thus convert- output and the remaining circuitry is the N/O (normally opened) contact of
ing the piezo element into a heat sen- in a standby state. Capacitor C2 keeps the relay starts spraying the fire-ceas-
sor. The circuit described here is very the non-inverting input of IC1 stable, ing foam or water to the possible sites
sensitive. It gives a warning alarm if so that even a slight change in volt- of fire.
the room temperature increases more age level in the inputs can change the Power supply circuit. Power
than 10C. The entire circuit has two output to high. supply section (Fig. 2) comprises a
sectionsthe sensor and the power Normally, IC1 gives a low output, 0-12V, 1A step-down transformer
supply section. keeping transistor T1 non-conduct- with a standard full-wave rectifier
Sensor side circuit. Fig. 1 shows the ing. Reseting pin 12 of IC2 (CD4060) formed by D1 through D4 and filter
fire sensor circuit. The front end of the connected to the collector of transistor capacitor C1. A battery backup is
circuit has a sensitive signal amplifier T1 gets a high voltage through R5 and provided if the mains supply is cut-off
built around IC1 (CA3130). It gives a IC2 remains disabled. When the piezo due to short-circuit and fire. A 12V,
high output when temperature near element gets heat from fire, asymmetry 4.5Ah rechargeable battery is used
the piezo element increases. IC CA3130 in its crystals causes a potential change, for backup to give sufficient current
is a CMOS operational amplifier with enabling capacitor C2 to discharge. It to the solenoid pump. When mains

9 2 D e c e m b e r 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
power is available, diode D5 forward to the circuit. LED1 indicates the avail- ement on a 3030cm aluminium sheet
biases. It provides power to the circuit ability of mains power. to increase its sensitivity. Fix the sheet
and also charges the battery through Assemble the circuit on a general- with the piezo sensor to the site where
resistor R2, and it limits the charging purpose PCB and enclose it in a suit- protection is needed. The remaining
current to 120 mA. When power fails, able case. Connect the piezo element circuit can be fixed at a suitable place.
diode D5 reverse biases and diode D6 to the circuit using a thin insulated If only the alarm generator is needed,
forward biases, giving instant backup wire. Glue the flat side of the piezo el- omit the relay driver section.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u D e c e m b e r 2 0 0 9 9 3
circuit
ideas

Guitar Effect Pedal Power


edi
s.c. dwiv
Raj K. Gorkhali connecting points as shown in Fig. 2.
The circuit (Fig. 2) can be divided

A
friend of mine plays guitar with into two sections: power supply and
several guitar effect pedals. He signal handling. The power supply regulators. This supply is more than
had a problem with battery section is built around transformer X1, enough for the five effect pedals.
eliminators and cables of the pedals regulators 7805 and 7905, bridge recti- The greater the voltage drop across
cluttering the stage and so he asked fier comprising diodes D1 through D4, the regulator, the lower the output
for help. The solution is simple as de- and a few discrete components. The current potential. Resistors R1 and
scribed here. signal-handling circuit is built around R2 provide a constant load to ensure
A small box is fitted to the rear of two OP27 op-amps (IC3 and IC4). that the regulators keep regulating.
the amplifier providing a 9V output for The power supply of about 9V Capacitors C3 through C8 ensure that
the effect pedal. The amplifier section for the effect pedals is derived from the supplies are as clean as possible. It
gets 9V through step-down transformer X1. MOV1 is a is very important to use proper heat-
a pedal switch metal-oxide varistor that absorbs any sinks for IC1 and IC2. Otherwise, these
(refer Fig. 1). large spike in mains power. could heat up.
This power out- IC 7905 (IC1) is a -5V low-power Working of the circuit is simple.
put and guitar regulator. By using a 3.9V zener diode The input signal stage uses a basic
signal input (ZD1) at its ground terminal, you get differentiation amplifier to accept the
lines are com- -8.9V output. The same technique is incoming signal and a voltage fol-
bined into a also applied to IC 7805 (IC2)a +5V lower to buffer the output to the power
Fig. 1: A typical guitar
single unit with regulator to get 8.9V. Use good-qual- amplifier. The differential amplifier is
pedal switch multi-way cable ity components and heat-sinks for the built around IC3. It works by effective-
ly looking at the signals
presented to its inputs.
If the input signals are of
different amplitudes, IC3
amplifies the difference
by a factor determined
by R4/R3 (where R4=R6
and R3=R5). If the input
signals have same ampli-
tudes, these are attenuat-
ed by the common-mode
rejection ratio (CMRR) of
the circuit. The value of
CMRR is determined by
the choice of the op-amp
the auxiliary components
used and circuit topolo-
gy. You can use standard
resistors. With the values
shown, you get an overall
gain of unity.
The combination
of resistor R7 and C13
serves as a passive low-
pass filter, progressively
attenuating unwanted
high-frequency signals.
Fig. 2: Pedal power circuit The second op-amp (IC4)

1 0 8 D e c e m b e r 2 0 1 0 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
forms a simple voltage follower (its amplifier. The unit must be compact, First, mains power is tapped from the
output follows its input), providing a yet robust. So use a very sturdy alu- transformer. The second lead carries
low output impedance to drive into the minium extrusion for the cabinet in or- the 9V output to the amplifier. The
standard power amplifier. der to neatly house the assembled PCB. third is the guitar signal input at the
Assemble the circuit on a general- To ensure simple operation, there five-way socket for connection to the
purpose PCB and fit it to the rear of an are only three connections to the unit. effect pedal.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u D e c e m b e r 2 0 1 0 1 0 9
CIRCUIT
IDEAS

VERSATILE POWER SUPPLY S.C. DW


IVEDI

SUNIL KUMAR tive regulator capable of providing sistor T1 is forward biased to switch
1.2V to 37 volts at 1.5A current to the resistors R1 and R2 (in series) across

U
sing this circuit, you can ob- load. Adj pin of LM317 and ground to pro-
tain the following voltages Resistor R13 and selected combi- duce 3.3V.
(approx.) at a current limited nations of resistors R1 through R12 Other voltages can be produced in
to one ampere: 3.3V, 5V, 6V, 9V, 12V are used to produce approximately the same way by using rotary switch
and 15V. 3.3V, 5V, 6V, 9V, 12V and 15V at the S1. Capacitor C2 bypasses any ripple
The AC mains is stepped down output. The desired resistors are se- in the output. Diode D5 is used as the
by transformer X1 to deliver the sec- lected by switching into conduction protection diode. Use a heat-sink for
ondary output of 18V AC at a maxi- one of the six pnp transistors T1 dissipation of heat from IC LM317. The
mum current of 1A dependant upon through T6 by grounding the corre- fuse-rated lamp provides protection
the load. The transformer output is sponding transistor base using rotary against short circuit.
rectified by the bridge rectifier com- switch S1. This 1A rated power supply can
prising diodes D1 through D4, filtered For example, to get regulated 3.3V, be used for testing of various circuit
by capacitor C1 and fed to regulator simply rotate the knob of rotary switch ideas as well as construction projects
IC LM317, which is a 3-terminal posi- to 3.3V position. Consequently, tran- published in EFY. z

84 FEBRUARY 2006 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
CIRCUIT
IDEAS
via switch S1.
IVEDI The circuit works off a 9V bat-
S.C. DW
CLOCK TIMER tery. Assemble it on a general-pur-
pose PCB and enclose in a suitable
cabinet. Provide an AC outlet in the
 D. MOHAN KUMAR set VR1. The inverting and non-invert- cabinet to switch on the appliance us-
ing inputs of LM311 are different from ing the circuit. As mentioned earlier,

W
ith this simple clock- other op-amps and it outputs sink cur- the input signal is obtained from the
controlled timer, you will rent through pin 7 or source current buzzer terminals of the clock. Remove
never again miss your through pin 1. the small buzzer of the clock and con-
favourite TV or radio programme. The When pin 3 of IC1 is at a higher nect point A to the positive termi-
TV or radio will switch on automati- voltage than pin 2, its output sinks nal and point B to the negative ter-
cally at the time preset by you and as indicated by LED1. This gives a minal of the buzzer. Connect the
will remain on until the power sup- short negative pulse to the monostable mains AC terminal outlet to the nor-
ply fails or is disconnected. wired around timer NE555. Resistor mally-opened (N/O) contact of relay
The circuit uses the AC signals gen- R5 keeps trigger pin 2 of IC2 high. RL1. So when the relay energises,
erated at the buzzer terminals of an The short-interval monostable outputs 230V AC operates the connected ap-
alarm clock. The AC signals are am- a high signal for a brief period to the pliance.
plified by transistors T1 and T2 and gate of SCR1 (BT169) and relay RL1 Set the desired time in the clock by
the amplified output from the emitter energises. The latching action of SCR1 adjusting the alarm set-up and switch
of T2 is fed to the inverting input of keeps the relay pulled even when the on the circuit. When the set time
negative-voltage comparator IC LM311 output of the monostable turns low. reaches, the appliance will switch on
(IC1). The non-inverting input of IC1 The relay can be de-energised by dis- automatically. The circuit can also be
gets a presettable voltage through pre- connecting the supply to the circuit connected to digital clocks. 

96 FEBRUARY 2007 ELECTRONICS FOR YOU WWW.EFYMAG.COM


CMYK

CIRCUIT
IDEAS

AUDIO AMPLIFIER FOR S.C. DW


IVEDI

PERSONAL STEREO
M. VENK ATESWAR AN
TESWARAN pushpull amplifier, each transistor (T2 tor T2 and R5 and R7 for transistor
or T3) gets double the voltage when T3) so that the acceptable output

I
n the output stages of most broad- activated. without overheating is obtained.
cast receivers and some amplifiers, Connect the low audio signal from You can also replace these transistors
there is a limit up to which maxi- the stereo system at input terminals A with another pair of suitable high-
mum power can be developed with- and B of the audio amplifier and pro- power transistors.
out distortion. In the widely accepted vide mains AC to activate the circuit. For driving transistors T2 and T3,
output circuit, two output transistors During the first half cycle of an AF a 9V audio driver transformer having
are connected in series between the cycle, transistor T2 conducts and the six leads is used. It is readily available
positive and ground and biasing is ad- current flows from positive rail to in the market and reasonably matches

justed so that each transistor gets half ground rail (centre tap of transformer the output and input impedances of
the supply voltage. X1) via the loudspeaker coil (connected the preceeding and succeeding stages.
The circuit presented here is a between the emitter of transistor T2 To test the quality of the audio
simple audio amplifier for a personal and ground) in one direction. While output, connect the stereos outputs
stereo system. In this, supply voltage in the second half cycle, transistor T3 to the respective terminals A and B.
to each transistor can be enhanced to conducts and the current flows from Now increase the volume level of
produce a larger output. The audio ground rail to negative rail via the the stereo slowly. If you get a
driver transformer drives the transis- loudspeaker coil (connected between high-level, high-quality sound across
tors adequately. ground and the collector of transistor loudspeaker L1, the amplifier is
A 9V-0-9V, 300mA transformer has T3) in a direction opposite to the pre- working well. If the sound quality is
been used in the set-up. Out of vious flow. not good, decrease the volume level
the four diodes (D1 through D4), two Transistors T2 and T3 of the until the audio amplifier gives good
are used for developing the positive pushpull audio amplifier should results.
voltage rail (+9V) and the other be matched correctly. If these transis- Note that this audio amplifier
two are used for developing the tors get heated, change the bleeding works well for low-level audio
negative voltage rail (9V). In the resistor pairs (R3 and R4 for transis- signals. z

76 JANUARY 2005 ELECTRONICS FOR YOU WWW.EFYMAG.COM


CIRCUIT
IDEAS

IR MUSIC TRANSMITTER AND


RECEIVER
 IVEDI
PRADEEP G. 10 metres. S.C. DW
The circuit can be divided into

U
sing this circuit, audio musi- two parts: IR music transmitter and
cal notes can be generated receiver. The IR music transmitter
and heard up to a distance of works off a 9V battery, while the driver stage (built across the transis-
IR music re- tors T1 and T2) to get the maximum
ceiver works off range.
regulated 9V to Here the red LED (LED1) flickers
12V. according to the musical tones gener-
Fig. 1 shows ated by UM66 IC, indicating modula-
the circuit of tion. IR LED2 and LED3 are infrared
the IR music transmitting LEDs. For maximum
transmitter. It sound transmission these should be
uses popular oriented towards IR phototransistor
melody genera- L14F1 (T3).
tor IC UM66 The IR music receiver uses popu-
(IC1) that can lar op-amp IC A741 and audio-fre-
continuously quency amplifier IC LM386 along with
generate musi- phototransistor L14F1 and some dis-
cal tones. The crete components (Fig. 2).
output of IC1 is The melody generated by IC UM66
Fig. 1: Transmitter circuit fed to the IR is transmitted through IR LEDs, re-
ceived by phototransistor
T3 and fed to pin 2 of
IC A741 (IC2). Its gain
can be varied using
potmeter VR1. The output
of IC A741 is fed to IC
LM386 (IC3) via capaci-
tor C5 and potmeter VR2.
The melody produced
is heard through the
receivers loudspeaker.
Potmeter VR2 is used to
control the volume of
loudspeaker LS1 (8-ohm,
1W).
Switching off the
power supply stops
Fig. 2: IR audio receiver circuit melody generation. 

108 JANUARY 2007 ELECTRONICS FOR YOU WWW.EFYMAG.COM


CIRCUIT
IDEAS

AUTOMATIC LOW-POWER SUNIL K


UMAR

EMERGENCY LIGHT
 S.C. DWIVEDI current through diode D5 and limit-
ing resistor R16. By adjusting preset

H
ere is a white-LED-based VR1, the output voltage can be ad-
emergency light that offers justed to deliver the required charg-
the following advantages: ing current.
1. It is highly bright due to the use When the battery gets charged to
of white LEDs. 6.8V, zener diode ZD1 conducts and
2. The light turns on automatically charging current from regulator IC1
when mains supply fails, and turns off finds a path through transistor T1 to Fig. 2: Pin configurations of LM317, BD140
when mains power resumes. ground and it stops charging of the and BC548
3. It has its own battery charger. battery.
When the battery is fully charged, The LED driver section uses a to- off. On the other hand, when mains
charging stops automatically. tal of twelve 10mm white LEDs. All fails, the base of transistor T2 becomes
The circuit comprises two sections: the LEDs are connected in parallel low and it conducts. This makes all
charger power supply and LED driver. with a 100-ohm resistor in series with the LEDs (LED1 through LED12) glow.
The charger power supply section is each. The common-anode junction of The mains power supply, when
available,
charges the bat-
tery and keeps
the LEDs off as
transistor T2 re-
mains cut-off.
During mains
failure, the
charging sec-
tion stops
working and
the battery sup-
ply makes the
LEDs glow.
Assemble
the circuit on a
general-pur-
pose PCB and
enclose in a
cabinet with
Fig. 1: Automatic high intensity LED-based emergency light enough space
for battery and
built around 3-terminal adjustable all the twelve LEDs is connected to switches. Mount the LEDs on the cabi-
regulator IC LM317 (IC1), while the the collector of pnp transistor T2 and net such that they light up the room.
LED driver section is built around the emitter of transistor T2 is directly A hole in the cabinet should be drilled
transistor BD140 (T2). connected to the positive terminal of to connect 230V AC input for the pri-
In the charger power supply sec- 6V battery. The unregulated DC volt- mary of the transformer.
tion, input AC mains is stepped down age, produced at the cathode junc- EFY lab note. We have tested the
by transformer X1 to deliver 9V, 500 tion of diodes D1 and D3, is fed to circuit with twelve 10mm white LEDs.
mA to the bridge rectifier, which com- the base of transistor T2 through a 1- You can use more LEDs provided the
prises diodes D1 through D4. Filter kilo-ohm resistor. total current consumption does not ex-
capacitor C1 eliminates ripples. Un- When mains power is available, the ceed 1.5A. Driver transistor T2 can de-
regulated DC voltage is fed to input base of transistor T2 remains high and liver up to 1.5A with proper heat-sink
pin 3 of IC1 and provides charging T2 does not conduct. Thus LEDs are arrangement. 

126 JANUARY 2008 ELECTRONICS FOR YOU WWW.EFYMAG.COM


circuit
ideas

CASH BOX GUARD s.c. dwiv


edi

T.K. Hareendran goes high, which resets the counter


making all the outputs low. This also 11), the output timing at pin 14 of IC1

M
ost thefts happen after mid- stops oscillations of the internal oscil- is two-three seconds. Hence pin 14 of
night when people enter the lator. IC1 goes high for two seconds after the
second phase of sleep called Working of the circuit is simple. If door is opened and goes low for an-
paradoxical sleep. Here is a smart the cash box is closed, the interior will other two seconds. So the piezobuzzer
security circuit for your cash box that be dark. Hence in the dark, the light- (PZ1) sounds for two seconds and then
thwarts the theft attempt by activating dependant resistor (LDR1) resets IC1 falls silent for the following two sec-
an emergency beeper. The circuit can and it stops oscillating and counting. onds. This cycle repeats until the cash
also be used to trigger any external At the same time, pins 13 and 14 of box is closed.
burglar alarm unit. IC1 go low. So neither the piezobuzzer An optional relay is added for a
The cash box guard circuit (shown (PZ1) sounds, nor the relay (RL1) en- remotely located audio/visual alert
in Fig. 1) is built around IC CD4060 ergises, indicating that the cash box system. For that, a relay driver circuit
(IC1), which has an inbuilt oscillator is closed. built around npn transistor BC548 (T2)
and divider. The basic oscillator is con- If someone tries to open the door is used. The relay is energised by the
figured by a simple resistor-capacitor of the cash box, lightmost probably output from pin 13 of IC1 for about
(R-C) network. IC CD4060 divides this from the burglars pen torchfalls four seconds after the door is opened
oscillator frequency into binary divi- on LDR1 fitted into the cash box. As and then de-energised for the follow-
sions, which are available as outputs. a result, LDR1 conducts and pin 12 ing four seconds. You can use this re-
In light, reset pin 12 of IC1 remains of IC1 goes low. IC1 starts oscillating lay to activate another remotely located
low, which enables the oscillator built and counting. With the present tim- audio/visual alert system.
around IC1. However, in the dark, it ing R-C components (at pins 9, 10 and After assembling the circuit on a
small PCB, house it in a small tamper-
proof box (refer Fig. 2) leaving a little
window for LDR1 and a small opening
for the piezobuzzer (PZ1). Now fit the
unit inside the cash box (refer Fig. 3)
with LDR1 pointing towards the door
of the cash box.
EFY note. 1. The relay latching
facility can be added to the circuit by
replacing transistor T2 with a suit-
able silicon-controlled rectifier such
as BT169.
2. By changing the value of resistor
R1, you can adjust the light detection
Fig. 1: Cash box guard circuit sensitivity of the circuit.
3. If you want to use a 3-pin
piezobuzzer device, remove buzzer-
driver npn transistor T1 and connect
trigger pin of the buzzer directly to
pin 14 of IC1. Also connect the positive
and negative terminals of the buzzer to
respective positive and negative points
of the circuit.
4. Photo-transistor 2N5777 can be
used in place of the 10mm LDR1.
Fig. 3: Unit fitted inside the cash box and also
5. The complete kit for this circuit is
Fig. 2: Assembled unit connected to an external alarm available with KitsnSpares.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u J a n ua ry 2 0 1 1 1 1 7
CIRCUIT
IDEAS

REMOTE-CONTROLLED FAN REGULATOR


 Dr C.H. VITHALANI tor R4. IC1 is wired as a monostable
multivibrator to delay the clock given
IVEDI

U
sing this circuit, you can to decade counter-cum-driver IC S.C. DW
change the speed of the fan CD4017 (IC2).
from your couch or bed. In- Out of the ten outputs of decade
frared receiver module TSOP1738 is counter IC2 (Q0 through Q9), only five
used to receive the infrared signal (Q0 through Q4) are used to control multivibrator IC3 during zero cross-
transmitted by remote control. the fan. Q5 output is not used, while ing. Opto-isolator MOC3021 (IC4)
The circuit is powered by regulated Q6 output is used to reset the counter. drives triac BT136. Resistor R13 (47-
9V. The AC mains is stepped down Another NE555 timer (IC3) is also ohm) and capacitor C7 (0.01F) com-
by transformer X1 to deliver a second- wired as a monostable multivibrator. bination is used as snubber network
ary output of 12V-0-12V. The trans- Combination of one of the resistors R5 for triac1 (BT136). As the width of the
former output is rectified by full-wave through R9 and capacitor C5 controls pulse decreases, firing angle of the triac
rectifier comprising diodes D1 and D2, the pulse width. The output from IC increases and speed of the fan also in-
filtered by capacitor C9 and regulated CD4017 (IC2) is applied to resistors R5 creases. Thus the speed of the fan in-
by 7809 regulator to provide 9V regu- through R9. If Q0 is high capacitor C5 creases when we press any button on
lated output. is charged through resistor R5, if Q1 is the remote control.
Any button on the remote can be high capacitor C5 is charged through Assemble the circuit on a general-
used for controlling the speed of the resistor R6, and so on. purpose PCB and house it in a small
fan. Pulses from the IR receiver mod- Optocoupler MCT2E (IC5) is wired case such that the infrared sensor can
ule are applied as a trigger signal to as a zero-crossing detector that sup- easily receive the signal from the re-
timer NE555 (IC1) via LED1 and resis- plies trigger pulses to monostable mote transmitter. 

88 JULY 2006 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
circuit
ideas
The output from IC1 is fed to
display driver LM3915 (IC2) through

Aquarium Probe s.c. dwiv


edi preset VR3 (50-kilo-ohm). With
careful adjustments, the wiper of
VR3 can provide 0-400 millivolts
to the input of IC2. The highly sensi-
D. Mohan Kumar temperature, the diode generates 2mV tive input of IC2 accepts as low as
output voltage. That is, at 5C, it is 10 50 mV if the reference voltage at its

A
number of environmental mV, which rises to 70 mV when the pin 7 is adjusted using a variable
factors including light and temperature is 35C. This property resistor. To increase the sensitivity
temperature affect fish culture. is exploited in the circuit to sense the of IC2, preset VR4 is connected at
The temperature of water has profound temperature variation in aquarium one end to reference voltage end
effect because fish cannot breed above water. Fig. 1 shows the circuit diagram pin 7 and its wiper is connected to
or below the critical temperature lim- of the aquarium probe. high end pin 6 of the internal resis-
its. Temperature between 24C and Since the output from the diode tor chain.
33C is found to be the best to induce sensor is too low, a high-gain invert- When approximately 70 mV is
spawning in fishes. This particular ing DC amplifier is used to amplify provided to the input of IC2 by adjust-
temperature range is also necessary the voltage. CA3140 (IC1) is the CMOS ing preset VR3, LED1 (green) lights
for the healthy growth of nursery fish version op-amp that can operate down up to indicate that the temperature is
fries (young fishes). Rise of water tem- to zero-volt output. The highest output approximately 35C, which is the cross-
perature due to sunlight may adversely available from IC1 is 2.25V less than ing point. When the input receives 100
affect the fish rearing process. the input voltage at pin 7. With resistor mV, LED2 (red) lights up to indicate
approximately 50C.
Finally, the buzzer
starts beeping if the
input receives 130
mV corresponding
to a temperature of
65C.
In short, LEDs
and the buzzer re-
main standby when
the temperature of the
water is below 35C
(normal). With each
step increase of 30
mV in the input (cor-
responding to 15C
rise in temperature),
LEDs and the buzzer
become active.
Fig. 1: Circuit for aquarium probe Pin 16 of IC2 is
used to drive the pi-
The circuit of aquatic probe de- R4 and ezobuzzer through transistor T1. When
scribed here can monitor the tem- VR2, the pin 16 of IC2 becomes low, T1 conducts
perature of water and indicate the variation to beep the piezobuzzer. Resistor R7
rise in temperature through audio- in diode keeps the base of transistor T1 high to
visual indicators. A readily available Fig. 2: Diode sensor assembly voltage avoid false alarm. IC4 provides regu-
signal diode 1N34 is used in the can be lated 9V DC to the circuit.
circuit as the temperature sensing amplified to the required level. Resis- Assemble the circuit on a common
probe. The resistance of the diode tor R1 restricts current flow through PCB and enclose in a suitable case.
depends on the temperature in its diode D1 and preset VR1 (1-kilo-ohm) Glass signal diode D1 is immersed
vicinity. sets the input voltage at pin 3. IC3 in water to sense the temperature
Typically, the diode can gener- (7805) provides regulated 5 volts to the of water. Its leads should be coated
ate around 600 mV when a potential inputs of IC1, so that the input voltage with enamel paint to avoid shorting
difference is applied to its terminals. is stable for accurate measurement of in water. Alternatively, enclose the
For each degree centigrade rise in temperature. diode in a small glass tube or test

9 2 j u ly 2 0 0 8 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
tube having sufficient internal space mV, so that the input of IC2 (pin 5) hot water. Now red LED2 will glow.
to fit the diode as shown in Fig. 2. receives 70 mV corresponding to the At this position, the voltage at pin 6
Make the sensor assembly waterproof diode output voltage at 35C. At this of IC1 will be around 100 mV. When
using wax. stage, green LED1 should turn on. the temperature of water increases
Take care while calibrating and If it doesnt, adjust VR4 until LED1 further to 65C, the buzzer starts
setting the circuit. With 5V DC sup- just lights up. Immerse the diode beeping. After calibration, immerse
ply to diode D1 and an ambient tem- in temperature-adjusted hot water the diode assembly in the aquarium
perature of about 35C, D1 generates (35C) and adjust VR3 and VR4 until tank just below the water surface
around 70 mV. Adjust VR3 until the green LED1 lights up. Increase the and fix it permanently to avoid float-
voltage in its wiper increases to 70 water temperature to 50C by adding ing.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u j u ly 2 0 0 8 9 3
circuit
ideas

Generator Room Light s.c. dwiv


edi

Manuj Paul erator room light, while Fig. 2 shows


the battery charger circuit, which is IC1 remain high, making output pin 3

A
t night when power fails, one optional and can be omitted if the gen- of IC1 low and transistor T2 cut-off. So
finds it difficult to reach the erator is self-start type and has built-in lamp L1 connected between the collec-
generator to start it. Here is battery. tor of T1 and the positive terminal of
the circuit for a generator room light At the heart of the generator room 12V supply does not glow.
that automatically turns on at night, light circuit (Fig.1) is a light-dependent As the ambient light fades dur-
facilitating easy access to the generator. resistor (LDR1) that senses the ambi- ing sunset, the resistance of LDR1
During daytime, the light remains off. ent light as well as light from glowing increases. As a result, the voltage drop
Fig. 1 shows the circuit for gen- LED1. across LDR1 increases and npn transis-
tor T1 conducts. Pins 2 and
6 of IC1 go low to make its
output pin 3 high, and lamp
L1 glows.
You can replace incan-
descent lamp L1 with bright
white LEDs using proper
current-limiting resistors.
Assemble the circuit on
a general-purpose PCB and
enclose in a suitable cabinet.
Install the unit near the gen-
erator. Arrange LED1 and
LDR1 such that during the
availability of mains, light
emitted from LED1 falls di-
rectly on LDR1. Also, make
sure that during daytime
the ambient light falls on
the LDR.
For powering the battery
Fig. 1: Circuit for generator room light charger circuit (Fig. 2), 15V
AC secondary voltage is
During derived from step-down transformer
daytime, sun- X1. For fast charging of the battery,
light or light you may increase the current rating of
from LED1 transformer X1.
reduces the The charger charges the battery
resistance through a thyristor (SCR1) when the
of LDR1. As battery voltage is low. The thyristor
a result, the gets a regulated gate voltage from the
voltage drop zener diode, and goes to tickle charg-
across LDR1 ing mode when the battery voltage
decreases and nears the zener voltage.
npn transistor Assemble the charger circuit on a
T1 does not general-purpose PCB and enclose in
conduct. The a suitable cabinet. Use two crocodile
collector of T1 clips (red for positive and black for
and therefore negative) for connecting the battery
Fig. 2: Battery charger circuit (optional) pins 2 and 6 of terminal to the charger circuit.

8 4 J u ly 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas

Mobile Electronic Workbench


Abhijeet Deshpande setup non-portable. Here we present
a mobile electronic workbench that

T
edi
ypically, implementing and makes it easier for you to assemble and s.c. dwiv
testing even a small circuit test circuits.
requires an elaborate setup This mobile workbench is useful
that includes breadboards, a dual DC for students in schools, colleges, re-
power supply, hookup wires, ICs and search institutions and industries alike. voltage is noise-free.
resistors of different values. This setup It can be used conveniently wherever Fig. 1 shows the circuit of the
can be quite messy and difficult to you want. It is also cost-effective and mobile electronic workbench. Two
clean up at the end of the experiment. very useful for giving demos. As the low-drop-out (LDO) regulators (one
Also, the power supply can make the power is supplied by the batteries, the positive and the other negative) are
used here to provide regulated +5V
and -5V for digital ICs.
When switch S1 is pushed to on
position, LEDs indicate the availability
of voltages on the breadboard. When it
is in off position, the battery terminals
connect to the sockets for charging the
batteries. Apart from +6V and +5V
supplies, you can also have a 12V
source between +6V and -6V terminals.
As shown in Fig. 2, the mobile
workbench consists of a big mela-
mine tray. At the centre of this tray,
mount the breadboard. On the sides
of the breadboard, stick two 6V, 4.5Ah
maintenance-free lead-acid batteries
(Batt.1 and Batt.2). On a wooden bat-
ten, mount two-pole, two-way toggle
switch S1 and two fuses and two sock-
Fig. 1: Circuit for mobile electronic workbench ets symmetrically. Mount LED1 and
LED2 on the sides of S1.
If you do not want this mobile
workbench on a breadboard, you can
assemble it on a general-purpose PCB
and enclose in a suitable cabinet. Fix
LEDs and switch S1 on the front panel
of the cabinet and the fuses at the back
side of the box.
In place of LM2990-5, you can
use a 5.1V, 2W zener diode with 100-
ohm, 2W series
limiting resis-
tor as shown in
Fig. 3. During
testing, we used
a zener diode for
negative 5V regu-
Fig. 3: Alternative 5V
lation instead of
Fig. 2: Photograph of electronic workbench circuit LM2990-5.

9 6 J u ly 2 0 1 0 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
CIRCUIT
IDEAS

PARROT-SOUNDING S.C. DW
IVEDI

AC DOORBELL
 SANI THEO former used in the
experimental setup

H
ere is a mains-operated door- are shown in Fig. 2.
bell that produces parrot-like The circuit is
sweet voice without requiring powered directly
any musical IC. The circuit is cheap from 220V AC mains.
and easy to construct. The AC mains The operating DC
is fed to the circuit without using any voltage obtained at
step-down transformer. the cathode of diode
The complete circuit is shown in D1 is about 6V. How-
Fig. 1. The main components of the ever, if you press
circuit are a resistor-capacitor network, switch S1 continu-
transistor BC337 and audio output ously for a few sec-
transformer X1. The oscillation fre- onds, the maximum
quency depends on the combination of voltage developed at
resistors R4 and R5 and capacitors C3, this point may go up
C4 and C5. When switch S1 is closed, Fig. 1: Circuit of parrot-sounding doorbell to 20 volts, which
the audio signal generated due to oscil- must be avoided to
lations is amplified by transistor BC337 prolong the life of the
and parrot-like sound is reproduced circuit. R1 limits
from loudspeaker LS1 connected across surge current in the
the secondary of transformer X1. circuit. The parallel
Here we have used an 8-ohm, 0.5W combination of resis-
loudspeaker. The audio output trans- tor R1 and capacitor
former (X1) is normally used in tran- C1 limits the circuit
Fig. 3: Pin
sistor radio. The function of the audio configuration current to a safe level
output transformer is to transform the of BC337 for circuit operation.
high impedance of the output ampli- Fig. 2: Dimensions of audio transformer R2 across C1 pro-
fier to match the much lower imped- vides DC path for the
ance of the speaker. This is necessary be low output and loss of tone qual- current as well as a discharge path when
to get an efficient transfer of the audio ity. The audio frequency tone across the circuit is switched off. This is to
signal to the speaker. If a wrong au- the speaker terminal is about 3 kHz. prevent a possible shock to the opera-
dio transformer is used, the result can The dimensions of the audio trans- tor by charged capacitor C1. 

WWW.EFYMAG.COM ELECTRONICS FOR YOU JUNE 2006 87

CMYK
circuit
ideas

Poor Mans Hearing Aid s.c. dwiv


edi

EFY LAB vidually, as per your requirement,


using presets VR1 and VR2, respec-

T
his miniature stereo preampli- tively. house it in a thin metallic case, which
fier-cum-headphone amplifier With 3V supply voltage, you can then be mounted in the middle of
circuit works off a 3V battery can afford to use 1/8-watt resistors, a metallic/plastic headband (gener-
(lithium non-rechargeable coin cell). while the electrolytic capacitors ally used by telephone operators),
Although its performance is not voltage rating can be as low as 5V. while the two microphones with
comparable to that of commercially This will allow the assembled circuit their associated earpieces are to be
available sophisticated hearing aids, to occupy very little space. Apart extended using screened wires so
still it can serve the purpose well from the usual battery on/off that these (microphone-earpiece sets)
for persons with a low degree of switch S1, muting on/off switch can be kept closest to the respective
hearing impairment. Its maximum S2 has also been provided. Both S1 earlobes.
power output at 1 kHz is around 8 and S2 could be PCB-mount slide Caution. Ensure that shielded
mW, which is adequate for driving switches. microphone wires do not touch
the headphones. After assembling the main circuit, (short) the shielded earpiece
The circuit, as shown in Fig. 1, wires, as
is wired around Sanyos MSI (me- these are con-
dium-scale-integrated) surface-mount nected to dif-
10-pin DIL IC LA4537M, which ferent pins
measures just 86.41.5 mm 3 . A (reference in-
functional block diagram of LA4537M put pin 5 and
IC is shown in Fig. 2. Since the MSIs ground pins 3
pin-to-pin (centre-to-centre) distance and 8, respec-
is only 1 mm, the circuit has to be tively) of ICs
assembled on a properly designed LA4537M.
PCB using soldering iron with a You may use
pointed bit. Two ICs (LA4537M) an insulat-
have been cascaded to increase the ing sleeve
overall sensitivity and thereby the over each of
reception range. You can adjust the the shielded
volume of the stereo channels indi- Fig. 2: Functional diagram of ic la4537m wires.

Fig. 1: Circuit for the hearing aid

8 8 j u n e 2 0 0 8 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas

PC POWER MANAGER s.c. dwiv


edi

T.K. Hareendran fier comprising diodes D1 through D4,


smoothed by capacitors C1 and C2,

V
ery often we forget to switch and regulated by IC LM7812 (IC1). The To activate the PC manager circuit,
off the connected peripher- regulated 12V DC is used to energise proceed as follows: Press start switch
als like monitor, scanner and relay RL1. LED1 works as a power- S1 and hold it in this position for a
printer while switching off our PC. active indicator. few minutes. When power-active
This leads to needless energy con- To set up the circuit, first connect indicator LED1 lights up, relay RL1
sumption and possible shortening of the input socket (SOC1) of the circuit energises and the 230V mains power
the life of the peripheral. PCs with to a proper AC mains wall outlet us- supply from SOC1 is fed to output
an ATX switch-mode power supply ing a three-core power cable. Now socket SOC2 through the contacts of
(SMPS) unit are not provided with a connect one end of a standard USB relay RL1.
mains switch outlet. It is therefore not cable to the B-type USB
possible to achieve automatic switch- input socket and the
ing (on/off) of peripheral units with other end of the cable
the computer power switch. to any vacant USB port
Here is a simple circuit that turns (A-type) of the PC. Fi-
the connected peripherals on/off along nally, plug one standard
with your PC. It consists of a regulated four-way switchboard
power supply, a simple USB interface (extension cord) into the
and two electromagnetic relays used as supply output socket
power switches. (SOC2) of the circuit
The power supply for the circuit is and take power from
derived from the AC mains via trans- this switchboard to acti-
former X1. The 15V AC available at vate all loads like moni-
the secondary winding of transformer tor, scanner, printer and
X1 is first rectified by a bridge recti- even your PC. Fig. 2: Wiring diagram for PC power manager

Fig. 1: Circuit of PC power manager

8 4 J u n e 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
Now start your computer as usual, PC manager is ready to use. cabinet. Connect SOC1, SOC2 and USB
by pressing the power button on the When you switch off your PC, relay socket along with switches S1 and S2
front panel. When the PC runs, there RL2 de-energises. As a result, electric and LEDs (LED1 and LED2) on the
will be 5V DC at the USB interface power from the switchboard (to which front panel of the cabinet. Refer Fig. 2
socket. As a result, relay RL2 energises all peripherals are connected) is cut off. for connections.
via diode D6. The contacts of relay RL2 Switch S2 works here as an emergency EFY note. Take care during fab-
close switch S1 permanently, and LED2 bypass switch. rication and testing, as the circuit is
glows continuously. Assemble the circuit on a general- at mains potential and may give you
Release start switch S1. Now your purpose PCB and enclose in a suitable lethal shock.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u J u n e 2 0 0 9 8 5
circuit
ideas

Weekly Reminder s.c. dwiv


edi

Raj K. Gorkhali In the morning of the seventh


day, all the inputs of gate N9 become

T
his circuit reminds you of all high, making its output low. The low to begin day counting for the next
the important tasks that are output of gate N9 is inverted by gate week.
due on a specific day every N11 to trigger the pulse generator Suppose you require a reminder for
week. So be it returning your library built around gates N5 and N7, and four days. Then first cover the sensor
book, switching on your favourite TV it produces a short-duration pulse and press increment switch S1 thrice
programme, putting the dustbin out to trigger the flip-flop built around momentarily and leave it. Now your
or cleaning the car, it automatically gates N6 and N8. As a result, the reminder (flashing of LED1) starts after
flashes an LED that very day to alert output of the flip-flop goes high to four days.
you of something to be done. The LED enable the astable multivibrator built Assemble the circuit on a gen-
keeps flashing until you press the re- around gate N3. The astable mul- eral-purpose PCB and enclose in a
set button. The circuit consumes very tivibrator produces 2Hz frequency suitable cabinet. After assembling
little power. to flash LED1 as a reminder. LED1 the circuit, proper setting is required.
The circuit can count the days. flashes until you press reset switch First of all, switch on the power.
The rising of the Sun is detected by S2 momentarily. LED1 flashes. Press switch S2 to stop
a light-dependent resistor (LDR1). When the enable input (pin 8) of it from flashing. Cover LDR1 and
When the sun rises, the ambient gate N3 is low, the output of the asta- press S1 several times until LED1
light level reduces the resistance of ble multivibrator remains high. Gate flashes again. The counter is now set
LDR1. The voltage level at pin 13 N2 inverts this high level into low and at a count of 0 and is ready to start
of gate N4 goes low. Since the other the transistor does not conduct. So weekdays counting. Press S2 to stop
input (pin 12) of gate N4 is high, its LED1 doesnt flash when the astable flashing.
output also goes high. This is invert- multivibrator is disabled. Do not uncover the sensor im-
ed by gate N10 whose output goes Counter IC3 also resets when the mediately after pressing S2. Else, the
low to make counter IC3 advance pulse generator triggers because its counter will register arrival of the
by one count. This way each day is reset pin 11 is connected to the output next day and LED1 will flash after six
counted. Similarly, the counter ad- of gate N11. days. To make it flash weekly on a
vances by one every morning until it When the counter IC3 resets, its particular day, keep the LDR1 in dark
counts seven days. output becomes low and its ready until night.

9 8 J u n e 2 0 1 0 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
CIRCUIT
IDEAS

INFRARED BUG S.C. DW


IVEDI

T.K. HAREENDRAN cuit, in principle, con-


verts the IR signal pulse

T
his circuit can be used to de- trains into noticeable au-
tect the presence of modulated ral notes.
infrared signals in its vicinity S1 is used to switch
from any electronic source, for in- on/off mains power and
stance, an IR handheld remote control- LED1 indicates power-
ler. It can also be used for testing IR on. Resistor R4 and
burglar alarm systems. zener diode ZD2 form
Fig. 1 shows the circuit of the in- a low-current voltage Fig. 2: Pin configurations of LM386, BC547/337 and UM66
frared bug. Besides the power supply stabiliser for providing
(one 9V PP3/6F22 compact battery steady 5.1V DC to the small signal- T2. The amplified signal is fed to the
pack), it consists of an infrared preamplifier circuit. IR LED1 is the melody generator via resistor R5. The
signal detector-cum-preamplifier main sensing element. output of the melody generator is fed
followed by a melody generator The IR signal detected by IR LED1 to LM386 low-power audio amplifier
and a tiny audio amplifier. The cir- is amplified by npn transistors T1 and (IC2) via variable resistor VR1, which
works as the volume control.
The loudspeaker sounds to in-
dicate the presence of IR signal
near the circuit.
IC LM386 is wired as a
minimum-parts amplifier with
a voltage gain of 20, which is
sufficient for this application.
Capacitor C3 is used for
decoupling of the positive rail
and the R-C combination net-
work comprising C4 and R7
bypasses high frequency to
ground.
The circuit can be easily
wired on a small veroboard or
any general-purpose PCB. Pin
configurations of IC LM386,
transistor BC547 and melody
generator UM66 are shown in
Fig. 2. A miniature metallic
cabinet may be used for enclos-
Fig. 1: Infrared bug ing the gadget. z

100 MARCH 2006 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
circuit
ideas
Triple Power Supply s.c. dwiv
edi

Sandip Trivedi and P.D. Lele is used for op-amp-based analogue


circuit experiments.

T
his low-cost, multipurpose Fig. 1 shows the circuit of the triple in positive and negative regulated
power supply fulfils the re- power supply, while Fig. 2 shows the power supplies. LED1 glows to indi-
quirements of almost all labora- pin configuration of the regulators cate that +5V is available, while LED2
tory experiments. Nonetheless, it can used in the circuit. Transformer X1 indicates that 5V is available.
be easily fabricated by hobbyists. steps down the mains power to deliver Switch S1 is used for mains on/
A single transformer is used to the secondary output of 18V-0-18V. off. Using switches S2 through
build this triple power supply. Regula- The transformer output is rectified by S4, any of the three supplies can be
tor IC LM317 generates variable power full-wave bridge rectifier BR1, filtered independently turned off when not
supply of 1.25 to 20V, 1A. The dual by capacitors C1, C2, C3, C7 and C8, required in a particular experiment.
12V, 1A power supply is generated and regulated by IC1 through IC5. This reduces unnecessary power dis-
by regulators 7812 and 7912. Similarly, Regulator IC1 (LM317) provides vari- sipation and increases the life and
dual 5V, 1A power supply is gener- able voltages (1.25 to 20V), while IC2 reliability of the power supply. Since
ated by regulators 7805 and 7905. and IC4 provide regulated +12V and the circuit uses three terminal regula-
On/off switches (S2 through S4) 12V, respectively. The output of IC2 is tors, only capacitors are required at
select the required power supply. Vari- fed to regulator IC3 (7805), which pro- the input and output. The use of few
able power supply is used to study the vides fixed +5V. Similarly, the output components makes the circuit very
characteristics of devices. Fixed +5V of IC4 is fed to regulator IC5 (7905), simple. The three terminal regulators
power supply is used for all digital, which provides fixed 5V. Capacitors have heat-sink provision to directly
microprocessor and microcontroller C4 through C6, and C9 through C11, deliver 1A output current. To ensure
experiments. Dual 12V power supply are used for further filtering of ripples the maximum output, do not forget to

HEAT SINK

S2 = FOR VARIABLE VOLTAGE IN IC1 OUT


3
LM317 2
S3 = FOR +12V AND +5V S2 1
R1
ADJ. +1.25 TO 20V
S4 = FOR 12V AND 5V 120

S1-S4 = ON/OFF SWITCH C3


0.1
VR1 GND
2.2K
+12V
POT

S1
ON/OFF HEAT SINK HEAT SINK
SWITCH
IN IC2 OUT IN IC3 OUT
1 7812 3 1 7805 3
X1 S3 2 2
F1
1.5A GND GND
R2
FUSE
BR1 330
C1 C4 C5
L W04 1000 C2 100 10
+5V
C6
230V AC 35V 0.1 25V 16V 0.1
50Hz
BR1 LED1
N W04

GND
X1 = 230V AC
PRIMARY TO 18V-0-18V, C7 C8 C9 C10 R3
1.5A SECONDARY 1000 0.1 100 10 330
TRANSFORMER 35V 25V 16V C11 5V
0.1
GND GND
1 1 LED2
BR1-W04 2 IC4 3 2 IC5 3
1.5A, BRIDGE S4 IN 7912 OUT IN 7905 OUT
RECTIFIER

HEAT SINK HEAT SINK

12V
GND

Fig. 1: Tripple power supply

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u M a r c h 2 0 0 9 8 1
circuit
ideas
earthing tag.
5. If the 18V-0-18V
transformer is replaced
with 15V-0-15V trans-
former, the output
voltage of the variable
supply using LM317
Fig. 2: Pin configurations of regulators will be correspond-
ingly lower.
use heat-sinks for the regulators. 6. If proper voltages
The three-terminal regulators are are available, go to step
almost non-destructible. These have Fig. 3: Proposed cabinet for power supply 7. Otherwise, check the
inbuilt protection circuits including connections.
the thermal shutdown protection. Even 1. Collect all the components shown 7. Connect variable regulator
if there is overload or shorting of the in the circuit diagram. LM317 to the circuit and check 1.25V
output, the inbuilt overload protection 2. Connect switch S1, fuse, trans- to 20V output by varying the 2.2-kilo-
circuit will limit the current and slowly former and mains cord to the assem- ohm linear potentiometers.
reduce the output voltage to zero. bled PCB as well as the box. 8. Now connect ICs 7812, 7912, 7805
Similarly, if the temperature increases 3. Keep the multimeter in DC volt- and 7905 to the circuit and check their
beyond a certain value due to excessive age range (more than 25V DC) and output voltage.
load and heat dissipation, the in-built measure the DC voltage across ca- 9. Connect terminals, potmeter,
thermal shutdown circuit will reduce pacitors C1 and C7 (1000 F, 35V). This switches and indicator LED on the
the output current and the output volt- voltage should be around 18V1.41=25 front panel of the box and complete
age (gradually) to zero. Thus complete to 26V DC. Check both positive and the connections. Close the box by us-
protection is provided to the circuitry. negative voltages with respect to ing screws.
Assemble the circuit on a general- ground. Precaution. At the primary side of
purpose PCB and enclose in a box as 4. It is advisable to use three-wire the transformer, 230V AC could give
shown in Fig. 3. mains cable and plug. If you are using lethal shocks. So be careful not to touch
The step-by-step procedure to build any metallic box, earthing wire/pin of this part. EFY will not be responsible
the triple power supply for the labora- the mains plug should be soldered to for any resulting loss or harm to the
tory follows: the body of the metallic box using an user.

8 2 M a r c h 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas

Antisleep Alarm for Students


Suresh Kumar K.B. BC547, relay RL1 and buzzer.
The Schmitt-trigger NAND gate

T
edi
his circuit saves both time and (IC1) is configured as an astable multi- s.c. dwiv
electricity for students. It helps vibrator to generate clock for the timer
to prevent them from dozing (IC2). The time period can be calcu-
off while studying, by sounding a beep lated as T=1.38RC. If R=R1+VR1=15
at a fixed time interval, say, 30 minutes. kilo-ohms and C=C2=10 F, youll get D3, further counting stops and relay
If the student is awake during the beep, T as 0.21 second. Timer IC CD4020 RL1 energises to deactivate all the ap-
he can reset the circuit to beep in the (IC2) is a 14-stage ripple counter. pliances. This state changes only when
next 30 minutes. If the timer is not reset Around half an hour after the reset IC1 is reset by pressing switch S1.
during this time, it means the student of IC1, transistors T1, T2 and T3 drive Assemble the circuit on a general-
is in deep sleep or not in the room, and the buzzer to sound an intermediate purpose PCB and enclose it in a suit-
the circuit switches off the light and fan beep. If IC2 is not reset through S1 able cabinet. Mount switch S1 and the
in the room, thus preventing the wast- at that time, around one minute later buzzer on the front panel and the relay
age of electricity. the output of gate N4 goes high and at the back side of the box. Place the
The circuit is built around Schmitt- transistor T4 conducts. As the output 12V battery in the cabinet for powering
trigger NAND gate IC CD4093 (IC1), of gate N4 is connected to the clock the circuit. In place of the battery, you
timer IC CD4020 (IC2), transistors input (pin 10) of IC2 through diode can also use a 12V DC adaptor.

9 8 M a r c h 2 0 1 0 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
CIRCUIT
IDEAS

REMOTE CONTROL FOR SANI TH


EO

HOME APPLIANCES
S. MOHAN nal is fed to clock pin 14 of decade appliance. Transistor T2 (BC548) con-
counter IC CD4017 (IC1). Pin 8 of IC1 nected to pin 2 of IC1 drives relay RL1.

C
onnect this circuit to any of is grounded, pin 16 is connected to Vcc Diode 1N4007 (D1) acts as a freewheel-
your home appliances (lamp, and pin 3 is connected to LED1 (red), ing diode. The appliance to be con-
fan, radio, etc) to make the which glows to indicate that the ap- trolled is connected between the pole of
appliance turn on/off from a TV, VCD pliance is off. the relay and neutral terminal of mains.
or DVD remote control. The circuit can The output of IC1 is taken from its It gets connected to live terminal of AC
be activated from up to 10 metres. pin 2. LED2 (green) connected to pin 2 mains via normally opened (N/O) con-
The 38kHz infrared (IR) rays is used to indicate the on state of the tact when the relay energises. z
generated by the re-
mote control are re-
ceived by IR receiver
module TSOP1738 of
the circuit. Pin 1 of
TSOP1738 is connected
to ground, pin 2 is con-
nected to the power
supply through resis-
tor R5 and the output
is taken from pin 3. The
output signal is ampli-
fied by transistor T1
(BC558).
The amplified sig-

82 MAY 2005 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
CIRCUIT
IDEAS

SCHOOL/COLLEGE S.C. DW
IVEDI

QUIZ BUZZER
 GOVINDA RAJU TEKUMUDI petition. The circuit uses IC 74LS373 section is IC 74LS373, an octal
and a few passive components that are latch that is used to transfer

M
anual buzzers used for quiz readily available in the market. the logic state at data input pins
competitions in schools and The circuit can be divided into two D0 through D7 to the corresponding
colleges create a lot of confu- sections: power supply and quiz Q0 through Q7 outputs. Data pins D0
sion in identifying the first respondent. buzzer. through D7 are normally pulled low
Although there are circuits using PCs Fig. 1 shows the power supply sec- by resistors R1 through R8, respec-
and discrete ICs, they are either too tion. The regulated 5V power supply tively.
expensive or limited to only a few for the quiz buzzer section is derived One terminal of push-to-on
number of players. from AC mains. The 230V AC mains switches S1 through S8 is connected
The quiz buzzer circuit given here is stepped down to 7.5V AC by trans- to +5V, while the other terminal is
can be used for up to eight players, former X1, rectified by bridge rectifier connected to the respective data input
which is maximum in any quiz com- BR1, filtered by C1 and regulated pins. The switches are to be extended
by regulator to the players through cord wire. The
IC1. Capacitor torch bulbs BL1 through BL8 can be
C2 bypasses housed in boxes with the front side of
ripples in the the boxes covered with a white paper
regulator out- having the name or number of the
put. contestant written over it for easy
Fig. 2 identification. Place the boxes above
shows the the head level so that these can be
quiz buzzer seen by the audience also.
section. At the When the power is switched on us-
Fig. 1: Power supply heart of this ing switch S9 (provided terminals A

Fig. 2: Circuit of school/college quiz buzzer

WWW.EFYMAG.COM ELECTRONICS FOR YOU MAY 2006 87

CMYK
CIRCUIT
IDEAS
and B of both the power supply and tarily presses his respective switch, the is tied to ground to latch all the Q0
quiz buzzer sections are intercon- corresponding output data pin goes through Q7 outputs. This restricts fur-
nected), the circuit is ready to use. high. This triggers the corresponding ther change in the output state due to
Now all the switches (S1 through S8) SCR and the respective bulb glows. At any change in the state of switches S1
are open and Q0 through Q7 outputs the same time, the piezobuzzer (PZ1) through S8 by any other contestant.
of IC 74LS373 are low. As a result, the sounds as transistor T1 conducts. Only one of the eight torch bulbs
gates of silicon-controlled rectifiers Simultaneously, the base of tran- glows until the circuit is reset by on/
SCR1 through SCR8 are also low. sistor T2 becomes high to make it con- off switch S9. Note. The complete kit
As soon as a contestant momen- duct. Latch-enable (LE) pin 11 of IC2 is available at Kits n Spares outlet. 

88 MAY 2006 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
CIRCUIT
IDEAS

5-BAND GRAPHIC EQUALISER R. SUNDAR


A KUMAR

 SOMEN GHOSH bandwidth product greater than 3 plifier. Proper quality factor (Q) needs
MHz. The NE5532 or LM833 used in to be selected to avoid overlap in ad-

T
his equaliser uses low-cost this circuit meets these requirements. jacent bands as this introduces
op-amps. Good-quality op- Equaliser circuits typically divide colouration into the audio signal.
amps powered by a single volt- the audio spectrum into separate fre- We have used the multiple-feed-
age supply are readily available in the quency bands and have independent back bandpass filter topology shown
market. The op-amp should have a gain control for each band. The out- in left-most corner at the bottom of the
noise density of less than 24nV/Hz, put of each band is mixed at IC4(A) figure. This is a circuit for single-chan-
slew rate of more than 5V/s and gain- and then fed to an audio power am- nel bandpass filter. If the capacitors are

WWW.EFYMAG.COM ELECTRONICS FOR YOU MAY 2007 87


CIRCUIT
IDEAS
amplifier with a gain of 2. The input
Component Values for 5-band Equaliser signal is divided by 2 by the resistive
Centre C Ra Rb Rc Gain (A) Quality (Q) network comprising R3 and R4. Hence
frequency (F) (kilo- (kilo- (kilo-
the net gain of this amplifier is unity.
fo (Hz) ohms) ohms) ohms)
Two 100k resistors (R1 and R2) are
60 C4=C5=0.1 R9=11 R11=27 R10=91 4.1 1.7 used as a voltage divider and the junc-
250 C7=C8=0.1 R14=2.7 R15=6.3 R13=22 4.1 1.7 tion voltage is fed to its
1000 C10=C11=0.047 R18=1.5 R19=3.3 R17=11 3.7 1.6 positive input through R6. This
4000 C13=C14=0.0022 R22=7.5 R23=18 R21=63 4.2 1.7 divider has enough power to feed all
16000 C16=C17=0.0022 R26=2 R27=4.3 R25=15 4.2 1.7 other op-amps directly. Resistor Ro
(R8=R12=R16=R20=R24=R28=R30=100)
of the same value, the calculations are the octave division, application and has the dual function of noise reduc-
fairly simple. For calculating the com- some degree of manufacturers prefer- tion and resistive isolation of capaci-
ponent values, use the following for- ence, but nearly all share the basic oc- tive load. It may be varied between 50
mulae: tave boundaries that are based on a and 150 ohms depending on the noise
Centre frequency (fo) : 1/2C(Ra||Rb)Rc centre frequency of 1000 Hz. in the circuit.
Bandwidth (B) : 1/CRc A balance between the number of The potmeters (VR1 through VR5)
Quality factor (Q) : fo/B = foCRc filters and bandwidth need to be ob- are in the signal path and hence should
Gain (A) : Rc/2Ra served. It is possible to use a wider be of the best quality possible. Wrap
These can be combined to give the bandwidth and fewer filters, or nar- the body of the pots with bare copper
following formulae: rower bandwidth and more filters. wire and solder the other end of the
Ra = Q/2foAC Anything narrower than 1/3 octave is wire to ground. Since the filters are
Rb = Q/2foC (2Q2A) rare, since the complexity of the filters very sensitive, all resistances should
Rc = Q/foC increases for higher values of Q. This be metal-film type and the capacitors
Begin the calculations by choosing can get rather expensive and in reality should be polyester type.
a large value of capacitance (~0.1F) and is of limited use for most applications Each stage of the op-amp needs to
smaller value of resistances. Increasing in audio systems. be capacitively coupled to the next
the capacitance decreases resistances National Semiconductor lists the stage so that the DC does not get
(Ra, Rb and Rc). Care must be taken to following mid-frequencies for a 10- propagated and amplified. For a good
avoid overloading on the input buffer band graphic equaliser: 32, 64, 125, 250, low-frequency response, this coupling
op-amp. Note that stray capacitances 500, 1k, 2k, 4k, 8k and 16k. It also rec- capacitor should be greater than 1 F.
on the board reduces the value of C. ommends a Q of 1.7 for equalisers. A 10F, 16V capacitor is used in each
The bandwidth and gain do not de- The table lists the component val- stage of the circuit here.
pend on Rb. Hence, Rb can be used to ues for different centre frequencies of The circuit is powered by a 12V
modify the mid-frequency without af- the equaliser. We used Q of 1.7 and DC regulated supply. A well-regulated
fecting the bandwidth and gain. gain (A) of 4. supply using 7812 is recommended.
For equalisers, there are standard The circuit for the 5-band equaliser Ground the Vcc pin of each op-amp
mid-frequencies that are normally uses IC1 (A) LM833 as the buffer stage with a 0.1F ceramic disk capacitor to
used. The exact frequencies depend on for the equaliser. It is a non-inverting bypass the noise. 

88 MAY 2007 ELECTRONICS FOR YOU WWW.EFYMAG.COM


circuit
ideas

Solar Panel based Charger


and Small LED Lamp
edi
s.c. dwiv
P.V. Vinod Kumar Thekkumuri types of batteries: lead acid, Ni-Cd
and Li-ion. The lead-acid batteries

Y
ou can save on your electric- are commonly used in emergency
ity bills by switching to alter- lamps and UPS. cuit for charging a lead-acid battery,
native sources of power. The The working of the circuit is sim- replace it with a normal pulsating DC
photovoltaic module or solar panel ple. The output of the solar panel is charger once a week. Keep checking
the water level of the lead-
acid battery. Pure DC voltage
normally leads to deposition
of sulphur on the plates of
lead-acid batteries.
For charging Ni-Cd cells,
shift switches S1 and S3 to
on position and use con-
nector B. Regulator IC 7806
(IC1) is wired as a constant-
current source and its output
is taken from the middle ter-
minal (normally grounded).
Using this circuit, a constant
current goes to Ni-Cd cell for
charging. A total of four 1.2V
cells are used here. Resistor
R2 limits the charging cur-
Fig. 1: Circuit of solar panel based charger rent.
For charging Li-ion battery
fed via diode 1N5402 (D1), which (used in mobile phones), shift switches
acts as a polarity guard and pro- S1 and S2 to on position and use con-
tects the solar panel. An ammeter nector C. Regulator IC 7805 (IC2) pro-
is connected in series between vides 5V for charging the Li-ion bat-
diode D1 and fuse to measure the tery. Using this circuit, you can charge
current flowing during charging a 3.6V Li-ion cell very easily. Resistor
of the batteries. As shown in Fig. R3 limits the charging current.
1, we have used an analogue mul- Fig. 2 shows the circuit for a small
timeter in 500mA range. Diode LED-based lamp. It is simple and low-
D2 is used for protection against cost. Six 10mm white LEDs (LED2
reverse polarity in case of wrong through LED7) are used here. Just
connection of the lead-acid battery. connect them in parallel and drive
When you connect wrong polarity, directly by a 3.6V DC source. You can
the fuse will blow up. use either pencil-type Ni-Cd batteries
For charging a lead-acid bat- or rechargeable batteries as the power
Fig. 2: LED lamp circuit tery, shift switch S1 to on posi- source.
tion and use connector A. After Assemble the circuit on a general-
described here is capable of deliver- you connect the battery, charging purpose PCB and enclose in a small box.
ing a power of 5 watts. At full sun- starts from the solar panel via diode Mount RCA socket on the front panel of
light, the solar panel outputs 16.5V. D1, multimeter and fuse. Note that the box and wire RCA plug with cable
It can deliver a current of 300-350 pulsating DC is the best for charging for connecting the battery and LED-
mA. Using it you can charge three lead-acid batteries. If you use this cir- based lamp to the charger.

8 0 M ay 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas

Digital Timer Enhancement s.c. dwiv


edi

Raj K. Gorkhali circuit can be used:


1. You want an appliance or gadget and relay RL1 de-energises to discon-

T
his simple circuit automatically to switch on automatically at a preset nect the load from mains power supply
activates or deactivates an elec- time through its contacts. At this time, you
tronic device at the time of alarm 2. You switch on an appliance or need to pause the alarm using pause
preset in a clock. When the alarm rings, gadget manually at a particular time switch of the clock.
the tone burst generated at the terminal and want it to switch off automatically When you press reset switch S1,
of the buzzer triggers the circuit and the at a preset time LED1 glows to indicate that the circuit
relay energises or de-energises to switch Let us see how it works when you is ready to work. When you press start
on or switch off the load. want your appliance to switch on at a switch S2, LED2 glows to indicate start
The circuit is built around ICs preset time, say, 3 pm. Set the alarm in mode. Glowing of LED3 means that
CD40106 (IC1) and CD4017 (IC2) and your clock to 3 pm and slide switch S3 the counter has stopped counting and
a few discrete components. IC1 is a hex towards Q1. When the alarm sounds needs to be reset before use.
Schmitt trigger, while IC2 is a decade at 3 pm, Q0 output of IC2 advances to When the counter is in stop mode,
counter. The circuit works off regulat- Q1 and relay RL1 energises to connect Q2 output of IC2 remains high. As this
ed 6V power supply, while the alarm the load (appliance) to mains power pin is connected to the clock-enable
clock runs off its own 1.5V battery. supply through its contacts. The load input (pin 13) of IC2, the clock input
The tone burst generated at the remains on until you reset IC2 by is inhibited. In this condition, any tone

piezobuzzer is tapped from its connec- momentarily pressing S1. At this time, burst signal arriving from the clock
tion points. The positive terminal of the you need to pause the alarm using has no effect on IC2 and therefore the
clock buzzer is connected to the base of pause switch of the clock. circuit remains in stop mode. You can
transistor T1 and the negative terminal Now suppose you manually start now set the alarm time in the clock.
is connected to ground of the circuit. the load at 3 pm and want it to stop Assemble the circuit on a general-
When the alarm clock sounds, the automatically at 6 pm. First, reset IC2 purpose PCB and enclose in a small
signal from the clock buzzer makes by momentarily pressing S1 and slide cabinet. Connect the base of transistor
transistor T1 conduct. As a result, pin switch S3 towards Q2. Set the alarm in (T1) to positive terminal of the alarm
1 of gate N1 goes low and it outputs your clock to 6 pm. To start the load, clock and negative terminal to ground
high at pin 2. This low-to-high transi- press switch S2 momentarily at 3 pm. of the circuit. Put the alarm clock at a
tion clocks the counter (IC2) at pin 14 The Q0 output of IC2 advances to Q1 convenient place. If you do not want to
through diode D1 and gate N2. In this and relay RL1 energises to connect the use a 6V battery, replace it with a 6V
way, IC2 advances by one at each clock load to mains power supply through adaptor to power the circuit. Mount
produced due to the sounding alarm. its contacts. When the alarm sounds at the LEDs and the pushbutton on the
There are two situations where this 6 pm, Q1 output of IC2 advances to Q2 front panel of the cabinet.

9 8 M ay 2 0 1 0 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas

Traffic Controller s.c. dwiv


edi

N.R. Paranjape high-to-low pulse at its pin 3


triggers IC3 through C5. IC3

T
his simple traffic controller can is configured as a monosta-
be used to teach children rudi- ble with on time of about 4
ments of traffic rules. seconds, which means pin 3
The circuit (shown in Fig. 1) uses of IC3 will remain high for
readily available components. It main- this period and energise relay
ly comprises rectifier diodes (1N4001), RL2 through driver transistor
a 5V regulator 7805, two timers IC 555, T2. The amber lamp (B2) thus
two relays (5V, single-changeover), lights up for 4 seconds.
three 15W, 230V bulbs and some dis- As soon as 4-second time
crete components. period of timer IC3 at pin 3
Mains power is stepped down by lapses, relay RL2 de-ener-
transformer X1 to deliver a secondary gises and the green lamp (B3)
output of 9V, 300 mA. The transformer lights up for the rest of off
output is rectified by a full-wave period of IC2, which is about
bridge rectifier comprising diodes D1 26 seconds. The green lamp
through D4, filtered by capacitor C1 is activated through the nor-
and regulated by IC 7805 (IC1). mally closed (N/C) contacts
IC2 is wired as a multivibrator with of relay RL2.
on and off periods of approximately So when mains power is
30 seconds each with the component switched on, red light glows for
values selected. As soon as mains 30 seconds, amber for 4 seconds
power is switched on, pin 3 of IC2 goes and green for 26 seconds.
high for 30 seconds. This, in turn, ener- You can assemble this cir-
gises relay RL1 through transistor T1 cuit on a general-purpose PCB
and the red lamp (B1) glows through and enclose in an insulated
its normally-open (N/O) contact. At box. The box should have
the same time, mains power is discon- enough space for mounting
nected from the pole of relay RL2. transformer X1 and two re-
As the on time of IC2 ends, a lays. It can be fixed near 230V Fig. 2: Construction details of traffic controller unit

Fig. 1: Circuit of traffic controller

8 0 N o v e m b e r 2 0 0 8 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
AC, 50Hz power supply or mounted box using nuts and bolts or screws. First, fix three 15W bulbs (B1
on the PVC tube used in construction Make three tubes of thin alumini- through B3) and then press on the
of the traffic light container. um sheet, which is readily available in tubes. Support the other ends of the
Construction of the traffic light hardware shops. The inner diameter of tubes in the holes made on the front
container box is shown in Fig. 2. A aluminium tubes should be such that panel of cardboard box. Sandwich gela-
stout cardboard box of 30x15x10cm3 is these can snugly fit on the light sock- tine papers of the three colours between
required for housing the lamps. To en- ets. Using a sharp knife, make holes two sheets of cardboard and fix over the
sure strength, use a 10x45cm2 plywood opposite the sockets carefully. Wire the tubes. The visibility of red, amber and
plate having 1.5cm thickness and se- sockets at the back and take the wires green lights improves with their mount-
cure onto it three light sockets and the out through the PVC tube. ing on the tubular shape.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u N o v e m b e r 2 0 0 8 8 1
circuit
ideas
affect operation of the IC. The two-tone

DuoPhone
frequencies generated are switched by
edi
s.c. dwiv an internal oscillator in a fast sequence,
which appear at the output amplifier
and drive the piezo buzzer element
directly.
Raj K. Gorkhali dicating a call on line 2 that is not con- The hold section is built around
nected to the telephone receiver. When IC1 and IC2 . Switch S1 is used to hold

T
his simple circuit of a duo- you have a call on line 2, the ringer line 1 and S2 is used to put line 2 on
phone allows you to access will buzz. The telephone receiver can hold. Since one telephone set is used
two telephone lines through then be connected to line 2 through for two separate lines, provision is
one telephone set. Each telephone con- the telephone changeover switch S4 to thus made to hold the first call while
versation will remain entirely separate receive the call. the telephone set is connected to make
unless you choose to combine the two The ringer section is built around or receive the second call.
lines through a conference switch. Its IC3 and its associated components. Its The circuit comprises two identi-
unique feature is a three-party conver- circuit uses IC 1240 to detect the ring cal hold circuits, each with its own
sation/conference facility. signal and keeps the buzzer ringing flashing LED to maintain the holding
The entire circuit is divided into for an incoming call on line 2. The sup- current. Each hold circuit has a timer
three main sectionsthe ringer, hold ply voltage for the ringer is obtained LM555 (IC1 or IC2) connected as a
and conferencing. The telephone set from the phone lines AC ring (80V AC free-running oscillator operating at
is connected to line 1 under normal RMS) signal and is regulated inside the a frequency of 2 Hz. The output pin
conditions. The ringer is used for in- IC so that the noise on the line does not 3 of each timer is used for driving an
LED that flashes twice in a second.
The hold circuit is powered by the
telephone lines through manually-
operated hold switches (S1 and S2).
Resistors R2 and R6 are placed in
the hold circuits to ensure that suf-
ficient current is drawn from the
telephone line to prevent a discon-
nection.
The conferencing section is built
around the audio coupling trans-
former X1. Switch S3 enables three-
way conversation through both the
telephone lines. The transformer
couples the audio signals from one
telephone line to the other. At the
same time, complete DC isolation
is maintained between both the
telephone lines. Capacitors C1 and
C3 are used for preventing any DC
from flowing into the transformer
windings. Resistor R1 provides a
holding current on line 1 when the
telephone set is connected to line
2 during a conference call. Once
the three-way conversation is es-
tablished through the double-pole
single-throw (DPST) switch S3, the
hold circuits and flashing LED indi-
cators are turned off. LED3, which
gets illuminated by the holding cur-
rent through R1, provides a visual

9 2 N o v e m b e r 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
indication of the conferencing. connect switch S4 to line 1. All other nect plugs, you can easily remove
The working of the circuit is sim- switches should be in the off mode the unit from the telephone lines.
ple. To check if the wiring of switch and all LEDs should be unlit. This Check the polarity of the telephone
S4 is correct, connect the telephone permits the telephone ringer to be lines with a multimeter and connect
set to line 1. Now lift up the handset activated if a call comes on line 2. For it to the circuit accordingly.
and dial the number of line 2. the making calls using line 1 or line 2, To check the circuit after complet-
ringer would sound. Now discon- you can simply connect switch S4 to ing the wiring, connect a 6V regulated
nect line 1 and connect line 2 through the desired line. power supply to line 1. When you
switch S4. You would get the dial Assemble the circuit on a gen- switch S1 to the on position, LED1
tone from line 2. eral purpose PCB and enclose it in blinks at a rate of 2 Hz. If you flip
To check a conference call, you a suitable cabinet. Fix the switches switch S1 to the off position and
would need the help of two friends. S1 through S4 on the front side of switch S3 to the on position, LED1
First connect switch S4 to line 1 and the cabinet. Also fix the LEDs on the stops blinking and LED3 starts glow-
make a call to friend 1. Now flip the front of the cabinet and the buzzer at ing, indicating that the conferencing
DPST switch S3 to the on position. the back of the cabinet. It would be facility is being used. Now disconnect
This puts on hold friend 1 on line 1 better if you use telephone sockets line 1 from the 6V power supply, con-
and the conference LED3 lights up. for the telephone lines. Sockets are nect it to line 2 and flip switch S2 to
Connect switch S4 to line 2 and dial relatively inexpensive and save time the on position. Now LED2 blinks at
friend 2. When the call on line 2 is when troubleshooting needs to be a rate of 2 Hz. Before connecting the
answered, a three-way conversation done. Use modular plugs to connect circuit to the telephone lines, flip each
can be made. the circuit and the two telephone hold switch to the off position. Now
When the duophone is not in use, lines. By using such quick discon- your circuit is ready to be used.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u N o v e m b e r 2 0 0 9 9 3
circuit
ideas

Smart Laptop Docking Station


T.K. HAREENDRAN the reset input independent of clock.
Power supply to the circuit is

Y
edi
s.c. dwiv
ou can easily convert your derived from AC mains by using step-
ordinary docking station into a down transformer X1. The transformer
smart electronic laptop docking output is rectified by a full-wave
station with antitheft alarm. bridge rectifier comprising diodes D1 reflected by the laptop surface. The
The add-on sensor circuit required through D4 and smoothed by capaci- phototransistor conducts to make re-
for this is built around IC CNY70 (IC1) tor C1. set pin 12 of IC2 high, so IC2 does not
and IC CD4060 (IC2) as shown in Fig. When power switch S1 is in on oscillate.
1. IC CNY70 is an integrated reflective- position, the circuit gets power supply When someone lifts up the laptop
type opto-sensor that contains a pho- and power-on indicator LED1 lights from the docking station, the photo-
totransistor and an infrared LED. The up. At the same time, the mains socket transistor cuts off and pin 12 of IC2
LED emits infrared light and the tran- also gets the AC mains supply. This goes low. As a result, IC2 starts oscil-
sistor works as a receiver. The current mains socket can be used to connect lating. After a few seconds, delay pin
flowing through the phototransistor the laptop charger and/or a desktop 3 of IC2 goes high to drive transistor
depends on the intensity of the light lamp, etc. T1. The piezobuzzer starts beeping to
detected. Working of the circuit is simple. raise an alert and the LED2 glows to
IC CD4060 is a 14-stage ripple-car- When the laptop is in the docking indicate that someone has stolen the
ry binary counter. The counter is reset station, the phototransistor inside IC1 laptop from the dockyard.
to zero by a gating positive voltage at receives the IR light from the LED, The simplicity of the circuit makes

Fig. 1: Circuit for laptop docking station with antitheft alarm

it ideal for construction on a small


PCB. After completion of wiring, check
the circuit for proper functioning of all
the sections and enclose the unit in a
suitable ABS case. Mount the finished
unit beneath the docking station using
small screws/double-sided glue pads
so that the opto-sensor is exactly at
the centre of the docking-station base
plate. Refer Fig. 2 for the arrangement.
If your laptop computer is black in
colour, it will reflect far less IR light.
Fig. 2: Proposed assembly for docking station You can overcome this drawback by

1 1 2 N o v e m b e r 2 0 1 0 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
attaching a white sticker suitably at the remove the laptop from the docking Similarly, you are free to experiment
bottom of the laptop. station, ensure that IC2 is enabled with the values of IC2 timing compo-
Calibrate the circuit before first (pin 12 is low) and wait for the alarm nents C5, R3 and R4 for increasing or
use. Set preset VR1 at the centre and sound. Repeat the process and adjust decreasing the delay time.
place the laptop in the docking station. VR1 until you get the correct result. EFY note. During testing at EFY
Now turn VR1 slowly until IC2 goes to Note that the LED in the opto-sensor is Lab, we used CX sensor from OMRON
standby (no-oscillation) mode. Then permanently powered via resistor R2. in place of CNY70.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u N o v e m b e r 2 0 1 0 1 1 3
CIRCUIT
IDEAS

TELEPHONE-OPERATED S.C. DW
IVEDI

CALLING SYSTEM
 YOGESH KATARIA (VU3PYF) The circuit can also be used in quiz the telephone connected in parallel to
contests and by visually- or hearing- the circuit.

D
ual-tone multiple-frequency impaired people. It can be used to call 3. Gates N1 and N2 to activate the
(DTMF) receiver IC is com- a maximum of nine different persons. call bell.
monly used in telephone The circuit is built around DTMF Here is how the circuit works: Con-
equipment. One common DTMF receiver IC HT9170, BCD-to-7-segment nect the telephone and the circuit in
receiver is Holtek HT9170 used in decoder/driver 7447, quad 2-input OR parallel to the telephone line. Connect
electronic communication circuits. The gate and common-anode display. 6V to the circuit. When you press
Holtek HT9170 series comprises DTMF Simple melody generator IC UM66 is switch S1, DIS1 shows 0. Lift the
receivers integrated with digital de- used to produce melody sound in the handset off the cradle and dial a num-
coder and bandsplit filter functions. loudspeaker through Darlington-pair ber, say, 1. The output of IC1 becomes
All HT9170 series ICs use digital transistors (T1 and T2). A3A2A1A0 = 0001. LED1 glows, the
counting techniques to detect and de- The tone pair DTMF generated by display shows 1 and the call bell
code all the 16 DTMF tone pairs into a pressing the telephone key is con- sounds.
4-bit code output. verted into binary values internally in To stop the call bell, put the re-
This telephone-operated calling cir- the IC. The binary values are indicated ceiver on the cradle and press switch
cuit is very helpful for doctors in call- by the glowing of LEDs at the output S1 momentarily. Now DIS1 shows 0
ing the patients, in banks and in vari- of IC1. and LED1 stops glowing.
ous other situations where persons The output of IC1 is connected to: For calling other numbers, follow
have to be called or signalled. When 1. LEDs connected via resistors R15 the same procedure: Lift the handset
you need to call a person amongst through R18 at pins 11 through 14, re- off the cradle and press the desired
many standing outside your cabin, just spectively. LED1 indicates the LSB and number (0 through 9). The respective
lift the telephone handset off the cradle LED4 indicates the MSB. LED will glow, the number will be dis-
and press the respective number. The 2. BCD-to-7-segment decoder/ played on DIS1 and the call bell will
number of the person called will be driver 7447, whose outputs are con- sound. Now put the handset on the
displayed and a bell will sound to in- nected to the common-anode display cradle and press S1 momentarily to
form the person that it is his turn. for displaying the pressed number on stop the call bell. 

100 OCTOBER 2006 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
CIRCUIT
IDEAS
generation of spark from the spark plug.

MOTORBIKE ALARM S.C. DW


IVEDI Usually, there is a wire running from
the alternator to the ignition coil, which
has to be routed through one of the N/
C1 contacts of relay RL1 as shown in
 T.A. BABU turned on. When you turn ignition off Fig. 1. Fig. 2 shows the pin configura-
using key S2, you have approximately tions of SCR BT169, MOSFET BS170

T
his simple-to-build alarm can 15 seconds to get off the bike; this func- and transistor BC548.
be fitted in bikes to protect tion is performed by resistor R6 to dis- Also, on disconnection of the coil,
them from being stolen. The charge capacitor C3. Thereafter, if any- sound generator IC UM3561 (IC1) gets
tiny circuit can be hidden anywhere, one attempts to get on the bike or move power supply through N/O2 contact
without any complicated wiring. Vir- it, the alarm sounds for approximately of relay RL1. This drives the darlington
tually, it suits all bikes as long as they 15 seconds and also disconnects the pair built around T3 and T4 to pro-
have a battery. It doesnt drain out the ignition circuit. duce the siren sound through loud-
battery though as the standby current During parking, hidden switch S1 speaker LS1.
is zero. is normally open and does not allow To start the vehicle, both hidden
The hidden switch S1 can be a triggering of MOSFET T1. But when switch S1 and ignition key S2 should
small push-to-on switch, or a reed someone starts the motorbike through be switched on. Otherwise, the alarm
switch with magnet, or any other simi- ignition switch S2, MOSFET T2 trig- will start sounding. Switching on S1
lar simple arrangement. The circuit gers through diode D1 and triggers SCR1, which, in
is designed around a couple of low- resistor R5. Relay RL1 (12V, turn, triggers MOSFET T1.
voltage MOSFETs configured as 2C/O) energises to activate MOSFET T1 is configured
monostable timers. Motorbike key S2 the alarm (built around to disable MOSFET T2
is an ignition switch, while switch S3 IC1) as well as to discon- from functioning. As a re-
is a tilt switch. nect the ignition coil from sult, MOSFET T2 does not
Motorbike key S2 provides power the circuit. Disconnection of Fig. 2: Pin configurations of trigger and relay RL1 re-
supply to the gate of MOSFET T2, when the ignition coil prevents BT169, BS170 and BC548 mains de-energised, alarm

Fig. 1: Cheap motorbike alarm

116 OCTOBER 2007 ELECTRONICS FOR YOU WWW.EFYMAG.COM


CIRCUIT
IDEAS
deactivated and ignition coil connected the angle by which the switch must be tacts and tin-plated steel housing. If
to the circuit. Connection to the igni- tilted to ensure the contact operation you find difficulty in getting the tilt
tion coil helps in generation of spark (operating angle), must be approxi- switch, you may replace it with a reed
from the spark plug. Keeping hidden mately 1.5 to 2 times the stated differ- switch (N/O) and a piece of magnet.
switch S1 accessible only to the owner ential angle. The differential angle is The magnet and the reed switch
prevents the bike from pillaging. the measure of the just closed posi- should be mounted such that the con-
Tilt switch S3 prevents attempt to tion to the just open position. tacts of the switch close when the bike
move the vehicle without starting it. The tilt switch has characteristics stand is lifted up from rest.
Glass- and metal-bodied versions of like contacts make and break with vi- EFY note. Make sure that while
the switch offer bounce-free switching bration, return to the open state at rest, driving, the two internal contacts of
and quick break action even when non-position sensitivity, inert gas and the Tilt switch dont touch each
tilted slowly. Unless otherwise stated, hermetic sealing for protection of con- other. 

WWW.EFYMAG.COM ELECTRONICS FOR YOU OCTOBER 2007 117


circuit
ideas

Muscular Stimulator s.c. dwiv


edi

Ashok K. Doctor attached. It is useful to relieve head-


ache and muscular pain and revive

H
ere is a circuit that stimulates frozen muscles that impair movement. aid in removing cellulitis.
nerves of that part of your Though it provides muscles stimula- The system comprises two units:
body where electrodes are tion and invigoration, its mainly an muscular stimulator and timer.
Fig. 1 shows the circuit of the
muscular stimulator. IC 7555 is
wired as an astable multivibrator
to generate about 80Hz pulses.
The output of IC1 is fed to tran-
sistor T1, whose emitter is further
connected to the base of transistor
T2 through R3 and VR1. The col-
lector of transistor T2 is connected
to one end of the secondary wind-
ing of transformer X1. The other
end of the secondary winding of
the transformer is connected to
ground.
When IC1 oscillates, trans-
former X1 is driven by the pulse
frequencies generated to produce
high voltage at its primary termi-
nals. Separate electrodes are con-
nected to each end of the primary
Fig. 1: Muscular stimulator circuit winding of transformer X1. Diode
1N4007 (D1) protects transistor T2
against high-voltage pulses generated
by the transformer.
Using potmeter VR1 you can con-
trol the intensity of current sensing at
the electrodes. The brightness level of
LED1 indicates the amplitude of the
pulses. If you want to increase the in-
tensity level, replace the 1.8-kilo-ohm
resistor with 5.6 kilo-ohms or higher
value up to 10 kilo-ohms.
X1 is a small mains transformer
with 220V primary to 12V, 100/150mA
secondary. It must be reverse connect-
ed, i.e., connect the secondary winding
to the collector of T2 and ground, and
primary winding to the output elec-
trodes. The output voltage is about 60V
but the output current is so small that
there is no threat of electric shock.
Electrodes are made of small, thin-
guage metallic plates measuring about
2.52.5 cm2 in size. Use flexible wires
Fig. 2: Timer circuit to solder electrodes and connect to the

9 6 o c to b e r 2 0 0 8 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
output of the device. Before attaching S2, the monostable triggers and its out- when the muscular stimulation circuit
metal electrodes to the body, wipe put goes high for 10 minutes. Thereaf- is powered on. At the same time, flip
them with a damp cloth. After attach- ter, its output goes low to give a beep switch S2 to start the timer for counting
ing the electrodes to the body (with the sound from the piezobuzzer and lights the time. At the end of the timing cycle,
help of elastic bands on velcro straps), up the red LED (LED2) indicating that the piezobuzzer beeps. Each session
flip switch S1 to activate the circuit stimulation time is over. should last about 10 minutes.
and rotate the knob of intensity-control Assemble the timer with a separate Caution: Heart patients and
preset VR1 very slowly until you feel a switch and a 9V DC battery in the same pregnant women should not use
slight tingling sensation. cabinet as the stimulator. Tape the elec- this device. Also, do not attach elec-
Fig. 2 shows the timer circuit. It trodes to the skin at opposite ends of trodes to burns, cuts, wounds or any
uses IC NE555 wired in monostable the chosen muscle and rotate VR1 knob injury. Consult your physician before
mode. Initially, when you press switch slowly until you sense light itching using this circuit.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u o c to b e r 2 0 0 8 9 7
circuit
ideas

Electronic Metronome sani the


o

Raj K. Gorkhali IC1 drives the pulse generator.


The length of the pulse is about 10 ms, is longer (about 40ms) and is used to

A
metronome is used by musi- and it appears at pin 1 of IC3 (NOR mark the accented beat. The result is a
cians for practice in maintain- gate N3). At each pulse, the red LED tick sound lasting about 40 ms, which
ing a consistent tempo, or (LED1) flashes to indicate occurrence sounds every second, third, fourth,
rubato, around a fixed beat. This circuit of the beat. The pulse passes through fifth, sixth or eighth beat, depending
produces a regular beat at the rate of NAND gates N6 and N7 of IC4. The on the setting of S1. The accent pulse
40 to 200 beats per minute. It accentu- pulse output from pin 6 of N7 is fed to makes the yellow LED (LED2) flash.
ates every second, third, fourth, fifth, NAND gate N8. The audio signal out- It is important that the base tick
sixth or eighth beat, which is adjust- put generated by another multivibrator note or beat is not heard on the ac-
able as per your liking and require- (IC6) is also fed to gate N8. The audio cented beat. This is achieved by gates
ment. Every beat is indicated by the signal can be adjusted to obtain a note N5 through N7 of IC4.
glowing of an LED. The accented beat of suitable pitch. The final audio signal appears at
is indicated by another LED. The output from IC1 also goes pin 3 of IC5 (NAND gate N10). This

The beat is derived from an astable to IC2 (CD4022), which is a divide- signal can be fed to the audio power
multivibrator (IC1) running between by-eight counter/divider with eight amplifier stage. When you supply 6V
0.67 Hz (40 beats per minute) and 3.47 decoded outputs. Rotary switch S1 al- DC to the circuit, you can hear the
Hz (208 beats per minute), and a pulse lows the counter to be reset every two, base or tempo beats and accented beats
generator built around NOR gates N1 three, four, five or six counts, or cycle from the speaker of your power ampli-
and N3, resistor R3 and capacitor C2. through eight counts without resetting. fier. The red LED (LED1) flashes with
The beat covers all the musical tempi Output Q0 of IC2 drives the sec- the beat and the yellow LED (LED2)
from adagio to presto. The results are ond pulse generator built around flashes on the accented beat.
a very short burst of sound, remi- NOR gates N2 and N4, resistor R4 Construction and testing is simple.
niscent of the tick of a mechanical and capacitor C3. The output is an Assemble the circuit on a breadboard
metronome. If you prefer a beep rather accented beat pulse, which is fed or general-purpose PCB. Mount all the
than a tick sound, the pulses should be to NAND gates N5 and N9 and the components, except S1, and temporar-
lengthened by reducing the value of R3 base of transistor T2. Since C3 has a ily connect pin 15 of IC2 to ground rail.
to, say, 5.6 or 6.8 kilo-ohms. higher capacitance than C2, this pulse IC1 produces an audible tick sound

1 1 6 O c to b e r 2 0 1 0 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
(tempo beat) at a fixed rate that varies flashes once for every eight flashes of from the ground rail and connect to
as VR1 is adjusted. IC6 produces a tone the red LED (LED1). six-way rotary switch S1. Remove the
that varies in pitch from about 250 Hz Now connect a loudspeaker to pin speaker and 10F capacitor from pin 3
(about an octave below middle C) to 3 of NAND gate N10 through a 10F of N10 and connect pin 3 to an audio
about 2 kHz (about two octaves above capacitor. The circuit should produce a power amplifier. Use presets VR1 and
middle C) as VR2 is adjusted. The series of tick sound with a double-tick VR2 such that turning their knobs
counter goes through its normal eight- sound at every eighth tick sound. If clockwise increases the tempo and the
stage cycle and the yellow LED (LED2) this works well, remove pin 15 of IC2 pitch, respectively.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u O c to b e r 2 0 1 0 1 1 7
CIRCUIT
IDEAS

IVEDI
BELL-CUM LIGHT CONTROLLER S.C. DW

 SURESH KUMAR K.B. the inhabitants for activating the transistors T1 and T2.
above-mentioned timer for switching IC1 is a 14-stage binary counter and

T
his bell-cum-light controller on the light for three minutes from in- oscillator IC. In its quiescent state, the
circuit is equipped with four side the house. S2 is meant to be used Q13 output (pin 3) is high, which re-
switches labelled S1 through during darkness with S4 on. sults in conduction of transistor T1 to
S4. While S4 is the mains on/off Like S1, switch S3 (labelled call- cut off transistor T2. Thus the relay is
toggle switch for powering the timer bell) is located outside the entry gate. in de-energised state and the bulb is
circuit for lighting up a bulb for a spe- It is meant to be used during day, off.
cific duration (mainly during night), when mains switch S4 is off. When When the master reset is activated
the functions and placement of the switch S3 is pressed, it activates only by pressing of switch S1 and/or S2,
other three switches (which are push the bell circuit for as long as the switch all the output pins of IC1 including
switches) follow. is kept pressed. Since the bell circuit is Q13 output go low. Thus transistor T1
Switch S1 (labelled call-bell and powered by a 3V battery, this circuit is cut off, while T2 conducts to energise
timer-on) is located at the outer entry can be activated even if mains switch relay RL1 as also the bulb. Once S1
gate of the house for use by a visitor. is off. and S2 are released, the timer starts
This switch activates bell circuit for as With switch S4 on, the supply to counting.
long as the switch is kept pressed. On bulb B1 is routed via N/O contacts of Pressing of switch S1 additionally
its release, a timer is initialised, which, relay RL1. Simultaneously, the AC results in forward biasing of transis-
in turn, switches on a bulb to light up mains stepped down by transformer tor T3, which conducts to extend 3V
the path between the outer gate and X1 is rectified by diodes D1 and D2 battery supply to melody generator
the house door for a specific duration followed by filter capacitor C1. The DC UM66 (IC2). The output of the melody
(3 minutes). supply thus becomes available for generator drives transistor T3 to out-
Switch S2 (labelled timer on) is timer circuit comprising CD4060 (IC1) put the tune via loudspeaker LS1.
situated inside the house for use by and relay driver circuit comprising Thus, when a visitor presses switch

WWW.EFYMAG.COM ELECTRONICS FOR YOU SEPTEMBER 2006 95

CMYK
CIRCUIT
IDEAS
S1 at the gate, the calling bell sounds sistor T1 conducts and T2 cuts off. between the gate and the house. It is
and the timer resets. The Q13 output The relay de-energises to turn the light decided by the values of resistor R4
of IC1 goes low to cut off transistor off. and capacitor C3 as follows:
T1. Transistor T2 conducts to energise Since diode D5 is connected from On period = 300xR4xC3 minutes
the relay and turn the light on. Q13 to clock input terminal (pin 11), The light controller circuit will
When switch S1 is released, the the terminal is always high when Q13 work at night, provided mains switch
timer starts counting. After three min- is high, disabling the counting of IC1. S4 is on. During night, only switches
utes (determined by resistor R4 (100- So the state is latched until the next S1 and S2 will be used, while switch
kilo-ohm) and capacitor C3 (0.1F), resetting takes place. On time period S3 is used in the day for the calling
the Q13 output goes high, i.e., tran- can be varied according to the distance bell only. 

96 SEPTEMBER 2006 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
circuit
ideas

Inverter for Soldering Iron


Lovely T.P. pairs T3-T5 and T4-T6 (utilising BC558
and BD140). The outputs from the

H
edi
ere is a simple but inexpen- drivers are fed to transistors T7 and T8 s.c. dwiv
sive inverter for using a small (each 2N3055) connected for push-pull
soldering iron (25W, 35W, operation. Use suitable heat-sinks for
etc) in the absence of mains supply. It transistors T5 through T8.
uses eight transistors and a few resis- A 230V AC primary to 12V-0-12V, respectively.
tors and capacitors. 4.5A secondary transformer (X1) is When you power the circuit using
Transistors T1 and T2 (each BC547) used. The centre-tapped terminal of switch S1, transformer X1 produces
form an astable multivibrator that pro- the secondary of the transformer is 230V AC at its primary terminal. This
duces 50Hz signal. The complementary connected to the battery (12V, 7Ah), voltage can be used to heat your sol-
outputs from the collectors of transis- while the other two terminals of the dering iron.
tors T1 and T2 are fed to pnp Darling- secondary are connected to the collec- Assemble the circuit on a general-
ton driver stages formed by transistor tors of power transistors T7 and T8, purpose PCB and house in a suitable
cabinet. Connect the
battery and trans-
former with suita-
ble current-carrying
wires. On the front
panel of the box, fit
power switch S1 and
a 3-pin socket for con-
necting the soldering
iron.
Note that the rat-
ings of the battery,
transistors T7 and
T8, and transformer
may vary as these all
depend on the load
(soldering iron).

1 1 6 S e p t e m b e r 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
CCI IRRC UCIUT IITD EIADS E A S

AUTOMATIC NIGHT LAMP WITH SAN


I THE
O

MORNING ALARM
D. MOHAN KUMAR sistors (LDRs) for sensing darkness and Low-value capacitor C2 maintains the
light in the room. The resistance of LDR is monostable for continuous operation,

T
his circuit automatically turns on a very high in darkness, which reduces to eliminating the timer effect. By increasing
night lamp when bedroom light is minimum when LDR is fully illuminated. the value of C2, the on time of the white
switched off. The lamp remains LDR1 detects darkness, while LDR2 de- LED can be adjusted to a predetermined
on until the light sensor senses daylight tects light in the morning. time.
in the morning. A super-bright white The circuit is designed around the LDR2 and associated components gen-
LED is used as the night lamp. It gives popular timer IC NE555 (IC2), which is erate the morning alarm at dawn. LDR2
bright and cool light in the room. When configured as a monostable. IC2 is acti- detects the ambient light in the room at
the sensor detects the daylight in the vated by a low pulse applied to its trigger sunrise and its resistance gradually falls
morning, a melodious morning alarm pin 2. Once triggered, output pin 3 of IC2 and transistor T1 starts conducting. When
sounds. goes high and remains in that position un- T1 conducts, melody-generator IC UM66

The circuit is powered from a til IC2 is triggered again at its pin 2. (IC3) gets supply voltage from the emitter
standard 0-9V transformer. Diodes D1 When LDR1 is illuminated with of T1 and it starts producing the melody.
through D4 rectify the AC voltage and the ambient light in the room, its resistance The musical tone generated by IC3 is
resulting DC voltage is smoothed by C1. remains low, which keeps trigger pin 2 amplified by single-transistor amplifier T2.
Regulator IC 7806 gives regulated 6V DC of IC2 at a positive potential. As a result, Resistor R7 limits the current to IC3 and
to the circuit. A battery backup is pro- output pin 3 of IC2 goes low and zener diode ZD limits the voltage to a
vided to power the circuit when mains the white LED remains off. As the safer level of 3.3 volts.
fails. When mains supply is available, the illumination of LDR1s sensitive window The circuit can be easily
9V rechargeable battery charges via diode reduces, the resistance of the device in- assembled on a general-purpose PCB.
D5 and resistor R1 with a reasonably creases. Enclose it in a good-quality plastic case
constant current. In the event of mains In total darkness, the specified LDR with provisions for LDR and LED. Use a
failure, the battery automatically takes up has a resistance in excess of 280 kilo- reflective holder for white LED to
the load without any delay. Diode D5 ohms. When the resistance of LDR1 in- get a spotlight effect for reading. Place
prevents the battery from discharging back- creases, a short pulse is applied to trigger LDRs away from the white LED,
wards following the mains failure and pin 2 of IC2 via resistor R2 (150 kilo- preferably on the backside of the case, to
diode D6 provides current path from the ohms). This activates the monostable and avoid unnecessary illumination. The
battery. its output goes high, causing the white speaker should be small so as to make
The circuit utilises light-dependant re- LED to glow. the gadget compact.

ELECTRONICS FOR YOU DECEMBER 2003


C I R CC UI RICTU I IT DI ED EAASS

PROGRAMMABLE TIMER S.C.


DWI
VED
I

FOR APPLIANCES
MITESH P. PARIKH the help of rotary switches S2 and S3. off. In the cyclic mode, this process re-
The circuit works in two modes: off mode peats again and again.

T
his programmable timer is useful and cyclic mode. Slide switch S4 is used The circuit is built around three quad
for domestic, commercial as well for mode selection. two-input NAND gate ICs CD4011 (IC1,
as industrial applications. It auto- In the off mode, the appliance turns IC3 and IC5), two 14-bit binary ripple
matically turns the appliance on/off after on after a preset time (set by rotary switch counters CD4020 (IC2 and IC4) and a re-
a preset time. The time period can be S2), remains on for another preset time lay driver transistor (T1). It works off a
varied from 8 seconds to 2 hours with (set by rotary switch S3) and then turns 12V DC, 500mA power supply. You can

FEBRUARY 2004 ELECTRONICS FOR YOU


CIRCUIT IDEAS

also power the circuit from mains by us- ond) is inhibited by the timing control tion slide switch S4 is towards off posi-
ing a 12V DC, 500mA adaptor in place of circuit formed by NAND gates N6, N10 tion. The high Q8 output will inhibit the
the 12V DC power supply. and N11. second oscillator via NAND gates N6, N10
Lets assume that you want an appli- After 128 pulses (approximately two and N11 to stop clock pulses to pin 10 of
ance to turn on after two minutes and minutes), the Q8 output of IC2 goes high IC4. Thus the relay is energised only once
keep it on for another two minutes. For to perform the following three functions: (for 2 minutes) since clock pulses to both
this set the rotary switches S2 and S3 to 1. Make the output at pin 10 of NAND IC2 and IC4 are stopped altogether and
positions as shown in the figure. gate N3 low via rotary switch S2, which their outputs get latched.
Initially, when power switch S1 is closed, inhibits the first oscillator In case the mode-selector switch S4
a small charging current pulse through 2. Energise relay RL1 via NAND gates is towards cycle on side, clock pulses to
capacitors C2 and C3 resets both the counters N8 and N9 and relay driver transistor T1 IC4 would continue and the relay is alter-
(IC2 and IC4) to make all their outputs (Q4 to make appliance on nately energised and de-energised for two
through Q14) low. The high output at pin 3. Make the output at pin 10 of NAND minutes each. This continues until the
10 of NAND gate N3 starts the first oscillator gate N10 low, which is connected to the circuit is switched off and started again,
comprising NAND gates N1 and N2, which inputs of NAND gate N11 to make its or the mode-selector switch is slided to-
provides clock pulses to IC2 at the rate of output at pin 11 high. This high output is wards cycle off side.
one pulse per second. The glowing of red further connected to the input (pin 1) of Rotary switch S2 is used for start
LED (LED1) indicates that this oscillator is NAND gate N4. time selection and rotary switch S3 is
working well and timer is on. Now the second oscillator starts os- used for hold time selection. The start
During the first 2 minutes, relay RL1 cillating and provides clock pulses to pin and hold time can be increased up to 24
remains de-energised by the control cir- 10 of IC4 at the rate of one pulse per hours by changing the values of R and C
cuit formed by NAND gates N7, N8 and second. components of the oscillator circuit of
N9 and LED2 is off, which indicates that Now, after 128 pulses (approximately first and second oscillator.
the appliance is in off codition. The sec- two minutes), the Q8 output of IC4 goes For heavier load, use a relay of a higher
ond oscillator built around NAND gates high. This de-energises the relay via current rating. The circuit can be made on
N4 and N5 (which provides clock pulses NAND gates N7 and N9 and relay driver a multipurpose PCB and put in a plastic or
to IC4 at the rate of one pulse per sec- transistor T1, provided the mode-selec- metal cabinet with proper ventilation.

ELECTRONICS FOR YOU FEBRUARY 2004


CCI IRRC UCIU
T II TD E IADS E A S

LOW-COST ELECTRONIC QUIZ TABLE S.C.


DWI
VED
I

VINOD C.M. be on after a particular competitor has connected in parallel to bulb BL1 sounds
pressed the pushbutton. These timings for the preset time. At the same time, ca-

H
ere is a simple, low-cost quiz table can be set by presets VR1 through VR4 as pacitor C1 charges up to 12V, which then
for four game participants. It de- required. discharges through preset VR1. The dis-
termines the contestant who first The circuit works off 12V, 1.5A power charging time of capacitor C1 is decided
presses the switch (S1 through S4) to supply. The current rating of the power by preset VR1. For example, if preset VR1
answer a question and locks out the re- supply should be according to the load is set for a resistance of 4.7k, it will give a
maining three entries. Simultaneously, the (wattage of bulbs). For higher-wattage delay of approximately 4 seconds, mean-

Fig. 1: Schematic of low-cost electronic quiz table

ing that buzzer


PZ1 and bulb BL1
will be on for 4
seconds. It also
indicates that par-
ticipant A is the
first to press his
switch. Even if
any other partici-
pant, say, partici-
pant B, presses
switch S2 after
participant A has
already pressed
switch S1, buzzer
Fig. 2: Set-up for electronic quiz table PZ2 and bulb BL2
will not function
respective audio alarm sounds and the bulbs, use power supply of a higher cur- since MOSFET T2 has no gate voltage to
bulb glows. The quiz table can be used rent rating. trigger because it is grounded through R2
for more number of contestants simply by If participant A presses switch S1, and D1.
adding buzzers, bulbs, MOSFETs and di- MOSFET T1 is triggered and the corre- The same principle applies for other
odes. Besides, it provides an option for sponding bulb BL1 (connected between contestants as well. Instead of bulbs, you
varying the time for which an individual drain of the MOSFET and 12V supply) can also use a group of LEDs. Fig. 2 shows
buzzer and the corresponding bulb should glows and simultaneously piezobuzzer PZ1 the set-up for electronic quiz table.

ELECTRONICS FOR YOU APRIL 2004


circuit
ideas

Remote-operated Master Switch


D. Mohan Kumar tial divider comprising resistors R4 and
R5 maintains half of 5.1V at pin 2 of

G
edi
enerally, a bedside master IC1. In brief, the voltage at pin 2 of IC1 s.c. dwiv
switch is used to switch is higher than at pin 3 and its output
on lamps both indoors and remains low. LED2 remains off and
outdoors when there is a threat of transistor T2 does not conduct. Relay
intruder. This circuit can be used to RL1 remains de-energised and, as a re- glows to indicate activation of the
activate the master switch from the sult, security lamps (both indoors and relay as well as switching on of the
bed without searching for the switch outdoors) remain switched off. security lights. Connect a single-pole,
in darkness. It can be activated by the When you press any key of the single-throw on/off switch (MS) to
TV remote handset. The security lamps remote TV handset, IR rays fall on the activate the security lamps manually

glow for three minutes and then turn receiver (IRX1) and its output goes low. when required.
off. The circuit is sensitive and can be LED1 flashes in sync with pulsation of Zener diode ZD1 provides 5.1V DC
activated from a distance of up to 25 the IR rays. At the same time, transis- for safe operation of the IR receiver
metres. tor T1 (BC558) conducts to take pin 3 of and associated circuit. Power for the
IR receiver module TSOP 1738 IC1 high. IC1 is used as a comparator circuit is derived from a step-down
(IRX1) is used to sense the pulsed with timer action. transformer (X1) and a bridge recti-
38kHz IR rays from the TV remote When transistor T1 conducts, pin 3 fier comprising diodes D1 through D4.
handset. The IR receiver module has of IC1 gets a higher voltage than pin 2 Smoothing capacitor C1 removes rip-
a PIN photodiode and a preamplifier making the output of IC1 high. Mean- ples, if any, from the power supply.
enclosed in an IR filter epoxy case. Its while, capacitor C4 charges to full Assemble the circuit on a general-
open-collector output is 5 volts at 5mA voltage and keeps pin 3 high for a few purpose PCB and enclose in a suitable
current in the standby mode. minutes even after T1 is non-conduct- cabinet. Drill holes on the front panel
In the standby mode, no IR rays ing. Resistor R3 provides discharge for mounting the IR sensor and LEDs.
from the remote handset fall on the IR path for capacitor C4, which decides Connect the master switch between the
receiver, so its output pin 3 remains the time period for which the output of normally-open (N/O) contact and pole
high and LED1 doesnt glow. Through comparator IC1 should remain high. of relay RL1 so that the master switch
resistor R2, the base of transistor T1 The high output of IC1 energises re- can be used when needed. The relay
remains high and it does not conduct. lay RL1 through relay-driver transistor contacts rating should be more than
As a result, the voltage at pin 3 of IC T2. Thus the load, i.e., security lamps, 4A. Mount the unit near the master
CA3130 (IC1) remains low. The poten- turn on for three to four minutes. LED2 switch using minimal wiring.

8 8 a p r i l 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas

Automatic Light Controller s.c. dwiv


edi

Using 7806
M.K. Chandra Mouleeswaran of the transistor. In this way, the volt- Normally, the resistance of LDR1
age regulator is able to operate a light is low during daytime and high dur-

V
oltage regulator ICs (78xx se- bulb automatically as per the ambient ing nighttime. During daytime, when
ries) provide a steady output light. light falls on LDR1, pnp transistor T1
voltage, as against a widely To derive the power supply for conducts. The common terminal of IC1
fluctuating input supply, when the the circuit, the 50Hz, 230V AC mains connects to the ground and IC1 outputs
common terminal is grounded. Any is stepped down by transformer X1 6V. As a result, transistor T2 does not
voltage about zero volt (ground) con- to deliver a secondary output of 12V, conduct and the relay remains de-en-
nected in the common terminal is add- 250 mA. The secondary output of the ergised. The light bulb remains off as
ed to the output voltage. That means transformer is applied to a bridge rec- the mains connection is not completed
the increase in the common terminal tifier comprising diodes D1 through through the relay contacts.
voltage is reflected at the output. On D4, filtered by capacitor C1 and fed During nighttime, when no light
the other hand, if the common terminal to the input terminal of the regulator falls on LDR1, it offers a high resist-
is disconnected from the ground, the (IC1). ance at the base junction of transistor
full input voltage is available at the The common terminal (pin 2) of IC1 T1. So the bias is greatly reduced and
output. is connected to the ground line of the T1 doesnt conduct. Effectively, this
This characteristic is utilised in the circuit through transistor BC557 (T1). removes the common terminal of IC1
present circuit. When the common The transistor is biased by R2, R3, VR1 from ground and it directs the full
terminal is connected to the ground, and LDR1. The grounding of IC1 is input DC to the output. Transistor T2
the regulator output is equivalent to controlled by transistor T1, while light conducts and the relay energises to
the rated voltage, and as soon as the is sensed by LDR1. Using preset VR1, light up the bulb as mains connection
terminal is disconnected from the you can adjust the light-sensing level completes through the relay contacts.
ground, the output increases up to the of transistor T1. As LDR1 is in parallel to VR1+R3
input voltage. The output of IC1 is fed to the base combination, it effectively applies
The common terminal is control- of transistor T2 (through resistor R4 only half of the total resistance of
led by a transistor, which works as a and zener diode ZD1) and relay RL1. the network formed by R3, VR1 and
switch on the terminal. For automatic LED1 connected across the positive LDR1 to the junction at T1 in total
control of light, a light-dependent re- and ground supply lines acts as a darkness. In bright light, it greatly
sistor (LDR1) is connected to the base power-on indicator. reduces the total effective resistance
at the junction.
The circuit is
simple and can be
assembled on a small
general-purpose
PCB. Use a heat-sink
for IC1. Make sure
that LDR1 and the
light bulb are well
separated.
The circuit can be
used for streetlights,
tubelights or any
other home electri-
cal lighting system
that needs to be au-
tomated.

9 2 A p r i l 2 0 1 0 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
CIRCUIT
IDEAS

TELECONFERENCING SYSTEM S.C. DW


IVEDI

PRINCE PHILLIPS Both the primary and secondary line in operation even though no tele-
coils of the coupling transformer consist phone on that line is present.

H
ere is a low-cost teleconfer- of 500 turns of 40SWG insulated copper Here, transistor T1 acts like a re-
encing system that lets you wire. At the secondary side, a small sistor to DC and as high impedance
talk to two persons at a time circuit is used for DC holding. This cir- for audio signals. The high impedance
in any part of the world
over two telephone lines.
The circuit makes use of
a coupling transformer
and some passive com-
ponents.
The circuit is con-
nected between the two
telephone lines. It works
like this: When X calls
A on the first telephone
line, A puts this call on cuit is built around transistor T1 of the circuit is provided by condenser
hold, dials Y on the other telephone (BC547), resistors R2 and R3 (15 kilo- C3, which prevents any audio signal
line (which is free) and keeps this call ohms and 100 ohms, respectively), con- from appearing at the base of T1.
too on hold, and slides switches S1 and denser C3 (22F, 63V) and two LEDs as Thus any audio voltage appearing
S2 to on position. Now X, A and indicators for both the primary and sec- across telephone line No. 2 will not
Y can talk to one another simulta- ondary sides. It provides proper DC cause a corresponding current in the
neously over the two telephone lines. characteristic to hold second telephone transistor. z

WWW.EFYMAG.COM ELECTRONICS FOR YOU AUGUST 2005 81

CMYK
circuit
ideas

BIPOLAR transistor TESTER s.c. dwiv


edi

Raju R. Baddi sistor produces a green-red-green glow,


depending on the test point that con-

T
his tester is primarily meant to nects to the terminal of the transistor. continuously for easy observation,
test bipolar transistors. It can Emitter and collector are differentiated revealing the direction of current flow
indicate the type of the transistor by pressing pushbutton switch S1 that between different test points. So if the
as well as identify its base, collector and actually increases the supply voltage of red LED connected to certain point
emitter pins. The circuit is very simple. the circuit by about 5.1V. glows, it means that n-type of the junc-
The direction of current flow from the At the heart of the circuit is IC tion is connected to that test point, and
terminals of the transistor under test CD4069 (IC3), which oscillates and vice versa. Thus a red-green-red glow
(TUT) is indicated by a pair of LEDs produces pulses required to test a pair indicates npn type of the transistor,
(green-red). An npn transistor produces of transistor leads for conduction in while a green-red-green glow indicates
a red-green-red glow, while a pnp tran- both the directions. Different combina- a pnp transistor. From this observation,
you can easily detect the base.
Collector and emitter are
differentiated based on the
principle that the base-emitter
junction breaks down under
reverse bias much more easily
than the base-collector junc-
tion. Thus under increased AC
voltage, you can easily see that
the emitter conducts more in
the reverse direction (associ-
ated LED glows significantly)
than the collector. Use of trans-
parent or semi-transparent
LEDs is recommended.
Adjust preset VR1 (2-mega-
ohm) to get equal glow when
any two test points are shorted.
Unregulated 15V-18V is regu-
lated by the zener-transistor
combination to power the
circuit.
Fig. 1: Circuit of bipolar transistor tester The testing procedure is
simple. Normally, the transis-
tions are selected by an arrangement tors can be plugged in any orientation
of counter CD4040 (IC1) and bilateral as they come in a variety of possible
switch CD4016 (IC2). arrangements of base, collector and
Fig. 1 shows the circuit of the bipo- emitter pins, such as CEB, BEC and
lar transistor tester. A pair of LEDs is CBE. Simply plug the TUT in the pos-
connected to each test point through sible combinations of three points. A
which current flows in both the direc- red-green-red glow means that it is
tions. Each LED corresponds to a par- npn transistor and the pin associated
ticular direction. In this manner, both with green LED is base. To identify
junctions of the transistor can be tested. the emitter and collector, simply press
The LEDs are arranged to indicate the switch S1 and observe green LEDs
type of the semiconductor across the adjacent to already glowing red LEDs.
p-n junction. The counter is clocked by The green LED glowing with a high
the AC generator built around gates intensity indicates the emitter side,
Fig. 2: Authors prototype of bipolar transistor tester N5 and N6. This makes the LEDs glow while the low-intensity LED indicates

9 0 Au g u s t 2 0 1 0 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
the collector side. observe red LEDs associated with the al- purpose PCB and enclose in a small
Similarly, a green-red-green glow ready glowing green LEDs on the sides. box. Keep the preset knob in the mid-
means that the transistor is pnp type The LED glowing with a high intensity dle. In order to make it easy to plug
and the pin associated with the red LED indicates the emitter side, while the low- the TUT, you can increase the number
is the base. To identify the emitter and intensity LED indicates the collector side. of test points as shown in the authors
collector, simply press switch S1 and Assemble the circuit on a general- prototype in Fig. 2.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u Au g u s t 2 0 1 0 9 1
CIRCUIT
IDEAS

AUTOMATIC-OFF TIMER SANI TH


EO

FOR CD PLAYERS
SURESH KUMAR K.B. pins 9 and 10 of IC1, respectively, as During counting, in case the power
follows: fails momentarily, capacitor C2

A
re you in the habit of falling t=2.3RC (1000F) will provide the necessary
asleep while listening to where R is the value of resistor R8 power backup for IC1. That is,
music? If yes, youll love this and C is the value of capacitor C3. during the period, pin 3 of IC1 is low.
circuit. It will automatically start func- When transistor T2 is cut-off, its When output pin 3 of IC1 goes high,
tioning when you switch off your bed- collector voltage is high. So pin 12 of the relay is energised through
room light and shall turn your CD IC1 is high and IC1 is in reset condi- transistors T3 and T4 and, at the same
player off after a predetermined time. tion. time, counting is disabled by the feed-
In the presence of ambient light, or When light is switched off, the re- back from pins 3 through 11 (clock
when you switch on light of the room sistance of LDR1 increases, driving input) of IC1 via signal diode D7.
in the morning, the CD player will transistor T1 into cut-off state. That is, due to the feedback, output
again start playing. Unlike the usual The collector voltage of transistor T1 pin 3 remains high unless another
timers, you dont have to set this timer goes high to light up LED2 (indicat- high-to-low pulse is received at its
before sleeping. ing that the timer circuit is reset pin 12.

The circuit derives its power di- LDR1 Timer LED2 Reset pin 12 Count LED3 After the relay is energised, there
rectly from the bridge rectifiers. When Light Off High Off will be no AC power in the socket.
on/off switch S1 is closed, LED1 Dark On Low Blink The glowing of LED5 indicates that
glows to indicate that the circuit is your CD player has been switched off.
powered on. enabled) and transistor T2 starts The desired off time period for
In the presence of light, the resis- conducting. As the collector voltage the timer circuit can be set by choos-
tance of the light-dependent resistor of transistor T2 goes low to around ing proper values of resistor R8 and
(LDR1) is low, so transistor T1 con- 0.2V, ground potential becomes avail- capacitor C3. If R8 is 680 kilo-ohms
ducts to drive transistor T2 into cut- able at reset pin 12 of IC1. The low and C3 is 0.22 F, the off time period
off state and the timer circuit remains state at pin 12 enables the oscillator is around 45 minutes.
inactive. and it starts counting. LED3 at pin 7 The glowing of LED4 gives the
The collector of transistor T2 is con- of IC1 starts blinking. Its blinking fre- warning that your CD player is going
nected to reset pin 12 of IC CD4060 quency depends on the R-C compo- to be switched off shortly. In case you
(IC1) via signal diode D5. IC CD4060 nents connected between its pins 9 want to extend the timer setting for
is a 14-stage ripple counter with a and 10. another round, just press reset switch
built-in oscillator. The time period of The status of LED2 and LED3 in S2 momentarily. LED4 stops glowing
oscillations (t) is determined by capaci- the circuit with light falling and not and counting starts again from the ini-
tor C3 and resistor R8 connected to falling on LDR1 is given below: tial stage. z

90 DECEMBER 2005 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
circuit
ideas

Telephone call recorder edi


s.c. dwiv

Alizishaan Khatri
edge of standard telephone wiring and
a stereo plug.

T
oday telephone has become In India, landline telephones pri- sette player, CD player, DVD player,
an integral part of our lives. marily use RJ11 wiring, which has etc. Here we shall be connecting it to
It is the most widely used two wirestip and ring. While tip is a computer.
communication device in the world. the positive wire, ring is the negative When a call comes in, around 90V
Owing to its immense popularity and one. And together they complete the AC current at 20Hz is superimposed
over the DC voltage already present in
the idle line. This current is converted
into DC by the diodes and fed to resis-
tor R1, which reduces its magnitude
and feeds it to LED1. The current is
further reduced in magnitude by the
resistor R2 and fed to the right and
left channels of the stereo jack, which
are connected to the AUX IN port of a
computer.
Any audio recording software,
Fig. 1: Call recorder circuit
such as AVS audio recorder (available
at: http://www.avs4you.com/AVS-
Audio-Recorder.aspx), Audacity audio
telephone circuit. In a telephone line, recorder (http://audacity.sourceforge.
voltage between tip and ring is around net/), or audio recorder (http://www.
48V DC when handset is on the cradle audio-tool.net/audio_recorder_for
(idle line). In order to ring the phone _free.html), can be used to record the
for an incoming call, a 20Hz AC cur- call. When a call comes in, one needs
rent of around 90V is superimposed to launch the audio recording software
over the DC voltage already present in and start recording.
the idle line. For phone recording, simply con-
Fig. 2: Pin configuration of stereo jack The negative wire from the phone nect the stereo jack to the AUX IN
line goes to IN1, while the posi- port of the PC. Install the audacity
tive wire goes to audio recorder (different versions are
IN2. Further, the available for free for different op-
negative wire from erating systems at http://audacity.
OUT1 and the posi- sourceforge.net/) on your PC. Run
tive wire from OUT2 the executable audacity file. In the
are connected to the main window, you will find a drop-
phone. All the resis- down box in the top right corner.
tors used are 0.25W From this box, select the AUX option.
Fig. 3: RJ connector carbon film resistors Now you are ready to record any call.
and all the capaci- As soon as a call comes in, press the
widespread use, there arises a need for tors used are rated for 250V or more. record button found in the audacity
call recording devices, which find ap- The negative terminal of To AUX IN main window and then pick up the
plication in call centres, stock broking is connected to pin 1 of the stereo jack telephone receiver and answer the
firms, police, offices, homes, etc. while the positive terminal is con- call. Press the stop button once the
Here we are describing a call re- nected to pins 2 and 3 of the stereo call ends. Now go to the file menu and
corder that uses very few components. jack. This stereo jack, in turn, is con- select the Export as WAV option and
But in order to understand its working, nected to the AUX IN of any recording save the file in a desired location.
one must first have the basic knowl- device, such as computer, audio cas- You may change the value of resis-

9 4 D e c e m b e r 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
tor R2 if you want to change the output general-purpose PCB and enclose it in recommended to reduce disturbances
volume. you can use a variable resistor a small cabinet. Use an RJ11 connec- in the recording. These can also be
in series with R2 to vary the volume of tor and stereo jack for connecting the reduced by increasing the value of R2
the output. The recorded audio clip can telephone set and computer (for call to about 15 kilo-ohms.
be edited using different options in the recording). Telephone cords can be EFY note. Audacity recording
audacity software. used to connect to the phone line and software is included in this months
You can assemble the circuit on a the circuit. Use of a shielded cable is EFY-CD under utilities section.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u D e c e m b e r 2 0 0 9 9 5
CIRCUIT
IDEAS

ELECTRONIC HORN S.C. DW


IVEDI

 ASHOK K. DOCTOR IC LM3900 (IC1). IC LM3900 has four


independent op-amps (A1 through A4)

H
eres a simple circuit of an with a large output voltage swing. It a low-frequency squarewave genera-
electronic horn that is built can work at up to 32V DC. tor. Op-amp A2 works as an integra-
around quadruple op-amp The first op-amp (A1) is wired as tor, while op-amp A3 works as a

comparator. A2 and A3 together When power is switched on, a ba- 9V. To generate several different
work as a wandering voltage gen- sic tone is generated by transistor T2 tones, connect its point A1 to pins
erator op-amp. Op-amp A4 is wired and transformer X1, which is fre- 1, 3, 4, 5, 8, 9, 10, 11, 12 and 13 of IC1
as a buffer and its output provides quency-modulated by the wandering and point A2 to pins 1, 2, 3, 6, 8, 11
base current to npn transistor T2. npn voltage generator, which, in turn, is and 13.
transistor T2 and audio output trans- influenced by the low-frequency The circuit can be used as an auto-
former X1 form a voltage-controlled squarewave generator. mobile horn by using about 10W au-
oscillator. The circuit works off regulated dio amplifier. 

WWW.EFYMAG.COM ELECTRONICS FOR YOU JANUARY 2007 109


circuit
ideas

liquid level Alarm s.c. dwiv


edi

Lovely T.P. pin 4 of IC1 is low. This low voltage


disables IC1 and it does not oscillate. control the volume of the sound from

H
ere is a simple circuit for The low output of IC1 disables IC2 the speaker.
liquid level alarm. It is built and it does not oscillate. As a result, no The circuit can be powered from a
around two BC547 transistors sound is heard from the speaker. 9V battery or from mains by using a 9V
(T1 and T2) and two timer 555 ICs (IC1 But when the tank gets filled up, power adaptor.
and IC2). Both IC1 and IC2 are wired transistor T1 conducts. Consequently, Assemble the circuit on a general-
in astable multivibrator mode. Timer transistor T2 is cut off and pin 4 of purpose PCB and enclose in a suit-
IC1 produces low frequency, while IC1 becomes high. This high voltage able cabinet. Install two water-level
timer IC2 produces high frequency. enables IC1 and it oscillates to produce probes using metal strips such that one
As a result, a beeping tone is generated low frequencies at pin 3. This low-fre- touches the bottom of the tank and the
when the liquid tank is full. quency output enables IC2 and it also other touches the maximum level of
Initially, when the tank is empty, oscillates to produce high frequencies. the water in the tank. Interconnect the
transistor T1 does not conduct. Con- As a result, sound is produced from sensor and the circuit using a flexible
sequently, transistor T2 conducts and the speaker. Using preset VR1 you can wire.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u J u ly 2 0 0 9 8 5
CIRCUIT
IDEAS

MULTI-MELODY GENERATOR SANI TH


EO

WITH INSTRUMENTAL EFFECT


 EFY LAB programmed data. Its inbuilt pream- cuit terminal through which instru-
plifier provides a simple interface to mental effects are produced. The

T
his melody generator can gen- the driver circuit. The IC can be re- preamplifier outputs are available at
erate various English and Hindi placed with other UM348XXX series, pins 10 and 11, which are fed to loud-
tunes as also instrumental ef- WR630173 or WE4822 melody genera- speaker-driver transistors T1 (SK100)
fects. Various modes of melodies can tor ICs. A WR630173 preprogrammed and T2 (SL100), respectively.
When you switch on the circuit by
closing switch S1, LED1 glows. If DIP
switches S3 and S5 are closed and S4
open, pressing input switch S2 will
generate a melody tone from the loud-
speaker. Vary VR1 to adjust its vol-
ume. Pressing S2 again will generate a
new melody tone. If switches S3 and
S4 are opened while S5 is closed, the
same tone keeps repeating for every
pressing of S2. The positions of DIP
switches and the various modes of
melodies are summarised in the table.
When switch S5 is open, it will
generate an instrumental effect from
the loudspeaker. This effect is pro-
duced by the enveloping circuit con-
sisting of capacitor C1 and resistor R2
connected to pin 7 of IC1. In fact, by
hit and trial you can choose the val-
ues of these components as per your
taste by listening to the output sound.
Only C1 or R2 or its parallel combina-
tion can be used to generate a distinct
instrument effect. To select any of
as Hindi melody gen- these options, two jumper terminals
Positions of DIP Switches for erator can be used J1 and J2 are provided in the circuit at
Various Modes here. There are 16 C1 and R2, respectively. For example,
S3 S4 S5 Mode of tone output tunes stored in if you want to use only C1, you can
WR630173 including join J1 terminals using hookup wire
Opened Opened Closed The same tone keeps repeating. Press
mera joota hai japani, or jumper cap and keep J2 open. The
S2 for the next tone.
mera naam chin chin repetition of the musical effect de-
Opened Closed Closed Play a new tone for every pressing
of S2. chu, hare rama hare pends on the status of switches S3
Closed Opened Closed Play all the tones one by one and krishna, raghu pati and S4.
then repeat the cycle without S2 input. raghav raja ram and The oscillation frequency is pro-
Closed Closed Closed Play all the tones and stop (no repetition). ramaiya vasta vaiya. duced by the resistor and capacitor
The circuit is pow- connected at pins 14 and 13 of IC1.
be selected through DIP switches. ered by a 3V battery. Switch S2 is the This frequency is used as a time base
Other advantages are high volume and main input-select switch for produc- for the tone, rhythm and tempo gen-
volume control. ing different tones in the loudspeaker. erators. The quality of the melody
IC UM3481A is a 16-pin multi-in- Various modes of operation are se- tones depends on this frequency. Re-
strument melody generator. It is a lected through DIP switches S3, S4 and sistor R6 (100-kilo-ohm) connected to
mask-ROM-programmed IC designed S5 connected to pins 3, 5 and 7 of IC1, pin 15 makes the circuit insensitive to
to play the melody according to the respectively. Pin 7 is the envelope cir- variations in the power supply. 

88 JUNE 2006 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
CIRCUIT
IDEAS

PICNIC LAMP S.C. DW


IVEDI

D. MOHAN KUMAR is a monostable multivibrator built white LED (LED1) through ballast re-
around low-power CMOS timer IC sistor R7.

Y
ou can take this white LED- 7555. Resistor R4 keeps trigger input The circuit can be easily assembled
based night lamp on your pic- pin 2 of the monostable normally high on a perforated board. Make the cir-
nic outings. The lamp has in the absence of the trigger input. cuit assembly as compact as possible
sound trigger and push-to-on facili- Timing elements R6 and C4 give a time to enclose in a small case. Use three
ties and gives ample light dur-
ing a walk at night. It will also
prove useful in locating the
door of your tent in the dark-
ness. A click of the fingers will
switch on the lamp for three
minutes to help you in a
strange place.
The circuit uses low-power
ICs to save the battery power.
JFET op-amp TL071 (IC1) am-
plifies the sound picked up by
the condenser microphone. Re-
sistor R1 and low-value capaci-
tor C1 (0.22F) make the am-
plifier insensitive to very low-
frequency sounds, eliminating
the chance of false triggering.
VR1 is used to adjust the sensitivity of delay of three minutes. Reset pin 4 of 1.5V pen-light cells to power the cir-
the microphone and VR2 adjusts the IC2 is connected to the positive rail cuit. Adjust VR1 and VR2 suitably to
gain of IC1. through R5 and to the negative rail get sufficient sensitivity of IC1. Toggle
The amplified output from IC1 is through C2 to provide power-on-reset switch S1 can be used to switch on the
coupled to trigger pin 2 of IC2, which function. The output of IC2 powers the lamp like a torch. z

WWW.EFYMAG.COM ELECTRONICS FOR YOU MARCH 2006 101

CMYK
CIRCUIT
IDEAS

VISUAL AC MAINS S.C. DW


IVEDI

VOLTAGE INDICATOR
 RAJ K. GORKHALI reaches 160 volts, LED2 glows when built around quad op-amp compara-
the voltage reaches 170 volts and so on. tors IC1 through IC3. The inverting in-

Y
ou should not be surprised if The number of LEDs that glow keeps put of all the comparators is fed with
someone tells you that the increasing with every additional 10 the unregulated DC voltage, which is
mains voltage fluctuation could volts. When the input voltage reaches proportional to mains input, whereas
be anywhere from 160 volts to 270 270 volts, all the LEDs glow. the non-inverting inputs are derived
volts. Although majority of our elec- The circuit basically comprises from regulated output of IC4 through
trical and electronics appliances have three LM339 comparators (IC1, IC2 a series network of precision resistors
some kind of voltage stabilisation in- and IC3) and a 12V regulator (IC4). It to serve as reference DC voltages.
ternally built-in, more than 90 per cent is powered by regulated 12V DC. For Resistors R13 to R25 are chosen
of the faults in these appliances occur power supply, mains 230V AC is such that the reference voltage at
due to these power fluctuations. stepped down to 15V AC by step- points 1 to 12 is 0.93V, 1.87V, 2.80V,
This simple test gadget gives vi- down transformer X1, rectified by a 3.73V, 4.67V, 5.60V, 6.53V, 7.46V,
sual indication of AC mains voltage bridge rectifier comprising diodes D1 8.40V, 9.33V, 10.27V and 11.20V, re-
from 160 volts to 270 volts in steps of through D4, filtered by capacitor C4 spectively. When the input voltage var-
10 volts. and regulated by IC4. The input ies from 160V AC to 270V AC, the DC
There are twelve LEDs numbered voltage of the regulator is also fed to voltage at the anode of ZD1 also var-
LED1 to LED12 to indicate the voltage the inverting inputs of gates N1 ies accordingly. With input voltage
level. For input AC mains voltage of through N12 for controlling the level varying from 160V to 270V, the out-
less than 160 volts, all the LEDs remain of the AC. put across filter capacitors C1 and C2
off. LED1 glows when the voltage The LED-based display circuit is varies from 14.3V to 24.1V approxi-

WWW.EFYMAG.COM ELECTRONICS FOR YOU MAY 2006 89

CMYK
CIRCUIT
IDEAS
mately. Zener ZD1 is used to drop purpose PCB such that all the LEDs simply plug the gadget into the mains
fixed 12V and apply proportional volt- make a bargraph. In the bargraph, AC measuring point, press switch S1
ages to all comparator stages (invert- mark LED1 for minimum level of and observe the bargraph built around
ing pins). Whenever the voltage at the 160V, then LED2 for 170V and so on. LEDs. Lets assume that LED1 through
non-inverting input of the compara- Finally, mark LED12 for maximum LED6 glow. The measured voltage in
tors goes high, the LED connected at level of 270V. this case is 220V. Similarly, if all the
the output glows. Now your test gadget is ready to LEDs glow, it means that the voltage
Assemble the circuit on a general- use. For measuring the AC voltage, is more than 270V. 

90 MAY 2006 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
CIRCUIT
IDEAS

HEAT-SENSITIVE SWITCH S.C. DW


IVEDI

M.K. CHANDRA rails via a voltage divider network at the inverting input of IC2. So the
MOULEESWARAN AND formed by potmeter VR1. load is turned on as soon as the ambi-
MISS KALAI PRIYA Since the wiper of potmeter VR1 is ent temperature rises above the set
connected to the inverting input of IC2, level. Capacitor C3 at this pin helps

A
t the heart of this heat-sensi- the voltage presented to this pin is lin- iron out any ripple that passes through
tive switch is IC LM35 (IC1), early variable. This voltage is used as the positive supply rail to avoid er-
which is a linear temperature the reference level for the comparator rors in the circuit operation.
sensor and linear temperature-to-volt- against the output supplied by IC1. By adjusting potmeter VR1 and

age converter circuit. So if the non-inverting input of thereby varying the reference voltage
The converter provides accurately IC2 receives a voltage lower than the level at the inverting input pin of IC1,
linear and directly proportional out- set level, its output goes low (approxi- the temperature threshold at which
put signal in millivolts over the tem- mately 650 mV). This low level is ap- energisation of the relay is required
perature range of 0C to 155C. It de- plied to the input of the load-relay can be set. As this setting is
velops an output voltage of 10 mV driver comprising npn transistors T1 linear, the knob of potmeter VR1 can
per degree centigrade change in the and T2. The low level presented at be provided with a linear dial
ambient temperature. Therefore the the base of transistor T1 keeps it non- caliberated in degrees centigrade.
output voltage varies from 0 mV at conductive. Since T2 receives the for- Therefore any temperature level can
0C to 1V at 100C and any voltage ward bias voltage via the emitter of be selected and constantly monitored
measurement circuit connected across T1, it is also kept non-conductive. for external actions like turning on a
the output pins can read the tempera- Hence, relay RL1 is in de-energised room heater in winter or a room cooler
ture directly. state, keeping mains supply to the in summer. The circuit can also be
The input and ground pins of this load off as long as the temperature used to activate emergency fire extin-
heat-to-voltage converter IC are con- at the sensor is low. guishers, if positioned at the probable
nected across the regulated power sup- Conversely, if the non-inverting in- fire accident site.
ply rails and decoupled by R1 and C1. put receives a voltage higher than the The circuit can be modified to op-
Its temperature-tracking output is ap- set level, its output goes high (approxi- erate any electrical appliance. In that
plied to the non-inverting input (pin mately 2200 mV) and the load is case, relay RL1 must be a heavy-duty
3) of the comparator built around IC2. turned on. This happens when IC1 is type with appropriately rated contacts
The inverting input (pin 2) of IC2 is at a higher temperature and its output to match the power demands of the
connected across the positive supply voltage is also higher than the set level load to be operated. z

WWW.EFYMAG.COM ELECTRONICS FOR YOU NOVEMBER 2005 99

CMYK
CIRCUIT
IDEAS

VARIABLE POWER SUPPLY USING IVEDI


S.C. DW
A FIXED-VOLTAGE REGULATOR IC
 DR MAHESH N. JIVANI AND DR by using a pair of voltage-divider re-
NIKESH A. SHAH sistors. It is not possible to obtain a Common Resistor
voltage lower than the stated rating. Combinations for the
7805 Regulator
A
voltage regulator (also called You cannot use a 12V regulator to
a regulator) with only three make a 5V power supply, but you can Vout (approx.) R1 (ohms) R2 (ohms)
terminals appears to be a use a 5V regulator to make a 12V sup-
5V 470 0
simple device, but it is in fact a very ply.
6V 470 100
complex integrated circuit. It converts Voltage regulators are very robust. 8V 470 220
a varying input voltage into a constant These can withstand over-current 9V 470 330
regulated output voltage. Voltage draw due to short circuits and also 12V 470 510
regulators are available in a variety of over-heating. In both cases, the regu-
outputs like 5V, 6V, 9V, 12V and 15V. lator will cut off before any damage Because of this constant 13.1mA cur-
The LM78XX series of voltage regu- occurs. The only way to destroy a rent, R2 can now be set to a value that
lators are designed for positive input. regulator is to apply reverse voltage will give constant 7 volts across resis-
For applications requiring negative in- to its input. Reverse polarity destroys tor R2. A resistor value of 533 or 510
put, the LM79XX series is used. Fig. 1 the regulator almost instantly. ohms (standard value) will give the
shows the pin configuration of a 5V Fig. 2 shows the circuit for increas- necessary 7 volts.
7805 regulator. ing the output voltage of a regulator With 5 volts across R1 and 7 volts
The output voltage of a regulator circuit using a pair of voltage-divider across R2, a total of about 12 volts
circuit can be increased resistors. Lets assume the value of R1 (regulated) will appear across termi-
as 470 ohms, which nal 2 and ground. If a variable resis-
means that a constant tor is used as R2, the output voltage
current of 10.6 mA will can be easily fine-tuned to any value
be available between greater than 5 volts. The standby
terminals 2 and 3 of current will vary slightly in the
7805. This constant cur- regulator 7805, but 2.5 mA will yield
rent plus the regulator good results in the calculations. If an
standby current of exact voltage (within 0.3 volt) is
about 2.5 mA will flow needed, R2 must be a variable resis-
Fig. 1: Pin
configuration of
through R2 to ground tor. To make any fixed regulator ad-
7805 regulator Fig. 2: Circuit for increasing the output voltage regardless of its value. justable, use the following formula:
Vfixed
Vout= Vfixed+R2 +Istandby
R1

where Vout is the desired output


voltage, Vfixed is the fixed voltage
of the IC regulator (5 volts) and
Istandby is the standby current of the
regulator (2.5 mA). For resistor R1,
use any value from 470 ohms to 1
kilo-ohm for best results. For vari-
able resistor R2, put any value
from the table given here for de-
sired voltage operation.
Fig. 3 shows the circuit of a 6V-
12V variable power supply using
a 5V regulator. The 220V AC mains
voltage is stepped down by trans-
Fig. 3: Circuit of variable power supply using a 5V regulator former X1 to 9 volts, rectified by

96 NOVEMBER 2006 ELECTRONICS FOR YOU WWW.EFYMAG.COM


CIRCUIT
IDEAS
the bridge rectifier comprising 1N4007 of current drawn and at least twice a mere 1 mV of ripple in the regu-
diodes D1 through D4, filtered by the input voltage. Wire the 270nF or lated output.
smoothing capacitors C1 and C2, and greater disk (ceramic) capacitor close Attach the 5-way rotary switch to
regulated by IC 7805 (IC1). Capacitors to the input terminal of the IC, and a resistors of different values to get the
C1 and C2 help to maintain a constant 10F or greater electrolytic capacitor regulated output as shown in the table.
input to the regulator. across the output. The regulator ICs Or, you can use a 1-kilo-ohm potmeter
Capacitor C1 should be rated at a typically give 60 dB of ripple rejec- as a variable resistor to get the regu-
minimum of 1000 F for each ampere tion, so 1V of input ripple appears as lated 5V-12V output. 

WWW.EFYMAG.COM ELECTRONICS FOR YOU NOVEMBER 2006 97


circuit
ideas

Mini UPS System s.c. dwiv


edi

D. Mohan Kumar When the mains power fails,


diode D3 gets reverse biased and

T
his circuit provides an uninter- D4 gets forward biased so that the vary between 10.5V and 12V, when
rupted power supply (UPS) battery can automatically take up the UPS system is in battery mode.
to operate 12V, 9V and 5V the load without any delay. When Outputs at points B and C provide
DC-powered instruments at up to 1A the battery voltage or input voltage 9V and 5V, respectively, through regu-
current. The backup battery takes up falls below 10.5V, a cut-off circuit is lator ICs (IC1 and IC2), while output
the load without spikes or delay when used to prevent deep discharging of A provides 12V through the zener
the mains power gets interrupted. It the battery. Resistor R3, zener diode diode. The emergency lamp uses two
can also be used as a workbench power ZD1 (10.5V) and transistor T2 form ultra-bright white LEDs (LED2 and
supply that provides 12V, 9V and 5V the cut-off circuit. When the volt- LED3) with current limiting resistors
operating voltages. The circuit im- age level is above 10.5V, transistor R5 and R6. The lamp can be manually

mediately disconnects the load when T2 conducts and its base becomes switched on and off by S1.
the battery voltage reduces to 10.5V to negative (as set by R3, VR2 and ZD1). the circuit is assembled on a gen-
prevent deep discharge of the battery. But when the voltage reduces below eral-purpose PCB. There is adequate
LED1 indication is provided to show 10.5V, the zener diode stops conduc- space between the components to
the full charge voltage level of the bat- tion and the base voltage of transis- avoid overlapping. heat sinks for tran-
tery. miniature white LEDs (LED2 and tor T2 becomes positive. It goes into sistor T2 and regulator ICs (7809 and
LED3) are used as emergency lamps the cut-off mode and prevents the 7805) to dissipate heat are used.
during power failure at night. current in the output stage. Preset The positive and negative rails
A standard step-down trans- VR2 (22k) adjusts the voltage below should be strong enough to handle
former provides 12V of AC, which 0.6V to make T2 work if the voltage high current. Before connecting the
is rectified by diodes D1 and D2. Ca- is above 10.5V. circuit to the battery and transformer,
pacitor C1 provides ripple-free DC to When power from the mains is connect it to a variable power supply.
charge the battery and to the remain- available, all output voltages12V, Provide 12V DC and adjust VR1 till
ing circuit. When the mains power is 9V and 5Vare ready to run the LED1 glows. After setting the high
on, diode D3 gets forward biased to load. On the other hand, when the voltage level, reduce the voltage to
charge the battery. Resistor R1 limits mains power is down, output volt- 10.5V and adjust VR2 till the output
the charging current. Potentiometer ages can run the load only when the trips off. After the settings are com-
VR1 (10k) with transistor T1 acts as battery is fully charged (as indicated plete, remove the variable power sup-
the voltage comparator to indicate by LED1). For the partially charged ply and connect a fully-charged battery
the voltage level. VR1 is so adjusted battery, only 9V and 5V are available. to the terminals and see that LED1 is
that LED1 is in the off mode. when Also, no output is available when the on. After making all the adjustments
the battery is fully charged, LED1 voltage goes below 10.5V. If battery connect the circuit to the battery and
glows indicating a full voltage level voltage varies between 10.5V and transformer. The battery used in the
of 12V. 13V, output at terminal A may also circuit is a 12V, 4.5Ah UPS battery.

9 4 N o v e m b e r 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
CIRCUIT
IDEAS

DIGITAL DICE S.C. DW


IVEDI

SAGAR G. YADAV The circuit is divided into three sec- LED2 and LED5 always glow at the
tions: counter, logic and display. same count, as do LED1 and LED6,

T
he digital dice presented here The counter section is built around and LED3 and LED4. Using these three
acts just like a normal dice. It binary counter IC CD4060BC (IC1). pairs of LEDs and LED7, four logical
has six faces (refer Fig. 2) like The counter frequency (f) is decided combinations have been made in the
the normal dice and uses four differ- by the in-built oscillator formed by re- circuit. LED1 and LED6 glow at all
ent logic gate combinations to bring sistor R1 and capacitor C1 as follows: counts, except 0 and 1. Further, it
out the six faces of the dice. f=1/2.2R1C1. can be noticed that they glow when
At the heart of the circuit is a 14- Here, the frequency is fixed at around A or B is high, hence a NOR gate
stage ripple-carry binary counter IC 2056 Hz. whose output is A+B according to
CD4060BC (IC1) with built-in oscilla- Only the first three outputs of the Boolean algebra will perform the job

Fig. 1: Digital dice

counter (designated as A, B of operating these LEDs.


and C, respectively) have LED3 and LED4 glow at all counts,
been used in the circuit. The except for the first three counts, i.e.,
counter is designed to reset they glow when either A, or B and C
at the sixth count (110) as are high. This logic function can be ob-
only six counts are required tained by using an OR gate and an
for operation. This is done AND gate, but since we are using only
with the help of diodes D1 NAND and NOR gates in the circuit
and D2 and resistor R3, we make use of two NAND gates and
which are connected such a NOR gate (with A+BC output) to
that they generate an AND perform this function.
logic. LED2 and LED5 glow only at the
From the table it can be first and fifth counts. In other words,
Fig. 2: Different faces of dice
noticed that at the sixth they glow only when the complement
tor. The logic section is designed count, the counter outputs A and B of B and C outputs goes high. This
around CMOS quad 2-input NOR gate hold logic 1 simultaneously for the first function can be obtained by using two
IC CD4001BC (IC2) and quad 2-input time, so by ANDing A and B outputs NAND gates such that their output
NAND gate IC CD4011BC (IC3). The you can give logic 1 to the reset termi- corresponds to the Boolean expression
display section is formed by a group nal of the counter at the sixth count, BC or B+C according to De Morgans
of seven LEDs. thereby resetting the counter. theorem.

100 OCTOBER 2005 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
CIRCUIT
IDEAS
LEDs of the display section
Dice Score and LEDs Lit at Different Counts will appear to glow simultaneously
Count Dice A B C LEDs lit due to the high counter frequency.
score
This high-frequency counting will
0 1 0 0 0 LE D7 make the dice foolproof. When you
1 2 0 0 1 LED2 LED5
2 3 0 1 0 LED1 LED7 LED6 remove your finger from the touch
3 4 0 1 1 LED1 LED3 LED4 LED6 pad, the counter will stop counting
4 5 1 0 0 LED1 LED3 LED7 LED4 LED6 and the display section will show any
5 6 1 0 1 LED1 LED3 LED2 LED5 LED4 LED6 one of the six possible faces with a
6 1 1 0
probability of 1/6.
The entire circuit can be powered
LED7 glows at even counts like 0, common cathodes, as do LED2 and by a 9V battery as the inbuilt oscilla-
2 and 4. In other words, it glows LED5, and LED3 and LED4. The an- tor of the counter IC will not work
when the C output is low. This func- odes of all the LEDs are tied together properly below 7V. Use of CMOS ICs
tion can be achieved easily by invert- to the positive terminal of the battery means less power consumption.
ing the C output twice using the re- via resistors R4 through R10, respec- The circuit can be constructed on a
maining two NAND gates. The out- tively. general-purpose PCB and housed in-
put will also be buffered by these two When you place your finger on side a plastic case with the LEDs array
inverter gates. the touch pad, the oscillator starts os- mounted on the top as shown in Fig.
The display section comprises cillating. The counter will start count- 2. The touch pad can be mounted be-
seven LEDs. LED1 and LED6 have ing at the rate of 2056 Hz and all the side the array. z

WWW.EFYMAG.COM ELECTRONICS FOR YOU OCTOBER 2005 101

CMYK
circuit
ideas

Mobile Car Stereo Player s.c. dwiv


edi

T.K. Hareendran powerful music player with the help


of a stereo power amplifier. This does

U
sing a mobile phone while away with the need of a sophisticated non-inverting) and can be used for
driving is dangerous. It is also in-dash car music system. single-ended or bridge applications.
against the law. However, Most mobile phones have a music The gain of each amplifier is fixed at
you can use your mobile phone as a player that offers a number of features 20 dB. Here it is configured as two 22W
including pre- stereo bridge amplifiers.
set/manual The amplifier is powered from the
sound equal- 12V car battery through RCA socket
isers. They J2. Diode D1 protects against wrong-
have standard polarity connection. LED1 indicates
3.5mm stereo the power status.
sockets that Connect stereo sound signal from
allow music the 3.5mm headset socket of the mo-
to be played bile phone to audio input socket J1.
through stand- When you play the music from your
ard stereo mobile, IC1 amplifies the input. The
headphones/ output of IC1 is fed to speakers LS1
sound ampli- and LS2 fitted at a suitable place in
fiers. Nokia your car. Electrolytic capacitor C5
2700 classic is connected between pin 4 of IC1 and
Fig. 1: Circuit of mobile car stereo player an example. GND improves the supply-voltage
A car au- ripple rejection. Components R2 and
dio amplifier with 3.5mm socket can C4 connected at mute/standby pin
be designed and simply connected to (pin 14) of IC1 eliminate the switch
the mobile phone output via a shield- on/off plop.
ed cable with suitable connectors/ The circuit is quite compact. A
jacks (readymade 3.5mm male-to- good-quality heat-sink assembly is
male connector cable is a good alter- crucial for IC1. Fig. 2 shows the stereo
Fig. 2: (a) 3.5mm stereo socket and (b) 3.5mm native). socket and stereo jack.
stereo jack Fig. 1 shows the circuit of car ste- Assemble the circuit on a general-
reo player. It is built around popular purpose PCB and enclose in a suitable
single-chip audio power amplifier cabinet. Small dimensions of the power
TDA1554Q (IC1). The TDA1554Q is amplifier make it suitable for being en-
an integrated class-B power amplifier closed in a plastic (ABS) case with vent
in a 17-lead single-in-line (SIL) plastic holes. Signal input socket, speaker out-
power package. put terminals, on/off switch, indicator,
IC TDA1554Q contains four 11W fuse holder and power supply socket
identical amplifiers with differential are best located on the front panel of
Fig. 3: Proposed enclosure input stages (two inverting and two the enclosure as shown in Fig. 3.

1 1 8 O c to b e r 2 0 1 0 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
CIRCUIT
IDEAS

FRIENDLY CHARGER FOR S.C. DW


IVEDI

MOBILE PHONES
 D. MOHAN KUMAR and the mobile phone. It has features After a power resumption, capaci-
like voltage and current regulation, tor C1 provides delay of a few sec-

M
ost mobile chargers do not over-current protection, and high- and onds to charge to a potential higher
have current/voltage regu- low-voltage cut-off. An added speci- than of inverting pin 2 of CA3130,
lation or short-circuit pro- ality of the circuit is that it incorpo- thus the output of IC1 goes high only
tection. These chargers provide raw rates a short delay of ten seconds to after the delay. In the case of a heavy
6-12V DC for charging the battery switch on when mains resumes fol- power line surge, zener diode ZD1
pack. Most of the mobile phone bat- lowing a power failure. This protects (12V, 1W) will breakdown and short
tery packs have a rating of 3.6V, 650 the mobile phone from instant volt- pin 3 of IC1 to ground and the output
of IC1 drops to ground
level. The output of IC1 is
fed to the base of npn
Darlington transistor
BD677 (T2) for charging
the battery. Transistor T2
conducts only when the
output of IC1 is high. Dur-
ing conduction the emit-
ter voltage of T2 is around
10V, which passes
through R6 to restrict the
charging current to
around 180 mA. Zener di-
ode ZD2 regulates the
charging voltage to
around 5.6V.
When a short-circuit
occurs at the battery ter-
minal, resistor R8 senses
mAh. For increasing the life of the bat- age spikes. the over-current, allowing transistor
tery, slow charging at low current is The circuit is designed for use in T1 to conduct and light up LED1.
advisable. Six to ten hours of charging conjunction with a 12V, 500mA adap- Glowing of LED2 indicates the charg-
at 150-200mA current is a suitable op- tor (battery eliminator). Op-amp IC ing mode, while LED1 indicates short-
tion. This will prevent heating up of CA3130 is used as a voltage compara- circuit or over-current status.
the battery and extend its life. tor. It is a BiMOS operational amplifier The value of resistor R8 is impor-
The circuit described here provides with MOSFET input and CMOS out- tant to get the desired current level
around 180mA current at 5.6V and put. Inbuilt gate-protected p-channel to operate the cut-off. With the
protects the mobile phone from unex- MOSFETs are used in the input to pro- given value of R8 (3.3 ohms), it is
pected voltage fluctuations that de- vide very high input impedance. The 350 mA.
velop on the mains line. So the charger output voltage can swing to either posi- Charging current can also be
can be left on over night to replenish tive or negative (here, ground) side. changed by increasing or decreasing
the battery charge. The inverting input (pin 2) of IC1 the value of R7 using the I=V/R
The circuit protects the mobile is provided with a variable voltage ob- rule.
phone as well as the charger by im- tained through the wiper of potmeter Construct the circuit on a common
mediately disconnecting the output VR1. The non-inverting input (pin 3) PCB and house in a small plastic case.
when it senses a voltage surge or a of IC1 is connected to 12V stabilised Connect the circuit between the out-
short circuit in the battery pack or DC voltage developed across zener put lines of the charger and the input
connector. It can be called a middle ZD1. This makes the output of IC1 pins of the mobile phone with correct
man between the existing charger high. polarity. 

WWW.EFYMAG.COM ELECTRONICS FOR YOU SEPTEMBER 2006 97

CMYK
circuit
ideas

Motion Sensor for Security Light


George Varkey The working of the circuit is sim-
ple. When you power-on the circuit

H
edi
ere is a system based on after assembling all the components s.c. dwiv
PIR motion detector mod- including the CFL, the CFL will glow
ule BS1600 (or BS1700) that for 10 seconds, turn off for 30 seconds,

will remain on for about ten


seconds (as programmed in
the motion sensor). In short,
when there is a movement
near the sensor, the CFL glows
for about ten seconds. It will
remain on if switch S1 is in
hold position.
Assemble the circuit on
a general-purpose PCB and
enclose in a suitable cabinet.
Fig. 1: Circuit of motion sensor for security light
Use a three-pin connector for
connecting the PIR sensor in
can be used glow for 10 seconds and then turn off. the circuit with correct polarity. The
for security or Now the circuit is ready to work. motion detector is embedded onto the
corridor light- When any movement is detected, transparent cover of the light assembly
ing in power- around 3.3V appears on the base as shown in Fig. 2
saving mode. of relay-driver transistor T1 and it An arrangment of CFL assembly
Fig. 2: PIR motion detector The 12V DC conducts to energise relay RL1. As a in the authors prototype (Fig. 3) is
module (BS1600 or BS1700)
power supply result, Triac1 (BT136) fires to pro- shown in Fig. 4. In this arrangement, a
required for vide full 230V and light up the CFL. PIR sensor and 23W, 230V AC CFL are
the motion detector and the relay Another normally-opened contact of used. Seal all four sides with Blue Tac
driver is derived from 230V, 50Hz the relay (N/O2) is used here to hold for water-tightness. Insulate the track
mains using a transformerless circuit the output until reset. If the switch side of the PCB using an insulating
as shown in Fig. 1. is not in hold position, the light foam and glue to the base.
Waterjet cutting
2323 mm

TERMINAL water-
BLOCK tight
fitting
using
blue
tac

PCB INSULATED FROM LAMP FITTING

Fig. 3: Authors prototype Fig. 4: CFL assembly

1 1 4 s e p t e m b e r 2 0 1 0 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
CIRCUIT IDEAS

ANTI-BAG-SNATCHING ALARM SAN


I THE
O

D. MOHAN KUMAR the voltage at the non-inverting input is (IC3) gets the supply voltage at its pin 5.
higher than at the inverting input and the IC UM3561 is a complex ROM with

H
ere is a simple alarm circuit to output of IC1 is high. an inbuilt oscillator. Resistor R8 forms
thwart snatching of your valuables The output from pin 6 of IC1 is fed to the oscillator component. Its output is fed
while travelling. The circuit kept trigger pin 2 of IC NE555 (IC2) via coupling to the base of single-stage transistor am-
in your bag or suitcase sounds a loud capacitor C1 (0.0047 F). IC2 is configured plifier BD139 (T1) through resistor R9 (1
alarm, simulating a police horn, if some- as a monostable. Its trigger pin 2 is held kilo-ohm).

one attempts to snatch your bag or suit- high by resistor R4 (10 kilo-ohms). Nor- The alarm tone generated from IC3 is
case. This will draw the attention of other mally, the output of IC2 remains low and amplified by transistor T1. A loudspeaker
passengers and the burglar can be caught the alarm is off. Resistor R6, along with is connected to the collector of T1 to pro-
red handed. capacitor C3 connected to reset pin 4 of duce the alarm. The alarm can be put off
In the standby mode, the circuit is IC2, prevents any false triggering. Resistor if the plug is inserted into the socket
locked by a plug and socket arrangement R5 (10 mega-ohms), preset VR (10 mega- again. Transistor T1 requires a heat-sink.
(a mono plug with shorted leads plugged ohms) and capacitor C2 (4.7 F, 16V) are Resistor R7 (330 ohms) limits the cur-
into the mono-jack socket of the unit). timing components. With these values, the rent to IC3 and zener diode ZD1 limits
When the burglar tries to snatch the bag, output at pin 3 of IC2 is about one minute, the supply voltage to IC3 to a safe level
the plug detaches from the units socket which can be increased by increasing ei- of 3.3 volts. Resistor R9 limits the cur-
to activate the alarm. ther the value of capacitor C2 or preset VR. rent to the base of T1.
The circuit is designed around op-amp When there is an attempt at snatch- The circuit can be easily constructed
IC CA3140 (IC1), which is configured as ing, the plug connected to the circuit de- on a vero board or general-purpose PCB.
a comparator. The non-inverting input taches. At that moment, the voltage at Use a small case for housing the circuit
(pin 3) of IC1 is kept at half the supply the inverting input of IC1 exceeds the and 9V battery. The speaker should be
voltage (around 4.5V) by the potential voltage at the non-inverting input and sub- small so as to make the gadget handy.
divider comprising resistors R2 and R3 of sequently its output goes low. This sends Connect a thin plastic wire to the plug
100 kilo-ohms each. The inverting input a low pulse to trigger pin 2 of IC2 to and secure it in your hand or tie up some-
(pin 2) of IC1 is kept low through the make its output pin 3 high. Consequently, where else so that when the bag is pulled,
shorted plug at the socket. As a result, the alarm circuit built around IC UM3561 the plug detaches from the socket easily.

FEBRUARY 2004 ELECTRONICS FOR YOU


CIRCUIT IDEAS

EDI
DC MOTOR CONTROL USING A SINGLE SWITCH S.C.
DWIV

V. DAVID When you momentarily press switch If you press S1 again, the high output
S1, timer 555 (IC1) provides a pulse to of IC2 shifts from Q3 to Q4. Since Q4 is

T
his simple circuit lets you run a DC decade counter CD4017 (IC2), which ad- connected to reset pin 15, it resets decade
motor in clockwise or anti-clockwise vances its output by one and its high state counter CD4017 and its Q0 output goes
direction and stop it using a single shifts from Q0 to Q1. When Q1 goes high, high, so the motor does not rotate. LED1
switch. It provides a constant voltage for the output of IC3 at pin 3 goes low, so the glows via diode D1 to indicate that the
proper operation of the motor. The glow- motor starts running in clockwise (forward) motor is in stop condition. Thereafter, the
ing of LED1 through LED3 indicates that direction. LED2 glows to indicate that the cycle repeats.
the motor is in stop, forward rotation and motor is running in forward direction. If you dont want to operate the motor

reverse conditions, respectively. Now if you press S1 again, the high in reverse direction, remove timer IC4
Here, timer IC1 is wired as a output of IC2 shifts from Q1 to Q2. The along with resistors R5 and R7 and LED3.
monostable multivibrator to avoid false low Q1 output of IC2 makes pin 3 of IC3 And connect b terminal of the motor to
triggering of the motor while pressing high and the motor doesnt rotate. LED1 +Vcc.
switch S1. Its time period is approximately glows (via diode D2) to indicate that the Similarly, if you dont want to run the
500 milliseconds (ms). motor is in stop condition. motor in forward direction, remove timer
Suppose, initially, the circuit is in Pressing switch S1 once again shifts IC3 along with resistors R4 and R6 and
reset condition with Q0 output of IC2 the high output of IC2 from Q2 to Q3. LED2. And connect a terminal of the mo-
being high. Since Q1 and Q3 outputs of The high Q3 output of IC2 makes pin 3 of tor to +Vcc.
IC2 are low, the outputs of IC3 and IC4 IC4 low and the motor starts running in The circuit works off a 9V regulated
are high and the motor doesnt rotate. anti-clockwise (reverse) direction. LED3 power supply for a 9V DC motor. Use a
LED1 glows to indicate that the motor is glows to indicate that the motor is run- 6V regulated power supply for a 6V DC
in stop condition. ning in reverse direction. motor.

ELECTRONICS FOR YOU SEPTEMBER 2004


CIRCUIT IDEAS

AUTOMATIC SCHOOL BELL S.C. DWI


VED
I

RAJ KUMAR MONDAL (IC2 and IC3) and AND gate CD4081 (IC4). gate. When SCR1 is fired, it provides
Timer IC1 is wired as an astable ground path to operate the circuit after

C
onsider that a school has a total of multivibrator, whose clock output pulses resetting both decade counters IC2 and
eight periods with a lunch break are fed to IC2. IC2 increases the time IC3. At the same time, LED1 glows to in-
after the fourth period. Each period periods of IC1 (4.5 and 3 minutes) by ten dicate that school bell is now active.
is 45 minutes long, while the duration of times to provide a clock pulse to IC3 ev- When switch S2 is pressed momen-
the lunch break is 30 minutes. ery 45 minutes or after 30 minutes, re- tarily, the anode of SCR1 is again
To ring this automatic school bell to spectively. When the class periods are go- grounded and the circuit stops operating.
start the first period, the peon needs to ing on, the outputs of IC3 switch on tran- In this condition, both LED1 and LED2
momentarily press switch S1. Thereafter, sistors T1 and T2 via diodes D4 through dont glow.
the bell sounds every 45 minutes to indi- D12. When the eighth period is over, Q9
cate the end of consecutive periods, ex- Resistors R4 and R5 connected in se- output of IC3 goes high. At this time, tran-
cept immediately after the fourth period, ries to the emitter of npn transistor T2 sistors T1 and T2 dont get any voltage

when it sounds after 30 minutes to indi- decide the 4.5-minute time period of IC1. through the outputs of IC2. As a result, the
cate that the lunch break is over. When The output of IC1 is further connected to astable multivibrator (IC1) stops working.
the last period is over, LED2 glows to in- pin 14 of IC2 to provide a period with a The school bell sounds for around 8
dicate that the bell circuit should now be duration of 45 minutes. Similarly, resis- seconds at the end of each period. One
switched off manually. tors R2 and R3 connected in series to the can increase/decrease the ringing time of
In case the peon has been late to start emitter of npn transistor T1 decide the 3- the bell by adding/removing diodes con-
the school bell, the delay in minutes can minute time period of IC1, which is fur- nected in series across pins 6 and 7 of
be adjusted by advancing the time using ther given to IC2 to provide the lunch- IC1.
switch S3. Each pushing of switch S3 ad- break duration of 30 minutes. The terminals of the 230V AC
vances the time by 4.5 minutes. If the Initially, the circuit does not ground electric bell are connected to the nor-
school is closed early, the peon can turn to perform its operation when 12V power mally-open (N/O) contact of relay RL1.
the bell circuit off by momentarily press- supply is given to the circuit. The circuit works off a 12V regulated
ing switch S2. When switch S1 is pressed momen- power supply. However, a battery source
The bell circuit contains timer IC tarily, a high enough voltage to fire sili- for back-up in case the power fails is also
NE555 (IC1), two CD4017 decade counters con-controlled resistor SCR1 appears at its recommended.

ELECTRONICS FOR YOU OCTOBER 2004


circuit
ideas

USB Power Socket s.c. dwiv


edi

T.K. Hareendran

T
oday, almost all computers con-
tain logic blocks for implement-
ing a USB port. A USB port, in
practice, is capable of delivering more
than 100 mA of continuous current at
5V to the peripherals that are connected
to the bus. So a USB port can be used,
without any trouble, for powering 5V
DC operated tiny electronic gadgets.
Nowadays, many handheld de-
vices (for instance, portable reading Fig. 1: Circuit of USB power socket

lamps) utilise this facility of the USB


port to recharge their built-in bat- Assemble the
tery pack with the help of an internal CIGAR
COIL CORD
USB POWER SOCKET circuit on a gen-
PLUG WITH INDICATOR
circuitry. Usually 5V DC, 100mA cur- eral-purpose PCB
rent is required to satisfy the input and enclose in a
power demand. slim plastic cabi-
Fig. 1 shows the circuit of a versatile Fig. 2: Interconnection of cigar plug and USB power net along with the
socket using a coil cord Fig. 3: Pin
USB power socket that safely converts indicator and USB
configuration
the 12V battery voltage into stable 5V. of LM317L (To- socket. While wir-
This circuit makes it possible to power/ Capacitor C1 buffers any disorder in 92 package) ing the USB out-
recharge any USB power-operated de- the input supply. Resistors R1 and R2 let, ensure correct
vice, using in-dash board cigar lighter regulate the output of IC1 to steady 5V, polarity of the supply. For intercon-
socket of your car. which is available at the A type female nection between the cigar plug pin
The DC supply available from the USB socket. Red LED1 indicates the out- and the device, use a long coil cord as
cigar lighter socket is fed to an adjust- put status and zener diode ZD1 acts as a shown in Fig. 2. Pin configuration of
able, three-pin regulator LM317L (IC1). protector against high voltage. LM317L is shown in Fig. 3.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u a p r i l 2 0 0 9 8 9
circuit
ideas

SPY EAR s.c. dwiv


edi is designed for operation
with power supplies in
the 4-15V DC range. It
T.K. HAREENDRAN
is housed in a standard
8-pin DIL package, con-

W
hat binoculars do to im- ed components amplify the sumes very small quies-
prove your vision, this sound signals picked up by cent current and is ideal
personal sound enhancer the condenser microphone for battery-powered
circuit does for listening. This light- (MIC). The amplified signal portable applications.
weight gadget produces an adjustable from the preamplifier stage The processed out-
gain on sounds picked up from the is fed to input pin 3 of IC put signal from capaci-
built-in high-sensitivity condenser LM386N (IC1) through Fig. 2: Compact unit of spy ear tor C2 goes to one end
microphone. So you can hear what you capacitor C2 (100nF) and of volume control VR1.
have been missing. With a 6V (41.5V) volume control VR1 (10-kilo-ohm log). The wiper is taken to pin 3 of LM386N
battery, it produces good results. A decoupling network comprising re- audio output amplifier. Note that the
As shown in Fig. 1, a small signal sistor R5 and capacitor C3 provides the R6-C4 network is used to RF-decouple
amplifier is built around transistor preamplifier block with a clean supply positive-supply pin 6 and R8-C7 is an
BC547 (T1). Transistor T1 and the relat- voltage. optional Zobel network that ensures
Audio amplifier IC LM386N (IC1) high frequency stability when feeding
an inductive headphone load.
Capacitor C6 (22F, 16V) wired
between pin 7 and ground gives ad-
ditional ripple rejection. The output of
LM386N power amplifier can safely
drive a standard 32-ohm monophonic
headphone/earphone.
Assemble the circuit on a small
general-purpose PCB and house in
a suitable metallic enclosure with an
integrated battery holder and head-
phone/earphone socket as shown in
Fig. 2. Fit the on/off switch (S1), vol-
ume control (VR1) and power indicator
(LED1) on the enclosure. Finally, fit the
condenser microphone (MIC) on the
front side of the enclosure and link it to
the input of the preamplifier via a short
Fig. 1: Circuit for spy ear length of the shielded wire.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u A p r i l 2 0 1 0 9 3
CIRCUIT
IDEAS

CURRENT SENSOR S.C. DW


IVEDI

 D. MOHAN KUMAR transistors in the input to provide very


high input impedance (1.5 T-ohms),

H
igh-wattage appliances like very low input current (10 pA) and by feeding Q9 output to the
electric irons, ovens and heat- high-speed switching performance. piezobuzzer for aural alarm through
ers result in unnecessary The inverting input of IC1 is pre- the intermediate circuitry. Resistors R5
power loss if left on for hours unno- set with VR1. In the standby mode, and R6 along with capacitor C1 main-
ticed. Here is a circuit that senses the the primary of the transformer accepts tain the oscillations in IC2 as indicated
flow of current through the appliances e.m.f. from the instrument or sur- by blinking LED1. The high output
and gives audible beeps every fifteen rounding atmosphere, which results in from IC2 is used to activate a simple
minutes to remind you of power-on low-voltage input to IC1. This low oscillator comprising transistors T2
status. voltage at the non-inverting input and T3, resistors R8 and R10, and ca-
This is a non-contact version of cur- keeps the output of IC1 low. Thus tran- pacitor C2.
rent monitor and can sense the flow sistor T1 doesnt conduct and pin 12 When the Q9 output of IC2 be-
of current in high-current appliances of IC2 goes high to disable IC2. As a comes high, zener diode ZD1 provides
from a distance of up to 30 cm . It uses result, the remaining part of the cir- 3.1 volts to the base of transitor T2.

a standard step-down transformer (0- cuit gets inactivated. Since transistor T2 is biased by a high-
9V, 500mA) as the current sensor. Its When a high-current appliance is value resistor (R8), it will not conduct
secondary winding is left open, while switched on, there will be a current immediately. Capacitor C2 slowly
the primary winding ends are used to drain in the primary of the transformer charges and when the voltage at the
detect the current. The primary ends to the negative rail due to an increase base of T2 increases above 0.6 volt, it
of the transformer are connected to a in the e.m.f. caused by the flow of cur- conducts. When T2 conducts, the base
full-wave bridge rectifier comprising rent through the appliance. This results of T3 turns low and it also conducts.
diodes D1 through D4. The rectified in voltage rise at the non-inverting in- The piezobuzzer connected to the col-
output is connected to the non-invert- put and the output of IC1 becomes high. lector of T3 gives a short beep as ca-
ing input of IC CA3140 (IC1). This high output drives transistor T1 pacitor C2 discharges. This sequence
IC CA3140 is a 4.5MHz BIMOS op- into conduction and the reset pin of of IC2 output at Q9 becoming high and
erational amplifier with MOSFET in- IC2 becomes low, which enables IC2. conduction of transistors T2 and T3 re-
put and bipolar transistor output. It IC CD4060 (IC2) is a 14-stage ripple sulting in beep sound repeats at short
has gate-protected MOSFET (PMOS) counter. It is used as a 15-minute timer intervals. 

94 DECEMBER 2007 ELECTRONICS FOR YOU WWW.EFYMAG.COM


circuit
ideas

Infrared Illuminator edi


s.c. dwiv

T.K. Hareendran dark gray, blue or even black. They


come in various configurations and

I
nfrared (IR) illuminators are radiation patterns, but 5mm types with to actuate the relay through driver
widely used to improve the image- 15- to 40-degree patterns are the most transistor T3 can be varied by adjust-
capturing quality of security cam- popular. ing VR1. Diode 1N4001 eliminates
eras fitted in dark zones. Just like our Typically, IR LEDs run at around any back voltage when the relay
eyes, cameras also cant record move- 1.3 to 1.7 volts, depending on the de-energises. Switch S1 is the mains

Fig. 1: Circuit for infrared illuminator

ments in dark. LED current (typically 10 to 30 mA). power on/off switch and switch S2 is
However, un- However, this may vary with the type added to bypass the ambient light de-
like our eyes, and manufacturer. Practically, IR il- tection function.
most of the lat- luminators may have 6 or 60 to 100 or Relay RL1 energises only when
est cameras can more LEDs, depending on the output the ambient light level falls below a
capture infra- needed. threshold value set by VR1, i.e., when
red light. The circuit (refer Fig. 1) can be its dark. Normally-opened (N/O) con-
In an IR divided into three parts: ambient light tacts of the relay ground path to the IR
Fig. 2: Infrared illuminator Illuminator, sensor, relay driver and IR LEDs. The LEDs (LED1 through LED40) to make
many infrared ambient light sensor is built around them glow. The blue LED (LED41) in-
IR LEDs are grouped together to throw multiturn linear potmeter VR1 and dicates the circuit activity. When there
good amount of IR light. Typically, light-dependent resistor LDR1. The is ambient light and you want to use the
LEDs output at 470 nm (blue region), relay driver section is built around illuminator, switch S2 on. All the LEDs
525 nm (green region) and 625 nm transistors T1 through T3. The IR LEDs (LED1 through LED40) glow to fulfil
(red region). IR LEDs produce longer section is built around LED1 through your requirement.
wavelengths, 880 nm and 940 nm being LED40. Assemble the circuit on a general-
the common ones. Most CCD cameras The light sensor circuit is a simple purpose PCB and enclose in a suitable
are a little more sensitive to 880 nm, transistor switch with the base of the cabinet. The IR LEDs assembly is very
although when these LEDs are used Darlington pair (formed by T1 and important. A set of 40 (58) 5mm infra-
for security applications, some indi- T2) connected to a voltage divider. red LEDs (IR LED1 through IR LED40)
viduals can detect a very dim red glow Variable resistor VR1 and the 10mm with independent current-limiting
from them. The 940nm LED radiations encapsulated LDR are used to sense resistors (R3 through R10) per string
are completely invisible to the eye. the ambient light. As light falls on the is used. This section is powered by
Some of these LEDs are clear, while surface of LDR1, its resistance changes. the input DC supply through the relay
others are tinted with pale shades of The amount of minimum light needed contacts.

1 1 2 D e c e m b e r 2 0 1 0 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
Mount IR LEDs on the general-pur- a suitable reflector sheet for the IR To make the circuit actuate the re-
pose PCB board such that these make LED bank. Finally, fit the LDR bank lay when the intensity of ambient light
three circles. After soldering, carefully on top of the enclosure with switches, is less than the preset light level, throw
cut the outside of the circuit board in indicator-sensitivity-control pot and light on LDR1 and then slowly adjust
a round shape and fit it in a suitable power input socket. Fig. 2 shows the the potentiometer until LED1 lights up
metal/plastic cabinet. If available, add infrared illuminator unit. and the relay energises.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u D e c e m b e r 2 0 1 0 1 1 3
circuit
ideas

Infrared Illuminator edi


s.c. dwiv

T.K. Hareendran dark gray, blue or even black. They


come in various configurations and

I
nfrared (IR) illuminators are radiation patterns, but 5mm types with to actuate the relay through driver
widely used to improve the image- 15- to 40-degree patterns are the most transistor T3 can be varied by adjust-
capturing quality of security cam- popular. ing VR1. Diode 1N4001 eliminates
eras fitted in dark zones. Just like our Typically, IR LEDs run at around any back voltage when the relay
eyes, cameras also cant record move- 1.3 to 1.7 volts, depending on the de-energises. Switch S1 is the mains

Fig. 1: Circuit for infrared illuminator

ments in dark. LED current (typically 10 to 30 mA). power on/off switch and switch S2 is
However, un- However, this may vary with the type added to bypass the ambient light de-
like our eyes, and manufacturer. Practically, IR il- tection function.
most of the lat- luminators may have 6 or 60 to 100 or Relay RL1 energises only when
est cameras can more LEDs, depending on the output the ambient light level falls below a
capture infra- needed. threshold value set by VR1, i.e., when
red light. The circuit (refer Fig. 1) can be its dark. Normally-opened (N/O) con-
In an IR divided into three parts: ambient light tacts of the relay ground path to the IR
Fig. 2: Infrared illuminator Illuminator, sensor, relay driver and IR LEDs. The LEDs (LED1 through LED40) to make
many infrared ambient light sensor is built around them glow. The blue LED (LED41) in-
IR LEDs are grouped together to throw multiturn linear potmeter VR1 and dicates the circuit activity. When there
good amount of IR light. Typically, light-dependent resistor LDR1. The is ambient light and you want to use the
LEDs output at 470 nm (blue region), relay driver section is built around illuminator, switch S2 on. All the LEDs
525 nm (green region) and 625 nm transistors T1 through T3. The IR LEDs (LED1 through LED40) glow to fulfil
(red region). IR LEDs produce longer section is built around LED1 through your requirement.
wavelengths, 880 nm and 940 nm being LED40. Assemble the circuit on a general-
the common ones. Most CCD cameras The light sensor circuit is a simple purpose PCB and enclose in a suitable
are a little more sensitive to 880 nm, transistor switch with the base of the cabinet. The IR LEDs assembly is very
although when these LEDs are used Darlington pair (formed by T1 and important. A set of 40 (58) 5mm infra-
for security applications, some indi- T2) connected to a voltage divider. red LEDs (IR LED1 through IR LED40)
viduals can detect a very dim red glow Variable resistor VR1 and the 10mm with independent current-limiting
from them. The 940nm LED radiations encapsulated LDR are used to sense resistors (R3 through R10) per string
are completely invisible to the eye. the ambient light. As light falls on the is used. This section is powered by
Some of these LEDs are clear, while surface of LDR1, its resistance changes. the input DC supply through the relay
others are tinted with pale shades of The amount of minimum light needed contacts.

1 1 2 D e c e m b e r 2 0 1 0 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
Mount IR LEDs on the general-pur- a suitable reflector sheet for the IR To make the circuit actuate the re-
pose PCB board such that these make LED bank. Finally, fit the LDR bank lay when the intensity of ambient light
three circles. After soldering, carefully on top of the enclosure with switches, is less than the preset light level, throw
cut the outside of the circuit board in indicator-sensitivity-control pot and light on LDR1 and then slowly adjust
a round shape and fit it in a suitable power input socket. Fig. 2 shows the the potentiometer until LED1 lights up
metal/plastic cabinet. If available, add infrared illuminator unit. and the relay energises.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u D e c e m b e r 2 0 1 0 1 1 3
circuit
ideas

Tester For Remote Control s.c. dwiv


edi

T.A. Babu mately five metres. The integrated IR


receiver detects, amplifies and de- nal from the

H
ere is a simple tester for check- modulates IR signals from the remote remote (such
ing the basic operations of an control unit. The piezobuzzer con- as TV remote
infrared remote control unit. nected at its output sounds to indicate control unit).
It is low-cost and easy to construct. the presence of signal from the remote P o w e r
The tester is built around infrared control unit. supply for
receiver module TSOP1738. Operation As shown in Fig. 1, output pin 3 of the circuit is
of the remote control is acknowledged IR receiver module TSOP1738 (IRX1) Fig. 2: Pin configuration of
derived from
by a tone from the buzzer. The circuit normally remains high and the pi- TL431 and TSOP 1738 the mains us-
is sensitive and has a range of approxi- ezobuzzer is in silent mode. When the ing a capaci-
IR module tive potential dropper, a half-wave rec-
IRX1 re- tifier, a shunt regulator and associated
ceives an components. Make sure that capacitor
infrared C1 is of X2 type. Use a suitably small
signal, its enclosure to make the unit handy.
output goes Assemble the circuit on a general-
low and, as purpose PCB and enclose in a cabinet.
a result, the Make sure that the IR receiver module
piezobuzz- is placed on the front panel of the cabi-
er sounds net so that it can receive the IR signals
to indicate easily. Before soldering/connecting the
the recep- shunt regulator and IR module, refer
Fig. 1: Circuit diagram of remote tester tion of sig- Fig. 2 for the pin configuration.

9 6 F e b r ua ry 2 0 0 8 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas

NUMERIC WATER-LEVEL INDICATOR


Daniyal Syed terminal of the sensor must be kept at
edi
the bottom of the container (tank). IC s.c. dwiv

M
ost water-level indicators 74HC147 has nine active-low inputs
for water tanks are based and converts the active input into ac-
upon the number of LEDs tive-low BCD output. The input L-9
that glow to indicate the correspond- has the highest priority. when the water level reaches L-1 posi-
ing level of water in the container. The outputs of IC1 (A, B, C and tion, the display shows 1, and when
Here we present a digital version of the D) are fed to IC2 via transistors T1 the water level reaches L-8 position,
water-level indicator. It uses a 7-seg- through T4. This logic inverter is used the display shows 8. Finally, when

ment display to show the water level to convert the active-low output of IC1 the tank is full, all the inputs of IC1
in numeric form from 0 to 9. into active-high for IC2. The BCD code become low and its output goes low
The circuit works off 5V regulated received by IC2 is shown on 7-seg- to make all the inputs of IC2 high.
power supply. It is built around prior- ment display LTS543. Resistors R18 Display LTS543 now shows 9, which
ity encoder IC 74HC147 (IC1), BCD-to- through R24 limit the current through means the tank is full.
7-segment decoder IC CD4511 (IC2), the display. Assemble the circuit on a gen-
7-segment display LTS543 (DIS1) and a When the tank is empty, all the eral-purpose PCB and enclose in a
few discrete components. Due to high inputs of IC1 remain high. As a result, box. Mount 7-segment LTS543 on the
input impedance, IC1 senses water in its output also remains high, making front panel of the box. For sensors L-1
the container from its nine input termi- all the inputs of IC2 low. Display though L-9 and ground, use corrosion-
nals. The inputs are connected to +5V LTS543 at this stage shows 0, which free conductive-metal (stainless-steel)
via 560-kilo-ohm resistors. The ground means the tank is empty. Similarly, strips.

1 0 4 F e b r ua ry 2 0 1 0 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas

Bicycle Indicator edi


s.c. dwiv
T.K. Hareendran the square-wave oscillators (one built
around T1 and T2 and the other built

T
he electronic bicycle signaling around T3 and T4) drive four red LEDs
unit described here uses low- (LED1 and LED2, and LED5 and LED6, determined by timing capacitors C1
cost components and is a good respectively), which blink to indicate and C2. Resistors R2 and R3 limit the
operating current of LEDs (LED1
and LED2). At the same time, the
green LED (LED3) starts glowing
to indicate the present direction
status.
Similar action happens in the
next oscillator circuit built around
transistors T3 and T4 when switch
S2 is flipped to on position. Indi-
cators at the front right (FR) and
rear right (RR) start blinking, and
at the same time the green LED
(LED4) glows to indicate the direc-
tion status.
Switch S3 is used for emergency
indication. When it is flipped to on
position, both the oscillators get
power supply through diodes D1
and D2. As a result, LED1 through
Fig. 1: Circuit of bi-cycle indicator LED6 start working simultaneous-
ly. In this condition, all
the LEDs blink, except
LED3 and LED4, which
glow steadily.
After assembling
the circuit on a general-
purpose PCB, enclose
it in a suitable cabinet
as shown in Fig. 2 and
mount on the handle
bar of the bicycle, pref-
Fig. 3: Suggested enclosure (indicators) erably at the mechani-
cal centre point. Con-
the direction of turn. Ad- nect switch S1 at the left-hand side, S2
ditional steady-glow LEDs at the right-hand side and emergency
(LED3 and LED4) are in- switch S3 in the middle of the master
corporated to indicate the unit. Now place this master unit at
Fig. 2: Suggested enclosure (master unit)
working status. the top of the handle bar and do the
substitute to many commercially avail- The working of the cir- essential interconnections using flex-
able versions. It works in an extremely cuit is straightforward. When ible wires. Connect the front indica-
different manner and is convenient to switch S1 is flipped to on po- tors (LED1 and LED5) to the left and
operate. sition, DC supply from right side of the handle and similarly
The circuit works off a 9V PP3 the battery is extended to the oscil- rear indicators (LED2 and LED6) can
(alkaline-type) battery and is basically lator circuit formed by transistors be mounted in the carrier frame of
a set of two independent free-running T1 and T2. Now the left-side oscil- the bicycle. For the direction indica-
oscillators (astable multivibrators) built lator starts oscillating and the visual tor, you can use the symbol shown in
around four low-power transistors indicators at the front left (FL) and Fig. 3 and place it at the centre of the
and a few passive components. Both rear left (RL) start blinking at a rate handle.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u j u ly 2 0 0 8 9 5
circuit
ideas

Digital Thermometer s.c. dwiv


edi

Raj K. Gorkhali through the base-emitter junction of


npn transistor BC108 (T1). The volt-

T
his digital thermometer can age across the base-emitter junction before the temperature is displayed
measure temperatures up to of the transistor is proportional to its on the meter. Preset VR1 is used to
150C with an accuracy of 1C. temperature. The transistor used this set the zero-reading on the meter and
The temperature is read on a 1V full way makes a low-cost sensor. You can preset VR2 is used to set the range of
scale-deflection (FSD) moving-coil use silicon diode instead of transistor. temperature measurement.
voltmeter or digital voltmeter. The small variation in voltage across Operational amplifiers IC3 and IC4
Operational amplifier IC 741 (IC3) the base-emitter junction is amplified operate off regulated 5V power sup-
provides a constant flow of current by second operational amplifier (IC4), ply, which is derived from 3-terminal
positive voltage regula-
tor IC 7805 (IC1) and
negative low-dropout
regulator IC 7660 (IC2).
The entire circuit works
off a 9V battery.
Assemble the cir-
cuit on a general-pur-
pose PCB and enclose
in a small plastic box.
Calibrate the thermom-
eter using presets VR1
and VR2. After calibra-
tion, keep the box in
the vicinity of the object
whose temperature is
to be measured.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u J u ly 2 0 1 0 9 9
CIRCUIT
IDEAS

BRAKE FAILURE INDICATOR S.C. DW


IVEDI

D. MOHAN KUMAR monitoring the brake switch and re- ing elements R7 and C4 make the out-
minds you of the condition of the put high for one second to activate the

D
o you want to get an early brake every time the brake is applied. buzzer and LED2. Usually, the trigger
warning of brake failure The circuit uses an op-amp IC pin of IC3 is high due to R6 and the
while driving? Here is a CA3140 (IC2) as voltage comparator buzzer and LED2 remain off.
brake failure indicator circuit that con- and timer NE555 (IC3) in monostable When the brake pedal is pressed,
stantly monitors the condition of the configuration for alarm. Voltage com- pin 2 of IC2 gets a higher voltage from
brake and gives an audio-visual indi- parator IC2 senses the voltage level the brake switch and its output goes
low to switch off
the red LED. The
low output of IC2
gives a short nega-
tive pulse to the
monostable
through C2 to trig-
ger it. This acti-
vates the buzzer
and LED2 to indi-
cate that the brake
system is working.
When there is pres-
sure drop in the
brake system due
to leakage, LED1
cation. When the brake is applied, the across the brake switch. Its non-invert- remains on and the buzzer does not
green LED blinks and the piezobuzzer ing input (pin 3) gets half the supply sound when the brake is applied.
beeps for around one second if the voltage through potential divider re- The circuit can be assembled on
brake system is intact. If the brake fails, sistors R3 and R4 of 10 kilo-ohms each. any general-purpose PCB or perfo-
the red LED glows and the buzzer The inverting input (pin 2) of IC2 is rated board. Connect point A to that
stops beeping. connected to the brake switch through terminal of the brake switch which
The circuit will work only in ve- diode D1, IC 7812 (IC1) and resistor goes to the brake lamps. The circuit
hicles with negative grounding. It also R2. It receives a higher voltage when can be powered from the vehicles
gives an indication of brake switch fail- the brake is applied. battery.
ure. Normally, when the brake is not The circuit requires well-regulated
In hydraulic brake systems of ve- applied, the output of IC2 remains power supply to avoid unwanted trig-
hicles, a brake switch is mounted on high and the red LED (LED1) glows. gering while the battery is charging
the brake cylinder to operate the rear The output of IC2 is fed to trigger pin from the dynamo. IC4, C6 and C7 pro-
brake lamps. The brake switch is fluid- 2 of the monostable through coupling vide regulated 12V to the circuit. The
operated and doesnt function if the capacitor C2. Resistor R1 is used for power supply should be taken from
fluid pressure drops due to leakage. the input stability of IC2. IC1 and C1 the ignition switch and the circuit
The fluid leakage cannot be detected provide a ripple-free regulated supply ground should be clamped to the
easily unless there is a severe pressure to the inverting input of IC2. vehicles body. A bicolour LED can
drop in the brake pedal. This circuit IC3 is wired as a monostable to be used in place of LED1 and LED2
senses the chance of a brake failure by give pulse output of one second. Tim- if desired. z

88 JUNE 2005 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
CIRCUIT
IDEAS

SEISMIC SENSOR S.C. DW


IVEDI

 D. MOHAN KUMAR both its inverting and non-inverting


inputs tied to the negative rail through riod of IC2 is determined by R7 and

T
his circuit simulates a seismic a resistive network comprising R1, R2 C5. With the shown values, it will be
sensor to detect vibrations/ and R3. Under idle conditions (as ad- around two minutes. The high output
sounds. It is very sensitive and justed by VR1), both the inputs receive from IC2 activates T2 and the buzzer

can detect vibrations caused by the almost equal voltages, which keeps the starts beeping along with red light in-
movement of animals or human be- output low. dication from LED2.
ings. So it can be used to monitor pro- TLO71 is a low-noise JFET input Assemble the circuit on a common
tected areas to restrict entry of un- op-amp with low input bias and off- PCB and enclose in a suitable cabinet.
wanted persons or animals. set current. The BIFET technology pro- Connect the piezo element to the PCB
The circuit uses readily available vides fast slew rates. Capacitor C1 is using single-core shielded wire. En-
components and the design is straight- provided in the circuit to keep the close the piezo element inside a rust-
forward. A standard piezo sensor is differential input of IC1 for better per- proof, small aluminium box. The piezo
used to detect vibrations/sounds due formance. element should be firmly glued to the
to pressure changes. The piezo element When the piezo element is dis- enclosure facing the fine side towards
acts as a small capacitor having a ca- turbed (by even a slight movement), it the case. Fix the sensor assembly on
pacitance of a few nanofarads. Like a discharges the stored charge. This al- the back side of a ceramic tile or gran-
capacitor, it can store charge when a ters the voltage level at the inputs of ite tile with good adhesive. Fix the tile
potential is applied to its terminals. It IC1 and the output momentarily (or bury it in the earth) near the en-
discharges through VR1, when it is dis- swings high as indicated by green trance with the sensor assembly fac-
turbed. LED1. This high output is used to trig- ing downwards. Whenever a pressure
In the circuit, IC TLO71 (IC1) is ger switching transistor T1, which trig- change develops near the sensor, the
wired as a differential amplifier with gers monostable IC2. The timing pe- circuit will be activated. 

WWW.EFYMAG.COM ELECTRONICS FOR YOU NOVEMBER 2007 95


circuit
ideas

Flasher For Deepawali s.c. dwiv


edi

Sunil Kumar The output of IC1 drives transistor T1.


Working of the circuit is simple.

H
ere is the circuit for a port- When output pin 3 of IC1 goes high,
able electric lamp-cum-LED transistor T1 conducts to fire triac1 currents.
flasher. It uses a 25W, 230V and the bulb glows. Bulb L1 turns off In brief, the bulb and the LEDs
AC bulb and nine LEDs. When the when output pin 3 of IC1 goes low. flash alternately depending on the
bulb glows all the LEDs remain off, The collector of transistor T1 is con- frequency of IC1. Flashing rates of the
and when the LEDs glow the bulb nected to anodes of all the LEDs (LED1 bulb as well as LEDs can be varied by
remains off. through LED9). So when T1 is cut-off adjusting potmeter VR1. Connect the
The circuit is built around timer IC the LEDs glow, and when T1 conducts power supply line (L) of mains to bulb
555 (IC1), which is wired as an astable the LEDs go off. Current-limiting resis- L1 via switch S1 and neutral (N) to
multivibrator generating square wave. tor R4 protects the LEDs from higher MT1 terminal of triac1.
A 12V, 200mA AC adaptor is
used to power the circuit. Using
switch S1, you can switch off the
bulb permanently if you do not
want it to flash.
Assemble the circuit on a
general-purpose PCB and en-
close in a circular plastic cabinet
keeping the bulb at the centre
and LEDs at the circumference.
Drill holes for mounting the
on/off switch. Use a bulb
holder for bulb L1 and LED
holders for the LEDs. Also use
an IC socket for timer IC 555.
Warning. While assembling,
testing or repairing, take care to
avoid the lethal electric shock.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u N o v e m b e r 2 0 1 0 1 1 5
CIRCUIT
IDEAS

FRONT DOOR GUARD S.C. DW


IVEDI

 D. MOHAN KUMAR monostable mode to set and reset IC Normally, with reed switch S1
CD4027 (IC2). The output pulse width closed, transistor T1 is non-conduct-

H
ere is a circuit to thwart the of IC1 depends on the external ing and its emitter current is zero. So
attempt of burglary in your R3-C2 network connected to its pins the monostable remains in the standby
home. When an intruder tries 1, 2 and 3. mode with low output at pin 10. When
to open the door of your house, it Monostable operation is achieved T1 conducts upon opening reed switch
sounds a loud alarm and switches on when IC1 is triggered by low-to-high S1, a positive pulse from the emitter
the porch light. The alarm disables transition of the positive trigger input of T1 triggers the monostable and a
only when the door is closed again or (pin 8). It can be retriggered by an- short positive pulse is available to Q
S2 is switched off. The circuit is other low-to-high transition of pin 8. output of the monostable. It resets
failproof and reliable and, unlike IR- When the master reset input (pin 9) is when T1 is made non-conducting by
or 555 timer-based burglar alarms, high, Q output (pin 10) goes low and closing reed switch S1. The negative
overcomes the problem of false trig- Q output (pin 11) goes high. Here the trigger pin 6 and astable input pin 5
gering. monostable configuration of IC1 has of IC1 are tied to the ground along
The circuit is based on the trigger- R3-C2 network with values of C2 and with ground pin 7.
ing action of the low-power R3 as 0.0047 F and 470 kilo-ohms, re- The short-duration (one-second)
monostable/astable multivibrator IC spectively. Trigger pin 8 is connected low-to-high output from IC1 is used
CD4047 (IC1). It is wired in the to the emitter of T1. to set and reset IC2. It is a low-power

Fig. 1: Circuit of front door guard

dual J-K master/slave flip-flop having Q output goes triac1 (BT136) and alarm tone genera-
independent J, K, set, reset and clock low and Q out- tor IC3. The triac is used to switch on
inputs. The flip-flops are edge-sensi- put goes high. porch lamp.
tive to the clock input and Q and Q This lights up IC3 (IC UM3561) is a tone genera-
outputs change states on the positive- LED3 and tor that produces different tones based
going transition of the clock pulses. drives transistor on its pin connections. Here it is used
IC2 is wired such that its Q output T2 (BC548). The to generate a fire brigade alarm by con-
turns high when reset pin 4 receives a output from necting its pin 6 to Vcc. Resistor R10
Fig. 2: Pin configuration
high pulse (as indicated by LED2). of BC548/549 and transistor T2 is keeps the oscillation of IC3 to the re-
When set pin 7 receives a high pulse, BT136 used to activate quired level. Zener diode ZD1 and re-

WWW.EFYMAG.COM ELECTRONICS FOR YOU OCTOBER 2006 103

CMYK
CIRCUIT
IDEAS
sistor R8 provide 3V DC to IC3. Mount the reed switch on the triac from the remaining parts of the
The circuit can be easily assembled doorframe and the remaining circuit and ensure adequate spacing
on a general-purpose PCB. All circuit on the nearby wall. The mag- between its pins to avoid short cir-
the ICs are commonly available net for controlling the reed cuit.
low-cost versions. A standard 9V, switch should be fixed on the door Warning. Since triac is used in the
500mA adaptor can be used to power so as to close the reed switch circuit, some parts will be at mains po-
the circuit. Reed switch S1 is an im- when the door closes. When the door tential. So exercise utmost care during
portant part of the circuit, and it opens, the contacts of the reed switch testing and installation to avoid lethal
should be normally open type. break to activate the alarm. Isolate the shock. 

104 OCTOBER 2006 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
CIRCUIT IDEAS

STABILISED POWER SUPPLY WITH S.C.


DWI
VED
I

SHORT-CIRCUIT INDICATION
D. MOHAN KUMAR 18V, 500mA step-down transformer to gen- negative terminal is also at full supply volt-
erate 18V AC. A rectifier diode compris- age (selected). If there is a short circuit at

H
ere is an efficient 4-stage stabilised ing diodes D1 and D2 provides 18V DC, the output, LED2 glows to activate the
power supply unit for testing elec- which is smoothed by capacitor C1 and piezobuzzer.
tronic circuits. It provides well given to the combination of regulator ICs A fuse-failure indicator distinguishes
regulated and stabilised output, which is (IC1 through IC4). The regulator ICs pro- short circuit at the output and input fail-

essential for most electronic circuits to give duce fixed, regulated outputs of 12V, 9V, ure. It consists of a bicolour LED (LED1)
proper results. The circuit provides an au- 6V and 5V, respectively, which are con- and resistors R1 and R2. When power is
dio-visual indication if there is a short cir- nected to the rotary switch contacts. This available and the fuse is intact, red and
cuit in the PCB under test, so the power power supply is useful for loads requiring green halves of LED1 are effectively in
supply to the circuit under test can be up to 200mA current. parallel to output a yellowish light. When
cut-off immediately to save the valuable Complementary transistors T1 and T2 fuse fails, green LED goes off and red LED
components from damage. conduct when the power to the circuit is lights up to indicate fuse breakdown.
The circuit provides four different regu- switched on. Full selected supply voltage The circuit can be easily constructed
lated outputs (12V, 9V, 6V and 5V) and is available at the collector of transistor on a general-purpose PCB. Use small heat-
an unregulated 18V output, which are se- T2, which is used to power the load. LED3 sinks for all ICs to dissipate heat. The out-
lectable through rotary switch S2. The se- indicates the presence of output voltage. put voltage can be read on a voltmeter.
lected output is indicated on the analogue The negative terminal of piezobuzzer PZ1 Enclose the circuit in a metal box with
voltmeter connected to the outputs rails. is connected to the output rail via LED2, provisions for voltmeter, LEDs, rotary
The circuit uses a standard 18V-0- so the piezobuzzer remains silent as its switch, etc.

ELECTRONICS FOR YOU JULY 2004


CIRCUIT IDEAS

WATER-LEVEL CONTROLLER S.C.


DWIV
EDI

K.P. VISWANATHAN positions. pushes the moving contact of switch S2


Normally, N/C contact of switch S1 is to N/O position and it gets connected to

H
ere is a simple, automatic water- connected to ground and N/C contact of ground. Now IC1 is reset and its output
level controller for overhead tanks switch S2 is connected to 12V power sup- goes low to switch the pump off.
that switches on/off the pump mo- ply. IC 555 is wired such that when its As water is consumed, its level in the
tor when water in the tank goes below/ trigger pin 2 is grounded it gets triggered, overhead tank goes down. Accordingly,
above the minimum/maximum level. The and when reset pin 4 is grounded it gets the float of sensor 2 also goes down. This
water level is sensed by two floats to op- reset. Threshold pin 6 and discharge pin 7 causes the moving contact of switch S2 to
erate the switches for controlling the pump are not used in the circuit. shift back to NC position and reset pin 4
motor. When water in the tank goes below of IC1 is again connected to 12V. But IC1
Each sensors float is suspended from the minimum level, moving contacts (P1 doesnt get triggered because its trigger
pin 2 is still clamped to 12V by switch S1.
So the pump remains switched off.
When water level further goes down
to reach the minimum level, the moving
contact of switch S1 shifts back to N/C
position to connect trigger pin 2 of IC1 to
ground. This triggers IC1 and the pump is
switched on.
The float sensor units can be assembled
at home. Both the units are identical, ex-
cept that their length is different. The depth
of the water tank from top to the outlet
water pipe can be taken as the length of the
minimum-level sensing unit. The depth of
the water tank from top to the level you
want the tank to be filled up to is taken as
the length of the maximum-level sensing
unit. The leaf switches are fixed at the top
of the tank as shown in the figure.
above using an aluminium rod. This ar- and P2) of both leaf switches will be in Each pipe is closed at both the ends by
rangement is encased in a PVC pipe and N/C position. That means trigger pin 2 using two caps. A 5mm dia. hole is drilled
fixed vertically on the inside wall of the and reset pin 4 of IC1 are connected to at the centre of the top cap so that the
water tank. Such sensors are more reli- ground and 12V, respectively. This trig- aluminium rod can pass through it easily to
able than induction-type sensors. Sensor gers IC1 and its output goes high to select the contact of leaf switches. Simi-
1 senses the minimum water level, while energise relay RL1 through driver transis- larly, a hole is to be drilled at the bottom
sensor 2 senses the maximum water level tor SL100 (T1). The pump motor is cap of the pipe so that water can enter the
(see the figure). switched on and it starts pumping water pipe to lift the float.
Leaf switches S1 and S2 (used in tape into the overhead tank if switch S3 is on. When water reaches the maximum
recorders) are fixed at the top of the sen- As the water level in the tank rises, level, the floats should not go up more
sor units such that when the floats are the float of sensor 1 goes up. This shifts than the required distance for pushing
lifted, the attached 5mm dia. (approx.) alu- the moving contact of switch S1 to N/O the moving contact of the leaf switch to
minium rods push the moving contacts position and trigger pin 2 of IC1 gets con- N/O position. Otherwise, the pressure on
(P1 and P2) of leaf switches S1 and S2 nected to 12V. This doesnt have any im- the float may break the leaf switch itself.
from normally closed (N/C) position to pact on IC1 and its output remains high The length of the aluminium rod is to be
normally open (N/O) position. Similarly, to keep the pump motor running. selected accordingly. It should be affixed
when the water level goes down, the mov- As the water level rises further to reach on the metal/thermocole float using some
ing contacts revert back to their original the maximum level, the float of sensor 2 glue (such as Araldite).

ELECTRONICS FOR YOU DECEMBER 2004


CIRCUIT IDEAS

HIGHWAY ALERT SIGNAL LAMP S.C.


DWI
VED
I

D. MOHAN KUMAR

H
ere is a signal lamp
for safe highway
driving. The lamp
automatically emits bril-
liant tricolour light when a
vehicle approaches the rear
side of your vehicle. It emits
light for 30 seconds that
turns off when the ap-
proaching vehicle over-
takes. The ultra-bright blue,
white and red LEDs of the
signal lamp emit very bright
light to alert the approach- Fig. 1: Circuit diagram of highway alert signal lamp

ing vehicles nected to trig- level. This activates astable IC2, which
driver even ger pin 2 of switches on and off the LED chain alter-
during the day, IC1, which is nately. The intermittent flashing of LEDs
giving addi- normally kept gives a beautiful tricolour flashlight effect.
tional safety high by resistor The circuit can be easily constructed on
during night, or R1. a small piece of general-purpose PCB. Fig.
when you need W h e n 2 shows the bottom and front views of
Fig. 2: Pin configuration to stop your ve- Fig. 3: Suggested headlight from Darlington phototransistor L14F1. The pro-
hicle on side of arrangement of LEDs an approaching posed arrangement of LEDs, which are sol-
the highway. The circuit saves consider- vehicle illumi- dered in a circular fashion on a general-
able battery power. nates the phototransistor, it conducts to purpose PCB, is shown in Fig. 3. Use a
The circuit is built around two timer give a short pulse to IC1, and the output circular reflector for the LEDs to get brighter
ICs NE555 (IC1 and IC2). IC1 is designed of IC1 goes high for a period determined light. Fix the LED arrangement on the rear
as a standard monostable, while IC2 is by resistor R2 and capacitor C1. The out- side of your vehicle, and the phototransistor
designed as an astable. Darlington put of IC1 is fed to the base of transistor where it is illuminated directly by the head-
phototransistor L14F1 (T1) is used as a T2 via resistor R3. Transistor T2 conducts light of the approaching vehicle. 12V DC
photosensor to activate the monostable. to drive transistor T3 and its collector goes supply to the circuit, can be provided by
The collector of phototransistor T1 is con- high to take reset pin 4 of IC2 to high your vehicle battery with proper polarity.

ELECTRONICS FOR YOU APRIL 2004


CIRCUIT
IDEAS

SIMPLE DIGITAL IVEDI

SECURITY SYSTEM
S.C. DW

PHERDAUS ISLAM nected as shown in Fig. 1. If you dont


want to use a buzzer, switch it off by

Y
ou can use this simple and reli- opening switch S2.
able security system as a watch- The circuit works off a 9V regu-
dog by installing the sensing lated power supply. However, battery
loops around your building. You have back-up is recommended. A common-
to stretch the loop wires two feet above cathode, 7-segment display (LTS543)
the ground to sense the unauthorised is used for displaying whether the
entry into your premises. loops are intact or not.
Wire loops 1, 2 and 4 are connected If loop 1 is broken, the display will
to the A, B and C inputs of 7-segment show 1. If two or all the three loops
decoder 4511 (IC1), respectively, while are broken, the display will show the
the D input of IC1 is grounded perma- sum of the respective broken loop Fig. 2: The proposed wiring diagram of loops

Fig. 1: The digital security system circuit

nently. The loops are also connected to numbers. For example, if loops 1 and transistor T1 in cut-off position and the
a dual 3-input NOR gate and inverter 4 are broken, the display will show piezobuzzer does not sound.
CD4000 (IC2) to activate the alarm. 5(1+4). When any loop is broken, the out-
Fig. 1 shows the circuit of the digi- When all the three loops are intact, put of NOR gate N1 goes low, while
tal security system, while Fig. 2 shows the display will show 0. All the three the output of gate N2 goes high. Tran-
the proposed wiring diagram for the inputs of gate N1 remain low to give a sistor T1 conducts and the buzzer
loops around the premises. Before us- high output. This high output is fur- sounds to alert you. You can mute the
ing this security system, make sure ther given to gate N2 and, as a result, buzzer by switching off power to the
that loops shown in Fig. 2 are con- its output remains low. This keeps circuit through switch S1. z

WWW.EFYMAG.COM ELECTRONICS FOR YOU MARCH 2005 105

CMYK
CIRCUIT IDEAS

NON-CONTACT POWER MONITOR SUN


IL KU
MAR

D. MOHAN KUMAR e n a b l e d
and the

H
ere is a simple non-contact AC piezobuzzer
power monitor for home appliances produces a
and laboratory equipment that shrill tone. Re-
should remain continuously switched-on. sistor R1 pro-
A fuse failure or power breakdown in the tects T2 from
equipment going unnoticed may cause ir- short circuit if
reparable loss. The monitor sounds an VR is adjusted
alarm on detecting power failure to the to zero resis-
equipment. tance.
The circuit is built around CMOS IC The circuit
CD4011 utilising only a few components. can be easily
NAND gates N1 and N2 of the IC are wired assembled on a
as an oscillator that drives a piezobuzzer perforated/
directly. Resistors R2 and R3 and capaci- As the collectors of T1 and T2 are con- breadboard. Use a small plastic case to en-
tor C2 are the oscillator components. The nected to pin 2 of NAND gate N1 of the close the circuit and a telescopic antenna as
amplifier comprising transistors T1 and T2 oscillator, the oscillator gets disabled when aerial. A 9V battery can be used to power
disables the oscillator when mains power the transistors conduct. Capacitor C1 pre- the circuit. Since the circuit draws only a
is available. vents rise of the collector voltage of T2 few microamperes current in the standby
In the standby mode, the base of T1 again during the negative half cycles. mode, the battery will last several months.
picks up 50Hz mains hum during the posi- When the power fails, the electrical After assembling the circuit, take the aerial
tive half cycles of AC and T1 conducts. field around the equipments wiring ceases near the mains cable and adjust VR until the
This provides base current to T2 and it and T1 and T2 turn off. Capacitor C1 starts alarm stops to indicate the standby mode.
also conducts, pulling the collector to charging via R1 and preset VR and when it The circuit can be placed on the equipment
ground potential. gets sufficiently charged, the oscillator is to be monitored close to the mains cable.

ELECTRONICS FOR YOU NOVEMBER 2003


circuit
ideas

Multitone Siren s.c. dwiv


edi

Pradeep G. and small audio amplifier LM386. IC


4060 is used as the multitone genera-

T
his multitone siren is useful for tor. A 100H inductor is used at the These multifrequency signals are
burglar alarms, reverse horns, input of IC 4060. So it oscillates within mixed and fed to the audio amplifier
etc. It produces five different the range of about 5MHz RF. IC 4060 built around IC LM386.
audio tones and is much more ear- itself divides RF signals into AF and The output of IC2 is fed to the
catching than a single-tone siren. ultrasonic ranges. Audio signals of speaker through capacitor C9. If you
The circuit is built around popular different frequencies are available at want louder sound, use power ampli-
CMOS oscillator-cum-divider IC 4060 pins 1, 2, 3, 13 and 15 of IC 4060 (IC1). fier TBA810 or TDA1010.
Only five out-
puts of IC1 are used
here as the other
five outputs (pins
4 through 7 and 14)
produce ultrasonic
signals, which are
not audible.
Assemble the
circuit on a gen-
eral-purpose PCB
and enclose in a
suitable cabinet.
Regulated 6V-12V
(or a battery) can be
used to power the
circuit.

1 1 8 Au g u s t 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas

MIDNIGHT security light


edi
s.c. dwiv
D. MOHAN KUMAR sunset, the high resistance of LDR1
makes pin 12 of IC1 low and it starts

M
ost thefts happen after oscillating, which is indicated by the
midnight hours when peo- flashing of LED2 connected to pin 7 pin 12 of IC1 high during day time,
ple enter the second phase of IC1. The values of oscillator compo- so slight changes in light intensity
of sleep called paradoxical sleep. nents (resistors R1 and R2 and capaci- dont affect the circuit. Using preset
Here is an energy-saving circuit that tor C4) are chosen such that output VR1 you can adjust the sensitivity of
causes the thieves to abort the theft pin 3 of IC1 goes high after seven LDR1.
attempt by lighting up the possible hours, i.e., around 1 am. This high Power supply to the circuit is de-
sites of intrusion (such as kitchen or output drives triac 1 (BT136) through rived from a step-down transformer
backyard of your house) at around LED1 and R3. X1 (230V AC primary to 0-9V, 300mA
1:00 am. It automatically resets in the Bulb L1 connected between the secondary), rectified by a full-wave
morning. phase line and M2 terminal of triac 1 rectifier comprising diodes D1 through
The circuit is fully automatic and turns on when the gate of triac 1 gets D4 and filtered by capacitor C1.
uses a CMOS IC CD 4060 to get the the trigger voltage from pin 3 of IC1. Assemble the circuit on a general-
desired time delay. Light-dependent It remains on until pin 12 of IC1 be- purpose PCB with adequate spacing
resistor LDR1 controls reset pin 12 of comes high again in the morning. between the components. Sleeve the
IC1 for its automatic action. Capacitors C1 and C3 act as power exposed leads of the components.
During day time, the low resist- reserves, so IC1 keeps oscillating even Using switch S1 you can turn on the
ance of LDR1 makes pin 12 of IC1 if there is power interruption for a few lamp manually. Enclose the unit in a
high, so it doesnt oscillate. After seconds. Capacitor C2 keeps trigger plastic case and mount at a location
that allows adequate
daylight.
Caution. Since the
circuit uses 230V AC,
many of its points are
at AC mains voltage. It
could give you lethal
shock if you are not
careful. So if you dont
know much about work-
ing with line voltages,
do not attempt to con-
struct this circuit. EFY
will not be responsible
for any kind of resulting
loss or damage.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u F e b r ua ry 2 0 0 9 9 5
circuit
ideas

Versatile Probe
Raju R. Baddi
edi
s.c. dwiv

Y
ou can use this versatile probe
for continuity testing and iden-
tification of transistor type and
transformer windings. The n-side or while the other hand is
p-side of a transistor can be identified free.
quickly in one go. You can make two Fig. 1 shows the circuit
contacts with the probe in one hand of the probe. The operation
of the circuit is simple.
It is driven by an alter-
nating current flow-
ing through two LEDs
(LED1 and LED2). So
one LED corresponds
to forward direction of
current flow, while the
other shows reverse di-
rection of current flow.
This helps to detect ori-
entation of the p-n junc-
tion with respect to the
probes. The LEDs can
be arranged near the
probes to glow either for
the p-side or the n-side
as per your choice.
The frequency is de-
termined by capacitor
C1 and preset VR1 con-
Fig. 1: Circuit of versatile probe nected between gates G1 Fig. 2: Constructional detail of versatile probe

Testing Results for Different Components


Component Probe D Probe C Red LED Green LED Result
Diode 1st terminal 2nd terminal Off On Probe D side is anode (p) and probe C
1st terminal 2nd terminal On Off side is cathode (n)
Probe D side is n and probe C side is p
Transistors C E X X Unused pin is base
Any type pnp or npn E C X X Unused pin is base
npn-type transistor B E On Off p-n junction
B C On Off p-n junction
Result: p is common, so npn transistor
pnp-type transistor B E Off On n-p junction
B C Off On n-p junction
Result: n is common, so pnp transistor
Step-down transformer Primary terminal 1 Primary terminal 2 Glow with Glow with Both LEDs glowing with low intensity
low intensity low intensity Result: Primary side
Secondary terminal 1 Secondary terminal 2 Glow with Glow with Both LEDs glowing with high intensity
high intensity high intensity Result: Secondary side
Continuity Connect with X On Off Indicates shorting
LEDs probe

1 0 6 F e b r ua ry 2 0 1 0 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
and G2. The frequency can be varied under testing. One probes tip has been purpose PCB which is as compact as
using preset VR1. Higher frequency widened. (Drop the empty refill of a possible and put it inside a glue stick
results in more sensitivity to inductive ball-pen from some height to remove tube (whose inner mechanism has been
reactance. The preset is trimmed so that the ball, then insert a sharp needle or removed) at its centre. The metallic
when the probes are shorted, both the something similar into the tip. Slowly disk and metallic strips can be cut out
LEDs glow equally. push the needle inside and widen the from any tin container. For the probes,
Fig. 2 shows the probe arrangement tip so that a component lead can be use the spring mechanism of gel ball
for testing. Most of the battery power is inserted into it during testing.) Slightly pens. Probes C and D are the points
consumed only when the LEDs glow. unequal probe lengths help to make representing the probe terminals.
The probes have been constructed to easy contacts. Two button cells (CR2032) are used to
provide a good grip on the components Assemble the circuit on a general- power the probe circuit.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u F e b r ua ry 2 0 1 0 1 0 7
CMYK

CIRCUIT
IDEAS

MUSICAL LIGHT CHASER S.C. DW


IVEDI

DEBARAJ KEOT ranged in zig-zag fashion. The bulb lighting effect generator circuit. You
sets glow one after another depending just need to place the gadget near the

T
his music-operated lighting ef- on the intensity of the audio signal. speakers of the music system.
fect generator comprises five No electrical connection is to be made Fig. 1 shows the complete circuit
sets of 60W bulbs that are ar- between the music system and the of the musical light chaser, while Fig.

Fig. 1: Circuit diagram of musical light chaser

82 JANUARY 2005 ELECTRONICS FOR YOU WWW.EFYMAG.COM


CMYK

CIRCUIT
IDEAS
2 shows pin configurations of 9V regu- The time constant can be changed by
lator 7809, triac BT136 and level meter changing the values of resistor R6,
IC LB1403. variable resistor VR2 and capacitor
The circuit is powered by regulated C7. Here, variable resistor VR2 is used
9V DC. The AC mains is stepped down for varying the response speed of the
by transformer X1 to deliver a second- chaser light as desired. When VR2 is
ary output of 12V AC at 250 mA. The set in the minimum resistance posi-
transformer output is rectified by a tion, the response is very fast, and
full-wave rectifier comprising diodes Fig. 2: Pin configuration when it is set at the maximum resis-
D1 and D2 and filtered by capacitors tance, the response is slow.
C1 and C2. Regulator IC 7809 (IC1) plifier, comparators and constant cur- The complete circuit including the
provides regulated 9V power supply rent source at its output pins. power supply can be constructed on
to the circuit. Closing switch S1 pro- Depending on the intensity of the any general-purpose PCB or
vides power to the circuit and LED1 input audio signals, all or some out- a small Vero board. Triacs TR1
glows to indicate that the circuit is puts of IC3 go low to drive transistors through TR5 should be kept away
ready to work. T1 through T5, which, in turn, fire the from the op-amp and its related com-
When you put your music system corresponding triacs TR1 through TR5 ponents. The metallic parts of the
in front of the condenser microphone via their gates and multicoloured zig- triacs should not touch each other and
of the light chaser, the sound pressure zag bulb sets comprising ZL1 through the other parts of the circuit. After
variation is converted into electrical ZL5 glow. assembling the circuit, house it in a
signals by the condenser microphone. When the audio level is low, only suitable shockproof plastic cabinet.
These weak electrical signals are am- triac T1 is fired and the zig-zag bulb Make some holes in the cabinet for
plified by op-amp A741 (IC2), which set ZL1 turns on and off sequentially. heat dissipation.
is configured as an inverting ampli- When the audio level is high, triacs Note. 1. Some zig-zag lights have
fier. Using preset VR1 you can set the TR1 through TR5 get fired and all the a special bulb called master bulb for
sensitivity of the circuit. bulb sets (ZL1 through ZL5) turn on automatic flickering. It should be
The amplified output is fed to IC and off sequentially. removed and replaced with a simple
LB1403 (IC3) at its input pin 8. IC3 is a Pin 7 of IC3 is used for selecting non-flickering colour bulb.
five-dot LED level meter commonly the response speed of the lighting. 2. Never touch any naked part of
used in stereo systems for LED The larger the time constant, the the circuit when it is connected to the
bargraph displays. It has a built-in am- slower the response, and vice versa. mains. z

WWW.EFYMAG.COM ELECTRONICS FOR YOU JANUARY 2005 83


circuit
ideas

Electronic Candles edi


s.c. dwiv
Raj K. Gorkhali
gate trigger circuit components. It is

H
ere is a simple circuit that basically half-wave AC power being
can produce the effect of supplied to the electric bulb.
candle light in a normal The third part is the power sup- to provide better flickering effect in
electric bulb. A candle light, as we ply circuit to generate regulated 5V the bulb.
all know, resembles a randomly DC from 230V AC for random signal The random signal triggers the
flickering light. So, the objective of generator. It comprises a stepdown gate of SCR1. The electric bulb gets
this project activity is to produce a transformer (X1), full-wave rectifier AC power only for the period for
randomly flickering light effect in an (diodes D3 and D4), filter capacitor which SCR1 is fired. SCR1 is fired
electric bulb. (C9), followed by a regulator (IC5). only during the positive half cycles.
To achieve this, the entire circuit The random signal generator of Conduction of SCR1 depends upon
can be divided into three parts. The first the circuit is built around an 8-bit the gate triggering pin 3 of IC2, which
part comprises IC1 (555), IC2 (74LS164), serial in/parallel out shift register is random. Thus, we see a flickering
IC3 (74LS86), IC4 (74LS00) and the as- (IC2). Different outputs of the shift effect in the light output.
sociated components. These generate a register IC pass through a set of logic Assemble the circuit on a general-
randomly changing train of pulses. gates (N1 through N5) and final out- purpose PCB and enclose it in a suitable

Fig. 1: Circuit diagram for electronic candle

The second put appearing at pin 6 of gate N5 is case. Fix bulb and neon bulb on the
part of the circuit fed back to the inputs of pins 1 and front side of the cabinet. Also, connect
consists of SCR1 2 of IC2. The clock signal appears a power cable for giving AC mains
(C106), an electric at pin 8 of IC2, which is clocked by supply to the circuit for operation. The
bulb connected an astable multivibrator configured circuit is ready to use.
between anode of around timer (IC1). The clock fre- Warning. Since the circuit uses
Fig. 2: Pin configurations
SCR1 and mains quency can be set using preset VR1 230V AC, care must be taken to avoid
of C106 and 7805 live wire, and and VR2. It can be set around 100 Hz electric shock.

1 4 2 J a n ua ry 2 0 1 0 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas

Automatic sprinkler edi


control system s.c. dwiv

Raj K. Gorkhali
filtered by capacitors C1 and C2. The
rectified DC is fed to the timer circuit conducts to forward-bias the internal

I
f you have an automatic sprinkler through resistor R1 and zener diode LED of optocoupler IC3. Triac1 is
control system, chances are that ZD1 to produce 12 volts to enable the controlled through IC3, which pro-
you are currently using all of its timer circuit. vides gate current through resistor
outputs controlling sprinklers. The IC 555 (IC1) is wired as an astable R12 to turn it on. As a result, solenoid
problem arises when you want to add mutivibrator producing about 7Hz valve-1 activates to provide path for
another sprinkler control solenoid pulses. You can change this frequency water to flow.
valve. Using this circuit, you can add by changing the values of timing com- After 20 minutes, Q14 of IC2 goes
an expansion module to the control- ponents R2, R3 and C4. The output high, making transistor T1 conduct.

ler without upgrading the controller of IC1 is fed to clock pin 10 of IC2. Transistor T2 cuts off and the internal
or running new wiring. The circuit is The 7Hz frequency is further divided LED of optocoupler IC4 is forward-bi-
fitted in place of an existing solenoid by IC2, which is a 14-stage binary ased. Triac2 is controlled through IC4,
and allows the controller to switch counter. which provides gate current through
on two valves (hence two sprinklers) IC2 is reset through capacitor C6 resistor R9 to turn it on. As a result,
instead of one. and resistor R4 when power switch solenoid valve-2 activates to give path
Designed for use with standard S1 is closed. Output pin 3 of IC1 goes for water flow.
24V AC controller systems, the circuit low when it resets. Counter IC2 is then Timer IC1 is disabled as soon as
uses the 24V output to power a timer clocked at 7 Hz, with its final output the output of IC2 goes high, making its
which activates one of the valves for, (Q14) going high after 20 minutes. reset pin 4 low to stop clocking to IC2
say, 20 minutes. After 20 minutes, the This high output of IC2 activates the and so its output remains high. Triac2
circuit switches this valve off and the solenoid valves via optocoupled triacs has a snubber circuit built around R10
other valve on. The second valve is built around IC3 and IC4. and C6. Triac1 too has a snubber circuit
activated for the remainder of time that Working of the circuit is simple. built around R13 and C7. The snubber
the controller is programmed to give When you power-on the circuit using circuit is used to suppress any voltage
for that station. switch S1, IC1 is enabled and IC2 re- spike produced by switching the sole-
The 24V AC from the controller is sets. Q14 of IC2 remains low, making noid valve coils.
half-wave-rectified by diode D1 and transistor T1 cut-off. Transistor T2 Assemble the circuit on a general-

1 2 0 J a n ua ry 2 0 1 1 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
purpose PCB and house in a water- using suitable light bulbs as loads on to the solenoid valve as shown in the
proof plastic box with an outlet hole the output. circuit.
cut in it for the wiring. Seal the wiring Once the timer is ready for instal- The timer is set here such that
hole and box lid with a generous ap- lation, remove one control valve from valve 1 remains open for 20 minutes
plication of silicon sealant. the controller and replace it with 24V and after 20 minutes, valve 1 closes
before installing the circuit in the AC input of this circuit (terminals A and valve 2 opens for the following 20
sprinkler control system, test it by and B in the circuit diagram). Con- minutes. valve 2 remains open until
providing 24V AC as the input and nect the ground terminal of the circuit switch S1 is closed.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u J a n ua ry 2 0 1 1 1 2 1
CIRCUIT
IDEAS

AUTOMATIC PHASE CHANGER S.C. DW


IVEDI

 MUHAMMAD AJMAL P. The mains power supply phase R


is stepped down by transformer X1 to

I
n three-phase applications, if low deliver 12V, 300 mA, which is recti- As soon as phase-R voltage goes
voltage is available in any one or fied by diode D1 and filtered by ca- below 200V, the voltage at inverting
two phases, and you want your pacitor C1 to produce the operating pin 2 of IC1 goes below reference volt-
equipment to work on normal voltage, voltage for the operational amplifier age of 5.1V, and its output goes low.
this circuit will solve your problem. (IC1). The voltage at inverting pin 2 of As a result, transistor T1 conducts and
However, a proper-rating fuse needs oprational amplifier IC1 is taken from relay RL1 energises and load L1 is
to be used in the input lines (R, Y and the voltage divider circuit of resistor disconnected from phase R and
B) of each phase. The circuit provides R1 and preset resistor VR1. VR1 is used connected to phase Y through relay
correct voltage in the same power sup- to set the reference voltage according RL2.
ply lines through relays from the other to the requirement. The reference volt- Similarly, the auto phase-change of
phase where correct voltage is avail- age at non-inverting pin 3 is fixed to the remaining two phases, viz, phase
able. Using it you can operate all your 5.1V through zener diode ZD1. Y and phase B, can be explained.
equipment even when correct voltage Till the supply voltage available in Switch S1 is mains power on/off
is available on a single phase in the phase R is in the range of 200V-230V, switch.

building. the voltage at inverting pin 2 of IC1 Use relay contacts of proper rating
The circuit is built around a trans- remains high, i.e., more than reference and fuses should be able to take-on
former, comparator, transistor and re- voltage of 5.1V, and its output pin 6 the load when transferred from other
lay. Three identical sets of this circuit, also remains high. As a result, transis- phases. While wiring, assembly and in-
one each for three phases, are used. tor T1 does not conduct, relay RL1 re- stallation of the circuit, make sure that
Let us now consider the working of mains de-energised and phase R sup- you:
the circuit connecting red cable (call it plies power to load L1 via normally- 1. Use good-quality, multi-strand
R phase). closed (N/C) contact of relay RL1. insulated copper wire suitable for your

WWW.EFYMAG.COM ELECTRONICS FOR YOU JULY 2007 93


CIRCUIT
IDEAS
current requirement. nections from mains. 2. If the input voltage is low in two
2. Use good-quality relays with EFY Note: 1. During testing in the phases, loads L1 and L2 may also be
proper contact and current rating. lab, we used a 12V, 200-ohm, single- connected to the third phase. In that
3. Mount the transformer(s) and re- phase changeover relay with 6A cur- situation, a high-rating fuse will be re-
lays on a suitable cabinet. Use a Tag rent rating. Similarly, ampere-rated quired at the input of the third phase
Block (TB) for incoming/outgoing con- fuses were used. which is taking the total load. 

94 JULY 2007 ELECTRONICS FOR YOU WWW.EFYMAG.COM


circuit
ideas

Skin Response Meter s.c. dwiv


edi

D. Mohan Kumar

H
uman skin offers current from pin 18 to pin 10
some resistance to with each increment of 125
current and voltage. millivolts at its input pin 5.
This resistance changes with Using VR3 you can adjust the
the emotional state of the input voltage of IC2, while
body. The circuit proposed using VR4 you can control the
here measures changes in brightness of the LEDs.
your skin resistance following In practice, the circuit pro-
changes in your mental state. vides both meter reading and
In the relaxed state, the LED indications. If the LED
resistance offered by the skin display is not needed, IC2 can
is as high as 2 mega-ohms be omitted.
or more, which reduces to Assemble the circuit on
500 kilo-ohms or less when resistor along with the skin when the a general-purpose PCB and
the emotional stress is too high. The touch plates make contact with the skin. enclose in a suitable cabinet with touch
reduction in skin resistance is related to So the gain of IC1 depends on the feed- pads glued on the top, 5-10 mm apart.
increased blood flow and permeability back provided by R1 and the skin. Touch pads can be any type of conduct-
followed by the physiological changes In the inverting mode of IC1, a posi- ing plates, such as aluminium or copper
during high stress. This increases the tive input voltage to its pin 2 through the plates, having dimensions of 11 cm2.
electrical conductivity of the skin. feedback network makes its output low. The moving coil meter can be a small
This circuit is useful to monitor the If the skin offers very high resistance in VU meter with 1-kilo-ohm coil resistance
skins response to relaxation techniques. the relaxed state, input voltage to pin 2 and 0-10 digit reading.
It is very sensitive and shows response reduces and the output remains high. After assembling the circuit, adjust
during a sudden moment of stress. Even Thus the gain of IC1 varies depending the presets such that IC1 outputs around
a deep sigh will give response in the on the current passing through the skin, 6 volts. None of the LEDs (LED1 through
circuit. which, in turn, depends on the skin re- LED3) glows in this position with the
The circuit uses a sensitive amplifier sponse and emotional state. touch plates open.
to sense variations in the skin resistance. In the standby state, touch plates Now gently touch the touch plates
IC CA3140 (IC1) is designed as a resist- are free. As there is no feedback to IC1, with your middle finger. Maintain the
ance-to-voltage converter that outputs it gives a high output (around 6 volts), finger still allowing one minute to bond
varying voltage based on the skins con- which is indicated by shifting of the with the pads and keep your body
ductivity. It is wired as an inverting am- meter to right side. relaxed. Adjust VR3 until the green
plifier to generate constant current to skin When the touch plates are shorted by LED (LED1) lights up and the meter
in order to measure the skin resistance. the skin, the feedback circuit completes shows full deflection. Adjust VR2 to get
IC CA3140 is a 4.5MHz BiMOS op- and the output voltage reduces to 4 volts maximum deflection of the meter. This
erational amplifier with MOSFET inputs or less depending on the resistance of indicates normal resistance of the skin,
and bipolar output. The gate-protected the skin. Since the feedback network has provided the body is fully relaxed.
inputs have high impedance and can a fixed resistor (R1) and VR1 is set to a If you are stressed or have ill feel-
sense current as low as 10 pA. This de- fixed resistance value, the current flowing ing, skin resistance decreases and the
vice is ideal to sense small currents in through it depends only on the resistance blue LED lights up followed by the red
low-input-current applications. of the skin. The output from IC1 is dis- LED along with a deflection of the meter
The inverting input (pin 2) of IC1 played on a sensitive moving coil meter towards the lower side. In short, the red
is connected to ground (through preset (VU meter). By varying preset VR2, you LED and zero meter reading indicate
VR1) and one of the touch plates, while can adjust the sensitivity of the meter. you are stressed, and the green LED and
the non-inverting input (pin 3) is ground- For easy visual observation, an LED high meter reading indicate you are re-
ed directly. The output from IC1 passes display is also included. IC LM3915 (IC2) laxed. Practise some relaxation technique
through current-limiting resistor R1 to the is used to give a logarithmic display and observe how much your body is
second touch plate. R1 act as a feedback through LED indications. It can sink relaxed.

8 8 J u n e 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
CIRCUIT
IDEAS

MAINS SUPPLY FAILURE ALARM S.C. DW


IVEDI

T.K. HAREENDRAN

W
henever AC mains supply
fails, this circuit alerts you
by sounding an alarm. It also
provides a backup light to help you
find your way to the torch or the gen-
erator key in the dark.
The circuit is powered directly by
a 9V PP3/6F22 compact battery. Press-
ing of switch S1 provides the 9V power
supply to the circuit. A red LED
(LED2), in conjunction with zener di-
ode ZD1 (6V), is used to indicate the
battery power level. Resistor R9 limits
the operating current (and hence the
brightness) of LED2.
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 CD4538 (IC2) is used here. goes low and pnp transistor T2 gets
when the battery voltage goes below When mains goes off, IC2 is trig- forward biased to light up the white
7.5V. gered after a short duration deter- LED (LED1). Light provided by this
Initially, in standby state, both the mined by components C1, R4 and C3. back-up LED is sufficient to search the
LEDs are off and the buzzer does not Output pin 10 of IC2 goes high to for- torch or generator key.
sound. The 230V AC mains is directly ward bias relay driver transistor T1 via During the mono time-out period,
fed to mains-voltage detection resistor R7. Relay RL1 energises to ac- the circuit can be switched off by open-
optocoupler IC MCT2E (IC1) via resis- tivate the piezobuzzer via its N/O con- ing switch S1. The on period of the
tors R1, R2 and R3, bridge rectifier BR1 tact for the time-out period of the monostable multivibrator may be
and capacitor C1. Illumination of the monostable multivibrator (approxi- changed by changing the value of re-
LED inside optocoupler IC1 activates mately 17 minutes). At the same time, sistor R5 or capacitor C2.
its internal phototransistor and clock the N/C contact removes the positive If mains doesnt resume when
input pin 12 of IC2 (connected to 9V via supply to resistor R4. The time-out pe- the on period of the monostable
N/C contact of relay RL1) is pulled riod of the monostable multivibrator lapses, the timer is retriggered after a
low. Note that only one monostable of is determined by R5 and C2. short delay determined by resistor R4
dual-monostable multivibrator IC Simultaneously, output pin 9 of IC2 and C3. z

WWW.EFYMAG.COM ELECTRONICS FOR YOU MAY 2005 85

CMYK
CIRCUIT
IDEAS

wired around IC NE555 (IC1).


MAT SWITCH S.C. DW
IVEDI
IC1 outputs a pulse of fifty-seconds
duration with preset values of R4 and
C3. This pulse is applied to the buzzer
through transistor T2. The buzzer
 D. MOHAN KUMAR as the switch. It can be two small sounds a warning beep on
pieces of conductive pads usually used unauthorised entry. The pulse dura-

T
his simple circuit produces a to pack sensitive ICs as antistatic cover. tion can be changed to the desired
warning beep when somebody Alternatively, you can make the switch value by changing the values of R4 and
crosses a protected area in your by coating conducting carbon ink on C 3 .
home or office. The switch, hidden be- two small pieces of a copper-clad Resistor R2 in the circuit makes the
low the floor mat, triggers the alarm board. trigger pin of IC1 high to prevent false
when the person walks over it. When the circuit is in standby triggering.
The circuit uses a conductive foam mode, transistor T1 does not conduct, Assemble the circuit on a general-
since its base is purpose PCB and enclose in a plastic
floating. When case. Use a 9V battery to power the
the person circuit. Connect the touchpad switch
walks, the switch with the PCB and hide under the mat
is pressed and at the entrance. The PCB can be
current flows mounted on the nearby wall.
through R1 and Make the switch carefully using
the switch to conducting foam or copper clad coated
provide positive with conducting ink. Place the two
bias to transistor pieces with their conducting surface
T1. Transistor T1 facing each other. Solder carefully a
conducts and its thin copper electric wire and ensure
collector voltage that it makes contact when the two
drops, which plates touch together on pressing. Pro-
acts as a negative vide two 1cm rubber tabs between the
trigger input for plates to avoid touch in the standby
the monostable mode. 

92 MAY 2007 ELECTRONICS FOR YOU WWW.EFYMAG.COM


circuit
ideas

Water-Level Indicator s.c. dwiv


edi

using 7-segment display


Riju Thazhathu Veettil
a high voltage at the input pin of the 10 also goes high. Now as both pins 9

T
his water-level indicator uses NOT gate, it outputs a low voltage. and 10 of gate N9 are high, its output
a 7-segment display, instead Similarly, for a low voltage at the input pin 8 also goes high. As a result, posi-
of LEDs, to indicate the water pin of the NOT gate, it outputs a high tive supply is applied to DIS3 and it
level (low, half and full) in the tank. voltage. shows L indicating low level of water
Moreover, a buzzer is used to alert you When the tank is empty, the input in the tank.
of water overflowing from the tank. pins of IC 7404 are pulled high via a Similarly, when water in the tank
The circuit shows the water level by 1-mega-ohm resistor. So it outputs a touches the half level, pins 4 and 5
displaying L, H and F for low, half and low voltage. As water starts filling the of AND gate N8 become high. As a
full, respectively. tank, a low voltage is available at the result, its output also goes high and
The circuit uses five sensors to input pins of the gate and it outputs a DIS2 shows H indicating half level of
sense the different water levels in the high voltage. water in the tank. At this time, pin 9 of
gate N9 also goes low
via gate N4 and DIS3
stops glowing.
When the water
tank becomes full,
the voltage at pin 1
of gate N1 and pin 3
of gate N2 goes low.
Output pin 3 of gate
N7 goes high and
DIS1 shows F indi-
cating that the water
tank is full.
When water starts
overflowing the tank,
pin 13 of gate N6 goes
low to make output
pin 12. The buzzer
sounds to indicate
that water is over-
flowing the tank and
you need to switch off
the motor pump.
Assemble the cir-
cuit on a general-pur-
pose PCB and enclose
tank. Sensor A is connected to the When the water in the tank rises in a suitable box. Use a non-corrosive
negative terminal (GND) of the power to touch the low level, there is a low material such as steel strip for the five
supply. The other four sensors (B voltage at input pin 5 of gate N3 and sensors and hang them in the water tank
through E) are connected to the inputs high output at pin 6. Pin 6 of the gate is as shown in the circuit diagram. Use
of NOT gate IC 7404. When there is connected to pin 10 of gate N9, so pin regulated 5V to power the circuit.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u M ay 2 0 1 0 1 0 1
CIRCUIT
IDEAS

APPLIANCE TIMER-CUM-CLAP SWITCH


 PANKAJ D. CHOUDHURY turn the appliance on or off with
the clap of your hand, if so desired,
IVEDI
S.C. DW

W
hen planning for a week- without having to touch the unit
end outing to return late in physically.
the evening, we are often The transistor-based timer circuit
in an ambivalence whether to leave the uses readily available components, is
staircase/outside light on or off. We easy to assemble as well as inexpen- collector potential is very near to the
sometimes miss our favourite TV sive, and can be programmed to emitter potential, i.e., ground, and
programme because we forget to switch on/off a load from one sec- therefore there is no base current to
switch on the TV in time. If we are in ond to 100 hours in advance. To make transistors T7 through R6. Thus, tran-
the habit of taking an afternoon nap, the circuit cost-effective as well as sistor T7 is in cut-off state. The collec-
we either turn on the mosquito repel- simple to construct, a general-purpose tor of T7 is above ground potential and
lent earlier than required or get up be- digital clock is incorporated as the ba- the current flows through resistors R7
ing bitten by mosquitoes. sic timing device. The alarm output and R13 to maintain the base current
The timer-cum-clap switch pre- of the clock is used to toggle the out- of T6. Thus, T6 remains in conduction
sented here can solve all these prob- put power supply for switching an state and T7 in cut-off state indefi-
lems and many more. It is a simple appliance on or off. nitely.
circuit that can be programmed to turn Transistors T6 and T7 are config- Now, if a voltage pulse is applied
on household appliances like lights, ured as a bistable flip-flop that has two to the base of transistor T7 from some
fans, TV sets, music systems, etc ex- stable states. Transistor T7 will be in external source, a momentary base cur-
actly at a preset time and turn off at cut-off mode corresponding to transis- rent will trigger it into conduction and
another preset time automatically, tor T6 in conduction mode, and vice its collector potential will come down
thereby saving on electricity. You can versa. When transistor T6 conducts, its to near ground potential. Thus, the

WWW.EFYMAG.COM ELECTRONICS FOR YOU NOVEMBER 2006 99


CIRCUIT
IDEAS
current flowing through resistor R13 emitter of T5 and the output changes This simple circuit can be as-
will pass through the collector of T7 over. sembled on a general-purpose PCB.
and there will be no current through When clap switch is not required, The clock, battery, switches, relay,
R7, making T6 go into cut-off state S2 can be turned off. S3 is the reset transformer, etc are wired with the
and thereby raising the collector po- switch (push-to-on type), which is PCB (not shown in the circuit). A plas-
tential of T6 to some positive value. used to toggle the output between tic switchboard (available in electrical
This, in turn, will keep T7 conduct- on and off states. R10-C7 and R8- shops) can be used as the cabinet for
ing. Now the base current of T7 will C6 are parallel paths to R7 and R6 assembling the unit. Holes can be
pass through resistors R14 and R6. for quick switchover of the bistable drilled easily on the plastic cabinet.
This state will sustain until some ex- latch. House the PCB, transformer, relay, etc
ternal voltage is applied to the base Two AA-size batteries supply 3V inside the cabinet. Fix the plug socket,
of T6. DC to the clock and maintain a posi- switches and external connector on the
The external voltage pulse (for tive voltage to the collectors of T6 rear side of the cabinet. Indicator LEDs
switching) is taken from two sources: and T7 through diode D7. This keeps (fixed on LED sockets) on the front
the alarm output of a clock or the the circuit active during power fail- panel show on or off condition of
sound picked up by condenser micro- ures also. A step-down transformer the output plug.
phone M after proper amplification supplies 12V DC to the relay coil and Glue the condenser microphone in-
by transistors T1, T2 and T3. sound amplifier section. Diodes D5 side the front or side wall with small
Since most of the digital clocks and D6 are rectifier diodes and C5 is holes drilled in front of it to receive
give out negative pulses to the buzzer the ripple filter capacitor. Diode D4 external sound. The battery chamber
(whose other end is directly connected prevents the 3V battery from drain- housing two pencil cells can be fixed
to the positive terminal of the bat- ing out into the rest of the circuit. inside the cabinet or on the rear of the
tery), a reverse diode (D8) and a pnp The digital clock is a commonly cabinet as per convenience. The clock
transistor (T10) are used at this stage. available digital calendar with at least is glued on top of the cabinet. Before
The negative pulses are rectified by one alarm setting and one countdown fixing the clock on the cabinet, open it
D8 and filtered by C9 to supply a timer setting. The digital calendar, be- carefully to disconnect its piezoelec-
steady base current of T10. Otherwise, ing cheap, keeps the total cost of the tric buzzer. The terminal that shows
the output will become noisy because project low and allows for precise set- pulsating voltage during an alarm op-
of the pulsating nature of the alarm. tings of the alarm times. The alarm eration (detected with a multimeter)
(If the clock gives out positive pulses, can be set 24 hours in advance, while is connected to the base of T10 through
T10 can be replaced with an npn a second alarm can be selected in the D8 and R19. The internal battery is re-
transistor like BC547. Diode D8 has countdown timer mode, which allows placed and the terminals are connected
to be reversed and R18 has to be con- for setting of the time 100 hours to the external battery chamber with
nected between the base of T10 and (99:59:59 hours to be precise) in ad- proper polarity.
ground.) vance. Availability of more than one The operation of the circuit can be
The external voltage pulse is fed at alarm setting in the clock will give divided into two parts: clap mode and
the common emitter of transistors T4 the added advantage of setting mul- timer mode.
and T5 through capacitor C8. When tiple switching times. The timer can be put in clap mode
the alarm starts (sending negative volt- Instead of the digital calendar, any by turning on the clap switch (S2). The
age pulses), capacitor C9 discharges other digital clock or battery-operated connected appliance can now be
through D8 and, at the same time, quartz clock (with alarm) can also be turned on/off by clapping with an au-
charges through R19, thus triggering used as the basic timing device, dible intensity. The clock timer will
the base current of T10. The emitter though the alarm time setting is less function as usual in this mode.
current of T10 charges capacitor C8, precise in case of the latter. Instead While clapping, leave a gap of a
which passes through the emitter of of one clock, multiple clocks can be few seconds between two successive
either T4 or T5 depending on their wired by connecting diodes parallel claps. Thus, the gadget will show
bias. to D8. better response because it has been
When T6 is conducting, T4 is for- Note that once set in the clock designed to consider two overlapping
ward biased and the voltage pulse is mode, the alarm operates daily at the claps as one, ignoring the second
fed at the base of T7, bringing T7 into same time. But in the countdown one.
conduction and T6 into cut-off mode. mode, it operates only once. So if an For timer mode, switch S2 is turned
This makes T5 forward-biased and T4 appliance is to be turned on and off off. The alarm is set at the time when
reverse-biased. The next voltage pulse, daily at the same time without human switchover is required. The second
either through T10, D1 or D2 corre- intervention, at least two digital clocks switchover time can be set in the
sponding to the clock alarm, clap have to be wired (if the clock does not countdown timer. For that, the time
sound or operation of the reset switch, have two alarm settings apart from the difference between the present time
sends a base current of T6 through the countdown timer). and the time at which switching is re-

100 NOVEMBER 2006 ELECTRONICS FOR YOU WWW.EFYMAG.COM


CIRCUIT
IDEAS
quired is calculated and this time is reset switch S3. off) to allow for the first alarm to
set in the countdown timer. When set- While setting the alarm, ensure a subside completely. Otherwise, the
ting is done, set the output plug as delay of at least three minutes be- unit may malfunction (ignore the
on or off (as desired) by pressing tween two successive alarm times (on/ second alarm). 

WWW.EFYMAG.COM ELECTRONICS FOR YOU NOVEMBER 2006 101


circuit
ideas

WIRELESS SWITCH s.c. dwiv


edi
lated 5V is connected to the circuit, IR
LED1 emits infrared rays, which are
received by phototransistor T1 if it is
Navpreet Singh Tung properly aligned. The collector of T1
is connected to non-inverting pin 3 of

N
ormally, home appliances are IR LED1 is detected by the phototran- IC1. Inverting pin 2 of IC1 is connected
controlled by means of switch- sistor to activate the hidden lock, flush to voltage-divider preset VR1. Using
es, sensors, etc. However, system, hand dryer or else. preset VR1 you can vary the reference
physical contact with switches may be This circuit is very stable and sensi- voltage at pin 2, which also affects sen-
dangerous if there is any shorting. tive compared to other AC appliance sitivity of the phototransistor.
The circuit described here requires control circuits. It is simple, compact Op-amp IC1 amplifies the signal
no physical contact for operating the and cheap. Current consumption is received from the phototransistor.
appliance. You just need to move low in milliamperes. Resistor R3 controls the base current of
your hand between the infrared LED The circuit is built around an IC transistor BC548 (T2). The high output
(IR LED1) and the phototransistor CA3140, IRLED1, phototransistor and of IC1 at pin 6 drives transistor T2 to
(T1). The infrared rays transmitted by other discrete components. When regu- energise relay RL1 and switch on the
appliance, say, hand dryer, through the
relay contacts.
The working of the circuit is simple.
In order to switch on the appliance,
you simply interrupt the infrared rays
falling on the phototransistor through
your hand. During the interruption,
the appliance remains on through the
relay. When you remove your hand
from the infrared beam, the appliance
turns off through the relay.
Assemble the circuit on any gen-
eral-purpose PCB. Identify the resistors
through colour coding or using the
multimeter. Check the polarity and pin
configuration of the IC and mount it
using base. After soldering the circuit,
connect +5V supply to the circuit.

1 0 0 o c to b e r 2 0 0 8 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas

CAR-REVERSING HORN WITH FLASHER


Ashok K. Doctor and D2 goes high for a few seconds
depending on the time period de-

H
edi
s.c. dwiv
ere is a simple circuit that veloped through resistor R4 and
starts playing the car horn capacitor C4. At this point, the asta-
whenever your car is in re- ble multivibrator is enabled to start
verse gear. The circuit (refer Fig. 1) oscillating. The output of the astable reverse switch through two wires
employs dual timer NE556 to generate multivibrator is fed to the speaker such that S1 shorts when the car gear
the sound. One of the timers is wired through capacitor C6. The speaker, is reversed and is open otherwise. To
power the cir-
cuit, use the car
battery.
The flasher
circuit (shown
in Fig. 2) is built
around timer
NE555, which
is wired as an
astable multi-
vibrator that
outputs square
Fig. 2: Flasher circuit wave at its pin
3. A 10W auto
in turn, produces bulb is used for flasher. The flashing
sound until the rate of the bulb is decided by preset
output of the mon- VR1.
Fig. 1: Car reverse horn ostable is high. Assemble the circuit on a general-
When the junc- purpose PCB and enclose in a suitable
as an astable multivibrator to generate tion of diodes D1 and D2 is low, the cabinet. The flasher bulb can be mount-
the tone and the other is wired as a astable multivibrator is disabled to ed at the cars rear side in a reflector or
monostable multivibrator. stop oscillating. The output of the asta- a narrow painted suitable enclosure.
Working of the circuit is simple. ble multivibrator is fed to the speaker EFY note. A higher-wattage bulb
When the car is in reverse gear, re- through capacitor C6. The speaker, in may reduce the intensity of the head-
verse-gear switch S1 of the car gets turn, does not produce sound. light. You can enclose both the car-
shorted and the monostable timer Assemble the circuit on a general- reversing horn and flasher circuits
triggers to give a high output. As purpose PCB and enclose in a suitable together or separately in a cabinet in
a result, the junction of diodes D1 cabinet. Connect the circuit to the car your car.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u O c to b e r 2 0 0 9 9 9
CIRCUIT
IDEAS

SHUTTER GUARD S.C. DW


IVEDI

 D. MOHAN KUMAR to enable reset pin 4 of IC2 so that it


can function freely. Transistor T1 am-

T
his sensitive vibration sensor is plifies the piezo-sensor signal and trig- generates a tone simulating the police
exclusively made for shops to gers monostable IC2. The base of tran- siren with R11 as its oscillation-
protect against burglary. It will sistor T1 is biased using a standard controlling resistor. Zener diode ZD1
detect any mechanical or acoustic vi- piezo element that acts as a small ca- provides stable 3.1V DC for the tone-
bration in its vicinity when somebody pacitor and flexes freely in response generating IC.
tries to break the shutter and immedi- to mechanical vibrations so that the Assemble the circuit on a general-

ately switch on a lamp and sound a output of IC2 is high till the prefixed purpose PCB and enclose in a suit-
warning alarm. A 15-minute time de- time period. able, shockproof case. Connect the
lay after switch-on allows sufficient In the standby mode, the alarm cir- piezo element to the circuit by using
time for the shop owner to close the cuit built around IC3 remains dormant a single-core shielded wire. Glue a
shutter. as it does not get current. Timing com- circular rubber washer on the fine
The front end of the circuit has a ponents R8 and C6 make the output side of the piezo element and fix
timer built around the popular binary of IC2 high for a period of three min- it on the shutter frame with the
counter IC CD4060 (IC1) to provide utes. washer facing the frame so that the
15-minute time delay for the remain- When any mechanical vibration piezo element is flexible to sense
ing circuitry to turn on. Resistors R3 (caused by even a slight movement) the vibrations. Fix the lamp and
and R4 and capacitor C2 will make disturbs the piezo element, trigger pin the speaker on the outer side and
Q9 output high after 15 minutes. Di- 2 of IC2 momentarily changes its state the remaining parts inside the case.
ode D1 inhibits the clock input (pin and the output of IC2 goes high. This Since triac is used in the circuit, most
11) to keep the output high till the triggers triac 1 and the alarm circuit points in the PCB will be at mains
power is switched off. Blinking LED1 activates. Triac BT136 completes the lethal potential. So it is advised not
indicates the oscillation of IC1. lamp circuit by activating its gate to touch any part of the circuit while
The high output from IC1 is used through resistor R9. IC UM3561 (IC4) testing. 

WWW.EFYMAG.COM ELECTRONICS FOR YOU SEPTEMBER 2007 97


circuit
ideas

Transistorised Logic Probe edi


for TTL s.c. dwiv

Raju R. Baddi As shown in Fig. 1, the logic probe


circuit is built around four transis- a voltage divider bias for the supply

A
logic probe is a handheld pen- tors and a few passive components. It voltage. Under this condition, the base-
like probe used for analysing uses two LEDs that show logic states emitter junction of transistor T1 is for-
and troubleshooting the logi- 1 (green) and 0 (red). The green LED ward biased, so the voltage drop across
cal states 0 or 1 of a digital circuit. glows when the voltage at probe tip resistor R5 (>0.6V) is enough to drive
While most logic probes are powered exceeds about 2.4V and the red LED transistor T3 into conduction, which, in
by the circuit under test, some probes glows when this voltage falls below turn, cuts off transistor T4. As a result,
use batteries. These can be used for ei- about 1.2V, which is adequate to detect the red LED (LED2) does not glow. The
ther TTL (transistor-transistor logic) or the normal TTL levels. When no LED current flowing through R3 is nearly
CMOS (complementary metallic oxide glows, it means the probe is in sus- equal to that through R5. However,
semiconductor) integrated circuit de- pended state, i.e., it is neither showing this does not produce enough voltage
vices. The circuit described here can be logic 1, nor logic 0. drop (0.3V-0.6V) across resistor R3 to
used for TTL logic only, and shows the Working of the logic probe circuit make transistor T2 conduct. As a result,
presence of either state (logic 1 or 0). is simple and can be divided into three the green LED (LED1) does not glow.
states: The probe Thus neither of the LEDs glows when
is suspended, the the probe is in suspended condition.
probes tip is at When the probe tip is at logic 1,
logic 1 and the transistor T3 forward biases to cut-off
probes tip is at transistor T4. But, this voltage should
logic 0. exceed 2.4V (normally TTL logic 1 is
When the well above this voltage), this will cause
probe is in sus- a greater current to flow through emit-
pended condi- ter resistor R5 of T1, which also flows
tion, the junction through collector resistor R3 causing
voltage of resis- a larger voltage drop across R3. Thus
tors R1 and R2 transistor T2 conducts and the green
is almost equal LED (LED1) glows to indicate the pres-
to that obtained ence of logic 1 (high) at the probe tip.
when R1 and When the probe tip is at logic 0,
Fig. 1: Circuit of transistorised logic probe R2 alone form transistor T3 cuts off to make transistor

Fig. 2: Proposed arrangement for compact logic probe

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u S e p t e m b e r 2 0 0 9 1 1 9
circuit
ideas
T4 conduct. As a result, the red LED ward-bias T3, resulting in the red LED in Fig. 2. Before checking the logic of
(LED2) glows to indicate logic 0 (low). (LED1) glowing. any circuit, connect the black clip to the
It can be easily seen from the circuit Assemble the circuit on a general- ground of the circuit and the red clip to
diagram that a voltage of more than purpose PCB and insert in a small plas- the positive terminal of the circuit.
1.2 volts is required at the probe tip tic tube, say, a glue stick whose inner The main feature of the circuit is
to forward-bias transistors T1 and T3 mechanism has been removed. For the that when the supply voltage is less
whose base-emitter junctions appear probe tip, use the front portion of a gel- than about 4.0V, the red LED (LED2)
in series in the circuit. Any voltage less pen refill. The proposed arrangement glows to indicate non-standard TTL
than this at the probe tip will not for- for the compact logic probe is shown voltage supply.

1 2 0 S e p t e m b e r 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
CIRCUIT
IDEAS

SMART CELLPHONE HOLDER S.C. DW


IVEDI

T.K. HAREENDRAN holder will stop


flashing to indicate

T
his smart cellphone holder that the mobile
makes sure that you dont phone is not in the
forget to carry your mobile cell holder of the
phone. Fitted in the car, it keeps case. Resistor R1
searching for the mobile phone limits the current
within the holder using infrared flowing through
(IR) rays and alerts you through a IR LED1 and resis-
flashing LED when it doesnt find one. tor R6 limits the
You can attach the circuit to your ex- operating current
isting cellphone holder or, with a little and hence lumi-
skill, construct one as per your require- nance of LED2.
ment. Variable resistor
The circuit, wired around IC VR1 determines
LM555 (IC1), derives power from the the detection sen-
12V DC automobile battery. Diode D1 sitivity of
is an accidental wrong-polarity input phototransistor T1.
guard. Resistor R7 limits the inrush The blinking rate
current to IC1. Fig. 1: Circuit of smart cellphone holder of LED2 can be
When power is applied to the cir- changed by
cuit, the low-frequency astable from IR LED1 changing the
multivibrator built around IC1 is acti- fall on value of ca-
vated and LED2 at its output pin 3 phototransistor pacitor C1 (or
flashes briefly. T1 and it con- R3-R4 resistor
When ignition switch S2 is flipped ducts to pull combination).
to on position, the +12V DC from the the base of P i n
cars battery disables the astable LED driver configurations
multivibrator via diode D2 and LED2 Fig. 2: Pin configurations transistor T2 Fig. 3: Proposed of BC547 and
turns off. of BC547 and 2N5777 t o w a r d s cellphone holder phototransistor
When the ignition is turned off and ground to dis- 2 N 5 7 7 7 ,
the mobile phone is in its holder, LED2 able the visual indicator (LED2). and the proposed cellphone
again starts blinking. In case the If youve forgotten to carry your holder are shown in Figs 2 and 3, re-
cellphone holder is empty, IR rays cellphone, LED2 fitted in the cellphone spectively. z

94 JULY 2005 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
CIRCUIT IDEAS

MOSFET-BASED PREAMPLIFIER SAN


I TH
EO

FOR FM RADIO DXing


N.S. HARISANKAR,VU3NSH borrowed from amateur radio operators. much higher gainapproaching that of a
It means distance unknown; D stands vacuum tube. These are classified into

F
M transmissions can be received for distance and X stands for unknown. junction FETs and MOSFETs. On compar-
within a range of 40 km. If you are For an FM receiver lacking gain, or hav- ing the FETs with a vacuum tube, the gate
in fringe areas, you may get a very ing a poor signal-to-noise ratio, using an implies the grid, the source implies the
weak signal. FM DXing refers to hearing external preamplifier improves the signal cathode, and the drain implies the plate.
distant stations (1500 km or more) on the level. In a transistor, the base implies the grid,
FM band (88-108 MHz). The term DX is The dual-gate MOSFET preamplifier cir- the emitter implies the source, and the
collector implies the drain.
In dual-gate FETs, gate 1 is the signal
gate and gate 2 is the control gate. The
gates are effectively in series, making it
easy to control the dynamic range of the
device by varying the bias on gate 2.
The MOSFET is more flexible because
it can be controlled by a positive or nega-
tive voltage at gate 2. The resistance be-
tween the gate and rest of the device is
extremely high because these are separated
by a thin dielectric layer. Thus the MOSFET
has an extremely high input impedance.
Dual-gate MOSFETs (DG MOSFETs) are
very popular among radio amateurs. These
are being used in IF amplifiers, mixers,
and preamplifiers in HF-VHF transceivers.
The isolation between the gates (G1 and
G2) is relatively high in mixer applications.
This reduces oscillator pulling and radia-
tion. The oscillator pulling is troublesome
particularly in shortwave communications.
It is a characteristic in many unsophisti-
cated frequency-changer stages, where the
incoming signal, if large, pulls the oscilla-
tor frequency slightly off the frequency set
Fig. 1: Circuit of MOSFET-based preamplifier for FM DXing by the tuning knob and towards a fre-
quency favourable to the (large) incoming
cuit shown in signal. A DG MOSFET can also be used
Fig. 1 gives for automatic gain control in RF amplifi-
an excellent ers.
gain of about DG MOSFET BF966S is an n-channel
18 dB. It depletion-type MOSFET that is used for
costs less and general-purpose FM and VHF applications.
is simple to In this configuration, it is used for FM
design. radio band. The quadratic input character-
Field-ef- istic of the FET input stage gives better
fect transis- results than the exponential characteristic
tors (FETs) of a bipolar transistor.
are superior Gate 1 is meant for input and gate 2 is
to bipolar for gain control. The input from the an-
transistors in tenna is fed to gate G1 via C1 and L1.
many appli- Trimmer VC1 is used to tune and select
cations as the input frequencies. Capacitor C4 (100
Fig. 2: Different antennae used for FM DXing these have a kpF) at the gain control electrode (gate 2)

NOVEMBER 2003 ELECTRONICS FOR YOU


CIRCUIT IDEAS

decouples any variation in G2 volt-


Coil & Capacitor Details for DXing of Various Frequency Bands
age at radio frequencies to main-
tain constant gain. Set preset VR 10m band 6m band 3m band 2m band
(47k) to adjust the gain or connect (28 MHz) (50 MHz) (98 MHz) (144 MHz)
a fixed resistor for fixed gain. The amateur radio amateur radio FM radio FM radio
output of the circuit is obtained via
L1 core 17T, 28 SWG 12T, 26 SWG 7T, 5mm dia., 5T, 20SWG,
capacitor C5 and fed to the FM re-
Amindoncore OnT-37-10,Tap 20SWG -inch ID, -inch L
ceiver amplifier.
(T-50-6), Tap at 5T from GND Aircore, 1cm Length, Tap 2 from GND
For indoor use, connect a -
at 6T from GND Tap 3T from GND
wavelength whip antenna, -wave-
L2 core 17T, 28 SWG 12T, 26 SWG 8T, close winding, 4T, 20 SWG,
length 1.5m wire antenna, or any
Amindoncore On T-37-10, 5mm dia. Air-core, No tap
other indoor antenna set-up with
T-50-6, without tap No tap
this circuit. You may use a 9V
Without tap
battery without the transformer and
VC1 & VC2 60 pF 22 pF 22 pF 15 pF
diode 1N4007, or any 6V-12V power
supply to power the circuit (refer
Fig. 1). The RF output can be taken on page 72 of Electronics Projects Vol. 8.) strong signal overloading. It produces less
directly through capacitor C5. For an im- Mount the DG MOSFET BF966S at the cross-modulation than a conventional tran-
proved input and output impedance, solder side of the PCB to keep parasitic sistor having negative temperature coeffi-
change C1 from 1 kpF to 22 pF and C5 capacitance as small as possible. Use an cient, doesnt succumb to thermal run-
from 1 kpF to 100 kpF. epoxy PCB. After soldering, clean the PCB away at high frequencies, and decreases
For outdoor use at top mast, like a TV with isopropyl alcohol. Use a suitable noise. In VHF and UHF, the MOSFET
booster, connect the C5 output to the enclosure for the circuit. All component produces less noise and is comparable
power supply unit (PSU) line. Use RG58U/ leads must be small. Avoid shambled wir- with JFETs. DG FETs reduce the feedback
RG11 or RG174 cable for feeding the power ing to prevent poor gain or self oscilla- capacitance as well as the noise power
supply to the receiver amplifier. The PSU tions. Connecting a single-element cubical coupled to the gate from the channel,
for the circuit is the same as that of a TV quad antenna to the circuit results in giving stable unneutralised power gain for
booster. For TV boosters, two types of Open Sesam for DXing. wide-band applications.
mountings are employed: The fixed tuned You can use a folded dipole or any This circuit can be used for other
booster is mounted on the mast of the other antenna. However, an excellent per- frequency bands by changing the input
antenna. The tunable booster consisting formance is obtained with a cubical quad and the output LC networks. The table
of the PSU is placed near the TV set for antenna (refer Fig. 2) and Sangean ATS- here gives details of the network compo-
gain control of various TV channels. (For 803 world-band receiver. nents for DXing of stations at various
details, refer High-Gain 4-Stage TV Booster In an amplifier, FET is immune to frequency bands.

ELECTRONICS FOR YOU NOVEMBER 2003


CIRCUIT IDEAS

I
VED
DWI
FIRE ALARM USING THERMISTOR S.C.

PRINCE PHILLIPS

I
n this fire alarm circuit, a thermistor
works as the heat sensor. When tem-
perature increases, its resistance de-
creases, and vice versa. At normal tem-
perature, the resistance of the thermistor
(TH1) is approximately 10 kilo-ohms,
which reduces to a few ohms as the tem-
perature increases beyond 100C. The cir-
cuit uses readily available components and
can be easily constructed on any general-
purpose PCB.
Timer IC NE555 (IC1) is wired as an
astable multivibrator oscillating in audio
frequency band. Switching transistors T1
and T2 drive multivibrator NE555 (IC1).
The output of IC1 is connected to npn and increases the on time of alarm. The discharging of capacitor C1 when the ther-
transistor T3, which drives the loudspeaker higher the value of capacitor C1, the higher mistor connected to the positive supply
(LS1) to generate sound. The frequency the forward voltage applied to the base of cools down and provides a high-resistance
of IC1 depends on the values of resistors transistor T1 (BC548). (10-kilo-ohm) path. It also stops the con-
R5 and R6 and capacitor C2. Since the collector of transistor T1 is duction of T1. To prevent the thermistor
When thermistor TH1 becomes hot, it connected to the base of transistor T2, from melting, wrap it up in mica tape.
provides a low-resistance path to extend transistor T2 provides positive voltage to The circuit works off a 6V-12V regu-
positive voltage to the base of transistor reset pin 4 of IC1 (NE555). Resistor R4 is lated power supply. LED1 is used to indi-
T1 via diode D1 and resistor R2. Capaci- used such that IC1 remains inactive in the cate that power to the circuit is switched
tor C1 charges up to the positive voltage absence of positive voltage. Diode D1 stops on.

ELECTRONICS FOR YOU NOVEMBER 2004


CIRCUIT IDEAS

ANTI-THEFT ALARM FOR BIKES S.C.


DWI
VED
I

PRAVEEN KUMAR M.P. module TSOP 1738 (IRX1), which is nor- of the mobikes horn, while the positive
mally used in TV receivers. The receiver terminal of the horn is connected to the

I
f anybody tries to steal your bike, this module senses the IR modulated frequency positive terminal of the battery via resistor
circuit turns on the horn of the bike to transmitted by the IR LED. R1. The energised relay drives the horn,
alert you of the impending theft. When no IR rays are incident on the which continues sounding until you press
Usually, a handle lock is used on the sensor, its output is high. But the output of reset switch S2 momentarily.
handle bar for the safety of bikes, with the IR sensor goes low when it senses the At night, lock your bike using the
the front mudguard in a slanted position. modulated IR signal. The output of the handle lock and switch on the circuit us-

When the handle lock is freed, the front receiver module is given to a negative- ing switch S1. Since the IR transmitter (IR
mudguard can be aligned with the body voltage comparator built around IC LM311 LED1) and the receiver (IRX1) will not be
of the bike. (IC3). The input voltage at pin 2 of IC3 is in line of sight, IR rays from IR LED1 will
This circuit consists of transmitter and fixed by using the voltage-divider network not be incident on the sensor. When any-
receiver sections. The transmitter (IR comprising resistors R7 and R8. one tries to move the bike away, the IR
LED1) is fitted on the back end of the When IR rays are not incident on the IR transmitter and the IR receiver will come
front mudguard and the receiver sensor receiver module, the voltage at pin 3 of IC3 in line of sight and the IR rays from the
(IRX1) is fitted on the central portion of is greater than the voltage at pin 2. As a IR transmitter will be incident on the re-
the crash guard of the bike such that IR result, the output of comparator IC3 is low. ceiver. This will make the output of the
rays from the transmitter directly fall on But when the receiver senses IR rays from comparator (IC3) high. The pulse from the
the sensor when the front mudguard IR LED1, the voltage at pin 3 of IC3 is lower comparator will make the output of latch
comes in line with the body of the bike. than the voltage at pin 2. As a result, the IC4 high and transistor T2 will conduct to
The transmitter section is built around output of the comparator goes high. sound the horn via relay RL1.
timer 555 (IC2), which is wired as an astable The output of the comparator is given Note. The circuit excluding the trans-
multivibrator with a frequency of around to a latch made up of JK flip-flop (IC4). The mitter and the receiver can be housed in
38 kHz. The output of IC2 is further ampli- low-to-high going pulse from the compara- a small metal box and kept inside the tool
fied by transistor T1 and given to an infra- tor makes the output of IC4 high until it is box of the bike.
red light-emitting diode (IR LED1), which reset. The output of IC4 is latched and used Before you start your bike, make
continuously transmits the IR frequency. to energise relay RL1 via transistor T2. The sure that the circuit is switched off using
The receiver section uses IR receiver relay is connected to the negative terminal switch S1.

OCTOBER 2004 ELECTRONICS FOR YOU


CIRCUIT IDEAS

DIGITAL STOP WATCH S.C.


DWI
VED
I

C.H. VITHALANI push-on-switch S3. When S2 is momen- Thus, when switch S3 is pressed, reset
tarily pressed, the count value becomes pin 13 of IC2 is connected to ground

H
eres a digital stop watch built 0, transistor T1 conducts and it resets via transistor T1 and the oscillator does
around timer IC LM555 and 4-digit IC1. Counting starts when S2 is in off not generate clock pulses. This is done
counter IC with multiplexed 7-seg- condition. to achieve synchronisation between IC1
ment output drivers (MM74C926). A low signal on the latch-enable input and IC2.
IC MM74C926 consists of a 4-digit pin 5 (LE) of IC2 latches the number in First, reset the circuit so that the dis-
counter, an internal output latch, npn the counter into the internal output latches. play shows 0000. Now open switch S2
output sourcing drivers for common- When switch S2 is pressed, pin 5 goes for the stop watch to start counting the
cathode, 7-segment display and an low and hence the count value gets stored time. If you want to stop the clock, close

internal multiplexing circuitry with four in the latch. Display-select pin 6 (DS) de- switch S2.
multiplexing outputs. The multiplexing cir- cides whether the number on the counter Rotary switch S1 is used to select the
cuit has its own free running oscillator, or the number stored in the latch is to be different time periods at the output of the
and requires no external clock. The displayed. If pin 6 is low the number in astable multivibrator (IC1). The circuit
counter advances on negative edge of the output latch is displayed, and if pin 6 works off a 5V power supply. It can be
the clock. The clock is generated by timer is high the number in the counter is dis- easily assembled on a general-purpose
IC LM555 (IC1) and applied to pin 12 played. PCB. Enclose the circuit in a metal box
of IC2. When switch S2 is pressed, the with provisions for four 7-segment dis-
A high signal on reset pin 13 of base of pnp transistor T2 is connected to plays, rotary switch S1, start/stop switch
IC2 resets the counter to zero. Reset pin ground and it starts conducting. The emit- S2 and reset switch S3 in the front panel
13 is connected to +5V through reset ter of T2 is connected to DS pin of IC2. of the box.

JULY 2004 ELECTRONICS FOR YOU


CIRCUIT
IDEAS

FULLY AUTOMATIC EMERGENCY LIGHT


 DR C.H. VITHALANI built around 3-terminal adjustable
regulator LM317. IVEDI
S.C. DW

T
his simple automatic emer- In the inverter section, NE555 is
gency light has the following wired as an astable multivibrator that
advantages over conventional produces a 15kHz squarewave. Out-
emergency lights: put pin 3 of IC 555 is connected to the
1. The charging circuit stops auto- Darlington pair formed by transistors minals of each side of the tubelight
matically when the battery is fully SL100 (T1) and 2N3055 (T2) via resis- and then connect to the secondary of
charged. So you can leave the emer- tor R4. The Darlington pair drives fer- X1. (You can also use a Darlington pair
gency light connected to AC mains rite transformer X1 to light up the of transistors BC547 and 2N6292 for a
overnight without any fear. tubelight. 6W tubelight with the same trans-
2. Emergency light automatically For fabricating inverter transformer former.)
turns on when mains fails. So you X1, use two EE ferrite cores (of When mains power is available, re-
dont need a torch to locate it. 25138mm size each) along with plas- set pin 4 of IC 555 is grounded via
3. When mains power is available, tic former. Wind 10 turns of 22 SWG transistor T4. Thus, IC1 (NE555) does
emergency light automatically turns on primary and 500 turns of 34 SWG not produce squarewave and emer-
off. wire on secondary using some insula- gency light turns off in the presence
The circuit can be divided into in- tion between the primary and second- of mains supply.
verter and charger sections. The in- ary. When mains fails, transistor T4
verter section is built around timer To connect the tubelight to ferrite does not conduct and reset pin 4 gets
NE555, while the charger section is transformer X1, first short both ter- positive supply though resistor R3. IC1
(NE555) starts producing square
wave and tubelight turns on via
ferrite transformer X1.
In the charger section, input
AC mains is stepped down by
transformer X2 to deliver 9V-0-
9V AC at 500 mA. Diodes D1
and D2 rectify the output of the
transformer. Capacitors C3 and
C4 act as filters to eliminate
ripples. The unregulated DC
voltage is fed to IC LM317 (IC2).
By adjusting preset VR1, the
output voltage can be adjusted
to deliver the charging voltage.
When the battery gets
charged above 6.8V, zener diode
ZD1 conducts and regulator IC2
stops delivering the charging
voltage.
Assemble the circuit on a
general-purpose PCB and en-
close in a cabinet with enough
space for the battery and
switches. Connect a 230V AC
power plug to feed charging
voltage to the battery and
make a 20W tube outlet in the
cabinet to switch on the
tubelight. 

100 FEBRUARY 2007 ELECTRONICS FOR YOU WWW.EFYMAG.COM


circuit
ideas

Automated Alarm Circuits s.c. dwiv


edi

Pallabi Sarkar and Normally, when the door is closed,


Anirban Sengupta reed switch S1 is closed, transistor T1
conducts and the monostable multivi- When the door is opened, reed

T
wo alarm circuits are presented brator (IC1) remains in standby mode switch S1 gets disconnected, T1 stops
here. One produces bird-chirp- with low output at pin 10. conducting and low-to-high pulse at pin
ing sound and the other British
police siren tone.
Fig. 1 shows the circuit of the bird-
chirping-sound alarm unit along with
the circuit of the control unit. Fig. 2
shows the circuit of only the British
police siren tone generator, which has
to be integrated with the control circuit
portion of Fig. 1 at points A and B to
complete the circuit diagram of auto-
mated alarm.
The control unit is built around ICs
CD4047 and CD4027 (as shown on the
left side of the dotted line in Fig. 1). As
mentioned earlier, it is common to both
the alarm circuits. IC CD4047 (IC1)
is wired in positive-edge-triggering
monostable multivibrator mode to set
and reset IC CD4027 (IC2). The output
pulse width of IC1 depends on the
values of capacitor C2 and resistor R3
connected to its pins 1, 2 and 3. Fig. 2: Alarm circuit that generates police siren tone

Fig. 1: Alarm circuit that generates bird-chirping sound

9 6 F e b r ua ry 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
8 of IC1 triggers the monostable and a T2 (BC548), which enables the alarm ing sound.
short-duration positive pulse of about circuit. For the chirping-sound alarm gen-
10 seconds is available as Q output at The output at point A is used to erator, assemble the circuit shown in
pin 10. At the same time, complementary enable the alarm tone generator circuit Fig. 1 on a separate general-purpose
output Q goes low at pin 11. The output (on the right side of the dotted line) PCB and enclose in a small box. And if
from IC1 is used to set and reset IC2. consisting of two 555 timer ICs marked you want an alarm circuit with British
IC2 is a low-power, dual J-K mas- as IC3 and IC4. The R-C network de- police siren tone, assemble the circuit
ter/slave flip-flop having independ- termines the frequency of the sound shown in Fig. 2 on another general-
ent J, K, set, reset and clock inputs. produced. The triangular waveform purpose PCB and connect it to points
The flip-flops change states on the of the astable multivibrator is taken A and B of the control unit shown in
positive-going transition of the clock out from the junction of pins 2 and Fig. 1 after removing the circuit on the
pulses. IC2 is wired such that its Q 6 of IC3. This waveform is fed as the right side of the dotted line. Use a 9V,
output turns high when reset pin 4 control voltage at pin 5 of IC4 through 500mA standard adaptor to power the
receives a high pulse. When set pin 7 resistor R18. The output received from circuit.
receives a high pulse, Q output goes pin 3 of IC4 is fed to the base of transis- This circuit may be used as a secu-
low and Q output goes high. This tor T3 to drive an 8-ohm loudspeaker rity alarm in banks, households and
lights up LED2 and drives transistor (LS1), which generates the bird-chirp- motorcars.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u F e b r ua ry 2 0 0 9 9 7
CIRCUIT
IDEAS

FLYING SAUCER

IVEDI
S.C. DW

 ASHOK K. DOCTOR

T
his unidentified flying object
(UFO) is nothing but an elec-
tronic toy depicting the fantacy.
It comprises three separate sections,
viz, rim flasher, dome flasher and
sound generator.
The rim flasher is a simple sequen-
tial circuit built around timer IC 555
Fig. 1: Rim flasher
(IC1) and decade counter IC CD4017
(IC2) as shown in Fig. 1. IC1 is wired
as an astable multivibrator whose out-
put is fed to clock pin 14 of decade
counter IC2. All the eight outputs of
IC2 are connected with two LEDs each.
These 16 LEDs (LED1 through LED16)
are arranged round the rim of a fly-
ing-saucer-like toy. The colour of LEDs
used may be yellow, pink orange or
even white to give a good colour ef-
fect.
The dome flasher circuit is built
around a 14-stage ripple-carry binary
counter and oscillator IC CD4060 (IC3)
as shown in Fig. 2. Three outputs are
used here. Three groups of LEDs with
six LEDs in each are arranged such that
each group flashes at a different rate.
Preset VR1 (47-kilo-ohm) is used to
Fig. 2: Dome flasher
vary the flash cycle.
These 18 LEDs (LED17 through
LED34) are arranged around the grove
(disk) of a general-purpose PCB or
veroboard, which is covered by a
transparent dome. Use different-
coloured LEDs for each group to cre-
ate the required light effect. Red, blue,
yellow or green LEDs will create a nice
effect. If a transparent dome is not pos-
sible, drill holes around the top to fix
the LEDs.
The sound generator is built
around two 555 timers, two transis-
tors and some discrete components as
shown in Fig. 3. Timer IC5 is config- Fig. 3: Sound generator

WWW.EFYMAG.COM ELECTRONICS FOR YOU JULY 2007 95


CIRCUIT
IDEAS
ameter each. Make sure
that bowls have rims to
facilitate fixing of LEDs
with small screws. For
fixing the LEDs, refer to
Fig. 4. Assemble the rim
flasher, dome flasher
and sound generator cir-
cuits on separate gen-
eral-purpose PCBs and
mount these on the deep
bowls along with batter-
Fig. 5: Assemble unit of unidentify bird
ies and speaker. PCB1,
pin 5 of timer IC4. The rectangu- PCB2 and PCB3 are for rim flasher,
Fig. 4: Fittings of LEDs on rim
lar-wave output at pin 3 of timer dome flasher and sound generator, re-
ured as an astable multivibrator. The IC5 is fed to transistor BC548 (T1) to spectively.
charge-discharge cycle of capacitor C8 operate timer IC4, which is also an The assembled flying
(47F) generates a sawtooth waveform asymmetrical multivibrator. If a 75- saucer is shown in Fig. 5. When you
which rises rapidly but falls slowly. ohm-impedance speaker is available, switch on the circuit, rim LEDs and
This waveform is fed to the base of there is no need to use resistor R16 (68 dome LEDs flash, and at the same
transistor T2 (BC327), which is an emit- ohms). time, a sound is generated. This gives
ter follower. Its output is used to con- For assembling the circuit, use two the simulated effect of an unidentified
trol frequency modulation. It is fed to deep, plastic bowls of about 20 cm di- flying object. 

96 JULY 2007 ELECTRONICS FOR YOU WWW.EFYMAG.COM


circuit
ideas

Portable Lamp Flasher edi


s.c. dwiv
T.K. Hareendran T1 and T2. One of the two transistors
is always conducting, while the other

H
ere is a portable, high-power is blocking. Due to regular charging
incandescent electric lamp and discharging of capacitors C1 and capacitors C1 and C2.
flasher. It is basically a dual C2, the two transistors alternate be- The oscillator circuit built around
flasher (alternating blinker) that can tween conduction and non-conduction transistors T1 and T2 generates low fre-
handle two separate 230V AC loads states. quencies. When transistor T3 conducts,
(bulbs L1 and L2). The collector of transistor T1 is con- IC1 is enabled to fire Triac1 and bulb
The circuit is fully transistorised nected to the base of driver transistor L1 glows. Similarly, when transistor T4
and battery-powered. The free-run- T4 through current-limiting resistor conducts, IC2 is enabled to fire Triac2
ning oscillator circuit is realised using R5. Similarly, the collector of transistor and bulb L2 glows.
two low-power, low-noise transistors T2 is connected to the base of driver Connect the power supply line (L)
of mains to bulbs L1 and
L2, and neutral (N) to T1
terminals of Triac1 and
Triac2. You can also con-
nect neutral (N) line of
the external 230V mains
supply to both loads
(bulbs L1 and L2) as a
common line and then
route supply line (L) to
respective loads (bulbs
L1 and L2).
The circuit works off
only 3 volts. Since current
consumption is fairly low,
two AA-type cells are
Fig. 1: Circuit for portable lamp flasher
sufficient to power the cir-
cuit. Assemble the circuit
transistor T3 through limiting on a general-purpose PCB and enclose in
resistor R6. These transistors a suitable plastic cabinet with integrated
are used to trigger Triac1 and AA-size pen-light cell holder. Drill holes
Triac2 (each BT136) through for mounting the on/off switch and
optotriacs IC1 and IC2, re- power switching terminals. Also connect
spectively, and switch on the two bulb holders for bulbs L1 and L2.
power supply to external loads Refer Fig. 2 for pin configurations.
L1 and L2. IC1 and IC2 operate EFY note. While assembling, test-
Fig. 2: Pin configurations of MOC3021, BT136 and alternatively at a low frequency ing or repairing, take care to avoid the
BC550/547
determined by the values of lethal electric shock.

9 2 j u n e 2 0 0 8 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas

Car Anti-theft Guard s.c. dwiv


edi

T.K. Hareendran tor R1, which prevents transistor T1


from conducting. In this position, anti-

H
ere is an easy-to-build car theft guard cir-
anti-theft guard. The circuit, cuit is in sleep
shown in Fig. 1, is simple and mode.
easy to understand. When key-oper- W h e n
ated switch S2 of the car is turned on, someone opens
12V DC supply from the car battery is the car door,
extended to the entire circuit through switch S1 be-
polarity-guard diode D5. Blinking comes off as
LED1 flashes to indicate that the guard shown in Fig.
circuit is enabled. It works off 12V 2. As a result,
power supply along with current-limit- transistor T1
ing resistor R4 in series. conducts to fire
When the car door is closed, door r e l a y - d r i v e r Fig. 2: Wiring diagram for door switch (S1)
switch S1 is in on position and 12V SCR1 (BT169)
power supply is available across resis- after a short delay introduced by ca- pacitor C1. Electromagnetic relay RL1
energises and its N/O
contact connects the
power supply to pi-
ezobuzzer PZ1, which
starts sounding to in-
dicate that someone
is trying to steal your
car. To reset the circuit,
turn off switch S2 using
car key. This will cut-
off the power supply to
the circuit and stop the
buzzer sound.
Assemble the cir-
cuit on a general-pur-
pose PCB and house
in a small box. Con-
nect switch S1 to the
car door and keep pi-
ezobuzzer PZ1 at an
appropriate place in
Fig. 1: Circuit of car anti-theft guard the car.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u M ay 2 0 0 8 7 5
CIRCUIT
IDEAS
DICE WITH 7-SEGMENT DISPLAY
 EFY LAB CD4026, pin 14 (cascading output) is
to be left unused (open), but in case of IVEDI
S.C. DW

A
digital dice circuit can be eas- CD4033, pin 14 serves as lamp test pin
ily realised using an astable and the same is to be grounded.
oscillator circuit followed by The circuit uses only a handful of
a counter, display driver and a dis- components. Its power consumption is
play. also quite low because of use of CMOS astable oscillator configured around
Here we have used a timer NE555 ICs, and hence it is well suited for bat- IC1 as well as capacitor C1 (through
as an astable oscillator with a fre- tery operation. In this circuit two tac- resistor R1), which charges to the bat-
quency of about 100 Hz. Decade tile switches S1 and S2 have been pro- tery voltage. Thus even after switch
counter IC CD4026 or CD4033 (which- vided. While switch S2 is used for ini- S1 is released, the astable circuit
ever available) can be used as counter- tial resetting of the display to 0, de- around IC1 keeps producing the clock
cum-display driver. When using pression of S1 simulates throwing of until capacitor C1 discharges suffi-
ciently. Thus for du-
ration of depression
of switch S1 and dis-
charge of capacitor
C1 thereafter, clock
pulses are produced
by IC1 and applied to
clock pin 1 of counter
IC2, whose count ad-
vances at a frequency
of 100 Hz until C1
discharges suffi-
ciently to deactivate
IC1.
When the oscilla-
tions from IC1 stop,
the last (random)
count in counter IC2
can be viewed on the
7-segment display.
This count would
normally lie between
0 and 6, since at the
leading edge of every
the dice by a player. 7th clock pulse, the counter is reset to
Decoded Segment Outputs When battery is con- zero. This is achieved as follows.
for Counts 0 through 9 nected to the circuit, the Observe the behavior of b seg-
counter and display section ment output in the Table. On reset, at
around IC2 (CD4026/4033) count 0 until count 4, the segment b
is energised and the display output is high. At count 5 it changes
would normally show 0, as to low level and remains so during
no clock input is available. count 6. However, at start of count 7,
Should the display show the output goes from low to high state.
any other decimal digit, you A differentiated sharp high pulse
may press re-set switch S2 through C-R combination of C4-R5 is
so that display shows 0. To applied to reset pin 15 of IC2 to reset
simulate throwing of dice, the output to 0 for a fraction of a
the player has to press pulse period (which is not visible on
switch S1, briefly. This ex- the 7-segment display). Thus, if the
tends the supply to the clock stops at seventh count, the dis-

WWW.EFYMAG.COM ELECTRONICS FOR YOU NOVEMBER 2007 97


CIRCUIT
IDEAS
play will read zero. There is a prob- other chance until the display is non- the counter by 1, the same makes the
ability of one chance in seven that dis- zero. circuit somewhat complex and there-
play would show 0. In such a situa- Note. Although it is quite feasible fore such a modification has not been
tion, the concerned player is given an- to inhibit display of 0 and advance attempted. 

98 NOVEMBER 2007 ELECTRONICS FOR YOU WWW.EFYMAG.COM


circuit
ideas

Night Alert s.c. dwivedi


capacitor C3 are timing components.
When fully charged, capacitor C3 takes
about two minutes to discharge.
D. Mohan Kumar So when sound is produced in front
of the condenser mic, triac1 (BT136)

I
dea of this circuit came to me at Transistor T1 along with transistor fires and the bulb (B1) glows for about
midnight when my pet dog started T2 amplifies the sound signals and two minutes.
barking continuously on sensing provides current pulses from the col- Assemble the circuit on a general-
a moving shadow, perhaps that of an lector of T2. purpose PCB and enclose in a plastic
intruder. Dogs have a night adaptation The input trigger pulse is applied cabinet. Power to the circuit can be
capability to maximise the sensitivity to the collector of transistor T3 and derived from a 12V, 500mA step-down
of vision in low light. They are well coupled by capacitor C3 to the base of transformer with rectifier and smooth-
adapted to see moving objects rather transistor T4 causing T4 to cut off. The ing capacitor. Solder the triac ensuring
sufficient spacing
between the pins
to avoid short
circuit. Fix the
unit in the dogs
cage, with the
lamp inside or
outside as de-
sired. Connect
the microphone
to the circuit us-
ing a short length
of shielded wire.
Enclose the mi-
crophone in a
tube to increase
than stationary ones in darkness. collector voltage of transistor T4 for- its sensitivity.
This circuit turns a lamp on for ward biases transistor T3 via resistor Caution. Since the circuit uses
a short duration when the dog barks, R8. Transistor T1 conducts and capaci- 230V AC, many of its points are at AC
giving an impression that the occu- tor C3 discharges to keep transistor T4 mains voltage. It could give you le-
pants have been alerted. cut-off. Transistor T4 remains cut-off thal shock if you are not careful. So if
The condenser microphone fitted until capacitor C3 charges enough to you dont know much about working
in the dogs cage senses barking sound enable it to conduct. with line voltages, do not attempt to
and generates AC signals, which pass When transistor T4 conducts, its col- construct this circuit. EFY will not be
through DC blocking capacitor C1 lector voltage goes low to drive transis- responsible for any kind of resulting
to the base of transistor BC549 (T1). tor T3 into cut-off state. Resistor R9 and loss or damage.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u N o v e m b e r 2 0 0 8 8 5
CIRCUIT
IDEAS

REMOTE-CONTROLLED S.C. DW
IVEDI

POWER-OFF SWITCH
DEBARAJ KEOT accessories, including the circuit itself, base of transistor T2 are high, relay
from mains using the remote for the RL1 energises. The relay de-energises

R
emote controllers for various audio or video systems. if both the inputs to transistor T2 go
audio/video systems are usu- The circuit consists of a timer IC low.
ally provided with a power NE555, a decade counter IC HCF4017, Initially, to switch on mains sup-
on/off or standby-mode selector three BC548 transistors, an infrared ply for the audio/video system and
button. But turning the system off (IR) sensor IC TSOP1738 and a few dis- the circuit itself, pushbutton switch S1
from the remote handset actually does crete components. Transformer X1, di- is pressed momentarily.
not cut off the whole system from odes D1 and D2, and capacitor C1 form Normally, the output of IR receiver
mains. Some circuitry inside the sys- power supply for the circuit. Zener di- module IC3 is high when it is not be-
tem continues to get power from mains ode ZD1 provides regulated voltage ing activated by a remote, and the re-
even when the power is turned off us- to IR sensor TSOP1738 (IC3). lay energises to close the N/O contact
ing the remote handset. One needs to Timer IC NE555 (IC1) is configured and place a short across switch S1. This
turn off the mechanical switch pro- as an astable multivibrator that pro- circuit and the load continue to get
vided on the systems front panel or duces a clock pulse every two seconds. power through the N/O contact of re-
wall outlet in order to turn off the en- The clock pulse is fed to decade lay RL1 even when pushbutton S1 is
tire system. counter IC HCF4017 (IC2), whose Q7 released.
Also, accessories like TV boosters, output is inverted by transistor T1 and At the same time, the output of IC2
stabilisers and additional ampli- applied to the base of transistor T2 to starts scrolling around its output pins,
speaker systems cannot be turned off drive the relay. i.e., pins 5 and 6 go high and low al-
from the remote handset. And it is very The output of sensor IC3 is used ternately for the clock pulses received.
annoying to get out of bed to switch to drive transistor T3 and activate the When Q6 output goes high the warn-
off mains after watching some relay via transistor T2. ing LED (yellow) glows, and when Q7
programme on TV or listening to mu- The outputs of transistors T1 and output goes high the off LED (red)
sic. T3 are ORed and the resultant is ap- glows.
The circuit given here can discon- plied to transistor T2. Thus if any one Yellow LED (LED1) indicates that
nect the entire system along with the or both the inputs connected to the its time to switch off the audio or

104 OCTOBER 2005 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
CIRCUIT
IDEAS
video system. the remote handset is pressed, the sen- the load connected across the
The entire system can be turned off sor output goes low for a while. Since transformers primary winding.
by pressing any key on the handset both the inputs connected to the base Any normal operation (increasing/
once when the red LED (LED2) is of transistor T2 become low at this decreasing volume, changing channels,
glowing. The reason is that red LED2 time, the transistor stops conducting etc) can be performed when either both
glows when the Q7 output of IC2 is and the relay de-energises. As a re- the LEDs are off or the remote is not
high. Due to this, the output of tran- sult, the N/O contact of the relay oriented towards IR receiver module
sistor T1 is low. Now if any key on opens to switch off the circuit and IC3. z

WWW.EFYMAG.COM ELECTRONICS FOR YOU OCTOBER 2005 105

CMYK
CIRCUIT
IDEAS

LAPTOP PROTECTOR S.C. DW


IVEDI

 D. MOHAN KUMAR age through a water-activated tilt fectively shorts the contacts, so the out-
switch only when the probes in the put of IC1 remains low. The alarm gen-

P
rotect your valuable laptop tilt switch make contact with water. erator remains silent in the standby
against theft using this minia- When the tilt switch is kept in the hori- mode as trigger pin 5 of IC2 is low.
ture alarm generator. Fixed in- zontal position, the inverting input of When someone tries to take the
side the laptop case, it will sound a IC1 gets a higher voltage than its non- laptop case, the unit takes the vertical
loud alarm when someone tries to take inverting input and the output remains position and the tilt switch breaks the
the laptop. This highly sensitive cir- low. electrical contact between the probes.
cuit uses a homemade tilt switch to IC CD4538 (IC2) is used as a Immediately the output of IC1 be-
activate the alarm through tilting of monostable with timing elements R5 comes high and monostable IC2 is trig-
the laptop case. and C1. With the shown values, the gered. The low output from IC2 trig-
The circuit uses readily available output of IC2 remains low for a pe- gers the pnp transistor (T1) and the
components and can be assembled on riod of three minutes. CD4538 is a pre- buzzer starts beeping.
a small piece of Vero board or a gen- cision monostable multivibrator free Assemble the circuit as compactly
eral-purpose PCB. It is powered by a from false triggering and is more reli- as possible so as to make the unit
12V miniature battery used in remote able than the popular timer IC 555. Its matchbox size. Make the tilt switch us-
control devices. output becomes high when power is ing a small (2.5cm long and 1cm wide)
IC TLO71 (IC1) is used as a volt- switched on and it becomes low when plastic bottle with two stainless pins
age comparator with a potential di- the trigger input (pin 5) gets a low-to- as contacts. Fill two-third of the bottle
vider comprising R2 and R3 provid- high transition pulse. with water such that the contacts never
ing half supply voltage at the non-in- The unit is fixed inside the laptop make electrical path when the tilt
verting input (pin 3) of IC1. The in- case in horizontal position. In this po- switch is in vertical position. Make the
verting input receives a higher volt- sition, water inside the tilt switch ef- bottle leakproof with adhesive or wax.
Fix the tilt switch
inside the enclo-
sure of the circuit
in horizontal posi-
tion. Fit the unit in-
side the laptop
case in horizontal
position using ad-
hesive.
Use a minia-
ture buzzer and a
micro switch (S1)
to make the gadget
compact. Keep the
laptop case in hori-
zontal position and
switch on the unit.
Your laptop is now
protected. 

122 OCTOBER 2007 ELECTRONICS FOR YOU WWW.EFYMAG.COM


circuit
ideas

Short-Circuit Protection in
DC Low-Voltage Systems s.c. dwiv
edi

Pratik Panchal

M
any a times you need to cuit. Here is a circuit to derive the addi- Working of the circuit is simple. When
power an adjoining acces- tional power supply from the main cir- the 5V DC output from regulator IC
sory circuit from the power cuit. The main circuit is protected from 7805 is available, transistor BC547
supply used in the main module cir- any damage due to short-circuit in the conducts through resistors R1 and R3
additional power supply and LED1. As a result, transistor SK100
circuit by cutting off the conducts and short-circuit protected 5V
derived supply voltage. DC output appears across O/P2 termi-
The derived supply volt- nals. The green LED (LED2) glows to
age restores automatically indicate the same, while the red LED
when shorting is removed. (LED1) remains off due to the presence
An LED is used to indicate of the same voltage at both of its ends.
whether short-circuit exists When O/P2 terminals short, BC547
or not. Authors prototype cuts off due to grounding of its base.
of short-circuit protection As a result, SK100 is also cut-off. Thus
module is shown in Fig. 1. during short-circuit, the green LED
In the main power sup- (LED2) turns off and the red LED
Fig. 1: Prototype of short-circuit protection in DC low-voltage
ply circuit, 230V AC is (LED1) glows. Capacitors C2 and C3
systems stepped down by trans- across the main 5V output (O/P1) ab-
former X1 (230V sorb the voltage fluctuations occurring
AC primary to due to short-circuit in O/P2, ensuring
0-9V, 300mA disturbance-free O/P1. The design of
secondary), rec- the circuit is based on the relationship
tified by a full- given below:
wave rectifier RB = (HFE X Vs)/(1.3 X IL)
comprising di- where,
odes D1 through RB = Base resistances of transistors
D4, filtered by of SK100 and BC547
capacitor C1 HFE = 200 for SK100 and 350 for
and regulated BC547
by IC 7805 to Switching Voltage Vs = 5V
give regulated 1.3 = Safety factor
5V (O/P1). IL = Collector-emitter current of
Transis- transistors
tors SK100 and Assemble the circuit on a gen-
BC547 are used eral-purpose PCB and enclose in a
to derive the suitable cabinet. Connect O/P1 and
secondary out- O/P2 terminals on the front panel of
put of around the cabinet. Also connect the mains
5V (O/P2) from power cord to feed 230V AC to the
the main 5V transformer. Connect LED1 and LED2
Fig. 2: Circuit diagram of short-circuit protection supply (O/P1). for visual indication.

1 0 0 O c to b e r 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
CIRCUIT
IDEAS

DESKTOP POWER SUPPLY S.C. DW


IVEDI

 T.K. HAREENDRAN top power supply.


Regulator IC LM317T tive load is

U
seful for electronics hobbyists, is arranged in its stan- connected at
this linear workbench power dard application. Di- the output.
supply converts a high input ode D1 guards against Similarly, ca-
voltage (12V) from the SMPS of a PC polarity reversal and pacitor C3 sup-
into low output voltage (1.25 to 9 capacitor C1 is an ad- presses any re-
volts). An adjustable three-pin voltage ditional buffer. The sidual ripple.
regulator chip LM317T (IC1) is used green LED (LED1) in- Connect a Fig. 3: Suggested power
here to provide the required voltages. Fig. 2: Pin dicates the status of the
configuration of standard digi- supply box
The LM317T regulator, in TO-220 pack, LM317 power input. Diode D2 tal voltmeter in
can handle current of up to 1 amp in prevents the output parallel with the output leads to accu-
practice. voltage from rising above the input rately set the desired voltage with the
Fig. 1 shows the circuit of the desk- voltage when a capacitive or induc- help of variable resistor VR1. You can
also use your digital multimeter
if the digital voltmeter is not
available. Switch on S1 and set
the required voltage through
preset VR1 and read it on the
digital voltmeter. Now the
power supply is ready for use.
The circuit can be wired on
a common PCB. Refer Fig. 2 for
pin configuration of LM317 be-
fore soldering it on the PCB. Af-
ter fabrication, enclose the cir-
cuit in a metallic cover as
shown in Fig. 3. Then open the
cabinet of your PC and connect
the input line of the gadget to a
free (hanging) four-pin drive
power connector of the SMPS
Fig. 1: Circuit of desktop power supply carefully. 

98 SEPTEMBER 2007 ELECTRONICS FOR YOU WWW.EFYMAG.COM


circuit
ideas

ELECTRIC WINDOW/FENCE CHARGER


T.K. HAREENDRAN
tors R2 and R3, preset VR1 and capaci-
edi
tor C3. The amplitude of the output s.c. dwiv

H
ere is the circuit of a simple pulse can be varied to some extent by
electric window charger. adjusting variable resistor VR1. You
With a couple of minor circuit can vary the frequency from 100 Hz
variations, it can be used as an electric to 150 Hz. drives pnp transistor T1 into conduc-
fence charger too. A standard 12V, 7Ah X1 is a small, iron-core, step-down tion for the duration of the time period.
sealed maintenance-free (SMF) UPS transformer (230V AC primary to 12V, The collector of T1 is connected to the
battery is required for powering the 1A secondary) that must be reverse base of driver transistor T2 through re-
entire unit. connected, i.e., the secondary winding sistor R5. When transistor T1 conducts,
Any component layout and mount- terminals of the transformer should T2 also conducts. When T2 conducts, a
ing plan can be used. However, be connected between the emitter and high-current pulse flows through the
try to keep the output terminals of ground and the output taken across the secondary winding of transformer X1
transformer X1 away from the circuit primary winding. Switch S1 is used for to generate a very high-voltage pulse
board. Timer NE555 (IC1) is wired as power on/off and LED1 works as a at the primary winding.
a free-running oscillator with narrow power-on indicator. LED2 is used to This dangerously high voltage
negative pulse at the output pin 3. The indicate the pulse activity. can be used to charge the window
pulse frequency is determined by resis- The output pulse from pin 3 of IC1 rails/fences. Ordinary silicon diode
D1 (1N4001) protects
T2 against high-voltage
peaks generated by X1
inductance during the
switching time.
You can replace
X1 with another trans-
former rating, and, if
necessary, replace T2
with another higher-
capacity transistor. The
circuit can be used to
charge a 1km fence
with some minor mod-
ifications in the output
section.
Caution. Take all
the relevant electri-
cal safety precautions
when assembling, test-
ing and using this high-
voltage generator.

1 1 0 S e p t e m b e r 2 0 0 8 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas

Electric Guitar Preamplifier sani the


o

T.K. HAREENDRAN up attached to a guitar headstock is


shown in Fig. 1. The pickup device has

H
ere is the circuit of a guitar a transducer on one end and a jack on secure optimal input impedance. With
preamplifier that would ac- the other end. The jack can be plugged the component values shown here, the
cept any standard guitar into a preamplifier circuit and then to input impedance is above 50 kilo-ohms
a power amplifier system. and the peak output voltage is about
The pickup device captures me- 2V RMS. Master-level-control potmeter
chanical vibrations, usually from VR1 should be adjusted for minimal
stringed instruments such as guitar distortion.
pickup or violin, and converts them into an The input from guitar pickup is fed
electrical signal, which can then be to this preamplifier at J1 terminal. The
amplified by an audio amplifier. It signal is buffered and processed by the
is most often mounted on the body op-amp circuit wired around IC TL071
jack
of the instrument, but can also be at- (IC1). Set the gain using preset VR2.
Headstock tached to the bridge, neck, pickguard The circuit has a master and a slave
or headstock. control. RCA socket J2 is the master
Fig. 1: A typical example of mounting the guitar The first part of this preamplifier signal output socket and socket J3 is
pickup
circuit shown in Fig. 2 is a single-tran- the slave.
It is much better to take
the signal from J2 as the input
to the power amplifier sys-
tem or sound mixer. Output
signals from J3 can be used to
drive a standard headphone
amplifier. Using potmeter
VR3, set the slave output sig-
nal level at J3.
House the circuit in a
metallic case. VR1 and VR3
should preferably be the types
with metal enclosures. To
prevent hum, ground the case
and the enclosures. A well-
regulated 9V DC power supply
Fig. 2: Guitar preamplifier circuit
is crucial for this circuit. How-
ever, a standard 9V alkaline
pickup. It is also versatile in that it has sistor common-emitter amplifier with manganese battery can also be used to
two signal outputs. degenerative feedback in the emitter power the circuit. Switch S1 is a power-
A typical example of using a pick- and a boot-strapped bias divider to on/off switch.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u s e p t e m b e r 2 0 1 0 1 1 7
CIRCUIT IDEAS

HIT SWITCH SAN


I THE
O
Initially, the input of gate N1 is low,
while the input of gate N2 is high. Trig-
gering the voltage-control switch by hit-
ting the sensor pulls the input of gate N1
T.A. BABU amplified by transistor BC547 (T1). The to high level and causes the bistable to
combination of transistor T1 and the bridge toggle. The capacitor gets charged via re-

T
his versatile hit switch is the elec- rectifier comprising diodes D1 through D4 sistor R1 and the circuit changes its state.
tronic equivalent of a conventional acts as a voltage-control switch. The in- This latch continues until the bistable
switch. It can be used to control verter gates of IC CD4069 (IC1) together switch gets the next triggering input.
the switching of a variety of electronic with associated components form a Every time the hit plate receives a hit,
devices. bistable switch. the voltage-control switch triggers the
The circuit of the hit switch uses a IC CD4069 is a CMOS hex inverter. bistable circuit. That means every subse-
piezoelectric diaphragm (piezobuzzer) as Out of the six available inverter gates, only quent hit at the sensor will toggle the state
the hit sensor. A piezoelectric material de- three are used here. IC1 operates at any of the switch. The red LED (LED1) con-
velops electric polarisation when strained voltage between 3V and 15V and offers a nected at the output of gate N3 indicates
on/off position of
the switch. Relay
RL1 is activated by
the hit switch to con-
trol the connected
load.
The circuit works
off 12V DC. It can be
constructed on any
general-purpose PCB.
For the desired re-
sults, proper connec-
tions and installation
of the hit sensor are
necessary. Remove
the cover of the
by an applied stress. The hit sensor makes high immunity against noise. The recom- piezobuzzer and connect its two leads to
use of this property. mended operating temperature range for the circuit. Mount the plate such that it
When you hit or knock the piezo ele- this IC is 55C to 125C. This device is receives the hit properly. The piezoelectric
ment (hit plate) with your fingertip, a small intended for all general-purpose inverter material on the plate can easily get dam-
voltage developed by the piezo element is applications. aged, so hit the switch gently.

ELECTRONICS FOR YOU DECEMBER 2004


CIRCUIT IDEAS

ELECTRONIC WATCHDOG S.C.


DWI
VED
I

TAPAN KUMAR MAHARANA The circuit comprises


a transmitter unit and

H
eres an electronic watchdog for a receiver unit, which
your house that sounds to inform are mounted face to
you that somebody is at the gate. face on the opposite

Fig. 4: Mounting arrangement for transmitter and receiver units

pillars of the gate such that the IR


beam gets interrupted when someone
is standing at the gate or passing
through it.
The transmitter circuit (see Fig. 1)
is built around timer NE555 (IC1),
which is wired as an astable
Fig. 1: 38kHz IR transmitter circuit Fig. 3: Pin configurations of multivibrator producing a frequency of
TSOP1738 and UM66 about 38 kHz. The infrared (IR) beam
is transmitted through IR LED1.
The receiver circuit is
shown in Fig. 2. It comprises
IR sensor TSOP1738 (IR RX1),
npn transistor BC548 (T1),
timer NE555 (IC2) and some
resistors and capacitors. IC2 is
wired as a monostable
multivibrator with a time pe-
riod of around 30 seconds. The
melody generator section is
built around melody generator
IC UM66 (IC3), transistor T2
and loudspeaker LS1. Fig. 3
shows pin configurations of IR
sensor TSOP1738 and melody
generator IC UM66.
Fig. 2: Receiver circuit The power supply for the

transmitter is derived from the receiver and trigger pin 2 of IC2 remains high. Fig. 4 shows mounting arrangement
circuit by connecting its points A and B When anyone interrupts the IR beam for both the transmitter and receiver units
to the respective points of the receiver falling on the sensor, its output goes high on the gate pillars. To achieve a high di-
circuit. The receiver is powered by regu- to drive transistor T1 into conduction and rectivity of the IR beam towards the sen-
lated 6V DC. For the purpose, you can pin 2 of IC2 goes low momentarily. As a sor, use a reflector behind the IR LED.
use a 6V battery. result, IC2 gets triggered and its pin 3 After both the units have been built,
The transmitter and receiver units are goes high to supply 3.3V to melody gen- connect 6V power supply to the receiver
aligned such that the IR beam falls di- erator IC3 at its pin 2, which produces a circuit. You should hear a continuous
rectly on the IR sensor. As long as IR sweet melody through the speaker fitted melody from the speaker. Now connect
beam falls on the sensor, its output re- inside the house. Output pin 3 of IC2 6V power to the transmitter also and
mains low, transistor T1 does not conduct remains high for around 30 seconds. orient IR LED1 towards IR receiver. The

NOVEMBER 2004 ELECTRONICS FOR YOU


CIRCUIT IDEAS

melody should stop after about 30 sec- door, the IR beam is interrupted and the Using preset VR1, you can set the volume
onds. Now the transmitter and the re- alarm sounds for 30 seconds. The alarm of the loudspeaker.
ceiver units are ready for use. keeps sounding as long as one stands This circuit can also be used as a door-
When somebody enters through the between the transmitter and receiver units. bell or burglar alarm.

ELECTRONICS FOR YOU NOVEMBER 2004


CIRCUIT IDEAS

SOLIDSTATE REMOTE CONTROL SWITCH SAN


I TH
EO

SEEMANT SINGH from the transmitter, the


output of the IR receiver

H
ere is a solidstate remote control module is high (approx.
switch which uses readily available 5V).
electronic components. The control When the transmitter
circuit comprises the transmitter and re- is pointed at the receiver
ceiver sections. The range of the transmit- and switch S1 is momen-
ter is around seven metres. tarily pressed, the trans-
The transmitter circuit (shown in Fig. mitted IR rays are sensed
1) is built around a timer IC (555) wired by the receiver module
as an astable multivibrator. It works off a and its output pulses low
9V battery. When remote control switch to trigger the monostable
S1 is pressed, the astable multivibrator (IC2). The output of IC2
built around IC1 starts oscillating at a fre- goes high for about five
quency of about 38 kHz. The signal fre- seconds. Thus, even if
quency at output pin 3 of IC1 is transmit- Fig. 1: Transmitter circuit you press the remote

Fig. 2: Receiver circuit

ted through two infrared diodes (IR LED1 consists of regulator IC 7806 (IC4), IR re- switch more than one time by mistake,
and IR LED2). A green LED (LED1) con- ceiver module (TSOP1738), timer 555 there wont be any change in the output
nected to pin 3 glows whenever S1 is (IC2) and decade counter CD4017 (IC3). of the receiver within this period and hence
pressed, indicating the presence of a sig- Timer 555 (IC2) is wired as a monostable no undesired switching of the appliance.
nal for transmission at the output of the multivibrator. The signal reception is indicated by glow-
multivibrator. The 9V DC power supply for the re- ing of the green LED (LED3).
The output frequency F at pin 3 of IC1 ceiver circuit is regulated by regulator IC The output of IC2 is given to the clock
depends on the timing components, viz, 7806. The presence of power in the circuit is input (pin 14) of IC3. Here, IC3 is wired as
resistors R1 and R2 and capacitor C2. It is indicated by glowing of the red LED (LED2). a bistable circuit. For every clock input,
given by the following relationship: The IR receiver module (TSOP1738), pins 2 and 3 of IC3 alternately go high.
F = 1.443/(R1+2R2)C2 which gets 5.1V power supply through ze- Initially, when the power to the re-
This frequency is fed to npn transis- ner diode ZD1, receives the transmitted ceiver circuit is switched on, pin 3 of IC3
tors T1 and T2 (each BC547) through re- signal of about 38 kHz. The signal is am- is high and therefore the yellow LED
sistor R4 (470-ohm) to drive the IR LEDs. plified by transistor BC558 (T3) and given (LED4) connected to it glows. The glow-
Resistor R5 limits the current flowing to triggering pin 2 of IC2 through cou- ing of LED4 indicates that the appliance is
through the IR LEDs. pling capacitor C6. in off condition.
The receiver circuit (shown in Fig. 2) Initially, when no signal is received When a clock pulse is received at pin 14

SEPTEMBER 2004 ELECTRONICS FOR YOU


CIRCUIT IDEAS

of IC3, pin 3 goes low to turn off LED4, while turn, controls the appliance. AC mains. Also, make sure that the neutral
pin 2 becomes high. The high output at pin Precautions. Dont touch the leads of point of mains is connected to the ground
2 triggers the gate of triac BT136, which, in the triac as it is connected across the 230V line of the circuit and not vice versa.

ELECTRONICS FOR YOU SEPTEMBER 2004


CIRCUIT
IDEAS

INFRARED FIRECRACKER IGNITER S.C. DW


IVEDI

 PRADEEP VASUDEVA with the remote control.


In the figure shown here, normally

F
irecrackers are normally ignited the output of IC1 is low and green activates relay RL1 and red LED3
by using a matchstick or a LED2 is on and the red LED3 off. glows and green LED2 turns off. On
candle. You have to run away This indicates that the circuit is state of red LED3 indicates that the
quickly after igniting the fuse of the ready for use. When any key on the firecracker is about to burst.
firecracker. This method of igniting remote control is pressed, output pin R7 is a small part of the element of
an electric heater (220V,
1000W), which is kept away
from the electronic circuit
and connected to the relay
contacts through a thick
electric cable. The resistance
value of short length of the
heater element (R7) is 3 to
3.5 ohms. A current of
around 4 amperes flows
through it when connected
to a 12V battery. Flow of 4A
current through R7 for 3.5
seconds makes it red hot,
which ignites the fire-
cracker.
The circuit is powered
by a 12V, 7AH battery. IC2
provides about 9V for the
operation of the circuit. The
firecracker is unsafe, because the dan- 3 of IRX1 (IR receiver module circuit should be housed in a metallic
ger of the firecracker bursting before TSOP1738) goes low. This output is cabinet to prevent it from being dam-
you reach a safe distance is always connected to pin 2 of IC1 via LED1 aged by bursting of the firecracker. The
there. and resistor R4 to trigger the IR receiver and the two LEDs should
The device described here uses re- monostable operation of IC1. be fixed on the front panel of the cabi-
mote control, usually used with TV re- The output of IC1 remains high for net.
ceivers or CD players, to burst the fire- a period equal to 1.1R2C2. With the Wiring and relay used in the cir-
cracker. Thus the firecracker can be ig- values of the components given in the cuit should be chosen such that they
nited from a safe distance using the circuit diagram here, the period works are able to carry more than 5 amperes
circuit described below in conjunction out to 3.5 seconds approximately. This of current. 

WWW.EFYMAG.COM ELECTRONICS FOR YOU AUGUST 2007 97


CIRCUIT
IDEAS

VERSATILE WATER-LEVEL S.C. DW


IVEDI

CONTROLLER
A. SHAFEEK AHAMED trodes are suspended into the tank When water rises to the overflow
such that they dont touch each other. level L2 and touches electrode E3,

T
his simple, economical and ver- Points B, L and U of the water-level point U (pin 2 of IC2) is connected to
satile circuit switches on the controller circuit are connected to the already sunken ground electrode E2,
motor pump when water in the respective points of the sensor elec- thereby triggering it. IC2 resets to give
overhead tank falls below the lowest trodes assembly. a high output at pin 3. This is inverted
level and turns it off when the tank When water in the tank is below by transistor T1 to cut off transistor
is full. Moreover, if the pump is run- the lowest level L1, all the electrodes T2 and de-energise relay RL1. The mo-
ning dry due to low voltage, it sounds are electrically separated and hence tor pump now stops to prevent water
an alarm to alert you to switch off the points L and U (pins 6 and 2 of IC2, overflow.
controller circuit (and hence the mo- respectively) are pulled up to the sup- As water is consumed, the water

Fig. 1: Circuit of water-level controller

tor pump) to avoid coil burn and ply voltage through resistors R2 and level comes down leaving electrode E3
power wastage. R3, respectively. Therefore, to reset IC2 isolated from ground electrode E2.
The water-level controller circuit the output of IC2 at pin 3 goes low. Now point U (pin 2 of IC2) is pulled
(see Fig. 1) is built around IC 555 (IC2) As a result, transistor T1 stops con- up to the supply voltage. This does
to monitor the water level in the over- ducting to drive transistor T2 and re- not change the output state of IC2 and
head tank and on/off status of the lay RL1 energises. The motor pump the motor remains switched off.
motor through the inverter and driver now starts running to fill the tank with When water level again falls be-
circuits. The transistor switch circuitry water. Freewheeling diode D5 prevents low electrode E2, IC2 resets to cut off
monitors the flow of water and raises chattering of the relay due to the back transistor T1. Transistor T2 conducts
an alarm if the pump runs dry. emf produced by the relay coil. to energise relay RL1 and the motor is
Power supply is obtained through When the water level rises to powered to run. This is how the pro-
step-down transformer X1, diodes D1 bridge the electrodes, because of the cess continues. LED1 glows whenever
through D4, capacitor C1, series current- conductivity of water, pin 6 (E1) is the relay energises, indicating that the
limiting resistor R1, regulator IC1, and pulled down to ground (E2). This does motor pump is running.
noise-filtering capacitors C2 and C3. not alter the output state of IC2, which As the values of resistors R2 and R3
The set-up for the water-level sens- maintains its previous state, and the are very high, corrosion of electrodes is
ing electrodes is shown in Fig. 2. Elec- motor keeps running. very little. Capacitors C2 through C7

WWW.EFYMAG.COM ELECTRONICS FOR YOU DECEMBER 2005 95

CMYK
CIRCUIT
IDEAS
filter out unwanted noise. Switches S2 energised relay in-
and S3 can be used to manually switch dicates on status
on and off the motor pump, respec- of the motor.
tively, when water is in between the 3. Immerse
upper and lower levels. Switch S1 is Fig. 3: Dry pump
points A and B in
used to disable the unit during dry sensor set-up water. The buzzer
pump run or while flushing the tank. stops sounding to
For the sensor electrodes, use a indicate that water is flowing out of
moulded-type AC chord (used for tape the pipe to short points A and B. This
recorders) with its pair of wires sleeved confirms no dry run.
at the end and connected together to 4. Immerse points B and L in water,
form the electrode. Other electrodes can Fig. 2: Water-level electrodes set-up for over-
as would be the case when the
be made similarly. These three AC head tank water level rises. Momentarily touch
chords are suspended inside the tank point U to water. LED1 goes off
from a longitudinally cut PVC pipe sound an alarm indicating dry running and the relay de-energises to turn
(used for electrical wiring). of the pump. the pump off. This would be the
The arrangement for the dry pump The alarm circuit is enabled only case when water touches the overflow
sensor is shown in Fig. 3. A moulded- when transistor T2 conducts, i.e., only limit.
type AC chord with its pair of wires when the motor pump runs. Diode D6 5. Remove points A and B from
sleeved at the end can be attached firmly isolates the relay driver circuitry to water assuming that the flowing wa-
to the delivery pipe such that water prevent transistor T3 from extending ter that was shorting points A and B
falls onto the plug leads. The sleeved ground to the relay through transistor has stopped. Now, although water is
ends are connected to points A and B of T3 and water being delivered. As soon not flowing, the buzzer does not sound
the water-level controller circuit. as the pump is switched on, the alarm as the relay is already de-energised.
The circuit for dry-run alarm com- sounds until water reaches the deliv- 6. Remove points U and B from
prises transistors T3 and T4, ery port. water, assuming that water has fallen
piezobuzzer PZ1, resistors R6 and R7, House the controller circuit (in- below the lowest limit because of con-
and capacitor C7. When points A and cluding the power supply) in a cabi- sumption. Two seconds later, LED1
B of the dry-running sensor (see Fig. net. Use a four-core shielded cable for glows and the relay energises.
3) are bridged by water being deliv- wiring the tank electrodes to the con- Precautions. 1. Make sure that wa-
ered by the pipe, transistor T3 con- troller unit fixed near the motor switch. ter being delivered from the water pipe
ducts to drive transistor T4 into cut- To test the circuit, proceed as fol- doesnt touch any of the suspended
off state and therefore the DC buzzer lows: water-level sensors.
remains silent. 1. Switch on power to the circuit. 2. Mount the alarm sensor firmly
When the pump runs dry, points 2. LED1 glows and relay RL1 onto the water pipe such that elec-
A and B are electrically apart causing energises to produce an alarm from trodes A and B are shorted by water
transistor T3 to cut off because of pull- piezobuzzer PZ1, indicating that none flowing out of the pipe.
up resistor R6. Transistor T4 conducts of the circuit points A, B, U and L is 3. Use a properly shielded cable to
due to the emitter drop of transistor shorted through water (i.e., water in carry signals from the tank to the wa-
T3, which activates the DC buzzer to the tank is below the lowest limit). The ter-level controller unit. z

96 DECEMBER 2005 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
CIRCUIT
IDEAS
counter.
The anode of the SCR is connected

SAFETY GUARD SUNIL K


UMAR to +9V and the cathode is connected
to the relay coil. The other pin of the
relay coil is connected to the negative
supply, while its contacts are used for
A. RAMESH BABU a 14-bit binary ripple counter. Here switching on the appliances.
the clock oscillations are governed Whenever power to the appliances

P
rotect your home appliances by resistor R1 and capacitor C1. In is switched on or resumes after mains
from voltage spikes with this this circuit, only two outputs of the failure, the oscillator starts oscillat-
simple time delay circuit. IC (Q5 and Q14) have been used. Q5 ing and LED1 blinks. This continues
At the heart of the circuit is IC is connected to an LED (LED1) and for three minutes. After that, Q14 out-
CD4060, which consists of two in- Q14 is used to trigger the gate of the put of IC CD4060 goes high to trig-
verter gates for clock generation and SCR through D4 as well as reset the ger the gate of the SCR through D4.
At this moment,
the voltage is
available at the
cathode of the
SCR, which
energises the relay
coil to activate the
appliance and
LED2 glows.
Switch S1 is used
for quick start
without waiting
for delay. z

WWW.EFYMAG.COM ELECTRONICS FOR YOU JUNE 2005 91

CMYK
circuit
ideas

Electronic Dice Using AT89C2051


Debdoot Sheet
counter variable, which, on being inter-

T
o
his simple circuit demonstrates rupted by an external trigger, latches sani the
the capability of an AT89C2051 the counter value and displays a ran-
microcontrol- dom number through its output ports.
ler chip to function This method is similar to the one used
as a random number in PCs or calculators for generating ran-
generator based on dom numbers at any instance. and uses an 18MHz crystal to generate
the flying counter The application of this dice is the clock (refer Fig. 2). Switch S1 con-
principle. The pro- Fig. 1: Suggested similar to the one used in a game of nected at pin 1 is used as a reset switch.
gram in the chip con- LED arrangement dice. The random numbers generated Interrupt occurs at pin 6 of IC1 on logic
for electronic dice
stantly updates the display are not displayed numerically, but 0. Switch S2 connected to pin 6 (INT0)
represented by of IC1 is used to trigger an external in-
the number of terrupt to make pin 6 low. It is used as
glowing LEDs. input to generate the random number.
The LEDs are The random number is indicated by
the dot repre- glowing of the LEDs (LED1 through
sentation on the LED7) connected to port pins P1.2-P1.7
face of a dice. and P3.7.
Suggested LED TL0 and TH0 act as free-wheeling
arrangement for counters in auto-increment mode and
the electronic constantly count up from the initial
dice display is value. When the interrupt occurs, the
shown in Fig. 1. value from the counter is latched and
The use of glowing LEDs indicate the random
IC AT89C2051 number generated by the microcontrol-
(IC1) module ler chip. Assembly language is used for
in the design is programming the chip. The Assembly
quite simple. It code listing is self-explanatory.
operates off 3- EFY note. The source code is in-
Fig. 2: Circuit for electronic dice using AT89C2051 5.5V DC supply cluded in this months EFY-CD and

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u J u n e 2 0 1 0 1 0 5
circuit
ideas

Smart Hearing Aid sani the


o

Devrishi Khanna and which is used as a comparator. The


Rohit Modi reference voltage (Vref) at the non-
inverting terminal (pin 3) of IC1(A) signal received from the mic is fed to

N
ormally, hearing aid circuits is set using preset VR1. The preset is the non-inverting pin of the second
consume battery power also used to control the sensitivity of op-amp of IC1(B) which is wired in
continuously once they are the sound signals received by the cir- unity follower configuration. The unity
switched on. The circuit given here cuit. The output from pin 1 of IC1(A) follower mode resolves the problem
saves battery power by switching is fed to the trigger input (pin 2) of of impedance mismatch which would
on the sound amplifier section only timer NE555, which is configured in have occured if the output of the mic

when sound is detected. The sensi- monostable mode. is fed directly to amplifier stage. The
tivity of the detection section and the When sufficient sound signal output from pin 7 of IC1(B) is fed to the
on time duration of the sound am- strength is detected at the base of tran- base of transistor T2. The weak signal
plifier circuit can be set by the user. sistor T1, the pulsating voltage at its received at transistor stage T2 is further
Also the circuit uses only a single collector exceeds the reference voltage amplified by transistors T3, T4 and T5.
condenser mic for sound detection at pin 3. As a result, output pin 1 of An earphone to listen to the sound is
and amplification. IC1(A) goes low. The low output from connected between the collector of T5
As is clear from the above, this IC1(A) triggers the NE555 timer and its and ground. It is recommended to use
hearing aid consists of a condenser output goes high for a preset duration. a mono earphone with volume control
microphone, earphone, and sound R4 and C2 are the timing components attached.
detection and amplification sections. for setting the time duration. The high With 9V DC supply, when sound is
The sound detection section employs output of the timer is directly used as detected through the mic, the amplifier
a quad op-amp IC LM324 (IC1(A)) and the power source for the sound ampli- section is automatically triggered and
a timer NE555 (IC2). The sound signal fier section. the current consumption of the circuit
received at the mic is pre-amplified The sound amplifier section is built is about 96 mA. When the amplifier cir-
by transistor BC549 (T1). The voltage around transistors T2 through T5. The cuit is off, the circuit draws a current
at its collector is fed to the inverting last amplifier stage T5 (pnp transistor of about 6 mA only, thus saving con-
terminal (pin 2) of op-amp IC1(A), BC558) drives the earphone. The sound siderable amount of battery power.

8 8 M a r c h 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas

Four-Stage FM Transmitter s.c. dwiv


edi

Pradeep G. the pre-driver stage. You can also use


transistor 2N5109 in place of 2N2219.

T
his FM transmitter circuit uses The preamplifier is a tuned class-A RF frequency generated. You can also use
four radio frequency stages: amplifier and the driver is a class-C a 12V battery to power the circuit.
a VHF oscillator built around amplifier. Signals are finally fed to the Assemble the circuit on a general-
transistor BF494 (T1), a preamplifier class-C RF power amplifier, which de- purpose PCB. Install the antenna prop-

built around transistor BF200 (T2), a livers RF power to a 50-ohm horizontal erly for maximum range.
driver built around transistor 2N2219 dipole or ground plane antenna. Coils L1 through L5 are made with
(T3) and a power amplifier built Use a heat-sink with transistor 20 SWG copper-enamelled wire wound
around transistor 2N3866 (T4). A con- 2N3866 for heat dissipation. Carefully over air-cores having 8mm diameter.
denser microphone is connected at the adjust trimmer VC1 connected across They have 4, 6, 6, 5 and 7 turns of wire,
input of the oscillator. L1 to generate frequency within 88- respectively.
Working of the circuit is simple. 108 MHz. Also adjust trimmers VC2 EFY note. This transmitter is meant
When you speak near the microphone, through VC7 to get maximum output only for educational purposes. use of
frequency-modulated signals are at maximum range. this transmitter with outdoor antenna
obtained at the collector of oscillator Regulator IC 78C09 provides stable is illegal in most parts of the world. The
transistor T1. The FM signals are am- 9V supply to the oscillator, so variation author and EFY will not be responsible
plified by the VHF preamplifier and in the supply voltage will not affect the for any misuse of this transmitter.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u M a r c h 2 0 1 0 1 0 3
circuit
ideas

ELECTRONIC BICYCLE LOCK


T.K. Hareendran J2 are two standard RCA sockets. A
edi
home-made security loop can be used s.c. dwiv

T
he electronic bicycle lock de- to link these two input points. Around
scribed here is a worthwhile 50cm long, standard 14/36 flexible
alternative for bicycle own- wire with one RCA plug per end is

Fig. 3: Lock fitted on the bicycle

tone generator UM3561 (IC1). IC1


Fig. 1: Circuit of electronic bicycle lock remains enabled until power to the
circuit is turned off using switch S1
ers who want enough for the security loop. or the loop is re-plugged through J1
to make their Fig. 1 shows the circuit of the and J2.
bicycles intelli- electronic bicycle lock. It is powered Assemble the circuit on a general-
gent at reason- by a compact 9V battery (6F22). purpose PCB and house in a small tin-
able cost. One Key lock switch S1 and smoothing plate enclosure. Fit the system key lock
of the benefits capacitor C2 are used for connect- switch (S1) on the front side of the en-
of building it ing the power supply. A connected closure as shown in Fig. 2. Place RCA
yourself is that loop cannot activate IC1 and there- sockets (J1 and J2) at appropriate posi-
Fig. 2: Lock box the circuit can fore the speaker does not sound. tions. Now, mount the finished unit in
be used for vir- When the loop is broken, zener diode place of your existing lock (as shown
tually any make of bicycles. ZD1 (3.1V) receives operating power in Fig. 3) by using suitable clamps and
In the circuit, input jacks J1 and supply through resistor R2 to enable screws.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u M ay 2 0 0 9 8 5
CIRCUIT
IDEAS

SENSITIVE VIBRATION
DETECTOR
IVEDI
S.C. DW

T.K. HAREENDRAN of IC1 goes high and


the entire circuit is in

T
his vibration detector is realised idle state. LED1 indi-
using readily available, low- cates the power sta-
cost components. One of its tus.
many applications is in a rolling shut- In the event of
ter guard for offices and shops. The vibrations, IC2 is
detector will sense vibration caused by clocked by the
activities like drilling and switch on pulses from the
the connected load (bulb, piezobuzzer, piezoceramic element
etc) to alert you. connected to its
The circuit works off a 6V battery Fig. 2: Pin clock pin 14. Q1
or 6V regulated power supply and configuration of through Q9 outputs Fig. 3: Arrangement for rolling shutter guard
SCR1 BT169 and
uses a piezoceramic element as the back view of the of IC2 are fed to re- for shops, offices and banks
vibration detector. The same is easily piezo element lay-driver switching
available from electronics/telephone transistor T1 through its gate. This, in turn, energises relay
component vendors or you can take it diodes D1 through D9 connected in RL1. The relay contacts can be used
out from an active buzzer. OR mode. to switch any alarm device to indicate
Initially, when the power is Immediately after clocking, any of vibration detection. The circuit can
switched on, decade counter IC1 is re- the outputs Q1 through Q9 would go be reset by momentarily pressing
set by power-on-reset components C2 high and npn transistor T1 would con- switch S1.
and R1. As a result, Q0 output (pin 3) duct. As a result, SCR1 is fired through Zener diodes ZD1 and ZD2 at the
clock input of IC1
are used for protec-
tion against high
voltage input. In
the case of repeated
false triggering of
IC1, add a 100nF ca-
pacitor in parallel to
the piezoceramic
element.
The pin con-
figuration of SCR
BT169 and the
back view of the
piezo element are
shown in Fig. 2. Fig.
3 shows suggested
location of the vi-
bration detector for
rolling shutters of
banks, shops,
Fig. 1: Circuit of the sensitive vibration detector etc. z

WWW.EFYMAG.COM ELECTRONICS FOR YOU NOVEMBER 2005 103

CMYK
CIRCUIT
IDEAS

FUEL RESERVE INDICATOR EO

FOR VEHICLES
SANI TH

D. MOHAN KUMAR by sensing the voltage variation de- on time will be around four minutes.
veloped across the meter and activates The output of IC2 is used to power

H
ere is a simple circuit for moni- the beeper when the fuel tank is al- the astable circuit consisting of timer
toring the fuel level in ve- most empty. Its point A is connected 555 (IC3) via diode D2. Oscillations of
hicles. It gives an audiovisual to the input terminal of the fuel meter IC3 are controlled by R6, R7, VR2 and
indication when the fuel level drops and point B is connected to the body C4. With the given values, the on and
alarmingly below the reserve level, of the vehicle. off time periods are 27 and 18 sec-
helping you to avoid running out of The circuit consists of an op-amp onds, respectively. The pulses from IC3
petrol on the way. IC CA3140 (IC1), two 555 timer ICs are given to the clock input (pin 14) of
Nowadays vehicles come with a (IC2 and IC3) and decade counter decade counter CD4017 (IC4) and its
dash-mounted fuel gauge meter that CD4017 (IC4). outputs go high one by one.
indicates the fuel levels on an analogue Op-amp IC CA3140 is wired as a When the circuit is switched on,
display. The reserve level is indicated voltage comparator. Its inverting in- LED1 and LED2 glow if your vehicle
by a red marking in some vehicles, but put (pin 2) receives a reference volt- has sufficient petrol in the tank.
the needle movement through the red age controlled through VR1. The non- When the fuel goes below the reserve
marking may be confusing and not inverting input (pin 3) receives a vari- level, the output of IC1 goes low, LED1
precise. This circuit monitors the fuel able voltage tapped from the input ter- turns off and a negative triggering
tank below the reserve level and warns minal of the fuel meter through resis- pulse is received at pin 2 of IC2. The
through LED indicators and audible tor R1. output of IC2 goes high for around
beeps when the danger level is ap- When the voltage at pin 3 is higher four minutes and during this time pe-
proaching. than at pin 2, the output of IC1 goes riod, clock pin 14 of IC4 receives the
The fuel sensor system consists of a high and the green LED (LED1) glows. clock pulse (low to high) from the
tank-mounted float sensor and a cur- This condition is maintained until the output of IC3.
rent meter (fuel meter), which are con- voltage at pin 3 drops below that at For the first clock pulse, Q0 output
nected in series. The float-driven sen- pin 2. When this happens, the output of IC4 goes high and the green LED
sor attached to an internal rheostat of IC1 swings from high to low, send- (LED2) glows for around 50 seconds.
offers high resistance when the tank is ing a low pulse to the trigger pin of On receiving the second clock pulse,
empty. When the tank is full, the resis- the monostable (usually held high by Q1 goes high to light up the yellow
tance decreases, allowing more current R3) via C1. The monostable triggers LED (LED3) and sound the buzzer for
to pass through the meter to give a and its output goes high for a prede- around 45 seconds. This audio-visual
higher reading. termined time based on the values of signal warns you that the vehicle is
The fuel monitoring circuit works R5 and C2. With the given values, the running out of fuel. On receiving the

WWW.EFYMAG.COM ELECTRONICS FOR YOU JULY 2005 97

CMYK
CIRCUIT
IDEAS
third clock pulse, LED3 and the buzzer Q6 output of IC4 is connected to The circuit can be assembled on a
go off. There is a gap of around two- its reset pin 15 via diode D3. This perforated board. Adjust VR1 until the
and-a-half minutes before Q5 output means that after on state of Q5, the voltage at pin 2 of IC1 drops to 1.5V.
goes high. count will always start from Q0. Ca- When point A is connected to the fuel
By the time Q5 goes high and the pacitor C5 provides power-on reset to meter (fuel gauge) terminal that goes
red LED (LED4) glows, four minutes IC4 when switch S1 is closed. The out- to the fuel sensor, green LEDs (LED1
elapse and the power supply to IC3 is put of IC1 is also connected to reset and LED2) glow to indicate the nor-
cut off. The output state at Q5 will not pin of IC4 via diode D1 (1N4148). So mal fuel level. VR2 can be varied to
change unless a low-to-high clock in- when your vehicle is refueled above set the on time period of IC3 at
put is received at its pin 14. Thus LED4 the reserve level, LED2 glows to indi- around 20 seconds.
will glow continuously along with the cate that the tank has sufficient fuel. Enclose the circuit in a small case
beep. The continuous glowing of the IC5 provides regulated 12V DC for and mount on the dashboard using ad-
red LED (LED4) and the beep from the proper functioning of the circuit even hesive tape. The circuit works only in
buzzer indicate that the vehicle will when the battery is charged to more vehicles with negative grounding of
run out of fuel very shortly. than 12V. the body. z

98 JULY 2005 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
CIRCUIT
IDEAS

DIGITAL AUDIO/VIDEO
INPUT SELECTOR
IVEDI
S.C. DW

T.K. HAREENDRAN

N
eed to connect more than one S1 once. To select the second AV sig- inputs are connected to the second AV
audio-video (AV) source to nal, press switch S1 twice. In the same signal (not shown in the figure). LED4
your colour television? Dont way, you can select the other two sig- (not shown in figure) glows to indi-
worry, heres an AV input expander nals. cate this.
for your TV. It is inexpensive and easy Momentarily pressing of switch S1 Similarly, pressing switch S1 thrice
to construct. once results in clocking of the decade makes the Q3 output of IC1 high. Con-
The working of the circuit is simple counter and relay driver transistor T1 sequently, 2C/O relay RL3 (not shown
in the figure) energises
and the television inputs
are connected to the
third AV signal source.
LED5 (not shown in the
figure) glows to indicate
this.
Again, pressing
switch S1 four times
makes the Q4 output of
IC1 high. Consequently,
2C/O relay RL4
energises and the TV in-
puts are connected to the
fourth AV signal source
(marked as Video-in 4
and Audio-in 4). LED6
glows to indicate this.
and straightforward. Whenever 12V conducts to energise relay RL1. Now Further pressing of switch S1 resets
DC is applied to the circuit, power-on normally opened (N/O) contacts of the decade counter and LED2 glows
LED1 glows. Now reset the decade two-changeover relay RL1 connect the again. Thereafter, the cycle repeats. The
counter by momentarily pressing television sets inputs to the first AV circuit is wired for four-input selec-
switch S2 to make Q0 output of IC1 signal (marked as Video-In 1 and Au- tion, therefore the Q5 output of IC1 is
high. LED2 glows to indicate that the dio-in 1). LED3 glows to indicate this. connected to reset pin 15 of IC1.
circuit is ready to work. When you press switch S1 twice, Enclose the assembled PCB along
Switch S1 is used for selecting a the Q2 output of IC1 goes high. Con- with the relays in a cabinet with the
particular audio-video (AV) signal. To sequently, 2C/O relay RL2 (not shown input/output sockets and indicators
select the first AV signal, press switch in the circuit) energises and television mounted on the body of the cabinet. z

PCB FOR 8085


Available at:
MICROPROCESSOR KIT
KitsnSpares
(EFY NOVEMBER 99) 303, Dohil Chambers, 46, Nehru Place,
New Delhi 110019; Phone: 26430523,
26449577; E-mail: kits@efyindia.com
WITH ALL ITS ICs

108 MARCH 2005 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
CIRCUIT IDEAS

touch signal is connected to the counter/


decoder via a resistor and clock input CK

TOUCH DIMMER S.C.


DWI
VED
I is connected to the counter/decoder via a
frequency generator.
Line frequency signal is taken through
R4 at pin 2 of IC TT6061A. At zero cross-
K. KRISHNA MURTY second touch, the bulb gives medium light. ing, the triac (BT136) triggers to drive a
At the third touch, the bulb is driven 200W bulb.

B
y simply touching this touch dim- fully. Another touch puts off the light. The 6.8V power supply is taken di-
mer you can increase the light in- Since the IC is highly sensitive, use a rectly from mains through resistors R1 and
tensity of incandescent lamps in long wire to connect the IC to the touch R3, diode D3, capacitor C4, and zener
three steps. The touch dimmer is built sensor. The circuit uses minimum exter- diode and fed to power-input pin 3 of the
around 8-pin CMOS IC TT8486A/TT6061A nal components. For touch plate, you can IC. Capacitors C1, C2, and C3 connected
specifically manufactured for touch dim- use a simple copper plate of 1cm1cm or between touch input pin 4 and touch plate

Pin Assignments of IC TT6061A


Pin No. Pin name Function description

1 CK System clock input


2 FI 50Hz line frequency
3 VDD Power input pin for VDD
4 TI Touch input
5 CI Sensor control input
6 NC Not connected
7 VSS Power input pin for VSS
8 AT Angle-trigger output

remove the shock potential from the touch


plate, so do not replace these capacitors
with a single capacitor or with a capacitor
of a lower voltage rating. Mains potential
exists in the circuit. Needless to say, it is
dangerous to touch the circuit when mains
mer applications. even the end of the lead wire. Touch plate is on.
Initially, when mains switch is on, is coupled to the touch detector through Note. The IC had been procured by
the bulb is off. Now, if you touch the 820pF, 2kV capacitors C1, C2, and C3 con- the author from SM Semiconductors,
touch plate, the bulb glows dimly. On nected in series. Internally IC TT6061As Santacruz (W), Mumbai.

DECEMBER 2003 ELECTRONICS FOR YOU


CIRCUIT
IDEAS

creates a field, stores energy and trans-


MOBILE BUG S.C. DW
IVEDI fers the stored energy in the form of
minute current to the inputs of IC1.
 D. MOHAN KUMAR This will upset the balanced input of
IC1 and convert the current into the

T
his handy, pocket-size mobile quired for a mobile bug. corresponding output voltage.
transmission detector can sense Here the circuit uses a 0.22F disk Capacitor C4 along with high-value
the presence of an activated capacitor (C3) to capture the RF signals resistor R1 keeps the non-inverting in-
mobile phone from a distance of one- from the mobile phone. The lead length put stable for easy swing of the out-
and-a-half metres. So it can be used to of the capacitor is fixed as 18 mm with put to high state. Resistor R2 provides
prevent use of mobile phones in ex- a spacing of 8 mm between the leads to the discharge path for capacitor C4.
amination halls, confidential rooms, get the desired frequency. The disk ca- Feedback resistor R3 makes the invert-
etc. It is also useful for detecting the pacitor along with the leads acts as a ing input high when the output be-
use of mobile phone for spying and small gigahertz loop antenna to collect comes high. Capacitor C5 (47pF) is
unauthorised video transmission. the RF signals from the mobile phone. connected across strobe (pin 8) and
null inputs (pin 1) of IC1 for phase
compensation and gain control to
optimise the frequency response.
When the mobile phone signal is
detected by C3, the output of IC1 be-
comes high and low alternately ac-
cording to the frequency of the signal
as indicated by LED1. This triggers
monostable timer IC2 through capaci-
tor C7. Capacitor C6 maintains the
base bias of transistor T1 for fast
switching action. The low-value tim-
ing components R6 and C9 produce
very short time delay to avoid audio
nuisance.
Assemble the circuit on a general-
The circuit can detect both the in- Op-amp IC CA3130 (IC1) is used purpose PCB as compact as possible
coming and outgoing calls, SMS and in the circuit as a current-to-voltage and enclose in a small box like junk
video transmission even if the mobile converter with capacitor C3 connected mobile case. As mentioned earlier, ca-
phone is kept in the silent mode. The between its inverting and non-invert- pacitor C3 should have a lead length
moment the bug detects RF transmis- ing inputs. It is a CMOS version using of 18 mm with lead spacing of 8 mm.
sion signal from an activated mobile gate-protected p-channel MOSFET Carefully solder the capacitor in stand-
phone, it starts sounding a beep alarm transistors in the input to provide very ing position with equal spacing of the
and the LED blinks. The alarm contin- high input impedance, very low input leads. The response can be optimised
ues until the signal transmission ceases. current and very high speed of perfor- by trimming the lead length of C3 for
An ordinary RF detector using mance. The output CMOS transistor the desired frequency. You may use a
tuned LC circuits is not suitable for is capable of swinging the output volt- short telescopic type antenna.
detecting signals in the GHz frequency age to within 10 mV of either supply Use the miniature 12V battery of a
band used in mobile phones. The voltage terminal. remote control and a small buzzer to
transmission frequency of mobile Capacitor C3 in conjunction with make the gadget pocket-size. The unit
phones ranges from 0.9 to 3 GHz with the lead inductance acts as a transmis- will give the warning indication if
a wavelength of 3.3 to 10 cm. So a cir- sion line that intercepts the signals someone uses mobile phone within a
cuit detecting gigahertz signals is re- from the mobile phone. This capacitor radius of 1.5 metres. 

WWW.EFYMAG.COM ELECTRONICS FOR YOU JANUARY 2008 135


CIRCUIT
IDEAS
DIP package.
Here the IC is
wired in bridge
HEARING AID S.C. DW
IVEDI
configuration to
drive the 32-ohm
general-purpose
 T.K. HAREENDRAN sistor R1 biases the internal circuit of monophonic ear-
the low-voltage condenser microphone phone. Red LED

T
his low-cost, general-purpose for proper working. The audio output (LED1) indicates
electronic hearing aid works off from the preamplifier stage is fed to the power sta-
3V DC (2x1.5V battery). the input of the medium-power am- tus. Resistor R8
In this circuit, transistor T1 and as- plifier circuit via capacitor C2 and vol- limits the operat-
sociated components form the audio ume control VR1. ing current of
signal preamplifier for the acoustic sig- The medium-power amplifier LED1.
nals picked up by the condenser mi- section is wired around popular au- The audio Fig. 2: Enclosure
crophone and converted into corre- dio amplifier IC TDA2822M (not output of this
sponding electrical signals. Resistor R5 TDA2822). This IC, specially designed circuit is 10 to 15 mW and the quies-
and capacitor C3 decouple the power for portable low-power applications, cent current drain is below 1 mA. The
supply of the preamplifier stage. Re- is readily available in 8-pin mini circuit can be easily assembled on a

Fig. 3: Pin descriptions of cond.


mic, C1740 and BC547

veroboard. For easy as-


sembling and mainte-
nance, use an 8-pin DIP IC
socket for TDA2822M.
Proposed enclosure (with
earphone socket) for the
assembled unit is shown
in Fig. 2.
Note. The complete
kit is available at
Fig. 1: Hearing aid circuit KitsnSpares. 

96 AUGUST 2006 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
CIRCUIT
IDEAS

ANTI-COLLISION REAR LIGHT S.C. DW


IVEDI

 ASHOK K. DOCTOR NAND schmitt trigger CD4093, 8-stage of LEDs flash one by one.
shift-and-store bus register CD4094 All the LEDs will then glow for

D
uring poor visibility, i.e., and some descrete components. some time and switch off for some
when there is fog, or at dawn An oscillator is built around gate A, time, and the cycle will repeat. Input
or dusk, or when your ve- whose frequency can be varied through pins 12 and 13 of the unused gate D
hicle gets stalled on a lonely stretch of preset VR1 when required. The output must be tied to ground and pin 11 left
a highway, this flashing light will pro- of the oscillator is fed to IC1 and IC3. open. Preset VR1 should be of cermet
vide safety and attract the attention of When the circuit is switched on, the type and used to change the flashing
people to help you out. It uses high- oscillator starts oscillating, the counter rate of each group of LEDs.
brightness yellow LEDs. starts counting through IC1 and the The circuit works off regulated
The circuit uses a dual binary data is shifted on positive-going clock 12V. Assemble it on a general-purpose
counter CD4520, quadruple 2-input through IC3. As a result, the four groups PCB and house suitably. 

WWW.EFYMAG.COM ELECTRONICS FOR YOU JUNE 2007 83


CCI IRRC UCIU
T II TD E IADS E A S

CELL-PHONE-CONTROLLED . DWI
VED
I

AUDIO/VIDEO MUTE SWITCH S.C

T.K. HAREENDRAN

T
his cell-phone-controlled audio/
video mute switch is highly useful
in automobiles. The circuit auto-
matically disconnects power supply to the
audio/video system whenever the mobile
handset is lifted off the holder for making

Fig. 2: The circuit of the cell phone-controlled audio/video mute switch

video system is connected to the circuit LDR1 and its resistance decreases. As a
via normally opened (N/O) contacts of the result, the voltage at pin 2 of IC1 de-
Fig. 1: Proposed cell-phone holder relay. creases to provide a high output at its
When the cell phone is in its holder, pin 3. The high output of IC1 deactivates
or receiving a call. You can use any readily LDR1 does not receive any light from relay RL1 and the audio/video system
available cell-phone holder with some mi- white LED1 and its resistance is high. As does not get power supply. LED2 glows
nor alterations or fabricate it yourself as a result, the voltage at pin 2 of IC1 re- to indicate that the audio/video system
shown in Fig. 1. mains high to provide a low output at pin is off.
The circuit is wired around IC LM555 3. The low output of IC1 activates relay Preset VR1 is used to control the sen-
(IC1), the CMOS version of timer NE555, RL1 and the audio/video system gets sitivity of the circuit. Zener diode ZD1 is
as shown in Fig. 2. IC1 is used as a me- power supply via its N/O contacts. LED3 used for protecting white LED1 from the
dium-current line driver with either an in- glows to indicate that the audio/video sys- higher voltage. The circuit works off a 12V
verting or non-inverting output. It can sink tem is on. car battery. Switch S1 can be used to
(or source) current of up to 50 mA only, When the handset is taken off manually switch on/off the audio/video
so take care while handling it. The audio/ the holder, light rays from LED1 fall on system.

ELECTRONICS FOR YOU JUNE 2004


C I R CCUI RICTU IITDIEDAE ASS

CHILDS LAMP SAN


I THE
O

D. MOHAN KUMAR gate 2 (comprising input


pins 5 and 6 and output pin

H
ere is a mini emergency lamp that 4) of IC1. Gate 2 serves as a
you can use as a tabletop lamp in buffer to drive the white
your childs study room. It is bat- LED (LED1).
tery-operated and gives sufficient light for For the given values of
the child to move out of the room when resistor R2 and capacitor C1,
power fails. The white LED in the circuit the flashing rate of LED1 is
automatically turns on when light in the one per second (1 Hz). It
room goes off following a power cut. The can be increased by decreas-
LED gives a flashing light instead of glow- ing the value of capacitor
ing continuously to reduce power con- C1. Pin 14 of IC1 is Vcc and
sumption. all the unused input pins are
The circuit comprises a light sensor tied to the positive rail (pin
and an LED flasher designed around CMOS 14) to prevent floating.
IC CD4093 (IC1). The light sensor switch The circuit can be con-
comprises a light-dependent resistor (LDR) structed on a small
and npn transistors T1 and T2. When am- veroboard. Use a reflective
bient light is present, the low resistance of holder for LED1, which
LDR1 drives transistor T1 into conduction. and 2 and output pin 3). The oscillators should be directed downwards at an angle
This keeps transistor T2 cut-off due to low external components comprise resistor R2 of 45 degrees to prevent direct viewing of
base bias. The flasher circuit does not get and capacitor C1. Diode D1 and resistor LED1 which gives a high-intensity light
power as long as ambient light falls on R4 help in rapid charging of capacitor C1. that is harmful for eyes. Preset VR1 can be
LDR1. When the resistance of LDR1 be- When capacitor C1 charge to around 50% adjusted to control the sensitivity of LDR1.
comes high in darkness, transistor T1 stops of Vcc, output of gate 1 of IC1 goes low to You can enclose the circuit in a plas-
conducting and transistor T2 starts con- discharge capacitor C1. The output from tic doll with LED1 as its headlamp to
ducting to turn on the LED lamp. pin 3 of IC1 again goes high to charge make it an attractive gadget for your child.
IC1 is designed as a simple oscillator capacitor C1 again. This cycle repeats and Mount LDR1 such that ambient light falls
using its gate 1 (comprising input pins 1 sets up an oscillation, which is given to on it directly.

MAY 2004 ELECTRONICS FOR YOU


CIRCUIT
IDEAS

SPEED CONTROL OF DC MOTOR USING


PULSE-WIDTH MODULATION
UMAR
SUNIL K
 EFY LAB age value is 2.5V, and if the duty cycle
is 75%, the average voltage is 3.75V

P
ulse-width modulation (PWM) and so on. The maximum duty cycle
or duty-cycle variation methods can be 100%, which is equivalent to a storage capacitor to pro-
are commonly used in speed DC waveform. Thus by varying the vide stable voltage to the
control of DC motors. The duty cycle pulse-width, we can vary the average circuit.
is defined as the percentage of digital voltage across a DC motor and hence Thus, by varying
high to digital low plus digital high its speed. VR1 the duty cycle can
pulse-width during a PWM period. The circuit of a simple speed con- be changed from 0% to
troller for a mini DC motor, such 100% and the speed of
as that used in tape recorders and the motor from stopped
toys, is shown in Fig. 2. condition to full speed
Fig. 3: Pin
Here N1 inverting Schmitt trig- configuration in an even and continu-
ger is configured as an astable of BC337A ous way. The diodes ef-
Fig. 1: 5V pulses with 0% through 50% duty cycle multivibrator with constant period fectively provide differ-
but variable duty ent timing resistor values during
cycle. Although the charging and discharging of timing ca-
total in-circuit resis- pacitor C1.
tance of VR1 during The pulse or rest period is approxi-
a complete cycle is mately given by the following equa-
100 kilo-ohms, the tion:
part used during Pulse or Rest period 0.4 x C1
positive and negative (Farad) x VR1 (ohm) seconds.
periods of each cycle Here, use the in-circuit value of
can be varied by VR1 during pulse or rest period as ap-
changing the posi- plicable.
tion of its wiper con- The frequency will remain constant
tact to obtain variable and is given by the equation:
pulse-width. Schmitt Frequency 2.466/(VR1.C1) 250
Fig. 2: DC motor speed control using PWM method gate N2 simply acts Hz (for VR1=100 kilo-ohms and C1=0.1
as a buffer/driver to F)
Fig. 1 shows the 5V pulses with 0% drive transistor T1 during positive in- The recommended value of in-cir-
through 50% duty cycle. cursions at its base. Thus the average cuit resistance should be greater than
The average DC voltage value for amplitude of DC drive pulses or the 50 kilo-ohms but less than 2 mega-
0% duty cycle is zero; with 25% duty speed of motor M is proportional to ohms, while the capacitor value should
cycle the average value is 1.25V (25% the setting of the wiper position of VR1 be greater than 100 pF but less than
of 5V). With 50% duty cycle the aver- potmeter. Capacitor C2 serves as a 1 F. 

WWW.EFYMAG.COM ELECTRONICS FOR YOU AUGUST 2006 97

CMYK
CIRCUIT
IDEAS

LIGHT FENCE S.C. DW


IVEDI
LDR1 and preset VR1 form another
potential divider to provide a variable
voltage input to the non-inverting in-
put (pin 3).
 D. MOHAN KUMAR If VR1 is properly adjusted for the
ent day light or fluorescent electric required light level, the output of IC1

T
he basic problem with most of light. The beep generated from the cir- will be high, which drives pnp tran-
standard light sensors is that cuit will be loud enough to detect the sistor T1 out of conduction. This is due
they require precise alignment entry of a person in the room or the to the high potential at the base of T1.
of light beam to mute the circuit dur- protected area being guarded. The emitter voltage of T1 will be high
in this condition, which inhibits
IC2 from oscillation and LED1
from lighting. IC2 is wired as a
monostable timer. R6 and C2 pro-
vide a preset time delay.
As a person crosses the pro-
tected area, his shadow will be
sensed by LDR1 due to change
in the light intensity level
and the voltage at the non-invert-
ing input of IC1 will drop mo-
mentarily. The output of IC1 sud-
denly becomes low, allowing T1
to conduct. This triggers the
monostable (IC2) and the alarm
sounds.
Assemble the circuit on a
common PCB and house in a
plastic case. Keep LDR1 inside a
black tube to increase its sensi-
tivity. Adjust preset VR1
ing standby mode. The circuit de- The circuit uses a voltage compara- until LED1 turns off at the particular
scribed here is so sensitive that it will tor and a monostable timer to give the light level. Keep LDR1 facing
detect a moving person at a distance warning alarm on detecting a moving the entrance of the room or the area
of few metres in daylight or under person. IC A741 (IC1) is used as a to be protected. Sensitivity of the cir-
electric lighting without cumbersome voltage comparator with two poten- cuit depends on the proper adjust-
alignment of light beam. It requires vir- tial dividers in its inverting and non- ment of VR1. If VR1 is correctly ad-
tually no set up, and may be simply inverting inputs. Resistors R1 and R2 justed, the circuit can detect a moving
placed within the line-of-sight of al- provide half-supply voltage of 4.5 person from a distance of about three
most any light source including ambi- volts to its inverting input (pin 2). metres. 

84 JUNE 2007 ELECTRONICS FOR YOU WWW.EFYMAG.COM


CIRCUIT IDEAS

DTMF RECEIVER IC MT8870 TESTER S.C.


DWI
VED
I

RONE POUMAI radio communications, the tone duration The Status of LEDs on Pressing Keys
may differ due to noise considerations. on the Telephone Keypad

T
oday, most telephone equipment use Therefore, by adding an extra resistor and
a DTMF receiver IC. One common steering diode the tone duration can be Key No. LED4 LED3 LED2 LED1
DTMF receiver IC is the Motorola set to different values. (MSB) (LSB)
MT8870 that is widely used in electronic The circuit is configured in balanced-
1 Off Off Off On
communications circuits. The MT8870 is line mode. To reject common-mode noise
2 Off Off On Off
an 18-pin IC. It is used in telephones and signals, a balanced differential amplifier
3 Off Off On On
a variety of other applications. When a input is used. The circuit also provides an
4 Off On Off Off
proper output is not obtained in projects excellent bridging interface across a prop-
5 Off On Off On
using this IC, engineers or technicians need erly terminated telephone line. Transient
6 Off On On Off
to test this IC separately. A quick testing protection may be achieved by splitting
7 Off On On On
of this IC could save a lot of time in re- the input resistors and inserting zener di-
8 On Off Off Off
search labs and manufacturing industries odes (ZD1 and ZD2) to achieve voltage
9 On Off Off On
of communication instruments. Heres a clamping. This allows the transient energy
0 On Off On Off
small and handy tester circuit for the DTMF to be dissipated in the resistors and di-
A On On Off On
IC. It can be assembled on a multipurpose odes, and limits the maximum voltage that
B On On On Off
PCB with an 18-pin IC base. One can also may appear at the inputs.
C On On On On
test the IC on a simple breadboard. Whenever you press any key on your
D Off Off Off Off
For optimum working of telephone local telephone keypad, the delayed steer- Note. 1. LED5 blinks momentarily whenever any key is
equipment, the DTMF receiver must be ing (Std) output of the IC goes high on pressed.
designed to recognise a valid tone pair receiving the tone-pair, causing LED5 (con- 2. On = 1, while Off = 0
greater than 40 ms in duration and to ac- nected to pin 15 of IC via resistor R15) to
cept successive digit tone-pairs that are glow. It will be high for a duration de- The optional circuit shown within dot-
greater than 40 ms apart. However, for pending on the values of capacitor and ted line is used for guard time adjustment.
other applications like remote controls and resistors at pins 16 and 17. The LEDs connected via resistors R11
to R14 at pins 11
through 14, respec-
tively, indicate the
output of the IC.
The tone-pair DTMF
(dual-tone multi-fre-
quency) generated
by pressing the tele-
phone button is
converted into bi-
nary values inter-
nally in the IC. The
binary values are
indicated by glow-
ing of LEDs at the
output pins of the
IC. LED1 represents
the lowest signifi-
cant bit (LSB) and
LED4 represents the
most significant bit
(MSB).
So, when you
dial a number, say,
5, LED1 and LED3
will glow, which is
equal to 0101. Simi-
larly, for every

JUNE 2003 ELECTRONICS FOR YOU


CIRCUIT IDEAS

other number dialled on your telephone, switch S2 only if keys A, B, C, and D are or D), the DTMF IC 8870 is correct.
the corresponding LEDs will glow. Thus, a to be used.) Keys A, B, C, and D on the telephone
non-defective IC should indicate proper bi- 4. Now push key * to generate DTMF keypad are used for special signalling and
nary values corresponding to the decimal tone. are not available on standard pushbutton
number pressed on your telephone key- 5. Push any decimal key from the tele- telephone keypads. Pin 5 of the IC is
pad. phone keypad. pulled down to ground through resistor
To test the DTMF IC 8870/KT3170, pro- 6. Observe the equivalent binary as R8. Switch on auxiliary switch S2. Now
ceed as follows: shown in the table. the high logic at pin 5 enables the detec-
1. Connect local telephone and the cir- 7. If the binary number implied by tion of tones representing characters A, B,
cuit in parallel to the same telephone line. glowing of LED1 to LED4 is equivalent to C, and D.
2. Switch on S1. (Switch on auxiliary the pressed key number (decimal/A, B, C, This circuit costs around Rs 80.

ELECTRONICS FOR YOU JUNE 2003


CIRCUIT IDEAS

LOW-COST HEARING AID S.C.


DWIV
EDI

PRADEEP G.

C
ommercially available hearing aids
are quite costly. Here is an inexpen-
sive hearing aid circuit that uses
just four transistors and a few passive com-
ponents.
On moving power switch S to on posi-
tion, the condenser microphone detects the
sound signal, which is amplified by transis-
tors T1 and T2. Now the amplified signal
passes through coupling capacitor C3 to the
base of transistor T3. The signal is further
amplified by pnp transistor T4 to drive a low-
impedance earphone. Capacitors C4 and C5
are the power supply decoupling capacitors.
The circuit can be easily assembled ply. For this, you may use two small 1.5V sensitivity of the condenser microphone,
on a small, general-purpose PCB or a cells. Keep switch S to off state when house it inside a small tube.
Vero board. It operates off a 3V DC sup- the circuit is not in use. To increase the This circuit costs around Rs 65.

AUGUST 2003 ELECTRONICS FOR YOU


CIRCUIT IDEAS

Fig. 2: Circuit diagram of LED-based message display


LED-BASED
MESSAGE DISPLAY
O
I THE
SAN

S.C. DWIVEDI

T
his LED-based message display is
built around readily availble, low-
cost components. It is easy to fabri-
cate and makes use of 3mm red LEDs. A
total of 172 LEDs have been arranged to
display the message HAPPY NEW YEAR
2004.
The arrangement of LED1 through
LED11 is used to display H as shown in
Fig. 1. The anodes of LED1 through LED11
are connected to point A and the cath-
odes of these LEDs are connected to point
B. Similarly, letter A is built using LED12
through LED21. All the anodes of LED12
through LED21 are connected to point A,
while the cathodes of these LEDs are con-
nected to resistor R8 (not shown in the
circuit diagram). Other letters/words can
also be easily arranged to make the re-
quired sentence.
The power supply for the message dis-
play circuit (Fig. 2) comprises a 0-9V, 2A
step-down transformer (X1), bridge recti-
fier comprising diodes D1 through D4,
and a filter capacitor (C1). IC 7806 (IC1)

Fig. 1: LED arrangement for word H

JANUARY 2004 ELECTRONICS FOR YOU 119


CIRCUIT IDEAS

provides regulated 6V DC to the display high, transistor T2 conducts and the cur- Q6, Q7, or Q8 output go high, transistor
circuit comprising timer 555 (IC2) and rent flows through LED49 through LED87 T5 conducts and the current flows through
decade counter CD4017 (IC3). The astable via resistors R12 through R14. Now the all the LEDs via diodes D9 through D12
multivibrator built around IC2 produces word NEW is displayed on the LED ar- and resistors R7 through R22. Now the
1Hz clock at its output pin 3. This output rangement board. complete message HAPPY NEW YEAR
is connected to clock pin (pin 14) of the Again, when Q3 output goes high, tran- 2004 is displayed on the LED arrange-
decade counter. sistor T3 conducts and the current flows ment for four seconds.
The decade counter can count up to through LED88 through LED128 via resis- Thus, the display board displays
10. The output of IC3 advances by one tors R15 through R18. Now the word HAPPY, NEW, YEAR and 2004 one
count every second (depending on the YEAR is displayed on the LED arrange- after another for one second each. After
time period of astable multivibrator IC2). ment board. that, the message HAPPY NEW YEAR
When Q1 output of IC3 goes high, tran- Similarly, when Q4 output goes high, 2004 is displayed for 4 seconds (because
sistor T1 conducts and the current flows transistor T4 conducts and the current Q5 through Q8 are connected to resistor
through LED1 through LED48 via resistors flows through LED129 through LED172 R6 via diodes D5 through D8).
R7 through R11. Now the word HAPPY via resistors R19 through R22. Now dig- At the next clock input output Q9 goes
built around LED1 through LED48 is dis- its 2004 are displayed on the LED ar- high, and IC3 is reset and the display is
played on the LED arrangement board. rangement board. turned off for one second. Thereafter the
Next, when Q2 output of IC3 goes During the entire period when Q5, cycle repeats.

120 ELECTRONICS FOR YOU JANUARY 2004


CIRCUIT IDEAS

REMOTE-OPERATED MUSICAL BELL S.C.


DWIV
EDI

PRADEEP G.

T
his infrared light-
controlled 12-tone
musical bell can be
operated using any TV re-
mote control. It can be
operated from up to 10
metres, provided the re-
mote control is directed
towards the sensor.
The circuit uses the
popular 3-lead IR sensor
TK1836 to trigger musi-
cal bell built around IC
UM3481(IC1). (You can
also use IC UM3482,
UM3483, or UM3484
in place of IC UM3481.)
The sensor responds only to 36 kHz. pulses low. Transistor T1 conducts to ap- heard. This way, twelve different musical
Most TV remote controls transmit this ply a triggering pulse to IC1 at its pin 4. tones can be generated.
frequency. After playing one musical tone, the circuit The circuit works off a 5V power sup-
When any button on the TV remote automatically resets. If you again press any ply. Regulator IC 7805, powered from a 9-
control is pressed, the sensors output of the remotes buttons, another music is 12V DC source, provides regulated 5V.

ELECTRONICS FOR YOU OCTOBER 2003


CIRCUIT IDEAS

INFRARED REMOTE CONTROL TIMER S.C.


DWI
VED
I

Fig. 2: IR receiver section


DIPANJAN BHATTACHARJEE whose frequency may
be varied with the help

T
his infrared remote control timer can of potmeter VR3.
be used to turn an appliance on/off When switch S1 of
for a period of 0.11 second to 110.0 the transmitter is
seconds. pressed, the modu-
The circuit comprises two sections, lated IR rays are gen-
namely, the transmitter section and the erated, which are re-
receiver section. ceived by photodiodes
Fig. 1 shows the IR transmitter sec- in the receiver section
tion. The astable multivibrator NE555 (IC1) and amplified by the
is used to generate a 10kHz modulated IR amplifier circuit. The
signal. The output of IC1 is connected to output of op-amp goes
the base of pnp transistor T1 via resistor low to trigger the
R2. Two infrared LEDs (IR1 and IR2) are monostable. Then high
connected in series between the collector output at pin 3 of IC3
(via resistor R3) and ground. activates the two-
When switch S1 is pressed, the IR LEDs changeover relay RL
transmit the modulated IR signal of 10-11 via transistor T3
kHz. This frequency can be changed with (BC548) for a preset
the help of VR1 potmeter. time.
In the receiver section shown in Fig. The on/off time
2, two photodiodes (IR3 and IR4) receive can be set in the timer
the IR signal transmitted by the IR trans- with the help of VR3
mitter. Transistors T2 and T3 amplify the and C10. Switch S2 is
weak signal. The amplified signal is fil- used to reset the
tered by capacitors C6 and C7. The ampli- monostable. If you
fied and filtered signal is now fed to the want to turn the appli-
inverting input pin 2 of op-amp IC2 (IC ance on for a preset
741). The output of IC2 is further con- time, connect the ap-
nected to trigger pin 2 of timer NE555 (IC3) pliance via relay RL(a).
that is used as a monostable multivibrator On the other hand, if
you want to
turn the appli-
ance off for a
preset time,
connect the ap-
pliance via re-
lay RL(b). The
timer can be re-
set by pressing
reset switch S2.
The circuit
works up to 3
metres without
using any fo-
cusing lens.
However, you
can increase
the operating
range by using
focusing lens.
This circuit
costs around
Fig. 1: IR transmitter section Rs 100.

MAY 2003 ELECTRONICS FOR YOU


CIRCUIT IDEAS

PULSE GENERATOR S.C. DWI


VED
I

A. JEYABAL depressed and the LED is glowing. As pins fully charges capacitor C2 via diode D. At
5 and 6 of NAND gate N2 are pulled up the same time, this high output of N2 en-

T
his circuit is very useful while by resistor R3, its output pin 4 goes low. ables NAND gate N3 and clock pulses come
checking/operating counters, step- This disables NAND gate N3 to take its out through pin 10. These are the required
ping relays, etc. It avoids the pro- output pin 10 to high state, and no pulse number of pulses used to check our de-
cedure of setting a switch for the required is available. vice.
number of pulses. By pressing appropriate IC1 is a decade counter whose Q out- The clock pulses are fed to clock-enable
switches S1 to S9, one can get 1 to 9 nega- puts normally remain low. When clock pin 13 of IC1, which starts counting. As
tive-going clock pulses, respectively. pulses are applied, its Q outputs go high soon as output pin 1 (Q5) of IC1 turns high,
Schmitt trigger NAND gate N1 of IC2, successively, i.e. Q0 shifts to Q1, Q1 shifts input pins 5 and 6 of NAND gate N2 will
resistor R1, and capacitor C1 are wired to to Q2, Q3 shifts to Q4, and so on. also become high via switch S5 because
produce clock pulses. These pulses are taken If any one of switches S1 through S9, high-frequency clock allowed five pulses
out through NAND gate N3 that is con- say, S5 (for five pulses), is momentarily during momentary pressing. This high in-
trolled by decade counter CD4017 (IC1). depressed, pins 5 and 6 of NAND gate N2 put of N2 provides low output at pin 4 to
Initially no switch from S1 to S9 is go low, making its output pin 4 high, which disable NAND gate N3 and finally no pulse
will be available to advance counter IC1.
Before the next usage, counter IC1
must be in the standby state, i.e. Q0 out-
put must be in the high state. To do this,
a time-delay pulse generator wired around
NAND gate N4, resister R4, diode D, ca-
pacitor C2, and differentiator circuit com-
prising C3 and R5 is used.
When output pin 4 of NAND gate N2
is low, it discharges capacitor C2 slowly
through resistor R4. When the voltage
across capacitor C2 goes below the lower
trip point, output pin 11 of NAND gate N4
turns high and a high-going sharp pulse is
produced at the junction of capacitor C3
and resistor R5. This sharp pulse resets
counter IC1 and its Q0 output (pin 3) goes
high. This is represented by the glowing
of LED.
Ensure the red LED is glowing before
proceeding to get the next pulse. Press
any of the switches momentarily and the
LED will glow. If the switch is kept
pressed, the counter counts continuously
and you cannot get the exact number of
pulses.
This circuit costs around Rs 70.

JUNE 2003 ELECTRONICS FOR YOU


CIRCUIT IDEAS

OVER-/UNDER-VOLTAGE PROTECTION OF SUN


IL KU
MAR

ELECTRICAL APPLIANCES
C.H. VITHALANI amplifier is zero and transistor T1 remains are protected against over-voltage.
off. The relay, which is connected to the Now lets consider the under-voltage

T
his circuit protects refrigerators as collector of transistor T1, also remains de- condition. When the line voltage is below
well as other appliances from over- energised. As the AC supply to the electri- 180V, the voltage at the inverting terminal
and under-voltage. Operational am- cal appliances is given through the nor- (pin 6) of operational amplifier N2 is less
plifier IC LM324 (IC2) is used here as a mally closed (N/C) terminal of the relay, than the voltage at the non-inverting ter-
comparator. IC LM324 consists of four op- the supply is not disconnected during nor- minal (6V). Thus the output of opera-
erational amplifiers, of which only two op- mal operation. tional amplifier N2 goes high and it

erational amplifiers (N1 and N2) are used When the AC voltage increases beyond energises the relay through transistor T1.
in the circuit. 240V, the voltage at the non-inverting ter- The AC supply is disconnected and elec-
The unregulated power supply is con- minal (pin 3) of operational amplifier N1 trical appliances turn off. Thus the appli-
nected to the series combination of resis- increases. The voltage at the inverting ter- ances are protected against under-voltage.
tors R1 and R2 and potmeter VR1. The minal is still 6.8V because of the zener IC1 is wired for a regulated 12V supply.
same supply is also connected to a 6.8V diode. Thus now if the voltage at pin 3 of Thus the relay energises in two condi-
zener diode (ZD1) through resistor R3. the operational amplifier is higher than tions: first, if the voltage at pin 3 of IC2 is
Preset VR1 is adjusted such that for 6.8V, the output of the operational ampli- above 6.8V, and second, if the voltage at
the normal supply of 180V to 240V, the fier goes high to drive transistor T1 and pin 6 of IC2 is below 6V. Over-voltage and
voltage at the non-inverting terminal (pin hence energise relay RL. Consequently, the under-voltage levels can be adjusted using
3) of operational amplifier N1 is less than AC supply is disconnected and electrical presets VR1 and VR2, respectively.
6.8V. Hence the output of the operational appliances turn off. Thus the appliances This circuit costs around Rs 110.

AUGUST 2003 ELECTRONICS FOR YOU


CIRCUIT IDEAS

PC-BASED DC MOTOR SPEED CONTROLLER SAN


I THE
O

R. KARTHICK The resistor network comprising pre- The software (speedM.c) is written in
sets VR1 through VR8, resistors R1 and C language and compiled using Turbo C

T
his circuit allows you to control the R2 and capacitor C1 are the timing com- compiler.
speed of a DC motor (in eight lev- ponents of timer IC 555 (IC4), which is Initially, when the motor is off, the
els) from your PCs parallel port. configured in astable mode. The output of program prompts you to press Enter key
The PC uses a software program to con- IC4 is a square wave, which is fed to the to start the motor. Once you press the
trol the speed of the motor. base of transistor T1 via current-limiting key, the motor starts running at full speed.
The motor is connected to the PC resistor R3. Transistor T1 is used to drive After a few seconds, the program asks you
through an interface circuit. The interface the motor. to press any key from the keyboard to go

circuit consists of 1-of-8 decoder IC The pulse-width modulation (PWM) to the next screen for controlling the speed
74LS138 (IC1), hex inverter ICs 74LS04 method is used for efficient control of the of the motor. This screen has options for
(IC2 and IC3), resistor networks, timer IC motor. The output of the PC is decoded to increasing and decreasing the motor speed
555 (IC4) and motor driver transistor SL100 select a particular preset (VR1 through and also for exiting from the program. For
(T1). The decoder IC accepts binary VR8). The value of the selected preset, increasing the speed enter choice 1 and
weighted inputs A0, A1 and A2 at pins 1, along with resistors R1 and R2 and ca- press Enter key, and for decreasing the
2 and 3, respectively. With active-low en- pacitor C1, changes the output pulse width speed enter choice 2 and press Enter key.
able input pins 4 and 5 of the decoder at pin 3 of IC4. Thus the motor speed can This action changes the speed by one step
grounded, it provides eight mutually ex- be increased/decreased by choosing a par- at-a-time and the message Speed de-
clusive active-low outputs (Q0 through ticular resistance. For high-power motors, creased or Speed increased is displayed
Q7). These outputs are inverted by hex the transistor can be replaced by an IGBT on the screen. To go to the main menu,
inverters IC2 and IC3. or a power MOSFET. again press Enter key.

SPEEDM.C
//R.KARTHICK,III ECE,K.L.N.C.E.,MADURAI clrscr(); }
//karthick_klnce@rediffmail.com outportb(P,0); for(i=0;i<8;i++)
#include<stdio.h> textbackground(9); a[i]=i;
#include<conio.h> textcolor(3); gotoxy(23,11);
int a[7],i,c; for(x=0;x<=80;x++) printf("Press Enter to start the motor");
void start(void); for(j=0;j<=25;j++) getch();
void main(void) { gotoxy(28,13);
{ gotoxy(x,j); printf("WAIT STARTING MOTOR");
int P=0x0378,j,c=7,c1,x,y; cprintf(" "); start();

JUNE 2004 ELECTRONICS FOR YOU


CIRCUIT IDEAS

gotoxy(25,15); gotoxy(1,9); outport(P,a[c]);


printf("Motor started sucessfully"); printf("Enter your choice:"); gotoxy(33,13);
gotoxy(22,17); scanf("%d",&c1); printf("SPEED DECREASED");
printf("Press any key for speed control"); switch(c1) getch();
getch(); { }
while(1) case 1:if(c==7) break;
{ { case 3 :
clrscr(); clrscr(); for(j=c;j>=0;j--)
gotoxy(25,3); gotoxy(23,13); {
for(j=0;j<79;j++) printf("MOTOR IS RUNNING IN FULL outportb(0X0378,j);
{ SPEED"); delay(100);
gotoxy(j+1,2); getch(); }
printf("*"); } outportb(P,0);
} if(c<7) clrscr();
gotoxy(23,3); { gotoxy(17,13);
printf("DC MOTOR SPEED CONTROL USING PC"); clrscr(); textcolor(2);
for(j=0;j<79;j++) c++;
{ outport(P,a[c]); cprintf("KARTHICK.R\nECE\nK.L.N.COLLEGE OF
gotoxy(j+1,4); gotoxy(33,13); ENGG\nMADURAI.");
printf("*"); printf("SPEED INCREASED"); getch();
} getch(); exit(1);
printf("\n"); } }
printf("\t\t\t1.INCREASE SPEED\n\t\t\t2.DECREASE break; }
SPEED\n\t\t\t3.EXIT") ; case 2: if(c==0) }
for(j=0;j<79;j++) {
{ clrscr(); void start()
gotoxy(j+1,8); gotoxy(23,13); {
printf("*"); printf("MOTOR IS RUNNING IN LOW SPEED"); outportb(0x0378,0);
} getch(); for(i=0;i<8;i++)
for(j=0;j<79;j++) } {
{ if(c>0) outportb(0X0378,i);
gotoxy(j+1,10); { delay(1000);
printf("*"); clrscr(); }
} c--; }

ELECTRONICS FOR YOU JUNE 2004


CIRCUIT IDEAS

ELECTRONIC MOTOR STARTER SUN


IL KU
MAR

T.A. BABU preset VR1 such that T1 conducts when While making over-/under-voltage set-
voltages goes beyond upper limit (say, ting, disconnect C2 temporarily. Capacitor

T
his motor starter protects single- 260V). When T1 conducts, it switches off C2 prevents relay chattering due to rapid
phase motors against voltage fluc- T2. Transistor T2 works as the under-volt- voltage fluctuations.
tuations and overloading. Its salient age protector. The under-voltage setting is Regulator IC 7809 gives the 9V regu-
feature is a soft on/off electronic switch done with the help of preset VR2 such that lated supply to soft switch as well as the
for easy operation. T2 stops conducting when voltage is below relay after filtering by capacitor C4. A suit-
The transformer steps down the AC lower limit (say, 180V). Zener diodes ZD1 able miniature circuit breaker is used for
voltage from 230V to 15V. Diodes D1 and and ZD2 provide base bias to transistors T1 automatic over-current protection. Green

D2 rectify the AC voltage to DC. The un- and T2, respectively. Transistors T3 and T4 LED (LED1) indicates that the motor is
regulated power supply is given to the pro- are connected back to back to form an SCR on and red LED (LED2) indicates that
tection circuit. configuration, which behaves as an on/ the power is on. The motor is connected
In the protection circuit, transistor T1 is off control. Switch S1 is used to turn on to the normally-open contact of the relay.
used to protect the motor from over-volt- the pump, while switch S2 is used to turn When the relay energises, the motor turns
age. The over-voltage setting is done using off the pump. on.

OCTOBER 2003 ELECTRONICS FOR YOU


CIRCUIT IDEAS

WATCHMAN WATCHER S.C.


DWI
VED
I

JAYAN A.R. an instruction to register his presence by the circuit are connected across optocoupler
simply pointing his torch-light beam to- MCT2E (IC1) through a resistor-capacitor

H
ere is a circuit that can be used in wards a wall-mounted LDR sensor unit (R1-C1) combination. The diode in the
offices, stores, warehouses, etc dur- (without lifting the handset off-cradle of optocoupler conducts only during
ing night to check whether the the ringing telephone). This is to be done ring pulses. The collector of the optocoupler
watchman of your establishment is on duty. within the time period during which the transistor is normally off and a 5V signal is
For operation, it uses an existing telephone alert lamp glows. If he fails to do it within available here. This signal is connected
(e.g. in office or store) closest to the the permissible time, the circuit registers to the trigger input of IC 555 (IC2) config-
watchmans post. The watchman is given his absence by incrementing a count. If he ured in monostable mode. The time con-
an audio alert signal by just ringing the does, the count remains unaltered. stant of IC2 is set to nearly one minute
office/store telephone once (minimum) Up to nine separate alert rings are con- (1.1RxC). Its output pin 3 is low during
from your residence or any other place, sidered here. The count displayed is the normal mode of operation and the relay is

preferably using your mobile phone. The number of times the watchman failed to de-energised.
ring is detected by the given circuit and the register his presence. The mobile phone When the phone rings, the internal
watchman is also given a visual alert signal records the called number and call time, transistor of the optocoupler conducts to
by a glowing lamp. The lamp remains on and it can be used with the displayed count cause a high-to-low transition at trigger
for a duration of nearly 60 seconds soon to get the timing details. pin 2 of monostable IC2. Timer IC2 gets
after the ringtone. The watchman is given The telephone lines (TIP and RING) in triggered on this trailing edge to energise

ELECTRONICS FOR YOU MAY 2004


CIRCUIT IDEAS

Mode-Select Table of 74LS192 the torch is used as a re- If LDR1 receives light from the torch
mote for triggering of the watchman within the allowed time
MRpin 14 PL pin 11 UPpin5 DNpin4 Mode monostable IC6 and this period, the down clock remains high until
H X X X Reset triggering is enabled only the up clock is high. The counter counts
L L X X Preset when alert lamp L1 is up and then down, so, in effect, the count
L H H H No change on. remains unchanged.
L H H Count up Monostable IC6 has All components, except LDR1, are kept
L H H Count down a time constant of nearly in a sealed cabinet with locking arrange-
Note: X = Dont care one minute (1.1RxC). It ment. Only LDR1 is wall-mounted and vis-
is used to form a down ible outside. This is done to avoid manual
relay RL1. This relay is used to switch on clock signal for 4-bit up-/down-counter resetting of the counter. The circuit is to
alert lamp L1. The circuit doesnt respond 74LS192 (IC7). Counter IC7 has two sepa- be powered by a battery to avoid resetting
to additional trigger inputs for the set du- rate clocks for up and down counts (refer of the count during power failure.
ration of the monostable. The caller may to the table). For correct counting, it needs The working procedure can be
cut the phone call after hearing ringback one clock line to be high during high-to- summarised as follows:
tone from the called phone. low transition of the other clock line. Oth- 1. Initially, when the power supply is
The sensor circuit formed using LDR1 erwise, it counts erratically. switched on, power-on-reset components
activates another monostable 555 (IC6). To operate counter IC7, the voltage C8 and R13 reset counter IC7 and the dis-
LDR1 has a resistance of 2.2 kilo-ohms in levels and timings of the two clock inputs play shows 0.
daylight, which drops below 50 ohms when (up and down) are to be properly adjusted. 2. Now dial the telephone number
torchlight beam falls on it. (An LDR of Both trigger inputs, i.e. up and down (where parallel system is installed) from
nearly 2cm diameter has been used in this clocks, are asynchronous. outside or from your mobile. For the first
circuit.) Comparator LM358 (IC5) compares The output of monostable IC2 is fil- ring, relay RL1 energises and alert lamp
the level set at pin 3 (nearly 1V, set using a tered using capacitor C4 to remove un- L1 glows.
10k pot) with the level at pin 2. wanted transitions and inverted using 3.When alert lamp L1 is off, the
When no light is falling on LDR1, its Schmitt trigger inverter 74LS14 (IC3). This counter is incremented by 1.
voltage is above 1V and IC5 has a low forms a signal with correct rising and 4. If the watchman focuses the torch-
output at its pin 1. When light is falling on falling edges. The inverted signal from light beam on LDR1 within the glowing
LDR1, its voltage drops below 1V and IC5 pin 6 of gate N3 is used as the up clock. time of alert lamp L1, the counter first
output at its pin 1 becomes high. This low- Counter 74LS192 (IC7) is reset to zero counts up and then counts down and fi-
to-high transition is NANDed with the out- state by making its reset pin 14 high through nally the display shows 0. This indicates
put of monostable IC2 (via inverters gates reset switch S1. The 7-segment, common- that the watchman is present.
N1 and N2) to form the trigger signal for anode display DIS1 is driven through IC 5. If the watchman focuses the torch-
monostable IC6. So the trigger input is 74LS47 (IC8). When the phone rings, count light beam on LDR1 after alert lamp L1
normally high, which falls when torchlight 1 is displayed after nearly one minute. goes off, up-counting takes place and the
beam is focused on LDR1. It returns to high This happens if the watchman fails to focus display shows 1. This indicates that the
state when torchlight is switched off. So the torchlight beam on LDR1. watchman is absent.

MAY 2004 ELECTRONICS FOR YOU


CIRCUIT IDEAS

MULTIBAND CW TRANSMITTER SAN


I THE
O

REJIMON G. VU2RGQ ceiver. The circuit works off a 9V the required positive feedback for
battery. oscillation and transistor T2 (BC547)

A
radio frequency oscillator is at Connect the Morse key (S1) across functions as the emitter follower.
the heart of all radio transmitters capacitor C5 as shown in the figure. At- The output is taken from the emitter of
and receivers. It generates high- tach a telescopic antenna (capable of T2.
transmitting
over a short
distance) at
the output
terminal.
The coil and
gang capaci-
tor C2 form
the tank cir-
cuit. The
coil (L) has
a total of 60
t u r n s .
Winding de-
tails are
given in Fig.
2. Tappings
on the coil
allow selec-
Fig. 1: Circuit of multiband CW transmitter tion of the
required
frequency oscillations, which are known band. The frequency can be varied using
as carrier waves. Heres a continuous- C2 (main tuning).
wave (CW) transmitter for transmitting On reducing turns of the coil (using
Fig. 2: Details of the inductor
Morse code signals in the shortwave band selector switch S2), the oscillators
(see Fig. 1). It is basically a variable frequency increases because frequency is For stable oscillations, use a polysty-
frequency oscillator (VFO) whose fre- inversely proportional to inductance. rene capacitor as C1. All other capacitors
quency can be varied from 5.2 MHz to Capacitor C1 couples the signal from may be ceramic disk type. Enclose the
15 MHz. The signal can be received in the tank circuit to the base of transistor circuit in a metal box for better
the shortwave band by any radio re- T1 (2N2222). Transistor T1 provides shielding.

124 ELECTRONICS FOR YOU JANUARY 2004


CIRCUIT
IDEAS

SIMPLE SHORT-WAVE S.C. DW


IVEDI

TRANSMITTER
 PRINCE PHILLIPS

T
his low-cost short-wave trans-
mitter is tunable from 10 to 15
MHz with the help of J gang
condenser VC1, which determines
the carrier frequency of the
transmitter in conjunction with
inductor L1. The frequency trimming
can be done with VC2. The carrier
is amplified by transistor T4
and coupled to RF amplifier transis-
tor T1 (BD677) through transformer
X1*.
The transmitter does not use any
modulator transformer. The audio out-
put from condenser MIC is
preamplified by transistor T3 (BC548).
The audio output from T3 is further
amplified by transistor T2 (BD139),
which modulates the RF amplifier
built around transistor T1 by varying
the current through it in accordance
with the audio signals amplitude. Fig. 1: Simple shortwave transmitter
RFC1 is used to block the carrier RF
signal from transistor T2 and the transformer transformer X1, we used a readymade
power supply. are given in short-wave antenna coil with
The modulated RF is coupled the figure. tuning slug (Jawahar make),
to the antenna via capacitor C9. EFY Lab. which worked satisfactorily. We tested
For antenna, one can use a 0.5m During test- the transmitter reception up to
long telescopic aerial. Details of ing, in place of
Fig. 2: Pin configurations of 75 metres and found good signal
RF choke, inductor L1 and coupling BD139, BD677 and BC548 coupling strength. 

WWW.EFYMAG.COM ELECTRONICS FOR YOU APRIL 2006 95

CMYK
CIRCUIT
IDEAS

IVEDI
S.C. DW
SOLAR LIGHTING SYSTEM
 ASHISH AHUJA ing occurs moments after the voltage ing and the battery is in the charging
across it falls below 12V. Capacitor C1 mode.

T
he world cannot continue to rely also filters the rectified output if the At night, there will be no genera-
for long on fossil fuels for its battery is charged through AC power. tion of electricity. The relay will not
energy requirements. Fossil fuel The higher the value of the capacitor, energise and charging will not take
reserves are limited. In addition, when the more the delay in switching. The place. The solar energy stored in the
burnt, these add to global warming, switching time is to be properly ad- battery can then be used to light up
air pollution and acid rain. justed because the charging would the lamp. A 3W lamp glows continu-
So solar photovoltaic systems are practically stop in the early evening ously for around 6 hours if the battery
ideal for providing independent elec- while we want the light to be on dur- is fully charged. Instead of a 3W lamp,
trical power and lighting in isolated ing late evening. you can also use a parallel array of
rural areas that are far away from the During daytime, relay RL1 serially connected white LEDs and lim-

power grid. These systems are non- energises, provided DPDT switch S1 iting resistors to provide sufficient
polluting, dont deplete the natural re- is towards the solar panel side. Due to light for even longer duration.
sources and are cheap in the long run. energisation of relay RL1, the positive In case the battery is connected in
The aim of this circuit is to demon- terminal of the battery is connected to reverse polarity while charging, IC
strate how we can utilise solar light to the output of regulator IC 7808 (a 3- 7808 will get damaged. The circuit in-
electrify the remote areas, i.e., how we terminal, 1A, 8V regulator) via diode dicates this damage by lighting up
can store the solar energy and then use D1 and normally-open (N/O) contacts LED2, which is connected in reverse
it for small-scale lighting applications. of relay RL1. Here we have used a 6V, with resistor R2. However, the circuit
Solar cells generate direct current, 4.5Ah maintenance-free, lead-acid re- provides only the indication of reverse
so make sure that DPDT switch S1 is chargeable battery. It requires a con- polarity and no measure to protect the
towards the solar panel side. The DC stant voltage of approx. 7.3 volts for IC. A diode can be connected in re-
voltage from the solar panel is used to its proper charging. verse to the common terminal of the
charge the battery and control the re- Even though the output of the so- IC but this would reduce the voltage
lay. lar panel keeps varying with the light available to the battery for charging
Capacitor C1 connected in parallel intensity, IC 7808 (IC1) is used to give by another 0.7 volt.
with a 12V relay coil remains charged a constant output of 8V. Diode D1 There is also a provision for esti-
in daytime until the relay is activated. causes a drop of 0.7V, so we get mating the approximate voltage in the
Capacitor C1 is used to increase the approx. 7.3V to charge the battery. battery. This has been done by connect-
response time of the relay, so switch- LED1 indicates that the circuit is work- ing ten 1N4007 diodes (D2 through D11)

98 APRIL 2006 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
CIRCUIT
IDEAS
in forward bias with the battery. The tery voltage falls due to prolonged op- consecutive days, the battery will not
output is taken by LED3 across diodes eration, LED3 no longer glows as the charge. So a transformer and full-wave
D2, D3, D4 and D5, which is equal to drop across D2, D3, D4 and D5 is not rectifier have been added to charge the
2.8V when the battery is fully charged. enough to light it up. This indicates battery by using DPDT switch S1. This
LED3 lights up at 2.5 volts or above. that the battery has gone weak. Micro- is particularly helpful in those areas
Here it glows with the voltage drop switch S1 has been provided to do this where power supply is irregular; the
across the four diodes, which indicates test whenever you want. battery can be charged whenever
that the battery is charged. If the bat- If the weather is cloudy for some mains power is available. 

WWW.EFYMAG.COM ELECTRONICS FOR YOU APRIL 2006 99

CMYK
CIRCUIT IDEAS

FLASHING-CUM-RUNNING LIGHT S.C.


DWI
VED
I

A. SIVASUBRAMANIAN quencies, which are given to decade spectively. The LEDs are activated one by
counter IC2. The decade counter is de- one by the decade counter outputs.

T
his circuit generates flashing lights signed to count Q0, Q1 and Q2 outputs, Astable multivibrator IC3 produces ap-
in running pattern. In conventional while its fourth output (Q3) is used to proximately 8.4Hz clock, which is given
running lights, the LEDs glow one reset it. The Q0, Q1 and Q2 outputs of IC2 to transistor T4 via resistor R9 to switch
on the supply to transis-
tors T1 through T3 for
each positive half cycle
of IC3 output.
Now for each output
period of IC2, a particu-
lar LED blinks at the rate
of 8.4 Hz. The blinking
then shifts to the next
LED when the output of
IC2 advances by one
count (after about 1.3
seconds). Similarly, the
blinking effect shifts to
the next LED after an-
other 1.3 seconds and the
cycle repeats thereafter.
Flashing frequencies
can be changed by
by one. In this circuit, the LEDs flash a are fed to npn transistors T1, T2 and T3, changing the values of R10 and R11 and
number of times one by one. respectively. The collectors of transistors capacitor C4. The circuit can be easily as-
The circuit comprises two astable T1, T2 and T3 are connected to the emit- sembled on any general-purpose PCB. It
multivibrators (IC1 and IC3) and a decade ter of transistor T4, while their emitters works off a 12V regulated power supply.
counter (IC2). Astable multivibrator IC1 are connected to LED1, LED2 and LED3 You can also add more LEDs in series with
produces approximately 0.72Hz clock fre- via 150-ohm resistors R6, R7 and R8, re- LED1, LED2 and LED3, respectively.

ELECTRONICS FOR YOU AUGUST 2004


CIRCUIT IDEAS

QUALITY FM TRANSMITTER SUN


IL KU
MAR

TAPAN KUMAR MAHARANA For frequency stability, use a regulated L1: 5 turns of 24 SWG wire closely
DC power supply and house the transmit- wound over a 5mm dia. air core

T
his FM transmitter for your stereo ter inside a metallic cabinet. For higher L2: 2 turns of 24 SWG wire closely
or any other amplifier provides a antenna gain, use a telescopic antenna in wound over the 5mm dia. air core
good signal strength up to a dis- place of the simple wire. Coils L1 and L2 L3: 7 turns of 24 SWG wire closely
tance of 500 metres with a power
output of about 200 mW. It works
off a 9V battery.
The audio-frequency modula-
tion stage is built around transis-
tor BF494 (T1), which is wired
as a VHF oscillator and modu-
lates the audio signal present at
the base. Using preset VR1, you
can adjust the audio signal level.
The VHF frequency is decided by
coil L1 and variable capacitor
VC1. Reduce the value of VR2 to
have a greater power output.
The next stage is built around
transistor BC548 (T2), which
serves as a Class-A power ampli-
fier. This stage is inductively
coupled to the audio-frequency
modulation stage. The antenna
matching network consists of
variable capacitor VC2 and capacitor C9. are to be wound over the same air core wound over a 4mm dia. air core
Adjust VC2 for the maximum transmis- such that windings for coil L2 start from L4: 5 turns of 28 SWG wire on an
sion of power or signal strength at the the end point for coil L1. Coil winding intermediate-frequency transmitter (IFT)
receiver. details are given below: ferrite core

AUGUST 2004 ELECTRONICS FOR YOU


CIRCUIT
IDEAS

ULTRASONIC PROXIMITY DETECTOR


 PRADEEP G. general-purpose PCB as shown in IVEDI
Fig. 3 and connect to identical points S.C. DW

W
e the humans can hear (a through d) of the detector circuit
sound of up to 20kHz fre- (Fig. 2) via external wires.
quency only. This proxim- The 40kHz oscillator is built ing CMOS decade counter IC4017 (IC1)
ity detector works at a frequency of 40 around transistors T1 and T2. If there is used at the output of the amplifier.
kHz. It uses two specially made ultra- is a solid object in front of the ultra- IC1 divides the input frequency by 10,
sonic transducers: One transducer sonic transmitter module (TX1), some so the 40kHz signal becomes 4 kHz,
emits 40kHz sound, while the other signals will be reflected back and which is within the audible range. The
receives 40kHz sound and converts it sensed by the receiver transducer 4kHz signals are fed to op-amp IC 741
into electrical variation of the same fre- (RX1). The 40kHz ultrasonic signals are (IC2), which is wired as an earphone
quency. converted into 40kHz electric signals amplifier.
Fig. 1 shows the block diagram of by the receiver and then amplified by This circuit can be used as an elec-
the ultrasonic proximity detector and transistors T3 and T4. tronic guard for the blind. Keep it
Fig. 2 shows its circuit. Mount the The amplified signals are still in (along with 9V battery) in their pocket
transducers (transmitter as well as re- the inaudible range, i.e., these cant be with earphone plugged to their ear.
ceiver) about 5 cm apart on a piece of heard. So a frequency-divider stage us- The transducer modules should be di-
rected to-
wards the
walking
path. If
any object
comes up
in front or
n e a r b y , Fig. 3: Transducers mounted
Fig. 1: Block diagram of ultrasonic proximity detector they will on the PCB

Fig. 2: Circuit of ultrasonic proximity detector

88 DECEMBER 2006 ELECTRONICS FOR YOU WWW.EFYMAG.COM


CIRCUIT
IDEAS
hear 4kHz sound through the ear- pets can hear ultrasonic sound, which up and avoid banging against some
phone and can change their path ac- will irritate them and they will bark invisible objects. However, instead of
cordingly. unnecessarily. earphones the sound in this case is
One thing to be noted here is that EFY note. A similar device is used heard through a speaker and there is
while using this device, avoid the com- in some cars, such as Skodas Laura also an LCD screen to visually assist
pany of your pets. The reason is that model, to help the drivers in backing the driver. 

WWW.EFYMAG.COM ELECTRONICS FOR YOU DECEMBER 2006 89


CIRCUIT
IDEAS
tivity. Transistor T1 amplifies the sig-
nal received from the condenser mic
UMAR through capacitor C1. When transistor
SUNIL K
SECRET BELL T1 conducts, a short negative pulse
triggers the monostable wired around
IC1. The monostable time is decided
by resistor R7
 D. MOHAN KUMAR a switchless musical bell that activates and capacitor
with a single puff of breath. The con- C5. Reset pin 4

M
any people move through denser mic fitted inside the existing of IC1 is made
the corridors and steps in door-bell switch box will trigger the stable by R6 and
multistoried buildings. As bell on detecting air-pressure changes C3. Resistor R5
most of them are strangers for the in- following the breath. As only the mem- acts as a pull-up
habitants of the flats, it becomes nec- bers of your family know the secret of Fig. 2: Pin configuration resistor for trig-
essary to verify the identity of the visi- the bell and hence puff out before the of UM66 and BC548/549 ger pin 2 of IC1
tor before opening the door as he can hole for the switch box, the door can to keep the trig-
be a burglar. be opened without fear. ger pin high in the standby mode.
This circuit helps you identify the The front end of the circuit is a con- The high output from IC1 is used
members of your family. It is basically denser mic amplifier with fixed sensi- to power IC UM66 (IC2). IC2 gener-
ates a soft melody on receiv-
ing 3 volts at pin 2. Transis-
tor T2 amplifies the music
notes. A zener diode main-
tains the power for IC2 at a
safer level of 3 volts.
Assemble the circuit on
any general-purpose PCB
and enclose in a suitable
cabinet. The condenser mic
should be connected to the
circuit using a single-core
shielded wire to reduce
noise interference. Drill a
1mm hole in the cover of the
existing bell switch box and
fix the mic inside the box
with adhesive. The front side
of the mic should face the
Fig. 1: Secret bell circuit hole. 

94 DECEMBER 2006 ELECTRONICS FOR YOU WWW.EFYMAG.COM


CIRCUIT
IDEAS

SHADOW ALARM SANI TH


EO

D. MOHAN KUMAR The non-inverting input of IC1 gets a and zener diode ZD1 provide 3.1V DC
controlled voltage from potential di- to IC UM3561.

T
his opto-sensitive circuit sounds vider R2 and VR1. The circuit is easy to assemble as
an alarm whenever a shadow In the presence of ambient light, it requires only a few low-cost com-
falls on it. So it can be used at the phototransistor conducts and the ponents. Enclose it in a cabinet with
night by shopkeepers to protect the inverting input (pin 2) of IC1 gets a the photo-sensor inside. Drill a 5mm
valuables in their showrooms. A dim lower voltage than its non-inverting hole on the front panel of the cabinet
lighting in the room is necessary to input (pin 3). This makes the output to let ambient light fall on the photo-
detect the moving shadow. Unlike of IC1 high, which is indicated by the sensor.
opto-interruption alarms based on glowing of LED1. Adjust potmeter VR1 (47k) until
light-dependent resistors (LDRs), it When a shadow falls on the photo- LED2 stops glowing and the buzzer
does not require an aligned light beam sensor, the output of IC1 goes low. stops beeping while LED1 glows. This
to illuminate the photo-sensor. This low pulse triggers the monostable is the position of VR1 to be main-

The circuit is powered by a 9V PP3 (IC2) designed for a delay of 51 sec- tained for that particular
battery and uses the most sensitive onds using R6 and C3. The output of intensity of light. LED1 will continue
photo-sensor L14F1 to detect shadows. IC2 is used to light up LED2 and acti- to glow even when a shadow is
It is portable and can be used at any vate the alarm. detected.
place that is to be monitored. Slide switch S2 is used to select ei- The circuit is now ready to use.
Op-amp A741 (IC1) is used as a ther the buzzer or siren. When it is To test it, move a paper in front of
voltage comparator. Its inverting in- towards left the buzzer beeps, and the unit. If LED2 glows along with
put is biased by the voltage obtained when it is towards right IC UM3561 the beep of the buzzer, it means that
from the junction of 100k resistor R1 (IC3) activates to give a loud alarm the photo-sensor has detected a
and the collector of phototransistor T1. simulating a police siren. Resistor R8 shadow. z

100 JANUARY 2006 ELECTRONICS FOR YOU WWW.EFYMAG.COM

CMYK
CIRCUIT
IDEAS

IR BURGLAR DETERRENT S.C. DW


IVEDI

T.K. HAREENDRAN readily-available electronic compo- siren-driver transistor T2. This condi-
nents. LED2 is used for indicating tion is indicated by the glowing of

T
hwart any burglary attempt us- power-on. LED1. The time-out period can be in-
ing this infrared proximity de- The transmitter section is built creased or decreased by changing the
tector that triggers an alarm around timer 555 (IC1), while the re- value of capacitor C6.

Fig. 1: Circuit for IR burglar deterrent

ceiver-cum-alarm section con- Now siren-sound generator IC3 is


sists of IR sensor TSOP1738, activated and its output signal is am-
dual precision monostable plified by transistor T4 to produce a
multivibrator CD4538 and sound resembling that of police siren.
three-siren sound generator IC Resistor R14 limits the loudspeaker
UM3561. Pin configurations of current.
UM3561 and TSOP1738 are The output tone of siren-sound
shown in Fig. 2. generator IC3 can be set by connect-
The astable multivibrator ing its pin 6 to either Vcc or GND.
(IC1) oscillates at a frequency When you connect pin 6 to Vcc IC3
of around 38 kHz, which is produces the sound of fire-alarm si-
transmitted by the infrared ren, but when you connect it to GND
LED (IR LED1). Resistor R2 it produces the sound of ambulance
Fig. 2: Pin configurations of UM3561 and TSOP1738
limits the current across the IR siren.
LED. Assemble the transmitter and re-
when the rays falling on its sensor are The transmitted IR signal directly ceiver-cum-alarm circuits on two sepa-
interrupted. falls on IR sensor TSOP1738. When- rate general-purpose PCBs and house
The circuit of IR burglar deterrent ever the IR signal is interrupted, its in suitable cabinets. Mount the units
(shown in Fig. 1) comprises transmit- output pin 3 goes low and IC2 is trig- on the opposite sides of the entrance
ter and receiver-cum-alarm sections. It gered at pin 5 through transistor T2. gate such that IR rays from IR LED1
works off 6V DC, 500mA uninter- As a result, its output at pin 7 goes fall directly on the IR receiver module
rupted supply and uses low-cost low (for a preset time) to forward bias (TSOP1738). z

WWW.EFYMAG.COM ELECTRONICS FOR YOU JANUARY 2006 101

CMYK
circuit
ideas

Traffic Baton edi


s.c. dwiv
Ashok K. Doctor their hand signals may not be visible
at night, it is necessary to have some

I
n small towns, there are no traffic illuminated direction indicator.
lights and the police regulates the Here we present two circuits for other uses bright LEDs. Both the cir-
traffic with hand signals. Since the same. One uses 6V bulbs and the cuits operate off a 6V, 4.5Ah recharge-
able battery,
which is
clipped to
the police-
mans waist-
band.
Fig. 1
shows the
circuit of the
LED flasher.
It is wired
as an astable
multivibra-
tor. The on
time of the
LED cluster
is about 108
milliseconds
and off time
is around 105
milliseconds.
The frequen-
cy is around
Fig. 1: Circuit of LED flasher 5 Hz. A di-
ode is used
in series with the base of BD140 to
increase the forward voltage in order
to ensure that when BD139 conducts,
BD140 is cut-off. Select the LED which
consumes low current (20 mA or so)
but flashes bright.
Fig. 2 shows the circuit of the bulb
flasher. Timer NE555 is wired as an
astable multivibrator. The on period
of flashing bulb is around 344 milli-
seconds and off period is around 329
milliseconds. The frequency is around
1.5 Hz. Bulb-driver transistors 2N3053/
BD139 and 2N2905/BD140 are used to
light up the lamp. Two diodes are used
in series with the base of 2N2905 to
increase the forward voltage in order
to ensure that when BD139 is conduct-
ing, BD140 is cut-off. Slide switch S2 is
Fig. 2: Circuit of bulb flasher used to change the colour status of the

9 4 j a n ua ry 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
flashing bulb.
Assemble the LED flasher and
bulb flasher circuits on separate gen-
eral-purpose PCBs. Enclose the LED
flasher in a transparent acrylic pipe as
shown in Fig. 3. The bulb flasher can
be enclosed in another transparent
acrylic pipe as shown in Fig. 4. Slide
switches and red and green acrylic
sheets are used for appropriate colour
emissions. Now your traffic baton is
Fig. 3: Traffic baton for LED flasher ready to use.

Fig. 4: Traffic baton for bulb flasher

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u j a n ua ry 2 0 0 9 9 5
circuit
ideas

Laser-guided Door Opener s.c. dwiv


edi

T.K. Hareendran ducts to reverse-bias transistor T3 and


the input to the first gate (N1) of IC1

T
his automatic door opener can (CD4001) is low. The high output at The second monostable built
be made using readily available pin 3 of gate N1 forward biases the around IC2 (CD4538) is enabled by
components. The electromag- LED-driver transistor (T4) and the the high-going pulse at its input pin
netic relay at the output of this gadget green standby LED (LED2) lights up 12 through the output of gate N4 of
can be used to control the DC/AC continuously. The rest of the circuit the first monostable when the laser
door-opener motor/solenoid of an remains in standby state. beam is interrupted. As a result, relay
electromechanical door opener as- When someone interrupts the RL1 energises and the door-opener
sembly, with slight intervention in its laser beam, photo-transistor T1 stops motor starts operating. LED3 glows to
electrical wiring. conducting and transistor T3 becomes indicate that the door-opener motor is
A laser diode (LED1) is used here forward-biased. This makes the output getting the supply. At the same time,
as the light transmitter. Alternatively, of gate N1 go low. Thus LED-driver piezobuzzer PZ1 sounds an alert.
you can use any available laser pointer. transistor T4 becomes reverse-biased Transistor T5, whose base is connected
The combination of resistor R1 and and LED2 stops glowing. At the same to Q output (pin 10) of IC2, is used for
diode D1 protects the laser diode time, the low output of gate N1 makes driving the relay. Transistor T6, whose
from over-current flow. By varying the output of N2 high. Instantly, this base is connected to Q output of IC2,
muliturn trimpot VR1, you can adjust high level at pin 4 of gate N2 triggers is used for driving the intermittent pi-
the sensitivity. (Note that ambient light the monostable multivibrator built ezobuzzer. On time of relay RL1 can
reflections may slightly degrade the around the remaining two gates of IC1 be adjusted by varying trimpot VR2.
performance of this unit.) (N3 and N4). Values of resistor R8 and Resistor R9, variable resistor VR2 and
Initially, when the laser beam is capacitor C1 determine the time period capacitor C3 decide the time period of
falling on photo-transistor T1, it con- of the monostable. the second monostable and through it

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u j a n ua ry 2 0 0 9 9 7
circuit
ideas
on time of RL1. totransistor on opposite sides of the relay contacts is the one used in elec-
The circuit works off 12V DC doorframe and align them such that tromechanical door-opener assembly.
power supply. Assemble it on a gen- the light beam from the laser diode If you want to use a DC motor, replace
eral-purpose PCB. After construction, falls on the phototransistor directly. mains AC connection with a DC power
mount the laser diode and the pho- The motor connected to the pole of supply.

9 8 j a n ua ry 2 0 0 9 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
CCI IRRC UCIU
T II TD E IADS E A S

MOBILE CELLPHONE CHARGER SAN


I THE
O

D. MOHAN KUMAR cells gives sufficient


current (1.8A) to LED Status for Different Charging Conditions

C
harging of the cellphone battery is charge the battery con- Load across the output Output frequency (at pin 3) LED1
a big problem while travelling as nected across the out-
power supply source is not gener- put terminals. The cir- No battery connected 765 kHz On
cuit also monitors the Charging battery 4.5 Hz Blinks
ally accessible. If you keep your cellphone
switched on continuously, its battery will voltage level of the bat- Fully charged battery 0 Off
go flat within five to six hours, making tery. It automatically
the cellphone useless. A fully charged bat- cuts off the charging process when its out- to take output pin 3 high. When the battery
tery becomes necessary especially when put terminal voltage increases above the is fully charged, the output terminal voltage
your distance from the nearest relay sta- predetermined voltage level. increases the voltage at pin 2 of IC1 above
tion increases. Heres a simple charger that Timer IC NE555 is used to charge and the trigger point threshold. This switches off
replenishes the cellphone battery within monitor the voltage level in the battery. the flip-flop and the output goes low to
two to three hours. Control voltage pin 5 of IC1 is provided terminate the charging process. Threshold
Basically, the charger is a current-lim- with a reference voltage of 5.6V by zener pin 6 of IC1 is referenced at 2/3Vcc set by
VR1. Transistor T1 is used to enhance the
charging current. Value of R3 is critical in
providing the required current for charging.
With the given value of 39-ohm the charg-
ing current is around 180 mA.
The circuit can be constructed on a
small general-purpose PCB. For calibration
of cut-off voltage level, use a variable DC
power source. Connect the output termi-
nals of the circuit to the variable power
supply set at 7V. Adjust VR1 in the middle
position and slowly adjust VR2 until LED1
goes off, indicating low output. LED1
should turn on when the voltage of the
variable power supply reduces below 5V.
Enclose the circuit in a small plastic case
and use suitable connector for connecting
ited voltage source. Generally, cellphone diode ZD1. Threshold pin 6 is supplied to the cellphone battery.
battery packs require 3.6-6V DC and 180- with a voltage set by VR1 and trigger pin Note. At EFY lab, the circuit was tested
200mA current for charging. These usually 2 is supplied with a voltage set by VR2. with a Motorola make cellphone battery
contain three NiCd cells, each having 1.2V When the discharged cellphone battery rated at 3.6V, 320 mAH. In place of 5.6V
rating. Current of 100mA is sufficient for is connected to the circuit, the voltage given zener, a 3.3V zener diode was used. The
charging the cellphone battery at a slow to trigger pin 2 of IC1 is below 1/3Vcc and charging current measured was about 200
rate. A 12V battery containing eight pen hence the flip-flop in the IC is switched on mA.The status of LED1 is shown in the table.

ELECTRONICS FOR YOU MARCH 2004


CIRCUIT IDEAS

SMART FOOT SWITCH S.C.


DWI
VED
I

JAYAN A.R. two flip-flops are cross-connected, i.e. also connected to clear input CLR2 of
CLK1 (pin 1) is conneted to CLR2 (pin 8) flip-flop IC1(B) so as to clear it asynchro-

S
uch jobs as jewel cutting and polish- and CLR1 (pin 3) is connected to CLK2 ( nously. Switch debounces dont affect the
ing require the workers to switch on/ pin 6). Clock input pins 1 and 6 are pulled circuit as the same J1 state is being trans-
off two electrical appliances one af- up high through resistors R1 and R4 (each ferred to Q1 output on succeeding trailing
ter another repeatedly for two different ser- 4.7k), respectively. edges. At the same time, device 2 is

vices on the same workpiece. This is cum- Push-to-on switches S1 and S2 are con- switched off.
bersome as they need to fully concentrate nected between clock and ground of the When switch S2 is pressed, flip-flop
on delicate handwork on precious jewels. flip-flops. Switch S1 activates device 1, IC1(A) gets cleared via CLR1 and the high
Switching in such situations cannot be while switch S2 activates device 2. Switch state of J2 input of flip-flop IC1(B) is trans-
done by hand, and doing it by foot using S3 activates both device 1 and device 2 ferred to its Q2 output on the trailing edge
ordinary switches is too tedious. This is simultaneously. Device status is indicated of clock (CLK2). This high level (logic1)
mainly because of the difficulty in sensing by LED1 and LED2. Glowing of LED1 and activates relay RL2 through pin 15 of IC2,
and controlling the switch position by foot. LED2 indicates that device 1 and device 2, turning on device 2 via its N/O contacts.
Ordinary pushbutton switches make or respectively, are in on condition. The LEDs At the same time, device 1 is switched off.
break a contact momentarily, and they can- are connected from +5V to Q1 (pin 14) Now if you want to turn on both the
not hold the keypress status. You need a and Q2 (pin 10) of IC1 through resistors devices simultaniously, press switch S3
bistable multivibrator with two indepen- R3 and R6, respectively. momentarily. Switch S3 provides ground
dent trigger inputs to solve this problem. Initially when the power supply is to preset inputs PRE1 and PRE2 of flip-
Heres a smart foot switch based on switched on, Q1 and Q2 outputs of the JK flops IC1(A) and IC1(B), making their Q1
dual negative-edge triggered master slave flip-flops are at low level (logic 0). When and Q2 outputs high, which energises
JK flip-flop IC 74LS76 (IC1). J1 and J2 switch S1 is pressed for the first time, the both the relays turning on the two de-
inputs are conneted to 5V through resis- high level (logic 1) present at J1 input is vices. LEDs glow to indicate that both the
tors R2 and R5 (each 10k), respectively. transferred to Q1 output on the trailing devices are on.
K1 and K2 inputs are grounded. Preset edge of clock (CLK1). The high level Place all the three switches (S1 through
pins 2 and 7 are shorted and connected to (logic 1) at Q1 activates relay RL1 through S3) where you can easily press them by
5V via resistor R7 (10k). Push-to-on switch pin 16 of IC ULN2003 (IC2), turning on foot when required. The LEDs can also be
S3 connected to the preset inputs is also device 1 via its normally-opened (N/O) mounted at a convenient location to know
grounded. Clock and clear inputs of the contacts. Clock CLK1 of flip-flop IC1(A) is whether the devices are turned on.

ELECTRONICS FOR YOU MARCH 2004


CIRCUIT IDEAS

ELECTRONIC SECURITY SYSTEM S.C. DWI


VED
I

K. BHARATHAN output of
t h e

T
his reliable and easy-to-operate elec- Darlington
tronic security system can be used pair drives
in banks, factories, commercial es- the loud-
tablishments, houses, etc. speaker
The system comprises a monitoring sys- whose out-
tem and several sensing zones. Each sens- put volume
ing zone is provided with a closed-loop can be con-
switch known as sense switch. Sense trolled by
switches are fixed on the doors of premises potentiom-
under security and connected to the moni- eter VR1.
toring system. As long as the doors are Capacitor
closed, sense switches are also closed. The C1 serves
monitoring system can be installed at a as a filter
convenient central place for easy operation. capacitor.
Fig. 1 shows the monitoring circuit Y o u
only for zone 1 along with the common can alter
alarm circuit. For other zones, the the alarm
monitoring circuit is identical, with only sound as
the prefixes of components changing desired by
as per zone number. Encircled points A, changing
B, and C of each zone monitoring circuit the con-
need to be joined to the corresponding nections of
points of the alarm circuit (upper half IC1 as
of Fig. 1). shown in
When zone 1 sensing switch S11, zone the table.
on/off slide switch S12, and system on/off T h e
switch S1 are all on, pnp transistor T12 circuit con-
reverse biases to go in cut-off condition, tinues to
with its collector at around 0 volt. When sound the
the door fitted with sensor switch S11 is alarm until
opened, transistor T12 gets forward biased zone door Fig. 1: Monitoring circuit along with the alarm circuit
and it conducts. Its collector voltage goes
high, which forward biases transistor T10
via resistor R10 to turn it on. (Capacitor
C10 serves as a filter capacitor.) As a re-
sult, the collector voltage of transistor T10
falls to forward bias transistor T11, which
conducts and its collector voltage is sus-
tained at a high level. Under this latched
condition, sensor switch S11 and the state
of transistor T12 have no effect. In this
state, red LED11 of the zone remains lit.
Simultaneously, the high-level voltage
from the collector of transistor T11 via di-
ode D10 is applied to VDD pin 5 of siren
sound generator IC1 (UM3561) whose pin
2 is grounded. Resistor R3 connected across
pins 7 and 8 of IC1 determines the fre-
Fig. 2: Physical layout of sensors and monitoring/alarm system
quency of the in-built oscillator. As a re-
sult, IC1 starts generating the audio signal is closed (to close switch S11) and the The system operates off a 3V DC bat-
output at pin 3. The output voltage from reset switch is pressed momentarily (which tery or recharging battery with charging
IC1 is further amplified by Darlington pair causes transistor T10 to cut off, returning circuit or battery eliminator. If desired,
of transistors T1 and T2. The amplified the circuit to its initial state). more operating zones can be added.

MARCH 2003 ELECTRONICS FOR YOU


CIRCUIT IDEAS

Alarm sound Circuit connections for respective ing to the zone glows to indicate that the
zones in closed door of the zone is open. The alarm and
IC pin 1 connected to IC pin 6 connected to position. Also the LED indication will continue even af-
Police siren NC NC keep zone slide ter that particular door with the sensing
Ambulance siren NC VDD switches S12, S22, switch is immediately closed, or even if
Fire engine Sound NC VSS S32, S42, etc in that switch is removed/damaged or con-
Machinegun sound VSS NC on position. This necting wire is cut open.
puts the system in Any particular zone in the monitoring
Note. NC indicates no connection
operation, guard- system can be put to operation or out of
ing all the zone operation by switching on or switching off
Initially keep the monitoring system doors. the corresponding slide switch in the moni-
switch S1 off. Keep all the zone doors fixed Now, if the door of a particular zone toring system.
with sensing switches S11, S21, S31, S41, is opened, the monitoring system sounds The circuit for monitoring four zones
etc closed. This keeps the sensing switches an audible alarm and the LED correspond- costs around Rs 400.

ELECTRONICS FOR YOU MARCH 2003


CIRCUIT IDEAS

MULTI-SWITCH DOORBELL
WITH INDICATORS S.C.
DWI
VED
I

T.K. HAREENDRAN also pulled down by resistor R5. Clock in-


put (pin 5) of the quad D-latch is wired in

H
eres the circuit of a multi-switch normally low mode and hence all the four
input musical doorbell (shown in outputs (Q0 through Q3) have the same
Fig.1). The circuit is built around states as their corresponding data inputs.
the popular and less expensive quad As a result, LED1 through LED4 are in off Fig. 2: Suggested panel layout of musical
D-latch CD4042B (IC1). When switch S6 condition. doorbell
is pushed to on condition, the circuit gets There are four switches fitted at four
+9V and the four data inputs (D1 through different doors/gates outside the home and switch S1 at door 1), pins 2 and 4 of IC1
D4) of ICI are in low state because these a monitoring panel (as shown in Fig. 2) in go high.
are tied to ground via resistors R1 through the common room of the home. If any Simultaneously, pin 3 to IC1 (Q0 out-
R4. Polarity input (POL) pin 6 of IC1 is switch is pressed by a visitor (for example, put) goes low and LED1 starts glowing to
indicate that switch
S1 is pressed by
someone.
Next, output pin
13 of the dual 4-in-
put NOR gate (IC2,
here wired as a
single 4-input OR
gate) goes high to
forward bias buzzer-
driver transistor T1
via resistor R10.
The final result is
a soft and pleasing
musical bell, which
lasts until reset
switch S5 is pressed
by the owner. For
this latching arrange-
ment , output pin 13
of IC2 from the NOR
gate is fed back to
the clock input of
IC1.
The circuit costs
Fig. 1: Multi-switch doorbell with indicators around Rs 100.

ELECTRONICS FOR YOU APRIL 2003


CIRCUIT IDEAS

LEAD-ACID BATTERY CHARGER WITH SAN


I THE
O

VOLTAGE ANALYSER
D. MOHAN KUMAR The charger circuit consists of a stan- comprising resistors R1 through R5. Thus
dard step-down 12V AC (2-amp) trans- the voltage applied to any non-inverting

N
owadays maintenance-free lead-acid former and a bridge rectifier comprising input is the ratio of the resistance between
batteries are common in vehicles, diodes D1 through D4. Capacitor C1 that non-inverting terminal and ground to
inverters, and UPS systems. If the smoothes the AC ripples to provide a clean the total resistance (R1+R2+R3+R4+R5).
battery is left in a poor state of charge, its DC for charging the battery. The resistor chain provides a positive volt-
useful life is shortened. It also reduces the The battery voltage analyser circuit is age of above 5V to the non-inverting inputs
capacity and rechargeability of the battery. built around the popular quad op-amp of all op-amps when battery voltage is 12.5V
For older types of batteries, a hygrometer LM324 that has four separate op-amps (A or more. A reference voltage of 5V is ap-
can be used to check the specific gravity through D) with differential inputs. Op- plied to the inverting inputs of op-amps via
of the acid, which, in turn, indicates the amps have been used here as compara- 5V zener diode ZD1.
charge condition of the battery. However, tors. Switch S2 is a pushswitch, which is When the circuit is connected to the
you cannot use a hygrometer for sealed- pressed momentarily to check the battery battery and pushswitch S2 is pressed (with
type maintenance-free batteries. The only voltage level before charging the battery. S1 open), the battery voltage is sampled
way to know their charge level is by check- The non-inverting terminals of op-amps by the analyser circuit. If the supply volt-
ing their terminal voltage. A through D are connected to the positive age sample applied to the non-inverting
The circuit presented here can replen- supply rail via a potential divider chain input of an op-amp exceeds the reference
ish the charge in a battery within 6-8 hours. voltage applied
It also has a voltage analysing circuit for Battery voltage Status of LEDs Comments to the invert-
quick checking of voltage before start of Red Green Yellow Orange ing inputs, the
charging, since overcharging may damage output of the
the battery. The voltage analyser gives an <9.8V Off Off Off Off Buzzer off
op-amp goes
audio-visual indication of the battery volt- >9.8V On Off Off Off Danger level
high and the
age level and also warns about the critical 11.5V On On Off Off Low level
LED connected
voltage level at which the battery requires 12.0V On On On Off Normal level
at its output
immediate charging. 12.5V On On On On High level
lights up.

ELECTRONICS FOR YOU MARCH 2003


CIRCUIT IDEAS

The different levels of battery voltages 9.8V. If the voltage level goes below 9.8V, wire and crocodile clips to connect the
are indicated by LED1 through LED4. All the buzzer goes off, which indicates that charger to the battery. A 2.5-amp fuse con-
the LEDs remain lit when the battery is its time to replace the battery. The status nected to the output of the charger pro-
fully charged (above 12.5V). The buzzer of LEDs for different battery voltages is tects the analyser circuit against acciden-
connected to the output of IC1 also sounds shown in the table. tal polarity reversal.
(when S2 is pressed with S1 kept open) as The circuit can be assembled on a gen- The circuit costs around Rs 120 with
long as the voltage of battery is above eral-purpose PCB or a veroboard. Use 4mm all accessories.

MARCH 2003 ELECTRONICS FOR YOU


CIRCUIT IDEAS

TELEPHONE RECEIVER S.C.


DWIV
EDI

S.K. ROUSHON bridge rectifier consisting of diodes D1 voice input for the amplifier comes di-
through D4 protects the circuit from any rectly from the positive end of the bridge

T
his simple telephone receiver with- polarity change in the telephone line. PNP rectifier.
out a dialling section can be con- transistor MPS-A92 (T1) is the main inter- The amplifier section is built around
nected in parallel to a telephone line. face transistor. The output of T1 is regu- high-performance, low-wattage power am-
It can be easily assembled on a small vero lated by zener diode ZD and capacitor C2 plifier IC LM386. This circuit is designed
board or a PCB. A geometry box made in to get 6.8V for powering the amplifier as a high-gain amplifier. A small 8-ohm
the shape of a telephone receiver will be section. This power is also used to bias speaker is good enough for the output.
an excellent cabinet for it. No external the transmitter section. After all soldering is done, adjust pre-

power supply is needed, which makes the The transmitter section comprises tran- sets VR1 and VR2 to their middle position
circuit handy. sistor BC548 (T2) together with a few and connect the circuit to the telephone
The ringer section comprises R1, C1, discrete components and a condenser mi- line in parallel. Adjust VR1 and VR2 for
and a buzzer. If your telephone has a crophone. The transmit signal is fed to optimum reception as well as transmis-
loud ringer, this circuit can be avoided. A the base of interface transistor T1. The sion.

ELECTRONICS FOR YOU SEPTEMBER 2003


CIRCUIT IDEAS

VOLTAGE-BASED CONTROLLER S.C.


DWI
VED
I

FOR SWITCHES
RAJ K. GORKHALI

H
eres a simple circuit for con-
trolling four switches from a dis-
tance through just a pair of
wires.
In the circuit, the inverting inputs
(pin 2) of operational amplifiers IC1
through IC4 are set to refrence voltages
of +12V, +9V, +6V, and +3V, respec-
tively, through a chain of four 1k resis-
tors (R1 through R4).
The reference voltage (VREF) can be
simply calculated by the following rela-
tionship:

Total applied voltageResistance


across reference voltage
VREF =
Total resistance

For example, reference voltage VREF3


is calculated as follows:

12V(R3+R4) 12V2k
VREF3 = VREF2 =
R1+R2+R3+R4 4k
VREF2 = 6V

The non-inverting inputs (pin 3) of


the four op-amps ( IC1 through IC4) are
tied together and connected to a pair of
wires that provide +3V to +12V input
voltage for controlling the switches.
Four 12V, 200-ohm, single-
changeover relays are connected to four
BC548 relay driver transistors (T1 through age input terminal; for example, relay RL4 connected to the terminals of the relays
T4) via resistors R5 through R8, respec- energises when controlling voltage input through the 220V AC, 50Hz mains.
tively. These relays energise depending on of +3V is available at non-inverting pin 3 This circuit, excluding relays, costs
the voltage present at the controlling volt- of IC4. Four electrical equipment can be around Rs 60.

JULY 2003 ELECTRONICS FOR YOU


CIRCUIT IDEAS

WASHING MACHINE S.C.


DWIV
EDI

MOTOR CONTROLLER
SANTHOSH VASUDEVAN efficiently replaces its mechanical equiva- trolled as shown in Fig. 2. When switch
lent. Basically, a single-phase motor re- S1 is in position A, coil L1 of the motor

W
ashing machines usually employ quires a master timer, which decides the receives the current directly, whereas coil
a single-phase motor. In semi- time for which the motor should keep L2 receives the current with a phase shift
automatic washing machines, a rotating (washing time), and a spin direc- due to capacitor C. So the rotor rotates in
purely mechanical switch controls the tim- tion controller, which stops the motor for clockwise direction (see Fig. 2(a)). When
ing and direction of the motor. These 3 seconds after every 10 seconds and switch S1 is in position B, the reverse hap-
switches are costly and wear out easily. then resumes rotation in opposite direc- pens and the rotor rotates in anti-clock-
Heres a controller for single-phase tion. wise direction (see Fig. 2(b)). Thus switch
motors of washing machines (Fig. 1) that The direction of rotation can be con- S1 can change the rotation direction.
The motor cannot be re-
versed instantly. It needs a
brief pause between switch-
ing directions, or else it may
get damaged. For this
purpose, another spin di-
rection control timer (IC2)
is employed. It is realised
with an IC 555. This timer
gives an alternate on and
off time duration of 10
seconds and 3 seconds, re-
spectively. So after every l0
seconds of running (either
in clockwise or anticlock-
wise direction), the motor
stops for a brief duration of
3 seconds. The values of
R3 and R4 are calculated
accordingly.
The master timer is
realised with monostable IC
555 (IC1) and its on time
is decided by the resistance
of 1-mega-ohm potmeter
VR. A 47-kilo-ohm resistor
Fig. 1: Circuit diagram of washing machine motor controller is added in series so that
even when the VR knob is
in zero
resis-
tance po-
sition,
the net
series re-
sistance
is not
zero.
The
on-off
cycle in
the mas-
ter timer
Fig. 2: Direction of motor Fig. 3: Timing diagram for rotation of motor should

SEPTEMBER 2003 ELECTRONICS FOR YOU


CIRCUIT IDEAS

go on only for the set time (here it is 18 only when the output from NAND gate relay RL2 and washing machine motor
minutes). Once the master timer goes off, N1 is low. As the mains 220V line is rotates in one direction. During the off
the cycle should stop. To achieve this, taken through relay RL1, the motor turns time of IC2, the output of N1 goes high
the outputs of both the timers are con- off during the 3-second off period after again to de-energise relay RL1, which
nected to NAND gate N1 (IC3), which the set time of 10 seconds is over. The cuts off the mains supply to RL2 and the
gives a low output only when both the graph is shown in Fig. 3. motor stops rotating.
timers are giving high outputs.The output During on time of spin direction timer Floating point trouble may occur at trig-
pin 2 of N1 is connected to relay RL1 via IC2, the output of negative-edge triggerd ger pin 2 of IC1. Resistor R8 overcomes this
pnp transistor T1, so the relay energises JK flip-flop at pin 2 goes low to energise problem by holding pin 2 high.

ELECTRONICS FOR YOU SEPTEMBER 2003


CMYK

CIRCUIT
IDEAS

AUTO TURN-OFF S.C. DW


IVEDI

BATTERY CHARGER
Y.M. ANANDAVARDHANA to energise electromagnetic relay RL1. Pushing switch S1 latches relay
Relay RL1 is connected to the collec- RL1 and the battery cells start charg-

T
his charger for series-connected tor of transistor T1. Transistor T1 is ing. As the voltage per cell increases
4-cell AA batteries automatically driven by pnp transistor T2, which, in beyond 1.3V, the voltage drop across
disconnects from mains to stop turn, is driven by pnp transistor T3. resistor R4 starts decreasing. When it
charging when the batteries are fully Resistor R4 (10-ohm, 0.5W) is con- falls below 650 mV, transistor T3 cuts
charged. It can be used to charge par- nected between the emitter and base off to drive transistor T2 and, in turn,
tially discharged cells as well. of transistor T3. cuts off transistor T3. As a result, re-
The circuit is simple and can be When a current of over 65 mA lay RL1 de-energises to cut off the
divided into AC-to-DC converter, relay flows through the 12V line, it causes a charger and red LED1 turns off.

driver and charging sections. voltage drop of about 650 mV across You may determine the charging
In the AC-to-DC converter section, resistor R4 to drive transistor T3 and voltage depending on the NiCd cell
transformer X1 steps down mains 230V cut off transistor T2. This, in turn, turns specifications by the manufacturer.
AC to 9V AC at 750 mA, which is rec- transistor T1 on to energise relay RL1. Here, weve set the charging voltage
tified by a full-wave rectifier compris- Now even if the pushbutton is re- at 7.35V for four 1.5V cells. Nowadays,
ing diodes D1 through D4 and filtered leased, mains is still available to the 700mAH cells are available in the mar-
by capacitor C1. Regulator IC LM317 primary of the transformer through its ket, which can be charged at 70 mA
(IC1) provides the required 12V DC normally open (N/O) contacts. for 10 hours. The open-circuit voltage
charging voltage. When you press In the charging section, regulator is about 1.3V.
switch S1 momentarily, the charger IC1 is biased to give about 7.35V. Pre- The shut-off voltage point is deter-
starts operating and the power-on set VR1 is used for adjusting the bias mined by charging the four cells fully
LED1 glows to indicate that the voltage. Diode D6 connected between (at 70 mA for 14 hours). After measur-
charger is on. the output of IC1 and battery limits ing the output voltage, add the diode
The relay driver section uses pnp the output voltage to about 6.7V, drop (about 0.65V) and bias LM317 ac-
transistors T1, T2 and T3 (each BC558) which is used for charging the battery. cordingly. z

96 FEBRUARY 2005 ELECTRONICS FOR YOU WWW.EFYMAG.COM


CMYK

CIRCUIT
IDEAS

ATMEL AVR ISP DONGLE SANI TH


EO

EFY LAB grammed is sent on this pin parallel port.


3. SCK (Shift Clock): Serial clock IC 74LS244 (IC1) acts as a buffer as

A
tmels AVR microcontroller generated by the programmer from the well as an isolator circuit when the
chips are in-system program- PC. AVR is not in programming mode. In
mable (ISP), i.e. these can be 4. RST (Reset): Reset (low pulse) idle mode, all the outputs are tristated
programmed directly in the target cir- generated by the program. The AVR so as not to affect the operation of the
cuit. A special programmer software is programmed while in reset state. target system.
is used to download the program from Heres a dongle circuit for in-sys- When the AVRs ISP mode is se-
the PC into the AVRs flash memory. tem programming of Atmels AVR chip lected, the lower half of IC 74LS244
Atmel offers a software package called AT90S8515 using such software pack- is enabled, pulling the target systems
the Atmel AVR ISP that allows pro- ages as Atmel ISP 2.65 and Reset line low. Once the target
gramming of the AVR microcontrollers PonyProg2000. Though not exactly the system is in Reset mode, the SCK,
in the circuit using a simple dongle. A same, a similar dongle circuit can be MISO and MOSI lines are no longer
dongle is nothing but an adaptor cable found at the Website www.iready.org/ loaded by the peripheral circuitry, if
that connects the PCs parallel port projects/uinternet/ispdongle.pdf. any, on the target system. Now, it is
with the ISP pins of the AVR chip for The PCs parallel-port pins 4 and safe to enable the upper half of
programming. 5 drive buffer IC 74LS244 by enabling 74LS244, driving the MOSI, LED and
For programming, the four lines re- its pins 19 and 1, respectively. A low SCK lines of the dongle. The RST pin
quired from the AVR chip to the ISP pulse on these pins will allow the becomes high after the AVR is pro-
adaptor (dongle) are: passing of the serial clock and data grammed. Glowing of LED2 indicates
1. MOSI (Master Out, Slave In): during programming. MOSI, LED, that the AVR is in programming mode.
Data being transmitted to the AVR be- SCK and RST outputs are buffered There are two standard connectors
ing programmed is sent on this pin from the parallel ports pins 7, 8, 6 for in-system programming of Atmel
2. MISO (Master In, Slave Out): and 9, respectively. The MISO input AVR microcontroller. One is the 10-
Data received from the AVR being pro- from the AVR is fed into pin 10 of the pin header (dual-in-line (DIL) connec-

100 FEBRUARY 2005 ELECTRONICS FOR YOU WWW.EFYMAG.COM


CMYK

CIRCUIT
IDEAS
tor)) used on the Atmel STK kits. The the dongle is identified as a value- 6-line cable of about 30cm length is
other is a 6-pin header (DIL connec- added pack dongle. required for connecting this ISP adap-
tor) used in Atmel ISPs. The two loop- Here, weve used an 8-pin single-in- tor (dongle) to the target circuit.
back connections, pin 2-to-pin 12 and line (SIL) connector and an additional If the AVR is not on the target cir-
pin 3-to-pin 11 of the parallel port, are 6-pin SIL connector for the Atmel pro- cuit, you can insert the AVR into the
used to identify the dongle. With only gramer circuit. With the buffer and the ZIF socket and program it. Regulated
pin 2-to-pin 12 link, the dongle is 40-pin ZIF socket in this circuit, it can be 5V DC is required for the AVR and
called STK300 or AVR ISP dongle. used as a standalone programmer. The the associated dongle circuit, whose
With only pin 3-to-pin 11 link, the 6-pin SIL male connector is used for terminals are also provided in connec-
dongle is called STK200 or old Kanda connection between the dongle and the tor CON4. LED1 is used as the power
ISP dongle. With both links in place, AVR on the target board. Thus, another indicator for the circuit. z

WWW.EFYMAG.COM ELECTRONICS FOR YOU FEBRUARY 2005 101


CIRCUIT IDEAS

ULTRA-BRIGHT LED LAMP S.C.


DWI
VED
I

N.S. HARISANKAR VU3NSH

T
his ultra-bright white LED lamp
works on 230V AC with minimal
power consumption. It can be used
to illuminate VU meters, SWR meters, etc.
Ultra-bright LEDs available in the mar-
ket cost Rs 8 to 15. These LEDs emit a
1000-6000mCd bright white light like weld-
ing arc and work on 3 volts, 10 mA. Their
maximum voltage is 3.6 volts and the cur-
rent is 25 mA. Anti-static precautions
should be taken when handling the LEDs. Fig. 1: The circuit of ultra-bright white LED Fig. 2: 16-LED combination
The LEDs in water-clear plastic package lamp

whereas no power is dissipated in a ca- Use AC capacitors for Cx. Filter capaci-
pacitor. The value of capacitor is calcu- tor C1 across the output provides flicker-
lated by using the following relationships: free light. The circuit can be enclosed in a
XC = 1/(2fC) ohms (a) CFL round case, and thus it can be con-
XC = VRMS /I ohms (b) nected directly to AC bulb holder socket. A
where XC is capacitive reactance in ohms, series combination of 16 LEDs (Fig. 2) gives
C is capacitance in farads, I is the current a luminance (lux) equivalent of a 12W
through the LED in amperes, f is the mains bulb. But if you have two series combina-
frequency in Hz, and Vrms is the input tions of 23 LEDs in parallel (total 46 LEDs
mains voltage. as shown in Fig. 3), it gives light equal to a
The 100-ohm, 2W series resistor avoids 35W bulb. 15 LEDs are suitable for a table-
Fig. 3: 46-LED combination heavy inrush current during transients. lamp light.
MOV at the input prevents surges or spikes, Diode D1 (1N4007) and capacitor C1
emit spotlight, while diffused type LEDs protecting the circuit. The 390-kilo-ohm, act as rectifying and smoothing elements
have a wide-angle radiation pattern. -watt resistor acts as a bleeder to pro- to provide DC voltage to the row of LEDs.
This circuit (Fig. 1) employs capaci- vide discharge path for capacitor Cx when For a 16-LED row, use Cx of 0.22 F, 630V;
tive reactance for limiting the current flow mains supply is disconnected. The zener C1 of 22 F, 100V; and zener of 48V, 1W.
through the LEDs on application of mains diode at the output section prevents ex- Similarly, for 23+23 LED combination use
voltage to the circuit. If we use only a cess reverse voltage levels appearing across Cx of 0.47 mF, 630V; C1 of 33 F, 150V;
series resistor for limiting the current with the LEDs during negative half cycles. Dur- and zener of 69V, 1W.
mains operation, the limiting resistor itself ing positive half cycle, the voltage across This circuit (inclusive of LEDs) costs
will dissipate around 2 to 3 watts of power, LEDs is limited to zener voltage. Rs 200 to Rs 400.

FEBRUARY 2003 ELECTRONICS FOR YOU


CIRCUIT IDEAS

INTRUDER RADIO ALERT SYSTEM SUN


IL KU
MAR

DAVID NASH PIOUS

C
onsider a situation where a burglar
has entered your house and snapped
the telephone wires, leaving you
with no means of communication with the
outside world. In such an emergency, you
will find this intruder alarm to be very
handy. It transmits a prerecorded emer-
gency message repeatedly for reception by
an FM receiver.
The message containing address, geo-
graphical location, name, etc is recorded
onto a chip. The prerecorded message can
then be transmitted repeatedly with the
help of an FM transmitter, in the hope
that some noble soul will hear it and in-
form the police about the incident.
The circuit comprises a sound record-
ing-and-playback chip (UM5506BH). This
chip consists of a 96kbit SRAM and can
record up to six seconds of audio. (For
details, refer Mini Voice Processor circuit
published in April 2000 issue of EFY.) Af-
ter the required message has been re-
corded, it is passed to a low-power, VHF
FM transmitter wired around BC547 and
2N2369 transistors. The range of this trans- Fig. 2: Circuit diagram of intruder radio alert system

mitter is 60 to 100 The transmitted message can be heard over


metres using a 40-70cm the FM receiver.
long wire as an antenna. A possible modification, though it has
The major advantage legal complications, is to vary the coil in-
of this circuit is its low ductance such that the transmission is on
power consumption. The police band, thus alerting the police for
author operated it on 3V quick help. Even the need of repeatedly
button cells (Maxell CR pressing play button can be obviated by
2032, CR 2025, etc used configuring an astable multiviberator (us-
in digital diaries). To ing IC 555 timer) to trigger IC UM5506BH
transmit the prerecorded every six seconds so that the message is
message, the play but- played repeatedly.
Fig. 1: Block diagram of the intruder radio alert system ton is pressed repeatedly. This circuit costs around Rs 200.

DECEMBER 2002 ELECTRONICS FOR YOU


CIRCUIT
IDEAS

MICROMOTOR CONTROLLER SUNIL K


UMAR

V. DAVID connected between the outputs (pin 3) tor in conjunction with switch S1. If
of IC1 and IC2. you press switch S3 after pressing

U
sing this circuit, you can con- Closing switch S5 provides power switch S1, pin 3 of IC3 goes high, while
trol the rotation of a DC to the circuit. Now, when you press its pin 4 goes low. The motor now
micromotor simply by press- switch S1 momentarily, pin 10 of IC3 starts rotating in the forward direction.

ing two push-to-on switches momen- goes high, while its pin 11 goes low. However, if you press switch S4 after
tarily. Since pin 10 of IC3 is connected to reset pressing switch S1, the motor will ro-
The circuit is built around two pin 4 of IC1 and IC2, the high output at tate in reverse direction.
NE555 ICs (IC1 and IC2) and a quad- pin 10 of IC3 will enable IC1 and IC2 Note. The complete kit of this cir-
NAND IC CD4011 (comprising NAND simultaneously. When switch S2 is cuit can be obtained from
gates N1 through N4). The NE555 ICs pressed, pin 10 of IC3 goes low, while KitsnSpares, 303, Dohil Chambers, 46,
(IC1 and IC2) are configured as invert- its pin 11 goes high. The low logic at Nehru Place, New Delhi 110019;
ing buffers. IC CD4011 (IC3) NAND pin 10 disables both IC1 and IC2. Phone: 011-26430523, 26449577;
gates are configured as bistable flip- Switches S3 and S4 are used for Website: www.kitsnspares.com;
flop. The DC motor to be controlled is forward and reverse motion of the mo- E-mail: kits@efyindia.com. z

WWW.EFYMAG.COM ELECTRONICS FOR YOU APRIL 2005 63

CMYK
CIRCUIT IDEAS

THREE-COLOUR DISPLAY USING S.C.


DWI
VED
I

BICOLOUR LEDs
PRIYANK MUDGAL

T
he circuit presented here uses
bicolour LEDs to generate a dis-
play in three colours, namely, red,
green, and yellowish green.
Transistors T1 through T20 form a grid
to which common-cathode bicolour LEDs
(LED1 through LED10) are connected.
Transistors T1 through T10 have their col-
lector terminals connected to the emitter
of transistor T21. Similarly, transistors T11
through T20 have their collector terminals
connected to the emitter of transistor T22.
The bases of each pair of transistors (i.e.
T1 and T11, T2 and T12,, T10 and T20)
are tied to outputs Q0, Q1,, Q9, respec-
tively, of IC1 (CD4017) through 10-kilo-
ohm resistors as shown in the figure. Posi-
tive supply to collectors of transistors T1
through T10 is controlled by transistor T21.
Similarly, positive supply to collectors of
transistors T11 through T20 is controlled
by transistor T22.
IC1 and IC2 are decade counters. Clock
pulse to IC1 is provided by the oscillator
circuit comprising NOR gates N1 and N2.
The outputs of IC1 advance sequentially
with each clock. (Any other source of
squarewave pulses also serves the pur-
pose.) IC2 is used to select the mode of
display. Clock input pin 14 of IC2 is con-
nected to Q9 output of IC1. Thus IC2 re-
ceives one pulse after every ten pulses re-
ceived by IC1.
When the circuit is switched on, Q0
output of IC2 is active high. Thus transis-
tor T21 gets forward biased via diode D3
and it conducts to extend positive supply
to transistors T1 through T10. Transistors
T1 through T10 are forward biased sequen-
tially by Q0 through Q9 outputs of IC1,
i.e. at a time only one of these ten transis-
tors is forward biased (on). Thus only red
LED parts of bicolour LEDs light up se- After completion of the third glowing Now both transistors T21 and T22 con-
quentially. (Transistor T22 is not conduct- sequence of red LEDs, when Q3 output of duct due to diodes D1 and D2. Thus both
ing at this moment.) IC2 goes high, transistor T21 stops con- red and green LEDs in bicolour LEDs (LED1
When red LED part of LED10 glows, ducting and T22 starts conducting with the through LED10) glow sequentially. The ef-
IC2 receives a clock pulse and its Q1 output next three sequences of green LEDs of fect of red and green LEDs glowing to-
goes high. Transistor T21 still conducts, as bicolour LEDs (LED1 through LED10) gether is a distinct yellowish orange colour.
it is forward biased through diode D6, and glowing sequentially. This sequence repeats four times.
next again via diode D5. Thus red LEDs After completion of three sequences of Thereafter, the whole sequence repeats,
complete two more glowing sequences. green LEDs, output Q6 of IC2 goes high. starting with red LEDs. Thus the bicolour-

ELECTRONICS FOR YOU FEBRUARY 2003


CIRCUIT IDEAS

LED display shows three coloursred, green, by preset VR1. One can omit automatic 5, and 7 of IC2 with SPDT switches. (Thus
and yellowish greenone after the other. selection of different colours by omitting diodes D3-D12 are also omitted.)
The speed of display can be controlled IC2 and replacing connections to pins 3, This circuit costs around Rs 250.

FEBRUARY 2003 ELECTRONICS FOR YOU


CIRCUIT IDEAS

NUMBER GUESSING GAME .C. DWI


VED
I
S
PRIYANK MUDGAL

T
his number guessing game is quite and the number thought of by the person
simple. In this game the player is displayed on the 7-segment displays. Af-
thinks of any number between ter this, all switches on the 8-way DIP
1 and 99. Then he scans the eight groups switch need to be turned off to try display
of numbers given in the eight boxes in the of another number in a similar fashion.
table. Each group corresponds to a spe- The circuit (Fig. 1) comprises two BCD-
cific switch (indicated on the top of each to-7-segment decoder/driver CD4511 ICs
group) on an 8-way DIP switch. The per- (IC1 and IC2). IC1 generates the number
son scans the numbers in each box and for tens position and IC2 generates the num-
slides the switch corresponding to a box ber for units position. Input pins 7, 1, 2, Fig. 2: Suggested case
to on position if he finds his number in and 6 of both the ICs are connected to ground
that box. After having scanned all the eight through 1-kilo-ohm resistors. The common- Suppose you want to display 47. For
boxes and switching on the relevant DIP cathode terminals of both the displays are this, 4 is to be displayed in tens position
switches, he is required to press switch S9 connected to push-to-on switch S9. and 7 in units position. In order to gener-
ate 4 (binary 100) on the display (DIS1),
switch S2 is to be turned on. To display 7
(binary 111) on the display (DIS2),
switches S6, S7, and S8 are to be turned
on. Thus to generate 47, switches S2, S6,
S7, and S8 are to be turned on. The num-
ber 47 is placed in groups 6, 7, 8, and 2.
So when you spot 47 in these groups,
switch on the same combination of
switches. On depressing switch S9, 47 ap-
pears on the display. Other numbers can
be generated using the same procedure.
In order to make the circuit compact,
a DIP switch has been used here. As it
may be difficult to turn the small switches
on and off, you may use SPDT toggle
switches in place of the DIP switch. The
circuit can be placed inside a plastic case
with appropriate cuts made for displays
and switches (Fig. 2). A strip of paper con-
taining groups of numbers can be stuck
just under the 8-way DIP switch (or under
the row of SPDT switches used in place of
DIP switch). The proposed cabinet with
front-panel layout is shown in the figure.
This circuit smoothly runs on two pen
torch batteries. Thus current-limiting re-
sistors are not necessary for displays.
Fig. 1: Number guessing game circuit This circuit costs around Rs 100.

Eight Groups of Numbers and Their Respective Switches


Switch 1 Switch 2 Switch 3 Switch 4
80, 81, 82, 83, 84, 85, 86, 87, 88, 89 40, 41, 42, 43, 44, 45, 46, 47, 48, 49 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 10, 11, 12, 13, 14, 15, 16, 17, 18, 19
90, 91, 92, 93, 94, 95, 96, 97, 98, 99 50, 51, 52, 53, 54, 55, 56, 57, 58, 59 30, 31, 32, 33, 34, 35, 36, 37, 38, 39 30, 31, 32, 33, 34, 35, 36, 37, 38, 39
60, 61, 62, 63, 64, 65, 66, 67, 68, 69 60, 61, 62, 63, 64, 65, 66, 67, 68, 69 50, 51, 52, 53, 54, 55, 56, 57, 58, 59
70, 71, 72, 73, 74, 75, 76, 77, 78, 79 70, 71, 72, 73, 74, 75, 76, 77, 78, 79 70, 71, 72, 73, 74, 75, 76, 77, 78, 79
90, 91, 92, 93, 94, 95, 96, 97, 98, 99
Switch 5 Switch 6 Switch 7 Switch 8
8, 9, 18, 19, 28, 29, 38, 39 4, 5, 6, 7, 14, 15, 16, 17, 24, 25, 26, 27 2, 3, 6, 7, 12, 13, 16, 17, 22, 23, 26, 27 1, 3, 5, 7, 9, 11, 13, 15, 17, 19
48, 49, 58, 59, 68, 69, 78, 79 34, 35, 36, 37, 44, 45, 46, 47, 54, 55 32, 33, 36, 37, 42, 43, 46, 47, 52, 53, 56, 21, 23, 25, 27, 29, 31, 33, 36, 39
88, 89, 98, 99 56, 57, 64, 65, 66, 67, 74, 75, 76, 77 57, 62, 63, 66, 67, 72, 73, 76, 77, 82, 41, 43, 45, 47, 49, 51, 53, 55, 57, 59
84, 85, 86, 87, 94, 95, 96, 97 83, 86, 87, 92, 93, 96, 97 61, 63, 65, 67, 69, 71, 73, 75, 77, 79
81, 83, 85, 87, 89, 91, 92, 93, 95, 97, 99

ELECTRONICS FOR YOU JANUARY 2003


CIRCUIT
IDEAS

SOLAR BUG SANI TH


EO

small as 3 cm2.
If a digital voltmeter is connected
D. SOMNATH across capacitor C2, a slow build-up
of voltage can be observed when the

H
ide this solar-powered circuit panel is exposed to light. Transistors
suitably and see the reaction T1 and T2 form a relaxation oscillator.
of your friends to the chirpy When C1 charges to 0.6V, transistor
sound produced by it every few min- T1 conducts and the charge built up
utes. In all probability, it will coax in C2 is discharged through the
them to find out where the sound is piezobuzzer to produce a short beep.
coming from. While testing the circuit, the value
The circuit runs off a miniature so- of resistor R1 can be reduced to, say, 1
lar power panel, which can be taken kilo-ohm. Use a good-quality buzzer
out from an old calculator such as Citi- 2.5V is required. Note that the circuit to ensure that the sound produced is
zen CT-500. A panel giving 1.5V to can work properly from a panel as loud enough. z

WWW.EFYMAG.COM ELECTRONICS FOR YOU APRIL 2005 67

CMYK
CIRCUIT
IDEAS

STRESS METER SANI TH


EO

D. MOHAN KUMAR cuit. The circuit is very sensitive and bar mode for each increment of 125
detects even a minute voltage varia- mV in the input.

T
his stress monitor lets you tion across the touch pads. Here, weve used only five LEDs
assess your emotional pain. If The circuit comprises signal ampli- connected at pins 14 through 18 of IC1.
the stress is very high, it gives fier and analogue display sections. LED1 glows when input pin 5 of IC1
visual indication through a light-emit- Voltage variations from the sensing receives 150 mV. LED5 glows when
ting diode (LED) display along with a pads are amplified by transistor BC548 the voltage rises to 650 mV and LED5
flashes and
piezobuzzer PZ1
beeps when the
stress level is high.
Resistors R4
and R5 and capaci-
tor C2 form the
flashing elements.
Resistor R3 main-
Fig. 2: Display panel tains the LED cur-
rent at
around 20
mA. Ca-
pacitor C3
should be
p l a c e d
close to pin
Fig. 3: Self-locking straps 3 for proper
Fig. 1: Circuit of the stress meter
functioning
warning beep. The gadget is small (T1), which is configured as a com- of the IC. Zener diode ZD1 in series
enough to be worn around the wrist. mon-emitter amplifier. The base of T1 with resistor R6 provides regulated 5V
The gadget is based on the prin- is connected to one of the touch pads to the circuit.
ciple that the resistance of the skin var- through resistor R1 and to the ground The circuit can be assembled on a
ies in accordance with your emotional rail through potmeter VR1. By vary- small piece of perforated board. Use
states. If the stress level is high the ing VR1, the sensitivity of T1 can be transparent 3mm LEDs and a small
skin offers less resistance, and if the adjusted to the desired level. Diode D1 piezobuzzer for audio-visual indica-
body is relaxed the skin resistance is maintains proper biasing of T1 and ca- tions. Enclose the circuit in a small
high. The low resistance of the skin pacitor C1 keeps the voltage from the plastic case with touch pads on the
during high stress is due to an increase emitter of T1 steady. back side. Two self-locking straps can
in the blood supply to the skin. This The amplified signal from transis- be used to tie the unit around your
increases the permeability of the skin tor T1 is given to the input of IC wrist.
and hence the conductivity for electric LM3915 (IC1) through VR2. IC After tying the unit around your
current. LM3915 is a monolithic integrated cir- wrist (with touch pads in contact with
This property of the skin is used cuit that senses analogue voltage lev- the skin), slowly vary VR1 until LED1
here to measure the stress level. The els at its pin 5 and displays them glows (assuming that you are in re-
touch pads of the stress meter sense through LEDs providing a logarith- laxed state). Adjust VR2 if the sensi-
the voltage variations across the touch mic analogue display. It can drive up tivity of IC1 is very high. The gadget
pads and convey the same to the cir- to ten LEDs one by one in the dot/ is now ready for use. z

WWW.EFYMAG.COM ELECTRONICS FOR YOU SEPTEMBER 2005 101

CMYK
CIRCUIT
IDEAS

LITTLE DOOR GUARD S.C. DW


IVEDI

T.K. HAREENDRAN

I
f some intruder tries to open the
door of your house, this circuit
sounds an alarm to alert you
against the attempted intrusion.
The circuit (Fig. 1) uses
readily available, low-cost compo-
nents. For compactness, an
alkaline 12V battery is used for
powering the unit. Input DC supply
is further regulated to a steady
DC voltage of 5V by 3-pin regulator
IC 7805 (IC2).
Assemble the unit on a general-
purpose PCB as shown in Fig. 4 and
mount the same on the door as shown
in Fig. 3. Now mount a piece of mir-
ror on the doorframe such that it is Fig. 1: Circuit of the door guard

and IC1 does not get


positive supply at its pin 5.
As a result, no tone is pro-
duced at its output pin 3
and the loudspeaker re-
mains silent. Resistor R1
limits the operating current
for the IR LED.
When the door is
Fig. 2: Pin configurations of UM3561 and transistors Fig. 4: Suggested enclosure with opened, the absence of IR
2N5777 and BC547 major components layout rays at phototransistor T1
forward biases npn
exactly aligned with the unit. transistor T2, which provides positive
Pin configurations of IC supply to IC1. Now 3-siren
UM3561 and transistors sound generator IC UM3561 (IC1) gets
2N5777 and BC547 are power via resistor R5. The output
shown in Fig. 2. of IC1 at pin 3 is amplified by
Initially, when the Darlington-pair transistors T3 and T4
door is closed, the infrared to produce the alert tone via the
(IR) beam transmitted by loudspeaker.
IR LED1 is reflected (by the Rotary switch S2 is used to select
mirror) back to the three preprogrammed tones of IC1.
phototransistor 2N5777 (T1). IC1 produces fire engine, police and
The IR beam falling on ambulance siren sounds when its pin
phototransistor T1 reverse bi- 6 is connected to point F, P or A, re-
Fig. 3: Back view of the door assembly ases npn transistor T2 spectively. z

WWW.EFYMAG.COM ELECTRONICS FOR YOU SEPTEMBER 2005 103

CMYK
circuit
ideas
Smart Vibration Sensor s.c. dwiv
edi

T.K. Hareendran going pulse output from the vibra-


tion sensing mechanism built around

I
n this vibration sensor alarm cir- piezo-ceramic wafer and associated speaker LS1.
cuit, initially, when power switch components. As a result, control input Reset switch S1 can be used to
S1 is flipped to on position, power pins 2 and 6 of IC1 latch are grounded. switch off the alarm sound by resetting
indicator LED1 lights up immediately. Output pin 3 of IC1 now goes high. the latch circuit. For safety, use key-lock
IC LM555 (IC1), wired as a simple latch The positive supply from output pin 3 type switches for S1 and S2. A relay can
circuit with control input, is powered of IC1 is extended to three-tone siren also be connected at the output socket
and R-C components R4 and C5 con- generator UM3561 (IC2) through R5, (SOC1) of the circuit to energise high-
nected at its reset pin 4 force the latch D1 and R6. Components R6 and ZD1 power beacons, emergency sirens and
to standby mode (with inactive low stabilise the input power supply of IC2 fence electrification units.
output). The circuit is driven into sleep to around 3.3V. Output signals from The circuit works off 9V DC. A
mode. IC2 are amplified by Darlington-pair compact PP3-/6F22-type alkaline
As soon as vibration is detected, transistors T2 and T3 to produce alert battery can be used to power the
MOSFET T1 is fired by the positive- tone (police siren sound) via loud- circuit.

8 8 a p r i l 2 0 0 8 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
CIRCUIT IDEAS

CLAP SWITCH S.C.


DWI
VED

MOHAMMAD USMAN QURESHI depending on the selected values of R7 and On second clap, a negative pulse trig-
C3. This on time (T) of IC1 can be calcu- gers IC2 and its output pin 3 goes high for

H
eres a clap switch free from false lated using the following relationship: a time period depending on R9 and C5.
triggering. To turn on/off any ap T=1.1R7.C3 This provides a positive pulse at clock pin
pliance, you just have to clap seconds 14 of decade counter IC 4017 (IC3). De-
twice. The cir-cuit changes its output state where R7 is in ohms and C3 in microfar- cade counter IC3 is wired here as a
only when you clap twice within the set ads. bistable.
time period. Here, youve to clap within 3 On first clap, output pin 3 of IC1 goes Each pulse applied at clock pin 14
seconds. high and remains in this standby position changes the output state at pin 2 (Q1) of
The clap sound sensed by condenser for the preset time. Also, LED1 glows for IC3 because Q2 is connected to reset pin
microphone is amplified by transistor T1. this period. The output of IC1 provides 15. The high output at pin 2 drives transis-
The amplified signal provides negative pulse supply voltage to IC2 at its pins 8 and 4. tor T2 and also energises relay RL1. LED2

to pin 2 of IC1 and IC2, triggering both the Now IC2 is ready to receive the triggering indicates activation of relay RL1 and on/off
ICs. IC1, commonly used as a timer, is signal. Resistor R10 and capacitor C7 con- status of the appliance. A free-wheeling
wired here as a monostable multivibrator. nected to pin 4 of IC2 prevent false trig- diode (D1) prevents damage of T2 when
Trigging of IC1 causes pin 3 to go high and gering when IC1 provides the supply volt- relay de-energises.
it remains high for a certain time period age to IC2 at first clap. This circuit costs around Rs 80.

ELECTRONICS FOR YOU MAY 2003


circuit
ideas
USB Power Booster s.c. dwiv
edi

T.A. Babu power signal from the PC (+5V) is re-


ceived through socket A, LED1 glows,

T
he USB serial bus can be con- opto-diac IC1 conducts and TRIAC1 the rectified DC. Capacitor C3 at the
figured for connecting several is triggered, resulting in availability output of the regulator bypasses the
peripheral devices to a single of mains supply from the primary of ripples present in the rectified DC out-
PC. It is more complex than RS232, but transformer X1. Now transformer X1 put. LED1 indicates the status of the
faster and simpler for PC expansion. delivers 12V at its secondary, which is USB power booster circuit.
Since a PC can supply only a lim- rectified by a bridge rectifier compris- Assemble the circuit on a general-
ited power to the external devices con- ing diodes D1 through D4 and filtered purpose PCB and enclose in a suitable
nected through its USB port, when too by capacitor C2. cabinet. Bring out the +5V, ground
many devices are connected simultane- Regulator 7805 is used to stabilise and data points in the type-A socket.
ously, there is a possibility of power Connect the
shortage. Therefore an external power data cables
source has to be added to power the as assigned
external devices. in the cir-
In USB, two different types of con- cuit and the
nectors are used: type A and type B. USB power
The circuit presented here is an add- booster is
on unit, designed to add more power ready to
to a USB supply line (type-A). When Fig. 2: Pin configurations of moc3021, bt136 and 5v regulator 7805 function.

Fig. 1: Circuit of the usb power booster

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u a p r i l 2 0 0 8 8 7
Colour Sensor
C
olour sensor is an interesting
project for hobbyists. The circuit
can sense eight colours, i.e. blue,
green and red (primary colours); magenta,
yellow and cyan (secondary colours); and
black and white. The circuit is based on
the fundamentals of optics and digital
electronics.
The object whose colour is required
to be detected should be placed in front
of the system. The light rays reflected
from the object will fall on the three
convex lenses which are fixed in front
of the three LDRs. The convex lenses
are used to converge light rays. This
helps to increase the sensitivity of
LDRs.
Blue, green and red glass plates
(filters) are fixed in front of LDR1, LDR2
and LDR3 respectively. When reflected
light rays from the object fall on the
gadget, the coloured filter glass plates
determine which of the LDRs would get
triggered. The circuit makes use of only
AND gates and NOT gates.
When a primary coloured light ray
falls on the system, the glass plate cor-
responding to that primary colour will
allow that specific light to pass through.
But the other two glass plates will not
allow any light to pass through. Thus 13
only one LDR will get triggered and the
gate output corresponding to that LDR
will become logic 1 to indicate which
colour it is.
Similarly, when a secondary coloured
light ray falls on the system, the two
primary glass plates corresponding to the
mixed colour will allow that light to pass
through while the remaining one will not
allow any light ray to pass through it. As
a result two of the LDRs get triggered and
the gate output corresponding to these 1. Potmeters VR1, VR2 and VR3 may The coloured glass filter should be fixed
will become logic 1 and indicate which be used to adjust the sensitivity of the in front of the LDR as shown in the
colour it is. LDRs. figure. Make three of that kind and
When all the LDRs get triggered or 2. Common ends of the LDRs should fix them in a suitable case. Adjust-
remain untriggered, you will observe be connected to positive supply. ments are critical and the gadget perform-
white and black light indications respec- 3. Use good quality light filters. ance would depend upon its proper fabri-
tively. Following points may be carefully The LDR is mounded in a tube, cation and use of correct filters as well as
noted: behind a lens, and aimed at the object. light conditions.

ELECTRONICS PROJECTS Vol. 20


COMPUTERISED MORSE CODE
GENERATOR / TRANSMITTER
PUNERJOT SINGH MANGAT

T
he circuit given here can
be used to send telegraph-
ic messages via compu-
ter. The message data entered
through the computer keyboard is
converted to corresponding Morse
code and transmitted via the cir-
cuit attached to any IBM compat-
ible computers printer port.
Morse code pulses from the
computer appearing at pin 3
of the 25-pin parallel port are
routed to the base of transistor
T1(CL100) which in turn switches
on the audio frequency oscillator
built around IC1 (NE555) for the
duration of each pulse. The frequency of As stated earlier, this circuit is con- various characters appears under the
the oscillator can be varied by adjusting nected to the parallel port of the PC. Only function write(ch) of the program wherein
potmeters VR1 (20 kilo-ohm) and VR2 (50 pins 3 and 25 of the D connector are used. di represents a short duration pulse and
kilo-ohm). Pin 3 corresponding to data bit D1 of port da represents a long duration pulse. The
The audio output from pin 3 of IC 378(hex) carries the Morse Code data from program is interactive and permits varia-
(NE555) is connected to an FM transmit- the computer to the circuit while pin 25 tion of speed. The program can be modified
ter comprising transistor T2 (BF194B) and serves as common ground. to read and transmit the text files or one
the associated components. The frequency The circuit should be powered by +5 can even make a TSR (terminate and-stay-
of the transmitter can be changed with volts regulated power supply. It should resident) program.
the help of trimmer capacitor VC1 or by be fixed inside a metal box to reduce in- It is hoped that this circuit idea
changing the number of turns of coil L1. terference. would prove to be of great value to the
The FM modulated signal is coupled to The program, written in TURBO governments telecom department, defence
a short-wire antenna via capacitor C7. The PASCAL 7.0, accepts the message via services, coast guard, merchant navy and
signal can be received using any ready- the keyboard, converts it to correspond- amateur radio operators as well as all
made FM receiver tuned to the frequency ing Morse code and sends the code to pin those who make use of Morse code for
of the transmitter. 3 of the printer port. The Morse code of message transmission.

PROGRAM LISTING IN TURBO PASCAL 7.0


{$M $450,0,0} procedure di; START:
uses crt,dos: begin clrscr;
label port[$378]:=2; color(11,1);
main,endpro,output,message,startmessage, delay(pause); gotoxy(15,4);
speedselect,fileiput,dosshell port[$378]:=0; write(PUNJABl UNIVERSITY PATIALA-147002);
,start; delay(pause); gotoxy(1,7);
var end; color(10,3);
s:array [1..14] of string [76]: procedure da; gotoxy(10,18);
pause,x,y,i,b:integer; begin write(==========================);
sl:slring[l]: port[$378]:=2; gotoxy(10,19);
ch:char: delay(pause*3); write(Fl = Increase Speed );
procedure color{a,b:integer); port[$378]:=0; gotoxy(10,20);
begin delay(pause); write(F2 = Decrease Speed );
textcolor(a); end; gotoxy(10,21);
textbackground(b); begin write(F3 = Output to Device );
end; pause:=100; gotoxy(10,22);

190 ELECTRONICS PROJECTS Vol. 19


write(F4 = Message Input ); begin if ch=Y then begin da; di; da; da; end else
gotoxy(10,23); if y=1 then goto message; if ch==Z then begin da; da; di; di; end else
write(F5 = Dosshell y:=y-1; if ch=1' then begin di; da; da; da; da; end else
); x:=76; if ch=2' then begin di; di; da; da; da; end
gotoxy(10,24); end else
write(F6 = Quit ); else if ch=3' then begin di; di; di; da; da; end else
gotoxy(10,25); x:=x-1; if ch=4' then begin di; di; di; di; da; end else
write(==========================); delete(s[y],length(s[y]),1); if ch=5' then begin di; di; di; di; di; end else
color(14,1); gotoxy(x,y); if ch=6' then begin da; di; di; di; di; end else
gotoxy(25,2); write( ); if ch=7' then begin da; da; di; di; di; end else
write(PROGRAMMED BY); gotoxy(x,y); if ch=8' then begin da; da; da; di; di; end else
gotoxy(21,3); goto message: if ch=9' then begin da; da; da; da; di; end else
write(PUNERJOT SINGH MANGAT); end; if ch=0' then begin da; da; da; da; da; end else
color(10,3); if(x=76) and (y=14) then goto message; if ch=. then begin di; da; di; da; di; da; end else
gotoxy(26,17); write(ch); if ch=; then begin da; di; da; di; da; di; end else
write(CONTROLS ); s[y]:=(s[y]+ch); it ch=: then begin da; da; da; di; di; di; end else
gotoxy(35,19); goto message; if ch=, then begin da; da; di; di; da; da; end else
write(SPEED); end; if ch= then begin di; da; di; di; da; di; end else
color(10,3); OUTPUT: if ch=? then begin di; di; da; da; di; di; end else
gotoxy(35,20); begin if ch=- then begin da; di; di; di; di; da; end else
write(pause); gotoxy(2,25); if ch=_ then begin di; di; da; da; di; da; end else
MAIN: write( Sending output to the MorseDevice... if ch=/ then begin da; di; di; da; di; end else
window(1,1,80,25); Press any key to stop... ); if (ch=#39) or (ch=#96) then begin di; da; da;
gotoxy(2,25); color(12,1); da; da; di; end else
color(0,7); window(3,2,78,15); if (ch=() or (ch=))then begin da; di; da; da;
write(Waiting for the command... ); clrscr; di; da; end else
ch:=readkey; for i:= 1 to y do if ch= then delay(pause*6);
if ch=#0 then begin if key pressed then goto main;
begin for x:= 1 to length(s[i]) do end;
ch:=readkey; begin end;
if (ch=#59) or (ch=#60) then goto speedselect s1:=(copy(s[i],x,1)); goto main;
else ch:=upcase(s1[1]); end;
if ch=#61 then goto output else delay(pause*2); SPEEDSELECT;
if ch=#62 then goto startmessage else write(ch); begin
if ch=#63 then goto dosshell else if ch=A then begin di; da; end else if(ch=#59)and(pause>50) then pause: =
if ch=#64 then goto endpro; if ch=B then begin da; di; di; di; end else pause+2;
end; if ch=C then begin da; di; da; di; end else if(ch= =#60) and (pause < 190) then pause: =
goto main; if ch=D then begin da; di; di; end else pause - 2;
STARTMESSAGE: if ch=E then begin di; end else color(10,3);
begin if ch=F then begin di; di; da; di; end else gotoxy(35,20);
gotoxy(2,25); if ch=G then begin da; da; di; end else write1n(pause, );
write ( Enter the message and press ENTER if ch=H then begin di; di; di; di; end else goto main;
KEY...); if ch=I then begin di; di; end else end;
color(12,1); if ch=J then begin di; da; da; da; end else DOSSHELL:
window(3,2,78,15); if ch=K then begin da; di; da; end else begin
clrscr; if ch=L then begin di; da; di; di; end else color(7,0);
for x:= 1 to 14 do s[x]:= ; if ch=M then begin da; da; end else clrscr;
i:0;x:=1;y:=1;b:=0: if ch=N then begin da; di; end else write1n(Type EXIT to return to pro-
end: if ch=O then begin da; da; da; end else gramme...);
MESSAGE: if ch=P then begin di; da; da; di; end else swapvectors;
begin if ch=Q then begin da; da; di; da; end else exec(getenv(comspec),);
x:=wherex; if ch=R then begin di; da; di; end else swapvectors;
y:=wherey; if ch=S then begin di; di; di; end else goto start;
ch:=readkey; if ch=T then begin da; end else end;
if ch=#13 then goto main; if ch=U then begin di; di; da; end else ENDPRO:
if ch=#8 then if ch=V then begin di; di; di; da; end else color(7,0);
begin if ch=W then begin di; da; da; end else clrscr;
if x=1 then if ch=X then begin da; di; di; da; end else end.

ELECTRONICS PROJECTS Vol. 19 191


CIRCUIT IDEAS

CONDENSER MIC SUN


IL KU
MAR
varying its gain. In order to increase the
audio power, the low-level audio output
from the preamplifier stage is coupled via

AUDIO AMPLIFIER coupling capacitor C7 to the audio power


amplifier built around BEL1895 IC.
BEL1895 is a monolithic audio power
D. PRABAKARAN amplifier IC designed specifically for sen-
sitive AM radio applications that delivers

T
he compact, low-cost condenser transmitters, and packet radio receivers. 1 watt into 4 ohms at 6V power supply
mic audio amplifier described here Transistors T1 and T2 form the mic voltage. It exhibits low distortion and
provides good-quality audio of 0.5 preamplifier. Resistor R1 provides the nec- noise and operates over 3V-9V supply volt-
watts at 4.5 volts. It can be used as part essary bias for the condenser mic while age, which makes it ideal for battery op-
of intercoms, walkie-talkies, low-power preset VR1 functions as gain control for eration. A turn-on pop reduction circuit
prevents thud when the power
supply is switched on.
Coupling capacitor C7 deter-
mines low-frequency response of
the amplifier. Capacitor C9 acts
as the ripple-rejection filter. Ca-
pacitor C13 couples the output
available at pin 1 to the loud-
speaker. R15-C13 combination
acts as the damping circuit for
output oscillations. Capacitor C12
provides the boot strapping func-
tion.
This circuit is suitable for low-
power HAM radio transmitters to
supply the necessary audio power
for modulation. With simple modi-
fications it can also be used in
intercom circuits.

ELECTRONICS FOR YOU  DECEMBER 2001


Contactless AC Mains
Voltage Detector
T
his is a CMOS IC (CD4033) based impedance is extremely
circuit which can be used to de- high and thus the induced
tect presence of AC mains voltage voltage is sufficient to
without any electrical contact with the clock the counter IC. Thus
conductor carrying AC current/voltage. display count advances
Thus it can be used to detect mains AC rapidly from 0 to 9 and then
voltage without removing the insulation repeats itself. This is the
from the conductor. Just take it in the vi- indication for presence of
cinity of the conductor and it would detect mains supply. Display stops
presence of AC voltage. advancing when the unit is
If AC voltage is not present, the display taken away from the mains
would randomly show any digit (0 through carrying conductor.
9) permanently. If mains supply is avail- For compactness, a
able in the conductor, the electric field 9-volt PP3 battery may
would be induced into the sensing probe. be used for supply to the
Since IC used is CMOS type, its input gadget.

ELECTRONICS PROJECTS Vol. 20


Cordless Phone
Backup
N
ormally the base of a cordless unit through diode D3. A green LED and the cost of the backup unit, including
phone has an adaptor and the is used to indicate the presence of AC the box and cells, would not exceed Rs
handset has Ni-Cd cells for its mains. 300. Hence the circuit is well worth the
operation. The base unit becomes in- Each Ni-Cd cell costs around Rs 34, investment.
operative in case of power
failure. Under such condi-
tions, it is better to provide a
backup using Ni-Cd cells exter-
nally. Here is a simple power
supply back-up circuit which
can be used with cordless
phone SANYO CLT-420 or
similar sets.
The working is simple.
When AC mains is present,
Ni-Cd cells are charged
through IC LM317L, which
is wired as a current source.
Also, diode D3 is reverse-bi-
ased, which keeps Ni-Cd cells
isolated from positive rail.
When AC mains goes off, the
Ni-Cd cells provide supply
to the cordless phone base

ELECTRONICS PROJECTS Vol. 20


CIRCUIT IDEAS

figure. The 1kHz signal can be further

CRYSTAL-CONTROLLED DWI
VED
I
divided using decade counters to gener-
ate the required time period.
EFY lab note. To generate required

TIME-BASE GENERATOR S.C. gate for use in a frequency counter circuit,


the final oscillator output needs to be fol-
lowed by a toggle flip-flop. For example, a
PRATAP CHANDRA SAHU 1kHz clock, when applied to a toggle flip-

A
digital frequency counter needs a
time-base generator to count the
frequency with high resolution.
Normally, a crystal-based oscillator with
divider IC chain or a similar circuit in the
form of an ASIC (application-specific IC)
is used for time-base generation. Here
weve presented a simple circuit for accu-
rate time-base generation using the readily
available 3.5795MHz crystal commonly
used in telecommunication equipment.
The 3.5795MHz crystal is used in con-
junction with a CD4060-based crystal os- Thus the crystal frequency is divided
cillator-cum-divider (IC1). The crystal fre- by 3584, giving the final output frequency flop, will generate gates with 1-sec on
quency is divided by 512 by IC1, which is of around 998.8 Hz. This frequency can period and 1-sec off period.
further divided by 7 by CD4017 (IC2). IC2 be trimmed to exactly 1 kHz with the help This circuit is estimated to cost below
is reset as soon as its Q7 output goes high. of trimmer capacitor VC1 as shown in the Rs 50.

ELECTRONICS FOR YOU MAY 2002


DARKROOM TIMER
T
he timer circuit described here pro- built around transistor T2, turning it on sistor T2 is coupled to a small speaker
vides a pleasant musical tone in and off. As capacitor C1 is charged through a transistor-radio type output
your darkroom at 1-second inter- through preset VR1 and resistor R1, the transformer.
vals. The circuit takes up very little space emitter voltage of UJT rises toward the The 22-kilo-ohm value of resistor R3
and can be easily converted into a metro- supply voltage. represents a compromise between tone
nome. When the emitter voltage becomes suf- duration and intensity. You can use re-
Unijunction transistor (UJT) T1 func- ficiently positive, the emitter becomes for- sistors having a value anywhere between
tioning as a relaxation oscillator triggers ward biased and discharges capacitor C1 10 kilo-ohms and 25 kilo-ohms for differ-
the phase-shift audio oscillator circuit through the emitter-base 1 (B1) junction ent durations and intensities of the out-
and resistor R2. put signals.
The voltage drop Since the unijunction transistor is
across R2 forward functioning as the oscillator trigger,
biases transistor changing the values of one or more com-
T2 and turns it on. ponents in the UJT circuit will change
As capacitor C1 the rate of the tone burst. The tone fre-
becomes dis- quency can be varied by changing the
charged, the cur- value of any or more of capacitors C2
rent through re- through C4 and resistors R5 and R6 in
sistor R2 drops the phase-shift network.
and transistor T2 The primary winding of transformer
is cut off. X1 can be tuned for a slight increase in
A tone signal the output, using capacitor values between
is generated by 0.05 and 0.25 F for C5 by trial-and-error
transistor T2 and method. Tone pulses should begin about
R-C coupled ten seconds after the unit is turned on.
phase-shift oscilla- After a minute or so, adjust preset VR1
tor. Part of the sig- for 1-second beats by comparing the tim-
nal taken from the ing of the beats with the seconds needle
collector of tran- on your wristwatch.

174 ELECTRONICS PROJECTS Vol. 22


DIGITAL DICE WITH NUMERIC
DISPLAY
T
he circuit described here is that binary output pins of the counter IC2 are TABLE I
of a digital dice with numeric dis- connected to corresponding input pins of Dice range Connect Connect
play. Timer IC 555 wired as an 4-bit binary adder IC3 (7483) which is pin 2 to pin 3 to
astable multivibrator produces pulses at wired to give binary output equal to bi- 1 to 2 pin 9 +5V
1 to 3 pin 9 pin 12
about 48 kHz rate. These pulses are fed nary input+1. Thus the output of the dice 1 to 4 pin 8 +5V
to pin 14 of the decade counter IC 7490. ranges from 1 to 6. For obtaining other 1 to 5 pin 8 pin 12
The oscillator is activated by depression dice ranges, reset pins 2 and 3 connections 1 to 6 pin 8 pin 9
of switch S1. may be made as per Table I. 1 to 8 pin 11 +5V
1 to 9 pin 11 pin 12
Using different connections tor pins 2, The binary summation outputs from

3 (reset to zero inputs Ro(1) and Ro(2)) and IC 7483 are connected to IC4 (7447) which of about 48,000 times per second. As soon
the binary output pins 12, 9, 8 and 11 of is a BCD to 7-segment decoder/driver. as the switch is released, the last (latest)
IC7490, various count ranges can be set. The output from IC4 is connected to a number remains on display. Thus the
For the given circuit the count range is set 7-segment common-anode LED display circuit performs the function of a random
as 0 to 5 by connecting QB and QC outputs (LTS542). number generator with the displayed
to Ro(1) and Ro(2) inputs, respectively. When switch S1 is depressed, the LED number lying within the selected (wired)
At the count of 6, QB and QC outputs (D1) glows and the number displayed at range.
of IC2 go high and counter is reset. The the 7-segment display changes at a rate

188 ELECTRONICS PROJECTS Vol. 19


DIGITAL MAINS VOLTAGE INDICATOR
C
ontinuous monitoring of the mains CD4029B (counter). The counter clocked from comparator A2 inhibits the decoder
voltage is required in many ap- by NE555 timer-based astable (CD4514) that is used to decode the out-
plications such as manual volt- multivibrator generates 4-bit binary ad- put of IC4029 and drive the LEDs. This
age stabilisers and motor pumps. An ana- dress for multiplexer-demultiplexer pair ensures that the LEDs of the bar graph
logue voltmeter, though cheap, has many of CD4067B and CD4514B. are on up to the sensed voltage-level pro-
disadvantages as it has moving parts and The voltage from the wipers of pre- portional to the mains voltage.
is sensitive to vibrations. The solidstate sets are multiplexed by CD4067B and the The initial adjustment of each of the
voltmeter circuit described here indicates output from pin 1 of CD4067B is fed to presets can be done by feeding a known
the mains voltage with a resolution that the non-inverting input of comparator A2 AC voltage through an auto-transformer
is comparable to that of a general-pur- (half of op-amp LM358) after being buff- and then adjusting the corresponding pre-
pose analogue voltmeter. The status of ered by A1 (the other half of IC2). The set to ensure that only those LEDs that
the mains voltage is available in the form unregulated voltage sensed from rectifier are up to the applied voltage glow.
of an LED bar graph. output is fed to the inverting input of (EFY note. It is advisable to use ad-
Presets VR1 through VR16 are used comparator A2. ditional transformer, rectifier, filter, and

to set the DC voltages corresponding to The output of comparator A2 is low regulator arrangements for obtaining a
the 16 voltage levels over the 50-250V until the sensed voltage is greater than regulated supply for the functioning of the
range as marked on LED1 through the reference input applied at the non- circuit so that performance of the circuit
LED16, respectively, in the figure. The inverting pins of comparator A2 via buffer is not affected even when the mains volt-
LED bar graph is multiplexed from the A1. When the sensed voltage goes below age falls as low as 50V or goes as high as
bottom to the top with the help of ICs the reference voltage, the output of com- 280V. During Lab testing regulated 12-
CD4067B (16-channel multiplexer) and parator A2 goes high. The high output volt supply for circuit operation was used.)

ELECTRONICS PROJECTS Vol. 22


Digital Switching System
T
his circuit can control any one out Before using the circuit, press switch ing on the appropriate triac and the cor-
of 16 devices with the help of two S1 to reset the circuit. Now the circuit is responding LED to indicate the selected
push-to-on switches. An up/down ready to receive the input clock. By press- channel.

counter acts as a master-controller for the ing switch S2 once, the counter advances The outputs of IC3 are passed through
system. A visual indication in the form of by one count. Thus, each pressing of inverter gates (IC4 through IC6) because
LEDs is also available. switch S2 enables the counter to advance IC3 provides negative going pulses while
IC1 (74LS193) is a presettable up/ by one count. Likewise, by pressing switch for driving the triacs we need positive-go-
down counter. IC2 and IC3 (74LS154) (1 S3 the counter counts downwards. ing pulses. The high output of inverter
of 16 decoder/demultiplexer) perform dif- The counter provides BCD output. gates turn on the npn transistors to drive
ferent functions, i.e. IC2 is used to indicate This BCD output is used as address input the triacs. Diodes connected in series with
the channel number while IC3 switches on for IC2 and IC3 to switch one (desired triac gates serve to provide unidirectional
the selected channel. channel) out of sixteen channels by turn- current for the gate-drive.

ELECTRONICS PROJECTS Vol. 20


DIGITAL SPEEDOMETER
NARENDRA WADHWANI

T
his instrument displays the speed the IR LED, a phototransistor is and thus output of LM324 becomes logic
of the vehicle in kmph. An mounted. IC LM324 is wired as a high. So rotation of the speedometer
opaque disc is mounted on the comparator. cable results in a pulse (square wave) at
spindle attached to the front wheel of When a hole appears between the the output of LM324. The frequency of
the vehicle. The disc has ten equidistant IR LED and phototransistor, the this waveform is proportional to the
holes on its periphery. On one side of phototransistor conducts. Hence the volt- speed.
the disc an infrared LED is fixed and on age at collector of the phototransistor Let N be the number of pulses in
the opposite side of the disc, in line with and inverting input of LM324 go low, time t seconds and numerically equal
to the number of kilometres per hour
(kmph). For a vehicle such as LML
Vespa, with a wheel circumference of
1.38 metres, and number of pulses equal
to 10 per revolution, we get the
relationship:
N pulses
= N kmph
t
Nx1000
= metres per second
3600x1.38
Nx1000x10
= pulses per second
3600x1.38

Therefore, time t in seconds


= 0.4968 second.
As shown in the timing diagram, at
t=0, output of astable flip-flop IC1(a) i.e.
556 goes low and triggers monostable
multivibrator IC1(b) i.e. 556. Pulse
width of monostable IC1(b) = 0.5068 sec.
For IC1(a), t(on) = 0.51 sec. and t(off)=
0.01 sec. The outputs of IC1(a) and
IC1(b), and the signal from the
transducer section are ANDed. The
number of pulses counted during the
gating period (0.4968 sec.) is the speed
N in kmph (kilometres per hour).
At the end of the gating period,
output B of monostable IC1(b) goes low
and B goes high. The rising edge of B is
used to enable the quad D flip-flops IC6
and IC7.
At this instant, i.e. at t=0.5068 sec.,
the number (speed) N will be latched
corresponding to the D flip-flops and
displayed. At t=0.52 sec., output of
astable flip-flop IC1(a) goes low and
remains low for 0.01 sec. This
waveform is inverted and applied to
the reset terminals of all counters (ac-
tive high).
Thus the counters are reset and

140 ELECTRONICS PROJECTS Vol. 19


previous speed is displayed. The Yamaha, whose circumference of wheel
new speed is displayed at t=0.52 + = 1.8353m, can be obtained in a similar
0.5068 sec. In this way the speed fashion. The gating period will simply
will be updated every 0.52 sec. vary in direct proportion to the wheel
This speedometer can measure diameter. It will be 0.6607 sec. for
up to 99 kmph with a resolution of Yamaha.
1 kmph. The range can be increased The same speedometer can be used
up to 999 kmph by adding another for other vehicles by making similar cal-
stage consisting of one each of ICs culations. In all the calculations it has
7490, 74175, 7447 and a 7-segment been assumed that the speedometer
display. The voltage supply required cable makes one revolution for every
for the operation of the circuit is revolution of the wheel of the vehicles.
derived from the vehicle power Note that on/off periods of the wave-
supply (12V). forms have to be precise. High quality

counting begins afresh at t=0.53 sec. up The calculations shown above are for multiturn pots and low temperature co-
to the time t=0.52+0.2068 sec. However LML Vespa and Kinetic Honda. The cal- efficient components should be used in
the D flip-flops are not enabled and the culations for using this speedometer for the timer ICs.

ELECTRONICS PROJECTS Vol. 19 141


CIRCUIT IDEAS

DTMF PROXIMITY DETECTOR


NA from an object, falls on photodetector di-
K.S. SANKAR ANJA
RUP ode D1. (The photodetector is to be
shielded from direct IR light transmis-
sion path of IR LED1 by using any opaque

A
DTMF-based IR transmitter and column 1 (pin 12) get connected together partition so that it receives only the re-
receiver pair can be used to realise via transistor T2 after a power-on delay flected IR light.) On detection of the sig-
a proximity detector. The circuit (determined by capacitor C1 and resis- nal by photodetector, it is coupled to
presented here enables you to detect any tors R1 and R16 in the base circuit of the DTMF decoder IC2 through emitter-fol-
object capable of reflecting the IR beam transistor) to generate DTMF tone (com- lower transistor T1.
and moving in front of the IR LED photo- bination of 697 Hz and 1209 Hz) corre- When the valid tone pair is detected
detector pair up to a distance of about 12 sponding to keypad digit 1 continuously. by the decoder, its StD pin 15 (shorted to
cm from it. LED 2 is used to indicate the tone TOE pin 10) goes high. The detection of

The circuit uses the commonly avail- output from IC3. This tone output is am- the object in proximity of IR transmitter-
able telephony ICs such as dial-tone gen- plified by Darlington transistor pair of T3 receiver combination is indicated by
erator 91214B/91215B (IC1) and DTMF and T4 to drive IR LED1 via variable re- LED1. The active-high logic output pulse
decoder CM8870 (IC2) in conjunction with sistor VR1 in series with fixed 10-ohm (terminated at connector CON1, in the
infrared LED (IR LED1), photodiode D1, resistor R14. Thus IR LED1 produces figure) can be used to switch on/off any
and other components as shown in the tone-modulated IR light. Variable resis- device (such as a siren via a latch and
figure. A properly regulated 5V DC power tor VR1 controls the emission level to vary relay driver) or it can be used to clock a
supply is required for operation of the cir- the transmission range. LED 3 indicates counter, etc.
cuit. that transmission is taking place. This DTMF proximity detector finds
The transmitter part is configured A part of modulated IR light signal applications in burglar alarms, object
around dialer IC1. Its row 1 (pin 15) and transmitted by IR LED1, after reflection counter and tachometers, etc.

ELECTRONICS FOR YOU  JUNE 2001


ECONOMICAL PUMP CONTROLLER
T
he automatic pump controller quick response, no wear and tear, and cannot be used for purely non-conducting
eliminates the need for any no mechanical failures. The circuit fluids. For non-conducting fluids, some
manual switching of pumps in- diagram is shown in Fig.2. The device modifications need to be made in the fluid-
stalled for the purpose of pumping wa- performed satisfactorily on a test run level sensors. The circuit can however be
ter from a reservoir to an overhead tank in conjunction with a 0.5 HP motor kept intact.
(refer Fig.
1). It auto-
matically
switches on
the pump
when the
water level
in the tank
falls below
a certain
low level
L), provided
the water
level in the
reservoir
is above a
certain level
(R). Subse-
quently, as
the water
level in the
lank rises
to an upper
l e v e l ( M ) , Fig. 2: Circuit diagram of pump controller.
the pump is
switched off automatically. The pump and pump.
is turned on again only when the water The sensors used in the circuit can
level again falls below level L in the be any two conducting probes, preferably
tank, provided the level in the reser- resistant to electrolytic corrosion. For
voir is above R. This automated action instance, in the simplest case, a properly
continues. sealed audio jack can be used to work as
The circuit is designed to overlook the sensor.
the transient oscillations of the water The circuit can also be used as a
level which would otherwise cause the constant fluid level maintainer. For this
logic to change its state rapidly and purpose the probes M and L are brought
unnecessarily. The circuit uses a single very close to each other to ensure that the
CMOS chip (CD4001) for logic process- fluid level is maintained within the M and
ing. L levels.
No use of any moving electro- The advantage of this system is that
mechanical parts in the water-level it can be used in tanks/reservoirs of any
sensor has been made. This ensures capacity whatsoever. However, the circuit Fig. 1: Block diagram of pump controller.

184 ELECTRONICS PROJECTS Vol. 19


Electrical Equipment Control
Using PC
P.V. Vinod Kumar

H
ere is a novel idea
for using the printer
port of a PC, for con-
trol application using soft-
ware and some interface
hardware. The interface cir-
cuit along with the given
software can be used with
the printer port of any PC for
controlling up to eight equip-
ment. for only one device, being controlled by
The interface circuit D0 bit at pin 2 of the 25-pin parallel port.
shown in the figure is drawn Identical circuits for the remaining data

ELECTRONICS PROJECTS Vol. 20 179


Electronic card-
lock system
T
he circuit presented here can be on and other photo-transistors will as buffer with Schmitt trigger. All outputs
be used as a lock for important be in off state. When transistor T1 is (Q1 through Q7) of this IC are connected
electronic/electrical appliances. on, its collector voltage falls, making to IC2 (ULN2003) which is used as relay
When card is inserted inside its mecha- transistor T9 to cut-off. As a result, col- driver. IC2 consists of seven highcurrent
nism, depending upon the position of lector voltage of transistor T9 as also relay drivers having integral diodes. Ex-
punched hole on the card, a particu- pin 2 of IC1 go logic high. This causes ternal free-wheeling diodes are therefore
lar appliance would be
switched on.
The card is inserted just
like a floppy disk inside the
disk drive. This card should
be rectangular in shape
with only one punched hole
on it.
The circuit uses
eight photo-transistors
(T1 through T8). When
there is no card in the
lock, light from incandes-
cent lamp L1 (40-watt,
230V) falls on all the
photo- transistor detec-
tors. Transistor T8 is
used as enable detector
for IC1 (74LS244). When
light is incident on it, it
conducts and its collector
voltage goes low. This
makes transistor T16 to
cut-off, and its collector
voltage goes high. This logic high on pin 18 (output Q1) also to go high, not required.
its collector terminal will inhibit IC1 switching LED1 on. Simultaneously, When an input of this IC is made logic
as long as light is present on photo- output Q1 is connected to pin 1 of IC2 high, the corresponding output will go
transistor T8. (ULN2003) for driving the relay cor- logic low and relay connected to that pin
IC1 will get enabled only when the responding to appliance 1. Similarly, gets energised. This switches on a specific
card is completely inserted inside the if card for appliance 2 is inserted, only appliance and the corresponding LED.
lock mechanism. This arrangement en- output pin 16 (Q2) of IC1 will go high- Once a specific card is inserted to
sures that only the selected appliance is making LED2 on while at the same switch on a specific relay, that relay
switched on and prevents false operation time energising relay for appliance gets latched through its second pair of
of the system. 2 via ULN2003. The same is true for contacts. Thus even when the card is
You can make these cards using a other cases/appliances also. removed, the specific appliance remains
black, opaque plastic sheet. A small The time during which card is pres- on. The same holds true for all other re-
rectangular notch is made on this ent inside the mechanism, the system lays/appliances as well. The only way to
card to indicate proper direction for generates musical tone. This is achieved deenergise a latched relay after removal
insertion of the card. If an attempt with the help of diodes D1 through D7 of the corresponding card is to switch off
is made to insert the card wrongly, which provide a wired-OR connection at the corresponding switch (S1 through
it will not go completely inside the their common-cathode junction. When S7) which would cut-off the supply to the
mechanism and the system will not any of the outputs of IC1 is logic high, desired relay.
be enabled. the commoncathode junction of diodes The +5V and +12V supplies can be
When card for any appliance (say D1 through D7 also goes logic high, obtained with conventional arrangement
appliance 1) is completely inserted in enabling IC3 (UM66) to generate a mu- using a step-down transformer followed by
the mechanism, the light will fall only sical tone. rectifier, filter and regulator (using 7805
on photo-transistor T1. So only T1 will In this circuit IC1 (74LS244) is used and 7812 etc).

ELECTRONICS PROJECTS Vol. 22 13


14 ELECTRONICS PROJECTS Vol. 22
Electronic Scoring Game
Y
ou 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 rap-
idly (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 Y, is summarised below: above and notes down his new score (say,
starting a fresh game, and for that matter 1. Player X starts by momentary X2). He adds up this score to his previous
even a fresh move, you must press switch pressing of reset switch S1 followed score. The same procedure is repeated by
S1 to reset the circuit. Thereafter, press any by pressing and releasing of either player Y in his turn.
of the two switches, i.e. S2 or S3. switch S2 or S3. Thereafter he presses 4. The game carries on until the score
On pressing switch S2 or S3, the switch S4 to read the display (score) attained by one of the two players totals
counters BCD outputs change very and notes down this number (say X1) up to or exceeds 100, to be declared as the
rapidly and when you release the switch, manually. winner.
the last number remains latched at the 2. Player Y also starts by momen- Several players can participate in this
output of IC2. The latched BCD number tary pressing of switch S1 followed game, with each getting a chance to score
is input to BCD to 7-segment decoder/ by pressing of switch S2 or S3 and during his own turn.
driver IC3 which drives a common- then notes down his score (say Y1), The circuit may be assembled
anode display DIS1. However, you can after pressing switch S4, exactly using a multipurpose board. Fix the
read this number only when you press in the same fashion as done by the first display (LEDs and 7-segment display)
switch S4. player. on top of the cabinet along with the
The sequence of operations for playing 3. Player X again presses switch S1 three switches. The supply voltage for the
the game between, say two players X and and repeats the steps shown in step 1 circuit is 5V.

ELECTRONICS PROJECTS Vol. 20


Fastest Finger First Indicator
p. rajesh bhat

Q
uiz-type game shows are increas- The combinational circuitry comprising quency can be varied with the help of pre-
ingly becoming popular on tele- dual 4-input NAND gates of IC3 (7420) set VR1. Logic 0 state at one of the outputs
vision these days. In such games, locks out subsequent entries by produc- of IC2 produces logic 1 input condition at
fastest finger first indicators (FFFIs) are ing the appropriate latch-disable signal. pin 4 of IC7, thereby enabling the audio
used to test the players reaction time. The Priority encoder IC4 (74147) encodes oscillator.
players designated number is displayed the active-low input condition into the IC7 needs +12V DC supply for suf-
with an audio alarm when the player corresponding binary coded decimal (BCD) ficient alarm level. The remaining circuit
presses his entry button. number output. The outputs of IC4 after operates on regulated +5V DC supply,
The circuit presented here determines as inversion by inverter gates inside hex which is obtained using IC1 (7805).

to which of the four contestants first pressed inverter 74LS04 (IC5) are coupled to BCD- Once the organiser identifies the con-
the button and locks out the remaining three to-7-segment decoder/display driver IC6 testant who pressed the switch first, he
entries. Simultaneously, an audio alarm and (7447). The output of IC6 drives common- disables the audio alarm and at the same
the correct decimal number display of the cor- anode 7-segment LED display (DIS.1, time forces the digital display to 0 by
responding contestant are activated. FND507 or LT542). pressing reset pushbutton S5.
When a contestant presses his switch, The audio alarm generator comprises With a slight modification, this
the corresponding output of latch IC2 clock oscillator IC7 (555), whose output circuit can accommodate more than four
(7475) changes its logic state from 1 to 0. drives a loudspeaker. The oscillator fre- contestants.

ELECTRONICS PROJECTS Vol. 22 179


C I R C U I T I D E A S

TABLE I

UNIVERSAL HIGH-RESISTANCE Position 1 of Function Switch


Edc input Meter Current

VOLTMETER
5.00V 44 A
4.00V 34 A
I 3.00V 24 A
VED
DWI 2.00V 14 A
S.C. 1.00V 4 A
YOGESH KATARIA
TABLE II

T
he full-scale deflection of the uni- Calculate RI according to the applica-
versal high-input-resistance volt- tion from one of the following equations: Position 2 of Function Switch
meter circuit shown in the figure Erms input Meter Current
(a) DC voltmeter: RIA = full-scale EDC/IFS
5V 46 A
(b) RMS AC voltmeter (sine 4V 36 A
wave only): RIB = 0.9 full-scale 3V 26 A
ERMS/ IFS 2V 18 A
(c) Peak reading voltmeter 1V 10 A
(sine wave only): RIC = 0.636 full-
scale EPK/IFS TABLE III
(d) Peak-to-peak AC voltme- Position 3 of Function Switch
ter (sine wave only): RID = 0.318 EPk input Meter Current
full-scale EPK-TO-PK / IFS 5V peak 46 A
The term IFS in the above 4V peak 36 A
equations refers to meters full- 3V peak 26 A
2V peak 16 A
scale deflection current rating in 1V peak 6 A
amperes.
It must be noted that neither TABLE IV
meter resistance nor diode volt-
Position 4 of Function Switch
age drops affects meter current.
EPk-To-Pk Meter Current
Note: The results obtained
5V peak to peak 46 A
during practical testing of the cir- 4V peak to peak 36 A
depends on the function switch position cuit in EFY lab are tabulated in Tables I 3V peak to peak 26 A
as follows: through IV. 2V peak to peak 16 A
(a) 5V DC on position 1 A high-input-resistance op-amp, a 1V peak to peak 7 A
(b) 5V AC rms in position 2 bridge rectifier, a microammeter, and a
(c) 5V peak AC in position 3 few other discrete components are all that ing the value of the resistor connected be-
(d) 5V AC peak-to-peak in position 4 are required to realise this versatile cir- tween the inverting input terminal of the
The circuit is basically a voltage-to- cuit. This circuit can be used for mea- op-amp and ground. The voltage to be
current converter. The design procedure surement of DC, AC RMS, AC peak, or measured is connected to non-inverting in-
is as follows: AC peak-to-peak voltage by simply chang- put of the op-amp.

ELECTRONICS FOR YOU  FEBRUARY 2000


CIRCUIT IDEAS

FM BOOSTER SUN
IL KU
MAR

PRADEEP G.

H
ere is a low-cost circuit of an FM stations clearly. The circuit comprises a 2SC2570. (Only C2570 is annotated on the
booster that can be used to listen common-emitter tuned RF preamplifier transistor body.)
to programmes from distant FM wired around VHF/UHF transistor Assemble the circuit on a good-quality
PCB (preferably, glass-epoxy). Adjust in-
put/output trimmers (VC1/VC2) for maxi-
mum gain.
Input coil L1 consists of four turns of
20SWG enamelled copper wire (slightly
space wound) over 5mm diameter former.
It is tapped at the first turn from ground
lead side. Coil L2 is similar to L1, but has
only three turns. Pin configuration of tran-
sistor 2SC2570 is shown in the figure.

ELECTRONICS FOR YOU FEBRUARY 2002


CCIIRRC UC IUT IITD EIADS E A S

minals of pnp transistor T1) develops

MUSIC-ON-HOLD FOR enough voltage to forward bias transistor


T1 and it starts conducting.

TELEPHONES S.C.
DWIV
EDI As a consequence, output voltage at
the collector of transistor T1 sustains for-
ward biasing of transistor T2, even if switch
S1 is released. This latching action keeps
SIBIN K. ZACHARIAH
both transistors T1 and T2 in conduction
as long as the output of the bridge rectifier

H
ere is a simple circuit for music- line voltage is more than 15 volts, i.e. is greater than 15 volts.
on-hold with automatic shut off fa- when the handset is placed on the cradle. If the handset is now lifted off-hook,
cility. During telephone conversa- Once the transistor pair of TI and T2 the rectifier output drops to about 9 volts
tion if you are reminded of some urgent starts conducting, melody generator IC1 and hence latching action ceases and the
work, momentarily push switch S1 until
red LED1 glows, keep the telephone hand-
set on the cradle, and attend to the work
on hand. A soft music is generated and
passed into the telephone lines while the
other-end subscriber holds. When you re-
turn, you can simply pick up the handset
again and continue with the conversation.
The glowing of LED1, while the music
is generated, indicates that the telephone
is in hold position. As soon as the handset
is picked up, LED1 is turned off and the
music stops.
Normally, the voltage across telephone
lines is about 50 volts. When we pick up gets the supply and is activated. The mu- circuit automatically switches off.
the receiver (handset), it drops to about 9 sic is coupled to the telephone lines via (EFY lab note. The value of resistor
volts. The minimum voltage required to capacitor C2, resistor R1, and the bridge R2 determines the current through resistor
activate this circuit is about 15 volts. If the rectifier. R1 to develop adequate voltage (greater
voltage is less than 15 volts, the circuit With the handset off-hook after a ring, than 0.65 volts) for conduction of transis-
automatically switches off. However, ini- momentary depression of switch S1 causes tor T1. Hence it may be test selected be-
tially both transistors T1 and T2 are cut off. forward biasing of transistor T2. Mean- tween 33 kilo-ohms and 100 kilo-ohms to
The transistor pair of T1 and T2 performs while, if the handset is placed on the obtain instant latching.)
switching and latching action when switch cradle, the current passing through R1 The total cost of this circuit is around
S1 is momentarily pressed, provided the (connected across the emitter and base ter- Rs 50.

ELECTRONICS FOR YOU APRIL 2002


FIRE ALARM
W
ith the onset of summer,
chances of fire accidents
increase. Such fire ac-
cidents can be prevented if timely
alarms are available. The circuit
presented here warns the user
against such fire accidents. The cir-
cuit should be placed in fire-prone
areas such as a kitchen.
Everyone is aware that when
anything catches fire, smoke is
produced. When this smoke passes
between a bulb and an LDR, the
amount of light falling on the LDR
decreases. This causes the resist-
ance of LDR to increase and the
voltage at pin 2 of IC 555 goes below
1/3 Vcc. thus triggering IC 555 which is ever, one may select a COB which generates as well as setting of preset VR1. Thus by
used here in bistable mode. As a result the sound such as aag lag gai hai. The signal placing the bulb and the LDR at appropri-
voltage of pin 3 goes high. This high volt- generated by COB is amplified by an audio ate distances, one may vary preset VR1 to
age (approximately +9V) completes the amplifier. In this circuit, the audio power get optimum sensitivity.
supply to the COB (chip-on-board). amplifier is wired around IC2 TDA 2002. Reset switch S1 is provided in the
Different COBs are available in the The sensitivity of the circuit depends circuit to switch off the alarm after the fire
market to generate different sounds. How- on the distance between bulb and LDR has been noticed by the user.

180 ELECTRONICS PROJECTS Vol. 19


PROGRAMMABLE DOOR-BELL
WITH FLASHING LEDS
I
C1 (NE555) is used here as a clock of 100k each are connected to each pair is assembled in such a way that the
generator. It is configured as an of LEDs. first vertical column has orange LED1
astable multivibrator whose frequency IC3 here works as tune generator through LED5 and the second parallel
can be adjusted with the help of potmeter and the Darlington pair comprising column has green LED10 through LED6,
VR1. The clock pulses obtained from IC1 transistors BC547B and SL100B is used as shown in the figure.
are fed to pin 14 of IC2 (CD4017) which is to amplify its output. The frequency of The circuit can be easily assembled on
a well-known decade counter. IC3 is adjusted by potmeter VR2. Each a veroboard. Any well-filtered 9V, 250mA
Here LEDS have been connected in 100k preset (VR3 through VR7) is ad- DC power supply is suitable. Primary of
a rather unusual way. The LEDs flash justed for a different tune depending on the supply transformer may be connected
sequentially from Q0 to Q9. Five presets individual choice. The 10-LED display to the bell AC outlet points.

192 ELECTRONICS PROJECTS Vol. 19


Frequency Measurements
Using PC
H
ere is a simple technique for along with its time-period and frequency given by UL=19xN5 Hz. Thus for MOD
measuring frequencies over components, its measurement precision 16 counters UL20 MHz, and for MOD
quite a wide frequency range and in percentage is also calculated and dis- 10 counters UL1.9 MHz. Care should
with acceptable accuracy limits using played. Number of data taken in 54.9 ms be taken to ensure that this upper limit
a PC. It follows the basic technique of is also displayed. is within the operating frequency range
measuring low frequencies, i.e. at low fre- As stated above, the lower starting of counter IC used. Precision of measure-
quency, period is measured for a complete range is about 19 Hz. Data is read for ment is a machine-dependent parameter.
wave and frequency is calculated from the approximately 54.9 ms. Thus, the lowest High-speed machines will have better
measured time-period. possible frequency that can be measured precision compared to others. Basi-
Cascaded binary counters are used is 1/.0549 Hz. Lower frequency range cally, precision depends directly upon
for converting the high-frequency signals depends only on the sampling time and the number of data read in a standard
into low-frequency signals. The parallel is practically fixed at 19 Hz (18.2 Hz, time. Precision of measurement varies
port of a computer is used for data input to be precise). Upper frequency range inversely as the value of MOD counter
from binary counters. This data is used depends on factors such as value of the used. Precision is high when MOD 10
for measuring time and calculating the MOD counter used and the operating counters are used in place of MOD 16
frequency of the signal. frequency range of the counter IC. If counters, but this will restrict the upper
The block diagram shows the basic MOD-N counter is used (where N is an limit of frequency measurement and
connections of the counters and parallel integer), upper limit (UL) of frequency is vice-versa.
port pin numbers on 25-pin D connector
of a PC (control register 379 Hex is used
for input). External hardware is used
only for converting the higher frequency
signals into low frequency signals. Thus,
the major role in frequency-measurement
is played by the software.
The PC generates a time-interrupt at
a frequency of 18.21 Hz, i.e. after every
54.92 millisecond. Software uses this
time-interrupt as a time-reference. The
control register of the PCs parallel port is
read and the data is stored continuously
in an array for approximately 54.9 ms
using a loop. This stored data is then ana-
lysed bit-wise. Initially, the higher-order
bit (MSB or the seventh-bit) of every ar-
ray element is scanned for the presence of
a complete square wave. If it is found, its
time period is measured and if not then
the second-highest order bit (sixth bit) is
scanned. This operation is performed till
the third bit and if no full square wave is
still found, an error message is generated
which indicates that either there is an
error in reading or the frequency signal
is lower than 19 Hz.
Lower three bits of the control regis-
ter are not used. When a wave is found,

ELECTRONICS PROJECTS Vol. 20


FLUID LEVEL DETECTOR
H
ere is a simple but versatile cir-
cuit of fluid level detector which
can be used for various applica-
tions at home and in industry.
Circuit is built around 2-input NAND
Schmitt trigger gates N1 and N2. Gate
N1 is configured as an oscillator operat-
ing at around 1 kHz frequency. When
the fluid level reaches the probes level,
the oscillations are coupled to the diode
detector stage comprising diodes D1 and
D2. capacitor C4 and resistor R2. The
positive voltage developed across ca-
pacitor C4 and resistor R2 combination
is applied to Schmitt NAND gate N2 be suitably interfaced to any external detector circuit. Since high frequency AC
which is used here as a buffer/driver. circuit for indication purposes or driving is used for the electrodes, there is no cor-
The output of gate N2 is connected to any load as desired. rosion of the electrodes which is normally
opto-coupler MCT2E. The output across Use of opto-coupler ensures complete observed with DC being applied to the
pins 4 and 5 of the opto-coupler can isolation of the load from the fluid level electrodes.

196 ELECTRONICS PROJECTS Vol. 19


CIRCUIT IDEAS

GENERATION OF 1-SEC. PULSES


ming of the 5-second and 1-second pulse
width of respective sections.
When switch S2 is in position a and
switch S1 is pressed momentarily, the out-

SPACED 5-SEC. APART RUP


ANJA
NA
put at pin 5 goes high for about 5 sec-
onds. The trailing (falling) edge of this 5-
second pulse is used to trigger the second
timer via 0.1F capacitor C6. This action
PRAVEEN SHANKER
results in momentarily pulling down of
pin 8 towards the ground potential, i.e.

T
his circuit using a dual-timer ing switch S1 momentarily low. (Otherwise pin 8 is at 1/2 Vcc and
NE556 can produce 1Hz pulses you can generate a single pulse of 5- triggers at/below 1/3 Vcc level.) When the
spaced 5 seconds apart, either second duration. When switch S2 is second timer is triggered at the trailing
manually or automatically. IC NE556 kept in b position, i.e. pins 6 and 2 are edge of 5-second pulse, it generates a 1-
comprises two independent NE555 tim- shorted, timer 1 in NE556 triggers by second wide pulse.
ers in a single package. It is used to itself. When switch S2 is on position b,
produce two separate pulses of differ- The output of the first timer is con- switch S1 is disconnected, while pin 6 is
ent pulse widths, where one pulse nected to trigger pin 8 of second timer, connected to pin 2. When capacitor C is
initiates the activation of the second which, in turn, is connected to a poten- charged, it is discharged through pin 2
pulse. tial divider comprising resistors R4 and until it reaches 1/3Vcc potential, at which
The first half of the NE556 is wired R5. Resistor R1, preset VR1, resistor R2, it is retriggered since trigger pin 6 is
for 5-second pulse output. When slide preset VR2, and capacitors C2 and C5 also connected here. Thus timer 1 is
switch S2 is in position a, the first timer are the components determining time pe- retriggered after every 5-second period
is set for manual operation, i.e. by press- riod. Presets VR1 and VR2 permit trim- (corresponding to 0.2Hz frequency). The
second timer is triggered as before to
produce a 1-second pulse in synchro-
nism with the trailing edge of 5-sec-
ond pulse.
This circuit is important wherever
a pulse is needed at regular intervals;
for instance, in Versatile Digital Fre-
quency Counter Cum Clock construc-
tion project published in EFY Oct. 97,
one may use this circuit in place of
CD4060-based circuit. For the digital
clock function, however, pin 8 and 12
are to be shorted after removal of
0.1F capacitor and 10-kilo-ohm resis-
tors R4 and R5.

ELECTRONICS FOR YOU  FEBRUARY 2001


Handy Zener Diode Tester
H
ere is a handy zener diode four 1.5V batteries and the remaining one- quired AC voltage across transformers
tester which tests zener diodes third is sufficient for accommodating this 230V AC terminals. This AC voltage is
with breakdown voltages extend- circuit. In this circuit a commonly available converted to DC by diode D1 and filter
ing up to 120 volts. The main advantage transformer with 230V AC primary to 9-0- capacitor C2 and is used to test the zener
of this circuit is that it works with a volt- 9V, 500mA secondary is used in reverse to diodes. R3 is used as a series current
age as low as 6V DC and consumes less achieve higher AC voltage across 230V AC limiting resistor.
than 8 mA current. terminals. After assembling the circuit, check DC
The circuit can be fitted in a 9V battery Transistor T1 (BC547) is configured voltage across points A and B without con-
box. Two-third of the box may be used for as an oscillator and driver to obtain re- necting any zener diode. Now switch S1
on. The DC voltage across A-B should vary
from 10V to 120V by adjusting potmeter
VR1 (10k). If every thing is all right, the
circuit is ready for use.
For testing a zener diode of un-
known value, connect it across points A
and B with cathode towards A. Adjust
potmeter VR1 so as to obtain the maxi-
mum DC voltage across A and B. Note
down this zener value corresponding
to DC voltage reading on the digital
multimeter.
When testing zener diode of value less
than 3.3V, the meter shows less voltage
instead of the actual zener value. However,
correct reading is obtained for zener diodes
of value above 5.8V with a tolerance of 10
per cent. In case zener diode shorts, the
multimeter shows 0 volts.

ELECTRONICS PROJECTS Vol. 20


HOUSE SECURITY SYSTEM
MALAY BANERJEE

H
ere is a low-cost, invisible laser M1 through M6 is used to direct the step-down transformers (X1 and X2), two
circuit to protect your house laser beam around the house to form a 6V relays (RL1 and RL2), an LDR, a
from thieves or trespassers. A net. The laser beam is directed to fi- transistor, and a few other passive com-
laser pointer torch, which is easily avail- nally fall on an LDR that forms part of ponents. When switches S1 and S2 are
able in the market, can be used to oper- the receiver unit as shown in Fig. 2. activated, transformer X1, followed by a
ate this device. Any interruption of the beam by a thief/ full-wave rectifier and smoothing capaci-
The block diagram of the unit shown trespasser will result into energisation tor C1, drives relay RL1 through the
in Fig. 1 depicts the overall arrange- of the alarm. The 3V power-supply cir- laser switch.
ment for providing security to a house. cuit is a conventional full-wave recti- The laser beam should be aimed con-
A laser torch powered by 3V power- fier-filter circuit. Any alarm unit that tinuously on LDR. As long as the laser
supply is used for generating a laser operates on 230V AC can be connected beam falls on LDR, transistor T1 re-
beam. A combination of plain mirrors at the output. mains forward biased and relay RL1 is
The receiver thus in de-energised condition. When a
unit comprises person crosses the line of laser beam,
two identical relay RL1 turns on and transformer X2

gets power supply and RL2


energises. In this condition,
the laser beam will have no
effect on LDR and the alarm
will continue to operate as long
as switch S2 is on.
When the torch is switched
on, the pointed laser beam is
reflected from a definite point/
place on the periphery of the
house. Making use of a set of
properly oriented mirrors
one can form an invisible net
of laser rays as shown in the
block diagram. The final ray
should fall on LDR of the
circuit.
Note. LDR should be kept
in a long pipe to protect it from
other sources of light, and
its total distance from the
source may be kept limited to
500 metres.

ELECTRONICS PROJECTS Vol. 22 119


CIRCUIT IDEAS

inverting pin is held at a reference volt-

IC Controlled age of approximately 6.9 volts which is


obtained using diode D5 (1N4148) and
6.2-volt zener D6. The inverting pin of
IC1 is connected to the positive termi-

Emergency Light nal of battery. Thus when mains


supply is present, IC1 comparator out-
put is high, unless battery voltage ex-
ceeds 6.9 volts. So transistor T1 is nor-

with Charger R. R
AINA
mally forward biased, which energises
relay RL1. In this state the battery re-
mains on charge via N/O contacts of
relay RL1 and current limiting resistor
R2. When battery voltage exceeds 6.9
A.P.S. DHILLON volts (overcharged condition), IC1 out-
put goes low and relay RL1 gets de-
energised, and thus stops further charg-
ing of battery.

T
he circuit shown here is that of Battery overcharge preventer circuit MOSFETs T3 and T4 may be
the IC controlled emergency is built around IC1 (LM308). Its non- mounted on suitable heat sinks.
light. Its main
features are: automatic
switching-on of the light
on mains failure and bat-
tery charger with over-
charge protection.
When mains is ab-
sent, relay RL2 is in de-
energised state, feeding
battery supply to in-
verter section via its N/
C contacts and switch
S1. The inverter section
comprises IC2 (NE555)
which is used in stable
mode to produce sharp
pulses at the rate of 50
Hz for driving the
MOSFETs. The output of
IC3 is fed to gate of
MOSFET (T4) directly
while it is applied to
MOSFET (T3) gate after
inversion by transistor
T2. Thus the power am-
plifier built around
MOSFETs T3 and T4
functions in push-pull
mode.
The output across
secondary of transformer
X2 can easily drive a
230-volt, 20-watt fluores-
cent tube. In case light
is not required to be on
during mains failure,
simply flip switch S1 to
off position.
INTELLIGENT SWITCH
T
his intelligent switch circuit ena- remains de-en-
bles automatic, switching on of ergised. How-
an emergency light system during ever, during
darkness in the event of mains failure. darkness, pho-
The mains power failure condition to transistor
is detected by the section consisting is cut-off and
of mains step-down transformer X1 therefore tran-
followed by bridge rectifier comprising sistor T2 re-
diodes D1 through D4 and smoothing ceives forward
capacitor C1. If the mains is available base bias via
then it causes energisation of relay resistor R1
RL1 which has two sets of changeover (connected to
contacts. positive rail),
The light/darkness condition is de- as resistor R2
tected by the circuit comprising photo- is no more
transistor FPT100/2N5777 followed by grounded (via
Darlington pair comprising transistors photo-transis-
T2 and T3. However, this section will tor T1). As a
function only when mains supply is result, relay
not available (i.e. when relay RL1 is in RL2 gets en-
de-energised state) since battery supply ergised.
(negative lead) path gets completed via Thus it
lower N/C contact of relay RL1. would be ob-
During daylight, photo transistor served that
conducts and places transistor T2 base when mains is
near ground potential. Thus Darlington absent (relay RL1 de-energised) and it output path is complete. In any other
pair remains cut-off and relay RL2 is dark (relay RL2 energised), the switch condition switch output path would get
broken. The switch output terminals can
Period Conditions Switch status
be used (in series with supply) to control
a lighting system directly or indirectly
During daylight
[
(when mains is present
(when mains is absent) ] intelligent switch is off .
through another contactor/heavy-duty
relay depending upon the load.
During night darkness
[ (when mains is absent) ]
(when mains is present) intelligent switch is off .
intelligent switch is on.
The working of the intelligent switch
is summarised in the table.

200 ELECTRONICS PROJECTS Vol. 19


CIRCUIT IDEAS

INVISIBLE BROKEN For audio-visual indication, one may


use a small buzzer (usually built inside

WIRE DETECTOR
quartz alarm time pieces) in parallel with
EDI one small (3mm) LCD in place of LED1
DWIV
S.C. and resistor R5. In such a case, the cur-
rent consumption of the circuit will be
K. UDHAYA KUMARAN, VU3GTH around 7 mA. Alternatively, one may use
two 1.5V R6- or AA-type batteries. Using

P
ortable loads such as video cam- The frequency is determined by timing this gadget, one can also quickly detect
eras, halogen flood lights, elec- components comprising resistors R3 and fused small filament bulbs in serial loops
trical irons, hand drillers, grind- R4, and capacitor C1. Gates N1 and N2 powered by 230V AC mains.
ers, and cutters are powered by connect- are used to sense the presence of 230V AC The whole circuit can be accommo-
ing long 2- or 3-core cables to the mains field around the live wire and buffer weak dated in a small PVC pipe and used as a
plug. Due to prolonged usage, the power AC voltage picked from the test probe. handy broken-wire detector. Before detect-
cord wires are subjected to mechanical The voltage at output pin 10 of gate N2 ing broken faulty wires, take out any con-
strain and stress, which can lead to in- can enable or inhibit the oscillator circuit. nected load and find out the faulty wire
ternal snapping of wires at any point. In When the test probe is away from any first by continuity method using any mul-
such a case most people go for replacing high-voltage AC field, output pin 10 of timeter or continuity tester. Then connect
the core/cable, as finding the exact loca- gate N2 remains low. As a result, diode 230V AC mains live wire at one end of
D3 conducts and inhibits the faulty wire, leaving the other end free.
the oscillator circuit from Connect neutral terminal of the mains
oscillating. Simulta- AC to the remaining wires at one end.
neously, the output of gate However, if any of the remaining wires is
N3 at pin 6 goes low to also found to be faulty, then both ends of
cut off transistor T1. As a these wires are connected to neutral. For
result, LED1 goes off. single-wire testing, connecting neutral
When the test probe is only to the live wire at one end is suffi-
moved closer to 230V AC, cient to detect the breakage point.
50Hz mains live wire, dur- In this circuit, a 5cm (2-inch) long,
ing every positive half- thick, single-strand wire is used as the
cycle, output pin 10 of gate test probe. To detect the breakage point,
N2 goes high. turn on switch S1 and slowly move the
Thus during every test probe closer to the faulty wire, begin-
positive half-cycle of the ning with the input point of the live wire
mains frequency, the os- and proceeding towards its other end.
cillator circuit is allowed LED1 starts glowing during the presence
tion of a broken wire is difficult. In 3-core to oscillate at around 1 kHz, making red of AC voltage in faulty wire. When the
cables, it appears almost impossible to de- LED (LED1) to blink. (Due to the persis- breakage point is reached, LED1 immedi-
tect a broken wire and the point of break tence of vision, the LED appears to be ately extinguishes due to the non-avail-
without physically disturbing all the three glowing continuously.) This type of blink- ability of mains AC voltage. The point
wires that are concealed in a PVC jacket. ing reduces consumption of the current where LED1 is turned off is the exact
The circuit presented here can easily from button cells used for power supply. broken-wire point.
and quickly detect a broken/faulty wire A 3V DC supply is sufficient for pow- While testing a broken 3-core rounded
and its breakage point in 1-core, 2-core, ering the whole circuit. AG13 or LR44 cable wire, bend the probes edge in the
and 3-core cables without physically dis- type button cells, which are also used in- form of J to increase its sensitivity and
turbing wires. It is built using hex in- side laser pointers or in LED-based conti- move the bent edge of the test probe closer
verter CMOS CD4069. Gates N3 and N4 nuity testers, can be used for the circuit. over the cable. During testing avoid any
are used as a pulse generator that oscil- The circuit consumes 3 mA during the strong electric field close to the circuit to
lates at around 1000 Hz in audio range. sensing of AC mains voltage. avoid false detection.

ELECTRONICS FOR YOU  AUGUST 2001


CIRCUIT IDEAS

LASER TORCH-BASED VOICE


TRANSMITTER AND RECEIVER
PRADEEP G.
SAN
I THE
O

U
sing this circuit you can communi-
cate with your neighbours
wirelessly. Instead of RF signals,
light from a laser torch is used as the
carrier in the circuit. The laser torch can
transmit light up to a distance of about 500
metres. The phototransistor of the receiver
must be accurately oriented towards the
laser beam from the torch. If there is any
obstruction in the path of the laser beam,
no sound will be heard from the receiver.
The transmitter circuit (Fig. 1) com-
prises condenser microphone transistor
amplifier BC548 (T1) followed by an op-
amp stage built around A741 (IC1). The
gain of the op-amp can be controlled with
the help of 1-mega-ohm potmeter VR1.
The AF output from IC1 is coupled to the
base of transistor BD139 (T2), which, in
turn, modulates the laser beam.
The transmitter uses 9V power sup-
ply. However, the 3-volt laser torch (after
removal of its battery) can be directly con-
nected to the circuitwith the body of
the torch connected to the emitter of
BD139 and the spring-loaded lead protrud-
ing from inside the torch to circuit ground.
The receiver circuit (Fig. 2) uses an
npn phototransistor as the light sensor that
is followed by a two-stage transistor
preamplifier and LM386-based audio
power amplifier. The receiver does not
need any complicated alignment. Just keep
the phototransistor oriented towards the
remote transmitters laser point and ad-
just the volume control for a clear sound.
To avoid 50Hz hum noise in the from AC light sources such as bulbs. cause any problem. But the sensor should
speaker, keep the phototransistor away The reflected sunlight, however, does not not directly face the sun.

JANUARY 2002 ELECTRONICS FOR YOU


CIRCUIT IDEAS

MOBILE PHONE I THE


O
configuration and the positive DC supply
is directly connected to the chargers out-

BATTERY CHARGER SAN


put contact, while the negative terminal
is connected through current limiting re-
sistor R2.
T.K. HAREENDRAN LED2 works as a power indicator with
resistor R1 serving as the current limiter

M
obile phone chargers available in 7.2 volts, such as Nokia 6110/6150. and LED3 indicates the charging status.
the market are quite expensive. The 220-240V AC mains supply is During the charging period, about 3 volts
The circuit presented here comes downconverted to 9V AC by transformer drop occurs across resistor R2, which turns
as a low-cost alternative to charge mobile X1. The transformer output is rectified by on LED3 through resistor R3.
telephones/battery packs with a rating of diodes D1 through D4 wired in bridge An external DC supply source (for in-
stance, from a vehicle battery) can also be
used to energise the charger, where resis-
tor R4, after polarity protection diode D5,
limits the input current to a safe value.
The 3-terminal positive voltage regulator
LM7806 (IC1) provides a constant voltage
output of 7.8V DC since LED1 connected
between the common terminal (pin 2) and
ground rail of IC1 raises the output volt-
age to 7.8V DC. LED1 also serves as a
power indicator for the external DC sup-
ply.
After constructing the circuit on a
veroboard, enclose it in a suitable cabinet.
A small heat sink is recommended for IC1.

ELECTRONICS FOR YOU JANUARY 2002


CIRCUIT IDEAS

Simple Low-Cost R4, and on releasing these two switches,


capacitor C3 starts discharging through
resistor R4. Capacitor C3 and resistor
R4 are so selected that it takes about

Digital Code Lock five seconds to fully discharge C3.


Depressing switches S1 and S8 in
unison, within five seconds of releasing
the switches SA and SC, pulls pin 2 to
NA ground and IC 555 is triggered. The ca-
A. JEYABAL ANJA
RUP pacitor C1 starts charging through re-
sistor R1. As a result, the output (pin
3) goes high for five seconds (i.e. the

M
any digital code lock circuits An essential property of this elec- charging time T of the capacitor C1 to
have been published in this tronic code lock is that it works in the threshold voltage, which is calcu-
magazine. In those circuits a monostable mode, i.e. once triggered, lated by the relation T=1.1 R1 x C1 sec-
set of switches (conforming to code) are the output becomes high and remains onds).
pressed one by one within the specified so for a period of time, governed by the Within these five seconds, switches
time to open the lock. In some other timing components, before returing to SA and SC are to be pressed momen-
circuits, custom-built ICs are used and the quiescent low state. In this circuit, tarily once again, followed by the de-
positive and negative logic pulses are timer IC 555 with 8 pins is used. The pression of last code-switch pair S3-S4.

keyed in sequence as per the code by IC is inexpensive and easily available. These switches connect the relay to out-
two switches to open the lock. Its pin 2 is the triggering input pin put pin 3 and the relay is energised.
A low-cost digital code lock circuit which, when held below 1/3 of the sup- The contacts of the relay close and the
is presented in this article. Here the ply voltage, drives the output to high solenoid pulls in the latch (forming part
keying-in code is rather unique. Six state. The threshold pin 6, when held of a lock) and the lock opens. The re-
switches are to be pressed to open the higher than 2/3 of the supply voltage, maining switches are connected between
lock, but only two switches at a time. drives the output to low state. By ap- reset pin 4 and ground. If any one of
Thus a total of three sets of switches plying a low-going pulse to the reset these switches is pressed, the IC is re-
have to be pressed in a particular se- pin 4, the output at pin 3 can be set and the output goes to its quiescent
quence. (Of these three sets, one set is brought to the quiescent low level. Thus low state. Possibilities of pressing these
repeated.) The salient features of this the reset pin 4 should be held high for reset switches are more when a code
circuit are: normal operation of the IC. breaker tries to open the lock.
1. Use of 16 switches, which sug- Three sets of switches SA-SC, S1- LED D5 indicates the presence of
gests that there is a microprocessor in- S8 and S3-S4 are pressed, in that or- power supply while resistor R5 is a cur-
side. der, to open the lock. On pressing the rent limiting resistor.
2. Elimination of power amplifier switches SA and SC simultaneously, ca- The given circuit can be recoded eas-
transistor to energise the relay. pacitor C3 charges through the poten- ily by rearranging connections to the
3. Low cost and small PCB size. tial divider comprising resistors R3 and switches as desired by the user.

ELECTRONICS FOR YOU n  JULY '99


CIRCUIT IDEAS

Electronic Jam A.P.S


. DH
ILLO
N
output pin 8 of IC3 becomes high, which
causes outputs of both gates N1 and
N2 to go to logic 0 state. Logic 0 output
of gate N2 inhibits IC1, and thus press-
RAJESH K.P. ing of any other switch S1 through S8
has no effect. Thus, the contestant who

T
his jam circuit can be used in through R8. All eight outputs of IC1 presses his switch first, jams the dis-
quiz contests wherein any par- are connected to inputs of priority en- play to show only his number. In the
ticipant who presses his button coder 74LS147 (IC2) as well as 8-input unlikely event of simultaneous press-
(switch) before the other contestants, NAND gate 74LS30 (IC3). The output ing (within few nano-seconds difference)
gets the first chance to answer a ques- of IC3 thus becomes logic 0 which, after of more than one switch, the higher
tion. The circuit given here permits up inversion by NAND gate N2, is applied priority number (switch no.) will be
to eight contestants with each one al- to latch-enable pin 11 of IC1. With all displayed. Simultaneously, the logic 0
lotted a distinct number (1 to 8). The input pins of IC2 being logic 1, its BCD output of gate N1 drives the buzzer via
display will show the number of the con- output is 0000, which is applied to 7- pnp transistor BC158 (T1). The buzzer
testant pressing his button before the segment decoder/driver 74LS47 (IC6) af- as well the display can be reset (to
others. Simultaneously, a buzzer will ter inversion by hex inverter gates in- show 0) by momentary pressing of re-
also sound. Both, the display as well as side 74LS04 (IC5). Thus, on reset the set switch S9 so that next round may
the buzzer have to be reset manually display shows 0. start.
using a common reset switch. When any one of the push-to-on Lab Note: The original circuit sent
Initially, when reset switch S9 is mo- switchesS1 through S8is pressed, by the author has been modified as it
mentarily pressed and released, all out- the corresponding output line of IC1 is did not jam the display, and a higher
puts of 74LS373 (IC1) transparent latch latched at logic 0 level and the display number switch (higher priority), even
go high since all the input data lines indicates the number associated with when pressed later, was able to change
are returned to Vcc via resistors R1 the specific switch. At the same time, the displayed number.

ELECTRONICS FOR YOU n  JUNE '99


circuit
ideas

Long-Range IR Transmitter s.c. dwiv


edi

EFY Lab
IR laser pointer as the IR signal source.
The laser pointer is readily available in

M
ost of the IR remotes work re- the market. However, with a very nar- duces the power loss that would result
liably within a range of 5 me- row beam from the laser pointer, you if a transistor were used. To avoid any
tres. The circuit complexity have to take extra care, lest a small jerk dip during its on/off operations, a
increases if you design the IR transmit- to the gadget may change the beam 100F reservoir capacitor C2 is used
ter for reliable operation over a longer orientation and cause loss of contact. across the battery supply. Its advan-
range, say, 10 metres. To double the Here is a simple circuit that will tage will be more obvious when the
range from 5 metres to 10 metres, you give you a pretty long range. It uses IR transmitter is powered by ordinary
need to increase the transmitted power three infrared transmitting LEDs (IR1 batteries. Capacitor C2 supplies extra
charge during switch-
ing on operations.
As the MOSFET ex-
hibits large capacitance
across gate-source ter-
minals, a special drive
arrangement has been
made using npn-pnp
Darlington pair of
BC547 and BC557 (as
emitter followers), to
avoid distortion of the
gate drive input. Data
(CMOS-compatible) to
be transmitted is used
for modulating the 38
kHz frequency gener-
ated by CD4047 (IC1).
However, in the circuit
shown here, tactile
Fig. 1: Circuit of the long-range ir transmitter
switch S1 has been
used for modulating
four times. through IR3) in series to increase the and transmitting the IR signal.
If you wish radiated power. Further, to increase Assemble the circuit on a gen-
to realise a the directivity and so also the power eral-purpose PCB. Use switch S2 for
highly direc- density, you may assemble the IR LEDs power on/off control. Commer-
tional IR beam inside the reflector of a torch. cially available IR receiver modules
(very narrow For increasing the circuit efficiency, (e.g., TSOP1738) could be used for
Fig. 2: Pin configurations
beam), you can a MOSFET (BS170) has been used, efficient reception of the transmitted
of bc547/557 and bS170 suitably use an which acts as a switch and thus re- IR signals.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u S e p t e m b e r 2 0 0 8 1 0 9
Long-range FM Transmitter
S
everal circuits for constructing FM
transmitters have been published
in EFY. The power output of most
of these circuits were very low because
no power amplifier stages were incorpo-
rated.
The transmitter circuit described here
has an extra RF power amplifier stage,
after the oscillator stage, to raise the
power output to 200-250 milliwatts. With
a good matching 50-ohm groundplane
antenna or multi-element Yagi antenna,
this transmitter can provide reasonably
good signal strength up to a distance of
about 2 kilometres.
The circuit built around transistor
T1 (BF494) is a basic low-power vari-
able-frequency VHF oscillator. A varicap an aluminium sheet. VR2 is used for power control. For hum-
diode circuit is included to change the fre- Coil winding details are given below: free operation, operate the transmitter
quency of the transmitter and to provide L1 4 turns of 20 SWG wire close on a 12V rechargeable battery pack of
frequency modulation by audio signals. wound over 8mm diameter plastic 10 x 1.2-volt Ni-Cd cells. Transistor T2
The output of the oscillator is about 50 former. must be mounted on a heat sink. Do
milliwatts. Transistor T2 (2N3866) forms L2 2 turns of 24 SWG wire near top not switch on the transmitter without
a VHF-class A power amplifier. It boosts end of L1. a matching antenna. Adjust both trim-
the oscillator signals power four to five (Note: No core (i.e. air core) is used for mers (VC1 and VC2) for maximum
times. Thus, 200-250 milliwatts of power the above coils) transmission power. Adjust potentiom-
is generated at the collector of transistor L3 7 turns of 24 SWG wire close eter VR1 to set the centre frequency
T2. wound with 3mm diameter air core. near 100 MHz.
For better results, assemble the circuit L4 7 turns of 24 SWG wire-wound on This transmitter should only be used
on a good-quality glass epoxy board and a ferrite bead (as choke) for educational purposes. Regular trans-
house the transmitter inside an alumini- Potentiometer VR1 is used to set the mission using such a transmitter without
um case. Shield the oscillator stage using centre frequency whereas potentiometer a licence is illegal in India.

ELECTRONICS PROJECTS Vol. 20


LOW-COST PCO BILLING METER
T
he circuit presented here can be well as upon the impedance of telephone optocoupler IC3. The output of this
used in PCOs for displaying the instrument). Handset is normally lifted optocoupler is used to bridge the =
actual bill. The comparative either for dialing or in response to a ring. button on a calculator (such as Taksun
disadvantages of the presented circuit are In the circuit shown in Fig. 1, when make), which has the effect of pressing
as follows: the handset is off-hook, the optocoupler the = button of the calculator.
1. The calculator used along with this MCT2E (IC1) conducts and forward Considering that pulse rate for a
circuit is required to be switched on biases transistor T1, which, in turn, specific town/time/day happens to be Rs
manually before making a call. forward biases transistor T2 and 1.26 per pulse, then before maturity of
2. Certain manual entries have to be energises relay RL1. In energised the call one enters 1.26 followed by
made in the calculator; for example, for condition of relay, the upper set of relay pressing of + key twice. Now, if a total
a pulse rate of Rs 1.26, number 1.26 is contacts connects the positive supply rail of ten billing pulses have been received

to PLL (phase- from exchange for the duration of the call,


locked loop) IC2 then on completion of the call, the
(LM567) pin 4, calculator display would show 12.60. The
while the lower set telephone operator has to bill the
of relay contacts customer Rs 14.60 (Rs 12.60 towards call
couples the positive charges plus Rs 2.00 towards service
telephone lead to charges).
input pin 3 of For tuning of the PLL circuit around
LM567 via IC2, lift the handset and inject 16kHz
capacitor C1 and tone across the line input points.
resistor R3. Tune IC2 to centre frequency of 16 kHz
The negative with the help of preset VR1. Proper
telephone lead is tuning of the PLL will cause LED
permanently (D6) to glow even with a very low-
to be entered after switching on the capacitively coupled to ground via amplitude 16kHz tone.
calculator followed by pressing of + capacitor C2. As soon as call matures, EFY Lab note. Arrangement used for
button twice. However, possibility exists 16kHz tone pulses would be pumped into simulating a 16kHz pulsed tone is shown
for automating these two functions by the telephone line by the telephone in Fig. 2. Push-to-on switch is used for
using additional circuitry. exchange at suitable intervals. This generation of fixed-duration pulse for
In telephony, on-hook condition is interval depends on the pulse rate of the modulating and switching on a 16kHz
represented by existance of 48V to 52V place called and also the time of the day oscillator.
across the line. Similarly, the off-hook and whether its a working-day or For more details regarding pulse
condition is represented by the line holiday. On receipt of 16kHz pulse, rates, pulse codes, etc, readers are
voltage dropping to a level of 8V to 10V output pin 8 of IC LM567 (which is tuned advised to go through the tariff rates and
(depending upon the length of the local for centre frequency of 16 kHz) goes low pulse code information given in the
lead line (local loop) from telephone for the duration of the pulse. The output beginning pages of telephone directories,
exchange to the subscribers premises as of IC2 is coupled via transistor T3 to such as MTNL, Delhi directory, Vol. I.

188 ELECTRONICS PROJECTS Vol. 21


Low-cost Transistorised
Intercom
S
everal intercom circuits have ap-
peared in EFY using integrated
circuits. The circuit described here
uses three easily available transistors
only. Even a beginner can easily assemble
it on a piece of veroboard.
The circuit comprises a 3-stage resis-
tor-capacitor coupled amplifier. When
ring button S2 is pressed, the amplifier
circuit formed around transistors T1 and
T2 gets converted into an asymmetrical
astable multivib-rator generating ring
signals. These ring signals are amplified
by transistor T3 to drive the speaker of
earpiece.
Current consumption of this intercom
is 10 to 15 mA only. Thus a 9-volt PP3 required to be used. Output of one am-
plifier unit goes to speaker of the other
unit, and vice versa. For single-battery
operation, join corresponding supply
and ground terminals of both the units
together.
The complete circuit, along with
microphone and earpiece etc, can be
housed inside the plastic body of a toy
cellphone, which is easily available
in the market. Suggested cellphone
cabinet, with the position of switches,
battery would have a long life, when used For making a two-way intercom, two speakers and mike etc is shown.
in this circuit. identical units, as shown in figure, are

ELECTRONICS PROJECTS Vol. 20


Low Current, High
Voltage Power Supply
A
high voltage power supply is a
very useful source which can be Table
effectively used in many applica- Details of the Transformer Windings
tions like biasing of gas-discharge tubes Windings No. of Standard wire
and radiation detectors etc. Such a power turns gauge (SWG)
supply could also be used for protection of Primary 50 31
property by charging of fences. Here the Feedback 12 31
current requirement is of the order of a Secondary 1650 41
few microamps. In such an application,
high voltage would essentially exist be-
tween a live wire and ground. When this
live wire is touched, the discharge occurs
via body resistance and it gives a non-le-
thal but deterrent shock to an intruder.
The circuit is built around a transis-
torised blocking oscillator. An important
element in this circuit is the transformer.
It can be fabricated using easily available
ferrite core. Two E sections of the core
are joined face-to-face after the enamelled
copper wire wound on former is placed in
it. The details of the transformer windings
are given in the Table.
In this configuration, the primary wind-
ing and the feedback winding are arranged about 24V(p-p). This gets further ampli- adjusted by varying the supply voltage.
such that a sustained oscillations are en- fied due to the large step-up ratio of the The present configuration gives 2 kV for an
sured once the supply is switched on. The transformer and we get about 800V(p-p) input DC voltage of 15 V. Though higher
waveforms duty cycle is asymmetrical, but across the secondary. A simple series volt- voltages could be achieved by increas-
it is not very important in this application. age multiplier (known as Cockroft-Walton ing input supply, one word of caution is
Please note that if the oscillations do not oc- circuit) is used to boost up this voltage necessary: that the component ratings
cur at the switch-on time, the transformer in steps to give a final DC voltage of about have to be kept in mind. If the ratings
winding terminals of the feedback or the 2 kV. are exceeded then there will be electrical
primary winding (but not both) should be The output voltage, however, is not discharges and breakdowns, which will
reversed. very well regulated. But if there is a damage the device.
The primary oscillations amplitude is constant load, the final voltage can be

ELECTRONICS PROJECTS Vol. 20


CIRCUIT IDEAS

LUGGAGE SECURITY SYSTEM


DHURJATI SINHA EDI alarm sounds, connections to pin 1 and 6
DWIV
S.C. may be made as per the table.
Select 1 Select 2 Sound effect

W
hile travelling by a train or bus, sistor T1 gets forward biased to extend (Pin6) (Pin1)
we generally lock our luggage the positive supply to the alarm circuit. X X Police siren
using a chain-and-lock arrange- In idle mode, the power consumption of VDD X Fire-engine siren
ment. But, still we are under tension, ap- the circuit is minimum and thus it can be VSS X Ambulance siren
prehending that somebody may cut the used for hundreds of travel hours. - VDD Machine-gun sound
chain and steal our luggage. Here is a To enable generation of different Note: X = no connection; - = do not care
simple circuit to alarm you when
somebody tries to cut the chain.
Transistor T1 enables supply to
the sound generator chip when the
base current starts flowing through
it. When the wire (thin enameled
copper wire of 30 to 40 SWG, used
for winding transformers) loop
around the chain is broken by some-
body, the base of transistor T1,
which was earlier tied to positive
rail, gets opened. As a result, tran-

86
MAGIC LIGHTS
T
he circuit as shown in the figure emits green light. And when positive volt- BCD to 7-segment latch/decodor/driver
employs 14 bi-colour (red and age is simultaneously applied to its pins 1 ICs. Thus we obtain a total of 14 seg-
green) LEDs having three termi- and 3, it emits amber light. The circuit can ment outputs from each of the IC pairs

nals each. Different dancing colour pat- be used for decorative lights. consisting of IC4 plus IC5 and IC6 plus
terns are produced using this circuit since IC1 (555) is used in astable mode to IC7. While outputs from former pair
each LED can produce three different generate clock signal for IC2 and IC3 are connected to pin No. 1 of all the
colours. The middle terminal (pin 2) of the (CD4518) which are dual BCD counters. 14 bi-colour LEDs via current limiting
LEDs is the common cathode pin which is Both counters of each of these ICs have resistors, the ouputs of the latter pair
grounded. When a positive voltage is ap- been cascaded to obtain 8 outputs from are similarly connected to pin No.3 of
plied to pin 1, it emits red light. Similarly, each. The outputs from IC2 and IC3 are all the bi-colour LEDs to get a magical
when positive voltage is applied to pin 3. it connected to IC4 through IC7 which are dancing lights effect.

ELECTRONICS PROJECTS Vol. 19 187


Magnetic Proximity Switch
H
ere is an interesting circuit for a
magnetic proximity switch which
can be used in various applica-
tions.
The circuit, consists of a reed switch
at its heart. When a magnet is brought
in the vicinity of the sensor (reed switch),
its contacts close to control the rest
of the switching circuit. In place of the
reed switch, one may, as well, use a
general-purpose electromagnetic reed
relay (by making use of the reed switch
contacts) as the sensor, if required. These
tiny reed relays are easily available as
they are widely used in telecom products.
The reed switch or relay to be used with a consequence its output at pin 3 is used. Note that the flip-flop is wired
this circuit should be the normally open goes high for a short duration and in toggle mode with data input (pin 5)
type. supplies clock to the clock input connected to the Q (pin 2) output. On
When a magnet is brought/placed (pin 3) of IC2 (CD4013dual D-type receipt of clock pulse, the Q output at
in the vicinity of the sensor element flip-flop). LED D2 is used as a response pin 1 changes from low to high state and
for a moment, the contacts of the indicator. due to this the relay driver transistor
reed switch close to trigger timer This CMOS IC2 consists of two inde- T1 gets forward-biased. As a result the
IC1 wired in monostable mode. As pendent flip-flops though here only one relay RL1 is energised.

ELECTRONICS PROJECTS Vol. 20


CIRCUIT IDEAS

DING-DONG BELL SAN


I TH
EO
tary-pair, two-transistor amplifier is used
to amplify the sound to a fair level of
PRAVEEN SHANKER audiblity. You may either use a piezo
tweeter or an 8-ohm, 500mW speaker at

T
his simple and cost-effective door (Website address: fortech@mantramail. the output.
bell circuit is based on IC 8021-2 com). It is an 8-pin DIP IC whose only During the standby period, the IC con-
from Formox Semiconductors four pins, as shown in the circuit, have sumes nominal current of a few microam-
been used. peres only. Therefore switch S1 may be
The IC has an in-built kept closed. Each time switch S2 is
circuitry to produce ding- pressed, ding dong sound is produced
dong sound each time its twice. If you try to press switch S2 a sec-
pin 3 is pulled low. The ond time when the first ding dong sound
sound is stored in the IC is still being produed, it has no effect what-
as bits, as in a ROM. The ever and the two ding-dong bell sounds
sound output from the IC will be invariably produced.
cant however drive a The circuit costs no more than Rs 35
speaker directly, as this and the IC 8021-2 used in the circuit is
puts strain on the device. readily available for around Rs 15 in the
Therefore a complemen- market.

ELECTRONICS FOR YOU MARCH 2002


C I R CC UI RICTU I IT DI ED EAASS

when it detects IR light, triggering the


IR REMOTE SWITCH DWIV
EDI
monostable (1-second) built around timer
NE555. The output of the mono toggles
K.S. SANKAR S.C. the J-K flip flop, whose Q output drives
the relay through SL100 npn transistor (T1).
LED2, LED3, and LED4 are used to

I
magine the convenience of selecting works up to a distance of about 10 metres. display the status of each output stage dur-
TV channels using your remote and The circuit is built around a 3-pin IR ing circuit operation. Back-EMF diode D5
then pointing the same remote to your IC receiver (Siemens SFH-506-38 or equiva- is used for protection. Transistor T1 is con-
switchboard to switch on/off the fan or lent) that can detect 38kHz burst frequency figured as an open-collector output device
the tubelight. Here is a simple circuit to generated by a TV remote. (This IR re- to drive the relay rated at 12V DC.
remotely switch on/off any electrical de- ceiver module has been covered earlier in The circuit draws the power from volt-
vice through a relay using the normal TV/ many projects published in EFY.) age regulator 7805. Capacitor C5 is sol-
VCR/VCP/VCD remote control unit. It The output pin of IR sensor goes low dered close to the IR sensors pins to avoid
noise and false
triggering. Ca-
pacitor C3 and
resistor R3 also
avoid false trig-
gering of
monostable
NE555. The
monostable acts
as a 1-second
hysterisis unit to
restrict the flip-
flop from getting
retriggered
within one sec-
ond. To activate
any other 12V
logic device, use
the output across
the relay coil ter-
minals.

MARCH 2002 ELECTRONICS FOR YOU


CIRCUIT IDEAS

Wiper Speed timing resistors R4 and R5 connected in


the circuit of timer IC3 which functions
in astable mode.

Controller Y. K
AT ARIA As presets VR1 through VR10 are
set for different values, different time
periods (or frequencies) for astable
multivibrator IC3 can be selected. The
PRADEEP G. output of IC3 is applied to pnp driver
transistor T1 (TIP32) for driving the fi-

A
continuously working wiper in for the decade counter (IC2) which ad- nal power transistor T2 (2N3055) which
a car may prove to be a nui- vances by one count on each successive in turn drives the wiper motor at the
sance, especially when it is not clock pulse or the push of switch S1. selected sweep speed. The power supply
raining heavily. By using the circuit de- Ten presets (VR1 through VR10), for the wiper motor as well as the circuit
scribed here one can vary sweeping rate set for different values by trial and er- is tapped from the vehicles battery it-
of the wiper from once a second to once ror, are used at the ten outputs of IC2. self. The duration of monostable
in ten seconds. But since only one output of IC2 is high multivibrator IC1 is set for a nearly one
The circuit comprises two timer at a time, only one preset (at selected second period.
NE555 ICs, one CD4017 decade counter, output) effectively comes in series with
one TIP32
driver tran-
sistor, a
2N3055
power tran-
sistor (or
TIP3055)
and a few
other dis-
crete compo-
nents.
Timer
IC1 is con-
figured as a
mono- stable
multivibrator
which pro-
duces a
pulse when
one presses
switch S1
momen-
tarily. This
pulse acts as
a clock pulse

ELECTRONICS FOR YOU n  MARCH '99


Miniature Strobe Light
S
trobe lights are widely used by High voltage pulses induced in pri- neon lamp, it goes off and capacitor C3
disco lovers to create wonderful mary side are rectified by diode D1 and starts charging again. This cycle keeps on
visual effects in disco halls and rapidly charge reservoir capacitor C2 repeating for a short time, based on the
auditoria. The circuit of a battery oper- to nearly 300V DC. When switch S1 is reservoir capacitor C2s value.
ated portable miniature strobe light, released, capacitor C2 holds the voltage Precautions. The neon lamp flasher
which can be constructed using read- level for a finite period while capacitor section of this circuit carries danger-
ily available inexpensive components, is C3 charges slowly through resistor R3. ously high voltages. All precautions
described here. When voltage across capacitor C3 be- should therefore be taken for protec-
For convenience and simplicity, an comes high enough, neon strikes and the tion. Before any repair work, discharge
ordinary neon lamp is used here in place capacitor rapidly discharges through the capacitor C2 using a short length of
of the conventional Xenon tube. The whole lamp. When voltage across capacitor C3 wire with a 100k resistor connected
gadget can thus be easily accommodated in falls below the extinguishing potential of in series.
a small cabinet, such as a mains adaptor
cover, with a suitable reflector for neon
lamp to give a proper look. Since current
requirement of this circuit is very small, it
may be powered by two medium-size dry
cells (3V) or Ni-Cd cells (2.4V).
Transistors T1 and T2 in the
circuit form a complimentary-pair am-
plifier. When switch S1 is momentarily
depressed, the circuit oscillates because of
the positive feedback provided via resistor
R2 and capacitor C1 to the base of transis-
tor T1. The sharp pulses in the secondary
windings induce a high voltage in primary
windings of transformer X1, which in fact
is a line driver transformer (used in re-
verse) generally used in 36cm TV sets.

ELECTRONICS PROJECTS Vol. 20


Musical Touch Bell
Sukant Kumar Behara

H
ere is a musical call bell that can transistor BC558 is pnp type. loudspeaker. One end of 2.2-ohm resistor
be operated by just bridging the The emitter of transistor BC548 is R1 is connected to the positive rail and the
gap between the touchplates with shorted to the ground, while that of tran- other to a screw (as shown in the figure).
ones fingertips. Thus there is no need sistor BC558 is connected to the positive The complete circuit is connected to a
for a mechanical on/off switch because terminal. The collector of transistor BC548 single pencil cell of 1.5V.
the touch-plates act as a switch. Other is connected to the base of BC558. The When the touch-plate gap is bridged
features include low cost and low power base of BC548 is connected to the washer with a finger, the emitter-collector junc-
consumption. The bell can work on 1.5V (as shown in the figure). The collector of tion of transistor BC548 starts conduct-
or 3V, using one or two pencil cells, and BC558 is connected to pin 2 of musical IC ing. Simultaneously, the emitter-baser
can be used in homes and offices. UM66, and pin 3 of IC UM66 is shorted junction of transistor BC558 also starts
Two transistors are used for sensing to the ground. The output from pin 1 is conducting. As a result, the collector of
the finger touch and switching on a melody connected to a transistor amplifier com- transistor BC558 is pulled towards the
IC. Transistor BC548 is npn type while prising BEL187 transistor for feeding the positive rail, which thus activates melody
generator IC1 (UM66). The output of IC1
is amplified by transistor BEL187 and fed
to the speaker. So we hear a musical note
just by touching the touch points.
The washers inner diameter should
be 1 to 2 mm greater than that of the
screwhead. The washer could be fixed in
the position by using an adhesive, while
the screw can be easily driven in a wooden
piece used for mounting the touch-plate.
The use of brass washer and screw is rec-
ommended for easy solder-ability.

Readers comments: Pollachi emitter-collector junction starts conduct-


The circuit starts ringing (without The author, Sukant Kumar Behara, ing. But youve mentioned that even with-
touching the screw) when connected to replies: out touching the base of transistor T1, the
3V. On disconnecting points 1 and 2 (kept You can rectify this snag by changing bell starts ringing, which means that the
open), I still received the ring. Why so? transistor T1 (BC148) with a new one. emitter-collector junction of the transistor
A. Vaidhyanathan On touching the base of transistor T1, its has got shorted internally.

ELECTRONICS PROJECTS Vol. 22


PARALLEL TELEPHONE
WITH SECRECY
O
ften a need arises for connection disconnects you toggle switch at
of two telephone instruments in in the other your telephone end
parallel to one line. But it creates position of the to receive the call
quite a few problems in their proper switch. At any and have a
performance, such as over loading and one time, only conversation. As
overhearing of the conversation by an one telephone is soon as the position
undesired person. In order to eliminate all connected to the of the toggle switch
such problems and get a clear reception, a line. To receive is changed, the line
simple scheme is presented here (Fig. 1). a call at the gets transferred to
This system will enable the incoming instrument, the other telephone
ring to be heard at both the telephones. which is not instrument.
The DPDT switch, installed with each of connected to the Mount one
the parallel telephones, connects you to line, you just DPDT toggle
the line in one position of the switch and have to flip the switch, one
telephone ringer, and one
telephone terminal box on
two wooden electrical
switchboards, as shown in
Fig. 3. Interconnect the
boards using a 4-pair
telephone cable as per Fig.
1. The system is ready to
use. Ensure that the two
lower leads of switch S2
are connected to switch S1
after reversal, as shown in
the figure.
Lab. Note: The
external ringer for the
project as shown in Fig. 2,
was designed/fabricated
at EFY Lab.

ELECTRONICS PROJECTS Vol. 21 181


circuit
ideas

PC Multimedia Speakers s.c. dwiv


edi

T.K. Hareendran
age down to 1.8 volts and minimum
output power of around 450 mW/

T
his circuit of multimedia speak- channel with 4-ohm loudspeaker at 5V limiter and capacitors C1
ers for PCs has single-chip- DC supply input. and C4 act as buffers.
based design, low-voltage pow- An ideal power amplifier can be Working of the cir-
er supply, compatibility with USB simply defined as a circuit that can cuit is simple. Audio
power, easy heat-sinking, low cost, deliver audio power into external loads Fig. 2: Pin signals from the PC au-
high flexibility and wide temperature without generating significant signal configuration dio socket/headphone
of TDA2822M
tolerance. distortion and without consuming socket are fed to the am-
At the heart of the circuit is IC excessive quiescent current. plifier circuit through components R2
TDA2822M. This IC is, in fact, mono- This circuit is powered by 5V DC and C2 (left channel), and R3 and C3
(right channel). Pot-
meter VR1 works as
the volume control-
ler for left (L) chan-
nel and potmeter
VR2 works for right
(R) channel. Pin 7 of
TDA2822M receives
the left-channel
sound signals and
pin 6 receives the
right-channel signals
through VR1 and
RIGHT VR2, respectively.
Amplified signals
for driving the left
and right loudspeak-
ers are available at
pins 1 and 3 of IC1,
respectively. Com-
ponents R5 and C8,
and R6 and C10 form
the traditional zobel
Fig. 1: Circuit for PC multimedia speaker network.
Assemble the cir-
lithic type in 8-lead mini DIP pack- supply available from the USB port cuit on a medium-size, general-purpose
age. It is intended for use as a dual of the PC. When power switch S1 is PCB and enclose in a suitable cabinet.
audio power amplifier in battery-pow- flipped to on position, 5V power It is advisable to use a socket for IC
ered sound players. Specifications of supply is extended to the circuit and TDA2822M. The external connections
TDA2822M are low quiescent current, power-indicator red LED1 lights up should be made using suitably screened
low crossover distortion, supply volt- instantly. Resistor R1 is a current surge wires for better result.

9 0 au g u s t 2 0 0 8 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
CIRCUIT
IDEAS

PC TEMPERATURE ALARM S.C. DW


IVEDI

 RAJ K. GORKHALI too high, these devices may not be rise in temperature. It caters to a tem-
able to dissipate heat fast enough. perature measurement range of 0C to

I
f your PC overheats, it could This, in turn, could lead to failure of 100C, which corresponds to 0V to 1V
damage its expensive components. devices and eventually of the PC. of voltage.
Heres a circuit that warns you of Various means to combat overheat- The voltage-detector stage com-
your PC getting heated. ing are available, ranging from simple pares the output voltage of the tem-
Todays computers contain most temperature alarms to devices like perature sensor with the preset refer-
of the circuitry on just a few chips temperature-activated fans to keep the ence voltage. The output of the com-
and reduced power consumption is microprocessor cool. parator goes high if the output po-
a byproduct of this LSI and VSLI Here is a temperature alarm that tential from the sensor exceeds the
approach. Some PCs still have activates an audio beeper if the tem- reference voltage. When this happens,
power supplies that are capable of perature inside the PC exceeds a pre- the voltage comparator enables a low-
supplying around 200W, but few set threshold. This temperature is user- frequency oscillator, which, in turn,
PCs actually consume power to this adjustable and can be anywhere be- activates the audio oscillator. The out-
extent. tween 0C and 100C. put of the audio oscillator is connected
On the other hand, apart from The unit is in the form of a to a loudspeaker (LS1), which sounds
some portable and small desktop com- small PC expansion card, which you a simple beep-beep alarm. The ref-
puters that use the latest micro-power simply need to plug into any avail- erence voltage determines the tem-
components, most PCs still consume able slot of the host PC. It is powered perature at which the alarm is acti-
significant amount of power and gen- from the PC and consumes only about vated.
erate certain amount of heat. 12 mA. Fig. 1 shows the circuit of the PC
The temperature inside the aver- The sensor (LM35) used here pro- temperature alarm and Fig. 2 shows
age PC starts to rise well above the vides a substantial amount of on-chip the pin configuration of sensor LM35.
ambient temperature soon after it is signal conditioning, including ampli- IC LM35 (IC1) is an easy-to-use
switched on. Some of the larger inte- fication, level shifting and phase in- temperature sensor. It is basically a
grated circuits become quite hot and version. As a result, it provides an out- three-terminal device (two supply
if the temperature inside the PC rises put of 10 mV per degree centigrade leads plus the output) that operates

Fig. 1: Circuit for PC temperature alarm

92 SEPTEMBER 2007 ELECTRONICS FOR YOU WWW.EFYMAG.COM


CIRCUIT
IDEAS
over a wide supply range of 4 to 20V. astable multivibrator perature will not normally exceed
It consumes only 56 A at 5V and circuit, gated via its 25oC, the temperature of the interior
generates insignificant heat. reset input. It has an of the computer would be up to 35oC.
IC2 is an operational amplifier used operating frequency Unless you have good reason to use a
here as a voltage comparator. VR1 pro- of approximately 2.5 different threshold temperature, VR1
vides a reference voltage that can be kHz. should be set for a wiper potential of
set anywhere from 0V to approxi- When IC3 is acti- 350 mV.
mately 1V, which matches the output Fig. 2: Pin vated, its output pro- Trial-and-error method can be
voltage range of IC1. This reference details of LM35 vides a square wave used in the absence of test equip-
voltage is applied to the inverting in- of 1 Hz. This is used ment to enable VR1, but it would be
put of IC2 and the output of IC1 is to trigger IC4, which gives an audio a bit time-consuming. There is a
coupled to the non-inverting input. output of 2.5 kHz in bursts. It is con- slight complication in that the
Consequently, the output of IC2 is low nected to loudspeaker LS1 to generate computers outer casing must be at
if the output of IC1 is below the refer- alarm. least partially removed to provide
ence voltage, or high if the output of The alarm circuit can be fitted into access to VR1. Once VR1 has been
IC1 exceeds the reference voltage. any spare expansion slot of the PC, but adjusted, the outer casing must be put
The low-frequency oscillator IC3 is be careful to fit it the right way round. back into place so that the interior of
a standard 555 astable multivibrator Before setting VR1 to a suitable thresh- the computer can warm up in the
circuit. It is gated via the reset input old temperature, decide what that tem- normal way. You must therefore al-
at pin 4, which holds output pin 3 low perature should be. The technical speci- low time for the temperature inside
when IC3 is gated off (when the out- fication in your computers manual the computer to rise back to its nor-
put of IC2 is low). This prevents IC4 might be of help here. mal operating level each time VR1 is
from oscillating. IC4 is another 555 If we assume that the room tem- readjusted. 

WWW.EFYMAG.COM ELECTRONICS FOR YOU SEPTEMBER 2007 93


PC-Based 7-Segment
Rolling Display
It
is very interesting and con
venient to be able to control
everything while sitting at
your PC terminal. Here, a simple
hardware circuit and software is
used to interface a 7-segment based
rolling display.
The printer port of a PC pro-
vides a set of points with some act-
ing as input lines and some others
as output lines. Some lines are open
collector type which can be used as
input lines. The circuit given here
can be used for interfacing with any
type of PCs printer port.
The 25-pin parallel port connec-
tor at the back of a PC is a combi-
nation of three ports. The address
varies from 378H-37AH. The 7 lines
of port 378H (pins 2 through 8) are
used in this circuit to output the
code for segment display through
IC1. The remaining one line of port
378H (pin 9) and four lines of port
37AH (pins 1, 14, 16, 17) are used
to enable the display digits (one a
time) through IC2.
The bits D0, D1 and D3 of port
37AH connected to pins 1, 14 and 17
of D connector are inverted by the
computer before application to the pins PC places the 7-segment code for the first over and over again. Because of this rep-
while data bit D2 is not inverted. There- digit/character on the data bus and ena- etition at a fairly high rate, there is an
fore to get a logic high at any of former bles only the first 7-segment display. After illusion that all the digits/characters are
three pins, we must send logic 0 output to delay of a few milliseconds, the 7-segment continuously being displayed. DISP1 is to
the corresponding pin of port 37AH. code for the digit/character is replaced by be physically placed as the least signifi-
Another important concept illustrated that of the next charter/digit, but this time cant digit.
by the project is the time division multi- only second display digit is enabled. IC1 (74LS244) is an octal buffer which
plexing. Note that all the five 7-segment After the display of all characters/ is primarily used to increase the driving
displays share a common data bus. The digits in this way, the cycle repeats itself capability. It has two groups of four buff-

P r o g r a m
/*DISP.C*** PC BASED ROLLING clrscr(); delay(300);
DISPLAY */ for(f=200;f<=500;f+=100)
/* P.R.DESHMUKH*/ { }
#include<stdio.h> sound(f );
#include<conio.h> delay(100); else
#include<dos.h> } {
#define PORTA 0x378 nosound(); outportb(PORTB,0x0b);
#define PORTB 0x37a while (!kbhit()) outportb(PORTA,m[j]);
void main() { outportb(PORTA ,(m[j] || ( 0x80)));
{ for (j=0;j<=4;j++) delay(300);
int dno[6]={0x0a,0x09,0x0f,0x03,0x80}; { }
/* code for hallo*/ outportb(PORTA,m[j]); }
int m[5]={0x76,0x77,0x38,0x38,0x3f }; if(j<=3) }
/*code for the selection of display*/ { }
int f,j; outportb(PORTB,dno[j]);

ELECTRONICS PROJECTS Vol. 20


ers with non-inverted tri-state outputs. Whatever the message/characters to has the appropriate bits turned on. For
The buffer is controlled by two active be displayed (here five characters have example, to display character L, the
low enable lines. IC2 (75492) can drive been displayed), these are separated segments to be turned on are f, e and
a maximum of six 7-segment displays. and stored in an array. Then these are d. This is equivalent to 111000 binary
(For driving up to seven common-cathode decoded. or 38 hex.
displays one may use ULN2003 described Decoding software is very simple. Please note that only limited char-
in the previous circuit idea.) Just replace the desired character with acters can be formed using 7-segment
The program for rolling display the binary equivalent of the display display. Characters such as M, N and K
is given in the listing DISP.C above. code. The display code is a byte that cannot be formed properly.

ELECTRONICS PROJECTS Vol. 20


PHONE BROADCASTER
H
ere is a simple yet very useful breakdown voltage (here 24V) and switch- tor T3 works as a common-emitter RF
circuit which can be used to ing voltage of the transistor T1 (0.7V). oscillator, with transistor T2 serving as
eavesdrop on a telephone con- Thus, if we adjust preset VR1 to get over an electronic on/off switch. The audio
versation. The circuit can also be used as 24.7 volts, it will cause the zener to signal available across the telephone lines
a wireless telephone amplifier. breakdown and transistor T1 to conduct. automatically modulates oscillator fre-
One important feature of this circuit As a result collector of transistor T1 will quency via transistor T2 along with its
is that the circuit derives its power di- get pulled towards negative supply, to cut series biasing resistor R3. The modu-
rectly from the active telephone lines, and off transistor T2. At this stage, if you lift lated RF signal is fed to the antenna. The
thus avoids use of any external battery the handset of the telephone, the line volt- telephone conversation can be heard on
or other power supplies. This not only age drops to about 11V and transistor T1 an FM receiver remotely when it is tuned
saves a lot of space but also money. It is cut off. As a result, transistor T2 gets to FM transmitter frequency.
consumes very low current from telephone forward biased through resistor R2, to pro- Lab Note: During testing of the cir-
lines without disturbing its performance. vide a DC path for transistor T3 used in cuit it was observed that the telephone
The circuit is very tiny and can be the following FM transmitter section. used was giving an engaged tone
built using a single-IC type veroboard that The low-power FM transmitter sec- when dialed by any subscriber. Addition
can be easily fitted inside a telephone tion comprises oscillator transistor T3, coil of resistor R5 and capacitor C6 was found
connection box of 3.75 cm x 5 cm. L1, and a few other components. Transis- necessary for rectification of the fault.
The circuit consists of two sec-
tions, namely, automatic switch-
ing section and FM transmitter
section.
Automatic switching section
comprises resistors R1 to R3,
preset VR1, transistors T1 and T2,
zener D2, and diode D1. Resistor
R1, along with preset VR1, works
as a voltage divider. When voltage
across the telephone lines is 48V
DC, the voltage available at wiper
of preset VR1 ranges from 0 to 32V
(adjustable). The switching voltage
of the circuit depends on zener

ELECTRONICS PROJECTS Vol. 21 167


POWER-SUPPLY FAILURE ALARM
M
ost of the power-supply failure low via resistor R8, it conducts and be omitted from the circuit. Following
indicator circuits need a sepa- sounds the buzzer (alarm) to give a points may be noted:
rate power-supply for them- warning of the power-failure. 1. At a higher DC voltage level, tran-
selves. But the alarm circuit presented With the value of C3 as shown, a good- sistor T1 (BC558) may pass some collec-
here needs no additional supply source. It quality buzzer would sound for about a tor-to-emitter leakage current, causing a
employs an electrolytic capacitor to store minute. By increasing or decreasing the continuous murmuring sound from the
adequate charge, to feed power to the value of capacitor C3, this time can be buzzer. In that case, replace it with some
alarm circuit which sounds an alarm for altered to serve ones need. low-gain transistor.
a reasonable duration when the mains Assembly is quite easy. The values of 2. Piezo buzzer must be a continuous
supply fails. the components are not critical. If the tone version, with built-in oscillator.
During the presence of mains power alarm circuit is powered from any exter- To save space, one may use five small-
supply, the rectified mains voltage is nal DC power-supply source, the mains- sized 1000F capacitors (in parallel) in
stepped down to a required low level. A supply section up to points P and M can place of bulky high-value capacitor C3.
zener is used to limit the
filtered voltage to 15-volt level.
Mains presence is indicated by
an LED. The low-level DC is
used for charging capacitor C3
and reverse biasing switching
transistor T1. Thus, transistor
T1 remains cut-off as long as
the mains supply is present. As
soon as the mains power fails,
the charge stored in the capaci-
tor acts as a power-supply
source for transistor T1. Since,
in the absence of mains supply,
the base of transistor is pulled

182 ELECTRONICS PROJECTS Vol. 21


PRECISION AMPLIFIER
WITH DIGITAL CONTROL
T
his circuit is similar to the pre- of his choice (such as 10 meg-ohm or 1 trimpot between pins 1 and 8, and con-
ceding circuit of the attenuator. meg-ohm) to avoid floating of the inputs necting wiper to +5V supply rails. For
Gain of up to 100 can be achieved when no measurement is being made. better performance, use ICL7650 (not pin-

in this configuration, which is useful for compatible) in place of OP07 and use 7.5V
signal conditioning of low output of trans- Truth Table (Control Input vs Gain) instead of 5V supply.
ducers in millivolt range. X,Y (On-switch (2) (1) Gain Eight steps for gain or attenuation
The gain selection resistors R3 to R6 Pair) B A (Av.) can be added by using two CD4051 and
can be selected by the user and X0,Y0 0 0 1/10 pin 6 inhibit on CD4051/52. More steps
can be anywhere from 1 kilo-ohm to 1 X1,Y1 0 1 1 can be added by cascading many CD4051,
X2,Y2 1 0 10
meg-ohm. Trimpots can be used for ob- X3,Y3 1 1 100
or CD4052, or CD4053 ICs, as pin 6 works
taining any value of gain required by the like a chip select.
user. The resistor values shown in the IC5 is used as an inverting buffer to Some extended applications of this cir-
circuit are for decade gains suitable for restore polarity of the input while IC4 is cuit are given below.
an autoranging DPM. used as buffer at the output of CD4052, 1. Error correction in transducer am-
Resistor R1 and capacitor C1 reduce because loading it by resistance of value plifiers by correcting gain.
ripple in the input and also snub tran- less than 1 meg-ohm will cause an error. 2. Autoranging in DMM.
sients. Zeners Z1 and Z2 limit the input An alternative is to make R9=R10=1 meg- 3. Sensor selection or input type se-
to 4.7V, while the input current is lim- ohm and do away with IC4, though this lection in process control.
ited by resistor R1. Capacitors C2 and may not be an ideal method. 4. Digitally preset power supplies or
C3 are the power supply decoupling ca- Gains greater than 100 may not be electronic loads.
pacitors. practical because even at gain value of 5. Programmable precision mV or mA
Op-amp IC1 is used to increase the 100 itself, a 100V offset will work out to sources.
input impedance so that very low inputs be around 10 mV at the output (100V x 6. PC or microcontroller or micropro-
are not loaded on measurement. The user 100). This can be trimmed using the offset cessor based instruments.
can terminate the inputs with resistance null option in the OP07, connecting a 7. Data loggers and scanners.

ELECTRONICS PROJECTS Vol. 22


PRECISION ATTENUATOR
WITH DIGITAL CONTROL
W
hen instruments are designed, testing or trials, use 1 per cent 100ppm Since W resistors can withstand up
an analogue front-end is es- MFR resistors. The expected errors will to 250V, resistors R1 and R2 in series are
sential. Further, as most equip- be around 1 per cent. used for 1 meg-ohm with 500V (max) in-
ment have digital or microcontroller in- To keep parts count (hence cost) to a put limit. These resistors additionally
terface, the analogue circuit needs to have minimum, the common or ground is limit the input current as well. Diodes D1
digital control/access. used as the positive input terminal and and D2 clamp the voltage across input of
The circuit of a programmable attenu- one end of resistor R1 as the negative. op-amp to 0.5V, thereby protecting the

Truth Table (Control input VS attenuation)


X,Y (ON-switch (2) (1) Gain
Pair) B A (Attenuation)
X0,Y0 0 0 1/1000
X1,Y1 0 1 1/100
X2,Y2 1 0 1/10
X3,Y3 1 1 1

op-amp.
(b) Output
The output can be connected to a 7107/
7135-based DPM or any other analogue-
to-digital converter or op-amp stage. Use
a buffer at the output if the output has to
be loaded by a load less than 1 meg-ohm.
Use an inverting buffer if input leads
have to have polarity where ground is the
inverting terminal. (For details, see next
circuit.)
(c) CD4052 CMOS switch
ator with digital control is described here, This is so because the op-amp inverts The on-resistance (100-ohm approx.)
where digital control can be a remote dip the polarity as it is used in inverting comes in series with the op-amp output
switch, or CMOS logic outputs of a de- configuration. This does not matter as source resistance, which produces no er-
cade counter (having binary equivalent the equipment will be isolated by the ror at output.
weight of 1, 2, 4, and 8, respectively), or power supply transformer and all polari- Caution. The circuit does not isolate,
I/O port of a microcontroller like 80C31. ties are relative. In case you want the it only attenuates. When high voltage is
The heart of this circuit is the popu- common to be the negative, you will have present at its input, do not touch any part
lar OP07 op-amp with ultra-low offset in to add some stages (IC4 and IC5 circuitry of the circuit.
the inverting configuration. A dual, 4- shown in precision amplifier circuit de- (d) Digital control options
channel CMOS analogue multiplexer scribed later). (i) A and B can be controlled by I/O
switch CD4052 enables the change in The OP07 pinout is based on stan- port of a microcontroller like 80C31 so
gain. An innovative feature of the circuit dard single op-amp 741. Any other that the controller can control gain.
is that the on resistance (around 100 op-amp like CA3140, TLO71, or LF351 (ii) A and B can be given to counters
ohms) of CD4052 switch is bypassed so can be used but with offset errors in ex- like 4029/4518 to scroll gain digitally.
that no error is introduced by its use. cess of 1 per cent, which is not tolerable (iii) A and B can be connected to DIP
Resistors R1 to R6 used in the circuit in precision instrumentation. switch.
should be of 0.1 per cent tolerance, 50 The OP07 has equivalent ICs like (iv) A and B can be connected to a
ppm (parts per million) if you use 3- A741 and LM607 having ultra-low off- thumbwheel switch.
digit DPM, i.e. 1999 counts (approx. 11 set voltage (<100V), low input bias Notes. 1. Digital input logic 0 is 0V
bits). But for 4-digit DPM (approx. 14 current (<10nA), and high input imped- and logic 1 is 5V.
bits), you may need to have trimpots (e.g. ance (>100M), which are the key require- 2. All resistors are metal film resis-
replace 1k-ohm resistor R6 by a fixed 900- ments for a good instrumentation op-amp tors (MFR) with 1% tolerance, unless
ohm resistor in series with a 200-ohm for use with DC inputs. specified otherwise.
trimpot) to replace R3, R4, R5, and R6 The following design considerations 3. C2 and C3 are ceramic disk capaci-
gain selection resistors for proper calibra- should be kept in mind: tors of 0.1F = 100nF value.
tion to required accuracy. However, for (a) Input: 500V max

ELECTRONICS PROJECTS Vol. 22


PRECISION DIGITAL AC
POWER CONTROLLER
S
CRs and Triacs are
extensively used in
modern electronic power
controllersin which power is
controlled by means of phase
angle variation of the conduction
period. Controlling the phase
angle can be made simple and
easy if we set different firing
times corresponding to different
firing angles. The design given
here is a synchronised program-
mable timer which achieves this
objective.
The following equation for a
sinewave shows how firing time
and the phase angle are related
to each other:
= 2ft or t
Here, is the angle described
by a sinewave in time t (seconds),
while f is the frequency of
sinewave in Hz. Time period T
(in seconds) of a sinewave is
equal to the reciprocal of its
frequency, i.e. T = 1/f. set again instantly for the next delay time.
The above equation indicates that This arrangement helps the timer to be
if one divides the angle described set for every half of mains wavewhen
during one complete cycle of the the positive half of the mains waveform
sinewave (2 = 360o) into equal parts, starts building up, the timer is set for
then time period T of the wave will be that half and as it begins to cross zero, it
divided into identical equal parts. gets reset and set again for negative half,
Thus, it becomes fairly easy to set the when the negative half begins to build
different programmable timings up. The process is repeated. Here, instead
synchronised with the AC mains of using two zero crossing detectorsone
sinewave at zero crossing. The main for each half of mains wavea single de-
advantage of such an arrangement, tector is used to perform both the
as already mentioned earlier, is that functions. This is possible because the
only the firing time has to be sampling wave for negative half is in-
programmed to set different firing verted by the rectifier diode bridge.
angles. It is to be noted that the The 18V AC from power transformer
more precise the timer, the more is fed to the four diodes in bridge
precise will be the power being con- configuration, followed by the filter ca-
trolled. pacitor which is again followed by a three-
In this circuit, the time period terminal voltage regulator IC LM7812.
of mains waveform is divided into The voltage so obtained drives the cir-
20 equal parts. So, there is a time cuit. The unfiltered voltage is isolated
interval of 1 ms between two con- from the filter capacitor by a diode and is
secutive steps. The sampling volt- fed to zener diode D8, which acts as a
age is unfiltered full-wave and is clipper to clip voltage above 6 volts.
obtained from the diode bridge at This voltage is fed to the base of
the output of the power transistor T1, which is wired as zero cross-
transformer. The timer is reset at ing detector. When base voltage reaches
every zero crossing of full wave and the threshold, it conducts. It thus sup-

174 ELECTRONICS PROJECTS Vol. 21


plies a narrow positive pulse which resets CD4093 as clock generator, as shown in pole of rotary switch and diode D6) and
the timer at every zero crossing. Fig. 2, is better as it provides the exact fires the Triac. Transistor T2 here acts as
A 32.768kHz crystal is used time interval required. In that case, a driver transistor. The reset pin of 4017
to get stable output of nearly CD4060 oscillator/divider is not required. is connected to zero crossing detector out-
1 kHz (1,024Hz) frequency after The CD4017B counter-cum-decoder IC put to reset it at every zero crossing. (The
five stages of binary division by then divides this 1kHz signal into ten equal load-current waveforms for a few positions
an oscillator-cum-divider IC CD4060. The intervals, which are programmed via the of the rotary switch, as observed at EFY
32.768kHz crystal is used because it can single-pole, 10-way rotary switch. Once Lab, are shown in Fig. 3.)
be found in unused quartz clocks and is the delayed output reaches the desired The circuit can be used as power con-
readily available in the market. But use time interval, the corresponding output of troller in lighting equipment, hot-air oven,
of a 1kHz crystal using a quad-NAND IC CD4017 inhibits the counter CD4017 (via universal single-phase AC motor, heater, etc.

ELECTRONICS PROJECTS Vol. 21 175


Precision 1Hz Clock Generator
using Chip-on-Board
U
sually the circuits for generation clock pulse has a very low amplitude Preset VR1
of 1Hz clock for applications in of the order of a few milli-volts which is offset null
digital clock and counter circuits cannot be used to drive the digital cir- control used to
make use of ICs in conjunction with cuits directly. This low-level voltage is adjust proper
a crystal and trimmer capacitors, etc. amplified several times by op-amp IC 1Hz pulse at the
However, similar or better accuracy can CA3140. output terminal
be achieved using a chip-on-board (COB) The op-amp CA3140 is connected in E. Connect one
device found inside a digital clock, which a non-inverting mode, and its gain is set LED in series
is readily available in the market for by resistors R4 and R3. Capacitor C2 with 220-ohm
Rs 15-20. This COB consists of IC, ca- reduces the AC gain and unwanted stray resistor between
pacitors and quartz crystal, etc which are pick-up and thus improves stability of the terminal E
mounted on its surface. It works on 1.4 the circuit. and ground and adjust preset VR1 till
volt DC source. This COB can be used to The input impedance of IC CA3140 the LED blinks once every second.
derive 1Hz clock. is very high and thus there is no drop When using the COB, affix the same
on a general-purpose
PCB using rubber
based adhesive and
solder the terminals
neatly using thin
single-strand wire.
Lab Note: The
COBs used in dif-
ferent watches
may differ some-
what in their
configuration.
But by trial-and-
error one can al-
ways find out the
appropriate points
corresponding to
Resistor R1, capacitor C3, diodes D1 at the input when 1Hz clock signal of points A, B, C and D. Figure of a sec-
and D2 shown in the circuit convert 5V low level is connected across its input ond COB used by EFY Lab is shown
DC into 1.4V DC. A Hz clock is avail- terminals from the COB. Amplified 1Hz alongside. The points A and B (on the
able at terminals A and B with a phase clock pulse is available at its output pin COB used by us) were observed to
difference of 90o. The two outputs, are 6, which is further amplified by transis- have complementary 1Hz outputs and
combined using capacitors C1 and C2 to tors T1 and T2 to drive the digital clocks hence anyone (only) could be used as
obtain a complete 1Hz clock. This 1Hz and timers. input to opamp CA3140.

ELECTRONICS PROJECTS Vol. 20


Programmable LED Indicator
A
lthough IC CD4017 is a decade
counter, it can be used in a vari-
ety of ways. In this circuit it has
been used to program a bicolour LED
indicator in 10 different modes which
can be selected with a single push-button
switch.
IC3(555) is used in astable mode to
generate square wave and transistor T1
is used to obtain its complementary wave-
form. IC2 CD4081 is a quad 2-input AND
gate. These AND gates and the diode ma-
trix form the logical part of the circuit. IC4
(555) is configured as a monostable flip-
flop which provides a single clock pulse
to IC1 CD4017 for changing the mode by
depression of push-to-on switch S1. The
use of IC4 avoids switch debouncing prob-
lem which causes multiple makes/breaks.

TABLE I
Mode Operation
0 Off
1 Red ON
2 Green ON
3 Blinking Green-Yellow-Green-Yellow...
4 Blinking Red
5 Blinking Yellow
6 Blinking Green
7 Yellow ON
8 Blinking Red-Yellow-Red-Yellow...
9 Blinking Red-Green-Red-Green...

Switch S2 is included for resetting the plied to pin1, it emits red light. Similarly, Outputs of IC1 can also be selected
circuit. Instead of just one bicolour LED when positive voltage is applied to pin3, it through a 10-way rotary switch connected
you can use an array of bicolour LEDs in emits green light. And when positive volt- to Vcc. Now IC1 can be eliminated. Differ-
conjunction with two driver transistors. age is simultaneously applied to its pin1 ent indications can be activated for differ-
The bicolour (RED and GREEN) LED and 3, it emits yellowish light. ent functions of a device.
has three legs. The middle terminal (pin2) Power supply used is +5V regulated. Construction is very easy and total cost
LED is the common cathode pin which is Various modes of this circuit are sum- of this circuit is less than Rs 60. Current con-
grounded when a positive voltage is ap- merised in Table I. sumption of the circuit is less than 100mA.

ELECTRONICS PROJECTS Vol. 22 


PROTECTION FOR YOUR
ELECTRICAL APPLIANCES
H
ere is a very low-cost circuit to RL1. Initially, when the circuit is switched a parallel path for the supply to the
save your electrically operated on, the power supply path to the step- transformer as well as the load.
appliances, such as TV, tape down transformer X1 as well as the load is If there is any interruption in the power
recorder, refrigerator, and other incomplete, as the relay is in de-energised supply, the supply to the transformer is
instruments during sudden tripping and state. To energise the relay, press switch not available and the relay de-energises.
resumption of mains supply. Appliances S1 for a short duration. This completes Thus, once the supply is interrupted even
like refrigerators and air-conditioners are the path for the supply to transformer X1 for a brief period, the relay is de-energised
more prone to damage due to such as also the load via closed contacts of switch and you have to press switch S1
conditions. S1. Meanwhile, the supply to relay becomes momentarily (when the supply resumes)
The simple circuit given here switches available and it gets energised to provide to make it available to the load.
off the mains supply to the Very-short-duration
load as soon as the power N (say, 1 to 5 milliseconds)
trips. The supply can be interruptions or
resumed only by manual fluctuations will not
intervention. Thus, the affect the circuit because
supply may be switched on of presence of large-
only after it has stabilised. value capacitor which
The circuit comprises a has to discharge via the
step-down transformer relay coil. Thus the
followed by a full-wave circuit provides suitable
P
rectifier and smoothing H
safety against erratic
capacitor C1 which acts as P power supply
a supply source for relay
H
N conditions.

ELECTRONICS PROJECTS Vol. 21 155


RAMP CONTROLLED LIGHT
T
he circuit described here
can be used for control-
ling a decorative lamp
from zero intensity to maximum
intensity in a specified time.
Typical applications are for
controlling Christmas lamps and
serial lampsets etc. The bright-
ness of the lamps is controlled
by a continuously running ramp
voltage generated by a timer.
The circuit features a triac
(BT136) controlled by pulses
from a UJT (unijunction transis-
tor) relaxation oscillator. Pedes-
tal voltage control is employed
for controlling the firing angle.
Pedestal voltage is derived from
a ramp generator which sets the
time period of intensity control.
X1 secondary (sec. 2) pro-
vides the power supply for the
ramp generator section. The
555 timer circuit is configured
as astable multivibrator which
provides rectangular pulses
having required time period
which are converted to a positive going step-down transformer will serve the Transistor T2 controls the charging time
ramp by sweep generator transistor T1. purpose. However, it is advisable to of capacitor C5, thus providing the pedes-
This is coupled to the base of transistor have a higher voltage rating (9V or 12V) tal voltage control.
T2. The time period of control can be for X1 secondary (sec. 1) for extended The pulses generated by the UJT
altered by modifying the sweep generator control range. oscillator are coupled to the gate of triac
and 555 timer sections. Zener diode D12 generates the re- through a pulse transformer (X2). A ferrite
X1 is a step-down transformer hav- quired trapezoidal waveform for the UJT core transformer with 1:1 ratio can also be
ing two secondaries. Any centre-tapped oscillator from the bridge rectifier output. used for X2.

ELECTRONICS PROJECTS Vol. 19 177


CIRCUIT IDEAS

SOLIDSTATE SWITCH FOR Hence transistor T2 (pnp) also conducts.


The positive voltage available at the col-

DC-OPERATED GADGETS S.C. DWIV


EDI
lector of transistor T2 is fed back to the
base of transistor T1 via resistor R3. Hence
a latch is formed and transistor T2 (as
PRAVEEN SHANKER also transistor T1) continues to conduct,
which activates gadget 1 and LED1 glows.
Conduction of transistor T2 causes its

T
his solidstate DC switch can be as- from transistor T2 to transistor T1 to keep collector to be pulled towards positive rail.
sembled using just three transistors this transistor pair in latched state (on/ Since the collector of T2 is connected to
and some passive components. It off), while the state of the third transistor the base of pnp transistor T3, it causes
can be used to switch on one gadget while stage is the complement of transistor T2s transistor T3 to cut off, switching off the
switching off the second gadget with mo- conduction state. supply to gadget 2) as well as extinguish-
mentary operation of switch. To reverse Initially when switch S3 is closed, both ing LED2. This status is maintained until
the operation, you just have to momen- transistors T1 and T2 are off, as no for- switch S2 is momentarily pressed. Depres-
tarily depress another switch. ward bias is available to these, while the sion of switch S2 effectively grounds the
The circuit operates over 6V-15V DC base of transistor T3 is effectively grounded base of transistor T1, which cuts off and
supply voltage. It uses positive feedback via resistors R8 and R6 (shunted by the thus virtually opens the base-emitter cir-
load of the first cuit of transistor T2 and thus cutting it
gadget). As a re- off. This is the same condition as was ob-
sult, transistor T3 tained initially. This condition can be re-
is forward biased versed by momentarily pressing switch S1
and gadget 2 gets as explained earlier.
the supply. This EFY lab note. During testing, it was
is indicated by noticed that for proper operation of the
glowing of LED2. circuit, gadget 1 must draw a current of
When switch more than 100 mA (i.e. the resistance of
S1 is momentarily gadget 1 must be less than 220 ohms) to
depressed, T1 sustain the latched on state. But this stipu-
gets the base lation is not applicable for gadget 2. A
drive and it maximum current of 275 mA could be
grounds the base drawn by any gadget.
of transistor T2 The total cost of this circuit is around
via resistor R4. Rs 30.

APRIL 2002 ELECTRONICS FOR YOU


Running Message Display
L
ight emitting diodes are advanta- clock pulse. the complete word becomes visible. On the
geous due to their smaller size, The timer NE555 (IC1) is wired as a following clock pulse, pin 6 goes to logic 1
low current consumption and 1Hz astable multivibrator which clocks and resets the circuit, and the sequence
catchy colours they emit. Here is a run- the IC2 for sequencing operations. On repeats itself. The frequency of sequenc-
ning message display circuit wherein the reset, output pin 3 goes high and drives ing operations is controlled with the help
letters formed by LED arrangement light transistor T7 to on state. The output of of potmeter VR1.
up progressively. Once all the letters of transistor T7 is connected to letter W of The display can be fixed on a
the message have been lit up, the circuit the LED word array (all LEDs of a letter veroboard of suitable size and connected
gets reset. array are connected in parallel) and thus to ground of a common supply (of 6V to
The circuit is built around Johnson letter W is illuminated. On arrival of 9V) while the anodes of LEDs are to be
decade counter CD4017BC (IC2). One of first clock pulse, pin 3 goes low and pin 2 connected to emitters of transistors T1
the IC CD4017BEs features is its provi- goes high. Transistor T6 conducts and let- through T7 as shown in the circuit.
sion of ten fully decoded outputs, making ter E lights up. The preceding letter W The above circuit is very versatile and

the IC ideal for use in a whole range of also remains lighted because of forward can be wired with a large number of LEDs
sequencing operations. In the circuit biasing of transistor T7 via diode D21. In to make an LED fashion jewellery of any
only one of the outputs remains high and a similar fashion, on the arrival of each design. With two circuits connected in a
the other outputs switch to high state successive pulse, the other letters of the similar manner, multiplexing of LEDs can
successively on the arrival of each display are also illuminated and finally be done to give a moving display effect.

ELECTRONICS PROJECTS Vol. 20


circuit
ideas

Security System Switcher


T.K. Hareendran of small signal preamplifier built edi
s.c. dwiv

around transistor T1. Biasing resistor

A
n audio signal can be used as R1 determines to a large extent the
a form of input to control any microphone sensitivity. A microphone
security system. For example, usually has an internal FET which Indicator LED1 is provided to display
an automatic security camera can be requires a bias voltage to operate. The the relay activity. Any AC/DC oper-
configured to respond to a knock on sound picked up by the microphone ated security gadget is activated or
the door. The circuit described here is amplified and fed to input pin 2 of deactivated through a security switch.
allows the security system to automati- IC1 (LMC555) wired in monostable Thus, the security switch of the gadget

Fig. 1: Security system switcher

configuration. is connected in the n/o contacts of


+5V ADAPTOR
FOR POWER
CONNECTOR IC2 (CD4538B) is a dual, the relay. you can also operate high-
FOR
SUPPLY SECURITY precision monostable mul- power beacons, sirens or hooters in
GADGET
tivibrator with independent place of the security switch for any
trigger and reset controls. The AC/DC operated security gadget.
output of IC1 is connected to Assemble the circuit on a gen-
the first trigger input pin 4 of eral-purpose PCB and enclose it in
IC2(A) through switch S1. If a cabinet as shown in Fig. 2 along
an intruder opens or breaks with 5V adaptor for powering the
the door, IC1 is triggered by circuit. Connect the security switch
sound signals; the timer out- according to the circuit diagram and
put pin 3 of IC1 goes high and use appropriate AC/DC power sup-
enables first monostable multi ply required to operate the security
Fig. 2: Proposed cabinet vibrator IC2(A). IC2(A) pro- gadget.
vides a time period of around Warning! All relevant electrical
cally switch on when a master switch 5 to 125 seconds, which is adjusted safety precautions should be taken
is in on state. It uses a transducer to with preset VR1. when connecting mains power supply
detect intruders and a 5V regulated Another monostable multivibrator to the relay contacts. With the help
DC power supply provides power to IC2(B) also provides a time period of of single pole double throw (SPDT)
the circuit. around 25 to 600 seconds, which is switch S1, internal or external trig-
As shown in Fig. 1, a condenser adjusted with preset VR2. The output ger input (active high signal) can be
microphone is connected to the input of IC2(B) is used to energise relay RL1. selected.

1 4 0 J a n ua ry 2 0 1 0 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
Self-switching Power Supply
O
ne of the main features of the which switches off the mains input to requirement (up to 30V maximum and
regulated power supply circuit primary of transformer X1. To resume the 1-ampere current rating). For drawing
being presented is that though power again, switch S1 should be pressed more than 300mA current, the regula-
fixed-voltage regulator LM7805 is used in momentarily. Higher the value of capaci- tor IC must be fitted with a small heat
the circuit, its output voltage is variable. tor C2, more will be the delay in switch- sink over a mica insulator.
This is achieved by connecting a potenti- ing off the power supply on disconnection When the transformers second-
ometer between common terminal of regu- of the load, and vice versa. ary voltage increases beyond 12
lator IC and ground. For every 100-ohm Though in the prototype a trans- v olt s (R MS), p ot ent iom et er V R 1
increment in the in-circuit value of the former with a secondary voltage of must be redimensioned. Also,
resistance of potentiometer VR1, the out- 12V-0V, 250mA was used, it can the relay voltage rating should be
put voltage increases by 1 volt. Thus, the nevertheless be changed as per users redetermined.
output varies from 3.7V to 8.7V (taking
into account 1.3-volt drop across diodes
D1 and D2).
Another important feature of the
supply is that it switches itself off when
no load is connected across its output
terminals. This is achieved with the help
of transistors T1 and T2, diodes D1 and
D2, and capacitor C2. When a load is con-
nected at the output, potential drop across
diodes D1 and D2 (approximately 1.3V) is
sufficient for transistors T2 and T1 to
conduct. As a result, the relay gets ener-
gised and remains in that state as long as
the load remains connected. At the same
time, capacitor C2 gets charged to around
7-8 volt potential through transistor T2.
But when the load is disconnected, tran-
sistor T2 is cut off. However, capacitor C2
is still charged and it starts discharging
through base of transistor T1. After some
time (which is basically determined by
value of C2), relay RL1 is de-energised,

ELECTRONICS PROJECTS Vol. 20


SENSITIVE TEMPERATURE SWITCH
T
his temperature switch has a sharply, which results in
high sensitivity and is quite re- cutting off of Darlington pair
liable. Here, in place of a single and forward biasing of tran-
transistor, a Darlington pair has been sistor T3 via resistor R2 and
used for switching. diode D2. As a result, relay
At normal room temperature germi- RL1 energises and switches
num diode D1 (0A79 or equivalent) has on the alarm. Potmeter VR1
a back resistance value of about 10 kilo- may be adjusted for required
ohms. As a result Darlington pair, com- sensitivity.
prising transistors T1 and T2. conducts This simple circuit can be
and keeps the anode terminal of diode used as an overheat indicator,
D2 at ground potential. Consequently, fire alarm, or it can be used
transistor T3 does not get base bias and in a constant temperature
thus relay RL1 is not activated. circuit for switching on a fan
But when temperature increases. the etc. The circuit can be easily sensor D1 must be of germanium type
back resistance of diode D1 decreases assembled on a piece of veroboard. Diode and not silicon.

ELECTRONICS PROJECTS Vol. 19 189


CIRCUIT IDEAS

Charge Monitor for 0 and the upper voltage of 13.8V is ranked


as 10. (Outputs 9 and 10 are logically
ORed in this circuit.) This calibration of

12V Rechargeable
reference voltages is explained later.
IC 74LS147 is a decimal-to-BCD pri-
ority encoder which converts the output
NA
ANJA of LM3914 into its BCD complement.
RUP
The true BCD is obtained by using the

Lead-acid Battery hex inverter 74LS04. This BCD output


is displayed as a decimal digit after con-
version using IC5 (74LS247), which is a
BCD-to-seven-segment decoder/driver.
SIDDHARTH SINGH AND SRINIVAS REDDY PINGLE The seven-segment LED display (LTS-
542) is used because it is easy to read
compared to a bar graph or, for that

A
battery is a vital element of any their batteries continuously. But, in matter, an analogue meter. The charge
battery-backed system. In many practice, many of the battery users are status of the battery can be quickly cal-
cases the battery is more expen- unable to do so because of non-avail- culated from the display. For instance,
sive than the system it is backing up. ability of reasonably-priced monitoring if the display shows 4, it means that the
Hence we need to adopt all practical equipment. The circuit idea presented battery is charged to 40 per cent of its
measures to conserve battery life. here will fill this void by providing a maximum value of 13.8V.
As per manufacturers data sheets, circuit for monitoring the charge level The use of digital principles enables
a 12V rechargeable lead-acid battery of lead-acid batteries continuously. The us to employ a buzzer that sounds when-
should be operated within 10.1V and circuit possesses two vital features: ever there is an overcharge or deep dis-
13.8V. When the battery charges higher First, it reduces the requirement charge, or there is a need to conserve
than 13.8V it is said to be overcharged, of human attention by about 85 per cent. battery charge. A buzzer is wired in the
and when it discharges below 10.1V it Second, it is a highly accurate and circuit such that it sounds whenever bat-
can be deeply discharged. A single event sophisticated method. tery-charge falls to ten per cent. At this
of overcharge or deep discharge can Input from the battery under test is point it is recommended that unneces-
bring down the charge-holding capacity applied to LM3914 IC. This applied volt- sary load be switched off and the re-
of a battery by 15 to 20 per cent. age is ranked anywhere between 0 and maining charge be conserved for more
It is therefore necessary for all con- 10, depending upon its magnitude. The important purposes.
cerned to monitor the charge level of lower reference voltage of 10.1V is ranked Another simple combinational logic

ELECTRONICS FOR YOU n  SEPTEMBER '99


CIRCUIT IDEAS

circuit can also be designed that will and a variable regulated power supply changes from 1 to 0.
sound the buzzer when the display source are required. For calibrating the The higher reference voltage is cali-
shows 9. Further charging should be lower reference voltage, follow the steps brated similarly by setting the power
stopped at this point in order to pre- given below: supply to 13.8V and varying preset VR1
vent overcharge. Set the output of power supply until reading on the display just changes
The circuit is powered by the bat- source to 10.1V. from 8 to 9.
tery under test, via a voltage regulator Connect the power supply source After the calibration is completed,
IC. The circuit takes about 100 mA for in place of the battery. the circuit may be housed in a suitable
its operation. Now the display will show some enclosure. The cost of all the compo-
For calibrating the upper and lower reading. At this point vary preset VR2 nents, including the enclosure, would
reference levels, a digital multimeter until the reading on the display just be around Rs 200.

ELECTRONICS FOR YOU n  SEPTEMBER '99


INFRARED ELECTRONIC
SHOOTING GAME
T.K. HAREENDRAN

J
ust trigger an infrared electronic pensive and easy to construct. The game
gun and there goes one invisible offers hours of fun and excitement.
bullet hitting the bulls eye, if timed The target screen consists of a number
properly. The circuit is very simple, inex- of LEDs moving rapidly in a circular fash-
ion. All the LEDs are red except onethe
real target located in centre of the screen
which is green. When a shot is fired by
triggering the gun, all LEDs go off except
one. If it happens to be the target (green
LED) then you have made a hit which is
indicated by lighting up of another green
LED accompanied by a pleasing musical
tone. After a short delay the game restarts
automatically.
Infrared gun (transmitter) for this
electronic game is built around IC1 timer
(NE555) wired as an astable multivibra-

196 ELECTRONICS PROJECTS Vol. 19


tor with a centre frequency of about IC2 and its output (pin 3) goes high.
35 kHz. The frequency is determined This makes clock enable (CE) pin 13 of
by the timing components comprising IC4 to go high (normally held at a low
resistors R1 and R2 and capacitor C2. potential via resistor R8) and it starts
When push-to-on trigger switch S1 counting. When mono pulse ends, and
is pressed, the astable multivibra- if the last lit LED happens to be the
tor starts modulating the infrared target LED then both inputs of NAND
beam with short pulses (See output gate N1 become high. As a result, the
waveform). The whole circuit can be output of gate N2 also goes high. This
enclosed in a toy gun for giving it a in turn switches on transistor T2;
professional look as illustrated in the thereby the HIT LED lights up and
figure. The infrared LED has to be fit- the buzzer also sounds. At the end of
ted with a suitable reflector to ensure the mono pulse period (about 5 sees),
good sensitivity. decided by resistor R5 and capacitor
When power switch S2 in the receiv- C5, the mono IC2 is again ready to
er is turned on, astable multivibra-tor receive another trigger pulse.
wired around IC3 (NE555) generates You would notice that only nine outputs Assembly and component layout is
clock pulses which are fed to clock input are used for driving LEDs. The tenth not very critical. The circuit may be as-
(pin 14) of decade counter IC4 (CD4017B). output (Q9) at pin 11 is connected to reset sembled on a veroboard using IC sockets.
This IC has ten outputs, and each pin 15. A well regulated power supply is required
one goes high sequentially on the rising When gun is fired, infrared bursts are for powering the unit. In place of the IR
edge of successive clock pulse. As a result, received by the integrated infrared mod- transmitter it is also possible to make
LEDs connected to the output appear ule and its output at pin 2 goes low. The use of the remote control used for TVS or
to move from one to the other rapidly. resulting falling edge triggers monostable VCPs/VCRs.

ELECTRONICS PROJECTS Vol. 19 197


short wave AM TRANSMITTER
RAJESH KAMBOJ

T
he main feature of this transmit- the frequency in
ter is that it is free from the LC short wave range
(inductor, capacitor) tuned circuit can be substitut-
and operates on a fixed frequency of 12 ed in this circuit,
MHz which is extremely stable. An LC although the op-
based tuned circuit is inherently unstable eration was test-
due to drift of resonant frequency on ac- ed with a 12 MHz
count of temperature and humidity varia- crystal.
tions. The circuit is very simple and uses Transistor T1
only a few components. serves three func-
The figure shows the complete circuit tions:
diagram of the transmitter. Resistors R1 1. It provides
and R2 are used for DC biasing of transis- the DC path for
tor T1. The capacitor C1 provides coupling extending +VCC
between the condenser microphone and supply to transis-
the base of transistor T1. Similarly, resis- tor T2.
tors R3, R4 and R5 provide DC biasing to 2. It amplifies
transistor T2. the audio signals obtained from condenser loop antenna into space in the form of
The oscillator section is a combina- microphone. electromagnetic waves. The antenna
tion of transistor T2, crystal XTAL, ca- 3. It injects the audio signal into the can be tuned to a particular frequency
pacitor C2, C3 and resistors R3, R4 and high frequency carrier signal for modula- varying trimmer C5 and also by chang-
R5. The crystal is excited by a portion of tion. ing the length of ferrite rod into the
energy from the collector of transistor The condenser microphone converts coil.
T2 through the feedback capacitor C2. the voice message into the electrical The transmitted signals can be re-
The crystal vibrates at its fundamental signal which is amplified by transistor ceived on any short wave receiver without
frequency and the oscillations occurring T1. This amplified audio signal modu- distortion and noise. The range of this
due to the crystal are applied to the base lates the carrier frequency generated by transmitter is 25 to 30 metres and can
of transistor T2 across resistor R4. In transistor T2. The amplitude modulated be extended further if the length of the
this way, continuous undamped oscilla- output is obtained at the collector of antenna wire is suitably increased along
tions are obtained. Any crystal having transistor T2 and is transmitted by a with proper matching.

ELECTRONICS PROJECTS Vol. 19 179


SHORTWAVE TRANSMITTER
T
his transmitter circuit operates in capacitance of gang condenser, the fre- be directly connected to its input without
shortwave HF band (6 MHz to 15 quency of oscillation can be changed. The any amplification.
MHz), and can be used for short- carrier RF signal from the oscillator is The transmitters stability is gov-
range communication and for educational inductively coupled through the second- erned by the quality of the tuned circuit
purposes. ary of transformer X1 to the next RF am- components as well as the degree of regu-

The circuit consists of a mic ampli- plifier-cum-modulation stage built around lation of the supply voltage. A 9V regu-
fier, a variable frequency oscillator, and transistor T2 that is operated in class A lated power supply is required. RF out-
modulation amplifier stages. Transistor mode. Audio signal from the audio ampli- put to the aerial contains harmonics, be-
T1 (BF195) is used as a simple RF oscil- fier built around IC BEL1895 is coupled cause transistor T2 doesnt have tuned
lator. Resistors R6 and R7 determine base to the emitter of transistor 2N2222 (T2) coil in its collector circuit. However, for
bias, while resistor R9 is used for stabil- for RF modulation. short-range communication, this does not
ity. Feedback is provided by 150pF ca- IC BEL1895 is a monolithic audio create any problem. The harmonic con-
pacitor C11 to sustain oscillations. The power amplifier designed for sensitive AM tent of the output may be reduced by
primary of shortwave oscillator coil and radio applications. It can deliver 1W power means of a high-Q L-C filter or resonant
variable condenser VC1 (365pF, 1/2J to 4 ohms at 9V power supply, with low L-C traps tuned to each of the
gang) form the frequency determining net- distortion and noise characteristics. Since prominent harmonics. The power output
work. the amplifiers voltage gain is of the order of this transmitter is about 100
By varying the coil inductance or the of 600, the signal from condenser mic can milliwatts.

134 ELECTRONICS PROJECTS Vol. 23


Simple Analogue-to-
digital Converter
N
ormally analogue-to-digital con- here is configured around ADC 0808, sation). This EOC output is coupled to SC
verter (ADC) needs interfacing avoiding the use of a microprocessor. The input, where falling edge of EOC output
through a microprocessor to convert ADC 0808 is an 8-bit A-to-D converter, hav- acts as SC input to direct the ADC to start
analogue data into digital format. This re- ing data output lines D0-D7. It works on the next conversion.
quires additional hardware and necessary the principle of successive approximation. As the conversion starts, EOC signal
software, resulting in increased complexity It has a total of eight analogue input chan- goes high. At next clock pulse EOC output
and hence the total cost. nels, out of which any one can be selected again goes low, and hence SC is enabled
The circuit of A-to-D converter shown using address lines A, B and C. Here, in to start the next conversion. Thus, it
this case, input channel IN0 is provides continuous 8-bit digital output
selected by grounding A, B and corresponding to instantaneous value
C address lines. of analogue input. The maximum level
Usually the control signals of analogue input voltage should be ap-
EOC (end of conversion), SC propriately scaled down below positive
(start conversion), ALE (ad- reference (+5V) level.
dress latch enable) and OE The ADC 0808 IC requires clock
(output enable) are interfaced signal of typically 550 kHz, which can
by means of a microprocessor. be easily derived from an astable multi-
However, the circuit shown vibrator constructed using 7404 inverter
here is built to operate in its gates. In order to visualise the digital out-
continuous mode without using put, the row of eight LEDs (LED1 through
any microprocessor. There- LED8) have been used, wherein each LED
fore the input control signals is connected to respective data output lines
ALE and OE, being active-high, D0 through D7. Since ADC works in the
are tied to Vcc (+5 volts). The continuous mode, it displays digital output
input control signal SC, being as soon as analogue input is applied. The
active-low, initiates start of decimal equivalent digital output value D
conversion at falling edge of for a given analogue input voltage Vin can
the pulse, whereas the output be calculated from the relationship
signal EOC becomes high after
completion of conversion (digiti-

ELECTRONICS PROJECTS Vol. 20


SIMPLE ELECTRONIC
CODE LOCK
T
he circuit diagram of a simple elec- can be mounted on a keyboard panel, be connected in parallel with S10 and
tronic code lock is shown in fig- and any number or letter can be used to placed on the keyboard panel for more
ure. A 9-digit code number is used mark them. Switch S10 is also placed safety.
to operate the code lock. together with other switches so that any A 12V power supply is used for the
When power supply to the circuit is stranger trying to operate the lock fre- circuit. The circuit is very simple and can
turned on, a positive pulse is applied to quently presses the switch S10, thereby be easily assembled on a general-purpose
the RESET pin (pin 15) through capaci- resetting the circuit many times. Thus, PCB. The code number can be easily
tor C1. Thus, the first output terminal he is never able to turn the relay on. If changed by changing the connections to
Q1 (pin 3) of the decade counter IC (CD necessary, two or three switches can switches (S1 to S9).
4017) will be high and all other outputs
(Q2 to Q10) will be low. To shift the high
state from Q1 to Q2, a positive pulse must
be applied at the clock input terminal (pin
14) of IC1. This is possible only by press-
ing the push-to-on switch S1 momentarily.
On pressing switch S1, the high state
shifts from Q1 to Q2.
Now, to change the high state from
Q2 to Q3, apply another positive pulse at
pin 14, which is possible only by pressing
switch S2. Similarly, the high state can
be shifted up to the tenth output (Q10)
by pressing the switches S1 through S9
sequentially in that order. When Q10 (pin
11) is high, transistor T1 conducts and
energises relay RL1. The relay can be
used to switch on power to any electrical
appliance.
Diodes D1 through D9 are provided
to prevent damage/malfunctioning of the
IC when two switches corresponding to
high and low output terminals are
pressed simultaneously. Capacitor C2 and
resistor R3 are provided to prevent noise
during switching action.
Switch S10 is used to reset the
circuit manually. Switches S1 to S10

ELECTRONICS PROJECTS Vol. 21 169


SIMPLE INTERCOM CIRCUIT
T
he circuit of a two-position in- that when the handset is resting on the cra- the two sets. Only three wires are required
tercom is presented here. This dle, the switch is OFF and when it is taken to connect the two sets if separate battery
circuit is very simple yet it functions off the cradle, the switch turns on. is used in each set. However, if the battery
quite satisfactorily. The circuit does not Both the sets used are identical in is common for the two sets, it requires four
involve any complicated switching. The construction. When one set (say, party 1) is wires for interconnections.
switches S1/S2 must be fixed in such a way switched on, the other sets (party 2s) bell The circuit can be easily assembled on

energises. When
party 2 turns on
his own set, his
bell automati-
cally stops and
he can talk to
party 1 via his
microphone.
One can sub-
stitute the BEL
1895 IC based
amplifier and
bell circuit with
any other low
power amplifier
and bell circuit. The a general-purpose PCB. Intercom cases are
block diagram clari- also available in the market which may be
fies the connection of used for giving it a professional outlook.

 ELECTRONICS PROJECTS Vol. 22


simple sensitive remote
control tester
H
ere is a handy gadget for testing of
infrared (IR) based remote control
transmitters used for TVs and
VCRs etc. The IR signals from a remote
control transmitter are sensed by the IR
sensor module in the tester and its output
at pin 2 goes low. This in turn switches on
transistor T1 and causes LED1 to blink.
At the same time, the buzzer beeps at
the same rate as the incoming signals
from the remote control transmitter. The
pressing of different buttons on the remote
control will result in different pulse rates
which would change the rate at which the
LED blinks or the buzzer beeps.
When no signal is sensed by the sen-
sor module, output pin 2 of the sensor
goes high and, as a result, transistor T1 and electronic ballasts etc (which lie during his own turn. The circuit may be
switches off and hence LED1 and buzzer within the bandwidth of receiver circuit) assembled using a multipurpose board.
BZ1 go off. This circuit requires 5V regu- and repeats the steps shown in step 1 Fix the display (LEDs and 7-segment
lated power supply which can be obtained above and notes down his new score (say, display) on top of the cabinet along with
from 9V eliminator and connected to the X2). He adds up this score to his previous the three switches. The supply voltage for
circuit through a jack. score. The same procedure is repeated by the circuit is 5V. are effectively grounded
Capacitor C1 smoothes DC input while player Y in his turn. 4. The game carries and do not interfere with the functioning
capacitor C2 suppresses any spikes ap- on until the score attained by one of the of the circuit. The proposed layout of the
pearing in the input supply. two players totals up to or exceeds 100, to box containing the circuit is shown in the
Proper grounding of the metal case be declared as the winner. figure. The 9-volt DC supply from the
will ensure that the electromagnetic emis- Several players can participate in this eliminator can be fed into the jack using a
sions which are produced by tube-lights game, with each getting a chance to score banana-type plug.

ELECTRONICS PROJECTS Vol. 22 15


simple sensitive remote
control tester
H
ere is a handy gadget for testing of
infrared (IR) based remote control
transmitters used for TVs and
VCRs etc. The IR signals from a remote
control transmitter are sensed by the IR
sensor module in the tester and its output
at pin 2 goes low. This in turn switches on
transistor T1 and causes LED1 to blink.
At the same time, the buzzer beeps at
the same rate as the incoming signals
from the remote control transmitter. The
pressing of different buttons on the remote
control will result in different pulse rates
which would change the rate at which the
LED blinks or the buzzer beeps.
When no signal is sensed by the sen-
sor module, output pin 2 of the sensor
goes high and, as a result, transistor T1 and electronic ballasts etc (which lie during his own turn. The circuit may be
switches off and hence LED1 and buzzer within the bandwidth of receiver circuit) assembled using a multipurpose board.
BZ1 go off. This circuit requires 5V regu- and repeats the steps shown in step 1 Fix the display (LEDs and 7-segment
lated power supply which can be obtained above and notes down his new score (say, display) on top of the cabinet along with
from 9V eliminator and connected to the X2). He adds up this score to his previous the three switches. The supply voltage for
circuit through a jack. score. The same procedure is repeated by the circuit is 5V. are effectively grounded
Capacitor C1 smoothes DC input while player Y in his turn. 4. The game carries and do not interfere with the functioning
capacitor C2 suppresses any spikes ap- on until the score attained by one of the of the circuit. The proposed layout of the
pearing in the input supply. two players totals up to or exceeds 100, to box containing the circuit is shown in the
Proper grounding of the metal case be declared as the winner. figure. The 9-volt DC supply from the
will ensure that the electromagnetic emis- Several players can participate in this eliminator can be fed into the jack using a
sions which are produced by tube-lights game, with each getting a chance to score banana-type plug.

ELECTRONICS PROJECTS Vol. 22 15


CIRCUIT IDEAS

SIMPLE TELEPHONE IL KU
MAR
caded in such a way that the positive volt-
age available at the emitter of transistor

RING TONE GENERATOR


SUN
T1 is extended to the collector of transis-
tor T3 when the outputs of all the three
stages are low. As a result, transistors
K. UDHAYA KUMARAN, VU3GTH T1 through T3 are forward biased for 0.4,
1.6, and 0.025 seconds, respectively and

H
ere is a simple telephone ring tor (CMOS IC CD4060B) is used to gen- reverse biased for similar durations.
tone generator circuit designed erate three types of pulses, which are Using a built-in oscillator-type piezo-
using only a few components. It available from pin 1 (O11), pin 3 (O13), and buzzer produces around 1kHz tone. In this
produces simulated telephone ring tone pin 14 (O7), respectively. Preset VR1 is circuit, the piezo-buzzer is turned on and
and needs only DC voltage (4.5V DC to adjusted to obtain 0.3125Hz pulses (1.6- off at 20 Hz for ring tone sound by tran-
12V DC). One may use this circuit in or- second low followed by 1.6-second high) sistor T3. 20Hz pulses are available at
dinary intercom or phone-type intercom. at pin 3 of IC1. At the same time, pulses the collector of transistor T3 for 0.4-sec-
available from pin 1 will be of 1.25 Hz ond duration. After a time interval of 0.4
second, 20Hz
pulses become
again avail-
able for an-
other 0.4-sec-
ond duration.
This is fol-
lowed by two
seconds of no-
sound inter-
val. Thereaf-
ter the pulse
pattern re-
The sound is quite loud when this circuit (0.4-second low, 0.4-second high) and 20 peats itself.
is operated on +12V DC power supply. Hz at pin 14. The three output pins of Refer the figure that indicates wave-
However, the volume of ring sound is ad- IC1 are connected to base terminals of forms available at various points includ-
justable. transistors T1, T2, and T3 through resis- ing the collector of transistor T3. Preset
The commonly available 14-stage bi- tors R1, R2, and R3, respectively. VR2 can be used for adjusting the ampli-
nary ripple counter with built-in oscilla- Transistors T1 through T3 are cas- tude of the ring tone.

ELECTRONICS FOR YOU  JULY 2001


Sleep-switch cum
Wake-up Timer
H
ere is a sleep-switch circuit that IC7 pair provides tens output since IC6 The BCD outputs of IC4 and IC6
can be easily converted into a clock input pin is connected to D output are converted to seven-segment outputs
wake-up timer. A dual-mode time pin of IC4. by IC9 and IC10 to drive the units and
setting makes the system versatile. The Rotary switches S2 and S3 can be set tens displays respectively for indicating
circuit is low-cost and can function as a to select any time between either 0 to 99 elapsed time continuously. The relay
precise timer. seconds or 0 to 99 minutes, depending contacts (normally open and normally
The heartbeat produced by IC1 is a upon the position of mode switch S1. closed) can be suitably used to energise
sharp 1Hz square wave signal having a Switches S2 and S3 could also be replaced or de-energise an alarm after the preset
duty cycle of 50 per cent. This is achieved by thumb-wheel type switches or 10-posi- delay. It can thus be used as wake-up
by using a 4.194304MHz crystal in combi- tion DIP switches with one of their side alarm or sleep timer.
nation with discrete components around terminals shorted together to serve as a If you want to de-energise the relay,
it. The 1Hz output of IC1 is connected pole. Please note that IC5 and IC7 (74145) say after 30 minutes, then set switch S1
to IC2 as well as one of the terminals of have active low outputs. to minutes mode, S2 to 0 and S3 to 3, and
switch S1. IC2 is configured as divide- The outputs from switches S2 and S3 then switch on the supply to the circuit.
by-6 counter while IC3 further divides are input to a two-input OR gate inside IC8 After 30 minutes the outputs at poles of
the output of IC2 by ten to produce (7432) to obtain active low output on com- switches S2 and S3 will go low and so also
one-minute output at its pin 12. This is pletion of the set time delay to deactivate the output of OR gate (IC8). As a result,
brought to the second terminal of two- relay RL1 through relay driver transistor transistor T1 will be cut-off to de-energise
way switch S1 to help select either the T1 (normally conducting) when set time is the relay.
minutes or the seconds mode of opera- reached. When transistor T1 cuts off, its One can easily add 0-99 hours capa-
tion for IC4. collector goes high to reset oscillator IC1, bility by cascading two counters similar

The decade counter IC4 provides and thus count at output of IC4 and IC6 to the minutes counter section comprising
binary output as it counts up the input gets locked. For resetting or restarting, IC2 and IC3. Input clock for hours counter
pulses and IC5 decodes/converts them to the power supply to the circuit should be would be the minutes clock available at
1-of-10 outputs (units). Similarly, the IC6- switched off and then switched on again. pin 12 of IC3.

ELECTRONICS PROJECTS Vol. 20


Smart Phone Light
The circuit shown here is used to in the ambient light and greather than power failure or load shedding also.
switch on a lamp when the tele- 100 kilo-ohms in darkness, is at the heart The light switches off automati-
phone rings, provided that the ambient of the circuit. cally after a programmable time period.
light is insufficient. The circuit is fully isolated from the If required, the lamp lighting period can

be extended by simply pressing a pushbut-


ton switch (S1).
The first part of the circuit functions
as a ring detector. When telephone is on-
hook, around 48V DC is present across
the TIP and RING terminals. The diode
in the opto-coupler is off during this
condition and it draws practically no
current from the telephone lines. The opto-
coupler also isolates the circuit from the
telephone lines. Transistor in the opto-cou-
pler is normally off and a voltage of +5V
is present at the ring indicator line B.
When telephone rings, an AC voltage
of around 70-80V AC present across the
telephone lines turns on the diode inside
the opto-coupler (IC2), which in turn
switches on transistor inside the opto-
coupler. The voltage at its collector drops
to a low level during ringing to trigger IC3
74LS123(A) monostable flip-flop.
The other opto-coupler (IC1) is used
to detect the ambient light condition.
When there is sufficient light, LDR has
a low resistance of about 5 kilo-ohms and
the transistor inside the opto-coupler is
in on state. When there is insufficient
The circuit can be implemented using phone lines and it draws current only light available, the resistance of LDR
just two ICs. A light dependent resistance when the phone rings. The lamp can be increases to a few mega-ohms and the
(LDR), with about 5 kilo-ohms resistance battery powered to provide light during transistor switches to off state. Thus

ELECTRONICS PROJECTS Vol. 20


the DC voltage present at the collector of the programmed duration and nobody attends the phone, the light turns
transistor of the opto-coupler is normally switches back to 0V at the end of the pulse off automatically after the specific time
low and it jumps to 5V when there is no period. period equal to the pulse-width of the
light or insufficient light. This high-to-low transition (trail- second flip-flop.
The 74LS123 retriggerable monos- ing edge) is used to trigger the second The light sensitivity of LDR
table multivibrator IC is used to gener- monostable flip-flop 74LS123(B) in the can be changed by changing re-
ate a programmable pulse-width. The same package. Output of the second sistance R3 connected at collec-
first monostable 74LS123(A) generates monostable is used to control a relay. tor of the transistor in light mon-
a pulse from the trigger input avail- The lamp being controlled via the N/O itor circuit. Similarly, switch-on
able during ringing, provided its pin 2 contacts of the relay gets switched on. period of the lamp can be controlled by
input (marked B) is logic high (i.e. The on period can be extended by sim- changing capacitor C3s value in the
during darkness). It remains high for ply pressing pushbutton switch S1. If second 74123(B) monostable circuit.

ELECTRONICS PROJECTS Vol. 20


SOLIDSTATE AUTO POWER-OFF
ON MAINS FAILURE
SUNISH ISAAC

A
good number of circuits which
turn off the power to the load on
mains failure have already ap-
peared in EFY. This circuit is different
because it consumes no power when the
load is off. Further, the circuit is com-
pletely solidstate as it does not use any
relay or other electromechanical devices.
Here resistor R1, diode D1, capacitor
C1 and zener D2 are used to develop a
mains-derived 9V DC supply which can
be fed to the triac gate. Switches S1 and
S2 are used to accomplish off and on
operations respectively.
When switch S2 is momentarily de-
pressed the neutral line gets extended
to MT1 of triac TR1. This in turn makes
the DC voltage available to the transis- resistor R3, i.e. there exists a mutual sym- the load. Since the rectifier circuit cannot
tor circuit. Capacitor C2 and resistor R5 biosis between transistors T1 and T2. As get neutral line when the triac is off, it
provide the initial base drive to transis- long as transistor T1 is on, it provides the consumes absolutely no power when the
tor T2 at power-on. By the time capaci- necessary gate current to the triac through load is off.
tor C2 is fully charged, transistor T1 is resistor R7. Capacitor C3 prevents false The idea can be suitably adopted for
driven into saturation via transistor T2 operation of the circuit. timer applications where the power to the
and resistor R3. The load can be switched off either by timer circuit needs to be turned off after
The collector of transistor T1 is con- pressing switch S1 or by turning off the the set time delay. An opto-coupler can
nected to the base of transistor T2 through power to the circuit. When switch S1 is replace switch S1 for using the output of
resistor R4, and collector of transistor T2 pressed, transistor T1 is no more in satu- a low-voltage control circuit for switch-
is connected to base of transistor T1 via ration and thus it turns off the triac and ing off.

196 ELECTRONICS PROJECTS Vol. 19


Song Number Display
Prabhash K.P.

H
eres a circuit to display the song result, the output of the counter goes to ishes when a song is completed and the
number in an audio system for the next state, showing 01 on the display. counter is ready to accept the next pulse.
quick reference to songs. It also The counter remains in this state until the Connect the input to the preamp
serves the purpose of an extra visual indi- song is completed. output or equaliser output of the audio
cator in modern audio systems. During the time gap before the next song system. Adjust VR1 and VR2 to get the
When the power is switched on, the starts playing, capacitor C5 discharges. After correct audio-level indication. If you are
power-on-reset circuit comprising 3.3k discharging of capacitor C5, the input to IC3 already using KA2281 for audio-level
resistor R20 and 1F, 25V capacitor C6 becomes low again. When the song starts, indication, just connect diodes D1 and D2
resets the counters, showing 00 in the dis- the process described above is repeated and as shown in this circuit.
play. One can also reset the display to zero the display shows 02. You can adjust VR3 to Note that the counter counts the songs
at any time by pressing reset switch S1. change the time gap setting. This must be set by detecting the gaps. Therefore any long
When the first song starts playing, the such that the circuit doesnt respond to short gap within a song may cause false trig-
output pins of IC1 (KA2281) go low and gaps, if any, within a song and responds only gering and the display will also be incre-
capacitor C5 starts charging. This forward to long gaps between different songs. mented. However, as this is very unlikely
biases transistor T1 and hence the input Transistor T2 helps in gap-delay ad- to happen, the circuit shows the correct
to IC3 at pin 1 goes to high state. As a justment. The intensity of LED11 dimin- song number almost all the time.

ELECTRONICS PROJECTS Vol. 24 167


CIRCUIT IDEAS

SPELLER EFFECT
high, transistor T1 goes off and its out-
put at the collector goes low. Since the
EDI emitter of transistor T2 is connected to
DWIV

SIGN DISPLAY
S.C. the collector of transistor T1, and collec-
tor and emitter terminals of transistors
T1 through T9 are connected in series,
all transistors next to transistor T1, i.e.
VIJAYA KUMAR P. transistors T2 through T9, do not get sup-
ply and hence all their outputs go low.

T
he circuit described here uses low- CD4017 is a decade counter having Next, when Q1 output goes high, tran-
cost and easily available IC ten outputs, of which one output is high sistor T2 goes off. Thus outputs of tran-
CD4017 to produce a speller type for each clock pulse. However, this pro- sistors T2 through T9 remain low. Since
light display. In such displays, each let- duces running lights effect. To change this Q0 output at this instant is low, transis-
ter of the sign sequentially lights up, one sequence to get the speller effect, pnp tor T1 is forward biased and its output
after the other, until all letters are glow- transistors T1 through T9 are wired as goes high to light up the first character.
ing. After a few seconds, the letters switch shown in the figure. Nine triacs (triac 1 Similarly, when Q2 output goes high,
off and the cycle repeats. This circuit pro- through triac 9) are used to drive 230V Q0 and Q1 outputs are low and therefore
vides a maximum of nine channels and bulbs. (In place of 230V bulbs, miniature outputs of transistors T1 and T2 go high
therefore can be used to spell a word or lamps connected in series in the form of to light up the first and second characters.
sign having up to nine characters. characters or letters can also be used, pro- This process continues until all tran-
Timer IC1 (555) is configured in vided the voltage drop across the series sistors turn on, making all the characters

astable mode to produce clock signal for combination is 230 volts.) to light up. The cycle repeats endlessly,
triggering IC2 (CD4017). Speed of switch- When any of the outputs of IC2 goes producing the speller type light effect.
ing on the display can be controlled by high, the corresponding transistor con-
varying preset VR1. nected to the output goes off. When Q0 is

ELECTRONICS FOR YOU  NOVEMBER 2001


circuit
ideas

Staircase Light With s.c. dwiv


edi

Auto Switch-Off
Raj K. Gorkhali micro-switchesone located at the top of the micro-switches, you get a posi-
and the other located at the bottom of tive-going pulse at the junction of the

W
e are all familiar with the the staircasethat can be pushed and cathodes of diodes D1 and D2.
electrical wiring arrange- released easily during climb-up from These pulses are used to trigger the
ment that connects an elec- the bottom of the staircase or climb- monostable circuit built around timer
trical bulb with two switches: one at down from the top of the staircase. With IC2. On the trailing edge of the pulse,
the bottom of a staircase and the other every push and release of either of the the output of the monostable goes
at the top. Wiring is done such that two switches, bulb L1 lights up for a high for a time period of 40 seconds.
either of the two switches can be used preset time period of, say, 40 seconds, This drives relay-driver transistor
to switch the bulb on or off. In such a which is considered adequate for climb- 2N2222 (T1) wired as a switch. Relay
wiring arrangement, while climbing ing up or going down the staircase. The RL1 gets energised and closes N/O
up the staircase which is in dark, the bulb goes off automatically after the set contacts of the relay, wired in series
switch located at the bottom of the 40 seconds. You can change this on with the mains and the bulb (L1). Bulb
staircase is used to switch on the light. time by changing the values of resis- L1 switches off when the relay gets
After you have climbed the staircase, tor R7 and/or capacitor C4 depending de-energised after 40-second pulse pe-
you use the switch located there to upon your requirement. riod. Free-wheeling diode D4 (1N4001)
switch off the light. Switches S1 and S2 are the two protects transistor T1 against transients
The circuit presented here is an micro-switches, which provide low in- during relay switch-off operation.
electronic-cum-electrical arrangement puts to the respective de-bouncing cir- The circuit operates off a 9V bat-
to get a similar facility as provided cuits. Each de-bouncing circuit is built tery, which gets connected to the cir-
by the hard-wired electrical system, around two NAND gates connected cuit through on/off switch S3. You
but you need to operate the switch back to back. The de-bouncing circuits can also use regulated 9V power sup-
only once. Whereas in the hard-wired ensure a clean, bounce-free pulse at the ply. Assemble the circuit on a general-
arrangement if you forget to switch output every time the micro-switch is purpose PCB and house in a small box.
off the light once you have traversed pressed and released. The outputs from Connect micro-switches S1 and S2 near
the staircase, light would remain on, the two de-bouncing circuits are ORed top and bottom of the staircase through
wasting energy. using diodes D1 and D2 (1N4001). So flexible wires and bulb in the middle of
In this circuit also, we have two every time you press and release either the staircase.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u M ay 2 0 0 8 7 1
CIRCUIT IDEAS

STEREO TAPE HEAD PREAMPLIFIER other audio device as well.


When the preamplifier is in off state,
switching relay RL1 is off and it allows

FOR PC SOUND CARD SUN


IL KU
MAR
connection of external signals to the sound
card. When the preamplifier is turned on,
the relay is energised by transistor T3
after a short delay determined by the val-
T.K. HAREENDRAN ues of resistor R21 and capacitor C23. On
energisation, the relay contacts

H
ere is a stereo tape head pream- The amplified and equalised signals changeover the signals to internal source,
plifier circuit for your PC sound available at output pins 3 and 6 of IC1 i.e. the head preamplifier.
card that can playback your are coupled to the inputs of line amplifier After constructing the whole circuit
favourite audio cassette through the PC. circuit built around transistors T1 (via ca- on a veroboard, enclose it in a mini me-
Audio signals from this circuit can be di- pacitor C5, potmeter VR1, resistor R8, and tallic cabinet with level controls and sock-

rectly connected to the stereo-input (line- capacitor C12) and T2 (via capacitor C10, ets at suitable points. Use a regulated
input) socket of the PC sound card for potmeter VR2, resistor R19, and capaci- 1A, 12V DC power supply for powering
further processing. tor C16), respectively. Left and right play- the whole circuit including the tape deck
The circuit is built around a popular back levels can be adjusted by variable mechanism. (A 1A, 18V AC secondary
stereo head preamp IC LA3161. Weak resistors VR1 and VR2. The audio signals transformer with 4700F, 40V electrolytic
electrical signals from the playback heads are finally available at the negative ends capacitor and 78M12 regulator is suffi-
are fed to pins 1 and 8 of IC1 via DC of capacitors C13 and C17. cient.)
decoupling capacitors C1 and C6, respec- The circuit wired around relay driver You can use any kind of tape deck
tively. Components between pins 2 and 3 transistor T3 serves as a simple source mechanism with this circuit. Use of good-
and pins 6 and 7 provide adequate selector. This is added deliberately to help quality playback head and well-screened
equalisation to the signals for a normal the user share the common PC sound card wires are recommended.
tape playback. line-input terminal for operating some

ELECTRONICS FOR YOU  OCTOBER 2001


TELEPHONE CALL ME TER USING
CALCULATOR AND COB
I
n this circuit, a simple calculator, in The clock pulses available from ter- always be included before counting the
conjunction with a COB (chip-on- minal A and B are combined using a calls.
board) from an analogue quartz clock, bridge, comprising diodes D1 to D4, to For making call in pulse rate 4, slide
is used to make a telephone call meter.
The calculator enables conversion of STD/
ISD calls to local call equivalents and al-
ways displays current local call-meter
reading.
The circuit is simple and presents an
elegant look, with feather-touch operation.
It consumes very low current and is fully
battery operated. The batteries used last
more than a year.
Another advantage of using this cir-
cuit is that it is compatible with any type
of pulse rate format, i.e. pulse rate in
whole number, or whole number with
decimal part. Recently, the telephone de-
partment announced changes in pulse
rate format, which included pulse rate
in whole number plus decimal part. In obtain 1Hz clock pulses. These clock switch S1 to off (pulse set position) and
such a case, this circuit proves very pulses are applied to the base of transis- press calculator buttons in the following
handy. tor T1. The collector and emitter of tran- order: 1, +, 0.25, =. Here, 1 is initial
To convert STD/ISD calls to local calls, sistor T1 are connected across calculators count, and 0.25 is PRE. Now calculator
this circuit needs accurate 1Hz clock = terminals. displays 1.25. This call meter is now ready
pulses, generated by clock COB. This COB The number of pulses forming an to count. Now make the call, and as soon
is found inside analogue quartz wall equivalent call may be determined from as the call matures, immediately slide
clocks or time-piece mechanisms. It the latest telephone directory. However, switch S1 to on (start/standby position).
consists of IC, chip capacitors, and crystal the pulse rate (PR) found in the directory The COB starts generating clock
that one can retrieve from scrap quartz cannot be used directly in this circuit. pulses of 1 Hz. Transistor T1 conducts
clock mechanisms. For compatibility with this circuit, the once every second, and thus = button in
Normally, the COB inside clock pulse rate applicable for a particular calculator is activated electronically once
mechanism will be in good condition. place/distance, based on time of the every second. The calculator display starts
However, before using the COB, please day/holidays, is converted to pulse rate from 1.25, advancing every second as
check its serviceability by applying equivalent (PRE) using the formula follows:
1.5V DC across terminals C and D, as PRE = 1/PR. 1.25, 1.5, 1.75, 2.00, 2.25, 2.50, and so on.
shown in the figure. Then check DC You may prepare a look-up table for After finishing the call, immediately
voltage across terminals A and B; various pulse rates and their equivalents slide switch S1 to off position (pulse set
these terminals in a clock are connected (see Table). Suppose you are going to position) and note down the local call
to a coil. If the COB is in good condition, make an STD call in pulse rate 4. Note meter reading from the calculator display.
the multimeter needle would deflect down from the table the pulse rate equiva- If decimal value is more than or equal to
forward and backward once every sec- lent for pulse rate 4, which is 0.25. Please 0.9, add another call to the whole num-
ond. In fact, 0.5Hz clock is available at note that on maturity of a call in the ber value. If decimal value is less than
terminals A and B, with a phase telephone exchange, the exchange call 0.9, neglect decimal value and note down
difference of 90o. The advantage of using meter immediately advances to one call only whole numbers.
this COB is that it works on a 1.5V DC and it will be further incremented ac- To store this local call meter reading
source. cording to pulse rate. So one call should into calculator memory, press M+ but-
ton. Now local call meter reading is stored
LOOKUP TABLE in memory and is added to the previous
Pulse rate (PR) 2 2.5 3 4 6 8 12 16 24 32 36 48 local call meter reading. For continuous
Pulse rate display of current local call meter read-
eqlt. (PRE) 0.500 0.400 0.333 0.250 0.166 0.125 0.083 0.062 0.041 0.031 0.027 0.020
ing, press MRC button and slide switch
Note: Here PRE is shown up to three decimal places. In practice, one may use up to five S1 to on (start/standby position). The cur-
or six decimal places.
rent local call meter reading will blink

ELECTRONICS PROJECTS Vol. 21 167


once every second. ton is activated electronically once every culator as terminals E and F. Affix COB
In prototype circuit, the author used second by transistor T1, to keep the cal- on a general-purpose PCB and solder the
TAKSUN calculator. The display height culator continuously on. remaining components neatly. For giv-
was 1 cm. In this calculator, he Useful hints. Solder the = button ing the unit an elegant look, purchase a
substituted the two button-type batteries terminals by drilling small holes in its jewellery plastic box with flip-type cover
with two externally connected 1.5V R6 vicinity on PCB pattern using thin cop- (size 15cm x 15cm). Now fix the board,
type batteries to run the calculator for per wire and solder it neatly, such that calculator, and batteries, along with
more than an year. the = button could get activated elec- holder inside the jewellery box. Then
The power off button terminals were tronically as well as manually. Take mount the box on the wall and paste the
made dummy by affixing cellotape on con- the copper wire through a hole to the look-up table inside the box cover in such
tacts to avoid erasing of memory, should backside of the PCB, from where it is a way that on opening the box, it is vis-
someone accidentally press the power off taken out of the calculator as terminals ible on left side of the box.
button. This calculator has auto off fa- G and H. Caution. The negative terminals of
cility. Therefore, some button needs to be At calculators battery terminals, sol- battery A and battery B are to be kept
pressed frequently to keep the calculator der two wires to + and terminals. isolated from each other for proper opera-
on. So, in the idle condition, the = but- These wires are also taken out from cal- tion of this circuit.

168 ELECTRONICS PROJECTS Vol. 21


Telephone Conversation
Recorder
T
his circuit enables automatic ensures that transistor T1 gets voltage of tor T1 is pulled to ground potential via
switching-on of the tape recorder proper polarity, irrespective of the polarity resistor R4 and thus is cut off. Thus, base
when the handset is lifted. The of the telephone lines. of transistor T2 gets forward biased via
tape recorder gets switched off when the During on-hook condition, the output resistor R5, which results in the energisa-
handset is replaced. The signals are suit- from the bridge (48V DC) passes through tion of relay RL1. The tape recorder is
ably attenuated to a level at which they 12V zener D5 and is applied to the base of switched 'on' and recording begins.
can be recorded using the 'MICIN' socket transistor T1 via the voltage divider com- The tape recorder should be kept
of the tape recorder. prising resistors R3 and R4. This switches loaded with a cassette and the record
Points X and Y in the circuit are con- on transistor T1 and its collector is pulled button of the tape recorder should re-
nected to the telephone lines. Resistors R1 low. This, in turn, causes transistor T2 to main pressed to enable it to record the
and R2 act as a voltage divider. The voltage cut off and relay RL1 is not energised. conversation as soon as the handset is
appearing across R2 is fed to the 'MIC-IN' When the telephone handset is lifted, lifted. Capacitor C2 ensures that the re-
socket of the tape recorder. The values of the voltage across points X and Y falls lay is not switched on-and-off repeatedly
R1 and R2 may be changed depending on below 12 volts and so zener diode D5 does when a number is being dialled in pulse
the input impedance of the tape recorder's not conduct. As a result, base of transis- dialling mode.
'MIC-IN' terminals. Capacitor
C1 is used for blocking the flow
of DC.
The second part of the circuit
controls relay RL1, which is used
to switch on/off the tape recorder.
A voltage of 48 volts appears
across the telephone lines in
on-hook condition. This voltage
drops to about 9 volts when the
handset is lifted. Diodes D1
through D4 constitute a bridge
rectifier/polarity guard. This

ELECTRONICS PROJECTS Vol. 21


TELEPHONE LINE BASED AUDIO
MUTING AND LIGHT-ON CIRCUIT
V
ery often when enjoying music or relays will still remain energised because The timer IC2 (555) is configured in
watching TV at high audio level, of low-impedance DC path available monostable mode and connected between
we may not be able to hear a (via cradle switch and handset) for transistor T1 and relay units provides a
telephone ring and thus miss
an important incoming phone
call. To overcome this
situation, the circuit
presented here can be used.
The circuit would
automatically light a bulb on
arrival of a telephone ring and
simultaneously mute the
music system/TV audio for
the duration the telephone
handset is off-hook. Lighting
of the bulb would not only
indicate an incoming call but
also help in locating the
telephone during darkness.
On arrival of a ring, or
when the handset is off-
hook, the inbuilt transistor
of IC1 (opto-coupler)
conducts and capacitor C1
gets charged and, in turn,
transistor T1 gets forward
biased. As a result,
transistor T1 conducts,
causing energisation of
relays RL1, RL2, and RL3.
Diode D1 connected in anti-
parallel to inbuilt diode of
IC1, in shunt with resistor R1, provides the in-built diode of IC1. After completion holding time of around 0.5 minutes.
an easy path for AC current and helps of call when handset is placed back on Similarly, energisation of DPDT
in limiting the voltage across inbuilt its cradle, the low-impedance path relay RL3 opens the leads going to
diode to a safe value during the ringing. through handset is no more available the speakers and thus mutes both audio
(The RMS value of ring voltage lies and thus relays RL1 through RL3 are speakers. Use N/C contacts of relay
between 70 and 90 volts RMS.) Capacitor deactivated. RL3 in series with speakers of music
C1 maintains necessary voltage for As shown in the figure, the energised system and N/C contacts of RL2 in
continuously forward biasing transistor relay RL1 contacts switch on the light, series with TV speaker. Use N/O contact
T1 so that the relays are while energisation of relay RL2 causes the of relay RL1 in series with a bulb to
not de-energised during the negative path of TV speaker lead to be opened. (For get the visual indication of an incoming
half cycles and off-period of ring signal. dual-speaker TV, replace relay RL2 with a call as well as light during off-hook
Once the handset is picked up, the DPDT relay of 6V, 200 ohm.) period.

ELECTRONICS PROJECTS Vol. 21 187


TELEPHONE RINGER
USING TIMER ICs
U
sing modulated rectangular contains two timers (similar to 555 ICs) another rectangular waveform.
waves of different time periods, in a single package. One can also as- A resistor R7 is used at the collector of
the circuit presented here pro- semble this circuit using four separate transistor T2 to prevent capacitor C3 from
duces ringing tones similar to those 555 ICs. The first multivibrator produces fully discharging when transistor T2 is
produced by a telephone. a rectangular waveform with 1-second conducting. Preset VR1 must be set at
The circuit requires four astable low duration and 2-second high such a value that two ringing tones are
multivibrators for its working. Therefore duration. This waveform is used to con- heard in the loudspeaker in one second.
two 556 ICs are used here. The IC 556 trol the next multivibrator that produces The remaining two multivibrators are used
to produce ringing tones correspond-
ing to the ringing pulses produced
by the preceding multivibrator
stages.
When switch S1 is closed, tran-
sistor T1 cuts off and thus the first
multivibrator starts generating
pulses. If this switch is placed in the
power supply path, one has to wait
for a longer time for the ringing to
start after the switch is closed. The
circuit used also has a provision for
applying a drive voltage to the circuit
to start the ringing.
Note that the circuit is not meant
for connection to the telephone lines.
Using appropriate drive circuitry at
the input (across switch S1) one can
use this circuit with intercoms, etc.
Since ringing pulses are generated
within the circuit, only a constant
voltage is to be sent to the called
party for ringing.
EFY Lab note. To resemble the
actual telephone ringing a 400 Hz
tone is switched on in the following
sequence: 400ms on, 200ms off,
400ms on and 2000ms off and then
repeat.

ELECTRONICS PROJECTS Vol. 21 203


Telecom Headset
A
compact, inexpensive and
low component count
telecom head-set can be con-
structed using two readily available
transistors and a few other electron-
ic components. This circuit is very
useful for hands-free operation of
EPABX and pager communication.
Since the circuit draws very little
current, it is ideal for parallel opera-
tion with electronic telephone set.
Working of the circuit is simple
and straightforward. Resistor R1
and an ordinary neon glow-lamp
forms a complete visual ringer cir-
cuit. This simple arrangement does
not require a DC blocking capacitor
because, under idle conditions, the tel-
ephone line voltage is insufficient to ionise
the neon gas and thus the lamp does not
light. Only when the ring signal is being
received, it flashes at the ringing rate to
indicate an incoming call.
The bridge rectifier using diodes D1
through D4 acts as a polarity guard which lector of transistor T2 are
protects the electronic circuit from any coupled to dynamic receiver
reversal in the telephone line polarity. RT-200 (used as earpiece) via
Zener diode D5 at the output of this bridge capacitor C7.
rectifier is used for additional circuit A condenser micro-
protection. phone, connected as shown
Section comprising transistor T1, re- in the circuit, is used as
sistors R2, R3 and zener diode D6 forms a transmitter. Audio signals
constant voltage regulator that provides developed across the microphone are diode bridge.
a low voltage output of about 5 volts. coupled to the base of transistor T1 The whole circuit can be wired on a
Dial tone and speech signals from ex- via capacitor C3. Resistor R4 deter- very small PCB and housed in a medium
change are coupled to the audio ampli- mines the DC bias required for the size headphone, as shown in the illustra-
fier stage built around transistor T2 and microphone. After amplification by tion. For better results at low line cur-
related parts, i.e. resistors R7, R6 and transistor T1, the audio signals are rents, value of resistor R2 may be reduced
capacitor C5. Amplified signals from col- coupled to the telephone lines via the after testing.

ELECTRONICS PROJECTS Vol. 20


CIRCUIT IDEAS

Telephone Number R. R
AINA

Display
BHASKAR BANERJEE

T
he given circuit, when connected
in parallel to a telephone, dis-
plays the number dialled from
the telephone set using the DTMF mode.
This circuit can also show the number
dialled from the phone of the called
party. This is particularly helpful for
receiving any number over the phone
lines.
The DTMF signalgenerated by the
phone on dialling a numberis decoded
by DTMF decoder CM8870P1 (IC1),
which converts the received DTMF sig-
nal into its equivalent BCD number that
corresponds to the dialled number. This
binary number is stored sequentially in
10 latches each time a number is dialled
from the phone. The first number is
stored in IC5A (1/2 of CD4508) while
the second number is stored in IC5B
and so on. The binary output from IC1
for digit 0 as decoded by IC1 is 10102
(=1010), and this cannot be displayed by
the seven-segment decoder, IC10. There-
fore the binary output of IC1 is passed
through a logic-circuit which converts
an input of 10102 into 00002 without
affecting the inputs 1 through 9. This
is accomplished by gates N13 through
N15 (IC11) and N1 (IC12).
The storing of numbers in respec-
tive latches is done by IC2 (4017). The
data valid output from pin 15 of IC1 is
used to clock IC2. The ten outputs of
IC2 are sequentially connected to the
store and clear inputs of all the latches,
except the last one, where the clear in-
put is tied to ground. When an output
pin of IC2 is high, the corresponding
latch is cleared of previous data and
kept ready for storing new data. Then,
on clocking IC2, the same pin becomes
low and the data present at the inputs
of that latch at that instant gets stored
and the next latch is cleared and kept
ready. The similar input and output pins
of all latches are connected together to

ELECTRONICS FOR YOU n  MAY '99


CIRCUIT IDEAS

form two separate input and output coding by IC10, gets displayed in the mum of ten digits, one can reduce the
buses. corresponding display. For instance, con- display digits as required. For doing
There is only one 7-segment decoder/ tents of IC5A are displayed on display this, connect the reset pin of IC2, say,
driver IC10 for all the ten displays. This DIS1, that of IC5B on DIS2 and so for a 7-digit display, with S6 output at
not only reduces size and cost but re- on. The system should be connected to pin 5.
duces power requirement too. The out- the telephone lines via a DPDT switch The present circuit can be built on a
put from a latch is available only when (not shown) for manual switching, oth- veroboard and housed in a suitable box.
its disable pins (3 and 15) are brought erwise any circuit capable of sensing The displays are common-cathode type.
low. This is done by IC3, IC12 and IC13. handsets off-hook condition and thereby To make the system compact, small, 7-
IC3 is clocked by an astable switching relays, etc. can be used for segment displays can be used but with
multivibrator IC4 (555). IC3 also drives automatic switching. The power-supply some extra cost. Also, different colour
the displays by switching correspond- switch can also be replaced then. Such displays can be used for the first three
ing transistors. When a latch is enabled, circuits, under different captions, can or four digits to separate the exchange
its corresponding display is turned on be found in EFYs back issues. Though code/STD code, etc. The circuit can be
and the content of that latch, after de- this circuit is capable of showing a maxi- suitably adopted for calling-line display.

ELECTRONICS FOR YOU n  MAY '99


Teleremote
Control
H
ere is a teleremote cir-
cuit 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 can be used to
switch up to nine appliances (cor-
responding to the digits 1 through
9 of the telephone key-pad). The
DTMF signals on telephone instru-
ment are used as control signals.
The digit 0 in DTMF mode is used
to toggle between the appliance
mode and normal telephone op-
eration 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 (af-
ter hearing ring-back tone), dial 0
in DTMF mode. IC1 decodes this
as 1010, which is further demulti-
plexed 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

ELECTRONICS PROJECTS Vol. 20


DTMF) after establishing the call, the This pulse toggles the corresponding tone needs to be removed from the tel-
ring continues and the telephone can be flip-flop to alternate state. The flip-flop ephone line. To achieve this, digit 0 (in
used for normal conversation. After selec- output is used to drive a relay (RL2) DTMF mode) is dialed again to toggle
tion of the appliance mode of operation, if which can switch on or switch off the flip-flop-1 to de-energise relay RL1, which
digit 1 is dialed, it is decoded by IC1 and appliance connected through its contacts. terminates the loop on line and the 10kHz
its output is 0001. This BCD code By dialing other digits in a similar way, tone is also disconnected. The telephone
is then demultiplexed by 4-to-16-line other appliances can also be switched line is thus again set free to receive nor-
demultiplexer IC2 whose correspond- on or off . mal calls.
ing output, after inversion by a CD4049 Once the switching operation is over, This circuit is to be connected in paral-
inverter gate, goes to logic 1 state. the 220-ohm loop resistance and 10kHz lel to the telephone instrument.

ELECTRONICS PROJECTS Vol. 20


CIRCUIT IDEAS

Time Switch Y. K
ATA
RIA
the position of mode switch. At the time
of alarm, when point A connected to col-
lector of transistor T1 passes through
logic 0 state, the output logic state of
AVNISH PUNDIR both the gates will toggle.
Assuming that mode switch is

T
his circuit is especially designed out having to flip the mode switch (i.e. flipped to Mode Off position at power-
for those who often need to wake mode switch can be omitted). on-reset (when point D is at logic 1),
up early in the morning. Ordi- Please refer to the back panel dia- initially diode D1 would be in blocking
nary alarms in electronic watches are gram of a typical analogue clock and state and transistor T2 would be for-
not loud enough and the audio jack, to see how the existing ward biased via resistor R5 and
very often they fail to buzzer of diodes D2 and D3. As a result, the
wake up. The switch the clock is relay is in energised state, which makes
circuit described here required to output power available at output socket-
will come handy; it can be wired to 1 and cuts it off from socket-2. At alarm
be used to switch on a the audio time, the audio signal toggles logic
TV, radio or tape re- output output states of both gates N1 and N2.
corder etc, which will from the As a result, point D goes to logic 0
not allow even the la- clock. This state. Diode D1 conducts, taking the
ziest amongst us to ig- will ensure that when plug is inserted voltage at junction of diodes D1 and
nore their sound for too long. Besides, in the audio jack, the clocks buzzer will D2 to near about 1 volt. Diode D3
this time switch can also be used to remain off and not consume any power ensures that its series combination with

switch on/off any other electric or elec- unnecessarily. diode D2 puts them in blocking mode.
tronic gadget at any time. What you The audio alarm output from the Capacitor C3 meanwhile discharges
need is a simple analogue electronic clock is coupled to the AF detector built via resistor R6 and the voltage at base
clock with alarm facility and a small around low-power switching transistor of transistor T2 approaches towards
circuit to implement the time switch. T1. During alarm, the collector of tran- ground level, cutting off transistor
This time switch has two modes. sistor T1 will fluctuate around ground T2 and de-energising relay RL1. Now
One is time-on mode and the other is level and Vcc. During absence of audio the power at output socket-1 would be
time-off mode. In time-on mode, you alarm input, the collector of transistor cut off while it becomes available in
set up the alarm in your clock as per T1 is held at Vcc potential. socket-2.
normal procedure and at the set time The next stage consists of an S-R If the above operation is repeated
this switch turns on the gadget con- latch built around NAND gates N1 and with switch S1 in Mode On, the power
nected at the output socket-1. In time- N2. Capacitor C2 and resistor R4 are would initially not be available in
off mode, it turns your gadget off at the used for power-on-reset. On switching socket-1 (but available in socket-2). But
set time. The optional output socket-2 the power supply, gate N2 output will after the alarm, the power would be-
is wired in such a way that when you acquire logic 1 and that of gate N1 logic come available in socket-1 and not in
use this socket, the mode changes with- 0. This is the initial state, irrespective of socket-2.

ELECTRONICS FOR YOU n  MARCH '99


Tiny Dew Sensor
D
ew (condensed moisture) ad- same can be procured from authorised popular dual op-amp IC LM358N which
versely affects the normal per- service centres of reputed companies. The is configured here as a comparator. (Note
formance of sensitive electronic author used the dew sensor for FUNAI that only one half of the IC is used here.)
devices. A low-cost circuit described here VCP model No. V.I.P. 3000A (Part No: Under normal conditions, resistance of
can be used to switch off any gadget 6808-08-04, reference no. 336) in his pro- the dew sensor is low (1 kilo-ohm or so)
automatically in case of excessive totype. In practice, it is observed that all and thus the voltage at its non-inverting
humidity. dew sensors available for video application terminal (pin 3) is low compared to that at
At the heart of the circuit is an possess the same electrical characteristics its inverting input (pin 2) terminal. The
inexpensive (resistor type) dew sensor irrespective of their physical shape/size, corresponding output of the comparator
element. Although dew sensor elements and hence are interchangeable and can be (at pin 1) is accordingly low and thus noth-
are widely used in video cassette players used in this project. ing happens in the circuit.
and recorders, these may not be easily The circuit is basically a switching When humidity exceeds 80 per cent,
available in local market. However, the type circuit made with the help of a the sensor resistance increases rapidly.
As a result, the non-inverting pin becomes
more positive than the inverting pin. This
pushes up the output of IC1 to a high
level. As a consequence, the LED inside
the opto-coupler is energised. At the same
time LED1 provides a visual indication.
The opto-coupler can be suitably inter-
faced to any electronic device for switching
purpose.
Circuit comprising diode D1, resistors
R8 and R6 and capacitor C1 forms a low-
voltage, low-current power supply unit.
This simple arrangement obviates the
requirement for a bulky and expensive
step-down transformer.

ELECTRONICS PROJECTS Vol. 20


TOUCH-SENSITIVE MUSICAL
BELL WITH TIMER
T
his circuit is built
around CMOS IC
CD4011 and pop-
ular melody generator
IC UM66. When touch
plates are bridged by
hand for a moment. the
circuit starts to generate
music. After a few sec-
onds the music automati-
cally stops.
Maximum supply
voltage for this circuit is
+5 volts. The IC UM66
can not operate beyond
3.3V voltage. IC 7805
regulator based power supply can be used ing values of capacitor C1 and resistor R2. 5-volt rail keep voltage applied to pin2 of
to power this circuit. Three silicon diodes connected in series UM66 below 3.2 volts because of the drop
Time delay can be changed by chang- between pin 2 of UM66 IC and positive of approximately 1.8 volts across them.

ELECTRONICS PROJECTS Vol. 19 185


CIRCUIT IDEAS

AUTOMATED TRAFFIC SIGNAL RUP


ANJA
NA

CONTROLLER
VIKRAM BANERJEE sity is high. This controller allows the pe- of 8 seconds each. For the left- and right-
MRINAL KANTI MANDAL destrians to safely cross the road during turning traffic and pedestrians crossing
DR ANIRUDHA GHOSAL certain periods. from north to south, south to north, east
3. The controller uses digital logic, to west, and west to east, only green and

T
his automated traffic signal control- which can be easily implemented by us- red signals are used.
ler can be made by suitably pro- ing logic gates. Table I shows the simultaneous states
gramming a GAL device. (For GAL 4. The controller is a generalised one of the signals for all the traffic. Each row
programming you may refer to the con- and can be used for different roads with represents the status of a signal for 8

Fig. 1: Flow of traffic in all possible directions

TABLE I
Simultaneous States of Signals for All the Traffic
X Y Z B-C/B-G B-E D-E/D-A D-G F-G/F-C F-A H-A/H-E HC WALK WALK
Lt/Rt St Lt/Rt St Lt/Rt St Lt/Rt St (N-S)/(S-N) (E-W)/(W-E)
0 0 0 R R R R G G R R R R
0 0 1 R G R R R G R R G R
0 1 0 R G R R R Y R R G R
0 1 1 G Y R R R R R R R R
1 0 0 R R R R R R G G R R
1 0 1 R R R G R R R G R G
1 1 0 R R R G R R R Y R G
1 1 1 R R G Y R R R R R R

struction project published on page 52 in slight modification. seconds. As can be observed from the
EFYs September issue.) Its main features 5. The control can also be exercised table, the ratio of green, yellow, and red
are: manually when desired. signals is 16:8:40 (=2:1:5) for the straight
1. The controller assumes equal traffic The time period for which green, yel- moving traffic. For the turning traffic the
density on all the roads. low, and red traffic signals remain on ratio of green and red signals is 8:56
2. In most automated traffic signals the (and then repeat) for the straight moving (=1:7), while for pedestrians crossing the
free left-turn condition is provided through- traffic is divided into eight units of 8 road the ratio of green and red signals is
out the entire signal period, which poses seconds (or multiples thereof) each. Fig. 16:48 (=2:6).
difficulties to the pedestrians in crossing 1 shows the flow of traffic in all permis- In Table II (as well as Table I) X, Y,
the road, especially when the traffic den- sible directions during the eight time units and Z are used as binary variables to

NOVEMBER 2002 ELECTRONICS FOR YOU


CIRCUIT IDEAS

TABLE II depict the eight states of 8 trol output.


Boolean Functions for All the Signal Conditions seconds each. Letters A The circuit diagram for realising these
Signal Reference Boolean functions through H indicate the left Boolean functions is shown in Fig. 2.
and right halves of the roads Timer 555 (IC1) is wired as an astable
Green B-C(Lt)/B-G (Rt) XYZ
in four directions as shown multivibrator to generate clock signal for
Green B-E (St) XYZ+XYZ
in Fig. 1. Two letters with a the 4-bit counter 74160 (IC2). The time
Red B-E (St) X+YYZ dash in between indicate the duration of IC1 can be adjusted by vary-
Yellow B-E (St) XYZ direction of permissible ing the value of resistor R1, resistor R2,
Green D-E (Lt)/D-A (Rt) XYZ
movement from a road. or capacitor C2 of the clock circuit. The
Green D-G (St) XYZ+XYZ
Straight direction is indicated on time duration T is given by the fol-
Red D-G (St) X+XYZ
by St, while left and right lowing relationship:
Yellow D-G (St) XYZ
turns are indicated by Lt and T = 0.695C2(R1+R2)
Green F-G(Lt)/F-C (Rt) XYZ Rt, respectively. IC2 is wired as a 3-bit binary counter
Green F-A (St) XY The Boolean functions by connecting its Q3 output to reset pin 1
Red F-A (St) X+XYZ
for all the signal conditions via inverter N1. Binary outputs Q2, Q1,
Yellow F-A (St) XYZ
are shown in Table II. and Q0 form variables X, Y, and Z, re-
Green H-A (Lt)/H-E (Rt) XYZ
The left- and the right-turn spectively. These outputs, along with their
Green H-C (St) XY
signals for the traffic have complimentary outputs X, Y, and Z,
Red H-C (St) X+XYZ the same state, i.e. both are respectively, are used as inputs to the rest
Yellow H-C (St) XYZ red or green for the same of the logic circuit to realise various out-
Green Walk (N-S/S-N) XYZ+XYZ
duration, so their Boolean puts satisfying Table I.
Green Walk (E-W/W-E) XYZ+XYZ
functions are identical and You can simulate various traffic lights
Note. X, Y, and Z denote complements of variables X, Y,
they should be using green, yellow, and red LEDs and
and Z, respectively.
connected to the same con- feed the outputs of the circuit to respec-
tive LEDs via
current-limit-
ing resistors of
470 ohms each
to check the
working of the
circuit. Here,
for turning traf-
fic and pedes-
trians crossing
the road, only
green signal is
made avail-
able. It means
that for the re-
maining period
these signals
have to be
treated as red.
In practice,
the outputs of
Fig. 2 should
be connected
to solidstate re-
lays to operate
high-power
bulbs. Further,
if a particular
signal condi-
tion (such as
turning signal)
is not appli-
cable to a
given road, the
output of that
signal condi-
Fig. 2: The circuit diagram for traffic light signalling tion should be

ELECTRONICS FOR YOU NOVEMBER 2002


CIRCUIT IDEAS

Table III connected by entering the binary value correspond-


Execution Results of Software Program to green ing to that particular state into the parallel
signal of input pins of the 3-bit counter. Similarly,
SIG-B SIG-D SIF-F SIG-H WALK(N-S) WALK(E-W)
the next the signal can be reset at any time by
GGRY GGRY GGRY GGRY GR GR state (refer providing logic 0 at the reset pin (pin 1)
0010 0100 1100 0010 01 01 Table I). of the counter using an external switch.
0100 0100 0100 0010 10 01 T h e A software program to verify the
0100 0100 0001 0010 10 01 traffic sig- functioning of the circuit using a PC
1001 0100 0010 0010 01 01 nals can is given below. (Source code and execut-
0010 0100 0010 1100 01 01 also be able file will be provided in the next
0010 1000 0010 0100 01 10 controlled months EFY-CD.) When executing the pro-
0010 1000 0010 0001 01 10 manually, gram, keep pressing Enter key to get the
0010 0011 0010 0010 01 01 if desired. next row of results. The test results on
Note. The first column under G (green) in each group of four signals indicates the Any signal execution of the program is shown in Table
turn signal, while the next three columns under GRY indicate signal for the straight state can be III.
traffic. established This circuit costs around Rs 125.

TRAFFIC.C

#include<stdio.h> c=(seq&1);b=(seq&2)>>1;a=(seq&4)>>2; walk_ns,stop_ns,


#include<conio.h> green_bl=and3(not(a),b,c); walk_ew,stop_ew);
#define TRUE 1 green_bs=or2(and3(not(a),b,not(c)),and3(not(a),not(b),c)); getch();
#define False 0 red_bs=or2(a,and3(not(a),not(b),not(c))); }
yellow_bs=and3(not(a),b,c); return;
int not(int x); green_dl=and3(a,b,c); }
int or2(int x,int y); green_ds=or2(and3(a,b,not(c)),and3(a,not(b),c)); int and2(int x,int y)
int or3(int x,int y,int z); red_ds=or2(not(a),and3(a,not(b),not(c))); {
int and2(int x,int y); yellow_ds=and3(a,b,c); return(x && y);
int and3(int x,int y,int z); green_fl=and3(not(a),not(b),not(c)); }
int main(void) green_fs=and2(not(a),not(b)); int and3(int x,int y,int z)
{ red_fs=or2(a,and3(not(a),b,c)); {
int a,b,c; yellow_fs=and3(not(a),b,not(c)); return(x && y && z);
int seq,green_bl,green_bs,red_bs,yellow_bs; green_hl=and3(a,not(b),not(c)); }
int green_dl,green_ds,red_ds,yellow_ds; green_hs=and2(a,not(b)); int or2(int x,int y)
int green_fl,green_fs,red_fs,yellow_fs; red_hs=or2(not(a),and3(a,b,c)); {
int green_hl,green_hs,red_hs,yellow_hs; yellow_hs=and3(a,b,not(c)); return(x || y);
int walk_ns,stop_ns; walk_ns=green_bs; }
int walk_ew,stop_ew; stop_ns=or3(and3(not(a),not(b),not(c)),and3(not(a),b,c),a); int or3(int x,int y,int z)
walk_ew=green_ds; {
clrscr(); stop_ew=or3(not(a),and3(a,b,c),and3(a,not(b),not(c))); return(x || y || z);
printf( SIG-B SIG-D SIF-F SIG-H printf(%d %d %d %d %d %d %d %d }
WALK(N-S) WALK(E-W)\n); %d %d %d %d %d %d %d %d %d %d int not(int x)
printf(G G R Y G G R Y G G R Y G G R Y %d %d\n, {
GR G R\n); green_bl,green_bs,red_bs,yellow_bs, return(!x);
green_dl,green_ds,red_ds,yellow_ds, }
for(seq=0;seq<8;seq++) green_fl,green_fs,red_fs,yellow_fs,
{ green_hl,green_hs,red_hs,yellow_hs,

NOVEMBER 2002 ELECTRONICS FOR YOU


Ultra Low Drop Linear
Regulator
T
he circuit is a MOSFET based drop. Trimpot VR1 in the circuit is used triggered, pulling down the gate voltage
linear voltage regulator with a for fine adjustment of the output voltage. to ground, and thus limiting the output
voltage drop of as low as 60 mV at 1 Combination of capacitor C5 and resistor current. The circuit will remain latched
ampere. Drop of a fewer millivolts is pos- R2 provides error-amplifier compensa- in this state, and input voltage has to be
sible with better MOSFETs having lower tion.
RDS(on) resistance. The circuit
The circuit in Fig. 1 uses 15V-0-15V is provided with
secondary output from a step-down a short-circuit
transformer and employs an n-channel crow-bar protec-
MOSFET IRF540 to get the regulated tion to guard
12V output from DC input, which could be the components
as low as 12.06V. The gate drive voltage against over-
required for the MOSFET is generated stress during ac-
using a voltage doubler circuit consisting cidental short at
of diodes D1 and D2 and capacitors C1 and the output. This
C4. To turn the MOSFET fully on, the gate crow-bar protec-
terminal should be around 10V above the tion will work as
source terminal which is connected to the follows: Under
Fig. 2
output here. The voltage doubler feeds this normal working
voltage to the gate through resistor R1. conditions, the
Adjustable shunt regulator TL431 (IC2) voltage across capacitor C3 will be 6.3V switched off to reset the circuit.
is used here as an error amplifier, and it and diode D5 will be in the off state since The circuit shown in Fig. 2 follows a
dynamically adjusts the gate voltage to it will be reverse-biased with the output similar scheme. It can be utilised when
maintain the regulation at the output. voltage of 12V. However, during output the regulator has to work from a DC rail
With adequate heatsink for the MOS- short-circuit condition, the output will in place of 15V-0-15V AC supply. The gate
FET, the circuit can provide up to 3A out- momentarily drop, causing D5 to conduct voltage here is generated using an LM555
put at slightly elevated minimum voltage and the opto-triac MOC3011 (IC1) will get charge pump circuit as follows:
When 555 output is low,
capacitor C2 will get charged
through diode D1 to the input
voltage. In the next half cycle,
when the 555 output goes high,
capacitor C3 will get charged
to almost double the input
voltage. The rest of the circuit
works in a similar fashion as
the circuit of Fig. 1.
The above circuits will help
reduce power-loss by allowing
to keep input voltage range to
the regulator low during initial
design or even in existing cir-
cuits. This will keep the output
regulated with relatively low
input voltage compared to the
conventional regulators.
The minimum voltage drop
can be further reduced using
Fig. 1 low R DS(on) MOSFETs or by
paralleling them.

ELECTRONICS PROJECTS Vol. 20


CIRCUIT IDEAS

UNDER-/OVER-VOLTAGE BEEP used to sense high or low voltage in this


circuit.

FOR MANUAL STABILISER IL KU


MAR
Transistor T1 in conjunction with ze-
ner diode ZD1 and preset VR1 is used to
sense and adjust the high-voltage level
SUN for beep indication. Similarly, transistor
K. UDHAYA KUMARAN
T2 along with zener ZD2 and preset VR2
is used to sense and adjust low voltage

M
anual stabilisers are still popu- eration is very irritating and inconvenient level for beep indication.
lar because of their simple con- for the user. When the DC voltage across capaci-
struction, low cost, and high re- This under-/over-voltage audio alarm tor C1 rises above the preset high-level
liability due to the absence of any relays circuit designed as an add-on circuit for voltage or falls below the preset low-level
while covering a wide range of mains AC the existing manual stabilisers overcomes voltage, the collector of transistor T2 be-
voltages compared to that handled by au- the above problem. Whenever the comes high due to non-conduction of tran-
tomatic voltage stabilisers. These are used stabilisers output voltage falls below a sistor T2, in either case. However, if the
mostly in homes and in business centres preset low-level voltage or rises above a DC voltage sampled across C1 is within
for loads such as lighting, TV, and fridge, preset high-level voltage, it produces dif- the preset high- and low-level voltage,
and in certain areas where the mains AC ferent beep sounds for high and low volt- transistor T2 conducts and its collector
voltage fluctuates between very low (dur- age levelsshort-duration beeps with voltage gets pulled to the ground level.
ing peak hours) and abnormally high (dur- short intervals between successive beeps These changes in the collector voltage of
ing non-peak hours). for high voltage level and slightly longer- transistor T2 are used to start or stop
Some manual stabilisers available in duration beeps with longer interval be- oscillations in the astable multivibrator
the market incorporate the high-voltage tween successive beeps for low voltage circuit that is built around transistors T3
and T4. The collector
of transistor T4 is con-
nected to the base of
buzzer driver transis-
tor T5 through resis-
tor R8. Thus when the
collector voltage of
transistor T4 goes
high, the buzzer
sounds. Preset VR3 is
used to control the
volume of buzzer
sound.
In normal condi-
auto-cut-off facility to turn off the load level. By using these two different types tion, the DC voltage sampled across ca-
when the output voltage of manual of beep sounds one can readily readjust pacitor C1 is within the permissible win-
stabiliser exceeds a certain preset high the stabilisers AC voltage output with the dow voltage zone. The base of transistor
voltage limit. The output voltage may be- help of the rotary switch. There is no need T3 is pulled low due to conduction of di-
come high due to the rise in AC mains of frequently checking voltmeter reading. ode D2 and transistor T2. As a result,
voltage or due to improper selection by It is advisable to preset the high-level capacitor C2 is discharged. The astable
the rotary switch on manual stabiliser. voltage 10V to 20V less than the required multivibrator stops oscillating and tran-
One of the major disadvantage of us- high-voltage limit for auto-cut-off opera- sistor T4 starts conducting because tran-
ing a manual stabiliser in areas with a tion. Similarly, for low level one may pre- sistor T3 is in cut-off state. No beep sound
wide range of voltage fluctuations is that set low-level AC voltage 20V to 30V above is heard in the buzzer due to conduction
one has to keep a watch on the manual minimum operating voltage for a given of transistor T4 and non-conduction of
stabilisers output voltage that is displayed load. transistor T5.
on a voltmeter and keep changing the The primary winding terminals of When the DC voltage across capaci-
same using its rotary switch. Or else, the step-down transformer X1 are connected tor C1 goes above or below the window
output voltage may reach the preset auto- to the output terminals of the manual voltage level, transistor T2 is cut off. Its
cut-off limit to switch off the load without stabiliser. Thus, 9V DC available across collector voltage goes high and diode D2
the users knowledge. To turn on the load capacitor C1 will vary in accordance with stops conducting. Thus there is no dis-
again, one has to readjust the stabiliser the voltage available at the output termi- charge path for capacitor C2 through di-
voltage using its rotary switch. Such op- nals of the manual stabiliser, which is ode D2. The astable multivibrator starts

ELECTRONICS FOR YOU  MAY 2001


CIRCUIT IDEAS

oscillating. The time period for which the sampling. The time taken for charging longer duration with longer interval be-
beep is heard and the time interval be- capacitors C2 and C3 is less when the DC tween successive beeps compared to that
tween two successive beeps are achieved voltage is high and slightly greater when during high-voltage level sensing.
with the help of the DC supply voltage, the DC voltage is low for astable This circuit can be added to any ex-
which is low during low-level voltage sam- multivibrator operation. Thus during low- isting stabiliser (automatic or manual) or
pling and high during high-level voltage level voltage sensing the buzzer beeps for UPS to monitor its performance.

ELECTRONICS FOR YOU  MAY 2001


UPS FOR CORDLESS TELEPHONES
C
ordless telephones are very out, irrespective of the presence of the AC
popular nowadays. But they mains. When the AC mains is present,
have a major drawback, i.e. they the same is converted into DC and fed to
cannot be operated during power fail- the inverter. A part of the mains rectified
ure. Therefore usually another ordinary output is used to charge the battery. When
telephone is connected in parallel to the the mains power fails, the DC supply to
the inverter is from the battery and from
this is obtained AC at the inverter output.
This is shown in fig.1.
The circuit wired around IC CD4047 Fig. 3: Proposed layout of front and rear panels.
is an astable multivibrator operating at a battery, one may use two 6V, 4Ah batter-
frequency of 50 Hz. The Q and Q outputs ies (SUNCA or any other suitable brand).
Fig. 1: Block diagram of UPS.
of this multivibrator directly drive power The circuit can be easily assembled on
cordless telephone. This results in lack of MOSFETS IRF540. The configuration used a general-purpose PCB and placed inside
secrecy. UPS is a permanent solution to is push-pull type. The inverter output is a metal box. The two transformers may be
this problem. filtered and the spikes are reduced using mounted on the chassis of the box. Also,

Fig. 2: Circuit diagram of UPS

Since the UPS is meant only for the MOV (metal oxide varistor). The inverter the two batteries can be mounted in the
cordless telephone, its output power is transformer used is an ordinary 9V-0-9V, box using supporting clamps. The front
limited to around 1.5W. This is sufficient 1.5A mains transformer readily available and back panel designs are shown in the
to operate most cordless telephones. as in the market. Two LEDS (D6 and D7) indi- Fig. 3.
these employ only small capacity adapters cate the presence of mains/battery. The same circuit can deliver up to
(usually 9V/12V, 500mA), to enable the The mains supply (when present) is 100W, provided the inverter transformer
operation of the circuit and to charge the stepped down, rectified and filtered using and charging transformer are replaced
battery present in the handset. diodes D1 through D4 and capacitor C1. A with higher current rating transformers,
The UPS presently designed is of on- part of this supply is also used to charge so that the system can be used for some
line type. Here the inverter is on through- the battery. In place of a single 12V, 4Ah other applications as well.

182 ELECTRONICS PROJECTS Vol. 19


circuit
ideas

Versatile CMOS/TTL Logic


And Clock Probe s.c. dwiv
edi

EFY Lab point of the logic circuit. goes low only when logic input at the
Supply for the probe circuit is probe tip exceeds the biasing voltage

F
or fault diagnosis of any logic taken from the circuit under test using and, as a result, the red LED lights up
circuit, you need a probe that can alligator clips. In the circuit, LM319 to indicate logic 1 state at the probe
test the logic level or existence of dual-comparator is connected as a tip.
clock activity. The circuit shown here window detector. The non-invert- Similarly, the inverting pin of
can be used to test CMOS and TTL ing pin of comparator N1 is biased comparator N2 is biased at nearly 0.8V
logic circuits for logic states and also to nearly 2V when switch S1 is in (in TTL position of switch S1) and 20
for the presence of clock activity from a TTL position and 80 per cent of Vcc per cent of Vcc (in CMOS position of
few hertz to more than 10 MHz, at any in CMOS position. The output of N1 switch S1). Only when the input volt-

age at probe tip is less than the biasing


Test Results
voltage, will its output drop low to
Test Specified Observed Red Green Yellow Buzzer
light up the green LED to indicate logic
conditions level level LED LED LED sound
0 state.
TTL (5V) The probe tip is also connected to
Low <0.8V <0.8V Off On Off Off the input of CD4049 (N3) via capacitor
High >2V 2.1V On Off Off Off C1 to pass AC/clock signals. It simply
Clock TTL 1 Hz to 10 MHz Off Momentarily On for On for acts as a buffer and couples only the
compatible or even more on/off 3 seconds 3 seconds high-to-low going signals at the in-
CMOS (12V) put/output of the gate to the input of
Low <2.5V 2.35V Off On Off Off next gate N4.
High >9.5V >9.5V On Off Off Off The output of gate N4 is further
Clock CMOS 1 Hz to 10 MHz Off Momentarily On for On for coupled to gate N5, which is wired as a
compatible or even more on/off 3 seconds 3 seconds monostable. A positive feedback from

9 2 F e b r ua ry 2 0 0 8 e l e c t ro n i c s f o r yo u w w w. e f y m ag . co m
circuit
ideas
the output of gate N5 to the input of Gate N6 is used for driving a yel- and N8. It briefly activates the buzzer
gate N4 ensures that unless capacitor low LED (indicating oscillatory input to beep during mono period, indicat-
C4 (0.47F) discharges sufficiently via at probe tip), which will be switched ing oscillatory input at the probe tip.
4.7-mega-ohm resistor, further clock on for a brief period. The output of Thus we have audio-visual indication
pulses at the input of N4 will have no gate N6 is further used to inhibit/en- during clock/oscillatory input at the
effect. able the oscillator formed by gates N7 probe tip.

w w w. e f y m ag . co m e l e c t ro n i c s f o r yo u F e b r ua ry 2 0 0 8 9 3
CIRCUIT IDEAS

VERSATILE ZENER DIODE TESTER operation. In quick-test mode, you can


perform a rough check of zener diodes
breakdown voltage up to 47 volts. In qual-
ity-test mode, you can check dynamic im-
MAR
K. UDHAYA KUMARAN IL KU pedance characteristic for zener diodes
SUN
from 3.3V to 120V.
Commonly available step-down trans-

Z
ener diodes available in the mar- digital voltmeters, control systems, and formers X1 and X2 (230V AC primary to
ket are specified according to their precision power-supply circuits. However, 9V AC, 750 mA sec. each) are connected
breakdown voltage as well as tol- for a common hobbyist it is not necessary back-to-back as shown in the figure. A
erance. The tolerance may vary from 5 to check zener diodes critically, and only bridge rectifier followed by filter capaci-
per cent to 20 per cent. The circuit of a checking its dynamic impedance charac- tor C1 converts the output from X2 trans-
versatile zener diode tester presented here teristic is sufficient. former to DC. Neon lamp L1 indicates
enables you to verify the specified break- Dynamic impedance implies the de- the presence of higher DC voltage (220V
down voltage and tolerance values. In ad- gree of change in a zener diodes voltage approximately) across capacitor C1, which
dition, you can check the dynamic imped- with the change in current. Expressed in is used to test various zener diode values
ance of a zener diode. ohms, it equals the small change in zener from 3.3V to 120V.
The dynamic imped-
ance characteristics of a
zener diode determine
as to how well the ze-
ner diode regulates its
own breakdown voltage.
Thus this circuit can be
used to compare the dy-
namic impedance char-
acteristics of zener di-
odes from a lot and seg-
regate/categorise them
accordingly.
For full-fledged ze-
ner diode testing you
will have to refer to the manufacturers voltage divided by the corresponding An advantage of using this high-volt-
datasheet to check zener diode parameters change in zener current (centered around age circuit is that the current gets re-
such as zener voltage, power, and cur- the test current figure prescribed in stricted to a low value. It delivers only 3
rent (maximum/nominal) ratings. In ad- datasheets by manufacturers). From mA (approx.) when testing zener diodes
dition, temperature coefficient and dy- datasheets it is observed that test cur- with higher breakdown values (e.g. 120V
namic impedance have also to be checked rent value is high for low-voltage zener zener diode), but while testing zener di-
if zener diode is to be used for critical diodes and low for higher-voltage zener odes of low breakdown values, such as
functions such as voltage reference for diodes. However, the dynamic impedance 3.3V, it delivers a current slightly above
value will be low for low-voltage zener 20 mA. Such power-supply characteris-
TABLE I
Minimum and Maximum Test Current diodes and vice versa for higher-voltage tics suit our requirement, as stated ear-
Values zener diodes. lier. Since a small current is used for test-
Zener diode values IT(min) IT(max) To test 3.3V to 120V zener diodes by ing of zener diodes, there is no danger of
3.3V to 4.3V 10mA 15mA the practical dynamic impedance method, zener diodes getting damaged during test-
4.7V to 18V 5mA 10mA you need to have a variable voltage (0 to ing using the dynamic impedance method.
20V to 39V 2mA 4mA Before using the circuit, check DC volt-
above 120V) and current (1 mA to 150
Note: Zener diode power ratings are 250 mW, mA) supply source. Designing this type of age across test terminals A and B without
400 mW, and 500 mW.
power supply is quite complicated and is connecting any zener diode and then flip
TABLE II prone to damage if excess current is toggle switch S2 to quick-test position. DC
Minimum and Maximum Test Current drawn accidentally. voltage available across terminals A and
Values The zener diode tester circuit pre- B will be around 200V DC. Now put toggle
Zener diode values IT(min) IT(max) sented here has been designed consider- switch to quality-test position. DC voltage
3.3V to 12V 10mA 15mA ing the above factors. It is capable of test- can now be adjusted from 6V DC to 200V
13V to 27V 5mA 10mA ing zener diodes of breakdown voltage rat- DC (approx.) with the help of potentiom-
30V to 43V 2mA 5mA ings of upto 120V and wattage ratings of eter VR1. After these preliminary checks,
47V to 75V 1.5mA 3mA
250 mW, 400 mW, 500 mW, and 1W. the circuit is ready for operation.
82V to 120V 1mA 2mA
The circuit can be deployed in quick- To test zener diode by quick-test
Note: Zener diode power rating is 1 watt.
test mode as also in quality-test mode of method, connect zener diode across termi-

ELECTRONICS FOR YOU  JUNE 2001


CIRCUIT IDEAS

nals A and B and flip switch S1 to on and B equal to the one found during quick Now adjust potentiometer VR2 and
position. Note down DC voltage in digital test method. Now keep potentiometer VR2 note down changes in zener voltage dur-
multimeter M2, which is the rough break- in mid position and connect zener diode ing ITmin and ITmax conditions. If the re-
down voltage. In quick-test method you across terminals A and B. quired current is not available, increase
can test zener diode values up to 47 volts (Note. Before testing zener diode, re- DC voltage by adjusting potentiometer
safely. For higher-value zener diodes you fer Table I and Table II for the minimum VR1 suitably. While changing test current
will have to increase the value of resistor test current (ITmin) and maximum test from ITmin to ITmax, the voltage variation
R3 suitably. If zener diode presents a short, current (ITmax) required for various ze- across zener diode should be less than 1
digital multimeter M2 will read 0 volts. ner diode values, depending upon their volt for lower-value zener diodes and a
To perform quality test on the same wattage rating.) few volts for higher-value zener diodes. A
zener diode, turn switch S1 off and re- Test current is adjusted using poten- voltage variation of more than this value
move zener diode from across terminals A tiometer VR2 and measured using meter indicates that zener diode is not properly
and B. Now turn switch S1 on and adjust M1 (A 0-25mA analogue milliampere regulating. When comparing zener diodes
potentiometer VR1 to obtain DC voltage meter or a 0-20mA digital multimeter can of same values, the zeners showing less
(on digital multimeter) across terminals A be used.) voltage deviation would regulate better.

ELECTRONICS FOR YOU  JUNE 2001


WATCH-DOG FOR TELEPHONES
M
ost of the telephone security an alarm in case of any misuse. In ad- cut off and the remaining circuit does
devices available in market dition it transmits a loud tone through not get any power supply. In this state,
are simple but quite expensive. the telephone lines to prevent further only a small (negligible) current is taken
These devices provide blinking or beeping misuse. by the circuit, which will not affect the
type line-tap/misuse indications. Quite When switch S1 is turned on, the telephone line condition. However, when
often they do not offer guaranteed pro- normal (on-hook) telephone line voltage handset of any telephone connected to
tection against unauthorised operation. at the output of bridge-rectifier diodes the telephone lines is lifted (off-hook),
A very simple and unique circuit of a D1 to D4 is approximately 48 volts, line voltage suddenly drops to about
telephone watch-dog to safeguard sub- which being well above the break-down 10 volts. As a result, transistor T2
scriber telephone lines against any fraud voltage of zener diode D5, the diode is switched off and transistor T1 gets
is described here. conducts. As a result transistor T2 gets forward biased via resistor R1. Now, the
This little circuit keeps continuous forward biased. This effectively grounds astable multivibrator built around timer
watch over the telephone lines and sounds the base of transistor T1 which is thus IC1 starts oscillating and the speaker
starts sounding. Output of
the astable multivibrator is
also connected to the base
of transistor T1 through ca-
pacitor C5. As a result, only
a loud (and irritating) tone
is heard in the ear-piece of
the unauthorised telephone
instrument.
This circuit can be con-
structed on a veroboard us-
ing easily available low-cost
components and it can be
connected to any telephone
line without the fear of mal-
functioning. No extra power
supply is required as it draws
power from the telephone line
for operation.
EFY Note: Please discon-
nect the gadget when you are
yourself using the telephone as
it cannot distinguish between
authorised and unauthorised
operation.

184 ELECTRONICS PROJECTS Vol. 19


Water Level
Indicator
With Alarm
Vijay D. Sathe

H
ere is a simple, versatile circuit
which indicates the level of
water in a tank. This circuit pro-
duces alarm when water level is below
the lowest level L1 and also when water
just touches the highest level L12. The
circuit is designed to display 12 differ-
ent levels. However, these display levels
can be increased or decreased depending
upon the level resolution required. This
can be done by increasing or decreasing
the number of level detector metal strips
(L1 through L12) and their associated
components.
In the circuit, diodes D1, D2 and D13
form half-wave rectifiers. The rectified
output is filtered using capacitors C1
through C3 respectively.
Initially, when water level is below
strip L1, the mains supply frequency
oscillations are not transferred to diode
D1. Thus its output is low and LED1 does
not glow. Also, since base voltage of tran-
sister T1 is low, it is in cut-off state and
its collector voltage is high, which enables
melody generating IC1 (UM66) and alarm
is sounded.
When water just touches level detector
strip L1, the supply frequency oscillations
are transferred to diode D1. It rectifies the
supply voltage and a positive DC voltage
develops across capacitor C1, which lights
up LED1. At the same time base voltage
for transistor T1 becomes high, which
makes it forward biased and its collector
voltage falls to near-ground potential.
This disables IC1 (UM66) and alarm is
inhibited.
Depending upon quantity of water
present in the tank, corresponding level
indicating LEDs glow. It thus displays
intermediate water levels in the tank in
bar-graph style.
When water in the tank just touches
the highest level detector strip L12, the
DC voltage is developed across capacitor
C2. This enables melody generating IC1
(UM66) and alarm is again sounded.

ELECTRONICS PROJECTS Vol. 20


Water-Level Controller
joydeep kumar chakraborty

I
n most houses, water is first stored
in an underground tank (UGT) and
from there it is pumped up to the
overhead tank (OHT) located on the roof.
People generally switch on the pump when
their taps go dry and switch off the pump
when the overhead tank starts overflow-
ing. This results in the unnecessary wast-
age and sometimes non-availability of
water in the case of emergency.
The simple circuit presented here
makes this system automatic, i.e. it
switches on the pump when the water
level in the overhead tank goes low and
switches it off as soon as the water level
reaches a pre-determined level. It also
prevents dry run of the pump in case the
level in the underground tank goes below
the suction level.
In the figure, the common probes con-
necting the underground tank and the
overhead tank to +9V supply are marked
C. The other probe in underground tank,
which is slightly above the dry run level,
is marked S. The low-level and high-level
probes in the overhead tank are marked
L and H, respectively.
When there is enough water in the biased and starts
underground tank, probes C and S are conducting. This, in
connected through water. As a result, turn, reverse biases
transistor T1 gets forward biased and transistor T6, which
starts conducting. This, in turn, switches then cuts off. But
transistor T2 on. Initially, when the since transistor T6
overhead tank is empty, transistors T3 is bypassed through
and T5 are in cut-off state and hence pnp the relay contacts,
transistors T4 and T6 get forward biased the pump continues
via resistors R5 and R6, respectively. to run. The level of
As all series-connected transistors water continues to
T2, T4, and T6 are forward biased, they rise.
conduct to energise relay RL1 (which is When the water
also connected in series with transistors level touches probe
T2, T4, and T6). Thus the supply to the H, transistor T3 gets
pump motor gets completed via the lower forward biased and
set of relay contacts (assuming that switch starts conducting.
S2 is on) and the pump starts filling the This causes reverse
overhead tank. biasing of transistor
Once the relay has energised, tran- T4 and it gets cut off.
sistor T6 is bypassed via the upper set As a result, the relay
of contacts of the relay. As soon as the de-energises and the
water level touches probe L in the over- pump stops. Transis-
head tank, transistor T5 gets forward tors T4 and T6 will

158 ELECTRONICS PROJECTS Vol. 22


be turned on again only when the water be used to switch on and switch off, respec- through the conduit. The wire for probes
level drops below the position of L probe. tively, the pump manually. L and H goes along with the conduit from
Presets VR1, VR2, and VR3 are to You can make and install probes on the outside and enters the conduit through
be adjusted in such a way that transis- your own as per the requirement and two small holes bored into it as shown
tors T1, T3, and T5 are turned on when facilities available. However, we are de- in Fig. 2.
the water level touches probe pairs C-S, scribing here how the probes were made Care has to be taken to ensure that
C-H, and C-L, respectively. Resistor R4 for this prototype. probes H and L do not touch wire C directly.
ensures that transistor T2 is off in the The author used a piece of non- Insulation of wires is to be removed from the
absence of any base voltage. Similarly, metallic conduit pipe (generally used for points shown. The same arrangement can be
resistors R5 and R6 ensure that transis- domestic wiring) slightly longer than the followed for the underground tank also. To
tors T4 and T6 are on in the absence of depth of the overhead tank. The common avoid any false triggering due to interfer-
any base voltage. Switches S1 and S2 can wire C goes up to the end of the pipe ence, a shielded wire may be used.

ELECTRONICS PROJECTS Vol. 22 159

You might also like