Sunteți pe pagina 1din 54

21

January
1985
CNDIA Rs. 7.50

tunction
generator
soldering -iron
regulator
Ni Cad -charger
timer
7watt IC audio
amplifier
'-' 7400 -siren
light dimmer
contEnt-
Volume 3 -Number 1 news, views, people 1-18

the XR2206 in the function generator 1-20


EDITOR: SURENDRA ITER Mier old IC S0 still the one to use ffr a new function generator. This article
PUBLISHER: C. R. CHANDARANA how we have capitalised the 052200.5 good Wilda a. negated .
Mewbecks to provide a simple, but very ell..., new fun.. penerelior.
PRODUCTION: C. N. MITHAGARI
shorthand BASIC 1-23
Many computers provide a sons shorthand to simplify and speed up the opine
ADVERTISING & SUBSCRIPTIONS of wring in BASIC mower. Here we pro,ide the same feciety for the Minim
Computer a. other eS02-besed machines.
ctrl DR EtECTRONICS p50
Chotani Building function generator 1-26
52 C, Proctor Road Grant Road hflad.o.reasure sine, square a. triangle waves en very useful for testing
Bombay -400007. Cuits. This new function generator can pro...ern all but is neither expensive
nor difficult to oonstruct.

time switch 1-32


Dig78..1'045 INDIA BOOK HOUSE
Adds a tonts of sophistication and user -trim dlinew to cheap ha.ry chargers.

PRINTED AT, cumulative index 1984 1-35


TRUPTI OFFSET
103, Vasan Udyog Shaven. 1-38
Off Tulsi Pipe Road, with a pencil point
Lower Parer BOMBAY -400 013. imple effective desol.ring atcl

give your soldering tip a longer life 1-39


Elektor India is publish. monthly under 0. modern economy circuit that may increase the life expectancy of your eMeering
agreement whh Elektuur Hound.
August/September is a double issue.
computer -controlled slide fader 1-42
SUBSCRIPTION This circuit mt only enables slide pictures to fade into ea. other on the screen
U.1.5 aim. mad .r controlling the gating angle of other electrical apHiances
INLAND
1 Yr lis.76/- kYrslis.140, 31,133.200/r 7 watt IC audio amplifier 1-53
FOREIGN An economical Is,. performance amper
One year Only
Surface niNI 126/- Air null 210/- toroidal transformers 1-54
Theanicle discusses the excellent elenriCalucalitieS and a.antageSoftheloroidal
Irertalormer over the conventional types.

microprocessor -controlled frequency meter graft 0/ 1-56


A look at the ISCOMSS of We sophisti.tte4 menu...Nan frequency counter. The
constructional details we be featured in next mantles a

7400 siren 1-58


light dimmer 1-58
market 1-59

°°,===. appointments 1-61

switchboard 1-85
HTERNATIONALEDIIIONSPOITOn P HOL.ES
index of advertisers 1-70

=ttn..,
ZZra7: Z1" "

P.c. Vsylmilif liceretAS.

COPYRIGHT e RUMOUR SM. -


THE NETHERUNDS IN{

ileum cr. unwo Ism 1 .03


A fine design belongs on a 'SRO, BH EL, OEN, ITI, NGEF. 01
line Circuit Board. Keltron is course, there are good reasons.
uniquely equipped to supply The best equipped factory,
superior service on prototype with the largest camera in
boards. Our totally India-for photographing the
self-contained plant is presently biggest artworks.
devoted solely to their Infra -red fusing system for
manufacture. Our success has Miming solder plating.
THE FINE ART OF us to
up-dateu-Ce our Quality control to ensure that

1e
technology produce
multi -layer boards in the near eeiiieeggiat,ndteegly beforebitsfuil

ELECTRONICS: future.
The current expansion will
components are mounted in
place.
make Keltron the largest
producer of Circuit Boards in
Keltron P.C.B.s
P.C.B.s BY KELTRON ,11.1,a-.tecOgrocrlige=corlike
guarantee reliability.

Y-q5ELTRJZ1N
Know-how to serve the people.
Kerala State Electron.
Development Corporehon Lmited.
PCB Division,
Kulathoor, Trivandrum.

Bombay - 4927047. 4821448. 4925917. 49240B4. Colcut. MO, 249092. 11.001,5418493, 64187,0, 84131198, 841/802. Mod= 45.22IB. Se* ontre -
45 4321. 450055 Baopaloce 56.93. 564528 rmanOnan - 60241. Hyderabad 03708 ..odobod 05702,
oex.....anowy .6851.05
E 0.00.0 00.5
II coo

00
VU METERS FOR EVERY APPLICATION

STOCKISTS
Western Region Southern Region : Northern Region
Precious Electronics Corporation. Rodeos Bectronlo Corporation. Unita P.c.*. Co.
Chhoteni ukling, 52-C, Proctor Road, 9, Athipattan Street, Mount Road, 922, Lajpat Rai Market,
Grant Road (Rastr, .01.2Y 400 C. Madras -600002. Phone: 6422113 Chandani Chowtr De0d - 110 006
Phones: 367959, 369978 Manufactured by : Phones 228612, 222856
Padma Electronics Pvt. Ltd., Tonal Nadu

ION Digital STOP -CLOCKS


DOT MATRIX
PROGRAMMABLE GRAPHIC PRINTERS
WITH SERIAL & PARALLEL INTERFACES.

.L.RTZ Digital ALARM -CLOCKS


FLOPPY DRIVE
SLIM TYPE 51/4" FOR APPLE II +

MONITORS
CRT 12" - Green - P31 phosphor.

' Small Quantity available, Exstock.

Contact.
TRAoe ENQUIRIES SOLICITED

ION Electricals ro=77,77. °e"" DOMINION


RA® OCI)
15, New Queen's Road. Opera House. Bombay -400 °°4
PDOpes: 35014] 382989 CABLE: "005186"

1.06 SILITO Ins


The
41/13/\
edge -connector collection

A combinatbn of pitches.
no. of contocts and tenni-
nations that's unmatched
You name it.
k, the market.. there's an We have it.
0/E/N Edge Connector for
every application.
Typically, we offer the
MultIbus set of 86 pin
And only we have it.
Comm) and 60 pin Series 8607 8: eltch 3.96
2.64 mrn)Edge Connectors. Termination No of Contorts reerninoton No. of Contacts
in the 0/E/N Single goods Billie Double
range include Standard sided sided sided
and Reverse Euro
Connectors and Sub- Wire mob/ 2, hairs Wkr.""°R1
401/ ,.. ,
22 25
miniature D Rack and Panel SM1019111 - se. Meg., Nolig .. ,i, as 44 50
4. ;36
-
, .
'
SD
SOld01 WNW ---' - 98. 100 Soldof eyelet
Connectors.

0/13/N coimecors ild682019.


Regd. Office: 2.18240. 2, Cochin
'none: 33132. 33709, 33418 Cable: "0,47111417, SeMe:068*-529
factory Electrogn P.B.No1. MulariMuroinv- 682 314. Km..

We make electronics work


Stecidsts snot Metro same (Pvl.) Lido Lomington Chamber, 2n0 Floor. 394.4 Lor660,66 Rood,
Bombo, -400 004.Tel' 354016.358537. Barn Components 38/1. 'stir., NS. Nang. Street
Seshackiburam savours -560 gm Tel: 27888 70503.

07
DM20 MULTIMETER

PLA'. improved DM -20 measures ACV


with frequency range upto 30 KHi
throughout. Its 200 mV range can go even
upto 100KHz. It measures AC/ DC volts, PLA ELECTRO APPLIANCES
AC/ DC current, & ohms. I / P protected
for spikes and accidental over loads, mis- THAKOR ESTATE
ranging, improper function selection. KURLA KIROL ROAD,
Basic accuracy is ± 0.03% rdg. ± 0.03% VIDYAVIHAR WEST
F.S. + 2 digit. It has rigid DEFENCE con- BOMBAY - 400 086
struction and PLUGIN IC./LSI. It PH : 5133048/5132667
operates from 230V AC mains.

CONTACT:
PLA ELECTRO APPLIANCES
Phones:5133048/5132667

INSTECH SALES & SERVICES BOMBAY


Ph. 354827 Et 382866 FORTIBUS ENGINEER.
ING PVT. LTD. PUNE Ph. 34706 AMITRO
NICS BANGALORE Ph. 221246 LITTLE
TRADERS NEW DELHI Ph. 625769 K.V.
ASSOCIATES MADRAS Ph. 411601 TECHNO
SCIENTIFIC CO. CALCUTTA Ph. 278742
PRIME ELECTRONIC PRODUCTS PVT. LTD
HYDERABAD Ph. C/o 38358

1.151.09
The Superswitcli range of Thomson-CSF.
A family of switching transistors and diodes.
Now available in India through Meltron.

