Professional Documents
Culture Documents
March 2000
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, Febuary 1999 - www.epemag.com - XXX
Maxfield & Montrose Interactive Inc
Copyright 2000, Wimborne Publishing Ltd
and Maxfield & Montrose Interactive Inc.,
PO Box 857, Madison, Alabama 35758, USA
All rights reserved.
WARNING!
The materials and works contained within EPE Online — which are made available
by Wimborne Publishing Ltd and Maxfield & Montrose Interactive Inc — are
copyrighted. You are permitted to download locally these materials and works and to
make one (1) hard copy of such materials and works for your personal use. International
copyright laws, however, prohibit any further copying or reproduction of such materials
and works, or any republication of any kind.
Maxfield & Montrose Interactive Inc and Wimborne Publishing Ltd have used their
best efforts in preparing these materials and works. However, Maxfield & Montrose
Interactive Inc and Wimborne Publishing Ltd make no warranties of any kind, expressed
or implied, with regard to the documentation or data contained herein, and specifically
disclaim, without limitation, any implied warranties of merchantability and fitness for a
particular purpose. Because of possible variances in the quality and condition of
materials and workmanship used by readers, EPE Online, its publishers and agents
disclaim any responsibility for the safe and proper functioning of reader-constructed
projects based on or from information published in these materials and works.
In no event shall Maxfield & Montrose Interactive Inc or Wimborne Publishing Ltd be
responsible or liable for any loss of profit or any other commercial damages, including
but not limited to special, incidental, consequential, or any other damages in connection
with or arising out of furnishing, performance, or use of these materials and works.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 164
Maxfield & Montrose Interactive Inc
PROJECTS AND CIRCUITS
PARKING WARNING SYSTEM - by Tom Webb 167
Avoid having an unwanted rear entrance to your garage!
TERRY
We dedicate this issue to Terry Farmiloe, the Typesetting Manager of the printed edition of EPE, who
died on Jan. 2nd, aged 61. Terry had a gruff exterior that hid a heart of gold. While his name will not be
known to readers, he has been responsible for running the EPE typesetting department, and thus the
production of EPE and other publications, for the last 10 years.
Good luck on your onward journey, Terry, we miss you greatly. Our sympathy goes to your loving
family.
FLASH SLAVE
Cameras have undoubtedly increased in sophistication over the last ten years or so, with fea-
tures such as auto-focus and built-in flashguns now being commonplace. On the other hand, a few
“standard” features seem to have become rarities that are featured on little more than a few up-
market cameras. The humble flash socket certainly falls into this category.
For most users, this lack of an external flash connector is probably of little consequence, but it
is a major drawback for anyone wishing to go beyond simple “point and shoot” flash photography.
This easy-to-build, inexpensive little unit will fire a secondary flash without any connections to the
camera, thus overcoming the problem.
GARAGE LINK
This circuit helps to prevent the garage door (or either door in the case of a double garage hav-
ing twin doors) being left open all night. It works by establishing a radio link between the garage
and some point inside the house. The unit indoors then provides an audible warning in the form of
a short bleep every 45 seconds. It could also be used to monitor a range of other things around the
home.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 166
Maxfield & Montrose Interactive Inc
PARKING WARNING SYSTEM
by TOM WEBB
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 167
Maxfield & Montrose Interactive Inc
Constructional Project
R1
100Ω
OUT IC4 IN
7805
a
COM D3
R3
10k k
a
D4
+ VE TR1 VR2
R2 BC184L
c
1M k +
47k WD1 S1
b a 12V
IC1 OUT D5
PIC-26043S
e k
GND IC5a IC5b
14 4001 C4 4001 k + 12V D.C.
2 47µ 6 R10 D2
1 18 3 4 330Ω 1N4001 POWER
A0 V DD 5 a
1 INPUT
2 17 R4 (SEE TEXT)
A1 VT 47k 7
3 16
A2 OSC1 0V
4 15
A3 OSC2
TR3
5
A4 IC3 DIN
14
R9 BC184L
HT12D c
6 13 4k7 C5 C6
A5 D11 b
100n 1000µ
C1 7 12
100µ A6 D10
e
8 11 IC5c IC5d
A7 D9
R7 4001 4001
9 10 9 13
VSS D8 100k 10 11
8 N.C. 12 N.C.
a
D1
IR
R5 k
4k7
1 18
A0 VDD R8
2 17 C2 100Ω
A1 DOUT 100p
3 16
A2
4
A3
X1
X2
15
VR1
Fig.2. Complete circuit diagram for
IC2 X1 R6 470Ω
5
6
A4
HT12B
L/MB
14
13
455kHZ 10M C3
100p
TR2 the Parking Warning System. The
A5 D11 TIP122 OR
7
A6 D10
12
TIP121
c
transmitter is the lower section
8 11 b
9
A7 D9
D8
10 (IC2/TR2) of the circuit.
VSS
e
+
C4
+
C1
+VE GND OUT
R
9
D3 D4 D5
e c b e R a k a k a k
R 1
VR2 3 c IC1 R
TR3 b 2
D2 TR1 OUT IC4 L.E.D.S CONNECTED
IN SERIES
k a
D5(k) COM
R10 IN
D3(a) C5
+
SCREENED
WD1 C6 R CABLE
R4 7
WD1+
TR2
R5 b
c
a +
C2 e V+
R
6 X1 D1 VIA S1
OPTIONAL
JACK PLUG
C3 R
k 8
0V
VR1 0V
258 POWER
+
HOLE TO
ADJUST
RANGE
OF IR
OPTIONAL
POWER
+ CONNECTOR
BUZZER
+
HOLE TO ADJUST
TIME BUZZER OR INSIDE VIEW
L.E.D.S ARE ON
Fig.3. Printed circuit board topside compo- Fig.5. the remaining chips, correctly
nent layout and (top right) approximately orientated.
full-size underside copper foil master. TESTING Testing of the IR modules
presents a problem as if one
The first check doesn’t work then the other will
with their respective is to make sure the voltage seem not to be working as well.
components. regulator IC4 is the correct way If in doubt use a voltmeter or
around. Connect the circuit to oscilloscope as follows:
The LEDs mounted in their the 12V power supply and then
separate case can be connected check that 5V is present on the Test the voltage on the VT
to the circuit using single output pin of IC4. If it is, then pin (pin 17) on IC3 of the
screened wire, as shown in disconnect the power and insert receiver module. It should
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 170
Maxfield & Montrose Interactive Inc
Constructional Project
know if the receiver IC is
working, and hence determine if
the fault lies in the transmitter or
receiver or both.
If the output from IC1 is
working, test the signal at pin 14
(Din) of IC3 on the receiver
module. It should be at about
0V when no signal is received,
rising to about 1××3V (as seen on
a voltmeter) when a signal is
received. Again, an oscilloscope
will show that the signal actually
pulses to about 5V.
If the VT pin on the receiver
is working then simple voltmeter
tests should establish the
position of any other faults.
Completed circuit board mounted inside its box.
If the circuit is triggered
normally be at 0V but change to oscillating, a voltmeter provides straight away then IC1 may be
about 5V when a signal is a rather approximate guide to receiving IR straight from the IR
received. Now check the voltage. If an oscilloscope is diode D1, through stray
voltage on the pins of IC1. Pin 3 available it should be possible reflection inside the case. If this
should be at 5V and pin 2 at 0V. to view the encoded signal, in happens the transmitter should
When a signal is not being which case the trace will rise be surrounded by a rolled piece
received, pin 1 (the output pin) and fall between 4V and 0V. If of black card.
should be at just under 4V. this test fails then try sending a
When a signal is received this signal from a TV remote control
voltage should fall by about 1V. unit. The signal will not be
SETTING UP
Note that as the signal is decoded, but you will at least The presets VR1 and VR2
can be adjusted to suit the
user’s own particular needs. The
following is a summary of their
functions:
VR1: Adjusts the range of
the IR beam by decreasing or
increasing the power going
through IR diode D1. Reducing
the resistance extends the
range.
VR2: Sets the time the
buzzer and LEDs stay on by
controlling how much
recharging current is input to the
monostable. Reducing the
resistance reduces the time.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 171
Maxfield & Montrose Interactive Inc
Constructional Project
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 172
Maxfield & Montrose Interactive Inc
HIGH PERFORMANCE
REGENERATIVE
RECEIVER by RAYMOND HAIGH
developed across it.
Provides continuous coverage from 130kHz to
30MHz. Capable of receiving broadcast and amateur Armstrong (and others)
discovered that, by connecting
stations from around the world. a triode valve to the tuned
“regeneration”, the technique circuit and feeding back a tiny
ORIGINS OF portion of the amplified signal to
produces a truly dramatic
REGENERATION increase in receiver sensitivity the coil, its Q can be
Almost a hundred years ago, and selectivity. dramatically increased. By this
scientists and engineers in means, Q factors of several
Armstrong filed his patent in
Europe and America were trying thousand can be achieved
October 1913, just two months
to develop more sensitive circuits before the onset of oscillation,
before his 23rd birthday. At this
for the reception of radio signals. and the wanted signal is greatly
amazingly young age he had
amplified.
C. S. Franklin in England and pushed forward the frontiers of
A. Meissner in Germany were technology and made man’s It is this phenomenon which
both working on similar lines, but dream of long-distance radio imparts such a high degree of
the credit for discovering the reception a reality. sensitivity and selectivity to
benefits of applying positive simple regenerative receivers.
feedback to a tuned circuit is
generally attributed to that great
HOW IT WORKS
Tuned circuits, formed by
POPULARITY
American radio pioneer, E. H.
Armstrong. Known as an inductor (coil) and a Regenerative radio sets
capacitor, are crucial to the were produced in large numbers
working of radio receivers. By throughout the ’twenties. Skill is
varying one of the required to get the best out of
components (usually the radios of this kind: in particular,
capacitor), the circuit can be the regeneration control has to
tuned to resonate at a be carefully adjusted when
particular frequency. receiving weak signals. Largely
because of this, the easily
This combination
operated superhet (also
magnifies a signal to which it
invented by Armstrong) began
is tuned. The degree of
to challenge the popularity of
magnification is dependant on
the regen’ in the ’thirties.
the quality of the tuned circuit,
and this is defined by a figure During the Second World
of merit known as the Q- War, Germany manufactured
factor. A figure of 100 is regenerative sets for military
common. If a signal of 1mV is use, and the British
applied to a tuned circuit with incorporated circuits of this kind
a “Q’’ of 100, a voltage of 100 into clandestine transceivers.
x 1mV, or 0××1V will be Manufacture for domestic
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 173
Maxfield & Montrose Interactive Inc
Constructional Project
listeners continued almost to the
end of the valve era, with Ever-
S1A
Ready producing a two-valve
9V TO 12V
BC239C
e b c
BC237
BC238
0V
B1
TO VR8
TO VR8
battery-operated set (their
ON/OFF
Model H) during the ’fifties.
OUTPUT
AUDIO
3SK81
BF981
BF960
BF961
C19
1m
C18
10n
AVOIDING
d
PROBLEMS
+
100m
C17
g2
s
Regenerative receivers are
e
c
g1
easily overloaded by powerful
220W
R12
470W
10k
R11
R14
BC239C
TR4
2M2
R13
b
signals. They are also affected
2N3819
d g s
+
by aerial characteristics.
C16
1m
C15
1m
When an aerial system, +
BC557
BC212
e b c
10n
C14
the tuned circuit, is resonant at
the reception frequency (or a
100n
C13
harmonic), it absorbs energy
s
and inhibits regeneration.
100W
R10
10k
R9
BF981
TR3
g2
g1
phenomenon manifests itself as
C8 *
dead spots in the tuning range.
REGEN
VR3
100k
VR4 *
Overload and “suck-out”,
22k
470W
R8
+
feedback control, can ruin the
C12
1m
performance of regenerative
+
1M
R7
radios. They are avoided in this
100m
C11
design.
D
100n
C10
10n
C9
WAVE TRAP
VC2*
d
TUNE
FINE
25p
10k
4k7
R5
R4
2N3819
TR2
C8 *
VC1*
365p
100n
TUNE
C6
C7 *
4 m7
C5
B
SK3/PL3
“wave trap”.
An inductor L1 and
100W
100k
22k
R2
cc
100n
ee
LOG.
BC557
TR1
VR1
R.F.
1k
C3
+
220p
100m
C2
331208NO
encountered on Medium
L1*
RWR
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 174
Maxfield & Montrose Interactive Inc
k
TO AUDIO
+9V TO +12V C23
BB405B
INPUT 100n + S1B
FROM
BANDSPREAD VR5 RECEIVER C24 ON/OFF
a
1k
TO IC1 220m
C19 TDA7052
1 B2
BANDSET VR6 SK1 OUTPUT 6V TO 9V
KV1236 D1 100k VR8 2 5
1/2 OF 4k7
KV1236 LOG.
PHONES
3
a k R15 VOLUME 8 LS1
C22 8W
470k 6
100n
C20
1n C21
TUNING
CAPACITOR
100n 0V
TO TR3 g1 k VR7
D1
1/2 OF
100k
Fig 3. The audio power amplifier stage.
KV1236
a
OV (GND)
Approx. Cost
Guidance Only
(Excluding batteries and tuning capacitors) $56
larger of the two capacitors, bias of audio amplifier, TR4, are
VC1, acts as a coarse (Bandset) fixed by resistors R13 and R14. ELECTRONIC
tuning control. The smaller one, Signal output is developed
VC2, provides fine across collector (c) load resistor TUNING
(Bandspread) tuning. These R12; and R11 and C17 The use of a separate Q-
components are discussed later. decouple the stage from the multiplier stage (TR3) makes
Fixed capacitor C7 limits the supply. the receiver tolerant of
maximum value of VC1 on the The low value of emitter electronic tuning. (The
shortwave ranges. The reduced bypass capacitor C16 results in somewhat modest Q of high
swing makes tuning less critical gain-reducing negative capacitance varicap diodes
and consistent regeneration feedback at the lower audio inhibits the operation of most
easier to achieve. frequencies. This improves regenerative sets).
Details of the coverage clarity. Coupling and DC A suitable, add-on,
obtained with a range of Toko blocking capacitors C15 and electronic tuning circuit is given
coils, together with the C19 have a low value for the in Fig.2. Potentiometer VR6
associated values of C7, R6, same reason. controls the reverse bias on
and C8, are given in Table 2 Response to the higher varicap diode D1 and varies its
(next month). audio frequencies is curtailed by junction capacitance. This forms
capacitor C18. Constructors the coarse, or Bandset, tuning
who find the tone too “bright” control.
AUDIO AMPLIFIER
should increase the value of this Potentiometer VR5 permits
The base (b) and emitter (e) component to 47nF or 100nF. a small adjustment of the bias
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 176
Maxfield & Montrose Interactive Inc
Constructional Project
voltage, and acts as the fine, or operated Bandspread control in are mains powered).
Bandspread, control. Preset a position remote from the The power amplifier current
VR7 fixes the lowest level the tuned circuit. The prototype swings between 6mA and 60mA
bias voltage can fall to, thereby Receiver, shown in the or more when it is being driven
determining the maximum photographs, incorporates this hard. The resulting supply
value of the tuning capacitance. arrangement. voltage fluctuations would
(Diode junction capacitance disturb the operation of the Q-
increases as the reverse bias is multiplier, despite heavy
reduced.)
POWER AMPLIFIER
decoupling.
The varicap diode D1 is The circuit diagram of the
additional, single chip, audio Separate battery supplies
coupled into the main circuit via for the Receiver and Power
DC blocking capacitor C20 and power amplifier stage is given in
Fig.3. This amplifier has its own Amplifier sections are,
resistor R15 isolates the signal therefore, strongly
path from the potentiometer 6V to 9V power supply to avoid
any possible interaction with the recommended. They are
chain. Potentiometer noise is essential when electronic tuning
prevented by capacitors C21 receiver section. Designed
around a TDA7052 low voltage is adopted. A double-pole toggle
and C22. switch, S1a and S1b, connects
power amp IC, the only external
High value varicap diodes components are capacitors C23 the two separate battery packs
have a relatively large minimum and C24 which ensure the into circuit.
capacitance, and an additional stability of the device.
coil may be needed in order to Potentiometer VR8 acts as the
secure continuous coverage. COMPONENTS
volume, or AF gain, control.
Furthermore, performance Before we commence
above 20MHz or so is not quite The power amplifier IC1 is construction, a few words now
as satisfactory as that afforded short-circuit protected, requires on choice of components may
by a traditional variable no heatsink and can deliver a help. Readers are also directed
capacitor. clean 1W of audio into an 8 to our Shoptalk page for details
ohm speaker with a 6V supply. of possible suppliers for some
These disadvantages do not It is also claimed that there are
apply when the electronic tuning off those “hard to find” items.
no switch-on or switch-off clicks
circuit is used with a VHF diode with this device.
solely to provide fine tuning
(VR5 is omitted and the top end
of VR6 is connected directly to POWER
the positive supply rail). This SUPPLIES
arrangement has the advantage
of low cost and conveys a Current drain is
freedom to locate the DC extremely modest, being
only 2mA for the radio
section and 50mA for
the power amplifier when
it is delivering a good
speaker volume (5mA
when ’phones are used).
Battery supplies are,
therefore, eminently
suitable, and any
possibility of hum and
interference from the The chassis of the prototype was fab-
mains is avoided ricated from aluminum and a wooden
(regenerative receivers case with hinged lid holding the loud-
are very susceptible to speaker made to house the receiver.
this and require a The lid can be raised and held up by a
carefully designed
hinged wire frame (shown above)
supply unit when they
when in use.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 177
Maxfield & Montrose Interactive Inc
Constructional Project
Coils gate MOSFETS, including the rate which is too fast, connect a
40673 and the MFE201. The 10pF or 5pF polystyrene
All of the inductors used in 3N201 was not tried, but it capacitor in series with it to
this Receiver are from the Toko should prove satisfactory. reduce its swing.
range. Their frequency
coverage is shown in Table 1 A 2N2905 pnp transistor Inexpensive, polythene
and Table 2 (next month) worked well in the RF stage, dielectric variables, of the kind
together with suitable tuning and a 2N5827 or a 2N5828 used in transistor portables, can
capacitor values. should be suitable for TR4. also be used. Some of these
The alternative devices have comparatively low values,
Coils can also be hand and both sections may need
wound. As a very rough guide, mentioned here have different
case styles to those depicted in connecting in parallel to obtain
when 20mm to 25mm diameter the required tuning range. (A
formers are used, feedback Fig.1, and the lead-outs must be
checked. swing of at least a 10pF to
tappings should be about 10 200pF is needed to give
turns up from the “earthy” end continuous coverage from
on Long waves, 5 turns on
Tuning Capacitors
150kHz to 30MHz with the coils
Medium waves, and 2 or 3 turns A Jackson 365pF O-type listed in Table 2). The 25pF FM
on Shortwaves. air-spaced tuning capacitor is tuning section of one of these
the preferred component for capacitors can act as the
Transistors bandset control VC1, and a bandspread control VC2.
Transistor types are not 25pF Jackson C804 type is
ideal for VC2, the Bandspread If salvaged tuning
critical. The Q-multiplier circuit capacitors are used, make sure
works well with a range of dual- control. If this latter value
produces a bandspread tuning that they are clean and dry, that
the rotor contacts are
satisfactory, and that the vanes
are not shorting.
Varicap diodes are retailed
by a number of suppliers and
should not be too hard to find.
Any 450pF varicap designed for
9V bias, should be suitable for
full electronic tuning.
NEXT MONTH
In Part 2 next month we’ll
go over the constructional
details for this project.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 178
Maxfield & Montrose Interactive Inc
AUTOMATIC TRAIN SIGNAL
by ROBERT PENFOLD
An easy-to-build, low cost starter project for your the track is a DC signal, but its
model radio system. polarity depends on the direc-
tion of the train.
This very simple project, suit- of no practical importance, as To operate the main circuit
able for beginners, is a two-color the state of the signal is irrele- reliably it is important that the
(red/green) signal for input signal has the
a model railway. It correct polarity, and
uses a simple form of TRESHOLD GREEN
the purpose of the
automatic operation, rectifier is to ensure
FULL-WAVE LOWPASS VOLTAGE
and if you stop the RECTIFIER FILTER DETECTOR RED that the main circuit is
train in front of the fed with a positive sig-
signal it automatically nal regardless of the
switches from “green” train’s direction. The
to “red”. When the output of the rectifier
train is restarted the Fig.1. Block diagram for the Automatic Train Signal. is fed to a potentiome-
signal automatically ter that enables the
switches to “green” again. vant except when the train is output voltage to be reduced.
approaching it. This enables the user to adjust
To an onlooker it appears as
though the signal is changing SYSTEM the threshold voltage at which
color and the train is responding OPERATION the signal changes state.
to the change. In reality the train The threshold level used is
The block diagram of Fig.1
and the signal are both respond- not critical, but the signal should
helps to explain the way in
ing to changes in the track volt- not go to red while the train is
which the Automatic Train Sig-
age. The signal will, in fact, go to still moving. On the other hand,
nal functions. The voltage from
“red” wherever the train is some types of train controller
the track is fed to a full-wave
stopped on the layout, but this is never produce an output level
rectifier circuit. The voltage on
S1
ON/OFF
D5 a
GREEN
L.E.D. k
C2 R3
100n 39k
R5
1k5
SK1
7
3
D1 TO D4 B1
ALL 1N4004 D4 D1 R1 R2 IC1 6
9V
10k 2k2 LF351N
2
(6 x AA)
4
D2 D3
R6
1k5
SK2 VR1 R4
C1
22k 22µ 10k
D6 a
THRESHOLD RED
L.E.D. k
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 180
Maxfield & Montrose Interactive Inc
Constructional Project
FLAT
D5
k a
Fig.3. Stripboard component layout, inter-
2 4 6 8 10 12 14 16 18 20
1 3 5 7 9 11 17 19
wiring to off-board components and details
A
B of breaks required in the underside
C
D ON/OFF copper strips.
E
F
SK1
G S1
H
R 20 18 16 14 12 10 8 6 4 2
I 3 C
R 19 17 15 13 11 9 7 5 3 1
J k 2
5
K A
D1 k
L a B
D3 R C
2
a D
N
R E
O k 6 RED
+ R TO F
R 4 B1
Q k D4 BLACK G
1 C1
a H
R D2
S a I
T J
K
L
SK2 k a M
D6 N
FLAT O
VR1 P
Q
R
S
T
THRESHOLD
because one of the input lines 3mm and accept Metric M2××5 the wire trimmed from the resis-
might be earthed, and neither of mounting bolts. There are just six tor leads, but one or two of
these lines connects to a supply breaks in the copper strips. These them might be too long to per-
rail of the signal circuit. can be made using a special tool mit this. They will then have to
Earthing one rail of the sig- or by using a small hand-held be made from 22s.w.g. or
nal circuit could produce an un- twist drill bit of about 5mm diame- 24s.w.g. tinned copper wire. Fit
wanted connection that would ter. single-sided solder pins at the
prevent the unit from working, points where connections will be
The board is now ready for
and could result in a heavy cur- made to the controls, LEDs, and
the components and the three
rent flowing through the input sockets.
link-wires to be added. It is gener-
rectifier circuit. The most practi- ally considered best to start with
cal solution is to use a 9V or the small components and work CASING UP
12V regulated battery elimina- up to the largest, but in this case
tor. These use double insulation the components are all quite If the unit is powered from a
and have neither supply rail small. PP3 size battery it should be
earthed. possible to fit it into practically
It is probably best to work any small plastic box. A
across the board methodically, medium size case about
CONSTRUCTION being careful to get everything in 150mm or so long will have to
the right place. In the cases of be used if an AA battery pack is
The Automatic Train Signal IC1, C1, and the four rectifier
circuit is built up on a piece of to be accommodated.
diodes (D1-D4) you must also be
stripboard containing 20 holes careful to fit them the right
by 20 copper tracks. The com- way round. The LF351N
ponent layout, together with de- used for IC1 is not a static
tails of breaks required in the sensitive component, but as
copper strips, is shown in Fig.3. with any DIL integrated cir-
Construction follows along cuit it is still advisable to
the normal lines with a standard mount it on the board via a
size board being cut down to the holder.
correct size using a hacksaw. It might be possible to
Next drill the two mounting make the link-wires using
holes, which have a diameter of
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 181
Maxfield & Montrose Interactive Inc
Constructional Project
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 182
Maxfield & Montrose Interactive Inc
EPE ICEBREAKER by MARK STUART
A real-time PIC In-Circuit Emulator (ICE), programmer, ging (ICD). This requires a chip
debugger, and development system with special built in hardware
(known as a “Background De-
This project combines Mi- system is called an In-Circuit bugger”) and software which
crochip’s MPLAB development Emulator or “ICE” and profes- can communicate its status via
software with the advanced self- sional systems are available for a serial link.
debugging features of the latest practically every type of micro- The chip is fitted to its work-
PIC chips. The result is a user- controller. ing printed circuit board (PCB)
friendly advanced development The problem with this is and all external hardware is
system for a very low cost. cost. A professional ICE for the connected and active. Code is
PIC series of chips costs a rea- then programmed, run, and de-
sonable 2000 UK Pounds or so bugged under PC control, until it
DEVELOPMENT – not a lot if you are a profes- is running correctly. For Mi-
SYSTEMS sional programmer being paid crochip PIC users, the good
twice that each month – but news is that the PIC16F877 and
Developing projects with mi-
more certainly enough to make its close relatives the ’876, ’874,
crocontrollers is extremely inter-
your eyes water if you are an and ’873 have built in ICD facili-
esting, especially the ability to
amateur! ties and can be used to develop
alter the way hardware responds
just by making simple changes to Just lately a new type of de-
program code. velopment system has ap-
peared called In-Circuit Debug-
The problem is that each
change of code has to be written,
+5V
compiled (converted into suitable R14
form for loading) and pro- 14
10k
OSC 2
grammed into a chip before it can X1 RB0
33
34 PL1
be tested. Several low cost sys- 20MHz 13
OSC 1
RB1
35
tems – such as the EPE PICtutor 2
RB2
36
R12
RB3 1
RA0
are available (see our web page C2 C1
3
RA1
RB4
37 10k 6
38
at www.epemag.com for more 10p 10p 4
RA2
RB5
39 D7
k
R13
5 RB6 5V1 470W
details) and are adequate for the 6
RA3
RB7
40 a
9
RA4 IC1 k 5
development of simple programs, 7
RA5 PIC16F877 D8 R11
5V1 1k
but for larger changes and pro- 11
VDD(+V) MCLR
1 a
32 k
grams it can be tedious, and er- 12
VDD(+V)
RE0
8 D6
VSS(GND) 5V1
rors are almost as easy to intro- 31
VSS(GND) RE1
9 a
10
duce as to eliminate. RE2
LK1 LK2
15 19
RC0 RD0
Better methods of testing pro- 16
RC1 RD1
20
RA0/AN0 2 39 RB6/PGC
RA1/AN1 3 38 RB5
RC3/SCK/SCL 18 23 RC4/SDI/SDA
RD0/PSP0 19 22
PIC16F876 AND 873
RD3/PSP3
RD1/PSP1 20 21 RD2/PSP2
Fig.2. Port connections for the PIC16F877/874 and the alternative 28-pin PIC16F876/873.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 185
Maxfield & Montrose Interactive Inc
Constructional Project
turned on and off by TR5. very low prices. A standard
Many applications require Pentium 133 without special from one to the other.
display of information, and an sound, graphics or multimedia
intelligent LCD module is an is more than adequate provided
it has a spare serial port (COM CONSTRUCTION
ideal display device. X3 has
standard 4- or 8-bit drive capa- 1 – 4). The EPE ICEbreaker
bility, and requires a minimum The software is designed to printed circuit board component
of six output lines for driving. All be run in conjunction with Mi- layout and (approximately) full
pins are available at connector crochip’s MPLAB software. This size copper foil master are
SK1. Preset VR1 allows the is available from many sources shown in Fig.4. This board is
contrast of the LCD to be al- – the Microchip web site is the available from the EPE Online
tered to suit the lighting condi- ideal one as it allows the very Store (code 7000257) from
tions and viewing angle. latest version to be loaded, al- www.epemag.com
Just two input devices are ternatively the Microchip CD- Assembly of the board is
fitted. S2 and S3 are simple ROM is widely available and straightforward. Begin by fitting
single-pole push-to-make good for those without internet seven 12mm pillars with short
switches with pull-up resistors access. M3 screws before adding any
R6 and R7. MPLAB is used in “editor components. Refer to the com-
only” mode to allow assembly ponent layout drawing and then
Whilst the circuit diagram
language source code to be fit plain uninsulated wire links in
seems simple, the PCB layout
written and then assembled to all of the positions shown. Fit
shows that there are far more
produce the necessary .HEX two-way pin headers in the posi-
connection points, and that a
code for programming into the tion for LK1 and LK2 so that two
prototyping area with a solder-
chip. MPLAB also produces a shorting links can be connected
less breadboard is provided.
.COD file which is used by the if required.
Each side of the main inte-
grated circuit (IC) sockets there ICEbreaker software to keep Links LK3 and LK4 provide
are spaces for rows of turned- track of the program execution the facility to set the input power
pin sockets. The inner two rows when debugging, single step- socket for positive or negative
connect to the adjacent IC pins, ping and running the program. inner connection. For positive
whilst the outer two rows are Like many other PC programs, inner fit the links in position B,
power and ground connections. MPLAB has a lot of features for negative fit them in position
that are not regularly used, how- A. As mentioned previously it is
Turned-pin socket strips can ever the advanced features possible to add a diode in place
be fitted in all rows, but it is don’t get in the way when using of one of the links to protect
more practical to have a single it at the simple level required by against polarity reversal. To do
row of sockets each side of the ICEbreaker. this, fit the cathode of the diode
chip and leave the other spaces
The ICEbreaker software is to the point marked with a +
blank so that pull up or pull
a simple stand-alone application sign, and the anode of the diode
down resistors can be soldered
that can be run directly from a to the appropriate A or B posi-
in position if required. An addi-
floppy disk if necessary. This tion.
tional “patch” area is provided
below IC1 and is ideal for article assumes that the con- Fit the diodes and resistors
adding “permanent” hardware tents of the ICEbreaker disk are next, taking care to identify the
such as LEDs or presets. copied into a new folder type and polarity. Usually the
(directory) on the C-drive, which cathodes are marked with a
has been labeled “icebreak”. black or dark blue band, which
ICEBREAKER The only files required are ice- should be positioned to match
SOFTWARE break.exe and icebreak.ini, but the line on the component lay-
it is also convenient to store out diagram. The transistors
ICEbreaker must be run TR1 to TR6 are all the same
program files in the same direc-
from a PC with at least Win- type and are fitted with their
tory.
dows 95. This helps keep the curved sides as shown in the
software simple, and is not a ICEbreaker and MPLAB
diagram. They should be fitted
serious restriction as PCs that should be run together, and the
close to the board surface so
can run Win95 are available at “Alt” and “Tab” keys or the
that they cannot get bent and
taskbar buttons used to switch
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 186
Maxfield & Montrose Interactive Inc
X3 LK3/4
16 x 2 L.C.D. DISPLAY R6 R7 R8 SK5
4k7 4k7 1k PUSH BUTTON
CONNECTIONS +5V OUT IN
14 13 12 11 10 9 8 7 6 5 4 3 2 1 IC2
SK2 7805
LK5 LK6
STEPPING 0V
MOTOR
CONNECTIONS
PL3
SK6
1 C 2 3 C 4 TRANSISTOR TRANSISTOR RELAY
PL4 BASE COLLECTOR DRIVER NC1
RLA1 POLE 1
SK7/TB SK7/TC SK7/RD
k RLA NO1
D9 2
1N4001 NC2
TR1 TR2 TR3 TR4 a RLA2
ZTX451 ZTX451 ZTX451 ZTX451 POLE 2
c c c c NO2
b b b b
ZTX451 ZTX451
30V 30V 30V 30V
a a a a c c
R2 R3 R4 R5 b b
220W 220W 220W 220W
SK4
e e
P4
P3
P2
P1
a a PL2 MCLR
RESET SK5
B6 B7 0V +5V
9 6 S1
D7 D8
5 1
B
LK2
a k R12 k k
D6 LK1 A
R11 R13
R14 A B
LK3/4 X3
LCD DISPLAY
C6
IC2
IC1 IN
COM.
OUT
(28-PIN) C5
IC1 R1
(40-PIN) 14 1
X2
C4
k C R
3 16 VR1 SK1
D5
a SK6 D7
R8 NC2 D6
RLA2 P2 D5
X1
R NO2 D4
15 NC1 RLA D3
C2 C 2
1 RLA1 P1 D2
NO1 D1
S2
D0
COIL
E
k D9 a R/W
TR1 k a
SK3 SK2 PL4 D1 R10 RS
S3 R2 PL3
P1 1 b
P2 TR2 e b c
C
LK5
RD
c eTR6
R3 e b c k a R9
R7 P3 2 D2 TB b
TR3 k a c e
P4 R4 e b c 3 D3 TC
R6
SK4 TR4
e b c
C
k a
SK7 TR5
R5 4 D4
ICEBREAKER
257
Fig.4. Printed circuit board component layout and (approximately) full-size copper foil
master pattern.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 189
Maxfield & Montrose Interactive Inc
Constructional Project
COMPONENTS
Resistors
R1, R6, R7 4k7 (3 off)
R2 to R5 220 ohms (4 off)
R8, R11 1k (2 off)
R8, R10, R13 470 ohms (3 off)
R12, R14 10k (2 off)
R15, R16 See text
All 0.25W 5% carbon film
Potentiometer
VR1 10k carbon preset
Capacitors
C1 to C4 10p ceramic, 2.5mm pitch (4 off), see text
C5, C6 100n multilayer polyester (2 off)
Layout of components on the completed EPE
Semiconductors ICEbreaker PCB.
D1 to D4 30V 400mW Zener diodes (4 off)
D5 3mm low-current red LED
D6 to D8 5.1V 400mW Zener diodes (3 off) files called ib1.lst, ib1.hex, ib1.cod, and ib1.err in
D9 1N4001 diode the icebreak directory. The ib1.err file will contain a
TR1 to TR6 ZTX451 npn transistors (6 off) few warning messages, which can be ignored.
IC1 PIC16F877P20 microcontroller, pre-programmed
IC2 7805 voltage regulator Leave MPLAB running, but minimize it by click-
X1 (X2) 20MHz low-profile crystal (see text) ing on the appropriate box. Open the icebreak file
X3 16x2 alphanumeric LCD module
and double click on icebreak.exe to start the pro-
Miscellaneous gram. The screen will display the main ICEbreaker
Socket strips to make up the following: 11-way (SK1);
1-way (SK2, SK3 -- 2 off); 4-way (SK4); 6-way (SK6) window as shown in Fig.5, and possibly the Watch
SK5 2.1mm PCB power connector and Source windows (Figs. 7 and 8). In the main ICE-
S1 to S3 s.p.s.t. push-to-make switches (3 off) breaker window click on “Options” and then select
RLA d.p.c.o. 5V coil relay (BT47) “Programmer” this will produce the communications
set up box shown in Fig 6. In this box set up the serial
PCB available from the EPE Online Store code 7000257
(www.epemag.com); breadboard; 9-way 90 o male D-type COM port that you are using. If a 20MHz crystal is
connector (PL1); 6-way 0.1in. pin header (PL2, PL4 -- 2 fitted the Baud box must be set to 38400. Other crys-
off); tal frequencies can be used and the Baud rate ad-
6-way pin strip, 2mm pitch (PL3); 2-way 0.1in. pin header justed proportionally – e.g. a 5MHz crystal would op-
with DP link plug (2 off -- LK1, LK2); socket strips, 20-way
erate at 38400/4 or 9600 Baud. Once set up close the
(4 off), 14-way (2 off), 13-way (2 off); 16-way pin-to-pin
strip box by pressing OK.
for LCD; 16-way long-pin socket strip for LCD. Back in the main
b ox select “File” and
Hardware: 12mm M3 HEX pillars (7 off); M3 screw x 6mm
(7 off); screws CSK (4 off) and 12 nuts (6BA or M2.5) for “ Open”, which will re-
LCD mounting. See also the v eal a standard file
SHOP TALK Page! s elect dialog window
li sting the files in the
ic ebreak directory.
Approx. Cost Guidance Only $60 S elect and load
i b1.asm and then
Run MPLAB, select the “project” tab and then o pen the source code
“new project”. In the directory box select c:\ ice- w indow by selecting
break and set up a project named ib.prj and edit ‘ Window’ and then
the project so that it contains the simple test pro- ‘S ource’. The window
gram ib1.asm which is included on the ICEbreaker s hould contain the
disk. Close the “Project Edit” window then select i b1.asm source file
“File” and ib1.asm. This will open the ib1.asm file w ith numbered lines
on the MPLAB screen. a s shown in Fig.7.
Next select “Project” and “Make project”. This Fig.5. Main ICEbreaker Before the pro-
will then run the MPASM program and produce gr window. am can be run it
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 190
Maxfield & Montrose Interactive Inc
Constructional Project
matter to put the LED and
resistor on the breadboard
and make the two connec-
tions to the turned-pin
socket strips. The row of 13
sockets at the bottom of
the patch area is a good
place to find 0V. Provided
the program has been set
up correctly and loaded
into IC1, the LED should
Fig.6. Setup box. flash when the program is
set to “Run”.
must be sent to IC1 by selecting In order to flash the
“Program” and then “Program” LED slowly, the program
in the main ICEbreaker window. has three nested counting
A progress bar appears and
Fig.7. Source file window. loops. To single step through
ICEbreaker sends the program ing the number of registers in them would take years, and so it
to the first 4K of the program the “Array” box. is impractical to go right through
memory in IC1. Once this is all of the states of PORTA. The
completed, it should be possible The selector box in the alternative to single stepping is
to step, run, and reset the code “Watch Add” window allows a to insert a breakpoint and run
one line at a time using the choice of locations, labels and the program to there.
“Step” button in the main win- registers to be selected. It is im-
portant to understand that some Select “Options”,
dow. In single step mode, at “Breakpoint” from the main ICE-
each step, a highlight line pro- of these options are not what
they seem, for example the W breaker window and set the
gresses through the source value to 24. Fig.10 shows the
code window, and the main ICE- option returns not the value of
the W register, but the number “Breakpoint” setting window. En-
breaker window shows the Pro- tering a breakpoint highlights
gram Counter, the contents of 0 which has been assigned to
the label W in the fifth line of the line in the “Source” window.
the W register and the Status “Reset” and then “Run” the pro-
register bits. the source code.
gram and it will now stop at the
Sometimes the highlight breakpoint. Press run again and
does not track the source code TESTING A it will loop again to the same
exactly, and is one line above PROGRAM breakpoint – each time incre-
or below the current line. This is menting the value at PORTA so
due to the communications be- Once some familiarity has that the LED on PORTA 0 turns
tween the computer and IC1 been achieved with the ICE- on and off alternately. Try con-
and depends upon the way breaker windows, it is time to necting the LED to IC1 pin 3
some of the source code is writ- connect some hardware and PORTA 1 and see that it
ten; it is only a minor inconve- see how it operates. As with all switches every other loop.
nience as the actual line of code good microcontroller hardware
Now that a LED can be
is easily worked out from the systems, the first thing to do is
flashed, it is just a few more
program counter in the ICE- flash a LED! The ib1.asm pro-
steps to controlling all sorts of
breaker main window. gram counts up through
peripheral devices, and whilst
PORTA, which is set to output
Other registers may be set the PIC16F877 cannot run the
mode, and so all that is neces-
up in the “Watch” window – se- proverbial “Power Station” it is
sary is to connect a LED from
lect “Windows”, “Watch” in the capable of an amazing number
pin 2 of IC1 via a current limit-
main window. Fig.8 shows the of very complicated feats. The
ing resistor (anything from
main Watch window and Fig.9 development of longer pro-
the “Add” window. Registers 100W to 2k2) to 0V. grams controlling more hard-
may also be “Watched” by set- Using solid core 1/0·6 con- ware is so much easier when it
ting the first location and enter- necting wire links it is an easy is possible to test the programs
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 191
Maxfield & Montrose Interactive Inc
Constructional Project
quickly in this way. Single step- tor. Connect PORTA 0 to 3 to
ping and watching the program the four stepping motor drive
and data registers allows even sockets P1 to P4 and then fol-
complicated routines to be low the procedures used for
tested and debugged, and sim- ib1.asm to compile, load and
ple changes can be made and run the program. Notes are in-
checked immediately. cluded in the code suggesting
To make a simple change modifications that can be made
to the ib1 program, select to the code for altering speed,
Fig.8. ICEbreaker “Watch” direction, and duration of travel.
“Program”, “Code” from the ice- window.
breaker main menu and then Program ib3.asm runs the
select location 14. The contents LCD. It uses six connections
can be read and should be from PORTC 2 to 8 to connect
30FF, which means MOVLW to RS, E, and D4, 5, 6, and 7 of
FF. Modify the value to 3010 the display in that order. The
which will load the value 10 in- code initializes the display, and
stead of FF and press the then can be set up as a subrou-
“Write” button. Clear the break- tine to write any character to
point, “Run” the program, and any display location. The source
see the change in speed. code has notes to explain the
The program in IC1 has Fig.9. ICEbreaker “Watch operation and to suggest possi-
been modified, but remember Add” window. ble changes for more advanced
that the Source Code has not, applications.
and so will need changing to the
new value once the required COMPLETED
speed has been set. To modify
the source code run MPLAB, PROGRAMS
modify ib1.asm, recompile the Once a program has been
code by selecting “Project”, debugged and is working cor-
“Make project” (or by pressing Fig.10. ICEbreaker rectly, it can be programmed
the appropriate shortcut button) “Breakpoint” window. into another PIC16F877 or any
and then switch back to ICE- other suitable PIC chip using an
breaker . files. Changing register file con- appropriate programmer (PIC
tents is particularly useful when
Select “File”, “Reopen” and Toolkit Mk2 from the May and
combined with single stepping,
the modified source code will June issues of EPE Online is
as it allows routines to be tested
appear in the ICEbreaker ideal – www.epemag.com/
with a range of values, for ex-
“Source” window. To complete 0599p1.htm). The ICEbreaker
ample a timing loop can be set
the operation select “Program”, up with 00 in the loop counting code does not have to be in the
“Program” and the new code will register and single stepped to chip and so any blank chip can
be loaded into IC1. Although the see what happens at the end of be used with this method. The
program in IC1 had already the loop. ICEbreaker board can only pro-
been modified, it is always good gram chips that already contain
practice to reprogram with the Once experience is gained, the special icebreak code – this
newly compiled code to prevent the range of tools available will is necessary because the chip
simple errors creeping in – es- be understood, and it will be- has to communicate with the
pecially when a number of mod- come easy to set up and check PC via the standard serial port
ifications might have been simple routines and combine interface. Chips with icebreak
made. them into full programs. code are readily available – see
As well as changes to the the Shoptalk page.
program memory, the same OTHER PROGRAMS Once programmed, ICE-
procedure can be used to mod- breaker chips will run normally
Program ib2.asm is a sim-
ify the EEPROM, and register in other circuits if required to do
ple driver for the stepping mo-
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 192
Maxfield & Montrose Interactive Inc
Constructional Project
so but it is important to make THE NEXT EPE ICEbreaker allows pro-
sure that the two pins RB6 and STEPS grams that are intended to be
RB7 are connected to 0V. This run on much simpler chips to be
is because the ICEbreaker soft- It is tempting to continue checked and debugged. All that
ware automatically starts to run, and describe the many features is necessary is to ensure that
and immediately checks for of the PIC16F877, but it really is the ports and register addresses
ground connections on these an impossible task because the are compatible with the smaller
pins. If it finds that they are chip is so powerful (see also our chips. Applications for the
grounded, the program jumps to PIC16F87x Mini Tutorial in the PIC16F84 are particularly suit-
location 0000 and starts running Oct ’99 issue of EPE Online). able for development using ICE-
the program from there, as a The beauty of the PIC range of breaker, and so the programs
normal chip would. devices is that it is possible to previously published by EPE
run the same code on many dif- can be used. Note though that
ferent chips. the MPLAB environment uses
MPASM code, and so the PIC
Toolkit Mk2 software will be
necessary to convert the origi-
nal TASM source code to
MPASM assembly language.
ICEbreaker provides an ad-
vanced way to learn program-
ming. Along with the PIC pro-
gramming and data sheets and
back issues of EPE, it will be-
come an indispensable tool for
learning, development, and test-
ing of PIC projects.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 193
Maxfield & Montrose Interactive Inc
ROLL-UP, ROLL-UP! Win a Pico PC-Based Oscilloscope
Ingenuity is our regular round-up of readers' own • 50MSPS Dual Channel Storage
circuits. We pay between $16 and $80 for all material Oscilloscope
published, depending on length and technical merit. • 25MHz Spectrum Analyzer
We're looking for novel applications and circuit tips, not
simply mechanical or electrical ideas. Ideas must be the • Multimeter
reader's own work and must not have been submitted • Frequency Meter
for publication elsewhere. The circuits shown have • Signal Generator
NOT been proven by us. Ingenuity Unlimited is open to
ALL abilities, but items for consideration in this column If you have a novel circuit idea which
should preferably be typed or word-processed, with a would be of use to other readers, then a Pico
brief circuit description (between 100 and 500 words Technology PC based oscilloscope could be
maximum) and full circuit diagram showing all relevant yours.
component values. Please draw all circuit schematics Every six months, Pico Technology will be
as clearly as possible. awarding an ADC200-50 digital storage oscil-
loscope for the best IU submission. In addi-
Send your circuit ideas to: Alan Winstanley,
tion, two single channel ADC-40s will be pre-
Ingenuity Unlimited, Wimborne Publishing Ltd., Allen
sented to the runners up.
House, East Borough, Wimborne, Dorset BH21 1PF.
They could earn you some real cash and a prize!
7 2
A 555-based oscillator cir- R1
1k
DIS TRIG.
C3
IC1 D2 R3
OUTPUT
cuit is shown in Fig.2, which C1 6
7555
3
680n BAT85
a k
39Ω
9V1
100n THR O/P +
provides an inexpensive DC
GND CV
isolated power supply for digital R2
22k 1 5 Fig.2 Power sup-
k k
panel meters without the need D1 C5 D3 C6
BAT85
a
100µ 9V1
a
1µ ply circuit using a
for transformers or inductors.
The circuit oscillates at approxi-
C2
470p C4 CMOS timer chip
680n
–
mately 60kHz, as determined by
resistors R1 and R2 and capaci-
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 194
Maxfield & Montrose Interactive Inc
Ingenuity Unlimited
tor C1 as normal. DC voltage isolation is the voltage
ratings of capacitors C3 and C4
Shaky Dice – It’s a
The output square-wave
minus the supply voltage. The cir- Rollover
pulses are fed into a modified
Cockroft-Walton multiplier, cuit runs from 3V to 15V and a low A simple but novel circuit
which features two Schottky drop-out regulator could be used application for a custom die
diodes D1 and D2. The charge for operation at higher voltages (at chip is shown in Fig.4. This cir-
stored on capacitr C5 gives a lower voltages the full 9××1V may cuit imitates a traditional die in
voltage slightly less than the not be achieved). Note that a that it starts “rolling” when you
555 supply voltage, and is suffi- CMOS timer should be used for shake it.
cient to drive most LCD panel IC1. It is based around the
meters which only require a few Holtek HT2070A chip, which will
A.N. Joubert
microamps. generate a traditional style of
Fichardt Park
A 9××1V Zener diode D3 pro- South Africa die readout when the sealed vi-
vides good output regulation up bration switch S2 is operated.
to about 1mA. The maximum The piezo sounder WD1 is a
disc transducer which emits a
sound as well, and it operates
PIC Adapter Socket – from a 3V battery controlled by
a miniature toggle switch S1.
Pinwise
Our own model was housed
After experimenting with
between two semi-transparent
Arizona PIC microcontrollers,
curved colored disco light filters,
using the excellent EPE PIC Tu-
which were bolted together us-
torial circuit board, I needed to ADAPTER
PIC
SOCKET ing nylon fasteners around the
use an external oscillator for ORIGINAL
SOCKET rim. (The filters can be carefully
one of my own experiments.
drilled for this purpose.) The cir-
Rather than modify the board, I
PIC PIN15
cuit was then installed with the
built the simple plug-in adapter PIC PIN16
light-emitting diodes, D1 to D7,
socket shown in Fig.3.
being arranged in an H-shape
Using a pressed contact 18- Fig.3. Simply plug-in as shown.
pin DIL socket (a turned-pin
adapter socket. Andy and Rose Morell
type will not work), I carefully
folded pin 15 and pin 16 out to Winchester, UK
the side. This socket was then
inserted into the existing socket WD1
1
+V
16
PIEZO
already on the board, and the DISC
S1
2 15
PIC pressed into the new a a a
N.C.
ON/OFF
R7
adapter socket. A sliver of plas- D1 D2 D3 470W
3 14 C1
k k k
tic tape prevented any contact R6 IC1
N.C. 100n
k k k R3
of the adapter. Note that in this 470W
7 10
0V
configuration, there is no con- R2
nection to pin 15. 470W
8 9
R1
A. Langton 470W
Aberdeen, Scotland
Fig.4. Circuit diagram for the Shaky Dice.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 195
Maxfield & Montrose Interactive Inc
IAN POOLE INTRODUCES THE MRAM, WHICH (IT IS HOPED) WILL POSE A REAL
THREAT TO “FLASH” MEMORIES AND OTHERS.
Memory is one of the crucial claimed to be faster than Flash, technology a significant
elements in today’s technology. which will be its main competitor advantage.
There have been many when it is launched onto the MRAM has further advantages.
improvements in disk based market. However, as prices fall It does not suffer from the wear
technology over recent years, and MRAM gains wider out mechanism experienced
but there are similar levels of acceptance it is likely that it will with Flash devices. Although
progress taking place in the be used in many more memory great improvements have been
memory more directly applications. made in this area with Flash
associated with the CPU itself. devices, they still have a limited
life and this means that they
To illustrate this, it was less SPECIFICATIONS cannot be used in high usage
than thirty years ago when ferrite areas of a computer’s
For a given speed and
core memory was used. architecture.
geometry the new MRAM
Fortunately this was superseded
technology consumes less
by electronic forms of memory
when the levels of integration of
power and this is a particularly OPERATION
important factor in today’s
circuits grew to a sufficient The operation of the new
technology where many items
degree to allow them to be used. memories is based around a
are battery powered. The power
Now there are a variety of reduction also means that the structure known as a magnetic
different forms of memory that power supply requirements for tunnel junction (MTJ). These
can be used dependent upon the unit as a whole may be devices consist of sandwiches
the exact requirement that reduced, and this can reflect in a of two ferromagnetic layers
needs to be fulfilled. SRAM, decrease in costs – all-important separated by thin insulating
DRAM, EPROM, EEPROM and in today’s fiercely competitive layers.
a variety of others including marketplace. A current can flow across
Flash memories are available, the sandwich arising from a
As the speed of the new
each having their own forte and tunneling action and its
devices is faster than Flash, this
area where they perform to their magnitude is dependent upon
too is another selling point as
best. the magnetic moments of the
the speed of flash devices can
However, if it were possible be such that it impacts on the magnetic layers. These layers
for only one type of memory to operation of the whole unit. can either be the same, when
be used, then this could lead to Although not much faster at the they are said to be parallel, or in
more efficient use of the moment, improvements are opposite directions when they
circuitry, and possible cost anticipated that will give the new are said to be antiparallel.
savings. For this to be feasible, Magnetic tunnel junctions
an all-purpose, yet low cost TOP LEAD comprise sandwiches of two
memory would need to be ferromagnetic (FM) layers
available, and this may be just FREE FERROMAGNET
separated by a thin insulating
TUNNEL JUNCTION
around the corner because a PINNED FERROMAGNET layer which acts as a tunnel
new technology is about to hit barrier (Fig.1). In these
the market. ANTIFERROMAGNET
structures the sense current
Known as magneto SEED LAYER usually flows parallel to the
resistance random access layers of the structure, while the
BOTTOM LEAD
memory, or MRAM, the new current write is passed
memory is creating significant SUBSTRATE perpendicular to the layers of
interest in the semiconductor the MTJ sandwich.
industry. It is a non-volatile form Fig.1. Structure of an The resistance of the MTJ
of random access memory MRAM cell. sandwich depends on the
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 196
Maxfield & Montrose Interactive Inc
New technology Updates
direction of magnetism of the ferromagnetic metals This will bring the final version
two ferromagnetic layers. comprising the electrodes were nearer and ensure that its unit
Typically, the resistance of the made. costs will be such that it can
MTJ is lowest when these It was anticipated that the effectively compete with existing
moments are aligned parallel to magnitude of the MR would technologies.
one another, and is highest largely be dependent on the The new MRAM technology
when antiparallel. interface between the tunnel is an exciting development that
To set the state of the barrier and the magnetic could revolutionize current
memory cell a write current is electrodes. It was found that trends in electronic memory.
passed through the structure. thick layers of certain non- The migration from magnetic
This is sufficiently high to alter ferromagnetic metals could be core memory in the early 1970s
the direction of magnetism of inserted between the tunnel proved to be a major step
the thin layer, but not the thicker barrier and the magnetic forwards. Now the introduction
one. A smaller non-destructive electrode without quenching the of MRAMs could provide similar
sense current is then used to MR effect. However, the MR levels of benefit.
detect the data stored in the cell. was quenched by incomplete
oxidation of the aluminum layer.
CONSTRUCTION
A wide range of structures
OTHER
and materials have been DEVELOPMENTS
investigated to obtain the IBM is not the only
optimum structure. In view of the manufacturer investigating these
potential of the new technology structures. Apart from Motorola,
a number of manufacturers are IMEC, Europe’s leading
investigating different research center for the
approaches. Motorola, IBM and development and licensing of
many others all believe there is state-of-the-art microelectronics
a future for the new idea. technologies, is also making
IBM have fabricated significant developments with
junctions using computer- MRAM technology.
controlled placement of up to They have succeeded in
eight different metal shadow developing a demonstration
masks. The masks were MRAM matrix cell array with a
successively placed on any one DRAM style of architecture. This
of up to twenty 25mm diameter brings MRAM technology a step
wafers with a placement closer to the production of a
accuracy of approximately ± viable alternative to the existing
40um. By using different masks, non-volatile memory. The
between 10 to 74 junctions of a memories produced in this
size of approximately 80 x development used a similar
80um2 could be fashioned on structure to that employed by
each wafer. IBM, i.e. two magnetic layers
The tunnel barrier was separated by an insulating layer.
formed by in-situ plasma Bit-selective addressing was
oxidation of a thin aluminum based around a GaAs diode.
layer deposited at ambient The GaAs technology was
temperature. Using this selected because of its flexibility
technique, large levels of and tolerance relative to silicon.
variation in resistance due to
In the next stage of
magnetoresistive effects were
development it is hoped to use a
seen. Investigations into the
silicon diode or transistor to
dependence of MR on the
reduce the fabrication costs.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 197
Maxfield & Montrose Interactive Inc
TECHNOLOGY TIMELINES
Part 2 - DAYS OF LATER YORE
by Alvin Brown and Clive “Max” Maxfield
Boldly going behind the beyond, behind which no one (meaning 12) and gross
has boldly gone behind, beyond, before! (meaning 12 x 12). The fact that
we have 12 months in a year
and 24 hours in a day (2 x 12)
The purpose of this series is DECIMAL NUMBER are also related to these base-
to review how we came to be 12 systems.
where we are today (technology-
SYSTEM
Throughout history, humans However, the number
wise), and where we look like
have experimented with a system with which we are most
ending up tomorrow. Our first step
variety of different number familiar is the decimal system,
is to cast our gaze into the depths
systems. For example, the which is based on ten digits: 0,
of time to consider the state-of-
ancient Babylonians used a 1, 2, 3, 4, 5, 6, 7, 8 and 9. The
the-art as the world was poised to
base-60 system, which is why name decimal is derived from
enter the 20th Century.
we have 60 seconds in a minute the Latin decam, meaning ten.
In Part 1 we considered As this system uses ten digits, it
and 60 minutes in an hour.
physics, electronics, and is said to be base-10 or radix-
Some people used their fingers
communications prior to 1900. In 10, where the term radix comes
and their toes for counting, so
this installment we shall from the Latin word
first examine the state of meaning root.
computing prior to 1900.
We shall then turn our
attention to the key THE ABACUS
discoveries in The first actual
fundamental electronics calculating mechanism
that occurred in the 20th (at least that we know of)
Century. is the abacus. Some
authorities hold that the
COMPUTING first abacus was invented
by the Babylonians
PRIOR TO 1900 sometime between 1,000
The first tools used as BC and 500 BC, but
aids to calculation were others believe that it was
man’s own fingers. Thus, Napier’s Bones, simple multiplication tables in- actually invented by the
it is no coincidence that Chinese.
scribed on wood or bone. John Napier went on
digit refers to a finger (or to invent logarithms. Courtesy of IBM. Although the abacus
toe) as well as a does not qualify as a
numerical quantity. mechanical calculator, it
Similarly, small stones or pebbles they ended up with base-20 certainly stands proud as one of
could be used to represent larger systems, which is why we still first mechanical aids to
numbers than fingers and could have special words like score, calculation.
also store intermediate results for meaning twenty.
later use. This explains why Similarly, some groups
calculate is derived from the Latin experimented with base-12
THE SLIDE RULE
word for pebble (calculus). systems, which is why we have In the early 1600s, Scottish
special words like dozen mathematician John Napier
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 198
Maxfield & Montrose Interactive Inc
Special Feature
In 1642, Pascal introduced his
Arithmetic Machine, which could
add and subtract numbers
(multiplication and division
operations were implemented by
performing a series of additions or
subtractions).
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 200
Maxfield & Montrose Interactive Inc
Special Feature
the throne of using devices such as
England. Light transformers, or rectification using
bulbs are crystals, the most sophisticated
considered to be form of control prior to the
amazingly cool (but beginning of the 20th Century was
almost no-one has the mechanical switch (or its
electricity in their electromechanical counterpart,
homes). The the relay).
vacuum tube has When it comes to coarse
yet to be invented. control like turning a light bulb on
Rudimentary or off, then a mechanical switch is
telephones are definitely worth considering, but if
available only to the you’re looking for fine control,
favored few, and mechanical switches generally
“computers” are the leave something to be desired.
ill-used Similarly, a mechanical device is
Hollerith’s Tabulator/Sorter unit. mathematicians
Courtesy of IBM. only of use if you only wish to turn
who furiously hand- something off every now and
were used to accumulate and crank their then, but such devices have a
display results. Operators used mechanical calculators in the maximum capability of only a very
switches to instruct the machine dead of night! few cycles per second.
to examine each card for certain Tick-tock, tick-tock . . . the So one key requirement as
characteristics, such as gender, second hand is wending its way we entered the 20th Century (“we”
profession, marital status, towards the beginning of a new meaning the human race, not the
number of children, and so forth. century. Who can guess what authors personally you
An electrically controlled surprises the future will hold? understand) was for a more
sorting mechanism detected any sophisticated way to control
cards that met the specified electricity.
criteria and gathered them into a
separate container. The ability to
quickly and easily collate data in VACUUM TUBES –
this way drove statisticians of
FUNDAMENTAL FLEMING’S DIODES
the time into a frenzy of ELECTRONICS IN As we discussed in Part 1, the
excitement. TH
Following their application to
THE 20 American Inventor Thomas Alva
Edison demonstrated his first
the census problem, Hollerith’s CENTURY incandescent light bulb in 1789
machines proved themselves to (one year after the English
be extremely useful for a wide For our purposes here,
electricity may be considered to inventor Sir Joseph Wilson Swan
variety of applications, and demonstrated his bulb, but let’s
some of the techniques they consist of vast herds of
electrons migrating from one not delve into that debate again
used were to prove significant in here).
the development of the digital place to another through some
computer in the 20th Century. In conducting medium like a Four years later in 1883, an
fact, in February 1924, copper wire. The art of engineer working for Edison –
Hollerith’s company changed its electronics comes in controlling William Hammer – observed that
name to International Business these herds: telling them when he could detect electrons flowing
Machines, or IBM! to start, when to stop, where to from the lighted filament to a
go, and what to do when they metal plate mounted inside the
get there. bulb. Even though Hammer
POISED ON THE However, as with most discovered this phenomena, it
subsequently became known as
BRINK … things (especially small
the Edison Effect, because Edison
children), control is easier to talk
So now we are poised on about than it is to achieve. With was the man in charge.
the brink of the 20th Century. It’s the exception of simple Sad to relate, Edison himself
11:59pm on December 31st manipulation and modulation did not take the time to investigate
1899. Queen Victoria is still on
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 201
Maxfield & Montrose Interactive Inc
Special Feature
fact that these devices are could be used to control a much
created using evacuated glass larger signal flowing between the
tubes, they are still referred to cathode and the anode. The
simply as tubes in America. result was a device that could be
However in England they used to amplify signals, and de
became more commonly Forest used his triodes to build
known as valves, because this many of the early radio
name – derived from transmitters (he also presented
pneumatic and hydraulic the first live opera broadcast and
valves – better reflected their the first news report on radio).
control function.) In addition to acting as an
What Fleming had amplifier, de Forest’s triodes
discovered was that the could also be used in the role of
electrons in his vacuum tube switches (the presence or
only flowed from the cathode absence of a signal on the grid
(the heated filament) to a terminal could turn the output –
positively charged anode. the anode – on or off). This ability
Thus, Fleming had created a to act as switches meant that
Sir John Fleming (1849-1945), form of diode, which is a vacuum tubes were destined to
British physicist and inventor of device that only conducts play a significant role in digital
the thermionic valve. Courtesy of electricity in one direction. computing.
the Science Photo Library. This was of particular As we shall see in a future
interest, because some installment, early digital
electrical equipment like computers (circa 1940) were
the effect any further. This was radios will only work with either mechanical or
unfortunate, because electronics unidirectional, or direct current electromechanical (based on
as we now know it might have (DC), but most electrical relays), but they soon came to be
taken a giant leap forward had supplies are based on constructed from vacuum tube
he done so. alternating current (AC), switches, because these were
In fact it wasn’t until the because this provides a more much, much faster.
Edison Effect’s twenty-first efficient way to transport Unfortunately, vacuum tubes
birthday in 1904 that the English electricity over long distances. have a number of disadvantages,
electrical engineer, John Fleming’s vacuum tube diode not the least that the metal
Ambrose Fleming, filed a patent could therefore be employed in forming the cathode evaporates
for the first vacuum tube device the role of a rectifier to convert over time causing a performance
based on this effect. (Due to the AC to DC. degradation. Also, in addition to
requiring dangerously high
LEE DE voltages, vacuum tubes occupy a
lot of space, they generate a lot of
FOREST’S waste heat, and they are not
TRIODES particularly reliable, which
becomes especially noticeable
In 1907, the when they are used in large
American inventor Lee numbers.
de Forest introduced a
third electrode called For example, the ENIAC
the grid into his version computer, which was constructed
of a vacuum tube. The at the University of Pennsylvania
resulting three-terminal between 1943 and 1946, used
device was called a approximately 18,000 vacuum
triode. tubes. This monster was 10 feet
(3m) tall, occupied 1,000 square
An Audion triode from about 1914. This device was feet (93 m2) of floor space, and
Right: An MO Valve Co. triode from particularly cunning, required 150 kilowatts of power,
about 1920. Courtesy of Radio Bygones because a small signal which was enough to light a small
applied to the grid town at that time.
(www.radiobygones.com).
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 202
Maxfield & Montrose Interactive Inc
Special Feature
advent of the conductors. Other materials resist
vacuum tube most the flow of electricity, and these
people really are known as insulators. What the
couldn’t care less. early pioneers didn’t fully
However, some understand is that by adding
scientists, inventors impurities to certain crystalline
and engineers did structures, it is possible to create
remain interested in a special class of materials known
crystals in general, as semiconductors, which can
especially as they exhibit both conducting and
began to discover insulating properties.
more of the special Sad to relate, serious
properties research into semiconductors did
associated with not really commence until World
different crystalline War II. At that time it was
Part of the ENIAC computer. Courtesy of IBM. structures. For recognized that devices formed
example, in 1907 a from semiconductors had
However, whilst it was a letter from Mr. H.J. Round was potential as amplifiers and
tremendous achievement for its published in the American switches. If it proved possible to
time, ENIAC was painfully Electrical World magazine as create them, these new devices
unreliable due to the vacuum
follows: could be used to replace
tube technology of the day. In
To the editors of Electrical prevailing vacuum tube
fact 90 per cent of ENIAC’s
World: Sirs – During an technology, with the advantages
down-time was attributed to
investigation of the that they would be much smaller
locating and replacing burnt-out
unsymmetrical passage of and lighter, they would consume
tubes – sometimes as many as
current through a contact of much less power, and they would
50 a day!
carborundum and other be far more reliable.
substances a curious
CRYSTAL GAZING phenomenon was noted. On TRANSISTORS
The fact that certain crystals applying a potential of 10 volts
between two points on a crystal In the early 1940s, scientists
have special properties had
of carborundum, the crystal at Bell Labs in the United States
been known for a long time. For
gave out a yellowish light. started to experiment with impure
example, in 1880, the French
physicist Pierre Curie had Mr Round went on to note
discovered the piezoelectric that some crystals gave out
effect. In this case, certain green, orange, or blue light. This
crystalline substances produce is quite possibly the first
an electrical charge if they are documented reference to the
squeezed, and correspondingly effect upon which light-emitting
they change size if an electric diodes (LEDs) are based.
current is applied to them.
Similarly, as far back as
This effect subsequently 1926, Dr Julius Edgar Lilienfield
found many diverse applications of New York filed for a patent on
in electronics, from sensors what we would now recognize
(including microphones) to as an npn junction transistor
actuators (including extremely being used in the role of an
loud alarms). amplifier (the title of the patent
Prior to Fleming inventing was the Method and apparatus
his vacuum tube diode, early for controlling electric currents).
The first ever transistor,
radios relied on the use of created on 23 December
crystals for rectification. At that
time no one really understood
SEMICONDUCTORS 1947. The photo scale is
how crystals could convert an Some substances facilitate approximately twice life
AC signal into its DC the conduction of electricity and size. Courtesy of Bell Laborato-
counterpart, and following the are therefore known as ries/Lucent Technologies.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 203
Maxfield & Montrose Interactive Inc
Special Feature
TIMELINES crystals of germanium. The first commercial products. For
true semiconductor components example, 1952 saw the
1901: Hubert Booth invents the were two-terminal diode appearance of the transistor-
first vacuum cleaner. devices. On the 23rd December based hearing aid, quickly
1902: Robert Bosch invents the 1947, a team comprising the followed by Sony’s pocket-sized
first spark plug. scientist William Bradford transistor radio. It was also
Shockley and the theoretical obvious to computer scientists
1902: America. Millar Hutchin- physicists John Bardeen and that they could now make
son invents the first elec- Walter Brattain succeeded in machines much smaller (the size
trical hearing aid. creating the first point-contact of a room instead of a house), but
1904: England. John Ambrose transistor (whose name was only a very few forward thinkers
Fleming invents the vac- derived from transfer resistor). had any idea as to what was yet
uum tube diode rectifier. Like the triode, this was a to come …
1904: First ultraviolet lamps are three terminal device that could
introduced. be used both as an amplifier INTEGRATED
1904: First practical photoelec- and a switch. Once they had
proved that their creation CIRCUITS
tric cell is developed.
worked, the team broke up to Sometime after the invention
1906: First tungsten-filament celebrate the Christmas of the transistor, people began to
lamps are introduced. holidays, which is why many think that it would be a good idea
1907: America. Lee de Forest (lesser) references state that the to be able to fabricate entire
creates a three-element first transistor did not make an circuits on a single piece of
amplifier vacuum tube appearance until 1948. semiconductor. In fact, the first
(triode). In 1950, Shockley invented public discussion of this concept
1908: Charles Frederick Cross a new type of device called a is generally credited to a British
invents Cellophane. bipolar junction transistor (BJT), Radar expert, G. W. A. Drummer
which was more reliable, easier in a paper he presented as far
1909: Leo Baekeland patents and cheaper to build, and gave back as 1952. However, it was not
an artificial plastic that he more consistent results than until 1958 that a young engineer
calls Bakelite. point contact devices. Then, in called Jack Kilby actually
1909: General Electric intro- 1962, Steven Hofstein and succeeded in creating multiple
duce the world’s first Fredric Heiman at the RCA components as a single device.
electric toaster. research laboratory at Princeton, To a large extent the demand
1910: First electric washing New Jersey, invented a new for miniaturization was driven by
machines are introduced. family of devices called field the requirements of the American
effect transistors (FETs). armed forces and also by rocket
1910: France. Georges Claude research. At that time, one
introduces neon lamps. Although germanium
exhibits more desirable technique that was receiving a lot
1911: Dutch physicist Heike electrical characteristics, for a of attention was the Micro-Module
Kamerlingh Onnes dis- variety of reasons silicon is program, which was sponsored by
covers superconductivity. easier to work with, and so by the US Army Signal Corps.
1912: The Titanic sinks on its the late 1950s silicon had Using this technique, all of the
maiden voyage. replaced germanium as the components were created with a
semiconductor of choice. (As uniform size and shape, and the
1912: America. Dr Sidney Rus- silicon is the main constituent of
sell invents the electric wiring was built into the
sand and one of the most components themselves. These
blanket. common elements on earth – Micro-Modules could then be
1913: William D. Coolidge in- silicon accounts for snapped together to form circuits.
vents hot-tungsten fila- approximately 28 percent of the
Texas Instruments was
ment X-ray tube. This Earth’s crust – we aren’t in any
working on the Micro-Module
Coolidge Tube becomes danger of running out of it in the
program when Jack Kilby joined
standard generator for foreseeable future.)
the company in May 1958. In the
medical X-rays. Very quickly after the first middle of the summer, most of the
1914: America. Traffic lights transistors had been developed plant was to shut down for a mass
are used for the first time they started to appear in vacation, but as a new employee
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 204
Maxfield & Montrose Interactive Inc
Special Feature
(in Cleveland, Ohio).
1917: Clarence Birdseye pre-
serves food using freez-
ing.
1919: The concept of flip-flop
(memory) circuits is in-
vented.
1919: Walter Schottky invents
the tetrode (first multiple-
grid vacuum tube).
1921: Czech author Karel
Capek coins the term
robot in his play R.U.R.
1921: Albert Hull invents the
magnetron (a microwave The first integrated circuit, created by Jack Kilby of
generator). Texas Instruments in 1958.
Courtesy of Texas Instruments.
1921: Canadian-American John
Augustus Larson invents
Kilby did not have any vacation permission to experiment further.
the polygraph lie-
time coming, so he was left to On 12th September 1958, he
detector.
his own devices. powered up his first prototype – a
1921: First use of quartz crys- phase shift oscillator – which
In a desperate attempt to
tals to keep radios from immediately started to oscillate at
avoid being consigned to
wandering off-station.
working on Micro-Modules for approximately 1××3MHz.
1923: First neon advertising the rest of his career, Kilby Although manufacturing
sign is introduced. started pondering the fact that techniques subsequently took
1923: First photoelectric cell is multiple devices such as different paths to those used by
introduced. resistors, capacitors and Kilby, he is still credited with the
transistors could be fabricated manufacture of the first true
1926: America. First “pop-up’’ on a single piece of integrated circuit.
bread toaster is intro- semiconductor and connected
duced. The original bipolar junction
together in situ to form a
transistors were manufactured
1926: America. Dr Julius Edgar complete circuit.
using the mesa process (named
Lilienfield from New York As soon as his boss after flat-topped, table
filed for a patent on what returned from vacation, Kilby mountains), in which a doped
we would now recognize explained his ideas and received piece of silicon called the mesa
as an npn junction tran-
(or base) was mounted
sistor being used in the
on top of a larger piece
role of an amplifier.
of silicon, which formed
1927: Harold Stephen Black the collector. The third
conceives the idea of terminal – the emitter –
negative feedback which, was created using a
amongst other things, smaller piece of silicon,
makes hi-fi amplifiers which was embedded in
possible. the base.
1927: First five-electrode vac- In 1959, the Swiss
uum tube (the pentode) physicist Jean Hoerni
is introduced. invented the planar
process in which optical
1928: Joseph Schick invents lithographic techniques
the electric razor. were first used to
1928: America. First quartz diffuse the base into the
crystal clock is intro- The first microprocessor, Intel’s 4004, of collector, then the
duced. 1971. Courtesy of Intel.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 205
Maxfield & Montrose Interactive Inc
Special Feature
1930: America. Sliced bread cuits is credited to a 1970: America. Intel announce
arrives. British radar expert, the first 1024-bit dynamic
1936: Fluorescent lighting ar- G.W.A. Dummer. RAM, called the 1103.
rives. 1954: America. C. A. Swanson 1971: America. Intel creates
1938: Hungarian Lazlo Biro company markets the the first microprocessor,
patents the first ball-point first “TV Dinner’’. the 4004
pen. 1955: Velcro is patented. 1975: England. First liquid crys-
1938: Walter Schottky discov- 1957: America. Gordon Gould tal displays (LCDs) are
ers the existence of conceives the idea of the used for pocket calcula-
holes in the band struc- laser. tors and digital clocks.
ture of semiconductors 1958: America. Jack Kilby,
and explains metal/semi- working for Texas Instru-
conductor interface recti- emitter into the base.
ments, succeeds in fabri-
fication. cating multiple compo- One of Hoerni’s colleagues,
nents on a single piece of Robert Noyce, invented a tech-
1938: America. Claude E.
semiconductor. nique for growing a layer of sili-
Shannon publishes an
con dioxide insulator over the
article (based on his 1959: Swiss physicist Jean Ho- transistor, and then etching this
Master’s thesis at MIT) erni invents the planar layer to expose small areas over
showing how Boolean process, in which optical the base and emitter. Thin lay-
algebra could be used to lithographic techniques ers of aluminum were subse-
design digital circuits. are used to create tran- quently diffused into these areas
1939: Light-emitting diodes sistors. to create wires. The processes
were patented by 1959: America. Robert Noyce developed by Hoerni and Noyce
Messers Bay and Szigeti. invents technique for cre- led directly to modern integrated
1943: German engineer Paul ating microscopic alu- circuits.
Eisler patents the printed minum wires on silicon By 1961, both Fairchild and
circuit board. (leads to development of Texas Instruments had an-
1945: Percy L. Spensor invents integrated circuits). nounced the availability of the
the microwave oven (the 1960: America. Theodore first commercial planar inte-
first units go on sale in Maimen creates the first grated circuits, comprising sim-
1947). laser. ple logic functions. Only nine
years later in 1970, Fairchild in-
1947: America. Physicists 1962: America. Steven Hofstein troduced the first
William Shockley, Walter and Fredric Heiman at semiconductor-based 256-bit
Brattain, and John RCA Research Lab in- static RAM, while Intel an-
Bardeen create the first vent field effect transis- nounced the first 1024-bit dy-
point-contact germanium tors (FETs). namic RAM.
transistor on the 23rd 1962: America. Unimation intro-
December. Then in 1971, Ted Hoff et al at
duces the first industrial Intel invented the world’s first
1948: First atomic clock con- robot. computer on a chip – the 4004
structed. 1967: America. Fairchild intro- microprocessor. The successors
1950: Maurice Karnaugh in- duce an integrated circuit of this device (the 4040, 8008
vents Karnaugh Maps called the Micromosaic and 8080) heralded a new area
(circa 1950), which (the forerunner of the in computing. Systems small
quickly become one of modern ASIC). enough to fit on a desk could be
the mainstays of the logic 1968: America. First Static created with more processing
designer’s tool-chest. RAM IC reaches the power than monsters weighing
market. tens of tons only a decade be-
1950: America. Physicist
fore.
William Shockley invents 1970: America. Fairchild intro-
first bipolar junction tran- Almost unbelievably, individuals
duce the first 256-bit
sistor. could now own their own per-
static RAM called the
sonal computer. As we shall see
1952: England. First public dis- 4100.
in future parts, the effects of
cussion of integrated cir-
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 206
Maxfield & Montrose Interactive Inc
Special Feature
these developments are still un- NEXT MONTH (MCMs) really deserve an article
folding, but it is not excessive to in their own right. Image capture
say that electronics in general, In Part 3, we shall consider the and display technologies like
and digital computers in particu- development of communications charge-coupled devices (CCDs),
lar, have changed the world in the 20th Century. cathode ray tubes (CRTs), liquid
more significantly than almost crystal displays (LCDs) and so
any other human invention. forth are certainly entitled to be
HUMBLE acknowledged.
APOLOGIES Devices and techniques such as
MORE INFO
Before you reach for your pen or masers, lasers, fiber optics, mag-
The way in which components computer keyboard to send us a netrons (leading to both Radar
like transistors and integrated stern letter of chastisement, we and microwave ovens), mercury
circuits perform their magic is crave your indulgence and ask delay lines and magnetic core
discussed in greater detail in Be- you to accept our humblest stores also deserve a hearing.
bop to the Boolean Boogie (An apologies for all of the things we And of course a tremendous vari-
Unconventional Guide to Elec- had to leave out. The history of ety of other technologies, ranging
tronics), while the history of the cunning devices such as light- from plastics to storage
early computers is discussed in emitting diodes (LEDs), laser (batteries), have all played a large
more detail in Bebop BYTES diodes, phototransistors and part in the evolution of electronics
Back (An Unconventional Guide suchlike would make fascinating as we know it today.
to Computers). By some strange reading. Unfortunately, space limitations
quirk of fate, both of these
Who could deny that intercon- meant that when “push came to
books are available from the
nection and packaging technolo- shove” we had to make some
EPE Online Store at
gies like printed circuit boards stern decisions. And when one
www.epemag.com
(PCBs), flexible circuit boards, peels the outer layers away, it be-
hybrids, and multichip modules comes obvious that the three ab-
solutely core electronics develop-
ments of the 20th Century are the
vacuum tube, transistor, and inte-
grated circuit, as discussed
above. Of course, if you disagree
(or if you simply crave more once
this series is finished), please feel
free to vent your feelings by inun-
dating the Editor with your letters
and emails.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 207
Maxfield & Montrose Interactive Inc
PART PART 5 – Waveforms,
Frequency, and Time
by John Becker
What we are doing during this Teach-In In the first four parts we discussed (and
2000 series (of at least 10 parts) is to lead you gave you practical experience of) several types
through the fascinating maze of what of commonly used electronic components.
electronics is all about! We are assuming that Last month we also showed you how to
you know nothing about the subject, and are interface your experimental circuits to a PC-
taking individual components and concepts in compatible computer, allowing pulse
simple steps and showing you, with lots of waveforms to be displayed on the screen. We
examples, what you can achieve, and without it now discuss other waveforms and how to
taxing your brain too much! observe them on your PC, adding just one
more component to your breadboard.
Greetings again! We expect discuss a little more fully not just parallel port to your breadboard,
you’ve got your breadboard cou- the above two programs, but without the oscillator connected
pled to the computer, all powered- also the preceding one, Parallel to any of the five input points
up and ready to go. But, wait, is Port Data Display/Set. In doing (IN0 to IN4).
the oscillator on your breadboard so we shall also introduce you to
the same as that described in the first of several concepts in
Digital Logic, that of the AND INPUT REGISTER
Fig.4.1 and Fig.4.3 of Teach-In
Part 4 last month? If not, make it function. Now look at the Direct Input
so, then we’re ready to start… From the main menu, call Byte box on the screen (Photo
up the Parallel Port Data Dis- 4.8 last month). What you
play/Set program to your should see is the Original Byte
MAKING WAVES screen. Connect the computer’s value shown as 10000xxx binary
Last month, we left you with (where x can be either 1 or 0).
the suggestion that you should
explore two of our simulation pro-
grams: Computer as Frequency
Counter and Pulse Input Wave-
form Display. (Remember that this
software is available for free
download from the EPE Online
Library at www.epemag.com,
Ed.)
In the second of these pro-
grams, at some stage of your ex-
perimentation, hopefully you pro-
duced a screen display that looks
something like that in Photo 5.1. It
is waveforms that are the main
subject of our discussion this
month.
Photo 5.1. Typical pulse waveforms input to the
Before that, though, we shall computer via the simple interface board.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 208
Maxfield & Montrose Interactive Inc
TEACH-IN 2000
Bit Power Decimal Binary This type of manipulation therefore bit 4 is high. Conversely:
can be extremely useful when
7 27 128 10000000 using the computer as an item Register value = 01001000
6 26 64 01000000 of test gear to monitor a digital (decimal 72)
5 25 32 00100000 circuit. AND value = 00010000
4 24 16 00010000 (decimal 16)
3 23 8 00001000 ANDed answer = 00000000
FREQUENCY
This indicates that the com- (decimal 0)
COUNTER therefore bit 4 is low.
puter’s input port register (a spe-
cial form of digital storage de- It is also possible to read the
status of each register bit by Thus all that is needed to iso-
vice) believes that its eight bits
ANDing it with particular binary late the status of a bit is to AND it
are at the logic states shown.
values (a Binary Logic subject with the required value. If the bit is
Your breadboard interface coming in Part 6), and this is low an answer of zero will result; if
circuit only uses five bits, but what is done in the Computer as it’s high an answer greater than
which five of the eight bits ap- the Frequency Counter pro- zero will result. So you simply
parently available? Probably check whether or not the answer
gram. Call it up from the menu,
from your experiments you al- is zero and act accordingly. The
and couple your oscillator IC1a
ready know the answer, the left- AND command/facility is a power-
pin 2) to IN0 as you have done
hand five, bit 7 to bit 3 are those ful tool in computing and electron-
before. It is best if diodes D2
used in connection with bread- ics.
and D3 are omitted and a 1kW
board inputs IN4 to IN0.
resister used in position D3 Note that in the computer pro-
As far as the computer is (also as you’ve done before). gram that actually controls what
concerned, bits 2 to 0 are not to you are now seeing on screen,
do with data input (what their You will have discovered
binary values cannot be recog-
logic values are depends on that the program only responds
nized as such, consequently the
your computer system – the au- to frequency input signals from
decimal equivalent is that used in
thor’s various computers return one interface input path at a
the Frequency Counter program.
different values). time, and that for this path to be
seen as active by the program, This program has been writ-
What might also be puzzling the Active Bit in the screen box ten to isolate the bit as selected in
you (although you’ve possible has to be appropriately set from the screen box and to detect each
just shrugged your shoulders the keyboard (key <B>). Each time it changes state during a pe-
over it and thought that’s the active bit has an associated riod of one second, dividing the
way it is), is that bit 7 is always AND value stated – each value answer by two to find out how
set at the opposite logic to what is one of the powers of decimal many times the bit has been high
you expect through connecting 2: in that period. This result is dis-
signals to IN4 on the board. played on screen as the
Well, you’re right, that is the way When ANDing one binary
(approximate) frequency at which
number with another, individual
it is, bit 7 is inverted by the com- your oscillator is running.
bits in the answer will only be at
puter. The internationally agreed unit
logic 1 if the same bit in both
Underneath the upper boxes starting values is also at logic 1. of frequency is the Hertz, abbrevi-
is the correction formula used to If either or both bits are at logic ated to Hz, as shown on the
change the value directly re- 0, so the same bit in the answer screen. (Strictly speaking, Hertz in
ceived by the port register (box will also be at logic 0. For exam- this context should be written with
1) to that in box 2, Corrected In- ple, to test for bit 4 being high in a lower-case initial – hertz.) In the
put Byte. The meaning will be- a register that probably has present example we have a fre-
come clear after Binary Logic other bits set as well (bits 3 and quency of 1Hz (one cycle per sec-
has been discussed in Part 6. 6 in this example): ond. Back in history, frequency
Basically, all that is being done was actually defined in cycles per
is to re-invert bit 7 and shift all Register value = 01011000 second – CPS or C/S).
the bits along to the right by (decimal 88)
three places. This allows the AND value = 00010000
correct logic on all five bread- (decimal 16) PULSE DISPLAY
board inputs to be seen as such ANDed answer = 00010000 In the Pulse Input Waveform
in box 2, as the New Byte. (decimal 16) Display program (call it up on
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 209
Maxfield & Montrose Interactive Inc
TEACH-IN 2000
t
screen), AND is again used to HARMONICS (A) TRIANGLE
isolate the selected bit. In this t
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 210
Maxfield & Montrose Interactive Inc
TEACH-IN 2000
will see the apparent frequency
rate change downwards as the
transition to sub-harmonic sam-
pling occurs.
It is even possible that as
the oscillator’s frequency is in-
creased still further, sampling
may occur on every third pulse,
or every fourth pulse, and so on,
almost indefinitely. It is unlikely,
though, that our demonstration
program will actually allow you
to go beyond one-in-three.
This situation is one that you
have to consider very carefully
when using a frequency counter
or oscilloscope (whether as true
items of test equipment, or as
computer-based sampling pro-
grams). It is also something to Fig.5.3. Relationships between upper and lower sections for a
be considered when you start uniformly alternating waveform.
designing digital logic circuits –
can all the digital integrated cir- Examples of seven different Press the up-arrow key so
cuits keep pace with the rat types of waveform will be seen that the orange background is
e at which others expect them on screen (see Photo 5.3 and on the square wave.
to? Highly unpredictable results Fig.5.1) as follows: Note the point at which any
can occur if they can’t!
o) Triangle one of the pulses first becomes
Not only does the problem high and the point at which it
reveal itself in digital electronics, o) +VE Ramp (positive-going
ends being low (and the next
but you can also experience al- ramp – upwards)
pulse commences). You will see
lied situations when dealing with o) –VE Ramp (negative-going that the square wave has a
analog signals – a signal at one ramp – downwards) white box around it to indicate
frequency adversely (or desir- o) Sine this period. In Fig.5.1 it is repre-
ably in some cases) affecting a o) Square sented by the “t” arrows.
signal at another. o) R-Pulse (regular pulse) This period is known as a
In a future part we shall o) Complex cycle. On screen you will see
show you how two analog sig- that it takes just one second.
nals respond to each other. In fact an eighth waveform When a waveform consists of
is available via the screen – many equal length cycles its fre-
press the down arrow key three quency is defined as the number
WAVEFORM TYPES times. Where R-Pulse was will of cycles that occur in one sec-
DISPLAY now become I-Pulse (Irregular ond, which, as we said a few
Pulse) and the pulses will be paragraphs back, is expressed
Put your breadboard assem- seen to be very irregular.
bly to one side for the moment in Hertz.
(you’ll need it again for the Ex- In the right-hand box you will
perimental article, though). Let’s SCALING AND CAL- see that the time (t) for one
show you examples of some dif- pulse and its consequent fre-
ferent waveform types. We shall
CULATIONS quency (f) is stated:
also explain how you can do The screen display is
some simple calculations in re- scaled, at present to represent a t = 1 secs, f = 1Hz
spect of frequency and time. period of 10 seconds from the
Press key <X> to change
From the main menu select Fre- start of any waveform to its end.
the screen’s scale to 1 second.
quency and Time (well, what Vertical dotted lines indicate the
Each vertically dotted interval is
else?!). 1-second interval points.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 211
Maxfield & Montrose Interactive Inc
TEACH-IN 2000
now 0××1 seconds. The frequency arate each frequency and its forms. Timing measurements
represented is therefore 10 cycles amplitude out from the main can then be taken between any
per second – 10Hz. The right- waveform requires very complex two or more points where the
hand box confirms this. equipment (such as a frequency horizontal and waveform lines
analyzer – expensive!). cross.
You/we have been able to do
the conversion from time to fre-
quency in our heads, almost in- WELL-DEFINED SELF-TEST
stinctively. As shown in the box,
though, there is a formula for it: It should also be obvious For a bit of timely entertain-
that even with a well-defined ment, we’ve added a Self-Test
f = 1/t waveform, you need to be able option to test your use of time
to time the complete period of a and frequency calculations –
Conversely, if you want to find cycle. It does not matter, though, press <S> to enter or exit it.
out the cycle period (time) of a at which point you actually start
waveform whose frequency you the timing.
know, the formula becomes:
With the square wave you
CYCLE POWER
t = 1/f can start timing as the pulse In Part 3 we explained that
rises (at its leading edge) and the amount of current consumed
Press <F> and this formula end at the start of the leading by a circuit can be defined ac-
will be shown, together with the edge of the second pulse. Alter- cording to the voltage applied
calculated answer. natively, you can start as the across it and the resistance
Press any of the <+ – * /> pulse falls (at its trailing edge) through which it flows, I = V/R.
keys to expand or contract the and end as the next pulse’s trail- When the voltage is at a nice
waveform, and variously swap be- ing edge begins to fall. The steady DC level and the resis-
tween the two formulae using white outline box on the wave- tance is constant, the current
<F>. The units in which f and t are form illustrates this point when drawn is the same at all instants
expressed are changeable by us- you set it to lower frequencies of measurement.
ing <U>. (also see Fig.5.1). If we want to calculate cur-
These formulae can be ap- When looking at a wave- rent (or any of the factors de-
plied to any regular waveform, in- form on a screen (whether it is a fined in Ohm’s Law and its
cluding the first six on screen (and computer screen as in this simu- derivatives – Part 3) in relation
in Fig.5.1). With irregular wave- lation, or an oscilloscope to a changing voltage (e.g.
forms, such as those for I-Pulse screen), the commencement of waveform) rather than steady
and Complex, periodic time and a cycle does not necessarily oc- conditions, the situation be-
frequency for the waveform as cur where you first see the comes more complex.
whole cannot be ascertained. waveform appear; the cycle may For any particular instant,
All that can be assessed from have started long before the we can of course say that condi-
the irregular pulse, for example, is screen responded to it. Always tions are constant at that instant,
the period of any individual pulse. take a measurement when it is and calculate accordingly. How-
In terms of overall frequency of obvious where the exact start of ever, we often need to know the
the waveform, this answer is the cycle occurs. Our simulation current drawn over a period of
meaningless. program, you will notice, takes time, rather than instanta-
this into account. neously.
It is possible, of course, to
use a frequency counter with this Examine the position of the With a square wave or regu-
irregular pulse chain and deter- white box for all the waveforms lar pulse waveform, average
mine the number of pulses that that can display it and observe current can be calculated ac-
occur in any 1 second, but the an- at which points of a cycle mea- cording to the period for which
swer for each 1-second sampling surements may be taken. the pulse is high (full current
period is likely to be different. It is worth noting that most flow) relative to the period for
oscilloscopes have a facility for which it is low (minimum current
With the complex waveform,
placing a horizontal line across flow).
there are in fact a great many dif-
ferent frequencies involved in its the screen. This can be moved When the pulse is changing
make up, but they are all likely to up or down and placed so that it between 0V and a known volt-
be at different amplitudes. To sep- crosses any point on the wave- age value, it’s just a matter of
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 212
Maxfield & Montrose Interactive Inc
TEACH-IN 2000
D C
ratios of the on to off (high to or current) by the length (time)
low) periods of the pulse. (A) and divide by two, e.g.:
For example, if a 0V to +5V A B Iav = Imax x Tcycle/2, or:
pulse is high for 0××5 seconds AREA OF RECTANGLE ABCD = AB x BC OR DC x AD Iav = (Imax/2) per cycle time
and low for 0××5 seconds (i.e. a AREA OF TRIANGLE ABC = AREA OF TRIANGLE ADC
= (AB x BC)/2 OR (AD x DC)/2
negative or positive side of the say 0××636V. Fig.5.4. Definition of the four
zero midway level. The effective
answer is same. (See Fig.5.3.) value relationships for a pure
SINE WAVES sine wave.
However, what we can say
with respect to both sides of the Since sine waves are obvi- Vav – as said in the previous
waveform is that it has a peak- ously subject to a different set of section, a sine wave’s
to-peak value twice that of its rules to triangle waves, let’s ex- average voltage is that
peak value. The peak value in amine them a bit more closely. taken over one complete
the previous example is 100mA, From the main menu select Sine half-cycle. We showed
therefore its peak-to-peak value Wave Value Relationships. that it has a value 0××636
is 200mA. Photo 5.4 shows what you times that of the peak
should see displayed. voltage.
WAVING PROOF The relationships we now Vpk-pk – the peak-to-peak volt-
discuss are specifically those age is obviously twice
If your computer has Quick- with regard to pure sine waves. that of the peak voltage
BASIC or QBasic installed, you They do not apply to any other (Vpk).
can prove for yourself that for a type of waveform. Furthermore,
triangle wave the average volt- if you see any waveform rela- Vrms – well, first we had better
age or current for one side of its tionships referred to anywhere explain the concept of
ramp is half the peak value, us- and the shape of the waveform RMS:
ing the following BASIC routine: is not actually stated, then the
ramplength = 10: ’ (seconds) relationships are assumed to RMS VALUES
refer to sinusoidal conditions.
totalvolts = 0 You have discovered in ear-
FOR volts = 0 TO ramplength Looking at your screen dis- lier parts that when a current
STEP 1 play (and Fig.5.4), you will see flows through a resistance,
the representation of a pure sine power is dissipated. We went on
totalvolts = totalvolts + volts wave swinging symmetrically
NEXT volts say that heat is generated by
above and below a zero level that dissipation. For a fixed re-
averagevolts = totalvolts / ram- and plotted horizontally with re- sistance, and steady (DC) volt-
plength spect to time. Four vertical ar- age or current, the heat gener-
PRINT averagevolts rows indicate four major rela- ated is calculable – often ex-
tionships exhibited by a sinu- pressed in watts (see Part 1). In
You will get an answer of soidal voltage waveform:
5V. the Ohm’s Law section (Part 3)
o) Vpk peak voltage you saw that power can be cal-
Now do the same for a half culated in several ways, such as
a sine wave (having an angular o) Vav average voltage
P = I2 x R, P = V2/R, and P = I x
change of 0° to 180°) and whose o) Vpk-pk peak to peak V.
peak voltage is 1V. Remember voltage
An RMS (root of the mean
that the sine of 0° is 0 and that o) Vrms r.m.s. voltage
square) value states the effec-
the sine of 90° is 1. tive value of alternating current
Vpk – the peak voltage is that
relating to just one half of or voltage in terms of the heat
CONST pi = 3.141592653589# /
the cycle. Since a sine that will be generated through a
180
wave is symmetrical resistance. By definition, the
volts = 1 value is that which will produce
above and below 0V, Vpk
totalvolts = 0 is the same whatever the same amount of heat in the
FOR angle = 0 TO 180 half (positive or negative) resistance as would a direct volt-
totalvolts = totalvolts + of the waveform is mea- age or current of the
(SIN(angle * pi)* volts) sured. same magnitude.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 214
Maxfield & Montrose Interactive Inc
TEACH-IN 2000
Any waveform shape can be
related to an RMS value, but the
SELF-TEST
value is really only meaningful Finally for this month’s Tutorial – through the Self-Test option the
when referred to a known computer randomly selects sine wave related questions. You are ex-
shape. For a sinusoidal wave- pected to use your calculator, and then compare your answer to the
form the RMS value is 1××414 computer’s, which will be displayed when you press <A>. You can
times the peak value. cheat a bit if you want by changing the values offered by the com-
puter!
And thinking of changing values, do please read and digest our
SINE WAVE RELA- “measured observations” discussion in Panel 5.1 following the Experi-
TIONSHIP mental section.
The four sine wave units of
measurement listed in the previ- EXPERIMENTAL
ous section have their relation-
ships tabulated at the bottom of In this month’s Experimental section we show you how to add an-
the main screen box displayed. other circuit to the interface board. This allows you to actually view on
screen the various waveforms you’ve been generating with the vari-
The screen display relation- able mark-space oscillator of Fig.4.3 last month,
ships are interactive (although
the waveform itself is not). Each These include triangle, rising ramp, falling ramp, square wave,
formula can be selected using and regular pulse. Sine waves, irregular pulses and complex wave-
the four keyboard arrows. Vari- forms we shall illustrate via your breadboard later in the Teach-In se-
ous values can also be set ries.
through the smaller left-hand
box. Thus you can have the NEXT MONTH
computer calculate relationship
answers in respect of values of In Part 6 next month, we return to Binary Logic (briefly discussed
your choosing. when the Parallel Port Data Display/Set program was described). The
discussion will include Digital Logic Gates – OR, NOR, XOR, XNOR,
On entry to the screen you
AND, NAND. As usual, the screen displays will be interactive.
will see a highlight on Pk x
0××636, allowing you to find the
average value (AV = ) when the
peak value is known. Referring TEACH-IN 2000
to the values box, Pk is shown
as 1V. At the top of the main
box is shown the answer to the
EXPERIMENTAL 5
calculation, in this case the ANALOG-TO-DIGITAL CONVERTER
same answer that we illustrated
earlier with the BASIC sine wave
We are now going to describe a very simple circuit that you can
calculation example.
assemble on your breadboard, and which will allow you to use your
We suggest you experiment computer to view various analog waveforms, such as the triangle and
with the different formulae and ramps discussed in this month’s Tutorial. It is capable of displaying
values of your choice (the op- other waveforms as well.
tions vary depending on the for-
mula). Try to memorize some of However, we won’t try to deceive you – the circuit is highly useful,
the formula (two useful ones are but it’s also very limited!
AV = Pk x 0××636 and Pk = RMS Commercial equipment such as oscilloscopes, or commercial
x 1××414). The scaling of the val- software for computer-based virtual ’scopes will do far more than our
ues is changeable using <X>. simple demo software. The author’s Virtual Scope project of EPE Jan-
Feb ’98 is also an extremely sophisticated item of computer-based
You will find this facility to be test gear, but it has to be said that the construction of its complex
of enormous value when you printed circuit boards is not suited to novices.
design your own circuits in the
future (or wish to analyze those The intention of the Teach-In analog interface is basically to let
of other designers). you view the various waveforms that you create on your breadboard.
However, it can be used not only with the demo circuits we describe
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 215
Maxfield & Montrose Interactive Inc
TEACH-IN 2000
throughout this Teach-In series,
but it will be of use with some of
your own future designs.
Should we have space later
in the series, we’ll describe the
sort of facilities you should ex-
pect from a fully-fledged oscillo-
scope (and which need not be
very expensive).
ANALOG
INTERFACE
A very simple analog-to-
digital converter (ADC) inte-
grated circuit (IC) is the only ac-
tive component in this part of
your interface assembly. The
circuit diagram for its connec-
tions is shown in Fig.5.5. Photo 5.6 Typical analogue waveform as demonstrated us-
We shall discuss the nature ing the complete interface circuit
of the ADC (IC2) later on in this ANALOGUE TO DIGITAL CONVERTER
PIN COMPUTER
article. In the meantime, we 6V BLOCK CONNECTOR
want you to assemble the circuit TB1 SK1
on the breadboard and have a 1 8
REF VE
look at some waveforms on your SIGNAL 2 IC2 7 1 OUT 0 D0
VIN TLC549 CLK 1
screen. INPUT 3 6 12 IN 1 SELECT
REF D OUT 13
The breadboard layout for 4
CS
5 2 OUT 1 D1
2
GND
the ADC (and the computer in-
terface from last month) is 14 GND GND
shown in Fig.5.6. Assemble the 0V 16
components into the bread- (BATTERY VE)
board, following the latter’s num- Fig.5.5 Circuit diagram for the serial analog-to-digital con-
bered holes. verter interface.
The oscillator should be
same as that referred to at the
start of this month’s Tutorial (i.e.
with diodes D2 and D3 in-
cluded). Use a 100uF capacitor
for C1 and adjust preset VR1 to
a midway position.
Connect the resistor/capaci-
tor junction on the oscillator
(IC1a pin 1) to the ADC at its
input pin 2 (Signal Input as
shown in the breadboard lay-
out). Also connect the ADC’s
data output pin 6 (D OUT as
shown in Fig.5.5) to IN1 on the
computer interface part of the
board. Crocodile-clipped links
will do in both cases.
Photo 5.5. Detail of the interface board with the ADC included.
Power up the board and run
the Analog Input Waveform Dis-
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 216
Maxfield & Montrose Interactive Inc
TEACH-IN 2000
play. On entry to the display, a than does the Direct method. single 8-bit byte. Parallel ADCs
yellow line should be seen The drawback is that there is a are much faster to read than se-
traversing the screen from left to pause between each full screen rial types, but require more com-
right, its vertical position moving change of data (computer speed puter control and data lines than
up and down. Adjust VR1 (or dependent). we have (readily) available for
change the value of C1) until the Experiment with different your Teach-In breadboard.
moving line begins to show sev- oscillator frequency rates and To start each voltage level
eral cycles of a triangular-like waveforms, using preset poten- sampling and digital conversion,
waveform, as you saw demon- tiometer VR1, and different val- the computer sets the ADC’s CS
strated in the simulation pro- ues for capacitor C1. Also find input (chip select) high via out-
gram Frequency and Time, see out how Direct/Capture and Dis- put data line D1. This action
Photo 5.6. play Rate settings have their causes the ADC to “read” the
Should the yellow line just benefits. Note that each time the voltage present on its signal in-
be sitting towards the bottom of Display Rate is changed, the put (Vin) at that moment.
the screen, check that the Port waveform line restarts from the The ADC has an internal
register selected is still the cor- left of the screen. high-speed oscillator that then
rect one (as discussed in Part Also see whether you can controls the data conversion
4). Also double-check that your replicate some of the stranger process. (Incidentally, chip is a
ADC’s breadboard assembly waveforms you have seen term frequently encountered in
corresponds to the connections through the ADC-Demo pro- electronics and is colloquially
shown in Fig.5.6, and that the gram. (It has to be said that used to mean any integrated cir-
oscillator is still correctly assem- those of you with higher-speed cuit device.)
bled. computers will fair more easily The result of the conversion
Towards the top right of the since the waveforms will be is a binary number between
screen is shown the Display traced faster on the screen.) 00000000 and 11111111
Rate, 10 at the moment. Using Just for interest, try connect- (decimal 0 to 255). A conversion
the <+> and <–> keys, this can ing the oscillator’s digital output value of zero results from an in-
be set to any value between 1 (F OUT, IC1a pin 2) to the ADC put voltage of zero. The maxi-
and 10 and controls the rate at instead of the analog waveform. mum conversion value of 255
which the waveform line crosses occurs (in this breadboard as-
the screen. The slower the rate, sembly) when the input is at the
so more waveform cycles are SERIAL ADC DEVICE same voltage level as the ADC’s
shown. power supply. This conversion
As the Analog-to-Digital
Note that changing this rate Converter’s name states, it al- range is determined by the volt-
also changes the rate at which lows an analog signal (e.g. volt- age levels to which the ADC’s
data is acquired (sampled) from age waveform) to be input, and +REF and –REF pins are con-
the ADC. We shall discuss ana- converts the voltages to equiva- nected (6V and 0V in this case).
log sampling in a moment. lent binary numbers. You saw in In other applications, the
Also at the top right of the Part 4 the representation of a pins may be connected to other
screen is the single word DI- number in both binary and deci- reference voltages to provide a
RECT. This means that data is mal (Parallel Port Data Display/ different conversion range. The
being sampled in real-time (here Set). reference voltages must lie at or
and now). The ADC is capable of between the power supply volt-
By pressing <C> the word “reading” the voltage level at ages. (Note that the maximum
CAPTURE appears instead. In many thousand times per sec- voltage at which this ADC can
this mode, the computer sam- ond and is controlled by logic be powered safely is +6××5V.)
ples the data as fast as it can level signals from the computer
and temporarily stores it in (or other device in other applica-
memory. Once a full set of sam- tions). The ADC used in this READING BITS
ples (640) has been received, Teach-In demo is a serial ADC, Once conversion is com-
the computer then plots them as which means that its output data plete, the binary data can be
a screened waveform. is read one bit at a time. read bit-by-bit by the computer.
This technique allows higher Parallel ADCs also exist, in It is read in order of bit 7 to bit 0
speed waveforms to be sampled which the 8-bit data is read as a of the binary conversion value.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 217
Maxfield & Montrose Interactive Inc
TEACH-IN 2000
(In theory, about 40,000 conver-
sion and data-read cycles per
second can take place – but not
with this Teach-In demo!)
To read each bit, the com-
puter takes the ADC’s CLK
(clock) pin high via output line
D0 (OUT0). The data is then
read from the ADC’s Dout pin
via the breadboard’s IN1 path –
computer parallel port register
bit 4.
The data on register bit 4
will either be at logic 1 or logic 0.
As discussed when we de-
scribed the data input process in
Part 4, the value of the bit is iso-
lated from the other register bits
(using an AND command) and
set into the rightmost (bit 0) po-
sition of the 8-bit binary value Photo 5.7. Analog-digital-analog demonstration screen. You
being assembled by the com- can observe each bit being “assembled” to a binary number,
puter. Between each bit, the
value is multiplied by two to shift
and change the sampling step rate.
all the bits left by one place. be referenced so as to generate
ADC DEMO
The computer then sets the an output of 0 for 0V and 255 for
ADC’s CLK line low, causing it Run the Analog-Digital- +5V.
to set the next bit of its binary Analog Demo program from the
The ADC is shown con-
conversion onto the output pin. main menu to see the animated
nected to the computer. At pre-
Taking the CLK line high again principle of how the ADC con-
sent, the immediate ADC binary
allows the computer to now read version is output from your
value is repeated as the com-
this bit, and so on for all eight breadboard to the computer
puter’s received value. The
bits. (see Photo 5.7).
computer then feeds this value
At this point, the computer The left-hand box (Input) into a Digital-to-Analog Con-
does whatever it has been told shows a single sine wave, cy- verter (DAC). DAC devices will
to do with the data, in our case it cling between 0V and +5V. It is be discussed another time – this
either stores it or draws a shown feeding into the serial one converts the 8-bit binary into
screen line in relation to it. After Analog-to-Digital converter, an equivalent output voltage, in
which the next sample can be where the present voltage level this example having the same
taken. is given, together with the ADC scale as the ADC.
conversion value in both decimal
As an example of the com- Also at present, the DAC
and binary. For the sake of this
puter’s data acquisition routine, shows the same values as the
demo, the ADC is assumed to
take the conversion value of bi- ADC, and the resulting wave-
nary 10010111 (decimal 151). ADC Assembled form is displayed in the right-
The computer first sets its data Step hand box (Output).
Value Value
storage value to 0 (00000000). To see how the computer
The reading routine results in 0 10010111 00000000
reads in the ADC’s binary con-
the following binary values of the 1 00101110 00000001
version value bit, press <B>.
chip and the assembled data 2 01011100 00000010
3 10111000 00000100 Note how the left-hand ADC
storage:
4 01110000 00001001 bit (bit 7) drops down and
The computer’s assembled moves right to insert itself into
5 11100000 00010010
value at step 8 is the same as bit 0 of the computer’s storage
6 11000000 00100101
that of the original ADC conver- value (which starts off at zero for
sion value. 7 10000000 01001011
each cycle of eight bits).
8 00000000 10010111
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 218
Maxfield & Montrose Interactive Inc
TEACH-IN 2000
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 220
Maxfield & Montrose Interactive Inc
SURFING THE INTERNET
By Alan Winstanley
Radio Bygones Message the magazine is about. Ameri- would then be cataloged and
Board can and Canadian readers are added to the enormous Al-
welcome to have a look at taVista database back home.
Welcome to our monthly www.radiobygones.com and You could also add your own
column related to Internet is- an on-line version will hopefully URL manually just to be sure,
sues. On the web site for the be produced in the very near and indeed the task of register-
print edition of EPE at future. ing one’s own URL into all the
www.epemag.wimborne.co.uk relevant search engines – there
you will find indexes listing the are some 1,500 or more of them
projects contained in issues dat- Search and you will – is now an important element
ing back to 1996, and also fur- find... an advert when creating new web sites.
ther details, including color pho- If you type in the URL (Apparently only I see the joke in
tos, of the constructional pro- www.altavista.digital.com you AltaVista’s “Add URL” confirma-
jects which have appeared in will of course be redirected to tion message stating that “this
EPE within the last 18 months or the popular search engine of Al- URL was retrieved in 4.997 sec-
so. Some readers will also know taVista, now at onds and will be added in a day
from the EPE Chat Zone that a www.altavista.com. Apart from or two.”)
full redesign is now being con- a web site refresh, the develop- In January 1998, Compaq
sidered, as the site has evolved ment of this interesting and im- (www.compaq.com) acquired
over the past four years and is portant search engine has DEC along with its Alpha micro-
getting ready for a total rebuild. largely gone unnoticed by many processor technology and the
A shopping cart system is under UK users. For the benefit of AltaVista engine, and nearly two
trial, as well. We welcome your newcomers, AltaVista was origi- years later in November 1999
suggestions and feedback by nally created by the computer Compaq announced a new line-
email regarding our Internet manufacturer Digital Equipment up of “supercomputer” Alpha-
presence to webmas- Corp. (DEC) as a showcase for based servers and workstations
ter@epemag.demon.co.uk their Unix and NT mainframes for 3D, CAD and Internet server
We have also just opened a and servers. Digital Equipment applications. Compaq hadn’t
message board system for Ra- saw their powerful search en- been idle with AltaVista though,
dio Bygones readers – check in gine as a good advert, to and the trusty old search engine
at (deep breath) demonstrate the power of their was destined for greater things.
www.epemag.wimborne.co.uk Alpha processors and servers to Very early last year Compaq an-
/radiobygones/wwwboard to search their enormous database nounced the development of Al-
leave messages or to follow up of the world wide web, and to taVista as a separate company
regarding antique radio sets or sally forth with the closest – and at about the same time it
just share your nostalgic memo- matches to a search enquiry. announced that it had pur-
ries. Advertisements from the Indeed AltaVista has always chased www.shopping.com, a
antique radio sector are also been a personal favourite, partly very popular online retailer in the
welcomed – and they’re free! because it offers Boolean com- US.
mand search options that come
Still on the subject of Radio Then in the middle of last
as second nature to many elec-
Bygones, we can announce that year Compaq announced that it
tronics enthusiasts (especially if
we have now obtained the do- had sold a majority stakeholding
you followed our series Teach-In
main of in AltaVista to the Internet busi-
98: An Introduction to Digital
www.radiobygones.co.uk and ness development and manage-
Electronics).
a web site related to our sister ment group CMGI
magazine will be open in the AltaVista’s powerful “spider” (www.cmgi.com), formerly Col-
near future. You will be able to (a network search and retrieval lege Marketing Group Informa-
subscribe online using a secure program) would traverse the tion Services. CMGI will develop
server and generally see what web in search of links, which AltaVista further into what they
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 221
Maxfield & Montrose Interactive Inc
Net Work
hope will become the world’s Disappearing URLs fledgling mail service and Inter-
largest portal. net Content Provider. This was
One potential problem immediately branded a prime
Coupled with the fact that seems to be surfacing with Al-
Compaq Internet-ready desktop example of Microsoft’s own
taVista: users are complaining (failed) attempts at Internet
PCs were to include a ready- that their own web site seems to
made link to AltaVista, it be- empire-building.
have disappeared from its list-
came clear how Compaq was ings, and this can be attributed Users and manufacturers
starting to embrace the com- to the rebuild at the end of last complained even more when
mercial forces of the Internet year. Webmasters should do a Microsoft’s Internet Explorer
and steer business the way of quick search for themselves browser was being foisted on
AltaVista. Compaq said that they (literally) on AltaVista and resub- them, to the alleged detriment of
would meld their consumer Pre- mit their URL. This option is Netscape, yet they seem happy
sario Internet PCs with CMGI’s buried in the Advanced Search for consumers to be steered
Internet services, by providing page (Add/Remove a URL). from their home desktops to-
keyboard and web browser ac- Some users have quoted a pe- wards a portal site which, with a
cess to AltaVista and other riod of up to six weeks before bit of luck, will ultimately entice
CMGI web offerings. their URL appears again, which them into breaking out their
An updated AltaVista web obviously means that they will credit cards in a “seamless infor-
site was mooted in June ’99. lose traffic or business opportu- mation and shopping experi-
The old logo and layout would nities during that time. ence” as Compaq calls it.
be replaced by a fresh new For those of you wishing to Nevertheless, AltaVista re-
number in cheerful yellow along ensure that your web pages re- mains a firm favourite as a
with all the usual portal offerings ceive a higher scoring in search search engine, although on my
of news, travel, shopping, jobs engine listings, you should have own recently redesigned web
and so on. The shopping.com a look at site (http://home-
site would also be restructured www.searchenginewatch.com. pages.tcp.co.uk/~alanwin)
and enhanced. This provides details on most of there is a Google search engine
AltaVista has already grown the commonest engines and installed on my “Links” page.
into a key portal site, which was other tips. Google is tremendously fast and
rated at the ninth largest domain slick, with none of the portal
It is interesting that there
on the entire Internet in early padding of AltaVista.
seems to be no objection to
1999, and conveniently accessi- Compaq’s eagerness to provide You can contact me, as al-
ble from Compaq desktop PCs. a direct link to AltaVista, which ways, by email at
A quick look at the Compaq Pre- by Compaq’s own admission is alan@epemag.demon.co.uk
sario web pages also intended, in turn, to route
(www.compaq.com/mypre- consumer Internet traffic to e-
sario/internetservices/) on commerce sites (to the tune of
“How to Search” takes you di- several million hits over Christ-
rectly (surprise) to My AltaVista, mas 1998 alone). Yet many PC
where users are encouraged to users rebelled when Windows
configure a start-up page. 95 included a direct and un-
wanted desktop link to MSN, its
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 222
Maxfield & Montrose Interactive Inc
its operation. The symmetry is
by ALAN WINSTANLEY and IAN BELL so important that in order for this
circuit to work well the two
Our surgery writers continue their exploration of transistors must have exactly
operational amplifiers by delving into the innards of the same characteristics, i.e.
typical devices to explain basic opamp principles of they must be matched.
operation. These characteristics must
remain matched all the time –
A few months ago now compensation, and finally an something that, given the high
readers Mohab Refaat and output buffer providing power temperature sensitivity of
Tony Soueid inquired about the gain to drive external loads, semiconductor devices, can only
use of one of the most but with no voltage gain. All of really be achieved if the two
fundamental building VOLTAGE transistors are
GAIN
blocks of electronics, physically close
the operational amplifier + DIFFERENTIAL
OUTPUT OUT together on the
BUFFER
or opamp. Mohab asked AMPLIFIER (POWER AMP.) same piece of
–
about choosing opamps silicon. Also,
and we explained all the Fig.1. Typical opamp block diagram. integrated circuit
major opamp designers use
characteristics in the special layout
Dec ’99 and Jan ’00 issues. these stages are direct- techniques to make sure that
coupled, which means they are transistors that should be
We now go on to address connected without coupling
Tony’s main point: “I don’t know matched do indeed have the
capacitors. Direct coupling same characteristics, despite
what is inside that ‘black box’… means that opamps are able
it’s based on a differential pair of temperature variations and any
to amplify DC and very low imperfections in the
transistors, but it’s far from being frequency signals.
that simple. Can you please semiconductor manufacturing
supply me with some The circuit diagram for the process.
information?” basic differential pair is shown This would seem to make
in Fig.2a. Notice the symmetry life difficult for the hobbyist or
This is a big topic, one that of this circuit – it is the key to student who is interested in
can and does fill whole
experimenting with these
textbooks, but we will try to give +VCC
circuits using individual
a brief overview of some
components, however it is
important points.
RC RC possible to purchase matched
transistors (such as the
IDENTICAL TWINS VO1 VO2
National Semiconductor
Tony is right to say that TR1 TR2
c c 1 8
opamps are based on the b b
“differential pair”, which we’ll Vi1 Vi2
1.0 R1 R2 R3
OUTPUT VO2
TR2 TR1
OUTPUT VO1
TR1 c c TR2
b b
INPUT Vi1
e e IREF
0.5
INPUT Vi2
IE
c TR3 TR4 c
b b
e e
Vi1 – Vi2 /mV
Fig.3. Typical characteristics of a basic Fig.4. Basic differential pairs – simple current
differential pair. mirror biasing.
Over a large input difference IE = (VCC – VEE – VBE(TR4)) / R3, over a range of 1uA to 1mA.
range the response of the circuit
is exponential (see Fig.3), but where VBE will be typically
for just a few millivolts difference 0××6V to 0××7V. To choose the RC OPAMP SELECTOR
between the inputs the change collector resistors (R1 and R2) Table 1 shows a
in the output voltage difference for maximum swing, set the comparison between a number
is near-enough directly quiescent (“idle”) output voltage of popular opamps. It is by no
proportional to the input to half the positive supply. Thus means comprehensive, as
difference (the central part of the quiescent voltage across the thousands of opamps are
Fig.3). So we have the linear collector resistors is VCC / 2. available, but it will at least
differential amplifier that we Since we set IE above and enable you to compare the
require for an opamp input the collector current is specifications of many well-
stage. approximately IE / 2, then RC for established types. You can use
To turn Fig.2a into a each transistor in the pair can the information we have
practical circuit we need a be calculated using: provided in previous issues to
current source, this can also be decipher the meanings of the
RC = (VCC / 2) / (IE / 2) data: expressions such as
achieved using a couple of
matched transistors such as the = VCC / IE. “Open Loop Gain” and “Slew
Supermatch pair, although there Rate” should now be readily
So if the supplies are ±9V understood (we hope).
are also more sophisticated
and we chose a bias current of
current sources employing more The manufacturers’ data
about IE = 1mA then we get R3 =
transistors. For a more detailed must be consulted for more
18K and R1 = R2 = 9K.
discussion of current sources design information as needed,
please refer to Circuit Surgery For any given transistor IE / as our figures may often only
May and June 1999 in which we 2 should be chosen to give apply under certain conditions
discussed these types of circuit optimal performance (transistor (supply voltage, temperature
in depth. gain etc. varies with bias etc.). The World Wide Web
current). The supply current offers for the first time the
required may also be a possibility of readers fetching
MIRROR CURRENT consideration when choosing IE. data directly from the
A basic differential pair with Although a device such as the manufacturer. It’s usually in
current mirror biasing is shown LM394 Supermatch pair has a Adobe Acrobat PDF format,
in Fig.4, which will hopefully be maximum collector current which needs the free Acrobat
familiar to regular readers. The rating of 20mA, National reader from www.adobe.com
emitter current can be set using: guarantees most parameters
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 225
Maxfield & Montrose Interactive Inc
Circuit Surgery
Next month we will look at a generously-sized heatsink and it scant knowledge of Nuffield
how gain can be improved by will perform fine. Proper thermal Physics (as my schoolteacher of
using transistors instead of resistance calculations are the the time would testify), meant
resistors as loads, and consider best way of determining what size that I started out in electronics
the problem of getting all the heatsink to use. ARW. knowing that electric current
bias voltages right when you flowed towards the most positive
cannot isolate stages using electrode. It all made sense.
coupling capacitors. IMB. CONVENTIONAL
The trouble is, in modern
CURRENT semiconductor electronics we
HOT REGULATOR Do you know why the plate of talk in terms of “conventional
a valve (vacuum tube) is called an current flow”. We all do this
I built a 1A power supply without thinking, but it’s
anode whilst the plate on a
with a 317-type variable extremely bizarre to anyone
semiconductor diode is called a
regulator. The data says that it coming into electronics from
cathode? Most confusing. E.J.
is a 2A regulator but when I other sciences (notably physics
Bibby.
draw 1A, the regulator gets very and chemistry). Under this
hot and the voltage slowly When I first started reading convention, electric current is
drops. Why? up on electronics in the early deemed to flow from positive to
1970’s, my very first text book negative, although in real life it
So asked a reader in the
started with valves (but hey, I’m flows in the other direction.
EPE Chat Zone on our web site
not that old!). Their operation was
(www.epemag.wimborne.co.u described in terms of real electron More than one Physics
k) recently. flow, i.e. what actually happened teacher has torn a strip off me
Regulators are usually in terms of the physics of the for apparently not knowing
protected against excess current electron. The simplest vacuum which way current flows in a
and thermal overload. It sounds tube is the diode, consisting of a circuit: my apologies to Physics
as though you haven’t cathode (which is a piece of metal teachers everywhere but
heatsinked the device properly warmed up by a heating element) unfortunately the convention is
(if at all). It’s imperative that the together with an anode “plate”. now so well entrenched around
regulator is allowed to dissipate the world that it will never
Electrons boil off the hot change. (Can you imagine the
any power efficiently, to prevent cathode and, being negatively
the chip from overheating. chaos if it did? Which way round
charged, are attracted towards would you connect your
Fortunately, the LM317 – the anode, which when positively multimeter?)
like many other three terminal biased will “accept” these
regulators – will suffer no negative electrons. The current of In a semiconductor diode,
immediate damage from electrons which flows through the conventional current flows in the
inadequate heatsinking, valve in this way is called the direction of the arrowhead
because it will simply current- anode current. symbol – from anode to
limit and gradually shut itself cathode. In a silicon diode, the
By placing an electrode anode (a) must be 0××7V more
down. As you saw, the output between the cathode and anode
voltage slowly falls during this positive than the cathode (k) for
and applying a grid bias voltage to
shut-down process. However, a “forward current” to flow from
it, the anode current can be
any repeated cycling like this anode to cathode. However, the
controlled – thus a triode valve is
can stress a device over time, anode (electron) current in a
created which can be used as an
ultimately leading to some vacuum tube flows from cathode
amplifier. This, together with my
lasting damage. Simply bolt it to to anode.
I’m afraid that we have
history to blame for this
conundrum, but in practice
everything works fine. After all,
we know what we mean, don’t
we? ARW.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 226
Maxfield & Montrose Interactive Inc
V/uS
Input
uVoC
Output
Supply
(GBW)
current
current
ratio dB
rejection
Slew rate
Maximum
Maximum
Input bias
CMRR dB
resistance
gain V/mV
Open loop
Bandwidth
diss. (mW)
Differential
Max power
Input offset
Input offset
voltage mV
voltage drift
Output short
input voltage
input voltage
circuit current
voltage swing
Supply voltage
supply voltage
TL071 +/-18V +/-30V +/-15V 680 1.4mA +/-13.5V -- 200 65pA 1012ohm 18.0 3.0 100 13.0 3MHz 100 Fast slew, jFET input, low noise
TL081 +/-18V +/-30V +/-15V 680 1.4mA +/-13.5V -- 200 30pA 1012ohm 18.0 3.0 86 13.0 3MHz 86 Low power, jFET input
-0.3 to
TLC27M2C 18V +Vdd 725 285uA -- -- 275 0.7pA -- 2.1 1.1 94 0.62 650kHz 93 Dual, low voltage, precision
+Vdd
-0.3 to
TLC27M7 18V +Vdd 725 285uA -- -- 275 0.7pA -- 2.1 0.19 94 0.62 635kHz 93 Low offset, low power
+Vdd
OP07C +/-22V +/-30V +/-22V 500 -- +/-13V -- 400 +/-1.8nA 33M 0.5 60.0 120 0.3 600Hz 103 Low noise, bipolar input
OPA177GP +/-22V +/-30V +/-Vs -- 1.3mA +/-14V -- 12000 0.5nA 45M 0.7 0.02 115 0.3 600kHz 115 Precision, bipolar, instruments
V+ +0.7
OPA544T 70V -- -- 12mA -- 4.0A -- 15pA 1012ohm -- 1.0 106 8.0 1.4MHz -- High voltage, high current, TO220
to V- -0.7
AD711JN +/-18V Vs +/-18V 500 2.5mA -- 25mA 400 20pA 3x1012ohm 7.0 0.3 88 20.0 4MHz 95 Precision, high speed, low offset
AD744JN +/-18V Vs +/-18V 500 3.5mA -- 25mA 400 30pA 3x1012ohm 5.0 0.3 88 75.0 13MHz 95 Precision, FET input
741 +/-18V +/-30V +/-15V 500 1.7mA +/-14V 25mA 200 80nA 2M 15 1.0 90 0.5 1.5MHz 96 Obsolete general-purpose bipolar
LM10 45V +/-40 -- -- 270uA -- -- 400 10nA 500k 2.0 0.3 102 -- -- 96 Low voltage, reference output
LF441 +/-18V +/-30V +/-15V 670 150uA +/-13V -- 100 10pA 1012ohm 10.0 1.0 95 1.0 1MHz 90 Low power, jFET input
LMC6001- -0.3 to
+/-Vs -- -- 750uA 14.6V +/-30mA 1400 25fA >1T 10.0 0.35 75 0.8 1.3MHz 80 Ultra-low input, instrumentation
AIN +16V
LMC6081 15V Vs -- -- 450uA 14.5V -- 1400 10fA >10T 1.0 0.35 85 -- 1.3MHz 94 Precision, low offset CMOS
EL2044 +/-18V +/-10V Vs -- 5.2mA +/-13.6V 75mA 1.5kV/V 2.8uA 15M 10 0.5 90 325 60MHz 80 Low power, low voltage
Circuit Surgery
EL2001 +/-18V -- +/-15V -- 1.3mA +/-11V +/-100mA 998 1.0uA 8M -- 2.0 -- 2000 70MHz 75 High slew rate, high speed buffer
NE5534 +/-22V 0.5 +Vs 1150 4.0mA <+/-16V 38mA 100 400nA 100k 5.0 0.5 100 13.0 10MHz -- Low noise, audio, instrumation
+V +8 to
CA3130 16V 8.0 -- 300uA <15V 20mA 100 5pA 1.5T 10.0 8.0 90 <30.0 4MHz 74 MOSFET input, rail-to-rail output
-V -0.5
+V +8 to
CA3140 36V 8.0 -- 1.6mA 13V +40mA 100 2pA 1T 6.0 5.0 90 7.0 3.7MHz 80 MOSFET input, bipolar output
-V -0.5
+V +8 to
CA3420 22V 15.0 9.0 150uA -- 2.6mA 100 0.05pA 150T 4.0 5.0 80 0.5 0.5MHz 90 Low voltage, portable instruments
-V -0.5
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 231
Maxfield & Montrose Interactive Inc
A ROUNDUP OF THE LATEST EVERYDAY NEWS
FROM THE WORLD OF ELECTRONICS
DIGITAL FINGERPRINTING
Digital cameras can now not only assess vehicle speed limit violations, but also
detect fingerprints on banknotes - Barry Fox reports.
Criminals beware. An ad- on the quality and integrity of the and approved on 1 April 1999
venturous local police force in photos. for private data networks. Cam-
the West of England is pioneer- High intensity white light is eras use infrared flash to log the
ing the use of electronic imaging focussed on the print area by time taken for a car to travel a
to lift faint fingerprints from ban- fiber optics, and the image cap- mile. They were catching 4000 a
knotes and check. The system tured on disc by a high resolu- day but no summonses were
relies on watermarking technol- tion digital camera with 3648 x issued. Now that the cameras
ogy developed for electronic 4623 image sensor; 12-bit are Type Approved the police
speed trap cameras but spurned monochrome coding captures and local councils can install
by the Home Office. The mark subtle grays in a 13 Megabyte them – but they are expensive.
stops lawyers discrediting finger- file. Says Signum’s Marketing
print evidence by arguing that Because the image is in dig- Manager Alan Bartlett, “The UK
digital images can be easily doc- ital code, the lab can use Fourier authorities are working on the
tored. Transform analysis to separate principle that most motorists will
Three years ago Esther the regular pattern of banknote not go to the expense of legally
Neate, senior fingerprinting de- printing from the irregular finger- challenging a speeding fine. In
velopment officer at the Wilt- print. Labs have tried to do this the US people just shoot the
shire Constabulary, persuaded with film and color filters, but speed cameras to pieces any-
the force to go out on a limb and electronic analysis produces way. But 30 year jail sentences
replace the ageing film equip- much clearer pictures. can hang on fingerprint evidence
ment in her lab with an all-digital which will be challenged.”
An identifying watermark,
system. with date, time and place, is em- The Wiltshire Constabulary
“The FBI and a few forces bedded in the image using Veri- will not identify individual cases
round the world are mixing film Data iDem software from British that have relied on digitally
and digital technology, but we company Signum Technologies recorded evidence. “But for the
are first to replace film com- of Witney. The mark is invisible last 18 months all cases this lab
pletely,” says Neate. to the eye but can be detected has handled have used the pro-
by analysis of the image file. If cess,” says Esther Neate.
even one pixel in the image is Wiltshire’s camera can work
Chemical Integrity altered, it shows. with a laptop PC running Win-
Prints from a sweaty finger dows NT, to capture fingerprints
are 95 percent water and five or footprints at the crime scene.
per cent salts, amino acids and
Speed Trapping
Police forces in Singapore,
fats. Suspect banknotes and Signum developed VeriData Turkey, Australia, New Zealand,
checks are serially treated with for electronic speed traps, but in Belgium and the US are now
14 different chemicals such as April ’99 the Home Office ap- asking the fingerprinting labora-
ninhydrin, and a photograph proved the use of SVDD (Speed tory in Devizes to help them set
taken at each stage because Violation Detection Deterrent) up similar systems.
each chemical reacts with a dif- digital cameras as long as the
ferent sweat component and de- images are securely encrypted
stroys the previous reaction. By or carried by the closed data
the end of the treatment, the pa- networks used on motorways.
per is stained, toxic, and useless SVDD was tested on the M1
as evidence. So any case hangs and M20, in Leicester and Kent
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 231
Maxfield & Montrose Interactive Inc
NEWS......
to 2Mbits/s, but will not be ready
until 2002.
Orange recently launched a
new service called High Speed
Circuit Switched Data, which
hikes the speed to 28××8Kbps.
One-2-One will wait a year until
different technology, called Gen-
eral Packet Radio Service, is
ready. Both systems are autho-
rized by ETSI, the European
Telecommunications Standards
Institute, but are not fully com-
patible.
HSCSD uses less error cor-
CORDLESS SOLDERING IRON rection to increase the basic
BS Manufacturing tell us that their latest soldering iron, the P100, GSM data rate to 14××4Kbps, and
sets a completely new standard by offering precision heating power in then gangs channels together to
the form of a tiny pen-style tool. The P100 is 19cm long and weighs give 28××8Kbps or higher.
just 57g, delivering up to 120W output – double that of some GPRS works on the as-
competitive irons, allowing it to be used for heavy duty electrical work sumption that most users do not
and silver soldering, in addition to precision electronics and model need constant data speed. A
making applications. pool of capacity serves several
The fuel used is liquid butane/propane gas, stored in the users at the same time, with bits
translucent handle. The tank can be refilled from a standard gas allocated as and when they are
canister (cigarette lighter type). Typically each refill provides around needed. One-2-One plans a
45 minutes of continuous use. Gas is ignited by means of a spark GPRS service for September
from a flint inside the tool’s cap, with its flow regulated using a slider, 2000, with speeds up to 56Kbps,
allowing fine adjustment down to 20W. rising to 112Kbps by 2001.
A wide range of attachments for the P100 are offered, to “HSCSD is a technology cul-
configure it for soldering, hot knife cutting, slicing, heating, igniting, de-sac” says Craig Tillotson,
shrink wrapping, melting, shaping and other uses. A rich choice of tips One-2-One’s Director of Strat-
for soldering/desoldering is available, from 4××8mm wedges to chisels egy. “GPRS hardware will cope
and angles as small as 1mm. with HSCSD, but HSCSD hard-
The iron costs around 18 UK Pounds and may be purchased ware will not handle GPRS. And
online (via the web site below), or from distributors. if Orange pass on the true cost
to subscribers, HSCSD access
For more information contact BS Manufacturing Ltd., Strawhall will cost at least ten times as
Industrial Estate, Carlow, Ireland. much as GPRS.”
Tel: +353 (0) 503-41340 “Not so”, says Stuart Scott,
Fax: +353 (0) 503-40363 Orange’s Manager of Internet
Products. “We have not yet set
Email: sales@vulkangt.com
tariffs, but our target is to add
Web: www.vulkangt.com only a very small premium”.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 232
Maxfield & Montrose Interactive Inc
NEWS......
their web site, free! FilterLab is a
software design tool that simpli-
fies the design of active filter PORTABLE POWER
systems using opamps as ana-
log filters. It provides full
schematic diagrams of filter cir-
cuits with component values and
display of the frequency re-
sponse.
FilterLab supports the de-
sign of low-pass filters up to 8th
order, with Chebyshev, Bessel,
or Butterworth responses, from
frequencies of 0××1Hz to 10MHz.
Once the filter response has
been identified, FilterLab gener-
ates Bode plots and the circuit
diagram. It also generates a
Spice model for time domain
analysis, streamlining the design
process.
To download Filterlab, ac-
cess Microchip’s site at:
www.microchip.com
Power Lines “Run virtually anything in your car!” exclaims a Press Release
from Merlin Equipment. Merlin’s Cherokee unit simply plugs into a
and Health car’s cigarette lighter and converts low voltage battery power to stan-
The National Radiological dard 230V AC mains power. A normal UK 13A socket on the unit al-
Protection Board (NRPB) is to lows direct connection to appliances.
investigate recent claims that a The Cherokee 150 is capable of supplying up to 150 watts of
causal link between power lines power continuously. For appliances that require a surge of power
and human health can be estab- (TVs for example), it can provide 300 watts instantaneously. The con-
lished. It states that these claims verter is overload, overheat and short-circuit protected. In the event of
need to be compared with the the input battery voltage dropping below 10××8V, the unit will cut out –
findings of the first paper from ensuring that you can re-start your car’s engine!
the UK Childhood Cancer Study
(UKCCS) which shows no in- Merlin have a large range of other products designed for in-car,
creased risk of childhood cancer caravan or boat use.
associated with magnetic fields For more details, contact Merlin Equipment, Dept EPE, Unit 1,
from the electricity supply. This Hithercroft Court, Lupton Road, Wallingford, Oxon OX10 9BT, UK.
definitive study, looking at actual Tel: +44 (0)1491-824333
cases of childhood cancer and
controls, is the largest of its type Fax: +44 (0) 1491-824466
in the world. Email: sales@the-merlin-group.com
For more information, con- Web: www.the-merlin-group.com
tact NRPB, Chilton, Didcot,
Oxon OX11 0RQ, UK.
Electronic Purse
Tel: +44 (0) 1235-822744
One of the many documents that have come to us in connection
Fax: +44 (0) 1235-822746 with the Smart Card 2000 exhibition and conference (8-10 Feb 2000,
Web: www.nrpb.org.uk Olympia, London), highlights the question “Have Europe’s banks in-
vested millions developing a product no-one wants?”. The product re-
ferred to is the “electronic purse”.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 233
Maxfield & Montrose Interactive Inc
NEWS......
Electronic purses have been is not ecstatic about the con-
coins in our pockets in 10 years
the cherished goal of banks and cept, neither are many of Eu-
time? As we go to press, such
other global organizations for rope’s bankers who are facing
matters are due to be discussed
around 10 years. Apparently, losses of up to two euros per
by delegates at the conference.
though, in many markets con- purse card per annum. In some
sumer feedback indicates they countries the costs of persuad-
are not a viable proposition. ing the customer to load and
The concept of a cash-less use the card exceed incomes by
society is proving difficult for the several times.
consumer to accept. If the public So will we be jingling the
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 234
Maxfield & Montrose Interactive Inc
John Becker addresses some of the general points readers have raised. Have
you anything interesting to say? Email us at editor@epemag.com!
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 237
Maxfield & Montrose Interactive Inc
Readout
the Simple PIC Programmer. have digital inputs, and certain only PICs you are limiting your
CD Players have digital outputs? magazine’s resources. Some
In particular you should read
So if a CD player disregarded good projects with other micro-
the PIC Tutorial series of Mar-May
the false error correction code controllers will definitely open
’98 (which discusses PIC pro-
would the false code be sent your magazine to a much wider
gramming at some length), PIC
through the digital outputs? audience.
Toolkit Mk1 of July 98 (which dis-
cusses not only programming but (Hmm, I wonder). I am not saying to throw
also the differences between But that aside, pirates would away the PIC, it should be in-
MPASM and TASM), PIC Toolkit just sample from a CD player’s cluded, as it is very good for first
Mk2 of May-June ’99 (which is a audio outputs to a PC’s audio time programmers, and a lot of
much enhanced version of the inputs, and using a good PC your loyals also use PICs, but
Mk1 and has many of the features sampler, save on to a hard drive loyals like myself feel that we
you obviously have need for, in- track by track. After doing so should not be confined to a sin-
cluding the ability to translate be- they could (without the false gle subject but rather explore all
tween MPASM and TASM – it code) be put on a CDR disk and the possibilities.
also allows the newer PIC16F87x then copied as many times as Let me tell you what hap-
series to be programmed, as well they liked. All in the time it takes pened to me, I am a student and
as the ’84 series). to play a regular CD, so it seems my professor gave an assign-
the pirates will still be one step ment, to design a data logger
We strongly recommend that
ahead, and that it just merely but to design it from any other
you, and other readers in a similar
slows them down. microcontroller except PICs.
position, should read these arti-
cles, which I am sure will clear up I think true anti-piracy will None of my colleagues along
a fair number of your problems. I come when CD media is old hat with me were able to do that.
would comment, though, that as (I predict in about 10-15 years), We had to hear a long lecture
you have MPLAB you should and solid state memory sticks or on how we have gotten used to
make an in-depth attempt to get to cards are the norm. Using en- spoon-feeding, and had con-
know it, and to also obtain the cryption and digital ID tags, the fined all our attention on a single
other hardware associated with it. consumer when buying music topic. After graduating and get-
As good as Toolkit Mk2 is, it does from a store would have his ID ting a job we might be asked by
put onto the card, this ID would our superiors to design a project
not cover the full range of PICs
come from the manufacturer of from Atmel AVR, then what will
that are manufactured, whereas
the card player and would be we do?
Microchip’s hardware/software
suites are designed to do so (after unique, therefore not allowing it
to be played on any other player Ziyad Saeed
all, Microchip are the manufactur- via the Net
ers of the PICs and so provide a even if copied.
full backup for their use in indus- Darren Portsmouth
try). Rather than discuss it all fur- via the Net Editor Mike Kenward replied
ther here, do read the above- directly to Ziyad:
mentioned articles, available as I can understand that as a
back issues (or photocopies in An interesting point, Darren, student you will need to learn
some cases) from the EPE Edito- and one I am not qualified to about other microcontrollers, but
rial office. comment on. Any readers care you should realize that for the
to comment further? type of projects we publish the
FLAWED PIRACY- PIC is usually the best and easi-
PIC vs AVR ETC est solution.
PROOFING?
Dear EPE We have published projects
Dear EPE,
for the Atmel AVR microcon-
I found the Pirate-Proof CDs PICs are definitely excellent trollers, but few readers were
(News, Dec ’99) interesting but microcontrollers, but it does not interested. Whilst we do publish
flawed. Have the people at C-Dilla mean they are the only micro- a range of educational items we
forgotten that a computer comes controllers. There are other cannot undertake to teach you
with an Audio Line-in and some good microcontrollers like Atmel about all the subjects you will
more expensive sound cards AVR or Scenix SX. By using undertake – sometimes you will
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 238
Maxfield & Montrose Interactive Inc
Readout
need to find resources else- I would like to say that I find FTP PLUS TI2K
where. the Teach-In series excellent. It
Dear EPE,
explains concepts in a clear,
thorough and practical way, and In Readout it seems some
To which I will add my own I have really enjoyed learning folks have a problem download-
comment that I was personally through it. ing from the FTP site, or they
very disappointed that the AVRs are getting corrupted code. I al-
did not receive the reader re- John Thornton ways use WS_FTP, which is a
sponse I had hoped for. I had Sunderland free shareware FTP program.
felt that we should actively It’s very easy to use for both
demonstrate that microcon- down and up loading!
trollers other than PICs were in The Teach-In circuits should
function even with voltage levels I have downloaded the
commercial use and I was quite Teach-In 2000 software and
prepared to learn about them for well below 5V, even as low as
4V. When new, your 6V battery have to say I like it, it will prove
myself and on behalf of you all! very useful. The pots screen is
But, as so few readers have ex- will probably deliver about 6××5V.
useful and the cap-resistor time
pressed an interest in AVRs, I I would probably regard 5××5V as constants, can’t wait to see how
too shall stick with PICs, which I being the level at which I would you convert the printer port to a
must add, are not only “good for replace the battery, and so set frequency counter! What I would
first time programmers”, but are one threshold for a little above like to see added is a 555 timer
widely used by professional de- that, and another for about 6V time-freq calculator and basic
signers in industry. as advance warning that “fuel” is opamp configuration with gain
beginning to get a bit low. But in calc, etc.
many ways, it’s a somewhat ar-
VOLTAGE MONITOR bitrary matter since the amount Mel Saunders
Dear EPE, of current being consumed will via the Net
I am writing in regard to the determine what may be re-
Voltage Monitor Starter Project garded as a reasonable life ex-
pectancy for the power remain- Hopefully, you should know
in the Feb ’00 issue. Since I am
ing in the battery. by now – details were given in
a beginner and am following the
Feb ’00 issue, easy isn’t it?!
Teach-In 2000 series, I thought It’s like with car driving: my Sorry to disappoint, though, I’m
that this would be an excellent fuel light comes on when the not covering 555s in TI2K. The
project to build and use to en- tank is down to a quarter full. It aim of the series is to achieve a
sure that the voltage level of the is typically a 500 mile tank and broader sweep without getting
battery I am using when doing so I know that I probably still into specific named devices. Be-
the practical experiments does have well over a hundred miles sides which, there’s been
not fall below a critical level. before having to walk! A hun- enough published on 555s to fill
You give very clear and dred miles on the motorway is the British Library twice over
easy-to-follow instructions for less than two hours of fuel re- (much of it originating in EPE) –
determining threshold voltages maining. Driving locally to the I’ve no wish to add to the glut!
of the detectors when using the shops and back, the same fuel
device to monitor batteries of probably represents several
voltages different to 12V. But days.
what are these threshold volt- If you really feel in danger of
ages for a 6V battery? I would “running out”, keep a back-up
assume the upper threshold fuel supply available, in your
level to be 6V, but I have no case keep another battery
idea what the lower one should handy. I compliment you,
be. I would be most grateful if though, on your initiative in this
you could recommend to me matter. Building the Voltage
suitable threshold voltages, Monitor will not only prove to be
bearing in mind that the project useful constructional experi-
is to be used in conjunction with ence, but using it will also help
the power supply for your reinforce your concept of elec-
Teach-In series. tronic power consumption.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 239
Maxfield & Montrose Interactive Inc
with DAVID BARRINGTON 9-way PC serial lead (25-way
extra), and all other
components. They have even
Some Component RF Solutions (UK)
included a low-voltage stepper
Suppliers for EPE Online Tel: +44 (0) 1273-488880
motor and UK mains adapter,
Web: www.rfsolution.co.uk “plug” type, power supply.
Constructional Articles
RS (Radio Spares) (UK) All this for just 34.99 UK
Antex Web: www.rswww.com
Web: www.antex.co.uk Pounds plus 3 UK Pounds post
Speak & Co. Ltd. and packing. For full details
Bull Electrical (UK) Tel: +44 (0) 1873-811281 contact Magenta Electronics
Tel: +44 (0) 1273-203500
Email: sales@bull- 2000.co.uk or E-mail:
electrical.com EPE ICEbreaker sales@magenta2000.co.uk.
Web: www.bullnet.co.uk Apart from the specially Finally, we understand that
programmed PIC16F877 some overseas readers
CPC Preston (UK)
microcontroller chip, most of the (particularly in USA) may have
Tel: +44 (0) 1772-654455
other components needed to difficulty in obtaining the ZTX
EPE Online Store and Library construct the EPE ICEbreaker transistor. The designer informs
Web: www.epemag.com project are fairly common items. us that most general purpose
Electromail (UK) The “firmware” program in the npn types rated at 1A 60V
Tel: +44 (0) 1536-204555 chip is loaded and copy- should work (though not tried) in
protected (in the upper half of this set-up.
ESR (UK)
Tel: +44 (0) 191-2514363 the 8K program memory) and is
Fax: +44 (0) 191-2522296 not available in any other way – High Performance
you must purchase the
Email: sales@esr.co.uk
preprogrammed PIC chip to
Regenerative Receiver
Web: www.esr.co.uk Some of the components
build this project.
Farnell (UK) needed for the High
We have reached a special
Tel: +44 (0) 113-263-6311 Performance Regenerative
agreement whereby we are able
Web: www.farnell.com Receiver may be hard to track
to offer a ready-programmed,
Gothic Crellon (UK) down. We have not included the
20MHz version, PIC16F877 chip
Tel: +44 (0) 1743-788878 Jackson type tuning capacitors
together with a floppy disk
in our pricing for this project, as
Greenweld (UK) containing the ICEbreaker
it will depend on the condition
Fax: +44 (0) 1992-613020 software and the printed circuit
and “newness” of these
Email: greenweld@aol.com board (code 7000257) -- see the
variables. We suggest you shop
Web: EPE Online Store at
around for these items as they
www.greenweld.co.uk www.epemag.com
could add as much as 30 UK
Maplin (UK) Also, the ICEbreaker pounds, or nearly double the
Web: www.maplin.co.uk software, including the simple price, of this Receiver. Try Bull
test program and demo Electrical or J&N Factors (Tel:
Magenta Electronics (UK) programs, is available for free +44 (0) 1444-881965), who may
Tel: +44 (0) 1283-565435 download from the EPE Online be able to offer a good price, if
Email: Library at www.epemag.com they still stock them. You can
sales@magenta2000.co.uk also try Mainline Surplus Sales
A special package has been
Web: (Tel: +44 (0) 870-241-0810).
put together by Magenta
www.magenta2000.co.uk
Electronics, which contains the We found that some of the
Microchip following: preprogrammed type numbers quoted for the
Web: www.microchip.com 16F877 (20MHz version), TOKO tuning range coils did not
Rapid Electronics (UK) printed circuit board, solderless tally with our information and
Tel: +44 (0) 1206-751166 breadboard, LCD display could have caused real
module, floppy disk, BT47 relay, problems. However, thanks to
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 240
Maxfield & Montrose Interactive Inc
Shop Talk
the designer’s, Raymond Haig, 1677-425840) purchased some
efforts in double-checking with specially and, at the time of PLEASE TAKE NOTE:
the TOKO suppliers, we now going to press, we understand Scratch Blanker Jan '00
have the correct type numbers. they still have stocks.
We have been informed that
The TOKO coil numbers The rest of the components,
the MN3004 delay-line and the
and ranges used in the Receiver including the ceramic resonator,
MN3101 clock generator ICs
have been set out in a table should be readily available
called for in the Scratch Blanker
(next month) and were items. Just one point, specify
are no longer produced or
purchased from Bonex Ltd (Tel: the L suffix when ordering the
stocked by Maplin. However we
+44 (0) 1753-549502). Type BC184L general-purpose
understand that Sky Electronics
numbers and order codes are as transistor, because other types
(Tel +44 (0) 20-8450-0995) have
follows: CAN1A350EK, 380-350; have differing pinouts to this
some.
RWO6A7752EK, 357-752; one.
RWR331208NO, 351-208; The single-sided printed
154FN8A6438EK, 356-438; circuit board is available from
KANK3426R, 363-426; the EPE Online Store (code
KANK3337R, 363-337; 7000258) at www.epemag.com
MKXNAK3428R, 363-767.
The rest of the components
for this project should be widely Automatic Train Signal
stocked. The three Receiver All parts, including the
printed circuit boards are LF351N IC, for the Automatic
available as a set and are Train Signal, this month’s
obtainable from the EPE Online “starter project”, should be
Store at www.epemag.com stocked by our regular
We could not close without components advertisers. The
saying that the author has choice of LEDs, 3mm or 5mm,
produced a really “professional” will depend on gauge and size
Regenerative Receiver – almost of your model railway layout.
a piece of nostalgic art! The LED current is not very
high, so “high brightness” types
are preferable.
Parking Warning System
A few dedicated parts are Teach-In 2000
called up for the Parking
Warning System and may not No additional components
be obtainable from your usual are called for in this month's
local component stockist. The installment of the Teach-In 2000
PIC260435 infrared sensor/ series. For details of special
amplifier/demodulator came packs readers should contact:
from Farnell, code 139-877.
(This device has nothing to do ESR Electronic
with PIC microcontrollers.) Components – Hardware/Tools
and Components Pack.
Turning to the HT12B or
HT12A encoder and the HT12D Magenta Electronics –
decoder ICs, these caused Multimeter and components, Kit
considerable sourcing problems 879.
last time they were used in a FML Electronics (Tel +44 (0)
published design. At that time, 1677-425840) – Basic
they appeared in a well-known component sets.
company’s catalog, but, in fact, N. R. Bardwell (Tel +44 (0)
they had discontinued stocking 114 255-2886) – Digital
them. To solve this problem Multimeter special offer.
FML Electronics (Tel: +44 (0)
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, March 2000 - www.epemag.com - 241
Maxfield & Montrose Interactive Inc