10 - Mini Projects
10 - Mini Projects
This circuit is built around CMOS IC CD4011 and popular melody generator IC UM66. When
touch plates are bridged by hand for a moment, the circuit starts to generate music. After
a few seconds the music automatically stops. Maximum supply voltage for this circuit is 5
volts only because of IC UM66. This IC cannot operate beyond this voltage. IC 7805
regulator based power supply can be used to power this circuit. Time delay can be
changed by changing values of capacitor C1 and resistor R2. Two silicon diodes connected
in series between pin 2 of UM66 IC and positive 5-volt rail keep voltage applied to pin 2 of
UM66 below 3.8 volts because of the drop of approximately 1.2 volts across them
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 while data bit D2 is not inverted.
Therefore to get a logic high at any of former three pins, we must send logic 0 output to
the corresponding pin of port 37AH. Another important concept illustrated by the project is
the time division multiplexing. Note that all the five 7-segment displays share a common
data bus. The PC places the 7-segment code for the first digit/character on the data bus
and enables only the first 7-segment display.
After delay of a few milliseconds, the 7-segment code for the digit/character is replaced by
that of the next charter/digit, but this time only second display digit is enabled. After the
display of all characters/digits in this way, the cycle repeats itself over and over again.
Because of this repetition at a fairly high rate, there is an illusion that all the
digits/characters are continuously being displayed.
DISP1 is to be physically placed as the least significant digit. IC1 (74LS244) is an octal
buffer which is primarily used to increase the driving capability. It has two groups of four
buffers with non-inverted tri-state outputs. The buffer is controlled by two active low
enable lines. IC2 (75492) can drive a maximum of six 7-segment displays. (For driving up
to seven common-cathode displays one may use ULN2003 described elsewhere in this
section.) The program for rolling display is given in the listing DISP.C above. Whatever the
message/characters to be displayed (here five characters have been displayed), these are
separated and stored in an array.
Then these are decoded. Decoding software is very simple. Just replace the desired
character with the binary equivalent of the display code. The display code is a byte that
has the appropriate bits turned on. For example, to display character ‘L’, the segments to
be turned on are f, e and d. This is equivalent to 111000 binary or 38 hex. Please note
that only limited characters can be formed using 7-segment display. Characters such as M,
N and K cannot be formed properly.
Figure : PC-Based 7-Segment Rolling Display
Under ‘no signal’ condition, pin 3 of IC2 is negative with respect to its pin 2. Hence the
output of IC2 is low and as a result output of IC3(a) is high. Since there is no trigger at
pin 8 of IC3(b), the output of IC3(b) will be low and the amplifier will be off. When an
input signal is applied to IC1, IC2 converts the inverted sum of the input signals into a
rectangular waveform by comparing it with a constant voltage which can be controlled by
varying potentiometer VR1. When the output of IC2 is high, output pin 5 of IC3 goes
low, thus triggering the monostable multivibrator. As soon as the audio input to IC1
stops, pin 5 of IC3 goes high and pin 1 of IC3 discharges through capacitor C3, thus
resetting the monostable multivibrator.
Hence, as long as input signals are applied, the amplifier remains ‘on.’ When the input
signals are removed, i.e., when signal level is zero, the amplifier switches off after the
mono flip-flop delay period determined by the values of resistor R8 and capacitor C3. If
no input signals are sensed within this time, the amplifier turns off—else it remains on.
Power supply for the circuit can be obtained from the power supply of the amplifier.
Hence, the circuit can be permanently fitted in the amplifier box itself. The main switch
of the amplifier should be always kept on. Resistors R1 and R2 are used to divide single
voltage supply into two equal parts. Capacitors C1 and C2 are used as regulators and
also as an AC bypass for input signals.
Diode D1 is used so that loading fluctuations in power amplifier do not affect circuit
regulation. Transistor T2 acts as a high voltage switch which may be replaced by any
other high voltage switching transistor satisfying amplifier current requirements. Value of
resistor R10 should be modified for large current requirement. The LED glows when the
amplifier is on. The circuit is very useful and relieves one from putting the amplifier on
and off every time one plays a cassette or radio etc.
Figure : Automatic Switch For Audio Power Amplifier
Here is a circuit of a simple telephone answering unit which may be used with any
telephone. The circuit consists of three main sections:
1. Ring detector section.
2. A timer controlled electronic switch and telephone line interface.
3. A voice IC having a specific pre-recorded message.
This is not very critical and any other device (such as tape player with message
recorded on an endess tape) which does not overload the circuit or the telephone
line, may be used. The incoming line is protected by metal-oxide varistor (MOV)
RDN 130/14 followed by polarity guard circuit comprising diodes D1 through D4 in
bridge configuration. Transistor T1 (MPSA92), having a high breakdown voltage
(Vce max.) is used as electronic switch/telephone line interface. It is controlled by
transistor T2. Ring detector section comprises capacitor C1, resistor R10 and opto-
coupler NEC 2505.
(In case of its non-availability, one may substitute it with MC2TE or a similar opto-
coupler with additional diode 1N4148 placed with its cathode connected to pin 1
and anode to pin 2 of the opto-coupler.)
Normally the monoshot IC1 is off (output at pin 3 is low) and so also are the
transistors T1, T2 and relay RL1. When ring is received, the opto-coupler operates
and takes trigger pin 2 of timer from high-to-low potential, thereby triggering it.
This causes the output at pin 3 of IC1 to go high, which causes relay RL1 to
energise and create a bypass for the ringing voltage to the opto-coupler as
transistor T2 also gets forward biased. Conduction of transistor T2 causes forward
biasing of switching transistor T1. This, in turn, causes the positive voltage from
rectifier diodes D3, D4 cathode junction to be extended to voice IC chip after
being limited to steady 6.2 volts by resistor R3, zener D10 and capacitor C2. As a
consequence, the voice IC operates and feeds the voice message into the
telephone lines via capacitor C6, base-emitter junction of transistor T1 and
polarity guard bridge.
This FM radio-controlled anti- theft alarm can be used with any vehicle having
6-volt to 12-volt DC supply system. The mini VHF, FM transmitter is fitted in the
vehicle at night when it is parked in the car porch or car park. The receiver unit with
CXA1019, a single IC-based FM radio module, which is freely available in the market
at reasonable rate, is kept inside. Receiver is tuned to the transmitter's frequency.
When the transmitter is on and the signals are being received by FM radio receiver,
no hissing noise is available at the output of receiver.
Thus transistor T2 (BC548) does not conduct. This results in the relay driver
transistor T3 getting its forward base bias via 10k resistor R5 and the relay gets
energised. When an intruder tries to drive the car and takes it a few metres away
from the car porch, the radio link between the car (transmitter) and alarm
(receiver) is broken.
The relay thus gets de-activated and the alarm connected via N/C contacts of
relay is switched on. If, by chance, the intruder finds out about the wireless alarm
and disconnects the transmitter from battery, still remote alarm remains activated
because in the absence of signal, the receiver continues to produce hissing noise at
its output. So the burglar alarm is fool-proof and highly reliable. (Ed: You may have
some problem catching the thief, though, if he decides to run away with your
vehicle_in spite of the alarm!)
Figure : Car Anti-Theft Wireless Alarm
Audio-Visual Extra Ringer for Phone
Many a times one needs an ex- tra telephone ringer in an ad- joining room to know if there is an
incoming call. For example, if the telephone is installed in the drawing room you may need an extra
ringer in the bedroom. All that needs to be done is to connect the given circuit in parallel with the
existing telephone lines using twin flexible wires. This circuit does not require any external 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 integrated circuit, specially designed for telec- om application as bell sound generator,
requires very few external parts. It is readily available in 8-pin mini DIP pack.
Resistor R3 is used for bell sensitivity adjustment. The bell frequency is controlled by resistor R5 and
capacitor C4, and the repeat frequency is controlled by resistor R4 and capacitor C3. A little
experimentation with the various values of the resistors and capacitors may be carried out to obtain
desired pleasing tone. 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 comprising diodes D1
to D4. The rectified DC output is smoothed by capacitor C2. The dual-tone ring signal is output from
pin 8 of IC1 and its volume is adjusted by volume control VR1. Thereafter, it is impressed on the
piezo-ceramic sound generator.
Long-range FM Transmitter
Several circuits for constructing FM transmitters have been published in EFY. The
power outputs of most of these circuits are very low because no power amplifier
stages were incorporated.
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 ground plane antenna or multi-element Yagi antenna, this
transmitter can provide reasonably good signal strength up to a distance of about
2 kilometers.
The circuit built around transistor T1 (BF494) is a basic low-power variable-
frequency VHF oscillator. A varicap diode circuit is included to change the
frequency of the transmitter and to provide frequency modulation by audio
signals. The output of the oscillator is about 50 milliwatts. Transistor T2 (2N3866)
forms a VHF-class A power amplifier. It boosts the oscillator signals’ power four to
five times. Thus, 200-250 milliwatts of power is generated at the collector of
transistor T2.
For better results, assemble the circuit on a good-quality glass epoxy board and
house the transmitter inside an aluminium case. Shield the oscillator stage using
an aluminium sheet.
Coil winding details are given below:
L1 - 4 turns of 20 SWG wire close wound over 8mm diameter plastic former.
L2 - 2 turns of 24 SWG wire near top end of L1.
(Note: No core (i.e. air core) is used for the above coils)
L3 - 7 turns of 24 SWG wire close wound with 4mm diameter air core.
L4 - 7 turns of 24 SWG wire-wound on a ferrite bead (as choke)
Potentiometer VR1 is used to vary the fundamental frequency whereas
potentiometer VR2 is used as power control. For hum-free operation, operate the
transmitter on a 12V rechargeable battery pack of 10 x 1.2-volt Ni-Cd cells.
Transistor T2 must be mounted on a heat sink. Do not switch on the transmitter
without a matching antenna. Adjust both trimmers (VC1 and VC2) for maximum
transmission power. Adjust potentiometer VR1 to set the fundamental frequency
near 100 MHz.
This transmitter should only be used for educational purposes. Regular
transmission using such a transmitter without a licence is illegal in India.
Figure : Long-range FM Transmitter