You are on page 1of 64

Rs 7.

50

Versatile module
counts up and down;
presets and latches;
rl'"
ef4,
,y
drives any 7 -segment
display - LED, LCD,
common cathode or .."11'51 -
common anode
eYi- vt'i7 i-
throwing some
light on L
KITT
scanner
the secret behind
those robot eyes :
why they look as
if they're looking

Sound pressure
meter
contEnt
Volume 3 -Number 4

EDITOR: SURENDHA IYER


PUBLISHER C R CHANDARANA
news, views. Peon,. 4-18

PRODUCTION: C N MITHAGAPI selektor 9-18


Grand unification: for and agains

ADVERTISING Sr SUBSCRIPTIONS K.I.T.T. scanner 4-20


ElEkTOR ELECTRONICS PVT lad. special -effect wit as seen on TV
Cbotani Building AXL amplifier 423
52 C, Proctor Road Grant Road (E) Re0110 robust and inexpensive to build. this power amplifier is suitable for meld
Bombay -400007. applications

pH meter 4.25
DISTRIBUTORS: INDIA BOOK HOUSE Measuring the degree of acidity or alkalinity in aqueous solution, to will be
of particular interest to aquarium ownere
PRINTED AT: speech for micro computers 434
TRUPTI OFFSET
103, Vasan Udyog Shaven. OLII put power numagraM 4-37
Off Tulsi Pipe Road,
Lower Parel, BOMBAY -400013. new keyboard for Spectrum 4-38
We have designed our own keyboard to replace Met fitted to the Spectrum.

Debtor India is published monthly under 19 kHz precision calibrator 442


agreement with Elebtuur S.V. Reiland, re,siu,rho.build and accurate wit for use wherever a precise 19 kHz signal is
Auguswgepremher is. double issue.

versatile counter circuit 4-44


SUBSCRIPTION In response to many requests, we have developed a counter that vita meet mat of
INLAND Your requirements.
Mr Rs.75,2 Mrs Rs.100/ 3MraRs.200/.
transistor uniteater 448
FOREIGN
One yar Only
Surface mail Rs. la, Air mail Rs. 210,
.
This unit enables you to find out which pi
ana eamme1
correspond to e olle

449
COS/MOS digital ICs

throwing some light on LEDs 450


sound possum meter 454
1Ma meter featured in this article will measureactualsoundlevelandgivea reading

soldering aluminium 4-57

market 4.80

switchboard 4-83
Zr01=ZZ,7:=7,Z=., missing link 4-70

MOSINATIONALEDIMOHSEIATOA HOLMES index of advertisers 9-70

(Wm- male earn 15854-03


Desoldered Desoldered
Without With
Diamond Diamond

Diamond
Desolders thoroughly.
Desoldering
Pump

Sturdy construction
Replaceable Tenon Nozzle
Largest selling in India
Widely accepted in U.K., U.S.A., of
West Germany and Singapore. Manufactured lap
Export Enpoiries Welcome
Industrial Electronic
& Allied Products
DiarnbtAdorSt 1423, Shukrawar Peth,
Off, Bajirao Road.
PreCion®Electronics Corporation POONA 411 002, India.
t
dot., OPE. Porto Road Oar, Road lEl. Bombay -400 001. Phone: 446241. Gram: SEFOTAKE.

The simple COLOUR TV


answer for
electronic MANUFACTURERS
components FOR YOUR REQUIREMENT OF:

' National
ELECTRONICS (BOMBAY) PVT. LTD
?En,"="1=r- °-
TELEXCII6688 VASUIN

FLYBACK
TRANSFORMERS
CONTACT

CC
DANNIES ELECTRONICS ENTERPRISE
Importers and Exporters
77, High Street i 10-12, High Street Plaza,
Singapore 0617,
Phone 3372297,3397690 Telex: RS 28612 ESQIRE
SIEMENS

Presenting the Siemens Superbreed

Siemens Inca vorodne an innovative


researen progiarnine with Computer
Acted Designto giveyou the Siemens Goes me full d am ,nUrc.
Superbreed, A motor with unique.fi ot.
Some hole thin,. roar make life easier!
timefeaturee unmatched flexibility,
longer lib, Increased relied lily and Sobtor,
New casting tecnnaogy ensures
convenience.
unnpm neat clisspalon
AM.), you look at R Wee winner,
Mt Superbreed has IP 55 degree of

breakthrough
oraaCYcl, goes you amazing
No motor can Wu this motor can! its Because you deserve nothing
Superbreed Offers you unmatched s thane super motor. The Siemens
berbreed
Ternrnal low - standard position on
top. bit a right when required. Robbie
.n steps o190. convensenIcable Siemens In. Lorote0 P 0 Box 0597
entry Bornbay 400018.

Siemens Superbreed.
Now, there's more to a motor than just horsepower.

eieloor hp. 1905 4-05


Leaders in the field

Aplab presents a wide range (rM-


of audio test equipment
Helps to design,test and repair tape recorders,
Model 2015 -
Low Distortion Sine Square Generator stereos,amplif iers, turn -tables, loudspeakers
Wrde Frequency Range I Hz to I MHz
Extremely Pure Sine Wave -44 0.03 Distortion and expensive high fidelity equipment
Built-in Calibrated Almnuator upto 60 dB .
Compact Light Weight. STD 19' Rack ; Model 2010 D- AF Signal Generator
Rise and Fan Time 30,S .Variable Frequency from 30 Hz to 30 KHz
Variable Output from 2trIV to 25V into 600 Ohms
raft., Selectable Output Impedances
Excellent Frequency Stability et BO 1%
Distortion Less Man 1%

Model 2007 - Distortion and Level Meter


.High Fundamental Rejection Capabilities
.High Sensitivity and Good Selectivity
.Sensitive AC Level Meter Model 5014 - 50 Watt Audio Power Meter
.Distortion Introduced by Unites 0 05% 50W Absorption Type Wattmeter
Residual Noise Below - 80 dB .Fifteen Switch Selected Impedances
High Accuracy tOr Power and Impedance
Wide Dynamic Range - 13 dB to 47 dB
Very Long Batten/ Life

Model 2002 -
Digit. Selected Sine/Square Generator
Wide Frequency Range 1 Hz to 110KRz
Distortion 0.153
Calibrated Attenualor upto 70 dB
Budt-in Output Signal Level Meter
Accurate Digital Freouercy Selina Applied Electronics Limited
16,e Indusin,Lsiate 1,1,1400 604
Ao,13Flonse 5311ne91s1
Phone 5918011 Telex 011.719,B APEL
/3, Gandhi Nagar. SeuJoderabe,I500 003 Phone 73351
7e Road Cairn. 7000]0 Rhone 4738,
G0 Nok 44 6 45 1.5,fier, 4oad Bangalore 560 075
Phone 578977 Telex 0(145-8125 APLBIN
MF 3 Stu., Building. Bank STreet Karol Bag,
tiVIS a Dew Demi iro oos Phone 5718842.571o. 1.
Telex 031 5133 APLB IN

Aplab - Leadership through technology


Grand Unification for and shows that quarks can be trans- which the theory predicted must
against formed into leptons, then the unifica- xist, had to be found.
During the past few ye rs two tion of all forms of matter is in sight. The electromagnetic force between
important events in fundamental par- For proton decay to mean that particles is carried by other particles,
ticle physics have provided evidence quarks and leptons are inter- photons. If, as Salem, Weinberg and
on the one hand for and on the changeable, however, implies an Glashow predicted, weak and elec-
other against grand unified theories, average lifetime for protons before tromagnetic forces are really just two
known as GUTS for short, which they decay of about 103, years. The manifestations of the same thing,
seek to explain all the fundamental more the observed lifetime of the the weak nuclear force should also
particles of matter and all the forces proton exceeds this span, the less be mediated by panicles, the W and
of nature in the same mathematical likely it is that quarks and leptons are Z bosons.
terms. The first event is really a non. interchangeable and the further the W bosons must be very heavy and
evnt: it is the failure of physicists so unification of matter which depends so operate over very short distances.
farm detect proton decay. The upon it recedes. It requires very high energies to
second is the production and identi- So, the faders of physicists to agree create W bosons that are not locked
fication of panicles called W and Z that they have found decaying pm - up inside atomic nuclei and that fly
bosons, findings which strengthen tons in any experiment so far, and about freely enough and for long
the case for GUTS perhaps more the consequent implication that the enough to be observed. Such
than it is weakened by the failure to lifetime of the proton is longer than energies were not available at the
find protons decaying. had been thought (statistics show time when Salem, Weinberg and
that they should have found several Glashow put forward their theory.
Protons, the positively -charged par- decaying by now if the lifetime was But the energies needed to liberate
ticles in atomic nuclei, certainly have as predicted) does not encourage detectable W and Z bosons have
very long lives. They last for billions GUTS. But while the physicists now been produced at the European
of years before they decay, losing involved have been taking one step Laboratory for Particle Physics,
mass as energy and changing into back from GUTs, other groups may CERN, near Geneva.
other particles. In fact it is still be said to have taken two steps for- The experiments involved colliding a
uncertain whether protons do decay. ward with their identification of the beam of protons circulating inside
Scientists in India, Europe and W and Z bosons. the Super Proton Synchroton ISPS)
America have set up experiments To understand why this is so import- with a beam of anti -protons cir-
deep underground with sensitive ant, you need first to understand culating in the opposite direction.
detectors to search for proton decay. how far unification of the forces of Each proton is made of three quarks
siting the experiments nature has proceeded, Matter is held and each anti -proton of three anti -
underground, in a disused gold -mine together by four forces: gravitation, quarks. When quark and anti -quark
in India, in the Mont Blanc tunnel in electromagnetism, and the strong collide they annihilate each other and
Europe and in a salt mine in North and weak nuclear forces. The great release enough energy to create par-
America, is that it prevents the physicist James Clerk Maxwell ticles as heavy as the W and Z
detectors being confused by the unified the hitherto separate elec- bosons.
arrival of highly energetic panicles in trical and magnetic forces into one in On 20th January 1983 CERN
cosmic rays from outer space. No he 19th century. Just over ten years announced that, among some 108
event generally accepted by ago particle physicists Abdus Salem collisions of particles observed in
physicists as being due to proton 'n the UK and Steven Weinburg and their proton -anti -proton colliding
decay has yet been detected by any Sheldon GI013110W in the USA con - experiments, they had seen the
of the scientific teams. trusted a theory which unified the characteristic signature of W bosons
The failure to detect proton decay is electromagnetic and weak nuclear In just five. These observations were
important to grand unification theory. forces. To prove it meant that Prs- made by one of the two teams of
There are several reasons for wishing titles, the so -celled W and Z bosons scientists working with the SPS
to observe it, among them the fact
Tie 'arose In nature
that it probably happened a lot in
the first fraction of a second after Typo Inn. of Otos Omura.
the 'big bang' in which the universe 01/.... Maki ..re
began. Observing proton decay
would provide a replay of one of the Strong nue.. farce Gluons (no maul A1111111< nucleus
more important events of that all-
important earliest epoch. Electromagnet...me Photon Ina maul Atomic 3,184i
Equally important is the evidence
that proton decay would provide for Weak nuclear lora
Radioacnva beta
symmetry and unity in nature. If pm - teavvi
tons decay, then The particies of
which protons themselves are made Gravitation Graviton? Heavenly bodies
up, namely quarks, have to be
transformed into others called lep-
utons, the generic name for particles
such as electrons. Quarks and lep-
tons are now believed to be the only
two truly fundamental types of par-
ticles, and groupings of various NOes
of quarks on the one hand and lep-
tons on the other are beginning to
Enna.. of pan.. reapo.ble loc.. tomes
look very similar. If proton decay
4-18 a:morem,..ani rotes
proton -anti -proton collider, the team
known as UA1. Soon after, four more
such events were reported by the
E=t11 1=1:1
second team, UA2. Some BO W
bosons have now been seen and tromagnansm
very recently five Z bosons have
been identified.
The remarkable discovery rewarded Maxwell's theory. Gravitation
Unknown Soong force -

six yeats of intense activity at CERN Movement.


kap, tie:a/magnetic
Atomic nuclei
of planets
and on the part of the British par-
ticipators in the CERN experiment,
from the Rutherford -Appleton Quantum Ounntm
laboratory near Oxford, Queen Mary electrodynamics ChFOMOdyflaTICS
So far no
College in the University of London, Quantum effect
mown GUM
and Birmingham University.
Altogether, 120 international
physicists, including 22 from the UK Unit- electroweek
are involved in UA1. Their experiment
uses a chamber that records the
tracks of all the charged particies Itlere,heotioawareaarsurix
from the collisions of protons and
anti -protons. Surrounding it are two
arrays of counters to measure the
energies of all the particles produced -

by the collision. One array measures


the energies of leptons, the other the
energies of strongly -interacting nti-neutrino has gone off, undetec- The roll -up, fold -up battery
nuclear particles such as protons and tably, in exactly the opposite direc-
neutrons. tion with a balancing momentum of Rechargeable batteries of the future,
40 GeV. In the UA1 group's first big enough to drive a car, and yet
This second array, called a Hadronic small enough for ordinary home Use,
calorimeter, was built by the three experiments 800 000 events were
recorded on magnetic tape; com- are likely to be completely solid and
UK scientific groups. It consists of capable of being rolled up eke stick-
seven thousand sheets of scin- puter selection picked out 40 of
them, and careful scanning of those ing tape or made in flat sheets and
tillators, detectors that scintillate
produced just five that showed folded.
when struck by the panicles, with
instrumentation to record and exactly the right characteristics, with This is the prospect held out by a
measure the energy of the impacts. high-energy electrons going off in new project just launched by scien-
The UK scientists also produced an one direction and a large amount of tists at the UK Atomic Energy
electronic processor to measure the momentum clearly missing in the be made from lithium and vanadium
energy of impacts and to decide opposite direction. oxide instead of the lead and nickel -
electronically whether or not they Discovery of the W panicle was iron of conventional batteries.
should be recorded. This vital pan of followed in May by four events to do Authority's Harwell research
the apparatus enables the with Z particles. The Z particle is laboratory. Their work to find the
experimenters to select, from the similar to the W but carries no right materials and technology to
thousands of events produced every charge and is slightly heavier. It is enable solid batteries to be offered in'
second by the colliding beams, just expected lobe produced ten times any shape or size is being sponsored
those that merit study. less frequently by collisions between by battery users, manufacturers, and
The W boson is so heavy, about protons and anti -protons than is the materials spedalists.
80 times the mass oft proton, that W panicle, which explains why the According roe UKAEA spokesman,
it is created in a state of rest out of took longer to find, ahhough its the project will provide the basic
the energy of quark -anti -quark collis- signature is equally distinctive. technology for the manufacture of
ion. It is unstable and decays almost Most physicists agree Mat the identi- all -solid batteries. These are likely to
immediately to lighter particles. One fication of the W boson cements the Harwell's applied eiectrochemistry
way in which it decays, which can bond between the electromagnetic centre has already shown that hs
be detected, is Inform 1W0 particles and weak nuclear forces. The next new type of battery cells do work.
- an electron and an anti -neutrino. step in grand unification is to try to Using foil -thin strips for the com-
Only the electron is discerned when demonstrate that the strong nuclear ponents. a complete cell need be
this happens, because neutrinos can- force and the weakrelectromagnetic only 0.22 rum thick, and this is likely
not be detected by conventional forces are mediated by panicles in to be reduced further still.
means. So what should be discern- the same way. A theory of the Harwell has been working on sold
able in this mode of decay is a high- action of the strong force involving batteries for some time. With help
energy electron track going off in its mediation by particles, called from Denmark, the EEC, and several
one direction with, most unusually gluons, already exists and it may be universities, is has been studying he
nothing complementing it in the possible to confirm their existence possible use of lithium batteries to
other direction. What has really hap- experimentally. So far, however, drive cars ILPSI
pened is that while the high-energy physicists have made little Morses
electron has gone off in one direc- towards assimilating the fourth force,
tion carrying a momentum of 40 GeV gravitation, into a grand unified
igiga-electronvolts), half the energy scheme of things.
of the W boson it came from, an Stafriforth Webb 1938 S)

taw ises 4-1 g


we let you in Science fiction writers are hampered only by their own imaginations,
which generally means that they are vary little hampered indeed.
on the secret Movie -makers, on the other hand, are often forced to take reality into
behind one of consideration and do the best possible job with the tools that are
TV's special available. Most of them, fortunately, succeed in making their films
effects of the sufficiently 'unearthly' with special effects. Special effects also serve
moment to enhance more ordinary films or TV shows, one of the most
popular at the moment being a computer that thinks it is a car.
Inspired by certain science fiction movies and our automotive friend
we came up with a special effect unit of our own.

Movie makers and TV show producers always starts from the same condition,
feel justified in doing almost anything to except for the state of flip-flop N2/N3.
draw a big audience or improve their As long as the circuit is powered the
ratings. One of the mom popular of these oscillator based on N4 provides a clock
'special effects' shows at the moment has signal for the 4029, with the frequency
a fully -computerised car as im here This being preset by means of Pl. The count in
car (we will refrain from telling you that it IC3 is incremented by each clock pulse
is called KITT. as that would be advertis- and is continually output via CA, OB and
ing) has a series of lights running across QC Each of these outputs is connected to
its bonnet to simulate a 'scanner'. We all a corresponding input in 102. This binary
know, of course. that it is nothing of the information is decoded by the 4028 so one
sort but that does not detract from the of its outputs is continually high. The 4029
effect. always marts from a count of zero so this
Men), special effects are very simple means that the first output of IC2 to be
when the 'trick' is known. The 'KITT scan- high will be pin 3 (V). Each successive
ner', for instance, is simply a row of lights clock pulse from N4 then causes the next
flashing in sequence one after another. As of the 4028's outputs to go high, and the
the photograph show, this does not previous one to return low, of course.
involve anything very complicated. Much When output T of IC2 goes high this
of the circuit is repeated eight times. But signal is fed via NI to Pip -flop N2/N3
before we get ahead of ourselves let us causing it to toggle. As a result pin 10 of
have a look at the actual circuit diagram. 103 is taken low so the 4029 starts to
count down. When it reaches zero the CO
output causes N2/N3 to flip again so IC3
The circuit starts counting up.
The operation of the circuit is easy to Each of IC2's outputs (.0....1') M con-
follow. When the power is applied the nected to the exact same sort of circuit.
switch -on reset circuit, consisting at C4 When an output goes high the appro-
and RI9, takes pin I (Preset Enable) of priate switching transistor. T9...TI8,
counter 1C3 high for a short time. The data causes the corresponding driver transistor,
presented to the parallel inputs, 11-14, is TI...T8, to conduct so one of the lamps
loaded into the counter. All tom of these lights. The result is that each of Lal -Let
inputs are grounded so IC3 is reset to lights, one after the other first in rising
zero. This has the effect that the circuit sequence, then falling, then rising again.
4-20
KATT. scanner

Figure 1. The circuit


diagram and the photo-
graph etWet to the
simplicity of the circuit.
The electronics itself uses
very little power. most of
it being consumed by the
eight lamps. The tran
sistors will be overloaded
if the lamps used have a
higher power rating than
the one stated In the
drawing.

sas sso 19854-21


2

Parts list

.118,1117 - 470
.11113 = 15
Plat = 47 k
P19 = 100 k
110 = .51
PI = 250 k preset

Cagactow:
CI = 100 0/25 V
CZCA . n
C3 = 2.2 p/18 V

