Beruflich Dokumente
Kultur Dokumente
-DQXDU\
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, Febuary 1999 - www.epemag.com - XXX
Maxfield & Montrose Interactive Inc
Copyright 1999, Wimborne Publishing Ltd
and Maxfield & Montrose Interactive Inc.,
PO Box 857, Madison, Alabama 35758, USA
All rights reserved.
:$51,1*
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 © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 1
Maxfield & Montrose Interactive Inc
PROJECTS AND CIRCUITS
FLASHING SNOWMAN - by Robert Penfold 5
Add a “sparkle” to your festive decorations with this fun Starter project!
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 2
Maxfield & Montrose Interactive Inc
BYGONE MILLENNIUM
As you may have noticed from the advertisements now appearing on the EPE Online web
site, we have recently taken over publication of Radio Bygones magazine. This has introduced
us to the fascinating world of early (sometimes very early and very primitive in technology
terms) radio equipment. What has impressed us most about these old “wireless” sets is the
quality of workmanship that went into them. This not only applies to the chassis and cabinet
construction, but also to the construction of individual items like coils and tuning capacitors. I
wonder if our descendants will look back on equipment made in the 90s (the 1990s we mean!)
and marvel at the quality of our workmanship?
Of course, many early receivers were constructed as one-offs by experimenters and
hobbyists, and in the early 1900s there were a number of kits available for constructors. It's
fascinating to look back at the roots of our hobby and we will be doing this over an extended
period in our forthcoming millennium feature. Starting next month, this is currently titled The
Millennium Before The One We're In Now, although we might change that if we can dream up
something equally quirky but less cumbersome.
MILLENNIUM GREETINGS
And finally, the season's greetings to you all, and may we wish you all the very best for the
new millennium. As you know, EPE Online has only been around for just over one year, but
we’re hoping to be good for the next 1000 so as to see the dawn of the next millennium!
TECHNOLOGY TIMELINES
All about how technology developed in the Millennium before the one we’ll be in soon. Or as the authors
would have it – Boldly going behind the beyond, behind which no-one has boldly gone behind, beyond, before!
The 20th Century saw phenomenal technological progress (along with corresponding impacts on our cul-
ture). In many respects we’ve gone from close to nothing (technology-wise) to where we are today in the last
100 years, and many observers feel that our current accomplishments represent only the “tip of the iceberg”.
Thus, as we enter the 21st Century we are poised on the brink of unimaginable possibilities and potentialities.
The purpose of this new series is to review how we got where we are today (and where we look like ending
up tomorrow). We shall first cast our gaze into the depths of time to consider the state of the art as the world
was poised to enter the 20th Century. Then, over the coming months, we will take a retrospective view of the
technological developments of the last millennium as we investigate the key people and events in three are-
nas: Physics and Electronics, Communications, and Computers.
During our discussions we shall discover the way in which everything is interrelated, such that inventions
in disparate fields can be combined in ways their originators never dreamt of, catapulting us into a future none
of us can conceive in our wildest dreams.
Knowing how rapidly things have changed over the last few decades, only a fool would dare to predict the
future with any level of confidence. Thus, we shall leave such pontifications to the final installment, where we
shall consider emerging new technologies and peer into our crystal balls to cast some predictions for techno-
logical advancements over the next 100 years.
THE EASY-TYPIST
This little project was devised to speed the task of typing text into a computer, though it will probably find
plenty of other uses. It plays recorded speech a few words at a time, waiting for a prompt before continuing.
This allows people who cannot type without looking at the screen or keyboard to type rapidly and continuously
since it removes the need to refer frequently to the text being typed, which, in the case of handwriting, can be
extremely tedious.
VOLTAGE MONITOR
This simple device has two LED indicators that switch on if the monitored supply voltage falls below sepa-
rate threshold levels. The obvious application is in battery operated equipment where erroneous results could
be obtained if the battery potential falls below a critical level. The twin threshold levels are then useful, as one
can be set slightly above the critical voltage, and it will then give a warning if the battery will soon need re-
placement. The circuit can also be used with mains powered equipment to monitor the DC supply voltage, and
it will then give a warning if the supply voltage drops to an inadequate level due to a malfunction. It can be set
at any potentials from 3 5V to 30V.
¬
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 4
Maxfield & Montrose Interactive Inc
A selection of ELECTRONIC Books
for Hobbyist and Students
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com
Maxfield & Montrose Interactive Inc
)/$6+,1* 612:0$1 E\ 52%(57 3(1)2/'
Add a “sparkle” to your festive decorations with this CIRCUIT OPERATION
fun starter project. In order to operate the
flashing LEDs out of phase a
If you wish to make an elec-
low frequency oscillator is re-
tronic project popular you give it
quired, but it must be capable of
some flashing LEDs (light-
handling fairly high output cur-
emitting diodes), or you do if you
rents. The full circuit diagram
believe the in-joke that was popu-
for the Flashing Snowman pro-
lar in the electronic magazine 4!
4( 4) ject appears in Fig.2.
publishing business some years
ago. This joke came about be- 4" 4#
Starting with the LEDs that
4$
cause one of the magazines now 4!! 4& 4!" are lit continuously (D8 to D12),
4%
incorporated into EPE published 4' these are simply fed from the
a project that was basically just a 9V supply via resistor R7. This
soap dish fitted with some LEDs resistor limits the current to a
that flashed. Apart from looking suitable level.
pretty it did not actually do any- Ideally each LED would
Fig.1. Suggested layout for
thing, but that did not stop it from have its own series resistor, as
being by far the most popular pro- the LED “face” display. this would guarantee virtually
ject ever published by that maga- could use a different character, the same drive current to each
zine! This project is very much in such as Father Christmas, as one. In practice there seems to
the flashing soap dish tradition, the basis of the project, and he be no problem if the LEDs are
and it is just a polystyrene ceiling could be made to wink for ex- simply wired in parallel and sup-
tile fitted with some LEDs that ample. plied with current via a common
flash. It is a simple but amusing resistor.
Christmas decoration that should
This will only work properly
raise a smile or two. ON THE FACE OF IT if they are all of the same type.
There are eleven LEDs (D2 Using LEDs of various shapes,
MR SNOWMAN to D12) in the suggested config- colors and sizes would almost
uration, but it is easy to modify certainly result in one or two op-
The tile is fashioned and the unit to suit alternative ar- erating at high brightness and
painted to look like a Snowman rangements. The LEDs are others failing to glow visibly.
(or Snowperson?), and it has used in the configuration shown
LEDs to form the eyes, nose, and in Fig.1. Light emitting diodes
mouth. The LEDs for the eyes D8 and D9 form the eyes, and RELAXATION
and nose are lit continuously, but D10 is the nose. Together with The oscillator is based on
there are three sets of LEDs to D11 and D12, these LEDs are lit operational amplifier IC1 and
form the mouth. Some are lit con- continuously. uses a standard configuration.
tinuously, while the other two sets IC1 is actually connected as a
are operated in anti-phase (when To produce the smiling
face, LEDs D2, D3, and D4 are simple trigger circuit, which is
one set is switched on the other then used in a form of relax-
set is switched off). The idea is to switched on, while D5, D6, and
D7 are switched off. To produce ation oscillator.
arrange the LEDs so that the
Snowman’s expression alternates the unhappy face D2 to D4 are Resistors R1 and R2 bias
between an internet style smile switched off, and D5 to D7 are the non-inverting input (pin 3) to
and frown. This is just a sugges- switched on. half the supply voltage, and nor-
tion, and there is plenty of scope mally the output, at pin 6, would
for doing your own thing. You go low if the inverting input (pin
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 5
Maxfield & Montrose Interactive Inc
&RQVWUXFWLRQDO 3URMHFW
C!
Q Q Q
B!
#)[
DB! 4" 4# 4$
?>?66
23##' [ [ [
B#
&([ S
R
2!
:
B%
)F
##
U & h 8@'
'
#
:
B'
93! &
B&
## :
""
3!
! P "
D<?'!3@
DB"
23#"'
B$ Q
$
(" [ U 4!
R !>$ "
B" [
#)[
S
Q Q Q Q Q Q Q Q
P
3"
" " 4% 4& 4' 4( 4) 4! 4!! 4!"
[ [ [ [ [ [ [ [
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 6
Maxfield & Montrose Interactive Inc
&RQVWUXFWLRQDO 3URMHFW
The components fit onto
this PCB with few difficulties,
because the board was de-
signed to take this oscillator
configuration and output stage.
Even so, the usual warning has
to be given as follows: Unlike a
normal custom printed circuit
board, the multi-project board
has numerous holes that are
unused. This makes it a little
trickier to get all the compo-
nents in the right place, and it is
essential to take a little more
Component layout on the completed multi-project care than usual when fitting the
circuit board. components on the PCB, and to
double-check the finished board
fier diode D1 is used to effec- If you decide to use such an for errors.
tively reduce the minimum out- adapter, make sure it is con- In all other respects con-
put voltage by about 0 6V, so
¬ nected to the unit with the right struction of the board is per-
that D5 to D7 fully switch off polarity. Most adapters are
marked with diagrams showing
when IC1’s output is low.
the polarity of the supply lead, COMPONENTS
and the polarity might be switch- Resistors
STABLE SUPPLY able. R1, R2 39k (2 off)
R3 68k
The current consumption of Non-stabilized adapters are R4 820k
the main circuit is about 20mA, not recommended for use with R5,R6 330 ohms (2 off)
but the consumption of the non- this circuit. Units of this type have R7 220 ohms
flashing LEDs adds about 25 output voltages that vary greatly All 0.25W 5% carbon film
milliamps to this. The circuit can with changes in the output cur- Capacitors
be powered from a reasonably rent, and the actual output volt- C1 100u radial electrolytic, 10V
high capacity battery, such as C2 2u2 radial electrolytic, 50V
age is often very much higher
six HP7 size cells in a holder, than the stated output potential. Semiconductors
but NOT a small type such as a IC1 TL071CP bi-FET opamp
PP3. TR1 BC337 silicon npn transistor
[ [
short spacers included between
[
the board and the case. On/Off
switch S1 is mounted on the lid of
B% ? >? 66 the case. Drill small holes in the
DB! F5 case sides to take the three twin-
4!! 4!" S
Q Q
B B
R leads that will carry the output of
C!
U
' ! B the unit to the three sets of “face”
[ [ $
4!
Q
4! LEDs. The small amount of hard
93! wiring is added next. Fit leads,
B& B54
F5
[ about 300mm long, on the three
4) 4( B
B
#
DB" D? 21DD5BI 2!
sets of output solder pins. These
Q Q 3" U
"
3! R
leads can be trimmed to length
[ [
S
2<13; and prepared for connection to
4& F5
4'
Q
4%
the LEDs once the body of the
Q Q
Snowman has been completed.
[
[ [
SHAPING UP
The body of the Snowman (or
other character) does not have to
be made from a polystyrene ceil-
ing tile, but this material has the
advantage of being easy to cut
into awkward shapes. It is a bit
brittle, but with care the expanded
polystyrene can be cut using scis-
sors, or a sharp modeling knife is
also suitable.
Fig.3. Snowman multi-project PCB component layout,
interwiring, and (approximately) full-size copper foil mas-
ter. Take care, not all holes/pads are used.
fectly straightforward and should follow along the normal
lines, starting with the resistors, capacitors, diode and, finally,
the two transistors. The component layout is shown in Fig.3,
together with the actual size copper foil pattern and interwiring
details. Fit single-sided solder pins to the board at the points
where it will connect to the battery, on/off switch S1, and the
LED display.
The TL071CP opamp used for IC1 is not a static sensitive
component, but it is still a good idea to mount it on the board
via an IC holder. Be careful to fit diode D1, transistors
TR1/TR2, opamp IC1 and the two electrolytic capacitors the
correct way round on the PCB.
CASING UP
Virtually any small plastic or metal box should accommo-
date this project, but if the unit is battery powered be careful
to select a case that is large enough to take the rather chunky
battery pack. Incidentally, the connections to the battery Wiring to the LED display and to the
holder are made using an ordinary PP3 battery clip. PCB mounted inside the small box.
The printed circuit board is mounted on the case using Allow space for the battery pack.
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 8
Maxfield & Montrose Interactive Inc
&RQVWUXFWLRQDO 3URMHFW
necting wire. Wire up the three
sets of LEDs one set at a time,
following the wiring pattern
shown in Fig.3. The easiest way
of tackling this job is to use a
single wire to connect each set
of anodes and cathodes. This
means making some connec-
tions along the length of the
wire and not just at the ends.
This is much easier using non-
insulated wire, but pieces of
sleeving must then be added
onto the wires to ensure that
The two faces of Mr. Snowman – a “snowfall” accidental short circuits are
and a “thaw”! avoided.
An easier alternative is to
use ordinary connecting wire,
with wire strippers being used to
A more substantial material WIRING UP cut through the insulation at the
such as plywood or MDF is points where connections will be
equally suitable or perhaps Wiring up the LEDs is much made. The insulation can then
even better than expanded easier if you give them a uni- be opened out slightly, so that
polystyrene, but a jig-saw is form orientation, such as having the exposed wire can be
needed to cut these tougher all the cathode (k) terminals to- “tinned” with solder. With the
materials to shape. There is no wards the bottom. This helps to ends of the leadout wires
need to get too clever when keep the wiring neat and you “tinned” with solder as well, the
making the body of the unit, and can tell at a glance which lead wire should readily connect to
with this type of thing something is which. the leadouts.
simple and basic often works The LEDs will almost cer-
best. tainly be supplied with quite
When using plywood or long leads, and they will have to FINAL TOUCH
MDF the LEDs are mounted in be trimmed back to a length of The case containing the
5mm diameter holes, and they about 10mm. The polarity is electronics must be mounted on
are glued in place using any usually indicated by the cathode the rear of the “body”, and
good quality general-purpose lead being slightly shorter than double-sided adhesive pads are
adhesive. With expanded the anode lead, and it is advis- probably the best way of doing
polystyrene the best approach is able to keep this disparity. Also, this. The traditional hat, scarf,
to make small holes and then the cathode is often indicated eyebrows, and buttons must be
gently push the LEDs into posi- by a “flat” on that side of the painted onto the Snowman.
tion. body, but this is something less Artists’ acrylic paints are good
than universal. for this, but fibre-tip pens pro-
The natural sponginess of
There is some advantage in vide a good low cost alternative.
the material holds the LEDs in
place quite well, but they can using LEDs that are red when To complete the unit the
still be glued if preferred. How- switched on, but clear when leads from the circuit board are
ever, many adhesives attack switched off. These blend into trimmed to length and con-
polystyrene, and the hot glue the background better when nected to the display, being
from glue guns tends to melt the switched off, and give a slightly careful to connect them with the
polystyrene. A quickset epoxy more convincing effect. right polarity. A double-sided
adhesive is probably the best The wiring is completed us- adhesive pad is probably the
type to use. ing ordinary multistrand con- best way of doing this.
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 9
Maxfield & Montrose Interactive Inc
&RQVWUXFWLRQDO 3URMHFW
The unit is then ready for If one set of LEDs fails to faulty or connected with the
testing, and if all is well some of operate there is probably a short wrong polarity.
the LEDs should light up at circuit at the connections to one
switch-on, followed by the sim- of the LEDs in that set. Alterna-
ple animation effect. If there is tively, the LEDs could be con-
any sign of a fault switch off at nected to the circuit board with
once and recheck the wiring. the wrong polarity. If one LED in
a set fails to work, that LED is
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 10
Maxfield & Montrose Interactive Inc
A selection of ELECTRONIC CD-ROMS
for Hobbyist and Students
Computer Desktop Encyclopedia
The award-winning source of computer terms, concepts, important products and
interesting stuff!! An invaluable reference and an unmatched resource for anyone
interested in computers. ($14.99 Special Offer! -- While Stocks Last!)
Features . . .
Does not require front door to be
alarmed.
No need to exit in so many seconds after
activating.
No need to rush to switch off when
returning.
Meets local (UK) authority bylaws –
automatic switch-off after less than 20
minutes.
Extendable if and when desired – addi-
tional door and/or window switches; PIR
sensor; glass-break detectors, etc.
Includes Test facility to check system is Component layout on the completed prototype circuit
operational. board. The final layout may differ slightly from this.
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 11
Maxfield & Montrose Interactive Inc
&RQVWUXFWLRQDO 3URMHFW
are probably adequate, as a supply, are shown in Fig.1 and This self-canceling action is a
burglar invariably makes for the Fig.2. (Note that this power requirement of most local
main bedroom where, supply is designed for use authority bylaws. In the event of
traditionally, any valuables are with the UK’s mains supply – the owner returning to find the
kept. (But be aware that readers in other countries will alarm sounding, it can be
valuables in unprotected rooms have to modify it accordingly, cancelled immediately by setting
could be removed or rooms in which case it is switch S1 to Off (Reset).
ransacked before the alarm is recommended that you Operation with switch S2 in
triggered.) consult a qualified the Test position is the same,
This conveniently confined electrician). Assuming all the apart from two crucial
all wiring to the first floor, door sensor switches are differences. First, S2 enables the
concealed under the edge of the closed, switch S1 is set to On control unit’s internal buzzer
fitted carpet on the landing. The (open circuit), and S2 is at WD1, rather than the klaxon, etc.
control box containing all the Normal (Fig.1), circuit operation Second, with the oscillator timing
electronics is neatly tucked is as follows. capacitor reduced to 180pF (C3),
away out of sight under the rear If any of the alarmed doors the Q14 output terminates the
of a chest of drawers on the are opened, resistor R1 applies sounding period after some three
landing. a positive-going edge, via R2, seconds.
Two switches are provided C1, D2 and R8, to the base (b)
on the Control Box. The On/Off of transistor TR1. This operates COMPONENTS
(Reset) switch enables or the relay RLA, which in turn
disables the alarm, and also maintains the transistor in A full list of components is
resets it if the alarm has been conduction, via self-hold contact given, but many readers will, no
activated. The alarm itself can RLA1. Relay contact RLA2 doubt, have most of the smaller
consist of an internal high power applies 12V DC power to the components in stock. For
klaxon, an external bell, and/or internal klaxon, and outside bell example, the mains transformer
a flashing strobe light. and strobe – see Fig.2. used in the prototype was a 20VA
unit, with two 6 3V AC
¬
1& 12
5/$
5
Ω
5/$
N
²
5 5 '
75
N N 1
3/ 6.
D
3,1 o 3,1 o
',1 3/8* ',1 62&.(7 & %&%
5 ' 5
F
N Q 1 N
D N E
H
2)) 21
N
' 5
1 6 N
D S
0$*1(7
' 5
1 N
'
D N
1
N D
5 &
N 7(67 S
5
0
5 5
N N
&
5
N
26&
26&
26&
9
5
N
75
%&%
µ
5(6(7
,&
&'
4
E
H
5 5 5
*1'
N N N
9
Fig.1. Circuit diagram for the control section and “closed-loop” sensor switching for the Versatile
Burglar Alarm.
6. 3/
3,1 o 3,1 o
',1 62&.(7 ',1 3/8*
1250$/
6E
5/$ &
S
µ
1& 7(67
12
7
/ 99 5(&
9 &20
9$ :
$ 9
9 6,5(1
:' :'
,&
,16,'(
9
72 $ ² ,1 287
)86('
38*
%8==(5
9 &20
& &
5 &
µ µ N µ
1
9 9
%(//
:'
2876,'(
9
;(121
6752%( /3
2876,'(
Fig. 2. Circuit diagram for the alarm system power supply and the alarm sirens.
S1. Switch S2 was mounted on From the outside, it still looks Two 5-pin DIN connectors
the side of the cabinet, and the like its former self! Otherwise, were used for sockets SK1 and
two sockets and mains lead at any box of about the stated SK2 as these happened to be in
the rear. dimensions will prove suitable. stock. Any 2-pin connector will
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 13
Maxfield & Montrose Interactive Inc
6 6E
&RQVWUXFWLRQDO 3URMHFW
2)) 32/(
$ $
% %
& &
5
' '
( 5 (
)
)
* *
+ 5 5/$ +
'
,
5 N ,
- -
D
. .
&
/ N 5 /
0
5
5 0 :'
D
F
'
1 1
5 +($76,1.
N E
2 2
&
75 ,&
3 ' 3
H D
5 5 5 F
4 D ' 4
²
E ,1
5 5 5
²
N 6.
75
6 &20 6
H
7 287 7
8 8
9 9
5
: :
; ;
< <
= =
$$ $$
%% %%
&
&& &&
a a
7
D
5(&
'' '' 6(&
'
((
))
**
5
N
5
&
– ))
**
++ ++
& &
,, ,,
5 5 7
-- -- 6(&
&
..
// //
00
11 11
6
E
& D
6. 6 6.
32/(
11 11
00 00
// //
.. ..
-- --
,, ,,
++ ++
** **
)) ))
(( ((
'' ''
&& &&
%% %%
$$ $$
= =
< <
; ;
: :
9 9
8 8
7 7
6 6
5 5
4 4
3 3
2 2
1 1
0 0
/ /
. .
- -
, ,
+ +
* *
) )
( (
' '
& &
% %
$ $
Fig.3. Stripboard component layout and details of breaks required in the underside copper
strips. Wiring to the mains transformer, switches and sockets will depend on types used.
Capacitors C2, C7, and C8 are wired directly to off-board components.
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 14
Maxfield & Montrose Interactive Inc
&RQVWUXFWLRQDO 3URMHFW
do for SK1, but SK2 must be a
non-reversible type, to ensure COMPONENTS
that the 12V DC is applied to Resistors Miscellaneous
the klaxon, bell and strobe in R1 3k3 S1 s.p.s.t. toggle switch
the correct polarity. R2, R7, R14, R17 1k (4 off) S2 d.p.d.t. toggle switch
R3 10k SK1/PL1 5-pin 240 o DIN socket
The circuit was built up on R4, R6, R9, R11, R12, R15, and plug
0 1in. matrix copper stripboard,
¬ R16 100k (7 off) SK2/PL2 5-pin 180 o DIN socket
as it was developed. The layout R5 1M See also the and plug
R8 18k SHOP TALK RLA 1A 12V coil 2-pole miniature
of the prototype is therefore not
R10 680 ohms Page! changeover relay
the tidiest, but the circuit is not R13 47k T1 20VA mains transformer,
critical in this respect. The All 0.25W 5% metal film 12V secondary
topside component layout and WD1 12V piezoelectric buzzer
Capacitors
details of breaks required in the C1 330n polyester Case for control unit, approx. size
underside copper tracks are C2 47n polyester 230mm x 152mm x 152mm;
shown in Fig.3. C3 180p ceramic stripboard, 0.1in matrix, size 53
C4 1u polyester holes x 40 copper strips; 14-pin
All the components, except C5, C6 4700u axial electrolytic, DIL socket; 16-pin DIL socket;
the mains transformer, 25V (2 off) fused (3A) mains plug and lead;
switches, sockets, and buzzer, C7, C8 25u axial electrolytic, multistrand connecting wire;
were mounted on the stripboard, 25V (2 off) solder pins, solder, etc.
with the following further Semiconductors
exceptions. Capacitor C2 was D1 to D5 1N4148 signal Alarm Devices
mounted directly on switch S2, diodes (5 off) WD2 12V piezo siren
REC1 50V 1A bridge rectifier WD3 9V to 15V alarm bell
C7 between S2 and a common TR1, TR2 BC184B npn LP1 12V DC xenon beacon
earth point on the stripboard transistors (2 off)
and C8 directly across the IC1 4060 14-stage counter- Bell enclosure; miniature reed relay
buzzer terminals. Counter IC1 oscillator with operating magnet (one of each
was fitted in a 16-pin IC socket, IC2 7812 1A 12V voltage regulator required per alarmed door)
the relay in a 14-pin IC socket, Approx. Cost
and IC2 was provided with a Guidance Only
(Excluding alarm devices) $45
TO220 twisted-vane heatsink.
Note that the TO92 plastic Having double-checked all unit is basically working.
transistors TR1 and TR2 are the your wiring and tested with a Disconnect the mains, and
variety where the center lead is multimeter for any possible wait 20 seconds for resistor R17
the base (b) connection, shorts across the +12V rail, to discharge the supply
BC184B; NOT BC184L where connect a “test” toggle switch, capacitors. Now temporarily
the center lead is the collector. set to On, temporarily across short the Normal and Test
DIN plug PL1, in place of the terminals of S2a and leave
sensor loop switches. Set switch switch S2 in the Normal
TESTING S2 to Test and S1 to Off/ position, so that capacitor C2 is
Testing is straightforward, (Reset). now in circuit. Reconnect the
but is most conveniently carried Connect up to the mains, short circuit (switch on test
out on the workbench, rather switch on and check that the switch) at PL1, set S1 to Off
than in situ. However, as a raw supply voltage across and reconnect the mains. Now
mains supply is involved, capacitor C5 is in the range set S1 to On and then switch off
great care is necessary. Make +15V to +18V, depending upon the toggle switch at PL1. This
sure that all mains the particular mains transformer time, the buzzer should sound
connections, including the used. Check that the stabilized for about 15 minutes.
primary terminals of mains +12V rail is present and correct. Repeat the above test,
transformer T1 are well Now set S1 to On and then checking after a minute or so
insulated, and always switch off the “test” toggle that setting S1 to Off terminates
disconnect the mains lead switch temporarily attached to the alarm. This completes the
from the supply before plug PL1. The buzzer should testing, so the short at S2 can
working on or touching any sound for approximately 3 be removed and the unit boxed
part of the unit. seconds. This shows that the up and installed.
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 15
Maxfield & Montrose Interactive Inc
&RQVWUXFWLRQDO 3URMHFW
It only remains to check It is a good idea to set S2 to Another possibility is the
that, with all the alarmed doors Test occasionally, and check addition of a 12V backup
shut and S1 at On, opening any that the system is working by battery, to maintain operability
of the doors triggers the alarm. opening any of the alarmed in the event of temporary mains
This can be done initially with doors. This should be done on a failure. This has not been
S2 at Test, but must of course regular basis. You can leave S2 included in the present system,
be repeated with S2 at Normal, in the Test position except when since mains failures are
to check that the klaxon and bell going out, as a matter of nowadays virtually unheard-of
really do sound, and that the course, if you want. If all the in the UK. But some readers
strobe light (if fitted) does flash. alarmed doors are normally living in sensitive areas may
As soon as this has been shown kept closed, the system will be wish to add a float-charged
to be OK, S1 can be set to Off, tested every time one is battery to the system.
mercifully terminating the opened, as indicated by a
racket! discreet 3 seconds buzz.
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 16
Maxfield & Montrose Interactive Inc
A selection of ELECTRONIC Books
for Hobbyist and Students
Integrated Circuit
Hobbyist Handbook
More Info or Buy Now! 0RUH GHWDLOV DUH
DYDLODEOH RQ WKH
Work with CMOS or TTL digi-
tal ICs? Use op amps and
A high-class “spin-doctor” for your aging collection signals at frequencies well into
of classic vinyl discs. the middle audio range, and
simple filtering is not a viable
It seems that reports of the priced, digital signal processing option. Filtering that would
death of vinyl discs have been unit yet available that will take a greatly reduce the noise spikes
somewhat exaggerated. While it signal from a vinyl recording would also remove most of the
is true that new vinyl records are and process it to give “click” and main signal!
not made in significant numbers “hiss” free reproduction. At the Analog signal processing
any more, there is a thriving moment the only practical can be used to significantly
second-hand market. In fact method of combating “clicks” reduce the larger “pops” and
many types of record are now and “pops” is to use analog “cracks” using blanking or
hotly collected, including some signal processing.
that were manufactured quite <8 <?G >?9C5 <?G@1CC 334 <?G@1CC 8?<4 5AE1<9C1D9?> <8
9>@ED @B51=@<9695B 69<D5B 45<1I <9>5 69<D5B 39B3E9D 1=@<9695B ?ED@ED
recently.
Interest in vinyl records may C5>C9D9F9DI
SCRATCHING
AROUND
Digital signal processing
continues to progress, and some
“golden oldie” recordings of the
1940s and earlier have been
given remarkable “clean-ups”
using this technology.
Unfortunately, as far as we are
aware, there is no, reasonably
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 17
Maxfield & Montrose Interactive Inc
&RQVWUXFWLRQDO 3URMHFW
delayed signal. A changeover is but with this system a delay of DESIGN
then made so that the listener under a milli-second is
hears the non-delayed signal, adequate. This minute delay is CONSIDERATIONS
avoiding the “click” which by needed to give the unit time to This Scratch Blanker project
then has completely passed. detect the click before it starts is designed to be fed direct from
to appear at the output. a magnetic pickup, and its output
After a delay of perhaps a
hundred milli-seconds or so, the When a click is detected the feeds into a high level input of the
unit switches back to the audio signal is switched off, and power amplifier such as a Tape,
original set-up with the listener it is held off for slightly longer Tuner, or Aux input. With many
hearing the delayed signal. Of than the duration of the noise hi-fi amplifiers it is possible to
course, by this time the click caused by a bad scratch. In extract the output signal from the
has also passed on the delayed other words, the click and the RIAA preamplifier, process it in
signal. What is actually signal immediately either side of some way, and then feed the
happening here is that the it is replaced by silence. signal into the power amplifier.
signal is being shortened Although one might This offers what is
slightly, with the section around reasonably expect the gap in undoubtedly a more simple
the click being removed. the signal would be clearly approach, but there are definite
To make up for this missing audible, provided the blanking advantages to having the
signal, a few milliseconds are period is no more than about 10 preamplifier built into the Scratch
repeated when the unit switches milliseconds it will not be Blanker. One of these is simply
back to its normal state. This perceived as a gap in the that the system is not reliant on
system works well, but there is a signal. It may be heard as a the existing audio equipment
danger of two slight glitches slight glitch, or it might be having some form of preamplifier
being audible as it switches “invisible” to the listener. output and power amplifier input
around the click. This all depends on the arrangement. This Scratch
nature of the signal and the Blanker should work with any
relative signal voltages at the power amplifier that has a spare
SCRATCH BLANKER beginning and end of the high level input.
The more simple method blanking period. Even if a slight Another advantage of this
adopted here is a glitch can be perceived, it will approach is that it helps to reduce
straightforward blanking be nothing like as disconcerting the noise and distortion produced
approach. The listener again as the noise pulses it replaces. through the delay-line. Noise is
hears what is actually a slightly not a major problem as only a
delayed version of the signal, short delay is required, and the
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 19
Maxfield & Montrose Interactive Inc
!%F
&RQVWUXFWLRQDO 3URMHFW
F
CLICK DETECTION
?ED@ED
?ED@ED
B978D
<56D
C;"
C;$
3!&
In order to provide the
P
P
3#!
!
desired blanking action the
!
3!$ circuit must provide suitable
3!%
3")
! ^
! ^
##^
##^
3#
control pulses to the hold
'
'
B"$
B$&
[
'[%
93! R
'[%
B"#
B$%
<6#%#>
<6#%#>
93&R
!
with which this can be done is
%
&
%
&
B$#
B$$
B""
program material.
##[
##[
##[
##[
B$"
%&[
%&[
B"
With something like a
$' ^
$' ^
3!"
3"'
3" (
3!#
P
P
$'
$'
93! Q
<6#%#>
<6#%#>
93&Q
!
!
the general modulation level is
(
$
quite low, any serious scratches
#
"
#
"
B$!
B!)
# ;#
#;#
3!!
$ '
!!
3"&
$ '
"
P
thumb”. Things are much more
?ED9>
9>?ED
$ &&25
93%R
93%Q
$ &&25
3?>DB?<
!$
'
9>?ED
?ED9>
!"
!#
3"%
("`
3!
D? DB9
<6#%!>
&
&
93$
93)
B!(
$'[
$'[
'
$
#
"
"
B#)
B!&
B!'
B# (
!
3"$
P
P
3)
B!%
#)[
#)[
""`
3(
3!
%
93#
Q
!
!>$!$(
F44
4!
3<;!
3<;"
F77
$
(
B#'
B!"
B#&
$' [
$'[
$' [
$'[
!"
!"
$
"
$
3<;!
F77
3<;!
F77
3<;"
3<;"
?ED"
?ED"
!$
B!!
B#%
%&[
%&[
$
$
93"
93(
F44
44
?ED!
?ED!
=>#
=>#
!!
!#
!#
B#$
%&[
%&[
B!
9>@ED
9>@ED
7> 4
7>4
!
#
'
>5%%#">
>5%%#">
93!R
93'R
%
&
&
## `
B##
B)
$['
$['
B#"
$['
D? B$'
D? B$(
3"!
3%
#^#
B#!
$['
$['
B'
>5%%#">
93!Q
93'Q
!
!
!%[
:
B%
B")
P
!%[
P
3$
B&
3"
$'
$'
B#
##
(
$
"
"
!=
B"&
B"'
B"(
B#
!=
""[
!=
!=
B"
B$
3!)
$'^
$'^
3#
main signal.
B"%
%& [
P
B!
%&[
3!'
P
3!(
P
3!
3"
B978D
9>@ED
9>@ED
!
!
!
<56D
C;!
C;#
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 20
Maxfield & Montrose Interactive Inc
&RQVWUXFWLRQDO 3URMHFW
Q !%F
4"
B54
[
B$) B%$ B%( B&" B&&
&[( ! [ ""[ ## [ &[(
3#%
B&$
!P
#[)
$ (
BCD F5
&
B%% D8B
93!#
&([ B&!
D? 93!
93!! 93!"R !%[ D? 93% @9>C
@9> ! ' DC%%%3>
3#" 3## 3#$ D< '"3> !" 1>4 !#
# D< '!3>
93!"Q ' #
"^" "^" "^" 3#' 49C38 ?ED
B$' & %
( D< '"3> ""^
## B%'
" # '
([" DB97 7>4
! &
" !
$
"
B%! B%#
B&
#[# "[' B&%
D? 93' ! [
$ ([" 3$
@9> !
! ^
! [ R
3#& C5>C9D9F9DI
P
" " B&#
U
Fig.5. Circuit diagram for the “click” detector stages of the Scratch Blanker.
C"Q D!
middle and high frequencies, <
"# F
4#
and the high-pass filtering !%F
!>$
Q
"
[
?>?66 B54
Next the signal is amplified [
F
to a level that enables it to 5
trigger a monostable. A Fig.6. Scratch Blanker power supply circuit diagram.
Sensitivity control enables the
trigger level to be set high CIRCUIT OPERATION load impedance of 100k.
enough to give reliable The low-pass filter ahead of
The main circuit diagram for
triggering of the monostable, the delay-line is a conventional
the Scratch Blanker, showing
but low enough to prevent large three stage (18dB per octave)
the signal processing stages,
parts of the main signal from type based on IC1b. Its cut-off
appears in Fig.4. The circuits for
being obliterated. The frequency is at approximately
the “click” detection and mains
monostable produces an output 20kHz.
power supply unit appear
pulse of about 3 5 milliseconds
¬
separately in Fig.5 and Fig.6.
in duration, which should be
sufficient to blank any scratch. Starting with circuit Fig.4 DELAY-LINE
and the left-hand channel (the The charge-coupled delay-
The hold circuits require low right channel is identical), the
output pulses, but the output of line IC2, is a MN3004 512-stage
input stage uses operational device. In common with other
the monostable is normally low amplifier IC1 as a non-inverting
and pulses high. An Inverter CCD delay-line chips it makes
circuit having its closed-loop available the outputs of the last
stage is therefore used to voltage gain set at 45 by
process the output of the two stages. The point of this is
resistors R5 and R6. The input that it is not possible for a stage
monostable and produce a impedance is set at about 50k
suitable control signal for the to simultaneously receive a
(kilohms) by resistor R1, which fresh sample and provide an
hold circuits. A LED indicator is is the optimum figure for most
also driven from the inverter output at the previous sample
magnetic cartridges. Increase voltage.
stage, and this flashes each the value of R1 and R25 to
time the unit is triggered. 120k for types that require a A simple solution to this
problem is to mix the output
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 21
Maxfield & Montrose Interactive Inc
&RQVWUXFWLRQDO 3URMHFW
This is not the case here,
because the input stage
provides most of the
amplification, and only a
modest amount of gain is
required from the equalization
stage. In fact, a degree of
attenuation is required at high
frequencies.
This stage is, therefore,
based on an inverting mode
circuit rather than the more
usual non-inverting type, and
the value of resistor R20 has
been made quite high so that
the voltage gain is kept in
check. With some power
amplifiers and cartridges the
signals from the last two stages. than enough time for the “click” output level might be
One or other of the stages will detector to activate the hold inadequate. Reducing the value
always have its output switched circuit. The latter uses one of of resistors R20 and R42 to
on and will supply a valid the four analog switches in a about 10k (kilohms) will
sample voltage. CMOS 4016BE or 4066BE increase the gain of the
Resistors R10 and R11 are (IC5a). The 4016BE is the equalization circuit and cure this
load resistors for the last two device normally recommended problem.
stages of the delay-line, with for audio applications, but The circuit has only a
R12 and R13 acting with IC4 as several samples of the 4066BE limited amount of “headroom’”,
a conventional summing mode were tried in this circuit and so this modification should only
mixer to combine the two output worked equally well. One of the be made if it is really necessary.
signals. other switches in IC5 (d) is used Otherwise at high volume levels
in the right-hand channel, but the signal may be clipped.
Capacitor C10 provides a the other two are left unused.
6dB per octave roll-off above
With the specified values
the audio range and provides
for resistor R19 and capacitor CLICK DETECTOR
the initial low-pass filtering to
remove the stepping on the C11 the hold circuit produces an In the Click Detector circuit
output signal. The equalization output at a central bias level (see Fig.5) opamp IC11 is used
amplifier provides most of this during the blanking periods. as a conventional differential
filtering though. Using values of 330 ohms and amplifier at the input. An active
10 nanofarads provides a true three-stage (18dB per octave)
hold action, with the final signal high-pass filter based on IC12a
CLOCKING ON voltage being held until the end follows this. The filtered output
The delay-line requires a of the blanking period. Results signal from IC12a is amplified
two-phase clock signal and a seem to sound much the same by IC12b, which operates as an
bias voltage, both of which are either way. IC6a is the buffer inverting amplifier having a
provided by matching support amplifier for the hold circuit. voltage gain of about 12. The
chip IC3. Most components are boosted signal from IC12b is
fed, via capacitor C37, to
duplicated in the right-hand EQUAL MEASURE Sensitivity control VR1, and this
channel, but this stage provides
the clock and bias signals for The other section of IC6 (b) is connected as a volume
both channels. is used in the equalization control style variable attenuator.
amplifier. Normally a stage of The monostable stage has
The clock frequency is this type would be required to
about 300kHz, which gives a low power timer IC13 connected
produce large amounts of as a standard 555 monostable.
delay of just under one amplification at middle and low
millisecond. This gives more It is not advisable to use an
audio frequencies.
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 22
Maxfield & Montrose Interactive Inc
&RQVWUXFWLRQDO 3URMHFW
6C!
B&'
B B B
B B B 93!! 3#% %$ %# %% 93!"
B
&
B 3
%( #'
3
#(
B
&! 93!# B
&"
B
&&
B
&$ 93!$
$' $( $) 3
?ED $#
3?= 4#
3 3 3
DB! 9>
#" ## #$ 3
B B B B B B B 3$!
S $"
% %! %& %' %) &# &% 3 3 R
$ #) 4$
B%" 3#& U
B B B
3"%
3"' 3
#$ #% #( ")
3!' B
"&
B
")
B$
93! B
$#
B
$%
3#!
B 93' B B B 93( 93) B
# #! #" 3 ## B B $!
3!(
"" #& #' B B B B
B 3
B B #)
3"& $" $$ $& 3
"' "( 3 3 3"$ #
"% !) 3" 3"(
"# "!
4! B B B
3!
3!" 3
3! B B ! !! !& B!( B B !$
" % B "! "#
!)
3" B 93! B B B 93# 93" 93$ 93% 93&
& ' ( 3 ) B B B B 3!&
& !% !$ !" !#
B B
3
(
B
!' 3) 3!!
B
"
B B
"" "$ 3
B 3 # $ !%
! # 3 3
3!#
' %
3$
"%
Fig.7. PCB topside component layout and (approximately) full size underside copper foil
master for the Scratch Blanker. The interwiring between the PCB and off-board
components is shown in Fig.8.
ordinary 555 timer for IC13 as Resistor R62 and capacitor conditions, resistors R61 and
the standard 555 chip tends to C39 are the timing components R63 bias pin 2 just above this
“crowbar” the power supply on and they set the nominal output level, but strong negative half
output transitions. This would pulse duration at 3 63 ¬ cycles from control VR1 will
tend to introduce noise spikes milliseconds. The trigger input take the input below the
into the signal paths, reducing at pin 2 of IC13 must be taken threshold voltage and trigger
the effectiveness of the unit. below one third of the supply the monostable.
Low power 555 timers such as potential in order to trigger the Transistor TR1 is a simple
the TS555CN are free from this circuit. Under quiescent common emitter switching stage
defect.
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 23
Maxfield & Montrose Interactive Inc
&RQVWUXFWLRQDO 3URMHFW
FB! C!
@?G5B
4% 4"
C5>C9D9F9DI
9>?ED
6<1D
[ Q [ Q
!%F "# F
F ?>?66
!%F
D! C"
F F
B8 9>
B8 ?ED
C;#
C;$
C?<45B D17
?> 381CC9C
<8 9>
<8 ?ED 51BD8 >5EDB1< <9F5
7B55>I5<<?G 2<E5 2B?G>
C;!
C;"
=19>C <514
Fig.8. Interwiring details from the PCB to off-board components. Note you must use
screened leads from the PCB to the input and output sockets (SK1-SK4).
that inverts the output signal supply at a maximum current of transformer T1 provides
from IC13 and also drives LED no more than about 60mA or so. isolation from the mains and the
indicator D2. This LED will flash A suggested mains driven required voltage step-down.
briefly each time the unit is Power Supply circuit diagram is Rectifier diodes D3 and D4
triggered. given in Fig.6. (Note that this provide full-wave rectification
Switch S1 provides in/out power supply is designed for and capacitor C41 the
switching. The unit functions use with a 240V 50Hz mains smoothing. The unregulated
normally when S1 is open, but supply. If your mains supply supply is fed, via fuse FS1, to a
closing this switch holds TR1 in is different you will need to 15V monolithic voltage
the off state, and inhibits the modify this circuit regulator (IC14) that produces a
blanking action. accordingly, in which case well-stabilized output and also
it is recommended that you contributes further smoothing.
consult a qualified A 78L15 (100mA) regulator
POWER SUPPLY electrician).
The power supply must Mains
provide a well smoothed 15V
Completed circuit board ready for mounting Prototype model showing, in close up, posi-
inside the metal case. tioning and wiring to the mains transformer.
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 24
Maxfield & Montrose Interactive Inc
&RQVWUXFWLRQDO 3URMHFW
COMPONENTS
Resistors Capacitors Semiconductors (cont.)
R1, R10, R11, R20, R25, R34, C1, C17 100u radial electrolytic, IC2, IC8 MN3004 512-stage
R35, R42 56k (8 off) 16V (2 off) delay-line (2 off)
R2, R26, R58, R59 22k (4 off) C2, C9, C16, C18, C24 10u IC3 MN3101 clock generator
R3, R4, R27, R28 1M (4 off) radial electrolytic, 25V (7 off) IC4, IC9 LF351N bi-FET opamp (2 off)
R5, R29, R61 15k (3 off) C3, C19 47n polyester (2 off) IC5 4066BE or 4016BE quad
R6, R30 330 ohms (2 off) C4, C13, C20, C28 47u radial CMOS switch
R7, R8, R9, R31, R32, R33, electrolytic, 25V (4 off) IC6, IC10 LF353N dual bi-FET
R52 4k7 (7 off) C5, C21 3n3 polyester (2 off) opamp (2 off)
R12, R13, R18, R36, R37, C6, C22 6n8 polyester (2 off) IC11 TL071CN bi-FET opamp
R40 47k (6 off) C7, C23 330p ceramic plate (2 off) IC12 TL072CN dual bi-FET opamp
R14, R15 39k (2 off) C8 22p ceramic plate IC13 TS555CN low-power timer
R16, R17, R23, R38, R39, R45, C10, C25 82p ceramic plate (2 off) IC14 7815 15V 1A positive regulator
R60 100k (7 off) C11, C26 4u7 radial electrolytic,
R19, R41, R47, R48, R51, 50V (2 off)
Miscellaneous
S1 s.p.s.t. miniature toggle
R67 3k3 (6 off) C12, C27 470n polyester (2 off)
S2 rotary mains dual-pole on/off switch
R21, R22, R43, R44 33k (4 off) C14, C29 33n polyester (2 off)
SK1 to SK4 chassis-mounting
R24, R46 7k5 (2 off) C15, C30, C39 10n polyester (3 off)
phono sockets (4 off)
R49, R50, R66 6k8 (3 off) C32 to C34 2n2 polyester (3 off)
FS1 100mA 20mm quickblow fuse
R53 2k7 C36 2u2 radial electrolytic, 50V
T1 standard mains transformer, with
R54, R63 10k (2 off) C37, C38 22n polyester (2 off)
15V-0V-15V 100mA secondary
R55, R56 68k (2 off) C40, C42, C43 100n ceramic (3 off)
R57, R65 8k2 (2 off) C41 1000u radial electrolytic, 25V
Printed circuit board available
R62 330k
from the EPE Online Store , code
R64 3k9
7000250 (www.epemag.com);
All 0.25W 5% carbon film Semiconductors medium to large instrument case, see
Potentiometer D1 1N4148 silicon signal diode text; 8-pin DIL socket (10 off); 14-pin
VR1 10k carbon rotary linear D2, D5 5mm red panel LED (2 off) DIL socket (3 off); 20mm chassis-
D3, D4 1N4002 100V 1A rectifier mounting fuse holder; control knob
See also the diodes (2 off) (2 off); mains lead and plug; screened
SHOP TALK Page! TR1 BC549 silicon npn transistor cable; connecting wire; solder pins,
IC1, IC7 NE5532N dual opamp (2 off) solder, etc.
Approx. Cost
Guidance Only $86
(Excluding case and mains lead/plug)
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 25
Maxfield & Montrose Interactive Inc
&RQVWUXFWLRQDO 3URMHFW
can handle the currents ordinary 20mm chassis rear panel of the case. The
involved here, but might mounting fuseholder that is controls and the two LEDs are
overheat due to the power bolted to the circuit board. The mounted on the front panel, the
levels involved. Hence, a 7815 board is connected to the tags exact layout is not too
(1A) regulator is specified for of the fuseholder by way of two important.
IC14. Diode D5 is the power solder pins fitted on the board. However, On/Off switch S2
indicator LED, and R67 is its With the tags of the holder in an should be positioned well
current limiter resistor. almost horizontal position it towards the right-hand end of
should be quite easy to solder
CONSTRUCTION them to the pins.
the panel close to T1, with the
other controls reasonably well
As this project is mains
separated from it. A solder tag
powered and is fairly complex it
CASING UP bolted to the base panel
is not really suitable for
provides a connection point for
beginners. The use of a custom Readymade hi-fi style cases the mains Earth lead.
printed circuit board (PCB) are “a bit thin on the ground”
does, however, help to keep these days, so it is a choice
things reasonably between the do-it-yourself INTERWIRING
straightforward. approach and settling for an Details of the hard wiring to
The component overlay for instrument case. Either way the the PCB and off-board
the circuit board appears in case must be about 250mm components are provided in
Fig.7, together with the wide and 150mm deep in order Fig.7 and Fig.8. This is largely
(approximately) full size copper to accommodate everything straightforward, but as some of
foil master pattern. This board is comfortably. the wiring carries the mains
available from the EPE Online As this project is mains supply it is essential to take
Store (code 7000250) at powered it must have a case extra care and to double-check
www.epemag.com that is made from METAL, the entire wiring once it has
The only static-sensitive and the case must be reliably been completed. The input
components are IC2, IC3, IC5, EARTHED to the mains’ Earth wiring is very sensitive to stray
and IC8, and the normal lead. It is also essential to use a pick-up of mains “hum”, and
handling precautions should be case that has a screw fitting lid, screened cable MUST,
observed when dealing with and not a clip-on type that therefore, be used for the
these devices. It is advisable to would permit easy access to the connections from phono sockets
use holders for all the other DIL dangerous mains wiring. The SK1 and SK3 to the circuit
integrated circuits as well. mains lead can be wired direct board.
Voltage regulator IC14 might to the unit, but the safer option Indicator LEDs D2 and D5
become quite warm in use, but is to mount an IEC mains inlet will not work properly unless
it should not be necessary to fit on the rear panel of the case they are connected the right
it with a heatsink. and use a standard IEC mains way round. The polarity of LEDs
Construction of the board lead. is normally indicated by the
largely follows conventional The circuit board is cathode (k) lead being shorter
lines. A few link-wires (9 off) are mounted on the left-hand than the anode (a) lead. It is
required, and these are made section of the base panel using advisable to use high brightness
from 22s.w.g. or 24s.w.g. tinned 6BA or metric M3 screws (see LEDs, particularly for D2, which
copper wire. They are photographs), plus the usual receives only very brief pulses
reasonably well spaced out so it spacers to keep the underside of current.
is not essential to insulate them of the board clear of the metal A mains transformer having
with pieces of sleeving. case. Mains transformer T1 is a 15V-0V-15V secondary
The capacitors must be mounted on the extreme right- winding is required for T1, but
miniature PCB mounting types hand section of the base panel modern mains transformers
in order to fit into this layout so that it is as far away from the almost invariably have twin
properly. The polyester circuit board as possible. secondary windings. These can
capacitors should have a lead The input and output effectively produce the required
spacing of 5mm (0·2 inches). connectors are phono sockets, type of secondary winding if
and they are mounted on the they are connected in the
Fuse FS1 fits into an
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 26
Maxfield & Montrose Interactive Inc
&RQVWUXFWLRQDO 3URMHFW
manner shown in Fig.8. to the power amplifier using Sensitivity control VR1 fully
normal screened phono leads. advanced in a clockwise
Note that some mains
The record deck will probably direction the “clicks” should be
transformers also have twin
have an earth lead, and results blanked, but it is likely that
primary windings. For use on
will probably be best with this sections of the recording at high
the 230V UK mains supply the
connected to the earth terminal modulation levels will also be
two primary windings must be
of the power amplifier. If this removed.
connected in series. Use
gives problems with “hum” Control VR1 should be
pieces of sleeving to insulate
loops try adding a suitable adjusted for the highest
any connections that carry
connector to the case of the sensitivity that does not result in
the mains supply. Scratch Blanker so that the significant blanking of the
deck can be earthed here wanted signal. Since modulation
TESTING instead. levels vary slightly from one
In use the record deck Using a suitably “click” record to another, the optimum
connects to input sockets SK1 infested test recording, it should setting for VR1 will also be
and SK3, and the output soon be obvious whether or not slightly different for each record.
sockets (SK2 and SK4) connect the unit is functioning. With
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 27
Maxfield & Montrose Interactive Inc
,QWHUHVWHG LQ SURJUDPPLQJ 3,& PLFURFRQWUROOHUV"
/HDUQ ZLWK PICtutor E\ -RKQ %HFNHU
This interactive presentation uses the specially
developed Virtual PIC simulator to show exactly
what is happening as you run, or step through,
a program. In this way, the CD brings the EPE
PIC Tutorial series to life and provides the
easiest and best-ever introduction to this
subject.
Two levels of PICtutor hardware are available -- Standard and Deluxe. The Standard
unit comes with a battery holder, a reduced number of switches, and no displays. This
version will allow you to complete 25 of the 39 tutorials -- it can be upgraded to
Deluxe at a later date, by adding components, if required.
The Deluxe development kit also has a battery holder (so it can be used around the world), all
switches for both PIC ports, plus LCD and 4-digit 7-segment LED displays. It allows you to
program and control all functions and both ports of the PIC, and to follow all 39 tutorials
on the CD-ROM.
All hardware is supplied fully built and tested and includes a PIC16F84 electrically erasable
programmable microcontroller.
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, February 1999 - www.epemag.com - 239
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!
6(( 7(; 7
67$57 2) :,1',1 *
7
7 &7
5
0, &527252,'
Ω
6(( 7 (;7
5 5
Ω Ω
7
7
'
6
1
E E E
% &
7
9 72 µ
% & 95 9. 5
9 72 µ N
H H
D
H
N
.
9 '
' 9 # P$ 1
75
&
75
1 9 1 2 /2$' N
D N µ
9OUT
= 7; %& F 9 5
F 5
E
Ω E
N
& &
µ Q
H
H
9
9
D
E
Fig.1. Low Cost AA to PP3 Converter. (a) Simple converter and (b) pulse skipping
regulated version.
truding wires to 25mm. the tap (ct). If the circuit fails to charge characteristic will mini-
The bead now contains two oscillate, check the tap is cor- mize supply drift.
sets of 20 turns with two starts rectly formed; otherwise, it is
most likely a shorted turn. Z. Kaparnik
at one extremity and two ends Swindon, Wilts, UK
at the other. Join an appropriate Using a NiCad or NiMH bat-
start and end together to form tery with its virtually flat dis-
B<1!
>5G CG9D38
rent triggers the unit into lifting B! 1>4 9>4931D?B
B"
DB! 9=? 51"!">E
23!($ <?G3EBB5>D
! [ S
3?9<
The circuit shown in Fig.2 R
control was mislaid. tor LED. vides a much lower holding cur-
The extra switch S2 and To minimize the current rent for the relay to reduce the
dual color LED D3 are placed in drain from the door control unit current consumption. Diode D1
parallel with the existing operat- and prevent the door inadver- provides reverse polarity protec-
ing switch. The supply to D3 is tently opening or closing, it is tion and resistors R2 and R3
reversed when the relay RLA is important that the relay has a provide some protection for
on, turning the green LED low current coil. An IMO/ Omron TR1 against short circuits to the
(closed) off and the red LED EA2-12NU was used, whose supply connections. All the
(open) on. coil is fed via resistor R4 and usual precautions should be ob-
capacitor C1 to reduce the hold- served when operating electric
A standard alarm reed prox- garage doors, making sure vehi-
imity switch, S1, is mounted on ing current as follows:
cles, children and others are
the garage door frame with the When the relay is off C1 kept well clear.
accompanying magnet fitted to charges up to the supply volt-
the door. When the door is age, approximately 17V and Keith Wevill
closed the reed switch is closed acts as a reservoir. When TR1 Ratby, Leics, UK
which turns transistor TR1 and turns on, the capacitor supplies
the relay off by shunting the most of the pull-in current re-
base (b) current to 0V. When quired by the relay to operate it.
the door is open, TR1 drives the When capacitor C1 has dis-
relay, which changes the indica- charged, the resistor R4 pro-
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 30
Maxfield & Montrose Interactive Inc
9(+,&/( )5267 %2; E\ 67(9( '(//2:
Black ice on the road can be a killer. This design thermometers, and
helps predict when it might occur. thermocouples to mention but a
few – all are used in
Vehicle manufacturers strive down at road level. The Vehicle environment monitoring, but
to make our driving experience Frost Box gets us right there! most are outside the budget (or
ever more comfortable. Such practicality) of the average
items as ride control, power home constructor. We are
DESIGN BASIS therefore looking for an
steering, electronic engine
management, and air- The Vehicle Frost Box is approach that’s cheap, reliable,
conditioning now appear as powered from the vehicle linear, and has low thermal
standard fit on many vehicles. As ignition supply, and uses a mass, thereby allowing a quick
a result we become more and remote temperature sensor that response to variation in air
more detached from the outside can be mounted close to the temperature.
environment. road surface. The display is a The chosen technique here
single tri-color light emitting is to make use of the physical
One of the most important
diode (LED) element mounted characteristics of a silicon
considerations would seem to be
within the driver’s compartment, semiconductor junction, in the
the quality of the contact between
and some simple circuitry drives shape of a diode. The voltage
tires and road surface, a factor
it in three modes to indicate the drop across these devices when
that directly affects our style of
variation of external forward biased is related to a
driving. We generally notice if the
temperature. number of factors, but the two
road is wet, muddy or covered in
leaves and take appropriate Above 4
C, the LED shows we are interested in (and have
precautions, but we can’t see a steady green, indicating that control over) are current and
black ice. For this we need an the likelihood of ice is low, and temperature.
external temperature sensor, reassures us that the Frost Box
warning us when the likely is operational. As soon as the
conditions for ice on the road are sensor detects the temperature 5(68/7$17 &855(17
should be taken.
OPTIONS
,&
1
$%29( '(*5((6 *5((1 6(7 7+5(6+2/' 287 ,1 N D
,1 ,&(' :$7(5 86,1* 95
%(/2: '(*5((6 5('
5 5 5
N N N 5 5
Ω Ω
75
5
,&F
7+5(6+2/' N
95
%&&
N F
5 E
5
Ω
,&E
N
5
H
,&D
N
D N
' '
5
75
1 1
& N
N D
Q
%&& 5
F
N
E
,&G
5
N H
5
N
5 5 5 & 5
N N N µ N
9 *5281'
5a N *a
'
D D D
6&5((1 '
1
N N N
7(03(5$785( 5(' *51
352%(
352%( D 5 5 F
0 0
C, which is much easier to E
1 1
& 5
work with. N H 2
FLASHING CLEVER!
Now for the clever bit!
When the voltage falls further
and reaches freezing point, we
want to enable an oscillator that
will flash the LED at a controlled
rate. This is achieved by the
components around the fourth
op-amp, IC1d. Fundamentally,
the comparator function is
present again here, but used to
much greater effect!
The oscillator function is
created by setting a voltage
threshold at the non-inverting
input (pin 12) which varies when
the output of the opamp
changes state – this is basically
referred to as a Schmitt trigger
action.
The use of feedback related
to the output state (high or low)
controls the threshold at which
the comparator switches. This
configuration sees most use as
an input circuit buffer to “clean-
up” slowly varying signals and
create a sharp switching point.
By linking a C/R (capacitor/
resistor) network to the inverting
input (pin 13) the circuit can be
made to oscillate in a controlled
fashion.
When the output of this
opamp is high, capacitor C2 will
charge up through resistor R11,
but when the output switches
low, it starts to discharge along
the same route.
Since the junction of R11
and C2 is connected to pin 13 of
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 34
Maxfield & Montrose Interactive Inc
&RQVWUXFWLRQDO 3URMHFW
COMPONENTS
Resistors &25( 29(5$//
',2'(
D N
R1, R2 4k7 (2 off) 6&5((1('
R5 6k8
R6 12k
%/8(
R7, R11 100k (2 off)
R8 2k
R9 820 ohms
R10 2k2 6&5((1 &87
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 39
Maxfield & Montrose Interactive Inc
SURFING THE INTERNET
By Alan Winstanley
3?=
B54 known both as a preset
potentiometer (or just preset) and
2<;
3! B" as a trimmer potentiometer. A
4! B$ preset is normally a much smaller
[ Q 4# component than a control
Q [ potentiometer and is usually
F?ED#
mounted on a printed circuit
board. As you have just found, it
has a slot by which it can be
21DD5BI
adjusted using a small
&F screwdriver or similar tool.
Presets are usually intended
Fig.3.1. The oscillator of Fig.2.14 (Part 2) modified to include a to be adjusted to set an exact
preset potentiometer for variable control. resistance or voltage value, which
may seldom need to be adjusted
potentiometers, which are Fig.3.2b). As with a fixed again. The symbol for a preset
resistors with a sliding contact resistor, there are two does not use an arrow on its
that allows us to set an exact connections at either end of the wiper, but a short line shown in
value of resistance at that point resistance material, which is parallel to the track outline
and, by implication, to set not commonly known as the track. (Fig.3.2b).
only precise current flow values, The third (middle) connection is
but also precise voltage levels. made to a conducting slider, CALLING THE POT
This family of components commonly known as the wiper,
makes life so much easier when which is in contact with the track It’s worth noting that the use
fine-tuning a circuit to your and can be slid along it from of the term potentiometer (often
needs – as you’ve just found! one end to the other. abbreviated just to pot) may in
many circumstances actually be
Circuit diagram symbols for The current or voltage
an incorrect use of the term. In
potentiometers are shown in available at the wiper is related
strict definition, the correct term
Fig.3.2. As with resistors, there to the position that it has along
is really as we first named it,
are two standards in common the track. It should be noted,
variable resistor, even though its
use, zig-zags and boxes. Other however, that the basic
actual resistance along the full
differences between the resistance of the component
length of the track does not
symbols will become apparent. itself does not vary, it is only the
change.
As we said in Part 1, EPE and relative resistance between the
EPE Online have standardized wiper and each end terminal Strictly speaking, the term
on zig-zags. that can be varied. potentiometer applies only when
the variable resistor is used as a
Physically, potentiometers
potential divider whose output
POTENTIOMETERS fall into two main types: first,
potential (voltage) at the wiper
there are the control
A basic potentiometer has can be varied, a situation in which
potentiometers, those that have
three connections or terminals all three terminals of the device
a shaft or tab which usually
(as you will see from the have to be used. (You met the
protrudes through the panel of
symbols in Fig.3.2a and concept of a potential divider
the case in which the circuit is
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 43
Maxfield & Montrose Interactive Inc
7($&+,1
1 2
Dual rotary types have two minimum track-to-wiper
tracks and wipers mounted in resistance change with their
separate enclosures, secured shaft rotated fully anti-clockwise
3?>DB?< @B5C5D one behind the other, and are (to the “left”). Anti-log types
@?D5>D9?=5D5BC available in two versions. (rarely available from retail
The dual tandem type has a sources) behave in the opposite
single shaft, which controls both direction. Slider pots (not
3 4
wipers at the same time. The illustrated) are not made as
dual concentric type (which is anti-log versions – just turn log
not commonly available) has types round the other way!
3?>DB?< @B5C5D two shafts, one within the other, Some rotary pots and
which allows each wiper to be presets are available as multi-
F1B912<5 B5C9CD?BC
controlled separately. turn varieties; the adjustment
Fig.3.2. Typical potentiome- shaft is geared so that the wiper
Dual slider pots have a
ter and variable resistor rotation is less than the shaft
single tab, which controls both
symbols. wipers simultaneously. rotation. These pots are only
available in single, linear forms.
when resistors in series were An example of a multi-turn
examined in Part 1.) LINEAR AND preset is shown in Photo 3.1,
There are many instances, LOGARITHMIC
though, when the voltage is not PANEL 3.1 – POTENTIOME-
All control
the condition that needs to be potentiometers have a TER TYPES
varied, but rather the choice of track o) Panel mounting, rotary with shaft.
resistance. In this case only the resistance type:
wiper and one other terminal sub types: single, dual tandem, dual con-
linear, logarithmic, or centric, linear, log, anti-log, multi-turn lin-
need to be connected, and the anti-logarithmic, terms
true description of variable ear.
which are commonly
resistor is the one which should abbreviated to lin, log o) Panel mounting, slider with tab.
be used rather than and anti-log. sub types: single, dual tandem, linear, log.
potentiometer. There are
specific symbols that are Linear tracks have
the same change of o) Printed circuit board (PCB) mounting, ro-
commonly used in this situation, tary with shaft.
as shown in Fig.3.2c and resistance per track
length along the whole sub types: single, dual tandem, dual con-
Fig.3.2d. centric, linear, log, anti-log, multi-turn lin-
of the track; in other
Even though only two words, the output at ear.
terminals need to be used, it is their wiper changes
usually desirable to connect the o) PCB mounting, slider with tab.
linearly with linear
third terminal of a variable movements along the sub types: single, dual tandem, linear, log.
resistor to the wiper. This track. With
ensures that a minimum circuit o) PCB mounting, preset rotary with adjust-
logarithmic tracks, the ment slot.
resistance still exists even if the resistance per track
wiper comes away from the sub-types: vertical or horizontal mounting,
length step changes
track in a fault condition. open (skeleton) or enclosed tracks. All
along the track, by a
tracks are single, linear.
Control potentiometers are small amount at one
available as rotary shaft and end, progressing o) PCB mounting, preset slider with screw
slider types, both of which are logarithmically to a adjustment.
manufactured in single and dual larger amount at the sub-types: vertical or horizontal mounting,
configurations. Photo 3.1 shows other; in other words, single turn or multi-turn. All are enclosed
standard single and dual rotary their output varies and all tracks are single, linear.
types (top left and right in the logarithmically with
photo) – see a major linear movements All pots are available in a variety of body and
component supplier’s catalog along the track. shaft or tab sizes. Anti-log and dual concen-
for illustrations of the other tric types are only available through special-
Logarithmic rotary ist suppliers.
types. types have the
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 44
Maxfield & Montrose Interactive Inc
7($&+,1
approxima As we mentioned earlier, the
tely 270 .
arrow pointing to its central
This is the position represents the wiper.
typical To the right of the symbol are
angle two resistors in series. These
through represent the equivalent
which an resistances between the wiper
average and the two outer terminals.
pot’s track The twin-resistors are
is repeated below each pot arc
effective. and there you will see that the
Note that resistance values for each
there are section of the pot are
slight numerically shown in ohms.
differences Additionally, the voltage at their
of junction (the wiper) is also
Photo 3.2. Linear and logarithmic control maximum given, and is identical to that in
potentiometers illustrated on the interactive angle between the illustrations above them.
computer screen. pots from
As you change the rotation
different
see the small “square” device angle, its numerical value in
manufacturers. Some pots may
(other types exist). degrees is shown top right of
also have a greater physical
the screen.
angle of wiper travel than their
track. Within the graph area, three
POTENTIOMETE R movable lines are shown. The
PROGRAM You will have noticed a lot
white vertical line represents the
of screen activity occurring
We have set up a software position of the wiper, with a
when you pressed the <+> and
program that illustrates the simple Min, Mid and Max
<–> keys. The first point of
difference in response between notation along the bottom edge
interest is that the voltage
linear and logarithmic of the boxed outline.
shown at the line connecting
potentiometers. From the main vertically to the wipers changes The green and yellow
menu in the Teach-In 2000 according to the rotation angle. horizontal lines represent the
software (which is available for It is also relative to the voltage percentage rotation of the
free download from the EPE between the left and right hand wipers, lin and log respectively.
Online Library at ends of the track, which at The position where these lines
www.epemag.com) select present is shown as 10V. cross the movable vertical line
option Potentiometers. See and the graph line of the same
You also will have seen that
Photo 3.2. color is the relative co-ordinate
the wiper voltages of the two
At the top left of the screen for the wiper.
pots are significantly different
are two nearly-circular yellow for most positions around the The graph illustration is
arcs. These represent the track. The progressions are, of really only for interest and has
resistive tracks of a rotary course, linear and logarithmic little practical application. It’s
potentiometer. The wiper of respectively. The two graphs at the voltage and resistance
each pot is represented by the the right of the screen illustrate numerical values that are of
white line angled from the how the wiper voltages change greatest significance.
centre of the arc to its left-hand with their positions along the
end. This line’s angle can be tracks.
changed by using the <+> (plus)
PROGRAM
and <–> (minus) keys for angle VARIABLES
steps of 1, or <*> (multiply) and EQUIVALENT
The potentiometers are
</> (divide) for steps of 10. Try
them.
RESISTANCES each of the same value, 100k :
Looking to the right of the as shown. This can be changed
The angle between the start pot arcs, the symbol for a by using the up or down arrow
and end of each pot’s track is control potentiometer is shown. keys to highlight VR1 on the
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 45
Maxfield & Montrose Interactive Inc
7($&+,1
right-hand side. PANEL 3.2 – TRACK TYPES
Potentiometers are normally
o) Carbon film. General purpose.
only available in values of three
steps per decade: 1, 2 2 and 4 7.
¬ ¬
o) Cermet (ceramic-metal). Precision (cermet tracks have a less
Some manufacturers use steps coarse nature than carbon, resulting in a smoother change of re-
sistance when rotated).
of 1, 2 5 (or even 2) and 5.
¬
VOLTS at the screen right is and 4 7 (or 5) in decade multiples of 100, 1000 (1k), 10000 (10k),
¬
highlighted. Use the up/down 100000 (100k) and 1000000 (1M up to 2M2).
keys to access it, and the
o) Power rating in watts (W).
arithmetic keys to change it. As
with our other software menu o) Resistance tolerance, expressed as a percentage of its set value.
options, the voltage steps are in o) Temperature coefficient, expressed as the amount by which the
1V, from 1V to 10V. set value will change with temperature, variously expressed as
There are no self-test parts per million (ppm) or percentage change per degree Celsius
exercises for this display, which (%/ C).
is purely for informative As we implied earlier, most pots are incapable of being rotated
demonstration.
through a full circle. About 270 is an average maximum wiper rota-
tion around the track, at which point the track ends and there is usu-
NOTATIONS ally a tab to prevent further shaftrotation.
However, at a price, pots with a track rotation angle approaching
In circuit diagrams and
constructional charts, a 360 can be found from specialist suppliers, those dealing with
potentiometer’s numerical robotics and other automation supplies, for example.
identity may be prefixed by “VR” Shaft rotation angles may sometimes be greater than track an-
(Variable Resistor), e.g. VR1 as
we used earlier, and in the
gles, and some shafts may rotate through 360 even though the track
does not. Good catalogs normally quote rotation factors.
computer display, or “RV”
(Resistor Variable) or “P” drawing errors, of course). There is a wide variety of
(Potentiometer) or even “PR” general and specific information
Potentiometer identities are
(Preset Resistor). on potentiometers in Panels 1 to
usually printed on them in text
Logarithmic pots are and numbers, although some 3, and it would be a good idea
normally notated as such on presets may be color-coded in to read through these now.
circuit diagrams. Linear pots are resistor fashion. As you may
not always notated accordingly; have discovered, presets may
if the pot is shown without a lin
SENSOR RESISTORS
also have a coded value of the
or log notation, it is a linear type form 104, where 4 states the We shall now tell you a bit
unless an associated number of zeroes following the about some other groups of
components list states 10; in this instance the preset’s components that come into the
otherwise (barring circuit value is 100000 ohms (100k ). : resistor category – sensor
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 46
Maxfield & Montrose Interactive Inc
7($&+,1
exist!
perhaps, be abbreviated to TDR
(Temperature Dependent When VDRs have a voltage
Resistor) to more accurately connected across them, their
describe its function, although B
P
¬
value to you in the future if you selected. The second triangle has
2mA = 2000 A want the computer to provide now come into play. Again the
answers via the 12 formulae order of the letters and the way
and for the three resistors in
shown. they are positioned illustrates the
parallel:
highlighted formula. Press the
:
In the main box, you will
I = 10V / 3333 333 = down arrow for the other two
see the three formulae for
P
¬
power formulae.
0 003A = 3mA = 3000 A
¬ Ohm’s Law itself. The next
column shows three very There are no visual aids for
Set up other resistance similar-looking formulae to do remembering the Relationships
values through the program with power calculation. The next formulae (what a shame!).
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 50
Maxfield & Montrose Interactive Inc
7($&+,1
Again return the highlight to electrons are said to flow. They and I = 0 001A, and the
¬
V = I x R, then look at the are concepts perceived by the computer states that, because
simple circuit diagram shown, in original researchers into of this, V = 4 7V.
¬
F5 ?B 93!S @9>& F5 ?B 93!S @9>& F5 ?B 93!S @9>& F5 ?B 93!S @9>&
FB! FB!
B! B! B! B! B!
! " ! " ! " ! " ! "
BH
3! 3! 3! 3! 3!
F F F F F
3?=
B54
However, you do not need
2<;
to measure both resistance and
3!
4!
21DD5BI voltage in order to make sense
&F
[ Q of the current reading. You only
need one fact to be established
beyond a shadow of reasonable
F5
21DD5BI
&F
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 53
Maxfield & Montrose Interactive Inc
7($&+,1
doubt, either the voltage, or the of the battery’s voltage. Now
resistance. Knowing one or the you’re getting somewhere!
other, and the current reading Knowing the current reading
shown by your meter, you can you made previously, you can
calculate what the other relate it to the voltage reading B
(unknown) value will be. just taken, and from them both !
Here and now, let’s assume discover the exact resistance of
the resistance value is the simple circuit.
unknown, and establish the true Why not just measure the
voltage value. Disconnect your resistor on the meter’s
meter and set it to a suitable resistance range? Yes, we B B
voltage range. Now you can " #
could, in this particular case.
measure the voltage supplied But suppose that you have a
by the battery, or can you? In complex circuit with all sorts of
fact the answer is … No, not at components, both active and
the moment! passive, and you want to know
the total resistance of that
21DD5BI
BATTERY circuit? &F
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 56
Maxfield & Montrose Interactive Inc
TINA PRO REVIEW
Mike Tooley BA
DesignSoft’s TINA PRO is the latest version of two extremely popular programs; TINA for Win-
dows and TINA Plus for Windows. Founded in 1992, DesignSoft is based in Budapest, Hungary, and
the company’s stated mission is to develop high-tech engineering and educational software includ-
ing electronics, physics, architectural design, multimedia, and 3D-graphics. DesignSoft currently
has distributors in 22 countries including the well-known UK electronics design software house,
Quickroute Systems. DesignSoft describes TINA PRO as a “Complete Electronics Lab for Win-
dows”. Mike Tooley sets out to investigate this claim.
TINA PRO is a powerful yet techniques. With optional the benefit of those readers who
affordable software package for hardware it can be used to test may be unsure of whether or
designing, simulating, and real circuits for comparison with not their hardware will support
analyzing analog, digital and the results obtained from TINA PRO, the basic
mixed (analog/digital) electronic simulation. Teachers and requirements are:
circuits. Results of circuit lecturers will be delighted with
TINA PRO’s training and o) Microsoft Windows 95/98
analysis can be displayed in (or Windows NT 4.0, or
various ways, including displays examination modes that allow
the package to be used as a later).
produced by TINA PRO’s virtual
powerful tool in the classroom o) IBM PC/AT compatible
instruments. A comprehensive
or as a standalone training aid computer with a '486 (or
range of desktop publishing
in the school/college open- later) processor.
tools are available with which
you can easily produce learning center. o) 16 MB RAM.
professional-looking reports and DesignSoft has placed TINA o) 20 MB hard disk space.
publications. Cutting and PRO in the middle of the o) Mouse (or equivalent
pasting TINA PRO’s output into market, between Electronics pointing device).
a Windows application program Workbench EDA (at the
(such as Microsoft Word or professional end of the market)
Microsoft Publisher) is also and Crocodile Clips (at the INSTALLATION
quick and simple. student end of the market). Installation is quite
TINA PRO is available in Despite its simplicity – the straightforward and TINA PRO’s
several different versions, program really is easy to learn CD-ROM installer will auto run
including a trial/demo version and use – TINA PRO is on a system configured for
containing a selection of self- extremely powerful and should autorunning applications from
demonstrating examples (but easily satisfy the requirements CDs placed in the CD-ROM
with save and print disabled), a of the hobbyist and enthusiast drive. Once started, the set-up
single user version (licensed for as well as the professional user program will display a menu
use on a single computer), and wishing to carry out in-depth offering users the choice of:
a network version suitable for circuit analysis.
o) Installing Internet Explorer.
use with Novell Netware
(version 3.12 or later) and o) Installing TINA PRO.
SYSTEM o) Viewing a tutorial covering
Windows NT (version 4.0 or
later). REQUIREMENTS the most important
TINA PRO is a 32-bit features of the program.
It also includes unique tools
for testing students’ knowledge, application that will run well on o) Obtaining information on
monitoring progress, and virtually any modern Windows- upgrading and ordering.
introducing troubleshooting compatible PC. However, for
A full TINA PRO installation
Copyright © 1998 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 57
Maxfield & Montrose Interactive Inc
6SHFLDO 5HYLHZ
requires 22,189 KB of space on
a local hard disk drive. With
modern multi-GB hard drives
this should not place too many
demands on your system!
Having selected the option
to install TINA PRO, you are
next offered the choice of either
American (ANSI) or European
symbols. Installation takes just a
few seconds, thereafter you are
presented with a message that
informs you that the “Trial
Installation” is valid for “15
runs”. In common with most
well-behaved applications these
days, TINA PRO provides its
own uninstaller. This program
cleans up the Windows system
files and removes all of the Fig.1. The TINA PRO screen.
TINA PRO files without
removing any user-created data groups. The program also o) Fourier analysis (Fourier
files. provides more than 1,000 spectrum, Fourier series,
manufacturer made and distortion).
For the educational user,
components in Spice sub-circuit o) Noise analysis (including
TINA PRO may be installed on
format. Compared with earlier noise spectrum and signal-
a network (Novell 3.x, Novell
TINA versions, a number of new to-noise ratio).
4.x or Windows NT) and
component models, including o) Tolerance analysis (Monte
configured for multiple user
nonlinear coils, transformers, Carlo and worst-case
access. After running the
relays, Darlington transistors, scenario).
network set-up utility, users will
opto-couplers, voltage
be able to run TINA o) HTML-based component
regulators, fuses, comparators,
simultaneously, just as though help.
and CMOS logic ICs, are
each workstation had a single o) Sub-circuits, which may
provided. Other useful features
user version installed. include both spice macros
include:
Unfortunately, TINA PRO or schematics.
registration is a little o) Analog, digital, and mixed o) Schematic symbol editor
cumbersome. Program branding (analog/digital) mode for creating custom sub-
not only involves a “Registration simulation. circuit components.
Code” but it also requires a “Site o) Powerful editing tools o) Average and RMS value
Code”, and a “Site Key” (schematic, netlist, text, determination for arbitrary
(supplied as part of the equation, and waveform periodic waveforms.
registration process). Doubtless editors)
there are good reasons for this o) Customizable
somewhat complicated process. presentations of Bode TINA PRO SCREEN
plots, Nyquist diagrams, The TINA PRO screen
transient responses, or use format is shown in Fig.1. The
FEATURES of virtual instruments in screen comprises a
TINA PRO provides more order to produce conventional Windows menu
than 10,000 built in conventional instrument bar that provides access to all
components. Component displays. of the main program functions,
selection is based on a simple o) Spice library manager. such as File, Edit, Insert, View,
“Component Bar” with tabs that Analysis, etc. Below this is a
o) Symbolic analysis (results
are used to arrange toolbar that provides access to
appear as closed form
components in manageable some of the most commonly
expressions).
Copyright © 1998 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 58
Maxfield & Montrose Interactive Inc
6SHFLDO 5HYLHZ
used editing features, such as symbols immediately above the the * key). Once you have
cut, paste, and zoom. component tabs. selected the position and
When you click on a orientation for the component
The component bar is
particular component in the you can simply press the left
located beneath the toolbar.
toolbar (and release the mouse mouse button to lock the
The component bar provides
button), the cursor changes to symbol in place.
access to the extensive library
of components that is supported show the currently selected The Task bar appears at the
by TINA PRO. Components are component. The component can bottom of the screen and
arranged in groups, named by be moved anywhere within the provides rapid access to the
the tabs on the Component Bar. circuit drawing area of the various tools or test/measuring
Once a particular group has screen. The component can instruments currently in use.
been selected, the available then be rotated (by pressing the Each tool or instrument
components appear as a row of + and – keys) or mirrored (using operates in its own window and
Fig.2. Using TINA PRO to analyze the opera- Fig.3. Using TINA PRO's virtual oscilloscope
tion of a simple astable oscillator based on a to view the output waveforms produced by
555 timer. the astable oscillator in Fig.2.
Fig.4. The first attempt using TINA PRO in- Fig.5. Frequency response of the two stage
volved “building” and testing this simple two- amplifier using TINA PRO's virtual frequency
stage amplifier. Having assembled the com- analyzer (the amplifier's upper cut-off fre-
ponents in the schematic window, TINA quency has been limited to about 100kHz by
PRO's nodal voltage analysis tool is being applying some HF negative feedback).
used to check the bias conditions (note the
test probe at the collector of TR1).
Copyright © 1998 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 59
Maxfield & Montrose Interactive Inc
6SHFLDO 5HYLHZ
Fig.6. An alternative to using one of TINA Fig.7. The graphic displays produced by
PRO's virtual instruments is that of using one TINA PRO can be enhanced and customized
of the built-in analysis tools. This shows the by the user. Here some captions, markers
alternative gain and phase versus frequency and a circuit diagram have been added to a
display (without the controls and adjustments basic Bode plot that shows the gain and
that would be present with the signal analyzer phase response of a simple L-C-R series res-
virtual instruments). onant circuit.
Fig.8. TINA PRO is equally at home analyzing Fig.9. TINA PRO has many advanced fea-
digital circuits. Here we are displaying the out- tures, including signal and equation editors.
put of a four-stage shift register using TINA This screen shows how the signal editor can
PRO's logic analyzer virtual instrument. be programmed to produce an amplitude
modulated signal (part of the resulting signal
can be made active by clicking provides you with appears in the virtual oscilloscope window
on the respective Task bar an interactive
button. Finally, TINA PRO mode that will allow you to do you to simplify a complex circuit
provides a single line of help just this! schematic by turning portions of
text at the bottom edge of the Not only can you play with it into a sub-circuit. In addition,
screen. the controls but you can also you can create new TINA PRO
change component values and components from any SPICE
even add or delete components sub-circuit, whether created by
INTERACTIVE MODE yourself, downloaded from the
while the analysis is in progress.
The ultimate test of a circuit Internet, or obtained from a
simulation is to try it in a “real manufacturer or component
life” situation using interactive SUB-CIRCUITS AND supplier’s CD. A typical
controls (such as keypads and example of where you might
MACROS wish to use a sub-circuit is that
switches) whilst watching
displays and other indicators. As with other SPICE of a half-adder, replacing the
Fortunately, TINA PRO programs, TINA PRO allows five discrete gates with just one
Copyright © 1998 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 60
Maxfield & Montrose Interactive Inc
6SHFLDO 5HYLHZ
“black box” subsystem. Once subdirectories. If this is all the problem. The contents of
the subsystem has been created beginning to sound a little this panel are dependent on the
(and tested) it can be used over complex, here’s an example: type of the problem.
and over again. Assume that you have a The Interpreter standard
descriptor file TEST_B.EXA that button will launch the built-in
resides in the TEST TINA PRO interpreter. The
TINA IN THE subdirectory, the program can Submit standard button will
CLASSROOM be started with the commands: validate the solution and file it in
TINA has two special the student records.
TINA /EXAM
modes for educational TEST\TEST_B It is important to note that
purposes. In examination mode, TINA PRO will only accept as
the student has to solve a series or correct those solutions that are
of problems (a problem set) formally valid; e.g. in DC
either by traditional pencil-and- TINA /TRAIN problems both the numerical
paper methods or by using the TEST\TEST_B value and the units must be
TINA Interpreter and analysis correct. If the answer is a
The TINA PRO installation
functions. When the student numerical/symbolic expression,
program actually provides you
finds the answer, the program the correct units must also be
with two icons in the TINA
sends it immediately to the given. When using the training
program group that can be used
teacher’s machine, where it is mode, TINA will either confirm
to start the program in training/
promptly displayed by the the answer or tell the student
examination mode. You then
TSuper supervision utility. how the solution is incorrect
only need to click on the
Operation is similar in training (e.g. missing units, syntax
required icon in order to start
mode, except that TINA gives problems, etc.).
the program in either training or
the student feedback about the Doubtless this will be music
examination mode. TINA will
correctness of his or her in the ears for long suffering
then prompt you for the name of
answer. In training mode, the teachers and lecturers who, like
the descriptor file. When the
student may turn to the Advisor me, find that students are all too
program is started, it will
to get help prepared by the often hazy about the units that
request the student’s name. The
teacher. they are working in or are
student can then select a
TINA PRO can be set into problem using the Tasks List on simply too lazy to state the
one of the special educational the Examination/Training Panel. answer in full!
modes by the use of a
The Examination/Training
command line switch, the
general format of which is:
Panel appears automatically SUPPLEMENTARY
when TINA is started in
TINA [MODE SWITCH] examination or training mode. HARDWARE
[FILENAME] The current mode (Training or DesignSoft has developed a
Examination) is displayed at the variety of external hardware
where [mode switch] is top of the panel. Beneath the modules that can be attached to
either /EXAM or /TRAIN, and mode display is the total a PC for use with TINA PRO.
the [filename] is the relative accumulated time display. This This includes:
path and filename (with the starts counting when the student
optional .EXA extension) of the selects the first task. o) TINALab, a data
problem set descriptor file. This acquisition card with
file must have been prepared multimeter, oscilloscope,
using the TTask program, and ADVISOR and signal generator
should give the names of the An Advisor Panel gives functions.
problems in the set, along with access to the hints prepared by o) ExtBox, an experimenter
their train/exam options. This the teacher. Some advice items box that allows users to
path is always relative to the carry a penalty, in which case assemble prototype
TINA home directory; that is, the student will be warned that a circuits as well as making
the descriptor file must reside in penalty applies. The Current measurements on up to 16
the TINA directory (where TINA Task panel allows the student to external modules.
was installed) or one of its prepare and submit a solution to o) FaultGen, an expansion
Copyright © 1998 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 61
Maxfield & Montrose Interactive Inc
6SHFLDO 5HYLHZ
card (for use in conjunction VIRTUAL text. Next, I put TINA PRO to
with the experimenter box) work solving some network
that allows faults to be INSTRUMENTS problems that form the basis of
placed in tested circuits. TINA PRO provides you assignments carried out by my
o) DigiCard, an expansion with a Function Generator, HND students. Once again,
card (for use in conjunction Digital Multimeter, Frequency TINA PRO excelled at the task,
with the experimenter box) Analyzer, Logic Analyzer and a delivering not only the response
that facilitates dual-channel Oscilloscope. curves required but also
measurements on digital These instruments provide the formulae required to produce
circuits . same displays and control as the transient response for each
found on real instruments and circuit.
o) Experiment modules, a
series of modules that can will help you make TINA PRO incorporates a
be used to demonstrate measurements in just the same number of features that make it
the operation of basic way as you would in a real a real pleasure to use. These
electronic circuits. The laboratory. include the orthogonal wiring
modules are automatically As an added bonus, if you tool, the multiple undo facility,
recognized and displayed have TINA PRO’s and the automatic component
when they are connected supplementary hardware, the numbering. The various output
to the experiment box. program will allow you to switch displays produced by the
to “Real Measurement” mode. program are excellent, as are
This facility lets you work with the virtual instruments.
IMPROVING THE the same on-screen instruments There are two features that I
OUTPUT and settings when making real would like to see in the next
measurements on a real circuit. version of TINA PRO. The first
Having designed and
analyzed your circuit, you will, is a menu option that will allow
users to open a selection of the
at some point, probably want to HELP! most recently used files (Since
disseminate your results to
others in the form of a paper or The “Quick Start” manual this review was written we have
technical article. TINA PRO will comprises around 70 pages in been advised by Quickroute
help you to do this – at least by A5 spiral bound format. The Systems that this request has
providing you with all of the manual is divided into four been implemented. Users can
graphical content – in the form sections; Welcome, now open a selection of the
of Bode plots, Nyquist Introduction, Installation and most recently used files – Ed)
diagrams, transient responses, Start-Up, and Getting Started. whilst the second is a facility
digital waveforms, etc. You can Of these, the last section is by that will allow me to print the
create, edit and print documents far the largest (comprising 43 virtual instrument displays and
from within TINA PRO or cut pages). On its own, the manual settings (I use this facility
and paste the results into is not particularly extensive. regularly in Electronics
another Windows application However, TINA PRO’s help Workbench to keep a record of
using the Windows clipboard. system provides a wealth of circuit performance as I make
reference information (including changes to circuit parameters,
A particularly useful feature a comprehensive description of component values, etc). That
is that TINA PRO’s graphics the SPICE models). One said, I have very few other
editing facilities allow you to unfortunate omission from the concerns and niggles!
add your own information to the manual is the lack of an index.
results of a circuit analysis. It
makes it easy to add markers, IN CONCLUSION
special annotation, and circuit IN USE
schematics to the results of any TINA PRO is packed with
In use, I found TINA PRO features, simple to use and
circuit analysis. This facility is a extremely intuitive. My first task
real boon for students as it can represents really good value.
was to “build” and test a simple So, if you are thinking of
save hours of graph plotting, two-stage amplifier. This was
drawing and sketching. moving up to a Windows SPICE
accomplished quickly and easily package (or are planning to
and without having to refer to upgrade your current SPICE
either the manual or the help software) you should take a
Copyright © 1998 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 62
Maxfield & Montrose Interactive Inc
6SHFLDO 5HYLHZ
serious look at DesignSoft’s PRICES manufacturers’ data. 204.45 UK
latest offering – it can be highly Pounds (including VAT and
recommended! There is a wide range of shipping and handling).
TINA PRO software available,
DesignSoft can be together with various different TINA PRO Industrial Edition
contacted at: site licenses for those that need – the full version with all the
www.designsoftware.com them (prices on request from options. 363.08 UK Pounds
Quickroute Systems). (including VAT and shipping
The TINA website is at:
and handling).
www.tina.com TINA PRO Basic – a cut
down starter version suitable for Further information on the
Note that a demonstration
hobbyists and students various versions is available
version of TINA PRO can be
(particularly helpful for students from Quickroute Systems, also
downloaded from this site. The
who have access to a full see their web site at:
site also features a Students’
version at college etc): 57.58 www.quickroute.co.uk
Forum and a downloadable
“Student Contest” with a chance UK Pounds (including VAT and
to win a free upgrade to the full shipping and handling).
version of TINA. TINA PRO Educational –
In the UK, TINA PRO is includes full Teacher Pack:
available from: Quickroute 204.45 UK Pounds (including
Systems (Dept EPE), Regent VAT and shipping and
House, Heaton Lane, Stockport handling).
SK4 1BS, UK. Tel: +44 (0) 161- TINA PRO Industrial
476-0202, Fax: +44 (0) 161- Classic Edition – similar to the
476-0505. (Please mention this full Industrial Edition but without
review when contacting the SPICE library, a symbol
Quickroute.) designer, or the ability to form
component models from
Copyright © 1998 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 63
Maxfield & Montrose Interactive Inc
Robert Penfold looks at the Techniques of Actually Doing it!
This series of articles is comply with the commercial earthed. In the past, a solder
aimed primarily at complete be- safety regulations, and provide tag mounted on one of the
ginners, but this month we a safe means of obtaining mains transformer’s mounting
move on slightly to consider the mains power for a wide range of bolts has been used as the
subject of transformers and circuits. A few projects have earthing point on the case, but it
mains powered projects. No ex- specialized supply requirements is apparently considered safer
cuses are given for pointing out that no battery eliminator can to have a separate mounting
yet again that mains powered meet, but the vast majority of bolt for the earthing point – see
projects, or indeed any projects projects can be powered in this Fig.1.
that involve direct connection to way. Another important point
the mains supply, are unsuit- Unless you know what you about the case is that it should
able for beginners. The mains are doing, it is advisable not to be a type that cannot be opened
supply is potentially lethal use non-regulated eliminators. easily. In other words, a screw-
and has to be treated as such In general these have large driver or other tool should be
by those who deal with it. amounts of mains “hum” on required in order to open the
Until they have gained suffi- their outputs and the actual out- case so that there is no easy
cient experience to tackle mains put potential varies considerably way of gaining access to the
oriented projects, beginners with variations in loading. When dangerous mains wiring. An en-
should settle for building lightly loaded the output can closure that has some form of
battery-powered gadgets. If you easily be more than 50 percent clip-on lid should not be used,
make a mistake with a project higher than the nominal output as this would make it too easy
powered from a PP3 battery it is voltage, which could be suffi- for young hands to open the
unlikely that anything will be cient to damage some circuits. case.
damaged, and you should cer-
tainly be in no real danger. DOWN TO EARTH COVER UP
A similar mistake with a When copying a battery As a second line of defense,
mains powered project would powered project you are largely it is advisable to insulate any
probably cause a lot of expen- free to “do your own thing”, but connections that carry the
sive damage and could be ex- with a project that connects to mains supply. There are match-
tremely dangerous. When deal- the mains supply you must be ing insulators, known as “boots”,
ing with a mains powered more cautious. Everything must available for some components
project you have to proceed be done in a manner that will be (also shown in Fig.1). These
as if your life depended on it, completely safe. make it easy to completely and
because it does! reliably insulate all the connec-
This does not mean that
you have to produce an exact tions to a component. Unfortu-
ADAPTABLE clone of the author’s original, nately, these “boots” are not as
but everything must be done in widely available as they should
Beginners should not over- be, and are not available for all
a way that satisfies some basic
look that very useful invention, components that could be used
rules of safety. For instance,
the battery eliminator (mains to carry the mains supply.
any exposed metalwork must
adapter). The regulated types
be reliably earthed to the However, in most cases it is
mostly have accurate and well-
mains Earth lead. possible to insulate the tags and
smoothed outputs that can be
In practice, this invariably the connections to them using
used to power projects that
means using a case that is large diameter PVC sleeving. In
would be uneconomic to oper-
largely or entirely constructed order to accommodate the tag,
ate from batteries. (Most com-
from metal. With the case the wire, and the connection, an
ponents suppliers carry stocks.)
inside diameter of around 4mm
A unit of this type should earthed, any metal parts
to 6mm is usually required.
mounted on it will also be
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 64
Maxfield & Montrose Interactive Inc
3UDFWLFDOO\ 6SHDNLQJ
current safety regulations, there
will be comprehensive insula-
tion between the primary and
secondary windings, and there
will be no significant danger in
touching any wiring in the sec-
ondary circuit of the trans-
former. Even if a fault should
occur in the insulation, with the
case and one supply rail
earthed there should be little
danger anyway.
HAVING TWINS
Modern mains transformers
tend to cause a certain amount
of confusion as they mostly
have “twin” secondary windings,
Fig.1. A solder tag provides an Earthing point on the base of and sometimes have two pri-
the metal case. The IEC inlet is comprehensively insulated by mary windings as well. In the
a matching insulating “boot”. past there were sometimes two
230V or 240V primary windings
TRIP WIRE you can use an IEC connector that had to be connected in par-
that has an integral on/off allel for operation on the UK
It is possible to connect the switch. There is a slight draw- mains supply – see Fig.3a.
mains lead direct to the on/off back in this method in that it
switch and earth tag, and this is On the face of it there is no
means having the on/off switch point in having two 230V or
again a method that has been inconveniently located at the
used extensively in the past. 240V windings since there
rear of the project. would seem to be no 460V or
However, it does have the dis-
advantage of being a bit dan- 480V mains supplies that could
gerous if someone should trip TRANSFORMERS use the alternative method of
over the cable. The person do- series connection. This type of
(Note that these discus- transformer seems to have died
ing the tripping over could injure sions are largely based on
themselves, and the project out, but there could still be
the 230-volt AC supply found some in circulation.
could be left with a damaged
in the UK.) The mains trans-
cable and exposed mains The more common form of
former in a modern project per- twin primary winding has two
wiring.
forms two functions. One is to 115V or 120V windings. These
A better, if somewhat more step-down the 230-volt AC sup-
expensive option, is to use a can be used in series for opera-
ply to one that is more suitable tion on the 230V UK mains sup-
standard IEC connector at the for modern low voltage circuits.
rear of the unit, and to connect ply, or in parallel for use with
The other is to provide isolation some continental or USA sup-
this to the on/off switch and from the mains supply.
earth tag. If anyone should acci- plies that operate at about
The mains supply connects 115V.
dentally kick the cable it should
to the primary winding of the For operation on the UK
simply pull free from the rear of
transformer, and this produces mains, it is essential to connect
the project with no harm done.
a low voltage signal in the sec- these transformers in the man-
The IEC connector takes a stan-
ondary winding, but there is no ner shown in Fig.3b. The alter-
dard mains lead of the type
direct connection between the native methods of series con-
used with PCs and many other
primary and secondary wind- nection (with the two “0” or
electrical and electronic gad-
ings. “115” tags connected together)
gets.
Provided you use a modern will give no significant output
For the ultra-safe approach
transformer that conforms to the from the secondary winding.
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 65
Maxfield & Montrose Interactive Inc
3UDFWLFDOO\ 6SHDNLQJ
effectively a single 24-volt sec- but many constructors run into
ondary. The current rating re- difficulties because they do
mains at 0 5A.
¬ things in the obvious way.
Parallel connection, as in With our example trans-
Fig.4b, gives a 12V output, but former, simply connecting the
the current rating is doubled to two “0V” tags together appears
1A. It has to be pointed out here to give the required 12V-0V-12V
that parallel connection is only output. In reality this gives two
usable with transformers that windings operating in-phase,
are specifically designed for use whereas it is out-of-phase wind-
in this manner. ings that are needed.
This mode of operation re- In other words, the two
quires the two secondary wind- windings should provide power
ings to be very accurately to the supply circuit on alternate
matched, since any imbalance half cycles, but they will actually
could result in one winding forc- supply power on the same half
ing a very large current through cycles. This results in no output
Fig.2. The mains transformer on one set of half cycles, and
the other winding. Do not use
at the bottom has twin sec- this method unless the retailer’s what is really just a simple half-
ondary windings while the one or manufacturer’s literature wave power supply.
at the top has twin primary specifically states that a trans- The circuit may actually
windings as well. former can be used with parallel seem to work after a fashion,
connection. but with what is likely to be a
Things are worse with the great deal of mains “hum” on
use of parallel connection, the output. The output voltage
which will give an excessive pri- POWER POINTS might also be inadequate.
mary current and double the ex- Power supply circuits that
pected secondary voltage. In The correct method of con-
use two rectifiers to provide full-
addition to the likely cost of re- nection for center-tapped opera-
wave rectification require a
placing damaged components, tion is shown in Fig.4c. This is
center-tapped secondary wind-
this could also be very danger- basically just ordinary series op-
ing. The center-tap goes to the
ous. eration, but with the point where
earth rail and is labeled “0V”
the two windings are joined now
while the other two outputs drive
used as the center-tap. Al-
SECONDARY the rectifiers and are labeled
though this method of connec-
something like “12V”. Twin sec-
EDUCATION tion may look nonsensical, it is
ondary windings can be used
quite definitely the right way of
It is probably on the sec- with this type of supply circuit,
doing things.
ondary winding side of things
that mains transformers pro-
duce most problems. The rea-
son that so many of these com-
ponents have twin secondary
windings is that it enables one
transformer to mimic three dif-
ferent types of transformer.
As an example we will con-
sider the three ways in which a
transformer having twin 12V
0 5A secondary windings can be
¬
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 67
Maxfield & Montrose Interactive Inc
writes by E-mail:
by ALAN WINSTANLEY
Whilst flicking through EPE I
Single transistor common emitter amplifiers come noticed the Teach-In No. 7. I
thought my electronics skills
under our surgeon's microscope, along with a follow- could do with some dusting off
up on opamps. and thought there is no better
place to start than at the
beginning. I then immediately
Before we continue with our Previous Teach-In series
discovered the Mini Lab, which I
in-depth look at opamps, first a still continue to be popular as
am thoroughly enjoying building
couple of interesting questions well – our Teach-In '93 series
and doing the experiments – my
from Mike Tinker via email. was prepared for GCSE and
involvement and interest in
Advanced Level electronics
electronics has laid dormant for
students. We developed a
TEACH-IN many years but is once again
modular-built test-bed called
alive and kicking! Please could
AMPLIFIERS the Mini Lab (still available
you help with some questions
from Magenta Electronics –
Hopefully, readers and see their ad. elsewhere in this as follows.
electronics novices everywhere issue). An optional add-on Teach-In No. 7 talks about
are already engrossed in our Micro Lab microprocessor the “10% Rule’’ for potential
latest educational tutorial – demo unit was also produced dividers. I tried an experiment
Teach-In 2000, written by our for more advanced readers, with a 5k6 resistor and LDR
own Technical Editor John and the entire series was re- (light dependent resistor), which
Becker. The series is specially published as Teach-In No. 7, I’m trying to use as a potential
written for beginners and which is still available from the divider with a 5V supply to drive
includes an interactive EPE Online Store – see the a light-emitting diode (yes –
computer program, which runs “Books and CDs” page on the LED).
on virtually any IBM-compatible EPE Online web site at
PC. The Teach-In 2000 The LDR has a resistance
www.epemag.com of 29k (kilohms) in the dark.
software is available free from
the EPE Online Library site at However, there is insufficient
www.epemag.com Reader Mick Tinker current to drive the LED How
can I arrange this so that 10mA
9
9
9
,IN
,L ,IN
5D
N 5D
5D
N ,L
,L
5E
N 287387 5E 5L
5E 5L
N Ω
9 9
9
Fig.1. A simple potential di- Fig.3. The “10% Rule” says
Fig.2. The load resistance RL
vider. The output voltage is that the load should not af-
shunts the resistor Rb and
calculated using the stan- fect a potential divider un-
causes a load current IL to
dard formula VO = Rb/ duly – ideally RL should be at
flow out of the divider.
(Ra+Rb) x supply voltage. least ten times the value
of Rb.
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, january 2000 - www.epemag.com - 68
Maxfield & Montrose Interactive Inc
&LUFXLW 6XUJHU\
is available to drive the light- by the presence of RL to form a adding an amplifier stage, such
emitting diode without loading :
90 9 resistor so, unless we
¬ as an opamp. A CMOS-input
the divider? Or should I try a now take RL into account, our opamp would act as a suitable
different LDR? potential divider formula (Fig.1.) load for the potential divider,
Can you also help with no longer holds true. The 10% because the opamp’s input
Rule says that it’s OK to add a resistance is incredibly high: so
common emitter amplifiers. How
load to a potential divider this high that you can ignore the
does such a circuit work with
way as long as the current IL current flowing into its input.
regard to any subsequent
flowing out of the divider is no This means it will not load the
amplifier stages? Could you
more than roughly 10 percent of potential divider whatsoever,
clarify what happens to the bias
the input current, see Fig.3. As see Fig.4. The opamp has a
voltages which are set up using
a general rule of thumb, the gain of one (it’s a unity gain
resistors and potential dividers. buffer) and its output can then
load RL should be at least ten
times greater than Rb, or you be used to drive a LED if that’s
The “10% Rule” for potential will affect the potential divider. what you wanted to do.
dividers is depicted in Fig.1 to
Fig.3. If you strap two resistors COMMON EMITTER
across a supply voltage then a
OVERRULED
potential divider is produced, It is very important to AMPLIFIERS
Fig.1. The voltage across each understand that in practice, the Your second point relates to
resistor is proportional to the load resistor RL can represent a “common emitter” amplifiers.
resistance value, so if Ra and much more complex circuit, How can a transistor actually
Rb are one kilohm (1k) in value, including the input impedance amplify a voltage? A single-
then with a 10V rail, 5V would of a subsequent amplifier stage. transistor amplifier is shown in
appear across each resistor. Similarly, resistors Ra and Rb Fig.5, which Mike noted from
Usually, it is the potential could be the output impedance our Teach-In No. 7 book.
divider’s “output” voltage with of a preceding amplifier stage. Resistors R1 and R2 set a
respect to 0V that we are The same rule holds true: voltage at transistor TR1 base
interested in, so we would say provided that the amplifier does (b) of 1 7V and approximately
¬
that this potential divider has an not “load” the potential divider 0 7V is dropped by the base-
¬
output of 5V. by more than 10 percent or so, emitter “diode” (junction),
This is fine provided that no you can apply potential divider meaning that 1 0V appears
¬
“load” current is drawn from the formulae with reasonable across the emitter (e) resistor
output of the potential divider. If impunity. If it does, then the R4.
any current (shown as IL in amplifier’s bias voltages may be
Fig.2) is drawn then the affected, and this could lead to Using Ohm’s Law, a current
equation for calculating the distortion. Some writers aptly of 1mA passes through resistor
output voltage is affected. describe how “stiff” a potential R4, so a voltage of 5 6V
¬
between collector and emitter the amplified signal to swing operating on a 10V supply.
(the formula P=IV says that TR1 between ever increasing The maximum output voltage
dissipates 5 4mW at this time).
¬
voltage levels. Otherwise the
signal will be clipped, which will
will be 10V, which only
requires a differential input of
Note that the gain of this
stage is:
cause distortion. This is
explained with practical
10uV (ten microvolts). A
differential input larger than this
–Vout / Vgain examples in the Teach-In No. 7 will cause saturation – that is,
book – see the “Books and CDs”
the output cannot go any higher
(the minus indicating that page on the EPE Online web
(10V in this example).
the output signal is inverted, or site at www.epemag.com.
the opposite polarity to the ARW. Amplifiers, filters, and
input). similar signal processing circuits
use the opamp in this way, but
Let us suppose the base MORE ON OPAMPS other circuits such as
voltage rises by 0 5V to 2 2V, so
¬ ¬
comparators and some types of
the voltage across R4 rises too Now we return to the opamp
extravaganza. Recall that last oscillator may use large
and the current through the differential inputs, which switch
collector/emitter increases as month Mohab Refaat asked
how to select an opamp for a the opamp between positive
well. You can soon calculate and negative saturation. Fig. 3
that the voltage across R3 must particular application out of a
large number of candidates. (last month) shows the
rise to 8 4V as a consequence.
¬
relationship between opamp
Also, Tony Soueid wanted to
This amplifier’s output know about the innards of differential input voltage and
voltage falls dramatically for a opamps. output voltage.
small increase in input signal. In Saturation should usually be
We continue now by looking
Fig. 5, a change of 0 5V input
¬ avoided in circuits that must
at opamp specifications: it is
causes a change of –2 8V, so ¬
these parameters that designers operate at high speed as the
the amplifier’s gain is –5 6. It is
¬
of opamp circuitry will strive to opamps take longer to recover
no coincidence that this gain meet, so it helps to know what from saturation than to respond
figure is also the ratio of R3/R4. they are before we look inside to signals within their linear
the opamp itself. operating range.
A coupling capacitor C1 is
used to apply the alternating Maximum Input Voltage:
input signal. A capacitor is good The maximum V1 or V2. Like
at letting AC signals pass, but ELECTRICAL maximum differential input
blocks any DC content, so the RATINGS voltage, this is often specified in
effect of C1 is to allow us to terms of the applied supply
Maximum Differential
“superimpose” the alternating voltage.
Input Voltage: The maximum
signal onto the steady DC bias
voltage at TR1 base. It ensures value of (V2-V1) which can be Maximum and Minimum
that TR1’s base voltage is applied (see Fig.2 in last Power Supply Voltage: (or
separated from any DC bias month’s Circuit Surgery). Supply Voltage Range) The
voltages on the input side of C1. Typically this is equal to the
maximum is typically 15V to
supply voltage or is a largish 18V for dual supplies and 3V
To answer your final query,
an amplifier stage has its own
value such as 40V. In a few to 36V for single supplies, but
cases it may be much lower, some devices have a much
“local” bias voltages, but by
using capacitors to couple less than 1V, for example. You lower maximum voltage (e.g.
stages together, the alternating will need to take note of this if 6V). The minimum voltage is
signal can be shifted along from your application causes large
typically 2V to 3V for opamps
one stage to the next without differential inputs to occur.
with 15V maximum supplies,
interfering with (or being In actual operation, the but this varies quite a bit.
affected by) these bias levels. differential input voltage is often There are a number of low
Of course, the designer very low due to the high gain of voltage opamps that have
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, january 2000 - www.epemag.com - 70
Maxfield & Montrose Interactive Inc
&LUFXLW 6XUJHU\
9
does not tend to happen.
5 5
Power Dissipation: The
9 9 &+$1*( 9
N N
product of supply current and
&
Q
supply voltage.
,1387 287387
75 F
Power dissipation will
increase as the power supply
9 E 9 9
voltage is increased and if
H higher output currents are
9
demanded from the opamp.
5 5
,e P$
N N
9 9
:+(1 If an opamp is available in
9B E 9
more than one type of package
9
these may have different power
dissipation ratings. For special
Fig.5. A common-emitter amplifier. A change of low power (micropower)
0 5V on the input produces a change of 2 8V
¬ ¬
opamps, the amount of power
across resistor R3. Its gain = –5 6. ¬ consumed in typical operation is
often quoted. For most opamps
minimum supply voltages down power dissipation. This can even the maximum power dissipation
to 1V or less. These are occur with short over-voltage that can occur without causing
usually designed for low power transients that can cause the damage is quoted.
applications. circuit to latch in a state where We'll press on with more
high supply current flows even “inside information” about
Exceeding maximum supply
after the supply has returned to opamps next month. IMB.
voltages can cause damage to
its normal level. However, great
integrated circuits due to
care is taken with most integrated
excessive current flow and
circuit designs to make sure this
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, january 2000 - www.epemag.com - 71
Maxfield & Montrose Interactive Inc
with DAVID BARRINGTON vibration sensors, magnet-
operated reed switches etc. at
special discount prices.
Some Component Suppliers for EPE Online Con-
structional Articles The warning devices used
in the prototype came from
Web: Farnell, order codes as follows:
Antex siren/klaxon 676-843; alarm bell
www.greenweld.co.uk
Web: www.antex.co.uk 107-843; bell enclosure 149-
Maplin (UK) 797; and 12V xenon strobe
CPC Preston (UK)
Web: www.maplin.co.uk beacon 223-712. The miniature
Tel: +44 (0) 1772-654455
Magenta Electronics (UK) reed switch (code Cl37S) and
EPE Online Store and Library operating magnet (code FX71N)
Tel: +44 (0) 1283-565435
Web: www.epemag.com both came from Maplin.
Web:
Electromail (UK) www.magenta2000.co.uk
Tel: +44 (0) 1536-204555 Scratch Blanker
Microchip
ESR (UK) Web: www.microchip.com The only real cause for
Tel: +44 (0) 191-2514363 concern when getting together
Rapid Electronics (UK)
Fax: +44 (0) 191-2522296 parts for the Scratch Blanker is
Tel: +44 (0) 1206-751166
Email: sales@esr.co.uk more than likely to be in finding
Web: www.esr.co.uk RF Solutions (UK)
a source for some of the
Tel: +44 (0) 1273-488880
Farnell (UK) semiconductor devices. Most of
Web: www.rfsolution.co.uk the other components for this
Tel: +44 (0) 113-263-6311
Web: www.farnell.com RS (Radio Spares) (UK) project should be available from
Web: www.rswww.com your usual local supplier or by
Gothic Crellon (UK)
Speak & Co. Ltd. mail order.
Tel: +44 (0) 1743-788878
Tel: +44 (0) 1873-811281 If any readers do
Greenweld (UK)
experience problems in
Fax: +44 (0) 1992-613020
obtaining the MN3004 512-
Email: greenweld@aol.com stage “bucket-brigade” delay
transformer. Also, note that the
type BC184B transistor must be line and its companion MN3101
Versatile Burglar Alarm ordered (base being the center clock generator/driver ICs, the
Looking through the pin) and not one with the suffix author obtained his from Maplin
components list for the Versatile L. (quote codes UM64U and
Burglar Alarm project, a few UM66W respectively).
The DIL type 12V 2-pole Incidentally, in case you are
decisions will need to be made miniature relay was purchased
by readers as to the complexity/ wondering about the connecting
from Maplin, code GU36P. The of the “ground” pins to the
cover they wish to have as this stripboard for this circuit will
will have a considerable effect positive supply line, these two
have to be cut down to size chips are PMOS devices;
on the costing of the project. from a larger piece.
This applies particularly to the mystery solved.
separate listing of the alarm Turning our attention now to The above company also
devices. the alarm devices, readers may supplied the small double-pole
wish to investigate some mains rotary switch, code
Starting with the main “security” component suppliers,
listing. The bridge rectifier used FH57M. The original mains
such as Suma Designs, ASA, or transformer used in the
in the prototype unit is a type general component suppliers
W005 and should be generally prototype came from
like Bull Electrical, Chevet ElectroValue, type BR515 rated
available. Most component Supplies, or J&N Factors, who
suppliers should be able to offer 5VA, but as it is mounted off-
sometimes carry warning board most component
a suitably rated 20VA mains sounders, pressure mats, suppliers should be able to
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 72
Maxfield & Montrose Interactive Inc
6KRS 7DON
match its electrical capacitor C2 should be a new packs readers should contact:
characteristics. They will good quality component. The
probably offer a 6VA type. translucent type of LED seems ESR Electronic
The 8-pin low power to be fairly widely stocked and Components – Hardware/Tools
TS555CN timer should be used should not be a serious sourcing and Components Pack.
in this circuit and is widely problem. The TL071 opamp and Magenta Electronics –
stocked (it is not advisable to the two transistors should also Multimeter and components, Kit
use a standard 555). It is also be stock items. 879.
best to stick with the NE5532N The Flashing Snowman is FML Electronics (Tel +44
high quality audio amp IC in this easily built up on our multi- (0) 1677-425840) – Basic
project. Both the 4066 and 4016 project printed circuit board, component sets.
analog switch ICs are popular, which is available from the EPE
well stocked, devices. Online Store, code 7000932. As N. R. Bardwell (Tel +44 (0)
for the polystyrene tile, a trip 114 255-2886) – Digital
The large printed circuit Multimeter special offer.
board is available from the EPE down to your local DIY store
Online Store (code 7000250) at should soon sort this one out.
www.epemag.com PLEASE TAKE NOTE: 8-
Vehicle Frost Box Channel Data Logger,
Flashing Snowman We cannot foresee any Aug/Sept '99
Our “starter project” this component buying problems for An updated software
month has a timely festive constructors of the Vehicle Frost version V1.2 became available
theme and all the components Box project. They all appear to in the EPE Online Library on
th
(tile excluded) needed to make be “off-the-shelf” items. The 29 November 1999.
up our Flashing Snowman only point we would highlight is
should be readily available from the use of heavy-duty auto-wire
components suppliers. They will for the unit's power supply
also be able to offer a suitable leads. This should be obtainable
stabilized mains adapter unit at from any good motoring store.
a reasonable price if the
Snowman is to be left “running” Teach-In 2000
for long periods.
No additional components
Note that the LEDs should are called for in this month's
all be of the same type and installment of the Teach-In 2000
size, and that electrolytic series. For details of special
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 73
Maxfield & Montrose Interactive Inc
A ROUNDUP OF THE LATEST EVERYDAY NEWS
FROM THE WORLD OF ELECTRONICS
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 1999 - www.epemag.com - 74
Maxfield & Montrose Interactive Inc
1(:6
if the public think it is worth buy- the TV set has a memory which He predicts that terrestrial
ing new sets. permanently stores an image of broadcasters in the US will end
DVB uses COFDM, Coded the pulse. The set continually up using their digital capacity
Orthogonal Frequency Division compares the reference and re- for data services.
Multiplex, which spreads the ceived pulses. This reveals the
broadcast signal between sev- echo characteristic, and the set
eral thousand narrow carriers. uses this tell-tale information to SKY
This slows the data rate in each cancel out the delayed TV sig-
stream and lets the receiver re- nal. ELECTRONICS
ject unwanted signal reflections The ITC was stymied be- Colorful and comprehensive
or “ghosts”. Terrestrial DVB can cause chips could not work fast are our first reactions in receipt
work with a set-top aerial or mo- enough to cancel in real time. of the latest catalog from Sky
bile receiver. Seven years on, the US set- Electronics. There are over 140
makers have a better chance of pages of full-color details of an
Any viewer in the UK can
making the system work, and enormous and diversified range
now get a DVB box free if they
making VSB do what COFDM of products. It is a catalog that
subscribe to a pay-TV service.
does naturally. will delight anyone who is into
After one year nearly 0.5 million
ready-made equipment and the
DTTV boxes are in use. The
accessories that maintain it.
Sky digital satellite service also VIEWERS WON’T
uses 625 lines and carries most The main titles of the sec-
of the digital terrestrial channels PAY tions include Audio and Video,
free to around 1.8 million set- US viewers are now baulk- Music and Disco, Car, Commu-
top boxes. ing at the need to spend several nication, CCTV, Electrical,
thousand dollars on a new TV Computer, Test, Power Sup-
set that can decode digital sig- plies, Tools, Connectors, Cable,
GHOST BUSTERS nals and display them in higher Loudspeakers.
The US government’s Fed- resolution. Set-top antennae do Each of these sections is
eral Communications Commis- not work. filled with beautifully pho-
sion and its Advanced Televi- US broadcast chain Sinclair tographed products that really
sion Standards Committee pre- has rallied 400 stations, more show off the product quality and
ferred a high definition digital than a third of all US commer- desirability. Where detailed
system, tailored to the hierarchy cial broadcasters, to ask the specifications are required,
of display standards used by FCC for permission to use these are well-itemized. All
PCs. The FCC also opted for COFDM instead of VSB. Nokia products have code reference
Vestigial Sideband transmis- of Finland has built COFDM re- numbers and the prices are then
sion, a more simple technique ceivers for the US broadcasters’ cross-referenced in an accom-
than COFDM, similar to that tests. panying 16-page list.
used for North America’s 525-
CEMA, the Consumer Elec- Sky tell us that they also
line NTSC analog TV.
tronics Manufacturers Associa- stock a massive range of other
The VSB system carries the tion, argues that poor reception components, including semicon-
TV signal at high data rate in a is the fault of poor sets, not ductors, capacitors, resistors,
single channel, so it is much VSB. CEMA President Gary video parts, remote controls
more susceptible to echoes than Shapiro warns that splitting the etc., all at “what we believe are
a COFDM signal. The echoes standard would have very reasonable prices”.
corrupt the bitstream. “devastating results for the DTV For more details contact
US set-makers are trying to transition”. Sky Electronics, Dept EPE, 40-
improve reception with ghost- 42 Cricklewood Broadway, Lon-
Says David Mercer of Strat-
canceling circuitry, as pioneered don NW2 3ET, UK.
egy Analytics in Boston, MA,
by the UK’s Independent Televi-
“Analog broadcasting is an Tel: +44 (0) 20-8450-0995
sion Commission in 1993.
anachronism, but switching off Fax: +44 (0) 20-8208-1441
Reference pulses, like a NTSC is going to be a far
radar “chirp”, are broadcast greater challenge than most
along with the TV signal, and people realize’’.
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 1999 - www.epemag.com - 75
Maxfield & Montrose Interactive Inc
1(:6
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 1999 - www.epemag.com - 77
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!
on DC or 200 volts AC. Many of tion, English continues to evolve
WIN A DIGITAL the installations used the desig- and, irrespective of “official” def-
MULTIMETER nations Main, Line and an Earth initions, the perceived meaning
symbol. The new equipment of many words changes
used Line, Neutral and Earth. amongst the general population.
A 3 1/2 digit pocket-sized LCD There was some confusion There are many cases, too,
multimeter, which measures when L, N, E was used instead where words have acquired dif-
AC and DC voltage, DC cur- of M, L, E. I believe that this ferent meanings depending on
rent, and resistance. It can confusion still exists to some the context in which they are
also test diodes and bipolar degree. used.
transistors. Every month we All the electricians I have It’s worth remembering (or
will give a Digital Multimeter to been associated with in industry is it?!) what Alice’s Wonderland
the author of the best Readout over the last 30 years have re- friend Humpty-Dumpty said (in a
ferred to Live or Dead circuits. rather scornful tone), “When I
letter.
Only on official drawings does use a word it means just what I
the label Line appear. Anyone choose it to mean – neither
capable of reading them under- more nor less”!
* LETTER OF THE stands the obvious. It is typical
MONTH * of standards groups to choose
long winded labels that when HIEROGLYPHS
abbreviated, result in an am- Dear EPE,
A-LIVE-A-LIVE-OH! biguous Line. There is “Hold the
line please!”, “Shoot a line”, I’ve downloaded the EPE
Dear EPE, Teach-In 2000 software from
“Cast a line”, “Cloths line”, and
A friend recently drew my at- your website, unzipped and
“Draw a line”. I believe that
tention to the current series you loaded it. It works perfectly on
bomb disposal squads refer to a
are running on Oscillators (since my machine, except that it is
bomb as Live. Sensible people
July '99). Having obtained the completely unreadable. I see
with a lot to lose!
September issue, I sent for the from the note on EPE page 854
previous issues. What interesting Another wonder decision (Nov '99) that FTP software has
reading they make! was to insist that a light bulb or to be set to ASCII transfer.
torch bulb (to mention just a Should this be done for down-
I have been pleasantly sur-
few) should be called a lamp. loading from the website, and if
prised by the exchange of infor-
To most of us, I think, a lamp is so, how is it done? Is FTP soft-
mation with readers in Readout,
a structure or package contain- ware something that is included
and the informative level of Cir-
ing a light source, which could in Outlook Express?
cuit Surgery. be a wick and oil, a carbon rod
I also wish to add to various and an arc, a bulb and battery, Tim Rollin
previous discussions about mains or light bulb and flexible cord. via the Net
electrical power lines. Being long How about fluorescent light
in the tooth, I can say that I was lamp? Really rolls off the
an apprentice on the Southern tongue, doesn’t it! Tim addressed his query to
Electric Board not long after Na- our On-Line Editor Alan. Here’s
Arthur Lawrance a summary of the subsequent
tionalization. I was involved in the
via the Net on-line conversation:
huge task of replacing old equip-
ment with new certified units. At Alan: Hmmmm... are you
the time there were still people It is an interesting fact that, seeing funny characters? Read-
with gas lighting, but many were despite attempts at standardiza- ers have reported this once or
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 78
Maxfield & Montrose Interactive Inc
5HDGRXW
twice. Explorer or Navigator will gram after restarting the com- text. You must be right when
handle FTP automatically. If you puter in DOS mode (that took you say there is a fault on the
fetched it as ASCII, the file me back!), but the program was video adapter, but as everything
would arrive broken and still unreadable. else works fine, I’m loath to fid-
wouldn’t run properly. You don’t Alan: Your codepage and dle around with it too much.
need to worry about ASCII/FTP. country code settings are the John: Another reader
Please could you let me have same as the ones I use, so that (anonymous) also made the fol-
more details of what you’re ac- cause is eliminated. lowing comment to Alan (having
tually seeing. Are the graphics been following correspondence
OK but the lettering and wording This is starting to sound like
your video adaptor is failing to on the EPE Chat Line):
weird?
display EGA text correctly. I Anon: Had a similar prob-
Tim: Yes – the graphics don’t think this is a codepage lem with PIC Toolkit, characters
seem to work fine, but the let- problem. I might be wrong, but were all garbled. The cause was
ters are a series of jumbled cap- we think your card is either non- a faulty video card in my PC,
ital letters, numbers and charac- standard or has failed in one every other program worked
ters, of which half only is visi- circuit, the alternative is that fine. Suspect your Teach-In 2K
ble, as if some were partly on there is a problem with font ta- users may have a similar prob-
the line above and some partly bles looked up by QBasic. The lem. A new video card solved
on the line below. The charac- following display fonts are com- my problem.
ters make no sort of sense and monly used by MS-DOS, ensure
seem to be randomly dis- John: I also had a similar
they are installed: problem with one machine a
tributed. The menu screen is not
rectangular – the vertical sides CGA40WOA.FON couple of years ago. The cause
are bowed outwards. I can of the problem turned out to be
WA80WOA.FON
move from one screen to the due to a config.sys/autoexec.bat
DOSAPP.FON
other fine, and back to the problem with the country code
EGA40WOA.FON settings. Amending the code to
menu once I’d worked out that I EGA80WOA.FON
needed to press “M’’! The pro- that on my other machines
gram is fine – I just can’t read it. Try running the program in (country code 437) solved the
My machine uses Windows 95. a Windows 95/98 MS-DOS box problem. This was the comment
again, then force full screen I made to those readers who
Alan: Sounds like you have
mode by hitting ALT+ENTER. phoned me saying they had a
the Teach-In 2000 file OK, it’s
Repeat this again to see if it tog- “hieroglyphics” problem. I am
your PC system which may be
gles back to a Windows box. A interested to note that Alan also
configured for a different coun-
warning message will be dis- thought that Tim’s problem
try or codepage, or video driver
played if it doesn’t like the might be due to a similar situa-
issues. I’m unsure at the mo-
graphics mode. There may be tion, but that this turned out not
ment, but one or two others
an issue on your system when to be the case.
have said the same sort of
thing. running the software in charac- What also intrigues is that
ter mode rather than graphics we have published many pro-
Send me a copy of your
mode in a DOS box. Try experi- grams written in QBasic/Quick-
config.sys and autoexec.bat, I
menting with this, and also with BASIC, many of them mine, but,
need to look at the setup, and
the MS DOS menu settings with the exception of a couple of
ask my team at Hull University.
above your Windows box. hieroglyph queries with Toolkit,
Also, are you running the soft-
Tim: Thanks for all your ef- there have been no reported
ware in a DOS box, or from the
forts. I’ve solved the problem display problems with any of
C:\ prompt (command prompt) –
messily by copying all the files them. However, it’s pertinent to
i.e. a true DOS screen without
to an old Compaq 386, where comment that I have an early
the Windows shell running in the
the program works perfectly. I EasyPC program that I use for
background (not that I’m sure it
loaded the various font files you all my PCB design work which
will make any difference yet)?
mentioned onto the Windows 95 runs cleanly on three of my
Tim: I thought that in Win- machine (which is a Viglen) but computers, but not on two oth-
dows 95, DOS was only an em- it made no difference to the ers, it too producing hiero-
ulation. However, I tried the pro- glyphs. This despite all ma-
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 79
Maxfield & Montrose Interactive Inc
5HDGRXW
chines having the same apparent 1) When converting MPASM Neither points 1 nor 2 have
display settings and working per- (*.ASM) files to TASM occurred with the MPASM files
fectly with Basic in all QB and (*.ASM) files, the END in- I’ve converted from time-to-time.
GW forms. Whilst I normally run struction in MPASM never These two problems seem re-
my programs in Basic from DOS, appears as in the TASM lated, however. DOS Error 62 is
I can also run them through Win- conversion. Having looked “Input Past End of File” (ignore
dows without problems. briefly at the QB program I Route 9, that’s for my info only).
noticed a line which ap- If your input file is terminating
We would welcome feedback
pears to convert the string early, then the END statement
from readers on this puzzling hi-
END to .END but have not may not be received by Toolkit,
eroglyph situation, and its defini-
yet discovered why the er- hence the omission on the con-
tive solution! Thanks Alan for dis-
ror is occurring. version file.
cussing matters with Tim and for
the information you’ve brought to 2) The conversion of MPASM Examine the MPASM text
light. to TASM always closes file through DOS EDIT and en-
with the error message sure that END is indented and
“MS-DOS ERROR 62 clear of other statements. Re-
LISTEN WITH TOOLKIT move any strange characters
ROUTE 9’’. However, the
Dear EPE, conversion is always com- that might also be part of your
I am in the process of con- pleted with exception of text file. There is one ASCII
structing PIC Toolkit Mk2 (May/ points 1 and 3. value that can be a problem on
June '99) and recently down- occasion, value 26 decimal (hex
3) Labels in my MPASM $1A) which is the “end of file”
loaded the software (V2.3) from
source code that start with marker. Toolkit does not have
your web site. Up to this time I
the alpha characters an intercept for this code
have been using Microchip’s
LISTxxxx (e.g. LIST, LIS- (though one day I might add
MPASM software package includ-
TEN, LISTVAL) do not one).
ing simulator with an inexpensive
translate to TASM as la-
home constructed programmer LIST is a reserved word
bels. Instead they appear
from a kit provided by a UK elec- used by MPASM to indicate
after a semicolon as in a
tronic supplier. This system has such matters as PIC type and
comment statement. Sub-
worked well and is very fast but radix, etc. Toolkit constantly
sequent statements such
the programmer is limited to looks for this group of four let-
as GOTO LISTxxxx are
PIC16x84 microcontrollers. ters (which as you’ve found
also prefixed with a semi-
The Toolkit Mk2 appears to colon. might precede other letters as
provide a flexible and compre- well) and takes any necessary
Since LIST is a functional
hensive way of expanding pro- action as specified after it in re-
command in QB, usually pre-
jects to incorporate the new lation to MPASM’s protocols.
fixed by other code, I wondered
PIC16F87x family with their sub- Having done that, the line is
whether this is an inherent limi-
stantially greater capabilities, then “commented out” with a
tation of the software, although I
avoiding the need for too much semicolon to avoid confusion to
have tried changing the label in
additional memory (my particular TASM.
the MPASM code to other QB
interest is neural networks for
commands such as RUN or VAL
small mobile robots). It also pro-
to see what happens but they TRUMPET VOLUNTARY
vides, in my case, the opportunity
translate satisfactorily with no
to familiarize myself with the Dear EPE,
problems. I would welcome any
TASM version of PIC assembly In the two years or so since
comments or information you
language. I have been trying out I first subscribed to EPE, I’ve
might have.
the V2.3 software and it generally enjoyed reading the magazine
operates very well and is easy to I am looking forward to
completing this programmer tremendously. It’s certainly the
use. best edited of the four or so
which I am sure will provide
However, I have discovered electronics magazines I read
substantial scope for much
one or two glitches running under regularly, and I find the Teach-
more complex projects.
both QB (*.BAS) and executable Ins very valuable. Keep up the
file (*.EXE): Christopher Knight good work!
via the Net
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 80
Maxfield & Montrose Interactive Inc
5HDGRXW
Professor John Hagge opener! It revived my interest in to wait until another year! It is
Iowa State University electronics. basically to do with an intercept
via the Net In your Nov '99 issue you for commas which Basic will not
gave an Editorial on how some import through normal string in-
readers are not embracing the put commands. In itself the in-
Thank you Professor John, tercept is OK but I made an
PIC. Well, this is my testimonial
appreciation is appreciated! oversight in what would happen
and letter of encouragement to
There was a time, though, the readers that learning to PIC when another intercept is ac-
when we were reluctant to blow is not all that hard and it is a tioned for the same command
our trumpet too loudly by publish- very cheap hobby to get started line, that for specifying charac-
ing the complimentary letters re- in. It can and will open so many ters within single quotes. The
ceived. Such self-praise when more doors in the world of elec- end result is that Basic then
seen in other magazines can be- tronics. Keep on PIC’n! tries to return an ASCII value for
come tedious. However, the situ- a null string – which it can’t do.
ation has changed somewhat in Steve Patterson It’s a bit more complicated than
that we have many new readers Lake Orion, USA that, but that’s the gist of it.
joining us from around the world via the Net The problem, now that I see
(principally through our Internet it, will also manifest itself
presence) and we know that they My feelings entirely – al- through the use of constructions
are unlikely to be aware yet of our though my interest in electronics such as MOVLW ’\ ’ and
longstanding good name, ac- has never wavered, I have MOVLW ’;’. For these “quoted’’
quired over 30-odd years of exis- found that the challenge of writ- characters, backslash and semi-
tence. ing control programs, whether in colon, their ASCII values should
At present, we feel that it is in PIC or other languages, has be used, i.e. MOVLW 92 and
our interests to occasionally boast opened up a whole new realm MOVLW 59.
a bit to these new-comers (old- opportunities for me.
comers already know our merits!) TEACH-IN AND PSION
by telling them what others think
of us. (In case you’ve ever won- MS-DOS ERROR 5 Dear EPE,
dered, we never invent letters for Dear EPE, I’ve recently downloaded
Readout – they are all genuine, When using PIC Toolkit your Teach-In 2000 (Nov '99,
although we may well edit them V2.3 and attempting to assem- current series) software and had
for length, grammar or spelling.) ble one of my own .ASM files, I no problems running it on a
kept getting MS-DOS Error 5. modern PC. I’ve tried also run-
Further investigation revealed ning it on an XT emulator but it
KEEP ON PIC’N fails to load. I get the following
that the software would not rec-
Dear EPE, ognize the following command: error “Illegal function call in
The reason I subscribe to MOVLW ’,’. When the line was module TY2KMENU at address
EPE is because it has more PIC changed to MOVLW 44 (44 is 1153:0041”. Can the software
projects than any other magazine the ASCII value of a comma) run on an old XT, or only on a
that I am aware of. I subscribe to the program assembled okay. '286 and above?
at least five other electronics- Keep up the excellent work I currently run your TASM
related magazines and they can- with the magazine. software on the XT emulator on
not touch what you offer regard- a Psion Series 5 (Palmtop) so
ing the PIC. Thank you!!! Stuart Pearson that I can write PIC code and
I took an embedded controller via the Net compile while on the move. I
course for my bachelors degree would also like to run the
at Northern Michigan University Teach-In 2000 application on
There was I thinking that the Psion but this will not work if
(USA) using the PIC. That course V2.3 was bug-free! MS-DOS
changed my whole outlook on the requirements are for a
Error 5 is “Illegal function call”, higher spec machine than an
electronics. This versatile chip
and I can see what causes the IBM XT. I’m aware that the em-
opened a whole new world of pro-
problem, but amending it ulator has its limitations and that
jects and experiments for me and
through a version V2.4 will have you can’t possibly know what it’s
the other students. What an eye
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 81
Maxfield & Montrose Interactive Inc
5HDGRXW
doing, but I can only ask… the comments on my “quibbles” Apart from electronics, one
(Readout Aug '99), I resisted the of the things I am interested in
Federica Appolloni temptation to leap back into the is language, especially its ori-
via the Net fray. gins, but also in its use (and
Professional writers, on the misuse, either unwittingly or
other hand, do have a responsi- purposefully). Whilst my col-
And I can only answer… neg-
bility to get things right. So, af- leagues and I try to be correct
atively, I regret. I have run the
ter seeing viri/virii offered once with our grammar and spelling
TY2K software on ’386, ’486 and
again as alternatives (Net Work (puns and other words-play ex-
Pentium based desk-top ma-
Nov '99), here I am again. If I cluded!), as I implied in my
chines, under Win3.1 and Win95,
said “mans” or “oxes” instead of Readout reply to your original
but I do not know how other ma-
“men” or “oxen”, you wouldn’t letter, we do not claim perfec-
chines/systems will cope. I would
say I was choosing an accept- tion in this matter.
expect, though, that Microsoft
(who wrote the QuickBASIC ver- able alternative, you’d say I was However, you read far more
sion 4.50 software which I used to just plain wrong. The same ap- into Alan’s Net Work “misuse” of
write the program and compile it plies to virii. Second declension “virii” than you should. One
to a run-time .EXE stand-alone Latin nouns ending in -us have characteristic of the English is
format) would have made their their plurals in -i, and that is that we are prone to making fun
software compatible with as many that. of our own foibles. Alan has a
machines as were current at the I hope I am not being too keen sense of humor and by
time the software was first re- one-eyed (forgive the pun) using the word in the context of
leased. By-and-large, I have about this. For what it is worth, I what he was saying, he was hu-
found commercial software to be have a theory about it. Perhaps morously (humoriily?) comment-
nearly always upwards compati- “radius”, with its plural “radii’’, ing on his own previous misuse!
ble. Does any reader know an an- accounts for the wide-spread
swer for Federica? misconception that other words
ending in -us take -ii in the plu-
ral. The point, of course, is that
HUMOURii the first -i in “radii’’ is part of the
Dear EPE, stem, and only the second i is
the plural ending.
Correspondents, including
me, can say anything we like. We Peter Kelly
have no responsibility. if we are Woombye, Queensland
wrong, sooner or later someone Australia
will sort us out. So after reading
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, January 2000 - www.epemag.com - 82
Maxfield & Montrose Interactive Inc