Beruflich Dokumente
Kultur Dokumente
Don Lancaster’s
Hardware Hacker
Selected reprints — volume IV
Electronics Now series (January 1992 - January 1994)
ISBN 1-882193-04-0
Book-on-demand self-published using the Apple IIe computer, a duplex LaserJet and the
PostScript language. All graphics were done in their entirety by ProDOS AppleWriter 2.1.
i
Hardware Hacker IV
ii
Hardware Hacker IV
Introduction
Welcome to the fourth volume in our ongoing series of my Hardware Hacker
reprints from Electronics Now magazine. This volume includes the January 1992
through January 1994 columns.
As before, I do use the term "hacker" in its original context, namely anyone who is
genuinely interested in pushing all the limits of software and hardware and is
willing to do so in a fully cooperative, low cost and sharing network environment.
I’ve tried to expand the topics beyond the strict boundaries of traditional
electronics. Going into the science and math subjects many of you have asked for
over our voice helpline.
I still get lots of pseudoscience and "free energy" questions. So, focus areas of this
volume include thermodynamics, power transfer theorems, and related engineering
fundamentals. Stuff that outright precudes all perpetual motion scams. At the same
time, I have indexed and listed most of the fake pseudoscience sources. Mostly,
because they make wondrously bizarre reading, I guess.
Some of the more popular subjects in this volume include distant FM reception,
Newtek’s Video Toaster , advanced halftone imaging, and new solar energy
developments. Plus updates on wavelets, caller ID, and GPS navigation. And great
stuff on cubic splines, UFO’s, and phone interfaces.
Preprints and reprints of most of my columns are also available electronically via
GEnie PSRT. Presented in both PostScript and Adobe Acrobat formats. For GEnie
access, have your modem dial (800) 638-8369. After the prompt, enter JOINGENIE.
When you are later asked for your keycode, enter DMD524.
I continue to offer my no-charge voice helpline at (602) 428-4073 , and offer free
referrals from our Synergetics Consultant’s Network. I’ve also got a free and newly
expanded Hardware Hacker Inside Secrets and catalog waiting for you when you
call or write. You can also grab this as SYNCAT1.PS off GEnie PSRT , or else
request one through my Internet address of SYNERGETICS@GENIE.GEIS.COM.
iii
Hardware Hacker IV
Microcomputer pioneer and guru Don Lancaster is the author of 33 books, 2 videos,
and countless articles. These include his TTL Cookbook and CMOS Cookbook
internationally published million seller classics. Don is considered by some to be
the father of the personal computer, for his early ground-breaking work with hacker
digital electronics and low cost video terminal displays. He is considered by others
to be the patron saint of the Walter Mitties of the World. And by yet others as the…
Uh, I guess we better skip that one.
Don is the Hardware Hacker in Electronics Now (516) 293-3000, runs his Resource
Bin in Nuts & Volts (714) 371-8497, and is the Blatant Opportunist in Midnight
Engineering (719) 254-4558 . Don is also the sysop for GEnie PSRT , a leading
Hardware hacking, PostScript, laser publishing, and money machine on-line
resource. His Ask the Guru columns continue to be published electronically on
PSRT . For fast GEnie modem access, dial (800) 638-8369 . Then JOINGENIE and
DMD524.
Don is also the head honcho of Synergetics, a new-age design and consulting firm
that specializes in computer applications, laser printing, PostScript development
work, electronic prototypes, Book-on-demand publishing, technical writing, and
innovative software design. His avocations include firefighting, cave exploration,
bicycling, and, of course, tinaja questing.
Don maintains a no-charge voice helpline at (602) 428-4073. He does welcome your
calls and letters. The best calling times are 8-5 weekdays, Mountain Standard Time.
Referrals to Don’s Synergetics Consultant’s Network are available through this
same number. ✦
iv
Hardware Hacker
Table of Contents
more . . .
v
Hardware Hacker
vi
Don Lancaster’s Caller ID chips update
VINN
OHD
GND
VCC
N/C
N/C
N/C
TIP
1 2 3 4 5 6 7
1 2 3 4 5 6 7 8 9 and quinone.
The long chain molecule acts as a
+5V +
conductive antenna, changing the
input optical energy into electron
Phone Line 0.1µF 0.1µF 0.1µF 1µF
energy. The tunneling gap effect
Inputs
between the large donor and small
acceptor rings acts as a rectifying
Fig. 5 – PRE-APPROVED PART 68 INTERFACE HYBRIDS are available, but diode for DC conversion.
they are rather expensive. Here is a caller ID circuit that uses the Cermetek For all this to work, the molecules
CH1845 DAA interface and the Sierra SC11211 caller ID chip. have to be carefully oriented while
49.4
January, 1992
the sheet is being created. Mark’s
work has centered on suitable bulk
processes to do the orientation in a LUMELOID AND LEPCON SOLAR RESOURCES
low cost and high volume process.
Projected costs are five dollars per Key Patents:
meter and three cents per watt. #4,445,050 - Device for Conversion of Light Power into Electric Power.
At present, the Lumeloid films are #4,574,161 - An ordered Dipolar Light-Electric Power Converter.
only expected to last a year in strong
sunlight. Once again, Lepcon panels Key Paper:
use conventional microlithography on Lumeloid Solar Plastic Film and Lepcon Submicron Dipolar Antennae
glass, while Lumeloid use oriented on Glass. 1990 International New Energy Technology Symposium.
pages 201-210. From Planetary Association for Clean Energy below.
films that mimic photosynthesis.
Interesting, the Lumeloid process Key Info Packet:
is totally reversible. You can input From Advanced Research Development below.
electricity and get light out as well.
Which could lead to new lighting and Key Players:
display technologies. Advanced Research Devel. Home Power
For any of this to become real, we 359R Main Street PO Box 130
will need working prototype panels, Athol, MA 01331 Hornbrook, CA 96044
(508) 249-4696 (916) 475-3179
credible third party research, and the
proper peer review. My "usual sus- Dialog Planetary Assoc Clean Energy
pects" of Science, Nature, Science 3460 Hillview Avenue 191 Promenade du portage, #600
Palo Alto, CA 94304 Hull PQ, CANADA J8X 2K6
News, and the technology page of the (415) 858-2700 (819) 777-9696
Wall Street Journal have been sus-
Electric Power Research Inst. UMI
piciously silent to date. PO Box 10412 300 North Zeeb Road
My own feelings are that short and Palo Alto, CA 94303 Ann Arbor, MI 48106
open circuits in production panels are (415) 855-2000 (800) 521-3044
going to lead to the very same type of
yield problems that have held back
and restricted development of large caller antsy enough to call twice.
area flat panel tv displays. Motorola has just announced a New Tech Lit
Because of the lack of even lab brand new MC145447 caller ID chip. From Sony, a new Laser Diode
prototypes, their efficiency and cost Free sample kits are available. This Guidebook. And from Hughes, a free
projections at this time would appear one is supposed to include internal brochure on their Nonvolatile Serial
totally meaningless. Although having ring detection. But, as near as I can Programmable Devices. These gems
a high theoretical efficiency sure does tell so far, the chip of choice remains include digital sinewave or code gen-
help. But time will tell. the Sierra SC11211. erators, electrically variable resistors
A FCC Part 68 interface is shown or capacitors, switches, and counters.
Caller ID Update to you in figure four. Which is what The Best of Analog Dialogue is a
Time sure does fly when you are normally has to go between you and three decade compilation of the very
having fun. As a result, I’ve gotten the phone company. Key points in- best in analog linear integrated circuit
hopelessly far behind on a bunch of clude an exceptionally well balanced design info. From Analog Devices.
potentially great projects here. So my transformer with a 1500 volt isolation In a startling development, real
caller ID project may take a while capability. While such an interface is thermography is now available for
longer. Meanwhile, I’d thought we’d fairly cheap and simple, getting the toner-based desktop publishing. One
bring you up to date on what’s now needed approval is not. new source is Bennet LaserBrite. You
coming down on caller ID. Several companies now offer some spray on chemical A to soften your
Caller ID should be available in ready-to-go Part 68 interfaces. These toner, dust on powder B, and then
most parts of the country very soon. are priced well above what you could apply heat from desklamp C. Presto.
The controversy is dying down, since build your own for. But they come Instant raised letters. Even Braille.
the benefits so totally and ludicrously pre-approved, eliminating most legal Free stuff this month: A video on a
outweigh any potential problems. To hassles. Dallas Semiconductor and high end printed circuit prototyping
see what dozens of others are now Cermetek are two typical sources. An system from Direct Imaging. A free
thinking about caller ID , you might interface between the new Cermetek video on the Toaster, the low cost
want to check #2239 CALLERID.CAP CH1845 and the Sierra SC11211 caller broadcast quality video production
on the GEnie RADIO RoundTable. ID chip is shown in figure five. system from NewTek. And a great
If for no other use, the convenience Both Cermetek and Sierra have lots new sample A-42 plastic electronic
of having a no-charge, no-hassle list of free caller ID ap notes available. case from Serpac.
of everyone that called you while you As we’ve seen before, a number of A reminder that I do have a full
were out is just flat out wonderful. ready-to-use caller ID products are collection of reprints available. Just
There’s even an asterisk beside any available from Hello Direct. give call me for more details. ✦
49.5
Hardware Hacker
49.6
Don Lancaster’s Using the IC master
Carrier Detect
A GPS Update
GREEN- BURST
We sure had strong reader interest + + +
GREEN+ GND
in our GPS navigation story from two
columns back, so here is a quickie BLUE+ 220µF / 6v LOAD
update: (x3) 75Ω
That GPS , (for Global Positioning RED+ / SYNC
4.7K
0 .1
0 .1
75
BLUE- ODD you in figure two. Empty boards, kits,
GRN- BRST
GRN+ 220u / 6v GND tested circuits, and both stock and
BLUE+ LM1881 MC144049 LOAD custom interface cables are available
RED+ / SYNC
+5VDC SYNC from Redmond Cable. You can call or
0 .1
13 BGND
serial video capacitors. This time, we
( DB15 male )
/SYNC 3 3 /SYNC
use an enabling resistor to turn on the
( multi-out 12 female )
GND 5 6 GGND
internal sound and eliminate any need
SUPER NINTENDO
+ 220
GREEN 2 5 GREEN
+ 220 for a companion amplifier.
BLUE 4 9 BLUE
+ 220 The interface to the Commodore
RED 1 2 RED
1084 color monitor is shown in figure
L+R 11
EXTERNAL 4-C. As usual, the red, blue, and green
GND 6 AUDIO video have to be capacitor coupled to
the appropriate pins on the LinRGB
(A) APPLE IIGS A2M6014 MONITOR
connector. This time, an active-high
sync is needed rather than active-low,
8 RGND so the inverter must get added as
( Amp 1-102397-5 34 pin female )
GND 5 16 GND
SUPER NINTENDO
+ 220
GREEN 2 26 GREEN adjustments on the back may also
+ 220
BLUE 4 27 BLUE need a slight readjustment.
+ 220
RED 1 25 RED Yes, we are working on VGA and
L+R 11 24 AUDIO multi-sync solutions. Stay tuned or
GND 6
4.7 K
34 SENBL1 check GEnie PSRT for availability.
+5VDC 10 33 SENBL2 Once again, some mix and match
kits, all-pin connectors, parts, and
(B) SONY KV1311CR RECEIVER/MONITOR cables are available from Redmond
Cable. Do let me know which other
interface circuits you would like to
/SYNC 3 2 SYNC see worked out.
( LinRGB DIN-5 male )
( multi-out 12 female )
COMMODORE 1084
SUPER NINTENDO
GND 5 3 GND
GREEN 2
+ 220
1 GREEN
Laser Printer Repair Resources
+ 220
BLUE 4 5 BLUE Where can you go to get training,
+ 220
RED 1 4 RED parts, and information on today’s
L+R 11
INTERNAL
laser printers? Many of the printer
GND 6 AUDIO manufacturers are super secretive and
go far out of their way to prevent you
(C) COMMODORE 1084 MONITOR
from getting the parts and materials
you need to best use your printer and
to cheaply keep it alive. So, for this
Fig. 4 TYPICAL SUPER NINTENDO TO LINEAR RGB VIDEO MONITOR month’s resource sidebar, I thought
interface connections can give you sharper resolution and better colors. we’d gather together some of the best
51.4
March, 1992
of the laser repair resources. Black Lightning also publishes The
The overwhelming majority of all Flash, a free and friendly newsletter
laser printers use Canon engines, so crammed full of useful desktop info. LASER PRINTER
that is usually where you’ll want to There are several laser printing and REPAIR RESOURCES
start. Hewlett Packard has by far the toner recharging trade journals, but Black Lightning
best and the most available Canon the only one of any consequence is RR 1-87 Depot Road
manuals in the industry. And since a Recharger. They are already up to Hartland, VT 05048
SX engine is a SX engine, those HP several hundred pages per issue, and (800) BLACK99
manuals are most useful on similar list dozens of suppliers for just about GEnie
Apple, QMS, and lesser machines. any laser printing repair need. 401 North Washington Street
Rockville, MD 20850
Figure five summarizes the key HP I do try to carry a lot of toner and (800) 638-9636
service manuals, along with some of laser printer repair stuff on our GEnie
Hewlett-Packard
the competing machines they cover. PSRT. We also have on-line real time PO Box 10301
HP recently has sharply raised all of conferences with the leaders in this Palo Alto, CA 94303
their service manual prices. Many are field. Both those upcoming and as (415) 857-1501
in the $100 range. Even at this price, bunches of downloadable transcripts. Lazer Products
they pay for themselves on their first These files usually will start off with 12741 East Caley Ave #130
use. They are essential gottahaves. an "RTC" prefix. Englewood, CO 80155
HP does also sell parts to anybody (303) 792-5277
overnight via VISA and an 800 order New Tech Lit Recharger
line. Again sadly, individual parts are From SGS/Thomson a new Modem 101 Granite St Suite F
Corona, CA 91719
hard to get. They prefer to sell you an Databook and Applications manual. (714) 359-8570
entire $50 fan instead of the 50 cent From Benchmarq, a 1991 Databook
Don Thompson
grommet which is the only thing that on their energy management (power 23072 Lake Center Dr #100
ever goes wrong with the fan. switching) chips for laptops, real time El Toro, CA 92630
The best place to go for individual clocks, and non-volatile memories. (800) 457-5776
parts is Don Thompson, who also now A new and very thorough Heatsink
offers by far the finest of multi-level Application Handbook is available
training and repair seminars in the from Aham Tor. TV satellite products CAD/CAM systems.
entire industry. and info are offered by AIS Satellite Those folks at Small Parts always
My two favorite places for toner and Skyvision. Both do provide free have been a great place to go for all
refilling supplies and materials are catalogs. Skyvision has a very good the robotic and mechanical stuff your
Arlin Shepard of Lazer Products, and satellite book selection. hardware store never heard of. As
Walt Jeffries and his crew at Black Our two new trade journals for this well as any precut plastic and metal
Lightning. The latter are also into the month include Electronic Product shapes. They have recently moved to
special toners for fabric printing and Review on new component parts and larger quarters, so you may want to
printed circuits as well. CADalyst for those users of AutoCad note their new address and pick up a
new and free catalog.
A free School Shop catalog from
HP MANUAL HP PRINTER APPLE PRINTER QMS PRINTER
Rutland offers all the usual machine
shop tools and supplies.
02686-90920 LaserJet I LaserWriter PS800 As per usual, most of the Names &
(CX Engine) LaserWriter Plus Numbers are shown in the ending
appendix, while the Piano & Organ
LaserWriter NT PS810 & Turbo
33449-90906 LaserJet II LaserWriter NTX PS820 & Turbo
Resources appear in their own sidebar
(SX Engine) LaserJet III LaserWriter F PS815-MR shown above.
LaserWriter G PS825-MR A no-charge sample of backlit fiber
33459-90906 LaserJet IID –––– ––––
optic displays is newly available from
(SX Engine) LaserJet IIID Serigraph, while the Caplugs people
offer a free sample idea kit on their
33471-90904 LaserJet IIP Personal LW NT PS410
plastic plugs, caps, and enclosures.
(LX Engine) A reminder that I now do stock my
Active Filter Cookbook for all of the
33491-90929 LaserJet IIIsi –––– –––– fundamentals of quickly building up
(SI Engine)
your own analog lowpass, bandpass,
and highpass filter circuits. I’ve got
autographed copies on hand for you
Fig. 5 – THESE HEWLETT-PACKARD LASER SERVICE MANUALS can be here at Synergetics when you call or
used for mechanical repairs on most of the printers shown here. While write. You can get this book by itself
expensive, they are the best info available, and far easier to get than many of or as one portion of my Lancaster
the others. Classics Library.✦
51.5
Hardware Hacker
51.6
Don Lancaster’s FM stereo broadcasters
to car radio
out
+12v
in
C27
seem to have been created with full 1K
R26 RY1
FCC compliance in mind. + + 4.7K
+ 2.2K
I could also see several wired or R25 R24 Q8 D4
semi-wireless broadcaster aps that 22
Q7
R27
might use a twin lead to route high .22 µ 100 µ 2.2K
AUX 1 C24 C25 + R22
quality audio all over your plant or D2 6V
Q5 220 µ +
1K
whereever. Using wires, you could C29
R23
easily go several hundred feet with- D3 1 amp inline fuse
out running afoul of FCC specs. All +1.4 vdc
(source) .22 µ
C24
the while avoiding the hum and noise
problems of using "real" audio. And a From 12 v battery
whole new world of point-of-sight
WARNING: Be sure to current limit the AUX input with an external 1K resistor!
light modulated FM data links is also
newly opened up.
In their intended use, you unplug Fig. 3 – APPROXIMATE SCHEMATIC of the Pioneer CD-FM-1. While intended
your car radio antenna, plug in the as a CD audio to car radio adaptor, this module can easily become a highly
CD-FM-1 , and then reconnect your stable and on-channel FM stereo wireless broadcaster. Applying +12 volts to
antenna. A DIN-8 connector goes to the AUX input activates the module.
52.3
Hardware Hacker
sized module appears in figure two, could be used instead. circuit. Neat trick.
while an approximate and unofficial The heart of the circuit is the great Those varactor diodes act as elec-
schematic is shown in figure three. Rohm BA-1404 FM stereo broadcaster tronically variable capacitances that
Because of the surface mount parts chip which we have looked at in the raise or lower the tank frequencies. On
used, certain component values are Hardware Hacker II reprints. Only the positive modulation swings, both
only my estimates. The exact circuit this time, the internal RF transmitter tanks will increase their resonant
shown also may not be fully accurate. circuitry is not used and gets very frequencies and vice versa.
At first glance, this circuit seems carefully deactivated. Left and right Your final result is a reactance
deceptively simple. But if you flip the audio are combined into the L+R frequency modulator whose reson-
board over, you’ll find nearly a dozen baseband and L-R subcarrier set by ance frequency is set by the crystal but
more surface mount semiconductors that 38 kilohertz X1 crystal pilot 2X rapidly shiftable either way by the
on your foil side. It is obvious that reference. Control VR1 adjusts your multiplexed audio. Usually, a fre-
bunches of time and effort went into balance and VR2 sets the 19 kilohertz quency change varies as the square
the design. pilot level. root of a capacitance change. But,
As with any circuit, you’ll usually The multiplexed audio output is because a pair of varactor diode cap-
want to start off with your power resistively added to the pilot and gets acitors is changing, your resonant
distribution. The twelve volts from the routed to a combination driver and frequency changes linearly with the
car battery gets turned off and on by preemphasis network using Q1 and modulation input.
an AUX logic signal. The power is Q2 . The amount of high frequency At any rate, Q3 is a Pierce style
only applied when your CD is to be preemphasis is adjusted by TC1 . oscillator which can oscillate at the
used. The power switching is via input The linear and broadband "crystal frequency determined by the highest
switching field effect transistor Q5 and puller" is an interesting reactance impedance sum of the crystal’s third
series power driver Q6. Q6 is followed modulator scheme using a pair of overtone resonance and the reactance
by a two volt regulator IC2 that in turn varactor diodes at D1 . A simplified modulator tanks. 88.1 Megahertz is
is followed by the dynamic regulator circuit of the modulator appears in used in my particular sample, with a
or capacitance multiplier at Q8. The figure four. What you’ve got is a final trim given by TC2 .
post-regulator will obviously intro- crystal put in series with the parallel The fundamental crystal frequency
duce a temperature drift that may or resonant circuit "A" in turn in series is way down at 29.7 Megahertz, but
may not be intentional. with a second resonant circuit "B" . the oscillator tries its best to run at
Several refinements in the supply Tank "A" is tuned well below the 88.1. The resultant waveform thus has
switching include zener D2 to prevent crystal’s parallel resonance and will some uneven subharmonic lumps.
any turn-on at all with a weak battery normally appear as a high inductive It is very important to keep the
or during cranking; and the network reactance. Tank "B" is tuned above the loading on most any modulated FM
R27-C30 gives a slight turnoff delay to crystal parallel resonance and should oscillator constant. Especially when
eliminate clicks or thumps. appear as a capacitive reactance. In using an overtone crystal. So, a buffer
Except for that switchover relay, the absence of any audio modulation, the and driver transistor follows at Q4 .
entire rest of the circuit runs on the reactances will cancel, and the series This in turn drives a special bandpass
dynamically regulated 1.4 volt supply. combination of crystal and the two filter (probably a surface acoustical
Theoretically, one single AA cell tanks become a high impedance open wave, or a SAW device) to eliminate
any subharmonics and out-of-band
harmonics. Only the crystal’s third
The final TOTAL IMPEDANCE of the overtone at 88.1 Megahertz is allowed
entire circuit appears as a very high
RESISTANCE at the instantaneous
through the filter.
frequency set by the crystal and by Even with the attenuation through
the present audio modulation value. the bandpass filter, the output signal is
still too strong to directly couple into
any FM receiver’s antenna, so it gets
The third overtone PARALLEL further attenuated by R20 and R21 .
RESONANCE of the crystal is at
the desired FM channel frequency.
Recall that supply power is only
turned on when you want to listen to
your CD player. When the 1.4 vdc
TANK A resonates ABOVE the
crystal’s frequency and appears
supply voltage is present, relay driver
as a high INDUCTIVE reactance. Q4 and spike supressor D4 pull in the
The AUDIO MODULATION uses
a pair of VARACTOR DIODES relay, connecting the rf converted CD
TANK B resonates BELOW the
to vary these capacitors. audio directly on into your auto radio
crystal’s frequency and appears antenna input. At the same time the
as a high CAPACITIVE reactance. antenna is disconnected to prevent
any back radiation or unintentional
broadcasting. You do, of course, also
have to pushbutton select 88.1 Mhz on
Fig. 4 – SIMPLIFIED SCHEMATIC of the linear reactance modulator. your car radio for CD audio.
52.4
May, 1992
Once again, this description is for good idea if you try this. One way or such as a correctly cut Yagi can also
the CD-FM-1. The XA-7A does use a another, though, you can easily get dramatically improve your range.
somewhat different circuit that we this circuit down into the millipower Note that lower power plus good
may look at in a future column. range. But not micropower. antenna matching and orientation will
A possible antenna takeoff point for give you vastly more range than will
Hacking the CD-FM-1 any low level direct broadcasting high power and poor or improperly
In the absence of a CD player, the experiments seems to be the collector aligned antennas.
CD-FM-1 can get activated by con- of Q4 . Figure five shows how to route While there is that extra booster
necting the AUX input to the +12 volt a thirty inch antenna wire through a amplifier remaining unused in the
supply. Your left and right audio grommet in the case. I got a 50 foot BA1404 , it might be tricky to access
inputs are normally at "line" level; useful range with a good car radio this and still remain stable. An external
additional gain will be needed for way. Be sure to insulate the wire tip to boost circuit could also get built up
most microphones. Any and all audio prevent possible shorting of the dc using a 2N918 transistor or something
connections must be shielded. supply or damaging the filter. A far similar. This would best be done in a
The antenna changeover relay may cleaner but weaker takeoff point can separately shielded and a properly de-
be optionally defeated by shorting be the pin 4 filter output. coupled box. Do not, under any cir-
R23 . Supply current is 30 mils with the While the BA1404 supply voltage cumstances, attempt to amplify the
relay active and 17 mils with it can be raised as high as three volts, unfiltered output. For doing so will
defeated. Another four mils could be doing so may change the performance create unacceptably strong outband
saved by disconnecting your AUX of the reactance modulator. signals. Especially at 29.7 Mhz.
input and shorting collector to emitter The best way to increase the range What can you get away with in the
on Q6 . And nearly another mil by is to improve that antenna on your way of increased power? Any boost at
removing R22. The remaining power receiver. Be sure to connect a good all gets you into a legal gray area. But,
needed by your "useful" part of the receiving antenna and disconnect any as a practical matter, if your dc input
circuit is then 1.4 volts at eleven mils, cable connections. Experiment with power to your boost stage is under
or around fifteen milliwatts. the antenna orientation; vertical may fifty milliwatts, and if nobody ever
With these power reductions, you be best for car radios and horizontal complains, and if your total useful
could probably substitute an ordinary may be better for home hi-fi. range is well under a hundred feet, and
9 volt "transistor" battery for your 12 The range can also be improved by if you use these yourself rather than
volt supply. But do be sure to turn the placing a ground plane, such as a selling them to someone else, you can
power off when not in use. grounded cookie sheet (or preferably probably get away without any serious
Theoretically, you might want to something bigger), under your trans- problems or hassles.
replace the dynamic regulator Q8 and mitter. This could give you a hemi On the other hand, using one of
substitute a single AA cell instead. A pattern with double field strength. these as a prediver to broadcast heavy
bypass cap or two would also be a A directional receiving antenna, metal to your entire college campus is
a very big no-no.
Another Contest or Two
This CD-FM-1 is one of the most
Thirty inch hackable projects to come down the
vertical wire pike in a long, long time. For here we
have all of the compact and milli-
power core circuitry needed for one
very high quality and quite stable FM
stereo (or mono) broadcaster all in one
place and ready to go. With the nasty
stuff fully debugged. And one which
works just fine with synthesized hi-fi
and auto receivers.
new For our first contest this month,
grommet just tell me about a new or unusual use
shielded case
for a short range and high quality FM
stereo or a mono wireless trans-
4 3 2 1 mitter. Or show me a variation on the
BPF1 circuits we just looked at.
There will be all of those usual
Incredible Secret Money Machine II
book prizes going to the dozen or so
Fig. 5 – AN ANTENNA CAN BE ADDED as shown to the CD-FM-1 for your best entries. Plus an all-expense paid
initial short range FM broadcasting experiments. Be sure to insulate the far end (FOB Thatcher, AZ) tinaja quest for
of your coupling gimmick. Experiment to get the best length and orientation. two going to the very best of all.
52.5
Hardware Hacker
DYS Resources
DYS & OTHER RESOURCES
I thought we’d do something a tad
unusual for our resource sidebar this Brookstone J&R Music World
month. There’s a group of direct mail 127 Vose Farm Road 59-50 Queens-Mid Exway
outfits that I will call DYS, short for Peterborough, NH 03460 Maspeth, NY 11378
(603) 924-9541 (800) 221-8180
Distressed Yuppy Surplus. All these
folks specialize mostly in overpriced Harriet Carter Micro-Mark
toys for the non-technical types. But Stumps Road 340 Snyder Avenue
every once in a while, an electronic North Wayles, PA 19455 Berkeley Heights, NJ 07922
gem or two shows up at a really un- (215) 361-5151 (800) 225-1066
beatable price. Or a useful tool. Or
Comb Corp Northern Hydraulics
a great idea. So it pays to get and stay 720 Anderson Avenue PO Box 1499
on their mailing lists. St Cloud, MN 56395 Burnsville, MN 55337
An example or two: Those "meals (800) 522-3035 (800) 533-5545
in minutes" food vacuum packaging
machines seemed to bomb out as a Crutchfield Porter Camera
Yuppy prize. Their intended use was 1 Crutchfield Park Box 628
Charlottesville, VA 22906 Cedar Falls, IA 50613
to package single portion leftovers so (800) 336-5566 (800) 553-2001
they can be frozen, boiled, or nuked.
And they are great for just that. But at DAK Quill
$29 each via DYS , these make very 8200 Remmet Avenue PO Box 50-050
effective software and book vacuum Canoga Park, CA 91304 Ontario, CA 91761
packing machines. Be sure to get the (800) DAK-0800 (714) 988-3200
type that has the little electric pump Damark Real Goods
with it. Plain old Baggies work just Box 29900 966 Mazzoni Street
fine with these. Minneapolis, MN 55429 Ukiah, CA 95482
Those automated bread machines (800) 729-9000 (800) 762-7325
also bombed at retail. Mostly because
far too many females viewed them as 47th Street Photo Tandy Leather
36 East 19th Street 1400 Everman Parkway
an outright threat and throw both the New York, NY 10003 Ft Worth, TX 76140
machine and whoever gave it to them (800) 221-7774 (817) 551-9770
out of their house. So I got one via
DYS . Around here these days, any Harbor Freight Taylor Gifts
bread that is even twenty minutes old 3491 Mission Oaks Blvd 355 East Conestoga Road
is considered "stale", and even the Camarillo, CA 93011 Wayne, PA 19087
(800) 423-2567 (215) 789-7007
birds won’t touch it.
You do have to be selective. For Hello Direct JC Whitney
instance, a CPM computer is pretty 140 Great Oaks Blvd 1917-19 Archer Avenue
much worthless at any price. As is San Jose, CA 95119 Chicago, IL 60680
any laser printer that does not speak (800) HI-HELLO (312) 431-6102
real PostScript. As is any teletext re-
ceiver with no teletext to receive. you are able to do so. Assorted free samples of Kydex
My three favorite DYS sources are I’ve also added a great heaping thermoplastic sheets are obtainable
Dak, Comb, and Damark. But every bunch of other unusual direct mail from Kleerdex. This stuff looks great
once in a while, a good solution to a sources to our sidebar. While several for custom thermoformed cases and
technical problem can even be found of these are clearly not DYS, they do enclosures. With lots of colors, thick-
in such unlikely sources as Taylor offer very interesting and very useful nesses, and surface finishes. And free
Gifts or Harriet Carter. catalogs. And every hacker should tactile dome keyswitch samples are
I thought I had a lot more of these definitely know about them. available through Snaptron. Finally,
DYS catalogs than I could find at Avery Dennison now has test fixture
column deadline time. Is JS&A still New Tech Lit samples of their FasTape UHA super
around? They invented DYS in the From Analog Devices, the fat new strong clear adhesives.
first place. How about the Sharper Data Book Volume 10 on their analog A reminder that I still have lots of
Image folks? So why don’t you tell me integrated circuits. From WSI, a new Book-on-demand bound reprint sets
about the rest of them? Programmable Peripherals Design available on pretty near all of my
As a second contest, just tell me and Applications Handbook which recent columns. Included are Ask the
about any non-obvious direct mail includes lots of free demo software. Guru I, II, and III, Hardware Hacker II
resource that can be used to get ideas From Intel, their new PLD Shell Plus and III , LaserWriter Secrets, and
and solve hacking and other technical programmable logic design and its Blatant Opportunist. Write or call me
problems. Include a sample copy if supervision software. for more details. ✦
52.6
Don Lancaster’s Dye-based solar energy
/SYNC 7 ? /SYNC
Nintendo was totally overwhelming,
( pinouts vary )
RGB MONITOR
GND 2 ? GND
and I will certainly defer to their
NEO-GEO
53.6
Don Lancaster’s Santa Claus machine BBS
quickie update before we A trivially simple ferinstance of Any of these stunts should work in a
s0
present in the word?"
"How many ones are
m0 Correlation Functions
special adder
match out
s1
match out
2764
An exact match against your initial
m1
EEPROM signal is called an autocorrelation .
Attempting a match against anything
mask in
54.6
Don Lancaster’s Electronic halftones
C6 C12
involved. There would also be C15
lightning and power problems.
The gain of an antenna is simply R7 CR4
C13
how much better it works in its best
direction than a comparable isotropic
antenna that accepts signals equally
well from any direction. Raising the Fig. 4 – APPROXIMATE SCHEMATIC for the Radio Shack 15-1108 TV/FM
gain of your antenna by a mere three booster antenna unit. The polarity of the dc power routed up the coax decides if
decibels is the same as having the the FM trap will be switched in or out. The low cost Motorola transistors used
station double the transmitted power. have an 8 Gigahertz bandwidth and an FM noise figure of 0.4 Decibels!
57.3
Hardware Hacker
matching, you can actually degrade strong local stations. expect. Try it and see. Should you be
your signal. One useful paper on these rhombic mainly interested in one station, call
The Radio Shack 15-1636 is a low antennas is Improved Antennas of the them and ask what pattern they use.
cost Yagi-like antenna having three Rhombic Class run in the March 1960 One final trick to deal with a noisy
active elements, three directors, and a RCA Review. You also might want to FM signal is to reduce its bandwidth.
reflector in a reasonably compact $17 check Try a Rhombic FM Antenna in The quickest and simplest way to do
design. This can be a good choice for the January 1982 issue of Audio. this is to switch from stereo to mono.
all but the deepest of fringe areas. But More info on Yagis, rhombics, and This halves your bandwidth and thus
it looks to me like they cheated a tad antennas in general can be found in reduces your noise by three decibels.
on the overall size. any of a number of college or ham Some advanced car radio circuits do
While Yagi-style FM antennas are texts. The ARRL’s Antenna Book or this automatically.
often the simplest and best, there is the Antenna Engineering Handbook It is also possible to use low pass
another Hacker alternative. This one by Jasik are typical classics. filters (such as the treble control or
gets called a rhombic antenna, and is Reception of FM signals can end up messing with your loudness curve) to
just a parallelogram of wire sent either more art than science. So, if you are further reduce your received noise.
around or across your room. Figure only interested in one particular FM While, of course, losing the station’s
two shows details. station and all else fails, try black high frequencies as well.
Intuitively, a rhombic has a much magic. Change the antenna direction We better throw in some obvious
larger area and thus (when properly and position to try and find a local hot safety warnings here: Outside and/or
designed, properly aligned, and used spot. You might try extra pieces of high antennas must receive lightning
in a proper location) intercepts more conductor in or near your antenna. In protection. Antennas can kill you if
signal for a potentially higher gain. one trial, I found that shorting the you hit a power line when installing
Large (70 foot) FM outdoor double antenna cross feed with an aluminum one. And any ladders and heights in
rhombics can reach a mind-numbing yardstick dramatically improved the general could cause deadly falls.
28 decibels of gain! Broadband, yet. results for one target station.
But there is so much that can go Some FM stations add a vertical or a FM Booster Amplifiers
wrong with a rhombic design and so circular polarization to their pattern to Will an FM "booster" amplifier help
much cut and try is involved, that you improve their mobile reception. So, a us at all? Can’t we simply make the
may want to save this as a last resort. non-horizontal antenna sometimes received signal louder?
And then only when there are no may work better than you would first For a number of reasons, booster
amplifiers can be a disappointment to
an outright disaster. But, with some
C11 R11 R9 C12
care, boosters do have their uses.
For any chosen station, any given
MRF571 receiving antenna at any given place
75 ohm dc powered C7 C10 J2
coax from and to
E pointing in any given direction, there
B C
antenna unit R4 E
will be so many microvolts of signal
J1 appearing at your antenna terminals.
R8 75 ohm output
C4
R10
to FM receiver
There’ll also be so many microvolts of
R5 C15 thermal agitation noise that appears
L1 across the antenna terminals. At FM
C2 C3 L2 C8 and higher frequencies, the amount of
R7 L3 this rural noise usually gets set by the
C9 R6
temperature of the antenna, and little
else. At least for a given bandwidth.
SW1 The ratio of these two voltages is
known as the signal to noise ratio. A
C5 C6
R2 S/N ratio that can produce 20 DB of
PTC
C13 limiter quieting is needed to give you
R3
"good" FM reception. Anything less
gets progressively noisier.
110 VAC CR1-4 For a given fixed bandwidth and
+ CR5
C1 LED reception scheme, there is no known
T1
amplifier or other electronic method
R1 to improve the input signal to noise
ratio across your antenna terminals!
C14
All the booster amplifier can do is
amplify both the signal and the noise
Fig. 5 – APPROXIMATE SCHEMATIC for the Radio Shack 15-1108 TV/FM together. Thus, if your input signal to
booster base unit. Switch SW1 remotely activates the FM trap. Be careful not to noise ratio is too low, there is no way
mix up your cables; the dc power on the coax could cause receiver damage. that any amplifier can help you.
57.4
November, 1992
Put another way, you just cannot
amplify a signal that is not there.
Further, any booster amplifier will
add its own noise and always lower
UFO RESOURCES
your signal to noise ratio. The extra
amplifier noise over and above the Arcturcus Books Lindsay Publications Strange Magazine
thermal background is known as the PO Box 831383 PO Box 538 PO Box 2246
Stone Mtn, GA 30083 Bradley, IL 60915 Rockville, MD 20847
noise figure. With care and using the (404) 297-4624 (815) 935-5353 (301) 881-3530
latest of UHF transistors, an FM first Black Range Lodge Mutual UFO Network UFO Audio/Video
stage noise figure under half a decibel Star Rt. 2, Box 119 103 Oldtowne Road PO Box 342-M
(around five percent amplitude) can Kingston, NM 88042 Seguin, TX 78155 Yucaipa, CA 92399
(505) 895-5652 (512) 379-9216 (714) 795-3361
easily get done. On the other hand,
throw in any old el-cheapo transistor, Borderland Sciences ParaNet Info Service UFO Books
PO Box 429 PO Box 172 PO Box 1053
and your FM noise figure can easily Garberville, CA 95542 Wheat Ridge, CO 80034 Florence, AZ 85232
get outrageously bad. (707) 986-7211 (303) 431-8796 (602) 868-4273
Worse yet, if there are any strong Eden Press Phaedra Enterprises UFO Database
signals that are also being amplified, Box 399 PO Box 1241 PO Box 1053
Careywood, ID 83809 San Bruno, CA 94066 Sunland, CA 91041
these can overload your booster amp, (208) 683-2439 (415) 359-0432 (818) 769-2917
splattering themselves all across the Genesis Publishing Search Magazine UFO Magazine
band and creating spurs. It’s real easy PO Box 25962 PO Box 81 PO Box 1053
to convince yourself that your booster Munds Park, AZ 86017 Rosholt, WI 54473 Sunland, CA 91041
(602) 955-8034 (715) 344-5585 (818) 951-1250
amp gave you "lots" of new stations;
High Energy Ent. Skeptical Inquirer UFO News Service
in reality it is just the crossmod from PO Box 5636 PO Box 703 Rt. 1 Box 220
strong local signals. Security, CO 80931 Buffalo, NY 14226 Plumerville, AR 72127
Finally, quite a bit of design effort (719) 475-0918 (716) 636-1425 (501) 354-2558
has gone into the front end of most
premium FM receivers. Unless your
booster has a better design than your
FM receiver, it is almost certain to broadband TV/FM booster that uses a
degrade, rather than improve your pair of exceptionally hot new New Tech Lit
reception. Most of those el-cheapo Motorola MRF571 transistors. do Motorola has announced several
bargain boosters found in the yuppy These have an eight Gigahertz cutoff really exciting new chips. Especially
catalogs will often make your signals frequency and an FM band noise the new MC144143 single chip Closed
more, rather than less noisy. figure of only 0.4 decibels! Caption TV Decoder and their new
So, what good is a booster? A high Approximate schematics for the DSP56401 Digital Audio Transceiver.
quality and properly designed booster antenna and base units are shown you We do have a collection of unusual
can make up for transmission losses in figures four and five. publications this month. Tony Patti
down long cables. They can present a The antenna unit is made up from a still prints his Cryptosystems Journal
more standard and a better matched switchable FM trap (just what we do that’s big on cryptography and chaos
load for your antenna. They can make not need!) and one fairly low gain topics. And the Journal of Computer
up for a cheaper receiver front end amplification stage and cable driver. Game Design is a great labor-of-love
design. Or for standing waves and The twinlead serves two purposes: It newsletter by Chris Crawford.
some impedance unbalances. And they routes DC power up from their base Two unique music newsletters are
are particularly useful when you want station and downlinks your partially Experimental Musical Instruments and
to drive two or more receivers from amplified RF signals. The polarity of Guitar Digest. And Solar Mind newly
one antenna at the same time. the DC power decides whether the FM offers several "Holistic Approaches to
Figure 3 can show you a simple trap gets switched in or out. Ordinary Technology and Environment."
broadband hacker VHF amplifier you silicon diodes do the switching. The folks at Lindsay Publications
might like to experiment with. This You might like to experiment with are offering a number of new titles.
uses a low cost integrated amplifier completely eliminating the FM trap. I These include a turn-of-the-century
from Mini-Circuits Labs. Since this is don’t trust its being there at all, even reprint on Large Induction Coils, and
a very wideband circuit, you do have in its supposedly "off" position. To do a new one on do-it-yourself Lightning
to watch for saturation effects from this, you could try removing L1, L2 , Bolt Generators.
any interfering signals. And thorough R2, and CR2, while replacing L3 with I’ve been self-publishing quite a
shielding is a must. Naturally, adding the shortest possible jumper. few titles these days using my new
resonant circuits and limiting your The base station is made up of a Book-on-demand process. Included
bandwidth can give you much better power supply and another transistor are my Hardware Hacker reprints II &
results for the frequencies you are which acts as a line driver or as a III, my Ask the Guru reprints I, II, &
interested in. But that sure makes the distribution amplifier. There’s also an III; my Blatant Opportunist I, the new
design a lot more complicated. adjustable attenuator to optimize the Resource Bin I, and my LaserWriter
Radio Shack has a newer 15-1108 signal levels. Secrets book and disk combo. ✦
57.5
Hardware Hacker
57.6
Don Lancaster’s Conventional currents
55.53"
53.76"
53.02"
53.02"
53.76"
really have a load resistor, a source /b- {gsave newpath /msg exch def translate -40 rotate 1 setlinecap white 0.8 setlinewidth font3
0 .3 mt msg stringwidth pop -1 add l black 0 0.1 msg cr grestore} def /kern 0.1 def
impedance resistor, and the resistive font1 10 28.3 (FREQUENCY) cc -3.3 8 (|6DECIBELS OF ATTENUATION) cl
losses in the inductor. All of these
[{line1 0 26 mt 0.5 u} 10 3] xrpt [{line1 0 2 mt 0.5 l} 4 7] yrpt
have to be accounted for in the real
0 26.9 (0.|k1 f|5o) cc 10 26.9 (f|5o) cc 20 26.9 (1|k0 f|5o) cc 1 13.6 (Q = 5) b+ 1 11.2 (Q = 10)
world. For a series resonant circuit to b+ 1 8.8 (Q = 20) b+ 19 13.6 (|4D|3f = 0.2) b- 19 11.2 (|4D|3f = 0.1) b- 19 8.8 (|4D|3f = 0.05) b-
operate, you must drive it from a very 19 5.6 (|4D|3f = 0.02) b- 19 3.2 (|4D|3f = 0.01) b- 19 0.8 (|4D|3f = 0.005) b- 1 5.6 (Q = 50) b+ 1
3.2 (Q = 100) b+ 1 0.8 (Q = 200) b+
low impedance source.
font1 -.8 25.7 (0) cr -.8 21.7 (-10) cr -.8 17.7 (-20) cr -.8 13.7 (-30) cr -.8 9.7 (-40) cr -.8 5.7
You can also create the dual of this (-50) cr -.8 1.7 (-60) cr
RLC circuit by placing everything in snap1 restore showpage quit
parallel, creating a parallel resonant
circuit. Any parallel resonant circuit
reaches a very high impedance at its Fig. 3 – GURU GONZO POSTSCRIPT CODE used to create camera-ready
resonance and operates only when it semilog artwork for figure two. Only your favorite word processor is needed!
59.3
Hardware Hacker
PostScript! To do so blindfolds you This file is #517 GONZO15.PTL and a control signal that is well above that
and ties both of your feet together. gets persistently downloaded at the of the most positive supply line, let’s
Many PostScript programs will not start of your work session. One single briefly review just what an N-channel
run at all over a parallel port. "guru" command opens up this set of MOSFET is and how it works. Figure
All you need to write PostScript power tools for you. four shows details.
code is your favorite editor or word You can also write or call me for a You start with a block of P-doped
processor. free new PostScript secret resources silicon. Add a non-rectifying or an
I have just posted a PostScript for mailer. ohmic terminal to it, known as the
Hardware Hackers tutorial as #511 substrate. Now you implant two N-
NUTS9.PS to my GEnie PSRT .
High side drivers channel wells in the substrate. Ohmic
Among the many hundreds of other There’s a new game in town called contact these and call them the source
PostScript-as-language files, the full high side drivers that are becoming on the bottom and the drain on top.
Smith Chart drawing routines as file super important. A high side driver is Now, build a capacitor by adding a
#367 SMITHCHT.PS and my printed a solid state relay placed between the superthin dielectric and a conductor
circuits as #401 PRINCRCT.GPS . The positive dc supply line and any loads between source and drain. Call this
PostScript startup secrets tutorial now that you wish to control. lead the gate.
appears as #335 SECRTEMP.GPS and Automotive people like high side If the gate is at a zero or negative
PostScript speedup secrets tutorial as drivers because only a single wire is potential with respect to the source,
#460 SPEEDUP.PS. Unique PostScript needed for each load with the chassis there will be a zero drain to source
code to let you instantly draw all the forming the ground return. Laptop current, since the MOSFET looks like
camera-ready figures in this column and palmtop computer folks like high a pair of back-to-back diodes. There
appears as HACK59.GPS . side drivers because the inputs and will also never be any steady state
Finally, if you do not now have a outputs of the controlling circuits are gate current, since all your gate ever
PostScript printer, I’ve posted the not hurt by any floating grounds. does is charge up or discharge a small
GHOSTSCRIPT files to PSRT . These Many high side drivers are smart capacitor.
let you run PostScript with just about enough to protect themselves against Let the gate get somewhat positive
any printer. They also give you full shorts, overloads, and other faults. with respect to the drain. Electrons
viewable display PostScript on any What gets tricky fast about high side have to pile up on the substrate side
monitor. The current PSRT banner drivers is that the preferred choice in of the gate capacitor, so that area will
will show you the latest GhostScript any electronic switch today is the N - become less of a P-type material. Let
version numbers to use. channel power MOSFET . To turn on the gate voltage exceed a threshold
While figure two can easily be an N -channel MOSFET that’s been value, and the extra electrons on the
done in "raw" PostScript, I’ve made connected to your positive supply substrate side will actually change the
my coding even faster and simpler by voltage, you’ll need a gate control substrate into a continuous N channel
opening a convenient and powerful signal well above that of the supply. between source and drain. You now
layout/illustration dictionary I use. Before we see just how we can get have three N regions tied together
into a solid block. These look like a
plain old resistor and allow current
between source and drain.
Below the threshold voltage, you’ll
drain drain
have an open circuit between source
and drain. Above threshold, you have
a small resistor between source and
drain. A grounded gate turns you off.
N N
+ -
A gate above the threshold voltage
+ - turns you on. The typical threshold is
gate P substrate gate - P substrate
+ - around +4 volts or so, but to really
+ -
N N turn the device solidly on, a gate to
source voltage of +10 is preferred.
Unlike the NPN power transistors,
there are no saturation effects or P-N
source source
junctions in your main current path.
Zero or low gate voltage lets Positive gate voltage builds up There is also zero steady state gate
P substrate remain that way, electrons, forms a continuous current needed. A turned on MOSFET
blocks source to drain current. N-channel, and turns on. acts as a plain old low value resistor.
Your "on" resistance of a single
N-channel MOSFET isn’t really that
great. For instance, in the CMOS 4066
Fig. 4 – THE N-CHANNEL POWER MOSFET is now the most popular and quad analog switch, the on resistance
most economical power switch in use today. Increasing the gate voltage is a high 16 ohms or so. To beat this,
above its threshold value turns the device on. power MOSFETS are really hundreds,
59.4
January, 1993
or even thousands of tiny MOSFET continuously generates a reference Be certain that your inrush filter
transistors all internally connected in voltage above the postive supply. capacitor goes to the positive supply
parallel. Leaving IN1 low leaves your load and not to ground!
There are lots of sources of power unpowered. Raising IN1 to a TTL A snap action gets involved on a
MOSFET chips. Motorola, Siliconix, logic one (+2 volts or higher) turns circuit overload. Once any overload
Texas Instruments and International on your load. The load gets turned on occurs, the input must be brought low
Rectifier are typical. Because of their by supplying the boosted gate voltage and then back high again to repower.
quite low cost and high gain, these to the power MOSFET . With a five This can be done either manually or
have become the main power switch volt supply, your boosted voltage is automatically.
of choice for many electronic uses. around +12 total, or around +7 above Switching times are fast but not
Although there are also P- channel the supply. Higher boost voltages are stunning. The turn-on time is around
MOSFETs, they do cost more and are generated for higher value supplies. half a millisecond. The usual turn-off
less efficient. And because of certain The load power normally stays on time is around 32 microseconds.
fundamental device physics, they are until IN1 drops to a logical zero under Note that any simple exclusive-OR
likely to remain so. 0.8 volts. There’s also a protection gate could get used for external fault
Since a turned on power MOSFET input known as DS1. If DS1 ever gets detection. If the on command is high
is really nothing but a resistor, it does more than one tenth of a volt below and your load is low, you have an
not matter which direction the main the supply, it automatically shuts output short. If the on command is
current goes. If you do the obvious things down. You can add a load low and the load is high, you have an
and make the drain go positive with sensing resistor of one tenth of a volt output open. If both are low, you
respect to the source, you are said to per amp to shut down on any have a normal switch turn-off, and if
be in quadrant I. On the other hand, overcurrent as shown. both are high, you’ll have a normal
if you make the drain negative with Some loads might have large but switch turn-on condition.
respect to the source, you end up in expected inrush currents. This often The standby current when off is a
quadrant III. High side drivers work happens with incandescent lamps and mere 8 microamps, making this ideal
in quadrant I. But most synchronous solenoids. A resistor and capacitor for battery saving applications.
rectifiers which use MOSFETS will time delay can be added to the current Lots of additional details on analog
normally run in quadrant III to avoid sensing to allow inrush currents but switches are in my CMOS Cookbook.
substrate diode conduction. still react to overloads. This simulates You’ll be seeing lots more on high
To use a N- channel MOSFET as a the operation of a slow blow fuse. side drivers as they are one of the
high side driver, you just connect the See the LTC1155 data sheet for more hottest of new electronic applications
drain to the positive supply, and your details. Many other innovative circuit areas. What unusual or off-the-wall
source to the load being controlled. examples are included. uses for these can you think of?
To turn the switch off, you leave the
gate at or below the positive supply
voltage. To turn the switch on, you
connect the gate to a value well above
that of your positive supply, typically +vcc +vcc
59.8
Don Lancaster’s Relaxation oscillators
his month, we seem to have An entire room dedicated exclusively serious about creating a commercially
61.6
Don Lancaster’s Using cubic splines
influence
point #1 influence
their unique GyroPoint system. Their point #2
(x1 ,y1 )
(x2 ,y2 )
entire gyro is the size of a film can. It
The first influence The second influence
has been designed from the ground up point sets the direction point sets the direction
and enthuasiasm that the and enthuasiasm that the
for consumer apps. spline leaves the initial (x3 ,y3 ) spline enters the final
Prototype costs, of course, are still point of the curve. (x0 ,y0 final point of the curve.
point
totally outrageous. To me, spinning initial
point
wheels do seem a hopelessly outdated
interim solution at best. There’s no
doubt that micromachined silicon is (B) Here is how a cubic spline appears in its equation space…
ultimately the only way to go. 3 2 t (or time) always
The CEO of a traditional gyro firm x = At + Bt + Ct + D goes from zero at the
3 2 initial point to one
has assured me that it was "absolutely y = Et + Ft + Gt + H at the final point
impossible" to create a $5 rate gyro.
Well, there are flat out far too many (C) A faster "cube-free" form of the equation space math…
emerging applications that demand a x = (((At ) + B )t + C )t + D
$5 gyro replacement. The paradigm
y = (((Et ) + F )t + G )t + H
has shifted, and the time is long past
due for stunning cost reductions here. (D) How to get from graph space to equation space…
The choice a traditional gyro CEO has
is simple: Bring out this inevitable A = x 3 - 3x 2 + 3x 1 - x 0 E = y3 - 3y2 + 3y1 - y0
Cubic splines (F) Some cubic spline tools available on GEnie PSRT…
There are lots of times and places
where you would like a machine or a #606 GNZOTRX2.GPS New TEX-like Guru Gonzo utilities
computer to create a graceful curve. #605 BEZIER1.PS Distance from point to Beźier curve
#590 BEZIER.PS Beźier curve fast evaluation.
Perhaps with a CAD/CAM mill, on an
#588 FUZZYBEZ.PS Beźier curve from fuzzy data (!)
engineering graph, in a 3-D surface
#530 SPHERE.PS PS spherical nonlinear mapper
modeler, vinyl signcutter, or for any
#214 GURU68.TXT Beźier curvetracing fundamentals
other typography, plain or fancy. #205 NUBANNER.FNT Fast & accurate parade banner freefont
I have recently been exploring a #202 TWIXTBEZ.FNT Flagwaver freefont & Beźier ct utility
really great scheme to elegantly deal #161 SLEEZOID.PS Avuncular sleezoid utility
with graceful curves. These are called #190 BEZLNGTH.PS Beźier curve length utility
cubic splines. They sometimes do get #077 MEOWWRRR.PS PostScript puss de resistance
called Bézier curves, after the French
mathematician who explored them.
What do we ask of a curve drawing
method? First and foremost, it should Fig. 1 – CUBIC SPLINES are a useful and convient way of handling smooth
look good. Second, we want it to be and graceful curves by using a sparse data set. Here are several of the
largely device independent , working fundamentals you will need to start exploring these on your own.
62.1
Hardware Hacker
A line connecting the initial point
and first influence point defines the
initial tangent direction used by the
spline. The first tiny step along your
spline should always head out in this
direction. Similarly, a line connecting
the second influence point and the
final point defines the final tangent
direction for your spline.
To build a cubic spline in the graph
space, you set your end points. Then
you move the influence points around
to stretch and squeeze the spline into
its intended shape. Typically, your
influence points are well away from
the curve itself.
Just like any middle management
magician, you will find limits to the
rabbits a single cubic spline can pull
out of its hat. One spline can get you
any straight line or smoothly curved
Fig. 2 – THIS AVUNCULAR SLEEZOID is a just-for-fun example of how you path; some smooth curves having at
can stop anywhere along a cubic spline. Note how the "t" parameter changes most one inflection point (such as a
"faster" along the "more bent" portions of the curve. sinewave); some curves with a single
cusp (or "point"); or certain curves
the exact same way for video screens, is one of many reasons that TrueType having one single and simple loop in
laser printers, typesetters, embroidery fonts are inferior to PostScript fonts. them. All of which are both graceful
machines, or whatever. All done from More on this another time. and sparsely defined.
the same ordinary textfile. I feel the "best" method for simple For fancier stuff, you use several
Third, we’ll want it to use sparse and graceful curves involves using a splines end-to-end. We’ll see more on
data, easily described by using only a cubic spline technique. this shortly.
few size-independent values. Fourth, There are two ways of looking at Figure one also shows you a cubic
we’ll want to be able to splice simple cubic splines, and you’ll have to use spline in its equation space. Instead
splines together into more complex both of them for full control. You can of relating x to y, you instead relate
curves without serious glitches. work in your graph space, where you them both to a new parameter t. You
Fifth and finally, we want it to be are actually looking at the spline. Or could think of t as time. t will always
reasonably fast and easy to compute. you can work in your equation space , range precisely from zero to one as
And easy to understand. where you can precisely control your your spline smoothly moves from its
The simplest way to build a curve underlying math. initial point to its final point.
is the step method . Where you move Figure one first shows you a cubic One interesting way to look at the
over a click and up one notch. Keep spline in its graph space. Regardless cubic splines is to think of a box in x,
repeating with different sized clicks of its size, only four points (or eight y , and t space. Inside the box is a
and notches until you step yourself x-y data values) are needed to fully three dimensional snake-like curve.
along the entire curve. You make the specify the spline… Look in the xy end of the box and you
clicks and notches small enough for will see your spline. Look in the yt
"smooth" results, but big enough that The initial point at x0 , y0 tells side, and you will see how y varies as
you don’t need a zillion of them. you where the spline starts. t (or time) goes from 0 to 1 . Or look
Better yet, do your clicking and down through the xt top to see how
The final point at x 3 , y 3 tells
notching at the same time, by using a varies, again as t goes from 0 to 1.
you where the spline ends.
vector or stroke method that’s able to Note that x and y are independent
approximate your curve with straight The first influence point at x1 , of each other. Each gets separately
line segments. This looks a lot better y1 should set the direction and defined in terms of t . Knowing one
than the step method, but there are enthusiasm with which your does not reveal you the other. Unless
still joint breaks. And an incredible curve leaves the initial point. you find t first. Do note that t usually
amount of detail work is needed. does not move uniformly along your
The second influence point at
A fancier approach is to use little curve. Instead t tends to move faster
x2 , y2 should set the direction
broken pieces of parabolas. This is along the "more bent" portions of the
and the enthusiasm that your
the quadratic spline or second order curve. And moves slower along your
curve enters the final point.
curvefit method. But lots of pieces straighter portions.
are still needed, and the results flat Other names for the enthusiasm are Bopping between the equation and
out do not look all that great. Which the tension or the velocity. graph space is the key to controlling
62.2
March, 1993
your splines. Figure one also shows for you in figure one. careful asking, I have yet to find any
you the simple ninth grade algebra For instance, following a suitable simple and exact closed form solution
needed to get from those influence scaling and translation, here is how for the length of a cubic spline.
points to the math equations, and vice you request the figure one spline in Yet, knowing the length of a spline
versa. For some strange reason, this PostScript… gets very interesting for positioning
simple and obvious two-way math is typography on a curved surface, to fit
2 3 moveto
very hard to find. fuzzy data, for correcting or creating
3 7.5 7 7 8 4 curveto
Let’s repeat the basic cubic spline distortions, or for that just-for-fun
stroke
equations here… avuncular sleezoid surface you will
Note that only a few dozen bytes find in figure two.
x = At3 + Bt2 + Ct + D
are needed to fully specify the spline, So, what I’ll do instead is chop up
y = Et3 + Ft2 + Gt + H
regardless of its final size or device any cubic spline into a hundred or so
Once again, t goes from zero to one resolution! This is sparse data used at pieces. You then assume each piece is
as you go from the beginning to the its very best. a straight line, and add their lengths
end of your spline. By the way, if you don’t yet have up. Your answer is typically good
The obvious reason we call these real PostScript, we now do offer the enough for most graphical uses. And
cubic splines is that your highest shareware GHOSTSCRIPT emulator a mere hundred points usually gives
power of t involved is a third power on PSRT . Which runs fake PostScript you better than one part per thousand
cube. The cubic term has most of its on nearly any printer or on nearly any final accuracy.
effect on the final end of your curve. computer screen. Yes, the full source By the way, if you do know how to
The quartic (squared) term does most code is included. quickly and conveniently find me the
of its useful work in the middle . The Does a cubic spline have a length? exact length of a cubic spline, please
linear term sets the initial slope , and Well, obviously. But only if you are let me know. A free Incredible Secret
the final D value sets your offset. By not a mathematician. Go through the Money Machine II for your trouble.
suitably combining these four terms, length math, and a big ugly square Every math freak that I’ve talked to
a wide and useful variety of spline root of some fourth order polynomial insists this is impossible. They have
curves can be generated. (which is much worse than it sounds) almost convinced me.
But doesn’t cubing sometime take should leap out at you. After years of Things get interesting when you
forever on typical computers? Well,
you can get sneaky and eliminate any
need for raising anything to the third
power. Instead of calculating each
individual coefficient, what you do is
rearrange the original equations as…
x = (((A t) + B) t) + C) t + D
y = (((E t) + F) t) + G) t + H
Or, restating things in English, to
fake cubing, take A and multiply it by
t. Add B . Multiply by t again. Add C .
Multiply by t again. And, finally, add
D. Presto. A cubeless cube.
Inside the machine or computer,
the actual details of getting from any
cubic spline to a frame bitmap or the
tool paths will vary. But, in general,
all you will do is repetitively use the
simple algebra of figure one to decide
where you go next. Consistent with
your available step resolution.
Getting fancy
Although you might use any old
computer language to explore cubic
splines, I’ve found that the general
purpose PostScript language is by far
the fastest, easiest, and most fun way
to play with Bézier curves. I’ve now
posted a group of Bézier and cubic Fig. 3 – CURVETRACED CUBIC SPLINES are ideal for animation and
spline exploration tools to my GEnie cartoon characters, such as the "puss de resistance" shown here. Only a
PSRT . A few of these are also listed word processor is needed to create this quality artwork. No scanner is used.
62.3
Hardware Hacker
did appear in the July 1983 Computer
Graphics pg. 229-239. And otherwise
known as the SIGGRAPH Proceedings
SWITCHMODE RESOURCES for 1983. The math here is unbearably
heavy and obtuse.
Allegro/Sprague Motorola So, I decided to take this general
70 Pembroke Road 5005 E McDowell Road
Concord, NH 03301 Phoenix, AZ 85008 "fancy but noisy data into connected
(603) 224-1961 (800) 521-6274 cubic splines" concept and have now
Home Power National Semiconductor generated somewhat similar results
PO Box 130 475 Ellis Street with #588 FUZZYBEZ.PS. Which will
Hornbrook, CA 96044 Mountain View, CA 94043 create the best smooth cubic spline
(916) 475-3179 (800) 632-3531 through any noisy data while keeping
Lambda Semiconductors PCIM your choice of constraints. Only ninth
121 International Blvd 2472 Eastman Avenue #33-34 grade algebra is involved, and most
Corpus Christi, TX 78406 Ventura, CA 93003
(512) 289-0403 (805) 658-0933
of that gets fully automated. Speed is
around five seconds per spline.
Linear Technology Power Techniques
1630 McCarthy Blvd 120 S Chaparral Court #200
We will have several contests this
Milpitas, CA 95035 Anaheim, CA 92808 month. To start off, either find me a
(408) 432-1900 (714) 283-1123 simple Bézier length formula (lots of
Maxim SGS-Thomson luck!), or show me a new and unusual
120 San Gabriel Drive 1000 East Bell Road task for cubic splines. Or curvetrace
Sunnyvale, CA 94086 Phoenix, AZ 85022 me something interesting.
(408) 737-7600 (602) 867-6100 There will be the usual Incredible
Motion Siliconix Secret Money Machine book prizes,
Box 6430 2201 Laurelwood Road along with an all-expense-paid (FOB
Orange, CA 92613 Santa Clara, CA 95054
(714) 974-0200 (800) 554-5565 Thatcher, AZ) tinaja quest for two
going to the very best of all.
Motion Control Texas Instruments
800 Roosevelt Road E408 PO Box 401560 Be sure to send your written entries
Glen Ellyn, IL 60137 Dallas, TX 75240 to me at Synergetics , rather than to
(708) 469-3373 (800) 336-5236 Electronics Now editorial. Any code
Motion Techniques Unitrode Integrated Circuits can be directly uploaded to PSRT.
120 S chaparral Court #200 7 Continental Blvd
Anaheim, CA 92808 Merrimack, NH 03054 Non-ionizing radiation safety
(714) 283-1123 (603) 424-2410
Do power lines cause cancer? One
recent movie and a lot of my helpline
callers do seem quite concerned over
splice cubic splines together. This is resistance. Curvetracing can give you this. As with any controversy, your
how you build fancy typography and precise and sharp results. first step is picking up accurate and
other complex shapes. Ideally, you Only a word processor is needed; unbiased data. And useful tools for
want to at least match your end points there’s no scanning involved. I have your own research.
and your end point slopes. The rate of included a full curvetracing toolkit in Start off with Polarized Debate:
change of the curvature at each joint my #517 GONZO15A.PTL. EMF’s and Cancer. Found in Science
should also be constant, but this gets Ideally, you sure would like to just for December 11, 1992 , p. 1724-1725 .
nasty in a hurry. throw some fancy and noisy artwork This is an unbiased summary. There’s
Picking the points gets tricky. Try at a cubic spline generator and have it also the Microwave News: A Report
to go too far with each spline and you automatically pick how many splines on Non-Ionizing Radiation. This one
lose accuracy. Don’t go far enough, to use to produce the "best" possible is both expensive and has an alarmist
and you need too many splines and results. This is not trivial, especially tone about it.
the splines may become very noise with noisy data. As usual, any ongoing scientific
sensitive. Creating nervous results. You first have to decide how long controversy can be followed via the
I’ve written a simple curve tracing each spline is to be and where it is to Dialog Information Service. And any
routine that’s now in my PostScript go. Then, you’ll most often want to newer important papers are likely to
Secrets book/disk combo. You throw constrain all the intermediate splines, appear in an Electric Power Research
some endpoints and slopes at it, and it controlling both the entry angles and Institute report.
builds up all of your splines for you. entry points. Or otherwise restricting For instruments and components,
Curvetracing is really great for high them for continuity. two sources include F. W. Bell and
quality digitized signatures that need The "horses’ mouth" paper on all Walker Scientific. And ads for similar
only tiny file sizes. of this is Curvefitting with piecewise products appear in that Compliance
Curve tracing is also superb for parametric cubics by Michael Plass Engineering trade journal.
animation. Figure three shows you and Maureen Stone (with a little help One little noted fact: While high
Meowwrrr , our Synergetics puss de by some guy named Warnock). This voltage power lines sound strong and
62.4
March, 1993
nasty, their field strengths, expressed
in volts-per-mil at sane distances, are
much lower than your normal internal
electrical human cell potentials. And
overwhelmingly by far your largest
magnetic field that you’ve ever been
exposed to is the earth itself. LM2575-5
My own feelings are that if there
3-GND
2-OUT
5-OFF
4-FBK
1-VIN
were any major problems here, they
would have become obvious a long
time ago. There probably are some
observable effects, but they probably
do lie within acceptable risk bounds.
And are reasonably avoidable.
On the other hand, rethinking some 7- 60 volts +5 vdc, 1 amp
really dumb stuff (such as building dc input
330
dc output
+ +
new playgrounds under high voltage µHy
lines or sitting on a police radar) is
probably a good idea. And utilities 100 1N5819 330
studiously avoiding any careful and µFd Schottky µFd
unbiased research certainly is not.
There is probably a hacker buck to be
made providing low cost monitoring
instruments. And possibly a science Fig. 4 – THE SIMPLE SWITCHER series of chips from National let you build
fair project or school paper in your an efficient switchmode regulator with only five parts. Heatsinking can often
own surveys. be eliminated completely. Free kits are available on professional request.
I do have a hunch this will prove to
be an example of billions of dollars up around 150 milliwatts internally
being blown on what will ultimately for each watt of load power. Which Switchmode resources
prove to be a monumentally large means less input power and less heat For this month’s resource sidebar, I
non-problem. There are much more to get dumped. Heatsinks can often have gathered together a few of the
urgent and far more important things be eliminated entirely. more obvious places to go for more
to be doing with your time and effort. Any switching regulator does just information on these switching mode
that. It is a high speed switch that is techniques. Not only for regulators,
National’s simple switcher rapidly turned on and off at a chosen but also for motor controls and power
The National Semiconductor folks duty cycle. Your duty cycle sets the inverters. The listing is mostly a mix
have been offering free sample kits of average current through the output of semiconductor houses who provide
their new simple switcher series of inductor, and thus your load current. switchmode chips and a collection of
voltage regulators. Figure four shows A feedback loop adjusts how long the the leading trade journals.
you a typical circuit. Only five parts switch is on. During times the switch National’s simple switcher is nice,
are needed to take a raw 7-60 volts of is off, a freewheeling diode continues but your best switchmode resource is
input and provide a fixed +5 volts of the inductor’s current path. Maxim, who have bunches of freebie
output. Other chips in the series give In our 40 volt input example, your samples and evaluation boards of an
other values of fixed or adjustable switch is only on for one eighth of the incredibly wide selection of voltage
output. In step-up, or step-down, or time. Thus your average input current regulators and converters. Lots of ap
polarity inverting circuits. is only an eighth that of a comparable notes, too.
We’ve looked at these switchmode linear regulator. The frequency used Let me know if I’ve missed anyone
regulators in previous columns and in is 50 kilohertz. important. There are scads of hacker
the Hardware Hacker reprints. The Full details appear on the related opportunities here. Especially in the
major advantage of any switchmode data sheets and ap notes. There’s also area of clean, stable, and lower cost
regulator is in its potential efficiency. a companion diskette that lets you power inverters. I’ll try to have more
Stepping 40 volts on down to 5 volts optimize all your external component circuits in future columns.
with a one amp linear regulator is at values. By the way, both the inductor
its best only 12.5 percent efficient. and the freewheeling diode values are New tech lit
For each watt of load power, you critical and exact brands and values New Electrorheological Fluids are
have to burn up an extra seven watts must be used. The circuit simply will found in Science for October 30, 1992
internally. not work with an inductor having too on pages 761-766 . These are fluids
But a switching regulator can, in high a dc resistance or one that ends whose apparent viscosity can change
theory, be 100 percent efficient. And up saturating at higher currents. with the applied voltage. Obvious aps
getting above 85 percent is very easy Similarly, ordinary silicon diodes would be clutches, 4WD- on-demand,
in the real world. Thus, you only burn are too slow and too inefficient. and robotic muscles. Plus, of course,
62.5
Hardware Hacker
information utility, but it is widely
regarded as having the most and the
best in the way of superb technical
NAMES AND NUMBERS
downloads. At last count, there were
F W Bell Microwave News
some 130,000 files on line waiting for
6120 Hanging Moss Road POB 1799, Grand Central Station your immediate use.
Orlando, FL 32807 New York, NY 10163 GEnie uses the "two tier" pricing
(407) 678-6900 (212) 517-2800 structure. For a basic rate of $5 per
Compliance Engineering National Semiconductor month, you pick up unlimited email,
593 Massachusetts Avenue 475 Ellis Street movie reviews, the airline schedules,
Boxborough, MA 01719 Mountain View, CA 94043 dial-a-joke, stock market quotes and
(508) 264-4208 (800) 632-3531
great heaping bunches more. For the
Data I/O Philips value-added services, such as PSRT
P.O. Box 97046 811 East Arques Avenue
Redmond, WA 98052 Sunnyvale, CA 94088 and most of the computer libraries,
(800) 3-DATAIO (800) 447-1500 there is a $6 per hour surcharge. On
Dialog Science PSRT , this usually translates to an
3460 Hillview Avenue 1333 H Street NW average of twenty one cents or so per
Palo Alto, CA 94304 Washington, DC 20005 library download.
(415) 858-2700 (202) 326-6400 Other GEnie RoundTables that you
EDN Asia Sound & Communications might just find of interest are RADIO,
275 Washington Street 25 Willowdale Avenue MAC , IBM , A2-PRO , DTP (desktop
Newton, MA 02158 Port Washington, NY 11050
(617) 964-3030 (516) 767-2500
publishing) and HOSB (home office
and small business). Most boards
Electric Power Research Inst Sound & Video Contractor
PO Box 10412 9800 Metcalf
offer downloadable libraries, current
Palo Alto, CA 94303 Overland Park, KS 66212 news, and on-line conferences. Plus
(415) 855-2000 (913) 341-1300 all of those usual BBS message and
GEnie Synergetics question/answer exchanges.
401 N Washington Street Box 809 Two tips: If you are downloading a
Rockville, MD 20850 Thatcher, AZ 85552 tutorial textfile, or a new PostScript
(800) 638-9636 (602) 428-4073 routine that you are reasonably good
Gyration TDK at troubleshooting, use (L) ist rather
12930 Saratoga Avenue, Bldg C 1600 Feehanville Drive than XMODEM. Assuming, of course,
Saratoga, CA 95070 Mount Prospect, IL 60056
(408) 255-3016 (708) 803-6100 that you have a decent modem and
clean lines. Listing an uncompressed
Hong Kong Trade Council Walker Scientific
219 East 46th Street Rockdale Street textfile is faster and cheaper than
New York, NY 10017 Worcester, MA 01606 XMODEM ing a compressed version.
(212) 838-8688 (800) 962-4638 Naturally, XMODEM (or its improved
offspring) should still be used on any
file that must be absolutely correct.
If you are PC based, check into the
being a just-obscure-enough student even gathered together one each of Alladin supervisor. This lets you call
paper topic. everything into our PostScript Whole up in the middle of the night, check
From Philips, their Semiconductor Works package. And much more on mail, read files, download libraries,
Sensors Data Handbook . It includes everything PostScript appears on my and such. Much faster and far more
magnetic field sensors, temperature GEnie PSRT . conveniently than typing by hand.
sensors, and proximity detectors. And I’ve just added a new way to write Yes, GEnie is working on a few
through TDK, a similar Sensors short fancy math equations in PostScript new graphical interfaces. But they
form catalog on devices for infrared, that includes some TEX-like features. still admittedly are ridiculously far
humidity, current, surface potential, See GNZOTRX2.PS for details. Or try behind on these.
and even powder levels. HACK61.GPS for an editable copy of As usual, I’ve gathered much of
An enormous and free Wall Chart our figure one example. the resources I’ve mentioned into the
of Programmable Devices from Data Several helpline callers have asked Names and Numbers and Switchmode
I/O lists just about all the EPROM ’s, for more info on GEnie . As always, Resources sidebars. Check here first
EEPROM’s, PLD’s, and such. you can call (800) 638-9636 for your before calling our tech helpline.
Two trade journals of interest to local connect info. Because there are Speaking of which, you can get
any professional sound installers are now thousands of nodes across the tech help, consultant referrals, and
the Sound & Communications and the country, the chances are very good off-the-wall networking by calling
Sound & Video Contractor. that GEnie access will be only a local me at (602) 428-4073 . Uh, your best
A reminder that I stock just about call away. There are other low toll calling times are weekdays, Mountain
all of the important PostScript books arrangements as well. Standard Time.
from all of the major authors. I have GEnie is not yet the largest of the Let’s hear from you.✦
62.6
Don Lancaster’s Video game repair videos
Piezoelectricity ICS2010 –
Piezo stuff seems really great for A MIDI compatible SMPTE time code processor. Allows you to use standard
hacking. But a lot of you helpline video time codes to control and sequence any MIDI music environment.
callers seem badly misinformed over Supports MIDI quarter frame messages. Selective video overlay is available
as an option.
what you can and cannot do piezo-
wise. Let’s take a closer look… ICS1700 –
As figure two shows us, certain
A "Quicksaver" controller for Nickel-Cadmium batteries. Does a full charge
dielectric (or insulating) materials in twenty minutes. Uses a temperature sensing and rate of charge
exhibit a piezoelectric effect. If you termination to determine a fast yet safe charging rate. Ideal for notebook
bend a piezo material, a charge can computers and portable video applications.
appear on its surface. Reversibly, if
you apply an electrical charge to a ICS1660 –
piezo material, it should bend. Or at A telephone caller id chip that includes ring detection and calling party
least try to bend, creating a force number extraction. When provided by the phone company, the caller id
against whatever is restraining it. signals appear between the first and second rings and are extracted by
FSK modem techniques. Includes power down features.
Thus, you can use a piezo material to
convert mechanical forces or motions
into electrical signals. Or vice versa.
The oldest classic piezo material is Fig. 1 – EXCITING NEW HACKER CHIPS from the latest Integrated Circuit
quartz. Which can be sliced up and Systems data book. These will take years to sort out.
63.1
Hardware Hacker
are that they are pre-tuned and need
no adjustments. The important uses
include cable tv, television if filters,
cellular phones, and microwave apps.
(+) Ads for these show up in Microwaves
New Product Digest.
Larger flat piezo benders resonate
at audio frequencies and can form
beepers or squawkers. You’ll find a
(-) wide selection at Radio Shack, while
a leading volume supplier is Projects
(0) Unlimited. Note that a bender does
not oscillate by itself. It has to get
used for feedback in a transistor or a
logic inverter circuit. Some benders
have taps provided to make their
(0)
feedback easier. A pair of oscillators
can get used to produce a series of
(-) beeps, instead of a continuous tone.
Physically smaller benders form
ultrasonic microphones. These were
once applied for ultrasonic Doppler
burglar alarms before all those new
(+) pyroelectric "people detectors" blew
them out of the water. And for remote
controls before infrared diodes did
them in. Ultrasonic mikes are still
used for the electronic measuring
Fig. 2 – THE PIEZOELECTRIC EFFECT in certain dielectric materials devices used by contractors and rug
converts an input voltage to a mechanical motion or vice versa. Important installers. And to annoy dogs and
uses include filters, beepers, sonar, ultrasonics, micropositioners, gyros, mosquitoes. But, near as I can tell,
microphones, miniature fans, strain gauges, and furnace ignitors. though, all these really do is make the
mosquitoes hungry.
We’ll get further into crystals some largely been replaced by better and Piezo devices in sheet or strip form
other time. My favorite source for the cheaper-to-process materials. could get used for hi-fi tweeters and
lower frequency crystals is Statek, But you can buy Rochelle Salt at higher quality, low cost electret-style
while Crystek is one of many places your drugstore (it is also a laxative) "condenser" microphones. Unlike the
to go for small quantities of custom and can easily grow your own piezo traditional electrostatic mikes, no
higher frequencies. materials. See Crystals and Crystal bias voltage supply is needed.
If at all possible, there are only two Growing in the Doubleday Science Larger size and higher power piezo
crystal frequencies which a hacker Series for more info. transducers can be used for ultrasonic
should select. These are the 32.768 One group of improved materials machining, cleaning, and for those
kilohertz used in digital clocks, or the involve the technical ceramics such underwater sonar aps. One source of
3.579545 Megahertz used as the NTSC as barium titanate or the "PZT" lead ultrasonic cleaning transducers is
(Never the Same Color) subcarrier zirconate titanate. These ceramics can Branson, while EDO Acoustics offers
pilot. These two "magic" frequencies be molded into pretty near any shape custom higher power piezo devices.
are ridiculously cheaper and easier to before firing. The resonant structures Surplus sonar devices are sometimes
get than any other choice. Even if you similar to quartz crystals get used as provided by Fair Radio Sales. One
have to divide or multiply to get what filters, especially for radio and tv leading sonar piezo manufacturer is
you really want, you’ll usually end up intermediate frequency amplification International Transducer.
far ahead by starting with these. stages. Murata-Erie is one leading A sudden mechanical force applied
Another traditional piezo material supplier here. to a stack of piezo elements creates a
was Rochelle Salt, otherwise known Fancier piezo resonant structures sparking barbeque lighter or a gas
as potassium sodium tartrate. This can go by the name of surface wave furnace striker. You can check your
material got used in "crystal" phono devices. By carefully controlling the local hardware store for these.
cartridges and "crystal" microphones. metal patterns on a piezo surface, you A shorter and far more controlled
But Rochelle Salt was not all that could launch and recover acoustical stack makes a piezo micropositioner,
stable or sensitive. You also had to energy. The patterns can give you a device that can precisely adjust
chop up whole crystals, rather than precise higher order filtering, time things those micron sized distances
forming it in the precise shape you delays, or an equalization response. required for microscopy, integrated
really were after. Rochelle Salt has One big advantage of SAW devices circuit manufacturing, or for DNA
63.2
April, 1993
research. Surprisingly high forces are the current crop of materials.
now available. One micropositioner The problems You must be extremely careful
source is NEC. Others advertise in As I see it, there are two serious when you solder a piezo device to
the Laser Focus World and Lasers hacker misconceptions over piezo make certain you avoid reaching the
and Optronics trade journals. devices that seem to be causing a lot Curie Point. Those ancient "crystal"
Piezo fans have gotten built by of helpline grief. These are the facts phono cartridges were especially
resonating a pair of mylar blades. that most piezo devices must be kept susceptable to soldering damage.
These can be an interesting way of cool, and that most piezo devices are Yes, there are higher Curie Point
handling low power spot cooling, but ac only and will not in any manner piezo materials. But most of these are
are unlikely to put the smallest dent respond to continuous, steady state, expensive and out of the mainstream.
in the muffin fan market. The main or dc inputs. Piezo Kinetics is one innovator here.
supplier is Piezo Electric Products. Any piezo device has a critical In general, though, any time that
While some interesting piezo steppers temperature called the Curie Point. you try to "push the envelope" of any
and motors have been offered, these Above the Curie Point temperature, device capabilities, something has to
seem to be commercial failures. all piezo effects are lost. And stay give. The chances are very good that
Other emerging piezo uses include lost unless you go through a fancy raising your Curie Point will lead you
accellerometers, rate gyros, and for and critical "recharging" process. to much higher materials cost, lower
apps involving pressure transducers. For most of the high volume, low conversion efficiencies, and some
An exciting new variant of piezo cost materials, the Curie Point lies matching/coupling problems. All of
material has now been developed by somewhat above the temperature of which will translate to more internal
Atochem/Pennwalt. Ordinary Kynar boiling water. You absolutely must heat and poorer economics.
plastic films are heated above their keep both your ambient temperature A piezo device is nothing but a
Curie Point and have a strong electric and any internal heat buildup above capacitor that swaps charge back and
field applied. When cooled, this new ambient way under the Curie Point forth. Figure three gives us a closer
electric field will get locked in, thus temperature at all times. For instance, look at what really happens here. Say
creating a piezo device known as an using live steam near typical piezo you apply a positive voltage. The
electret. devices is one big no-no. At least for device will bend when the voltage is
You will now find zillions of new
applications for this thin, light, and
ultra low cost Kynar piezo material.
Including infrared people detectors
(the films can be both piezoelectric
and pyroelectric), driveway traffic
(A)
detectors, bounceless pushbuttons, Voltage
impact sensors, for electronic drums, Input
shock detectors, handicapped aides,
and bunches of others.
Those Atochem folks do have free
sample piezo transducers available
(B)
for you, along with instructions on Mechanical
how to assemble microphones, flame Motion
detectors, touch switches, and lots of
other hacker stuff with them. Using
nothing but business cards and foam
coffee cups. They also offer a series
(C)
of piezo development kits. Electrical
Tech info on piezo stuff tends to Current
get spread a little thin. I know of no
piezo industry trade journal, and the
older Piezoceramic Manufacturer’s
Association appears to be long gone.
(D) Y Y Y Y
There is a small Ultrasonic Industry Net energy E NO E E NO E
Manufacturer’s Association. Conversion? S S S S
Some piezo material appears in the
IEEE Transactions on Sonics and
Ultrasonics. Also check the Journal
of the Acoustical Society of America.
And, of course, you can thoroughly
and cheaply research any technical Fig. 3 – JUST LIKE ANY OTHER CAPACITOR, a piezo device obeys an "ac
topic through the Dialog Information only" response. The only time you will get any energy transfer between
Service. electrical and mechanical inputs is when one or both are changing.
63.3
Hardware Hacker
applied voltage or your mechanical
force is changing. The steady state
response is zero.
Just like any other capacitor.
PIEZO RESOURCES Now let’s look at it backward. Put
a "perfect" voltmeter on your piezo
Atochem/Pennwalt MG Electronics device and push on the device. What
3 Parkway 32 Ranick Road
Philadelphia, PA 19102 Hauppauge, NY 11788 happens? As soon as you press, there
(215) 587-7000 (516) 582-3400 is a net surface charge which your
AVX Corporation Motorola Ceramic Products voltmeter measures. As long as you
PO Box 867 4800 Alameda blvd, NE are pushing, the voltmeter will still
Myrtle Beach, SC 29577 Albuquerque, NM 87113 read the voltage resuting from this
(803) 448-9411 (505) 822-8801 charge. But, if there is any external
Branson Ultrasonics Murata-Erie or internal resistive load at all, the
41 Eagle Road 2200 Lake Park Drive charge will rapidly drain off.
Danbury, CT 06813 Smyrna, GA 30080
(203) 769-0400 (404) 436-1300
Use a "real" voltmeter instead, and
you will get a positive pulse when
Bruel & Kajer NEC
185 Forest Street PO Box 7241
you first apply your pressure, and a
Marlborough, MA 01752 Mountain View, CA 94039 negative pulse when you release it.
(508) 481-7000 (800) 632-3531 Why? Because the resistance load
Channel Industries Piezo Electric Products inside the voltmeter drains off the
839 Ward Drive 212 Durham Avenue previous charge.
Santa Barbara, Ca 93111 Metuchen, NJ 08840 Thus, piezo devices are inherently
(805) 967-0171 (908) 548-2800 ac devices that only respond when the
Channel Products Piezo Kinetics force, motion, or electrical signal is
7100 Wilson Mills Road PO Box 756 changing. There is no "dc", "constant
Chesterland, OH 44026 Bellefonte, PA 16823
(216) 423-0113 (814) 355-1593 voltage", or any "steady state" energy
conversion response.
Crystek Projects Unlimited
2371 Crystal Drive 3680 Wyse Road Many popular piezo devices have a
Fort Myers, FL 33906 Dayton, OH 45414 natural time constant of one second
(813) 936-2109 (513) 890-1918 or so. They can be used at sub-audio
EDO Acoustics Shogyo frequencies. But their dc steady state
2645 South 300 West 287 Northern Blvd response is zero. Piezo devices are
Salt Lake City, UT 84115 Great Neck, NY 11021 thus largely unsuited for such things
(801) 486-2115 (516) 466-0911
as weigh scales, nav accellerometers,
Fair Radio Sales Statek position transducers, or pressure to
PO Box 1105 512 N Main Street
Lima, OH 45802 Orange, CA 92668
voltage converters. Unless you get
(419) 227-6573 (714) 639-7810 really sneaky and use fancy chopper,
Int’l Transducer Corp Ultrasonic Industry Association
carrier, or integrator stunts.
869 Ward Drive PO Box 5126 Piezo Power Generation?
Santa Barbara, CA 93111 Old Bridge, NJ 08857
(805) 683-2575 (201) 679-9666 Several helpline callers have asked
K-tech Corp Valpey-Fisher Corp whether piezo devices are suitable for
901 Pennsylvania Ave, NE 75 South Street commercial power generation. The
Albuquerque, NM 87110 Hopkinton, MA 01748 possibilities look very grim here. By
(505) 268-3379 (508) 435-6831
far the highest power piezo electricity
generator I know about is the lighter
for the carbide light on my caving
helmet. Which is just a modified gas
applied and unbend afterward. There When you remove the voltage, the furnace igniter. And while the small
will be no current before the voltage device returns to its flat state. This wattage piezo fan motors do exist,
is applied. There will be a positive time there should be a net negative they don’t exactly have the entire air
current only while your bending is current out of the device as the higher conditioning industry quaking in their
taking place. The energy goes into internal energy state gets released. boots.
the physical motion work load and Some of this negative energy may get Yes, there are higher power piezo
raising the internal charge state of the spent overcoming any air resistance, transducers. Hundreds of watts for
piezo device. After your bending is producing internal heating, or doing ultrasonic cleaners and machining.
finished, you’ll still need to apply a other mechanical work. And perhaps thousands of watts for
voltage to keep the device bent, but At any rate, our key point here is sonar. But I know of none of these
there will be zero current, either into there is only a net energy flow into or ever producing electricity.
or out of the device. out of a piezo device whenever the In fact, I would be very surprised if
63.4
April, 1993
there ever was any piezo device to
date which generated more recovered
electrical power than was used in its
construction.
Many new piezo aps seem stuck
WARNING: Extreme shock hazard!
under a two watt limit. Recent fans,
positioners, and stepper motors above
this size have been non-competitive 3 amp, 40 watt
with traditional solutions. 400 volt light bulb
Commercial power recovery would diode
require devices hundreds or even To insulated
cutting tool
thousands of times larger than the 110 vac
two watt limit. Once again, whenever power + +
line
you push the envelope, something has To insulated
to got to give. cutting workpiece
For piezo power generation, the 200 watt both caps are
mechanical work input would have to light bulb 200 µF, 200 v
be oscillatory and usually has to be
resonantly coupled. Ya gotta shake
the transducer, not simply push on it!
Piezo devices also must be kept cool.
If they get anywhere near their Curie Fig. 4 – AN ULTRA-SIMPLE EDM LASHUP. The lamps act as dynamic
Point, all piezo effects stop. regulators, with the smaller one setting your sparking rate Be certain to keep
Worse yet, the best efficiencies of the tool and workpiece insulated from ground at all times. A dielectric fluid
the high power units are often fifty must be used. Kerosine is possible but not recommended.
percent or less. Leading to very bad
economics and internal heating. to happen is that the interest on the
Worst of all, most piezo elements time value of the construction money More on EDM machining
are inherently very high impedance exceed the value to date of the Warning: What follows can involve
devices. Usually in the ten megohm generated power. severe shock and fire hazards. Do not
range. For maximum power transfer Viable alternatives to piezo power try this trick at home unless you know
out of any system, the impedances of generation are covered in depth in exactly what you are getting into!
your source and load must be made Electric Power Research Institute and But this one seems far too cute to
equal. This means you’ll usually get a the Association of Energy Engineers ignore. Awesome, even.
high voltage, higher frequency, high publications. I’ve had a lot of helpline requests
impedance output from any piezo The bottom line: There are all sorts for more details on the EDM electric
device. Tens of kilovolts or higher for of incredible hardware hacking apps discharge machining we looked at
larger devices. Efficiently converting which use piezoelectricity. Especially two columns back. It turns out a very
this into recoverable power is not a with all those new Kynar films. But cheap, stunningly elegant, and ultra
trivial task. commercial power generation does simple scheme for EDM machining
Several of the ap notes drive home not seem to be one of them. first appeared in the March 1968 issue
how dramatically piezo output power of Popular Science and later on got
drops if you try to drive too low a Piezo resources reworked in the January 1991 issue of
resistance load. From watts down to I’ve gathered some of places to go Home Shop Machinist. Their circuit
milliwatts even. for more piezo info into our resource appears in figure four.
It’s also not at all obvious to me sidebar. Most of the sources shown All you have is a half wave dc
how you can efficiently and cheaply but not covered above are suppliers power supply driving a relaxation
combine the multiple outputs from of materials and devices. oscillator, with the insulated tool
several piezo devices. For this month’s contest, either (A) being negative and the insulated
Finally, unless you are in an "Uh, tell me about a piezo trade journal, work being positive. Any old three
compared to what?" situation in outer or (B) show me any new and hacker amp, 400 volt power diode from
space or on a desert island, the first friendly piezo ap that does not violate Radio Shack could get used as the
and foremost question in any power the "no dc response" and "low temp rectifier. Fresh and very high quality
generation scheme is "What are the only" rules. There will be all of my electrolytics are recommended. 200
economics?" If the rate of the energy Incredible Secret Money Machine II volts minimum. Older or very cheap
production cannot more than pay for book prizes, plus an all expense paid ones could possibly explode in this
the time value of the money used in tinaja quest (FOB Thatcher, AZ) for circuit. A "bomb shelter" type of case
construction, then your conversion two going to the very best of all. is recommended.
scheme is totally useless. As usual, send your entries directly The light bulbs have much lower
Infinite cost breakeven times are to me here at Synergetics and not to resistances when they are cold than
trivially easy to pick up. All that has Electronics Now editorial. hot. These sneakily act as dynamic
63.5
Hardware Hacker
can quickly and cheaply solve typical
repair problems.
I am amazed at how klutzy and
NAMES AND NUMBERS primitive many video games still are.
Most of these are still foot square
Alpec GEnie circuit boards crammed with jelly
55 Oak Court 401 N Washington Street bean TTL or CMOS chips. Thus, they
Danville, CA 94526 Rockville, MD 20850 fail often but are easy to fix. I guess
(510) 820-1763 (800) 638-9636
that the desire to retrofit previous
Amusement Business Hoskins machines has pretty much kept the
Box 24970 10776 Hall Road older technology in place.
Nashville, TN 37202 Hamburg, MI 48139
(615) 321-4250 (313) 231-1900 Speaking of video games, MCM
Electronics offers $8 bit drivers that
Assoc Energy Engineers Integrated Circuit Systems
4025 Pleasantdale Rd, Ste 420 PO Box 968 let you remove the tamperproof Sega
Alanta, GA 30340 Valley Forge, PA 19482 or Nintendo game cartridges.
(404) 447-5083 (215) 666-1900 If you are about to come unglued,
Carnivorous Plant Newsletter Journal Acoustical Society check out Elsworth Adhesives. They
Fullerton Arboretum, CSUF 335 E 45th Street do seem to stock just about all major
Fullerton, CA 92634 New York, NY 10017 epoxies, hot melts, cyanoacrylates,
(714) 773-3579 (212) 661-9404
silicones, and such from nearly all of
Dialog MCM Electronics the major suppliers.
3460 Hillview Avenue 650 Congress Park Drive
Palo Alto, CA 94304 Centerville, OH 45459
The price of laser pointers is still in
(415) 858-2700 (800) 543-4330 free fall. The cheapest this week is
Electric Power Research Inst Synergetics
the $72 model from Alpec. Range is
PO Box 10412 Box 809 55 yards or so.
Palo Alto, CA 94303 Thatcher, AZ 85552 Note that you can’t just connect a
(415) 855-2000 (602) 428-4073 visible laser to a battery. Careful and
Elsworth Adhesives Teltone Corp tight current regulation is needed to
1610 North I-35, Ste 208 22121 20th Avenue SE prevent the fragile die from literally
Carrollton, TX 75006 Bothell, WA 98021 blowing itself off its mounting.
(214) 446-8000 (800) 426-3926
Normally, an internal photodiode
Randy Fromm Unitrode is used in a feedback loop. I’ll try to
1944 Falmouth Drive 7 Continental Blvd
El Cajon, CA 92020 Merrimack, NH 03054 work up more details on this in a
(619) 593-6131 (603) 424-2410 future column.
Our two unusual magazines for this
month are Amusment Business and
the Carnivorous Plant Newsletter.
regulators to limit the current should dielectric fluid between the tool and The former is where you go to rent
your tool get stuck. This is elegant work must be maintained at all times. the Batmobile, buy a steam calliope,
simplicity at its best. The size of the A reminder that EDM Today is the see how much your favorite rock star
smaller lamp sets your cutting rate. leading trade journal here, and your is making on their concerts, or find
Both the tool and the workpiece foremost place to check for ads on job ads so you can run away and join
must be fully and totally insulated machines, materials, and supplies. the circus. The latter is for veggies
from ground! If you want to ground that go chomp in the night.
your workpiece (a darn good idea), a New tech lit A reminder here that I have got
large isolation transformer must be From Teltone, their new Design autographed copies of my revised
added to your ac input. Solutions data book on tone receivers, Incredible Secret Money Machine II
While you might employ plain old call progress detector ics, and phone here for you at my own Synergetics.
kerosine as a dielectric cutting fluid, signalling devices. Along with some This book is a must if you are starting
it is highly flammable. Not remotely good ap notes. From Unitrode, a new up your own tech venture. Plus a
as nasty as gasoline, but very much a Linear Circuits Handbook. Mostly on reminders about my Hadware Hacker
fire hazard just the same. I would drivers, power supply circuits, and RoundTable on GEnie PSRT at (800)
instead recommend using the "real" battery charger chips. 638-9636 . And our no charge voice
water based dielectric resins we saw Randy Fromm’s Big Blue Book of tech hepline can be reached via (602)
back in the EDM survey. You’ll have Really Great Technical Information 428-4073 . Best calling times are 8-5
the best luck with a drill press or a tells you bunches about commercial weekdays, Mountain Standard time.
mill that has a slow controllable rate video game repair. In a readable and Most of those items I’ve mentioned
vertical power feed. well organized format. Randy also do appear in our Names & Numbers
The most obvious use is to remove offers videos on video monitors and or Piezo Resources sidebars. Be sure
broken taps or stuck drills. Be sure to on game repairs and refurbishment. to check here first before calling our
remember that a continuous flow of He has lots of insider tricks that helpline. Let’s hear from you.✦
63.6
Don Lancaster’s Steam calliope sources
64.6
Don Lancaster’s Short haul telemetry
65.6
Don Lancaster’s A flying car newsletter
reminder once again that I programs on your own. PULSOUT command delivers a timed
I / O line #6
I / O line #5
I / O line #4
I / O line #3
I / O line #2
I / O line #1
I / O line #0
the level 2 tools immediately become
available for use on your own custom
4 Mhz
piezo homebrew rig. At unbelievably low
resonator cost. With zero royalties!
+5v Do let me know if you want more
18 17 16 15 14 13 12 11 10
details. Meanwhile, I’ve posted lots
RA1 RA0 OSC CLK +5V RB7 RB6 RB5 RB4 more on PostScript to GEnie PSRT.
PIC16C56 In particular, be sure to check out
RA2 RA3 RTC CLR GND RB0 RB1 RB2 RB3 STARTUP.PS for an intro PostScript
1 2 3 4 5 6 7 8 9 tutorial, and POSTVECT.PS for lots of
details on vector output. I’ve also got
a free PostScript secrets brochure to
get you started.
nc Ferinstance, say you lash up your
8 7 6 5 own vinyl sign cutter. You use your
VCC PRE PE GND
PostScript printer to create, debug,
sip 93LC56 and proof all the artwork. Then you
network programming RA2 RA1 CLK CS
connector 1 2 3 4
can capture the graphic paths by
using PostScript’s rather powerful
5 volt flattenpath and pathforall operators.
reg Next, you use POSTVECT -like code
gnd
.005 10
in
found in my older Micro Cookbooks, The only little problem has been Thoughts on a PC drill
volumes I and II. that PostScript I/O tends to end up a The really big hacker breakthrough
tad on the skimpy side. Usually you that everyone is waiting for is a $199
Homebrew PostScript hacking only have three choices: Dirtying up automated printed circuit drill. The
One potential use for the BASIC otherwise clean sheets of paper or new BASIC Stamp used along with a
Stamp is shown in figure four. I’ve plastic; writing files to the hard disk; PostScript printer seems to give us a
been doing a lot of work with the or returning your data back to a host brand new handle on this project.
stupendously great PostScript general for recording or other reuse. I recently noticed that dentist’s air
purpose computer language. In fact, The BASIC Stamp can instantly let turbines cost only $30. Junkers might
this is the only language I use for all you extend the genuine Adobe Level end up free from a reasonably curious
of my electronic design, pc layouts, II PostScript to any personal project dentist. The handle on most drills is
stock market analysis, schematics, or machine of your choosing! usually empty. These turbines can be
Book-on-demand publishing, and just Assume you’ve got a homebrew cut down to the size and roughly the
about everything else. machine that has an x-axis and y-axis mass of a plotter pen. It sure would
All the camera ready figures you stepper, an up/down mechanism, and be interesting to see if they provide
have seen here in Hardware Hacker a "both steppers home" sensor. This enough power for board drilling.
for years have been done by using can be a vinyl signcutter, engraving, Let’s restrict our goals initially to a
nothing but my word processor and or embroidery setup. Or an automated 4" x 6" board. An X-Y system might
PostScript. Device independently. printed circuit drill, a wooden sign introduce all sorts of bad mechanical
66.2
July, 1993
problems. Instead, the board could be film supplier is Ulano, while Advance Aluminum backed versions are also
moved along a single axis. The drill Process Supply , Southern Sign , and offered. Price is in the $8 per square
could be moved along a second axis. Dick Blick offer smaller quantities. foot range.
And it might be simplest to lift your 3-M, the Scotch Tape folks, have a The photopolymers have long been
board, rather than drop the drill. Or number of interesting photopolymer essential for flexographic printing as
maybe use a raising cam and gravity products. One is known as Color Key. used on cardboard containers. One
feed on the turbine. Actually, this is more a diazo-like leading supplier for the materials in
My current thinking for a stepper process, but it uses the same drill of larger quantities is Merigraph, while
would be the linear Hurst SLS. While contact print exposing and wiping on R. A. Stewart is a wholesale source in
kinda pricey, this does offer twenty glop to alter selected areas. What you more modest amounts.
pounds of force in two mil steps. And end up with is a clear polyester sheet The same material can make great
Texas Instruments offers some dandy that has translucent or opaque color "rubber" stamps. Any "real" rubber
new peripheral driver chips. areas selectively applied to it. Dozens stamp will be pink or black, while a
Let me hear your thoughts on this of color options. Lots of graphic arts photopolymer stamp will be clear to
great new project. uses here. translucent. The photopolymer ones
Their Dynamark imaging products often last longer and provide sharper
Fun with photopolymers seem great for labels and prototype images. Of the many rubber stamp
I have long been fascinated by the dialplates. Typically, you will have a photopolymer suppliers, Grantham
photopolymers. These are just plastic white self-stick vinyl having a color Polly-Stamp and the M&R Marking
compounds of one breed or another overlay. You then selectively remove Systems are my favorites.
which are only partially cross-linked the color by exposing. Then you use a We’ve seen in previous issues how
during manufacture. A later exposure wiper pad to develop. Any "reverse" Santa Claus machines are starting to
to light and a development process effects get done by using positive art. revolutionize prototyping. A leading
will selectively harden portions of the
material. Which can result in a state
change from liquid to solid or a shift BRANCH Option picker similar to a CASE command.*
in dissolvability. BUTTON Read and debounce mechanical input.*
The results could be used for etch DEBUG Send register contents to host.*
resists, a 3-D model, a Braille sign, a EEPROM Store data in memory.
END Go into sleep mode until power cycles.
rubber stamp, a printing plate, an
integrated circuit mask, a silk screen FOR…NEXT A looping construct.
master, or a vinyl stick-on letter. Or GOSUB Execute subroutine.
GOTO Jump to another location in program.
for zillions of new aps. HIGH Make the chosen I/O pin high.
Because of fundamental chemistry, IF…THEN Conditionally execute instructions
most photopolymers demand strong
INPUT Make selected pin an input.
ultraviolet light for exposure. Three LET Optional definition. Includes add, subtract,
minutes using a contact printer out in multiply hi/lo, idivide, modulo, min, max,
direct sunlight often will work well. AND, NAND, OR, NOR, XOR, and NXOR.*
Photopolymers are typically negative LOOKDOWN Search table for match.*
acting , hardening in the presence of LOOKUP Read values from table.*
light. LOW Make the chosen I/O pin low.
This month, I thought our resource NAP Enter sleep mode for a selected time.*
sidebar might give you a rundown of OUTPUT Make the chosen I/O pin an output.
the more hackable photopolymers. PAUSE Short selected time delay.
The classic one you might be most POT Read a potentiometer (8-bit A/D convert).*
familiar with is spray-on etch resist, PULSIN Measure input pulse width.*
often in the form of KPR by Eastman PULSOUT Output pulse of selected width.*
PWM Output pulse width modulation (D/A convert).*
Kodak. And stocked by Radio Shack . RANDOM Generate pseudorandom number.*
More modern substitutes are the dry
film photoresists such as those now READ Read variable from memory.
RETURN Return from subroutine.
offered by Dynachem. These are both REVERSE Change direction of selected I/O pin.
uniform and pinhole free. They also SERIN Read serial input and interpret format.*
develop with sodium triphosphate, a SEROUT Format and output serial data.*
low cost garage floor cleaner. SLEEP Long selected time delay.
Kepro is a fine stocking supplier of SOUND Output musical notes or white noises.*
printed circuit supplies. A good trade TOGGLE Change state of selected I/O pin.
journal here is Circuits Assembly. WRITE Store data to memory.
Photopolymer solder mask resists
are also readily available.
Photopolymers offer lots of options Fig. 3 – INSTRUCTION SET FOR THE BASIC STAMP. The macros marked
for silk screen printing. The leading (*) above make the stamp surprisingly powerful.
66.3
Hardware Hacker
firm here that uses ultraviolet curing
photopolymers is 3-D Systems . More
PHOTOPOLYMER RESOURCES on Santa Claus stuff in future issues
and the Hardware Hacker reprints.
Advance Process Supply Kepro Circuit Systems
400 N Noble Street 630 Axminister Dr The photopolymer that I am really
Chicago, IL 60622 Fenton, MO 63026 waiting for is a vinyl one which has
(312) 829-1400 (800) 325-3878 only been partially cross linked. You
Dick Blick Kimoto do your PostScript artwork master on
Box 1267 2915 182nd Street your laser printer and then you’ll
Galesburg, IL 61401 Redondo Beach, CA 90278 contact print. Expose and then wipe
(800) 447-8192 (213) 370-7411
on some glop. A repositionable and
Cooley Sign Systems M&R Marking Systems pre-weeded cut vinyl letter or a logo
50 Esten Avenue 100 Springfield Avenue
Pawtucket, RI 02860 Piscataway, NJ 08855
results. Without needing a costly sign
(800) 992-0072 (908) 562-9500 cutter. I do keep hearing persistent
Dynachem/Thiokol Merigraph
rumors of these. But no results.
2631 Michelle Drive Box 3064 Meanwhile, there are now two new
Tustin, CA 92680 Naperville, IL 60566 products that come close.
(714) 730-4200 (800) 323-1832 One of these is that Etch-n-Peel
Dynamark Southern Sign Supply system by Kimoto. This is basically a
3M Center Bldg 220-7W-03 127 Roesler Road self-stripping "rubylith". While great
Saint Paul, MN 55144 Glen Burnie, MD 21060 for its intended graphics art stripping
(800) 241-4819 (410) 768-8600
purposes, you are stuck with red, and
Eastman Kodak RA Stewart the results are not repositionable.
343 State 641 S Palm, Unit H
Rochester, NY 14650 La Habra, CA 90631 The other one is known as Cooley
(716) 724-4000 (310) 690-4445 Brite Eradicable Sign Material. This
Grantham Polly-Stamp 3-D Systems is an opaque white and fully outdoor
418 Central Avenue NE 26081 Avenue Hall rated reinforced vinyl. Color glop has
East Grand Forks, MI 56721 Valencia, CA 91355 been preapplied to its surface. In your
(218) 773-0331 (805) 295-5600 choice of seventeen flavors.
IMEC 3M/Color Key A magic developer will dissolve
Rt 4, Box 79 3M Center Bldg 223-2N-01 only the color. To do this, put a vinyl
Monell, MO 65708 Saint Paul, MN 55144
(417) 235-3053 (800) 328-1303
cover (or any suitable mask) onto the
material. Then simply scrub the color
Jet USA Ulano away in selected locations.
1116 MacDate Boulevard 255 Butler Street
Collingdale, PA 19023 Brooklyn, NY 11217 In the daylight, you have a color
(800) 528-1153 (718) 622-5200 over white. At night and backlit you
get white light or translucent colors
per your selection. Neat stuff. Sanely
priced. And eminently hackable.
Finally, there is an interesting new
variation on photopolymer printing
x-axis
plates that should open up all sorts of
stepper vinyl cutter, new hacker ideas. The Jet USA folks
wood routing, are using photopolymers for Braille
y-axis milling machine,
stepper
and other low cost raised letter ADA
animation stand,
signage. What you really have here is
awards engraver,
BASIC
pen
embroidery lashup,
a metal plate with some raised plastic
up/down
Stamp circuit board drilling, selectively applied exactly where you
home Santa Claus machine, want. Unique business cards are one
sensor etc. etc. etc… possibility.
task feedback
There is a slight chamfer to their
task commands
resin, improving the appearance. Cost
is in the twenty cents per square inch
range. Jet’s processing equipment is
ridiculously expensive, but it should
PostScript laser printer be easy enough to fake.
Their photopolymer offers a very
high durometer. Free samples.
Needless to say, any hacker work
Fig. 4 – THE BASIC STAMP can be used as a royalty-free interface to let you involving photopolymers can be very
apply real Adobe PostScript level 2 to any old homebrew project! much improved by using PostScript.
66.4
July, 1993
Full details on GEnie PSRT. One little
known capability of PostScript is its
microsizing ability. This lets you get NAMES AND NUMBERS
the final size of your printed circuit Amateur Television Quarterly MSC
layout exactly right, even on a printer 1545 Lee Street 6700 Discovery Blvd
with sloppy tolerances and paper that Des Plaines, IL 60018 Mableton, GA 30059
swells or shrinks. (708) 298-2269 (800) 645-7270
In flexographic printing and other Colorado School of Mines Parallax
places where images stretch as they SPACE 6359 Auburn Blvd Ste C
are bent around a drum, anamorphic Golden, CO 80401 Citrus Heights, CA 95621
(303) 273-3321 (916) 721-8217
scaling using PostScript gives you a
fast, simple, and accuracte fix. EAA Aviation Center Resonance Research
3000 Poberezny Drive E11870 Shadylane Road
Two contests Oshkosh, WI 54903 Baraboo, WI 53913
(414) 426-4800 (608) 356-3647
Let’s have two contests this month. GEnie Roadable Aircraft
Either (A) dream up a new ap for the 401 N Washington Street 338 8th Avenue South
BASIC Stamp, or else (B) see if you Rockville, MD 20850 Edmonds, WA 98020
can come up with some non-obvious (800) 638-9636 (206) 778-0423
hacker use for photopolymers. Hurst Manufacturing Rotary Flight International
As usual, there will be a dozen or Box 326 5555 Zuni SE #281
Princeton, IN 47670 Albuquerque, NM 87108
so of my recently updated Incredible (812) 385-2564 (505) 298-9362
Secret Money Machine book prizes,
along with an all-expense-paid (FOB Integrated Circuits Systems Small Parts
PO Box 968 13980 NW 58th Court
Thatcher, AZ) tinaja quest for two Valley Forge, PA 19482 Miami Lakes, FL 33014
going to the very best of all. (215) 666-1900 (305) 557-8222
Be sure to send your written entries Dan Levels Synergetics
directly to me here at my Synergetics, PO Box 1125 Box 809
and not to Electronics Now editorial. Tellevast, FL 34270 Thatcher, AZ 85552
Let’s hear from you. (813) 356-2788 (602) 428-4073
McMaster-Carr Texas Instruments
New tech lit Box 54960 PO Box 809066
Los Angeles, CA 90054 Dallas, TX 75380
We have a super selection of new (310) 692-5911 (800) 336-5236
goodies this month. For great books
Microchip Technology Don Thompson
and mags on ATV , try out the 2355 W Chandler Blvd 23072 Lake Center Dr #100
Amateur Television Quarterly folks. Chandler, AZ 85224 El Toro, CA 92630
Gyro Gearloose is alive and well! (602) 963-7373 (714) 855-3838
Roadable Aircraft is a unique labor of
love Ron Borovec newsletter for all
of you flying car enthusiasts. Similar
pubs include Experimental Aircraft Exploration Technology symposium. new Book-on-demand Resource Kit
from the EAA Aviation Center and the Mostly on underground radar used for contains lots of self-publishing info;
Experimental Rotorcraft from Rotary mining, caving, and archaeological and my new Resource Bin I gives you
Flight International uses. Proceedings are available. insider access to scads of my secret
All the fundamentals of telephone A video on Designing and Building supply sources. Or if you really want
operation are well covered in a new High Performance Tesla Coils is now to get into PostScript is a big way, try
self-published Tech Notes from a available from Resonance Research. my Whole Works package. See my
Telephone Engineer by Dan Levels. New videos, parts kits, and training nearby Synergetics ad for more info.
Science Under Siege is a new book seminars on laser printer repairs are Over on GEnie PSRT , I have just
by Michael Fumento. It explores the available through Don Thompson. added NUTS17.PS , a review of ham
nature of evidence and statistics in a Small Parts now ships a new and radio magazines. Or NONLINGR.PS ,
scientific controversy, and does cover free Catalog #14. These folks run the nonlinear graphics tutorial (use when
everything from the Alar worries to greatest robotic resource in the world. mapping stuff onto oddball surfaces).
ELF radiation. In a typical chapter, They have everything your hardware Also a reminder that I have arranged
strong evidence is given that alcohol store never heard of. And then some. for a newer and faster GEnie signup.
is one outright scam rather than any MSC is a McMaster-Carr alternate Have your modem dial (800) 638-8369
useful motor fuel. Grain alcohol uses that carries extensive local stocks of Then type HHH to set your baud rate.
much more energy than it delivers machine shop supplies and hardware. When promped, enter your temporary
and increases air pollution. This one They are also a no-hassle source of access code of XTX99005,SCRIPT.
is a must read. the EDM wires and dielectric oils. A A reminder here that most of the
The Colorado School of Mines just 2000 page catalog is offered. sources mentioned also appear in the
completed their fourth Subsurface Turning to my own products, my Names & Numbers appendix. ✦
66.5
Hardware Hacker
66.6
Don Lancaster’s Single station FM traps
15
B 175
I
C speed
Y 10 150
C P
L U
E L
125 S
pulse target E
S zone
P
E 5 100 R
E A
D T
75 E
0 50
0 10 20 30 40 50
Fig. 4 – AEROBIC EXERCISE RECORD written in PostScript. Fully editible source code appears on GEnie PSRT.
Shack #277-0123 digital thermometer pumped, something like 1200 watts of Then someone asked this rather
is ideal for this. heat will have to go out through your embarassing question: How much
Then plot your temperature rise heatsink. With a one watt per degree evaporative cooling would have been
versus time on a graph. Next, find the C rise heatsink, the TE module hot needed if the solar adsorbtion cooling
slope of the warming curve at your side temperature will try to go to 1200 was never in use at all? The answer?
target temperature , in degrees per degrees. Three tons!
minute. To hold the target temp, the Otherwise known as a fish fry. Using TE modules for many hacker
degrees per minute cooling needed Thirty of the twenty watt modules applications can end up the same as
will equal the degrees per minute would be needed! building a bonfire inside an icebox.
warming taking place. Do those new CPU thermoelectric Are there any places at all where
Multiply the pounds of water times coolers work? I’d be willing to bet TE modules can be used? Certainly. If
the degrees per minute of cooling that if you removed the cooler and you have carefully made your heat
needed to get the BTU ’s per minute coupled the heatsink directly to the flux measurements. And if you are
required. Multiply this by 17.58 to get CPU chip itself, the results would end only moving tiny amounts of heat out
your cooling watts needed. Finally, up as good or better. Simply because of a superinsulated region. And if you
multiply by some fudge factor like you are not adding extra heat at a 3:1 are dumping into a big heatsink with
1.5 for a safety margin. premium where you don’t want it. an unusually low delta-T.
The chances are the final cooling A related story: Years ago there You also have to use super smooth
power required will be hundreds of was this total federal solar fiasco surfaces, proper thermal grease, and
times higher than what can be done involving a school in the rural south. avoid all ripple in your power supply.
using TE modules. This was to be a pilot demonstration The tiniest amount of ripple will foul
I haven’t actually run this warming project of a solar adsorption cycle things up because the ripple troughs
test, but I’d guess that 300 watts of cooler. The results weren’t quite as heat six times better than the peaks
cooling would not be an unreasonable good as expected, so they added a will cool.
value for a larger aquarium to be kept new five ton evaporative cooler to the Naturally, trying to freeze ice is
fairly cool. output to improve the heatsinking to beyond the pale.
And if you do burn up three watts ambient air. Sure enough, the cooling Figure two shows some guidelines
of inefficiency for every single watt then met spec. for proper use of TE modules.
68.3
Hardware Hacker
have also been looking closely at the
pulse monitors and have found some
PULSE MONITOR RESOURCES
fascinating new electronic concepts
that you might wish to expand upon
ACT USA Precise International one way or another. These concepts
Box 5490 15 Corporate Drive should apply beautifully to short haul
Evanston, IL 60204 Orangeburg, NY 10969
(708) 491-9628 (914) 365-3500 telemetry apps.
But please be careful to heed all
Bicycling Magazine Pulse Stick II/Claggk Inc
33 East Minor Street PO Box 4099 the above warnings.
Emmaus, PA 18098 Farmingdale, NY 11735 One way to deal with exercise, of
(215) 967-5171 (516) 293-3751 course, is to get yourself a corned
Creative Health Products RacerMate, Inc beef and pork fat sandwich, add a
5148 Saddle Ridge Road 3016 NE Blakeley Street helping of Eggs Benedict, and chow
Plymouth, MI 48170 Seattle, WA 98105 down until the urge goes away. There
(800) 742-4478 (800) 522-3610
are others who do feel that sustained
Dialog REI exercise programs provide positive
3460 Hillview Avenue 1700 45th Street East
Palo Alto, CA 94304 Sumner, WA 98352
benefits towards longevity, physical
(415) 858-2700 (800) 426-4840 conditioning, well being, and for use
Medical Electronic Products Synapse Enterprises
as medical therapy.
2994 W Liberty Avenue Box 35311 The harder you exercise, the higher
Pittsburgh, PA 15216 Canton, OH 44735 your heart rate. An aerobic (or "with
(412) 343-9666 (216) 455-1162 oxygen") exercise attempts to set up a
Medical Equipment Designer Trek target zone elevated pulse rate over a
29100 Aurora Road #200 801 W Madison Street fairly long time period. Say half an
Solon, OH 44139 Waterloo, WI 53594 hour to an hour for cycling, group
(216) 248-1125 (800) 879-8735
aerobics, swimming, jogging, or fast
Polar Vetta/Orleander USA walking.
99 Seaview Blvd 14553 Delano St, Ste 210
Port Washington, NY 11050 Van Nuys, CA 91411 A conditioning target zone might
(516) 484-2400 (818) 780-8808 be 60 to 75 percent of the maximum
heart rate. This max rate in turn can
depend upon sex, age, and upon the
These modules can be a sure fire A vortex cooler is simply a magic advice of your physician or aerobics
winner for most science fairs, where Tee-shaped pipe. No moving parts at instructor. Ferinstance a 30 year old
you can easily feel all the heat going all. You blow ordinary air into the male might have a target zone of 114
from your thumb to your finger. Even middle, and hot air comes out one end to 142 beats per minute.
with a single alkaline or lithium "D" and cold air out the other. Down to The old "thumb and stopwatch"
cell. They are also quite useful for -40 Farenheit temperatures and tons method of measuring pulse rate has
chilled mirror dewpoint instruments. of cooling. some obvious problems. Not the least
And handy in high vacuum aps where Leading suppliers include Vortec of which is that it woefully disrupts
moving parts are a no-no. and Exair . Some important uses are the program in progress. There are
TE modules are great for cooling for electronic cooling and stopping instead two popular new methods to
microscope stages, special astronomy needle breakage on industrial sewing measure pulse, the plethsymograph ,
instruments, and infrared detectors. machines. and the EKG sensor .
But the modules don’t seem usable in I would guess that a vortex CPU The plethsymograph is based on
satellite dishes because the gain drops cooler could be done very simply and finger or toe capillaries expanding
faster than noise figure improves. easily. And would work ridiculously and contracting with each pulse beat.
What are the practical alternates to better than a TE module. As far as I Shine infrared light on through your
TE modules? Small compressors are know, nobody has even tried. finger, and its transmission will vary
not that big a deal. Obvious sources with your pulse. Opacity depends on
are drinking fountains, refrigerators, Some pulse monitor discoveries how much blood is present. You can
icemakers, and reworked auto air Warnings: Do not ever modify an then amplify, condition, and digitally
conditioners. One source of info on EKG-type pulse monitor any way for average these variations to extract the
these is HVAC Contractor. A drinking any reason! Do not ever attempt to current pulse rate. Cheaply, simply,
fountain compressor will only need build up your own units of this type! and noninvasively.
60 watts of new energy to pump 300. What follows is not in any manner to Infrared plethsymographs are easy
But the neatest substitutes for TE be construed as medical advice. to find, even as the $19.95 specials at
modules are called vortex coolers. I’ve been developing some aerobic K-mart. Unfortunately, many of these
This second cousin to a perpetual exercise software for a client. Using simply do not operate properly in
motion machine seems to blatantly PostScript, of course. Which I have aerobic exercise situations. The main
violate thermodynamic laws. They do found to be the greatest universal problem involves motion artifacts .
not, of course. hacker’s language anywhere ever. I Any relative motion between sensor
68.4
September, 1993
and finger will give a false output and
highly erratic results. Infuriatingly
so. To the point of being useless. NAMES AND NUMBERS
Better yet, there are EKG-style or Antique Radio Laboratories Melcor
"chest type" monitors that directly Rt 1, Box 41 1040 Spruce Street
measure the electrical activity of the Cutler, IN 46920 Trenton, NJ 08648
heart. These usually are offered in (317) 268-2214 (609) 393-4178
two pieces, a small chest strap, and a Exair Mondo-tronics
stopwatch-type display that is either 1250 Century Circle North 524 San Anselmo Avenue #107
worn on your wrist or mounted on the Cincinnati, OH 45246 San Anselmo, CA 94960
(513) 671-3322 (415) 455-9330
bicycle or other exercise gear.
The cost of these systems is often GEnie Oughtred Society
401 N Washington Street 8338 Colombard Court
in the $70 to $200 range. But they are Rockville, MD 20850 San Jose, CA 95135
totally free of motion artifacts. And (800) 638-9636 (408) 238-8082
you can instantly check your pulse at Heath Nostalgia Resources UN-LTD
any time during the activity. Simply 4320 196th SW, Ste B-111 8030 South Willow Street
glance at the display. These also offer Lynnwood, WA 98036 Manchester, NH 03103
settable alarms that trip if you wander (603) 668-2499
outside your target zone. Clock and HVAC Prod News/Contractor Synergetics
stopwatch functions are included. 1350 East Touhy Avenue PO Box 809
Des Plaines, IL 60018 Thatcher, AZ 85552
One typical unit is the Edge Heart (708) 635-8800 (602) 428-4073
Rate Monitor distributed by Polar
and stocked by such yuppy outdoor Intl Assn for New Science TriQuint Semiconductor
1304 S College Avenue 3625A SW Murray Blvd
stores as REI . I did try this one in Fort Collins, CO 80524 Beaverton, OR 97005
combination with a Trek bicycling (303) 482-3731 (503) 644-3535
computer. A second brand is Favor . Linear Technology Vortec
You could also get a combo monitor 1630 McCarthy Blvd 10125 Carver Road
and bike computer in one unit, such Milpitas, CA 95035 Cincinnati, OH 45242
as the Vetta HR-1000 also offered by (408) 432-1900 (800) 441-7475
REI. At $95 list. Maxim Wireless Design & Development
120 San Gabriel Drive Box 650
How do they work? Sunnyvale, CA 94086 Morris Plains, NJ 07950
(408) 737-7600 (201) 292-5100
The chest unit is totally sealed and
has an internal battery. In normal use,
it gets replaced every year or two.
The internal battery is purposely not the chest unit and the secondary in If very low power is your goal, you
replaceable to guarantee that the unit the wrist or handlebar receiver. Each cannot use any kind of linear amp for
remains unmodifiable. There are very pulse gets converted into a 36 cycle your transmitter. Instead, the antenna
stringent regulations over anything burst of 5 kilohertz sinewaves. is simply a 5 kilohertz resonant coil.
electronic which directly attaches to You can very easily monitor these The plots found in my Active Filter
your chest. waveforms. Just take any old coil, Cookbook tell us the Q of this coil is
Obviously, the chest unit acts as a such as the fifty foot roll of Radio around 20 or so.
transmitter and the wrist unit serves Shack hookup wire. Add an iron core, To transmit a signal, the resonant
as a receiver. The effective range is such as a handy pair or pliers. Center antenna coil gets whapped once every
typically four feet or so. the coil near the chest unit. And then five cycles . The high Q of the coil
But what gets transmitted how? watch the results on your scope. fills in during the intermediate cycles.
The answer to this one is yet another A pair of conductive pads pick up If you do look at your scope display
stunningly beautiful example of our the EKG signals on either side. These very carefully, you will observe the
ongoing quest for elegant simplicity. microvolt-sized signals are strongly modest exponential decay of all the
What we really have here is more amplified in a bandpass amplifier. intermediate cycles between impulse
short haul telemetry. But one that has There is probably some type of AGC whappings. The long rundown time
to remain totally sealed, be compact automatic gain loop to standardize after the last whapping is also quite
and lightweight, reliably run forever the output levels. Then, a comparator obvious.
under micropower, and literally be a of some sort derives a digital output The spacing of the impulses can be
throwaway item. At five bucks max for each pulse event. tightly controlled. Which elegantly
manufacturing cost. Each pulse event then generates a minimizes any need for super precise
The secret is a plain old inductive series of six digital impulses. Each or ultra stable antenna tuning.
coupling. Figure three shows the impulse is around 80 microseconds Only the bandpass amplifier draws
secret waveforms involved. What you wide and has an interpulse spacing of continuous current. Both Maxim and
really have here is a 5 kilohertz air one millisecond. For a one kilohertz Linear Technology do make suitable
core transformer, with the primary in repetition rate. amps that consume only microamps.
68.5
Hardware Hacker
In absence of any pulse input, there is into typical micro current stopwatch def of what engineering is all about:
no output and no transmitted signal circuitry. This amplifier apparently A sense for the fitness of things.
sent. Even when a burst gets sent, the shuts itself down in the absence of That says it all.
duty cycle to generate the burst is any transmitted signals. The receiver Lots of night vision electronics and
10:1 and the duty cycle of the burst battery can get replaced and lasts a surplus infrared viewers are available
itself is typically 80:1 or so. year or more. An averaging algorithm from Resources Unlimited. They have
The average current ends up quite is used to smooth out the results for a a free brochure waiting for you.
low. Very elegant. stable display. A new $9.95 book on the history of
X-raying the unit revealed a few A sample printout for a routine Heathkit from Heath Nostalgia .
surprises. A large lithium coin cell is exercise session is shown in figure Antique Radio Laboratories has a
used. The antenna is a ferrite rod, four. The complete PostScript code to free catalog on all their products for
long axis horizontal that is apparently custom run these on your favorite radio restoration buffs. Included are
tuned by unwrapping a few turns. It word processor appears on GEnie custom pins, adaptors, bases, and coil
gets resonated by a polystyrene cap. PSRT as #751 EXERCISE.GPS. forms. They also stock manuals for
A 14 pin integrated circuit drives the You could build up an automatic older test equipment.
antenna. This is probably a plain old data acquisition system to automate The Oughtred Society exists for the
grunt CMOS quad gate. the whole process. But it is simpler collectors of traditional slide rules
The majority of the input circuitry and cheaper just to use a one-hand and related calculating instruments.
is discrete and consists of nine SOT cassette recorder every five minutes Named for the seventeenth century
transistors and 24 assorted resistors and talk the speed and pulse rate to it. slide rule inventor. $20 for meetings
and caps. Several special techniques With practice, it takes less than two and classified ads.
are required for proper noise rejection minutes to transfer the data. Motorless Motion is a project book
and ultra low power operation. I’ve gathered several places to go from Mondo-tronics on working with
The receiver is just a resonant coil for more info on pulse monitors into the shape memory "muscle wires" for
and a bandpass amplifier that inputs our resource sidebar for this month. robotics and similar uses. Included
Creative Health Products offer a free are fifteen easy-to-build projects and
NEW FROM comparison guide for many of the layout templates. $18 for the book;
DON LANCASTER more popular monitors. $29 for book and wires.
From TriQuint Semiconductor , a
This month’s contests new Data Communication Products
HARDWARE HACKING
Incredible Secret Money Machine II 18.50 Let us have a bunch of different data book. Mostly on new microwave
Hardware Hacker Reprints II or III 24.50 contests this month. Show me some integrated circuits such as low noise
Blatant Opportunist Reprints 24.50 other uses for inductive coupling in amplifiers, mixers, downconverters,
Resource Bin Reprints 24.50
The Case Against Patents 24.50 short haul telemetry. Or find me the and AGC stages.
Ask The Guru Reprints I, II or III 24.50 actual schematic of some EKG- type Wireless Design & Development is
CMOS Cookbook 24.50 pulse monitor. Or find a hackable a new trade journal on new products
TTL Cookbook 24.50 source of pulse monitor chips. for the emerging personal microwave
Active Filter Cookbook 24.50
Micro Cookbooks I or II 19.50 Which should be ideal for one of communication services. Free subs
Lancaster Classics Library 119.50 my isopod power line monitors. are offered to industry insiders.
Or run the aquarium ice warming As we’ve seen a number of times
POSTSCRIPT STUFF
test. Or show me a genuinely useful in past columns, any hardware hacker
PostScript Secrets (IIe/Mac/PC) 39.50
Book-on-demand resource kit 39.50 hacker ap for TE modules that works involvement with the patent system is
Intro to PostScript VHS Video 39.50 in the real world. Or show me some virtually certain to end up a net loss
PostScript Beginner Stuff 39.50 other off-the-wall uses of PostScript of time, energy, money, and sanity.
PostScript Show & Tell 39.50
PostScript Cookbook (Adobe) 18.50
for new data-to-plot applications. Mostly because of all the outrageous
PostScript Ref. Manual II (Adobe) 29.50 There’ll be all the usual Incredible popular mythology which surrounds
PostScript Program Design (Adobe) 24.50 Secret Money Machine II book prizes patents and patenting. A mythology
Type I Font Format (Adobe) 15.50 along with an all-expense paid (FOB that is almost always dead wrong.
Acrobat Reference (Adobe) 24.50
LaserWriter Reference (Apple) 19.50 Thatcher, AZ) tinaja quest for two I have put together my new Case
PostScript by Example (McGilton) 29.50 going to the best of all. Against Patents reprint package that
Real World Postscript (Roth) 22.50 As usual, be sure to send all your includes several hundred pages of
PostScript Visual Approach (Smith) 22.50 entries directly to Synergetics, rather proven alternates to patenting. A big
Thinking in PostScript (Reid) 22.50
Undst PS Pgrmmg (Holtzgang) 29.50 than on to Electronics Now editorial. directory of hundreds of the inventor
The Whole Works (all PostScript) 349.50 Let’s hear from you. organizations is included. Check my
nearby Synergetics ad for more info.
FREE VOICE HELPLINE VISA/MC New tech lit A reminder that I have arranged for
SYNERGETICS Up the Infinite Corridor is a new a new and faster GEnie signup for my
Box 809-RE book on the history of engineering at PSRT RoundTable. Refer to the Need
Thatcher, AZ 85552 MIT by Fred Hapgood. A really good Help? box for full details. Genie has
(602) 428-4073 read. But by far the best part is Fred’s recently sharply reduced their rates
revival of a very ancient seven-word and now is a really great buy. ✦
68.6
Don Lancaster’s Magic resources listing
contacting and intelligently ...@GEnie.GEIS.com and everything anyone else has ever
\140 \141 \142 \143 \144 \145 \146 \147 \150 \151 \152 \153 \154 \155 \156 \157 may be sent in serial form, one bit at
112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127
7– p q r s t u v w x y z { | } ~ DEL a time. Typically over any serial port,
\160
128
\161
129
\162
130
\163
131
\164
132
\165
133
\166
134
\167
135
\170
136
\171
137
\172
138
\173
139
\174
140
\175
141
\176
142
\177
143
AppleTalk, Ethernet , or MIDI. UART
8– NUL SOH STX ETX EOT ENQ ACK BEL BS HT LF VT FF CR SO SI hardware or SCC software converts
\200
144
\201
145
\202
146
\203
147
\204
148
\205
149
\206
150
\207
151
\210
152
\211
153
\212
154
\213
155
\214
156
\215
157
\216
158
\217
159
from parallel to serial and back.
9– DLE DC1 DC2 DC3 DC4 NAK SYN ETB CAN EM SUB ESC FS GS RS US Any 8-bit byte has got 256 possible
\220 \221 \222 \223 \224 \225 \226 \227 \230 \231 \232 \233 \234 \235 \236 \237
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 states. If all of these states are needed
A– SP
\240
!
\241
"
\242
#
\243
$
\244
%
\245
&
\246
’
\247
(
\250
)
\251
*
\252
+
\253
,
\254
-
\255
.
\256
/
\257
for the data itself, you are said to be
176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 in a binary format. If, instead, you are
B– 0 1 2 3 4 5 6 7 8 9 : ; < = > ? mostly interested in sending out text
\260 \261 \262 \263 \264 \265 \266 \267 \270 \271 \272 \273 \274 \275 \276 \277
192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 info as letters and numbers, you are
C– @ A B C D E F G H I J K L M N O in an ASCII format.
\300 \301 \302 \303 \304 \305 \306 \307 \310 \311 \312 \313 \314 \315 \316 \317
208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223
The ASCII code appears in figure
D– P Q R S T U V W X Y Z [ \ ] ^ _
\320 \321 \322 \323 \324 \325 \326 \327 \330 \331 \332 \333 \334 \335 \336 \337 two. ASCII code was originally only
224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239
E– ‘ a b c d e f g h i j k l m n o
seven bits long and corresponded to
\340 \341 \342 \343 \344 \345 \346 \347 \350 \351 \352 \353 \354 \355 \356 \357 128 possible states. 32 of these were
240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255
F– p q r s t u v w x y z { | } ~ DEL reserved mostly for your upper case
\360 \361 \362 \363 \364 \365 \366 \367 \370 \371 \372 \373 \374 \375 \376 \377
alphabet. Another 32 for your lower
Fig. 2 – THE ASCII CHARACTER CODE. Since ASCII is really a seven bit case alphabet. Yet another 32 got set
code, it repeats twice in 8-bit space. The "high ASCII" area can alternately be aside for numbers and punctuation.
unused, a different character set, graphic plotting commands, internal And a final 32 for "invisible" control
machine flags, or other symbols. Hex, decimal and octal values are shown. characters such as linefeeds, carriage
returns, bells, the end-of-file markers,
anywhere. At any time. Last count, strictly cash and carry. A la carte. tabs, or backspaces.
they had some 300,000,000 citations And with sharply reduced prices. To make ASCII into an 8-bit code,
in stock. All as abstracts and many in A search will typically cost you it is simply repeated twice. Once with
full text. In 400 major data bases. $2.50 if you find something and $1.50 the most MSB significant bit cleared
Even paying their traditional $2 per if you don’t. The abstracts, in lots of to zero and called low ASCII . And
minute rate, I felt Dialog had been by ten, can cost you a total of $3. That’s once with the MSB set to a one and
far the fastest, cheapest, and the most thirty cents per citation or abstract! called high ASCII . Sometimes only
reliable way I have ever found to do Some fancier searches cost more. low ASCII actually gets used. Other
research. There’s also a supersearch feature times, the high ASCII area might be
Dialog also offered a quarter price where a few data bases can be looked reserved for an alternate character
late evening service. But you had to into at once. Plus hard copies. Plus set , for graphics commands , or for
subscribe to this on your own. And CD ROM access. And more. extensions for oddball characters.
precious minutes could easily gobble I’ve tried to list a few of the more
up if you were not extremely careful hacker useful Dialog data bases in Gaining Transparency
with your keystrokes. And if things figure one. I guess I tend to use their There is a thorny problem in using
hung up, so did your bill. INSPEC data base from the IEEE a ASCII comm for data transmission.
Dialog has now turned their entire lot. This one is strong in electronics, The channel is often non-transparent
afterhours marketing to CompuServe . computers, and physics. Two similar in which certain characters (such as
Who in turn has made it available to bases are MathSci and Compendex. carriage returns) are used for system
GEnie. Type DIALOG for access. But do not forget all the every day purposes. Nearly all standard serial
The really big breakthrough here is stuff. Like Books in Print , Ulricht’s comm is non-transparent.
that there are no more by-the-minute Periodicals , the Encyclopedia of As- Should a random byte in an image
Dialog charges. Instead, the setup is sociations, and the Thomas Registry. have the same code as an end-of-file
69.2
October, 1993
or other reserved character, you may
end up in deep trouble.
Instead, the newer and better data Escape codes – Reserves another character such as an escape
comm systems are totally transparent or a " \". This "breakout" allows single problem
and do not place any restrictions on characters to be sent as two non-problem ones.
the meaning that any byte can have.
Examples of transparent data comm Octal definitions – Replaces problem characters as they occur with
are AppleTalk, SCSI, and EtherNet. their four byte octal equivalent. Can become
Many older comm systems allow ungainly if used too often.
only non-transparent data. Which can
mean you’ll have to pull some sneaky XMODEM comm – Temporarily disables all special characters long
tricks to send transparent data over enough for a fixed number of binary bytes to be
sent. A standard for BBS uploads.
them. We call these transparancy
schemes. Per figure three.
Any trick that makes 96 printing Hex-ASCII pairs – Each binary byte is converted into a hex pair of
printing ASCII characters. Doubles file size and
characters look like 256 unrestricted transmission times.
and transparent binary codes is pretty
near guaranteed to make your code
ASCII-85 coding – Each group of four binary bytes is converted into
longer. But these tricks do let you use a new group of five print-only ASCII characters.
older and standard comm. Increases file size by 20 percent.
One simple method is to use some
character substitution . Here you use True transparency – The channel is replaced with a better one that
an escape character or a reverse slash has no character reservations. Such as SCSI,
to let you change the meaning of a EtherNet, AppleTalk, or other LAN systems.
single character. You could also use
an octal notation where any problem
characters get replaced with, say, a Fig. 3 – SOME TRANSPARENCY SCHEMES that let you send unrestricted
reverse slash and the octal code of the binary data over a comm channel that reserves one or more ASCII codes.
problem characters.
Since the octal codes are all digits
from 0-7 , these can easily be routed
over any non-transparent channel as Run length coding – Replaces identical repeats with which byte to
print-only characters. Ferinstance, a repeat how often. Used for black and white font
\267 should print out as a "•" bullet in bitmaps. Otherwise limited. Lossless.
many PostScript systems.
FAX compression – A variation on run length encoding for business
Yet another trick is to temporarily letters and other "large white area" uses. Also
make the comm channel transparent. known as the CCITT format. Lossless.
This is the way that XMODEM and its
improved offspring lets you upload LZW compression – The standard used for disk compaction. Offers a
full binary data to BBS systems or 2:1 to 3:1 reduction of most data forms. Noise
over email. PostScript uses its binary sensitive because of low redundancy. Lossless.
encodings in a similar scheme. Total DCT compression – Uses the Discrete Cosine Transform to offer lots
cooperation of sender, sendee, and a of compression for images and still video. Has
comm channel is manditory. "tiling" artifacts. Lossy.
A more general solution is called
hex format. When in hex format, each JPEG and MPEG – JPEG is just the most popular form of the DCT.
binary byte gets broken down into a MPEG adds motion estimation and differencing
for movies and full motion video. Lossy.
high 4-bit sub-byte plus a low 4-bit
sub-byte. Each sub-byte should have An improvement on DCT that has fewer artifacts
Wavelets –
only sixteen possible values. Thus, it and computes faster with simpler hardware and
fewer tiling artifacts. Lossy.
could be coded as the digits 0-9 and
the letters A-F and then sent out as Fractal math – Front end intensive method that offers dramatic
printing characters. For instance, the compression ratios of 1000:1 and beyond. Best
letter A is ASCII coded as $61 or hex for CD ROM image distribution. Lossy.
coded as $4641.
Hex format is easy and simple. Its PostScript – A general purpose computing language that
uses extremely sparse data sets. Can greatly
obvious penalty is that it doubles the reduce the size of all graphic data. Lossless.
number of characters stored or sent.
Everything takes twice as much room
and twice as long to send. Fig. 4 – HERE IS A SUMMARY of most of the more popular data compression
A more subtle route is ASCII-85. In schemes in use today. All are fairly easy to explore on your own.
69.3
Hardware Hacker
bitmaps and monochrome graphics. It
is lossless and is especially good on
MAGIC RESOURCES
data having long repeats of identical
characters. What happens is a string
Biscayne Magic Louis Tannen, Inc of identical characters gets replaced
1680 NE 123rd Street 6 West 32nd Street with codes for "repeat this character
North Miami, FL 33181 New York, NY 10001
(305) 891-7224 (212) 239-8383 this many times".
Collector’s Workshop Magic, Inc
Rt 1, Box 113A 5082 Lincoln Avenue FAX compression– This one is also
Middleburg, VA 22117 Chicago, IL 60625 called CCITT format and is really a
(703) 687-6476 (312) 334-2855 variation on the run length encoding.
Cosmar Magic Magical Moments Also lossless. It is useful for sending
6765 El Banquero Place 1265 University Drive monochrome documents with lots of
San Diego, CA 92119 Coral Springs, FL 33071 white space. Such as business letters.
(619) 287-3706 (305) 755-8586
This FAX encoding is in general a
Fantasio Magic Products Owen Magic Supreme rather poor performer for other data
1002 Country Club Prado 734 N McKeever Avenue
Coral Gables, FL 33134 Azusa, CA 91702
types. See ap note #5115 from Adobe
(305) 264-3321 (818) 969-4519 Systems for direct comparison of all
Flosso/Hornmann Magic Shop Patry Magic Productions
major compression schemes. The title
45 West 34th Street #607 62 Washington Manor is Supporting Data Compression in
New York, NY 10001 West Haven, CT 06516 PostScript level II.
(212) 279-6079 (203) 932-9586
LZW compression– The standard
Guaranteed Magic Society of American Magicians
27 Bright Road PO Box 510260 used for disk compaction. Short for
Hatboro, PA 19040 St Louis, MO 63151 Lempel-Ziv-Welch . A totally lossless
(215) 672-3344 (314) 846-5659 scheme that usually offers a 2:1 to 3:1
Hank Lee’s Magic Factory Stevens Magic Emporium compression. This is error sensitive
PO Box 789 3238 East Douglas since redundancy is removed.
Medford, MA 02155 Wichita, KS 67208
(617) 482-8749 (316) 683-9582 DCT compression– Shorthand for
the Direct Cosine Transform . This is
lossy but gives high compression for
ASCII-85 , you group all your binary data compression which are popular pictures and still video images. High
bytes by fours and let each group of today. Each one has its strengths and quality compressions beyond 10:1 are
four binary bytes be sent as a group weaknesses. Each one will work very typical. You can go beyond 30:1 with
of five printing characters. Only the well for its intended use. And will a modest loss of image quality. Tends
printing characters from @ through u perform poorly (even expanding!) for towards objectional tiling artifacts.
are needed. In essence, you are using other uses. Some compression
JPEG and MPEG– JPEG is simply
a base-85 numbering system. schemes appear in figure four.
another name for the most popular
ASCII-85 sounds horrible. And it Any data compression scheme is
version of the DCT, as is used by the
looks even worse on screen. But it is lossless if you could always get back
Joint Photographic Experts Group. It
fairly simple to do and offers only a exactly what you started out with.
is often best for still images that stand
20 percent transmission penalty for a Obviously, electronic funds transfer
alone. MPEG by the Motion Pictures
full transparency. and computer programs must pick a
Expert Group is an extension of JPEG
lossless compression. A compression
Fundamentals of Compression that allows significant squashing of
scheme is lossy if you only get back
full motion video and HDTV . It does
You use data compression when roughly what you started with.
this by overlaying differencing and
you want to shorten a message. So it Ferinstance, that tapioca pudding
motion estimation.
will store in less space, send in less scene in Godzilla versus the Night
The MPEG results are impressive
time, or transmit over some narrower Nurses : Your average couch potato
and should lead to full length videos
bandwidth. There are two penalties won’t spot a misplaced pixel or two.
on CD-ROM and sending HDTV over
for data compression use. One is that Lossy data compression schemes
standard tv broadcast channels.
time and effort is needed to compress can offer much higher compression
and uncompress. The second is that a ratios with a selected quality tradeoff. Wavelet compression– This is a
compressed message inherently has This is especially important in full stunning improvement over the DCT
less redundancy. Any errors made on motion video or sending HDTV over a that eliminates many visual artifacts,
compressed data are likely to do bad limited channel bandwidth. codes more compactly, offers higher
damage, some of it unfixable. Let’s try to capture the flavor of a compression, and can execute faster.
A third "feature" of compression is few compression schemes… One champion of this new technology
that your information will no longer is Aware. These folks do have lots of
be human readable. Run length encoding– Run length reprints and ap notes available. Plus
There are many different types of encoding often works best with font useful hardware and software.
69.4
October, 1993
Fractal compression– The fractal
compression is a unique and totally
maverick new approach. For certain NAMES AND NUMBERS
images, it offers compressions in the Adobe Systems Home Power
1000:1 to 10,000:1 range. While a lot 1585 Charleston Road PO Box 130
of front end effort is needed to squash Mountain View, CA 94039 Hornbrook, CA 96044
an image, ordinary software can be (800) 833-6687 (916) 475-3179
used to quickly rebuild all the Aware, Inc Iterated Systems
images. Even as animation. This One Memorial Drive 5550A Peachtree Pkwy #650
scheme gets particularly useful when Cambridge, MA 02142 Norcross, GA 30092
(617) 577-1700 (404) 840-0310
placing scads of stand-alone visual
images on CD-ROM. The leader here Batelle Pacific Northwest Mahantango Manor
Box 999, K6-54-Watts Hickory Corners Road
is Iterated Systems. Richland, WA 99352 Dalmatia, PA 17017
See FRACTFERN.PS for a classic (509) 372-4274 (717) 758-8000
example. CompuServe John Reese
PostScript– Few people realize that 5000 Arlington Center Blvd Rt 1, Box 1551
Columbus, OH 43220 Sautee, GA 30571
the PostScript language itself can be a (800) 848-8199 (706) 865-5495
uniquely powerful data compressor.
Dialog Information Services Roberts Electric
This happens because of the sparse 3460 Hillview Aveue 311 N Morgan Street
data sets used to create all PostScript Palo Alto, CA 94304 Chicago, IL 60607
page descriptions. (415) 858-2700 (312) 829-1365
For instance, a scanned logo might F-P Display Electronics Sharp
need half a meg of file space done in 55 Green Street 5700 NW Pacific Rim Blvd
those primitive "cuneiform and clay Clinton, MA 01510 Camas, WA 98607
(508) 365-9150 (800) 642-0261
tablet" coding schemes used by early
PC and Mac graphic programs. A far GEnie Stirling Machine World
401 N Washington Street 1823 Hummingbird Court
higher quality and faster executing Rockville, MD 20850 West Richland, WA 99352
version of the same logo can often be (800) 638-9636 (509) 967-5032
done in raw PostScript in as little as a Hewlett-Packard Synergetics
few hundred bytes. PO Box 10301 PO Box 809
Compared to FAX , typical pages Palo Alto, CA 94303 Thatcher, AZ 85552
done in PostScript end up much more (415) 857-1501 (602) 428-4073
compact, transmit much faster, and
offer "camera-ready" typeset quality.
I cannot fathom why anyone would
support tools to bop back and forth publishing use. Custom adjustments
ever use FAX for anything.
between strings and files. can be made for critical uses. Squash
I certainly do not.
You can even layer one filter up on time is a few seconds.
Powerful new tools have recently
top of another. As I’ve mentioned a We have a few suitable test images
been added to PostScript to make it
time or three in the past, PostScript is up on PSRT if you can’t find your
an even better data compressor. They
an superb universal hacker’s general own. Along with examples on how to
include Adobe’s Distillery program
purpose computing language. quickly and simply do your own data
and Acrobat document system plus
Which is by far your simplest and compression filtering. In particular,
my own triple distilling routines.
fastest way to get started doing your see files…
Much more on using these tools
own data compression work.
appears in the PostScript Reference LENA.PS
An example program for PostScript
Manual II "red book". HACK56.PS
DCT (or JPEG ) data compression is
HACK69.PS
I guess those are most of the main shown you in figure five. This takes a
STR2FILE.PS
methods for data compression today. disk based binary format image and
LENAHIST.PS
We have looked at many of these in then DCT encodes it. After that, the
IMAGEKIT.PS
more depth in previous columns and data is made transparent by doing an
MANDRILL.PS
the Hardware Hacker reprints. ASCII-85 filtering.
The obvious next question is how The results are fairly impressive. Plus, of course, STARTUP.PS and
can you go about… What was a 49K binary file or a 98K SPEEDUP.PS.
Hex file becomes a 7K file that can be
Doing Data Compression sent over a non-transparent channel. Alternators as Steppers
Any old PostScript level II printer You can even stuff your final 7K file In several past issues and in those
has got built-in filter routines that let into a string to avoid a hard disk. Hardware Hacker reprints, we have
you quickly and cheaply encode or The differences in image quality seen how plain old car alternators can
decode most compression schemes. are quite hard to spot and are "good get converted into power steppers. A
Others are easily added. There’s also enough" for pretty near any desktop few files on this topic also do appear
69.5
Hardware Hacker
on GEnie PSRT . themselves as being magicians of one might list a few of those hard-to-find
A new "down homey" video is now sort of another. Only we largely use magazines and suppliers where real
available that clearly shows you how new technology in place of the more magicians go to buy their wands, top
to use car alternators as steppers. In a traditional deception, distraction, and hats, rabbits, and whatever. There’s a
humongous automated sign routing disorientation. lot of oddball stuff here.
machine. In its spare time, the same My favorite "magic" trick is to put
beast can create fancy and precision a photocell beside a lightbulb in a New Tech Lit
CAD/CAM parts for a weaving loom. positive feedback loop. You can then From Hewlett-Packard , a fat new
Heddles and such. Doing everything "light" your lamp with a match. And Optoelectronic Designers Catalog. It
totally homebrew at low cost. then blow the light out. On the first has LED displays and optocouplers,
The vid is $19.50 and is available try, use a gentle puff. On the second, along with bar code stuff, fiber optic
from John Reese. you puff harder. And, of course, on comm, and robotic shaft encoders.
the third try, you’ll cup your hands From Sharp, a new bound collection
Magic Resources around the lamp (blocking the optical of Application Notes on integrated
If the technology used is advanced feedback path) and big-bad-wolf it. circuits, liquid crystal displays, RF
enough, it looks like magic. And I For our totally different resource components, and optoelectronics.
guess many Hardware Hackers see sidebar this month, I thought we just More information on Stirling heat
engines appears in Stirling Machine
World, who also carry several books
and software items on this topic.
Michael Hackleman’s Alternative
Transportation News has become a
new feature section of Home Power
Magazine . Plenty here on homebrew
electric vehicles.
A good source of surplus hydraulic
parts is Roberts Electric. Ultra large
alphanumeric displays that use "flip
disk" technology are available from
F-P Electronics.
Classic phone parts and replicas
are offered by Mahantango Manor .
Even 1907 Farmer’s Line Sets in real
% DCT compress a file and then ASCII85 encode it…
quarter sawn oak.
A pair of unique and free product
/sourcefilename (lena.histo.1) def % name source file development resources are offered by
/targetfilename (lena.histo.dct.ascii85.1) def % name target file Batelle Pacific Northwest. One is the
sourcefilename (r) file /source exch def % open source file Inventor Assistance Source Directory.
targetfilename dup status {pop pop pop pop % delete old target The other the Prototype Development
deletefile}{pop} ifelse Assistance Providers list.
targetfilename (w) file /target exch def % open target file But do not contact anyone on the
5 dict dup /DCTdict exch def begin % open work dictionary second list unless either (a) your new
save mark { % start main loop product is already well into its third
/Rows 192 def % height in pixels
party advanced beta testing stage, or
/Columns 256 def % width in pixels (b) you are willing to pay the industry
/Colors 1 def % one for b/w standard development rates.
/buf Columns Colors mul string def % open work buffer More on these topics also appears
target /ASCII85Encode filter /midtarget exch def % define filters in Midnight Engineering .
midtarget DCTdict /DCTEncode filter Speaking of which, I’ve gathered
/filtertarget exch def all of my previous columns from ME
Rows {filtertarget source buf readstring pop % read-filter-write together into my Blatant Opportunist
writestring} repeat
reprints. Covers technical innovation,
filtertarget closefile % close files new resources, product development,
midtarget closefile
target closefile self-publishing, and hackable new
} stopped {handleerror} if cleartomark restore % end main loop
concepts.
The usual reminder here that I’ve
end % close dictionary
gathered most of the stuff mentioned
into two sidebars, Magic Resources
for the magician items, and Names
Fig. 5 – THIS DCT COMPRESSED "LENA" IMAGE shows you how easy it is and Numbers for everything else.
to do data compression in PostScript. Final transparent file size is 7K! Let’s hear from you. ✦
69.6
Don Lancaster’s Digital photo imaging
everal readers have reported with traditional ink. the basics, superb digital halftones
Spotless halftones – Any time you Fig. 3 – LASER PRINTER DOT GAIN occurs whenever a round spot tries to
do anything digitally, you’ll end up cover a square pixel area. Dot gain creates a nonlinear gamma curve.
with approximations. The sampling
process inherently adds noise, giving is bad. Thus, we have "good noise" Just the same as a traditional printer’s
you both your intended signal and and "bad noise". halftone dot. Your quantizing noise
some artifacts of one kind or another. To optimize things, make your will obviously be low frequency and
Typically, these artifacts may appear "good" noise… will repeat regularly.
as grainy dots. Or as distinct gray The low frequencies and obvious
• as random as possible
steps. Or as visual "bulldozer track" repetitions are just about the worst
• as uniform as possible
or "droput" artifacts. possible types of noise you can have
• as consistent as possible
O.K. We must have noise in any in your halftone.
• as far spread out as possible
digital system. And we might even In theory, a dithering can greatly
• as high a frequency as possible
want to purposely add more noise. As improve on your noise artifacts. With
• as visually diagonal as possible
we’ve just seen, carefully added noise dithering, you create a pattern of the
in a digital system can often raise Let’s assume you have a square 8 x correct number of dots spread out as
your final perceived signal to noise 8 cell of dots that you can only turn uniformly as you can inside your cell.
ratio! CD audio does it all the time. completely on or off. Which should You’ll end up with a very high noise
Now the trick here is simple: Make give 65 gray levels, including black frequency and a more or less uniform
the unavoidable noise work for you, and white. There are two traditional noise distribution. So, dithering can
rather than fight you. methods of converting this cell into a theoretically give us lower noise and
Certain types of noise look much "gray" splotch on your page, called pleasing results.
worse than others. Large repeating halftoning and dithering. Unfortunately, dithering has a few
spots are bad. Quantized gray levels With halftoning, you’ll create one nasty habits. If you’ve got dot gain,
are bad. Anything that happens over black area in the middle of your cell then the dithered patterns can end up
and over again in a row or a column and let it "grow" as you go blacker. much darker than you intended. The
70.3
Hardware Hacker
thrown away before you do your histo
equalization! Otherwise, some of the
Low cost dead reckoning sensors – grays will be more heavily used than
Alan Phillips, Institute of Navigation 1993 Tech Meeting Proceedings,
others.
Alexandria, VA, USA, p 145-150, 1993. Spotless halftones can be based on
Three-axes fluxgate magnetometer with multiplexed sensors –
image masks, on patterns, or even
done as characters in a custom font.
A. de Sa and K. Heron, Measurement Science & Technology, v 4 n 5,
May 1993, p 633-634, ISSN: 0957-0233. I’m still working on several of these
Ring core fluxgate sensor null feed-through signal –
exciting new variations.
One possible 600 DPI result is a
J. Peterson, et al, Measurement Science & Technology, v 3 n 12, Dec
1992, p 1149-1154, ISSN: 0957-0233.
picture having the same information
content as a 75 spot per inch halftone,
Review of fluxgate sensors –
64 uncorrected gray levels, and grain
Pavel Ripka, Sensors and Actuators, v 33 n 3, Jun 1992, p 129-141, equal to 212 spots per inch. Except
ISSN: 0924-4247.
that randomizing can make the grain
Bipolar magnetometer sensor similar to fluxgate device – even less obvious. Any 256 x 256 pel
R. Dalpadado, Electronics Letters, v 28 n 17, Aug 13 1992, p 1662-1663, image can end up around 3.4 inches
ISSN: 0013-5194.
square at 600 DPI and a giant 6.8
Micromachined solenoids for highly sensitive magnetic sensors – inches square at 300 DPI.
S. Kawahito, IEEE ’91: 91 Int Conf Solid State Sens Actuators, p 1077- There are lots of options in this
1080, ISBN: 0-87942-585-7. emerging new technology.
Simple fluxgate magnetometer using amorphous alloys –
For more information
S. Ghatak, Journal of Magnetism and Magnetic Materials, v 103 n 1-2,
Jan 1992, p 81-85, ISSN: 0304-8853. Naturally, that PostScript general
Analysis of a fluxgate magnetometer based on metallic glass – purpose hacker’s computer language
O. Nielsen, Measurement Science & Technology, v 2 n 5, May 1991, is absolutely ideal for exploring high
p 435-440, ISSN: 0957-0233. quality digital photos. I’ve posted lots
Improved fluxgate for compasses and position sensors – more on the spotless halftones to my
Pavel Ripka, Journal of Magnetism and Magnetic Materials, v 83 n 1-3,
GEnie PSRT . Especially in our files
Jan 1990, p 543-544, ISSN: 0304-8853. SPOTLESS.PS and RETOUCH.PS. We
also have great heaping bunches of
files on related imaging topics.
Fig. 4 – SOME NEW REFERENCES for fluxgate compasses. SPOTLESS.PS will give you that
600 DPI Lena I promised earlier.
midrange gray level #32 could end up artifacts common to dithering. To get
down below deep gray #22 if you are rid of these, you simply select one of Low level magnetic fields
not extra careful. You might end up n possible dither patterns for a given There has been a lot of helpline
with a very bad gamma curve. gray. You do this at random. A good interest in measuring weak magnetic
Note that that brand new "FM" or choice for n is usually eight. You do fields lately. Perhaps you need an
Crystalprint technology is simply a want to make sure all of your selected accurate solid state digital compass.
variation on plain old dithering. And patterns have their dots as far apart Or want to do some archaeologic site
just like dithering, the dot gain can be from each other as possible and that mapping. Or lava tube cave hunting.
excessively high for toner based laser each row and each column gets hit Or are concerned about field safety.
printer apps. exactly the same number of times for Or are trying to date an ancient pot,
Dithering can have annoying and the entire pattern set. fireplace, or geological formation. By
quite obviously repeating artifacts, Next, instead of using the "single applying either archaeomagnetism or
especially in large gray areas. These dot" of a halftone or those "too many paleomagnetism tools.
can look just plain awful. Finally, dots" of dithering, you pick only a Magnetic field intensity is a vector
dithering creates spots that are tiny few dots per cell. Use enough dots to quantity that needs both an intensity
by traditional printshop standards. A raise your grain frequency but not and a direction. If you take a coil and
fully dithered halftone often can not enough to cause excessive dot gain. run a current through it, you will get
be reproduced in ink! Eight dots per cell could be a useful an intensity of one Gauss if you use
compromise. You allow each of these 2.02 ampere turns per inch.
The secret scoop eight dots grow in the same manner The earth’s magnetic field is even
What you do for spotless halftones as you would one halftone dot. You weaker. Ferinstance, here in Arizona,
is take the best features of halftoning, randomize "which dot grows how" to the field is 0.26 Gauss or so. It has a
error diffusion, and a good gamma minimize long term repeats. 59 degree inclination and a 14 degree
correction. Then combine them in an Finally, you throw away a few of declination.
optimum way that best obeys all our your available grays to do a gamma For openers on all this, there’s an
"good noise" rules above. correction and balance the brightness. Earth’s Field Magnetometry classic
Let’s start with all those repeating But note that your grays have to be paper by W. F. Stuart in Reports on
70.4
November, 1993
Progress in Physics, 1972 , vol 35, p.
803-881. Essential reading.
A smaller magnetic measure is a WEAK MAGNETIC FIELD RESOURCES
gamma. There are 100,000 gammas in
Autohelm Murata
a gauss. A one gamma sensitivity or Anchorage Park Eastroad 2200 Lake Park Drive
better is desirable for archaeological Portsmouth Hants P03 5TD Smyrna, GA 30080
mapping. A ten gamma sensivitity is ENGLAND (404) 436-1300
needed for a decent compass. FW Bell NASA
At first glance, there seem to be 6120 Hanging Moss Road Langley Research Center
five schemes for measuring any weak Orlando, FL 32807 Hampton, VA 23665
mag fields. These are the compass , (407) 678-6900 (804) 865-3281
those Hall effect devices, the proton Dialog NASA Tech Briefs
precession magnetometer , the mag- 3460 Hillview Avenue 41 E 42nd Street Ste 921
Palo Alto, CA 94304 New York, NY 10017
netoresistor and the fluxgate. But the (415) 858-2700 (212) 490-3999
fluxgate is ridiculously better than
Dinsmore Instrument Phillips
the others and is the only one you 1814 Remell Street PO Box 3409
should really consider. Flint, MI 48503 Sunnyvale, CA 94088
A compass is basically a magnet on (313) 744-1330 (800) 447-1500
a string. It twists around and points GPS World Speleonics
north. Problems include mechanical 859 Willamette Street Box 5283
motions, very low sensitivity, and the Eugene, OR 97401 Bloomington, IN 47407
(503) 343-1200 (812) 339-7305
ability to only measure the direction
of the field. Institute of Navigation Sprague
1800 Diagonal Rd, Ste 480 70 Pembroke Road
The Hall effect is the transverse Alexandria, VA 22314 Concord, NH 03301
current produced in certain materials (703) 683-7101 (603) 224-1961
in the presence of a magnetic field. KVH Instruments TDK
Lower cost sources for Hall devices 110 Enterprise Center 1600 Feehanville Drive
include Allegro , Texas Instruments , Middletown, RI 02842 Mount Prospect, IL 60056
and Micro Switch. These are great for (401) 847-3327 (708) 803-6100
working with real magnets. But Hall Magnetics, Inc Texas Instruments
effect devices lack the required low Box 391 PO Box 809066
field sensitivity by a factor of 1000 or Butler, PA 16003 Dallas, TX 75380
(412) 282-8282 (800) 336-5236
more. And are thus totally useless for
weak field measurement. Micro Switch Walker Scientific
11 W Spring Street Rockdale Street
Er, with two minor exceptions. The Freeport, IL 61032 Worcester, MA 01606
Dinsmore people have combined a (815) 235-6600 (800) 962-4638
traditional compass with hall sensors
for a low cost device with a 45 degree
resolution. Or 22.5 degree res if you Review of Scientific Instruments. You Avoid this turkey.
stack a pair of them. And the F. W. might also find IEEE Transactions on The fluxgate is by far the best of
Bell folks now supply a huge and Geoscience Electronics, GE-9 #2 , for the batch. Which is a saturable toroid
rather expensive Hall effect sensor April 1971, pages 99-103 of value. As coil with two or three windings. It is
assembly that theoretically could be well as the Introduction to Magnetic simple, cheap, and offers outstanding
used for a low res compass. Resonance by A. J. Carrington; and sensitivity. Very hacker friendly to
A proton precession magnetometer Nuclear Magnetic Relaxation by W. boot. A control winding will wrap
is just a bottle of distilled water with Benjaman. around the core. This will alternately
a coil around it. A strong current is A proton precession magnetometer saturate and unsaturate the core. The
routed through the coil and then gets simply is not worth the hassle these sense winding goes across the core.
suddenly released. The mag field days. Why? Because the upcoming A second sense winding can be added
shift can cause a wobble in certain fluxgate is both ridiculously simpler at right angles to the first for sine and
hydrogen atoms. A process known as and offers better sensitivity. cosine channels.
Larmor precession. The frequency of The magnetoresistor is an orphan In operation, the core permeability
this precession is proportional only to technology still kicking around for no gathers in the earth’s field when it is
the magnetic field strength. But not to apparent reason. This is a device unsaturated and does nothing when
its direction. Typically, the frequency whose resistance will change when a saturated. The gathering in and the
is in the 1300 Hertz range and only magnetic field gets applied. Sources release of the field induces pulses in
lasts for a few hundred cycles. At a include TDK , Murata , and Philips . the sense windings. These pulses are
few microvolts maximum. Accurate But their sensitivity is apallingly low proportional to the strength and the
measurement here is not trivial. and they have nasty habits of needing direction of the sensed mag field.
An important proton magnetometer exotic external magnetic biasing and Sadly, I know of no cheap source
paper showed up in the August 1956 suddenly flipping without warning. for a hacker fluxgate sensor. Radio
70.5
Hardware Hacker
ew hacking opportunities do obscure mobile comm scheme called in the spec, ranging from 67 Hertz up
Multimedia Resources
What is multimedia? The term can
mean just about anything to anybody.
I’ll call this one the use of computers 430 Ω
for control of high quality video and
audio. Personally, at low cost, and on
2
your own desktop. –
6 sinewave
Two hot multimedia buzzwords are 3 + output
convergence , which tells us that tv #327
sets, cable services, and telephones pilot 1600 Ω
lamp LT1037
are getting more like personal com- 0.1 µF
puters and vice versa. And nonlinear
editing, which means that you’ll no
longer have to edit materials in their
0.1 mF 1600 Ω
traditional "A-B roll" order.
Newer Macs or that Amiga based
NewTek Video Toaster do seem to be
running away with all the multimedia
marbles these days. NewTek recently Fig. 4 – AN ULTRA LOW DISTORTION 1 kHZ SINEWAVE GENERATOR.
introduced the Screamer, a small and The pilot light acts as a stabilizing AGC loop in this elegantly simple circuit.
cheap box that does the work of forty
networked Video Toasters. There will be no difference at all Zillions of brand new Bogey movies.
Besides completely blowing away between actors and props! For our contest this month, tell me
supercomputers and workstations at Everything will be a special effect. more about the new upcoming Digital
their end game, this one ridiculously Live actors will, of course, be totally Bogey. Show me in 175,000 words or
shortens the rendering time needed unnecessary. As will the gaffers and less what the consequences will be
for full animation sequences. grips and Foleys. Or, for that matter, for a 1,000,000:1 reduction in all the
As our resource sidebar for this third assistant makeup advisor safety costs of producing and distributing an
month, I have gathered together a few consultant best boys. entertainment experience comparable
of those magazines and other sources Given these stunning increases in to a first run movie.
that I have found personally useful to desktop computing power, within two Among other things, we can expect
keep up on multimedia happenings. or three decades at most, it should be a shift in smog levels in the LA basin.
The list is not complete, so please let possible for one individual at home to All types of LA smog.
me know more about your favorite produce something comparable to a As usual, there’ll be a dozen or so
multimedia resources. first run movie. At a total cost of, say, of my new Incredible Secret Money
One thing that multimedia should $75. Compared to the $75,000,000 or Machine II books going to the better
eventually lead us to is… so for today’s old-line flicks. Which entries, with an all expense paid (FOB
should give us a one million to one Thatcher, AZ) tinaja quest for two
The Digital Bogey reduction in the costs for producing that will go to the best of all.
The Screamer is only backing up movie-like experiences.
for a good start. Within a very few The primary video distribution, of Elegant simplicity again
years, computers will be smarter than course, would be by way of Internet Elegant simplicity is a theme that
people. The time this will happen is IV. With later releases through those we do keep returning to over and over
arguable, but it definitely will occur library Teracubes, each of which can again here, as it should be one of your
somewhere between 2:24 and 2:26 hold a decade or so of movies. foremost hardware hacking goals.
AM on April 17, 1998. Naturally, the original script writer Just as the P-38 can opener is by far
Pacific standard time. receives the lion’s share of all income the finest invention of the twentieth
Note that one gig RAM is rapidly generated. And the final product will century bar none, there are electronic
approaching first silicon. As is 1000:1 be exactly what the script writer had circuits which clearly do more with
fractal and wavelet compression. in mind. less. Using the bare minimum of parts
At that point, we will routinely be I’ll call this inevitable happening to provide unexpectedly sophisticated
handling both gigabytes of RAM and the Digital Bogey . As in Humphrey. final results.
terabytes of efficiently compressed A digital database should be able to We’ve run many elegantly simple
and realtime HDTV accessed offline totally define an actor’s personna on circuits on these pages, but there is
storage. All at low cost. a pixel-by-pixel basis. Both at macro one clear cut winner which remains
Sometime after that, all portions of and micro levels. Just like we process head and shoulders above all of the
a multimedia experience could get words and desktop publish today. others put together. This, of course, is
handled fully digitally. Everything in After teaching the data base all of that original Hewlett Packard audio
a movie will consist of flexible and the existing Bogey flicks, we simply sinewave generator.
easily manipulated data bases. switch to auto and let ‘er rip. Presto. The Linear Technology folks have
71.3
Hardware Hacker
for the opamp. Now, at precisely 1
MULTIMEDIA RESOURCES kHz, the series RC network will have
twice the impedance of the shunt RC
network, and both will offer the exact
Advanced Imaging InfoWorld
445 Broad Hollow Road #21 155 Bovet Rd Suite 800 same phase shift. So, you’ll have a
Melville, NY 11747 San Mateo, CA 94402 sinewave running around an op amp
(516) 845-2700 (800) 227-8365 having a gain of 3 and a network that
Apple/APDA Interactive Comm Society
has a loss of 1/3.
20525 Mariani Avenue 33G 14657 SW Teal Blvd Suite 119 The feedback network can act as a
Cupertino, CA 95014 Beaverton, OR 97007 single pole highpass filter while that
(800) 282-2732 (503) 579-4427 shunt network acts as a single pole
CD-ROM Professional MacWeek lowpass filter. Should the frequency
462 Danbury Road One Park Avenue change, the shifting impedance levels
Wilton, CT 06897 New York, NY 10016 will automatically return it to where
(203) 761-1466 (212) 503-4433 it belongs.
Color Publishing New Media Leaving the status quo right where
One Technology Park Drive 901 Mariner’s Island Blvd, Ste 365 it’s at.
Westford, MA 01886 San Mateo, CA 94404 Now for the most elegant part. The
(508) 392-2166 (415) 573-5170 circuit only works when that op amp
Computer Artist New Media Insiders Report already has a sinewave present and a
One Technology Park Drive Box 1289 gain of precisely 3.0 . If your gain is
Westford, MA 01886 Gualala, CA 95444 even a tad less than this value, the
(508) 692-0700 (707) 884-4413
amplitude dies off. Slightly more, and
Computer Graphics World NewTek your amplitude keeps getting bigger
One Technology Park Drive 215 SE 8th Street until it distorts badly.
Westford, MA 01886 Topeka, KS 66603 Obviously, for this circuit to work
(508) 692-0700 (800) 765-3406
we need some way of regulating the
Computer Pictures PC Presentations gain of the op amp. Set it above 3 to
701 Westchester Avenue 417 Bridgeport Avenue get it started, and then continuously
White Plains, NY 10604 Devon, CT 06460 adjust things to stabilize your desired
(914) 328-9157 (203) 877-1927
amplitude. Naturally, you could do
Computer Telephony Presentations this using an AGC or automatic gain
12 West 21 Street 23410 Civic Center Way, Ste E-10 control loop.
New York, NY 10010 Malibu, CA 90265
(212) 691-8215 (310) 456-2283
Maybe an amplifier, a detector, and
some sort of fancy multiplier stage.
EE Times U&lc Any aerospace engineer could come
600 Community Drive 2 Dag Hammarskjold Plaza up with a 10 chip $500 solution. If he
Manhassat, NY 11030 New York, NY 10017
(516) 365-4600 (212) 371-0699 is given a few technicians and enough
simulation time on a mainframe.
Electronic Publishing Video Toaster User Would you believe you can use a
401 N Broad Street 273 N Matilda Avenue plain old light bulb instead?
Philadelphia, PA 19108 Sunnyvale, CA 94086
(215) 238-5300 (408) 252-0508 An incandescent light bulb is an
example of a nonlinear resistance. If
High Color Whole Earth Review there is very little voltage across it,
21 Elm Street, 3rd Fl 27 Gate Five Road
Camden, ME 04843 Sausalito, CA 94965
the resistance of the cold bulb stays
(207) 236-6267 (415) 332-1716 fairly low. When the voltage across
the bulb (and the current through it)
ImageBase Wired increases, the bulb warms up and the
7800 Merrimac Avenue 544 Second St, 3rd Floor
Niles, IL 60714 San Francisco, CA 94107 resistance increases.
(708) 965-0566 (415) 904-0660 The light bulb is a fully automatic,
one piece AGC circuit! On power up,
it is a low resistance, and gives you
long had a LT1037 ultra low noise op technical lit. This one gets shown in enough gain to start oscillating. At
amp they are still real proud of. The figure four. It is an ultra-pure 1 kHz run time, its resistance continuously
gain of 20 million, offset of 25 micro sine wave generator. How pure? Less adjusts itself to give you a constant
volts and common mode rejection of than 0.0025% distortion and 0.001% and low distortion output.
117 decibels are all right up there in percent noise for a 6 volt RMS output. The thermal inertia of your lamp
the "adequate" range. The circuit is called a Wein Bridge guarantees that all the AGC variations
Beyond "fair to middlin". oscillator. Temporarily assume that should stay long term only, instead of
So, they naturally used the all-time the light bulb acts like an ordinary distorting the output waveform.
finest circuit anywhere ever in their resistor, providing a fixed gain of +3 Which gives you elegant simplicity
71.4
December, 1993
at its very finest.
Both RC networks must be very NAMES AND NUMBERS
carefully matched. Preferably better
than one percent. That 327 is a stock Always Jukin’ Linear Technology
pilot light usually rated at 28 volts 221 Yesler Way 1630 McCarthy Blvd
and 40 milliamperes. Seattle, WA 98104 Milpitas, CA 95035
As a second contest this month, tell (206) 233-9460 (408) 432-1900
me about your favorite example of American Changer Lutech
elegant simplicity. Concepts similar 10273 NW 53rd Street 921 East 222nd Street
to this superb sinewave oscillator, a Ft Lauderdale, FL 33351 Euclid, OH 44123
(800) 741-9840 (216) 731-8375
P38 can opener, or a vortex cooler.
Let’s hear from you. American Science & Surplus MX-Com
601 Linden Place 4800 Bethania Station Road
Coin changers Evanston, IL 60202 Winston-Salem, NC 27105
(708) 475-8440 (800) 638-5577
I have recently gotten bunches of
requests for low cost sources of video Automatic Merchandiser Phaedra
game coin mechanisms. As surplus, PO Box 803 PO Box 1241
these are largely catch-as-catch can. Fort Atkinson, WI 53538 San Bruno, CA 94066
(414) 563-6388 (415) 359-0432
But Marlin Jones, American Science
& Surplus, and Herbach & Rademan, Disability Bookshop Player Piano
sometimes stock these. PO Box 129 704 E Douglas
Vancouver, WA 98666 Wichita, KS 67202
For larger quantities, try the ads in (800) 637-2256 (316) 263-3241
RePlay , Playmeter or the Automatic
Merchandiser. For antique versions, Electrochemical Society Play Meter
try the Player Piano Company or the 10 South Main Street PO Box 24970
Pennington, NJ 08534 New Orleans, LA 70184
ads in Always Jukin’ magazine. (609) 737-1902 (504) 488-7003
Lutech and American Changer are
two sources for the dollar bill changer Gas Engine Magazine RePlay
PO Box 328 22157 Clarendon St Box 2550
mechanisms. Lancaster, PA 17603 Woodland Hills, CA 91365
If you come up with other sources (717) 392-0733 (818) 347-3820
here, please let me know.
Global Engineering Documents Shear-Loc
New tech lit 3130 S Harbor Blvd Suite 330 23191 Peralta Drive
Santa Ana, CA 92704 Laguna Hills, CA 92653
The Electrochemical Society is a (800) 854-7179 (800) 775-5668
good source for info on new battery
technology, fuel cells, electroplating, Herbach & Rademan Silicon Systems
18 Canal Street 14351 Myford Road
corrosion, conductive polymers, and Bristol, PA 19007 Tustin, CA 92680
even Buckeyballs. They publish their (215) 788-5583 (714) 731-7110
Interface magazine and hold lots of
Iron-Men Album Synergetics
trade conferences. PO Box 328 PO Box 809
The third edition of the Almanac of Lancaster, PA 17603 Thatcher, AZ 85552
UFO Organizations and Publications (717) 392-0733 (602) 428-4073
is offered by Phaedra. Authored by
Marlin Jones Teltone
David Blevins and priced at $19.50 . Box 12685 22121 20th Avenue SE
This is a combined Thomas Registry Lake Park, FL 33403 Bothell, WA 98021
and Michlein Guide to the field. Of (407) 848-8236 (800) 426-3926
the 400+ resources listed, at least one
of them (AI-TRAD) puts their money
where their mouth is – one million You can quickly and conveniently powered tractors respectively.
dollars cash to anyone who is able to get copies of just about any technical If you want to start up your own
provide some solid evidence of either standard from Global Engineering tech venture, be sure to get a copy of
UFO’s or aliens. Documents . But note that it is often my newly revised Incredible Secret
A fine selection of books and other much cheaper to go directly to the Money Machine II. Check my nearby
handicapped resources is found at the standards associations themselves. Synergetics ad for more info. Or send
Disability Bookshop. We saw a full listing of these back in for a free brochure.
Free samples of socket head caps Hardware Hacker #47 and in my on As usual, I’ve gathered most of the
are available from Shear-Loc. These line and hard copy reprints. items mentioned into the Names and
instantly convert plain old cap screws Two rather strange and wondrous Numbers and Multimedia Resources
into knurled knobs or thumbscrews, publications for this month are the sidebars. Always check these before
rosette grips, or tee-handles. Only a Iron-Man Album and Gas Engine. For calling our voice helpline.
bench vise is needed for assembly. restorers of antique steam and gas Let’s hear from you ✦
71.5
Hardware Hacker
71.6
Don Lancaster’s Hacker’s data exchange
et’s start off with a reminder data book from OKI and various data shows an ultra simple playback-only
72.6
Hardware Hacker
Keywords – Index
A sense for the fitness of things. – aircraft hacker books – 50.4 Anixter – 58.5, 67.4
68.6 AIS Satellite – 51.5 answer – 61.4
a sparce data set – 62.1 alarm – 71.1 antenna – 49.4, 52.5, 53.2
A2 Central – 60.1 algebra – 62.3 Antenna Engineering Handbook – 57.4
absolute temperature – 64.3 All Electronics – 53.5 antenna gain – 57.3, 58.4
abstracts – 69.2 Alladin – 62.6 Antenna Handbook – 58.6
absurd mythology – 55.5 Allegro – 59.6 antenna height – 58.5, 67.3
ac power – 49.1 Allen Organ – 55.6 antenna matching – 58.6
ac ringing voltage – 61.4 Alloy C – 61.3 antennafier – 58.6
acceleration – 58.2 Almanac of UFO Organizations – 57.2, Antique Electronic Supply – 50.4
accelerometers – 58.2, 63.1 71.5 Antique Radio Laboratories – 68.6
Access Control – 70.6 Alpec – 63.6 antique tractors – 71.5
Accidental Empires – 55.6 alphabet – 69.2 any pulse – 68.6
acoustical energy – 63.2 alphanumeric display – 69.6 ap note – 49.5, 56.6, 61.1
Acoustical Society Journal – 63.3 alternate action circuits – 56.1 Apple – 51.5, 55.4, 59.6
acquiring a lock – 54.3 alternate action pushbuttons – 56.2 Apple IIe – 50.2
Acrobat – 69.5, 72.2, 72.3 alternate cable service – 60.3 Apple IIgs – 51.4
Actel – 56.6 alternate character set – 69.2 AppleTalk – 59.3, 69.2, 69.3
Active Filter Cookbook – 51.5, 54.5, alternate science – 57.1 approximations – 70.3
59.3, 65.3, 68.5 Alternative Transportation News – aquarium cooler – 68.1
Active Filter Design disk – 54.5 69.6 archaeologic site mapping – 70.4
active load – 49.2 alternator power stepper – 70.6 archaeomagnetism – 70.4, 70.6
active low – 53.4 aluminum – 61.3 Archie McPhee – 53.5
active repeater – 57.3 Always Jukin’ – 71.5 ARclad – 50.4
actor’s personna – 71.3 Amazing Archives – 67.6 Arcturcus – 57.2
A/D – 65.5 Amateur Radio Astronomers – 65.3 Aria – 60.6
A/D converter – 72.1 amateur television – 70.6 Arizona Highways – 56.5
ADA signage – 66.4 Amateur Television Quarterly – 66.5 array – 57.3
addictive social disease – 53.2 American Changer – 71.5 ARRL’s Antenna Book – 57.4
Addison Wesley – 55.6 American Machinist – 60.6 artesian hot well – 64.3
adiabatic – 53.2 American Natl Standards Institute – artifacts – 50.1, 70.3
adiabatic process – 64.2, 64.3 72.5 ASCII character code – 69.2
Adobe – 60.3, 69.4, 72.2 American Science & Surplus – 53.5, ASCII code – 69.2
Adobe Acrobat – 72.2 61.3 ASCII-85 – 69.3
Adobe Photoshop – 70.2 Amiga computer – 60.1 ASCII format – 69.2
Adobe PostScript – see PostScript Amperex – 59.6 ASD/AMD TradeNews – 59.7
adsorption cycle cooler – 68.3 amplitude shift keying – 65.5 Ashtech – 53.5
Advance Process Supply – 66.3 Amusement Business – 63.6 Asian Sources – 59.7
Advanced Imaging – 58.3 analog correlator – 54.2 Ask the Guru – 57.5, 61.5, 65.1
Advanced Linear Devices – 56.6 analog data storage – 72.1 aspect ratio – 70.2
Advanced Research Development – Analog Devices – 49.2, 49.5, 52.6, 58.2, Assn of Energy Engineers – 53.1, 63.5
49.3 60/6 assorted wonderments – 58.3
aerobic – 68.4 analog levels – 53.4 AST Servo Systems – 58.2
aerobic exercise – 68.4 analog tape cassette – 72.1 asterisk – 49.5
aerobic exercise record – 68.3 analog thermometer – 52.1 Astex – 50.4
aerobic exercise software – 68.4 anamorphic scaling – 66.5, 67.1 astronomy – 68.4
AFC – 52.2 Anarchy 101 – 69.1 Atochem/Pennwalt – 63.3
AGC loop – 54.1, 68.5, 71.3, 71.4 ancient history – 58.1 attenuator – 67.4
Aham Tor – 51.5 ancient pot – 70.4 ATV – 66.5
air resistance – 63.4 animated sequence – 60.1 ATV Today – 70.6
Aircraft Designs – 50.4 animation – 60.2, 71.1 Audio – 57.4
viii
Hardware Hacker
ix
Hardware Hacker
captured path – 66.2 chirp radar – 54.4, 59.1 composite video – 51.3
car alternator stepper – 69.5, 72.1 Chirp Radar – 59.1 compress – 64.2
car compass – 70.6 chord egg – 50.3 compression – 69.4, 71.3
car ignitions – 58.4 chroma burst – 51.2 compression ratio – 69.4
car radio – 52.3 chroma FX processor – 60.2 compressor – 64.1, 68.4
carbide alloys – 60.5 Chromel – 63.1 CompuServe – 69.2, 70.6
carbon-zinc cells – 52.2 Chromel C – 61.3 computer art – 60.1
carnival ride – 71.1 chrominance – 51.4 Computer Graphics – 62.4
Carnivorous Plant Newsletter – 63.6 Ciarcia, Steve – 55.6 computer language – 66.2
Carnot, Sadi – 49.3, 64.1 Cinefex – 72.5 Computer Shopper – 59.7
Carnot cycle – 64.2, 64.3, 64.4 Circuit Cellar Ink – 52.2 Computers in Science & Art – 50.4
Carnot efficiency – 53.1 Circuit Specialists – 53.5 computing language – 69.5
Carousel – 60.3 Circuits Assembly – 66.3 condenser microphone – 63.2
Carper, Dennis – 55.6 CircuitWerkes – 61.3, 61.4 conductor – 60.5, 61.2, 65.2
cascading – 59.2 citations – 69.2 Consolidated Electronics – 54.5
Case Against Patents, The – 53.2, 68.6 clay tablet – 69.5 conspiracy – 56.1
cash and carry – 69.2 claymation – 72.5 constants – 67.2
cassette recorder – 68.6 climb – 67.1 constrain – 62.4
casting products – 67.6 clipping – 72.4 construction financing – 64.4
catfish farm – 64.4 close encounter – 57.1 consultant referral – 62.6
CCITT format – 69.4 Closed Caption TV Decoder – 57.5 consumer apps – 62.1
CD – 50.1, 52.3 closed captioning – 51.2 Consumertronics – 67.6
CD audio – 70.3 closed form solution – 62.3 contest – 71.3
CD audio adaptor – 52.3 closepath – 67.2 Continuous Tone Controlled
CD-FM – 52.3 CMOS – 50.2, 52.1, 53.4, 56.2 Subaudible Squelch – 71.1
CD-FM-1 – 50.1, 52.2, 52.3, 52.5 CMOS Cookbook – 56.3, 56.6, 59.5, contrast – 70.1
CD-FM-1 hacking – 52.5 60.6, 65.5, 70.6 control character – 69.2
CD ROM – 60.3, 69.4, 71.1 CMOS Sequencer Solutions – 56.6 controversial technical areas – 67.6
CD ROM distribution – 55.1 coax – 58.5, 67.4, 67.5 conventional current – 58.1
cell – 55.3 coax amplifier – 67.3 conventional electric current – 58.1
cell biology – 64.1 coefficient of expansion – 61.3 convergence – 71.3
cell energy recycling – 52.2 cogeneration – 64.4 coolant – 64.4
cellular phones – 58.6 coherent radar – 54.4 Cooley Brite Eradicable Sign Material
cellular radio devices – 56.6 coil Q – 68.5 – 66.4
cent – 50.3 coin changers – 71.5 copper – 61.2
Cerac – 65.5 cold fusion – 52.1, 56.1 copy protection – 61.1
Cermetek – 49.4, 49.5, 61.4 cold method – 54.5 Coriolis force – 58.3
chamfer – 66.4 color – 60.2, 63.2 corned beef sandwich – 68.4
channel – 69.4 Color Key – 66.3 corner cutting – 67.2
ChannelMaster – 58.5 color phase – 60.2 correlation – 54.1, 59.1
chaos science – 61.5 Colorado School of Mines – 66.5 correlation coefficient – 54.2
character generator – 60.2 Comb – 52.6 cosines – 67.2
character substitution – 69.3 comm channel – 69.3 cost – 66.1
charge – 63.1 Commodore – 51.4, 52.2, 60.3 coupling – 63.3
charge pumps – 59.5 communication trade journals – 64.4 coupling transformer – 50.2
chassis – 59.4 Communications data book – 56.6 Courier – 72.4
Chekhov – 69.1 communications resources – 64.5 cows – 49.1
chemical reactions – 64.1 community colleges – 55.1 CPM computer – 52.6
chemistry – 64.1 compare gate – 54.2 crater – 60.4
Cherry Semiconductor – 59.7 comparing – 54.3 Crawford, Chris – 57.5
chest strap – 68.5 compass – 70.5 Creative Health Products – 68.6
chest unit – 68.5 Compendex – 69.1, 69.2 crest factor – 49.2
chilled mirror dewpoint – 68.4 complementary patterns – 54.3 Cringley, Robert X – 55.6
chimes – 59.3 Compliance Engineering – 62.4 crockery – 58.4
chirp – 54.4 composite sync – 51.2 cropping – 70.2
x
Hardware Hacker
xi
Hardware Hacker
xii
Hardware Hacker
xiii
Hardware Hacker
xiv
Hardware Hacker
xv
Hardware Hacker
Linear Technology – 59.5, 68.5, 71.3 man-made noise – 58.4 micropositioner – 63.2
linearly swept FM – 54.4 marketing scam – 53.2 micropower crystal oscillator – 64.4,
lineto – 67.2 Markowitz, Jerome – 55.6 64.5
lingo – 56.1 Marks, Alvin – 49.3 microprocessor – 52.2
lithium coin cell – 68.6 Marlin Jones – 53.5 microscope stage – 68.4
lithium salt – 53.2 mask signal – 54.2 microsizing – 66.5, 72.2
litho paper – 56.5 master flip flop – 56.2 Microwave News – 62.4
live steam – 53.1, 63.3 matching – 63.3 microwave plasmas – 50.4
LM1881 – 51.2 MathSci – 69.1, 69.2 Microwaves & RF – 58.2
local area network – 64.5 matrix – 51.3 Microwaves New Product Digest –
local maximum – 65.3 matrixed stereo – 51.3 63.2
local minimum – 65.3 Maxim – 59.5, 62.5, 68.5 MIDI – 50.3, 55.6, 63.1, 69.2
lock-in amplifier – 54.1 maximum – 65.2 Midnight Engineering – 53.2, 54.5,
log – 50.1 maximum power transfer – 65.1 55.6, 69.6
long distance FM – 57.2 maximum power transform theorem – mini-amplifier – 51.3
long distance FM antenna – 58.5 65.1 Minicel – 64.5
long line canceller – 67.4 max-min theory – 65.2, 65.3 Mini-Circuits Labs – 57.2
long line trap – 67.3 MCM Electronics – 54.5, 63.6 minimum – 65.2
longitude – 67.2 McMaster-Carr – 66.5 ministry of propaganda – 60.4
loop – 62.2 MeadowLake – 54.5 Ming Engineering – 72.1
Lor’d – 61.5, 67.6 meals in minutes – 52.6 mirror patterns – 54.3
lossless – 69.4 Measurement & Control – 58.2 misinterpretation of data – 67.5
low ASCII – 69.2 mechanical force – 63.1 mismatch – 65.2
low level fields – 70.4 mechanical gryo – 58.2, 62.1 MIT – 68.6
low sensitivity – 70.5 mechanical motion – 63.2, 70.5 MIX Bookshelf – 50.4
lower case – 69.2 mechanical resonances – 61.2 MK50240 – 50.2
lowpass filter – 56.4, 71.4 mechanical stuff – 56.6 Modem Databook & Applications –
Loyola Enterprises – 51.1 mechanical work – 64.1 51.5
LT1037 – 71.4 Media Magic – 50.4 modifying – 67.2
lubricants – 58.4 medical therapy – 68.4 module – 68.1, 68.2
lumeloid – 49.3, 49.4 medieval armor – 72.5 Moire patterns – 55.3
luminance – 51.4, 56.3 meditation – 50.3 Mondo-tronics – 68.6
Lutech – 71.5 megabytes – 72.1 monitor resolution – 53.4
LZW compression – 69.4 Melcor – 68.1 monolayer – 53.2
memory use efficiency – 55.4 Morse Code – 54.1
M&R Marking Systems – 66.3 Meowwrrr – 62.4 MOS power transistor – 59.1
Mac – 60.1, 60.3 MER Inc – 58.4 MOSFET – 59.4
Mac Video Gateway – 60.3 Merigraph – 66.3 MOSPower Applications Handbook –
machine language – 66.1 metal barrier diode – 53.2 59.1
macros – 66.1 metal disintegrator – 60.4, 60.5 most putrid gray – 55.4
mag stripe readers – 70.6 Metal Disintegrator – 60.6 Mostek – 59.6
Magazine of Service Management – Metalfax – 60.6 Motion – 59.1
55.6 Metermaster – 70.6 motion artifacts – 68.4
magic – 69.6 Michelin Guide – 57.2 Motion Control – 59.1
magic cookies – 57.1 Michigan Inventor’s Council – 53.2 motion estimation – 69.4
magic resources – 69.4 Micro Cookbook I – 52.2, 66.2 Motion Pictures Expert Group – 69.4
magnetic compass sensor – 58.2 Micro Mint – 55.1, 55.6 motor controls – 62.5
magnetic field – 62.5, 65.2 Micro Switch – 58.2 Motorless Motion – 68.6
magnetic resources – 70.6 Micro-Avionics Newsletter – 53.5 Motorola – 49.5, 50.1, 50.2, 57.5, 58.2,
magnetic sensor – 58.2 MicroChip Data Book – 66.1 59.5
Magnetics – 70.6 Microchip Technology – 66.1 motors – 49.1
magnetoresistor – 70.5 microcontroller – 52.2 mouse – 60.2
magnetostriction – 61.2 microinch machining – 60.4 moveto – 67.2
Mahantango Manor – 69.6 microlithography – 49.4 movie – 71.3
MANDRILL.PS – 69.5 microOhm-centimeters – 61.2 MPEG – 69.4
xvi
Hardware Hacker
MPEG compression – 60.3 Neo-Geo interface – 53.1, 53.4 obscure religious references – 56.2
MSC – 66.5 neon lamp relaxation oscillator – 60.5 obscure rural newspapers – 56.2
MSM – 55.6 New Age Alternatives Discount obscure tech books – 67.6
multi-level marketing – 65.4 Catalog – 61.5 obtuse – 69.1
multimedia – 60.4 new age nineties – 58.1 Ockham’s razor – 52.1, 57.1
multimedia editing – 58.3 New Energy Technology – 49.3 Ockham, William of – 52.1
Multimedia Gulch – 65.5 New Mexico – 57.2 octal notation – 69.3
multimedia resources – 71.3 new microcontroller – 66.1 octave – 50.3
multimedia slide show – 71.1 New Science News – 67.6 odd and even fields – 51.2
multi-message – 72.2 NE605 – 54.2 off-hook – 61.4
Multi-Out connector – 51.2, 51.3 Newman Motor – 52.2 offset – 62.3
multipath – 57.3 NewTek – 49.5, 60.1, 71.3 Ohm’s law – 61.3
multiple master fonts – 72.4 Nichrome – 61.3 ohmic – 59.4
multiplexed audio – 52.4 Nichrome wire – 61.2 ohmic terminal – 59.4
multiplexed stereo – 53.4 Nikrothal 6 – 61.3 OKI Semiconductor – 53.5, 61.5, 72.1
multisyncing monitor – 53.3 Nintendo – 51.4 Old Colony – 55.1
multi-tasking UNIX – 66.1 Nintendo game cartridge – 63.6 old-line flicks – 71.3
mumbo jumbo – 56.1 Nintendo interface – 52.1 Olympus – 72.5
munchkin division – 53.4 Nintendo-to-anything interface – 51.2 on resistance – 59.4
Murata – 56.1, 58.2, 58.3, 63.2 ninth grade algebra – 67.1 on-demand publishing – 51.1
museum – 72.1 noise – 70.3 on-hook – 61.4
music – 72.1 noise effects – 66.1 one way publication – 72.2
music frequencies – 50.2 noise figure – 57.5 opaque mask – 56.5
music synthesizer – 63.1 noise levels – 58.4 optical antenna – 49.4
musical toys – 50.3 noisy FM signal – 57.4 Optical Engineering – 58.4
Musty Manuals – 55.1 non-interlaced scans – 53.3 optical film – 49.3
MWS-675 – 61.3 non-ionizing radiation – 62.4 optical link – 57.3
MWS Wire Industries – 61.3 nonlinear editing – 71.3 optical mouse – 65.5
MX-Comm – 58.6, 71.1 nonlinear graphics – 67.1 optical wavelets – 58.4
MX275 – 71.2 nonlinear graphics transform – 67.1 opto chips – 65.4, 65.5
MX315A – 71.2 Nonlinear Nonsense – 61.5 Optoelectronic Designers Catalog –
MX365A – 71.2 nonlinear resistance – 71.4 69.6
MX375 – 71.2 nonlinearities – 56.4 Optoelectronic Products Catalog – 56.6
mylar blades – 63.3 non-transparent – 69.2 optoisolator – 61.4
nonvolatile array – 72.1 O’Regan, Brian – 53.2
N channel – 59.4 Nonvolatile Serial Programmable Orgone Energy Blankets – 67.6
N channel power MOSFET – 59.4 Devices – 49.5 Origin of Radar – 59.1
Names & Numbers – 51.1 non-Von – 66.1 oscilloscope – 49.1, 51.2, 53.4, 71.1
narrowband Yagi – 58.5 NOPATENT.PS – 59.7 Oscilloscopes: Selecting & Restoring –
NASA – 58.3 NOPATENT.TXT – 53.2 72.5
Natl Assn for New Science – 67.6 normal – 67.2 Otto cycle – 64.2
National Hair Technologies – 72.5 normalization – 65.3 Oughtred Society – 68.6
National Semiconductor – 62.5 NovaSensor – 58.2 output power – 65.3
Nature – 53.2 NPN power transistors – 59.4 outright cons – 67.5
navicube – 58.1, 62.1 NTE – 50.2 outright hogwash – 68.1
navicube resources – 58.6 NTSC – 51.2, 53.3, 53.4, 60.2, 63.2 Outwater Plastics – 56.6
Navitech Book & Software Store – Nuclear Magnetic Relaxation – 70.5 overlay bus – 60.2
64.5 null – 67.4 overload – 59.4, 67.4
Navtech Information Service – 55.6 numeric analysis – 50.1 oversampling – 70.2
NEC – 59.6, 63.3, 65.5 Nuts & Volts –
negative – 58.1 NUTS3.PS – 53.5, 54.5 P channel MOSFET – 59.5
negative acting – 66.3 NUTS9.PS – 59.4 P-38 can opener – 71.3
negative energy – 63.4 NUTS10.PS – 60.6 page bitmap – 55.1
Neo-Geo – 53.4 page descriptions – 69.5
Neo-Geo connector – 53.3 Object – 72.3 Page, Robert – 59.1
xvii
Hardware Hacker
xviii
Hardware Hacker
xix
Hardware Hacker
xx
Hardware Hacker
xxi
Hardware Hacker
xxii
Hardware Hacker
xxiii
Hardware Hacker
Zener – 52.4
zener diode – 49.3
zero point scalar energy – 56.1, 67.6
zero royalties – 66.2
zero slope – 65.3
Zilog – 61.5
Zimmer Foundation – 53.2
Zlink 1900 – 58.4
zoom – 50.1
GEnie
xxiv
Hardware Hacker
xxv