Semiconductors:
DI = INMAN
T1. .r8 = BD 1311
T9...T16 = BC 547B
ICI =093
IC2 = 40.211
IC3 =
. = ]BLIP
Miscellaneous:
F1 = fuse, 1 A Now blow,
with PCB-mounlng
holder
Lal...LaB = light bulb,
12 W10 W me..

Figure 2. The scanner can


be assembled on this
printed circuit board (EPS
No 050251 Do not forget
to insert the short wire
link between IC1 end 1C2.
and so on. The speed at which this occurs floor of the reflector. Do not make these
is determined by the position of Pt. walls finish flush with the top of the reflec-
The circuit requires a power source of tor as we have done. The lamps will seem
12 V dc., such as a car battery, and its cur- ton un into each other better if the walls
rent consumption will be about 25 mA. only extend about 2/3 to 3/4 of this
The regulated 5 V needed for ICI...IC3 height A sheet of perspex was fitted in
is provided by IC4. Incidentally, the front of the reflector and this was covered
switching transistors (T9...T161 need only with red tape.
single common collector resistor as only The only variable component in the scan -
one of them conducts at any one time. is preset Pl. This is 'calibrated' by
adjusting it tunil the lamps flash at a
Construction and calibration speed that you find pleasing.
Assembling the circuit for the KITT scan-
ner is simply a matter of soldering all the A final point...
womponents onto the printed circuit board ..about using the circuit. As any
hose design is shown In figure 2. The policeman will tell you, not just anybody
mechanical section is no more difficult. is legally permitted to fit flashing lights to
The photograph shows how our prototype their car, even if they are not blue That
was put together. Each lamp is mounted means that the 'scanner as shown on the
in its own section in the reflector. The TV show is illegal in most parts of the
reflector is made of a number of pieces of world. Elektor madam are imaginative,
tin soldered together. The wall between however, and we are sure you can come
two lamps is not vertical, it consists of two up with an even more innovative use for
pieces of tin soldered together in a 'V' this EDT scanner.
shape with the free ends soldered to the N
4-22 ie.,. i.e.. mull 1885
AXL amplifier

This pholOgmlsh
of two AXLs forming a
stereo amplifier shows
how the print. circuit
boards. the 11AOSFETs. the
aluminium bracket. and
Me heat sink are con-
neMed together.

AXL amplifier
The AXL amplifier described here is intended for operation in class A, class A, B or
AB, or B. Its design specification stipulated that it should be AB
reasonably compact, reliable, robust, and relatively inexpensive to
build. It is suitable for use as a power amplifier for electrostatic
headphones, in an active loudspeaker system, or in a small hi-fi
installation.
The classification of an amplifier depends
on the portion of the input current cycle 'ram.er dam
during which output current flows. In
class A amplifiers, output current flows
over the whole of the input current cycle. MOM .osi1icitV 790 for 25 W into 8
700 rnV, for 40 W into 4 52
These amplifiers have low distortion and
Input impedance 5 k4
low efficiency. In class B amplifiers the
pourer gain 25 dB
output current is cut off at zero input
output Proer 15 W into 8 4) class A -full drive
signal, so that a half -wave rectified output W into 4 quiescenurrent 1 A
is produced. Such amplifiers are very effi- 2 W into 8 class A ,traduced drive
cient but suffer from cross -over distortion. 1 W into 4 quiescent current: 350 mA
In class AB amplifiers the output current 25W.".041c1 AB MIld've
,flows for more than half but less than the 40W into 441
50 W into 8 Ideas
whole of the input cycle. At low input - 70 W Mto 4 5 qudecent current: 100 mA
signal levels class AB amplifiers tend to 05 W - class A with quiescent crrent of 1 A
operate in class A, and at high input-
signal levels as class B amplifiers.
tt,t1
condition,
a. supply voltage of t°32 V

Power amplifiers commonly work in push- 23 W ca'rsipir v=7 :"2",;'''''"


pull, that is, they use two matched devices sw _ dam B with quiescent current M 100 rnA
supply voltage °f t2 x45...50
in such a way that they operate with a
ISO° phase difference. The output circuits ""e"" ".°"' 13 Hz...65 kHz at -3 at class A) 600
20 Hz...20 kHz at -3 dB class 05 impedance
source

combine the separate outputs in phase. SN.2) parzcoe,nZ frequency range


Harmonic distortion
When complementary transistors are used Iprimarily yid
in the two halves, no phase shift is harmonic,
required in the inputs. If both halves of garaging for 100 IT 1 W output at 100 Hz,
the stage are active simultaneously, they
error, as less 4-23
itX.L arneafier provide equal contributions to the output required during very short periods only.
curnt; this is the case in class A oper-
reation.
With a well-chosen quiescent current, the
In class B operation only one half of amplifier therefore sometimes works in
the stage is active at any one time, and class A (low inn.) and ...times in
this depends on the polarity of the output class AB (high inputs). The consequent
current. incree
as in distortion as compared with
A predetermined mode of operation. A, that in class A operation is measurable,
or AB, is effected by suitably adjusting the but not audible.
quiescent current (that is. the current As to the question of rated power out-
under no signal conditions) through the put, both the Crescendo Weldor (UK)
output stage. The quiescent current flows December 1982) and the Mini Crescendo
through both halves of the output stage. (Eiekror - lune 1984) appear to meet a
Each change in the current with respec need, at least according to many readers'
to the quiescent current in each half of letters. But bearing in mind the design
the stage contributes to the output cur- specification mentioned before. we
rent In class A operation, the quiescent modelled the AXL amplifier on the Mini
current is so high, and the output current Crescendo, resulting in a nYminiiininni
so low, that both halves of the output nun with two complementary MOSFETs in
stage are on all the time In class B oper- the output stage. Both as regards costs
ation. the quiescent current is, in theory at and dimensions. the case, the power
least, sera In class AB operation. the supply, and the heat sinks are comparable
quiescent current is set to a level which is to those in the Miei Crescendo
appreciably higher than in class 13, but
much lower than in class A.
Because of the heavy demands on the Circuit
power supply and cooling, a class A As most amplifiers, the AXL may be split
amplifier is considerably dearer per watt into an input stage, voltage amplifiers, and
output power than a class B amplifier. But an output stage. As shown in figure 1, the
since the reproduction in class A is better input stage consists of a dual symmetrical
than in class B. it seems logical to oln for differential amplifier. The two transistors
compromise.. that is. class AM This normally constituting a differential ampli-
becomes even more emotive when you fier are formed by cascodes Tvrs. T2413,
realise that during the reproduction of and T3T7, T4,1`8 respectively. A cascode
Figural. The circuit both music and speech full output is is e super -transistor in which there is only
diagram of the An
aMplifier.

4-24 ISes
negligible feedback from collector to An amplifier
base. Furthermore, the collector of such a
transistor is an almost ideal current
source.
The output voltages of the differential
amplifiers are present across resistors RIP
and RI4 horn where they are applied to
driver gages TII and TI2 via emitter
followers T9 and TIO. Note that the collec-
tors of the emitter followers are con-
veniently connected to zener diodes DI
and D2 which are required to ensure
proper balance between the two sections
of the dual input circuit.
In contrast to the two Crescendos, drivers
TI1 and TM are not connected in a
cascode circuit, because the output stage
here is voltage -controlled via complemen-
tary emitter follower T13+ T14. This dual
stage can draw a sufficiently high current
via R22. This arrangement obviates the
need of using the input capacitance of the Figure 2 Various power
MOSFETs for frequency compensation. supplies for the /OM:
This compensation is now obtained via auro.orhorVarcic,7 :2W;
Miller capacitors C7 and C8, which in ,.TLV;°."p:1,i07,7c7.
essence are connected between base and
collect. of TII and T12 respectively.
There is, therefore, a deliberate feedback
from output to input of the drivers, and
the aim of a cascode circuit is precisely to
prevent such feedback. Current amplifi-
cation in this arrangement is low, and this
is the reason that emitter followers T9 and
TIO have been added.
The collectors of the drivers are intercon-
nected via network PI -C9 -D7 -D8, which
serves to adjust the quiescent current to
the required level. The diodes provide
temperature compensation for the current
set by PI; they derive their temperature
essentially from the heat sinks of TI3 and
T14. The stability with temperature of the
quiescent current is not of paramount
importance in view of the excellent
thermo-electronic properties of the
MOSFETs.
The parallel combination of R20 and 1231
forms the load of the driver gages. The
values of these msistors have been
chosen such that on the one hand the
voltage amplification of the drivers is
reasonably high, and on the other that the
contribution of these resistors (via the cur-
rent amplification mechanism of T13+ T14)
to the gate control impedances of T15 and
TIP is negligible (that is, with respect to
R23+R25 and R24+ R26 respectively).
As already mentioned, the output stages
of the AXL amplifier are voltage con-
trolled, because that gives an even better
linearity than current drive. It also keeps
the output impedance, without feedback,
lower. The improved linearity and lower
output impedance result in very good
overall performance with a low feedback
factor. And that is desirable, because
feedback is and remains a necessary evil.
Diodes D3...D6 provide simple, but ef-
ficient current limiting of the MOSFE'N.
Network R29/C14 improves the stability m. 1380.0000
under no-load conditions. Resistors R27
and R28 act as stabilizers of the direct cur-
rent setting of the output stages. Network
Isas4-25
Figura 3. The ponied ars
cult hoard of the AXL LI/R30 reduces to some extent the The circuit of figure 2a is a single -
amplifier.
capacitive load at the negative -feedback transformer design. The large -value
take -off point. The feedback is applied to smoothing capacitors are necessary to
the input stages via R4. Capacitors keep the tipple voltage on the supply
C10...C13 provide decoupling of the lines low; with smaller capacitances this
supply lines voltage might easily become unaccept-
The parallel combination CI -C2 -C3, in ably large in view of the high quiescent
conjunction with RI, provides a filter for curreM. The ripple voltage does not so
do. and very low frequency signals. Filter much affect the audio signals as reduce
R2/C4 prevents signals above about the dynamic mtge.
60 kHz from reaching the input stages Note that there are two earth returns per
channel: one to the pcb, and one to the
Construction loudspeaker. The central earthing point
The AXL amplifier is constructed along should be the only connection to the
similar lines as the two Crescendos, and it amplifier case This means that the phone
may therefore be useful to reread the two (or jack) sockets must be mounted
relevant articles. Note that the output tran- insulated from the case. The connections
sistors see mounted on the printed circuit between these sockets and the pcb
board: thermal coupling with the heat sink should be made in screened cable with
is effected via a tight -angled aluminium the screen connected as appropriate at
bracket as shown in the photograph on both ends of the short cable.
page 3-27. This arrangement obviates any The design in figure lb provides separate
critical wiring and results in a yen, com- supplies for the left-hand and right-hand
pact construction. channels, which are normally only found
As regards the power supply, figure 2 in very expensive amplifiers. The arrange-
gives you a choice of three. Figure Is ment ensures that there is guaranteed no
shows one that is common to the left-hand interaction between the two channels via
and right-hand channel; figure 26 gives a the supply lines. The great advantage of
design for separate supply to the two using this power supply is that a stereo
channels; and figure 2c is intended for Amplifier can be built from two absolutely
use when the AX1 amplifier is operated in symmetrical mono amplifiers which only
class B. have the mains switch in common!
AXL ampl ler

Parts list leach channel,


Resistors:
RI 10 k
R.2 1k8
R3 = 8k2
R5,R5,R1,118,122 150
RB,R11 3k3
RID,R12 = 120
R13.1414 s 237
R15,R16 = 1

P18=024
RI, = 10 k
R20,R21 22k
R23,R2.1 = 100
R25,R26= 220 Imount
on trackskle of peb/
P27,1128 s 0922 6 W
00 = ID 4/1 W carbon
R30 1 4/1 W cabon
preset !trrn fully
anti.clockwise before
mounting,

CI,C2,133,C15 n
[preferably BlItha
meiugz. Parsee P.
carbon..
C4 I n polystyrene
CS.C6 u 25 V
C7,C8 47 p polystyrene
CIO,C12 - 100 Irated
voltage> single aunt*
voltage/
C11,13 20 n
CIO 22 n
If it is required to operate the AU perma- same amount. The total values of R5+ R6 Semi/co...Mars.
nently in class R higher supply voltages and R7+R8 therefore remain unchanged.
are needed. A suitable power supply is For instance, BC 550C
shown in figure 2c. Note that the rating of R6 = 127 = 120 4, R5 = R8 = 180 0. BC sow
capacitors CIO and Cl2 in the amplifier If the direct voltage has risen to lees than TII,T14 = BP 00
-50 my, no further action is required; if T12,T13 = af
should also be increased to 64 V. T15 = 238134 Mita.
Construction of the amplifier on the not, the resismnce values should be
printed circuit board is straightforward; changed further, eq., Tle 23319 11-111achr-
note, however, that diodes D7 and D8 R6= R7= 100 4; R5 = R8 = 220 Ct. MOSPET,
should be mounted vertically. If the direct output voltage is too high and 1,132. cotter 15 V/
The mounting of the mosrem, the alu- positive, 126 and R7 should be increased, D3,138,07,138 . 1.1148
minium bracket, the heat sink, and all and R6 and R8 reduced, in a similar way !mount D7 a. DB
other practical constructional details have to that described for negative values. venically,
been described in the previous crescen- The quiescent current is measured by 4,05 zener 12 V/
400 mW
do articles (Elegy (UK) - December 1282 connecting a d.C. milliammeter in the
and June 1984) and is further illustrated in Positive or negative supply line, or by a
the photograph on page 4.23. do. millivoltmeter across R27 or 028 LI = about 2 0: 20 turns
Bafore the amplifier can be taken into use, (about 25 mV per 100 mA). The quiescent in 2 layers of I mm
it is necessary to check and, if necessary, carte. may be set with PI between enamelled CoPPer wire
100 mA and I A. The lower value pertains ISWG13/ on .3 see de
to corned the off -set direct voltage at the tea in figure 1

amplifier output, and to set the quiescent to class B operation, the higher to class A. heat sink for T15 + TIC
current. We have found that a value of 350 mA minimum height 100
Ideally, the direct voltage at the output gives the best compromise between pen g. SK85; 0CPC/W
formance and dissipation but the final aluminium bracket. right.
should be zero, but in practice a value angled, minimum dimen-
of not more than + 50 mV is perfectly choice is, of course, yours! tong. 6 mm
acceptable. First, measure the direct Mick, each .e BO
voltage under no-load and no -drive condi- wide
tions. If it is negative, T2/T6 and T3/T7 two heat sinks for 2I3 a.
rta. 8.60C/W. bp. SIM
should be made to conduct harder, and mounting and insulating
TI/T5 and T4/T8 less so. This may be hardware and skean
done by reducing R6 and R7 by a certain grease substitute for the
amount, and increasing 125 and R8 by the transistors to he cooled
der.. ins. tat, sea 4-27
Determining the pH value of an aqueous solution is one of the more
important measurements in inorganic chemistry. Any connection with
electronics seems remote, and yet chemists have made use of
electronics in pH measurements for years. They do this with a special
sensor which enables the degree of acidity or alkalinity to be
displayed analogously or digitally. Until recently these sensors were
prohibitively expensive for hobbyists, but as prices have been coming
down, we decided to design a pH meter which will be particularly
appreciated by aquarium owners.

pH meter
acidity/alkalinity As most electronic hobbyists are no centmtion is also dependent to some
chemists, we will keep 'chemistry' to an extent on the temperature of the solution.
measurement by absolute minimum. Depending on the nature of the solution,
LCD Each aqueous solution h. a cetrain the pH/temperature relation is either
measure of acidity or alkalinity, which is direct or inverse Measurement of the pH
dependent on the concentration of - is normally related to a temperature of
hydrogen -ions in n The higher the con- 25.C.
centration, the higher the acidity, and the There are two methods for determining
lower the pH. When the concentration is the number of H. ions in an aqueous
low (very few hydrogen -ions), the pH is solution colorimeny and electrometry.
high .d the solution is alkaline. A pH In the first, an acid -base indicator is used,
below 7 indicates acidity and a pH in which has a different colour in acid or
excess of 7 indicates alkalinity.The base solutions. The colour
pH is defined as the logarithm of the to a marked difference in colour between
reciprocal of the hydrogen -ion concen- the undissociated and ionic forms. Such
tration, (H.), i.e. PH = indicators are accurate only to about 30
Table I gives the pH scale with corre- per cent.
sponding numbers of grants of hydrogen - The electrometric method is based on
Mae per litre of solution, the relative comparing the voltage measured by a
strength of the solution, and typical sensor and a reference potential. A
examples. detailed description of this sensor is given
A vented value does not correspond to a later in this article.
concentration of zero ions, but to one The output potential of the sensor.
which lies at the division between acidity changes by about S9 mV per pH unit, this
and alkalinity: that is a pH of I The con - is a reasonable value which may be
me.ured direct with a do. voltmeter.
Because of the temperaturedependent
behaviour of the pH sensor, a temperature
sensor was thought to be no 'matey. Our
pH hydrogen -ions relative typical
in g/I
pH meter therefore includes a pH sensor
strength example
and a temperature sensor, with the tem-
0 1., 1.0 10 000 000 Zoldn,rooric acid perature correction for the pH sensor
1. OCO gastric juke being made automatically. Moreover, the
' 1 g..01 100 our lemon juice. vinegar temperature can be displayed
0001 10 000 fruit joie% W. independent'y.
0.1
-

I 000 beer
0.01 100 black coffee
Electronic part
O. 001 10 mineral water,
rain water The circuit of the pH meter .es a special
i
t%

0.000 000 1 0 punt. water, voltmeter IC and is therefore quite


' 0.000 000 01 solyition of washIng
oode
straightforward as figure I shows. This
chip, ICI, contains a dual -slope

o 1 '
g:oot ol motborax solution
0.000000 000-01
t00o
soapy water
1 000
film developer
10 000
analogue/digital converter and a complete
LCD drive stage.
Capacitor C2 is a memory for the auto -
2 2 0.000..001 100 000 ammonia solution
3 1 0.000 000 000 0001 1 000000 lime water zero function in the IC. Capacitor C3 is an
q 0.000 000 Gm we on no aro 0.30 10% caustic .0. integrator which is charged via RI. Refer -
,oution capacitor Cl is also part of the dual -
slope integrator. The battery is connected
to the IC (pins I and 281 no switching tran-
4-28 elekter poi 1985
sister T1. This transistor is controlled by a and opamp A2. Switching between the
nucro-switch in the stereo socket for the two reference voltages is carved out by
temperature sensor, it conducts only if the' electronic switches E51...554. The stag -
plug of that sensor has been inserted into mg voltage for measuring temperature and
the socket. This makes an on/off switch pH is preset by R19/P2/R17 and
superfluous. R20/1,3/R18/A3 respectively.
The FOL(arity) output, pin 20, switches on With switch SI in position R/V. the tem-
the minus sign on the display via gate N3 perature sensor is connected between A
when the input signal is negative. The (169 V reference voltage provided by
TEST output, pin 32. arranges a low-battery opamp A4) and R In this way, the sensor
signal on the display if the battery voltage forms a temperature -dependent voltage
drops below 7.8 V divider with R23. At 0°C the resistance of
The LCD display is controlled via outputs the sensor is about 1650 4 and the poten-
Al...GI, A2...02, and A3...G3. The tial at B (with respect to earth) is then
decimal point is set according to the around 1.3 V. The level at IN LO is set to
chosen function by NI and NB. the same value by R. so that the display
The reference voltage is connected to reads 00.0 at 0°C. At higher temperatures,
REF HI and REF LO (pins 36 and 35 the resistance of the sensor decreases,
respectively), while the potential differ- the voltage at B rises, and the display will
ence from the pH sensor is applied to then read a positive value. Similarly, at
IN LO and IN HI (pins 30 and 31 temperatures below 0°C, the display will
respectively). indicate a negative value. The reference
When the reference voltage is suited to voltage is preset with Pl.
the quantity to be measured (temperature Opamp Al at the pH input provides the
or pH) end the starting voltage of the required high input impedance of 10. 4.
measuring range (IN LO) is preset It would be possible to connect the pH
appropriately, the display will give a direct input direct to the relevant inputs of ICI
reading of the temperature or the pH (also IV 52) but switch SI would then have
value. to be of very high quality to provide such
Input REF LO is connected to COM a high isolation resistance between its
(pin 32), which is not the earth connection contacts. As there was a spare opamp
of the IC, but provides a stabilised poten- available in IC2 anyway, we opted for Figure 1. The circuit
diagram of Me pH meter
tial which is about 3 V below the 9 V using that and a cheap switch. The output is based on a special IC
supply voltage. The reference voltage for
temperature measurements is set simply
by RI3/1,1, that for pH determination is
voltage of the pH sensor drifts about
200 uV/°C. This means that the reference
voltage must drift 200 ,,Y/°C in the
=s7=
seneor and a tein'pe'raLPe'
provided by voltage divider R23/P4/R21 opposite direction to compensate for the =rrIt'arnt;i71.CD
sensor drift. This correction is provided is also temperature dependent contr.m
automatically by Opamp A2. The invening sation is provided automatically by
input of this opamp is therefore con- R14 /R15.
nected to the temperature sensor via a
resistor. The ratio RILII12 determines the
drift per °C. Construction
A separate setting by P3 arranges for a The printed circuit shown in figure 2 con-
suitable level at the IN LO input. At tains relatively few component, which
pH = 7, the pH sensor provides a voltage makes construction a fairly simple matter.
of around 0 V, but it is preferable and However, the choice of those components
rnuch more convenient for the display to is /many important. Many resistors (Nose
read 7.00. This is achieved by voltage marked with an asterisk in the parts list
divider R20/P3/RI5 and A3, which com- and a triangle in the circuit diagram) MUST
bine to provide a voltage of 413 my BE metal film types. Thisis not so much
x 59 mV) at the IN LO input. This setting because of high tolerance, but rather to

The pH sensor low electrical resistance In the sensor


used here, the diaphragm is made of a
porous ceramic.
In pH measurements use is made of the The measuring electrode consists of a
potential difference that exists between a silver rod which is bonded to a glass
metal electrode and the electrolyte into membrane and surrounded by a
which it is immersed. Such a potential dif- potassium chloride solution. A potential
ference also exists between two different difference will arise across the membrane
electrolytes. Electrolytes may be acids, which is dependent upon the difference
beans, or salts. in acidity/alkalinity between the buffer
In electrometrical pH measurements a solution inside the sensor and the elec.
galvanic chain is used which consists of txolyte into which the sensor is immersed.
two electrodes that axe elecuically con- The potential difference probably
nected by one or more electrolytes Exter- used by an exchange of sodium and
nally, the two electrodes are intercon- hydrogen ions between the glass and the
nected by a measuring device of very solutions.
high imams resistance As this device The potential difference between the two
draws virtually no current, the chemical electrodes is directly proportional to the
affectedion of the electrolyte is not difference in pH of the butter solution and
the electrolyte. All other galvanic voltages
Several galvanic voltages are produced in cancel one another. Because of the high
the chain which cannot be measured transfer resistance of the measuring elec.
independently. In the sensor used here, node, and to prevent chemical changes in
there are therefore a reference electrode the solutions, the measuring device inter-
and a measuring electrode, figure 4 shows connecting the two electrodes externally
a sketch of the construction. must have a very high impedance input -
As the name implies, the reference elec- of the order of 10.4.
trode provides a fixed galvanic voltage
between it and the electrolyte to be
measured. It consists of a rod of silver Using the sensor
compound which is surrounded by a It should be evident that because of the
buffer solution, potassium chloride, KCI. glass membrane the sensor should be
The potassium chloride is connected with used with care.
the electrolyte via a diaphragm which The sensor used contains a maintenance.
ensures minimal liquid transfer and very free buffer solution. In other words, the
Figure 4. Construction of solution around the two electrodes cannot
the pH sensor used for 4 be replenished. To prevent drying out of
this article. the solution, the sensor should therefore
always be kept in a potassium chloride
solution when it is not in use.
Some golden rules for using the sensor
are:
Never leave the sensor unguarded. A
Protective cap u supplied which should
always be placed over the membrane
side. This cap is filled with potassium
chloride and may need replenishing once
in a while with a KCl solution of 3 mol/
litre (this is available as a standard
solution).
Never touch the glass membrane - not
even with a cloth, because this will
almost certainly destroy the electrode.
MI Before every measurement rinse the
sensor thoroughly in distilled water.
ensure good stability All presets Osr BE but do not yet secure it lust see where p te
10-tum cermet types. ICI MUST SE a type the packing density at the edge of the
7106 and not a type 71060, because that board is least and on that basis determine
has all connecting pins reversed w.r.t. the the location for switch SI and the BNC
7106. socket at the underside of the box. Screen
After all components have been mounted the BNC socket with a piece of tin
on the component side, the display should soldered in position.
be fitted at the track side. Use a 40 -way IC File some slob in the box for the presets
socket which has been cut lengthways as so that these can be operated even when
holder. Note that some types of display do the box is closed.
not have an arrow for battery indication, Locate the stereo socket for the tempera-
but LOW BAT or some other sign. In such ture sensor beside the battery com-
cases it may be that the battery indication partment.
is terminated in another than pin 38. The wiring between the BNC socket and
Then, place the printed circuit in the box, the board is fairly critical use double.

It should not
be done like

But rike this

Never use tap water! Finally, a few words about the hie of the
Before every measurement, take the sensor. Filled with a gel as used here, it
temperature of the electrolyte to be has a life of 1...3 years, depending on
measured. This is necessary because of the number and type of measurements.
the temperature -dependent behaviour of The great advantage of this type of sensor
the sensor. The pH meter automatically lies in its ease of use, it only needs to be
compensates for temperature differences immersed in the electrolyte to be
measured. There are, however, also
Some electrolytes may discolour the separate measuring and reference elec-
glass membrane or the diaphragm. The trodes available (which therefore make
suppliers of the sensor have available a replacement of the buffer solutions pos.
variety of cleaning liquids for specific ible), but these are much more climber
cases some to use, although they have an
At the extremes of the measuring range appreciably longer life. They can also be
(around 0...2 and 12...14) a small given a new lease of life by being treated
metering error OCCURS which cannot be with special aqueous solutions. Against
corrected. Over the remainder of the that, they are also considerably more
range, an accuracy of two per cent is expensive, so that in practice most hob-
attainable provided the calibration has byists will invariably opt for the sensor
been carried out correctly. . used in this article,

aim isas4-31
2

RIM tin

PI ..P5 50 k ten.tum
preset
= 196 metal film

Capacitors:

CS : 4p3/1677'rene
C6,C7 22 s/18 V
tantalum

eMieon.torei
DI 1N4148
TI,r2 = 0C 550 C
ICI =7106
. = liL004
0070

ri."
=4066
Miseeltaneousi
SI = double.pole
rq.01(0.-7'4A41
changeover switch
off pH sensor type 0450
!
. no. 01553001 -
BNC termonation -

Luton
Lal,Santrn
LI.3
A I r '' tvjr1;i7.0
river, Ar
05825976.1
off temperature sensor, 11,,,siffilV2f'..1
type .Y.100 Mild code
Pre -1041h erf-81.2/0,
efs 31, digit LCD di Way
'''''
1 I 11 r""lki I 1 I V Milli
Pd4-"r41-1,-44444)
I oft Memo 3.5 nen socket
Wth Within swimh
off BSIC .01,01
off 9 V power pack
battery
1 off Verohos 65-2996H
handheld hos vain switch
at atr - LlIttlyi
PCB
Moffiodimendons

mm 1.Si. Zig 11 1
rik,....
iv gl,) toter L!It17.1271
el,lciL.-ZIliti
.

