Beruflich Dokumente
Kultur Dokumente
Don Lancaster’s
Hardware Hacker
Selected reprints — volume II
Radio-Electronics series
i
Hardware Hacker
ISBN: 1-882193-024
ii
Hardware Hacker
Introduction
In January of 1987, I moved my Hardware Hacker column over to
Radio Electronics magazine with its larger circulation and its less
archaic and infinitely less fascist editorial policies. This volume
of reprints begins with the January 1988 column.
I have done a total new layout here, editing and updating when
and where necessary, and combining all of the hard to find
Names and Numbers together into one master file found at the
end of the volume. A new cross-index is also included.
Naturally, 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 willing to do so in a fully
cooperative, low cost, and sharing network environment.
While our focus is, and continues to be, on the traditional
"stand-alone" electronic circuitry, most anything at all can and
will pop up. I am especially strong on showing you all of the
resources and tools that the others, for one reason or another, go
out of their way to withold from you.
As to content, I go on the assumption that if I am interested
enough in something to get involved with it, then others like
yourself may also be. I refuse to limit myself to traditional or
narrow categories of anything.
These volumes are also an ongoing experiment in book on
demand PostScript laser printing. What you have here was
literally beat out on a brick in my back yard. All of the figures,
all of the artwork, and all of the text was done by using the
AppleWriter word processor on an Apple IIe, and on-demand
printed, one self-collating custom copy at a time, on an Apple
LaserWriter. Binding is via a Unibind toaster, and shearing by
way of "borrowed" time on a third party shear.
My ongoing thanks to Radio Electronics publisher Larry Steckler
for letting me say what I want to say when and how I want to
say it. To subscribe, call them at (516) 293-3000 . ✦
iii
Hardware Hacker
iv
Hardware Hacker
Table of Contents
1 7
Automotive electronics Telephone line recording
A digital potentiometer Data access arrangements
New technical literature Absolute navigation ideas
Accessing trade journals Ring equivalency numbers
The Santa Claus machine New printed circuit layouts
2 8
More on uv curing resins Remote controls
Using liquid level detectors Infrared receivers
Circuits for electronic music A new A/D converter
Microprocessor fundamentals New data book resources
Off-the-shelf superconductors Analog computer interfacing
3 9
Understanding Posistors Electronic references
More on superconductors 16-bit converter chips
Monitors for the Apple IIgs Synchronous inverters
New video integrated circuits A/D conversion secrets
IBM to Apple communications Apple computing books
4 10
Bar code information Patents and patenting
Pressure transducer data The LAN of the eighties
Low pressure pneumatics Hacking the handicapped
Battery powered regulators A new pressure transducer
New video imaging devices Pressure measurement basics
5 11
The PostScript language A cheap color fuser mod
Telephone ring detectors More on the $10 NaviCube
Toner cartridge reloading Omnicrom and Kroy Kolor
Unique new A/D converter Television on a RGB monitor
Replacement semiconductors Industrial and trade resources
6 12
Finding parts sources Digital compass circuits
Perspective Transforms The Earth’s magnetic field
More on superconductors Measuring magnetic fields
The RS-232 serial interface A low-end PostScript driver
Computer memory expansion Computer model prototypes
more . . .
v
Hardware Hacker
13 19
Surface mount parts kits Toner reloading tools
Visible and infrared filters More on digital audio
Innovative circuit suppliers Getting an oscilloscope
Digital sinewave generators Some bar code resources
Getting and using data books Simple CMOS oscillators
14 20
Pseudorandom sequences Cold fusion secrets
High definition television Electrolytic chemistry
New white noise software A new light show BBS
Electronic music resources Future power resources
Top octave generator circuit The isotopes of hydrogen
15 21
A new "disco" circuit More on cold fusion
Zero crossing detection Mystery chip solved!
AC power load interface Cheap digital compass
Phase controlled dimming Book-on-demand ideas
Dialog information services Humidity measurement
16 22
Refilling SX cartridges Solid state visible laser
Micropower regulators Laser hacking resources
More digital sinewaves Picking a filter capacitor
Mass teleportation card Stereo wireless broadcaster
Minimum order hassles International power standards
17 23
Those SAW devices More on cold fusion
State variable filters New PostScript video
Phase plane plotting Linear stepper motors
Call progress detectors Stepper driver circuits
Low frequency resources Modelmaking resources
18 24
Soup cans full of chips Optical reprint sources
Sensors and transducers Hacker pc breakthough
Digital audio front ends Clock and doorbell chip
Starting your tech venture Printed circuit resource list
Delta-Sigma A/D conversion Faking double-sided boards
vi
Don Lancaster’s Automotive electronics
A digital potentiometer
Hardware Hacker New technical literature
Accessing trade journals
The Santa Claus machine
January, 1988
elcome to a brand new They do have hundreds more, so digital and an analog value together.
Y-
AX
IS
LIN
UL EA
TR R
A ST
VI EP
OL
ET PE
PO R
IN
TS
X- O UR
AX
IS CE
LIN
EA
R LIQ
ST
EP UI
PE D
R RE
SI
N
TR
AY
Fig. 4 – A two-dimensional santa claus machine can create a replica of virtually any flat object through the selective
ultra-violet hardening of a liquid plastic photopolymer resin. Any object can be created anywhere in the world.
1.4
Don Lancaster’s More on uv curing resins
Using liquid level detectors
Hardware Hacker Circuits for electronic music
Microprocessor fundamentals
Off-the-shelf superconductors
February, 1988
ello once again. Welcome cold that only rather expensive and conductor to play with for only $8.
I’ve just gotten word on two new video 75Ω coax cable
input + video
Maxim chips that will have all sorts – output
of hacker video uses. These are so MAX452 330Ω
new that I do not even have all the
pinouts yet, but here goes . . . 75Ω 75Ω
Figure three shows you the new 330Ω
MAX455, a single chip $10, multi- -5V
plexing video amplifier. What this
jewel does is let you select one of
eight video inputs and route them to
a driver amplifier that can directly Fig. 4 – The video driver is separately available as the MAX452.
3.3
Hardware Hacker
by using serial communication ports these CTS and RTS auxiliary hand- This can start a tree, for as soon as
and then sending the characters from shake signals, but Apple does not. Do you will find a newer referenced
one machine to another. watch this detail carefully. author, you can also chase him up
Figure five shows you a simple Should you elect to use a comm through time. Much more on all this
adaptor that I built to let you get program on the IIe end, you should appears in my Incredible Secret
between an IBM PC and an Apple IIc, also cross pins 2 to 3, 3 to 2, pins 6 to Money Machine book.
IIe, or IIgs. You build this adaptor 20, and 20 to 6. The third way to research is with
from $5 worth of Radio Shack parts. electronic data bases. As an example,
It plugs directly into the COM-1 port Thoughts on Tech Research NTIS, among their numerous other
of the IBM or clone machine. First and foremost, subscribe to or published searches, can send you a
Be sure to use two female DB25 at least read as many possible trade 208 entry annotated bibliography on
connectors. A pair of soldered #12 journals as you can. I personally laser optical gyroscopes if your order
wire loops can be used to hold the subscribe to over 300 magazines. So #PB84-852987CAI. The charges are
connectors together. many times, you will find useful and around $50.
At the IBM end, you need a card profitable information in areas where
that will give you the COM-1 serial you least expect to find it. New Tech Literature
interface. You also usually will need Secondly, get throughly familiar There’s an interesting RF/IF Signal
some sort of a telecommunications with a large technical library. One Processing Handbook available free
software package. I use PC-Talk. key reference called Uhlrichts Per- Mini-Circuits. Among all their other
On a IIe, I prefer using ProDOS iodicals Dictionary. This shows you products, they have some very low
Applewriter v 2.0 or v2.1 . This lets all the trade journals available in all cost (99 cents!) and ultra wideband
you send, receive, or edit your text, fields and how to get them. linear amplifiers available.
all within one single program. To One obscure technical library tip: One possible source for oddball or
receive, you use the [Q]-I command. Practically all of the references will discontinued integrated circuits is
To transmit, you use [P]-NP. An send you backward through time, and Rochester Electronics. Stock here is
ordinary printer cable, such as might thus aren’t that useful in fast break- on a catch as catch can basis.
be used between the Apple IIe and an ing fields. But there is a reference You might want to see if you can
Imagewriter I, is used between the called the Science Citations Index qualify for a free subscription to the
IIe and the adaptor. that, believe it or not, can move you NASA Tech Briefs. This new monthly
It is very important that both ends forward through time. magazine has all sorts of interesting
are speaking the same data rate and How does it work? Every time a ideas, some electronic, others just
format. A good starting point is 1200 paper is referenced, that newer paper high tech. More often than not, their
baud, no parity, and two stop bits. is listed. Just about any field has its ideas "just barely miss", but with a
You can speed things up later after early horses mouth source docu- little thinking and rework, there can
your comm process is working. ments. For instance, anything compe- be a gold mine here.
Note particularly the treatment of tent written on active filters must News and Views of Imagineering is
pins 4 and 5. Their COM1 port uses reference Sallen and Key. a very interesting newsletter with lots
of future oriented ideas in the com-
puting, electronics, and all the related
engineering fields.
IBM Apple
There’s also a publication called
COM1 Serial I/O the Payphone Exchange if you are at
( DB25 female ) ( DB25 female )
all interested in the commercial pay
telephone business. These days, most
TXD 2 2 TXD
anyone can install their own private
RXD 3 3 RXD pay telephone just about anywhere.
Turning to my own products, I’ve
RTS 4 4 RTS now got a complete set of bound and
autographed Ask the Guru reprints
CTS 5 5 CTS from my sister column that is over in
DSR 6 6 DSR
Computer Shopper magazine. These
mostly involve Apple II computing
SG 7 7 SG and desktop publishing, plus several
hacker goodies not found elsewhere.
DCD 8 8 DCD And, if you might be thinking of
converting your hardware hacking
DTR 20 20 DTR
into a source of nickels, be sure to
check into my Incredible Secret
Money Machine book. Write or call,
and I’ll be happy to send you more
Fig. 5 – An interface for Apple to IBM textfile exchanges. info on these and others.
3.4
Don Lancaster’s Bar code information
Pressure transducer data
Hardware Hacker Low pressure pneumatics
Battery powered regulators
New video imaging devices
April, 1988
ur big news this month is The TCS stands for Transmission use these valves to activate various
Sg
PostScript is similar to its Forth
second cousin three times removed
and five times disowned in that it is a
threaded and an extensible language.
Which means that you can now add
any- thing you like to the language
anytime, thus creating your very own
custom and reusable code.
One of the most unique features of
PostScript is its internal inclusion of
a powerful means of drawing smooth
curves that go by the name of cubic
splines. Figure three shows a few of
the awesome things you can do with
PostScript’s cubic spline capabilities.
Yes, PostScript is incredibly easy
to learn. In fact, PostScript can easily
become downright addictive. Off-
the-street students in my beginning
PostScript courses are doing all their
own superb custom letterheads, ads,
forms, business cards, badges, line
art, decals, and bumperstickers after
as little as three hours of instruction.
Those of you hackers that have
been following me over in Computer
Shopper know that I am into Post-
Script in a very big way. You can get
started with all this on your own by
calling up our free PostScript voice
helpline at (602) 428-4073; by calling
one of the free PostScript BBS bul-
letin board systems at (713) 688-1779
or (707) 852-2390; by getting a free
subscription to that Colophon maga-
zine from Adobe Systems; or else by
picking up any of my other Postscript
goodies that are mentioned at the end
of this column.
Replacement Consumer
Fig. 3 – An ordinary word processor is all that is needed with the PostScript Semiconductors
language to create graphics that look this good. These examples show you While nearly all the transistors and
several of PostScript’s powerful curve tracing and cubic spline abilities. Any integrated circuits do get built in the
personal computer can be used as a host machine. same way by the same people, there
5.3
Hardware Hacker
are several different ways that these are off-hook. This DC supply then or else a small speaker.
devices are sold. If you are a builder gets amplitude modulated to provide Many of these are described in the
of, say, television sets, you will buy voice or data communications. new Telecommunications Data Book
these directly in huge quantity lots, The ringing is separately done by by Texas Instruments. Let’s look at
already custom numbered for you per superimposing a strong AC ringing two different examples.
your own internal needs. signal. This is typically a sinewave Figure four shows you a detect-
If you are a hacker, designer, or a of 40 to 150 volts RMS at a frequency only circuit that uses a TCM1520A to
developer, you will instead buy your of 16 to 68 hertz. light a LED or else drive the input of
standard numbered parts from any of Traditionally, the ringing voltage a LED optocoupler. The output is a
the usual industrial or new age dis- got capacitor coupled to a mechanical pulsed DC signal that is present when
tributors, including many of our fine bell whose resonant frequency did the phone is ringing.
Radio-Electronics advertisers. match that of the ringing signal. On Figure five will show you a detect-
Finally, you will find yet a third some of the older party lines, several and-drive circuit that makes use of a
distribution channel. This one is different resonating frequencies got TCM1532 to directly drive a piezo
intended specifically for technical used for the bells. Each party could transducer, or else can let you trans-
training, for maintainence services, get selected by changing the frequ- former couple to a speaker or to an
and for consumer electronics repair. ency of the selected ring signal. external and isolated amplifier.
Here, small quantities of the house You might like to build your own To get a decent sounding ring, you
numbered chips are all stocked spec- ring detector, possibly as an aide for really want to pick a pair of differ-
ifically for service and warranty uses. the deaf; for use as a modem or an- ent frequencies and warble between
As a hacker, you wll want to tune swering machine; for any automated them. Further, you’ll want to match
into both the standard numbered parts computer communications; or simply these frequencies to whatever you are
sources as well as those service and as an outside, a remote, or a super- driving. This is done automatically
warranty replacement sources. More loud or a super-quiet way to decide for you inside the chip. A number of
often than not, what you get from one when your phone is ringing. different part numbers are available
distribution channel will be totally One way to do this is with a plain that will give you various ring fre-
unheard of by the other. old neon lamp. Take a NE-2 and put quencies and warble rates.
Two of those leading sources of it in series with a 470K resistor and a Note that this second circuit can
replacement semiconductors are the 0.47 microfarad, 400 volt capacitor also drive a LED, and the LED will
ECG people and the competing folks and hang it across the phone line. Or even appear to light continuously on
over at NTE. Both sources do have fat use a neon nightlight instead. Your a ring. But remember that the actual
and low cost technical directories neon lamp lights whenever the phone waveform across the LED will be a
that list and then willcross reference is ringing, and is out otherwise. complex audio signal that may need
zillions of house part numbers. The To provide a safety isolated ring- further treatment before final use.
package details, pinouts, and limited ing signal, just get a photoconductive There’s other uses for these chips
technical data are also included. cell or a phototransistor and tape it to that do include burgular and process
No hacker can afford to be without the neon lamp. You then can input alarms, or even low power and direct
current copies of these. the photodetector into your whatever. line-operated power supplies. See the
These days, though, you will find data book for more details.
Telephone Ring Detectors lots of simple, low cost, and rather
A typical home telephone line will sophisticated integrated circuits that Finding Tiny Hardware
normally consist of a 48 volt DC sup- you can use to detect the ringing and Obvious places to look for unusual
ply that drops to half that when you then directly drive a piezo transducer hardware in very small sizes are your
local hobby store, jeweler’s supply
houses, and in the Model Railroader
magazine. Who, by the way, do have
some of the most outstanding tech
2.2K 0.47 µF writing to be found anywhere. Many
10 µF of their advertisers do provide small
from + nc
LED or hardware, along with plastic, wood,
telephone 8 7 6 5
line AC COM FIL ATO optocoupler and metal raw material stocks. They
TCM1520
also do carry many of the miniature
tools needed to work with these
AC OUT COM 5VO 2.2K smaller materials.
1 2 3 4
nc One source of miniature taps, nuts,
and screws is J. I. Morris. The very
largest screw size they stock is 2-56 ,
and they go down to 0000-160. These
are available in both brass and in
Fig. 4 – This telephone ring detector might be used to light a LED or to power stainless steel. Typical pricing is $10
a LED optocoupler to create an isolated "the phone is ringing" digital signal. per gross in brass, more for stainless.
5.4
May, 1987
though. Please let me know if you
Low Cost Parts Quick New Tech Literature know of reprint availability.
A helpline caller recently needed Newsletters are often a very high The Mini-Circuits people have a
great heaping bunches of LED lamps, energy source of hacker ideas. One new how-to-use guide for their MAR
cheaply and in a hurry. Two obvious new one is known as TecSpec, and is Drop-in Amplifiers. These are a new
hacker sources for this would be to quite strong on lasers and in optical series of very low cost and ultra high
use Jameco or Mouser Electronics. communications. The coverage is all frequency transistor amplifier chips
But 1 and only if you are talking very hacker oriented. And the cost is useable as high as 2 Gigahertz. One
big quantities 1 there is one far better only $1.50 per issue. application area would be satellite tv.
and far cheaper source. Just check My favorite technical newsletter of Turning to my own products, if
out the distress and odd lot classified all, though, is Speleonics, which will you want to know any more about the
ads in the back of Electronic News. weigh in at a budget-breaking $6 per PostScript language we talked avout
The prices on pretty near any main- year. This one is written by and for above, I do have scads of PostScript
stream electronic part listed here are spelunking cavers who have a tech- stuff for anyone from a rank begin-
unbelievably low. nical bent. Topics of special interest ner on up through certain testing,
Very few hackers have ever heard include underground location find- development, and a few leading edge
of this incredible parts source. Yet, ing, laser mapping, low frequency advisory services for even the the
all of the prices are very good, and radio communications, geophysical most gonzo of advanced PostScript
the quality is usually first rate. exploration, and innovations in programmers and developers.
One little gotcha is that there is lighting and compasses. For beginners just getting started
typically a $250 minimum order, or The good people over at Fairchild who do not yet have access to a
even worse yet, a $100 line item min- Semiconductor just came out with a PostScript printer, I would suggest
imum. In the case of a 3 cent LED new free Power Products Data Book. my Introduction to Postscript video
versus a 15 cent LED, though, your This beauty includes several ap notes and Adobe’s Postscript Cookbook. If
"breakeven" quantity would only be on switching power supplies and on you already own your PostScript
660 pieces. the use of power MOSFET devices. printer, there’s my PostScript Show
A second obvious limitation is that General Instruments has released a and Tell, my Postscript Technical
each transaction is a one-shot deal. new short-form product portfolio. Illustrations, and my PostScript BBS
You may never again get either the Here you will find sound generation Stuff, available for all of the major
part or the price you are after. integrated circuits, character gener- personal computers.
ators, keyboard encoders, and even Write or call, and I will be most
Robotic Cow Contest credit-card size memory devices. happy to send you a brochure on all
A Radio-Electronics Hardware There is a now new and free Triac of this and lots more, some free, and
hacker has a problem that you may Applications handbook you can get some not. Check it out.
be able to help solve, so we’ll make from the Thomson Semiconductor As per usual, we have gathered the
it into this month’ contest. I’ll award folks. While full of good ideas, this referenced Names and Numbers into
the usual Incredible Secret Money is poorly written and even worsely the common directory at the rear of
Machine book to the best ten entries, translated. To this day, the best book this volume. We’ll end up with our
and an all expense paid tinaja quest on power control semiconductors is usual reminder that your best calling
for two (FOB Thatcher, AZ) to the the ancient GE SCR Manual. I’m not times are weekdays, 8-5 , Mountain
best overall entry. even sure this one is still in print, Standard Time.
The problem is to design a robotic
cow. Rodeo is still a very big sport in
many parts of this country. To train
the cowboys and their roping horses
for certain events, a robotic cow is 2.2K 0.47 µF 10 µF
needed. Especially if it is patient and + nc
from piezo
totally cooperative. telephone 8 7 6 5
The pseudocow has to travel along transducer
line AC COM FIL ATO
an 80 foot long linear track and must TCM1532
be able to rapidly change speed and 150K
AC OUT ATI OSC
direction, both under programmable 1 2 3 4
and remote operator control. For as nc
normally have in stock. the most useful and most important "0"
Old line distributors stock nearly are the Electronic Design Gold Book, +3 V
everything by practically everybody the EBG Electronics Buyers Guide,
and can get most anything else on a and the EEM Master.
backorder basis, however obscure. Computer Shopper magazine is far -3 V
But they do have steep minimum and away your best source for very "1"
orders, longer delivery times, and extensive listings of most computer -12 V
higher prices. Not to mention the related components.
distinct anti-hacker bias. Important Some of the electronics houses are
examples of old line distributors are liberal with one or two free samples, Fig. 2 – Here are the two logic levels
Newark, Schweber, Allied, Hamilton, while others are not. You will get the that are normally needed for RS-232
and Cramer. best results with a professional and communications. A "negative logic"
We saw last month how there is a specific request, written up on your convention is always used.
separate distribution channel for the business letterhead, and clearly exp- Figure one shows you the RS-232
repair and replacement semiconduc- laining the intended use. standard. The big DB25 connector is
tors and parts, with ECG and NTE If a part seems ridiculously hard to normally used, having female on the
being two of the leading sources. find, this may be telling you some- machines and male on the cables.
Surplus and distress houses are thing. One helpline caller has been The logic levels are as shown you in
other major parts sources. These will on at least a dozen times, trying to figure two, with a digital "0" being a
feature extremely low prices on a find some cheaper substitute for the positive voltage from +3 to +12 volts,
catch-as-catch-can basis. But, the standard, legal, and type approved $5 and the digital "1" having a negative
quality can range from first rate clear modem transformer. Another is still voltage from -3 to -12 .
on down to floor sweepings. Besides trying to find some tunnel diodes for While there are several ways to
the usual ads, you’ll find these outfits a construction project he found in a use RS-232 serial communications,
in the yellow pages of most any city 1960 Australian magazine article. the most popular is to apply the old
that has a "radio row" area. Local Finally, there is always good old asynchronous teletype code of figure
amateur radio operators are also a networking. Ask somebody for help. three. By asynchronous, we simply
good source for surplus locations. Such as our helpline, your local ham mean that any amount of time at all
Two of my very favorite surplus radio operator, an engineer or tech at can elapse between any successive
houses are Jerryco and Fair Radio an electronics firm, a magazine edit- word transmissions.
Sales. The surplus price leader has to or or author, a computer club or a A character or a word gets trans-
be BNF, but here you buys your tick- radio club, or an on-line BBS system. mitted by using a start bit, some
et and you takes your chance. number of data bits, starting with the
If you need any larger quantities of Understanding RS-232 least significant, an optional parity
quality mainstream parts in a hurry, It should have been flushed years bit, and some number of stop bits. A
all those distress merchandizers that ago, having all of those ridiculous fairly popular text character format is
advertise in the classified section of connectors, its very limited range, its to use seven data bits, no parity, and
Electronic News should not be over- unworkable supply voltages, its user two ending stop bits.
looked. A typical price and quantity confusion, and its refusal to network. The rate at which the bits go over
might be 2000 light emitting diodes But, like it or not, that old RS-232 the interface is set by the bit rate,
at three cents each. serial data communications standard which is also popularly called the
Far and away the most important is still with us, and is only starting to baud rate. Current baud rates include
sources for info on any of the new be replaced in only the very newest 110 , 300 , 1200 , and 9600 . It is of the
components are those electronic trade of communications systems. utmost importance that both ends of
journals. These include Electronic
Design, EDN, E.E. Times, Elec-
tronic Products, and Electronics,
among others. Many of these are free
if you request a subscription on a DATA DATA DATA DATA DATA DATA DATA DATA STOP STOP
START BIT BIT BIT BIT BIT BIT BIT BIT BIT BIT
suitable letterhead. BIT #1 #2 #3 #4 #5 #6 #7 #8 #1 #2
The coupons and bingo cards in all (LSB) (MSB)
of these trade journals will then lead
you to the actual data books, price
lists, and application notes from all
of their advertisers.
A nearly complete listing of all of Fig. 3 – Most RS-232 serial communications will use this older "teletype"
the trade journals can be found in asynchronous code. Seven or eight data bits are normally used, with the least
Uhlrichts Periodicals Dictionary at significant bit always sent first. Any number of stop bits above the minimum
your local library. can be sent between successive characters.
6.2
June, 1988
the system always are using the exact page or so has been transmitted. its own +10 and -10 volts, starting
same baud rate, number of data bits, Details on exactly how you change with a single -5 volt supply.
the type of parity, and number of stop these values differ with each system. The MAX232 chip is a Maxim pro-
bits. Otherwise, your data will get Sometimes there are DIP switches at duct. They also stock a wide variety
trashed and be useless. both ends that need set, while other of other interface drivers, singles and
To further confuse you, there are times, you can software configure the doubles, RS232 and otherwise. All
two methods of RS-232 transmission. values. Your software configuration are sanely priced to boot.
When using DCE or "modem" com- can either be done in the program
munications, there will be no data or itself, or inside supervisory print or Memory Upgrades
other pin crossings, and a "straight" drivers or controllers. We sure get a lot of questions on
cable that routes pin 2 to 2, 3 to 3, One way to service many RS-232 this topic. The caller usually has an
etc. is most often used. problems is to start out at a very low older Flugelhoffer-8 or whatever per-
With the DTE or "printer" com- baud rate, even as low as 110 baud. sonal computer and had just noticed
munications, a "crossed" cable gets This will separate all of the hand- that the pinouts on today’s jelly bean
used that crosses pins 2 and 3, 3 and shaking problems from any of the 256K memory chip are more or less
2, 4 and 5, 5 and 4, 6 and 20 and 20 more fundamental comm hassles. the same as on all those 16K dynamic
and 6. This crossing is sometimes Your servicing can be done with an RAMs already in his computer.
called a modem eliminator. oscilloscope or a breakout box. Couldn’t he simply swap out his
There are several different types of A good baseline for initial printer old chips and dramatically increase
handshaking used with RS-232. When work is to separately cross pins 2 and all the memory he has available on
using a hardwire handshake, a printer 3 and to tie pins 6, 8, and 20 together. his older machine?
busy signal originating at pin 20, or a One RS-232 problem unique to the The answer is that, yes, this is usu-
modem carrier detect signal that will COM1 port of an IBM clone is that it ally theoretically possible. But the
originate at pin 8 gets connected to will expect some auxiliary handshake time, hassle, and involvement needed
the input busy line over on pin 6. signals on pins 4 and 5, while most to actually pull it off almost always
When you are using the alternate cables and most other communica- is not worth the effort.
XON/XOFF handshaking, some extra tions do not provide these pins at all. If 1 and this is a very big if 1 your
characters are inserted into your data One solution is to directly short pins computer already has a provision for
stream to stop and start your actual 4 and 5 on the COM1 connector. memory expansion, then your chips
transmission process. Many modern computer circuits can be added without much hassle.
As with the baud rate and the data will use a single +5 volt supply, and For instance, even on the earliest of
format, both ends must exactly agree do not have the higher positive and 128K Macs, you were able to piggy-
on the handshaking. negative voltages as are required for back 512K of extra memory without
A handshaking problem usually RS-232. The simple circuit of figure creating too many new problems.
will not show itself immediately. It is four handles this problem. The IC In general, though, the larger chips
more likely to trash things up after a shown will internally generate all of will do you no good whatsoever. It is
only when you can simply and pos-
itively answer each of the following
SYSTEM questions that a memory upgrade be-
comes reasonable . . .
CTS (1) Where are all the extra address
RTS lines going to come from?
TD (2) How is the dynamic refresh and
RD the address pin multiplexing going to
+5V be done for these extra address pins?
(3) How is memory management
16 15 14 13 12 11 10 9 beyond 64K handled? By what bank
+V GND TD RD RD TD RTS CTS switching circuitry, activated how?
MAX232 RS-232-C (4) What modifications will be
needed for the firmware monitor and
C1+ +10V C1- C2+ C2- -10V RTS CTS (2) TD
1 2 3 4 5 6 7 8
the disk operating system so it can
(3) RD recognize the new memory?
(20) DTR (5) How is the existing software
(5) CTS going to be modified to access the
+ + (4) RTS new memory, particularly if all your
3.3 K Ω
20 µF 20 µF locked and protected software was
sold by a now bankrupt firm?
Now, these are certainly all pro-
Fig. 4 – This RS-232 driver circuit needs only a single +5 volt supply. An blems that can be solved. But the
internal charge pump circuit generates the needed +10 and -10 volts for the kicker is that if you are the type of
actual interface levels. person that can solve these, your time
6.3
Hardware Hacker
Fig. 5 – Spectacular 2-point perspective drawings can easily be done using nothing but your favorite word processor
and a PostScript-speaking printer. Only a 4K text file is required for a figure this complex!
will be so valuable that you’ll usually also all be separately rotated inside looking down a long hallway both is
have far better things to be doing. So, of the total perspective drawing. a special and a centered case of two
while memory upgrades can be done, Figure five shows you a typical point perspective.
the chances are that it is not remotely sample. Not too shabby for Apple- At any rate, figures six and seven
cost effective to do so. Writer on a IIe or IIgs, eh what? The show you both of the transformations
PostScript data file on this is about needed to convert any three dimen-
Perspective Transformations the same length as a business memo. sional object or image directly into
I’ve been having a lot of fun lately You do, of course, need a PostScript the two dimensional representation
with some new perspective drawing speaking printer as an output device. needed for a printed sheet of paper or
routines that I recently created. These What I would like to do here is your computer’s display screen.
let any plain old word processor and share with you all of the fundamental Let’s assume you had a giant plane
a PostScript printer produce some perspective transformations. Chances of glass that is between you and your
absolutely stunning graphic images. are you can apply these to most any subject. We’ll call this pane of glass
Unlike all those far more expensive old graphics program, even by using our picture plane. We will start our
routes to perspective drawing, my BASIC . And it sure is fascinating to origin at the center bottom of your
new routines will now automatically fly over a building with nothing but a picture plane. We will use xx for the
handle true perspective lettering (!) couple of key strokes. Only simple back and forth distance having right
of any style in any font, along with high school math is involved. positive. We will then make yy the
precise perspective circles and arcs. The perspective most people use distance into the picture with the far-
Yes, you can even do an animated most often is often called two point ther from you ending up as the more
flyby, changing both your position perspective in which all vertical lines positive. And, we’ll use zz for up and
and viewpoint with only a very few stay that way. The simpler one point down with positive up.
keystrokes. All individual objects can perspective that you would get while Next, we will assume you will be
6.4
June, 1988
standing pretty far in front of the unusual solid state laser stuff in it.
picture plane. We can call xo, yo, and Short Electronic Delays One of my very favorite low cost
zo the distance from the plane to your I got a call from some students that sources for small mechanical parts in
eyeball. In general, for the two point were working up a dynamic memory small quantities, for robotics or what-
perspective to work, you will want to demo as a class project and wanted to ever, are those Small Parts people.
stand fairly far back, using a rather avoid buying a very expensive short Besides stocking all sorts of hard to
large yo. Otherwise, your perspective time delay generator. get hardware, they can also custom
illusion will distort and fail. Many For most quick, cheap, and dirty shear any smaller pieces of metal and
times, you might want your zo to end time delays in the 1 nanosecond to plastic for you.
up matching your standard eyeball several microsecond region, just use If you need any rubber sheeting or
height, particularly on any architect- ordinary small coax cable or twisted tubing, again at very low prices, do
ural drawings. pair wires. You should get around 1.6 investigate Hygenic. This outfit is an
We’ll call capital X the back and nanoseconds per foot, or about 600 especially good source for the low
forth distance on both the final paper feet or so per microsecond. pressure pneumatic stuff we recently
and your picture plane, and capital Y The bandwidth is quite high and looked at.
the up and down distance on the could accomodate either analog or A mounted strain gauge useful for
paper and the plane. As figure six digital signals with equal ease. Both electronic scales and whatever is
show us, two simple similar traingles ends of the cable should be properly available from Revere as their model
are all that is needed to transform all terminated to eliminate reflections. FT-30 force translator transducer. It
your perspective image to your page is available in ranges from 1 up to 40
or video screen. New Tech Info pounds, and in resistances from 0.5 to
All that my routines or your new Let’s see. There’s a whole pile of 25 ohms. Very interesting.
computer program now has to do is new data books this month. On top of The Hewlett Packard Journal is a
solve these similar triangles for each the stack are the new FET Data Book good free source of technical details
and every endpoint of each and every by Siliconix, a Programmable Logic on sophisticated electronic devices.
line to be drawn. While painful for a Handbook from the Advanced Micro Their February, 1987 issue includes a
people, this is utterly trivial for most Devices folks, a Xicor Data Book that good tutorial on wide range optical
any computer. does include info on the EEPOTs we and infrared sensors in it.
Do give me a call if you need any looked at a few columns back, and a Speaking of IR sensing, Amperex
more input on these exciting new new Optical Semiconductor catalog has some miniature and sensitive
methods for perspective drawing. from Mitsubishi that has got some pyrolitic infrared detectors whose
prices start at $3.50. This looks like a
really great component, but I have
picture not yet had the chance to test them
LEFT plane endpoint in out yet. One obvious application is in
space
"hot spot" detectors for use by the
xx - xo fire service. The current devices are
observer
X yo(xx - xo) ridiculously expensive and many of
X= the volunteer fire departments simply
yo + yy
cannot afford them.
xo xo xo For some new information on
yo yy electronic noise, and noise diodes for
center of picture plane testing in particular, check out the
Micronetics noise diode catalog. A
good tutorial on noise and noise
picture testing included.
UP plane endpoint in Turning to my own products, if
space you are thinking of starting your own
zz - zo
craft or tech venture, be sure to look
observer into my Incredible Secret Money
Y yo(zz - zo) Machine book. And, through the
Y=
yo + yy
most astounding of coincidences, I
zo zo zo do seem to have some pre-release
disks newly available on all my new
yo yy
ground level PostScript Perspective Drawing and
Lettering Utilities, as configured for
most of the major computers.
Be sure to let me know what you
want to see in the way of new hacker
Fig. 6 – The 2-point perspective X and Y transforms. These can be easily ideas, techniques, or concepts. Let’s
included in a BASIC, "C", PostScript, or machine language program. hear from you.
6.5
Don Lancaster’s Telephone line recording
Data access arrangements
Hardware Hacker Absolute navigation ideas
Ring equivalency numbers
New printed circuit layouts
July, 1988
ur no-charge hardware Temperature Physics. Since these are utterly trivial with today’s PostScript
RED
digital
100K outputs
shown you some guarding and shiel-
start
msb lsb
ding. It is trivially easy to let digital
noise and power line hum totally
trash out any accuracy from your A/D channel
select
system. Ferinstance, a typical hacker
digital circuit will be very lucky to
hold the digital logic ground noise +5V
down below 300,000 microvolts. 28 27 26 25 24 23 22 21 20 19 18 17 16 15
On a typical 16-bit A/D converter 0 IN2 IN1 IN0 A1 A2 A4 ALE Q7 Q6 Q5 Q4 Q0 -REF Q2
circuit, any input noise greater than ADC 0808
15 microvolts or so might bobble the IN3 IN4 IN5 IN6 IN7 ST EOC Q3 OE CLK +5V +REF GND Q1
analog
bits and give you all sorts of nasty inputs
1 2 3 4 5 6 7 8 9 10 11 12 13 14
Pseudo-Random Sequences
STAGES LENGTH FEEDBACK
I’ve long been fascinated with both
2 3 1, 2 random and pseudorandom numbers
3 7 2, 3 and their generation.
4 15 3, 4 Truely random numbers are quite
5 31 3, 5 difficult to generate, and it is very
6 63 5, 6 easy to introduce all sorts of subtle
7 127 6, 7 bias into them. One fact that many
hardware hackers refuse to accept is
8 255 4, 5, 6, 8 that virtually any and all attempts at
9 511 5, 9 making something more random will
10 1023 7, 10 nearly always have the exact opposite
11 2047 9, 11
of the intended effect.
12 4095 6, 8, 11, 12
A pseudorandom sequence is some
13 8191 9, 11, 12, 13
long string of numbers that is able to
14 16,383 4, 8, 13, 14 exactly repeat itself, but any shorter
15 32,767 14, 15 portion of which appears totally
16 65,535 4, 13, 15, 16 random, and apparently obey all the
17 131,071 14, 17 rules of random numbers and their
18 262,143 11, 18 distributions. This concept of "noise
19 524,287 14, 17, 18, 19 that repeats" is especially handy for
industrial testing, for military radars,
20 1,048,575 17, 20 for security systems, and for such
21 2,097,151 19, 21 things as a redeal of the same card
22 4,194,303 21, 22 hand in a game or simulation.
23 8,388,607 18, 23 To generate a new pseudorandom
24 16,777,215 17, 22, 23, 24 sequence, you can use, of all things,
25 33,554,431 22, 25 a pseudorandom sequence generator.
Golly gee, Mr. Science.
26 67,108,863 20, 24, 25, 26 To do this, you take a plain old
27 134,217,727 22, 25, 26, 27 hardware or software shift register.
28 268,435,455 25, 28 You then choose several outputs and
29 536,870,911 27, 29
exclusive-OR them all together and
30 1,073,741,823 7, 28, 29, 30
use the resulting one or zero as an
31 2,147,483,647 28, 31
input for the next clocking cycle.
One of two things is now likely to
Fig. 2 – Here are the "magic" feedback connections for many maximal length happen. If you do pick the wrong
pseudorandom sequences. If two feedback numbers are shown, you EOR feedback combinations, then the shift
them together. If four numbers are shown, you EOR by pairs and then EOR register will shortly hang in its all
the two intermediate results. Either hardware or software may be used. ones or all zeros state. But with just
the right feedback combination, the
up with newer HDTV transmission comments on this. In fact, let’s have shift register will become some sort
bandwidths which are ridiculously us another contest. Write me with of a counter of some length, that goes
lower than NTSC standards. your thoughts on HDTV . There will through a series of count values in a
Most newer HDTV displays will be all the usual Incredible Secret repeating and predictable order.
probably be able to accept older PAL, Money Machine books for the best The trick is to pick out the longest
NTSC, RGB, or SECAM programming dozen or two entries, with an all possible sequence length for any shift
inputs, and even spruce them up a tad expense paid (FOB Thatcher, AZ) register by finding exactly the right
before they display them. The key tinaja quest for two for the best entry "magic" feedback combinations.
question is whether an older NTSC of all. Naturally, you do not have to This is known as a maximal length
television set that inadvertently got agree with me, but the more thought sequence and is always one less than
plugged into some HDTV program out and the more coherent your the total possible number of states in
source has got to be able to display response, the better will be your odds the register. Any shorter groupings
something viewable. That present of winning anything. within one of these maximal length
ruling makes about as much sense as Do send your entries directly to me sequences will appear to be random
requiring that all CD ROM disks be per the Need Help? box, rather than and will obey most of the properties
able to output low fidelty audio when to the Radio-Electronics editorial of real random numbers.
played with a cactus needle on a 78 offices. No fair sending all the "right Figure one shows you a six stage
RPM wind-up turntable. on" responses to me and all the "up pseudorandom generator that is able
As per usual, I do welcome your yours" ones to the letters column. to generate a sequence that is 63
14.2
February, 1989
counts long. You might like to list all
of the states to prove to yourself that 1. Put a random number into four
memory locations. Make sure the
short samples really do seem random, values are not all zero.
although this whole sequence does To repeat or replay a sequence,
repeat once each 63 clocks. I used you can reuse this old seed.
this way back in my Psyctone project
eons ago in the "golden age" of good PSR4 PSR3 PSR2 PSR1
old Popular Electronics.
You can create up to four related
maximal length sequences, a "for-
ward" one and its complement, and a 2. To generate a new random one 3. Rotate the carry left into PSR1.
"backward" one and its complement. or zero, take these two bit Rotate left into PSR2. Rotate
There is one big gotcha: you must locations, EOR them together left into PSR3. Then, rotate left
and put them in the carry flag. into PSR4. The carry will now
never start with the "all zeros" state hold a one or a zero out of a
or your generator will hang, perman- pseudorandom sequence that is
4. Repeat once for each needed a total of 2,147,483,687 bits
ently outputting zeros. bit of your random number. in length.
For many uses, you’ll want to use
much longer sequences. Figure two
lists the magic feedback combina- Fig. 3 – A 31 stage pseudorandom sequence generator done in software will
tions needed for the various maximal produce a "random" string of 2,147,483,687 ones or zeros before it will start
length sequences. A very few of the to exactly repeat. Typical execution time is under 40 microseconds.
longer ones are not "quite" maximal,
but they are the best that anyone has code is very slightly pinkish, rather For instance, getting a very strong
ever found so far. than a pure white noise. I’ll let you fundamental and no low harmonics
A very interesting pseudorandom add those few extra bytes needed to should result in a flute-like sine-
generator for computer use appears in equalize the timing so that each loop wave, while any waveform having a
figure three. This is a 31 stage shift takes exactly the same time, regard- strong third, fourth, and fifth, but a
register, which gives you a sequence less of when the cone gets moved. weak first and second should give a
length of 2,147,483,687 before it You can use similar code to ex- major chord, even though you are
repeats. Yet, it is able to deliver an plore other pseudo-random lengths. only pushing a speaker cone all the
apparently random one or zero in 40 As the lengths get shorter, you will way in or all the way out.
microseconds or less with most pop- first note some structure. For even Thus, you can easily generate pure
ular personal computers. shorter lengths, actual tonal color sine tones, as well as two or three
The all time whiz bang expert on will result. Try it and see. apparent notes at once by using this
random or pseudorandom anything is And here’s something not quite simple technique.
Donald Knuth in all his Art of Com- related you might like to play with: If Now, it is easy to pick words at
puter Programming volumes. These you take any old 30 bit digital word random and listen to the results, but
are available at any large technical and whop the speaker on the ones how do you purposely design your
library. I have also gotten into this and not whop it on all of the zeros, selected word for the desirable har-
rather extensively in my Apple As- different timbre, or tonal values will monic structure? This is a very sticky
sembly Cookbook where you might result depending on the strengths of math synthesis problem.
find several ways around the many the harmonics you are listening to. Fourier series anyone?
fatal flaws in the Applesloth random
number generator, along with lots of
useful ways to generate and test (1) On an Apple II+, IIc, IIe, or IIgs, get into BASIC.SYSTEM and
do a CALL -151 to get into the monitor.
random and pseudorandom numbers
of nearly any size. (2) Then, enter the following code:
A White Noise Source 0300: 4C 07 03 27 0C A1 C9 AD <cr>
0308: 06 03 0A 0A 0A 4D 06 03 <cr>
As a quick and dirty example of a 0310: 0A 0A 90 03 2C 30 C0 2E <cr>
31 stage pseudo-random generator, 0318: 03 03 2E 04 03 2E 05 03 <cr>
figure four shows you a short ma- 0320: 2E 06 03 4C 07 03 11 11 <cr>
chine language routine that makes an
Apple IIc, IIe, or IIgs sound like it is (3) Finally, do a BSAVE KFC.VIRUS, A$0300, L$28, D2
frying itself in its own grease. I will (4) To test, use, or abuse your code, do a BRUN KFC.VIRUS
leave it up to you to dream up some
of the more fiendish applications for
this short code module. Fig. 4 – This white noise generator makes an Apple computer sound like it is
On every binary one, the speaker frying itself in its own grease. A 31-stage pseudorandom generator is used.
cone gets whapped, while it stays Except for stress-induced medical effects on the system owner, the code is
where it is on a zero. As shown, the more or less harmless.
14.3
Hardware Hacker
top octave output square waves cheap, and highly effective all-digital
synthesizers that can now easily
C8 B7 A#7 A7 G#7 G7 F#7 F7 E7 D#7 D7 C#7 C7
duplicate any known or any imagined
musical instrument, and do so with
stunning accuracy and clarity.
Well, if it is top octave generators
you want, then top octave gener-
ators you’ll get. Figure five shows
you how one single input reference
16 15 14 13 12 11 10 9 square wave and a top octave gen-
C7 C8 B7 A#7 A7 G#7 G7 F#7 erator can generate thirteen of the
MO83 highest needed keyboard notes. A
+12 CLK GND C#7 D7 D#7 E7 F7 second keyer chip can then divide
4.00048 MHz 1 2 3 4 5 6 7 8 these notes down and turn them on
input reference and off in an organ-like manner.
squarewave Roy DeVault of Devtronix has lots
+12 VDC of top octave generators and keyer
chips and boards available, and is
more than glad to sell them to you at
Fig. 5 – A top octave generator integrated circuit takes an input reference low cost in very small quantities.
square wave and divides it down to approximate the thirteen uppermost notes Roy provides everything from single
on an electronic organ. Further binary division of each output can generate all chips up through new and used
the needed lower notes. This SGS part replaces the Mostek MK5083. complete organs, besides being one
incredible information source. He
For extremely long cable lengths, welcomes your calls.
Can More Than One Monitor be you might need a video buffer of If you do decide to build a top
Used With a Personal Computer? some sort. RCA has a 3450 video op octave generator for use as a pitch
Sure, if you are careful enough amp that could be useful here. There reference or a tuning instrument, be
about it. With some luck, you might is also a new product called the sure to note these two big gotchas:
even be able to put some of the mon- Rabbit, that’s in the Heath catalog, Your output tones absolutely must be
itors as much as several hundred feet among many other places. This gives filtered to produce the ultra-pure
away from the computer. you a way to extend VCR signals all sinewaves for tuning purposes. And,
There are some gotchas involved, over your house by cable. I am not you have to be able to vary your
though. First, it is far and away best sure if this product can also handle pitch by as much as 30 percent when
to run one continuous cable from baseband video. tuning any piano. Because of the
monitor to monitor, rather than using enharmonic lateral stiffness of piano
a bunch of separate cables from the Top Octave Generators strings, a piano keyboard has to be
computer to each monitor. And Keyers "stretched", rather than tuned to the
Second, just about all the monitors If you wanted to design your own textbook frequencies. Otherwise it
have provisions to terminate or not home, theater, or a church organ will sound awful.
terminate their inputs. Termination is from the ground up today, far and The stretching is as much as one
done by putting a 75 ohm resistor away the simplest and the cheapest third of a semitone for the lowest
directly across the video input. Some way to obtain the highest possible notes, and around half that for the
times this is done with a switch at the quality results would be to model highest. Watch this detail.
back of the monitor. At other times, what you are after on the Ensoniq
you have to use a solder jumper, or synthesizer inside an Apple IIgs and Resources for Electronic Music
else a custom plug of some sort. later on tack on a MIDI card or two. As with any field, the bookstores,
Regardless of the method used, Nonetheless, I do get an amazing tech journals, and popular maga-
only the final monitor in the daisy number of calls from all you Radio- zines that service electronic music
chain should be terminated!. All of Electronics readers who want to do interests are your obvious starting
the intermediate monitors should be things the "old way", using those place. It also helps if you can carry a
switched to their unterminated, or rather obsolete and horribly limiting tune in a bucket.
high input impedance, settings. top octave generators and keyers. The Electronic Music Resources
Naturally, you should keep your I suspect this is mostly the "Gee list of figure six gives you some of
cables as short as possible, and never dad, its a Wurlitzer" folks trying to the more important and more
use a long cable without its far end distance themselves from all those interesting places to go to get started.
terminated. For longer runs, you will "Heavy Metal" punk rockers. Like it Probably the best collection of the
get the best results by using "real" or not, all those punk rockers have electronic music, synthesizer, MIDI,
coaxial cable and BNC connectors, dumped many millions of dollars and audio and video production books in
instead of plain old audio cable and hundreds of thousands of manhours the world is available through the
the usual RCA plugs. into developing very simple, ultra Mix Bookstore. Their free catalog is
14.4
February, 1989
is certainly worth a subscription to.
ELECTRONIC MUSIC RESOURCES The October 1988 issue has good
stuff in it on the SCSI interface
Audio Amateur Mix Bookshelf funda- mentals and on some cheap
Box 576 6400 Hollis Street #12 optical encoders. On the other hand, I
Peterborough, NH 03458 Emeryville, CA 94608 simply cannot even conceive of
(603) 924-9464 (415) 653-3307 anyone ever actually buying one of
those diskless workstations they’re
Devtronix Organs Music, Computers & Software
highly touting in the same issue.
6101 Warehouse Way 190 East Main Street
Sacramento, CA 95826 Huntington, NY 11743
Even when spelled correctly, I do
(916) 381-6203 (516) 673-3243 feel that diskless workstations are
both fascist and on the stupid side of
Electronic Musician Music Technology dumb. Its much simpler to take the
19725 Sherman Way, Ste 160 22024 Lassen Street, Ste 118 epsilon minus who suggested buying
Canoga Park, CA 91306 Chatsworth, CA 91311 diskless workstations and then either
(818) 709-4662 (818) 407-0744 forcing him into early retirement or
Keyboard Musician staking him to an anthill.
20085 Stevens Creek Blvd 1515 Broadway One good and low cost source of
Cupertino, CA 95014 New York, NY 11743 miniature low frequency crystals is
(408) 446-1105 (212) 764-7300 Statek, who have a number of data
Journal AES Rolling Stone sheets, price lists, and ap-notes on
60 East 42nd Street, Rm 2520 8500 Wilshire Blvd, Ste 926 hand. Ask for their literature list.
New York City, NY 10165 Beverly Hills, CA 90211 At one time, all the low frequency
(212) 661-2355 (213) 659-1242 crystals were very bulky, unreliable,
and quite expensive. Statek has now
Journal ASA Speaker Builder completely turned this around, with
335 East 45th Street Box 494 very low prices, very small sizes, and
New York City, NY 10017 Peterborough, NH 03458
good reliability, even when using the
(212) 661-9404 (603) 924-9464
micropower oscillators and filters.
Two sources of low cost infrared
Fig 6 – Here’s a starter list of several of the more important electronic music "people detectors" using new pyro-
magazines and related resources. electric sensors include Amperex and
Pace. They both have several very
an absolute must that you will def- available from Ark-Plas Products. detailed application notes and data
initely want to check out. One good and cheap source for sheets available.
Of all the publications that are custom photochemical etching of thin One of the sneakier use tricks is to
listed though, I think the Journal of materials is Fotocut. Many thanks to use Fresnel lenses with "hot" and
the Audio Engineering Society has Model Railroader magazine for this "cold" imaging areas. As someone
the best long term track record on hard-to-find item. Besides absolutely walks by, they will automatically
both the tech fundamentals and on all outstanding tech writing, you might "chop" themselves into an ac signal
those roots of the digital synthesis want to check out this mag for very at their peak sensitivity of these
revolution, while Craig Anderton’s unusual tools, ideas, and materials. pyroelectric motion detectors.
Electronic Musician offers "hands By the way, if you ever do run into Turning to my own products, yes,
on" coverage of the very latest and a model railroader, just tell him you we now have a complete bound set of
the very best. are now scratch building an 0-2-0 reprints to all of the Hardware
Craig also does have a number of articulated Camelsback, and watch Hacker columns that you’ve seen
outstanding books in print. His MIDI his eyes light up. here to date, along with volumes I
For Musicians is a real classic, as is International Rectifier now has a and II of my sister Ask the Guru col-
his older Electronic Projects for Mu- free Microelectronic Relay Designer umn that you’ll find in Computer
sicians. Mix carries both of these. Manual, mostly on their ChipSwitch Shopper. And, of course, my classic
Let me know if there is anything solid state interfaces. These are real TTL Cookbook and CMOS Cook-
else that you think should be added. convenient for light dimmers, disco book remain available to those of you
So far, we have done some resource chasers, color organs, and the like. wanting to pick up the basics of
collections on handicapped aids and We will see more on this next month. digital integrated circuits.
electronic music. Printer resources Allied Electronics has a new free As always, this is your column and
will appear next month. Which others #889 Catalog. Allied is one of the you can get tech help and some
do you want? oldest of those "old line" electronics off-the-wall networking per the end
distributors and are at long last back box. You’ll find the Names and Num-
New Tech Lit to offering lots of products stocked in bers list combined with all the others
Free samples of several low cost depth at tolerable prices. in the ending appendix. Let’s hear
connectors for pneumatic robotics are The free Hewlett-Packard Journal from you.
14.5
Don Lancaster’s A new "disco" circuit
Zero crossing detection
Hardware Hacker AC power load interface
Phase controlled dimming
Dialog information services
March, 1989
everal helpline callers have over the BSEET degree. The response is that there are more
Fig. 7 – A totally ficticious phase plane plot simulated by using the PostScript page description language. Similar
results can be gotten with most any language on most any personal computer.
17.5
Don Lancaster’s Soup cans full of chips
Sensors and transducers
Hardware Hacker Digital audio front ends
Starting your tech venture
Delta-Sigma A/D conversion
June, 1989
here sure was lots of reader "The concept that HDTV will only "The phone company should be a
RESET
a business as opposed to a hobby. RIGHT AUDIO IN
Any home office or lab space must
be clearly and exclusively dedicated clock A/D
totally and absolutely to the goals of
your intended venture.
All of the deduction rules on home serial-to-parallel
office space have been tightened up
considerably, owing to the previous
abuses. But if your home space is the LEFT AUDIO IN
exclusive and primary place where all options
these activities take place and is in
no way for the convenience of you or
your employer, you should rightfully = breadboarding areas
claim this deduction.
The primary goals of your venture
also have to be legal and must not be Fig. 3 – THE LAYOUT OF THE CDB5126 stereo audio front end. You literally
centered on the management of your squirt your stereo audio into the right side connectors, and 16-bit digital bits
investments. Above all, accurate and and bytes pour out the left. Note that digital +5 volt supply power must be
professional records must get kept, applied AFTER the analog power or serious damage can result.
18.2
Hardware Hacker
What they produce are some totally circuit provides for its own internal Linear Technology is one unique
revolutionary and yet moderate cost sample-and-hold. On any reset, it source for all these single chip stereo
single chip A/D conversion systems automatically self-recalibrates itself. CD audio anti-aliasing filters.
and "plug and go" evaluation boards. You can also force a recalibration at As a review, any A/D conversion
What this means is that at long last any time you care to. scheme must limit its input frequen-
there are some instant and profes- For stereo audio operation, a left cies to less than one-half of the clock
sional quality digital stereo audio channel sample and a right channel frequency or quite serious aliasing
front ends that are hacker friendly sample are alternated using an input will result. For a 44 kHz CD audio, a
and sanely priced. multiplexer. Each channel is sampled very high quality 22 kHz low pass
As we’ve seen in previous issues, at 44 kilohertz for CD digital audio, filter must be provided.
it is real hard for your typical hacker or any sample rate from DC up to 50 There are all sorts of jumper and
lashup to yield even 9 bits of A/D kHz for special uses. The channel dipswitch options on the board for
resolution, let alone 16. The new eval seperation and signal to noise ratio clocking sources, selecting the output
boards eliminate all of that black are both a respectable 92 decibels. codes, and such. Do be sure to care-
magic involved in proper shielding, Distortion is around 0.001 percent. fully read all the ap-notes and data
grounding, and guarding. While by Your usual output is a serial data sheets before you use any of these
no means a beginner project, these stream consisting of alternating 16-bit units. Although these are essentially
boards will let an advanced hacker words of left and right channel data. plug-and-go systems, a 25 Megahertz
quickly digitize first quality stereo While this is ideal for recording, it is oscilloscope is absolutely essential
audio to 16 bits and beyond. For just rather fast and awkward for personal for most of your initial testing and
about any use at all. computer use. Very nicely, a serial to debugging. Do not even think of
Figure one summarizes three of parallel converter is included that di- hacking these without having such a
their more interesting chips and their rectly gives you the seperate left and scope on hand.
supporting evaluation boards. The right channel parallel 16 -bit digital One major gotcha on this evalua-
chips are typically priced in the $16 words at speeds that most personal tion board: Always apply your analog
to $50 range, while their ready-to-use computers can accept and use. power before you apply your +5 volt
evaluation boards run around $150 or What you do is simply squirt in the digital power. Should digital power
so, including the needed A/D chip. left and right channel hi-fi audio, and be applied without analog power, the
The oldest of these three chips is the 16-bit digital words will fall off chip can be destroyed. The simpliest
called the CSZ5126, and is included the other end of the board. It is that way to handle all of this is to derive
in the CDB5126 evaluation board. A fast and that simple. your digital +5 off of the analog +5
simplified block diagram of the board Since this is a more or less tradit- volt source. By the way, this A/D
is shown in figure two, and a simpli- ional converter circuit, you still need chip only draws a quarter of a watt,
fied pictorial appears in figure three. analog anti-alias filtering on your so it is usable for portable applica-
What you have here is basically a input. Figure four does show you a tions. There’s also a standby mode.
16 bit and 100 kHz Analog-to-Digital simple input driver and filter that Naturally, there is no reason you
converter. It uses the traditional suc- should be good for test purposes. For have to run this beast full tilt. Drop
cessive approximation method, but your final circuit, though, a rather down to a 7 kHz sample rate, and you
uses capacitors, rather than resistors, high quality anti-aliasing filter must can handle voice grade audio, with
in a charge rebalancing scheme. The be provided at each input. far less memory storage needs inside
of your personal computer.
Exciting as this chip and board
combo sounds, the other two are even
0.001 µF
more impressive. Before we can un-
derstand them, though, we have to
take a look at…
5.1K
Oversampling and
Delta-Sigma Conversion
5.1K 5.1K
– 200Ω
It sure would be nice to do every-
TO A/D thing on a single chip. The CSZ5126
AUDIO comes close, but it still needs a high
+
INPUT 0.001 µF 0.001 µF performance anti-aliasing filter at its
input for serious applications. And its
OP-27 or similar high specs are useful but not outstanding.
quality op-amp Can we either get rid of this filter or
substitute a simpler one?
Crystal reasoned that an entirely
new approach to A/D conversion was
Fig. 4 – A RECOMMENDED INPUT DRIVER CIRCUIT. Additional anti-alias needed. So, they went on back to the
filtering is likely to be needed for your final CSZ5126 application. drawing board.
18.3
June, 1989
Well, the simplest A/D converter is precision electronic measurements. one digital, since there’s no way to
a one bit converter. You can build up There’s no point in updating digital get enough noise isolation on a single
one of these by using nothing but a displays faster than you can read chip. The analog half still uses loose
comparator or even an op-amp. And them. And locking to a submultiple design rules and is continually being
it turns out there is only one tiny of the power line frequency might improved. Figure six shows you a
thing wrong with a one bit A/D con- dramatically reduce hum, noise, and simplified block diagram.
verter. And that is that the signal to digit bobble. For our first contest this month,
quantizing noise ratio is a miserable A high performance anti-aliasing just tell me what you would do with a
seven decibels. Most people would filter is included internally that lets stereo audio front end or a precision
instantly flush a one-bit converter as you preselect your system bandwidth. analog instrumentation input circuit.
being uselessly noisy, especially for The output is optomized for serial There will be all the usual Incredible
high quality services. communications to a personal com- Secret Money Machine book prizes
But wait. Crystal decided to ask puter or over a modem. The linearity for the best dozen or so entries, with
just where all the quantization noise error is an absurdly low 0.0015 per- an all expense paid (FOB Thatcher,
came from and just how all that noise cent of full scale, or a little over one AZ) tinaja quest for two going to the
was distributed. Well, it turns out part in ten thousand. very best of all.
that the quantization noise is pretty And if that’s not good enough for As usual, send your entries directly
nearly white in nature, meaning that you, there’s a 20 bit version in the to me per the Need Help box, and not
it is pretty near uniformly distributed works that should be able to handle to Radio-Electronics editorial.
from DC clear on up to your actual such ultra-precise needs as an auto- We now have an astounding new
sampling frequency. counting weighing scale. set of power tools here. What are you
So what happens if we dramatic- Their final chip boggles the mind. going to do with them?
ally raise that sampling frequency? This is the CS5326 and its CDB5326
As figure five shows us, most of the companion board. A full 16-bit delta- Sensors and Transducers
noise ends up outside of the passband sigma oversampling stereo audio A/D I sure do get a lot of helpline calls
of your intended input frequencies. If processor with a 96 decibel signal to from Radio-Electronics readers after
you now digitally filter your output, noise ratio, a passband ripple of 0.001 humidity sensors, strain gauges, pres-
you can literally throw away most of decibels, and a total harmonic dis- sure transducers, shaft encoders, and
your quantization noise, and might tortion of 0.0015 percent. Plus only a such. As with any other field, you
ultimately get as much as 16 or even trivial anti-aliasing filter is needed at start off with the trade journals and
20 bits of signal to noise ratio out of the input to boot. major supplier catalogs, and build up
a one bit converter! There’s actually two seperate chips your personal data base from there.
This newer process is known as inside the package, one analog and That Sensor and Transducer Re-
oversampling, and one way of doing
the one-bit A/D conversion is called
Delta-Sigma conversion. One hairy signal clock
but easily done process that greatly
simplifies digital filtering is a digital Note that the total noise energy is the same in
signal processing scam called deci- both cases. With oversampling, though, there
mation, where high clock frequencies is far less noise inside of the signal passband.
are progressively folded over back
into lower and lower ones. 0 1F 2F
This is the route that Crystal chose
to go on their newer chips. Besides (A) NORMAL SAMPLING
being elegant, powerful, and cheap,
the new method has another big plus signal clock
– the sampling frequency is now so
remote that your input anti-aliasing
filter becomes utterly trivial. Even a
single resistor and a capacitor can quantizing noise
often do the job, and the input driver
of figure four is more than adequate.
0 1F 8F
Crystal chose two different routes
for their first delta-sigma A/D pro- (B) 4X OVERSAMPLING
ducts. The first is the CS5501 and its
companion CDB5501 evaluation
board. This is a chip optomized for Fig. 5 – THE QUANTIZATION NOISE of an A/D converter is often distributed
precision instrumentation measure- from DC on up to the sampling frequency. By oversampling and then digital
ment at sampling rates of 10 Hertz or low pass filtering, a 1-bit A/D converter can actually end up with far less noise
less. Totally useless for audio, of than a 16-bit one! This is one of the key secrets to Crystal’s Delta-Sigma
course, but just what you need for conversion and post decimation digital filtering scheme.
18.4
Hardware Hacker
sources sidebar shows you a few of and ready-to-use instruments. Sadly, Shaft encoders and their low cost
my favorite information sources. these folks are often very expensive. encoder conditioning integrated cir-
I guess I do like that free Measure- Some very low cost temperature cuits are now readily available from
ments and Control trade journal best, and pyroelectric people detector sen- Hewlett-Packard; others advertise in
with Carl Helmer’s Sensors coming sors are now avilable from Amperex, Motion magazine.
in a close second. while the traditional source of very Be sure and let me know if you
While it sounds a tad off-the-wall, linear thermistor temperature sensors have any other favorites that belong
Pollution Equipment News does have has been Yellow Springs Instrument. on this list.
plenty of useful transducer and sen- While there still is no stable and
sor info in it. I happened into this wide ranging $5 humidity sensor yet Discrete Soup Cans
trade journal after I got rather tired of available, two useful supply sources All of the good folks at SGS have
paying $2 per ounce for the hot tub include Omega and General Eastern. recently run a free "soup can" pro-
clarifier that the sewage plant people For pressure transducers, Motorola motion. On your letterhead request,
were paying $2 a gallon for. and Micro Switch were the traditional they will send you a can full of a
Omega Engineering probably has biggies, but they have now gotten to- dozen mainstream discrete semicon-
the widest selection of the sensors for tally eclipsed by the "gang of three", ductors. And nearly every one of
pressure, temperature, humidity, ph, that include SenSym, IC Sensors, and them is an outstanding hacker com-
conductivity, strain, and whatever NovaSensor. Start with SenSyms out- ponent that’s easy and fun to use.
else available, along with lots of fine standing data book, slide rule, and ap There’s a zener diode, an ac power
technical books, excellent ap-notes note package. line controlling triac, a fast recovery
diode, and a transient zapper. Fancier
chips here include a medium power
LEFT bipolar power transistor and a high
AUDIO power MOS transistor, a 5 volt reg-
INPUT 1-bit decimating ulator, and the obligatory 555 timer.
delta-sigma digital low 16-BIT
A/D converter pass filter SERIAL
From various logic families, you will
OUTPUT find an octal latch, a hex inverter, a
quad AND gate, and a dual AND-OR-
INVERT gate.
1-bit decimating L/R mux This is an all around "must have"
delta-sigma digital low good deal. Let’s start with the soup
A/D converter pass filter
RIGHT can and go a step further.
AUDIO What are the real top forty hacker
INPUT components? As a second contest this
month, send me a list of a dozen or
so of all of your favorite electronic
Fig. 7 – A SIMPLIFIED BLOCK DIAGRAM of the CSZ5326 A/D. The mind parts, tell me why you like them, and
blowing specs here do include a 95 decibel dynamic range, 106 decibels of why they do belong in the top forty.
signal/noise ratio, 0.001 decibels of passband ripple, and a 0.0015 percent Later on, we’ll work this up into a
harmonic distortion for both 44 kHz stereo channels. master list of all the good stuff. ✦
18.5
Don Lancaster’s Toner reloading tools
More on digital audio
Hardware Hacker Getting an oscilloscope
Some bar code resources
Simple CMOS oscillators
July, 1989
here sure was quite a bit of purpose of hacking is to get all the of owning a real Tektronix.
accept an ordinary NTSC (Never The News. Its chock full of infrared lasers we are now shipping the Hardware
Same Color) interlaced tv input and and similar goodies. The free demo Hacker II reprints of everything you
doubles the horizontal scan rate, to disks this month include Precision have seen here in Radio-Electronics,
give you a flicker free and apparantly Decisions from PMI, and UltiBoard along with my Ask The Guru, vol-
much sharper solid scan video output PCB Design from all of the people at umes I and II from the sister column
suitable for display on a Multi-Sync Ultimate Technology. to this one over in Computer Shopper
monitor or whatever. There’s lots of mechanical stuff magazine. And, yes, I do stock auto-
One "must read" recent paper on this month. The Vortec people have graphed copies of five of my classics
Levitation in Physics appeared back all sorts of ultra-simple solid state – TTL Cookbook, CMOS Cookbook,
in the January 20, 1989 Science that cooling devices that use nothing but Active Filter Cookbook, and Micro
shows you proven methods to levitate shop air to produce temperatures as Cookbook, volumes I and II .
both solids and liquids. Half a dozen low as -40 degrees Farenheit, or alter- If you are at all into any Apple
viable methods are covered in depth nately produce significant amounts of computing, you will find autographed
with a good bibliography. localized cooling. copies of my Enhancing Your Apple
Newark Electronics has just come Value Plastics has free samples of IIe, volumes I & II, my Apple Assem-
out with their free monster 1106 page their ultimate solution to low cost bly Cookbook, and my AppleWriter
Catalog #110. Although Newark was custom robotics pneumatic connec- Cookbook, along with their com-
among the oldest of those "old line" tors – bondable fittings that can be panion disks available directly from
distributors, they do stock everything mixed and matched most any way. me here at Synergetics.
in depth, have a tolerable minimum Such things as custom manifolds are And if you want to get further into
order, and are not nearly as hacker now utterly trivial to do. PostScript, the magic language that
vicious as most of their competitors. And, Merryweather Foam now has does all of the artwork you see here
Some of the more interesting new a free sample card of their urethane using nothing but your favorite word
surplus flyers this month do include and polyester foam products. processor, check into my Intro To
BCD Electro, All Electronics, and Stick II Products has a free sample PostScript video or my PostScript
Time Line. The latter has 256 element flyer on many of their pressure sen- Show and Tell disks, now available
CCD line image video scanners for an sitive foam tapes, while Unette has a for most personal computers.
unbelievable $5 each. free sample packet of their miniature As our usual reminder, this is your
The old Solid State Music analog liquid dispensing packages. column, and you can gain tech help
integrated circuits has been taken There’s a rash of free samples on and off-the-wall networking per the
over by PMI. Ask for their SSM Audio all of those new fifth generation op- number in the end box. Note that all
Products Catalog. Included are volt- amps floating around. Check out of the names and numbers have been
age controlled amplifiers and filters, Texas Instruments for a freebie on gathered together into a common file
along with log/antilog circuits, low their Enhanced JFET technology, or at the end of this reprint volume. All
noise amplifiers, and lots of similar National Semiconductor for their VIP of those names and numbers in the
analog goodies. Process high speed op-amps and vid- resource sidebars have also gotten
You’ll find a brand new free trade eo buffer circuits. repeated a second time in our final
journal known as Fiberoptic Product Turning to my own products, yes, Names and Numbers section.✦
19.5
Don Lancaster’s Cold fusion secrets
Electrolytic chemistry
Hardware Hacker A new light show BBS
Future power resources
The isotopes of hydrogen
August, 1989
ay you live in interesting greater than can easily be explained on this at all, if you haven’t already
30,000
palladium anodes is very critical, and
%
100
20,000
The big reason for worrying about
RH
%
industrial part equivalents. While Electronics. They also offer Moto- There’s also a good tutorial on noise
their pricing is usually higher than rola’s Specs in Secs IBM compatible and noise testing included.
the industrial sources, they will data disk at no charge. As always, do The leader in charge controlled
gladly sell in single quantities and make your sample and other freebie device CCD image sensors is now
usually have a very broad selection in requests on your own laser printed Reticon. But Texas Instruments has
stock. business letterheads. their TC210, 220, 230, and 240 sensors
It is also lots of fun to browse on Some really great used computer and evaluation kits available, which
backwards through the simplified bargains, Apple and otherwise, are include a 488 x 754 full color RGB
chip schematics in these catalogs. available through Richard Harold of evaluation board.
Often, you can pick up off-the-wall Shreve Systems. They are now sell- Others introducing new and lower
new use applications for many of the ing brand new Franklin keyboards at cost CCD devices include RCA with
circuits shown. $12 each in singles. their SID504DD device, along with
Be certain to check this pair of A premounted strain gauge useful several new devices from both
catalogs out thoroughly. They are for electronic scales and whatever is Tektronix and Kodak.
just about indispensable. available from Revere as their model Turning to mechanical samples,
FT-30 force translator transducer. It free baggies of vinyl dipped products
New Tech Literature is available in ranges from 1 up to 40 are gotten through PMP. One great
New data books this month include pounds, and in resistances from 0.5 to place to pick up free samples of any
the "must have" TTL Logic Data Book 25 ohms. mechanical goodie is through New
from Texas Instruments, that LSI The Hewlett Packard Journal is a Equipment Digest.
Products Data Book from TRW ; a good free source of technical details The new trade journals this week
Specialty Memory Products Data Book on sophisticated electronic devices. include Surface Mount Technology
from Advanced Micro Devices, and a Their old February, 1987 issue had a and Electronic Manufacturing. As
major upgrade of the Smart Analog good tutorial on wide range optical usual, you can qualify with your own
Data Book from Crystal Semi- and infrared sensors in it. laser printed business letterhead.
conductor. This last jewel has some Speaking of IR sensing, Amperex For those of you that want or need
outstanding digital audio integrated has some miniature and sensitive more info on all my book-on-demand
circuits in it. pyrolitic infrared detectors whose publishing, there’s my Ask the Guru
A $15 kit full of tilt and impulse prices start at $3.50. This looks like a reprints, volumes I and II, and the
switches is now available from Fifth really great component, but I have Hardware Hacker reprints for this
Dimension, while a free new PLC-V8 not yet had the chance to test them column series. We also stock lots of
Design Kit is available from Signetics yet. One obvious application is in PostScript books, software, and even
that involves their new erasable logic "hot spot" detectors for use by the videos. The Hardware Hacker help
arrays. Free electroluminescent lamp fire service. Current devices are line may also be used for PostScript,
samples are available from Nordic ridiculously expensive and many of book-on-demand and laser printing
Lite, while free force sensing resistor the volunteer fire departments simply help or networking.
cards are provided by Interlink cannot afford them. Note that there are once again two
Electronics. For some new information on Names and Numbers sidebars for this
Three free samples of Motorola electronic noise, and noise diodes for month, one for the humidity stuff and
TMOS power control transistors are testing in particular, check out the one for just about everything else.
newly available through Hall-Mark Micronetics noise diode brochure. Let’s hear from you.✦
21.6
Don Lancaster’s Solid state visible laser
Laser hacking resources
Hardware Hacker Picking a filter capacitor
Stereo wireless broadcaster
International power standards
October, 1989
e seem to have a pair of real world, you’ll allow a tad extra discharge rate is determined by the
LASER RESOURCES
Applied Laser Tech Heath Company Lasercraft Photonics Spectra
7707 East Acoma Drive PO Box 1288 PO Box 696 PO Box 1146
Scottsdale, AZ 85260 Benton Harbor, MI 49022 Santa Rosa, CA 95402 Pittsfield, MA 01202
(602) 483-1214 (616) 982-3200 (707) 528-1060 (413) 499-0514
Edmond Scientific Herbach & Rademan Lasers and Optronics Sharp
101 E. Glouchester Pike 401 E Erie Avenue Box 650 Sharp Plaza
Barrington, NJ 08007 Philadelphia, PA 19134 Morris Plains, NJ 07950 Mahwah, NJ 07430
(609) 573-6250 (215) 426-1700 (201) 898-9281 (201) 529-8757
Fiberoptic Product News Jerryco Meredith Instruments 3D-Systems
301 Gibralter Drive 601 Linden Place 6403 North 59th Avenue 26081 Avenue Hall
Morris Plains, NJ 07950 Evanston, IL 60202 Glendale, AZ 85301 Valencia, CA 91355
(201) 292-5100 (312) 475-8440 (602) 934-9387 (818) 898-1533
Fiberoptics World Laser Focus World Nuts and Volts Toshiba
1421 South Sheridan 1421 South Sheridan Box 1111 9775 Toledo Way
Tulsa, OK 74112 Tulsa, OK 74112 Placentia, CA 92670 Irvine, CA 92718
(918) 835-3161 (918) 835-3161 (714) 632-7721 (714) 455-2000
place information on to that beam. beautiful wood carvings for yuppie (220 volt, 50 Hz, Schucko plugs) and
Three of the highest volume uses of desk accessories, while the Applied Burkina Faso (220 volt, 50 Hz, un-
lasers are for CD players, for desktop Laser Tech folks do have some inter- grounded eurocord) are included. A
publishing printers, and for fiberoptic esting laser engraving machines you complete list of all the world-wide
communication. All of these crucially might want to check into. And, as we standards organizations and regula-
depend on laser beam modulation. have seen, 3-D Systems is now in the tory agencies are also provided.
So where can you start? Far and center of laser stereolithography.
away the best source of hacker laser There are a number of free laser New Tech Literature
parts in the country is Meredith In- trade journals. Four of the more use- New data books for this month do
struments, who also have a new light ful laser include Laser Focus World, include the Lamda Semiconductors
show BBS up and on line at (602) Lasers & Optronics, Fiber Optic Sys- Databook on high curent power sup-
867-7258. Their competitors include tem News, and Photonics Spectra. ply regulators, and controllers; and a
Herback and Rademan and Jerryco, Memory Databook from OKI . SGS
along with a number of other sources Foreign Power Supplies has a pair of application books out,
that advertise in Nuts and Volts and I’ve now gotten several calls from one on Zero Power Memories and a
right here in Radio-Electronics. people who want to take all their second on Cache Memories.
The really big news is that new computers overseas or to some other Free electronic evaluation samples
TOLD-9200 visible red solid state country, and were asking about the include the LM6321 op-amp from
laser by Toshiba. These dudes are power line voltage and frequencies, National Semiconductor. This is a
now in volume production, are easy the connectors, the video standards, higher performance replacement for
to modulate, rugged, last forever, and adaptors, and so on. their old hybrid units, usable for
are simple to battery power. And Well, the overwhelming majority video and fast gain blocks. Xicor is
costs should ridiculously drop in the of the civilized world runs on 220 also offering free samples of their
future. Among its numerous other volt 50 Hertz power using strange X2402 electrically erasable PROM ,
features, this new product can single power connectors. organized as 2K x 8 over a two-wire
handedly quadruple the storage on a The bottom line is this: Do not serial interface.
CD disk or double the resolution of a take your computer out of the coun- Murata has a wide selection of
desktop publishing laser printer. Not try. Ever. The hassles, both electrical surface mounting kits in stock, even
to mention that you can actually see and bureaucratic, will eat you alive. including a free packet of surface
where the beam is pointing. Rent or buy a local computer when mountable ceramic capacitors. Some
Sharp has a very interesting Laser you get there instead. interesting and sanely priced rf coil
Diode User’s Manual out. This one is There’s an outfit known as Panel designer and current sensor kits are
both free and an essential resource. Components Corporation who have available from Coilcraft.
Many infrared laser diodes now have issued a new and free Export Design- Free samples of rubber and plastic
built-in photodetectors, so a feedback er’s Reference and Catalog #5 . tubing useful for pneumatic robotics
loop can be used for stability. This beauty can show you which is available from Hygenic. And two
Two obvious sources of education connectors get used in what country, free publications from Maxim should
laser stuff include both Heathkit and and lists the standard voltages and prove most useful, namely the Maxim
Edmund Scientific. Picking a few frequencies for pretty near every Engineering Journal and the Maxim
names at random, LaserCraft does country in the world. Even Svalbard Design News.✦
22.4
Don Lancaster’s More on cold fusion
New PostScript video
Hardware Hacker Linear stepper motors
Stepper driver circuits
Modelmaking resources
November, 1989
s cold fusion for real? Most of herently low efficiency of any heat
MODELMAKING RESOURCES
operating frequency. Thus, there is ment rates are inexcusably chintzy. book-on-demand published a series
no such thing as a "best" low noise For more info, contact Ed Mosher at of reprints from my LaserWriter
amplifier. Low noise design is also the Heath Buyers Club. Corner, originally found over in the
easily trashed by poor shielding or A free primer on spectrum analysis Computer Shopper magazine. In-
improper grounding and guarding. is available from Tektronix, while cluded are over three dozen free and
Other sources of low noise amplifier Brookfield has lots of free ap-notes unique PostScript fonts. For those of
info include Precision Monolithics, available on viscosity measurement you starting up your own hacker tech
Burr Brown and Linear Technology. and control. Call them for a free list. venture, you might want to check
Rohm has a pair of new data books Needless to say, you’ll get the best into my Incredible Secret Money
available on all their absolutely out- inquiry and sample results with your Machine book.
standing hacker integrated circuits. own laser printed letterhead or else As always, this is your column and
Try to get the fat Japenese book as by making a professional sounding you can get technical help and off-
well as the thin English one. telephone request. the-wall networking per the Need
Heath Electronics is a brand new Turning to my own products, I’ve Help? box. The best calling times are
hacker publication. They are also just finished my new Introduction to weekdays 8-5 Mountain Standard
looking for authors, but their pay- PostScript videotape, and have now Time. Let’s hear from you. ✦
23.5
Don Lancaster’s Optical reprint sources
Hacker pc breakthough
Hardware Hacker Clock and doorbell chip
Printed circuit resource list
Faking double-sided boards
December, 1989
ur stupendously major new about manditory for all but the short- single layer of copper foil laminated to
Keyword Index
ABC’s of Oscilloscopes – 19.1 Bead Chain – 23.4 Curie point – 12.2
absolute humidity – 21.3 beam power density – 22.3 custom cut vinyl – 23.4
absolute navigation – 7.1 bindery systems – 21.3 CX toner cartridge mods – 5.1
absolute pressure – 10.2 bipolar stepper motor – 23.1 CX & SX maintenence manuals – 19.3
ac computer interface – 15.2 blue light emitting diodes – 10.4
ac input optoisolator – 15.3 BMW dealers – 14.1 Daisy chain – 14.4
ac lighting controls – 15.2 BNC connectors – data access arrangement – 7.2; 7.3
action at a distance – 22.3 book-on-demand publishing – 21.2 data bits – 6.2
active filter – 17.3 bounceless switch – 1.2 data books – 1.4; 2.4; 13.1
Active Filter Cookbook – 11.5; 16.4; 17.3 Bourdon gauge – 10.2 data conversion circuits – 4.4
A/D converter – 9.1; 18.4 Brunton compass – 12.2 DCE "modem" communications – 6.3
A/D conversion fundamentals – 9.1 brute force method – 13.2 dead band – 19.2
A/D software – 8.4 BSEE degree – 15.1 decimation – 9.2; 18.4
adder-accumulators – 16.1 BSEET degree – 15.1 degaussing coils – 3.2
additive method – 24.2 BSR X-10 – 15.3 delta-sigma A/D converters – 9.2
alias – 9.2 burgular alarm – 2.4 delta-sigma conversion – 18.3
alternate energy material – 12.4 busy signal – 17.1 deuterium – 20.1; 20.3
altimeter – 10.2 buying club – 16.2 device independence – 5.2
Alx Digital – 15.4 dewpoint – 21.4
Amberlith – 13.4 Call progress detectors – 12.4; 17.1 dial tone – 17.1
ammonium persulfate – 24.4 Canon CX cartridge – 5.1 Dialog Information Service – 15.1; 21.1
Analog Interface – 13.4 Canon Fuser Unit – 11.2 digital audio – 18.2
Analog Dialog – 10.5 Canon SX cartridge – 16.3 digital audio front end – 19.1
Analog-Digital Handbook – 10.5 Caplugs sample idea kits – 15.5 digital signal processor – 14.1
analog-to-digital converter – 5.1; 18.3 CCD image sensor – 21.6 digital signal processing – 17.3
aneroid barometer – 10.2 CCD line scanners – 19.5 digital sinewaves – 13.2; 16.1
anti-alias filter – 9.1; 13.1; 18.3 CCD signal processing – 4.4 digital tone generator – 8.1
anti-aliasing – 9.2 CD digital audio – 18.3 digitally detected time code – 13.1
apeture time – 9.3 CD-FM converter – 21.2 digitizing oscilloscopes – 12.4
Apple Assembly Cookbook – 14.3 CD ROM distribution – 15.5 direct pc method – 24.3
Apple to IBM interface – 3.4 ceramic resonators – 11.5 direct toner method – 24.1; 24.5
Apple IIe/IIgs A/D driver – 8.3 chaos theory – 17.4 disco chip – 15.4; 15.5
Apple IIgs – 14.4 charge balancers – 9.2 discrete soup cans – 18.5
Apple IIgs interface cable – 3.2 charge rebalancing – 18.3 diskless workstations – 14.5
Apple IIgs monitors – 3.2 cheap Omnicrom fuser – 11.2 dislocation chamber – 16.4
AppleWriter Cookbook – 19.5 chilled mirror – 21.4 dissociation – 20.2
archaeomagnetism – 12.2 chromatographic indicators – 20.3 DMOS transistors – 12.4
Art of Computer Programming – 14.3 Circuit Cellar Ink – 7.1; 13.4; 17.1 dog watering machine – 9.1
Ask the Guru ' 19.4 Cocobolo – 23.4 dosimeters – 20.5
Ask the Guru reprints – 12.4 coherent light – 22.3 double sided boards – 24.2
Association of Energy Engineers – 12.4 cold fusion – 20.1; 21.1; 23.1 Drop-in Amplifiers –
Assoc Identification Manufacturers – 19.4 cold fusion patent – 23.1 drum hard recoating – 19.3
asynchronous teletype code – 6.2 collimated – 22.3 drum lubricant – 19.4
Atascotia Industries – 16.4 color organs – 15.2 dry film photoresist – 24.5
audio access arrangement – 7.2 ColorEase – 16.4 DTE "printer" communications – 6.3
AutoHelm – 12.4 Commodore 64 – 12.1 dual slope converters –
automotive electronics – 1.1 companders – 9.1
automotive TCS valves – 4.1 component side – 24.2 Earth’s Field Magnetometry – 16.1
avoided cost – 9.4 computer based Hypermedia – 14.1 earth’s magnetic field – 12.1
computer modeling – 12.1 ECG – 21.2
Bakerizing – 11.3 Computer Shopper – 6.2 economics of scale – 20.4
bar codes – 4.2 conjugate phase decongruence – 16.4 EEPOT test circuit – 1.3
bar code resources – 19.4 continuity checker – 19.2 EEPOT pinouts – 1.2
barrel shifter – 10.5 continuity tester – 2.4 8-channel A/D converter – 9.3
barometer – 10.2 copper cleaners – 24.4 Electric Interurban Railways – 18.1
BASIC language – 17.5 corporate birdbaths – 11.1 electroluminescent lamps – 13.4
battery charger chip – 11.5 Cryptosystems Journal – 21.2
battery powered regulators – 4.2 custom CD ROM disks – 15.5
baud rate – 6.2 Cover Up Tape – 11.2
xxi
Hardware Hacker
electrolyte – 20.2 fusion wiper wand – 16.3 International Teleportation Journal – 16.3
electrolytic cells – 20.2 Intro to Gate Arrays – 15.5
electrolytic level – 10.1 Gadolinium – 15.4 inverse square law – 22.3
Electronic Industry Phone Book – 9.4 gamma correction – 15.3 investment tax credit – 18.2
electronic music chips – 2.4 gate array design – 4.4 isotopes – 20.3
electronic music resources – 14.4 Gatorfoam – 2.4
Electronic Musician – 13.4; 14.5 gauge pressure – 10.2 Journal of the AES – 14.5
Electronic News – 16.2 Gauss – 12.2
electronic noise – 21.6 Geodetic Research Lab – 11.1 Keyboard auto-repeat – 19.3
electronic replacement parts – 12.4 getting component parts – 6.1 Knuth, Donald – 14.3
ERA Directory – 9.4 glass epoxy – 24.1 Kroy fusion machines – 21.3
electronic scales – 6.5 GlompenStractor – 19.3 Kroy Kolor – 11.1
electronic surplus sources – 11.4 good guys – 13.1 KVH Industries – 12.4
electronic trade journals – 16.2; 17.1 GoScript – 12.1; 24.6 Kynar Piezo Film – 4.3
engineering thermoplastics – 13.4 guarding and sheilding – 9.3
Ensoniq synthesizer – 14.4 guillotine paper cutter – 21.3 Lamp dimmers – 15.3
EPROM erasing lamps – 24.6 guitar playing machine – 9.1 LAN of the eighties – 10.4
evaporative coolers – 21.4 lanthanum floride – 15.4
exchanging text files – 3.3 Hafnium – 15.4 laser guide – 4.4
exotic metals and elements – 10.5 hamfests – 16.2 Lasers and Optronics – 13.4
exotic metals and rare earths – 15.4 Handbook of Physics – 15.5 Laser Diode User’s Manual – 22.4
handshaking – 6.3 laser inferometer – 22.3
Fair Radio Sales – 19.4 hardware – 11.3 laser pumping – 22.3
fax mail delivery – 18.1 harmonics – 13.3; 14.3 laser resources – 22.2
FCC Regulations – 7.3 HDTV – 18.1 LaserWriter – 19.3
feedforward converter – 9.1 Heated Mold Release Agent – 24.6 LaserWriter Reference – 17.5
ferric chloride – 24.4 heavy metal punk rockers – 14.4 law of partial pressures – 21.3
FET Data Book – 6.5 heavy water – 20.1; 20.3 Levitation – 19.5
FETDIP – 15.5 Herbach and Rademan – 11.4 library BBS systems – 15.1
Fetlington – 15.5 Hewlett-Packard Journal – 14.5; 21.6 light show BBS – 20.5
Field Effect Transistors – 15.5 high definition television – 14.1 line item minimum – 16.2
field programmable arrays – 10.4 high side drivers – 8.4; 20.5 line synchronizer circuit – 15.4
finding names and numbers – 9.4 holding tank – 16.3 Linear Circuits Applications – 16.5
fire alarm telegraph – 10.4 holography – 24.6 Linear Integrated Circuits – 15.5
fish ear magnets – 16.1 Hooks, Points, & Teeth – 24.6 linear steppers – 23.2
fission – 20.3 hot spot detector – 4.3 linear regulator – 4.4
flame detectors – 15.5 hot wire anemometer – 21.5 linear thermistor – 18.5
flash converter – 9.1 humidity sensors – 11.5; 18.4; 21.3 linearity – 10.3
flexible circuit boards – 24.2 hydrogen dangers – 20.2 Lindsay Publications – 19.4
floating point – 8.3 hysteresis – 10.3; 19.2 liquid crystal displays – 16.4
floating point converter – 5.1; 8.2 liquid level detector – 2.3
flute-like sinewave – 14.3 ID Systems – 16.4 liquid plastic photopolymer – 12.1
flux gate compass – 21.5 image sensing products – 4.4 Lissajous figure – 17.4
fluxgate automotive compass – 15.1 improved definition television – 19.4 Lorenz attractor – 17.4; 21.2
fluxgate magnetometer – 12.2; 15.1 inches of water – 10.2 loss tangent – 2.4
fluxgate sensors – 16.1 Incredible Money Machine – 13.3; 15.2; low cost lasers – 4.4
foil side – 24.2 18.2 low cost parts – 5.5
Fomebords – 10.4; 23.4 indium wire – 15.4 low-end digital compass – 21.5
forse sending resistor – 21.6 industrial shopper resources – 11.5 low-end flux gate compass – 21.5
Forth – 5.3 infrared control preamplifier – 8.2 low frequency crystals – 14.5
Fourier series – 14.3 infared detectors – 21.6 low frequency resources – 17.2
frame grabber – 14.1 infared detection – 24.6 low noise FET amplifier – 23.4
Freedom of the Press – 24.6 infrared filters – 16.1 low power regulators – 16.2
free mechanical samples – 21.6 infrared miniature sensing – 6.5 low pressure air system – 4.3
free samples – 16.2 infrared "people detectors" – 14.5 low pressure pneumatics – 4.1
fresh toner tank – 16.3 infrared receivers and decoders – 8.2 lower trip point – 19.2
Fresnel lenses – 14.5 infrared response curves – 16.1
frying in its own grease – 14.3 Innovative Design Fund – 3.1 M50734 – 7.4
full wave power supplies – 22.1 INSPEC data base – 15.2 MacroChip Demo – 15.5
fusion – 20.4 instant transfers – 16.4 magic capacitor value – 22.2
fusion reactions – 20.3; 20.4 intelligent power strip – 15.1 magnetic declination – 12.1
fusion wiper pads – 19.4 interlibrary loan – 15.2 magnetic heading reference – 12.3
xxii
Hardware Hacker
magnetic inclination – 12.2 NTSC – 14.2; 19.5 PostScript video – 5.5; 23.5
magnetic north – 12.2 Nuts and Volts – 11.5; 16.2; 17.1 pounds per square inch – 10.2
magnetohydrodynamics – 12.1 Nyliner bearings – 4.4 Power Handbook – 15.5
magnetoresistive sensors – 16.1 nylon wetsuit material – 12.4 Power Products – 5.5
major chord – 14.3 power supply circuits – 10.5
mass teleportation – 16.3 O ring – 4.2 Powerconversion – 7.1
mass transferrence receiver – 16.4 ocean thermal electric power – 23.1 pressure sensors – 7.4
mass transferrence transmitter – 16.4 Old Colony Sound Lab – 16.4 pressure transducers – 4.3; 10.2; 18.5
Materials Research Society – 3.1 Omnicrom – 11.1 printed circuit layouts – 7.4
Maxim Design News – 4.2 one ounce copper – 24.1 printed circuit resources – 24.3; 24.5
Maxim Engineering Journal – 22.4 optical and infrared filters – 13.4 Printer’s Shopper – 21.3
maximal length sequence – 14.4 optical semiconductor – 6.5 programmable logic – 15.5
Measurements and Control – 10.1 optical solid state gyroscopes – 7.2 proprietorship – 18.2
measuring low temperatures – 10.1 optoelectronics – 4.1 proteum – 20.3
measuring pressure – 10.2 oscillators – 19.3 proton magnetometer – 12.2
mechanical pc method – 24.3 oscilloscope – 16.4; 19.1 pseudorandom generator – 14.2
Meissner Effect – 2.2 overload protector – 3.1 pseudo-random sequences – 14.2
melody chip – 24.6 oversampling – 18.3 Psychedelia I – 15.2
memory upgrades – 6.3 oversampling converters – 9.2 psychedelic lighting – 17.4
MicroCAD News ' 17.5 Psyctone – 14.3
Micro Cookbooks – 12.4 Pad printers – 21.3 PTC switching thermistor 3.1
Microelectronic Data Book – 16.4 PAL – 14.2 punch and go method – 5.1; 16.3; 19.3
microstepping – 23.2 PAL Devices – 11.5 Pumping Foam – 10.4
microwave amplifiers – 10.4 paleomagnetism – 12.2 pyroelectric people detector – 18.5
microwave transistors – 11.5 palladium – 20.1 pyrolitic infrared dectectors – 6.5
MIDI – 14.4 Panel Components Corp – 22.4
MIDI construction projects – 13.4 paper jogger – 21.3 Quadrature art – 17.4
MIDI For Musicians – 14.5 parity bit – 6.2 quadrature sense winding –
miniature fluorescent lamps – 24.6 patents and patenting – 10.1; 14.1 quantization noise – 18.4
minimum order – 16.2 Payphone Exchange – 3.4
minimum order hassels – 16.2 pc layout code – 24.6 Rabbit – 14.4
Mitsubishi Microcontrollers – 7.4 per-page toner cost – 16.3 radial arm laser – 22.3
Mitsubishi M50734 – 15.4 Personal Engineering – 8.4 Radio Amateur’s Handbook – 16.1
Mix Bookstore – 14.4 perspective transformations – 6.4 random numbers – 14.2
MMIC circuits – 11.5 phase addition – 16.1 raw iron – 11.4
modelmaking resources – 23.3 phase control dimming – 15.3 R-C time constant – 19.2
Model Railroader – 14.5 phase increment – 16.1 RCA plugs – 14.4
model shop – 23.3 phase lock loop method – 13.2 Real Goods Trading Company – 12.4
modification kits – 11.3 phase lock loops – 16.1 refill toner – 5.1
molded gear samples – 24.6 phase plane plots – 17.3 refilling SX cartridges – 16.3
monochromatic – 22.3 photochemical etching – 14.5 relative humidity – 21.3
MOS Products Catalog – 16.4 photochemical machining – 20.5 relative pressure – 10.2
Motion – 7.1 photographic pc method – 24.4 relay – 4.4
motors – 11.3 photopolymer liquid resin – 1.3 remote controls – 8.1
multi-layer boards – 24.2 phototriac isolator – 15.2 remote control transmitter – 8.2
multiple monitors – 14.4 piezoelectricity – 4.3 remote volume control – 1.1
multiplexing video amplifier – 3.3 picture plane – 6.4 reorder signal – 17.1
Musette – 15.2 pitch reference – 14.4 repair semiconductors – 6.2
mystery chip – 21.2 Pixie Dust – 5.2; 19.4 replacement integrated circuits – 21.5
plastic caps and plugs – 15.5 replacement semiconductors – 5.3
NASA Tech Briefs – 3.4 plastic prototype – 12.1 remote control – 22.2
NaviCube – 7.1 plated through holes – 24.2 reversable reaction – 20.2
neodymium oxide – 15.4 plexiglas – 13.4 ringback signal – 17.1
new age distributor – 16.2 pneumatic robotics – 14.5 ringer equivalency numbers – 7.3
new pressure sensor – 10.3 pneumatic valve – 7.1 ripple filter capacitors – 22.1
new superconductors – 2.1 Popular Electronics – 17.1 ripple waveform – 22.1
new video chips – 3.3 porous plastics – 17.5 robotic cow – 5.5
News and Views of Imagineering – 3.4 positors – 3.1 robotic hardware – 11.3
noise diode – 6.5 PostScript – 5.2; 17.4; 17.5; 19.4; 19.5 rubber hoses – 10.3
non-volatile EEPOTS – 1.1 PostScript BBS bulletin boards – 5.3 rubber sheeting or tubing – 6.5
northerly turning error – 12.2 PostScript graphics – 5.3 rubber tubing – 22.4
NTE – 21.1 PostScript Show and Tell – 16.4 Rubylith – 13.4
xxiii
Hardware Hacker
need help?
Phone or write your
Hardware Hacker
questions to:
Don Lancaster
SYNERGETICS
Box 809
Thatcher, AZ, 85552
Voice Helpline: (520) 428-4073
email: don@tinaja.com
vii
Hardware Hacker
viii