Meltron now makes 4. Temperature 9. Discrete High Power For technical details and
available to the Indian Compensated Zener Semiconductors-Power prices, please contact:
Industry a complete range Diodes Diodes, Fast Recovery
of sophisticated Maharashtra Electronics
b. Microwave Components Rectifiers, Invertor Grade
Semiconductor Devices and like Semiconductors, Thyristors, Darlistors. Corporation Limited
other components against MICs, Ferrite Devices & Triacs & Alternistors. Plot No. 210, Sackbay Reclamation,
AUL/OGL. Rollers Renfro, 13.1M1 floor,
Materials, Optical THOMSON-CSF
The highlights of this range Components and other ,pmppneg,. group, one of Vgo7:;pPer3P,tt" ""' .
Passive Components the world's largest Telex: 011-5817 ME
I. I. Superswitchb range of Space qualified component producenalso Cable: MELTRON
Transistors and Diodes for components has a complete range of 74, Hansalaya,15 Barathandsa Road,
use in switch mode power 7. Integrated Circuits- Passive Components to ty,. ,,,ell'' 'Mall.
supply exceeding 1KW,
Invertors, Convertors. etc.
Consumer Audio & TV offer. This range includes
Connectors, Reed Relays,
i:Z1nii.ME.
Circuits. Operational 55, Rama Sivas. 10th C
2 Transient Voltage Amplifiers. Voltage Reed Switches, Plastic Film West of Chord Road. '''''
Suppressors "TRANSIL" Regulators & Capacitors, Commutator t SDP, ...Valor. 50 086.
Capacitors, Ceramic Telephone: 350772
for high surge capability Comparators, Special
Circuits. Moe Micro Capacitors, Ferrites. Delay Te'e":085-'1.
3. Schottky Diodes for Lines, Semiconductor
extremely fast switching Processors Memories, etc.
8. Crystals and Crystal piece -parts. etc.
and for repining
Germanium Diodes Oscillators

THOMSON- CSF
manon
Meeting the challenge of tomorrow.

demo. dd. ,annarr Ions 1 17


the X132206 in Ne Function generators based on the almost
function generator legendary XR2208 usually have a few
faults that are well known to users of this
IC There are dirty spikes on the peaks of
the sine and triangle waves, these two
waveforms become more and more similar
to each other above 100 kHz and the
amplitude decreases gradually then also,
the frequency scale is not comad for
asymmetrical waveforms (sawtooth and
pulse waveforms), and the so-called
sewtooth a more Mks an asymmetrical
triangle. Apart horn these points the IC
works well...
One of the aims of the new function gen-
erator is to do away with them disadvan-
tages. We must, however, first of all know
the reason for the 'errors' before we can
see how to solve them.

the XR2206 in the A better waveform


The difference between a normal
XR2206-based function generator and the

function generator new Elektor design is shown by the two


photographs of figures 1 and 2. Them do
not require am, further comment. The
diagrams in figures 3 and 4 show where
If a special IC is used in a circuit it usually means this difference in the waveforms comes
that the number of components needed is greatly from. The standard layout is seen in figure
reduced. Them is, after all, an extremely large 3, whereas figure 4 shows the basics of
number of semiconductors in one 'black box, the new design. The heart of both is. of
course, the same XR2206 whose internals
sometimes even in exactly the right configuration for are illustrated in figure 5. Where do those
a particular application. This is the case with the spikes on the sine and triangular
XR2206 used in the function generator described waveforms come from? All the tests car-
elsewhere in this issue. What this does not mean, ried out suggest that the principal cause
will be found in the circuitry connected to
however, is that the design can be made in no time pins 13 and 19 (waveform adjust). Within
at all. There is a lot more to it than simply using an the IC these two pins are connected to a
application found in the manufacturer's data book. differential amplifier that makes a
sinewave horn the triangular signal. Even
a few remarks a very alight capacitive load on pins 13
and 14 will cause spikes to appear in the
about the IC signal, and this could be caused by even
and the design a short length of cable or br the Mac"s on
\ the printed circuit board. The only sol-
ution for this is to keep all connections to
pins 13 and 14 as short as possible with
extremely short copper traclm between
the IC pins, the switch and the preset.
This is the reason why the circuit of figure
4 uses a 8S170 (V PET) for switching close
to pin 14. Another cause of the spikes is
the fact that the 2208 consists of a square
Figure1. This photo wave end triangle generator followed by a
shows an X132.206 triangle to sinewave converter The square
sinewave complete with wave's sharp edges corrupt the other
No typical spikes.
waveforms as well. If nothing is connected
to the sinewave output (pin II, which is
linked to the collector of a switching tran-
sistor in the IC), or if it is short-circuited,
the sinewave is completely Mean'. As soon
as a resistor is connected from pin 11 to
the positive voltage supply line the spikes
re -appear. A combination of square wave
,' 2. Again a and (undistorted) sinewave in the same
sinewave provided by e generator is only possible if the output
Z206 but this one is
generated by the Mentor voltage of the square wave at pin II is
function generator. The kept very small and this output is not
tops of the sine could loaded too heavily. In figure 4 pin 11 only
ectuelly be made a bit has to drive transistor TI. The base
rounder. This would look current for the BSX20 is provided via
better would Increase
the distortbut ion. resistor R15. If the internal transistor con-
netted to pin 11 conducts it simply
emoves the base current of T2. The base -
mitter junction of T2 prevents the output
3 ti tM 3112206 in the
function generator

amplitude of pin II from rising above


0.8 V The square wave at the collector of
TO still has a peak to peek value of 18 V,
which is not very favourable for pin U.
The solution here is to short the output of
T2 if a triangular or sinewave output is
chose. In this way the square wave is
very effectively suppressed when it is not
needed.
Optimal amplitude adjustment
The amplitude setting, by means of the
AM input (pin I) also appeals to have
quite an effect on the waveform. Cross -talk
(for want of a better word) between the
square wave and triangle/sine wave output
(pin 2) will be reduced if a positive
voltage is applied to the AM input This is
why pin I in figure 4 is at +4 V. At -4 V ea

the output voltage would have been rust Hare 3. This Is the nor-
sensitive to distortion and changing the mmal lay°m used with the
as large but there would have been more very
likelihood of distortion. resistance also changes the do. level at components are used Put
The amplitude of the output voltage at pin pin 2. This problem could be solved by the resuTh achieved are
2 is effected by the resistance on pin 3 of duplicating P5 and P6 and then switching not very good.
the IC To retain the same output ampli- between these two branches. That is not
tude when switching between sine and what we have done, however. The
triangle the resistance at pin 3 must be amplitude and dc. level are fixed for both
about 2.7 times as high fora sine as for waveforms with P6 and P6 and the
the triangular wave. Many 2206 -based cir- amplitude correction needed is carried
cuits simply switch the resistance at this out at the output by means of voltage
pin but our experience shows that this is divider 1123/R24. The impedance of this
not to be recommended. Wires and backs voltage divider could only be kept low by
to the switch then make the circuit very including an emitter follower (T3) before
Figure 1. The Elektor
function generator uses
puke a few external com-
POnents. Here it is seen
without The output
fier and power supply.

mamass 1.21
Figure 5. This block arrangement the maximum frequency can
al. taro
itaneyme. be preset using P3 without effecting the
The actual oscillator in minimum frequency already set with Pl.
the IC IWO) supplies The voltage from pin 10 is also used as a
triangle aM square reference for external frequency settings
waveformse The freMermy
can be set byre eans of via the VCO input. In this way the
pins 7 and 8 ithese are optimum frequency stability is achieved.
117 me
rents for the capacitor
-
No compromise
connected between pins 5 The next point on the list is the 2206'3
and 6i. A sine MP. ability to generate asymmetric waveforms.
forms e Mem. from lb do this the time constants for the
the triangle. The sawtooth and pulse waveform must be
Ii IPM l sn4 31
n.nI a ins the switched. This is achieved by tying the
FRC input (pin 9) to the square wave out-
points 16d aM ICUne are put (pin 11) so that the capacitor between
connecte to the/15 si
pins I and 6 is charged by the current
St, P Or
hem pin 7 and discharged by the current
from pin 8. This is by no means a perfect
solution fora number of reasons. The dif-
ference between charge and discharge
times cannot be made great enough so
the saanooth looks more like an asym-
metrical triangle. The frequency scale of
the potentiometer on pin 7 is no longer
correct an this now determines only about
half of the period duration the rest
depends on the 'resistance or current at
pin 8. The external frequency control (via
the VCO input) mast have an extra switch.
Finally, the square wave fed thmugh the
pnnted circuit board and switches from
so pin II to pin 12 comman the other
waveforms. Our answer to these points is
sanightfonanrd: it is bener to have no
asymmetrical signals than bad ones.
it A high -impedance voltage divider Regarding the stability of waveforms and
as 5k6/3k3) would, of come. do away
with the need for the emitter follower but amplitude above 100 kes there is also only
it would introduce more distortion and one acceptable solution: the frequency
would make the circuit more sensitive to range should not extend beyond 100 kHz.
The power supply used is completely
noise.
symmetrical. This enables it to work
Frequency setting: linear and without decoupling capacitors and the
square waneform u very good even at low
stable frequency.
The basic circuit of figure 3 uses a All these Improvements' on the 2206 are
variable resistor (PI) to select the desired only possible if a double -sided panted
frequency. In this way the frequency is circuit board is used. This is the only way
barely effected by changes in the supply that the critical tracks can be kept as
voltage but the scale division is not very short as possible and/or far enough from
usable. The relationship between the each other. This also enables the wiring
resistance value (position of the wiper) between the board and switches, sockets,
and the frequency is shown in figure 6. A and potentiometers to be kept shorter and
linear frequency scale is obtained if the simpler. This sort of printed circuit board
voltage rather than the resistance, at pin 7 requires a lot of care in the design stage
is varied. This idea is implemented in in order to find the best layout. In this way
figure 4. In ids case P2 forms a voltage it M more than simply a way of intercon-
divider by means of which the (linear) necting the components: it is an essential
wiper voltage is fed to RIO. 'lb prevent the part of the circuit.
frequency from being effected by vari-
ations in the supply voltage the poten-
tiometer is connected not to the supply Conclusion
but to the output of a low -drift op -amp Even when a circuit is based on a special
(IC2). This LF358 buffers the voltage pres- IC that contains almost exactly the layout
ent on pin 10 of the 2206; this pin actually required a Mt of work is needed to
provides an internal reference voltage finalise the design. No part of the project
from the IC There are two advantages to may be overlooked. We have designed
using the reference voltage for P2: the fre- the function generator carefully in order
quency remains stable and the voltage to allow the X112206 to do its job as well as
across P2 cannot become higher than that possible. What is also important is that we
at pin 7 (which is also connected to the have not pushed the IC to its limits. Doing
reference voltage). The oli-eran also this could only have meant that the circuit
ganouples. presets PI and Pa With this would be full of compromises
short...SIC
One of the less pleasant aspects of programming is having to spend
hours just typing in a BASIC program. You arrive at line 8760 and
have to type: P -O -K -E P -T, -A -S -C M -I ... or
something similar and wonder how secretaties can type the whole
day long.
Fortunately there is a cure for this ailment. Shortened forms of the
BASIC instructions can be used: for example 0 for POKE C for ASC,
M for MIDS and so on. All that is needed to enable this shorthand to
be used is a small machine code program intended for 6502 -based
systems, and the Junior Computer in particular. Then you can
concentrate on your program instead of having to worry about the
typing.

: short-
Mil IIIII ma
hand
A ,4 BASIC
S IIII MIR
' z
imm U short-
Nil A-
Iiii. G
No H
111111 eft hand
X
*111
ill.j
BASIC
NMI mimic V
aft short-
am
14A/

limi M
limo
< hand
BASIC
The purpose of the machine code pro- address to our routine just before leaving
gram given here is to provide an abbrevi- it using the IDS instruction. But let's start
ation for a number of BASIC instructions at the beginning.
(Particularly the long ones, like RIGHTS) When BASIC is waiting for something
so that they do not have to be typed out from the user, or, to be exact, from the
longhand every time A single lever will keyboard, it enters a wait loop that it only allows BASIC
be enough to identify an instruction if it M leaves when it receives the ASCII code programs to be
preceded by the ASCII code 'BEM in for CR (carriage return). This character
other words it the Escape key is first receiving loop is wheie we enter the typed two or
pressed. This indicates to the computer scene In order to do this we must change three times as
that the next character is not an ordinary one vector the address of the reception
one and should be treated as the routine (RECCHA, for example) is fast as normal
abbreviation for an instruction. An R replaced by the address of the routine to
following an Escape would then give which we want to send the processor,
REAL; and P would give PRINT. The first which in this case is the address of label
function of our routine is to Biter the SHHAND at Efigi1HEX. In the NM. Com-
Escape code The following character puter and similar systems this change is
must be one of those that corresponds to done at the level of the DOS input/output
an abbreviation- When this has been con- distributor. This distributor is made up of
firmed the program then outputs the com- two bytes, one for inputs (2321Hia) and
plete instruction as if it had been typed in the other for outputs (2322HEO. Each bit
lever by letter via the keyboard. in these two bytes cotresPoncin to
specific inptc or output routine (keyboard,
RS232 output. Centronics output, memory,
etc.), whom addresses are found M a
Two look -up tables look -up table (2321...231F). In this table
The whole mama is relatively simple but we replace the address for the mutate to
it does make use of some rather clever receive a character from the keyboard
vector manipulations The flowchart shown with the address of the muline described
in figure I should make it easier to in this article
understand. Clearly this 'program' is really We are then at the cold start entry of
only a subroutine and the user eidts from Ague I. A character is first read from the
it by means of an RTS command. The keyboard and analysed. If it is not the
clever part consists of changing the return code for the Escape key the routine stops
ever, ,nee lenuaN ass 1.23
shot.. BASIC immediately and the character is treated orlon hated in the look -up table repro-
normally. If, on the other hand, the charac- duced in the listing. The 6502's Y register
ter in question is the Escape code the serves as an index while this table is
sursor starts flashing to indicate that the being referenced. Whenever the charac-
pecial abbreviation roudne is in oper- ter received after the Escape corresponds
ation. The next character can either be to one of those in the table the processor
the Escape code again, in which case the can locate the complete instruction based
med.. a Mopped- or one of the abbrem- on the contents of index regi.er Y All it
Figure I. This flowchart has to do is seek it in another look -up
shows how the abbrevi- table located in the BASIC interpreter
ation routine itself deter. starting at address 02840E5. As we can
mines from which entry it see hum table I, all the instructions
is started.. decision Is known to the interpreter are found there.
based on whether the
previous character re. In order to distinguish them from one
mitred is the last in a another the ASCII code for the last
chain corresponding to character in each instruction has been
the abbreviated Memo changed. Its bit seven, which is normally
tion.
XI'. is set to 'I' and then serves to indicate
the end of an instruction An example of
this is seen at 02136HEM this address
should contain 44HEX (the 'D' in END) but
it actually contains C4HEX.
Asa
ANC
CSC
Changing the vectors
Ch. H Now we have arrived at the most
COS fl
interesting part of the program: the cold
DATA D start entry. The processor then loads a
DEF
DIM
character from the look -up table indexed
DISK by register Y and examines its bit 7. If it is
END logic low it is not the last character in the
EXIT chain so there are more that must be
FR loaded to complete the instruction. This
FOR
GOSUB explains the changing of the vector for
GoroUT the input distributor so that in order to
IN P receive the next character the processor
INT returns to the warm (rather than cold)
LEFTY 8
LEN
entry to our routine. As soon as the
LIST character received has been converted to
LOG BASIC (the character is stored in buffer
MIDa M AHOLD while the RIO instruction is car-
NEW OCFF HEX, ried out) we return to the abbreviation
NFXT
" handling routine_ this time by the warm
PEEK start entry. A new character is then loaded
PONE 0 from the look -up table. If its bit 7 is logic
PEW LF 10/11.10 high this means that the instruction is now
PRINT P
READ
complete. The cursor flashing can now be
REM stopped and then the input distributor
RESTORE BS 1111.E. vector is again changed so that ft once
RETURN again points at the cold start army to our
RIGHTS 8
routine.
RND
RUN CR 111011E. Before the last character (stored in
SON AHOLD while the RTS instruction is being
SIN executed) is transferred to BASIC its bit 7
SPCI SP 120HEX, must be reset to zero. The whole abbreiri-
SCR
STEP
alien routine is earned Out in a fraction of
BTIP !1/ a second. The user presses the Escape
STR0 key and then R, for example, and the
TAM tar lethisict word READ appears immediately on the
screen.
IN
TAN
The complete listing of this machine code
TRAP
routine is given in table 2. The outlines
V!! that are shown in the flowchart of figure I
":9:¢3215053.660.1.11.1¢.8 we easily picked out. There are still come
""1:111,45141W15591,0.0.4.11.1.g,
things that should be said, however. As .we
have dealt with the working of this routine
Table 1. The BASIC in- in some detail it should be quite easy to
terpreter has its. a 1.1i - change it to suit any system other than the
up table where It can find Junior Computer. The flashing cursor is
the reserv. words .1.- firmgaa CSC a CE.531.46131.1411.311.11.71111. just an 'acceattotY", it could be replaced
1/and!. to instru by another signal if you prefer. Note the
tions. This table ago. us
to reconstitute the com- absolute addresses: the input distributor
plete Instrumions tom (10TABL), the buffer for the character that
abbreviations is being transferred (AHOLD), the
I 24 elealor mchalanuary lass
shorthand YAM

0116 1019

91.15. ASIC LAMA 9111119 IMAM

AI

9:099 9AA:00

ARO INN 91999501


SOMA 01110
101. 10/1 AA:
AA:MA
Mt AAA
1101,138 A
AAA 151.1
111, MA 31
52

RAW IORIA9
ARAI 0118 ARIA DAWN 31611

ARRA AILS

NM I 913191 OMR 90/1110 411011:100


rEZ:
191115110/10111111191

i4

WV PAW MIRA H819191

AM: 019 a A R
1990:09910 el
101: Alt A 11 11:

IRA AV MX 195 MN OM. 111090 IMO 15111.


AN: AN 0 19 AMA WA 1119 19 11 rxwi
re% 'crEni 'c's;isa.' i7n7
9599: OM 15 81911 ARO MO IA TEX BMA
9539: FIR A
15:91: Alf 13 A 01. LIA10131
AT: AA A II Mt AI

"
5511.1F111 MEC COMO AIM

%sr..
1110,511 AMR IMO
- Table 2. This is the COM-
PICau listing of the short-
hand BASIC routine.
landtarrtr
listing can be changed. It
is essential, however. to
HAM NOMA AI TO retain the order of
instructions given here
ST' :0;97:1711.9 1-1651001 Os. END - FOP - NEXT
101AL 01191619100115110111A50 etc.I but different
ATM 10 3191C 19: EVA
abbreviations may be
5:AIR ABM LOAIR 061310 0110980
. Mat the list of
abbreviations and instroc-
Dons given in the margin
of the page opposite is
sorted into alphabetical
rather than logical order.
keyboard reception routine (RECCHA) be done in order to incorporate this
and the look -up table for the interpreter routine in your system. First it must be
(BASCOM). These are not directly com- loaded to memory (from a diskette) Next
patible with systems other than the Junior. the input vector at 2301I1EX must be
There are also some absolute addresses at changed so that it points to the start of our
fines 750, 760, 880 and 890 of the listing. It routine. If this starts at EOM, as it does
the routine is placed at a different location here, the vector will be DFFFHEX
to the one we have used these addresses (= ENS - p. In BASIC this gives POKE
must also be changed. Two things have to 8961,255: POKE 8962,223.
lAior incha A13913 Ises 1.25
function generator
A function generator is without doubt an essential part of any serious
electronics hobbyist's laboratory. It is indispensible wherever
sinewaves, triangle waves or square waves are needed. In the
January 1978 issue of Elektor IUK) we published a design for a
function generator and since then it has remained a very popular
project. The new design we present here uses the same function
generator IC as its predecessor: the XR2206 from Exar. We have, of
course, taken note of the advances that the last seven years have
brought so this new function generator is a great improvement over
the old, being more sophisticated and more capable in many areas.

made -to - a .nes, but as we hall quite a few lab


Technical specifications instruments on our planning sheets we felt
measure Frequency range: 1 Hz .110 kHz, diWeled it would be worth while to put them all in
into five decades
waveforms Paternal -voltage controlled, 0.1. 10 Von the same cases to forma 'family'. It all
VCO ham gives a frequencY range of started with the pulse generator and capa-
1...100, input impedance is 1 M4 citance meter, now we add a function
Waveforms: sine, triangle. square generator and next month it will be a fre-
Hermonic distortion on the sineweve: quency counter. What comes after that
0.59,
DC OUT: all waveforms, amplitude you will just have to wait and see.
100 mV...10 Vpp, d.c, level adjustable from A new function generator could be
-5 V to *5 V. output impedance is 50 4, expected to have a completely new con-
short-circuit protected cept and be made with the latest ICs. That
AC OUT: all waveforms, amplitude
10 rr...1 Vpd frequency range is what we thought . well but after
0.1 Hz...110 kHz 1-3 den, output impedance searching fora replacement for the
is 600 4, shon circuit protected XR2106 we decided to remain faithful to
SYNC OUTPUT: square wave, amplitude this old IC There are a number of reasons
600 rnVpp, no d.c. voltage component pres-
ent, output impedance is I ka, shon circuit
for this. First of all, the function generator
protected, shut-off impedance;e10 k4 must retain a fairly simple layout. The cir-
cuit must not become too expensive and
it must not contain exotic ICs that am not
Although the 'simple function generator' freely available. A completely discrete cir-
described in January 1976100 issue) was cuit seemed too complicated to guarantee
(ehd is) a Popular project, the time has that every one built would work properly.
come for it to be replaced. Over the years A digital solution (with the waveform
many things change and technology, in stored in . EPROM followed by a digital
particular, has taken big steps forward. A to analog converter) would be very up to
new function generator would therefore date but would require .pensive, difficult
seem to be in order. Furthermore it will to find components. What it all comes
not have escaped our readers' attention down to is this: although Mn years old, the
that Elektor has been publishing a .rtes XR2206 still seems the best IC to use .
I of tea instruments. Actually, it is not really the heart of a new function generator.
1 26 a 1.1 or 198
Deciding to use the X112206 in a new func- The circuit function ge
tion generator does not mean falling back We will start with the simplest part of the
on an old design. We have used a number circuit the power supply Thin has the
of clever (we are modest today, aren't we) usual configuration with centre -tapped
solutions to overcome the well-known mains transformer, bridge rectifier and a
(infamous even) drawbacks of the 2206. Pair of voltage regulators (IC4 and ICS) to
How this is done is described elsewhere provide the symmetrical + and -15 V. The
in this issue by the anion 'the X112206 in purpose of LED D9 is to indicate that the
the function generator. generator is switched on The maximum
What can it do? supply voltage to the X112206 is only 25 V,
however, so + and -8 V are fed to pins 4
The aim was clear: to develop a small, ef- and 12 of ICI respectively via earner
ficient function generator. Nobody wants a diodes D7 and D8. Within the IC is a very
huge case covered in knobs and switches stable voltage reference giving 3 V dc.
if they can have a good -quality basic (relative to the negative supply line). This
instrument that is not completely voltage, which is available at pin 10 of the
shadowed by the (rather expensive) ready- IC, is decoupled by capacitor Cl and is
made units that are available. As the used in this circuit an a reference for the
technical specifications in the table here frequency setting by means of P2. The
show, we think we have succeeded in this reference is buffered by IC2 in order to
and even the front panel (figure 5) is quite reduce the load on it. This same
attractive. The standard waveforms are reference voltage is also present at pin 7
available: sine, triangle and square. Price of ICI. The frequency of the 2206 is
considerations mean that digital frequency directly proportional to the current flow-
setting and read-out have not been in- ing from this pin, which is determined by
cluded. This is taken care of by a single the voltage at the wiper of potentiometer
knob, which, once calibrated, is accurate P2. When the voltage here is high, 3 V for
enough. It is always possible to connect a example, very little current flows so the
frequency mean to the generator to see frequency is at its minimum (train). The
exactly what frequency is selected. For frequency is highest (iman) if the voltage
normal use it is important to have a large at the wiper is low (when the wiper is
output -voltage range with a variable offset turned completely to the negative supply
level. The DC OUTput has a maximum side). Note that all the voltages quoted
amplitude of 10 Vpeak-poak an an output here are relative to the negative supply
impedance of 50 4. The offset can be line The lower and upper limits of the fre-
varied between -5 V and +5 V which is quency can be changed with
of particular use where a square wave at presets PI and P3.
TTL or CMOS level is needed. A separate The FSK input, pin 9, of the IC is used to
output for audio use (AC our) is fined switch the frequency setting of the 2206
with an output capacitor; in signal level horn pin 7 to pin 8. When S2 is switched
can be set between 10 mg and I V (again to EXT potentiometer P2 no longer hat
peak -peak) and the output impedance is any effect and it is the current born pin 8
600 4. that deterrnines the frequency. This cur-
The signal is kept an clean as possible at rent depends on the control voltage
higher frequencies by the use of a wide - across resistor R9, which is provided by
band dc:coupled output amplifier. lb be the VCO input via IC3. The 3140 invers
honest we must admit that the sine the VCO voltage so that when it increases
waveforms not completely free of distor- the frequency also increases. At the sane
tion but this in an evil shared by almost all vme IC3 serves to ensure that the VCO
function generators. Distortion measure- oltage range corresponds to the range to
ments on hi-fi equipment should be made which ICI reacts. To do this the non -
with an actual sinewave generator (such as inverting input of IC3 is linked to the 3 V
a Wien bridge oscillator). We have none reference via voltage divider R6/R7. If the
the less done our best to make the .VCO input is not required this whole sec-
sinewave as pure as possible. The result of tion can be omitted. This includes IC3,
our labour is shown in figure I; the upper Ry...129 and S2. The connection for the
trace shows the waveform born the Elektor common pale of S2 must then be
function generator while underneath this
is the equivalent Roma ready-made gen- Figure 1. The sinewaves
erator that is also based on the 2206. generated by the Elekter
function generator
Clearly, Our's' is the better waveform, with (shovel end a ready-made
less than 0.5% harmonic distortion. equivalent lbelowl.
Another important detail is the VCO input
This is used to provide a linear frequency
control in a range of I...101:llbased on a dc.
voltage of 0.1...10 V
The circuit will only work optimally if the
tracks on the printed circuit board and the
wiring in general are kept short. For this
reason the board we have designed is
double -sided. This not only improves the
quality of the waveform, it also makes con-
struction easier.
1.27
Figure 2. The circuit of
Me function generator grounded. The actual frequency range of The square wave is always aysilable at the
cons. of three basic the generator is decided by capacitors SYNC OUTPUT of ICI (Pin II). Ire
sections: the generator C3...C8 and is switched by means of amplitude is only 0.5 Vpp but iris a pure
based on ICI. the
ut amplifier switch SI. Two electrolytes in series are waveform. All dc. components are
71711117r%' the sym- used for the lowest range, giving the blocked by capacitor CIO. The symmetry
metrical suppie equivalent of a bipolar 11,...F capacitor. of the waveform can be changed by
IC61.
A rather complex procedure loused for means of preset P7 connected between
selecting the different waveforms, based pins 15 and 16. The amplitude of the
on three -pole switch 53. A sinewave is signal outpta at pin is set with preset P6
produced when 53 is in position a. Part A and its do. mine is charmed by means of
of the switch then electronically inserts Preset PS. The AM input of the 2206 (Pin 1)
preset P4 between pins 13 and 14 is fixed at +4 V de. by voltage divider
(waveform ad(ust) via VMOSFET TL Pan B R3/R4.
shorts the output of T2 by connecting it to The output amplifier is completely
-8 V so that the square wave cannot discrete, consisting of a differential ampli-
distort the sinewave. Part C feeds the fier (T4 and T5), a driver (Tel and two
signal from ICI. after buffering by T3, to Power transistors (T7 and T11). The gain of
the output amplifier. this whole section is determined by the
Position b selects the triangular waveform. ratio R30 : 029, which works out at a litde
Section A now deselects the forming of a more than three times, A 16 pF capacitor.
sinewave vie the I70. section B still CIL is included to ensure frequency
disables the square wave and section C stability without effecting the amplifier's
again feeds the signal to the output ampli- slew rate too much. The quiescent current
fier. One small change noted in this pos- of the output stage is set by diodes DI
ition lethal the signal born ICI (pin 2) and D2. The output current is limited by
travels via a voltage divider after T3. This resistor 536, which also defines the
encoded to keep the amplitudes of -the impedance of the DC OUTput. The dot.
sine and triangle the same at the output as offs. can be . with potentiometer P9.
the XR2206 gives the triangle a much Output 'volume' is controlled by means of
greater amplitude than the sine P8. A bipolar electrolytic. consisting of
The square wave is selected when S3 is in capacitors C13 and C14, is used for dc.
Position c Again T1 is kept 'off by means suppression The output voltage is
of part A. Section B allows the square lowered by voltage divider 536/037,
wave, which is amplified by T2, to pan on whose values are chosen to give an
via section C to the output amplifier. impedance of 6000.
funetwn generator

Figura 3. The Primed ciry


suit boa r2 for the func-
tion generator Is
2ouble-s1202. thus Won -

.Ides of this board


are shown on h: primed

=t''ff1If'fflisersZr

1p WTI
-
C8 1 n MKT/
- 150 p
C11 . p
C12 = 15 p
C1, C1 - p/25 V
C7, C8 = 100 {025 V
CIS, C. =210 .10 V
0.20 = 100 n

SemicaMuctonfi
DI, D2 = 154148

7, 138 WW1 W toner


Lff = LED. red
71 = 85170
T2 = 85X20,252359
3 _15 = 51.135
76 - BC5678
- 541.
78 = 130140
ICI XR226
IC2 - 1,355111
. 01131405
IC5- 7815
IC5 = 7915

Switches:
SI =double-pde 8 -way
rot, wffiaturesch
wit
single
Pa. list 521 = 380 4 P5 = 10 k pre. S2 -minngle-polo
-polo
R24, R37 - 560 4 Ivenical type) toggle switch
Resistors( R. - 12 k P6 '- 50 k preset 53 4-pde 3 -way rotary
I, 525 = 100 4 R28, 530 = 5k3 (vortical type/ wafer switch
R2 - I RI R31 -47 4 P7 =25 k preset 54 miniature clouds -pole
R3, R4, 512, R13, 115, RA R34 - 10 4 Ivertical ff., mains switch
517 = 10 k 535 = 47 EMI W 118 = 10 k log. Pot.
R5, R6, 57, Ft8 = 1 M, 196 536 = 5k8 Miscellaneous:
metal film PI = 250 k preset dr'n'in"',.. FI = fuse, 100 n75
49 = .7 (vertical typo/ OF. 57.210 Trl = mains transformer,
RIO - 8k2 P2 . 470 4 wile -wound pot 2 x 18 V/250 rnA
511 = 10 M Iv. long sPindffi Calmo.5 3 off INC socketsIscraw
RI4, R16, 119, R22, R23, P3 - 100 4 preset Cl - 1n/16 V mounting/
R27, 532 - I k lverfical typal 02, C10, C15, 1 off 2.0. power socket for
RI8 - Ik2 P4 - 500 4 preset 016 - Mpr16 0 VCO Input !see figura 2/
520, 423 = 1k5 Malian type/ CO, GI, C21= 22 p/25 V ladrit/Almbill
Neatsink for. and IC5
0554 vdd ffnuarr iffifi 1 /29
function generator The connection points for the poten-
4 tiometers (P2, P8 and P9), the sockets, the

7\ 7\f\ transformer and switch 62 can be fitted


with soldering pins. Those for P2, Pt, P9
and the transformer are fitted on the

Figure O. These are the


output signals that the
function generator can
/\/\\/\ reverse side of the board, the others on
the component side. Make sum that the
'collar' on the pins is not too wide or it
may cause short circuits on the board.
The MKT capacitors are mounted slightly
above the board to prevent shorts. The
potentiometers must also be mounted
ne. triangle
and square,e
and carefully so that they do not foul any other
ROO pa/division horison componen.
tat. l V/division vertical) The voltage regulators, IC4 and ICS, are
placed on the reverse side of the board,
Take care in construction with the metal mounting base facing P2.
Any test equipment, especially if it is Each of these ICs must be fined with a
home-made, mud be trustwordw. This is heatsink, or they may both be mounted on
only possible it it is constructed and a piece of aluminium of about
calibrated very carefully so mad the rest BO x 100 mm (and 1.6 mm Nickles we
of this article before plugging in your have done. In either case the ICs must be
soldering iron. electrically isolated from the hea.ink(s).
The printed circuit board designed for There are numerous different types of
this project is doublesided but does not rotary wafer switches that could be used
have duough-plated holes. For this reason for this project. If the switches used have
a number of components mud be a movable decent so that only the number
soldered at both sides of the board. In of ways needed can be switched it is
there is a copper pad at each advisable to use this.
these he parts
side. The in question am listed As in our other anst equipment series'
below and we suggest that these should projects the printed circuit board is
be mounted first. dimensioned to fit snugly in a Verobox
II One connection each for PI and P7. (number 076-01400 205 x 190 x 75 nun).
One side of R2, R3, R4, R6, R7, R12, RIO. The comers of the board must be filed a
R17, R20, RIO, R24, 1625, R28, R29, R37, bit to make it fit perfectly into the slots
and C20. Provided in the case. The project is given
la The negative side of CI, C2, C15 and a very attractive appearance by the self-
C19. adhesive hart panel foil that should be
The positive side of C17 and C21. stuck onto the case. The appropriate holes
The collector of T3 and TO. should be drilled beforehand. The 'power'
The emitter of T2. LED and the VCO socket are stuck onto
Roth sides of C16, CI6 and 08. the back of the front panel using two-
Two connections each of PS, P9 and componeM adhesive. The photographs
IC4. clearly show how all the hardware fits
One connection of IC5, S2 andane DC together. The fact that all the electronics
OUTput. fits onto a single printed circuit board
Finally, there are two pans of connec- greatly simplifies matte..
tions through the board near both IC2
and IC3. These consist of tom wires
imeried in the appropriate holes and Calibration
soldered at both aides. Not all the presets are accessible after the
Figure S. This from panel
gives the project an 5
attraMive finished
appearance. Before stick-
ing the foil to the
Veg.., aluminium
panel all the holes must
he drilled.
rZ171)

(3)

1.30 el. pan.a,


I unction generator
6

Figure 6. This is how the


function generator is put
.From
Front panel.
printed circuit boa. and
back panel simply slide
into aromas in the case
I the right Verobox is
used, The switches.
potentiometers and
sockets are fitted to the
front panel. Transformer
and a fuse holder, and
possibly a socket for the
power. are mounted on
the back pan.
N.B. It is important
to insulate thevery pow.
switch well rand ideally
the connea
ofas there is a
Bona also)
ofof it touching LIP
or .2.
circuit has been fitted into the case so it is The other ranges are then automatically
easier to calibrate them first. Connect the calibrated, as far as the tolerances of
power transformer temporarily and before C3...C8 allow. If 8% capacitors are used
switching on set the presets as follows: the ranges are accurate to within 5%. An
Turn P13 fully right (maximum amplitude), exception to this is C3 plus C4. The
all other pots and presets to mid -position, nominal value of the resultant capacitor is
52 closed, 53 set to square wave (c) and SI already 10% too large (as it is II of instead
to the 1...11 kHz range (d). of 10 0F) andthe electrolytics have a
The power may now be applied. Connect tolerance of -10/4.50%. Experimenting
mullimeter (with the most sensitive d.c. with different electrolyfics should enable
range selected) to the DC ODTput and set this lowest range to be made accurate. Figure T. In this photo the
P9 so that the meter reads zero volts Perfectionists can also test the tolerance of function generator is
Measure and note the peak to peak the other capacitors (this is child's play completely finished.
using the Elektor capacitance meter). Fur- except forme lid which
voltage of the square wave at this output still has to be put on the
with an oscilloscope. thermore cermet presets could be used case. The mai. cable
The triangle wave is then selected with 53 for PI and P3, and metal film resistors for trawls vie the mimed cir-
(position b) and the peak to peak voltage R2, 89 and RIO. A small frequency meter cuit board to the power
a again measured. This value is trimmed could also be made to give a direct read- switch on the front panel.
with P6 until it is the same as that just out of the function generator's output. Both whs. rell.Ment
Ion Me reverse ide of
measured for the square wave. At the None of this is strictiy necessary, however. Me board, are fixed onto
same time the dc. voltage at the output The original intention was to make a homemade heatsink.
(seen on the multitneter) M set to zero straightforward test instrument and that is The wirewound potent
volts with Ph Repeat this adjustment of PS what this is without all the extras. tiorneter for the fra
gun, setting is loured
and P6 a few times until both amplitude under the heatsink.
and dc. voltage are correct.
The sinewave is now selected by means of
53 (position a) and presets P4 and P7 are 7
then used to reduce the distortion as
much as possible. A distortion meter
could be used for this but it is also poss-
ible to set it up 'by eye' Turn Pt and P7
and see how they effect the waveform on
the oscilloscope.
The final calibration involves setting the
scale division. The front panel should be
placed on the printed circuit board,
taking care not to cause any short circuit,
and a suitable knob is fitted onto P2. The
knob should be fined onto the spindle in
such a way that the whole range of the
scale can be scanned. Turn P2 until it
points exactly towards 'I' on the scale and
then set the frequency to exactly I kHz
with Pl, measured with an oscilloscope or
frequency meter. The knob is then tinned
to 10' and the frequency is set to 10 kHz
by means of P3.
The usual inexpensive NiCd chargers available in electronics retail
outlets are normally of Far Eastern origin, but that in itself is of little
consequence. They often suffer the disadvantage, however, of not
having a charging time control. You therefore have to keep an eye on
the charging times and this may be done with an ordinary alarm
clock. This is not the answer, however, if you want the charging to
be done while you're away. In that case, you could not do much
better than build the inexpensive time switch described here: it is so
small that it can readily be fitted inside the housing of most chargers.

time switch

...for NiCd The circuit diagram of a popular inex-


pensive NiCd charger is shown in figure 1
shown in figure 2: it consists essentially of
ICs I and 2 and a relay To prevent the
chargers Here, the NiCd batteries are charged from transformer having to supply the charging
half -wave rectified and gansformed-down cutrent as well as the current to operate
mains voltage. Four 1.5 V cells and one the relay, the relay does not draw current
9 V battery may be charged simul- during the charging period. The quiesc-
taneously: two of the four 1.5 V cells on ent current for the time switch amounts to
the restive hall cycle and the other two only 200 uAl The supply voltage for the
on the negative half cycle The 10 ohm circuit is obtained by full -wave rectification
and 270 ohm resistors limit the charging of the second of the three available trans-
cunents to safe values. The LEDs (light - former secondaries, and smoothing the
emitting diodes) indicate that the cell or pulsating direct voltage with C3. (The
battery a being charged. If one of them transformer is, of course, that already
does not light, it indicates that (a) the bat- available in the charger).
tery or cell is not seated properly in the The timer clock frequency (36 Hs) is
holder, or (b) that the battery or cell is generated by oscillator RI/R2/PI/C1 and
defect and therefore apt charging, or (c) the relevant patts of ICI. Integrated ch,
that the LED a malfunCtioning. cuit I also contains a divider chain of
The circuit diagram of the timer switch is which hem the :1024 branch (available at
pin IS) is used. The divideddown clock of switch the charging current on again. For time swimh...
36/1024 Hs is further divided so that charg- this purpose, spring -loaded RESET switch
ing times of Vs, 1, 2, 4, 8, and 16 hours are 52 has been provided.
available, depending on the setting of
switch SI.
Men the set time has lapsed, a logic high Construction
appears at the wafer of SI (terminal M). If the time switch is constructed on the
Transistor TI is then switched on, and the printed circuit board shown in figure 3, no
relay, Rel, is actuated. The logic high special problems should arise Be sure.
signal also causes the oscillator to stop via however, to use the correct relay. Once
DS. the board is ready, a place should be
When the relay is'nactive, its contacts found for it in the changer.
connect A to B (see also figure I), and It should in virtually all instances be poss-
charging current can flow; when it is ible to mount switches SI and 52 on the
actuated, the connection A -B is broken, trout panel of the charger. Make sure,
and no charging current can flow. however, that their terminals are access-
It is, of course, not always convenient to ible for soldering after installation. Con-
keep plugging in and unplugging the nechon between them and the printed
mains supply to the charger, and yet it has circuit should be made in not too thin
to be possible to override the relay and insulated stranded wire.
FigUre . Circuit of a
typical, popular NiCd bat.
1 mullrger. It allows the
sieous charging of
four 1.6 V cells its various
Wesel and one 9 V bet-
tor, The time switch is
connected between
Points A and B.

Faure 2. The circuit of


the time consists
2 essentially of binary
dividers IC1 and IC2 end
Paley. The relay contacts
are connected to points A
and la In Newel.

19as 1.33
Finally, the (earth) return lima in the
charger should be broken to provide
points A and B; where this is done
depends on the location of the time
switch: the connections should be kept as
show as possible.
Different chargers, of course, call for dif-
ferent considerations. It is also possible to
give the time switch its own mains trans-
former with a 6 Vngs secondary, and
house both in one case to forma universal
time switch. Universal, because it is poss-
ible by altering the values of the oscillator
components to change the frequency.
Moreover, it is possible to change the
divide factors by using different pins on
ICI and ICS (see tables 1 and 2).
If, for instance, you replace SI by a single
pole, 12 -way rotary switch, and connect
outputs 03...08 and QII...013 of ICI to
a 10 -way rotary switch, all sorts of possible
divide factors are obtained. Even more
possibilities arise when the internal oscil-
lator of ICI is replaced by ...erne'
clock generator, which should be con-
nected to pin IL The clock frequency
should, however, not exceed I Mile.
Calibration is simplicity itself. Set SI to
position '1/2' and ascertain with your wrist
watch or other convenient clock whether
the relay switches over after halt an hour.
The accuracy in the remaining positions
Figure 3. Component of SI may then be taken for granted. If
layout and track side of Parts Ref necessary, PI should be adjusted and the
the printed circuit board. half hour check repeated. In mostin-
Resistors: Semiconductors:
stances it is sufficient to simply set PI to
RI = 220 k DI = 11,1.1 the centre of its travel.
R2 = 100 k DUG = 11,10146
R3 1 k 1.1 = BC 5476 Good luck, and drop us a line 4fAti.l3 have
R4 = 10 k ICI - 4060 found another application of.the ime
Fl = 180 k preset IC2 =4040 switch which you feel may be of interest
Mistellan.us:
to other readers.
Capacitors:
CI - P2 n SI = miniature singlewole
C2 10 p/16 V &position rotary switch
Table 1. = 100 p/16 V = miniature ...B-
Divisors available in the looded push-button. push
4040
FaRel miniature relay for
Pin Divisor PCB mounting, single -pole
.angew.r, 6 V. 360
1 28 - .96 Printed circuit board 64107
15.:211 - 2048
' 14 210 = 1024
1220 = 512
13 25 = 256
421=128
220 =84
3 23 - V
5 23 = 16
6 23 - 8
2.23 =4
9'21 =2

Table 2.
°Moors available In the
4000

Pin DWIrsor

3 Pi - 15384
2 2'3 = 8192
24 = 4090.
210 = 1024
2. = 512
= 256
=128
35 = 64
23 - 32
24 - 16

ElE3V4xmopo,.., 1.s
ative index 1984 cumulative i
multi -channel analog to digital convener 8.64
audio, video and sound generation 8-16
.,o 22 parallel/serial converter
active crossover filter 8-36
power watch. for PPS
amplification selector 8.88 11-28
programming the 6845
analytical video display 6-29 8-61
RS232 analyser
audio preamp honer 8.71 11,4
2-28 RS232/Centronics converter
audiosignal embellish. 12-39
audio sleuth at work 2,8 RS232/1/24: the signals
RS423 interface 6-59
digital band-pass filter 8,42 8.97
11 -no
6602 bootstrap
dynamic pre -amplifier 3.16
6502 tracer
guitar preamplifier 8-28 5-58
2.14 tape contents detector
gyrophone 11-18
n 08 the Ca.: first impressions
infra -red headphones: receiver 8-86
8.04 three -state indicator
infra -red headphones: transmitter 4.18
Mac control board
metronome mansion 8-43 8.32
640 2716 versus 2708
escendo 8-30
4 torn 80232
real-firne analyser lean 11 8.84
-,-; 2 x 2716 = 2732
real-time analyser (pad 2/ 4.24
54
UHF video and audio modulator
real-time analyser wart 3/ 12-02
g -nn use your TV receiver as a monitor
scratch and nimble filter 2.50
280 EPROM programmer
screen noise killer 0-74 5-39
n,s2 280 CPU simulator
70/90 wan amplifier 11-31
34 1(81 cassette pulse cleaner
small high -power amplifier 7,2
ZX extensions
stereo balance indicator 8,77 11-19
stereo doorbell 1-16
stereo noise suppressor :.;'2 'fiy4n,an/TYc2RcVlelan*sroenrartiPs'Yboard
banking program 1-46
switch -on delay 8.80
Sync Separator 8-85 domestic
the story of valves 12-20 alarm timer 8-85
touch -pad potentiometer 0-28 automatic cloakroom light 8-31
valve amplifier 12-50 automatic reserve warning light 8.26
versatile audio peak meter 7-57 battery meter 11 42
video colour inverter 11-22 blown fuse indicator 8.94
video combiner 3-30 burglar deterrent 12-36
video sync box 3-54 central heating monitor 8-24
voltage -controlled audio switch 8-40 coffee temperature indicator 8-97
vidio amplifier 1.30 Elabyrimb 4-30
disco phaser 1.40 electronic mousetrap 8-68
sou. generator 4-48 energy -saving porch light 8-67
flashing telephone light 8 92
computers and microprocessors fridge alarm 8-19
address decoding 2-54 from thermometer to thermostat 2-38
Basicode-2 for Junior plus VDU card 3.48 how accurate is your watch 2-16
controlling the flopPY-disk drive met. 5-22 kilowatt dimmer 8.30
CPU clock generator 8, lamp saver 10-48
daisYwheel typewriter printer interface 7-32 musical doorbell 7-10
data communication by telephone 10-18 portable distress signal 7.18
digital cassette recorder 2'23 programmable disco light display 3-21
digital cassette recorder with the rain indicator 8.35
digital cassette recorder with the ZX81 10.29 single -button code lock 8-48
irect-coupled modem 11-3a sonic deterrent 8.69
DIRPUT 1040 super -simple bell extension 8-96
elekterminal bell 8-76 tern 050 12.48
EPROM copier 6-48 telephone amplifier 10-56
EPROM eraser 8.93 how to recycle dry cell batteries 11-56
fast analog to digital converter 8-83 Frost warning device 1-37
floppy eniender 8-43 LED ornaments 1-24
floppy tester 6-22
826
GET and GO
OUST
4-20
5-55
,638 control boars4 18
temperature reading on a multimeter

twin doorbell 0-63


intelligent EPROM eraser
joystick interface N: 2N3055 sun switch
wind direction indicator
845
242
jump On reset 8 82
level indicator 8-32
lightpen 8-21 generators and oscillators
memory timing 5
merging BASIC programs 7-40
auto duty cycle 8-90
isP infra -red interlace 8.33
baud rare genera. 8-20
mini signal cleaner 8-86
dex 1984 cumulative index 191
Aube generator 5-24 varier°, protection circuits 4.37
pulse generator 8-37 Worlds smallest microcomputer tselektor) 5-16
sawtooth generator 8-99 circuit boards and soldering 12-24
Wen bridge oscillator 8-78 the 8f 494 5-59
NOVRAM data storage without batteries 1-48
HF
0 measuring and test equipment
balancing transformers 25,
8-88
FM pocket radio 8
11
amplification selector
6-15 analytical video display 6-29
noise squelch
a." audible ohmmeter 8-95
short-wave pocket radio 3-42
time signal receiver 8_23 capacitance meter
a_ao combining 4017 counters 8-65
VHF/AM air -band converter 8-66
VHF converter '
a_73 digiLED
s_sa digitester with a difference 3-32
MF/HF Use marine receiver frequency meter 8-38
from thermometer to thermostat 2-38
hobby and car rate discriminator 862
alarm clock for cars 8-29 LC meter
Lh 630
automatic reserve warning light 8-26 LED current sensor 8-75
aviary illumination 6-36 level indicator 8-32
diesel tachometer 3-18 PARSER 8-94
digital tachometer 10 -35 pulse generator 5-24
echo sounder -50 pulse generator 8-37
fatigue tester 8 -69 real-time analyser Mart 1) 4-40
flash meter 10 -30 real-time analyser Mart 21 5-44
guitar preamplifier 8 -26 real-time analyser Mart 31 6-54
'lights on' warning 8 -78 three -state TTL logic probe 8-88
pace counter 8 -17 transistor polarity tester 9-00
petrol saver 4-15 VHF dipper 8-36
remote shutter release 8 -42'window' LEDs 13-95
reversing buzzer 3 -34 signal injector 5-60
revolution counter 8 -44 analog frequency meter 6-61
self -switching battery charger 8 .48 h -I logic teter 11-55
speed regulator for disco lights 8 16
stroboscope 8 .m miscellaneous
automatic battery charger 3-57 aviary illumination 6-36
locomotive headlamp reverser 1-54 bird imitator 8-41
blown -fuse indicator 8.94
Informative economical motor driving circuit 8-98
a look at POOR and EXNOR gates 6. 46 electronic key -set 8-49
anodising aluminium 10. 46 event Gaunter 8-81
audio sleuth at work 2. 3s funny bird 8-62
chip select - L296, LM35, LM113613, MC34012, SN76488 home-made low-cost wiring probe 262
SN75495, ZN412 3 - 82 lead -add battery charger 7-39
chip select - MC146805G2, MC14613113, TDA3800, XL486 one-armed bandit 8-51
5-56 maximum and minimum memory 7-57
data communication by teletMeme 10 -
,a phomelectronic relay 8-50
Portable distress signal 7-18
double -sided printed circuit boards
first undersea fibre optic cable loalektod 5-
ii
10 - 52
programmable crystal oscillator (applicator) 2-59
full -channel teletext gives fast access Iselektort 5 -
17 SCART adapter 10-42
future developments in ICs Iselektort S-
la singt.chip colour decoder - the TDA1365 (applicator) 4-56
how many watts? 6-
39 switch indicator 900
lasers: light sources with a future Iselektod ... 71 a switching delay 8-18
mating logic families 3 38 triac control board 4-113
microelectronics promises better TV pictures Iselektor 5 - la universal active film 2-36
materials for optical memories Iselektorl. la valve simulator 8-20
optical memories 5 18 varistor protection circuits 4-37
programmable crystal oscillator (applicator) 2-
a versatile timer 8-22
readership survey results voltage -controlled audio switch 8-40
RS423 interface o. ag flashing badge 11-58
sattelite TV Iselektod ,, universal NiCad charger 12-55
scene of science iselektort 10- 16
A new memory IC from Mostek music
6116 A- 2716 = 48202 (applicator/ 10-5 4 disco drum 7-30
universal active filter 2-36 guitar preamplifier 8-20
using the pulse generator 5-32 musical doorbell 8-80

1.36 . o,
84 cumulative index 1984 cut
Power supplies frequency meter
constant voltage source 49 (July/August 1984, page 8.38
dissipation limiter g, how accurate is your watch/
high -power op -amp supply 8-64 (January 1984, page 2.16 3-72
lead -acid battery charger 7-39 infocard 97
linear opto-coupler 8.91 May 1984 1983/ 2.65
low -power switching regulator 8.79 infocard 102
microcomputer pone, supply 8-46 Jot, 1984 9-14
microcomputer power supply Protection 8.87 lamp saver
NiCad charger 8.40 (September 1984, page 10.48 12-70
overvoltage protection 9-01 mating logic families
Power supply considerations 8-74 (February 1984, page 3.38 /2-76
Power supply for computers 8-55 maximum and minimum memory
power supply monitor 8.27 (June 1984, page 7.87 t0-74
switching power supply 6.24 merging BASIC programa
transformerless mains power supply 8.70 (June 1984, page 7-48 914
variable a.c. power sum* 5-52 musical doorbell
PSUs on PCBs 7.42 (July/August 1984, page 8.80 11-74
bus extension 1-52 power controller for model railways
symmetrical power Supply 1-26 (November 1983, page 12-18 4-70
missing link Prelude (part 31
(April 1983, page 5-34 4-74
analytical video display
programmable dispecogliegndisplay
(May 1984, page 6-29 1.74 9-14 6-74
capacitance meter
(February 1984, page 3,12 6.74 10-74 pulse
=riPrg:r4',M pager 5,24 6-74
CPU card
VDU card
(November 1983, page 12-24 9-14 (October 1983 page 103E1 12-70
daisywheel typewriter printer interface musical doorbell
(June 1984, page 1.32 10-74 (Aug/Sept 1984 page 8.80 circuit 77 12-70
digital cassette recorder triac control board
(January 1984, page 2.23 4-74 4.18 6-74
(March 1984, page
direct -coupled modem universal active filter
(October 1984, page 11-34 12-/0 ( lama, 1984, page 8 36 10-74

elekit
Wishes its
readers
a happy
new year!
wish pat Oulm

ung

Many electronics enthusiasts look on


solder removing as a loathsome job. This
is especially true of printed circuit
boards with narrowly -spaced conductors.
Things which often happen when one is
trying to desolder are: ung
- The solder forms bridges between the
conductors.
- Blobs of solder drop off the board.
De -soldering tools or wicks are available
commercially, but there is no need to
lay out that kind of money. Any work- 3
shop toolbox should yield a really cheap
device which will do the trick -a pencil.
Propelling pencils with long leads of 2B
or B hardness are particularly suitable
(e.g. clutch pencils). To remove solder
from a hole, the solder must be heated
with a soldering iron until it melts
(figure l). The next step is to stick the
pencil point in the hole, and take away
the Bon (figure 2). Where the pencil
lead touches molten solder, the solder
'jumps' away, because of its surface
tension, and the hole is cleared of solder
(figure 3).
=lms, -.k"
A similar method can be used for get-
ting rid of bridges of solder between
tracks. To do this, the pencil point is
laid flat on the molten solder between
the tracks.
aoatali,
-4 -4.
ung
give your soldering tip a
longer life
The life expectancy of the tip of a soldering iron may be increased with this
substantially by heating the iron to full capacity only during actual economy circuit
use. To accomplish this, the input power to the iron is reduced during
the periods the iron is resting on its stand. This is achieved by using
only one half of each cycle of the mains voltage during the rest
period.

Heating of the iron during half cycles of soldering iron, but it is almost twenty
the mains voltage only is effected by con- years old. Nowadays, pulse control instead
necting a suitable diode in series with the of half -wave control us used.
"live" mains conductor as shown diagram- In pulse control, the soldering iron is
matically in figure I. A suitable actual heated for only 50...90 per cent of the
arrangement of this is shown in figure 2. time the mains is on. The relation of the
When the iron is suspended at rest, the control pulses (7t) to time is shown
spring -loaded switch is open, and the diagrammatically in figure 3: at the top the
diode passes only one half of each mains mains voltage, 240 V/50 Hz, under this the
voltage cycle. When the iron is lifted for clock pulses derived from the mains, then
ti use, the draw spring causes the switch to the tTI pulses which switch the heating
be closed by the aluminium snip: the element, next the voltage across lime
diode is then short-circuited and full determining capacitor C2, and finally the
mains power is applied once mom to the part of the mains voltage actually used for
iron. healing.
The fuse in series with the diode protects
it during the transient caused by the clos-
ing of the switch. The neon lamp
Circuit description
indicates when only half power is being The circuit of the soldering iron regulator.
he figure 4, is quite uncomplicated. In the
supplied to the iron.
This type of arrangement has the advan- following, the description is on the basis
tage that it is suitable for use with any of figure 3.
yOur The mains voltage, Ug, exists across ter-
minals B. The circuit is closed via heating
element A and power switch Tril. The
operating voltage for the control circuits is
derived from a small transformer, Tel, rec-
tifier diode Dl, and smoothing capacitor
Cl; it amounts to about II V.
The clock pulses are obtained as follows.
First, the mains voltage is reduced to
about 10 Voss by voltage divider RI/R2.
This voltage is then applied via current -
limiting resistor 03 to the base of transis-
tor TI. The transistor conducle during the
posirive half cycles oldie applied voltage.
which causes the voltage existing at the
CLIC input of bistable FF1 to be nullified.
During the negative half cycles, diode Dl
conducts. T1 is cut off and the voltage at
the CLIC input of FFI goes high again. All
this happens at a frequency of 50 Hs.
The bislable is set (0 logic low) at the ris-
ing edge of the clock signal. Capacitor 02
is then discharged via R5 and D3. The
2 clock pulse will re. FFI so that output
(Ti goes logic high; the level at input D
remains logic O. Capacitor Cl is then
charged via PI or P2 and RS. The
diagrams in figure 3 show that charging is
completed before the next rising edge
arrives Sr the CLK input. This edge sets
the bistrible afresh so that Q becomes
logic low again.
The charging time depends on the manic,
of P1 or P2: the time constant is a
minimum 6.7 ms (R5C2) soda maximum
417 ms (115-FPDC2 or (14.5-FP2)C2. This
means that -0- may be switched at fre-
quencies of 50-2.4 Hs, resulting in the
supply of heating power between SO and
Figures 1 ft 2. The old 95 per cent of the time. If the poten-
solution to the problem tiometers are provided with end switches,
it becomes possible to get heating power
lips: ill all the time. In our opinion, however, such
Wyouti 121 electrical con-
nections. switches are not necessarily a good thing,
for although the consequent losses during
3 use of the iron are negligibln they are vol
so during the rest periods.
The two potentiometers enable setting the
heating power during the rest periods and
us t the periods of use respectively. Switch SI
which could be arranged as shown in
figure 1 -selects either of Me two states.
The Q output signal of FF1 triggers the
than, Tril, via transistor TI: the triac
switches the soldering iron on and off.
caloIn FLI7 When Ta conduct, LED D4 lights, so that
the blinking of this diode is a measure of
the power being supplied to the iron: fast
blinking means high average power, while
a slow rate indicates low average power.

Construction
When printed circuit 64112 is used, the
construction becomes almost child's play.
'remittals A...D have been so arranged
that two four-way spring -loaded terminals
may be soldered to them: the four sets of
connecting wires can then comeniently
Figure 3. Waveform be clamped into them. The triac is a fully
diagrams associated with insulated type which means that none of
the rnoWrn solution to its terminals is connected to the housing.
Ittg=1;147Ps. The circuit is suitable for use with 240 V
1 40 ale., India ,anua, Ises
,aldp,ie9 tip
4

Figure 4. Circuit Megrim


of the economy unit.

Figure 5. Printed circuit of


the economy unit.

Parts list
Resistors:
R1,R6=43k
R2 = 214
R3 - 40
4,P8- 22 k
R5
220
01,0 = 500 k linear
potentiomeqsr Id required,
with and switch - see
teal
soldering irons of I5...1800 watts. It is the power during the rest periods should Capacitors:
also possible to control other resistive not be so low that it takes too long for the CI = 220 0/25 V
heating elements, such as immersion iron to reach normal heat after being C2 = P20 M
heaters, with the circuit. If, however, the picked up for use, and on the other, that
circuit is used fox the control of heating Semiconductors:
this power should not be so high that the
elements combined with a fan, such as rip of the iron overheats during the rest DI =110001
02.03 10110
hair dryers or fan -forced heaters, it periods.
becomes necessary to connect a 220 -ohm As already stated, switch SI may be '4,15 'IC 5403
resistor in series with a 47 nF/400 V arranged as shown in figure I. /4 = TAG 2213
capacitor across the than. ICI = 4013
No calibration th required: it is only Miscellaneous:
necessary to set one potentiometer for the SI - SPOT switch, if
required power during the rest periods, required pusheutton rpe
and the other for the required power dur- - mains
ing use. Inevitably, this means that some 9 0100 me secondary
2 four -pole spring -loaded
compromise between the two require- terminals for PCP use
ments has to be found as on the one hand Printed circuit board 84112

ineiror iadis isms, 'sag 1.4 I


led The use of two slide projectors and this computer -controlled slide
slide holm fader enables the pictures to fade into each other on the screen at a
variety of speeds. The fader is a versatile circuit that can be used for
a number of applications other than the control of slide projectors. It
allows the gating angle of two devices, such as lamps or motors, to
be arranged by computer: the angle may be increased or reduced
automatically at up to sixty-three different speeds. Within a given
program, the circuit also provides for the independent actuating of up
to four relays. Moreover, it provides an eight -bit input for data from
equipment connected to it.

computer -controlled slide


fader...
...can also be The circuit came into being from a desire porated, we had an interface that was
clearly also usable for purposes other
M design an easy -to -use slide fader that
could be controlled by a computer - any than the control of slide projectors. It
used for phase bimed therefore logical to add an eight-
computer - and which would fade slides
gating other smoothly. This necessitated filed address tinput port via which messages from
equipment connected to the interface
devices decoding and automatic control of the
switch -on and fading of the projector could be read.
lamps. Moreover, it was thought desirable
for the projectors to be switched forward Block diagrams
and backward independently of each A schematic view of the complete circuit
other. lb make this possible, it was found
necessary for the circuit to be able to is shown in figure I. The complete

4i-
address bus, A& ..A15. and the required
:1.r Block

view of the function of


actuate four relays independently of one
.other. When all this had been incor- control bus connections are taken direct
Me complete circuit

PCB, I peas

Eltieutor-

ttr Whet/
lach
ohm
outPut -0
oelle

widress
101 -0
decoder
i
-(SP
/ crescinli
detector
-0

j
else
°MOM
0
-0
2

O
time Liras

Lb

'7rountsal.
taint j,

3
0151. d.

u'rliZsrV11'rphITOnoreist of
to the address decoder. Examples of the speed" respective* In proper teclmical
thr. interconneMen
decoding with the ECI31, VA Spectrum. terminology, we should have used counters the function of
Commodore C64, and the Junior (with "increasing, or decreasing, gating angle", which is represent. in
but that might have become too con- this diagram.
extension bus) ere given Intro in this
article The address decoder generates fusing.
four CS signals which select eight -bit Counter I is loaded with the fading speed
memory units: three output and one input. by the computer, and counts downwards.
Writing into the output memories and When er position "0" is reached, a
reading the contents of the input memory clock pulsecount is given to counters 2 and 3
takes place via the data bus. via the time lapse control stage, while
The four relays are controlled via two counter 1 is loaded again with the content
fines of two output ports, all other lines of of the memory unit (which makes it poss-
the output ports are used for the program- ible for the fading speed to be altered
ming of the two countess. These counters, during fading or coming on} Counters 2
synchronised with the mains frequency by
and 3, both type 4E116, are connected in
a sere crossing detector, are the real heart cascade and thus form a composite
of the circuit in that they provide the counter. The direction of counting is
desired phase shift and generate the trig- reversed via U/I5. During the coming on
ger pulses for the Wane A special output period of the lamp the counter is loaded
stage enables these Critics to fire very bye pulse on PE with bit pattern 1111 1111,
close to the zero crossing of the mains fre- and switched to downward counting via
quency. U/D. During fading, counter an is reset to
The trier output stages are electrically 00110 0006 by a pulse at RST, and switched
isolated from the control stages by opto- to upward counting via U/D.
coupler. They have been arranged so that
they may be connected to different as. Counter 4 is triggered by the sero-
supplies. The two supplies must, of crossing detector, loaded with the actual
course, be in phase or anti -phase content of counter 2/3, and then counts
The schematic in figure 2 shows the downward from that content As soon as
counters in more detail. It should be counter position "0" has been reached,
noted that the terms "fading". "coming the 25 (xero detect) output is actuated,
and "fading speed" used in the and this causes the trigger generator to
following apply, strictly speaking, to lamps impart a pulse to the elan. At the same
only: in the case of motors, these should time, the clock output is disabled. On the
be "reducing speed", "increasing speed", next pulse from the zero crossing detec-
and "rate of reduction, or increase, of tor, this process repeats itself, and so on.
,..5 1.43
computer -controlled
alge fader
I3
LIALMANI:

8934E3°3
1.42 .5-1
zzazaela

32334E22 GZ
34822824
rrraaa

N
Oleg hI.6Y L. lc
N`ftlt, 43
1- 5
F.s
6248E48 8°38444°p
.
ers
-

8S

ayy

1-1

8 -I -

£11

eat

co.

Figure The control cir-


cuit connects the pw.,
g4 ,4 J) 101,1C2, 74.0.7411C374
circuit (fi figure 41to the ICIC CI. one
compute. The address c, 1.13 ICIS

etri=g"Vn to be
coected to a wide
pedety of com1118414-

1 44 loss
Rowe 0. Apart from Me
triam and associated
The content of counter 2/3 keeps on speeds of counter] and counter 2 eomponents, the
changing, of course as this counter is respectively. aisinoo=powertrhe
clocked by counter I. The arrangement of the remainder of the rasal
Summarising, counter] functions as pro- stages in figure 3 as compared with the and Ma Mur Maya with
M.I. driven. This board
grammable clock generator for block diagram of figure 2 is as follows may be cut into parts.
counter 2/3, while the content of (counter 2 in brackets),
counter 2/3 is loaded into counter 4 to counter I = IC4 (ICSh
determine the phase gating angle. counter 2/3 = IC8/1C9 (IC10/1C11);
The time lapse control stage ensures that counter 4 = IC6 (IC7);
the lamp stays on after coming on, and time lapse control = N1...N3, DI, D2, R2,
remains out after fading, until a new pro- R3, C2 (1410...N12, D3, D4, R4,148, C4);
gram is used, and that at the onset of trigger generator = NI, RS, CS (N7, Rfi,
fading the lamp does not prematurely C6),
extinguish. clock oscillator I = N4, RI, P1, CI;
clock oscillator 2 = h19, R7, P2, C6.
Control of counters I and 2 is provided by
Circuit diagrams IC2: OR ..03 for the former and 07...04
The circuit of the control board is shown for the latter (the single post lines are
in figure 3, that of the triac board in shown in figure 3).
figure 4. Starting with figure 3, the address Note that the 0° line in figure 2 becomes
decoder for the various computers will be logic 0 when the desired gating angle is
discussed a little later on. Integrated cir- 0° (maaimum power) the output of NS
cuit 17 is an input port which is actuated (N7) is consequently logic 1 during the
by CS4. The three output ports are formed entire following half cycle
by ICI the number of the port cor- On the Sian board shown in figure 4, DI,
responds with that of the IC. Outputs 06 D2, D7, D8, CI, Ca, C4, R4, and RS form
and Q7 of ICI and IC3 serve to control the power =wilt for the rem crossing
the relays Outputs oft ..06 of the same detector. This detector itself consists of
ICs are used for programming the fading NI... N4, RI... R3, and C3, and drives
sale. =a= ,==4 lass 1.45
computer.contsolled
opto.coupler IC2, which provides the
5 required electrical isolation, via T1 and
5.8. The output signal of ICI is shaped
into a clean low -active pulse for the
counters by T2, T3, R7...R9, and D9.
The power supply for the two mac stages,
which - like the counters - are identical,
is formed by D3...D6 and CS. Opto-
couplers IC4 and IC4' are driven by T4
(T5) and 510 (RI1). The trigger pulse at the
output of the opto-coupler is regenerated
by TO (TB) and 1113...R17 (R13....RI7) and
then applied to the gate of the Mac. The
Macs used are of medium heavy duty
type TIC 283C, enabling lamps of up to
400 W (at 24 V) to be switched: maximum
permissible current (with resistive loads)
[Trans) = 2S A. The Macs are protected
against spurious surge currents by C7 and
RIO (C7' and RIO). When the Macs are
used to switch 240 V lamps. a suPPressor
Num 5. Phatuamett el
the adapter which inter. choke of 30...50 0.1 should be connected
rank in series with the lamps.
The relays, controlled via gates N5...N8,
cter. Shown here Is the are of the D1L type, and are protected by
oldest. for use wiM the
EC Spectrum. free -wheeling diodes D10... DI3.
Completion of the two printed circuits
6 shown in figures 9 and 10 is straightfor-
ward and is, of course, to some extent
GD
cOMMODOSE CM GD
OO t=,
f= Ele:ctorcOus
dependent upon the application of the cir-
cuit. The Mac board may be suitably div-
ided as shown in figure 10. In any case,
OM
(=1
O
GD
the pans of the boards where mains
voltage is present should be insulated by,
for instance, a layer of glue applied with a
(=
GD GD
glue gun.

=1-0
GD GD Addressing
The address decoder consists of two 8 -bit
comparators type 741.5888 (IC14 and ICIS).
a 2 -bit binary decoder and demultiplexer
type 741.5162 (IC16h a number of wire
bridges a...s, and sixteen switches,
SI...016, contained in two 8 -way
QC. Packages
The two 74195138s compare the information
set by the switches with the bit pattern at
their inputs 00...07. If the two sets of
data am identical, output P = Min 191
becomes logic low. The two ICs may be
cascaded by closing wire bridge "e" to
give a 16 -bit comparator. If wire bridge
is closed, only IC15 is active (as 8 -bit
comparator). The output (pin 18) of IC15
provides the strobe signal for 1016.
Two-bit information is applied to data
inputs P and Q of IC18. Switch -over of the
on -board data dividers is effe.ed via the
R/tAt liner if the line is logic high, and the
information et P and 0 "II", C84 becomes
active (writing); lithe R/W line is logic
low, C31 is actuated when the information
P and Q is "00". C52 when the infor-
Figures 8. 7. and 8. The mation is "10", and 083 when the infor-
1/0 alresses, the eaten- mation is "01".
Tables I and 2 give the state of the wire
:h7ncn
nactions to the alaktoo
bus, the Mate of the
bridges, and the switch
le le le la 12 e
I 0
,,,,,,
0 0 0 I 0 0
bridges and switches respectively for use
with the Junior computer. If the Extended
Junior is used, the control board can be
Positions are shown here o000010 plugged direct into the extension bus. We
for use with... have taken the Junior as an example for
...the Commodore CIM the addressing and will deal with the
ifisure 61

1 46 .195
Table 1.

elektorhos
IJunior)

trldror, Toble 1. State of the wire


Midges when Me Junior
computer is used.

Table 2.

Switch
15 16
elektoMus
o o

x = switch closed
o - swilch open Table 2. Switch positions
when the Junior com-
puter is used.

7
GD 0
0 GD
Eleklerbus
GD GD

GD
GD
GD
0
GD
GD
O GD
GD
GD
GD
0
GD
GD

QED
QED

0 0
QED

GD GD
O GD
GD 0
-GD
OGD0
O
0 00
GD
CED-ES
GD

the 2261 flea,.?)


Other three computers further on. necessitates the closing of switches 513
The two lowest.value address lines are and 514. Al) this results in the decoding of
connected to the data inputs of IC16 via -CEI by address E200 (decimal 57 854
bridges "m" and "cr. Bridge "5" enables EZ2 by address 7201 (decimal 578t7
IC14 and IC16 to be combined into a 16 -bit 11 i by address 5202 (decimal 57 858);
comparator. Address lines A2, A6, and A7 M4 by address 13203 (decimal 5785$).
are connected to the comparator via A caution here: if, in the junior, you have
bridges "t' "j". and "i' revpm.tively. Placed RAM in block E (addresses
Inputs Q6 and Q7 of ICIS are connected EMI ..EFFF), this RAM must be
to earth via bridges "c" and "e", which deselected to avoid double addressing.
01041or India MeV 18051.47
computeierr,onrolled The three other computem (with the pose-
slide W 8 ible exception of the EX131 - see below)
Elletwas, I
require a simple adapter M inter-loce their
SPECTRUM extension connection ("User Port") with
the Elektor bus. This adapter is made
from a plug which fits the User Port of the
relevant computer, a 64 -way female con-
nector, and a small VeroboarcL The board
should be cut to the correct sire to
enable the plug and socket to be
soldered to it Appmpriate connections
are then made between the plug and
socket with short lengths of insulated
wire The photograph in figure 5 shows
our prototype adapter for the 22C Spec-
trum. The two long pieces of wire are for
connections to an extemal +5 V supply.
Depending on the rating of the power
s supply in the comPurer, it may be poss-
ible to draw the required power from this

0 supply.
Figures 6, 7, and 8 show the pin out of the
user port, the required connections

0-0 between the plug and socket, the pin out


of the Elektor bus (84way female connec-

O0 ika tor), the wiring of the bridges, and the


GE> 0 ov
switch positions for the C64, ZX81, and TA
SPectriun respectively.
If a CM without floppy disk drive is used,
it is possible with the change -over switch

CT 0
(ME111,-(M8 in the adapter to choose between output
signals I/01 and 17, and consequently
between addresses DE69...DE93 and
DF90...DF53. U a floppy disk drive is fit-
ted, the switch must be set to I/01, and
only address DE00...DE03 are then
available. It is in that case, of course, pose
ible to replace the switch by a fixed wire
bridge.
If a 7281 is used, the bus buffer described
M 12 12 II Ili 22 2 2 2
in the July 1984 issue of Deldor India
(page 7.22) may be used instead of the
..rea ZX Speanim adapter. Terminals 31a and 29c of the Ind-
lemurs re
9
Mik_1_,0
11M
MN:.
=
=

E
L__

4111LAL ki Illy
\.>
Z.S-M-P.
_=
mr-N m
- MIII=EI
fee board should then be interconnected. single bib is (counter 2 lines in brackets): computerconlrolled
Finally, the adapter shown in figures 6, 7, DO (D7k if this line is logic high, side fader
and 8 may, of onus, also be used to con- automatic fading is selected, if it is low,
nect other Elektor bus boards to the the prevailing fading state is retained:
respective computers. DI (D66 the state of this line determines
whether the relevant lamp is coining on
(logic 0) or fading (logic I):
Programming 02 (135): if this line is logic high, cone
The primary task of the programming Is oesite counter 2/3 is reset
the writing of the data into IC2: this deter- D3 (A): when this line is logic I, com-
mines the operation of the two counters. posite counter 2/3 is loaded with bit
The bit on data line DO matches that at the panern "1111
IC output PA that on Dl matches that at The elide control program contains the bit
Ql, and so on The significance of the nee,. 9. Th. Onto, cio
patterns of the Only fear Wenn., cuit hoard for the control
circuit.

mow,,,,m. n..,, Nis 1 .49


Figure 10. The printed cir-
cuit board for the power 10
circuit. This board may
be cut into parts which
may then be fi equipment
housing of the
being controlhad Mut at
dashed lineal.

Pa. list - controi board


Resistors:
RI = 470 k
82,R8 = 47 k
83.R4,R7 - 100 k
85,R8 = 1 M

PI = 500 k preset
Pa - k preset,
multiturn

Gpechorm
CI 3.
C3,C4 = 100 p
03,05 - 470 p
CB =220 p Mee tee
C7 CII - 1CO n
.

Samicooductorm
1N4148
ICI...1C3 = 7413301
1741074/
= 40103
1C8...1C11 =4516
1C12,1C13,1C10 - 4093
1C14,IC15 - 74.890
170111388/
1C18 - 70.3155
1C17 741.3373

M.eltanecos:
2 SAST octal OIL switches
80.way male connector
Miniature mg .0 with
8vo ro. of 19 tags each
Miniature tag board with

57.4r,°P4.57''
Printed circuit board 041151

Table ]. Bit pawrns ei


operating states of each lamp: on, off.
Table 3.
operating eta. of coming on, fading: these patterns are
of the two Mmps. given in table 3. The complete circuit (that
CO 02 01 CO is, two lamps) therefore offers sixteen
(DO 1061 (OBI 0371 possible combinations which are listed in
0 I
table 4. Our master programs have been
0 1

so arranged that no confusion is likely to


off 0 0
1 1
arise. It you design your own program,
coming on 0 0 0 1
tale cam that it runs sensibly. You may, for
Table 4. The bit patterns instance, woos to interrupt during fading,
of table 3 may form *iv. fed. 0 0 1 1

or reverse the direction during fading or


LiTrit:g7:Vgirad7. coming on, or something similar. Such
coming on behaviour of operations have not been catered for in
the two Mmps. Table 1. our programs to keep them to a
reasonable length.
07 06 05 DO 03 00 00 dec. hex
An =ample, using the Junior it is
both lempe on 105 PS
149 05
required that lamp A comes on and that
A on, Goff
A off, eon 109 AC lamp B is and stays =I It is then
both lamps el 163 99 necessary to write bit pattern 16111 6001
12 119
(= decimal 145) into ICS, address 11351
ban't ,VPcorn7011" 1= decimal 578571 The (=motion for this
on. 0 corning on 133 85
A coming on, B off 145 91
101 Al POKE 47857, 145
185 C3 In the case of the C64, this command
CAA'r7
ratlingd"' 21 C3
would be:
fading 187 C5
147 93 POKE 57089, KB or POKE 96833, 145
A fading, B off
A Ming. B on 183 A3 When Pree.enteene the Ming speed and
fading. B corning on 131 Cl actuation of the relays. Doar in mind that
ooming on, Btadil 193 Cl these am arranged in one IC (IC4 or IC5).
II the relays are not needed, matte. are

I b() .xxxx ...amp, lees


computencontrolled
slide fader

Pert* 14t - power hoard


Resistors:
RI,. =
113,R17,R17' 100 k
R4,R5,119,RI4,RIM 2k2
118,R10,R11 . 820
117 -
R8 = 410
R12,R12. = 220 (I W for

FM; r11%.
RIP:R1F : 47 k
= 10 k

Capacitors:
C1,.=100 pf10 V
100 p
C4 = 10 p/I13 V
= 470 W. V
CO = 100 n
07,07' = 100 n 1400
song for 240 V supplies/
Semiconductors:
= 11.031
D2,08 mW
.. 013 - 1N4148
TI...T6 - PC8470
T8.TO' =6.55713
.1
ICI-TIC 263D
1.2,1-,404' = TIL III
- 7406

DIL relay.
1 p ole make, 5 V coil

'1 -
P= circuit board 841152
simple: you wriite with a POKE command Table 5.
a decimal number between I and 63 into
ICI (IC3). Examples:
junior computer, lamp A, medium fading relay A (CI may 13 155 fading speed
decimal range
speed: - bit 7 bit
POKE 57356, 31
C84, lamp El, maximum fading speed: 125. .151
POKE 57090, 1
ZX Spectrum, lamp A, minimum fading
speed:
OUT 65342, 63 Table 5. Bit patterns Ms
the value of the required fading speed. If she control of the relays.
As you see, the smaller the number, the
higher the speed. Note, however, that the both El and D are to operate, add 192to
and the value of the fading speed. In all cases.
POKE mut., 0 decimal numbers 0, 64, 128, and 192 are
is not possible, because counter 1 - see not permitted, because bits 0...5 are
figure 2 - then cannot operate. logic low so that the clock generator is
The two highest -value bits are always disabled.
logic 0 for decimal numbers between 0 Table 6 shows a menu -controlled program
and 63. Table 6 shows how the relays may' for the Junior and C64 which enables the
be controlled: when it is required that reading or programming of the collective
relay A ocp or relay C (IC3) be actuated, functions of the circuit by entering code
a decimal number between 129 and 191 numbers The program as printed is cor-
should be selected. The correct number rect for the Junior for the C64, line 2050
is calculated by adding 128 to the value of should be altered as shown in table 7.
the wanted fading speed. The instruction Lines lb ..1990 are explained in the
in the first of the above examples would foregoing: the remainder of the lines
then be: arrange for the automatic control of the
POKE 57856, 159 relays so do not again program them!
If only relay B is to be actuated, add 64 to Tables 8 and 9 give a short sample pro -
ass 1.5
gram for the 2X81 and ZS Spectrum
=`°"""d respectively and have been added to
make clear the difference in the program-
ming of these computers in comparison
with table 6. Like that in table 8, these two
programs are also menu controlled, a
small menu in the case of the ZXSI and
two small ones for the OX Spectrum. lines
20-20 in the 2X81 enable the "poking"
of a machine language routine into the
memory in the range of the REM line (line
10 which is therefore changed after the
first program run). Lines 20...40 load
accumulator A of the processor with the
content of address decimal 16 516. Lines
60-60 arrange for this content to be car -
tied onto the data bus, and lines 70 ...80
contain the RETURN command. Note that
the user function Ia explained in
chapter 26 of the BASIC handbook of the
1X81, and the OUT command in
chapter 23 of the BASIC manual of the
Spectrum.

Final remarks
Before taking the circuit into use, set
presets PI and P2 to the centre of their
travel. Testing of the circuit should initially
be carried with resistive loads only, even
if you later want to control motors, that is,
inductive loads.
The fading speed is set with PI and this is
a matter of personal taste
Preset P2 should be set with the aid of a
frequency counter or oscilloscope so that
oscillator N9 operates at 25.6 kHz (BO Hz
mains only: for other values, the oscillator
frequency should be calculated hem
= (612fmyt Hz,
Itgengridi Table 7.
where to Ia the oscillator frequency and
Junior computer with
the aid of the information fm the mains frequency. The Preset may
in this article it may be also be adjusted 'visually' so that a fading
adapted for use with lamp is only really 'out' when the fading
other computr. process is at an end. When the circuit is
subsequently used for the control of
Table 7. Adaptation of the motors, it may be necessary to readjust P2
program in table 6 for our slightly. If it is impossible to adjust P2 for
with the CAI: only line 20
needs to be changed. the stated frequencies, this is probably
due to differences in trigger threshold
between various makes of IC: the remedy
is to increase or reduce, by Mal and snot,
the value of 06.
With the information given in this article,
it should be possible to use the circuit
Table 8. A smaller sample with current computers other than the
Program shows how the ones mentioned here by carefully study-
circuit may be controlled ing their documentation You need four
from a2%.1.
free addresses and the pin -out of the
extension connector, programming may
be canted out with the aid of the pro-
gramming hints given in this article. N

Table 9. Another sample


program to show how the
circuit may be controlled
from a 2% Spectrum.
1.52 Weldor ondis pnualy les
7 watt IC audio amplifier

--N._ The IBA 810 has been in sensitivity in this case is 240 mV. If 8 12 shaped cooling fins. The additional fin
-V production for several years, and loudspeakers are used, the maximum shown in the drawing is suitable for the
by now the price has dropped to a very output power is about half. 'S' version, but it will need some slight
reasonable level. It has built in thermal modifications to fit the 'AS' type.
and short-circuit protection circuits, so The input impedance is practically
it should have a reasonable life determined by P1(1 M), so it is possible The frequency response is g3 dB from
expectancy. to connect a crystal cartridge direct to 40 Hz to 18 kHz. The voltages shown in
Without any additional cooling, the IC the input. If this high input impedance the circuit were measured when the unit
can deliver Watt into a 4 12 load with
1
is not required, the value of PI can be was powered with a 16 V power supply.
a 6 V supply. With a sufficiently large reduced. Note that the pin numbers in the circuit
cooling fin and a 16 V supply it can There are two versions of the TBA810: do not take account of the cooling fin;
deliver up to 7 W into 4 12, the input the `S' and the 'AS', with differently the IC has a total of 12 pins.

1 .53
toroidal transformer

The toroidal transformer has a ring core


formed by a tightly bound metal lami-
nated band. Copper windings are simply
placed on the core without the use of
bobbins.
The wire is wound over the complete
surface of the core and this considerably
aids the dissipation of heat. Due to the
round shape, there is good 'concen-

toroidal
tration' of the magnetic flux lines in the
core, thereby reducing the 'stray'
fields.
It requires less wire than the conven-
tional transformer for the equivalent

transformer
number of windings, thus reducing the
ohmic resistance, and the chance of
overheating. So far so good. But why is
the ring core transformer in most cases
mom expensive to buy than the conven-
tional type? After all, they use less
copper wire, no bobbins etcetera! Good
question. The answer is that they take a
lot longer to manufacture than conven-
the best transformers ... around! tional transformers, and today more
than ever, time is money.
The core is formed as a complete ring
without an air gap. It is made from a
strip of high grade sheet steel, which is
rolled up very tightly. The end of the
Ring core or toroidal transformers are becoming fashionable. Thin strip is then welded, to prevent it un-
winding. This form of construction
is beautiful? As their name implies, they are 'round' and low in helps to concentrate the lines of flux
profile, allowing the home constructor and manufacturer, to build within the core and keeps losses to a
highly compact circuits. This seems to be necessary in order to satiate minimum. An added advantage is its
the public's appetite for any equipment that looks like a permanent lack of buzz; due to the very tight 'lami-
nations', which are completely enclosed
'Weight -Watcher'. Seriously, they do have excellent 'electrical' qualities, by the winding. The result: an inbuilt
and advantages over the conventional transformer, other than looks. disability for the production of noise.
Unfortunately good taste is always relatively expensive. Mains toroidal transformers are readily
available in the 15 to 680 VA range, and
up to 5000 VA types are supplied by
some manufacturers. Most are available
with two secondary windings, of be-
tween 6-60 V.

Winding toroidal transformers


The manufacture of toroidal trans-
formers may present something of a
question mark to the inquisitive reader.
As in most things of this nature, the
answer is quite simple; once you know
howl Figure 1 illustrates, what, in
simple terms, actually occurs.
The complete core is loaded onto a
machine that is able to hold and, rotate
it. A ring, the is about three times the
diameter of the core, is linked onto the
core in much the s ame way as two links
of a chain. This ring i s called, not un.
reasonably, a shuttle and can also be
rotated. While doing so, an amount of
wire equalling one complete winding is
fed onto it. And now we come to the
'trick' that makes it all so simple. The
end of the wire is turned through
180° around a guide wheel on the
shuttle, and held onto the outer edge
of the core. The shuttle then reverses
direction and lays the wire onto the
core as one winding. The core is of
course rotated slowly as this happens,
so that the winding is evenly spread
around it. Tension of the wire is easily
toroidal transformer

controlled. Mechanically this method toroidal transformer reduces the risk of former should do the trick.
is both simple and quick, and in fact unwanted noise being generated in any Even so, do not be alarmed if the whole
takes just three minutes per winding. power supply circuit. neighbourhood is 'blacked out' the
moment you switch on your new 2 x
50000 ...W amplifier (with multiple
The Lord of the Rings toroidal transformers). This is a normal
Quality costs money? occurance!
(Transformers) Toroidal transformers up to power
The equivalent conventional trans. ratings of 200 VA are more expensive
former is in most cases 2 to 3 times to buy than conventional types. Above
heavier. The same ratio in size also 200 VA and up to 500 VA this situation
holds true. is reversed. A reasonably priced, com-
The ring core transformer's 'iron losses, pact, transformer above 200 VA is cer-
(when compared with the 'standard' tainly useful, especially when building
conventional type), are only 10%. The high power amplifiers.
advantage of the ring type are clearly
noticeable when comparing 'stray
fields'.
In a no-load situation the conventional Fine) remarks
field is at a maximum and the ring core Compared to the ordinary standard
at a minimum. With an increasing load transformer, the high-grade core ma-
the 'stray field' of the conventional terial of the toroidal type will cause a
decreases and the ring core's field in- higher initial surge current; A slow -blow
creases in strength. fuse on the primary winding is there-
Igo matter what the situation, the stray fore necessary. A fuse having approxi.
field of the ring core type is always mately double the value normally used
considerably smaller. Therefore using a with an equivalent conventional trans -
,9es1.55
microprocessor -
controlled frequency
meter (part 0)
Next month we will be publishing all the constructional details for a
frequency meter. This is no ordinary meter, however, as it is small,
very simple to use and at the same time quite easy to build yourself.
All that is made possible by the microprocessor that controls the
circuit. What exactly the microprocessor does you can find out in
four weeks' time but just to whet your appetite have a look at the
features listed here.

an introduction figure 14 An accurate measurement is


taken by using a measuring time long
to an Features enough to enable a large number of
exceptional nacropnacessoocontrollee cycles to be counted. Low frequency
signals require a long measuring time but
project featured Vgere'ett display its aioio at high frequencies the time can be
.00 to use* menu buttons shorter. In 1 second only 10 cycles of a
next month. frequency was: 0.01 Hz.. .1.2 GHz
period time measurement: 10 ns...100 s
10 Hz signal can be counted, for instance,
pulse eine measurement:At us...100 s so the read-out can only indicate a value
pulse counter up to 110e of 10 plus or minus 1 Hz. Harry figures are
high degree of accuracy even Oven the etete shown after the decimal point they are
time needed for ffeetteneY o1ateefteeffete totally meless this case a measuring
e or 7 digit accuracy reef, he selected
time of 10 s or longer is needed to give a
reasonable degree of accuracy.
The new Elektor frequency meter uses a
The circuit foe the new Elektor frequency principle that is also used in modem pro-
meter is very unusual and because of this fessional instmments (see figure lb). Once
it deserves special attention. 'finally unlike again a time base (providing a 10 MHz
any other d.iy. frequency meter, it is, of signal) and a counter are used. The signal
course, part of our range of test to be measured goes first to a program-
instruments. mable divider. A microprocessor sets the
We will look at it in functional motions, division factor such that the counter is
starting with the most unusual part of the 'Oiled' as much as possible with pulses
circuit the frequency measuring section. from the time base This is exactly the
'Normal' frequency meters make use of a opposite to the previous situation as in
crystal -controlled time base supplying an this case the gate time is supplied by the
exact measuring time of 1 second, for signal that is measured. The frequency of
example. During this 'gate time' the this signal is calculated by the micro-
number of Ming eyelet Of the signal processor based on the division factor
that is being measured are counted (see and the contents of the counter. The great
1.56 Isar
advantage of this method is that the instru- microprocessoncontrolled frequency microprocessor C0111.1Ied
ment is always working at full accuracy meter is probably the fastest and easiest frequency meter Warr 01
and the measuring time is virtually cons- to use This is because hidden inside a
tant, irrespective of the frequency mini case is a giant instrument. Can you
measured. The microprocessor makes the afford to miss an offer like that?
calculations so fast that the user does not
even have time to think about it.
An extra divider stage may be included to la
raise the upper limit of the frequency
range from the standard 100 MHz to
1.2 GHz. The meter has three different
inputs: one for analogue signals up to
10 MHz (with preoettable sensitivity), one
for digital signals up to 10 MHz and a high
frequency input for signals above 10 MHz.
The user can select a resolution of six or
seven digits, giving average measuring
times of 0.15 and 1.5. respectively.
Using a microprocessor in this frequency Figure la. This is the prin-
meter also allows a number of other ciple of operation gener-
ally used in freqUeneY
interesting features to be incorporated. meters. During a crystal.
The method of calculation chosen means controlled measuring
that automate range changing is a simple time the cycles of the
matter. 'User friendliness' is also a feature Input signal are counted.
of the meter. The alphanumeric display lb
shows the user in plain language what
options are available and selection is a
matter of pressing the 'yes' or the 'no' but-
ton. Pressing another button calls up the
menu (the instrument then shows what its
modes of use are), thereat a 'last' button
to recall the previous choice and the
'hold/reset button is used to freeze or
reset the display. The only 'normal' switch
in this whole instrument is that for fax
main power. The various different possible
modes that can be chosen are shown in
figure 2, which surely requires no further Figure The measuring
comment. time In the new Elehtor
We could carry on listing all the wonder- frequency meter is pro-
vided by the input signal
ful features of this new frequency meter and the pulses provided
but that is not really necessary. One thing by the time base are
we will say, however, is that in spite of counted. A micropro-
having some very expensive test equip- ceuor calculates the re-
quency 1 rom the divider
ment moor labs at Elektor this setting a. the counter's
contents.
2

Figure 2. Thls Is the fre-


quency meter's menu.
Any of these options can
be selected using just
two bunons. What could
be simpler)
loss 1.57
7400
siren
M. Merge!
The electronic siren described here is
easy and cheap to build.
The circuit consists of two astable
multivibrators, N I/N2 and N3/N4. The
0.2 Hz square -wave signal from the
latter oscillator is integrated by R3 and
C3; this voltage swings the frequency of
the other AMV (N I/N2) up and down
at 0.2 He.
The output level is about 2
sufficient to drive a power amplifier
directly.

P.alatSl Capactiors:
C1,C2 1000 p/6 V
Resistors: on - 500 pin V
R1,112 s C4,C6 470 n
R3 e 10 k C6 = 150 n
R4 e preset potentiometer 4k7
R5 e 5k6 Semicomluctori
R6 e 1 k

light Inside the modern, square type of flush -


mounting switch panel, or in a small
box for portable applications. The
following safety points should be noted.

dimmer
No part of the circuit should be access-
ible from the outside. The case should
preferably be made of plastic or other
insulating materMI, and fixing screws for
the board should be nylon. If a metal
case is used the board must be ad-
equately insulated from it and the case
should be earthed. The potentiometer
should have a plastic spindle.
This simple lilac dimmer can be used to
control incandescent filament lsnaps up
to 1500 W. The circuit operates on the
phase-coMrol principle. The main con-
trol is provided by P2. This determines
the rate at which C2 charges and hence
the point along the mains waveform at
which the voltage on C2 reaches the
breakdown voltage of the diac, which is
when the triac is triggered. PI, in con-
junction with RI and Cl determines the
minimum brightness level, or alterna-
tively may be used as a fine brightness
control. Interference suppression is
provided by R2 and C3.
Construction
The printed circuit board is very com-
pact and can easily be accommodated
SOLDER PASTES SINGLE PHASING PREVENTER
ALTEK SYSTEMS introduce the
VITLroen701,4211,n,Z.,,T4 Reliance PLO-single phasing preven-
°rf,'"g7orow"V5:74 -,roh07:er=1: r ttetfgr rp=c?intrtrrh-rci't'O'r:Vf
oy inehibiting .Ider bass. As the solder submersible pumps from single
paste flux melts before the alloy melts. phasing and dry runNng. The single
very fine solder panicles flow with it. phasing proven., operates lrysensing
away from the main mass of alloy, and.
become isolated. Fine pZi:le.przmt tZte'r Petra tearc=aIV:rlsrg
the conductivity. The unit is available
VrdatilTtlhart7e.gfct.unt a barrier to the with housing or in open form to suit the
main solder mass. ESL's large particle requirement of control panel manu-
solder pastes inhibit these causes of facturers.
solder balls

For further information, write to .


Safari Industries
11, Tribhuvan Road,
Bombay 400 004.

For further information, write to: GEARED SYNCHRONOUS MOTORS


VISHAL Electromag Industries have
=If ZtrrZir t a te developed geared synchronous
motors which are sturdy and COMPFt.
Peanya, Bangalore560 058.
Forfunher information, write to :
Igle.;TZVtroWl':rnlecgooTO' Altek Systems
or5 wattsdepending onthemodel.Out 166, Sector 27,
ULTRASONIC LEVEL INDICATORS TUtOrPlotBMW, Pune 411 044
ELTRONICA have developed, non - are basically unidirectional and can be
contact UP. ultrasonic level indicator/ us. direOly for recorders, time -
controller -Model VUL-8 which can tots hsers born am 580 timers,
maximum demand meters, action
o7Pril'Culr:pbs1;.eTU b41Trrei Iciwn's"E'drrr g.gdiXnernicetn'LtgrIge TEMPERATURE CONTROLLER
instantaneously end hence even can also be d made available as ESD-90/ESD-02 is the ligitaInttem-
dynamic level indication and control is reverSibel synchronous motors for
possible. Measurement is fairly
independent of temperatureupto70.C. =;';e'rern. eterS on ;Terho'flEcIrgiCa'rn="ZsZm's :rt
The digital display isdirectlycalibrated DOViCeS. A wide selection of measure,-
ment ranges is available to suit
in mm or cm a. BCD outputs are
provided for control or printout. Its r"i ge rnT""V OS 'creir7.1?:<VTael
,,,,,y'oEfDbitemperaturetbtng ny;g:

g;:nntr.:"nr4;;;LX: bnaaO
In the
circus!' Mem Ilneansation, is ialso
FO-V."27,:r,rol"cenot,O1`4oTot
v.r.Ior's or rr,ouPtIPP position of the
Instrument

For further information, write to:

35dda,ammankoil Street
Verugambakkam, Madras 600 032

POCKET TRANSISTOR
Mini-Max one band pocket transistor
radio set has been introduced by For further information. write to
SAFARI Industries. The set Is compact Vishal Elacfromag Industries For further information, write to
in gtO=,rvarvu.::,1°48 q2.f Af.",:agt,',VgIMEar 2nd Electronics Systems and Devices
.3167, Hadapsar Industrial Estate.
din'dicator for audio level Indication. Kandiali (EaStr, Bombay 400 101. Pune 411 013.

.00. ,,aae,oanlaee 1.59


=14
T/C SCANNER
The WAHL Data Force dual micro-
routing of Cable Harnesses while
forming a neat. protective bundle. It
twists on easily and quicklh and allows
RAIL TESTER
vt=7'.1,Ltnave developetl me
processor controlled MI -channel .0 -outs at any point. WnenSpirap it;
temperature scanner computes, auto- installed, it may be gapped for greater
r exacting tadard, set by ROSO,
Tegr=====
The input channels accept any
economy and flexibility or it may be
butted tightly for maximum abrasion
resistanc. insulation pro.tion and :FiiEEFEEEFEil
junction box, ositon of Me
standard thennOCOuple types and are greater rigidity.
linearised cods,05.C. The unit has d probes can be raisedrais or lowered as
multiplex card each having 10 T/C r equired. applications of

input Channels, with interchannel e-trneg of


isolation of 300 DC. Temperature cracks on core bolt holes, cracks on
web etc.
rr::rt'rPg rang igeaggu7atchyTsexrg
Calculator functions such as weighted
elt T. computed max/min.
eviation, polynomial linarisation.
dma
cross channel
net computation etc.
available.

mootionouno For furtheronformation. write (0(


P"606?6.66611 '4C:1'g% tia011g:0G:10'0717;00 016.

Forturther Mformation, write to: MINI TOGGLE SWITCH


Jost, Engineering Co. Ltd. Switchman now offer a miniature
SO. Sir Phiroseshah Mebta Road. D.P.O.T. toggle switch rated for 250V
Bombay 400 001. AC at 2A. T. switch issurtable for use
as ON -OFF switch for electrical and
dlectronic instruments. It is housed on a
eep drawn brass casing which pro-
atects the insidez=szslogndust
CURRENT TRANSFORMER nd moisture. For further information. write to:
MECO Instruments Pet. Lt. have terminals moulgel:r1
added a DIN type plastic moulded in it. The contacts are silver plated.
current transformer in four different Dimensions behind Me panel are 1310 rt,=:41,e'd
Near Hatay Bridge
models. The material of the moulded . 12 (WI MB 0-,
case is ABS and s cap is supplieddfor Ku.. Bombay 400 070.
gleltrenr7tdperIp="ltsaen to
be mounted either on base plates or
rrgenctte?,erd are claimed UPS SYSTEM
highly JAYANT Electric & Radio Corpn have
atmosphere. introduced an uninteruptible power
bLref: of Ir s. brownouts an
For further information, (vote Fr, blackouts. Various models are avail-
able ranging from 200 VA to 5 KVA. The
Swisher. system is mounted on a trolly with a
54155 Crescent Mansion battery and incorporates automatic
Gentefftie Road Bombay 400 007. electronic switching, dual function
voltage stabiliser. battery charger with

TUBE LIGHT INVERTER


=7,=urrAAVIrtAt'.10
'glgt7,1"0. Vffecl=innAnCIlle
=
SBA., tube light inverters are specially
designed for trig Bus required capacity. F requency of opera-
They state in tion is 50 Hz 1.1%.
design and use ferrite core trans-
formers. 40% more efficient is claimed
over the old lamination type trans-
former designs. The in are

1?reritVo'rri' the Ube fixture in


of the choke.

For further information. write to:


Meco Instruments Pet. Ltd.
Bharat Industrial Estate
T.J. Road. Scarce, Bombay 400 015
For further information, write For further information write to:
Stsai Electronics Jayant Electric 8 Radio Corporation
CABLE BINDING 19, Mother Gift Building 5 B. Neigaum 0 -Road
Opp. Novelty Cinema P.0.71.
rrYir?g' =ern°ffers permits 0=2 Grant Road. Bombay 400 007. Wadala. Bombay 400 031.

1'60 ...he' 'Nu Pre.. resh


'OR RUTTONSHA-INTERNATIONAL RECTIFIER PRIVATE LIMITED

RIR RECTIFIES YOUR RATINGS.


Today. Gujarat is poised to be the SALES MANAGERS -1Semi- SENIOR DEVELOPMENT/ FINANCE CONTROLLER -
Silicon Valle, of India. In anticipation conductor Devices/Equipment) PRODUCTION ENGINEERS -1Serni- Oanddate in the age group of 35 to
of this development, Rottonsha Graduates in Electrical/Electronics conductor DeviCes/Squipment)
Internatonal Rectifier Private Ltd. Engineering wIth a minimum of 10 to Cl-gera=an9Olve5,'.,
have set up intemational HOLM at Graduates in ElecthcaVElectronics
12 years' experience in the sale of Engineenno with 6 to years' having MBA degree with
Held, near Barocla. Power ElectronIcs and Rectifier specialisation in finance At least
Design Si DeeRbIsment,
Pioneers of power electronics equipment and Semiconductor Production
Production of Power Electronics and year at a senior level
lee) in
Devices. A thorough comprehension Rectifier wl ment for Tradion, the finance department of a reputed
enew plantw iinmnduhceuoe.opabys of the requirements of various Hydrogenoationo and other company is essential. Relevant
Indust)). using such eqopment is multifarious industrial applications experience on a large Profeet would
HIGH POWER RECDFIERS FOR: essential must and Semiconductor fences.. bean added asset.
speed seen
be result-odented wth proven
Hydrogenation, Cathodic Protection. Thorough knowledge of &witty e The
Traction qubstadon & Locomotive), record of achieving sales targets essential. Selected candidates will be res000n d llr efosur dtoraiemnticed
Gass
to explore new markets as posted at the Plants In Gujarat. Pemsons with exceptional professional
111YRISTORISED RECTIFIERS FOR: well as on up new areas of
business pe. MEor responsibility includes
b accomplishments.
Electrophoretic Paintin PRODUCTION MANAGERS - ISer11-
Rants,
POWgerRants, ne gotabons htth top level officers Salary will be commensurate with
and executives in Public and Private conductor DevIces/Equipment) qualifications. experience and
Traction by tap charging, Magnetic
Traction
Field Generator. Undertakings. Selected candidates will Graduates in ElectEonics Engineedna Other benefits as Per
he aletitx rot at Bombay or Baroda with 10 to 12 years' experence in the Company
Company rules.
And AC Controllers, Invertor DC but WI! have to trawl extensively all production of Power Electronic and
Drives, Silicon Diodes/Silicon over India.
Please apply in °mode...Mb full
Rectifier equipment for Traction, biodata and salary expectafions within
Controlled Rectifiers with stud Hydrogenation and other
mounted flat base and double -side SALES ENGINEERS -ISeml. 15 days horn the date of this
multifarious industrial applicatons
cooled, Add -a -Pack Power Modules conductor DeviceS/RqUIPmenb and Semiconductor Devices. adventement, duly superscribing the
wrth isolated base Compact Graduates/Diploma Holders n Candidale must have a thorough envelope with relevant post angled
Monoblock Bridges in pngle/three for, to:
Electrical/Electronics Engineering knoodedge of astute, production
. Water cooled With a flair for sales and 4 to 6 years' methods. engineering MOO.,
RecphRatifierAssemb Switches,ies. experience in sales of Power labour relations and other
Cass 1000 uttradean room facilities, Electronic equipment and Semi- responsibilities associated With the
the btest equipment and Devices Candidates must Binning of an independent THE MANAGING DIRECTOR
technological know-how have gone have t
conduhecactorpacity to effectively manufacturing unit Ability to lead a RUTTONSHA-INTERNATIONAL
into this enterprise. discuss with prospecthe dients motivated group of qualified
techno-cornmerdal aspect. Proven engineers and workmen rangers are RECTIFIER PRIVATE UPAITED
Pdsecl for a growth rate unprece- record of achleOng order boOhn9 to achieving producfion . are Corporate Office
dented in electronic history, Ruttonsha tame. essential. Selected candidates considered very essential. Working International House, L.B.S Mang,
Internatonal Rectifier Pvt. Ltd. needs. may be posted at Bombay or Bar0qa. knowledge of Gujarati Is necessary. rofi, BOMBAY 400023.

IS YOUR CURRENT
AND DRIVE BEING POTENT/
SIDETRAc0.07 Dattararn
NOW
THE LATEST BOOKS -KITS IMPORTANT
ARE AVAILABLE WITH US SUBSCRIPTION RENEWALS ARE ON!
DATA BOOKS : HAVE YOU RENEWED YOURS?
mom r"'"t.TX=""
. "
SEMICONDUCTORS 4 sato('
U Re. 75-00
NATIONAL
01 T17-"11;
Reil FAIRCHILD
Re.

TRhs7200V-17).
INTERSIL
ZILOG -.GE' - ANALOG DEVICES SIEMENS -INTEL tag'
SGS. ATES SILICONIX - TELEDYNE COOK BOOKS
To too No card in Nis Cue
OSAORNE BOOKS SYBEX BOOKS - TAB BOOKS To quote your subscription number
SAMS BOOKS - TOWERS BOOKS AND APPLE To mention that it is a renewal
COMPUTER BOOKS To send your renewal at least
we month in advance
Timely renewal ensures continuous
PLEASE WRITE FOR DETAILS receipt of issues without
ELTEK irritating breaks

BOOKS -N -KITS ...I


6, RITCHIE STREET, 1ST FLOOR,
MOUNT ROAD, MADRAS -600 002
elekitev
We also work ELERTOR INDIA MU a back issues. electronics

High High
Precision Reliability
Economically Priced

PCB Drafting Aids


tapes Donuts IC Patterns Connectors Targets Alphabets
6, Component Legends.
Available as Stickers or Transfers.
Monroe, word By

Ask For
Free Caplogue.
IC IZUMIYA IC INC JAPAN.

44("
Sole Repre5unlenves For India:

ELEkTOR ELECTRONICS pv-r H.


Chhotani Building, 52C, Proctor Road, Grant Road (East), Bombay -400 007. Phones 1 367459, 369478.

1.66 00.Y Mel. lanYaly len


Resistors from the Keltron supermarket:
There's a lot more to them than the
metal film coating. A high degree of
vacuum, extra protection against
KELTRON climates; lead pulling and high voltage
COMPONENTS tests; high stability and law
temperature coefficients; computer
THE control of gases and power for strict
ELECTRONICS adherence to specifications; metal and
SUPERMARKET carbon film resistors in y4 W and 34W
power.
Regd. Office 0 Kerala State Electronics Development Corporation Ltd., Kelton House, Velkwambalam, Trivandrum 695 001.Tel :60621
Telex: 0884-273 KEDC IN Telegram: ELECTRONIC
Branch Offices : 0 102-A Poonarn Chambers, br. Annie assent Road. Worli, Bombay 400018. Telephone: 893457, 397448 Telex : 011-
5139 Telegram : KELTRONBOM 0 75-0 Park Street, Calcutta 700 016 Telephone : 245654, 213200 Telex : 021-2207 Tel
THVRISTOR 0 Sudarshan Building, 86, Chamfers Road, Madras 600 018. Telephone :442310 Telex : 041-7632 Telegram : KELMAD 0
riernxuni Towers, 2nd floor, Nehru Place, New Delhi 110 019. Telephone : 644692, 648493 Telex : 031-3774 Telegram'. KELTRON 0
Centenary Building, 28, M.G. Road, Bangalore 560 001, Telephone : 564492, 564520 Telex : 0845-746 Tel KELTRON 0 Syrian
Church Road, Near SpencerJunclion, Trivandrum 695010. Telephone 60241 Telex : 0884-283 Telegram :ELECTRONIC 03-4-492, First
floor, Barkatpura, Hyderabad 500 027, Telephone : 63786 Telegram : KELTRON 0 67. Pritamnagar, Mangaldas Road, Ellis Bridge,
Ahmedabad 380 006. Telephone : 79867.463664 Telegram : KELTRON, TrIkawl.KC9.83

ow. iivii. lavwff i ass 1.67


When India is waking up to make
some of the finest
colour TVs in the world...
There's only one capacitor
to say "Good morning"...

Signalling the dawn of a


new er omponent elecelectronics.ELCOT

introduces
Aluminium Electrolytic
Capacitors-with Tolerance
ranging from -10% to 0 20%
and operating temperature
ranging from -40.0 to 85.C.
ELCOT Electrolytic
Capacitors are made with
the most modern technology
n the latest high-speed
Japanese machines.That
is why they hayeMe
unmatchable characteris-
btics of perfection. and can
e used in both Colour and
Black &While TVs.
Also in hi-fi sets, walkie:
talkies personal computers
and other consumer and
industrial electronic items.
A. watch out for Me
ELCOT Bipolar and Correc,

rr
Pon Coon., soon to be
on the market!

ELCOT L. P.. IL. ILI I


T
Aluminium Electronics Corpora... or
Electrolytic Capacitors Tentil Nadu Ltd.
Ltriruirdr,;!;V4.',=Tat.i
Madras 600 002
Ph: 810771. 87659, 83776
Telex: 041-6113 LCOT IN
ELCOT -Shaping the future of electronics

eiettor .ndia onuary 1985 1 .e9


KITS For COMPUTER
Our Most Popular CORNER
elektor Projects Practical Corr iuting
TBA 810 7W IC Computer Lights
Audio Amplifier Use your ZX 81/Spectrum to control
Lights, Small electric motors, Heaters etc.
Only one IC TBA 810 delivers 7 waft output. ON/OFF, Brightness, Speed controls of 8
Supply voltage 16 V.
gadgets individually, using BASIC or
Input sensitivity (for max. output) 155 mg.
Frequency response (3 dB bandwidth) 20 Hz to Machine Code.
30 KHz.
Rs. 850.00
Input impudence 100 K. Ohms.
Kit for Rs. 50.00
SPECTRUM Effects Box
Light Dimmer Atack, Delay, Sustain, Echo,
This simple triac dimmer con be used to control Rs. 300.00
incodescent lamps upto 1500 watts.
Kit for Rs. 40.00 SPECTRUM Amplifier
Improves sound output of the Spectrum.
7400 -Siren
Electronic sound effect resembles the sound of Rs. 410.00
American Police siren, Needs external amplifier.
Siren circuit works on 5 volts supply.
Kit for Rs. 35.00
VHF/UHF Modulator
Conned your computer to any
domestic 1V set.
Elektornado 50W + SOW Conned your VCR to any Block & White
High quality stereo amplifier with ICs LM 391 as N.
drivers and power transistors in the output. Can
also work as 100 W mono amplifier at 8 Ohms Rs. 400.00
load.
Frequency response (3 dB bandwidth) 6 Hz to Products announced under Computer
30 KHz.
Total harmonic distortion 0.1% from 40 Hz to 10 KHz.
corner will be supplied only in assembled
and tested form.
Kit for Rs. 380.00
Universal NiCad Charger TERMS:
One charger for all types of NiCad cells. Goods by return post subject to availability.
Kit for Rs. 130.00 Special prices for volume order
Minimum outstation orders Rs. 50.00
Telephone Amplifier All orders must cam a minimum advance of
Project published in elektor India november 1984 50%. balance payment by VPP or through
Kit for Rs. 150.00 Bank. (No cheque payment)
Prices are subject to change without any prior
Also Available notice, will be charged as prevailing on date
PCBs for most projects published in elektor indio of despatch of goods.
and elektor (U.K.). All prices are exclusive of M ST. and Postage.

YSNi
ELECTRONICS
Tele: 362650 e
17, Kalpana Building 349, Lamington Road, BOMBAY -400007.
NIH/BYW-228
R.N. No.39881/83 LIC.No.91

For over 30 years, with high technology and sophistication in the field of
entertainment electronics, COSMIC in India has brought to the door step
Audio and Video equipment of international quality.
COSMIC has earned consumer confidence with unparallel technology, and
COSMIC now offers a COLOUR TV (51 cms.) which is almost beyond
comparison, without compromising in the quality or technological
advancement, but only in price.
COSMIC COLOUR TV stands up to any international standard. COSMIC
with high intensity picture tube. gives sharp and rich contrast picture with
fantastic visual definition.
COSMIC COLOUR TV with S.M.P.S. (Switch Mode Power Supply) is a shock
proof set wkh built in regulated power supply (160 Volts to 280 Volts) that
consumes less than 50 watts.
COSMIC COLOUR TV incorporates the HIGH GAIN TURRET TUNER to
receive transmissions in fringe areas. VIDEO IN/AUDIO IN capability to
connect any VCR, for better picture and sound quality. Also incorporates
AUTO DEGAUSSING CIRCUIT.

International quality created for India by COSMIC

Off Tule Pipe Re. lawn Por.11=11,400 013

S-ar putea să vă placă și