kwmfiilip6-,v!
Figure 2. The primed ch.
cuit ii.rd of the pH
meter. The LCD display is
mounted at the track
siEe. oo NOT U. a 7106R
for ICI - only a 7106,
4-32 mu...a. lea
3. This photograph
shows clearly how Me
meter is assembled in Me
case.

screened teflon cable and keep it as short display shows the same value as the ther-
as possible. This is vital because of the mometer.
high isolation resistance required. All Next, set SI to position 'pH' (WS in
other connections may simply be made figure I). Remove the protective cap from
from flexible equipment wire. the pH sensor and thoroughly rinse the
If the pH sensor has not yet been fined sensor in distilled water. Place the pH
with a BNC plug, do so now. Fitting sensor and the temperature sensor in the
should be done with great care: the cable buffer solution with a pH of 7, which
is of a special type with a very high iso- should be at 25°C. Wait a few minutes and
lation resistance. then adjust P3 to give a reading on the
The temperature sensor should be fitted display of 7.00. Remove both sensors from
with a length of standard single screened the solution, rinse them thoroughly in
cable and then inserted into an empty distilled water, and then place them in the
ballpen holder which is subsequently buffer solution with a pH of 4, which again
filled with two -component araldite (an should be at 25°C Wait a few minutes.
example of this may be seen in the photo and then adj. P4 to give a display
of figure 3). The cable should then be fit- reading of 4.00. Remove both sensors from
ted with a 3.5 nun stereo jack, screen to the solution, rinse them thoroughly in
the housing and the conductor to the distilled water, and then place them in the
foremost section. The rear section is used buffer solution with a pH of a The display
for switching the supply voltage on and should then read 9.00, it not, slightly
off. adjust P4, and repeat the pH 4 test. Finally
remove the sensors from the solution.
rinse them thoroughly in distilled water,
Calibration and then place them again in the solution
Buffer solutions with a pH of 4, 7, and 9 with a pH of 7. The display should then
respectively are required for calibrating mad 7.00; if not. carefully repeat the above
the meter, they are normally available calibration.
from the suppliers of the sensor. The meter is now ready for use, It is
Set switch SI to position 'temp (V/R in advisable to calibrate it at regular intervals
figure I). Place the temperature sensor in because of the ageing of the pH sensor.
mixture of water and crushed ice (stir Calibration is also recommended before
well!h wait a few minutes and then adjust meNurement when the meter has not
P2 to obtain a reading of exactly 1.69 V been used for some time.
dc. between the output of opanm A4 This concludes the description of the pH
(pin 7) and eseh. The display should then meter, but for those of you who are
read 00.0. Next, place the sensor, together interested there follows a detailed account
with a clinical thermometer, in a large of the pH sensor.
bowl of water at about 37°C. Again wait a
few minutes and then adjust PI so that the
speech for
microcomputers Speech processing with personal computers is still a very costly and
restricted affair. Fairly simple methods using your own spoken text
need large memories and even then the results are modest. Industrial,
and therefore much more expensive. computers don't do all that
phoneme much better, although they sound better. The phoneme generator
synthesizer with suggested in this article is relatively inexpensive and can be operated
Centronics input with a medium-sized memory.

The proposed phoneme generator is talk!', you'll have to think again. This
based on the type SPO 256 speech pm- article is rather for those who are
cessor IC We set out to produce a com- interested in experimenting with speech.
A phoneme tOtee, 'Wee. prehensive construction plan, complete It can teach you a lot about the structure
sou. I ra. a haste sound
with.pcb and application notes. But prac- of spoken language and the programming
untt et a language. to
Engl.'s and SI art tical work with the circuit soon showed of a phoneme synthesiser. A little
(as we should have known) that it's not as experience in the art of phoneme arrang-
Id map he the same or MI - simple as all that: a pity, but on the other ing can give much enjoyment in coming
latent Icicle, caulk; kirkl; hand the S1,0 256 is by far the cheapest .to grips with the principle of speech
arstl IC may te Me same or
detlerent Is areirupt cork: CiVeth IC of its kind on the market. If you want deliverance.
pl, and the same. quick results ("Hurray, my computer can
the marry ways in which the owl, combi- speech for microcompolers
Phonemes and sounds nation can be pronounced, and It gives
From the definition of a phoneme it is evi- the same sound all sorts of different mean-
dent that any word in a language can be ings and spellings: the same vowel< i>
broken down into a number of phonemes. appears in sft, women, village, busy and
The word 'man', for instance. consists of enough, for instance. Then there are pear,
the phonemes 'M. 'a'. and .11. But here Pair, and pare; site, sight, and cite: sa
again, difficulties arise, Panic.lad], in sew and sow; caught and court; father
English, for there me twenty-six basic let- and farther. German has the same in, for
ters in the English alphabet, but over forty instance, win and sent Cto be' and 'hisl
basic sounds. The English language gets Wetter and Wetter Cpunter. and 'weather,:
around this problem by using the same and Fteech in Pere pain palm Clothe?
letter or letters for different sounds, as in 'peer', stir and mu- Csure and 'on.),
and sot and matt Cfoolish' and 'bucket). Table 1. Correlation
Table 1. If a word can be broken down into between phoneme code.
phonemes, it should be possible to build allophone. phoneme dura.
HMSO, up words born phonemes and it is this tier, a. respresentative
eals° consideration, of course, that lead to the sound.
decimal allophone du Iration concept of speech production by
code ntel 1 liordcHtrel
microprocessor. From the above examples
10 it is evident that speech production by
20 eaw microprocessor is immeasurably easier
'CO than speech recognition. We must bear in
203 pease mind, however, that if a computer utters An allophone IGreek: 'other
OY 290 boy the word min, it could actually mean sounc1.1 is one of the variant
170 reign; which of the two can only be sounds forming a phoneme.
EH 50 ran
80 assessed by the context in which it is
1°Nni
peek used. The human brain can cope; but
0
'4° fume then it has a memory besides which even
lA the most powerful computer memories
111 It
100
pale into absolute insignificance. You will
RR1 130 right also see the enormous problems still to
50 ttottp,e be resolved before we can hope to pro-
03 mefinD duce a computer that can differentiate
TT1 80 between taut and taught or between Mona
ICY
°0 and moaner. None the less, in theory at
EY 200 uy least, it the memory of a computer is
001 ceN loaded with the forty -odd phonemes of
UW1 ompurer the English language. it should be able to
AO
;0° '17 produce all the words contained in our
YY2 110 Yerd language - given a suitable speech pro-
AE mon cess*, of course.
1.1H1 90 he
40 trouble
130 thin The SP0256 as phoneme syn-
UN thesizer
UW2
AW
:1/
250
Mt'" The prototype of the SI,02.56 introduced
wroth
DD2 250 dO some years ago was not really a phoneme
Gm 120 kg sythesize, but rather a speech card
V1/ 130 very
GG1
shrunk onto a chip with a word store a
SH 120 ROM. The later version, the SP02564112,
130 measure is, however, since its internal ROM con -
''11'Kp 80 bring
for Table 2_ Example of a
40 Table 2. simple sentence. the cor.
KK1
22 150 zero ran'er="ral Phin71787C
200 talking hello 27-07-45-53-02 Prodmm
BO look tho 8.12-55-04
WW ISO wire 12-55-04
KR 250 the 8.1404
WH 150 'Werere ekOtor 445-07-08-13-6504
speech 55-0419-5004
LetIp crod 0459-21-02
7:1 counter
EN2 210 Wm 10 IwK=1035 awe
OW late ow 20 rMore 50
80 lathe read 1
SS 50 Hop 40 LPrint C1111.111
NN2 ip nen K. end
130 Zor ro data 27. 07, 45, 53,02
240 stare 70 data 18, 12, 56, 04
AR 200 80 data 12, 55,04
YR 250 99 data 18, 19, 04
GG2 80 100 data 18 , 45, 07, 08, 13, 58, 04
EL fro angle ItO data 56, 09, 19, 50, 04
BB2 bit 120 data CO, 58, 21, 02

A*. in. amt tees4-35


given in figure L The data for the
phonemes are stored in a 2 K ROM. The
synthesizer, which consists of a twelve -
pole digital filter and a five -register gener-
ator, is controlled by addressed data. The
phoneme data detennine on the one hand
which raw sound material is required from
the generator, and on the other with
which filter coefficient this sound must be
processed. The digital, filtered signal is
converted externally into a pulse -width
modulated analogue signal.

Example of application
All necessary hardware is shown
schematically in figure 2. The input of the
small circuit can be connected to any
standard Cello -miles interface. As only the
phoneme data are transferred, the total
data flow is very small. On average, eight
bytes are sufficient for one second's
Figura 1. Block diagram
of the single -chip HMOS 2
speech processor type
5P.ed.. The 2 K
ROM of this new version
contains information for
Me generation of sixty-
four different phonemes.

c2.0mC1.11: diagram

experimental phoneme
synMesMer.

