Professional Documents
Culture Documents
July 2000
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.
WARNING!
The materials and works contained within EPE Online — which are made available
by Wimborne Publishing Ltd and Maxfield & Montrose Interactive Inc — are
copyrighted. You are permitted to download locally these materials and works and to
make one (1) hard copy of such materials and works for your personal use. International
copyright laws, however, prohibit any further copying or reproduction of such materials
and works, or any republication of any kind.
Maxfield & Montrose Interactive Inc and Wimborne Publishing Ltd have used their
best efforts in preparing these materials and works. However, Maxfield & Montrose
Interactive Inc and Wimborne Publishing Ltd make no warranties of any kind, expressed
or implied, with regard to the documentation or data contained herein, and specifically
disclaim, without limitation, any implied warranties of merchantability and fitness for a
particular purpose. Because of possible variances in the quality and condition of
materials and workmanship used by readers, EPE Online, its publishers and agents
disclaim any responsibility for the safe and proper functioning of reader-constructed
projects based on or from information published in these materials and works.
In no event shall Maxfield & Montrose Interactive Inc or Wimborne Publishing Ltd be
responsible or liable for any loss of profit or any other commercial damages, including
but not limited to special, incidental, consequential, or any other damages in connection
with or arising out of furnishing, performance, or use of these materials and works.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 499
Maxfield & Montrose Interactive Inc
PROJECTS AND CIRCUITS
CAMERA SHUTTER TIMER - by Robert Penfold 502
Make sure you get the right exposure with this simple design.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 500
Maxfield & Montrose Interactive Inc
EPE MOODLOOP
Various ways of encouraging the brain to generate specific electrical frequencies exist, one of which is
exposure to a suitable alternating magnetic field. Opinions on how this works vary, but one likely method
seems quite simple. An alternating magnetic field induces electrical currents in conductive material within
range and brain tissue is such a conductor. It seems likely that the production of weak currents of suitable
frequency within the brain will either tend to produce the desired mental state directly, or it may do so by
encouraging the brain to “synchronise” to the frequency. Either way, the effect is one many people find
worthwhile as shown by the interest in the two projects published so far in EPE Online. Both of these pro-
duce tiny localized magnetic fields. This one represents an attempt to increase the effect by delivering a
much larger current into an inductive loop system which may be placed right around a small room (or
around a bed in the case of insomnia!) to permeate a whole area with the desired field. Roughly speaking,
it can saturate an area of up to four meters square with a field of intensity equal to that of one of the previ-
ous designs at a range of about three centimeters. This should be sufficient for the most ardent enthusiast
of the system.
TOP TENNERS
This short collection of projects, some useful, some instructive and some amusing, can be made for
around the ten UK pounds mark. The estimated cost does not include an enclosure, for many of them work
just as well as an open board.
All of the projects are built on stripboard, and have been designed to fit on to boards of standard di-
mensions. All of the projects are battery-powered, so are safe to build.
DOOR PROTECTOR
Our first Top Tenner is a simple Door Protector. Even if you already have a system installed in your
home or workplace, there is likely to be a use for this project. With any security system, or even with none,
it is important that all doors and windows should be protected by bolts, bars, grids, or other physical means.
Unfortunately, there is nearly always one weak point. This is the Exit Door, the door by which you normally
leave the house when you are going out. This unit will provide timed entry and exit whilst protecting this or
any other door or window.
HANDY AMP
This easy to build “bench” amplifier has an in-built loudspeaker, it also has the facility for connecting
personal stereo type headphones or an external loudspeaker. it will accept both high-level and low-level in-
put devices. Magnetic record player cartridges and dynamic microphones provide a low-level output while
the “line output” socket fitted to many pieces of consumer equipment (such as compact disc players and
video recorders) provide a high level.
Many readers will, no doubt, wish to construct the amplifier for experimental and test purposes. How-
ever, it could have a variety of other applications. Examples include a small practice amplifier for electronic
musical instruments and as the basis for an intercom or toys and games. Being battery-operated, it may be
set up outdoors and, with just a microphone (possibly with an extension lead) and a pair of headphones
connected, it could be used to listen to wildlife etc.
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 501
Maxfield & Montrose Interactive Inc
ROUGH MEASUREMENTS
–18
Measuring a change in capacitance of 10 F or a movement of 0×2 angstroms – about a
tenth of an atomic diameter – in a hobbyist project seems to be next to impossible and certainly
unthinkable a year or so ago. But with the development of specialist ICs such technology is now
available to all. Why would we want to measure such small valves, well if you use a mass of just
0×1 micrograms to measure g-force then it is necessary to record movements of this nature.
An IC with a two micrometre beam etched into it, along with the necessary detector
electronics, forms the basis of our g-Meter project this month. When you realize that the whole
thing, including the interconnections, is housed in a plastic package measuring just 10mm by
8mm you begin to realize just how far technology has advanced in what was previously an
electromechanical device – we suppose it still is, even though it is now etched into a single
silicon chip.
Devices like this are what keep our hobby interesting. One small chip plus a handful of
passive devices and some form of readout and you have a fascinating, highly sensitive piece of
equipment whose output can also be fed to a data logger or computer for analysis and
recording.
When you realize that what you are using is right at the forefront of technology and you can
buy this for less than 20 UK pounds it seems even more amazing. Gone are the days of weights
on pendulums or inside bolt-on steel housings, now you can stick your accelerometer on with
tape.
BLASÉ
We guess we should not be too surprised since we just accept that a Pentium chip contains
seven million active devices, but it always seems to us that miniaturization of mechanical items
of this nature is somehow a greater achievement. Maybe it’s because we are so used to
electronics getting smaller and smaller that we simply accept it, but find it harder to believe that a
pump, gearbox or mechanical beam can be miniaturized in the same way.
+
Although digital cameras have creeping out of adjustment over
been progressing rapidly in recent a period of time, but things can
years, and most of the obviously go awry with shutters
photographs in this magazine are of either variety. 0V RAIL
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 502
Maxfield & Montrose Interactive Inc
Constructional Project
at its two inputs, and the output
voltage is positive if the non-
inverting (+) input is at the CAMERA
higher potential. The output
voltage is negative if the
METER
inverting (–) input is at the PHOTODIODE
LIGHT ELECTRONIC
higher voltage. The voltage gain SOURCE SWITCH INTEGRATOR
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 504
Maxfield & Montrose Interactive Inc
Constructional Project
CIRCUIT OPERATION the low level associated with The shorter links can be
ordinary silicon transistors, but made from the wire trimmed
The full circuit diagram for at high light intensities it rises to from resistors, but some
the Camera Shutter Timer is a milliamp or more. This again 22s.w.g. or 24s.w.g. tinned
shown in Fig.3. Operational gives the required on/off copper wire is needed for the
amplifier IC2 is used in the switching action from TR1. longer links. At this stage only fit
integrator mode, and capacitor single-sided solder pins to the
It is important that the
C3 is the integration capacitor. board at the positions where
integrator is fed with a stable
Resistors R3 to R6 are the input connections to the meter,
input potential since any
Range resistors, and the controls, etc. will eventually be
changes in this voltage will alter
required resistor is selected made.
the charge current of the
using Range switch S1.
integration capacitor and
Meter ME1 is driven from degrade the accuracy of the
the output of IC2 (pin 6) via the
BOXING-UP
unit. A monolithic voltage
series resistance of R8 and regulator (IC1) is therefore used When choosing a case for
calibration preset potentiometer to produce a well-stabilized +5V this project, bear in mind that a
VR2. Operating Reset switch S2 supply for the input circuitry. fair amount of front panel space
discharges capacitor C3 through is required for the meter and
The integrator, IC2, does
current limiter resistor R7 so that four controls. This precludes the
not require a stabilized supply
the meter is zeroed and a new use of small and most medium
and is powered direct from two
reading can be taken. Resistor size cases. A metal instrument
small (PP3 size) 9V batteries.
R7 prevents excessive case about 200mm or so wide is
The current consumption is only
discharge currents that would probably the best choice and
a few milliamps from each
otherwise shorten the operating was used for the prototype, but
supply rail.
life of switch S2. one of the larger plastic boxes
Under dark conditions, would also be suitable.
photodiode D1 operates much CONSTRUCTION The exact component layout
like any other semiconductor Most of the components are used is not important from the
diode. When reverse biased, as assembled on a piece of electrical point of view, since the
it is here, only a minute leakage stripboard that has 33 holes by circuit operates at DC and is not
current flows. Under bright 18 copper strips. The prone to problems with stray
conditions the leakage level component layout, interwiring feedback or noise pick up.
increases, and the leakage and details of the breaks However, try to use a sensible
current is roughly proportional to required in the underside copper layout that makes the unit easy
the received light level. strips are shown in Fig.4. to use.
If the leakage current is high Construction of the board
enough, transistor TR1 is biased follows along normal lines, with PANEL METER
into conduction and it applies a board being trimmed down to
+5V to the input of the Fitting the meter on the front
the correct size using a
integrator. In practice, sensitivity panel is potentially difficult, as it
hacksaw, the two 3mm diameter
or Level control VR1 is adjusted requires a large round mounting
mounting holes then being
so that TR1 is switched off when hole. This is 38mm in diameter
drilled, after which the 12 breaks
the shutter is closed, and turned for most of the smaller meters,
in the copper strips are cut. The
on when the shutter is open. but it is clearly advisable to
breaks can be made using a
Potentiometer VR1 enables the check this before cutting the
handheld twist drill bit of about
unit to function properly under a hole.
5mm diameter or so. The board
wide range of ambient light is now ready for the components The quickest way of making
levels. and link wires to be added. The this cutout is to use a hole-cutter
Operation using a LF351N specified for IC2 is not of the appropriate diameter, or
phototransistor is much the a static-sensitive component, to use one of the adjustable
same, and Fig.3 shows the but it is still a good idea to use a cutters that are available from
correct method of connection for holder for this component. Do most do-it-yourself superstores.
a component of this type. Under not overlook any of the eight link Alternatively, cutting carefully
dark conditions the collector (c) wires. using a coping saw, Abrafile, or
to emitter (e) leakage current is any similar tool will produce the
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 505
Maxfield & Montrose Interactive Inc
Constructional Project
cutout, albeit rather slowly.
Four 3mm diameter
mounting holes are required for
the threaded rods built into the
meter. These are normally at the
corners of a square having
32mm sides and the same
center as the main mounting
hole. Again, it is advisable to
make some measurements on
the meter itself to check its
mounting arrangements prior to
drilling any holes.
Finished unit showing front panel layout and lettering. Note the
LIGHT SENSOR phototransistor/diode light sensor is attached to the free end of
the screened cable.
Photodiode D1 can be
connected to the main unit via a about 0××5 meters long is used to with various photodiodes and
two-way plug and socket such phototransistors, but as
connect light sensor D1 to the
as a 3××5mm jack type, but it is explained previously, results will
circuit board, and low cost
cheaper and easier to simply screened cable is probably the be more accurate at faster
hard wire it to the circuit board. best choice. Use the outer shutter speeds if a sensor
A hole for the connecting cable braiding to connect the anode having a diameter of 3mm or
must be drilled in the case, and (or emitter) to the 0V rail, and less is used. Results will be
the hole should be fitted with a the inner lead to connect the even better if the sensor is
grommet to protect the cable if cathode (or collector) to resistor masked down to a diameter of
the case is a metal type. R2. about one millimeter, and the
A piece of two-way cable easiest way of doing this is to
The unit worked when tried
R1
1k S3a
OUT IN
IC1
78L05
ON/OFF
TR1 C1
COM
C2
LEVEL BC559 e 100n 100n
VR1 b
220k
c
R3
2k7 3 7 R8
+ 120k VR2
100k
IC2 6 B1
2 LF359 9V
RANGE
R4
27k 5ms 4 S2
50ms
S1
R2 R5
2k2 RESET C3 ME1
270k 500ms A
1µ 50µA
+
5s R7
* SFH
309/5 R6
2M7
22Ω
c k +
*
D1
a
e
* SEE TEXT C4 B2
100n 9V
S3b
ON/OFF
Fig.3. Complete circuit diagram for the Camera Shutter Timer. Note S3 is a “ganged” double-
pole switch.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 506
Maxfield & Montrose Interactive Inc
Constructional Project
apply a ring of black paint battery connectors with the Table 1: Equivalent times in
around the front of the diode. correct polarity. If sensor D1 has milliseconds for shutter
a standard light-emitting diode speeds.
(LED) style case, the shorter
FINAL ASSEMBLY leadout wire will be the cathode Marked Equivalent
The circuit board is mounted or the collector. For diodes Speed in ms
on the base panel of the case, having other case styles the 1/4000 0.25
well towards the right-hand side, manufacturer’s or retailer’s 1/2000 0.5
as viewed from the rear, so that literature should be consulted. 1/1000 1
there is sufficient space for the The base terminal is not 1/500 2
batteries to its left, see normally accessible on small 1/250 3
photograph. Mounting bolts are phototransistors, but if there is a 1/125 8
preferable to plastic stand-offs base lead it is simply ignored. 1/60 16.66
when using stripboard, and both 1/30 33.33
The four range resistors (R3 1/15 66.66
6BA and metric M3 bolts are
to R6) should be mounted 1/8 125
suitable. Include spacers at
directly on the rotary Range 1/4 250
least 6mm long to hold the
selector switch S1. It is best to 1/2 500
underside of the board well clear
solder the resistors on the 1 1000
of the case.
switch tags before it is fitted in
All the hard wiring is the case front panel.
included in Fig.4 and is largely resistors do not overheat. It
Try to complete the takes quite a lot of heat to
straightforward. Be careful to
soldering fairly swiftly so that the destroy them, but relatively
connect meter ME1 and the two
small amounts to impair
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33 their accuracy.
A
B
C
VR1 D S3
E
F
G
IN COM
C2
CALIBRATION
C3
AND TESTING
H e VR1
OUT
b
J c R R
K 1 C3 8
L R
2 Start calibration/
R
N RED BLACK
testing with Range switch
7
D1 k (c) O
B2
a (e) Q
C
4
S1 set to the five-second
SCREEN range (R6 switched into
S2
BLACK RED
circuit) and preset VR2
R
5
R
4
3
R B1 adjusted to roughly middle
2 setting. When the unit is
R
3 1
+
6
4 A 12
5 11
S1 ME1
6 10
7 9
8
R
Q
P
O
N
M
L
K
J
I
H
G
F
E
D
C
B
A
2 4 6 8 10 12 14 16 18 20 22 24 26 28 30 32
1 3 5 7 9 11 13 15 17 19 21 23 25 27 29 31 33
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 507
Maxfield & Montrose Interactive Inc
Constructional Project
measurements with cameras
that have fixed lenses. A large
light source such as a window
is then preferable. This
minimizes any dark areas
where there will be insufficient
light to activate the sensor.
Results are best with the
sensor positioned quite close
to the shutter curtains, but
great care must be taken to
avoid getting the sensor in
contact with any part of the
shutter. These days the cost
of having damaged shutters
repaired is so high that the
sums involved are higher than
the value of the repaired
cameras. Therefore, it is
better to err on the side of
caution and have a gap of
several millimeters between
the shutter and the sensor.
Layout of components inside the prototype metal case. The circuit The best way of
board is bolted to one side of the case to make space for the batter- calibrating the unit is to use a
recently manufactured or
ies. The board should be bolted on 6mm spacers to keep the cop-
serviced camera as the
per underside well clear of the metal case. calibration source. Set the
timer to the 500-millisecond
first switched on the meter ME1 malfunctioning in any way, range and the camera for a
may read other than zero, but switch off immediately and shutter speed of 0××5 seconds
briefly pressing pushswitch S2 recheck the entire wiring, etc.
(500 milliseconds).
should zero the meter. It might be possible to check
Press Reset switch S2 to
With the sensor (D1) aimed automatic exposure times with
zero the meter, take a reading,
towards a light source, which some cameras, but the unit was
and then adjust preset VR2 for
can simply be bright daylight only designed to check manual
precisely full-scale reading on
coming through a window or speeds. Obviously the timer is
the meter. In the absence of a
light from a table lamp, the only usable with cameras that
suitably reliable camera,
meter reading should slowly have removable or hinged
calibrate the unit on the five-
advance. However, it may backs, which means the vast
second range using the camera
require some adjustment to majority of 35mm models.
set to “bulb” or “B”, and a
Level control VR1 before this The main exceptions are stopwatch to help generate a
happens. Clockwise adjustment some of the older Leica models five second shutter time.
of VR1 reduces the light level and copies of these such as the
needed to activate the unit. If the The 0 to 50 scaling of the
early Fed and Zorki cameras.
sensor is a photodiode a specified meter produces
The timer was not designed to
reasonably strong light source readings that are easily
test “”leaf” shutters, but it
will be required. converted into shutter times,
seemed to work quite well when
and it is not worthwhile doing
With a little trial and error it used with shutters for large
any recalibration. Cameras use
should be possible to find a format lenses and when tried
shutter times expressed as
setting that results in the meter with some “golden oldies”, such
fractions of a second rather than
reading advancing when the as an Agfa Rangefinder model.
in milliseconds, which slightly
sensor is aimed towards the Testing is easier if the lens complicates matters. However,
light source, and stopping when is removed from the camera, but Table 1 shows the equivalent
it is not. If the unit seems to be it is possible to make accurate
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 508
Maxfield & Montrose Interactive Inc
Constructional Project
times in milliseconds for the the faster shutter speeds. An be surprised if checking the
standard shutter speeds. error of something like +50 same shutter setting produces a
IN USE percent is clearly not good, but it fairly wide range of times.
does not indicate a faulty Unless the variations are very
It is only fair to point out that shutter, just one having wide this does not indicate that
the generally accepted camera mediocre accuracy. the shutter is faulty, but it does
standards allow for quite large suggest that it is long overdue
With older cameras do not
margins of error, especially on for cleaning and recalibration.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 509
Maxfield & Montrose Interactive Inc
POCKET g-METER by BILL MOONEY
mass to move in
Fig.2. internal functional circuit of the
proportion. On
reaching constant ADXL105. Gain is set by values of
velocity or if external resistors R1 and R2.
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 510
Maxfield & Montrose Interactive Inc
Constructional Project
demodulator which produces an
output voltage representing COMPONENTS
acceleration. Resistors Semiconductors
R1 100k D1 to D9 3mm green LED (9 off)
R2 220k D10 3mm red LED
SENSITIVITY R3, R4 56k (2 off) IC1 ADXL105JQC (or AQC) micro-
R5 2k2 machined sensor (SMD)
Originally developed IC2 LM3914N linear bargraph LED
All surface mount devices
specially for space research (SMD), case size 1206 driver
projects, micromachined Miscellaneous
accelerometers are very tough Potentiometer S1, S2 s.p.d.t. miniature slide switches
15mm fixing center (2 off)
and will withstand the huge VR1 10k ceramic "knob pot" (linear)
SK1 phono socket, chassis mounting
acceleration experienced by Capacitors B1 3V battery pack (2 x AA cells with
rockets. The sensing beam has C1 200n ceramic chip, case size 1206 holder)
a mass of 0××1 microgram and its C2 82n ceramic chip, case size 1206
movement can be detected C3 100u tantalum, 4V PCB available from the EPE Online
Store
down to 0××2 angstroms or about See also the at www.epemag.com (code 7000269);
a tenth of an atomic diameter. SHOP TALK Page! plastic box, size 75mm x 51mm x
The beam displacement- 28mm;
sensing capacitor is a minute Approx. Cost
multistrand connecting wire (see text);
0××1pF and a change of 1aF (1
-18
ato farad is 10 F) can be
Guidance Only
(Excludingnuts,
batts) $56
bolts, and washers; solder, etc.
7 4
SK1
R5
'g' OUTPUT 2k2
(0V)
k a D5
SK1 0g
k a
OFFSET C R5
VR1 B R1 C2 k a
R4 R2 k a
A
A BC
k a D9
R
3 –1g
k a D10
S1
RED
C
1g/0.5g 1
RANGE
Fig.4. Printed circuit board component layout, interwiring and (approximately) full-size underside
copper foil master. Note that IC2 is also soldered to the topside tracks of this surface-mount hy-
brid board.
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 512
Maxfield & Montrose Interactive Inc
Constructional Project
www.epemag.com. If you are
producing your own PCB,
remember that track and
components are on the same
side so there is no need for the
usual mask inversions.
The layout of the whole
instrument is designed to cater
for the “sense” of movement. So
that a forward movement of the
g-Meter, as you look at it, results
in successive LEDs lighting up
in the direction of movement,
see photographs. Because of
the inversion of the signal by the
uncommitted amplifier in IC1,
this means that LED D10 lights
first, reaching D1 at maximum even more awkward in
acceleration in this direction. “positioning” these components.
Finished circuit board bolted Similarly, the Offset Placing the chip
to the rear of the case kid. potentiometer VR1 is wired so components is just a matter of
that a clockwise rotation soldering one end first whilst
are green except D10, which is “pushes” the lit LED towards D1. holding it in place with tweezers.
red. This allows D5 to be set as Thus the whole instrument is The free end can then be
zero g with four equal steps intuitive in operation. soldered with ease.
above and below this point. This
The LED driver IC1 should Aim to use minimal solder.
LED also behaves differently in
be soldered in last because its This is not just to make the
that higher voltage inputs leave
pins protrude through the PCB project look neat but results in a
it on so it acts as a useful
and the board will not rest flat on more flexible connection and
indicator. Resistor R5 controls
the work surface. This would get less stress is transferred to the
the LED brightness and can be
in the way of the surface mount chip. This is particularly
changed at the expense of
soldering process making it important for the higher value
battery life.
ceramic chip capacitors like C1
and C2, which are a little more
CONSTRUCTION delicate.
This project is a hybrid
circuit in that the LM3914 LED CASE
driver, IC2, is a “standard” dual-
in-line (DIL) format device. This
PREPARATION
is soldered on the upper copper Before mounting the LEDs
track side of the printed circuit on the PCB and bolting the
board (PCB) just like the surface board to the lid of the case, the
mount devices. About half of the two halves of the project box
components fit on a single-sided should be prepared. Taking the
printed circuit board (PCB). bottom half, one side panel of
The component layout on the case should be carefully
the surface mount circuit board marked and drilled to take the
(copper pads topside), together phono socket SK1, the two
with the interwiring and slider switches and the
(approximately) full size copper miniature potentiometer VR1.
foil master, is shown in Fig.4. The two slide switches will
This PCB is available from the Completed g-Meter showing need careful attention and the
EPE Online Store (code the side-mounted compo- rectangular cutouts should be
7000269) at nents. made first. The best way to do
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 513
Maxfield & Montrose Interactive Inc
Constructional Project
this is to mark the cutout for the Fig.4. between case lid and PCB.
lower switch, on the outside of All the off-board controls For extended frequency
the case, with a pencil or Biro and output socket SK1 are wired application and if the ADXL105
and drill holes in the four up using fine futaba wire as were to be pushed to its full
corners, fractionally inside the used for model control/servo potential the mounting method
marks. work. It has a very flexible would need further
Next, drill a series of holes multistrand core and comes as consideration. But the method
along the guide marks to join up a 3-way ribbon. You can, of shown is perfectly satisfactory
with the corner ones. The edges course, use standard for this low frequency
of the resulting cutout should be multistrand wire if you wish. application.
smoothed down with a fine file. The cathode (k) lead of Finally, the LM3914 is
Now offer up the switch to each LED (D1 to D10) is bent added and its pins are soldered
the cutout so that the slider knob over to reach the appropriate on the topside of the board
protrudes into the case from the copper pad on the PCB and along with the SM chips. This is
outside. Mark the two fixing hole soldered in place. This method perfectly in order for the DIL
positions, remove the switch is less critical than mounting the package which is frequently
and drill the holes. LEDs directly on the PCB. used on double-sided circuits. It
There is little room for is worthwhile removing the
Repeat the procedure for
misalignment of the surface protruding leads from the
the other switch and mount
mount ADXL105 sensor IC as reverse side of the board with a
them in the case together with
the pads are quite small, but the side cutter.
the other off-board components.
You can, if you wish, solder axis should be lined up as Returning now to the bottom
leads on these components at accurately as possible with the half of the box, the off-board
this stage for later wiring to the long axis of the PCB. The circuit components should now be
PCB. If you do, make the leads board is held in place with two wired to the lid-mounted PCB.
sufficiently long enough to allow 2mm countersunk bolts, with Give the board and wiring a final
the lid of the case to be fully extra nuts to form spacers check and screw the two halves
opened for battery changing.
Having completed this
operation, the lower half of the
box can be put to one side for
later. Now for the case lid and
final assembly.
FINAL ASSEMBLY
In the prototype, the 3mm
LEDs protrude through 3mm
holes in the lid of the project
box. A sharp drill and a little skill
should produce a push fit and
no glue will be needed. Take
care to drill the LED holes
evenly spaced (6mm between
centers) and in as straight a line
as possible for best visual effect.
All the anode (a) leads are
connected to the positive
voltage line by a short length of
Interwiring to the off-board components. Note the “common”
stripped solid-core connecting
wire. This is connected to the connection to the LED anodes and the careful positioning of
last copper pad in the line of the battery holder.
LED connections, as indicated in
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 514
Maxfield & Montrose Interactive Inc
Constructional Project
of the box together. All that Setting the range switch to is by travelling in lifts but here
remains is to produce a paper/ the ±0××5g will drive the indicator again there can be arresting
card “scale” similar to the one off-scale with the meter on dangers. Fairgrounds also
shown in the photographs and either end. This range can be generate a wide range of
the unit is ready for use. checked by setting the indicator acceleration experiences.
to –1g, LED D10 in the
horizontal orientation. Then by WHAT IS “g’’
CALIBRATION turning the meter end-on the
Before all this is understood,
The g-Meter does not indicator should travel full scale
it is necessary to explain speed
require calibration and setting it to D1 covering a range of 0g to
and velocity. Speed is simply the
up is just a matter of checking 1g.
average velocity over a journey
the current consumption and By such manipulation a and is not very useful in physics.
adjusting the Off-set control VR1 variety of operating modes can Velocity describes the rate at
to get the active LED on scale. be set to suit a particular type of which distance is covered with
The drain current should be measurement. time and is measured in meters
about 5mA with no LEDs alight per second.
A few simple experiments
and about 10mA with a LED on.
can now be performed. Set the Velocity is always in a
A few initial checks using range to 0 to 2g and hold the straight line. Any change in
gravity as a reference will be box tightly in the vertical velocity is achieved by applying
worthwhile to show correct orientation whilst jumping on the a force to the body when it will
operation and demonstrate how spot. A small jump will generate slow down or speed up, i.e. will
the scale can be used. +0××75 to 2g. A big jump may decelerate or accelerate. So
drive the meter off scale. acceleration is the rate of
FEEL THE FORCE But an indication of the g- change in velocity, and as the
force can still be gleaned from units of velocity are meters per
First set the range to ±1g. second, then acceleration is
this versatile device. Simply hold
Then hold the g-Meter flat or it at about 60 degrees to the meters per second per second
–2
rest it on a horizontal surface vertical and after resetting the or m. sec
and, using the Offset control, off-set to the position marked – To understand “g” we need
adjust the position of the “on” 1g (LED10) you now have at a to invoke Newton who
l.e.d. to the mid position. If D5 is range of about 0 to 4g. Can you discovered that any two masses,
used as the 0g position this drive your body skyward at 4g? like you and the earth for
gives four steps to +1g and four
Whilst sitting on a swivel example, experience a force of
steps to –1g.
chair swing around in an arc attraction called gravity. At the
Now turn the g-Meter to the with the meter held horizontal earth’s surface this force is the
vertical position with the arrow and pointing along the radius of same as you would feel if you
pointing upwards. The internal movement. Which way does the were accelerated at 9××81metres
ADXL105 IC1 is now on end g-force register and why?
–2
sec and is therefore given its
with pin 1 uppermost. The special title of 1g.
indicator LED should travel up Monitoring the accelerations
experienced during driving is Although acceleration is
the scale to the +1g position
revealing. A slight easing of the measured and mostly quoted in
stopping with LED D1 active. –2
foot from the accelerator pedal meters per sec in many cases
This is now registering the force
results in surprisingly rapid it is more meaningful to quote it
of gravity. Standing the device
deceleration due to engine in g. Acceleration (a), force (F)
on the other end, reversing the
breaking. Hard breaking, rapid and mass (m) are all tied
arrow direction should result in a
take-off from traffic lights and together in Newton’s apparently
–1g indication.
excursions over hump-back simple relationship:
If the offset is adjusted to bridges also produce interesting
indicate –1g with the g-Meter g-forces. F = ma
horizontal it will now cover the
range of 0g to +2g. As a check, Too much of this in-car work With this we can calculate
stand it on end and the active can result in unwanted large the acceleration which will be
LED should reach mid-scale, deceleration so be careful or get produced by the application of a
which now means +1g. a chauffeur. A safer way to particular force. A good example
experience smooth acceleration
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 515
Maxfield & Montrose Interactive Inc
Constructional Project
is a falling apple. It weighs about To sum up, it is acceleration be very informative. Wooden
100g (its mass, m) and whilst it coupled with mass that is floors are not as solid as they
drops from the tree it will meaningful to us as this feel, but lets hope you don’t get
accelerate at 1g or 9××81m. sec
–2
describes the force we feel. A a chance to register an
(a) so that the force (F) on the jumping flea can generate huge earthquake.
apple is obtained by multiplying acceleration without problems The g-Meter, used for tilt
its mass by its acceleration. whereas the same acceleration detection will quickly show just
would be very uncomfortable for how effective even a low cost
To get the units correct the a human.
mass is measured in kilograms, spirit level can be. It is surprising
in this case 0××1kg. So that the The ADXL105 is used for what can be done with this
force is 0××1 x 9××81 which gives F earthquake detection, in single axis detector and it shows
–2
as 9××81kg.m. sec and this particular for automatic gas cut- how useful a multi-axis device
off. It will register vibrations very might be.
happens to be about 1 Newton
effectively and looking at the
of force.
output on an oscilloscope can
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 516
Maxfield & Montrose Interactive Inc
Constructional Project
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 517
Maxfield & Montrose Interactive Inc
PIC-GEN FREQUENCY GENERATOR/
COUNTER by JOHN BECKER
Add even more versatility to your workshop facilities. Prior to the introduction of
the MAX038, arguably the main
contender for the most widely
Combining the sophisticated The PIC is also used as a used function generator was the
features of a Maxim MAX038 frequency counter, switch 8038, manufactured by various
waveform generator and a selectable to monitor the companies under different prefix
PIC16F877 microcontroller has frequency generated by the codings, such as ICL8038 and
resulted in a highly versatile and MAX038, or from an external XR8038, for instance.
inexpensive workshop tool whose source in conjunction with a pre- The 8038 is still widely used
facilities have hitherto been conditioning waveform shaper but it has limitations in the
unattainable without considerable and frequency divider. Two maximum frequency that can be
design complexity. external signal inputs are generated. The range is typically
provided: one for 0V to 5V logic 0××001Hz to 100kHz.
The MAX038 is a high- level waveforms, the other for
frequency precision function AC waveforms having a peak- The MAX038, however, is
generator whose output is to-peak swing of between about stated to have an upper
selectable to produce triangle, 2V to 5V. The prototype can frequency limit of at least
sine and square waveforms, monitor frequencies in excess of 20MHz, and possibly around
within a wide operating frequency 40MHz. 40MHz. It has to be said,
span of 0××1Hz to over 10MHz, split though, that attaining such high
in the PIC-Gen as eight frequencies requires printed
overlapping frequency ranges. MAX038 FUNCTION circuit board design and
Range and waveform selection GENERATOR construction techniques
are performed by the PIC16F877 normally found only in
in response to pushbutton switch In EPE September ’96, commercial manufacturing
controls. Frequency is fully Andy Flind first introduced establishments.
variable within the selected range readers to the merits of the then
newly introduced MAX038 The upper frequency limit of
by means of a front panel control the device is dependent not only
potentiometer. waveform generator, in a special
feature article of the same on very accurate control of the
An alphanumeric liquid crystal current flowing into its frequency
name. He followed it up with a
module displays the frequency setting inputs, but also on the
full constructional article, the
and range information. capacitance associated with
10MHz Function Generator, in
Four frequency outputs are them. Maxim state in their data
October ’96.
provided: sheet, for instance, that the
o) Direct output at ±1V peak-
to-peak
o) AC coupled output, fully
variable between zero and
4V peak-to-peak
o) Pulse output, 0V to 5V
logic level
o) 3××2768MHz fixed
frequency, 0V to 5V logic
level
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 518
Maxfield & Montrose Interactive Inc
Constructional Project
specified upper frequency limit Sept/Oct ’96 articles. 10pF will be seen by the MAX038
is achieved when the timing In the PIC-Gen design, the as a value higher than this due to
capacitance is less than or controls used are those that set the (unpredictable) capacitance of
equal to 15pF and the control frequency and waveform shape. the circuit in proximity to the C
current is 500uA. The eight frequency ranges are OSC pin. Capacitor C11 could be
set according to the capacitance omitted if you want to try
Unfortunately, on a PCB
value connected to the device’s increasing the maximum
designed for successful
C OSC pin. Fine tuning of the frequency attainable.
assembly by the average
hobbyist, the capacitance frequency is performed by Pushbutton switches S1 and
between the MAX038, other varying the current provided by S2 cause the PIC to step the
components and the tracks is potentiometer VR1 to the I IN frequency range down or up
likely to prevent the maximum pin. (respectively) on a continuous 8-
frequency from being reached. Resistor R2 limits the step loop.
The prototype PIC-Gen maximum current that can flow, Nominally, the capacitor
described here achieves a while R1 sets the minimum values have been chosen to
maximum of just over 10MHz. current. provide a factor of ten difference
between each step. Normal
manufacturing tolerances apply to
PIC-GEN CONCEPT FREQUENCY these values, especially with the
Considering how the SELECTION electrolytic capacitors.
MAX038 might be put under Potentiometer VR1 provides a
semi-automatic control as part Eight capacitors are used to
set the frequency ranges, C11 to frequency control range of about 1
of a frequency generator and to 50. For example, if the
counter system, the author C18. These are commonly
connected at one end to the C minimum current flow through
recognized that a PIC16F877 VR1 and R2 causes a frequency
microcontroller might provide OSC pin (5). Capacitors C12 to
C18 have their other ends of 1kHz, then maximum current
the key. This device has five flow will cause 50kHz to be
input-output ports which, it connected individually to port
pins of the PIC microcontroller, generated. The range may be
seemed, could possibly provide shortened by increasing the value
automated switching of the IC5. For PCB layout
convenience these pins were of R1, although this will raise the
frequency range capacitors, lowest frequency that can be
selection of the waveform chosen to be RB1 to RB5, RD6
and RD7. Capacitor C11 is attained.
shape, offer frequency counting
and provide an output to a liquid permanently connected to the
0V line.
crystal display. WAVEFORM
Normally, the above seven
Doing a basic mock-up on
pins are set as inputs to the PIC. SELECTION
stripboard coupled to a PIC
roughly programmed to perform In this condition, they are PIC-Gen provides selection of
the bare essentials proved the effectively held in an open-circuit three waveform shapes, Sine,
viability of the idea. The concept state, the PIC inputs having a Triangle and Square.
was then given full flesh and very high impedance. As such, Selection is made according
bones to become the design the MAX038 ignores those to the binary code placed on the
whose circuit diagram is given in capacitors. MAX038’s A0 and A1 inputs. The
Fig.1. To bring one of the seven code is controlled by the PIC, via
The MAX038 function port controlled capacitors into its RB6 and RB7 pins, as follows:
generator is shown as IC2. It will circuit, the PIC has the
appropriate pin set as an output A1 A0 WAVEFORM
be seen that half the pins are 0 0 Square
grounded and from some of held at logic 0 (0V). With a
higher capacitance value 0 1 Triangle
their notations it will probably be 1 x Sine
(correctly) deduced that the selected, so the lower the output
device has more functions than frequency from IC2. where x = don’t care
are used here. For information For the highest frequency Pushbutton switch S4 causes
about the device’s full range of range, capacitor C11 is the the PIC to step through the three
functions, see its data sheet controlling component. Note, waveform codes on a repeating
(details later) or Andy Flind’s though, that its nominal value of
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 519
Maxfield & Montrose Interactive Inc
Constructional Project
Note that IC6’s Q12 output
is the final one in its counting
sequence. This changes state at
1/4096 of the input frequency
and even at high input rates the
PIC is able to monitor this pin.
Each time the pin changes
state, the PIC registers the fact
Typical LCD display showing that a square and increments an internal
wave is being generated and that a frequency counter.
count of 3,706,286Hz has been read on range
At regular intervals,
7 during the normal 1-second sampling period. selectable for one or ten
cycle. seconds by switch S3 (Sample
FREQUENCY Time), the full 12-pin sequence
The selected waveform is
output at IC2 pin OUT and has a
COUNTER of IC6’s outputs is read and a
frequency value calculated
fixed amplitude of ±1V, Whilst a PIC can be
according to this value and that
symmetrical about 0V. The programmed to act as a
of the internal counter. Once the
output has a very low frequency counter simply by
reading has been taken, the
impedance (typically 0××1W) and monitoring one input pin, the
internal and IC6 counters are
can be used directly via socket maximum frequency that can be
reset (the latter via PIC pin RD4)
SK5. monitored by this method is
prior to the next batch of
severely limited. To enable very
The same waveform is counting.
high frequency signals to be
amplified by the non-inverting counted by the PIC-Gen, a pre- Frequencies in excess of
opamp circuit around IC3a. The counter is used and the output 40MHz have been recorded on
gain is set at x2, resulting in an from that is monitored at regular, the author’s prototype.
output swing of ±2V. Capacitor but slower intervals.
C3 provides DC isolation of the
output and potentiometer VR2 The pre-counter is IC6, a FREQUENCY INPUT
provides full control over the 74HC4040 12-stage ripple
counter. Its outputs are fed into There are three sources
amplitude output at socket SK3, from which the signal to be
from zero to maximum. PIC pins RC0 to RC7 and RD0
to RD3. It will be seen in Fig.1 counted can be input, as
It should be noted that the that the PIC’s pin order use described presently. All three
TL082 used as IC3a does not relative to the output pin order of finally arrive at counter IC6 via
permit the full frequency rage of the counter does not match. the Schmitt trigger NAND gate
the MAX038 to be amplified and This is intentional to simplify the IC7a. Immediately prior to
output. In the prototype, a PCB design, allowing software reading the contents of IC6, the
maximum of about 1MHz is to interpret the input values as PIC sets pin RD5 low, so turning
experienced, after which the correct binary numbers. off gate IC7a and preventing
amplitude progressively falls. further input signals from
Other opamps which have
higher frequency capabilities are
available but no
recommendation is offered on
this point.
Readers should be aware
that whilst some opamps may
seem to offer very high
frequency capabilities according
their data sheets, other factors
(also quoted) can affect the
range and must be taken into
account. PIC-Gen front panel. The waveform button is bottom far right.
The switch marked “pulse” (top right) is the on/off switch in the
final model.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 520
Maxfield & Montrose Interactive Inc
Constructional Project
reaching the counter. This Logic level signals either above or below the 0V/5V
allows the ripple-nature of the (nominally 0V to 5V) are input to range should not be input to
counter to stabilize (ripple the PIC-Gen via socket SK1 socket SK1. Those having
through) at the correct count (Logic Input), switch S5 lesser swings may not trigger
value. Software introduces a selecting their routing to gate gate IC7a, those having swings
slight delay between closing the IC7a and the counter. Signals greater than about 6V could kill
gate and taking the reading. having other voltage ranges, it.
Fig.1. Full circuit diagram for the PIC-Gen Frequency generator and Counter.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 521
Maxfield & Montrose Interactive Inc
Constructional Project
Signals which are analog or
digital and have a swing range
less than 5V, but greater than
about 2V to 2××5V, are input via
socket SK2 (AC Input). Switch
S6 selects their routing to the
pre-conditioning circuit around
IC7c. This is another Schmitt
trigger NAND gate, having one This display shows a sine wave is being generated and a
input (pin 13) held biassed at a frequency of 25,124Hz has been registered via range 4.
mid-power line level (2××5V) by
the potential divider formed by instability occurred when this selected (sine, triangle or
resistors R8 and R9. The other was generated (as cautioned in square).
input (pin 12) is held at +5V. Maxim’s data sheet). o) Line 1 mid/right:
Consequently, the option to use frequency value.
The input signal is AC this output has been dropped
coupled via C10 to the biased from the published PIC-Gen o) Line 2 left: frequency
input of the gate. Providing the (although the connection tracks range selected (8
input signal’s peak-to-peak on the PCB have been choices).
range is greater than the gate’s retained). o) Line 2 mid/right:
hysteresis value (which varies
sampling range selected
slightly between individual
(2 choices).
devices), so the gate will be 3·2768MHz OUTPUT
triggered. The LCD is shown as X2 in
The PIC is run at a
The output of this gate is frequency of 3××2768MHz, as set Fig.1. It is under standard 4-bit
also fed to switch S5, which control, but whereas many PIC
by crystal X1. Although this
routes it to the counter via IC7a projects control it via PIC Port B,
frequency can be tapped directly
when selected. here it is controlled via Port A
from PIC pin OSC2, it was
(RA0 to RA5). Apart from the
Because the main output deemed better to buffer it via
change of PIC port register
signal from the MAX038 has a gate IC7b before releasing it to
number, the software routine
peak-to-peak swing of ±1V, it the outside world through socket
that drives the LCD is the
too has to be pre-conditioned via SK4. The output is a 5V square
author’s usual “library” routine.
IC7c before its frequency can be wave.
counted, the routing also being It is worth noting, though,
selected by switches S6 and S5, that because Port A RA4 is an
respectively.
DISPLAY MODULE open-collector pin, resistor R7
As is common with so many has to be used to bias it high in
recent EPE Online PIC projects, order to correctly control LCD
LOGIC OUTPUT an alphanumeric liquid crystal pin D5.
The output from IC7c is display (LCD) is used. This The LCD screen contrast is
additionally fed to socket SK7 shows the frequency count and adjustable by preset VR3.
allowing, for example, the sampling rate, plus the
frequency generated by the generated waveform selected
MAX038 to be used as a 5V and its frequency range (as a POWER SUPPLY
square wave (irrespective of number between 0 and 7, where It is intended that the PIC-
which waveform is being 0 is the lower frequency range). Gen should be powered at 9V,
generated), or for the a.c. signal The information displayed takes either from a 9V battery or a 9V
to be converted to 5V pulses a form similar to: mains power supply (in fact,
(whose width depends on the input supply voltages between
nature of the signal). SINE 25124Hz
about 7V and 12V are
Whilst the MAX038 has its Range4 Time1 sec acceptable). Regulator IC5
own 5V square wave available drops and stabilizes the input
where: supply at 5V. This powers IC3,
at the SYNC pin (when pin +DV
is held high), it was found that o) Line 1 left: waveform IC5 to IC7, and the LCD. These
devices must not be powered
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 522
Maxfield & Montrose Interactive Inc
Constructional Project
COMPONENTS
Resistors See also the
R1 470 ohms
R2, R4, R5, R7, R10 to R13 10k (8 off) SHOP TALK Page!
R3 10 ohms
R6 1k
R8, R9 100k (2 off)
Potentiometers
VR1 10k panel mounting rotary
or multi-turn linear (see text)
VR2 10k panel mounting rotary lin.
VR3 10k miniature preset, round
Capacitors
C1 to C3, C18 to C24 100u radial
electrolytic, 16V (5 off)
C4, C10 22u radial electrolytic, 10V (2
off)
C5, C7, C15, C19 to C23 100n
ceramic disk, 5mm pitch (8 off)
C6, C16 1u radial electrolytic, 10V (2 off)
C8, C9, C11 10p ceramic disk,
5mm pitch (3 off)
C12 100p ceramic disk, 5mm pitch
C13 1n ceramic disk, 5mm pitch
C14 10n ceramic disk, 5mm pitch
C17 10u radial electrolytic, 10V
Semiconductors
D1 1N4148 signal diode
IC1 MAX660 DC-to-DC converter
IC2 MAX038 function generator
IC3 TL082 dual opamp Completed prototype PCB. Differs
IC4 78L05 +5V voltage regulator
IC5 PIC16F877-4P microcontroller (pre-programmed -- see text) slightly from final model.
IC6 74HC4040 12-stage binary ripple counter
IC7 74HC132 quad dual-input Schmitt NAND gate supply is inverted to become –
IC8 79L05 -5V voltage regulator 9V.
Miscellaneous The MAX660 has a much
S1 to S4 s.p. push-to-make switch (4 off) greater output load capability
S5 to S7 s.p.d.t. miniature toggle switch (3 off)
X1 3.2768MHz crystal
than the more familiar ICL7660
X2 2-line 16-character (per line) LCD module (see text) (and similar) devices, typically
about 100mA as compared with
PCB available from the EPE Online Store (code 7000268) at www.epemag.com. 20mA. ONLY the MAX660
knob (2 off); 8-pin DIL socket (2 off); 14-pin DIL socket; 16-pin DIL socket; 20-pin should be used in the PIC-Gen.
DIL socket; 40-pin DIL socket; 1mm pin header strips (see text); 1mm terminal
pins; It had been expected that
2mm socket (7 off, various colors) (or sockets to suit other equipment); plastic the MAX660 could have been
case, powered by the 5V regulated
205mm x 108mm x 57mm; plastic feet for case (4 off); PCB mounting supports
supply from IC4, producing –5V
(4 off); PP3 battery and clip, or socket to suit external power supply (see text);
as a result. However, the first
Approx.
connecting Cost
Guidance Only
wire; cable ties; solder, etc. case, batts)
(Excluding $90 test model of the PIC-Gen
showed significant instability in
within the PIC-Gen circuit at any the frequency generated when
around IC1 and IC8.
other voltages (normal power this method was used.
supply tolerances apply). IC1 is a MAX660 voltage Investigation showed that the
converter, used here to ripple frequency output by the
The 5V supply is also used generate a negative voltage of MAX660 could not be
by the MAX038, but this device the same (inverse) magnitude dampened sufficiently to prevent
additionally requires a supply of as the voltage at which it is it from modulating the MAX038
–5V. A double-staged circuit is powered. In this instance, the 9V frequency output.
used for this purpose, based
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 523
Maxfield & Montrose Interactive Inc
Constructional Project
Consequently, it was found
necessary to first generate –9V
and then to regulate and
stabilize it down to –5V using
IC8, a negative voltage
regulator. Further smoothing is
given by the use of resistor R3
and capacitors C23 and C24.
A small instability remains,
believed to be due to the
MAX066’s square wave
oscillator radiating into other
parts of the circuit (an
oscilloscope probe on a range of
10mV just picks up the signal
when held near to the device).
The instability is principally
noticeable at higher MAX038
frequencies.
PROGRAMMING
CONNECTIONS
As is customary with the
author’s recent PIC projects, the
PIC device used in this circuit
can be programmed in-situ on
the printed circuit board. The
usual four connections are
provided, ~MCLR (Vpp), DATA,
CLK, and 0V, accessible via
connector TB2, whose
connections are in the same
now-familiar order. Diode D1
and resistor R6 are part of the
required control configuration.
The EPE PIC Toolkit Mk2 (May/
June ’99) is an ideal
programmer to use.
MISCELLANY
Resistors R10 to R13 are
pull-down resistors to
appropriately bias the respective
PIC input pins when switches S1
to S4 are not pressed. NAND Fig.2. PIC-Gen PCB component layout and (approximately)
gate IC7d has its inputs biassed full-size copper foil master pattern. The numbers at the ends of
to a power line (+5V in this the lead-off wires should terminate at identical points on the
case) as is required for unused front panel (Fig.3).
CMOS gates. Opamp IC3b had
been intended for use as an provided cleaner signal control, count signals having a peak-to-
external analog input amplifier, and at a far higher frequency. peak value less than about 2V,
but it was decided that the they should pre-amplify them
If users need to frequency-
configuration around IC7c first.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 524
Maxfield & Montrose Interactive Inc
Constructional Project
Fig.3. Layout and wiring to the front panel (full size) mounted components. The inset panels
show wiring to a multiturn pot and suggested wire groupings.
Only the HC versions of IC6 of a 74LS132 should allow capacitors are used throughout
and IC7 should be used lesser amplitude external the circuit at strategic points on
(74HC4040 and 74HC132). signals to be input to the the PCB.
These are typically capable of frequency counter, typically
handling signals in excess of having a peak-to-peak swing of
40MHz. The “standard” CMOS about 0××8V, although this has not CONSTRUCTION
4040 counter is far too slow to been tried. Details of the component
be usable in this circuit. The use and track layouts for the PIC-
Numerous smoothing
Layout of components and wiring inside the case of the completed prototype PIC-Gen.
There are very minor differences between this and the final wiring diagrams.
Note the various wiring “looms”.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 525
Maxfield & Montrose Interactive Inc
Constructional Project
Gen PCB are shown in Fig.2.
This board is available from the
EPE Online Store (code
7000268) at www.epemag.com
The author’s preferred
assembly is in order of link wires
(some go under IC positions), IC When the sampling rate change switch is pressed,
sockets, resistors, diode, small the word “counting” is displayed until the first new
capacitors, and remaining count has been completed. In this instance a 10-
components in ascending order
second sampling rate has been selected.
of size. Do not insert the DIL
(dual-in-line) ICs at this stage. Table 1: PIC16F877 configuration bits.
Ensure that all polarized
components are orientated as CP1 CP0 DBG NIL WRT CPD LVP BOR CP1 CP0 POR WDT OS1 OS0
1 1 1 1 1 1 0 0 1 1 0 0 0 1
shown in Fig.2.
Pin-header strips were used
for terminal groups TB1 and of signals interacting with each converter IC1 and check that a
TB2. The order of these other through the interwiring, negative voltage equivalent to
connections is identical to that several “harness” groups were the applied power supply is
used in the author’s recent PIC used, keeping potentially present at it’s output (i.e. –9V for
projects. Details of the source interactive signal paths apart as a +9V supply). Check that –5V
for the LCD module complete seemed reasonable. The groups is present at the output of
with matching connector are can be seen in the photograph, regulator IC8 and at the pin 20
given on this month’s Shoptalk and they are itemized by position of the socket for IC2.
page. connection number in the If all is satisfactory, the
second insert of Fig.3. remaining ICs and the LCD can
The prototype PIC-Gen is
housed in a plastic case Several cable ties are used be inserted. Only one LCD line
measuring 205mm x 108mm x to keep each group separately will be active until the PIC is
57mm. The layout and harnessed. running. Adjust preset VR3 until
interwiring of the off-board the active pixels are seen as
components on the rear of the slightly darkened rectangles, or
case’s front panel are shown in
CHECK-OUT the displayed text is clearly
Fig.3. The illustration is to scale. During the checking-out of visible if the PIC is running.
(Note that the photographs show the circuit, power should always If not already programmed,
slightly different panel wiring to be switched off before inserting the PIC can have its program
that in Fig.3.) ICs or making other alterations. downloaded to it on the PIC-Gen
A choice of frequency Switch off immediately if the board from a suitable PIC
control potentiometer is offered. circuit does not behave as programmer, connecting the
The illustration in Fig.3 shows expected, rechecking your programmer via pin header TB2.
the connections for VR1 as a assembly for errors.
The PIC configuration
standard single-turn carbon Assuming that you have (initialization) required is the PIC
rotary potentiometer. The inset thoroughly checked that you Toolkit Mk2 default as shown in
shows the typical connections have not made assembly or Table 1.
for a multiturn (10-turn in the soldering errors, the first check
should be with the LCD and all Once programmed, the PIC
prototype) wirewound
ICs omitted except the two should immediately start running
potentiometer.
regulators IC4 and IC8. and a set of data similar to that
The standard pot is the least previously discussed should be
expensive choice but does not With power applied, check seen. Set switches S5 and S6
allow the same degree of that +5V is present at the output so that the frequency being
frequency setting precision as of IC4 and at strategic points generated by IC2 is being
the more-expensive multiturn around the PCB (referring to monitored. Observe the results
pot. both Fig.1 and Fig.2). when different waveforms,
To minimize the possibility Insert the negative voltage frequency ranges and sampling
rates are selected using
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 526
Maxfield & Montrose Interactive Inc
Constructional Project
switches S1 to S4 and with the and switch S5 to minimize the Data sheets for the MAX038
frequency control potentiometer risk of IC7a becoming and MAX660 can be
VR1 at various settings. distressed by negative-going or downloaded from Maxim’s web
If you have an oscilloscope, over-voltage signals.) site at www.maxim-ic.com
monitor the waveforms output at Once fully checked, the PIC- Data sheets for the
all settings and from all panel Gen is ready to be put into PIC16F877 (and other PIC
outputs. Additionally check the general workshop use. products) can be downloaded
two inputs, using an external from Microchip’s web site at
signal generator. Outputs Out www.microchip.com
Direct and AC Out should only RESOURCES
be fed into the AC Input (do not The software for the PIC-
feed them into the Logic Input Gen is available for free
because of their negative-going downloaded from the EPE
content). Obline library at
(You may prefer to insert a www.epemag.com. The
1k resistor between socket SK1 program is written in TASM.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 527
Maxfield & Montrose Interactive Inc
EE213 135 Hunter Street, Burton-on-Trent, Staffs. DE14 2ST
Tel 01283 565435 Fax 546932
http://www.magenta2000.co.uk
E-mail: sales@magenta2000.co.uk
All Prices include V.A.T. Add £3.00 per order p&p. £6.99 next day
MAIL ORDER ONLY • CALLERS BY APPOINTMENT
EPE MICROCONTROLLER PIC PIPE DESCALER
P.I. TREASURE HUNTER
The latest MAGENTA DESIGN – highly
• SIMPLE TO BUILD
• HIGH POWER OUTPUT
• SWEPT
FREQUENCY
EPE
stable & sensitive – with I.C. control
of all timing functions and advanced
pulse separation techniques.
• AUDIO & VISUAL MONITORING
An affordable circuit which sweeps
the incoming water supply with
TEACH-IN
• High stability
drift cancelling
variable frequency electromagnetic
signals. May reduce scale formation,
dissolve existing scale and improve
2000
• Easy to build lathering ability by altering the way Full set of top quality NEW
salts in the water behave.
& use Kit includes case, P.C.B, coupling components for this educational
• No ground coil and all components. series. All parts as specified by
effect, works High coil current ensures maximum
effect. L.E.D. monitor EPE. Kit includes breadboard,
in seawater
KIT 868 .........£22.95 POWER UNIT.........£3.99 wire, croc clips, pins and all
components for experiments, as
• Detects gold, listed in Introduction to Part 1.
silver, ferrous & MICRO PEsT *Batteries and tools not included.
non-ferrous
metals SCARER
• Efficient quartz controlled Our latest design – The ultimate TEACH-IN 2000 –
scarer for the garden. Uses
microcontroller pulse generation. special microchip to give random KIT 879 £44.95
• Full kit with headphones & all delay and pulse time. Easy to
hardware build reliable circuit. Keeps pets/ MULTIMETER £14.45
pests away from newly sown areas,
KIT 847......................£63.95 play areas, etc. Uses power source
from 9 to 24 volts.
PORTABLE ULTRASONIC • RANDOM PULSES
SPACEWRITER
An innovative and exciting
PEsT SCARER • HIGH POWER project. Wave the wand through
A powerful 23kHz ultrasound generator in • DUAL OPTION Plug-in power supply £4.99 the air and your message appears.
Programmable to hold any message
a compact hand-held case. MOSFET output KIT 867................................£19.99 up to 16 digits long. Comes pre-loaded
drives a special sealed transducer with in- with ‘‘MERRY XMAS’’. Kit includes
tense pulses via a special tuned transformer. KIT+SLAVE UNIT...................£32.50 PCB, all components & tube plus
Sweeping frequency output is designed to instructions for message loading.
give maximum output without any special
setting up.
WINDICATOR KIT 849.......................£16.99
A novel wind speed indicator with LED readout. Kit comes
KIT 842........................£22.56 complete with sensor cups, and weatherproof sensing 12V EPROM ERASER
head. Mains power unit £5.99 extra. A safe low cost eraser for up to 4 EPROMS at a time
in less than 20 minutes. Operates from a 12V supply
KIT 856...........................................£28.00 (400mA). Used extensively for mobile work – up-
dating equipment in the field etc. Also in educa-
TENS UNIT
tional situations where mains supplies are not al-
lowed. Safety interlock prevents contact with UV.
KIT 790............................£29.90
SEE ICEBREAK AD DUAL OUTPUT TENS UNIT Set of
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 528
Maxfield & Montrose Interactive Inc
Ingenuity Unlimited
momentarily close and open The main function of flip-flop should operate successfully in
again when the sensor is IC2a is to prevent the circuit most (though perhaps not all)
touched, thus serving as a trig- from re-triggering itself through positions in the home.
ger. When S1 is open, the circuit stray pick-up from the relay. Although the circuit is sensi-
acts as a sensitive and reliable IC2a masks such pick-up for a tive, there is virtually no spurious
Touch-On Touch-Off switch. fraction of a second when the triggering, all leads should be
Opamp IC1a is wired as an relay switches. It also serves to kept short. With a large 9V PP9
oscillator, carefully tuned by VR1 select trigger or touch-on/touch- battery, the detector/trigger/
and VR2 so that it is just reluc- off modes through switch S1. switch will remain on standby for
tant to oscillate. The value of Piezoelectric disc X1 is in- up to 2 months. A connection
resistor R2 is high, so that IC1a cluded to monitor whether IC1a may be taken from point ‘A’ to
is sensitive to stray pick-up by is breaking into oscillation. Light- most CMOS logic inputs.
the sensor, which biases the os- emitting diode D2 indicates
cillator into operation. IC1b is when IC1b goes high. Note that Rev. Thos. Scarborough
wired as a simple comparator, the circuit is obviously depen- Fresnaye, Cape Town
which detects a rise in voltage in dent on the electromagnetic field South Africa
capacitor C2 and provides a generated by the AC mains, and
clear logic high or low output at will only operate in the vicinity of
point ‘A’. AC wiring or appliances. It
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 529
Maxfield & Montrose Interactive Inc
Ingenuity Unlimited
dent On and Off switches allows down a door pillar) and the use timer circuit, a loop of suitable
the light to be operated with the of appropriate male, female and wire could be added while the
engine running which is useful if piggy-back spade connectors, starter switch is exposed, fitted
the driver needs to stop briefly to the unit can be installed without with a concealed switch (S3) to
look at directions for example, or cutting existing wiring to the provide added security against
to switch off the light after allow- light. The only additional con- the vehicle being started by an
ing a passenger to get in or out nections required are an Earth unauthorized key holder.
of the vehicle. to the vehicle body and a
“Scotch-lok” splice to the starter Andrew R.G.Calder
By threading the extra wires Leigh, Lancs, UK
down the same route as the ex- feed from the ignition switch.
isting wiring to the light (usually Although not part of the
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 531
Maxfield & Montrose Interactive Inc
ATMOSPHERIC ELECTRICITY
DETECTOR by KEITH GARWELL - PART 2
Investigate Nature’s power-house with this intriguing This means that the meter
experimental design. unit’s output of +5V or –5V can
be read and is very helpful when
Last month we dealt with the can be very difficult to make trying to back off the plate
Meter Interface Buffer and Dual- head or tail of them. voltage with the high voltage
Voltage Power Supply circuits A pair of moving coil meters supply. When voltages of
together with suggested are required with a full scale of greater than 5V are present at
stripboard constructional details. 0××1 milliamps. These are usually the meter output, S2 can be
We conclude this month with around 1000 ohms or less in turned off so that the full range
meter switching, module resistance, which is small (10V) of the meter is available.
interconnections and probe enough to be ignored for this Switch S1 is used to reverse the
details. exercise. The scale will normally meter connections if necessary.
be marked with 0 to 10 with 0××2 Meter ME2 is also a 0××1
intervals. milliamp meter which is used to
SYSTEM METERING measure the high voltage supply
Meter ME1 in Fig.8 is used
Moving coil meters are the with a 10 volt scale to show the output. It is very helpful if this
favorite for this application as they output of the high resistance meter is marked 0 to 3, and
show more clearly the activity that meter and is provided with a there are some meters about
is taking place. Digital voltmeters center zero facility, and a which have two scales 0 to 10
(DVMs) are fine in some respects reversing facility. Included along and 0 to 3. The alternative is to
but when the voltage is changing with the meter and its switches do the arithmetic, i.e. multiply
rapidly (as it often is in this caper) is a 2-cell AA size battery pack the reading by 30 if it is
the digits just whirl about and it which is switched into effect by calibrated 0 to 10.
S2 to give half scale deflection It is entirely up to the user
i.e. center zero. Preset VR2 is how the “metering” is arranged.
used to adjust the reading to 5, In the prototype, the meters are
the half-way mark. separate, but it could be more
convenient to build them into a
Fig.8. Circuit diagram for the Fig.9. Schematic illustrating the connections dis-
twin meters. tributed from the power supply.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 532
Maxfield & Montrose Interactive Inc
Constructional Project
dedicated unit. It depends to be the monkey in the cage!), and the dual supply should all be
whether you have other uses for but he has noticed that walls in the same box, with just the
them, and they do require the seem to provide protection, controls and the 7-pin DIN
largest capital outlay of the whether glazed or brick. connector to connect to the meter
whole project. The 0V line of the 12V circuit showing, plus some means
power supply source and the of easily removing the battery (or
case MUST BE CONNECTED connecting to it) for charging.
INTERCONNECTIONS TO GROUND. If the 12V supply Sealed versions of lead acid
So far we have discussed is derived from a mains power batteries are available which can
the various units in isolation, and supply rather than a battery, be mounted in any position. A
they must be brought together to then the mains earth will be whole range is available from
implement Fig.1 (last month). sufficient, but check that there is about 0××5Ah upwards (YUASA
The interconnections no significant voltage between range). If such a battery is used, it
between the various system this and true ground. If a battery must be provided with a suitably
components are shown in Fig.9. is being used for the 12V supply rated fuse (100mA) as they are
There are three controls, an on/ then an earth connection must capable of very high currents
off switch (S4) and a reversing be made to the 0V line. If no under fault conditions.
switch (S3) to change the other is available an earth spike The author has two separate
potentials of the high voltage must be used, driven into the power supplies available, a mains
supply, plus a rotary control ground beside the unit. DO NOT only unit, and a battery powered
(VR3) to adjust the voltage earth the 0V line of the ±14V unit which can also be connected
supplied to the monitoring supply. to the mains (the latter is
system. There are also the two effectively a no-break 12V
moving coil meters, ME1 and supply), with the option for
ME2, connected as shown CONSTRUCTION supplying 12V at 100mA or
earlier in Fig.8. An aluminum box about 500mA.
Switches S3 and S4 must 120mm x 120mm x 50mm deep
There are various aluminum
be rated at least at 250V AC. was used for the prototype
boxes available and one
The current involved is only a power supply, its controls and
convenient form is a two-part unit
few microamps. connectors.
where the top (lid) is formed into a
A 6-way cable (low voltage) The panel layout is open to U-section and fits over the base,
with a 7-pin DIN plug at either the constructor’s preference and which has sides formed and an
end connects this unit with the no layout is offered. In the edging with fixing holes to fasten
meter interface unit and needs prototype the connectors are at the top. One of these was used
to be long enough to enable the the top of the panel and the for the meter unit, and another for
user to be well away from the controls below. the high voltage power supply and
plate when it is being used for For a portable unit perhaps controls.
atmospheric measurements, 15 a 12V lead acid battery, meters
meters for example.
It must be pointed out that
the sensitivity of the meter unit
allows it to detect the static on
the author’s clothes at 10
meters, and don’t try using the
unit if there’s any washing
hanging on the line – the pinging
noise made by the meter
becomes quite audible! Arrange
to share the good days with wife
and family!
The author has not tried
screening the system between
himself and the probe (he Fig.10. Block diagram illustrating the cabled interconnections
doesn’t think he’s really cut out between the various units.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 533
Maxfield & Montrose Interactive Inc
Constructional Project
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 534
Maxfield & Montrose Interactive Inc
Constructional Project
Meter interface unit connected to the sen- Details of the meter interface unit and the in-
sor probe plate. terconnecting probe clip.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 536
Maxfield & Montrose Interactive Inc
Established 1990
QUASAR ELECTRONICS
Unit 14 Sunningdale, BISHOPS STORTFORD, Herts. CM23 2PA
SURVEILLANCE
High performance surveillance bugs. Room transmitters supplied with sensitive electret microphone & battery holder/clip. All trans-
TEL: 01279 306504 FAX: 0870 7064222 mitters can be received on an ordinary VHF/FM radio between 88-108MHz. Available in Kit Form (KT) or Assembled & Tested (AS).
ADD £2.00 P&P to all orders (or 1st Class Recorded £4, Next day ROOM SURVEILLANCE TELEPHONE SURVEILLANCE
* MTX - MINIATURE 3V TRANSMITTER * MTTX - MINIATURE TELEPHONE TRANSMITTER
(Insured £250) £7, Europe £4.00, Rest of World £6.00). We accept all Easy to build & guaranteed to transmit 300m @ 3V. Long bat- Attaches anywhere to phone line. Transmits only when phone
major credit cards. Make cheques/PO's payable to Quasar Electronics. tery life. 3-5V operation. Only 45x18mm. * 3007KT £5.95 is used! Tune-in your radio and hear both parties. 300m range.
Prices include 17.5% VAT. MAIL ORDER ONLY AS3007 £10.95 Uses line as aerial & power source. 20x45mm. 3016KT £7.95
FREE CATALOGUE with order or send 2 x 1st class stamps MRTX - MINIATURE 9V TRANSMITTER AS3016 £13.95
(refundable) for details of over 150 kits & publications. Our best selling bug. Super sensitive, high power - 500m range * TRI - TELEPHONE RECORDING INTERFACE
@ 9V (over 1km with 18V supply and better aerial). 45x19mm. Automatically record all conversations. Connects between
3018KT £6.95 AS3018 £11.95 phone line & tape recorder (not supplied). Operates recorders
PROJECT KITS
OUR PROJECT KITS COME COMPLETE WITH ALL COMPONENTS,
HPTX - HIGH POWER TRANSMITTER
High performance, 2 stage
transmitter gives greater
with 1.5-12V battery systems. Powered from line. 50x33mm.
3033KT £7.95 AS3033 £16.95
* TPA - TELEPHONE PICK-UP AMPLIFIER/WIRELESS
stability & higher quality PHONE BUG
HIGH QUALITY PCBs, DETAILED ASSEMBLY/OPERATING INSTRUCTIONS reception. 1000m range 6- Place pick-up coil on the phone line or near phone earpiece
12V DC operation. Size and hear both sides of the conversation. 3055KT £10.95
* 2 x 25W CAR BOOSTER AMPLIFIER Connects to SPEED CONTROLLER for any common DC motor up 70x15mm. 3032KT £8.95 AS3055 £19.95
the output of an existing car stereo cassette player, to 100V/5A. Pulse width modulation gives maximum AS3032 £17.95 * 1 WATT FM TRANSMITTER Easy to construct. Delivers a
CD player or radio. Heatsinks provided. PCB torque at all speeds. 5-15VDC. Box provided. 3067KT * MMTX - MICRO-MINIATURE 9V TRANSMITTER crisp, clear signal. Two-stage circuit. Kit includes microphone
76x75mm. 1046KT. £24.95 £10.95 The ultimate bug for its size, performance and price. Just and requires a simple open dipole aerial. 8-30VDC. PCB
* 1W+1W STEREO AMPLIFIER MODULE Uses * 3 x 8 CHANNEL IR RELAY BOARD Control eight 12V/1A 15x25mm. 500m range @ 9V. Good stability. 6-18V operation. 42x45mm. 1009KT £14.95
Samsung KA2209 IC (equivalent to the TDA2822) relays by Infra Red (IR) remote control over a 20m range in 3051KT £7.95 AS3051 £13.95 * 4 WATT FM TRANSMITTER Comprises three RF
designed for portable cassette players & radios. 1.8- sunlight. 6 relays turn on only, the other 2 toggle on/off. 3 oper- * VTX - VOICE ACTIVATED TRANSMITTER stages and an audio preamplifier stage. Piezoelectric
9VDC. PCB 35x50mm. 3087KT £4.25 ation ranges determined by jumpers. Transmitter case & all Operates only when sounds detected. Low standby current. microphone supplied or you can use a separate pream-
* 10W+10W STEREO AMPLIFIER MODULE Uses components provided. Receiver PCB 76x89mm. 3072KT Variable trigger sensitivity. 500m range. Peaking circuit sup- plifier circuit. Antenna can be an open dipole or Ground
TDA2009 class audio power amp IC designed for high £44.95 plied for maximum RF output. On/off switch. 6V operation. Only Plane. Ideal project for those who wish to get started in
quality stereo applications. 8-28VDC. PCB 45x80mm. * PC CONTROLLED RELAY BOARD 63x38mm. 3028KT £9.95 AS3028 £22.95 the fascinating world of FM broadcasting and want a
Convert any 286 upward PC into a dedicated HARD-WIRED BUG/TWO STATION INTERCOM good basic circuit to experiment with. 12-18VDC. PCB
3088KT £9.95
Each station has its own amplifier, speaker and mic. Can be 44x146mm. 1028KT. £23.95
* 18W BTL AUDIO AMPLIFIER MODULE Low volt- automatic controller to independently turn on/off
up to eight lights, motors & other devices around set up as either a hard-wired bug or two-station intercom. 10m * 15 WATT FM TRANSMITTER (PRE-ASSEMBLED &
age, high power mono 18W BTL amp using HA13118 x 2-core cable supplied. 9V operation. 3021KT £13.95 (kit
the home, office, laboratory or factory using 8 TESTED) Four transistor based stages with Philips BLY
IC. Delivers 14W into 4 Ohm’s (1% THD) with 13.2V form only)
240VAC/12A onboard relays. DOS utilities, sample 88 in final stage. 15 Watts RF power on the air. 88-
supply. Thermal/surge protection. 8-18VDC. Heatsink * TRVS - TAPE RECORDER VOX SWITCH 108MHz. Accepts open dipole, Ground Plane, 5/8, J, or
provided. PCB 57x55mm. 3105KT £8.95 test program, full-featured Windows utility & all Used to automatically operate a tape recorder (not supplied) YAGI configuration antennas. 12-18VDC. PCB
* 3-CHANNEL WIRELESS LIGHT MODULATOR components (except cable) provided. 12VDC. PCB via its REMOTE socket when sounds are detected. All conver- 70x220mm. SWS meter needed for alignment. 1021KT
No electrical connection with amplifier. Light modula- 70x200mm. 3074KT £29.95 sations recorded. Adjustable sensitivity & turn-off delay. £69.95
tion achieved via a sensitive electret microphone. * 2 CHANNEL UHF RELAY SWITCH Contains the 115x19mm. 3013KT £7.95 AS3013 £19.95 * SIMILAR TO ABOVE BUT 25W Output. 1028KT £79.95
Separate sensitivity control per channel. Power hand- same transmitter/receiver pair as 30A15 below plus
ing 400W/channel. PCB 54x112mm. Mains powered. the components and PCB to control two
Box provided. 6014KT £24.90 240VAC/10A relays (also supplied). Ultra bright * STEREO VU METER shows peak music power * 3V/1·5V TO 9V BATTERY CONVERTER Replace
* 12 RUNNING LIGHT EFFECT Exciting 12 LED LEDs used to indicate relay status. 3082KT £26.95 using 2 rows of 10 LED’s (mixed green & red) expensive 9V batteries with economic 1.5V batter-
light effect ideal for parties, discos, shop-windows & * TRANSMITTER RECEIVER PAIR 2-button keyfob moving bar display. 0-30db. 3089KT £10.95 ies. IC based circuit steps up 1 or 2 ‘AA’ batteries to
eye-catching signs. PCB design allows replacement style 300-375MHz Tx with 30m range. Receiver * AM RADIO KIT 1 Tuned Radio Frequency front- give 9V/18mA. 3035KT £4.95
of LEDs with 220V bulbs by inserting 3 TRIACs. encoder module with matched decoder IC. end, single chip AM radio IC & 2 stages of audio * STABILISED POWER SUPPLY 3-30V/2.5A Ideal
Adjustable rotation speed & direction. PCB Components must be built into a circuit like kit 3082 amplification. All components inc. speaker provid- for hobbyist & professional laboratory. Very reliable
54x112mm. 1026KT £16.95; BOX (for mains opera- above. 30A15 £13.95 ed. PCB 32x102mm. 3063KT £9.95 & versatile design at an extremely reasonable price.
tion) 2026KT £8.50 * TELEPHONE LINE RELAY SWITCH Turn on/off 4 * DRILL SPEED CONTROLLER Adjust the speed Short circuit protection. Variable DC voltages (3-
* DISCO STROBE LIGHT Probably the most excit- relays over your phone line from anywhere in the world. 4- of your electric drill according to the job at hand. 30V). Rated output 2.5 Amps. Large heatsink sup-
ing of all light effects. Very bright strobe tube. digit security code. Line protection circuitry built-in (non- Suitable for 240V AC mains powered drills up to plied. You just supply a 24VAC/3A transformer. PCB
Adjustable strobe frequency: 1-60Hz. Mains powered. approved). PCB 78x105mm. 3086KT £39.95 700W power. PCB: 48mm x 65mm. Box provided. 55x112mm. Mains operation. 1007KT £17.50.
PCB: 60x68mm. Box provided. 6037KT £29.90 * PC DATA ACQUISITION/CONTROL UNIT Use your 6074KT £17.90 Custom Designed Box 2007 £34.95
* SOUND EFFECTS GENERATOR Easy to build. PC to monitor physical variables (e.g. pressure, tem- * 3 INPUT MONO MIXER Independent level con- * STABILISED POWER SUPPLY 2-30V/5A As kit
Create an almost infinite variety of interesting/unusu- perature, light, weight, switch state, movement, relays, trol for each input and separate bass/treble controls. 1007 above but rated at 5Amp. Requires a
al sound effects from birds chirping to sirens. 9VDC. etc.), process the information & use results to control Input sensitivity: 240mV. 18V DC. PCB: 60mm x 24VAC/5A transformer. 1096KT £29.95. Custom
PCB 54x85mm. 1045KT £8.95 physical devices like motors, sirens, relays, servo & 185mm 1052KT £16.95 Designed Box 2096 £34.95
* ROBOT VOICE EFFECT Make your voice sound stepper motors. Inputs: 16 digital & 11 analogue. * ELECTRONIC SIREN 5 Watt. Impressive 5W * RFI POWER SUPPLY Designed to power RF
similar to a robot or Darlek. Great fun for discos, Outputs: 8 digital & 1 analogue. Plastic case with print- power output. Suitable for alarm systems, car, transmitters/receivers. Blocks high frequencies &
school plays, theatre productions, radio stations & ed front/rear panels, software utilities, programming motorbikes, etc. Output frequency 1·2kHz. 6-12V eliminates problems like noise, overheating, stand-
playing jokes on your friends when answering the examples & all components (except sensors & cable) DC. PCB: 37mm x 71mm. Siren not provided ing waves, etc. Output: 12-14VDC/3A.
phone! PCB 42x71mm. 1131KT £8.95 provided. 12VDC. 3093KT £79.95 1003KT £5.95 Thermal/short circuit protection & electronic stabili-
* AUDIO TO LIGHT MODULATOR Controls intensi- * PIC 16C71 FOUR SERVO MOTOR DRIVER * NEGATIVE\POSITIVE ION GENERATOR sation. You just supply a 18VAC/3A transformer.
ty of one or more lights in response to an audio input. Simultaneously control up to 4 servo motors. Software & Standard Cockcroft-Walton multiplier circuit. Mains PCB 72x82mm. 1171KT £24.95
Safe, modern opto-coupler design. Mains voltage all components (except servos/control pots) supplied. voltage experience required. 3057KT £9.95 * MOTORBIKE ALARM Uses a reliable vibration sen-
experience required. 3012KT £7.95 5VDC. PCB 50x70mm. 3102KT £14.95 sor (adjustable sensitivity) to detect movement of the
* MUSIC BOX Activated by light. Plays 8 Christmas bike to trigger the alarm & switch the output relay to
songs and 5 other tunes. 3104KT £6.95 which a siren, bikes horn, indicators or other warning
* 20 SECOND VOICE RECORDER Uses non-
volatile memory - no battery backup needed.
Record/replay messages over & over. Playback as
required to greet customers etc. Volume control &
GAIN
BARUY!!
30-in-ONE device can be attached. Auto-reset. 6-12VDC. PCB
57x64mm. 1011KT £11.95 Box £5.95
* CAR ALARM SYSTEM Protect your car from
theft. Features vibration sensor, courtesy/boot light
built-in mic. 6VDC. PCB 50x73mm.
3131KT £11.95 B Electronic Projects Lab voltage drop sensor and bonnet/boot earth switch
sensor. Entry/exit delays, auto-reset and adjustable
* TRAIN SOUNDS 4 selectable sounds : whistle Great introduction to electronics. Ideal for the budding elec- alarm duration. 6-12V DC. PCB: 47mm x 55mm
blowing, level crossing bell, ‘clickety-clack’ & 4 in 1019KT £11.95 Box £6.50
tronics expert! Build a radio, burglar alarm, water detector, * LIGHT ALARM Protect your valuables. Alarm
sequence. SG01M £4.95
* ANIMAL SOUNDS Cat, dog, chicken & cow. Ideal morse code practice circuit, simple computer circuits, and sounds if circuit detects smallest amount of light.
for kids farmyard toys & schools. SG10M £4.50 much more! NO soldering, tools or previous electronics Place in cash box etc. 3008KT £4.50
* 3 1/2 DIGIT LED PANEL METER Use for basic knowledge required. Circuits can be built and unassembled * PIEZO SCREAMER 110dB of ear piercing
voltage/current displays or customise to measure repeatedly. Comprehensive 68-page manual with explana- noise. Fits in box with 2 x 35mm piezo elements
temperature, light, weight, movement, sound lev- tions, schematics and assembly diagrams. Suitable for age built into their own resonant cavity. Use as an
els, etc. with appropriate sensors (not supplied). alarm siren or just for fun! 6-9VDC. 3015KT £9.95
Various input circuit designs provided. 3061KT 10+. Excellent for schools. Requires 2 x AA batteries. * COMBINATION LOCK Versatile electronic lock
£12.95 ONLY £14.95 (phone for bulk discounts). comprising main circuit & separate keypad for
* IR REMOTE TOGGLE SWITCH Use any TV/VCR remote opening of lock. Relay supplied. 3029KT
remote control unit to switch onboard 12V/1A relay * PC SERIAL PORT ISOLATED I/O BOARD * LED DICE Classic intro to electronics & circuit £9.95
on/off. 3058KT £9.95 Provides eight 240VAC/10A relay outputs & 4 opti- analysis. 7 LED’s simulate dice roll, slow down & land * ULTRASONIC MOVEMENT DETECTOR Crystal
cally isolated inputs. Designed for use in various con- on a number at random. 555 IC circuit. 3003KT £7.95 locked detector frequency for stability & reliability. PCB
trol & sensing applications e.g. load switching, exter- * STAIRWAY TO HEAVEN Tests hand-eye co-ordination. 75x40mm houses all components. 4-7m range.
nal switch input sensing, contact closure & external Press switch when green segment of LED lights to climb Adjustable sensitivity. Output will drive external
FACTOR
X PUBLICATIONS
voltage sensing. Controlled via serial port & a termi-
nal emulator program (built into Windows). Can be
used with ANY computer/operating system. Plastic
case with printed front/rear panels & all components
the stairway - miss & start again! Good intro to several
basic circuits. 3005KT £7.95
* ROULETTE LED ‘Ball’ spins round the wheel,
slows down & drops into a slot. 10 LED’s. Good intro
relay/circuits. 9VDC. 3049KT £12.95
PIR DETECTOR MODULE 3-lead assembled unit
just 25x35mm as used in commercial burglar alarm
systems. 3076KT £7.95
THE EXPERTS IN RARE & (except cable) provided. 3108KT £49.95 to CMOS decade counters & Op-Amps. 3006KT * INFRARED SECURITY BEAM When the invisi-
* UNIPOLAR STEPPER MOTOR DRIVER for any £9.95 ble IR beam is broken a relay is tripped that can be
UNUSUAL INFORMATION! 5/6/8 lead motor. Fast/slow & single step rates. * DUAL LED DICE PIC 16C54 circuit performs sim- used to sound a bell or alarm. 25 metre range.
Full details of all X-FACTOR PUBLICATIONS can be found in Direction control & on/off switch. Wave, 2-phase & ilar function to 3003KT above but two dice. Good Mains rated relays provided. 12VDC operation.
our catalogue. N.B. Minimum order charge for reports and half-wave step modes. 4 LED indicators. PCB intro to micro-controllers. 3071KT £11.95 3130KT £11.95
plans is £5.00 PLUS normal P.&P. 50x65mm. 3109KT £14.95 * 9V XENON TUBE FLASHER Transformer circuit * FUNCTION GENERATOR Quad Op-Amp oscilla-
* SUPER-EAR LISTENING DEVICE Complete plans to * PC CONTROLLED STEPPER MOTOR DRIVER steps up 9V battery to flash a 25mm Xenon tube. tor & wave shaper circuit generates audio range
build your own parabolic dish microphone. Listen to distant Control two unipolar stepper motors (3A max. each) Adjustable flash rate (0·25-2 Sec’s). 3022KT £10.95 square waves (6Hz-6KHz), triangle & pseudo sine
voices and sounds through open windows and even walls! via PC printer port. Wave, 2-phase & half-wave step * LED FLASHER 1 5 ultra bright red LED’s flash in outputs. 9VDC. 3023KT £3.95
Made from readily available parts. R002 £3.50 modes. Software accepts 4 digital inputs from exter- 7 selectable patterns. 3037MKT £4.50 * LOGIC PROBE tests CMOS & TTL circuits &
* TELEPHONE BUG PLANS Build you own micro-beetle nal switches & will single step motors. PCB fits in D- * LED FLASHER 2 Similar to above but flash in detects fast pulses. Visual & audio indication of
telephone bug. Suitable for any phone. Transmits over 250 shell case provided. 3113KT £16.95 sequence or randomly. Ideal for model railways. logic state. Full instructions supplied. 3024KT
metres - more with good receiver. Made from easy to * 12-BIT PC DATA ACQUISITION/CONTROL UNIT 3052MKT £4.50 £6.95
obtain, cheap components. R006 £2.50 Similar to kit 3093 above but uses a 12 bit Analogue- * INTRODUCTION TO PIC PROGRAMMING. * SQUARE WAVE OSCILLATOR Generates
* LOCKS - How they work and how to pick them. This fact to-Digital Converter (ADC) with internal analogue mul- Learn programming from scratch. Programming square waves at 6 preset frequencies in factors of
filled report will teach you more about locks and the art of tiplexor. Reads 8 single ended channels or 4 differen- hardware, a P16F84 chip and a two-part, practical, 10 from 1Hz-100KHz. Visual output indicator. 5-
lock picking than many books we have seen at 4 times the tial inputs or a mixture of both. Analogue inputs read 0- hands-on tutorial series are provided. 3081KT 18VDC. Box provided. 3111KT £7.95
price. Packed with information and illustrations. R008 £3.50
* RADIO & TV JOKER PLANS 4V. Four TTL/CMOS compatible digital input/outputs. £21.95 * PC DRIVEN POCKET SAMPLER/DATA LOG-
We show you how to build three different circuits for dis- ADC conversion time <10uS. Software (C, QB & Win), * SERIAL PIC PROGRAMMER for all 8/18/28/40 GER Analogue voltage sampler records voltages
rupting TV picture and sound plus FM radio! May upset extended D shell case & all components (except sen- pin DIP serial programmed PICs. 3rd party software up to 2V or 20V over periods from milli-seconds to
your neighbours & the authorities!! DISCRETION sors & cable) provided. 3118KT £47.95 supplied expires after 21 days (costs US$25 to reg- months. Can also be used as a simple digital
REQUIRED. R017 £3.50 * LIQUID LEVEL SENSOR/RAIN ALARM Will indi- ister). 3096KT £14.95 scope to examine audio & other signals up to
* INFINITY TRANSMITTER PLANS Complete plans for cate fluid levels or simply the presence of fluid. Relay * ‘PICALL’ SERIAL & PARALLEL PIC PRO- about 5KHz. Software & D-shell case provided.
building the famous Infinity Transmitter. Once installed on output to control a pump to add/remove water when it GRAMMER for all 8/18/28/40 pin DIP parallel AND 3112KT £19.95
the target phone, device acts like a room bug. Just call the reaches a certain level. 1080KT £6.95 serial PICs. Includes fully functional & registered * 20 MHz FUNCTION GENERATOR Square, tri-
target phone & activate the unit to hear all room sounds. * UNIVERSAL TIMER Seven crystal controlled tim- software (DOS, W3.1, W95/8). 3117KT £54.95 angular and sine waveform up to 20MHz over 3
Great for home/office security! R019 £3.50 ing operations in steps of 0.1s from 0.1-6553.6s or 1 * ATMEL 89Cx051 PROGRAMMER Simple-to-use ranges using ‘coarse’ and ‘fine’ frequency adjust-
* THE ETHER BOX CALL INTERCEPTOR PLANS Grabs second steps from 0.1-65536s. Allows 4 signal input yet powerful programmer for the Atmel 89C1051, ment controls. Adjustable output from 0-2V p-p. A
telephone calls out of thin air! No need to wire-in a phone 89C2051 & 89C4051 uC’s. Programmer does NOT
bug. Simply place this device near the phone lines to hear types from push button to electrically isolated volt- TTL output is also provided for connection to a
the conversations taking place! R025 £3.00 age switching sources. On-board relay will switch require special software other than a terminal emu- frequency meter. Uses MAX038 IC. Plastic case
* CASH CREATOR BUSINESS REPORTS Need ideas 240V/5A. Box, software & all components provided. lator program (built into Windows). Can be used with with printed front/rear panels & all components
for making some cash? Well this could be just what you PCB 56 x 97mm. 3054KT £24.95 ANY computer/operating system. 3121KT £34.95 provided. 7-12VAC. 3101KT £49.95
need! You get 40 reports (approx. 800 pages) on floppy
disk that give you information on setting up different busi-
nesses. You also get valuable reproduction and duplication WEB: http://www.QuasarElectronics.com Secure Online Ordering Facilities
Full Kit Listing, Descriptions & Photos
rights so that you can sell the manuals as you like. R030
£7.50 email: epesales@QuasarElectronics.coms Kit Documentation & Software Downloads
E0 E1 Output Qn
L L Dn
L H Latched
H L Latched
H H Dn
(H = high, L = low)
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 538
Maxfield & Montrose Interactive Inc
Circuit Surgery
it would seem at first that we switching, microprocessor
could supply the same monitoring etc., noting that the
sequence to all the D inputs to CMOS chips typically consume
check the latches in parallel. a meager 5uA, so their impact
This would let us detect a on battery life is negligible.
significant number of faults – for To answer your questions,
example if one of the Q outputs Adam, a low voltage alarm can
was open-circuit we would not readily be constructed using the
observe the expected sequence MAX8211 which will operate
on it. Fig.3a. Low voltage alarm with any supply from +2V to
However, if we apply the using the MAX8211 to drive +16××6V. Since its output is
same sequence to all the D a LED. current limited it can drive a
inputs then all the latches are light-emitting diode (LED)
doing the same thing and short directly, see Fig.3a.
circuits between equivalent from Harris, who sold their
semiconductor business to The chip monitors the power
points in any two latches would
Intersil. This company used to supply rail by comparing the
not be detected. We could get
manufacturer a bipolar version, voltage at the threshold pin
around this by running the
the ICL 8211/8212. Maxim also against the internal reference.
sequence more than once with
produce CMOS versions, When pin 3 is less than 1××15V,
different values on adjacent D
namely the MAX8211/8212. pin 4 goes low, current sinks
inputs, but the best way to do
The overall chip design has into it and illuminates the LED.
this may depend on knowledge
been around a good 20 years, (consider a high-efficiency type).
of the structure of the chips (i.e.
and although Intersil flagged The potential divider R1/VR1
which latches, and latch I/O pins
them as obsolete there should was set for 50uA maximum. The
are next to one another and thus
be plenty around. Let’s narrow trimmer resistor adjusts the set-
more likely to short).
down our options and look at the point.
The problem of short circuits
Maxim version. Data sheets for The hysteresis feature was
gives us some hint of the
the CMOS type can be obtained unused in this example, which
difficulty of testing circuits. In
from Maxim’s web site means that the switching point
general, although we can
(www.maxim-ic.com). will be very sensitive. The LED
perform simple tests to prove
Both the MAX8211 and may flash or jitter when the chip
the logic of the latches is
MAX8212 contain a 1××15V is at its threshold. The addition
operating, it would be difficult to
of hysteresis introduces a
prove that the device had been reference, a comparator, an
difference in the switching points
“fully tested” – tested for what open-drain n-channel output
which allows for two switching
faults? Shorts? Opens? Defects transistor and an open-drain p-
levels (high and low). This can
in the oxide of the MOS channel transistor on the
be accomplished using a third
transistors causing increased hysteresis pin. The chips
resistor shown in circuit diagram
leakage? IMB. operate in a manner opposite to
Fig.3b.
LOW VOLTAGE each other. The 8211 output
Note that this arrangement
transistor turns on when the
DETECTOR input voltage is less than the is only suited if detecting a drop
I am a 16 year old student threshold or reference voltage. in the supply rail, i.e. when the
designing an intercom. I’d like to Its output (pin 4) goes low and supply voltage is the same as
attach a low battery indicator to sinks up to 7mA. that powering the 8211. To
a 9V battery for use with my calculate the resistor values,
However, the 8212 output
project, but I can’t find any firstly decide on the desired
turns on (goes low) when the
schematics. Is it possible to hysteresis voltage – the
input is greater than the
build a low battery indicator with difference between the upper
threshold. Note that the 8212’s
and the lower switching points,
the ICL8211 chip? Adam via output is not current limited, and
say 75mV. Then decide on a
email. can sink typically 35mA. The
value for resistor R3, anything
chips are handy for under-
up to 10M should do. In this
voltage or over-voltage
I think the 8211/8212 low example, 750k (kilohms) was
detection, back-up battery
voltage detectors originated assumed. Choose the alarm
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 539
Maxfield & Montrose Interactive Inc
Circuit Surgery
monitor a +5V logic supply, with
an alarm output when the rail
drops below +4××5V. The 75mV
hysteresis ensures that the alarm
will not be for ever triggering when
the 8211 is hovering around the
threshold point. I’m sure the
circuit can be adapted as needed.
The ICL821x and MAX821x are
listed by Farnell. ARW.
Fig.3b. A logic level alarm
which monitors a 5V logic
supply. Note the addition of
hysterisis using
resistor R2.
voltage level (4××5V here).
The hysteresis resistor R2 is
calculated using:
R2 = R3 x (Vlow – 1.15V) / 1.15V
= 2M2
Lastly resistor R1 is
calculated using:
R3 x (Vhyst / 1.15V) = 48k9
This circuit is designed to
Copyright © 1999 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 540
Maxfield & Montrose Interactive Inc
Robert Penfold looks at the Techniques of Actually Doing it!
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 544
Maxfield & Montrose Interactive Inc
SURFING THE INTERNET
By Alan Winstanley
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 545
Maxfield & Montrose Interactive Inc
Net Work
wasted time, lost productivity ured only to allow mail ad- worth more money).
and Internet access costs. In dressed to my recognized E- You can also help combat
this case it also made my do- mail addresses. UCE by forwarding examples
main appear to be responsible This can be done as follows: (with headers) to the originating
for sending the spam. go Tools/Message Rules/Mail. ISP (e.g. SmartWorld). They
These Reject messages 1) Select the Conditions for usually have an abuse@ E-mail
were unremitting for several your rule: [tick Where the To line address so send it there, along
months and the sheer volume contains people]. with your polite comments. Re-
forced me to re-configure my member you are dealing with
email client. It was noticeable 2) Select the Actions for tech support people at the other
that almost always, the Reject your rule: [tick Do Not download end who may be inundated with
messages had my genuine host it from the server]. problems similar to yours, so
name but the user name was 3) Rule Description: keep your complaint reasonable.
randomized to bypass mail fil- [configure Where the To My E-mail address is
ters. In the above example, it line does not contain alan@epemag.demon.co.uk
was mailed to “alan” or “arw” or “user” and you can check my web site
AiVs85TN4@epemag.demon.c or “postmaster”]. Here, at http://homepages.tcp.co.uk/
o.uk edit the rule’s options ~alanwin. See you next month.
My main Turnpike 5.0 mail then click the Options
software was reconfigured to button in the “Select Peo-
only accept emails addressed to ple” dialog box, to further
recognized email user names customize the rule:
(e.g. – Apply Rule if Message
alan@epemag.demon.co.uk); does not contain the
sure enough, Turnpike immedi- people below, and
ately began to report that mes- – Apply Rule if Message
sages were being rejected from matches any one of
my mailbox, meaning that at the people below.
long last, I was starting to get
my revenge. There is no prob- So if the To: line does not
lem in rejecting mail in this way, contain “alan” or “arw” or “user”
as it will hopefully get routed to a or “postmaster” it will not be
“bit-bucket” where the message downloaded from the server.
will be scrapped. Microsoft Outlook Express 5
Interestingly, the spam arrives with Microsoft Internet
stopped just a few days later, Explorer 5. Its filter rules look
although whether this was be- complicated but they are written
cause the spammer finally took in plain English and are quite
the hint, or whether he had been easy to use, but you will need to
closed down, is unclear. How- refine the rules over time. Test
ever at the time of writing, com- the filters by sending E-mailing
plaints are appearing in Demon to yourself.
newsgroups of yet another It is worth reminding readers
forged UCE campaign starting that under no circumstances
up. should you ever reply to any
email address contained in any
HOW TO FRY SPAM spam message unless it’s a
genuine mailing which you sub-
There are some lessons to scribed to. Never email to ask
be learned from extreme cases them to stop, and never reply to
like this. Learn to use the mail the Remove-me address. Reply-
filter rules of your software. I use ing confirms your address is
Microsoft Outlook Express 5.0 valid, making it a prized com-
on my laptop, which is config- modity amongst spammers (and
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 546
Maxfield & Montrose Interactive Inc
PIC DR DAG REVIEWED
Robert meets DrDAQ and finds that apart from professional use he has enormous
play value for the electronics hobbyist, and is eminently suited for anyone looking
for an easy, inexpensive way into computer interfacing.
Copyright © 1998 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 547
Maxfield & Montrose Interactive Inc
Special Review
Channel Range Resolution Accuracy
Sound +/-100 0.3 --
Waveform
Sound Level 55-100dBA 1dBA 5dBA
Voltage 0-5V 5mV 3% of FSD
Resistance 0-1M 100 ohms at 10k 2% at 100k
400 ohms at 100k
pH 0-14 0.02pH Calibration
dependent
Temperature 0-70C 0.1 at 25C 2 at 25C
Light 0-100 0.1 --
SOFTWARE
The review unit came
complete with three floppy discs
containing the software, but the
production units will have the
software on CD-ROM. The
software is compatible with
Windows 3.1, 95, 98, 2000, and
NT. Under Windows 98, the
software loaded without any
difficulty and the installation
process follows along normal
Windows lines. There are Fig.4. Trigger dialog box. Trigger options are:
various installation options to none (free running); auto; repeat and single,
select, such as choosing the with adjustable trigger level.
programs you wish to install
Copyright © 1998 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 548
Maxfield & Montrose Interactive Inc
Special Review
multiplication color. However, results are
factors are only easier to follow with just two
a practical traces, see Fig.5.
proposition at The three buttons towards
the slower the top left-hand corner of the
sweep rates screen enable the required
where there function to be selected. By
are enough default the program starts in
samples taken oscilloscope mode, but the
to permit a buttons enable oscilloscope,
magnified spectrum analyzer, and
view. voltmeter functions to be
Most selected.
things can be Operating a button does not
handled by the switch the current window to a
on-screen new operating mode, but instead
Fig.5. Using just two of the possible four traces controls, but
(channels) can make it easier to follow what’s there are the launches a new window. You
can therefore have something
happening. usual pop- like two oscilloscopes in
down menus operation simultaneously, or
DrDAQ. Accordingly, the fastest
and dialog boxes as well. For three windows with each one
sweep rate is 1ms per division,
example, the Trigger dialog box operating in a different mode
but at the other end of the range
is shown in Fig.4. The basic (Fig.6). For this type of thing it is
the slowest rate is a generous
trigger options are none (free obviously advantageous to use
50s per division. A panel having
running), auto, repeat, and a large monitor running at high
a pop-down menu enables
single, with a fully adjustable resolution. The voltmeter and
sweep rates to be selected, and
trigger level. The dialog box analyzer features are useful, but
the times are in the usual 1-2-5-
offers further options such as a the abilities of the latter are
10 progression, as can be seen
preset delay, triggering on the severely restricted by the
in Fig.3.
rising of falling edge of a signal, relatively low sampling rate.
The same method is used to and the channel used as the
select a multiplication factor trigger source. The program has facilities
from 1 to 200, and this enables for printing traces, etc. to any
There are four channels Windows compatible printer,
part of the waveform to be
available, and each one can be and data can be saved to disk
viewed in detail. Of course, high
used to and exported via the clipboard.
measure The clipboard enables data to
Sound be exported in graph form or as
(waveform a text file containing a list of
or level), readings. There are various set-
Volts, up options that provide control
Ohms, pH, over the screen colors,
Temperatur maximum number of screen
e, Light, or updates per second, and
one of the various other factors.
external
inputs. It is
possible to
have all four
channels
operating
simultaneou
sly, with
Fig.6. You can have two oscilloscopes in operation each trace
simultaneously or, as here, three windows each drawn in a Fig.7. Setting up and select-
operating in a different mode. different ing the record program.
Copyright © 1998 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 549
Maxfield & Montrose Interactive Inc
Special Review
output (where required), and the interface is apparently
PICOLOG channel to be used. compatible with any standard pH
By its nature, PicoLog is Once the preliminaries have sensor. The deluxe version
somewhat less straightforward been completed the data logging costs 99 UK pounds plus V.A.T.
to use. There are actually two can commence, and there are With PicoScope set to read
programs, which are the tape recorder style control the appropriate sensor or
recorder and the player. buttons just beneath the main sensors it is possible to have a
However, the recording program menu. These provide re-record, straightforward readout of
also has playback facilities, and record, pause/resume, and stop temperature or pH values, and
is possible to log and analyze functions. (or) a graph showing how the
data without resorting to the data changes over a period of
playback program. We will only The three control buttons on
the other side of the screen are time (Fig.9). The temperature
consider the recording program sensors cover a range of –10°C
here. The playback facilities of used to view data. The first
button just brings up a simple to +105°C, and pH is measured
the playback program seem to
be much the same as those of text editor that can be used for over a range of 0 to 14.
the recording program. notes. The other two buttons Probably most professional
bring up the data as a table of users and experimenters will opt
A certain amount of setting results or a graph (Fig.8). There
up is required before the for the standard kit, but the
are various control buttons in the deluxe kit seems to be a good
recorder is ready to do anything graph window that permit part of
useful, and the software choice for educational users.
the graph to be expanded and
includes a “guided tour” that viewed in detail, the graph to be
helps to get you started. The printed or copied to the CONCLUSION
first task is to run the recorder clipboard, and so on.
(Fig.7) and then select a The interface board is well
filename for the new data to be built and getting it “up and
saved under. Then the Settings OPTIONAL EXTRAS running” is about as simple as it
menu plus some dialog boxes possibly could be. With built-in
In addition to the standard sensors the unit can be used for
are used to set such things as
kit, Pico offer a deluxe version some simple experiments
the rate at which data will be
that also includes two straight away. The price is good
read, the maximum number of
temperature sensors and one but not especially low for what is
samples to be taken, threshold
pH type. One sensor of each really a fairly simple interface,
levels for the LED and digital
type is shown in Fig.10. The but the inclusion of the
PicoScope and PicoLog
software makes both the
standard and deluxe kits very
good value for money.
Both programs are
sophisticated enough to be
genuinely useful, but are still
reasonably easy to use. It is
only fair to point out that the
programs reviewed here are
beta versions that still have a
few bugs and omissions, but
this should all be sorted out by
the time this review is
published.
As pointed out previously,
DrDAQ is primarily aimed at
educational establishments,
Fig.8. Test result sound waveform graph. Various control but- and it can certainly be
tons in the graph window allow it to be enlarged, printed or recommended to those involved
sent to “clipboard”. in teaching computer interfacing,
Copyright © 1998 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 550
Maxfield & Montrose Interactive Inc
Special Review
requiring an inexpensive but effective analogue-to-
digital converter, but only if they do not require high
sampling rates. The DrDAQ kits have enormous play
value for the electronics hobbyist, and are eminently
suitable for anyone looking for an inexpensive and
easy way into computer interfacing.
The DrDAQ standard kit costs 79.90 UK pounds
(59.00 plus 9.00 for delivery within Europe, and VAT).
The all-inclusive price for the kit with two temperature
sensors and one pH sensor is 126.90 pounds, or
103.40 pounds with two temperature sensors but no
pH type. Both types of sensor are available
separately.
For more information contact Pico Technology
Fig.9. Graph showing how the temperature Ltd., Dept EPE, The Mill House, Cambridge Street, St.
Neots, Cambridgeshire, PE19 1QB, UK. Tel. +44 (0)
data changes over a period of time.
Copyright © 1998 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 551
Maxfield & Montrose Interactive Inc
CAPACITOR SIZE AND STORAGE ABILITY ARE BEING DRAMATICALLY
INFLUENCED BY AEROGEL FOAM TECHNOLOGY. IAN POOLE REPORTS.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 552
Maxfield & Montrose Interactive Inc
New technology Updates
electronics applications they are less.
CONSTRUCTION crucial when high levels of pulse All of these attributes make
The construction of the new current are required. it an ideal choice for applications
capacitor bears many In addition to the low level of where a “hold up” current is
similarities to both Lithium Ion ESR the new capacitor has a required. Here the capacitor can
batteries and to electrolytic low level of leakage, and this is supply a small current of a few
capacitors (see Fig.1). A porous particularly useful in applications microamps or milliamps for a
separator is placed between the where the capacitor has to hold few hours or days, to keep a
two electrodes. This sandwich is its charge over any length of circuit operational after the main
rolled up and then inserted into time. power has been removed.
a can. Electrolyte is then added Typically a memory circuit or a
and absorbed by the separator. In addition to supplying
pulse currents, supercaps can clock may be required to remain
The can is sealed and the operational under such
electrodes added to the be used to provide power in
other areas where the current circumstances. In these circuits
electrodes that protrude from it. the very high capacitance rather
requirement is more even. Often
The electrodes are formed rechargeable cells are used in than the low ESR is the main
from the carbon aerogel foam. this function, but they have a requirement. The PowerStor
The charge is stored in this as number of disadvantages. supercap operates well under
shown in Fig.2. Here it can be these conditions.
seen that the porous nature of Firstly they have a limited
the foam gives a significant life. The quoted life of a cell
increase in the surface area that varies from one type to the next FUTURE
allows much greater levels of and may be a few hundred
In view of the very high
charge storage than would charge–discharge cycles. With
capacitance and low volume of
normally be possible with a each cycle their maximum
these components, it is hardly
conventionally manufactured capacity is slightly reduced.
surprising to note that the
supercap. Capacitors are able to undergo
working voltages are relatively
many thousands of charge–
low. Components in this range
discharge cycles with no
are available with a working
RESULTS degradation in performance.
voltage up to 2××75V. However,
The chief advantage of the Also they do not require the very
the company expects to
new material is that it provides a careful charging methods that
introduce a component with a
very low level of ESR. Typically are required by many types of
working voltage of 5××5V.
it can give a value of only 15 secondary cell.
milliohms for a 10 farad The capacitors also have Further information can be
capacitor, whereas a advantages over other large obtained from the Cooper
comparable part made by more capacitance components. When Electronics Technologies
traditional means might have a compared to electrolytics, the website at www.radio-
value of 200 milliohms. Although supercap has a far greater electronics.com
these values may appear to be capacitance for a given volume,
insignificant for normal and its leakage is very much
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 553
Maxfield & Montrose Interactive Inc
PART PART 9 – Transistors
by John Becker
With eight parts of our Teach-In 2000 series In the last two parts it has been opamps
complete, we trust that you are gaining a good that have been covered, allowing you to
grasp of what makes electronic circuits amplify and otherwise manipulate analog
function. We have covered various passive electrical signals. This month it is transistors
components, examined logic gate devices and we examine. These are not only the
other digital integrated circuits. You have also fundamental building blocks of any integrated
assembled and have been using a computer circuit, but are still used as individual devices
interface, which has allowed you to examine in many circuit designs. At the simplest level of
various waveforms generated by your understanding, they are not hard to use in a
experimental circuits. variety of ways.
At the heart of each active live State-side and could not get noting the different outline orien-
integrated circuit (IC) you have hold of the European type num- tation for the 2N3704 at the bot-
been using so far, whether it has bers from your local stockist – tom of the figure. Like so many
been a digital inverter, logic gate, also see Panel 9.1). It looks like electronic components, transis-
counter or opamp, is a collection the three small devices at the tors are very conscious about
of transistors, cleverly intercon- bottom center of Photo 9.2. correct power supply polarities.
nected during manufacture to per- As with opamps, we’ll first Indeed, we’ll briefly digress
form the function required. The run through a few experiments and point out Fig.9.3b and
same holds true for all the ICs you using this transistor, and then Fig.9.3c. The former shows the
could encounter in any of today’s we’ll don our Tutorial togas and pinouts (legouts?) for the BC549
electronic equipment. discuss what you’ve found. and the 2N3704, as though
The 74HC14 Schmitt trigger looking at an angled view of the
inverter you have made great use top of the transistor. Fig.9.3c
BASIC BITS FIRST shows them from underneath,
of through much of this Teach-In
series has 60 transistors. The Strip out any components which is the way most data
Pentium microprocessor in a currently inhabiting your bread- sheets show them.
modern computer has in excess board between columns 16 and Whereas ICs have numbers
of seven million! 36, temporarily remove oscillator allocated to their pins, transistor
capacitor C1, but otherwise legs or pins are referred to by
Despite the multitude of ways leave the oscillator and com-
in which many transistors can be letters. Those for the type of
puter interface circuits intact. transistor you’re using now are
connected together in single Then assemble the breadboard
packages, transistors continue to lettered c, b and e, the letters
layout shown in Fig.9.1, referring standing for collector, base and
find use as individual components to Fig.9.2 for the component val-
in a variety of more simple cir- emitter. You will see the same
ues and the equivalent circuit letters drawn within TR1 in
cuits. It is appropriate, therefore, diagram. The transistor is re-
that you now dig into your compo- Fig.9.1.
ferred to as component number
nents bag and pull one out for TR1. The circuit diagram symbol
closer examination! for this transistor, in Fig.9.3a,
Ensure that you plug in the shows the same letters next to
One marked BC549 is what transistor so that its shape
you need (or the 2N3704 if you the schematic legs, note the ar-
matches the outline in Fig.9.1,
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 554
Maxfield & Montrose Interactive Inc
TEACH-IN 2000
Photo 9.3. Interactive demo screen which il- Photo 9.4. Interactive demo screen which il-
lustrates the basic transistor principle. lustrates DC voltage amplification.
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 561
Maxfield & Montrose Interactive Inc
TEACH-IN 2000
PANEL 9.3 TRANSISTOR TYPES cont saturated.
Phototransistors As previously said, if you
press <A> and then the <*> or
Phototransistors conduct current when exposed to light. They be- <+> keys you can cause a
long to the optoelectronics class of components. Other members of waveform to be input to TR1 via
the category include any device that responds to light falling on it, or VR1. For the most part the out-
emits light, or displays information in a controllable manner. Examples put will be seen to be an ampli-
of the latter two groups are light emitting diodes (LEDs) and liquid fied, but inverted, version of the
crystal displays (LCDs). input but with clipping on its up-
per peaks. This can be adjusted
Thyristors, triacs and diacs by changing the DC bias voltage
(use <D> and then the <* / + –>
Thyristors, triacs and diacs are three of the principal components keys).
in the area of power electronics, where the switching of large currents
and high voltages is involved. However, they can only block and con- Experiment with this for a
duct current, they cannot be used to amplify it. Strictly speaking they while, also changing the values
are not classified as transistors. for R1, R2, hfe and the power
supply voltage. You will find that,
Thyristors can be used to control AC or DC power; triacs and di- whilst the shape of the wave-
acs are principally intended for AC power control. form can be made to follow the
Thyristors and triacs are manufactured for switching currents input more adequately, it is not
which can range from a few hundreds of milliamps to several thou- easy to select the right combina-
sand amps and to voltages well over 1000V. tion of the changeable parame-
ters.
What is much easier,
Unijunction transistors
though, is to set high gain val-
A unijunction (UJT) or filamentary transistor has two bases, B1 ues and achieve full maximum
and B2, and an emitter. It is principally used in thyristor and triac firing to minimum output voltage
circuits. swings. This bears out our previ-
ous statement that this circuit is
more suited to switching rather
than waveform amplification.
IMPROVED
AMPLIFIER
If you were to connect the
triangle waveform from IC1a pin
1 (see previous parts of Teach-
In) to transistor TR1 on your
breadboard via preset VR1, with
preset VR5 removed, you would
find that the collector voltage
would always be at 0V (fully sat-
urated). The voltage from IC1a
pin 1 never falls below 0××6V and
so always keeps TR1 turned on.
As with the opamp circuit,
though, we can isolate the tran-
sistor from the DC influence of
the oscillator. Basically, this is
again done by inserting a capac-
itor (call it C1) between the oscil-
Fig.9.5. Circuit symbols for the various forms of transistor lator and the input to the ampli-
types. fier (TR1 base, in this case), see
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 562
Maxfield & Montrose Interactive Inc
TEACH-IN 2000
Fig.9.6.
On the breadboard layout
(Fig.9.7) we have also included
an opamp buffer (not shown in
Fig.9.6) between IC1a pin 1 and
this capacitor, to prevent
“loading the oscillator” (as dis-
cussed in Part 7). On its own,
C1 might still not allow the input
waveform voltage to swing ade-
quately above and below the
nominal 0××6V threshold. The sig-
nal level might cause TR1 to op-
erate in its principally unpre-
dictable bias region, in which the
base-emitter resistance can vary
greatly (as previously dis-
cussed). Fig.9.6. Circuit diagram for
the AC coupled phase-split
What we can do, though, is
amplifier.
to add an extra and greater fixed
current flow into the base, which
is just right to ensure that TR1 is level will always have the same
primarily biased to operate in its amplitude (minus a DC shift of
more linear region. In this way, 0××6V) as that being input, pro-
the incoming signal via C1, even vided the latter never falls below
if it is only very small, will cause the transistor’s 0××6V turn-on volt-
the collector voltage swing to age differential between base
become a more faithfully ampli- and emitter. Fig.9.7. Breadboard layout
fied version of the input wave- A second attribute, which for the circuit in Fig.9.6.
form. follows on from this, is that the Again note the different tran-
signal level is always the “same sistor orientation if using a
way up” as the original (as you 2N3704 instead of a BC549.
EASIER BIASING were able to achieve with the
In this circuit, the bias set- non-inverting opamp configura- as a phase-splitter. This term is
ting using VR5 is also far less tion). The output is said to have especially relevant when the
critical. The reason is that we the same phase as the input. In gain is set so that the amplitude
have introduced resistance into some respects, the emitter out- of the collector signal is the
the emitter path, using VR3 and put can be regarded as the tran- same as that at the emitter.
R3. sistor equivalent of an opamp Such a circuit is invaluable in a
The addition of emitter re- buffer. number of situations, one of
sistance creates two new situa- Even though the emitter out- which is in audio circuits if
tions. First, it allows a signal to put is not amplified, the signal at “push-pull” power amplification
be output at the emitter. Sec- the collector is still capable of is required (offering greater
ondly, it raises the effective re- being amplified according to the power handling efficiency).
sistance between the base and choice of collector resistance. It Before examining the bread-
emitter, so reducing the load continues to be an inversion of board setup of the phase-split
that the preceding circuit experi- the original, i.e. having an oppo- configuration, let’s again look at
ences through its connection to site phase. a computer demo. Select sub-
the transistor’s base. The tran- menu option NPN Phase-Split
sistor circuit is now said to have
a higher input impedance. PHASE-SPLIT Amplifier (see Photo 9.6).
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 566
Maxfield & Montrose Interactive Inc
TEACH-IN 2000
which the amplified current can vider formula: VR2 is at its minimum. If you
be fed. The use of base resistor wish, replace R2 and VR2 by a
R1 is not always necessary. Vb = Vin x (Rx / (R1 + Rx)) wire link between the collector
The maximum current that where Rx = R3 x hfe x 100 and the positive line, but retain
can flow through R3 is ex- (using the same assumption as R3 and VR3 in the emitter path
pressed according to Ohm’s discussed earlier) as a safety measure.
Law, I = V / R The program’s calculation
With R1 omitted, the current commands and intermediate re- NEXT MONTH
(Ie) which will flow through R3 sults are again shown at the top In Part 10 we examine the
is: of the screen. theory of power supplies, includ-
I = (Vb – 0××6) / R3 or Experiment with the pro- ing those operated from the AC
gram’s options, and then return mains. However, we shall not
I = Ve / R3 to your breadboard layout in ask you to actually plug anything
Fig.9.6 for of the Split-Phase cir- into the mains (other than your
For the demo calculations
cuit and experiment there, con- computer as usual!).
and with R1 included, Vb is cal-
centrating on the emitter voltage
culated using the potential di-
when the collector resistance
As this month’s first experi- ponents you were advised to ob- sistor’s input capacitor C1 and
mental suggestion, insert LEDs tain in Part 1) into the collector its base, referring to the circuit
(light emitting diodes) into the and emitter paths, in place of diagram shown in Part 8,
emitter and collector paths in the LEDs. Allow the oscillator Fig.8.13.
your breadboard assembly of frequency setting to vary the Next remove oscillator
Fig.9.7 from the Tutorial. Each rate at which the buzzer is diodes D2 and D3 again, and
should be placed between the turned on and off. Which posi- replace D3 with a 100 ohm re-
relevant power line and existing tion of the buzzer produces the sistor.
100 ohm resistor. An extra link best response, in the collector or
wire will be needed for each of emitter path? Running the Computer as
them. Frequency Counter program,
Reinstate diodes D2 and D3 connect the output of IC1a pin 2
Discover how the LEDs can in the oscillator circuit (see Part to one of the computer interface
give an indication of the transis- 4, Fig.4.1) and experiment with inputs. Discover the range of
tor’s response to different different ramp waveform set- frequencies that you can hear
choices of circuit gain and signal tings, discovering how the through the headphones. Use
bias. buzzer’s on-to-off periods can different values of oscillator ca-
Remember that a LED re- be changed. Try different values pacitor C1 and settings for its
quires a voltage drop across it of for the oscillator’s capacitor C1. preset VR1.
about 2V. If the LED is placed
between the emitter and 0V, AUDIO OUTPUT
how does this affect the base MIC AND SENSORS
bias voltage required to turn it If you insert your head- With the opamps discussion
on? phones into the collector or last month, we explained how an
emitter paths (LEDs and buzzer electret microphone, a light sen-
Can you have LEDs in both
removed), you can hear the fre- sor (LDR) and a heat sensor
the collector and emitter paths
quency generated by the oscilla- (thermistor) could be used with
at the same time?
tor around IC1a. How does the an opamp circuit.
base bias voltage setting affect
We believe that now having
BUZZER CONTROL not only the volume of the sound
worked your way through eight
but also its quality?
Experiment with placing the Tutorials, your confidence will be
active buzzer (one of the com- Also try inserting a volume such that you can experiment
control preset between the tran-
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 567
Maxfield & Montrose Interactive Inc
TEACH-IN 2000
with finding out how all three de- PANEL 9.5 – PRINTER PORT PROBLEM
vices can be used with a transis-
tor amplifier. With your head- A few readers have experienced problems regarding the voltages
phones still in use, start off by obtained when their demo PCB is coupled to the computer via the
putting the microphone into cir- Centronics printer port cable, in some cases experiencing negative
cuit. voltages.
Then, with headphones re- It appears as though there are at least three different wiring ar-
moved, experiment with the two rangements for Centronics cables, even though the fittings at each
sensors, monitor the response end are the same:
on your meter and the com-
o) Type 1 – No pins connected to ground, but case connected to
puter’s waveform display pro-
ground.
gram.
o) Type 2 – One pin only connected to ground.
o) Type 3 – At least five pins connected to ground.
PNP CONVERSION We were totally unaware that PC to Centronics printer port cables
Now for another challenge might differ. We have numerous such cables and all work inter-
(or more)! changeably and we have never had to specify a particular type when
Our discussions and demos purchasing new ones. It had been assumed that IBM PC-compatible
in this month’s Tutorial were all computers would all be identically compatible in respect of parallel
associated with transistors of printer port connections.
the type thaty we referred to as The IBM data we have states that Centronics parallel printer con-
npn. We mentioned that an nectors have 0V (ground) at the following pins: 16, 17, 19 to 30 and
“upside-down” version of this 33. The Teach-In interface board was designed to minimize the num-
transistor type exists, that known ber of soldered connections that inexperienced constructors would
as pnp. have to make.
With a pnp transistor, cur- Consequently, only one 0V connection was incorporated, that be-
rent flows from the emitter into ing the one at the “front” of the connector.
collector, and from the emitter Readers who are having problems which might be attributable to
into the base. When the differ- the printer port connection should try connecting all the 0V pins to the
ence in the base bias and emit- 0V pin already in use on the Teach-In board, as shown below. Solder
ter voltages is less than 0××6V, connecting wire between all the 0V pins, ensuring that it is insulated
the transistor is turned-off. A against connecting to other pins.
bias voltage difference greater
than this turns the transistor on.
When turned on, the current
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 569
Maxfield & Montrose Interactive Inc
A ROUNDUP OF THE LATEST EVERYDAY NEWS
FROM THE WORLD OF ELECTRONICS
The UK’s recent 3G fre- ing with existing operators who for transmission and another
quency auction was the first in already have GSM 900 or DCS slice for reception, as with exist-
the world, and earned the Trea- 1800 spectrum. TIW’s License A ing cellphones. Paired spectrum
sury about 22××5 billion UK is two times 15MHz paired plus will be used with W-CDMA,
5MHz unpaired, License B is wideband code division multiple
pounds. BT/Cellnet paid 4bn,
two times 15MHz paired and no access. This is a spread spec-
Vodafone 6bn, Orange 4bn,
unpaired, Licenses C to E are trum system where all users use
One2One 4bn, and TIW of
two times 10MHz paired plus the whole band, but their signals
Canada 4××4bn. All the licensees
5MHz unpaired. are digitally labeled.
must now pay a similar amount
to build new networks. Unpaired spectrum must be
Paired Spectrum used for time division duplex
The Isle of Man should pro-
(TDD) mode of CDMA working;
vide a dry run, with the first ser- “Paired spectrum” means a single frequency is used for
vice, promised by British Tele- that a slice of frequencies is set both receive and transmit. This
com (BT) and its subsidiary aside for the base station to use is how the digital cordless phone
Manx Telecom, due to launch
next year, a year ahead of the
UK. NEW MICROCHIP CD-ROM
Frequency Limits
3G, third generation mo-
biles, will use the UMTS or Uni-
versal Mobile Telecommunica-
tions System, which is now an
international standard, on higher
frequencies than current sys-
tems (1900-1980, 2010-2025,
2110-2170 MHz). This allows for
data rates of up to 2Mbits/sec.
But the actual data speeds
on offer will usually be far lower,
because of error correction Microchip’s new 2000 Technical Library CD-ROM is now avail-
overheads; 144Kbps for full mo- able. It contains a complete compilation of documentation on the PIC
bility applications over wide ar- microcontrollers and associated development tools, plus all other Mi-
eas; 384Kbps for limited mobility crochip devices and peripherals. Source listing examples are also in-
applications with 2Mbps used cluded.
only for low mobility applications The CD-ROM replicates the information on Microchip’s web site
in very small cells. and can be viewed with an HTML browser.
The issue is further compli- For further information contact Arizona Microchip Technology
cated because the licenses are Ltd., Dept. EPE, Microchip House, 505 Eskdale Road, Winnersh Tri-
for different amounts of spec- angle, Wokingham, Berks RG41 5TU, UK.
trum, which will limit the band-
Tel: +44 (0) 118-921-5858
width the operators can offer.
New entrant TIW gets License A Fax: +44 (0) 118-921-5835
and a better chance of compet- Web: www.microchip.com
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 570
Maxfield & Montrose Interactive Inc
NEWS......
systems CT2 and DECT work. A nounced GPRS roaming trials safer, or in the fond belief that
chunk of data is transmitted, with AT&T in the UK, USA, they protect the head from radi-
then a chunk received, then a Hong Kong and Taiwan. ation. The results were so sur-
chunk transmitted, and so on. Orange has been mysteri- prising that Which? did the tests
The mobile stitches them to- ously quiet on HSCSD and in again.
gether. late April admitted that the The connecting cords acted
Although existing GSM/ Christmas service had still not as vertical aerials, channeling
DCS1800 cellphone services been launched. According to Or- three times as much radiation
run only at painfully slow ange all the network modifica- into the head. Holding the phone
9××6Kbps (compared to 33××6Kbps tions were in place by the end of out sideways, so that the cord is
or 56Kbps from a fixed line mo- 1999, but Nokia failed to deliver horizontal, kills the radiation.
dem) there are two ways to ac- the PCMCIA cards that will plug
celerate GSM and DCS1800 into a laptop PC and connect to
a phone.
Whose Responsibility?
data links. The irony is that the
current operators are already In practice the difference The BT Cellnet headset is
working on this. between 144Kbps for 3G and not made by Cellnet. But that’s
112Kbps for GPRS/GSM may no excuse. If anyone else
not make much difference, be- started selling products marked
System Services BT Cellnet or Carphone Ware-
cause the limiting factor is more
Last year, Orange was likely to be Internet congestion. house they could very soon ex-
promising to launch a new ser- MPEG-4 video will be possible pect to hear from the compa-
vice for Christmas called High at either speed. The key issue nies’ lawyers.
Speed Circuit Switched Data, will be cost per minute on line This divided responsibility is
which hikes the speed to and this will be controlled by the the crux of the problem. If one
28××8Kbps. four existing cellphone operators company made both the phone
Rivals One2One, Cellnet and a newcomer crippled by and the headset we could hope
and Vodafone were, however, high license and start up costs. that they had used filters to stop
waiting a year for completely dif- 3G looks most unlikely to be the radio signal going up the au-
ferent technology, called Gen- cheap. dio lead, and screened the lead
eral Packet Radio Service. to stop it radiating. As things
stand responsibility is split.
Both systems are authorized
by ETSI, the European MOBILE PHONE Very possibly there are
Telecommunications Standards EARPIECE other kits that don’t radiate. But
Institute, but are not fully com- so far no-one has spoken out
patible. SAFETY QUES- with a test-based reassurance.
HSCSD uses less error cor- TIONED Graeme Jacobs, Editor of
rection to increase the basic Which?, is very blunt about
GSM data rate to 14××4Kbps, and Which? discovers phone shields, too. “The ones
then gangs channels together to looked at don’t help, so if you’re
hands-free earpieces thinking of buying one, don’t
give 28××8Kbps or higher.
might increase waste your money”.
GPRS works on the as- alleged radiation haz-
sumption that most users do not
need constant data speed. A ards. Barry Fox reports. Testing the Allegation
pool of capacity serves several Which? reminds that there
users at the same time, with bits The recent auction of fre- is no scientific evidence that
allocated as and when they are quencies for third generation cellphones are dangerous. If
needed. Services are promised mobiles coincided with fresh they are, it will take years to
for September 2000, with questions on cellphone safety. prove. It will be even more diffi-
speeds up to 56Kbps, rising to While testing cellphone shields cult to reassure that there is no
112Kbps by 2001. Which? also tested a couple of risk. Negatives are well-nigh im-
In March 2000 Vodafone the hands-free earpieces (from possible to prove.
claimed the “first public GPRS BT Cellnet and Carphone Ware- The cellphone manufactur-
demonstration” at a trade exhibi- house) that people use, either ers have yet to take the blind-
tion in Birmingham, while BT an- for convenience, to make driving
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 571
Maxfield & Montrose Interactive Inc
NEWS......
ingly obvious and easy step of
The newsletter also has its
putting the aerial on the bottom NEC Boosts Scotland usual offerings of tips and ideas
of the phone so that is in free
The NEC Corporation will for the electronics enthusiast.
space in front of the jaw, not flat
this year invest a further 60 mil- We’ve said it many times, but
against the head. Inverse
lion UK pounds in its subsidiary we have no hesitation in saying
square law would then drasti-
NEC Semiconductors (UK) Ltd again that if you want to belong
cally reduce the strength of the
in Scotland. The additional in- to a worthwhile Club that en-
signal reaching the body.
vestment will go towards further courages interest in electronics,
strengthening the Scottish plant then consider joining the
BLUETOOTH BITES as a global production centre in B.A.E.C.
NEC’s electron device business. For more information, con-
Many moons ago we re-
ported on how Bluetooth would The plant will be upgraded tact the Hon. Secretary, Martyn
provide a revolutionary standard to use leading-edge 0××18 micron Moses, 5 Park View, Cwmaman,
for short-range wireless commu- process technology, producing Aberdare, Mid Glam CF44 6PP,
nication which is intended to re- around 27,000 wafers a month. UK.
place cables connecting PCs to For more information Tel: +44 (0) 1685-879025
peripherals. Founded by global browse www.nec-global.com Email: MP-
technology leaders, Bluetooth is
MOSES@compuserve.com
supported by over 1000 organi-
zations. Ericsson estimate that UK and the Comet Web: members.tripod/
before the year 2002, Bluetooth ~dledgard/baec.htm
will be a built-in feature in more The Surrey Space Centre,
than 100 million mobile phones part of the University of Surrey,
and many millions of other com- has won a contract to manufac- FARNELL WEB SITE
munications devices. Bluetooth ture the attitude control momen- Leading distributor Farnell
is effective over a 10 meter dis- tum wheel for the Rosetta Lan- has recently launched an all new
tance and line of sight is not re- der mission to be launched in e-commerce web site. Available
quired. 2004. The Rosetta spacecraft to anyone with Internet access,
will rendezvous with comet 46P/ the site combines an intuitive
Brain Boxes have now Wirtanen nine years later, map-
launched and demonstrated the user interface with sophisticated
ping its surface in fine detail and searching facilities to deliver
world’s first working PCMCIA land a package of instruments
Type 2 Bluetooth module at the what Farnell describe as
on its surface. “unrivalled access” to their
recent CeBIT 2000 fair in
Hanover. The product becomes For more information 100,000-plus branded products
available in commercial volumes browse www.sstl.co.uk and services.
by June 2000. Amongst the Farnell has built extensive
other Bluetooth products to be B.A.E.C. product search facilities into the
launched will be a printer port to site and combined this with a
Bluetooth box, with support Again we are given the op- convenient “shopping basket”
available in all Windows operat- portunity to publicize that system for order assembly.
ing systems. renowned institution, the British There is seamless hyperlinking
Amateur Electronics Club to over 750 Farnell supplier web
For more information con-
(B.A.E.C.), with the arrival of sites making available a vast
tact Brain Boxes Ltd., Dept EPE,
their latest newsletter (No 135, array of additional details on
Unit 3c, Wavertree Boulevard
April 2000). products.
South, Wavertree Technology
Park, Liverpool L7 9PF, UK. One of the benefits of be- The new web site comple-
longing to B.A.E.C., Chairman ments Farnell’s 6-book paper
Tel: +44 (0) 151-220-2500 and Editor George Burton re- catalog by providing an alterna-
Fax: +44 (0) 151-252-0446 minds us in his Editorial, is that tive means of obtaining products
E-mail sales@brainboxes.com the Club has a library of several and information 24 hours day,
hundred books (mostly paper- 365 days a year. A CD-ROM
Web: www.brainboxes.com back) which are available on version is also available.
loan for the cost of the return
Tel: +44 (0) 870-1200-200
postage. The newsletter item-
izes the books available. Web: www.farnell.com/uk
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 572
Maxfield & Montrose Interactive Inc
John Becker addresses some of the general points readers have raised. Have
you anything interesting to say? Email us at editor@epemag.com!
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 573
Maxfield & Montrose Interactive Inc
Readout
nology. How will you feed 11) ***MOST IMPORTANT*** in Readout April 2000 issue, I
and clothe yourself in the Don’t give up your day job; read this letter and the corre-
meantime? at least try not to until you sponding answer and thought
8) Have plenty of ideas on the can see money generated that perhaps I could add a little
go at any one time; truly in- by your invention being paid information on virtual scopes on
ventive people have hun- into your bank account. PCs, and whether an old ’386
dreds of ideas, some good, Julian White could cope.
most not so good. Be objec- via the Net From 1995 to ’97 my job in-
tive at every stage of the de- volved designing software for
velopment as to how useful data acquisition and control us-
an idea is. Concentrate on Thank you Julian, we believe ing PCs (I don’t think the field
the wheat and not the chaff, quite a few readers will benefit will have changed much in the
but never discard anything from this advice. last three or four years). To say
as you can never tell how The UK Government also offers it shortly, it is possible to have
circumstances might the following web sites for fur- data acquisition, and thus a vir-
change in favor of a particu- ther guidance: tual scope, on a ’386 computer
lar idea. If ideas are left to (or even less), at least using
their own devices, they often The Patent Office: plain old DOS. The problem is
seem to develop and im- www.patent.gov.uk whether you can get it at an af-
prove of their own accord. NESTA: www.nesta.org.uk fordable price, and that almost
Business Link: nobody programs for DOS
9) Ideas often run out of www.businesslink.co.uk
steam; sometimes you’ve nowadays.
DTI Innovation Unit:
done as much as you can www.innovation.gov.uk There are three main ways
think of developing and sell- to do data acquisition with a PC
Institute of Patentees and
ing an idea, and you literally that I know of:
Inventors:
can’t think of anything else 1) Directly with an unbuffered
www.invent.org.uk
to do. Often a good strategy internal card. The card does
HISTORY
is to stop and “park it” and one A/D conversion, then
get on with something more Dear EPE,
the computer reads the data
promising. Doing this isn’t Just a little note to say thank (1 or 2 bytes). The speed
giving in to failure, it’s prag- you for the many years that the limit here is the bus or inter-
matism taking over. As mag has been going. The value face used. In the case of the
above, a parked idea can for money has never been ISA bus (the old 8-bit for
spring back into life for any greater than it is today. I have a PCs, and perhaps the 16-bit
number of reasons; you copy of Practical Electronics expanded version for ATs)
might be surprised how dif- from Nov 1971, one of the few the limit was 100K samples
ferent things look after a few older ones that I have left. per second using DMA
months’ break. transfer. I couldn’t find a
From 20p in those days, to
10) Don’t be tempted to file 2.65 UK pounds, the magazine faster card of this type; but
patents on every idea you is worth every penny. even a 30Ks/s card had a
have at the time you have it price of around 400 euros
(you’ll soon run out of Andrew Allen (clones were cheaper).
money!). Develop ideas pri- via the Net Much better cards, PCI bus
vately until you can convince version from a well known
yourself of their worth, and manufacturer could cost
then file (be careful of dis- Thanks Andrew, we appre- 3000 euros. And, yes, we
closure to anybody during ciate your kind note, and long used them on the now old
this period). Good patent term support. ’386, running plain DOS, at
agents will never give an perhaps 20Ks/s. For Win-
opinion as to the worth or SCOPE CHOICE (1) dows you need much better
otherwise of an idea, they computers, as it is slower in
Dear EPE,
assume you have done that general.
and that’s why you are Regarding the Scope
2) Buffered type internal card.
patenting it. Choice question by R.J. Spratt
These have a local memory,
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 574
Maxfield & Montrose Interactive Inc
Readout
used to store a number of Thank you for your useful pared to the Cockroft and Wal-
conversions (running unat- contribution. ton voltage multiplier fed by a
tended by the main CPU) till mains transformer winding
the computer reads all the which, typical with many oscillo-
SCOPE CHOICE (2)
samples in one operation. I scope designs, will be between
saw a prototype, two 8-bit Dear EPE, 750V and 1000V and capable of
channels running perhaps at As a Solatron CD1400 user supplying several hundred mil-
1Ms/s on a 10MHz 8086 PC, myself (Readout April ’00), I am liamps from the winding, and at
around 1990. The snag is that aware of the transformer prob- least a lethal number of mil-
acquisition is not continuous if lem, the second one that blew- liamps from the multiplier!
the sampling speed is faster up is still in my possession just The concern over voltage
than what the computer bus in case I ever find the time to regulation stems from the fact
can handle; but for a scope repair it! that increasing the EHT in-
displaying continuous periodic creases the electron beam cur-
What I had originally consid-
signals, it is usually OK. rent – this results in greater de-
ered was replacing the circuitry
3) An external box, connected to used to generate the EHT and flection energy requirement to
the serial or parallel port (or focus potentials and it occurred deflect the spot. The EHT is just
another dedicated port, e.g. to me that the line timebase sec- as much a calibrated specifica-
GPIB), buffered or unbuffered tion from a B&W portable TV tion as the attenuator trimmers
(even a real scope connected might do the job. Typically, the and timebase oscillator presets!
to the PC could be grouped EHT in one of these units is The most compelling reason
here). The limits are similar to around 12kV. The fact that this for abandoning these plans was
the above said cases. There is three times the value required the fact that a visit to the local
are little ones advertised in may not be a problem. council tip produced an Advance
your magazine (Pico ADC200 OS2000R that was much easier
A well-known fact in my
and 216, but I have not used to repair!
trade, not so widely appreciated
them personally) which claim
elsewhere, is that in the CRT Such Civil Amenity Sites
to sample at 100Ms/s, storing
horizontal drive timebase the are usually contracted out to
the 8-bit samples on a 32Kb
scanning coils are the primary private operators by the Envi-
internal memory (that means
inductive component in the reso- ronmental Health division of
0××16ms total time for two
nant system. With these discon- local authorities. In my experi-
channels). I find 8-bit insuffi- nected, the EHT voltage will fall ence, it is possible to “haggle”
cient for serious work, other dramatically. From this point it is for discarded items. Oscillo-
than seeing the shape: I pre- possible to “tune” the primary scopes, computers and an un-
fer 12-bit minimum, but then inductance of the flyback trans- expected diversity of electronic
the sampling rate goes down former by experimenting with equipment form a “not infre-
to 3Ms/s, and I do not find different values of flyback tuning quent” part of the treasure
them very cheap then. They capacitor. This component is trove!
supply DOS based software, directly across the collector/
so perhaps it will work OK on emitter pins of the line output I. Field
the ’386 computer. transistors and usually has a Letchworth, Herts, UK
The card I used most was a value of several nanofarads and
PClab 812PG from Advantech, a voltage rating of at least 400V.
old technology even on Win95, Don’t try this with a color chas- We wonder just how many
and expensive at 400 euros (local sis. readers these days are familiar
Spanish price). There were clones with working on high voltage
There are several reasons electronic equipment. Personally
at nearly half that cost, and much why I did not proceed with this
better cards from National Semi- I learned much of my early elec-
plan. The first being the limited tronics only through figuring out
conductor for 3000 euros and space inside the CD1400 cas-
more. how to repair defunct TVs pur-
ing, also the need to accurately chased for about five shillings
Carlos Robinson determine the final EHT voltage. (25p in today’s currency) from
Spain, via the Net This was not so much for safety local markets. It also taught me
reasons – the low power flyback to respect the charge held on
generator is “harmless” com- capacitors even when the mains
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 575
Maxfield & Montrose Interactive Inc
Readout
power is switched off! magazine we can really only 5000 instructions) in Basic using
“take on board” programming a lot of the ZX functions. I also
Perhaps we now “molly-
languages and dialects which used designs similar to those
coddle” readers too much by
the majority of the readers use shown in Mike Tooley’s Elec-
stressing the dangers of AC
or have access to. In terms of tronic Circuit Book to input and
mains voltages and the like. But
Basic, this really brings us to output analog information via the
then most of electronics these
only supporting QBasic, Quick- ZX printer port.
days is only powered at low DC
voltages. Gone are the days BASIC, Visual Basic and Delphi I am about to purchase a
when most of what the hobbyist (the latter Robert Penfold has “proper” computer, with Win-
electronics magazines published been discussing in several of his dows 98 software so my grand-
was thermionic valve-based and recent Interface columns). daughter can use the Internet. I
as such often required voltages I have previously com- would also like to write pro-
well into the several hundreds. mented that QBasic and Quick- grams on it in Basic and, being
BASIC are no longer available a simple soul, imagined that I
None-the-less, Mr Field’s could get a CD-ROM to program
observations may provide excel- commercially, but that it is sup-
posedly possible to download the computer in Basic with at
lent food for thought for the ad- least all the functions of the ZX.
venturous amongst you should them from some private Internet
your local “tip” not prove to be a sites (details not known). How- I have made several en-
viable materials source (and it ever, we have recently been in- quiries with computer manufac-
has to be said that many are formed by Alan S. Raistrick via turers and Microsoft, but I have
prohibited from allowing the pub- E-mail that (unknown to us): not found anyone, so far, who
lic to acquire materials from their “…it is included on every can supply anything to meet
sites, especially electrical CD-ROM with Windows 95 and these requirements. Can you
goods). 98. Do a search on the CD- advise me of a suitable supplier.
QBASIC ETC ROM using Windows Explorer May I say how much I enjoy
Dear EPE, Tools/Find/Files or Folders and reading EPE each month and
there it is…” have been a regular subscriber
There is from time to time for many, many years.
discussion in EPE about what We invite all of you who use
can be used to replace GW and Win 95 and 98 to check your Peter Gardner
QBasic at a reasonable cost. I CD-ROMS on this point and to Pucklechurch, Bristol
have come across a product inundate us with replies (my Win
called Envelope Engine on the 95 CD-ROM does include QBa-
web. It was intended as a rival to sic). It is immensely important I refer the honorable gentle-
Visual Basic. Although the pro- that we get to the bottom of the man to the reply I gave a few
ject was abandoned the product apparent Basic problem. I for moments ago (to mimic Maggie
has been made available as one have tried getting into Visual – remember her?)
Freeware and can be down- Basic but have not yet got on
loaded as a self-extracting file too well with it – it does not PIC NOP TRICK
from: seem as instinctive as the other
many languages and dialects I Dear EPE,
www.winsite.com/info/pc/ use. Delphi I have not yet tried, I am new to the PIC game
win95/programr/envlpl4.exe though Robert has been encour- so my trick may well be old
It will only run on Win 95 or aging me to think about it. news. It concerns the OTP (One
later, but it is complete, is based Time Programmable) chips. In
on Basic, and its free. Thought MORE BASIC my case it was the
this might be of use to readers. PIC16C773SP. The trick is
Dear EPE, about multiple programming of
Bob Allan Several years ago I devel- those chips. Providing that your
via the Net oped a “machine” in my spare program size is less that half the
time and used the ZX Spectrum program memory size and you
(16K) computer to do all the cal- are not using interrupts and, with
Thanks Bob. We have to
culations and control the some exceptions, the configura-
comment, though, that whilst
“machine”. tion bits have been set correctly
individual readers may find this
I wrote a program (approx the first time, you can re-
program to be beneficial, as a
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 576
Maxfield & Montrose Interactive Inc
Readout
program the chip by overwriting vices, even though their unit
the programmed memory area cost can be lower. Thanks for the help!
with the NOP instruction and However, we recognize that Next time I will read the in-
shifting the entry point to a new some of you will be taking the stallation instructions more care-
location. OTP route and are using PICs fully! It’s working like a charm!
I guess there is no need to that are only available with that
Best regards and thanks for
explain that programming an structure. As a designer who
the Great Magazine, Hennie.
EPROM memory is about writing used EPROM memories until a
0s in specific bit positions and few years ago (until PICs en-
the NOP instruction is all 0s. So abled me to move away from There’s a public lesson here
all you have to do is insert 6502 microprocessor-based de- for a few other readers – I like to
enough NOP instructions at the signs), I can recommend Peter’s think that the instructions I write
beginning of your new program technique. are going to be followed! T’aint
to overwrite the old one. The always so – some of you don’t
With the EPROMs, although
cost obviously is a number of from time to time!
they can be erased using UV
clock cycles when the chip is
light, it was not necessarily con-
doing nothing (NOP) but only
venient to take time out to erase
when the program starts to run
them (as I recall it took 10 to 15
and the extra program memory
minutes a time). For each suc-
used which would have been
cessive change to EPROM
lost in any case.
code, I would start the new code
There is no need to type at an address just a few bytes
several hundred NOP instruc- beyond where the previous code
tions either. Just work out how version had ended, writing zeros
much space your faulty program into the foregoing addresses,
takes up and use the FILL direc- and making a note of the end
tive. Using the MPLAB dialect it address of the new code, so that
could look like this, assuming the process could be repeated.
the original faulty program size
was 0x200 (512 words): In this way it was possible to
make maximum use of the
;New ORG 0X00 FILL EPROM chip before having to
0,0x200 ;puts 0s (NOP) in the erase it. With some codes it was
first 512 program memory loca- possible to have many version
tions updates before the space ran
GOTO Start out.
;Old ORG 0X00
MISSING LINK
GOTO Start
Dear EPE,
Peter Malczyk
I experience “Unforeseen
Cape Town, South Africa
DOS Error 75” when I run tk.bat
of PIC Toolkit Mk2. It worked
The OTP PIC chips are not fine on previous attempts. Any
components that I have had oc- ideas?
casion to use. The repro-
Hennie R van Rensburg
grammable EEPROM PIC16x84
South Africa, via the Net
and PIC16F87x devices are far
too useful when developing a
design for publication and which To which I replied via E-
some readers may wish to ulti- mail: “Error 75 is path/file Ac-
mately amend to suit their own cess Error. Check that you are
particular needs. With the very not trying to access a non-
rare exception, it seems prefer- existent file or folder.” And Hen-
able for us to avoid OTP de- nie came back with:
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 577
Maxfield & Montrose Interactive Inc
with DAVID BARRINGTON “knob pot” came from Farnell
Electronic Components (code
350-655). Most of our
Some Component Suppliers for EPE Online Construc- component advertisers now
tional Articles carry stocks of general surface
mount devices. Note that the
Some Component Suppliers Web: LM3914N bargraph LED driver
for EPE Online Constructional www.magenta2000.co.uk IC is a standard 18-pin DIL
Articles Microchip format device.
Antex Web: www.microchip.com There are plenty of really
Web: www.antex.co.uk small plastic boxes around and
Rapid Electronics (UK)
readers should have no
Bull Electrical (UK) Tel: +44 (0) 1206-751166
problems in finding one to suit
Tel: +44 (0) 1273-203500 RF Solutions (UK) this project. We suggest you go
Email: sales@bull- Tel: +44 (0) 1273-488880 for one slightly larger than that
electrical.com Web: www.rfsolution.co.uk shown as the components are
Web: www.bullnet.co.uk certainly packed tightly in the
RS (Radio Spares) (UK)
CPC Preston (UK) Web: www.rswww.com prototype model. The small
Tel: +44 (0) 1772-654455 “hybrid” printed circuit board
Speak & Co. Ltd. (copper pads on component
EPE Online Store and Library Tel: +44 (0) 1873-811281 side) is available from the EPE
Web: www.epemag.com
Online Store (code 7000269).
Electromail (UK) Pocket g-Meter Probably the biggest
Tel: +44 (0) 1536-204555
It’s not everyday we have to problem constructors are going
Electrovalue (UK) find a source for such an up-to- to encounter is the one of
Tel: +44 (0) 1784-433604 date specialized chip as that soldering the surface mount
E-mail: used in the Pocket g-Meter components to the small PCB.
evalue@compuserve.com project. But thanks to the We suggest readers check out
ESR (UK) guidance of Bill Mooney, the Bill Mooney’s web site at
Tel: +44 (0) 191-2514363 designer, we have managed to www.billssmd.mcmail.com,
Fax: +44 (0) 191-2522296 crack it and come up with a where a host of information on
Email: sales@esr.co.uk “one-off” source. surface mount will be found,
Web: www.esr.co.uk The Analog Devices’ including details on soldering.
Farnell (UK) ADXL105JQC surface mount
Tel: +44 (0) 113-263-6311 micromachined sensor chip is PIC-Gen Frequency
Web: www.farnell.com available from Thame Generator/Counter
Components Ltd, Dept EPE, Several components need
Gothic Crellon (UK) Thame Park Road, Thame, highlighting when purchasing
Tel: +44 (0) 1743-788878 Oxfordshire, OX9 3UQ, UK (Tel: parts for the PIC-Gen
Greenweld (UK) +44 (0) 1844-261188 or Web: Frequency Generator/Counter
Fax: +44 (0) 1992-613020 www.impact.uk.memec.com). project. This applies particularly
Email: greenweld@aol.com It will cost you around 16.14 UK to the ICs.
Web: pounds plus a postage and
handling charge of about 4.50 Both the Maxim MAX660
www.greenweld.co.uk
pounds. Another possibility is voltage converter and the
Maplin (UK) Avnet Macro Direct (Tel: +44 (0) MAX038 function generator
Web: www.maplin.co.uk 1628-606000 or chips were ordered through
Magenta Electronics (UK) www.avnetmacro.co.uk), Electromail, the RS mail order
Tel: +44 (0) 1283-565435 although they were not so outlet. The MAX660 carries the
Email: forthcoming with information. order code of 265-055 and the
sales@magenta2000.co.uk MAX0388 code 810-396. For
The miniature ceramic those interested, Maxim’s web
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 578
Maxfield & Montrose Interactive Inc
Shop Talk
site is at: www.maxim-ic.com. Camera Shutter Timer are called for in this month's
The MAX660 converter is This month’s Starter Project installment of the Teach-In 2000
claimed to have a greater output is a low-cost Camera Shutter series. For details of special
load capability than similar Timer and we cannot picture any packs readers should contact:
devices and should be the only component buying problems.
one used in this project. Also, ESR Electronic
If you decide to use a Components – Hardware/Tools
the author advises that the HC phototransistor and wish to use
versions of the 74xx4040 (IC6) and Components Pack.
the 3mm SFH309 type listed,
and the 74xx132 (IC7) should this came from Maplin, code Magenta Electronics –
be the only ones used in this CY86T. However, the circuit has Multimeter and components, Kit
circuit. The standard CMOS been designed to work equally 879.
4040 counter is too slow and as well with most photodiodes or FML Electronics (Tel: +44
although the LS132 voltage phototransistors. (0) 1677-425840) – Basic
converter version should work it component sets.
has not been tried in the model. Judging from photos of the
prototype, the 50uA moving coil N. R. Bardwell (Tel: +44 (0)
The neat plastic case, with meter is one from the 2××5 class 114 255-2886) – Digital
plastic removable front and rear range. Another one with similar Multimeter special offer.
panels, is from a new range characteristics and dimensions,
introduced by RS and available 51mm (2in.) by 45mm (1.75in.),
from the first mentioned is the MU38 series. Both types
company, code 239-7413. Multi- should be widely stocked.
turn potentiometers are “off-the-
shelf” items and the most If you use a different case to
popular range seems to be from the one shown, such as an all--
around 10-turns to about 20- plastic type, keep in mind that
turns. you will need plenty of space on
the front panel for the controls
The alphanumeric 2-line 16- and meter.
character per line liquid crystal
display module used in the
prototype was originally Atmospheric Electricity
purchased from Magenta Detector – Part 2
Electronics. This comes We have received no further
complete with a connector and feedback regarding the
is one we would recommend. availability or any alternatives to
Other component suppliers will the Siemens B6429 series of
no doubt be able to offer toroid ferrite ring cores called for
something similar. in the Atmospheric Electricity
For those readers unable to Detector. These were
program their own PICs, a purchased from ElectroValve
ready-programmed PIC16F877- (evalve@compuserve.com) –
4P can be purchased from quote full code
Magenta (see above) for the B64290K618X830 when
inclusive price of 10 UK pounds ordering.
(overseas readers add 1 pound The choice of meters is left
for postage). Software for the to the individual constructor, but
PIC-Gen is available for free most of our component
download from the EPE Online suppliers should be able to help.
Library. The software is written Also note the author advises
in TASM. that switches S3 and S4 must
The printed circuit board is be rated at least 250V AC.
available from the EPE Online
Store (code 7000268). Teach-In 2000
No additional components
Copyright © 2000 Wimborne Publishing Ltd and EPE Online, July 2000 - www.epemag.com - 579
Maxfield & Montrose Interactive Inc