Electronics Projects v.20 151 180
Electronics Projects v.20 151 180
USING PC
PROBIR GOYAL
H
ere is a simple technique for ter are not used. When a wave is found, limit (UL) of frequency is given by
measuring frequencies over along with its time-period and frequency UL=19xN5 Hz. Thus for MOD 16 counters
quite a wide frequency range components, its measurement precision in UL≈20 MHz, and for MOD 10 counters
and with acceptable accuracy limits us- percentage is also calculated and dis- UL≈1.9 MHz. Care should be taken to
ing a PC. It follows the basic technique of played. Number of data taken in 54.9 ms ensure that this upper limit is within the
measuring low frequencies, i.e. at low is also displayed. operating frequency range of counter IC
frequency, period is measured for a com- As stated above, the lower starting used. Precision of measurement is a ma-
plete wave and frequency is calculated range is about 19 Hz. Data is read for chine-dependent parameter. High-speed
from the measured time-period. approximately 54.9 ms. Thus, the lowest machines will have better precision com-
Cascaded binary counters are used for possible frequency that can be measured pared to others. Basically, precision de-
converting the high-frequency signals into is 1/.0549 Hz. Lower frequency range de- pends directly upon the number of data
low-frequency signals. The parallel port pends only on the sampling time and is read in a standard time. Precision of mea-
of a computer is used for data input from practically fixed at 19 Hz (18.2 Hz, to be surement varies inversely as the value of
binary counters. This data is used for precise). Upper frequency range depends MOD counter used. Precision is high when
measuring time and calculating the on factors such as value of the MOD coun- MOD 10 counters are used in place of
frequency of the signal. ter used and the operating frequency MOD 16 counters, but this will restrict
The block diagram shows the basic range of the counter IC. If MOD-N coun- the upper limit of frequency measurement
connections of the counters and parallel ter is used (where N is an integer), upper and 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 sig-
nals 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 PC’s parallel
port is read and the data is stored con-
tinuously in an array for approximately
54.9 ms using a loop. This stored data is
then analysed bit-wise. Initially, the
higher-order bit (MSB or the seventh-
bit) of every array 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-
M
void interrupt new_clock (); if(st==3) /* calculate frequency of the wave */
static int t;
A
{mul=1; for(j=3;j<k;j++) mul=mul*MOD;count--;
void main() printf(“%d %f %d “,k,mul,count);
R
{ /* tick = Time for which LPT will be read */ tm=((count*div)/mul); fq=1/tm; pri=(100.0/count);
G
float div,mul,tick=54800.0; /* tick is in micro sec. */ gotoxy(20,7); printf(“Frequency = %0.3lf Kilo Hz “, fq*1000);
double fq,tm,pri; gotoxy(20,10); printf(“Time = %0.3lf micro sec “, tm);
O
char data[50000],c; gotoxy(15,23); printf(“Precision = %0.5lf percent of main
R
int count,ls,ps,k,j,N,st; frequency”,pri);
P
unsigned i; gotoxy(15,24); printf(“Samples taken in %0.2f ms = %d “, tick/
old_clock = getvect(0x08);///* capturing time vector */ 1000, i);
setvect(0x08,new_clock); /* assigning new time vector */ break;
do }
{ i=0; t=0; clrscr(); if(st<3 && k==3) /* no complete wave was present */
gotoxy(25,1); printf(“FREQUENCY MEASUREMENTS”); { gotoxy(24,7); printf(“Error in Reading ...!”); }
gotoxy(23,17); printf(“Press any key to Pause.....”); } } t=0; i=0;
while(!kbhit()) /* reading LPT between two time interrupts */ }
{ /* use “inp(LPT)” if using MS product */ getch(); gotoxy(13,21);
while(t<8) while(t>2 && t<4) {data[i] = inportb(LPT); i++; }} printf(“ Press E Esc for Exit any other key to continue”);
if(t==8) c=getch();
{ div=tick/i; }while (c!=27 && c !=’e’ && c!=’E’);
for(k=7;k>2;k—) /* analyzing each bit of read data */ setvect(0x08,old_clock); /* assigning original time interupt */
{ N=1; for(j=0;j<k;j++) N=N*2; }
st=0; count=0; void interrupt new_clock() /* new time interrupt service */
ps=(data[0] & N); ls=ps; { t++; (*old_clock)(); }
for(j=0;j<i;j++)
T
he given circuit, when connected its equivalent BCD number that corre- cuit which converts an input of ‘10102’
in parallel to a telephone, dis- sponds to the dialled number. This bi- into ‘00002’ without affecting the inputs
plays the number dialled from the nary number is stored sequentially in 10 ‘1’ through ‘9’. This is accomplished by
telephone set using the DTMF mode. This latches each time a number is dialled from gates N13 through N15 (IC11) and N1
circuit can also show the number dialled the phone. The first number is stored in (IC12).
from the phone of the calling party. This IC5A (1/2 of CD4508) while the second The storing of numbers in respective
is particularly helpful for receiving any number is stored in IC5B and so on. The latches is done by IC2 (4017). The data
number over the phone lines. binary output from IC1 for digit ‘0’ as valid output from pin 15 of IC1 is
The DTMF signal—generated by the decoded by IC1 is 10102 (=1010), and this used to clock IC2. The ten outputs of IC2
phone on dialling a number—is decoded cannot be displayed by the seven-segment are sequentially connected to the store
by DTMF decoder CM8870P1 (IC1), which decoder, IC10. Therefore the binary out- and clear inputs of all the latches,
converts the received DTMF signal into put of IC1 is passed through a logic-cir- except the last one, where the clear
Readers Comments: 2. The pin connections of DIS1 to DIS9 ❑ I have the following queries regarding
❑ I would like to have the following doubts are not mentioned properly. How should this circuit:
clarified: we connect them? 1. What is meant by DTMF mode?
1. What is the function of external Sunny Hercleas 2. Can the proposed circuit be used in
reset switch S2? How it is used? Hyderabad a telephone set that doesn’t have the
T
his circuit can control any one out counter acts as a master-controller for the IC1 (74LS193) is a presettable up/
of 16 devices with the help of two system. A visual indication in the form of down counter. IC2 and IC3 (74LS154) (1
push-to-on switches. An up/down LEDs is also available. of 16 decoder/demultiplexer) perform dif-
40-METRE DIRECT
CONVERSION RECEIVER
PRADEEP G.
U
sing the circuit of direct-conver- into the gate of first FET (T1) through control VR1. An audio output from the
sion receiver described here, one 10pF capacitor C16. The VFO is tuned to AF amplifier is connected to an 8-ohm, 1-
can listen to amateur radio QSO a frequency which differs from the watt speaker.
signals in CW as well as in SSB mode in incoming CW signal frequency by about 1 The receiver can be powered by a 12-
the 40-metre band. kHz to produce a beat frequency note in volt power-supply, capable of sourcing
The circuit makes use of three the audio range at the output around 250mA current. Audio-output
n-channel FETs (BFW10). The first of transformer X1, which is an audio stage can be substituted with a readymade
FET (T1) performs the function of ant./ driver transformer of the type used in L-plate audio output circuit used in
RF amplifier-cum-product detector, transistor radios. transistor amplifiers, if desired. The
while the second and third FETs (T2 and The audio output from transformer X1 necessary data regarding the coils used
T3) together form a VFO (variable fre- is connected to the input of audio amplifier in the circuit is given in the circuit
quency oscillator) whose output is injected built around IC1 (TBA820M) via volume diagram itself.
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 a cuits directly. This low-level voltage is adjust proper
crystal and trimmer capacitors, etc. How- amplified several times by op-amp IC 1Hz pulse at the
ever, similar or better accuracy can be CA3140. output terminal
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 at When using the COB, affix the same
on a general-pur-
pose PCB using rub-
ber based adhesive
and solder the ter-
minals 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
always find out the
appropriate points
corresponding to
Resistor R1, capacitor C3, diodes D1 the input when 1Hz clock signal of low points A, B, C and D. Figure of a second
and D2 shown in the circuit convert 5V level is connected across its input termi- COB used by EFY Lab is shown along-
DC into 1.4V DC. A ½Hz clock is avail- nals from the COB. Amplified 1Hz clock side. The points A and B (on the COB
able at terminals A and B with a phase pulse is available at its output pin 6, used by us) were observed to have
difference of 90o. The two outputs, are which is further amplified by transistors complementary 1Hz outputs and hence
combined using capacitors C1 and C2 to T1 and T2 to drive the digital clocks and anyone (only) could be used as input to
obtain a complete 1Hz clock. This 1Hz timers. opamp CA3140.
T
his jam circuit can be used in quiz as well as 8-input NAND gate 74LS30 of any other switch S1 through S8 has
contests wherein any participant (IC3). The output of IC3 thus becomes no effect. Thus, the contestant who
who presses his button (switch) logic 0 which, after inversion by NAND presses his switch first, jams the display
before the other contestants, gets the first gate N2, is applied to latch-enable pin 11 to show only his number. In the unlikely
chance to answer a question. The circuit of IC1. With all input pins of IC2 being event of simultaneous pressing (within
given here permits up to eight contestants logic 1, its BCD output is 0000, which few nano-seconds difference) of more than
with each one allotted a distinct number is applied to 7-segment decoder/driver one switch, the higher priority number
(1 to 8). The display will show the number 74LS47 (IC6) after inversion by hex in- (switch no.) will be displayed.
of the contestant pressing his button before verter gates inside 74LS04 (IC5). Thus, on Simultaneously, the logic 0 output of gate
the others. Simultaneously, a buzzer will reset the display shows 0. N1 drives the buzzer via pnp transistor
also sound. Both, the display as well as When any one of the push-to-on BC158 (T1). The buzzer as well the
the buzzer have to be reset manually using switches—S1 through S8—is pressed, the display can be reset (to show 0) by
a common reset switch. corresponding output line of IC1 is momentary pressing of reset switch S9
Initially, when reset switch S9 is mo- latched at logic 0 level and the display so that next round may start.
mentarily pressed and released, all out- indicates the number associated with the Lab Note: The original circuit sent
puts of 74LS373 (IC1) transparent latch specific pressed switch. At the same time, by the author has been modified as it did
go ‘high’ since all the input data lines are output pin 8 of IC3 becomes high, which not jam the display, and a higher number
returned to Vcc via resistors R1 through causes outputs of both gates N1 and N2 switch (higher priority), even when
R8. All eight outputs of IC1 are connected to go to logic 0 state. Logic 0 output of pressed later, was able to change the dis-
to inputs of priority encoder 74LS147 (IC2) gate N2 inhibits IC1, and thus pressing played number.
D
ew (condensed moisture) ad- can be procured from authorised service lar dual op-amp IC LM358N which is con-
versely affects the normal per- centres of reputed companies. The author figured here as a comparator. (Note that
formance of sensitive electronic used the dew sensor for FUNAI VCP only one half of the IC is used here.) Un-
devices. A low-cost circuit described here model No. V.I.P. 3000A (Part No: 6808- der normal conditions, resistance of the
can be used to switch off any gadget 08-04, reference no. 336) in his prototype. dew sensor is low (1 kilo-ohm or so) and
automatically in case of excessive In practice, it is observed that all dew thus the voltage at its non-inverting ter-
humidity. sensors available for video application minal (pin 3) is low compared to that at
At the heart of the circuit is an inex- possess the same electrical characteris- its inverting input (pin 2) terminal. The
pensive (resistor type) dew sensor ele- tics irrespective of their physical shape/ corresponding output of the comparator
ment. Although dew sensor elements are size, and hence are interchangeable and (at pin 1) is accordingly low and thus noth-
widely used in video cassette players and can be used in this project. ing happens in the circuit.
recorders, these may not be easily avail- The circuit is basically a switching When humidity exceeds 80 per cent,
able in local market. However, the same type circuit made with the help of a popu- 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
interfaced 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.
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
rapidly (in short steps) is the win-
ner. For scoring, one has the option
of pressing either switch S2 or S3.
H
ere is a handy gadget for test-
ing of infrared (IR) based re-
mote 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 re-
mote 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 Capacitor C1 smoothes DC input are effectively grounded and do not inter-
sensor module, output pin 2 of the sen- while capacitor C2 suppresses any spikes fere with the functioning of the circuit.
sor goes high and, as a result, transistor appearing in the input supply. The proposed layout of the box containing
T1 switches off and hence LED1 and Proper grounding of the metal case the circuit is shown in the figure. The 9-
buzzer BZ1 go off. This circuit requires will ensure that the electromagnetic emis- volt DC supply from the eliminator can
5V regulated power supply which can be sions which are produced by tube-lights be fed into the jack using a banana-type
obtained from 9V eliminator and con- and electronic ballasts etc (which lie plug.
nected to the circuit through a jack. within the bandwidth of receiver circuit)
T
he circuit is a MOSFET based output at slightly elevated minimum volt- will get triggered, pulling down the gate
linear voltage regulator with a age drop. Trimpot VR1 in the circuit is used voltage to ground, and thus limiting the
voltage drop of as low as 60 mV for fine adjustment of the output voltage. output current. The circuit will remain
at 1 ampere. Drop of a fewer millivolts is Combination of capacitor C5 and resistor latched in this state, and input voltage
possible with better MOSFETs having R2 provides er-
lower RDS(on) resistance. ror-amplifier
The circuit in Fig. 1 uses 15V-0-15V compensation.
secondary output from a step-down trans- The circuit is
former and employs an n-channel provided with a
MOSFET IRF540 to get the regulated 12V short-circuit
output from DC input, which could be as crow-bar protec-
low as 12.06V. The gate drive voltage re- tion to guard the
quired for the MOSFET is generated us- components
ing a voltage doubler circuit consisting of against over-
diodes D1 and D2 and capacitors C1 and stress during ac-
C4. To turn the MOSFET fully on, the cidental short at
gate terminal should be around 10V above the output. This
the source terminal which is connected to crow-bar protec- Fig. 2
the output here. The voltage doubler feeds tion will work as
this voltage to the gate through resistor follows: Under normal working conditions, has to be switched off to reset the circuit.
R1. Adjustable shunt regulator TL431 the voltage across capacitor C3 will be The circuit shown in Fig. 2 follows a
(IC2) is used here as an error amplifier, 6.3V and diode D5 will be in the off state similar scheme. It can be utilised when
and it dynamically adjusts the gate volt- since it will be reverse-biased with the the regulator has to work from a DC rail
age to maintain the regulation at the out- output voltage of 12V. However, during in place of 15V-0-15V AC supply. The gate
put. output short-circuit condition, the output voltage here is generated using an LM555
With adequate heatsink for the will momentarily drop, causing D5 to con- charge pump circuit as follows:
MOSFET, the circuit can provide up to 3A duct and the opto-triac MOC3011 (IC1) When 555 output is low, capacitor C2
will get charged through di-
ode D1 to the input voltage.
In the next half cycle, when
the 555 output goes high, ca-
pacitor C3 will get charged to
almost double the input volt-
age. 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 ini-
tial design or even in existing
circuits. This will keep the out-
put regulated with relatively
low input voltage compared to
the conventional regulators.
The minimum voltage
drop can be further reduced
using low RDS(on) MOSFETs or
Fig. 1 by paralleling them.
H
ere is an interesting circuit for
a magnetic proximity switch
which can be used in various
applications.
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 re-
lay (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 prod-
ucts. The reed switch or relay to be used a consequence its output at pin 3 used. Note that the flip-flop is wired in
with this circuit should be the ‘normally goes high for a short duration and toggle mode with data input (pin 5) con-
open’ type. supplies clock to the clock input nected to the Q (pin 2) output. On receipt
When a magnet is brought/placed (pin 3) of IC2 (CD4013—dual D-type of clock pulse, the Q output at pin 1
in the vicinity of the sensor element flip-flop). LED D2 is used as a response changes from low to high state and due to
for a moment, the contacts of the indicator. this the relay driver transistor T1 gets
reed switch close to trigger timer This CMOS IC2 consists of two inde- forward-biased. As a result the relay RL1
IC1 wired in monostable mode. As pendent flip-flops though here only one is is energised.
SIMPLE LOW-COST
DIGITAL CODE LOCK
A. JEYABAL
M
any digital code lock circuits lock circuit is presented in this article. 2. Elimination of power amplifier tran-
have been published in this Here the keying-in code is rather unique. sistor to energise the relay.
magazine. In those circuits a Six switches are to be pressed to open 3. Low cost and small PCB size.
set of switches (conforming to code) are the lock, but only two switches at a time. An essential property of this electronic
pressed one by one within the specified Thus a total of three sets of switches code lock is that it works in monostable
time to open the lock. In some other cir- have to be pressed in a particular se- mode, i.e. once triggered, the output
cuits, custom-built ICs are used and posi- quence. (Of these three sets, one set is becomes high and remains so for a period
tive and negative logic pulses are keyed repeated.) The salient features of this of time, governed by the timing
in sequence as per the code by two circuit are: components, before returing to the quies-
switches to open the lock. 1. Use of 16 switches, which suggests cent low state. In this circuit, timer IC
A very simple low-cost digital code that there is a microprocessor inside. 555 with 8 pins is used. The IC is inex-
T
his circuit generates a musical through a player’s hand will vary as the the sensor.
tone whose pitch varies as the hand’s distance varies from the sensor. The output of hand proximity detec-
distance of the hand from the sen- The sensor plate is connected to an tor is fed to IC2(a) which forms a voltage
sor varies. It consists of two stages: unstable op-amp IC1(a) (1/2 µA747) which controlled oscillator. The output of oscil-
1. Hand proximity detector oscillates at varying frequency in the lator at pin 12 of IC2 is a triangular
2. Oscillator and output stage neighbourhood of 20 kHz. This frequency wave whose frequency lies in the audio
The detector portion consists of a sen- lies in the slew rate limited range. Thus range. This output is fed into power stage
sor plate (10cm x 10cm) which can be output at pin 12 of IC1 is a triangular realised from µA741 (IC3) acting as a
made from an aluminium sheet, or we wave whose peak varies with frequency. voltage amplifier followed by a power
may use a circular loop (10cm in diam- This is followed by a peak detector wired stage which uses TIP 122 (npn) and
eter) made from an insulated copper or around IC1(b).The net output of proxim- TIP127(pnp) power Darlingtons connected
aluminium wire. The capacitance between ity detector is a voltage whose magnitude in class AB complementary push-pull con-
the sensor plate (or loop) and ground depends upon distance of hand from figuration. Their output is fed into an 8-
M
usical and voice-generating has three terminals. One lead is con- Remote control receiver module
electronic calling bells are very nected to a compact 9V PP3 battery and VG40R is connected in input side of the
popular nowadays. These call- the other is connected to negative termi- musical bell as shown in the figure.
ing bells use a pair of wires between the nal of the battery. Central terminal is Dimensions of receiver module are
switch and bell circuit. The circuit idea connected to trigger switch as shown in 4.5cm x 2.1cm x 1.3cm. This module is
described here is for a remote wireless the diagram. The transmitter’s standby also sealed and has three external
calling bell which can work up to a dis- current is only 5 microamperes. Thus a terminals. One terminal is positive and
tance of about 15 metres. 9V PP3 battery would have a long life the other is negative across which a 3V
For wireless operation, a pair of sealed when used in this circuit. When micro battery is connected. The third terminal,
VHF remote control transmitter and switch S1 is pressed, a modulated signal the trigger terminal, is connected to
receiver modules have been employed. is transmitted which has a reception input of musical circuit as shown in the
Transmitter module VG40T is com- range of about 15 metres (50 feet) from diagram. Standby current drawn by
pact, measuring 3.4cm x 2.9cm x 1cm. It the transmitter module. the receiver module is about 300 micro-
amperes.
No PCB is required for the
transmitter because transmit-
ter module does not need any
external component. Transmit-
ter generates VHF signals of
about 300 MHz frequency. PCB
of musical section is freely
available from the components
vendors at a low cost. Modules
can be connected to the circuit
with a short length of flexible
Fig. 1: Transmitter Fig. 2: Receiver wire.
Connect a 9V PP3 battery
SIMPLE TELEPHONE
PRIVACY CIRCUIT
RAJ K. GORKHALI
W
hen several telephone exten- ceasing conduction
sions use one telephone line when current is too low
pair, it becomes possible for an- to sustain it.
other extension user to overhear your con- Diacs permit the
versation. This very simple circuit arrange- ringing tone to pass,
ment prevents that possibility, cutting off since they conduct
all extensions except the one in use, with both ways as long as
no discernible effect on performance. peak voltage exceeds
As the diagram shows, each handset their break-over volt-
is connected via a diac. The telephone line age of ± 25V to 35V.
voltage is around 48V DC when all If an extension then
handsets are on hook and it drops to 6V to lifts its handset, breakdown occurs at to 10V.
10V DC when any one of the handsets is that diac and the extension is operative If two handsets are lifted simulta-
lifted. Diacs start to conduct when the since the diac is conducting with 6V now neously, the one with the diac of lower
applied voltage is above their breakover across it and with a current of around 20 breakover voltage will be activated. Thus
voltage of ± 25 to 35V DC and continue to mA through the handset. The other diacs at one time only one of the several exten-
conduct when voltage drops to a low level, cannot break over at this voltage of 6V sions become operative.
T
here are a number of codes in use code or vice versa using EXCLUSIVE OR and S1(b) are in position 1, the circuit
in digital systems. One such code (XOR) gates. Only the modes of connec- works as a binary-to-Gray code converter.
is the Gray code. A number in tion of the XOR gates differ. This is illus- In position 2 of these switches, it func-
natural binary can be converted to Gray trated in Fig. 1(a). When switches S1(a) tions as a Gray-to-binary code converter.
I
n a quiz show, a contestant who press their buttons. The present circuit data lines of RAM against the current
presses his button before any other can be used for a maximum of four con- address (on its address lines A0 through
contestant gets the top priority for testants. A3). A sixth 74LS121 (IC10) is used for
answering the quiz. Similarly, the prior- The answer button allocated to each viewing/checking the contestants’ prior-
ity of the other contestants is decided by contestant is used in conjunction with a ity for answering the quiz and also for
the order in which each one presses his/ non-retriggerable monostable flip-flop clearing contents of the selected RAM lo-
her answer button. 74LS121. These mono flip-flop ICs (IC5 cation by writing 0000 against it.
In this circuit, the main role is played through IC8) function with switches S1 For understanding the circuit opera-
by IC3 (74LS89) which is a 64-bit RAM through S4 respectively. IC4, which is tion, assume that switch S7 is in normal
organised as 4-bit x 16-word array. It is again a 74LS121 flip-flop, is used for gen- position, switch S8 is open and counter
used for storing the sequence in which erating a write pulse (active low) for writ- IC2 (74LS93) is reset (with the help of
the contestants, during a quiz contest, ing the status (Q output logic level) on switch S6) so that all of its output pins
DUAL-CHANNEL DIGITAL
VOLUME CONTROL
SHEENA K.
T
his circuit could be used for re- S1 and S2. To vary the pulse width of two quad bi-polar analogue switches in
placing your manual volume con- pulses from IC1, one may replace timing each of the two CD4066 ICs (IC3 and
trol in a stereo amplifier. In this resistor R1 with a variable resistor. IC4). Each of the output bits, when high,
circuit, push-to-on switch S1 controls the Operation of switch S1 (up) causes the short a part of the resistor network com-
forward (volume increase) operation of binary output to increment while opera- prising series resistors R6 through R9
both channels while a similar switch S2 tion of S2 (down) causes the binary output for one channel and R10 through R13
controls reverse (volume decrease) opera- to decrement. The maximum count being for the other channel, and thereby con-
tion of both channels. 15 (all outputs logic 1) and minimum trol the output of the audio signals be-
Here IC1 timer 555 is configured as count being 0 (all outputs logic 0), it re- ing fed to the inputs of stereo amplifier.
an astable flip-flop to provide low-fre- sults in maximum and minimum volume Push-to-on switch S3 is used for reset-
quency pulses to up/down clock input respectively. ting the output of counter to 0000, and
pins of pre-setable up/down counter The active high outputs A, B, C and thereby turning the volume of both chan-
74LS193 (IC2) via push-to-on switches D of the counter are used for controlling nels to the minimum level.
N
owadays, usage of overhead tank latched by resistor R1 and transistor T1
(OHT) with an electrically oper- is biased to cut-off state, and hence both
ated water pump is a common relay RL1 and motor M are in off state.
sight. The pump, being a costly item, When we push switch S1 momentarily,
should be protected against damage due the input of inverter gate N1 becomes high
to high and low voltages. People find it and output of gate N2 also becomes high.
very inconvenient to switch off the pump As a result, transistor T1 turns on and both
even when their OHT starts overflowing, relay RL1 and motor are activated (pro-
specially when they are busy or it is rain- vided transistors T2 and T3 are forward
ing. This circuit provides a solution for all biased). When water level in OHT
such problems. The main features of this touches the sensors, input of N1 become
circuit are: low, which turns relay RL1 off and the
1. Low and high voltage cut-off motor stops. The motor can be turned off
2. Automatic switching off of motor manually also by pushing switch S2 at
when overhead tank is full any time. Transistors T2 and T3 are both
3. Use of convenient push-to-on but- forward biased if the line voltage is
tons for switching on and switching off of within certain low and high voltage limits, a pre-determined value, output of gate
motor. as explained below. N4 becomes high, which turns off
The heart of the circuit is IC CD4011, When the voltage level rises above a transistor T3 and relay RL1. Thus when
which has four inverter gates. When the pre-determined value, input to gate N3 the mains AC voltage (or the DC voltage
circuit gets 12V power supply, capacitor becomes high and its output become low, sample derived from mains) is above or
C1 pulls input of N1 low, and this causes which turns off transistor T2 and also the below certain limits, which could damage
the output of N2 to go low. This state is relay. When the voltage level drops below the pump motor, the supply to the motor
is cut-off.
D2 provides a constant DC voltage
to IC1.
For setting the low voltage cut-off,
adjust potmeter VR2 in such a way that
when supply voltage goes below 190V,
output of N4 goes high. Similarly, for
setting the high voltage cut-off, adjust
potmeter VR1 in such a way that when
supply voltage goes above 250V, output
of N3 goes low. The high and low cut-off
voltages can be changed according to
the requirement for a given motor.
Two wires are needed to connect the
circuit to the sensors which are fitted
in the OHT. Sensors must be fitted as
shown in figure. A simple power supply
circuit is also shown here. The circuit
can be assembled on a general-purpose
PCB and housed in an eliminator case
which is easily available in the market.
Use good-quality insulated wire to con-
nect sensor to the circuit.
T
he circuits previously published, lished in various circuit ideas and also voltage through diode D6 and resistor R6.
and also those which are used in incorporated in the devices available in When the supply fails, capacitor C2
majority of voltage stabilisers sold the market. discharges through resistors R7 and R8
in the market, either use too many com- This circuit is most economical as and the base-emitter junction of transis-
ponents to perform what is after all a both the above-mentioned functions tor T3. If the supply is resumed after the
simple task, or perform this task badly, are implemented using only three tran- set time delay, capacitor C2 will be com-
or both. Some elaborate designs use 555 sistors, and needs only a single contact pletely discharged and transistor T3 would
timers and comparator ICs but the delay (N/O type) relay. Since the operating remain cut-off.
is present at the start of each power-up. forces are not shared amongst multiple If the supply resumes before capacitor
Other circuits implement the time contacts, the relay with a single C2 has been completely discharged,
delay correctly as the minimum time contact is sturdier than multiple contact transistor T3 turns on and clamps
between power off and power on. types. The time delay is entirely electronic, the base of transistor T2, preventing
That is, time delay is not executed if does not use relay contacts for switching it from turning on. The emitter current
the power failure lasts longer than and comes into operation only when of transistor T3 (about 200 microamperes)
the set time delay. But then, this type needed. is insufficient to actuate the relay.
of time delay uses relay contacts for When relay RL1 operates, its contacts When, after the required delay, transistor
switching the timing capacitor around - connect the supply voltage to the com- T3 turns off, the base of transistor
but the relay contacts designed pressor in the refrigerator. At the same T2 rises to the fraction of the supply
for high current do not switch time, capacitor C2 charges to the supply voltage set by preset VR1. If this voltage is
low voltages very
well. And slight
misalignment or
wear and tear of the
contacts is reflected
in erratic timing.
The circuit
presented here uses
the principle of
charging a capacitor
during the ‘on’ time
and discharging it
through a resistor
during the ‘off’ time.
This is implemented
electronically, avoid-
ing relay contacts.
Consequently, the
relay can be a simple
‘normally off’ type.
The rest of the circuit,
including the voltage
sensing part, is the
same as that pub-
INFRARED CORDLESS
HEADPHONE
PRADEEP G.
U
sing this low-cost project one can sistor amplifier to drive two series-con- LED1 in transmitter circuit functions as
reproduce audio from TV with- nected IR LEDs. An audio output a zener diode (0.65V) as well as supply-
out disturbing others. It does not transformer is used (in reverse) to couple on indicator.
use any wire connection between TV and audio output from TV to the IR transmit- IR receiver uses 3-stage transistor
headphones. In place of a pair of wires, it ter. Transistors T1 and T2 amplify amplifier. The first two transistors (T4
uses invisible infrared light to transmit the audio signals received from TV and T5) form audio signal amplifier while
audio signals from TV to headphones. through the audio transformer. Low- the third transistor T6 is used to drive a
Without using any lens, a range of up to impedance output windings (lower gauge headphone. Adjust potmeter VR2 for max.
6 metres is possible. Range can be ex- or thicker wires) are used for connection clarity.
tended by using lenses and reflectors with to TV side while high-impedance wind- Direct photo-transistor towards IR
IR sensors comprising transmitter and ings are connected to IR transmitter. LEDs of transmitter for max. range. A 9-
receiver. This IR transmitter can be powered from volt battery can be used with receiver for
IR transmitter uses two-stage tran- a 9-volt mains adapter or battery. Red portable operation.
S
tabilisers incorporating auto cut- 1. One relay with single changeover relay at serial No. 1.
off arrangement are manufac- contacts To operate the stabiliser, it is to be
tured by most of the reputed 2. One relay with two changeover con- plugged into a mains wall socket and
manufacturers using different methods. tacts the following sequence of operations is
The stabiliser circuit presented here 3. One start push-button, a DPDT to be performed:
makes use of the following major compo- changeover switch and a rotary switch Start push-button is momentarily
nents to provide the auto cut-off facility: 4. One bridge rectifier to energise the pressed so that the neutral line connec-
SIMPLE ANALOGUE-TO-
DIGITAL CONVERTER
B.P. LADGAONKAR
N
ormally analogue-to-digital con- here is configured around ADC 0808, (digitisation). This EOC output is coupled
verter (ADC) needs interfacing avoiding the use of a microprocessor. The to SC input, where falling edge of EOC
through a microprocessor to con- ADC 0808 is an 8-bit A-to-D converter, output acts as SC input to direct the ADC
vert analogue data into digital format. This having data output lines D0-D7. It works to start the next conversion.
requires additional hardware and neces- on the principle of successive approxima- As the conversion starts, EOC signal
sary software, resulting in increased com- tion. It has a total of eight analogue input goes high. At next clock pulse EOC out-
plexity and hence the total cost. channels, out of which any one can be se- put again goes low, and hence SC is en-
The circuit of A-to-D converter shown lected using address lines A, B and C. abled to start the next conversion. Thus,
Here, in this case, input chan- it provides continuous 8-bit digital output
nel IN0 is selected by ground- corresponding to instantaneous value of
ing A, B and C address lines. analogue input. The maximum level of
Usually the control signals analogue input voltage should be appro-
EOC (end of conversion), SC priately scaled down below positive refer-
(start conversion), ALE (ad- ence (+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
However, the circuit shown multivibrator constructed using 7404 in-
here is built to operate in its verter gates. In order to visualise the
continuous mode without using digital output, the row of eight LEDs
any microprocessor. Therefore (LED1 through LED8) have been used,
the input control signals wherein each LED is connected to respec-
ALE and OE, being active-high, tive data output lines D0 through D7.
are tied to Vcc (+5 volts). The Since ADC works in the continuous mode,
input control signal SC, being it displays digital output as soon as ana-
active-low, initiates start of logue input is applied. The decimal
conversion at falling edge of the equivalent digital output value D for a
pulse, whereas the output given analogue input voltage Vin can
signal EOC becomes high after be calculated from the relationship
completion of conversion
H
ere is a sleep-switch circuit that nary output as it counts up the input sistor T1 (normally conducting) when set
can be easily converted into a pulses and IC5 decodes/converts them to time is reached. When transistor T1 cuts
wake-up timer. A dual-mode time 1-of-10 outputs (units). Similarly, the IC6- off, its collector goes high to reset oscilla-
setting makes the system versatile. The IC7 pair provides tens output since IC6 tor IC1, and thus count at output of IC4
circuit is low-cost and can function as a clock input pin is connected to D output and IC6 gets locked. For resetting or
precise timer. pin of IC4. restarting, the power supply to the circuit
The heartbeat produced by IC1 is a Rotary switches S2 and S3 can be set should be switched off and then switched
sharp 1Hz square wave signal having a to select any time between either 0 to 99 on again.
duty cycle of 50 per cent. This is achieved seconds or 0 to 99 minutes, depending The BCD outputs of IC4 and IC6 are
by using a 4.194304MHz crystal in combi- upon the position of mode switch S1. converted to seven-segment outputs by
nation with discrete components around Switches S2 and S3 could also be replaced IC9 and IC10 to drive the units and tens
it. The 1Hz output of IC1 is connected to by thumb-wheel type switches or 10-posi- displays respectively for indicating
IC2 as well as one of the terminals of tion DIP switches with one of their side elapsed time continuously. The relay con-
switch S1. IC2 is configured as divide-by-6 terminals shorted together to serve as a tacts (normally open and normally closed)
counter while IC3 further divides the pole. Please note that IC5 and IC7 (74145) can be suitably used to energise or de-
output of IC2 by ten to produce one-minute have active low outputs. energise an alarm after the preset delay.
output at its pin 12. This is brought to the The outputs from switches S2 and S3 It can thus be used as wake-up alarm or
second terminal of two-way switch S1 to are input to a two-input OR gate inside sleep timer.
help select either the ‘minutes’ or the ‘sec- IC8 (7432) to obtain active low output on If you want to de-energise the relay,
onds’ mode of operation for IC4. completion of the set time delay to deacti- say after 30 minutes, then set switch S1
The decade counter IC4 provides bi- vate relay RL1 through relay driver tran- to minutes mode, S2 to 0 and S3 to 3, and
A
battery is a vital element of any 15 to 20 per cent. sophisticated method.
battery-backed system. In many It is therefore necessary for all con- Input from the battery under test is
cases the battery is more expen- cerned to monitor the charge level of their applied to LM3914 IC. This applied volt-
sive than the system it is backing up. batteries continuously. But, in practice, age is ranked anywhere between 0 and 10,
Hence we need to adopt all practical mea- many of the battery users are unable to depending upon its magnitude. The lower
sures to conserve battery life. do so because of non-availability of rea- reference voltage of 10.1V is ranked ‘0’ and
As per manufacturer’s data sheets, a sonably-priced monitoring equipment. The the upper voltage of 13.8V is ranked as
12V rechargeable lead-acid battery should circuit idea presented here will fill this ‘10.’ (Outputs 9 and 10 are logically ORed
be operated within 10.1V and 13.8V. When void by providing a circuit for monitoring in this circuit.) The calibration procedure
the battery charges higher than 13.8V it the charge level of lead-acid batteries con- of reference voltages is explained later.
is said to be overcharged, and when it tinuously. The circuit possesses two vital IC 74LS147 is a decimal-to-BCD pri-
discharges below 10.1V it can be deeply features: ority encoder which converts the output
discharged. A single event of overcharge • First, it reduces the requirement of of LM3914 into its BCD complement. The
or deep discharge can bring down the human attention by about 85 per cent. true BCD is obtained by using the hex
charge-holding capacity of a battery by • Second, it is a highly accurate and inverters inside IC 74LS04. This BCD
WINDOW/FENCE CHARGER
T.K. HAREENDRAN
C
ircuit of a compact electrified win-
dow/fence charger is presented
here. The circuit is intended to
produce non-lethal mild shock to keep
away intruders.
It comprises transistors T1 and T2
which form an astable (free-running)
multivibrator with the associated resis-
tors and capacitors. The pulse repetition
rate is determined by the values of RC
time constant. With the component val-
ues used, it is about 6 Hz. The pulse
spacing can be increased by increasing
the values of resistors R3 and R4.
A high voltage generator is realised
with the help of an ordinary step-down
transformer and a medium-power tran- the pulse activity. and its output triggers switching
sistor which follows the astable When power is initially applied, ca- transistor T3. As a result, capacitor C3
multivibrator. Output of the astable pacitor C3 is charged through resistor is rapidly discharged via secondary wind-
multivibrator, from the collector of tran- R6. This RC network is used deliber- ing of transformer X1. Consequently, a
sistor T2, is directly connected to the base ately to limit the maximum output power high voltage is induced in the primary of
of switching transistor T3 to generate applied to the fence/window frame. At X1. At next pulse, the process repeats
high-amplitude pulses. LED D1 indicates the same time, oscillator starts working itself.
Readers Comments:
❑ The multivibrator stage comprising T3. Kindly suggest the required modifica- conduction of transistor T3 measures 0.8
transistors T1 and T2 works well, but when tions. volt (correct) and the circuit gave 150V
I connect the base of switching transistor J.T. Joglekar (peak) pulses at around 150ms intervals.
T3 (D313) to the collector of transistor T2, Nagpur On reducing the value of resistor R5 from
the collector voltage drops to 0.4 volt and EFY: We’ve retested the circuit and 4.7k to 1k, the pulse amplitude increased
and hence it is unable to drive transistor found that the collector voltage during to 250V (peak).
N
ormally the base of a cordless unit through diode D3. A green LED and the cost of the backup unit, includ-
phone has an adaptor and the is used to indicate the presence of AC ing the box and cells, would not exceed
handset has Ni-Cd cells for its mains. Rs 300. Hence the circuit is well worth
operation. The base unit becomes inop- Each Ni-Cd cell costs around Rs 34, the investment.
erative in case of power fail-
ure. Under such conditions, it
is better to provide a backup
using Ni-Cd cells externally.
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-
biased, 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
Readers Comments: From where can I get the cabinet to To improve the Ni-Cd cells’ life, they
❑ The Cordless Phone Backup circuit has house the circuit and the cells? should be charged and used. Charged
no protection circuitry to avoid overcharg- Abhay K. Changedia cells should not be stored for long
ing of cells. Can an LED be added to Pune periods (even three days). To keep the
indicate supply availability from the The author, P.V. Vinod Kumar, cells in good condition, they must be dis-
backup during a power failure? Please give replies: charged—once a month—by shorting
the details of LM317. Can I use this circuit I have designed the circuit for a cord- them with the parallel combination of
for a cordless phone which runs on 9V, less phone that runs on a 12V adaptor. To two 4.7-ohm, 10W resistors. This should
800mA? use my circuit with Sanyo CLT-6700, you be done periodically to erase the memory-
Tribikram Kar will need a new 12V adaptor. effect of Ni-Cd cells.
56 APO Inside the base unit of Sanyo CLT You can buy a plastic box from any
❑ My cordless, Sanyo CLT-6700, has a 420 cordless phone there is a 7805 regu- plastic shop to use it as a cabinet. It is
9V-250mA adapter. Please suggest a modi- lator. Hence, giving anything above 8V is better to make a battery pack rather
fication to this circuit so that I can use it sufficient for the base unit to operate. One than using cell holdres. To make one,
with my cordless phone. may use either a 12V adaptor or 8.4V Ni- solder and interconnect cells together to
The number of cells required, as Cd cells or 6AA cells. make the pack compact. Fold the cells
shown is 1.2V×7 (=8.4V) for a 12V adap- Keeping the simplicity and the cost of on a thick paper and tape them. Take
tor. Please explain how will it work with the circuit in mind. I have compromised out two leads for positive and negative
8.4V? on the cell-protection feature. connections.
T
he dice has been used to deter- a good idea to use a buffer to prevent is taken from a look-up table. This acts as
mine one’s fortune from the ear- accidental damage to the PC. the translator between random number
liest days of civilisation. It has Arrange the seven LEDs on a vero- generator and display.
been used by gamblers, fortune tellers and board, or other suitable mounting plate If necessary, similar display unit can
statisticians alike. Dice made of wood, sil- exactly as per pattern shown in the fig- be connected to the second parallel port
ver, ivory, etc can be seen in many museums. ure. Connect the circuit to parallel port of the computer to simulate throwing of
A hi-tech die can be built around a designated LPT1 on the computer. If port two dice simultaneously. The modification
computer using a handful of LEDs and LPT2 is to be used, a minor modification necessary to the program is quite simple,
an IC, as shown in the figure. is necessary in the software. Just change and is left as an exercise for the reader.
Seven LEDs are arranged in the shape the line Good luck!
of the dots on a die. While a real die is a “#define PORT 0X378” to
“#define PORT 0X278” and the rest /* TEST.C */
#include <dos.h>
remains as it is. #include <stdio.h>
There is a small test program TEST.C #include <conio.h>
written using Borland C to test the inter- #include <stdlib.h>
#define PORT 0X378
face. Switch on 5V power supply and run main ()
the test program. Every time you press a {
key, LEDs 1 through 7 light up one by int i;
for (i=1; i < 0X7F; i *=2)
one, in the same order. This order is im- {
cube having six faces, this electronic die portant—otherwise the circuit will work printf (“Press any key…\n”)’
outportb (PORT, ~i);
has a single face, on which the dot pattern but the dot pattern on the die will not be getch ();
would change dynamically. consistent. Recheck the connections if }
These LEDs are activated using the these appear out of order. outportb (PORT, 0XFF);
}
parallel port of a PC. The interface circuit Now we are ready to test our fortune.
necessary for this is given in the figure. It Run the program DICE.C and press any /* DICE.C */
comprises seven LEDs connected to buffer/ key. With every key-stroke your die will #include <dos.h>
#include <stdio.h>
driver IC 74245 through current-limiting appear to roll. Finally, when it settles #include <conio.h>
resistors. down, it displays a random digit, between #include <stdlib.h>
#define PORT 0X378
The buffer helps to protect the com- one and six. Press ESC to terminate the #define ESC 0X1B
puter circuitry in case something goes program. int code[6] = {0XBF, 0XF3, 0X9E, 0XD2, 0X92,
wrong with this circuit. Whenever a home- The program makes use of the ran- 0XC0};
void run();
made gadget is connected to the PC, it is dom () function of the compiler to gener- main()
ate the pseudo random number. The com- {
int number;
puter, using some fixed algorithm, gen- printf (“press any key to throw the die. ESC to
erates this number. In this sense it is not exit…\n”);
strictly ‘random,’ since a true random randomize (); /* initialize the generator */
while (getch() !=ESC)
number is completely unpredictable, and {
cannot be generated by any mathemati- number = random(6);
cal formula! That is why it is called a printf (“%4d”,number+1);
run ();
pseudo random number. But do not worry, outportb (PORT, code [number]);
this level of randomness is sufficient for }
all day-to-day needs. outportb (PORT, 0XFF); /* all off */
}
To make it even more random, we have /*———————————————————*/
used the randomise () function. This takes void run ()
{
a clue from the real-time clock of the com- /* create running LEDs effect */
puter to initialise or ‘seed’ the random int i;
number generator. So we are assured that for (i=1; i < 0X7F; i *=2)
{
each time the program is started, we get a outporb (PORT, ~i);
different sequence of digits. delay (200);
Note how the bit pattern necessary to }
}
light the different combinations of LEDs /*———————————————————*/
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 opera-
tion 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
demultiplexed by IC2 as output O10
(at pin 11) of IC2 (74154). The ac-
tive low output of IC2, after inver-
sion 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 in-
dicates to the caller that appliance
mode has been selected. The 220-
ohm loop on telephone line discon-
nects the ringer from the telephone
line in the exchange. The line is
Readers Comments: for inverters and flip-flops are easily avail- the other may be used to send a beep
❏ 1. Can we get some confirmation that able, I suggest their use. tone on the line when the appliance turns
the state of the appliance has really 5. Instead of using separate driving on.
toggled? stages for the relays, I suggest the use of 2. Readers are welcome to make their
2. Can we include some electronic cheaply available relay driving IC ULN own modifications to the circuit—like in-
security system (such as code lock), 2003. cluding code lock.
so that only the owner can use this K.P. Deshmukh 3. IC UM66 may be used in place of
facility? Solapur the 10kHz oscillator.
3. Instead of the 10 kHz oscillator used The author R. G. Kale replies: 4 & 5. I agree with the suggestions
for return tone, can the three-pin melodi- 1. Relays with two changeovers may put forward by the reader.
ous IC UM66 be used? be used for getting a confirmation about Keep the circuit disconnected while
4. In the circuit both TTL and CMOS the state of the appliance. One changeover making outgoing calls to prevent un-
ICs have been used. As TTL counterparts contact may be used for the appliance and wanted switching of the devices.
S
ometimes, while dialing a num- of the ribbon cable. Thereafter, connect it the telephone circuitry so that it does not
ber on the telephone, we may back to the telephone circuitry as shown affect the working of the calculator—since
press a wrong key, but by using in Fig. 1. The resistors are used to buffer
a simple calcu-
lator’s display
we can check
whether the di-
aled number is
correct or not.
This can be done
as follows.
Disconnect
the ribbon cable
of the key-pad
from rest of the
telephone cir-
cuitry and insert
a series resis-
tance of 27 kilo-
ohm in all ten
(nine in some
key-pads) wires Fig. 1 Fig. 2
8253 PROGRAMMABLE
INTERVAL TIMER
JUNOMON ABRAHAM
T
he circuit presented here is based counter IC 8253. IC 8253 was primarily It contains three independent 16-bit
on the commercially available designed for use as an MCS-80 periph- counters that can operate in any one of
programmable interval timer/ eral, but is now used in conjunction with the six modes (refer Table II(C)). It can