faits data for phonemes instead of for a speech. The phonemes (speech signal)
certain number of word. This is also a generated by IC2 are available at pin 24 as
very economical chip because it is used a digital signal. A small external low-pass
in vast quantities in many industrial appli- filter converts this into an acceptable
cations - with a different ROM content. analogue signal. The required sound
Integrated circuits developed specially for volume is provided by IC3, a simple audio
use an phoneme generators, eg. the SCOT amplifier of the well-lcnown type LM 386.
produced by Votrax, are considerably Programming is relatively simple: all you
more expensive, although to our ears this have to do is to write in the appropriate
IC produces a clearer, albeit American phoneme code from the list in table 1.
3 rather than English, sound. This American These data are then transferred to the
influence is also evident in the print interface by [.Print. As an example,
SPO256AL2 which stores fifty-nine the sentence 'this is Me elektor speech
phonemes, listed in table I, although card' and the relevant phonemes are
English linguistics and phonetics given in the upper half of table 2, while
recognize only forty -odd phonemes in the the corresponding BASIC program is
Received Standard. This is a pronunci- listed in the lower half.
ation of English which gives little 00 no This M only a small example, but we hope
clue to the speaker's regional affiliations. that you will soon progress to bigger
The synthesis of words from phonemes is things! Have fun!
115008-2
comparable to a jigsaw puzzle. Particularly
in the beginning it seems almost imposs- Literatere
ible to get the correct phoneme, but after talk to compacts by 11 P Baumann,
a while your ear will become attuned and Elektor, May 1981, p 5-17
Figure 2. The pin eon -
word formation is then feasible. talltheg hoard, Elektor, December 1981, p.
=2. the The block diagram of the SP0256-AL2 is 12-04
4-36 am mat, ev,ii nes
In the first three parts of this series we
4)
have discussed the possibilities of BASIC
in general, as a programming language
for computers. In this final part, some
aspects of 'Extended BASIC' will be
described. The possibilities offered by
NIBL (the BASIC dialect used for the
BASIC microcomputer described in
Elektor, May 1979) will also be dealt
with.
First, however, some general programming
tips are in order - as well as tips on 'de-
bugging' programs. by means of the LET statement. Setting variables
t zero may seem unnecessary, since it is often
done automatically when the computer is switched
on. However, this is not always the case and,
f rthermore, the variables may well have been
a signed a new value in the course of a preceding
program. In general, 'initialisation' is advisable.
I several variables are used in a program, it is a
good idea to keep a record of the variables already
used and their meaning. A suitable system was
gven in Part 2 (figure 2).
Only reasonably experienced programmers should
attempt to tackle a long and complicated program.
Very often, long programs can be 'split up' into
several short sections. Each of these can be tested
Programming tips
separately, and when they are all running properly
Programs will normally be required to perform they can be 'glued together', producing the com-
calculation, control a system, or for some similar plete final program.
task. The first thing that must be done-before
even thinking about the program itself - is to
define the problem carefully. For a calculation, for
instance, it is important to know what values the Debugging
input data may have, whether or not they can be Once the program has been written, it is time for
positive, negative or zero, etc. If some form of the first trial run. At this point,the general validity
system control is required, it is important to know of the Law of Cussedness becomes apparent: it is
nwhat order various actions must be undertaken rare indeed for a program to run properly first
and what can go wrong! Problems when running time. The next step, therefore, is debugging.
a program are often the result of incomplete or Possible errors can be divided into two categories:
inaccurate definition of the task to be performed. those that can be detected by the computer
Once the task is known, the new step is to draw itself rprocedure errors') and those that only
up a flow chart. This provides a clear overview of become apparent from incorrect execution of the
the basic structure of the program; possible program l'execution errors').
simplifications, improvements or modifications are Procedure errors are usually discovered by the
often immediately apparent. Sometimes it will be interprmer, when It attempts to translate the
discovered that the program can be simplified instructions into machine language. In some way,
considerably by slightly modifying the definition the instructions don't conform with the rules
of the task. For instance, it may be useful to add of BASIC. These are 'silly' mistakes, usually-
'call for help to the (human) operator' if a rare otherwise the computer wouldn't find them!
exception occurs, instead of laboriously writing -like typing PRANT instead of PRINT, or
a whole section of program to enable the computer A = C (B .11) instead of A=C CO. Both
to solve that particular problem on its own. For of these examples are so-called 'syntax errors',
that matter, one should not expect miracles of as discussed in Part 2. The computer will often
the computer: any programming venture is indicate the program line as well as the type of
doomed to failure unless the problem is fully error l'SNTX ERROR AT 40'1; this, of course, is
understood for the task fully described) before a great help.
starting to develop the program. A practical example of computer -aided error
When it comes to the program itself, it is a good correction can be obtained by deliberately inser-
idea to start with an 'initialisation' procedure: all deg mistakes in one of the program examples
variables are given an initial value (usually 0 or lb given in Part 3:

earn°, in. basic 29


After the first RUN command, the interpreter
started to translate and execute the program. At
line 40, it found the first error (I LPUT instead of
INPUT) and printed a warning. Atter correcting
this error, we tried again: 'RUN'.
Everything now goes smoothly until line 70:
NEXT what? There is no preceding FOR state-
ment! This is added at line 55, followed (with
bated breath?) by RUN. No luck. There's some.
> 10 REM CALCULATION IF A! thing wrong in line 80. A 'character error'? After
> 20 LETN=1 studying the description of the PRINT statement
> 30 PRINT "ENTER A" as it applies to NIBL, we suddenly realise that the
> 40 ILPUT A semi -colon is only used at the end of the complete
> 501F A <= 1 THEN 90 statement (to suppress the Carriage Return and
Line Feed). In NIBL, different sections within
> 60LETN=NYX the PRINT statement are separated by comma's!
> 70 NEXT X (Note that in 'normal' BASIC this would result
> 80 PRINT A; "I ="; N in a print-out in Yones'.).
> 90 END Now, at last, Me program runs right through to
> RUN the end. The'procedureerrors' have been found ...
but the final result is wrong! It's time to take a
ENTER A closer look at the program, as stored in the com-
puter memory:
SNTX ERROR AT 40
> 40 INPUT A
> RUN
ENTER A
? 3

NEXT ERROR AT 70
> 55FORX=1TOA
> RUN > LIST
ENTER A 10 REM CALCULATION IF A!
20 LET N = 1
30PRINT "ENTER A"
40 INPUT A
CHAR ERROR AT 80 50 IF A < = 1 THEN 90
> 80PRINTA,"!=", N 55 FOR X = I TO A
> RUN 60LETN=NOX
ENTER A 70 NEXT X
7 3 IMPRINT A, "I ", N
3! = 7 90 END

BRE AT 90 > 10 REM CALCULATION OF A'


> 60 LET NN X
> RUN
ENTER A
3
31.6
BRE AT 90

basic 30 eisictor India


EledSC
(Ft'Pall )
At last! We have located the two remaining errors: If the error indications refer to a program line,
a) a spelling mistake in the REM statement-this the line number is specified. 'SNTX ERROR AT
has no effect on the execution of the program, 30', for instance.
but it looks better if it's corrected;
b) in line 60, we had entered N X instead of Extended BASIC
Extended BASIC-also known as 'advanced
BASIC' - is a mom flexible dialect of BASIC.
In complicated programs, debugging is apt to be a Some of the more important additional facilities
more time-consuming process. Some additional can now be explained. It is interesting to note that
PRINT statements can be a great help - printing some of these are also known in NIBL.
out intermediate results, so that the point at
which the error occurs can be located more rapidly.
For instance, in the example given above an Arrays
additional '65 PRINT N,X' would have helped to Use of arrays can sometimes simplify (scientific)
locate the fault. Once the program is running calculations. An example of a one.dimensional
properly, the 'redundant' PRINT statements can array is: All), A(2), A(3), A(4). Alp). In this case,
be deleted. Another trick is to run the program the array consists of five variables. These are
several times, with different values for the input referred to as the 'elements' of the array. An
variables. This often gives a good indication of the element is represented by one letter (referring
type of error that is occurring. to the variable), followed by a number in brackets.
Overflow and underflow can also cause problems: Only numbers between 1 and 10 are normally
the result of some intermediate calculation is too permitted, although in some BASIC dialects 0 can
large or too small. In some cases, this can be solved also be used. Alternatively, it is often permissible
by a minor modification in the calculation. For to include a variable or an expression in brackets
nstance. the statement instead of a number: A(X) or A(2 + 3). Use of
LET X = (C/IA-BI + B) (A -13) arrays can be illustrated as follows:
will result in an overflow for A = B, even though
the calculation itself is mathematically valid. The 10 REM EXAMPLE OF ARRAY
computer will attempt to divide C by zero-it ISLET N
hasn't got the sense to multiply by A -B f irstl This
problem can be avoided by rewriting the statement 20 FOR X = 1 T08
as follows: 30 INPUT A(X)
40 N = N +A(X)
LET X = C + B (A -BI. 50 NEXT X
Sometimes it is useful to stop the computer at
60PRINT N
so me point in the program. One way to do this 70 END
is to add an INPUT statement: the computer will
stop at this statement, print a T, and continue In this program, the elements All ) to A(8) of the
with the program as soon as a number is array are entered and added consecutively.
entered. In some BASIC dialects a special state-
ment exists for this: STOP ... An array can be extended to more than one
'dimension'. A two-dimensional array, for instance,
Finally, a list of error indications as known in
could be as follows;
NIBL should prove useful:
AGM A(1.2) A11,31
indication meaning
A(2,1) A(2,2) Al2,31
AREA ERROR the program memory is 'full'
CHAR ERROR character error in a statement column
DIVO ERROR division by zero
END" ERROR no quotation marks at the end
of a 'string'
FOR ERROR FOR without NEXT
NEST ERROR too many loops within loops
NEXT ERROR NEXT without FOR
NOGG ERROR the line number specified in a
GOTO or GOSUB statement
does not exist
RTRN ERROR RETURN without GOSUB
SNTX ERROR syntax error Cbad language')
STMT ERROR statement used incorrectly
UNTL ERROR UNTIL without DO
VALU ERROR 'wrong number' (too large or
incorrect format)

eis or Ind. basic 31


03
GodS _r

This array contains two rows and three columns.


It is dealt with in the same way as a one-dimen.
sional arraY.
If more than 10 elements are required in a one-
dimensional array or more than 10 x 10 in a
two-dimensional array, a DIM statement can be 10 DEF FNBIX,Y1
used to extend the range. For instance,
20 A= 0+ Y
DIM A 1501,13(20,20)
3013--X.Y
reserves 50 memory locations for the elements
of the one-dimensional array 'A' and 20 x 20 40 LET FNB=
1=4001 locations for '6'. A DIM statement is 50 FNEND
normally included at the beginning of the pro. 00 PRINT FNB (3,4/
gram. 70 END

User -defined functions


It is often the case that a particular program
section is required several times in the course of
one program. One solution is to include it as a
subroutine, as described earlier. A further possi-
bility is to define it as a 'function'. An example:
As before, the key -word DEF is followed b the
tram of the function and the dummy vari bite
(FN 10,011. Then a calculation is specified, sing
thee dummy variables, and a final value (the
result of the calculation/ is assigned to the unc-
> 10 Em USER DEFINED FUNCTIoN tion. The multi -line function is conclude by
'FNEND'.
> 20 DEF FNA(X,Y) -(X. Y) IX
> 30 INPUT A, B Library functions
>40 INPUT "FNA 4", FNA 10,01
Some standard functions l'SINIX)', for instance/
> 50 END were introduced in Part 3. Extended BASIC
> RUN dialects usually include some further functions,
) 3,4 referred to as 'library functions'. An extensive
FNA 19 survey of all the possibilities would be rather
000 AT 50 pointless, especially since these functions vary
from one BASIC dialect to another.
One example, however, is worth mentioning: it is
common to most advanced BASIC dialects and it
is also known in NIBL. The 'AND' function
generates a random number in the range from
0.000 000001 to 0909 999 999. This function can
In this example, a so-called oneline function 's be used to generate a random number between
deli ad in line 20. After the key -word 'DEF' If r 1 and 6, for instance, as follows:
defe ition) the name of the function is specifie .

This always consists of FN followed by one r


lie some BASIC dialects) more than one letterls
After the name of the function. FNA in this case,
'dummy variables' are given in brackets. Final! ,

after the '=' sign, the necessary formula is define


using these dummies.
When this function 0 specified in the program 10 REM A.= RND
(in this example this occurs in the PRINT state. 20 LET A= RND
menton line 401 the following steps are performed.
,The values of the specified variables (A and el at
00. Act
40 LET C= (NIB
assigned to the dummy variables, so X = A = 3 an
Y= = 4 (line 30 has already been executed! .
50 PRINT C
Then the calculation is performed, as specified i 60 END
line 20:
FNA(A,B =FNA(3,4( =13,41-c (3 41 = 19
User.defined functions can also run over several ,
program lines. Not surprisingly, these are referred
to as multi -line functions An example:

bs..c memo, India


AS=C
CPAR-4)
In line 20, A is assigned a random value between The TAB statement in line 40 specifies that the
0 and 1. Then B becomes equal to a random first digit of 'B' must be printed in the 15th pos-
number between 1 and 7, and C is the 'integer' of ition on the line. Similarly, the first digit of 'C'
this. C therefore becomes a random whole number will be printed in the 30th position. It should be
between 1 and B. In this example, the various noted that the TAB Statement will not cause the
steps are spread over several program lines, for printer to 'back space', if it has already passed the
clarity. In practice, lines 20 to 40 would normally specified position the TAB statement will be
be run together: ignored. For instance, if the TAB positions in the
example given above are reduced to 5 and 10,
20 LET C= INTI6 RND + 1) respectively, and ever larger numbers are printed,
As mentioned earlier, this function is also defined the result might be as follows:
in NIBL. It is entered in a slightly different way: 1 2 3
RND (initial value, final value)
This generates a random whole number INIEIL 111 222 333
doesn't recognise decimal fractions!) between the 111112222233333
values specified. In NIBL, the example given above 111111122222223333333
corresponds to a very simple program:

10 REM RND IN NIBL


20 C. RND(1, 6/
30 PRINT C
40 END

The TAB statement


The TAB statement is an exNnsion of the PRINT
statement. It is used to specify the position on a
line in the print-out where a number or text should
start. An example:

Strings
Computers can not only manipulate numbers:
texts and (random) groups or 'strings of charac-
ters can also be dealt with. A BASIC dialect with
10 REM EXAMPLE OF TAB extensive 'string -handling' capabilities can, for
20 INPUT A, B, C example, print out a list of names in alphabetical
30 PRINT A; order.
40 PRINT TAB(15), B; Variables can be used for string -handling. To dis-
50 PRINT TAB/30), C tinguish them from numerical variables, 'string
variables' are followed by some special symbol -
80 END '5', for instance. String variables (also referred to
as alphanumeric variables) therefore consist of a
letter followed by a symbol: A$, 8$, CS, etc. The
length of a string is usually limited to 15 charac-
ters, including spaces. 'JOHN BULL' consists of
nine characters, not eight( The following program
is an example of string -handling:

eleinor india basic 33


msac
(PAR -0
(group of binary bits) in a memory location.
Similarly, the PEEK statement is used to retrieve
a byte from a memory location. The way in which
the memory location should be addressed depends
on the microprocessor system in question. NIBL,
for instance, is designed for the SC/MP system. It
> 10 REM STRING HANDLING
uses the A symbol to address the memory, making
> 20 READ At A. B$ for extremely simple and clear PEEK and POKE
> 30 PRINT A$,13$, A statements. This is described in greater detail
> 40 DATA "ELEKTOR,", 50, "ISSUE under 'NIBL statements'.
> 50 END
> RUN Logic operators
ELEKTOR, ISSUE 50 A 'logic operation' is a well-defined manipulation
BRK AT 50 of binary numbers. A full description is outside
the scope of this series: the principles are explained
in detail in 'Digibook'.
Most BASIC dialects (including NIBL) recognise
the logic operators OR, AND and NOT. All other
operators can be formed by combining these three.
A few examples:
IF (X= 1 ANDY= 1) THEN
If both conditions are met IX = 1 and Y = 1), the
- itle;d1Pej operation or jump specified after THEN is
executed.
In li e 20. the alphanumeric variable A$ is assi ned Y = NOT X
the value' ELEKTOR, (specified in line 401, A V is assigned the inverse value of X. Bear in mind
bec mes 50 and B$ becomes ISSUE. In lin 30, that logic operators refer to binary numbers
these 'values' are printed in the specified o der. (usually 16.bil numbers in binary systems). To
Some further examples may serve to illustrate the take a 4 -bit example, for clarity: the inverse of
posibilities of string -handling: 31= 00111 is 121= 11001.
The order in which the operations are performed
LET AS. B$ in a calculation (see Part 2, 'Arithmetic') is as fol.
LET AS = -TOM" (note the quotation marks)) lows:
IF AS = B$ THEN.... OR has the same 'priority' as + and -;
IF AS <= B$ THEN .... AND has the same priority as and /;
The final example may seem rather surprising. NOT has the highest priority.
How can the computer decide whether TOM is
larger or smaller than TIM? The thing to realise is Timesharing
that all characters - numbers, letters and other In timesharing systems, several users are connec-
symbols - are stored in the computer memory in ted to the mme computer (often via telephone
ASCII (American Standard Code for Information lines). Usually, a fairly straightforward BASIC
Interchange). This is a binary code, so each charac- dialect is used but the commands can vary con-
ter can also be considered as a (binary or decimal) siderably. Full details will always be contained
number: in the 'timesharing manual'. One significant differ-
A = 01000001 (ASCII) = 65 (decimal) ence in many of these systems is that the symbol
B = 01000010 (ASCII) = 66 (decimal) for 'raising to the nth power' (t) is replaced by
two multiplication symbols: For instance,
etc. 'three squared' 13') is entered as 3..2, not as 302.
The complete code is listed in Elektor 43,
November 19781p. 110).
Apparently. A is less than EH This information can
be used to list a random collection of words and NIBL statements and capabilities
names in alphabetical order. The Elektor BASIC microcomputer uses NIBL.
The (limihd) string -handling capabilities in NIBL For this reason, the Elektor BASIC course is
differ from the principles outlined above. Since rounded off with some further explanation of this
use is made of the fact that memory locations can particular dialect of Tiny BASIC. Some of the
be addressed directly, it is better to come back to possibilities are related directly to the SC/MP
this in the section devoted to 'NIBL statements'. microprocessor; if these are to be used, a general
understanding of the 5C/MP is therefore required.
PEEK and POKE For this, readers are referred to the series
The PEEK and POKE statements are normally 'Experimenting with the SC/MP' (Elektor,
limited to BASIC dialects developed for micro- November 1977 ... March 19781; it is the inten-
processors. tion to publish these articles in book form, with
The POKE statement is used to store a 'byte' some additions, later this year.

Neat 39 elektor mete


Eaedsac
CPAR-4)
The MOD function modified as required in the course of the program,
This is really a library function' that can be used so there is little Point in presetting them.
to extend NIBL's number -handling capabilities to The main advantage of STAT is that it gives direct
include fractions. In a sort of a way, that is . . access to I/O lines on the SC/MP chip. It can be
MOD IX, V) calculates the absolute value of the used to scan the 'sense' inputs and set the 'flag'
remainder after the division X/Y. A few examples: outputs.
14/3 = 45/s. The remainder is 2, the absolute value
of 2 is 2. so MOD114,31 equals 2.
-25/7 = -30/. The remainder is -4, the absolute Hexadecimal numbers
value of -4 is 4, so MODI-25,71 equals I. Only whole numbers are recognised in NIBL. So
In this way, the statement V = MOD(3,4) makes far, we have assumed that these must be decimal
the variable V equal to 3. numbers. NIBL can, however, also work with
hexadecimal numbers.
decimal hexadecimal
The TOP funetkm system system
The TOP function calls for the address of the first 0 0
unused memory byte in the current memory. This 1
is equal to the 'top' of the unused memory area: 2 2
byte 1
3 3
4 4
byte 2
5 5
program 6 6
7 7
8 8
9 9
10 A
byte n 11
byte n + 1 TOP = n + 1 12
13
14
15
16 10
17 11
18 12
This function is useful when looking for a 'vacant etc. etc.
slot' for immediate addressing - in other words,
when the operator wants to store data at a specific
point in the memory. A hexadecimal number is preceded by the '0' sign.
For example:
Psaidonntriebles
Two so-called pseudo -variables are known in
NIBL: PAGE (discussed in Part 2) and STAT.
Both can be included on either side of an 'equals'
sign:
'LET Y = PAGE' makes V equal to the 'page
number';
'LET PAGE = Y' makes the page number equal > 10 A= *IF
to Y. > 20 PRINT A
The pseudo -variable STAT refers to the status > 30 END
register in the SC/MP. It can be used to request a
print-out of the content of this register: > RUN
PRINT STAT 31
On the other hand, it can be used for 'presetting' BRK AT 30
the status register to a desired value:
STAT = 15
As usual, the 'value' after the equals sign can be a
number, a variable or an expression. This is first
converted into a Single binary number and then
Stored in the status register; if necessary, the
'interrupt enable' bit is first cleared.
Obviously, only one byte (8 bits) can be stored in
the status register. The low -order byte (least sig-
nificant bits) is used; the 'high' byte is ignored.
The carry and overflow bits will of course be

WWI inche bas. 35


BAKC
4PAR-4)
The indirect operator String handling
In NIBL, the PEEK and POKE statements are The string.handling capabilities in NIBL are rather
replaced by the 'indirect operator' @. The @ sym- limited, but 'a little gumption Ion the pert of the
bol is followed by an address (given as a number, programmer) goes a long way'. Note that the string -
a variable or an expression); it refers to the con- handling methods in NIBL are completely differ-
tents at that address. In this way, the contents at ent from those described earlier!
address 515 can be called up and assigned to a The statement INPUTS address can be used for
variable, for instance: entering a string. For example:
LET X = @ 515 80 INPUT S 6150
If the contents of memory location 515 were 25, When this statement appears in a program, the
X is now equal to 25. computer responds by printing a question mark -
By placing the indirect operator before the 'equals' as with a normal INPUT statement. A string
sign, data can be stored in memory: (consisting of a series of characters) can now be
@ 515 = 31 entered, followed by CR (carriage return). This
stores the value 31 at memory address 515. In the string of characters is stored in consecutive mem.
same way, data can be copied from one memory ory locations, starting at the specified address
location to another. Copying '515' into '530', for (6150 in the example given above). No quotation
instance: marks are required (these would simply be stored
@530=@515 as part of the string). Note that the final CR is also
Although arrays are not known as such in NIBL, stored at the end of the string.
the indirect operator can be used to obtain the It is also possible to specify an address in hexa-
decimal: INPUT $#180A.
-

same result. Provided the numbers in the array are


all positive whole numbers between 0 and 255 Another way to store a string in memory is to key
(8 bits' ), any element in an M x N array can be
defined with a little care. To take a 4x 5 array Saddress= THIS IS A STRING
Having stored e string, further manipulations,
(M = 4. N = 51 as an example:
checks etc. can be carried out by means of the
indirect operator @. It is also possible to transfer it
from one series of memory locations to another:
1711:111:71110133 Sdestination address = Spresent location
WIffi.1111111FAMAIIMI R wl } M Rows This causes all characters in the original string
VAIINALIEEESII221 (starting at the specified 'present location') to be
EFIMEXOLE1EULEJ copied one at a time into the memory locations
starting at the specified 'destination address'. The
Column CR is also copied, and recognised as the end of the
string. Note that the series of addresses used as
N Columns 'destination' should on no account overlap with
the 's addresses'. This can have disastrous
results, evenource to the point where the whole current
Assuming that this array is to be stored in memory Page of memory is erased!
from address A (and provided there Is enough
room 'below' A to fit the whole array)), the
elements will be stored at the following addresses:

adress element
A 0.0 QUESTIONS
A+ 1 0,1
1. What is the difference between a procedure
A+2 0,2 error and an execution error?
A+3 0.3 2. Is a DIM statement always required when using
A+4 0,4
arrays?
A+5 1,0
3. What is the difference between the user.
A+6 1,1
defined functions FNAIX,Y) and FNBIX,Y)
A+7 1,2
on page 32?
A+8 1,3
4. Does a TAB statement always produce a print
etc. etc.
out at the desired position on the line?
5. What error indication will be produced in NIBL
Element 11,2). for instance, is stored at address if the following lines are entered?
A + 1 x 5 + 2 = A + 7. In general, the Position of 10 A=B;D= 1
any element 1141 in an array (M.N) can be 20 C =
specified as @ (A + I.N + JI. Admittedly, this a 6. How is a string variable represented?
mom clumsy than specifying MIA) - but it does 7. What is the decimal value of the hexadecimal
work. number 1B?

dia. 38 ale., ilia


CPA
GLOSSARY ANSWERS TO QUESTIONS IN PART 3
1. It is permissible to enter more information in a
data block than required. The redundant infor.
Illation remains unused. Storing insufficient
data will result in an error indication.
2. The REM statement is used to add 'reminders
Alphanumeric variable that will prove useful at a later date, when a
See string variable program listing is requested.
3. If one runs short on memory space, the number
of REM statements may have to be reduced.
Bug 4. In general, the use of 'jump' statements will
Error in program. have little or no effect on the execution time;
they merely reduce the amount of memory
Byte space required. If a compiler is used, the initial
Binary code consisting of several bits (usually translation may require less time.
8). 5. If negative steps are specified in the FOP
TO ...STEP ... statement, the final value
Dummy variable should be less than the initial value.
Variable specified in a userdefined function. S. Subroutines simplify programming and use less
mamOrY
Execution error 7. Jumping out of a FOR ... NEXT... or
DO ...UNTIL ... loop almost invariably causes
Error that occurs when a program is running.
problems, since the computer will still be
Expression
looking for another NEXT statement or waiting
for the UNTIL requirement to be fulfilled.
(Mathematical) operation.

Hexadecimal
Number system with base 16. The digits run
from 0 to F.

Indirect operator
The symbol @, used in NI BL when address-
ing memory locations.

Initialisation ANSWERS TO QUESTIONS IN PART 4.


The specification of initial conditions (initial 1. Procedure errors are those where mistakes are
values of variables etc.). made in the BASIC language used (keying
errors and the like). These errors are usually
Library functions detected by the computer, unlike execution
Additional functions in some Extended errors( the latter refer to cases where a program
BASIC dialects. is keyed in that could be correct, but isn't what
the programmer intended. The program will run,
Logic operator but it will come up with the wrong answers.
gui openers,
Logic 2. A DIM statement is only required for arrays
are used for binary logic operations.ANDRand NOT, larger than 10 or 10x 10 (one. or two-dimen-
sional, respectively).
Procedure error 3. Both user -defined functions will perform the
Errors that are detected by the compiler or same calculation. The only difference is the
interpreter: mistakes in the BASIC language number of program lines-and thus the amount
used. of memory space required.
4. A TAB statement will produce a printout at
String the desired position, unless this has already
been passed. In that case, the TAB statement
A group of characters (letters, numbers, etc.).
will be ignored.
String variable
5. In line 10, A is made equal to B. Therefore, in
line 20 D is divided by zero. In NIBL, this
Also referred to as 'alphanumeric variable', results in the error indication DIVO.
this is a variable to which a string can be 6. A string variable is represented by a letter
assigned instead of a (numerical) value. followed by a dollar sign: AS.
7. The hexadecimal number 1B corresponds to
User -defined function the decimal number 27. This can be found by
A function defined by the programmer. extending the table given on page 35.

eleknor inoie hem 37


BAB=
CPAR-4)
Summary of symbols, statements and Input/output statements
commands INPUT variable(t) This statement causes the corn-
PMer to request keyboard anti)),
of wluels) that must be &signed
to the specified variable(s).
READ:v..0s) The variables) listed after Me
READ variable(s) READ statementft) are assigned
the data wluels) given eftin
DATA data, data . . DATA statement.
Symbols RESTORE This statement caws the data
block to be re -used from the
10 statement A number at the beginning M Pm. beginning.
gram line i.icates Mat the following
statement is part af t. Program. Ibis statement causes the text
PRINT "TEXT$
Colon, u. as separation beThwn includ. in quotation marks to
statements, if more than one state- printed out.
ment is to be print. on the same PRINT 23 33 The expression leg 2A #31 fol.
line. lowing 'PRINT' is carried out
a. the result is printed.
Symbol used in sientific notation. PRINT The semi.colon can be used to
The num.r following the E .ines sewrate gross of symbols ancli
the number of places over which Me
decimal point must be shifted.
or expressions to . Print.
A sennoolon at the end of the
addition .tement causes a following
subtractiOn PRINT satement to be .rried
multiMication mathematical out on the same line.
division operations PRINT By using commas, Me sint-out
involution can be divided into 'tows'.
Symbol often used in timo-Moring TAB(posttion) This causes a print-out at the
systems inste. of 1). specified position.
equals N
<>or>< is not equal to PEEK(decimal addren) This is a request tor a Pr.-.
greater Man of Me decimal wlis StOrad in
smaller than the decimal address sositied.
greater than 7,7171O'n POICE(decimal address This mores Me decimal value in
or equal to and value) Ms specif
< & or a< smaller than
or equal to 3 REM text The sscitied text aPPears in
0113 listing, but has no effst on the
Logic operators. Program.
NOT
Veriousstatements
'names' of wriables LET Statement, by means of whi. a
or value can be assigned to a
Symbol used in a string variable. For variable.
example: A$ ELEKTOR RND Library functioo generates a
*131 Element ina one-dimensional array A. random number.
813,5) Element ina two-dimensional array B. DEF FNAIX,Y) expression One -line funsion. FNA is
the function name) X and
These sowalled 'prompt' sym.ls can Y are the dummy
>') be printed by the .mputer at Me .1es used in the mums,
beginning of a line. don.
LIEF FNAIX,Y) Multbline 1 unction. TM state.
mann between DEF FNAIX.Y)
Backspace. This key is wad when and FNEND.desribe the tuna-
.rrecting keying errors. tion to be calculated) the ex-
BREAK A key on the terminal Mat is used to pression assigns Me calculsed
stop the program. LET FNA expression values to the corr. dummy
FNEND variables.
CR Carriage Return (return to beginning
of line in display). DIM A1501 These statements reser. ad-
LF Line feed (move to next line in dis- DIM 13120, 301 ditional memory space for large
arrays.
play). This is normally carried out
in conjunction with CR ;carriage END . This statement indicates the end
return). M a program.

hats 38 elektor
HAS _r
<PLod

Jump/loop/subroutine.tements Special NIB L statements and symbols


causes a jump to the # This symbol indicates that the f ol-
GOTO line number This
specified line number. lowing num.r is in hexadecimal.
Symbol for indirect operator.
IF conm.
... THEN line mender If Me result 55 555 comparison S Symbol used in a string variable.
... THEN statement after IF is true, the computer Nom that in NI BL this proceeds the
... GOTO line number lumps' to the specified One variable.

iIsn m.mxn.b
number; otherwi

oseMm
gI iam.

nent eon PRINT Teomma D


SinAEL sEeKpaTraOR .

eg
of symbols and/or expressions to be
..
given inste. of a line number; printed. A semi -colon at the end of a
if a jump to a line number is PRINT statem.t will result in the
required 'GOTO' must be used following PRINT statement .ing
inst.d of 'THEN'. mrried out . the mine line.
OR ... TO ...STEP A 'running variable' is assigned NEW n This commend lin NIBLI eras. page
an 'initial value', bof h as speci- no the memory, preparatory to
fied after FOR Inn FOR A=D. storing a n. pr.ram.
The statements between FOR This .mrnand lin NIBLI causes the
and NEXT (Me 'FOR -NEXT FAXES
computer to jurnp to PPM n. reedliing
131,10 are then carried out: the marnputes to store lor modify/
Me running wriaMe is increas.
a program there.
by the specified step (e.g.
after which the FOR. MOD (X, lq A I.e. function Met Minslatest.
STE(/5),
absolute value of the remainder aher
NEXT At is repeat.: and so
on until the 'final value' speck a division (X/Y).
fied after TO (ag. 0090) is STAT Pseudowari.le, used for reading or
reached or exceeded. If no modifyi. the contents of the status
STEP is specified, the pep is register in the SC/NIP.
automatically taken p #1. TOP Library function, requesting she dee,
rnal value of she I irst unused memory
This loop. is known in NI.. location in Me current memory.
The statements between DO a. The pr.ram is continued in machine
LINK (address)
UNTIL are rep.. until Ow language, from the address i.icated.
NTIL comp. comparison specified after The .dress must be given as a dmi
UNTIL beco.n 'true'. rnal number.
OSUB One number This c.ses a jump to the sub-
routine that starts at the speci-
fied line number.
RETURN Last statement in a subroutine: Error indications as known in NIBL
it causes a jump back to the AREA ERROR the program memo. is ',O.
main Program. CHAR ER.R charamer error in a statement
DIVO ERROR division by zero
Comma END- ERROR no quotation marks at the end of a
CLEAR This command mn be given 'string'
FOR ERROR
before re -running a pcogrem. FOR without NEXT
RUN -j.0....nd equ,,,, the ,q..NEST ERROR too me, I.ps wiMin loons
NEXT ERROR NEXT without FOR
PPP to execute the Program the line number specified in a GOT.
NOGO ERROR
' STOP This stops the Program ex. or GOODS smtement does not exist
minion; the program is con- RTRN ERROR RETURN wishout GOODS .

anued when the CR key is open ONTO ERROR syntax esror Mad language')
Pad. STMT ERROR statement used incorrectly
LIST This command init.. 9 PDF," UNTL ERROR UNTIL withom DO
out of the program. VALU ERROR 'wrong number' (too large or inc.
LIST n The program is prim. out from rect formet1
line n.
List prn The program is prim. out iron,
line n to li, m.
SCRATCH, DELETE, These comma.s cause t. pro -
PURGE, NEW gram memory to . erased.

Pektor ondia basic 38


i
output pOWOr nomOgrOrei

output power
nomogram
This nomogram has been prepared by the
editors in response to regular requests
from readers. When the required output
power and the loudspeaker impedance are
known, the nomogram can be used to find
the associated voltage and current. It can
actually be used as soon as any two of the
variables are known-to find the remain -
Pie the continuous (sine wave) Power
R1,, is the impedance of the loudspeaker
Veff is the effective (RMS) output voltage
0 is the peak value of the output voltage
swing
fell and I ace the effective and peak
WATT:AIItf
values of the current swing
The Power supply must deliver at least
2 V 4 volts (measured to the lowest
edge of any ripple waveform). For a stereo
amplifier, it must be rated for at least left.
"Music power"-depending on the power
supply and the Output stage heat sink-can
be anything from Ito 20 x ...!
Example (see dashed line):
For 20 watts into 8 ohms we find
= 18 volts and laf = 1.6 amps. So the
power supply must be rated to deliver
2 n 18 4 = 40 volts at 1.6 amps. H

NAL. Mg. 1.1 ISS6 4-37


When Sinclair introduced a new Spectrum last autumn, they at last
acknowledged that the poor keyboard on the old Spectrum was
allowing the competition to take over slices of what had been a safe
Sinclair market for some time. It is gratifying to see that they have
finally decided to right this abomination.
The new machine is type -coded Spectrum+ and is a much more
user-friendly unit that can stand comparison with any other computer
in its price class. Its faint resemblance with its bigger brother, the
CIL, gives it an impression of solidity. Inside it has remained very
much the same. And why not? Apart from its miserable keyboard,
the old Spectrum, with its wide-ranging BASIC and its really useful
graphics, was one of the best -value -for -money home computers
around.

new
keyboard
for
Spectrum
.. makes The noteworthy aspects of the new as we had designed the present circuit
keyboard are not just the much easier to before the Spectrum+ had been
programming operate keys, but also a large number of announced.
easier single -key operation, which on the old Figure 2 shows what the Spectrum looks
Spectrum were only available by pressing like when the keyboard cover and the
mom than one key at the same time. This conductive silicone rubber sheet directly
makes programming and particularly undemeath it have been removed. The
editing a lot easier. circuit diagram of the 8 by 5 scanner
If you have an old Spectrum and would matrix that has become visible is shown in
like the facilities of the Spectrum+, figure 3. Each switch shown in the
without buying the new version. the cir- diagram represents a key contact. The
cuit suggested hem is for you. numbering is arbitrary and has no special
significance. This matrix is also present t-
ur proposed new keyboard, with the din
The new keyboard ference, however, that the touch -keys have
The layout of the new keyboard is shown been replaced by full-size keys: this gives
in figure I. All keys of the old keyboard a feel that is similar to that of a typewriter
have been retained, and new ones have and entry speed is, therefor, much
been added as follows: higher and much more reliable. The sec-
Top row: TRUE VIDEO; INVERT VIDEO; ond CAPS SHIFT and SYMBOL SHIFT keys
BREAK have simply been wired in parallel with
Second row: DELETE; GRAPHIC the original ones.
Third row: OSTEND MODE; EDIT The old keys that need no additional or
Fourth row: FULL STOP mw electronic circuitry are called 'A' keys
Bottom row: SEMICOLON; DOUBLE figure 4.
QUOTATION MARKS; four CURSOR keys; The key contacts in figure 3 are controlled
COMMA without arty problem by CMOS switches.
Other novelties are that the CAPS SHIFT These switches are at the heart of our
and SYMBOL SHIFT have been duplicated design: any of the additional keys operates
at the left-hand and right-hand side. and two or more CMOS switches simul-
that the SPACE bar has been centred and taneously. If we now consider the 'B' keys
made wider. in figure 3, we me that all functions con-
trolled by contacts 541...S5I have this in
common: the CAPS SHIFT key must be
Operation pressed at the same time as another key.
How Sinclair has solved the problem of It is therefore necessary that each key
the additional keys is of little interest here, contact is connected to a CMOS switch

4-3B slat. ap.sass


new keyboard br

111=11118111MUIROAS111110.41.0.1--

DE0M7' ..-,viIIKli -: :La -1, .-. i

I, -- MEM-7=771 11
.I

HiLMETE '-'17. r'.. 17 - 1


'..-71-1ETEM E 'FL"
E ED F rnH

Figure I. Layout of the

re=rted1.7;7117e"rold
keys retained in their
original ostion. The
newly added keys do not
represent new inStrUc-
tion. or functions. hut
enable singte.key oper-
ation where before more
Man one key had to be
ressed. Note the
enlarged ENTER key. Me
on of the.CAPS
SHIFT a. SYMBOL
SHIFT keys, and the
or
;1:11.°1117,:7."'°"
2

Figure 2. Once the lid am


conductive scone rub.
her sheet have been lifted
off the keyboard. the
scanner matrix becomes
visible. Connections
Al...A6 and Bl...BB are
identical to those on the
circuit diagram. The new
keyboard is connected in
exactly the same way as
the old one: this is best
whichwith ribbon saline
is soldered
underside of the com
oa in gi.ee or

(ES) that is connected in parallel with the that operate the CAPS SHIFT and SYMBOL
CAPS SHIFT contact on the 8 by 5 matrix, SHIFT keys, are condoned via delay net
and to a switch that is connected in paral- This is necessary to ensure that at
lel with the relevant original key contact. all nines the CAPS SHIFT or SYMBOL
For example, to carry out the operation SHAT contact is operated first. The
'edit', it is necessary to actuate the 'I' and diodes are decoupling devices and
the CAPS SHIFT keys The former is should not be omitted, °Menaise
effected by 552, and the latter by ESI erroneous operation may ensue.
(which interconnects the Al and 131 bus Keys 552...555, the C. keys, operate
lines), All CMOS switches, except those similar}, to S41... S81, except that here the
w,,, Ives4-39
new aboard a 3

4-
4-
4- 4- 4-
4- 4.
4- 4- .4- - 4-
NNW

EH.

th®
11,®
new keyboard for
4 Spectrum.

Fogure a. Identifying the


some months, so that we cannot foresee single key switches by
SYMBOL SHIFT key instead of the CAPS P...13 makes it clear that
SHIFT key is actuated (by ES13). With the any problems. from mealy electronics
help of figures 1 and 3 it is possible to point Ow keyboard may
realize any function you want by using be considered in w
pa rts: In keys P. which
further keys and CMOS switches The pro- are naltered:1H keys B.
posed circuit follows the keyboard of the Construction which control functions
Spectrum+, however, although ma, of As keytops with the original Sinclair for which on the old
coo may find the VIDEO keys rather an inscriptions do not appear to be commer- keyboard Me CAPS SHIFT
unnecessary luxury which are better cially available, it is best to use keyboard key had to be operated at
the same time: MI keys C.
replaced by COLON I:) and SOLIDUS (/) switches with transparent keytops. These which control functions
respective', tops snap on to the switch and consist of Mr which on Me old
two parts. The lower part may be the SYMBOL
engraved, marked with Letraset, or a SHIFT key had to be
SHIFT
piece of primed card may be placed on it, Iressed at Me same Ilme,
Extend mode key so that when the transparent top part is
41 key D. which actuates
The EXTEND MODE key, the D' key, is
somewhat different from those described
snapped on, the key -top appears to have a l're'dnr=ro=
printed legend. Character set transparen- mver case tree. Ones.
sofar. To jog your memory: it you want to cies,are available from many retailers.
use instrutions printed in green (old The keyboard may be consrtucted on a
keyboard),c it is necessary to press the printed circuit board (we do not offer one
CAPS SHIFT and SYMBOL SHIFT keys sim- with Ida project, so it will have hp' be
ultaneously, release them, and then press made by yourself) or on veroboard.
the appropriate command key If you want Dimensions are about 400 x 150 mm, so
to use red instructions, the situation is unless your retailer stocks this size board,
even wome: you then have to press the you may have to make one from two.
SYMBOL SHIFT key, holds this down, and Because of the pressures exerted on a
then press the instruction key. These keyboard, mechanical strength of the
problems are resolved by the EXTEND boards is, of course, vital.
MODE key, S56. This switch is connected
to ESI (CAPS SHIFT) via monostable
NI/N2, and to ES13 (SYMBOL SHIFT) via
D22. When S56 is held down when the Finally...
instruction key is pressed, the monostable .a tip for all dly. programmers. In many
formed by NI and N2 opens the CAPS game, it is possible to interrupt with the
SHIFT key contacts after a very short time: aid of the cursor keys. On the old Spec-
the 'lower case' (red) instructions are then trum keyboard, the cursor arrows were
available. If, however, S56 is pressed and located above the figures 5...8, and it
then released before the instruction key is was, therefore, simple to interrupt the
pressed, the upper case (green) inst..- game or other program by writing these
dons become available. figures in conjunction with the INKEY $-
function. For instance,
IF INKEY $ = "8" THEN...
Power supply Because the cursor keys on the new
The keyboard may be operated from the keyboard are separate, and have no sym-
Spectrum power supply. It is, however, bol, but only a function character, it is
recommended to use an 8 -volt regulator, necessary to use the code of the cursor
because a level of 5 Vie pretty close to function if you want to control the com-
the lower limit of the CMOS ICs. It is puter with the cursor keys. This can be
further recommended to solder a capaci- ascertained from the handbook. The cor-
tor of about 220 nF between the supply responding instruction will now be
pins of each IC. The circuit has been something like
working faultlessly in our laboratories for IF CODE INKEY $ = 10 THEN...

we"rn,aeeoni mes4-4.1
la kHz precision calibrator

a simple test -
instrument
calibration aid

19 kHz precision
calibrator Test instruments are essential for any serious laboratory, be it
'professional' or a hobbyist's workshop. Bad test equipment, on the
other hand, can be worse then no equipment at all as it gives wrong
impressions that are likely to be taken as 'truths. Accuracy is always
a point of doubt with home-made test instruments and for this
reason we were very careful to give a detailed test procedure for our
recently -published frequency counter. In hindsight, however, it
occurred to us that one point could be considered as an example of
'Catch 22": a good frequency counter was needed to calibrate the
crystal oscillator. To remove this difficulty we came up with a simple,
but accurate, circuit.
A tem instrument must be reliable and in fact, the frequency of the pilot tone
accurate and, in general, the more you are transmitted in FM radio signals. In the
prepared to pay the mom of these two hse of good quality or hi-fi tuners,
qualities you can expect. Home-made owever, this frequency is very effectively
equipment is somewhat of an unknown suppressed after the siereo decoder so
quantity in this respect and must in some they are unsuitable for our purposes.
cases be referenced to other proven test The loudspeaker or earphone output of a
instruments. This is the case with the fix- mono FM radio is connected directly to
quency counter circuit, whose crystal the input of our circuit. Band-pass filter
oscillator must be calibrated with refer- RI/Cl/LI/CB removes all unnecessary
ence to a frequency meter that is known parts of the signal and this is then
to be accurate. Fortunately, there is a way amplified by TI and fed into pin 3 (INPUT)
out of this 'Catch 22' situation, and all that of ICI.
is needed is the small circuit shown here The 507 (ICI) is a phase locked loop (PLL)
and a cheap FM transistor Mill. used as a tone decoder. The functions of
each of in pins are indicated in the
diagram of figure I. The PLL is tuned to a
19 kHz from the radio Particular frequency by means of the
The frequency of 19 Idle was not simply external timing components connected to
chosen at random for this circuit. This is, pins 6 and 6. The values indicated set ICI

4-42 hiss
19 kHz prodsio

Figure 1. With a cheap


to a frequency of 19 kHz, of course The to a number of different transmitters the radio connected to its
band -width of this 'lock frequency' is
deterrrdned by C5, while C4 serves to
circuit is working correctly and the output
signal then has a frequency of 19 kHz.
=,;i= i"""
calibrator. Depending on
suppress the effects at the output of There are a few final points regarding the actual radio used it
spurious input signals outside the lock using this circuit. First of all, it is may be possible to draw
range. advisable to tune the radio to a 'quiet' the power supply of 9 V
transmir such as a classical music d.c. from the radio, bat-
When ICI detects an input signal within teries or power source.
the frequency range selected it locks onto program.tteThere is less chance of noise or The circuit, current con-
it. The 5675 output then goes low so the interference on such a signal than would sumption is about 000
be the case with a contemporary music with both LEDs lit. If the
yellow LED lights. If the PLL is not prop- radio cannot supply it the
erly locked onto the input signal, or it the program. The second point concerns the v can provided by
input signal does not remain within the accuracy of the 19 kHz pilot one. The EI3U separate batterielues.
lock range for a while, capacitor CB is (European Broadcasting Union) norm A different va of
partly charged so the green LED cannot states that this must be 19 kHz ± 2 Hz. This inductor can be used for
turn on. As soon as the PLL is properly is quite a tight tolerance but in most cases 'DI' 'XII ToraCet'll'e
locked onto the 19 kHz signal T2 is tamed the signal will be even closer to 19 Idle. re.calculated from the
off and the two LEDs light together. The The measurements we made showed that formula: C1 v. ,IntftL,
signal output from pin 5 of ICI is then a the signal was, in fact, accurate to within whore f 19 kHz. of
± 0.001%. course.
square wave with a frequency of exactly
19 kHz. This test circuit was designed as an aid to
setting up the Microprocessoncontrotied
frequency counter described in the
Construction, calibration and use February 1985 issue of Elekrar but it can
The circuit should be constructed care- also be used to test and calibrate other
fully bearing a few points in mind. Keep laboratory equipment. In the case of the
all wiring as short as possible and make frequency meter simply let it warm up
sure to use thick cable for the ground and first and then measure the 19 kHz with Me
positive voltage supply tines. It is also A input 'Prim the preset in the oscillator
very important to connect capacitor C6 as until the display shows '19.0000 BHT. By
close as possible across ICI's VCC and the same token this circuit need not only
ground pins (4 and 7). be used for calibration purposes It could
Connect the input of the circuit to the be used in any application where a very
loudspeaker (or earphone) output of an accurate 19 kHz signal is required but
FM mono radio and tune into a strong because a radio has to be connected to
transmitter broadcasting in stereo. Care- its input it cannot be considered as a per-
fully set preset PI so that the green LED manent fixture
just lights at the input signal's minimum
amplitude.
To use the circuit increase the radio's
volume control slightly and tune into a dif-
ferent transmitter. The yellow LED lights
when 1C1 locks. The green LED will only
light if there is not too much noise on the
signal. Increase the volume setting or/and
tune to a different transmitter until the
green LED lights continuously. If the
green LED lights when the radio is tuned
versatile counter circuit

Counter circuits have long been a tradition in Elektor. It started with


A de Kock one of the very first issues way back in 1975 and has continued ever
since. In spite of this we still get regular requests for counters to do
this and counters to do that. To satisfy all these, we have developed a
counter circuit that can:
count upwards and downwards;
be used with a variety of displays: LED. LCD, FD, and others;
store the counter contents;
preset the counter position.

versatile counter circuit


upwards or The circuit diagram in figure I shows that one of the bistables toggles when the
nothing really surprising: decoder, ICI; clock at its input changes. In other words,
downwards, for counter, IC2; and seven -segment LDI. The each bistable is clocked by its
LED or LCD, for surprises are contained within the ICs! predecessor. Operation is synchronous
IC2 is a synchronous BCD upwards and when the output level of a bistable
common - downwards counter whose content may changes when the output level of the
cathode or be preset. The presetting function is asyn- preceding bistable goes logic high and a
chronous. fresh clock pulse arrives at is input. This
common -anode BCD counter ICs generally contain four pulse is provided simultaneously to the
bistables and a number of gates with clock inputs of all the bistables. With this
which the required function can be arrangement the result does not have to
arranged. Asynchronous operation means wait for the clock to be provided to the
versatile counter circuit

Figure 1. A counter
element consists of a
zrver:nr--
downwards counter with
asynchronous presetl, a
decoder IC Ilitaldo
seven -segment decoder
with latch and display
driver). and the LED
disMe,
last in a long line of bistables mode of operation is therefore asyn-
For instance, in an eight -stage counter chronous.
operating in the asynchronous mode, 32 The two remaining tenninals of the
bistables have to be clocked before the counter IC are CI (cagy in) and CO (carry
result is indicated. In synchronous mode, out). It is these terminals that make the
There are therefore seven terminals element, for they make the connection
needed: two for the supply voltage, Ub between the previous and the following
(3...18 V), four for the outputs of the counter elements. The counter elements
bistables (01-04), and one for the clock can thus be connected in cascade by con-
input (Clk) which is internally connected necting the CO of the previous element to
in parallel to all bistables Then there is an the Cl of the next.
input for signal utr, which gives the The other IC, a BCD -to -seven -segment
command to count upwards or down- decoder with latch and display driver, is
wards. And, of course, there is a reset (II) similar. A glance at the pin -out shows that
input. seven outputs are available for display
Preselection of the counter position is car- segments a...g. Then it has four inputs
ried out via inputs PI ...P4. The lowest for the BCD information, A and two
value bit accords with P1 (and subse- terminals for the supply voltage of
quently with output Oh). Preselection is 3...18 V.
evaluated when input Pb is logic 1, The interesting pins here are Ph, BI, and
independent of the clock signal, this LA Pm LD is normally logic high; when it
Nure 2. Operation of the
counter IC is more easily
2

-
understood with the aid
of this timing diagram.

1111111111:11".....
Au -
mmummummummummommosill
mmummommimmommommimpul
iiii
IPOWIEPOW411191
mi-mmi-%10-10-Immt-Am
mm11--mmomm--11mmillam
momm1111.0111 MU
............... c
versatile smarter citcuit
3
UM RI CR VEIA I. ILO READOUT

Lie
80., 9.....

Gem mamas alone wantesseew

=1:',... :...',.7.:.
KO
.1.1
a.m... ...Dom
*amp
weeescsm meows
0
OW

Figure J. Connections to
et
awed.
display is wed. the
decimal point should be
t-='",,-
connected via an %OP
to 1=3 tend
the output MOM

4
Table 1
= reset
CI carry input
CO carry output
parer. load
D up/down
Clk = clock
PE = pulse one.
Dp decimal point
IIaJu
Ph/Com - common anode/
cOmmon cathode
latch disable

Parts list
ilesWors:
...RD . EDO 4/1/8 W
Semiconductors:
1.01 1..1410.9
M.11310P. .1110910.4
MANa010A y loll
General Instrument,
for SWmens or NeuMett

IC,
Motoola,
ICP = MC105108
IMototolal
Printed circuit board .19

Figure I. The Printed


cuit board can house two

MA'
should eleents: it
be cut Into two.
with one pert containing
the display section, or
into Mree if only one
displayl W

goes low, the information at the BCD greater than 9 (in BCD code) is present at
inputs is stored in the IC and the memory the input pins.
content is subsequently fed to pins a...g. The junction of pin Ph is best seen with
Pin 81 is normally logic low. When it goes reference to figure 3, which shows the
high, all pins a...g are low. The segment various connections to the display
outputs are also logic 0 when a number readouts. We have opted for the LED

4-48 ere, Inase tom less


versatile counter circuit
5


8
a 1100111

00000

Figure 5. Example of an
display, because this is not only the most A final word about the LED display. Since adaptation of the revo./.
economical but is also the most suitable aeon counter described
ICI can provide a segment current of only the September 19111
forcouse with this particular IC 10 mA. it is advisable to use the General issue of Ewan, Note
Instrument type given in the parts nat. that only two of the six
Construction Siemens and Hewlett Packard types draw ve5Oired counter elements
rather more current, about 15..25 mA, for are shown.
A printed circuit for two counter elements
is shown in figure 4. The board should be the same light intensity. When these types
cut into two with one pan containing the are used, it is therefore advisable to buffer
display, or into three if only one element each of the segment outputs as, for in-
(and the display) is required. stance, in figure 3 (incandescent or gas
The boards are put together as shown in discharge readout).
the photograph: that containing ICI and Take care to solder the Ph/Com conical
IC2 is at right angles to the display board. with correct polarity.
The earth planes of the boards must be
soldered together: this makes it impera-
tive that the boards are cut absolutely
straight. Additional stability is provided by
resistors RI ...R13 being soldered to two
boards!
Most terminals are located at the short
edge of the board(s); only DA +, and LD
are at the long side. This was arranged so
that when several boards are in cascade,
they can be placed side by side on a
prototyping (vero) board. To enure out.
ficiem stability, the terminals at the long
side, and possibly also the Car terminal,
must be soldered to the vero board. Our
prototype which was assembled in this
manner proved mom than adequately
stable. Do not forget to connect the CO
terminal on one board to the CI terminal
on the next.
tranu.stor unitester
Many electronic components may only be fitted into a circuit in one
way: the polarity must be correct in other words. Diodes, electrolytic
capacitors, ICs Ito name but a fewl are marked to show what is their
correct polarity but transistors do not have any such indication.
Knowing the type of the transistor in question it is, of course, a
G. Fossan simple matter to look at the data sheet and find out which pins
correspond to emitter, collector and base. If you do not have the data
sheet to hand, however, this makes matters somewhat more difficult.

transistor unitester
a universal Two things are of vital importance when a ible connection orders are catered for. To
transistor is to be used in a circuit, namely try a different bce layout the transistor's
all -in -one which pins correspond to emitter, collec- pins are each moved one hole further. A
transistor tor and base and whether it is an NPN or transistor is tested as follows:
PNP transistor The transistor's data sheet Plug the pins of TT into the IC socket
connection gives this information but the chances are in any order but making sure that each
tester that you will not have the appropriate data fits into a different hole - one into one
sheet when you need it. A collection of into t' and one into '5' Turn PI com-
data sheets would seem to be the answer pletely around and back, then switch SI
but a much better solution is to make a over. If one of these two operations
transistor connection tester like the one causes two of the LEDs to light simul-
shown here. taneously the pin stuck into the 'b' pos-
ition is the transistor's base. In this case
A switching transistor both LEDs will light when PI is at one end
The most striking thing about the unitester of its travel and both will be off at the
circuit shown in figure 1 is its simplicity. other end of the travel. Any other indi-
The component under test, TT, is used as cation on the LEDs indicates an incorrect
a switching transistor. The base current is connection so TT's pins should be
varied with PI until the transistor switches changed around until the right indication
on and causes two of the LEDs to light. is found. If none of the possible combi-
Which LEDs light (DI/D2 or 03/04) nations gives the correct indication either
depends on whether TT is NPN or PNP. the transistor is faulty or the component in
(This is defined by the position of SI.) The question is not a transistor.
intensity of the LEDs at a particular pos- Having found the base, the emitter and
ition of PI gives an indication of the tran- collector must now be determined. The
sistors current gain. base current is set with the Potentiometer
so that moving PI slightly gives a clearly
The test procedure visible change in the light intensity of the
transistor to LEDs. The LEDs are set to 'medium'
be tested is fitted to the In our prototype we fed the 'V, and' brightness and the collector .d emitter
ly position.. polarity terminals from the circuit to . IC socket,
Ih. c and el, correct oper connections are then swapped. If the
ation and gender IPIVP or as the diagram indicates. We found that
LEDs burn more brightly than before
PI are determined with this simplified using the circuit as all poss- and connections are now correct. It,
Pt and Pl.
on the ot,-1. and, the LEDs become dim-
mer the previous arrangement was
COMM.

Final points
The circuit is easily constructed on a
piece of Veroboard .d can be connected
to a suitable do. power source (boded.s
will be sufficient). The voltage supply
should be about 9.5 V but must never be
greater than 6 V. There is no actual need
to use an IC socket for the 'IS, 'c' and .e.
connections but this does simplify matters.
The operation of the unitester can be
verified by taking a transistor whose con -
are known. Select PNP or NPN as
appropriate and plug the transistor cor-
rectly into the TT socket. When PI is
moved fully around two of the LEDs will
light or go out. depending on whether
they were on or off.
COS/MOS digital ICs
COS/MOS is a:development of bipolar substrate. The diagonally -hatched area
IC technology and an offspring of the charge can easily build up if such an IC
is the metal oxide film on which is kept M a plastic box, for instance.
MOS (Metal Oxide Semiconductor). the electrical contacts are made. These
It started with the MOSFET being The human body too, 0 often statically.
contacts are drawn in deep black. Below charged. Touching the inputs with a
developed from the universally known the isolating layer at the electrical
junction FET (Field Effect Transistor). finger can be sufficient to destroy the
contact interruptions are the and COS/MOS IC. Therefore the Ws are
The former distinguish themselves from n- layers. The layers are so integrated
the latter by their isolated gate. The packed in a kind of expanded plastic
that the result is a complementary containing a highly conductive sub-
result of this gate isolation is a pantc. MOSFET pair as shown in figure B.
tarty high gate resistance. A drawback stance. The connecting pins of the IC
Corresponding to the labelling of
is that a static charge can build up on ate pressed into the expanded plastic.
figure A, we have the following labelling To give the inputs some measure of
such a gate when the tranststor is not in figure B, for sources,. siG. for
connected in a circuit. This charge protection, manufacturers often provide
gates and O for common drain. COS/MOS IC inputs with an inbuilt
usually causes the immediate destruc- As can be seen from figure A the
fion of a MOSFET because the extrei protection circuit. These circuits are
integration of an N- channel MOSFET not shown in the circuit diagrams of the
mely thin isolating layer breaks down. is of a simpler construction thana Ps Cs.
So the handling of MOSFETs calls for channel. The latter requires an extra
special precautions. This also applies to
p- layer separating the substrate from Figure C is an example of an input
COS/MOS ICs in which MOSFET, are the two n- layers which lie between the
integrated. circuit of a COS/MOS inverter. As can
drain and G2 I= gate 2) and the junction be seen in this figure, the circuit consists
between G2 and S2 (=source 2), respect- of a P- and an N- channel MOSFET.
ively. M reality the input c ircuit is as shown
The integration such that Pis and
is
Of course, the integration of even the in figure D. Here we see that each gate
Ns channel transistors are used alter- simplest COS/MOS IC is slightly more input protection circuit comprises one
nately. Furthermore the switching and three diod es. The diodes
complex than figure B suggests. Even a
circuits are integrated symmetrically. De is for Da are usually formed in the
cdmmon 2,input NAND gate co -mists
The latter two characteristics form the of no less than four integ:ated diffusion process. The gate input
basis for the term COS (COmplemen- MOSFETs. protection, however, is added as an extra
tary Symmetry/. Thus COS/MOS can be every COS/MOS IC (a resistor of about 500 S2 plus three
briefly described as complementary sym- must be handled with due care because diodes).
metrical MOSEFT integration. A simple the Moats (gates) a isolated with In figure D the diode 155 has a break-
example of a COS/MOS IC construction respect to the rest ofre the integrated down voltage of about 25 V. The
is given in figure A. Here the darks circuit. Normally the input impedance breakdown voltage of the diodes Di
shaded area represents the n- (polarized) of a gate is IOia a. Asa result a static and Da is about 50 V.

C 0
WS*.

V r
CI w 131
0 -0

-frAncatt D

th 1
I
Mrowins rema light on LEDs

throwing some
light on LEDs
Light emitting diodes were first made in Light -emitting diode (LED) lamps a LED is the proposed application. For
1954, when it was discovered that a are replacing incandescent example, red is conventionally used for
point -contact diode made with gallium warning lights, but green and yellow
phosphide (GaP) as the base material filament lamps in a variety of may be aesthetically more pleasing for
emitted red light when forward biased. indicator applications, as they other purposes.
Although it was realised that this offer improved reliability and Cost is always an important consider-
material offered the prospect of making ation. Green and yellow LEDs may be
commercial solid-state light source, performance at a comparable up to twice as expensive as red LEDs, as
the physics of light emission from price. A bewildering variety of well as being less efficient. This
semiconductors was poorly understood, LEDs of different shapes, sizes, inefficiency is not necessarily a disad-
the technology to make the material colours and prices is now vantage, provided low -current (e.g.
was difficult, involving high ...Feta- battery) operation is not required. For
tures and pressures, and it was some available, and the amateur comparable light output from a green
time before commercial devices constructor may find it difficult LED it may benecessary to' no it
appeared. Early LEDs were packaged in to choose a device fora particular at twice the current of a red LED, but if
metal TO -18 type transistor housings, mains power supply is available this is
with a glass or plastic end window or project, especially if the parts list no great problem, provided the ratings
lens, and costs were initially very high: simply says that a 'LED' should be of the LED are not exceeded.
furthermore, one could have any colour, used, with no indication of type. In general, it is tme to say that, in terms
provided it was red. Efficiency (i.e. light of efficiency, 'gm gets what yet pays for'
output fora given power input) was also This article aims to dispel some of with LEDs. The high -efficiency, `state-
very low. the mystery surrounding LEDs, so of-the-art' devices now appearing on the
When the phenomenon of semi- that the constructor can choose market are considerably more costly
conductor light emission was better the most suitable type for his than the less efficient second generation
understood, it was realised that the red devices that are commonly available to
emission of early GaP diodes was due to requirements, and calculate the the amateur contractor, since the
zinc and oxygen impurities in the GaP operating conditions. technology required to make high -
material. LEDs made with purer GaP efficiency LEDs is considerably more
produce a green light. Various exotic difficult, and development costs still
seconductor
mi materials for LEDs have have to be recouped.
now been developed, but the most
common compound used is gallium
arsenide phosphide (GaAsP). The
advantage of this material is that the Packaging
colour of light emitted can be varied by The high cost of the early LEDs was
altering the proportions of arsenic and partly due to the expensive metal -can
phosphorus in the material, from package, which is still used for some
infra -red radiation, obtained with pure military and industrial devices. Modem
GaAs, to green radiation, obtained with consumer LEDs utilise a much cheaper
pure GaP. At present them is no form of encapsulation, the s
commercially available LED that emits conductor wafer and its leadouts simply
blue light. being encapsulated in a moulded epoxy
The most popular colour for LEDs is resin housing. A typical selection of
still red, using GaAsP material with the modem, epoxy -encapsulated LEDs is
formula GaAs...Po.. (i.e. the ratio shown in photo 1.
As:P is 6:4). LEDs using this material Although the diode junction is essen-
are easiest (and hence cheapest) to tially a point source of radiation, the
produce, and have the highest efficiency. encapsulation can have a profound
Green LEDs are the least efficient, but effect upon the radiation pattern of the
this disadvantage is offset to some LED. For example, it the epoxy
extent by the fact that the human eye encapsulation is transparent then the
is more sensitive to green light than to LED functions as a point source, with
red light. .the emitted light being confined to a
LEDs are now commonly available in relatively small angle, as shown 'in
four colours; red, orange, yellow and figure la. If the epoxy material is
green. An important factor to 'be translucent, then the light produced by
considered when choosing the colour of the LED is diffused over a much wider
4-50 ,,,,,,,,,o aonr leas
throwing some light on LEDs

angle, as shown in figure lb. For a given


la light output from the LED chip, the
Point source LED will appear brighter,
when viewed on is, than the diffuse
LED. However, off axis the brightness
of the point source LED falls off rapidly,
while the diffuse LED provides even

4
illumination over a much wider viewing
1111610.
The shape of the encapsulation also has
a marked effect on the radiation pattern,
since it acts as a lens. For example, a
LED in a cylindrical encapsulation
with a domed end produces a radiation
pattern as shown in figure 20, whereas
one with a parabolic cross-section
produces the radiation pattern in
figure 2b. It is apparent that the
radiation pattern of figure 2b would
lb produce much more even illumination
of a plane surface placed at right -angles
to the axis of the LED.
As well as being ,transparent or
translucent, the LED encapsulation may
be either clear or coloured. Of course, a
coloured encapsulation does not
influence the colour of light emitted by
the LED, this is determined by the
semiconductor material. If a coloured
encapsulant is used it must be the same
colour as the light emitted by the LED,
otherwise the light output will be
seriously attenuated.

Special packages
Most commonly available LEDs have a
circular cross-section, for the simple
reason that, for panel mounting
purposes, round holes am easiest to
Figure la. A point source LED produces a
fairly narrow beam of light.
2a
Figure lb. A diffuse LED produces a ma
more even radiation pattern. and has a wider
viewing angle.

Figures ge end 2b. The LED encapsulation


effecta lens, the shape of which has a marked
on the wt./Pion pattern.

Photo I. A typical selection of commonly


mailable LEDs.

2b
throwing some light en LEDs

drill. However, with the demand for If data on a LED is unobtainable (e.g.
types of LED display other than single unmarked, untested types) then as a
panel lamps (e.g. bar graph type rule of thumb, most LEDs will
displays), different types of package withstand a forward current of up to
have appeared. Photo 2 shows a LED 40 mA (many will withstand mom and
which has a flat rectangular cross- only a few types will withstand less).
section with a rounded top. The Using 2 V as a value for the forward
dimensions of this type of LED voltage drop will also not be far out.
(2.5 x 5 mm cross-section) allow it to be However, if a LED is to be used with a
stacked on a standard 2.54 mm (0.1") low supply voltage then extra caare must
pitch, to form arrays for such appli- be taken not to operate the LED too
cations as audio level meters. near its maximum current, since a small
Another interesting shape is shown in variation in the supply voltage could
photo 3. This type of LED has a lead to a large increase in current.
transparent plastic case fitted with a flat Care should also always be taken to
diffuser screen, which makes it particu- mascot LEDs the correct way round,
larly suitable for backlighting of legends. since they have a very low reerse-
In fact, press -on lettering or transfers breakdown voltage (typically 4 V) and
can be applied direct to the diffuser are easily destroyed by excessive reverse
screen. voltages. For this reason great care
Integrated LED arrays, housed in dual - should always be taken when trying to
in -line packages, are also becoming quite identify the leadouts of an unknown
popular. Such an array of 10 LEDs is LED. A 3 V supply with a 15012 series
shown in photo 4. resistor should be fairly safe. However,
most manufacturers identify the
Electrical characteristics of LEDs leadouts of LEDs in one of two ways.
The cathode, which is connected to the
Electrically, LEDs behave like normal more negative supply voltage, has a
semiconductor diodes, which is not shorter leadout than the anode (which is
surprising, since they consists of a connected to the more positive supply
single PN junction. However, the voltage), or else the LED package has a
forward voltage drop of LEDs is fiat side next to the cathode leadout
considerably greater than that of, say, a (this only applies to circular cross-
silicon diode. Furthermore, this forward LEDs). These identification
voltage drop is not the same for all marks are shown in figure 3.
LEDs: it depends on the type and
colour. Earlier types of LED had
forward voltages varying from around
1.6 V for red, to mound 2.4 V for green. AC operation
However, modem high -efficiency LEDs LEA can be used to replace low -voltage
tend to have forward voltages around incandescent lamps where only an AC
the 2 V mark, irrespective of colour. be connected to a voltage source. For supply voltage is available. The LED
As with normal diodes, the forward DC operation, the required series conducts only on one half cycle of the
resistance of LEDs is very low, which resistor is found from the equation: AC waveforms and is reverse biased on
means that once the forward voltage is the other half cycle. The LED must
exceeded the current through it will R = U%-Uf , where therefore be protected from excessive
increase very rapidly for only a very reverse voltages. Thisn be done by
small increase in voltage. This makes it 14= supPlY voltage connecting a diode inca reverse parallel
essential to use an external, series, Uf = LED forward voltage with the LED, as shown in figure 4a.
current -limiting resistor if the LED is to 1= required current The diode conducts on the negative
half -cycle of the waveform and this
limits the reverse bias on the LED to the
diode forward voltage drop.
Another method is to connect a diode
with a high breakdown voltage (greater
than peak supply) in series with the
LED, as shown in figure 4b.
The first method has the advantage that
the diode need not have a high reverse
breakdown voltage, since it is protected
by the LED. However, it has the disad-
vantage that current flows through the
ses resistor during the whole cycle, so
therie resistor dissipates twice as much
power as in the second circuit, where
the resistor conducts only on positive
half -cycles of the waveform.
In either case, when calculating the
resistor value it is important to
remember that the LED is conducting
for only half the time, so the average
LED current will be only half that
expected from the calculated resistor
value. To allow for this the approximate
required resistor value is obtained from
the equation:
throwing soma nom on LEDs

angle) than a comparable diffuse LED.


If high light output and/or low power
consumption are prime considerations,
then it is worth considering a high -
efficiency LED from a reputable manu-
facturer, though this will inevitably be
more expensive.
For special applications, such as bar -
graph type displays, interesting Possi-
bilities are offered by the integrated LED
arrays and the new shapes of LED
packages now available.
Readers wishing to pursue the subject
further are recommended to read the
'Optaeleetronies Applications
Handbook' from Hewlett-Packard. N

Figure 2. The Isamu of a LED may be


identified by a shorter lead for the cathode.
or a flat on the package next to Me cathode.

Figures ea and Ch. Two methods of con-


Conclusion necting a LED for AC operatton.
R URM2IS To sum up, the choice of a LED for a
URMS = AC supply voltage particular application should be based Photo 2. LEDs am also available in a reMengm
on several criteria. For general indicator kr package with a half.round end. spocifinouv
Uf = forward voltage of diode(s) for use in arrays.
I = required average current lamp applications in mains powered
The protecting diode must have a equipment, most LEDs are adequate, nod, Thew LEDs are fitted with a flat
current rating greater than I. and the choice can be made on the basis diffuser mreep. and are ideal for back illumi-
of cost and the required colour. If a nation of legends.
narrow viewing angle is acceptable, then
Lifetime of LEDs a point -source LED will give greater Photo 9. An erray of 10 LEDs housed in a
Early LEDs had problems with copper apparent brightness ( within its viewing dualsinaine package.
contaminants poisoning the diode
junction, which caused a reduction in
brightness after only a few hundred
operating hours. Modem LEDs, however,
4
if properly treated, should have an
operating life 01 11 least 100,000 hours,
and possibly up to 1,000,000 hours
(defined as the time taken for the light
output to fall to 50%).
For the constructor, ensuring that a
LED has a long life starts with hateful
handling of the device. The leads of a
LED should never be bent closer than
about 2 ram from the encapsulation;
pliers should always be used to relieve
the strain, otherwise the package could
be damaged, resulting at best in the
ingress of moisture, and at worst in
complete disintegration of the package.
When soldering LEDs the junction
temperature should never be allowed to
exceed 125°C, so a heat shunt should be
used on the leads.
LEDs should not be operated at
excessive temperatures. A LED
operating at a temperature of 75°C
produces only half the light output that
it does at 25°C and also has a shorter
life. The rule as fares the constructor is
concerned is thus to keep LEDs away
from hot spots in equipment, and not to
operale them too near their maximum
current rating.
wend Dressers meter

Sound... rapid vibrations, travelling science? When designing a sound press.


through the air, is always present - even ure meter, soimewhere between 20 Hz
'z'

if we don't always realise it. However, and 20 kHs a sufficiently accurate


those who have ever spent some time definition for the limits.
in a completely sound -proof room will For sound to be audible, it must not
know the difference between 'no sound' only be within the correct frequency
and normal background levels. range. Loudness is also important, and
Sounds can be quite pleasant - music, the minimum level that we can hear
for instance - or decidedly unpleasant, varies with frequency. Our ears are most
like a car horn going off unexpectedly sensitive in the 500 Hz to 5 kHz range,
just behind you. The difference is not as shown in figure 1. For a 100 Hz
only the type of sound, but also the and a 1 kHz tone to 'appear' equally
level. Above a certain level, sounds tend loud to us, the former must actually
to get annoying. At even higher levels, be at a much higher level than the
it actually hurts your ears - and perms. latter - certainly at low levels.
vent damage may well occur. This is all clearly shown in the plots
given in figure 1. The lower dotted
measure from 50 to 110 dBA line is the hearing threshold: sounds
below this level are inaudible. From
the scale at the left it can be seen that
this corresponds to 0 dB at 1 kHz (no

sound coincidence, that), and to 40 dB at


50 Hz. Quite a difference! The higher
lines all correspond to equal (apparent)
loudness, as a function of frequency.

pressure
The highest line is marked 'threshold
of pain. This is rather misleading,
unfortunatehr it suggests that every-
thing is perfectly all right up to this
level. Not so! Prolonged exposure to

meter
Anybody can tell whether they are in relatively quiet or noisy
much lower levels
100 dB, for instance) can already lead
to permanent damage. The only point
about the actual threshold is that it
really hurts, and damage is
within a very short time indeed.
130 minutes at

likely

A lot more could be said about these


surroundings. At least you'd think so. Although ... sometimes you plots, but there are several good books
wonder. Human hearing is subjective: what some people consider on the subject. Theory is one thing,
'pleasant background music', others would class as 'an abominable row'. but there is nothing like practical
examples. In figure 2, several well.
For a more objective assessment of the actual sound level, some kind of
known sounds are plotted on a and
meter is required. level scale. This is calibrated in dBA,
However, since we are mainly interested in sound as it relates to us, the as in common practice.. But what is

measurement must also take the average frequency response of our ears a 'dBA', exactly?
If we want to m sound levels as
into account. The meter described here measures in dBA, over the they relate to humaneasure hearing, we must
whole range from normal conversation up to loud disco music. obviously 'weigh up' the results to
match the characteristics shown in
This is se for some concern, nowa. figure 1. An 'objective' sound level of
days. The extremely high levels that 60 dB at 100 Hz, say, must give the
are pumped into diuo's may give a same 'loudness' result as 50 dB at
nice 'high' sensation at the time. How. 1 kHz. Obviously, it would take some
ever, if your ears are ringing when you doing to build a circuit that accurately
step outside after a few minutes, be follows all plots at all levels. Fortu.
warned! Prolonged exposure to this nately, there is no need for that kind of
kind of abuse can (and often does) aCcuracy, and according to international
cause permanent damage to your standard a single fixed frequency
hearing. And after all, we all hope that compensation can be used. This is
our ears will last a lifetime. the so-called A -weighting curve, shown
in figure 3. Sounds picked up by a
Before describing the sound pressure
meter itself, let's take a closer look at microphode are passed through a filter
our own built.in meter, our ears. What with this response, and the level is
can they measure? measured behind the filter. The result is
We can only hear sound within a certain expressed in dBA.
frequency range - broadly speaking,
between 20 Hz and 20 kHz. There is
some controversy about the actual Measuring sound in dBA
limits, but that's not so important in By now we've got a reasonable idea of
thiC context. Whether the upper limit whit we need to measure sound press -
is 20 kHz, 10 kHz or only 7 kHz is win 6/useful way. Obviously, since we
partly a question of age, and below ant -tomeasure sound, we will need a
20 Hz sound may possibly be 'felt' - microphone With a reasonably flat
but it is not really 'heard'. However, response. Some kind of caPaeitOr
who said electronics was an accurate microphone would be ideal.
4-54.i
sound pressure ma.,

Then, a microphone preamplifier of


course - you can hardly expect to drive
a pointer instrument from the MiCr0-
.12116 T5_111111111 11111111111 51/M Phone output! This preamp must be
Minium la1111111r, followed by the A.weighting filter
mentioned above, the output from
the filter is fed to an AC measuring
circuit, that indicates the level in dB.
The circuit described here will measure
in the 50 dBA to 110 dBA range.
CSS:11:51111;;;;iiiinfamP502:1:1 It is apparent, from a brief look at
MINe0i:ICIAmii;;;;;Iimmi0105 pia figure 2, that this is quite adequate
for normal use. Below this level, you're
aNa in the background noise. And above it'
You shouldn't be there in the first
MEMIC.1\30.111iiimin2115 place!
Within the range, you can compare
ENE the output level from two loudspeaker
systems: measure your neighbour's car
IIII11111111111111111111111111CIMAIIIIIII as he goes past, to find our whether he
20 50 100 1000
really needs a new exhaust pipe; or
wrong threshold
compare the noise produced by a jet
aircraft overhead to that of your own
eiwes little model aeroplane.
Figura 1. This graph illustretas the degree of sensitivity of human hearing. The lines of equal
loudness, isoishones, indicete et what volume a given f requency must be for it to sound as loud
no 1000 Hz tome The circuit
The complete circuit is shown in figure
4. A good choice for measuring micro.
IdlIA1 phone is the Philips electret type.
LBC 1055/00. Basically, this is a capaci.
for microphone without the need for a
tee
1
special high -voltage supply. It has an
FET buffer stage built in, so that its
Od aeroplane on Om ground
output is at quite a low impedance. Its
frequency response is virtually flat from
0000 to 10 kNa, and it doesn't run
disco sound inetalletion 100 into overload until the level exceeds
134 dB ...
1100.100V -II The FET in the microphone needs a
positive supply, and this is derived
bey Meat -1. via R8 and C3. The actual microphone
vacuum 1 00 signal is amplified by T1 and T2. The
gain of this stage is approximately x20
- determined by the ratio between
07 and R3. Both the input impedance
background Wel et home
(determined by RI) and the gain are
chosen to suit this type of microphone.
whispering ._ If some other type is to be used, some
modifications may be required here.
tNeshold of eudibilify 0 The amplifier signal is passed through an
emitterfollower 1T31 to the A -weighting
filter, consisting of R10 ... 012 and
CS... C7. This filter gives a reasonable
Fyn. 2.0mm...of loudness values expressed in dElae. approximation of the desired frequency
response shown in figure 3.
The final, stage is the actual meter
3 circuit. -IC1, together with the diode
IM111111=1111111 11111111111111l= bridge, e 1 mA moving.coil pointer
M§IIIIII=MMIIII
MIMI 1111111Pn.
.....IIIII=1
=Malls :real instrument and assorted feedback re.
_.III =PAM
WIIIIIIII =MU 11 NM
sistors, makes a very good AC volt.
meter. Diode DI is included to protect
IN . rAIMIIIIII IMMISIII II MO
I : MENIIII =Mill II =I the meter itself from overload. The
liMMIIIUNIMIIIIIII
F:11 =MIIIIIII =M11111 MI
MI1111111011111111
desired measuring range is selected by
means of SI. Effectively, the voltage
MO11111=E11111
IANO1111111111=1111
=MMIIIII=
MOMMIIIII MN
across the divider chain 10 14 R18)
is proportional to the current through
an11111=1M1111 =MMIIIII= the meter, and when the feedback is
taken off from a lower point in the
5000 10000 chain this will correspond to a lower
input voltage required for full scale
deflection.
The actual meter used is a relatively
re 3. The charectensucs of the A webghteel curve. 'sluggish' (heavily damped) 1 inA type
- as used for tuning indication, for
4

Figure 4. The sound presure meter circuit consist of a microphone, an amplifier, a filter, and
an AC voltmeter with range switch.

Figure 5. The printed circuit board with components overlay for the sound meter.

4-56 wo lass
soldering ...onions

nstance. A more sensitive instrument


6 can also be used, provided a suitable
shunt resistor is included in parallel, to
bring the total sensitivity to 1 mA
f.s.d.
figure 6.
A suitable scale is shown in soldering
There should be no problems with the
construction: a printed circuit board
layout is given in figure 5. The con.
nactions to the microphone are included
in figure 4. H.M. Wolber
Calibration Constructors use aluminium a great deal
Figure 6.A scale in dB's Mr the moving coil There are two calibration points in the because it is relatively inexpensive and
rneter Tbe lower male Worn 0 to 11 is the circuit: PI is used to compensate Inc vary easy to work with. However,
enema! mA scale. offset of ICI and P2 calibrates the soldering it causes problems, for using
actual meter. an ordinary soldering iron and solder
The first step is the offset cornpen just does not work. The solder does not
sation. Put M simple terms: with no seem to feel particularly attracted to
input signal present, the meter should aluminium. Nonetheless, Mr. Wolber has
read zero! The adjustment procedure come up with a solution which allows
is as follows. Disconnect the micro- 'normal' (601401 solder to be soldered
phone (otherwise it may be damaged!), on aluminium.
short RI and switch SI to the most The problem with aluminium is that it
sensitive range 170 dB ts.d.). Set P2 oxidises quickly. In other words,
unthe centre position, and adjust PI aluminium is always covered in a layer
til the meter just rests 51 0. of oxide. As you know, this is a very
Now to calibrate the meter. This is more good insulator and prevents solder
awkward. The best way is to calibrate from even touching the aluminium.
it against a reference sound source, or However hard you try to scrape the
by comparing the reading with that of oxide layer off, oxidation occurs so
a properly calibrated sound pressure rapidly that a new layer will appear
meter. However, we assume that rele as soon as the 'old one is scraped
tively few of our readers will have off.
Figure 7. Thls ...ilia, circuit is used to access to this kind of equipment. To prevent oxidation, apply grease or
calibrate Me mew. There is another way - less accurate, oil to the solder point. Then scrape off
b to d ghi t polcat'o the layer of oxide with a sharp object
Parts list Manufacturers specify the output from underneath the oil. The oil prevents
their microphones at some reference oxygen from reaching the clean alu-
f11.510IS: level. For the LBC 1055/00, n can be minium. Now drip hot flux onto the
2k2 calculated from'the manufacturer's data area with a soldering iron, sing
82=10k that the output 'at 110 dB should be the oil to evaporate and the flux. to
R3 SI 40 my (RMSI. This is rather a low value cover the area. The area can now be
04,911 Bk8 to set accurately at the output of a tone
85,116 39 k
soldered. To ensure a solid connection
generator but using two resistors, as make sure plenty of heat is produced
R7 1k2
8k2 shown in figure ], wilt solve that by using a soldering iron of at least
R9 470 SI problem. The microphone remains dia 000 W. If necessary, the area 00r1 be
910,114 980 n connected for the time being; instead. held over a gas flame to remove all
1112,1113 100 k the output from the test circuit given traces of oil before soldering.
R15.2200 in figure 7 is connected across la 1.
R16. NM With the output from the tone gene,
R17 r 22 11 ator set to 4.04 V at 1 kHz, we now
R18. 10 11
R141. 3300 have the desired 40 mV reference input
1 16 k preset to the meter circuit Switch SI is
P2= 5 k Preset turned up to the 110 dB range, and P2
is adjusted until the meter reeds 0 dB.
Capacitors: One final word, regarding the power
2p2/16 V supply. We deliberately opted for
C3,C4 . 47 2/16 V batteries, so that the unit is portable.
C5,C6 n A mains supply would be possible,
C7. 3n3 but it rather clumsy. With the low
current cosumption involved, batteries
Semiconductors: will last quite long enough! gol
Tt BC 5490
T2. BC 55.
T3 r BC WO
01 ...CM. 104148
ICI = 741

Miscellaneous:
Elmo. microphone LBC 1055/00
(Philips/
1 mA moving coil meter.
St . single.pole (Wow, switch
S2 doublopole on/off switch
Anaryalsoa,uas5 puoge,,, Sue aoivploaua5 au,01.1..1 I nuaFairoa 90113 +03,1o.
012100001
PROS
o rE r I0
ram
mommmmmm
0000000 121E1000130
Fin
00011100101
:111614
0000012110
I940L.
00E100011 000E10E10
s
171
d 0.1
r0010101010101 00001000
00000E10
IMM31
111:10:111
o o

Note: A prel ix to the type num., denotes Ole manufacturer,


99. co 9001 011C911, vac 19001 (motor.). N 9001 139neticsl.SCL 9001 (Solid State &ix -90191,811- tees 4-59
/-

-
TWO PART EDGE CONNECTOR DISCO LIGHT CONTROLLER
0/E/N have introduced edgeconnector Elektro World's disco light controller is
as per HE 901 specification. It can be capable of handling Me letedetrpto500
used as direct/indirect edge connector
with flex.lity in matching circuit
requirements. ConNcts available are
from SC 98, with 3 A rating. Terminal
styles available 515 5415 wrap. solder
I; 19
j;
watts. The el.tric bulbs controlled by
this unit will flash to the tune of music.
The level of sensitivity is adjustable
through the sensitivity control provided
on the front panel of the unit. The
pins and solder eyelets. controller operates directly from 230 V
When the edge connector is used as a mains supply and ',rev. only 500
NIO part system, it eliminates the need grams.
of gold plated fingers on PCB. Zeff"a=trerrrg"'" '""
245-34, gadrabad.
Poles Lane Corner JaMe 431 203

111111=11 DIGITAL PANEL METER


Evan Electro Instruments manufacture
a general purpose DPM for OEM
applications. It has three and half digit
IIHIIIIIQliUHtflttU LED display and requires a panel cut
out of 30 x 70 mm. The circuit uses
CMOS IC and superior grade corn-
=ntrnirReltclibr:sVarTglancel
For forMer formation, write to:
010/N Connectors Ltd. supply Yrel7agf;74:1P:TVt3c aIrS
Vyttila, Cochin 682 01g. the measurement range is 200 mV/2 V For further information. write to:
DC. Elektro World
48/81 Herne, Nagar
Moradabad-244 001
BRASS TERMINALS
Jain Electronics offer a wide range of
brass terminals for use in electronic
products. Use of these terminals DIGITAL BATCH COUNTER
results in neat aTa clean wiring and Sbaj Electronics have introduced their
simplifies servicing and testing of the new dig tel batch counter Model SA -01
product. A. A versatile digiNI counter specially
The terminals are suitable for designed far use in a variety of
mounting of components or can serve Forfurther information, write to: industrial applications with flexibility.
RS monitOrPg Points during assembly The instrument is compact a. rugged
a. testing. Terminals suitable for and is claimed to be highly accurate.
Mugging mrn patch cord are also Wampum. Elmorta 390 010 The counting can be done through
available. optical or mechanical transducers, or
any other means of obtaining electrical
Pulses.
R.F. DEVICES
Annan Inc. otter a wide range of RF.
Transistors which can be Ned in
pro...Nth power ratings as high as
1000 watts and frequencies upto 4.2
GHz. These devises manufactured
using thelatest ISOFET technology are
suitable for use in military, communi-
cation, avionics a. other smiNr
applications
For further information, write to:
remark Electronics Pvt. Ltd. For further information. write to:
Elecdonics
1,1111178;R"' 19, Mother Gift Building
Grant Road Bombay 400 007

FIXING CUP
For further information, write to: Suresh Electric. and Electronics have QUICK PCB LAB
ElectronMs intr.uced a new Nee of fixing clip for Elektromin have marketed a new
F-3:. Nand Dham Industrial Estate use where fixing the clip using screws
Mara Andheri (East) is not possible. This is S completely rpngtOtL; re's' Veri g'ritrn t
Bombay 400 05g insulated binding fixative clip. This is
mainly suitable for fixing onto the PCB 'etirna:nan'nl IrZirlPtEnr:r:1
by directly soldering. lilf,,,:rg:Ipeqie:,0,:steudrlin plated PCB

The set up is available in two models -


FUNCTION GENERATOR Junior and Senior ar0 contains all the
Rash. Electronics have develop. a necessary equipment, fixtures. pro-
new funnilen generator F-20. cessing aids and consurnables.
The function generator is available as Installation a. commissioning is
assembled unit or in kit' form. It has carried 001 03 the manufacturer's
rril=""ilf r""eranelLi,
5 decades. OutCpTriMjp°14Sev,1)'to 10 v For further information, write to:
repreNntative at the uNrs premises
For further Mlormation. write to:
Suresh Electrics and Electricals
Rfitatri=llyebTrcgat°.erfl= PEI. No. 9141, 3 B Cemec Street. V,= M EsMte
waveform: Sine. Seuroe and Triangle Calcutta 700 016 Setae Road Pune 411 009
4-60 awmor oss Nra lees
MICROSWITCH PORTABLE THERMOMETER
Raj microswitch typal...1S, is a emote Arun Electronics Pvt. Ltd. have
pole snap acting micro-swiMh withone introduced a pocketsize portable
NO and NC contact. The moving thermometer with LCD display. The
contact are of
of pure silver and the instrument works on 9 V battery and
operation is of beryllium consumes very low power. Ambient
copper trident spri, T. repeat temperature compensation is
accuracy is claimed tongbe exceptional tally provided.
Provided. The instrument can
antl the mechanical life, very long. either be used with Iron-Constantan (0
to 600.C) or with Chromel-Alumel (0 to
1000eC) thermocouples.

Forfurther information, write to:


Chowdhary Instrumentation
110. model Base,
New Delhi 110 005

LIGHTED PUSH BUTTONS


Efficient Engineers have developed a
For further information, write to: new series of lighted push buttons and
Raj Industries, indicators with rectangular bezel of 08
116 Guru Nanak Udyog Shaven. x 24 aim Two independent Mme
L.B. Sheaf,' Marg, Ethan... circuits and one or two pole self
cleaning and snapecting microaveitCheS
Bombay 400 078. in momentary or maintain. action are
offered, Any legentl can be engraved
on the front facia. These push buttons
are suitable for process control
PCB TERMINALS
Elmex Controls have introduced their
=iTleZ=as."'gr'rqui:irT°
control systems. sequencing logic
new PCB terminals. with international controls, hierarchy controls a. turn
standard module dimensions. Terminal key instrumentation.
width is 7.5 mm and length is 19 mm.
Soldering pins are mm
distance which can fit a standard PCB
grid. Provision for test tapping has
been incorporated. which is suitable
fM r 2.3 mm test plug.Terminal
Markings are possible through the
marking wi.ow provided in the front.
The terminal is rated for 500 V. 15 A.
Forfurther information, write to:
For further information, to: Arun Electronics Pvt. Ltd.
Sai Electronics B 125, Ansa Industrial Eatate
Thakore Estate, Saki Mar Road,
Nude Simi Road, Bombay 400 072
Viclyavinar (West)
Bombay 400 086

DIGITAL PANEL METERS


Omega offer a large range of digital
8 AMPERE RELAYS panel metes antl
Jorit's Engineering have announced AwCh 'gcZreAL antl
the availability of the new 8 Amp relay resistances.
f. mily CS from ITT France. The relays
For further information. write to are available to actual users in the
=ten...ling versions: Time delay,
rot17:7:=';:_74:ZA1"4,!:
Elm. Controls Pvt. Ltd current a. from au ohms to 20 mega
12, GIDC Estate, Makarpura 0"0 Inst=h2r.grirOn,g; shy Ohms for resistances,
Bato08 390 010 ontacts. The unit features three and half digit,
The 'CS' family confirms
half inch bright LED display and
to the automatic polarity and over range
international standards of CEI, VDE 'ndicetion. These DPNIs operate
and NEC. directly on mains SUPPiy.
TEMPERATURE CONTROLLER
C how0 ha ro Instrumentation have
tlesigned sign icy,

conboners. A set point arm is provldetl


ll n be set at any position
externally. When the indicating pointer
rol:rha;ont'll: ingat2t,ae
pick up. Two lamps are providedonthe
dial to indicate mains ON/OFF a.
control ON/OFF.
Accuracy is claimed to be +1, Relay
rating is 4 Amps at 230 g AC. The For further information, write to: For further information, write to:
controller is available in various Jost, Engineering Co. Ltd Omega Electronics
temperature ranges, depending on the 6,30,LrayPh=ah Mehta Road, 36, Hathi Bebu . Beeh
thermocouple used. Jaipur 302 006
aline cica nisi 1.64-61
liked
Leaders In Hi -Power
Semiconductor Technology
nnlq Introduce Reliable, Economical
11,0W -
POWER RECTIFIER DEVICES
HERE ARE THE NEW ADDITIONS RECTIFIER BRIDGES:
TO THE HIRECT RECTIFIER RANGE ENCAPSULATED. EPDXY-
AXIAL LEAD DIODES: MOULDED Bridges with
Ratings upto 10 amps. are now in
I you, rating: I amp. & 3 amps. regular production.
Individually tested. Ideal for thesis mounting and
Ideal for industrial applications. other 'Compact' panel applications.
Also suitable for demanding consumer AUTO DIODES:
electronics applications. Suitable for use in
FAST RECOVERY VERSIONS with very low AUTOMOBILES, WELDING-
recovery time (as low as 200 nano -secs) RECTIFIERS. ALTERNATORS.. etc.
for Switching Applications are also Pressfit construction simplifies
available readily. mounting & heal sink design. thus
effecting considerable economy.
specially for low voltage applications..
Presently made in 6 to 40 amps
ratings. Higher ratings & other
special electrical parameters can
be offered. Also,mechanical
dimensions can be altered to meet
OEM's specific requirements.

Manufactured by:
SUPREME POWERTRONICS PVT. LTD., Vfria today for technical information Harker .g
Nasik, Maharashtra.

:74
Marketed by: HIND RECTIFIERS LIMITED
Mahalaxmi Chambers. Bhulabhai Desai Road. Bombay 400 026
Tel:4923105.4923110.4923117,4923118 Telex 011-4269 HIRT IN
12/I. Richmond Road, BANGALORE-560025. Tel: 53489
2, Woodburn Court, 10, Elgin Road. CALCUTTA-700020.Tel: 447412, 431096, 435304
82. Dayanand Road, Daryaganj. DELHI-110002.Tel: 272097, 274470, 275571.
2. Raja Annamali Road, Purasewalkam, MADRAS: 600084.Tel: 666017
5-1-243/11, Venkatapur Colony, Padmarao Nagar. SECUNDERABAD-500 025.

2 DECADES. AND HIRECT STILL DIRECTS CURRENT TRENDS

eleFter apr,1 .86 4-69


classified ads advertisers index
CONDITIONS OF ACCEPTANCE OF CLASSIFIED ADVERTISEMENTS
APLAB 415
4) The Advertiser's full name APPEX 404
1) Advertisements are accepted BALAJI 412
subject to the conditions and address must accompany
each advertisement submitted. BRISK 4.64
appearing on our current rate COMPONENT TECHNIQUE 4.10
card and on the express The prepaid rate for classified COSMIC 4.72
understanding that the advertisement is Rs. 2.00 per DANNIES ELECTRONICS 404
Advertiser warrants that the word (minimum 24 words). EAGLEMAN ENTERPRISES 4.12
advertisement does not Semi Display panels of 3 erns ECONOMY ENGINEERING 4.67
contrawne any trade act by 1 column. Rs. 150.00 per ELCIAR 406
inforce in the country. panel. All cheques, money ELECTROMARK 412
2) The Publishers reserve the orders, etc. to be made HIND RECTIFIERS 469
right to refuse or withdraw any payable to Elektor Electronics lEAP 404
advertisement. Pvt. Ltd. Advertisements, INDUSTRIAL RADIO HOUSE 4.10
together with remittance, should IZUMIYA 4 68
3) Although every care is taken, be sent to The Classified 414
JETKING
the Publishers shall not be liable Advertisement Manager. For 413
KELTRON
for clerical or printer's errors or ou tstation cheques LUXCO 4 09
their consequences. please add Rs. 2.50 MOTWANE 4 07 4.65
OSWAL ELECTRONICS CO. 4.68
PADMA ELECTRONICS (P) LTD 4.14
WE HAVE THE KNOWHOW U.N. micro Electronics Toole like Soldering Ir.. PIA 4 11
P.m,. Cutters, Screw Drivers, PROCESS & CONTROL 4 67
elemreMcs design company, offers
firms seeking to incorporate the latest Tweezers at COMO. ilive Prig.. Con- SATO 4 06
technology into Moir products or pro- tact Arad.* ElectrOnl. (PI Ltd., 10, SIEMENS 405
cesses, design consultancy service. Srinelb COMplex, Ser0.10. 5046, TESTICA 414
Please write inconlidencegiving.sils Secunderabad 500 003. TEXONIC 406
of your requirements. Mr B. P. Shan VASAVI 4 67
czn C. H. Dave. H. K.. App. Sc.I VISHA 471
Road NMI. 1.113ombay - 400 084. -ZODIAC 464

digital hand -pass flash meter


filter 10mober 1,84.
page 0-301
I/Sup/Sept 1..
page 0-421
There are some stubborn ca. to oin 3. UM MOM lengths
ms defying our prevmus solut inmlated ill, The other side
Resistor Ft19 should be con- tion to problems cauSed by of OIL switches 55...58 and
nected in somas oath edditio leakage currenm. 1 you are the corresponding terminals
nal capacitor of 1 un between experiencing hese. rernow of Cg...C11 Mould also be
pin 13 of IC1 I- input of AO/ pin 3 of 1C.6 from its socket. unsoldered M. the pcb and
and earth: this will tante the um -seder all connections to remade 'in Me ate Mth short
factor to its required value. this .nt on pcb and re- lengths of insulated wire.
the times mated at the output make them -in the air direct
*01MS of tne woo mono.
stabl. are the periods of the
input 'mime and not of Me
output signals.

4-70 an,.
sAWBVW-228
LIC No 91
RN. No 39881/83

N
COLOURVISION

V01/0111PRIIPPZIPI

COSMIC COLOURVISION 3324


offers colour with style.
with built in electronic tuner
Three debadeS in Ire field Of electronics has
helped COgniC In Creating an Audio-visual marvel

51 CMS. The carefully manufactured multifunChOn unit


Hign intenSity prture tube offers vibrant COlOurS
with perfect sound
.8 mode channel seectOr
MatCheS any VI. System -UHF Or Vlf

Off with flying colours

00,0110011001 11....30 .0013

You might also like