Documente Academic
Documente Profesional
Documente Cultură
L!Iv EL ECTRONICS
EPERIMENTERS
handbook.
Build A Super Directional Microphone
BUILD A SEMICON E a
Build A Solid State Disk Drive For Your PC
How To Put A TV In Your Multisync Monitor
Build A Novel Rocket Altimeter
Build A High -Tech Xmas Card
25
$125
Transistor Tester MULTIMETERS
TEST EQUIPMENT $58.95 All Models
9 Ranges Measures: $55 CM -1500B
All Models Available .1p1- 20,000ufd
Coils 1uH -200H Reads Volts, Ohms Available
.5% basic accy. Caps .1 pf -200u Current, Capacitors,
Call for special price Zero control w/ Case Res .01 -20M Transistors and
Call for special price
Diodes / with case
Big 1' Display Big 1' Display
Quad Power Supply XP -580 Triple Power Supply XP -620 AM /FM Transistor True RMS 41/2
$59.95
Assembled $69 Radio Kit Digit Multimeter
2 -20V @ 2A
Kit $45 with Training Course M -7000
2to15V @1A,
12V @ 1A
5V @ 3A
-2 to -15V @ IA Model AM/FM 108 $135
(or 4 to 30V @ 1A) .05% DC Accuracy
-5V @.5A
and 5V @ 3A $26.95 .1% Resistance
All the desired features for doing experiments. Transistors
14 5 Diodes with Freq. Counter
Fully regulated and short circuit protected
Features short circuit protection, all supplies Makes a great school project and Deluxe Case
GF -8015 without Freq. Meter $ 179 AM or FM capability -1.25 to-20VDC @.5 Amp
(-1.2510 -15VDC @ 1 Arai
DIGITAL - SECTION
Eight data maims
Two no bounce Age switches
Earl LED readouts TTL. buffered
SG -9000 $129
Starting from scratch you build a complete system. Our CbA frequency I to 100KHZ
Micro-Master trainer teaches you to write into RAMS, RF Freq 100K- 450MHz AM Modula- Clock amplitude SVPP square wave
ROMs and run a 8085 microprocessor, which uses tion of 1KHz Variable RF output
BREADBOARDS
similar machine language as IBM PC. SG -9500 w/ Digital Display & 2 ereamoards, each contain.
Robotics Kit for above (MM8010) 71.95 150MHz built -in Counter $249 840 tie points petal 1,680)
IL Res., 7% Tax FAX: 708 -520 -0085 (Slll) 292-7711 .(7081 541-1171(1 WRITE FOR FREE CATALOG
CIRCLE 109 ON FREE INFORMATION CARD
1992ELECTRONICS 1992
EXPERIMENTER'S
handbook
TECHNOLOGY
21 ADVERTISING INDEX
4 BUILD A VIDEO HEAD -AMP TESTER
2 EDITORIAL
10 BUILD A RADAR DETECTOR TESTER
32 FREE INFORMATION CARD
60 BUILD THIS LAB POWER SUPPLY
127 MARKET CENTER
14 PC SERVICE
1
1992
ELECTRONICS
EDITORIAL EXPERIMENTERS
handbook
EDITORIAL DEPARTMENT
Brian C. Fenton, editor
Marc Spiwak, associate editor
Getting the most out of electronics. Kim Dunleavy, assistant editor
Teri Scaduto, assistant editor
Jeffrey K. Holtzman
Welcome to the 1992 edition of the Radio -Electronics computer editor
Experimenters Handbook! As we've done in previous Robert A. Young, assistant editor
Robert Grossblatt, circuits editor
editions, we've gone through the pages of Radio -Elec-
Larry Klein, audio editor
tronics from the past year or so, and picked our favorite David Lachenbruch
stories to present to you in a single package. The result? contributing editor
Don Lancaster
A 128 pages jam -packed with great projects and the contributing editor
latest technology. Kathy Terenzi, editorial assistant
Andre Duzant, technical illustrator
Injae Lee, assistant illustrator
But all these articles don't amount to much unless you
get actively involved in them. The education that you can PRODUCTION DEPARTMENT
Ruby M. Yee, production director
receive from building a project is enormous. You want to Janice Box,
learn how a real power supply is designed? Then build editorial production
our laboratory power supply. You want to learn how to Karen Tucker, advertising production
Marcella Amoroso, production traffic
use those new semiconductor laser diodes? We show
you how to build a high -tech handheld laser. CIRCULATION DEPARTMENT
Jacqueline P. Cheeseboro,
circulation director
OK. You just want to have fun. Then build our lead -vocal Wendy Alanko,
circulation analyst
zapper and call your friends over for a sing -along party. Theresa Lombardo,
Or build our high -tech Christmas card that responds to circulation assistant
music. Or build a shortwave radio and tune in the world! Typography by Mates Graphics
Cover photo by Diversified Photo
For the computer buffs who is equally enthusiastic Advertising Sales Offices listed
on page 21.
about electronics, we have a couple of great projects. Gernsback Publications, Inc.,
We show how to build a solid -state disk drive that can 500 -B Bi- County Blvd., Farm-
speed up your PC's performance. We also show you ingdale, NY 11735. 516-293 -3000
how to use your multisync monitor to display composite -
As a service to readers, Radio -Electronics Elecrtonics
video signals! Experimenter's Handbook publishes available plans or
information relating to newsworthy products, tech-
niques and scientific and technological developments.
Because of possible variances in the quality and con-
So before you pop that videocassette into your VCR for dition of materials and workmanship used by readers,
we disclaim any responsibility for the safe and proper
another evening in front of the tube, think of what you functioning of reader -built projects based upon or from
plans or information published in this magazine.
might be missing. Building electronic projects isn't only
Since some of the equipment and circuitry described in
educational. It's a helluva lotta fun! Radio -Electronics Electronics Experimenter's Hand-
book may relate to or be covered by U.S. patents, we
disclaim any liability for the infringement of such pat-
-THE EDITORS ents by the making, using, or selling of any such equip-
ment or circuitry, and suggests that anyone interested in
such projects consult a patent attorney.
2
We've Carefully balanced the amount of gain used in our input
amplifiers - too much or too little results in poor performance.
OPTOELECTRONICS' HANDI- COUNTERSTM with maximized
sensitivity give you the maximum range for antenra pick -up.
Made in the USA
Maximum
Security MODEL 8030
Device. With al the features of the
Increase your 3000 p us enhanced input
frequency signal conditioning and
finding'M by 10 enhanced TCXO time base
times the distance $579.
or more.
Tunable
Preselector
APS -104
$995.
MODEL 3000
Multi- function Counter
10Hz -3GHz, 10 Digit LCD with
frequency, period, ratio, interval
& signal level bargrapo....$375.
Accept no substitutes -
Look for the OPTOELECTRONICS Model 2300 - 1 MHz- 2.4GHz
Available with NiCads and AC
name on the label! Charger Adapter. Complete
Package only....$128.
Only OPTOELECTRONICS
offers you MAXIMIZED
D SENSITVITY.
Factory Direct Order Line 1-800-327-5912
FL(305)771 -2050 FAX(305)771 -2052
Model 2210A
5821 NE 14th Ave. Ft. Lauderdale, FL33334 5% Ship /Handling (Max. $10)
11D1z- 2.4GHz Full range
U.S. & Canada. 15% outside continental U.S.A.
counter.Price includes Visa and Master Card accepted.
Nicads & AC charger/adapter.
ED BATHGATE
VCR
head pre -amps, and head -switching
circuits can be tough to troubleshoot.
There are low-cost ($60) video -head
testers, but they won't indicate if a
head is contaminated or if the gap is
clogged; in either case the output will
seriously be degraded.
You could replace the video head in
HEAD AMIS
question, but that requires that you
have a spare head for every make and
model of VCR you service. Changing
TESTER
heads is time consuming, and keep-
ing lots of heads in stock is expensive. This inexpensive piece of equipment can turn
What's really needed is an instrument
a second VCR into a valuable troubleshooting tool.
that can generate a known -to -be -good
video -head playback signal, and one
inexpensive source for such a signal is combined signals are usually referred generates a field, but it is interlaced
another VCR. A VCR creates that to as video -head RF or RF envelope. with the field from the first head. The
signal whenever it plays a tape, so a Two video heads are needed to two interlaced fields make one frame.
working VCR can be used to trouble- "read" the information from a stan- A standard four-head VCR uses
shoot a broken VCR (see Fig. 1). dard VHS videocassette (see Fig. 2). only two heads at a time, one pair for
If you are repairing VCR's as part The two heads are mounted 180 de- "SP" (two -hour standard play), and
of a service business, you probably grees apart on a polished aluminum one pair for "EP" (six -hour extended
have more than one working VCR in cylinder that spins counter-clockwise play). If one of the video heads is bad,
the shop at any given time. What's at 30 rpm. When one head completes the VCR will send a full -size picture
needed is a video jumper cable to take a scan of the tape, the other head is to the TV, but with only half the pic-
the signal from the source VCR and ready to start its scan. In one scan, ture information, with every other
inject it into the VCR being repaired. one video head generates a "field," a field composed of "snow."
This project makes it possible to do full top -to- bottom picture on the TV Each head has its own pre -amp, and
just that, with no modifications to ei- screen. The second video head also the output of each one goes to an
ther VCR.
VCR operation
There are several signals that a vid-
eo head generates during playback.
The luminance and sync is a signal
from 3.4 to 4.4 MHz, frequency -
modulated by video luminance and SOURCE VCR INPUT OUTPUT VCR BEING TESTED
sync information. The chroma, or HEAD AMP TESTER
color information, is a 629.371 -kHz
signal recorded by amplitude modu- 1-THE VIDEO HEAD -AMP TESTER enables you to use a good signal from a working
FIG.
lating the 3.4 MHz FM carrier. The VCR to test a VCR with possible head problems.
4
5 sure SSFeph.to a fast s
computer service technician
Plus, now you train witt. and keep the latest in diag-
6.
, w nostic hardware and software: the R.A.C.E.R. plug-in
l.Choosetraining ERVIC diagnostic card and QuickTech diagnostic software,
.B
that's right for today's --f both from Ultra-X. Using these state-of-the-art diag-
nostic tools, you learn to quickly identify and ser-
good jobs vice virtually any
Jobs for computer service technicians computer problem
will almost double in the next 10 years, on IBM-compat-
according to the latest Department of ible machines.
Labor projections. For you, that means
unlimited opportunities for advance-
ment, a new career, or even a com- 1992 Good pay, too! 2002
puter service business of your own.
But to succeed in computer service today, you need training -
complete, practical training that gives you the confidence to service any
brand of computer. You need NRI training.
Only NRI -the leader in career- building, at -home electronics training 4. Make sure you've always got
for more than 75 years -gives you practical knowledge, hands-on skill,
and real-world experience with a powerful 386sx/20 MHz computer you
someone to turn to for help
keep. Only NRI gives you everything you need for a fast start as a high- Throughout your NRI
paid computer service technician. training, you've got the
full support of your
personal NRI instructor
2 beyond
Go
"book learning"
and the entire NRI
technical staff. Always
ready to answer your
questions and help you if
you should hit a snag,
to get true hands your instructors will
on experience make you feel as if
you're in a classroom of
NRI knows you learn better by
one, giving you as much time and personal attention as you need.
doing. So NRI training works
overtime to give you that
invaluable practical experience.
You first read about the subject,
studying diagrams, schematics, and photos that make the subject even
5
Step into a bright new future in
clearer. Then you do. You build, examine, remove, test, repair, replace. computer service -start by sending for
You discover for yourself the feel of the real thing, the confidence gained
only with experience.
your FREE catalog today!
Discover for yourself how easy NRI makes it to
succeed in computer service. Send today for NRI's
big, full-color catalog describing every aspect of
3powerful
a
Get inside
corn -
NEW!
386sx/20 MHz
Mini Tower
NRI's one-of-a-kind computer training, as well as
training in TV/video /audio servicing, telecom-
munications, industrial electronics, and other
growing high-tech career fields.
puter system Computer! If the coupon is missing, write to: NRI
School of Electronics, McGraw -Hill Continuing
If you really want to get ahead Education Center, 4401 Connecticut Avenue, NW,
in computer service, you have Washington, DC 20008.
to get inside a state-of-the-art R.A.C.E.R. and QuickTech are registered trademarks of Ultra -X, INC.
computer system. That's why
NRI now includes the powerful
new West Coast 386sx/20 MHz School of For career courses
Electronics 1:'n11 approved under GI Bill
mini tower computer as the check for details.
centerpiece of your hands-on McGraw -Hill Continuing Education Center
training. 4401 Connecticut Avenue, NW, Washington, DC 20008
As you build this 1 meg f'CHECK ONE CATALOG ONLY
RAM, 32 -bit CPU computer Microcomputer Servicing Computer Programming
TV/Video/Audio Servicing PC Software Engineering Using C
from the keyboard up, you
Telecommunications Desktop Publishing & Design
actually see for yourself
-1 Industrial Electronics /Robotics Word Processing Home Business
how each section of your Bookkeeping & Accounting
Basic Electronics
computer works. You
1
assemble and test your computer's "intelligent" keyboard, install the Name
power supply and high-density floppy disk drive, then interface the high -
resolution monitor. But that's not all.
You go on to install a powerful new 40 meg IDE hard disk drive
today's most-wanted computer peripheral- included in your course to
- Address
VIDEO HEAD A
Construction
The circuit should be built on a PC
ANGLE POST
board, because RF as high as 4.5
TAPE GUIDE
(SOURCE)
..-- TAPE GUIDE
(TAKE UPI
MHz will be present. A single -sided
board was used in the author's pro-
ROLLER ROLLER totype with no problems. The board
VIDEO
ERASE
HEAD
- VIDEO HEAD B
-AUDIO ERASE HEAD
SOUND & CONTROL TRACK HEAD
layout is very simple and can be
drawn by hand directly on the copper
with an etch -resist pen. See Fig. 6 for
TAPE GUIDE
a parts -placement diagram; a foil pat-
TENSION *- tern is provided in PC Service.
POST TAPE GUIDES PINCH ROLLER
INSIDE CASSETTE CAPSTAN The assembled circuit should be
mounted in a shielded box and coaxial
leads should be used for input and
output. Keep the lead length as short
as possible (2 -foot leads were used on
the prototype with no problems).
VHS
Checkout
After assembly, check the voltages
on Q1 and Q2, and the current draw, to
verify proper circuit operation. Con-
nect the VCR to be used as the signal
TO VIDEO DEMODULATOR
FIG. 2 -VHS BASIC MECHANISM. Two video heads are needed to generate the standard
WAVEFORM c
VHS format. The two heads are mounted 180 degrees apart on a polished aluminum
cylinder that spins counter -clockwise at 30 rpm.
WAVEFORM a
HEAD
electronic head switch (see Fig. 3). sum of the two individual head pre - HEAD SWITCHING
'I
The head -switching circuit combines amp envelopes (waveforms a and b). B PRE AMP A CIRCUIT
the outputs from each head pre -amp, If the head- switching pulse is not ROTARY
by switching to the head which is in present, or if it's distorted or inverted TRANSFORMER
contact with the tape at that time. The in phase, the symptoms will be sim- AMP - -4
HEADS oti' PRE B
head- switching control pulse is a 30- ilar to bad heads or a bad pre -amp. A
Hz square wave derived from the rota- Some examples of bad waveforms are WAVEFORM b
tion of the head -cylinder motor. The shown in Fig. 4. Waveforms a to d are
output envelope (waveform d) is the caused by mechanical misalignment HEAD SWITCHING PULSEO - - -a
WAVEFORM d
of the tape guides, and the waveforms
PARTS LIST
f
in e and indicate proper alignment,
but show a problem with the video
heads, pre -amps, or head switcher.
All resistors are 1/4 -watt, 5%, un-
less otherwise indicated.
R4-100,000 ohms
R1, Head -amp tester circuitry
R2- 220,000 ohms The schematic for the tester is
R3- 10,000 ohms, audio -taper shown in Fig. 5. The input is an RF
potentiometer envelope from a working VCR, ap-
R5- 150,000 ohms plied to Q1 through coupling- capaci- b
R6 -2200 ohms tor Cl. Ql is connected as an emitter
R7 -1000 ohms follower, with a high- impedance in-
Capacitors put and a low- impedance output, and
Cl, C3, C4 -0.001 F, ceramic disc a voltage gain of I.
C2 -39 pF, ceramic disc
Semiconductors Potentiometer R3 is used as the
LED1 -red light -emitting diode emitter load for Q1 and level control
Q1, Q2- 2N2222 NPN transistor for the signal applied to Q2. Capaci-
Other components tor C2 is for improving the frequency
J1, J2- RCA -type jack response of R3. Transistor Q2 is also
Sl-SPST on /off switch a 2N2222, wired in the same config-
FIG.3 -EACH HEAD HAS ITS OWN PRE -
Miscellaneous: Coaxial cable, PC uration as Ql, but with a lower output amp, and the output of each one goes to
board, metal case, solder, etc. impedance in order to drive circuits in an electronic switch that combines the
the VCR under test. The circuit draws outputs from each head pre -amp.
6
H.ECTROSTAT
6.4.6.5666,464a466
SELECT 5 BOOKS
DISCHARGE
R7X)TECT1ON ll'UIO KOUIP,4iENT
: for only $4
,l #!!
41tkoN
: '-,iNW
EVA
II_'-_
(values to $112.75) 3329
Counts as
$29.95
- BMCYCLOPBeL
ELECTRONIC
CIRCUR'S
2
tri
2867P 518.95
o
How to Toot
Iston Etwyt Ing
111114446649
3260P $14.95 SECOND EDITION
2925P 59.95
INDUSTRIAL
EMIR )V10 ELECTRONIC
CONVERSIONS
?Symbols and
rEa IlVCJANS Formulas
3527 $29.95
Your most complete source for electronics 2065P 014.95 Counts as 2
COMPUTER
1ECN41CIAN'S
NANDfiOfNt . -- books for over 25 years. It {444r84E4
Troubleshooting
88111 YOUR & Repairing
OWN 83486 P
+,4
..te-...P
ANO SAI( A ROW
VCRs
SECOND4EDETION
646.
3279 536.95
3241P 516.95
Counts as 2 HOME Essio
ELECTRICAL Tor . War Solo
avzrn-;w
ALARMS '41111111111111F
GORDON M COMB'$
TIPS 8 TECHNIQUES
519.95
3414 $39.95
Counts as 2
Membership Benefits
3072P 516.95 3374P $16.95
Gordon AcComb
rr
3777 $32.95
GIANT BONN
Counts as 2
TIE
TOR THE want the Main Selection, do nothing and it will be sent to you automatically. ELECTRONICS
ELECTRONICS If you prefer anothyr selection, or no book at all, simply indicate your choice PROJECTS
on the reply form provided. You will have at least 10 days to decide. As A mem-
i11
HOBBYIST
3485 $27.95
-
ber, you agree to purchase at least 3 books within the next 12 months and may
resign at any time thereafter. Ironclad No -Risk Guarantee. If not satisfied
with your books, return them within 10 days without obligation! EXce3tfornl
Quality. All books are quality publishers' editions especially selected by o. r
Editorial Board. (Publishers' Prices Shown)
ELECTRONIC
611101
PROJECTS
THE
ILLUSTRATED
DICTIONARY 114f``l' ELECTRONJCS BOOK ELIE"
ELECTRONICS
OF
Irlx-tr.ROOK Blue Ridge Summit, PA 17294 -0810
ELECTRONICS
FIFTH EDITION
Please accept my membership in the Electronics Book Club and send the 5 volumes listed
below, billing me $4.95. It not satisfied, may return the books within ten days without obli-
I
gation and have my membership cancelled. agree to purchase at least 3 books at regular
I
Club prices during the next 12 months and may resign any time thereafter. A shipping/han-
dling charge and sales tax will be added to all orders.
3345 $39.95 2883P $18.95 5080F 514.E5 2926 525.95
Counts as 2
It
ROBOI
71111111111
BONANZA
II I, 1t11
I1.Ili41l1It11
R'551
99 INE5PEM51v1
ROBOTICS PROEM
Name
Address
City
State Zip Phone
3343 $29.15 3475 $27.95
2800P $16.95 2613P $17.95 Signature Counts as 2 Counts as 2
Valid for new members only Foreign applicants will receive special ordering instructions Canada must remit
All books are hardcover unless number in U.S. currency. This order subject to acceptance by the Electronics Book Club REX991 ,551991 ELECTRONICS BOOK CLUB
is followed by a "P" for paperback. Blue Ridge Summit, PA 17294 -0810
7
source VCR for proper flatness. The
RF envelope should be between 100 -
and 500 -mV p -p in most VCR's.
Now turn on and connect the head -
a amp tester to the source VCR at the
same point in the circuit that you mea-
8
UP TO
4 KELVIN Electronics
w50% OF F LED CENTER
SPECIAL SPECIAL SPECIAL
PROJECT PARTS
Soldering
IRON
PRO 400 with AUTHORIZED FLUKE 87
RED LED with STAND, BLUE
Kelvin Meters backed by DEALER As Low As LONG LIFE TIP
r arrant - Parts a Labor 20MHz
Stock No. 990098
Freq Counter 5 ay
KELVIN DIGITAL JUMBO
re 11000+
$4.50 ea
roject
MULTIMETERS
P
LED Speaker
2 ". 8 Ohm.. Watt 1
ACCURACY
LED TEST VERIFY GOOD /BAD
DISPLAY 3 1/2 DIGIT LCD
FLUKE 83 T $199 0.6" 7 SEGMENT $ .45 ea / 20+ Oty
-0
-
TEXTBOOK
260091 $2.79 ea
5595 ea
Trainer
$ .65 ea .50 ea
$
4 LED DISPLAYS w IC DRIVERS
POWER SUPPLY: WALL PLUG -IN TYPE U.L.
990104 BLACK
$ .65
99 ea
990105 RED ea .50 ea
LISTED
VOLTAGE REG:+5 VOLTS, SHORT CIR,
$
PHOTO CELL
SULPHIDE
OVERLOAD PROTECT SCOPE IC TEST Stock No. 260018
HOOK-UP WIRES ONLY
COMPACT CARRYING CASE PROBES $ .99 ea
INSTRUCTION MANUAL FOR BEGINNE1 TO 60 MHz, X1 & X10
LEAD SET
COLOR CODED
SWITCH
$99.95
ADVANCED USERS SPECIAL
5
PUSH -BUTTON
MADE WITH PRIDE IN THE USA' 18" LEADS WITH
700072 $18,95 MINIATURE HOOK -ON PUSH-ON, PUSH-OFF
150 MHz, X10 PROD AT BOTH ENDS Stock No. 270021
FREE COMPREHENSIVE Stock No. YOUR COST 3+ Oty 5.55 ea
TEACHER'STUDENT LAB MANJAL Stock No. 840460 700073 $39.95
990108 $8.95 ea 58.25 ea
$ .49 ea / 100+ Oty
DOUBLE
WALL TRANSFORMERS BREADBOARDS BANANA SUB -MINIATURE MOMENTARY
Duracell / Eveready JACK SWITCH
9V Alkaline Battery Stock No. 990002
WALL 5.35 ea
TRANSFORMER $1.95 ea Stock No. YOUR COST 3+ Qty
600056 '2.30 ea $2.07 .28 ea / 100+ Oty
$
680097 s 1.75 ea/10+ ea
MINIATURE TOGGLE SWITCH
6TOC1( NO. TYPE - Female -,.ruin o e FEMALE
Stock No. 270034
220069 9v DC /500 mA $3.95 ea BNC TO
9V Battery $.90 ea Type - SPST
1220068 12V DC /500 rnA $4.25 ea DUAL
SNAP & HOLDER $ .79 ea / 50+ Oty
BANANA
MALE JACK Snap $.15 ea 5.10 ea/100+ PLUG
TOOK NO. TYPE s. 1O ea/100+
70048 2.1 mm Male
Holder 1.20 ea Stock No. YOUR COST 3+ Oty
HEAVY DUTY NI -CAD 990103 $2.95 ea '2.75 ea
$ -49 ea $.39/o*
RECHARGEABLE BATTERIES DUAL
BANANA
KELVIN
ELECTRONICS
220039 AAA $3.30 ea BINDING
680098 680100
220025 AA $2.85 ea POST TO CIRCLE RESPONSE CARD or
Stock No. Post Contacts .., YOUR COST 220027 C $6.00 ea MALE BNC PLUG WRITE for our CATALOG full of
$ 4.2$
.
680093 0 500 220037 D $6.00 ea Stock No. YOUR COST 3. Qt WHOLESALE PRICED ITEMS.
680097 0 840 $
5.95 600058 55.95 ea $4.95 ea
Stock No. TYPE YOUR COST 220038 9V $8.90 ea
600021 555 TIMER $ .20 EA 680098 2 1380 $11.75 p BNC TEST CABLES 3 FT
NI-CAD) ll(a
600029 556 .40 680100 4 2390
!
$22.9$
l'
DUAL TIMER $ EA
+)
LM566 PLL .60 Va BATTTERY 117..n ^I F
ELECTRONIC COMPONENTS
600039 $ EA _.
at..c::,,' & TECHNOLOGY ACTIVITIES
FUNCTION GENERATOR WIRE JUMPER KIT CHARGER
Pre -cut, Pre -Stripped 4 Cell Charger for AAA. AA. C. D or 9V
MALE TO MALE VISA 8 MASTERCARD ACCEPTED
600018 741C OP -AMP . $ .30 EA
INTERNALLY COMPENSATED 330289 140 Piece Set ...$ 4.7$ STOCK NO . .................._..._ YOUR COST Stock No. YOUR COST 4Oty $20 MINIMUM ORDER
220035 SPECIAL $9.95 990101 '3.45 ea .95 ea MINIMUM FREIGHT $5
600026 1458 OP -AMP $ .35 EA 330290 350 Piece Set ...$ 7.75 ea
DUAL 741C OP-AMP DIP
.18
630041 2N2222
Call: (800) 645 -9212
KEL VIN
$ EA
1
630383 PN2222 $ .08 EA
RADAR
DETECTOR
TESTER
Is your friend's radar detector as good as yours? Why not prove it, then!
JOHN B. AYER
HAVE YOU EVER WONDERED HOW SEN- that frequency is 10.525 GHz, which ry about. As it turns out, the width of
sitive your radar detector is? Or have happens to be the center of the X -band the line and the thickness of the di-
you ever had someone tell you that police radar assignment. The K band electric determine the resistive im-
their detector was better than yours? unit operates at a fundamental of pedance.
Until now, the average radar-detector 1857.7 MHz with the 13th harmonic In this particular case, it was deter-
owner had no way to prove or disprove falling at 24.150 GHz. As you proba- mined that 50 ohms was the optimum
any claims made by the manufac- bly have guessed, 24.150 GHz is right impedance. After deciding which PC-
turers concerning the performance of in the center of the K-band police board material would be best suited
the various detectors on the market. radar assignment. for this project, the following equa-
The radar-detector tester pictured in The oscillator uses a microwave tion was used to determine the width
this article is an easy-to- build, low- transistor in order to maximize the X- of the strip line needed:
power X- or K band radar transmitter. or K-band output. The fundamental Zo = (87 / \/Er+ 1.41) x
With the device's low-level emissions, frequency is determined by the tuned L[5.98H /(T+ .8W)] ,
you do not need a license to use it. circuit that is attached to the base of
The average detection range is 12 feet, the transistor. The tuned circuit con- Z. = characteristic impedance (50
which is more than enough to deter- sists of a 50-ohm strip line that is ohms)
mine the.sensitivity of your radar de- etched onto a PC board, and then cut Er = dielectric constant (2.48)
tector.. You can then do a side -by-side to the proper length during the tuning Ln = natural logarithm
test with your friend who's been tell- procedure. H = thickness of dielectric (0.0156
ing you his detector is better! The printed circuit board is made inches)
out of double-sided copper-clad teflon W = width of line (0.038 inches)
Operation with fiberglass reinforcement. The T = thickness of copper cladding
The heart of the circuit (see Fig. 1) teflon is necessary because of the high (0.0004 inches)
is a one -transistor oscillator that oper- frequencies involved (standard G-10 Once the width of the line is deter-
ates at a fundamental frequency of epoxy printed circuit boards act like mined, all that's needed to finish the
1169.44 MHz. The 9th harmonic of short circuits at frequencies above 3 job is to determine the length of the
GHz). Although teflon sounds exotic, line for the target frequency. (The os-
Zo it isn't, and it is readily available from
the suppliers listed in the parts list.
cillator is similar to a pipe organ
where the length and diameter of a
TUNED CIRCUIT
R1
10K
S1
QI
MRF901
B1
9V
i Some people may not be familiar
with strip -line circuitry. Any line that
is etched on one side of a double -
sided PC board will have inductance
pipe determines the tone that is pro-
duced; the length of the strip line de-
termines the resonant frequency.)
R2
along its length and capacitance Construction
1 through the dielectric (the fiberglass, Etch the circuit board using the pat-
teflon, etc.) to the ground plane (the tern provided in PC Service; a ready-
FIG. 1-THE HEART OF THE X -BAND UNIT copper plating on the other side of the made board is also available. The
is a one -transistor oscillator that operates board). In a properly designed strip transistor has four leads; two are con-
at a fundamental frequency of 1169.44 nected to the emitter, and you must
MHz; the 9th harmonic of that frequency is
line, the inductance and capacitance
10.525 GHz, which happens to be the cen- cancel each other leaving the designer determine which they are. Use an
ter of the X -band police radar assignment. with just a resistive impedance to wor- ohmmeter if you are not sure. (The
10
defeat the entire project by using a
metal box. Be sure to orient Rl so that
\
CUT
HERE it's closest to the front of the box,
EMITTER
because most of the radiation is emit-
ted from that point.
SCRAP
START TRIMMING
HERE FOR X- BAND
\
STRIP LINE
DIELECTRIC
II POSITIVE
BUS
Attatch the battery and switch as
shown in Fig. 2, being careful not to
reverse the polarity. Route wires away
from the strip line and components,
because stray wires can de -tune the
oscillator. Construction is now com-
OF plete and you are ready to tune the
COMPONENT
III
transmitter (see Fig. 3).
LEAD
.'II1III
R2
GROUND
START TRIMM NG BUS
HERE FOR K -BAND
Rl LOCATION
FOR X -BAND Rl LOCATION
FOR K -BAND
FIG. 2- PARTS -PLACEMENT DIAGRAM. FIG. 3-LUE THE PC BOARD into the
Resistor R1 must be in a different location, plastic enclosure using a silicone -type
depending on whether you're building an X- or K-band unit. Also, when aligning the unit,
adhesive.
the strip line must be cut in a different location depending on the type of unit.
Alignment
emitter leads are the only two that will To align the unit, you will need a
exhibit a dead short from one to the PARTS LIST
radar detector and an X -acto knife
other.) Cut off the left-hand emitter R1- 10,000 ohms, 1 -watt resistor with a fine blade. Turn on the radar
lead, as shown in Fig. 2. R2 -470 ohms, 1/2-watt resistor
detector and the tester. Now make an
After removing the extra lead, Q1 -MRF -901 Motorola transistor for
initial cut in the strip line starting at
place the transistor in the hole on the X band, or NE68137 California
Eastern Laboratories transistor for the point specified in Fig. 2,,for either
board so that the base lead is on the K band. the X- or K-band unit. Be sure to cut
strip line and the collector lead is on
the positive bus, and solder them in
B1-9 -volt battery all the way across and through the
S1 -push- button switch copper trace. If your detector does not
place (see Fig. 2). Place R2 on the PC -board material -6 x 6 -inch piece sound an alarm, make another cut
board and, keeping both leads as of 0.0158 -inch thick teflon -fi- about V6 -inch closer to the transistor.
short as possible, solder one of its berglass (Taconic Plastics, part At some point your detector will
leads to the remaining emitter lead of number TLT-9- 0150 -C1 /C1) sound an alarm, and the tester will be
Q1. The other resistor lead should go Plastic project case
properly tuned. Be careful not to cut
through the hole in the PC board, and Note: A complete parts kit is avail-
able from MICROSERVE, 60 too much at one time, because if you
soldered on both sides (a through go too far you will have to carefully
Thompson Street, Maynard, MA
hole, if you will). A scrap piece of 01754. Besides the parts, the kit solder the line back together.
component lead must go through the also includes a custom plastic However, if you go just a little too
other hole on the left side of the enclosure with an integrated far, you can save some work by cut-
board, and also soldered on both sides battery holder and decorative ting nicks in the remaining strip line
(another through hole). face plate. X -band kits are $55, (cuts that go part way across the strip
Cut one lead of R1 so that it's 1/8- and K-band kits are $65. Ship- line). That has the effect of making the
inch long. Refer to Fig. 2 for proper ping and tax extra. Spare parts strip line electrically longer.
placement of R1 for either the X or K list available on request. If you find that your range is limited
band. Then solder the shortened lead Motorola Semiconductor
you may have tuned to the wrong har-
of R1 to the strip line so that the re- Products
3102 N 56th St. monic resulting in low output. It will
sistor is standing on end. The longer be necessary to experiment with dif-
Phoenix, AZ 85018
lead of the resistor should then be 602- 952 -3000 or 800 -521 -6274 ferent line lengths to achieve max-
soldered to the positive bus of the PC California Eastern Laboratories imum range.
board (see Fig. 2).. 3260 Jay St. Your tester is now ready for use.
Using a silicone adhesive, glue the Santa Clara, CA 95054 Simply hold the unit near a detector
PC board into the enclosure that you 408 -988 -3500 and turn it on. The range of the X-
have selected. DO NOT use a metal Taconic Plastics LTD. band transmitter is about 12 feet,
enclosure. The microwaves need to Petersburg, NY 12138 while the range for the K -band unit is
escape from the box, and you will 518- 658 -3202
about 5 to 10 feet. R -E
11
BATTERIES ARE BECOMING A BIGGER batteries and how they'll be used current drain or extended usage,
part of all our lives, and many in your equipment. Batteries are the cost of replacement of dis-
innovative new products coming commonly classed as either pri- posable batteries may be pro-
to market either use or contain mary or secondary. Primary cells hibitive. Such applications are
them. Battery- powered products include the disposable varieties logical for rechargeable second-
are no longer limited to just toys such as carbon -zinc. alkaline. ary batteries as long as recharg-
and handheld vacuums. Serious and lithium cells that can't be re- ing power can be provided.
products-like handheld trans- charged.
ceivers, portable scopes, or lap- Secondary cells include the va- Based on drain rate and duty
top computers-are often bat- rieties based on either nickel - cycle, my application could go
tery- operated. However, while cadmium (Ni -Cd) or lead-acid cell either way. What are the perfor-
batteries provide mobility they're chemistries, that are rechargea- mance differences among vari-
also often the culprits when a ble several times without-degra- ous battery types?
product fails. dation. So first, consider your Table 1 provides a comparison
Many of us still consider bat- equipment. Specific questions of various common battery types,
teries to be the ultimate black include: What is the drain rate? both primary and secondary. The
boxes: mysterious devices that How often will the equipment be first point of interest is the nomi-
work only when they feel like it. used? And, finally, is recharging nal cell voltage; more sophisti-
However, they're really not that feasible? cated concepts like energy densi-
difficult to understand and use Low current drain, short duty ty will be covered later. Also, all
effectively. Here are some ques- cycles, and remote operation batteries have one or more cells,
tions and answers to help you favor the use of primary batteries operating at voltages fixed by the
create better designs using them. for watches, hearing aids, garage electrochemistry of a given cell.
door openers, and retrofit smoke Note that the operating voltages
I know there are many kinds detectors. Obviously, the applica- are shown as decreasing in Table
of batteries. What's the best type tion parameters for secondary 1; the initial value refers to the
for my application? batteries are basically the op- fully charged state, while the final
Choosing a battery type means posite of those for primary cells. value refers to the end of run-
knowing something about both In applications involving high time, or useful life.
The nominal voltages of all cells series cells. In 12 -volt car bat- a runtime under four hours. The
are fixed by their electrochemis- teries, all cells are connected in- voltage of an alkaline cell also
try (more below). The two major ternally. However, certain cell falls off steadily, but its runtime
primary cells, carbon-zinc and al- potentials, like 4 volts, may be is roughly quadruple that of a
kaline, both produce 1.5 volts, possible from one cell type, but carbon-zinc cell. The Ni -Cd cell
while lithium versions produce not from others. has a voltage profile that's nearly
3.0 volts. The carbon -zinc cell is Cell chemistry also causes volt- flat for most of its life, but only
referred to in Table 1 as a "Le- age "droop" during discharge, half the terminal potential of an
clanche" cell, named after the which may affect a given applica- alkaline cell. The Ni -Cd cell has a
French chemist George tion. While flashlights merely first recharge life that roughly
Leclanche, who discovered it in dim as their battery voltage de- equals the total life of an alkaline
1866. Under the Ni-Cd cell list- creases, many electronic circuits cell.
ings, one of the the cathode mate- are highly sensitive to even slight The stability of Ni -Cd cells at
rial has the unusual formula of drops in input voltage. Figure 1 high current drains is why
NiOOH, which is nickel oxy-hy- compares the performance of pri- they're used in portable items;
droxide. mary carbon -zinc and alkaline drills can draw up to 30 amps
Of the major secondary cells, "D" cells with secondary Ni -Cd under load. The internal resis-
Ni -Cd cells produce 1.2 volts/cell, and sealed -lead cells, for a dis- tance of a Ni -Cd cell is 5-15 mil -
and lead -acid cells 2.0 volts/cell. charge current of 800 milliamps. liohms due to it's construction,
Higher voltages, up to 240 volts, The carbon -zinc voltage profile making such high current drains
are commercially available from falls rapidly with discharge, with possible. A spiral nylon separator
13
dox" reaction.
2.2- The anode is the terminal
2.1- 1ST CYCLE 2ND CYCLE' * `\ 3RD CYCLE **
where material is oxidized, or
where electrons are removed
2.0-
from or given up, and is usually
called negative or minus (" - "), or
1.9-
1.E-
1.7 -
where mobile electrons exit into a
wire. The cathode is the terminal
1.6-
where material is reduced, or
1.5- where electrons are accepted,
and is usually called positive,
1.3 -\ plus (" + "), or the terminal where
1.2-
1.1-
1.0-
\ 1ST CYCLE 2ND CYCLE'
mobile electrons enter from a
wire.
An electrolyte is the wet (or at
least damp) ionic medium,
.9-
.8 - \
through which mobile free elec-
trons released by oxidation at the
1 2 3 4 5 6 7 6
1 9 10 11
' 2 cathode travel to the anode, to
TIME (HOURS) propagate the electrolytic reac-
SEALED -LEAD ACID (SLA) tion of a battery. Table 1 lists the
-- -
- - --
NI -Cd
ALKALINE
CARBON ZINC
*Ni -Cd NEEDS
RECHARGE BEFORE
2ND CYCLE
* *SLA CELLS NEED
RECHARGE BEFORE
2ND AND 3RD CYCLES
materials used for all three parts
of the most common batteries.
The term "electrolytic" has the
same meaning here that it has for
"D "CELL
800mA DISCHARGE CURREN
capacitors, with certain varia-
tions. An electrolytic capacitor is
T
FIG. 1-THE VOLTAGE PROFILES OF PRIMARY and secondary D -cells are compared for a polarized like a battery, and may
discharge current of 800 milliamps. The carbon -zinc voltage profile falls rapidly with well explode if its DC working
discharge, with a runtime under four hours. Alkaline performance falls off steadily. but voltage (WVDC) is exceeded (es-
runtime is quadruple that of carbon -zinc.
pecially for reverse polarity), just
as many primary nonrechargea-
isolating the electrodes goes in a tial; let's now examine that as- ble batteries will if recharged.
steel can used as the negative ter- pect in more depth. The chemical A battery, by contrast, is
minal, and is filled with elec- process in a battery is an oxida- basically a fuel cell, maintaining
trolyte that transmits mobile tion- reduction, also called a "re- terminal potential by elec-
charge. The steel it's sealed in is trochemical means until its fuel
used as the positive terminal, as RESEALABLE
VENT MECHANISM
is exhausted. That is, the very se-
shown in Fig. 2. lection of electrode metals and
Whereas Ni -Cd cells have a POSITIVE TAB WELDED electrolyte is what determines the
large anode -nylon- cathode sur- TO POSITIVE TERMINAL terminal potential of a battery,
face area due to their spiral de- SULATING
INSEAL and a battery thus supplies
sign, alkaline cells have an COVER RING NICKEL POSITIVE
PLATE
charge without having to be
annular (or doughnut- shaped) charged initially.
cross section. Powdered anode All an electrolytic capacitor can
STEEL
material fills an inner ring, and SUBSTRATE do is store a charge fed into it,
compressed cathode material fills and dissipate the charge by gen-
an outer ring. They're isolated by erating an exponential current
a porous fiber separator as into a resistance. It stores charge
shown in Fig. 3, giving a higher (whereas a battery generates it
internal resistance, and limiting spontaneously), and its potential
the available current drain. decays exponentially, just as with
Note that in Fig. 3, the top any other capacitor. However, the
positive electrode is the cathode, electrolytic medium used allows
while the bottom negative elec- the packaging of larger capaci-
trode is the anode. At first glance, tance values than would other-
that might seem odd, since most wise be possible for a given
of us are normally accustomed to volume. Nonetheless, batteries
the reverse usage encountered and electrolytic capacitors are at
with diodes. However, since a SEPARATOR least second (or maybe even first)
battery is an electrolytic (or elec- NEGATIVE TAB CADMIUM cousins.
trochemical) cell, the labels for NICKEL -PLATED STEEL CASE
NEGATIVE
PC SERVICE
.
I
IJ
f
Ir
I
I .
t I :ti .: .
i I
" '
i.ii:, i
iiiii iiii iii iiii'
iiII
1
125/8 INCHES
HERE'S THE SOLDER SIDE of the RAM disk at half the actual size.
-s-, = 1:
:J
--r
::
1. :-..
:' - . .
. .
. .
l'.
`"T -..
., . ''
1,_, '
~i.
...-
Witrillirlirtil
125/8 INCHES
HERE'S THE COMPONENT SIDE of the RAM disk at half the actual size.
515/5 INCHES
USE THIS PATTERN for the pressure gauge.
15
DISCOVER
EXPERIMENT
LEARN
ADVANCE
ELECTRONICS
LASERS
CAD -CAM
HOME STUDY
HEATHKIT
HOMEWORKS! 2'/ INCHES
Now you can learn beginning to RADAR -DETECTOR TESTER foil pattern.
advanced electronics at home, with the
same courses used today in the world's
top colleges and tech schools, and pay
a lot less! You'll learn just what you
I o o
(oo
00 00400 ' 04OO,
Ib1/0 /0
00
want, when you want, at your own
pace.The complete story is in our free
o 110.401011O
o
0
0110.401011O
merks 00-o 0
00 o
eat t
--o
166111%1 0
g 001/1 oo
o 1 0 0 0000
1111111111 1111 11111011g111111
4 3/s INCHES
COMPONENT SIDE of the frequency probe.
r
YES f Please send me a FREE copy of the
HomeWorks by Heathkit Catalog.
Send to: Heath Company, Dept. 021 -090
Benton Harbor, Michigan 49022
Name
Address
State Zip
L J
31/, INCHES
L
6 INCHES
CHECKS AND IDENTIFIES SEMICONDUCTORS IN CIRCUIT IN- CIRCUIT TEST OF HV DIODE, CAPACITOR, MAGNETRON
MEASURES VOLTAGE BREAKDOWN, LEAKAGE, NOISE OF MEASURES UP TO 5000V AC OR DC IN TWO RANGES
CAPACITORS, SEMICONDUCTORS, NEONS, LEDS, SWITCHES ALSO CHECKS TRIACS, TRANSISTORS, MOSFETS, SCRs
SIGNAL TRACER WITH ALC AND 3' DIGIT DC VOLTMETER 60 DAY SATISFACTION OR MONEY -BACK GUARANTEE
OPTIONAL PLUG -IN IR REMOTE CONTROL TESTER PROBE
60 DAY SATISFACTION OR MONEY -BACK GUARANTEE Southgate Electronics Distributor (305) 720 -4497
THE SEMIANALYZER SPEEDS UP SERVICE ON TV AND VCR"
-AJ'S TV- SAT-VCR Service, IA 275 Rock Island Road, North Lauderdale, FL 33068
CIRCLE 22 ON FREE INFORMATION CARD
17
amp current corresponds to the g =0.6 Ah,
BATTERY TECHNOLOGY motion of 1 coulomb (C) of charge = (0.6) x
con tin ued from page 14 past a given point in 1 second (s), /6.25xC18e-\(1S \/36100s\(Ihr)
I`\
or /JI
-
POTASSIUM
HYDROXIDE (or potential work) W contained Asdiscussed earlier, Table 1
' ELECTROLYTE
in a battery is related to its total mentions the concept of energy
CATHODE available charge q and terminal density of cylindrical batteries,
CATHODE voltage V by and uses another energy unit
COLLECTOR
W =qxV. called the unit watt -hour (Wh),
ANODE COLLECTOR used with the electric meter on
The variable W is used for ener- most houses. Electric utilities
PLASTIC SLEEVE
gy to avoid confusion with E and measure energy in watt -hours,
V, normally reserved for voltage, not joules, since the numbers are
PLASTIC GROMMET although many texts use E for more convenient.
VENT total energy (kinetic and poten- The watt (W) is a unit of power,
INSULATOR tial) and V for potential energy as not energy, defined as
well, so you should know the con- W=1 J/s.
ANODE CAP
text to avoid confusion. Thus, an 1
FIG. 3 -THIS IS A CROSS section of an `AA" Ni -Cd cell that can maintain The variable for power is P; if
a 0.6 -amp load for one hour is
r ..... --------- - - - - -
alkaline cell showing its annular con- P >0 W,
struction. said to contain
then P normally refers to power
expended or dissipated, like the
loss from a resistor. Whereas, if
NO COMPLICATED ELECTRONICS, NO EXPENSIVE INSTRUMENTS: <0
P W,
Home study course shows you how the reverse is normally true, that
power is being supplied, rather
to make good money in VCR repair. then expended. Thus, a watt -
An amazing fact: you can hour is equivalent to
do more than four out of five
VCR repairs with ordinary 1 Wh=/1s\/36h0s\(1 hr)
OEM MEN MEN MOM MMII NM ME MEE MMI IMO OEM MEM MI ME MEN NM NMI
18 CIRCLE 14 ON FREE INFORMATION CARD
DIGITAL VIDEO STABILIZER
Cells are generally marketed frigerated, whereas most Ni -Cd ELIMINATES ALL VIDEO COPY
using five -hour ratings, but any cells will lose some 1-2% of their PROTECTIONS
comparison of cells from dif- rated capacity per day. That's why
ferent manufacturers should use many commercial Ni -Cd cell ap-
equivalent ratings. plications use trickle charging
Battery manufacturers define (as low 0.02C) when the battery
C as rated capacity; the italics are reaches an overcharge condition. While watching rental
movies, you will notice an- WARNING :
the cell electrochemically recom- size. Var. Gain Adjustment $119.95..$85 US Cable'll Beat
bines the total oxygen volume, Ni -Cd cells are typically con- Jerrold Super Tri-Bi ._ 5109.95..579
Scientific Atlanta $109 $79
Anyone's Price
letting Ni -Cd cells be totally nected in series for batteries. Pioneer 5109...._.$79
Advertised in
sealed. Runtime, or capacity, is met by Panasonic TZPC145 $99.95.. ..$79 this Magazine!
Stargate Converter $95 $69
For safety, venting is designed using cells of sufficient size to Digital Video Stabilizer. $59.9& $29
into the cell cover. If overcharged meet the requirement. Cells of Wireless Video Sender..$59.95 $49.95
pended to the point where any Motorized products draw high >O
CELL CAPACITY REVERSED
volts, generating gaseous hydro- Cd cells repeatedly tested to 40% FIG. 4 -IN CELL REVERSAL, the stored
gen (H2), which doesn't recom- reversal at 10C have suffered no energy of a cell is expended to the point
bine and has to be vented. degradation. where the circuit drives the cell, instead of
The solution to cell reversal is Finally, if all Ni -Cd cells in a bat- the reverse.
to understand and design for ap- tery pack are overcharged, rever-
plications where cells have the sal is less likely since they all point. Building batteries from
cells of equal capacities reduces
the effect of individual cell varia-
_ ls4 tion at the end of discharge, and
V
or Y
Sha Discover Muscle Wires'!'tm minimizes the chance of rever-
sal.
These amazing metal alloy filaments actually contract in length when powered and relax
when unpowered! Read about them in our new book "Working with Shape Memory Wires"
- 96 pages of history, methods, circuits, devices and 14 hands -on projects.
Memory continues to be a
And our new Muscle Wire Sample Kit has 20 cm each of 50, 100 and 150 m dia much -discussed problem in Ni-
Flexinol wire, and 20 cm of 150m BioMetal wire.
with Robotics, Railroads, R/C and Scale Models, Electronics, Computers
Cd batteries. How is memory
Use Muscle Wires
and anywhere you need small, strong, electric motion without motors or solenoids!
avoided?
No discussion of Ni -Cd cells
Order Today and "Get Moving "!
would be complete without men-
Mondo- tronics, Inc. * Flyer Request Line 124 hrs): 415-351-5367 tioning the "memory" effect. The
2476 Verna Court * Credit Cord Orders by FAX: 415-351-6955 term memory was coined in the
San Leandro, CA 94571 * Computer Info/Order BBS: 415-351-5410 early 1960's during early NASA
Check, MO, Visa, MC (300 to 2400 bud, N, e,1)
satellite flights. Satellite batteries
CIRCLE 23 ON FREE INFORMATION CARD have strict discharge /recharge
regimes and receive very little
overcharge. Such precise re-
ATTENTION! gimes were the result of NASA
computer-controlled energy
management, and are seldom
ELECTRO duplicated commercially.
I
W KNEES
EARN YOUR \
W
DEGREE KNEE
Our New and Highly Effective Advanced- Place- FIG. 5-IN "MEMORY," cells repeat-
NI -CD
ment Program for experienced Electronic Tech- edly discharged only partially to the same
nicians grants credit for previous Schooling and
Professional Experience, and can greatly re-
extent, and then recharged soon won't
duce the time required to complete Program and discharge beyond the "memorized" level.
reach graduation. No residence schooling re-
quired for qualified Electronic Technicians. If Ni -Cd cells are repeatedly dis-
Through this Special Program you can pull all of
the loose ends of your electronics background
charged only partially to the
together and earn your B.S.E.E. Degree. Up- same extent (or thereabouts) and
grade your status and pay to the Engineering
Level. Advance Rapidly! Many finish in 12
then fully recharged, they reach a
months or less. Students and graduates in all 50 point where they won't discharge
States and throughout the World. Established
Over 40 Years! Write for free Descriptive Lit-
further than the "memorized" lo-
erature. cation in their discharge profile.
Today, the term "memory" is a
COOK'S INSTITUTE misnomer, since it's now applied
OF ELECTRONICS ENGINEERING
to a much wider range of similar
problems.
-.TE
L E 4251 CYPRESS DRIVE
JACKSON, MISSISSIPPI 39212
Voltage depression and poor
capacity are two common exam-
CIRCLE 27 ON FREE INFORMATION CARD
20 CIRCLE 20 ON FREE INFORMATION CARD
,
pies, often mistaken for memory,
manifested as shortened run-
ing and changing. What tech-
nology improvements, if any, -LASERS
HELIUM NEON LASER MODULE
time, as shown in Fig. 5. Devices have occurred that we should be This Module contains a HeNe Tube and matching Power
frequently won't operate at volt- aware of, and is there anything Supply, all in one housing. All that is needed to make the
ages below a specific design val- better available on the horizon? Laser operate is a 12 volt source along with a switch and
pilot light. Comes with instructions and a 1 year warranty.
ue, or will exhibit reduced Ni -Cd manufacturers are con- Makes an ideal Output: 0.5mW continuous
performance, at best. Causes in- tinuously seeking to improve Science Fair . 633 nm (Red).
clude low recharging, excess re- product capabilities and quality. Project Power Requirements:
12 VDC a
600mA.
charge current, excess battery Increased capacity means lon-
heat during recharge, improper ger run times; for many years, Cat. #
HNKD -10
recharge termination voltage, or makers have boosted capacity by Complies
wearout. over 10% a year, itself driving re- with
C.D.R. H.
During standard or quick re- search into new electrochemical regulations
ments, along with careful ap- newer technologies will further MEREDITH INSTRUMENTS
plication, insure long life. impede broad acceptance. In our P.O. Box 1724 .5035 N. 55th Ave., #5 Glendale, AZ 85301
next article, we'll spotlight some Phone: (602) 934 -9387 Fax: (602) 934 -9482
Does the electrolyte in a Ni- recent ingenious and innovative CIRCLE 28 ON FREE INFORMATION CARD
Cd cell ever leak? applications of batteries. R -E
Ni -Cd cells can undergo stor-
age leakage, especially in radio
applications, if left on. However, ADVERTISING INDEX All the tools
even if turned off, solid -state & test equip-
power supplies often allow leak- Free Information Number Page ment you need
age current. In other words, the
battery is not completely discon- -
20 AMC
Antique Electronics
20
127
for hobby or work!
nected from the load circuit even CB City 127 Electrical,
when the power is turned off. 6 C &S Sales CV2 electronics,
Over a period of time, ranging computers,
10 Chenesko 51 communica-
from one week to two months, 27 Cooks
leading to minor battery leakage. 20 tions, sound
24 Datak Corp. 128 systems -
Even if designed to prevent such Electronics Book Club all the tools,
7
an occurrence, a minor short Electronics Engineers B.C.
meters and
23
may occur, insufficient to affect other equip-
performance even when turned
on, but resulting in what's -
8
25
Heath
Information Unlimited
Jensen Tools
16
24
ment you
need to do a
professional
known as "creep" leakage. 21
job!
In the above cases, "creep" usu- 16 Kelvin Electronics 9
ally manifests itself as white fuzz 28 Meredith Instruments 21 Top technicians and field service
around the top seal of a cell. To 5 Ming Engineering CV3 personnel prize their Jensen tool
avoid it, turn power switches off 23 Mondotronics 20 kits. Our new 232 -page Master
Catalog will show you why. You'll
when equipment isn't in use. In
radios unused for extended peri-
ods, remove the batteries, and re-
-
15
19
Mouser
NRI Schools
Optoelectronics
51
5
3
discover hard -to -find items, the
latest high -tech developments,
soldering stations, wire & cable
place them when needed. Even if 21 Panavise 22 accessories and many more quality
creep does occur, a Ni -Cd cell can 14 School of VCR Repair 18
products you want and need.
be recharged, with proper care. Send for your free copy today!
17 SCO Electronics 19
22 Southgate Electronics 17 JENSEN'TOOLS INC.
Ni -Cd cells have been around Startek CV4 7815 South 46th St.,
a long time, and yet the applica- 18 U.S. Cable Phoenix, AZ 85044 -5399
19
tion of that technology is grow- 9 Worldwide Components 127
Phone: (602) 968-6231
FAX: (800) 366 -9662
21
CIRCLE 25 ON FREE INFORMATION CARD
NEW PRODUCTS
Use the Free Information Card for more details on these products.
Ready,Willing
324 PanaVise Electronic Work Center
This economical package makes work areas more efficient and manageable. Parts,
tools, solder, soldering iron holder and PC board are exactly where you want them! Fea-
tures famous PanaVise "tilt, turn and rotate" control. Solder spool
holder self-centers the feed, and the soldering iron holder keeps the
iron at an easy -to-reach angle. Rugged, sturdy and tough, it also accepts all regular
PanaVise interchangeable heads.
11;
work firmly into position! Also accepts
all regular PanaVise interchange-
able heads.
9255 $97.50 0535'0 -1 S64.95 028735 -X $79.50 9305 $59.50 10016 $39.95
Counts as 3 8225P $19.95 057537-1 $39.95
Counts as 2 Counts as 3 Counts as 3 Counts as 2
ti
CAD, CAM, CAE, CIM CALCULA1lONS
.1
ENGINEERING
J Jf J J
s./
Certon Horn J J
J J `/ J -1
i V
./ ./
(;NY'tII1QIlYhdllNal
How the Club Works
Design YOUR BENEFITS: You get 3 books for $9.95 plus shipping and handling when you join.
You keep on saving with discounts of up to 50% off as a member.
YOUR PROFESSIONAL BOOKSTORE BY MAIL: Every 3-4 weeks, you will
receive the Electronics Engineers' Book Club New describing the Main Selection and Alter-
nates, as well as bonus offers and special sales, will scores of titles to choose from.
tiltnn kaiak' Wtirw N Suknan
AUTOMATIC ORDER: If you wan- the Maim Selection, do nothing and it will be sent
to you automatically. If you prefer another selection, or no selection at all, simply indicate your
033559 -1 3102 $49.95 choice on the reply form provided. You will have at least 10 days to decide. As a member,
$27.95 9244P $18.95
Counts as 2
you agree to purchase at least 3 books withinithe next _ years and may resign at any time thereafter.
BONUS BOOKS: Starting immediateli, you wi] be eligible for our Bonus Book Plan, with
savings of up to 80% off publishers' prices.
IRONCLAD NO-RISK GUARANTEE: If lot satisfied with your books, return them
within 10 days without obligation!
EXCEPTIONAL QUALITY: All books are gtality publishers' editions especially selected
by our Editorial Board. (Publishers' Prices Shown)
s
OYES! Please accept my membership in the ELECTRONICS ENGINEERS'
BOOK CLUB and send the 3 volumes listed below, billing me $9.95. If not satisfied,
I may return the books within ten days without obligation and have my member-
9245 $46.95
Counts as 2 3429 $29.95 3151 $42.95 ship cancelled. I agree to purchase at least 3 books at regular Club prices during
the next 2 years and may resign any time thereafter. A shipping /handling charge
and sales tax will be added to all orders.
oit Design
(or Electronic
I
Instrumentation
Analog and Digiral
Devices from Sensor
o Cispay
Name
..........
Address
I]oos oW liscHn.i
City
3241P $16.95 071231 -X $54.95 10037 S44.95
Counts as 2 Counts as 2 State Zip Phone
Valid for new members only. Foreign applicants will receive special ordering instructions. Canada most remit in U.S. currency.
All books are hardcover unless number is followed by a "P" for paperback. This order subject to acceptance by the Electronics Engineers' Book Club.
C1991 EEBC, Blue Ridge Summit, PA 17294-0860 RPIF991X ,
ARAZIIIG PROs d' KITS
NEW CONCEPT! Body Heat Telescope - At last! A device
Experiments Using Tesla Coil: hand and shock balls, shock wands and electrify objects,
Plasma in a Jar/Tornado, Furnace charge capacitors. Great pay back for those wise guys
Kirlian Photography who have wronged you!
Wireless Energy Transmission SHK1KM Easy To Assemble Electronic Kit . $19.50
Induction Fields Pyrotechnic Effects
Operate 12 -19 VOC for
Corona and Brush Discharge
Field Use or 115 VAC Energizer for Neon Plasma Tubes
100,000V Intimidator / Shock Wand TV & FM Joker / Jammer - Shirt pocket
For Laboratory Use Module Build an electrical device that is affective device allows you to totally control and remotely disrupt
Experiments Using Hi Volts DC: up to 20 feet. May be enclosed for handheld, portable TV or radio reception. Great gag to play on family or
Plasma Blaster Driller/Cutter
field or laboratory applications. friends. Discretion required.
Anti -Gravity/Force Fields
ITM2KM Easy to Assemble Electronic Kit .. $49.50 EJK1KM Easy to Assemble Electronic Kit . $14.50
Ion Reaction Motors
Lightning Generation
High Ion Source Blaster Blitzer Device - Our answer to legal, Visible Beam Laser - High Brightness
Ozone For Air Purification effective personal protection. 20 shot capacity disables red HeNe laser visible for miles. Produce your own
Electrification of People & Objects attacker for up to 30 minutes. Also marks subject for light show - see HoloDiscs (below). Projects a beam
r-` Particle Accelerators /Atom Smashing identification. Mini spray can with 8-10 ft range of red lite clearly visible under most circumstances. Can
High Energy Capacity Charging BLTZ1 Ready to Use $12.50 be used to intimidate by projection of a red dot on target
HVM7 Plans Complete System $10.00 subject. Also may be used to "listen in" utilizing our
HVM7K Complete System Kit/Plans $149.50 Invisible Pain laser window bounce method #LLIS1. Easy to Build
TCL4K Tesla Coil Only Kit/Plans
115/19AC Wall Adapter for 115AC
$79.50
$9.50
Field Generator 1.411)))) Modules Produce A Working Visible Laser:
LAS1 KM Kit w/ 1 MW Laser Tube, Class II .. $69.50
Shirt pocket size electronic
///.
Solar Power! All New!
I
device produces time variant _ LAS3KM Kit w/ 2.5 MW Laser Tube, Class IIIA $99.50
to move to sounds and music. This is one of the best Connects between telephone and SD5K Kit/Plans Basic . $299.50
devices to use with your stereo music system for a recorder No power req needed 6032A 1st Gen Image Tube $ 99.50
fantastic display effect. Easy and simple to install. Undetectable Crystal Clear Extends Tape Time IC16 2nd Gen Image Tube $129.50
DPL1 KM Easy To Assemble Electronic Kit $29.50
. Special Offer! TAT30 Ready to Use . reg 24 $14.50 PBK3K Power Supply Kit S 44.50
Order by Mail,
INFORMATION UNLIMITED or by 24 Hour
Dept PE 11 Box 716, Amherst, NH 03031
,
with many more items
Orders -Only Phone:
FAX 603 -672 -5406 FREE with Order,
Phone: 603 -673 -4730 800 -221 -1705
MC, VISA, COD, Checks Accepted. Please Add $5.00 Shipping & Handling
Or Send $1 P &H
24
Wouldn't it be nice if you
didn't lose memory con-
tents every time you turned off
BUILD A SOLID-STATE
your PC? And wouldn't it be nice
to have a RAM disk that didn't
tap into your regular memory,
DISK DRIVE
whether conventional (0-640K),
extended (above 1 MB), or ex-
panded (bank- switched beneath yea1Oi'
1 MB)?
If you think that either would
be nice, then you'll be interested
in our static RAM disk. It's a full -
length card for any 8- or 16 -bit
nano'
expansion slot; you can install
32K-512K of static CMOS RAM's
on the board. The board has MARK HATTEN
provision for an optional battery
backup system so the card will
retain its contents even after the
main system loses power. That
capability could be useful in re- Retain important PC data with
mote data logging. this inexpensive battery- backed RAM disk.
You can build the board for well
under $100, not counting the
cost of the RAM. A double -sided
PC board is available, as are com- The battery- backup circuit ROM drives, and some types of
plete kits and assembled units. consists mostly of several diodes hard disks require device drivers.
The complete assembly -language that isolate the optional battery What all device drivers share is
source code for the RAM disk is from the PC's power source. We'll the fact that, if a driver is to be
also available, allowing custom discuss the hardware in more de- used, it must be loaded from disk
modifications. tail next time. every time a PC boots. How does
DOS know which device driver or
Hardware overview Software success drivers to load? Via the CON -
The circuit consists of three Success for the PC has come FIG.SYS file.
main sections: the RAM array, about in part because of the ex- CONFIG.SYS is simply an AS-
the bus interface circuit, and the pandability of the system. A good CII text file; each driver that DOS
battery backup circuit. Figure 1 part of that versatile expan- is supposed to load must be spec-
shows a block diagram. dability is due to the concept of ified on a separate line in the file.
The static RAM portion con- the device driver. (CONFIG.SYS also specifies sev-
sists of a maximum of sixteen A device driver provides a eral operational parameters par-
32K x 8 CMOS static RAM's means of adding special features ticular to your machine; see your
(SRAM's), divided into two to DOS in such a way that those DOS manual for details.)
banks. The address and data features appear to be an integral The structure of a device driver
lines of all SRAM's in both banks part of DOS. In fact, DOS itself line in CONFIG.SYS is as follows.
are driven by ICI, an 8255 config- comes with several built -in de- Spaces are shown for clarity, but
ured as a triple parallel port. Port vice drivers. must not be included, except be-
A drives the low-order address ANSI.SYS is a device driver tween the name of the driver and
lines (A0 -A7), Port B drives the that provides a standard way of the optional parameters.
high -order address lines dealing with the display system. DEVICE = (drivel \PATH\j
(A8-A14), and Port C drives the DRIVER.SYS is a device driver i DRVNAM WARMS j
data lines (D0 -D7). that lets you add high- density First comes the phrase DEVICE
A second 8255, IC2, drives the floppy disks to older machines, = Then comes an optional drive
.
chip select (cs) inputs of all and to refer to the same physical and an optional path and sub -
SRAM's. Port A drives IC11 -IC18, disk drive by several different directory where the driver is
Port B drives IC19-IC26, and drive letters. stored. If no drive is specified, the
Port C is not used. VDISK.SYS is a device driver boot drive is assumed. If no path
The bus interface consists of a that emulates a disk drive using is specified, the root of the boot
group of buffers and gates that either conventional or extended drive is assumed.
isolate the circuit from the PC ex- memory. Next is the name of the driver
pansion bus, and they're also Manufacturers of special itself. The name must follow nor-
used to decode a set of I/O port equipment often supply their mal DOS file- naming conven-
addresses for passing data and own device drivers. For example, tions: a name with a maximum of
control information. network interface cards, CD- eight characters, plus a three-
25
BACKUP +5v STATIC RAM ARRAY Parts List
POWER o
1 CIRCUIT
IC19- IC26 Resistors
IC2 PORT
8255 A
All resistors are ',r -watt. 5 %. unless
otherwise noted.
BATTERY R1 -R5 4700 ohms
TO IC11- IC18
PC
PORT R6-R21 22.000 ohms
EXPANSION I B
c AND
DECODERS
I
IC1
Semiconductors
-
IC3 IC10 8255 D1, D2 1N914 switching
diode
ICI, 1C2 8255 programmable
FIG. 1. THE STATIC RAM DISK consists of three major subsystems: an array of as peripheral interface
many as sixteen 32K CMOS static RAM's. a bus -interface circuit, and a battery- backup IC3 74LS245
circuit. bidirectional bus buffer
IC4, IC5 74LS244 octal
bus driver
character extension. Common (Build BIOS Parameter Block) 106 74LS138 three -to-
extensions include SYS and BIN, deals with that occurrence. For eight line decoder
but neither is required. Last example, DOS calls Bui1dBPB IC7 741S85,four-bit
come any optional parameters whenever it detects that a floppy comparator
the driver might require. disk has been changed. In our IC8 74LS04 hex
driver, MediaCheck always re- inverter
As you've probably guessed by
IC9 74LSOO quad
now, the SRAM disk uses a device turns an OK sign to DOS. Be- NAND gate
driver to talk to DOS. cause of that, BuildBPB will be IC10 74LSO8 quad
called only once, when the drive AND gate
Types of device drivers. is initialized. IC11 -IC26 43256 -10 Static
There are two types of device The input and output routines RAM
drivers: character and block. As pass sectors of data to and from
the disk. They use a buffer area Other Components
the names suggest, a chracter swl four-position DIP
driver deals with information specified by DOS in the request switch
character by character, and a header. The number of bytes per B1 four AA cells.
end of the driver in memory. In transfer can not exceed 64K (the with holder (optional)
addition, it must initialize the maximum size of a memory seg-
hardware as required. The ini- ment). If a file is larger than 64K,
tialization routine is usually lo- DOS will read or write the file in
cated last in the device driver file, 64K chunks until the entire file has 1 (FFFFh) in the Nexdev
so that after it does its job, the has been transferred. field.
system can reclaim the memory The next entry is the attribute
that was formerly occupied by Structure of a driver variable, whose value depends on
that driver. Every device driver has a device the type of device. Our driver
The task of the strategy routine header that occupies the first few uses a value of 2000h, which is
is to get a pointer to the DOS re- bytes of the file. Our device head- the setting for a non -IBM block
quest header. The DOS request er is shown in Table 1. The first device. If you run CHKDSK on
header is an array of bytes that entry (Nexdev) is there to provide the RAM drive, it returns a Proba-
communicates what type of ac- a means of letting DOS link each ble non -IBM disk warning be-
tivity DOS is trying to request device driver to the next. DOS cause of that value, but otherwise
from the driver. The address of fills in the links as it loads each functions normally.
the byte array is passed to the driver; the last driver in the chain The next two entries are the ad-
driver using register pair ES:BX.
The interrupt routine is what
does the actual work. It can per- TABLE 1- DEVICE HEADER
form various types of operations,
some of which are mandatory for nexdev DD -1
block drivers, and others for attribute DW 02000H
character drivers. We'll discuss DW STRATEGY
some of the more important oper- DW INTERRUPT
DB number of devices
ations now. DB
1
(7) DUP ?
;
; if char driver
the storage media was removed
or tampered with. Bui1dBPB
26
dresses of the strategy and inter-
rupt routines. TABLE 2 -BIOS PARAMETER BLOCK
The last entry is an eight -byte
field that is used differently for BPB EQU $
block and character devices. For BPB_SS DW 512 sector size in bytes
a character device, you would as- BPB___AU DB 1 sectors per cluster
BPB_RS DW sectors for boot sector
sign a name like CON, PRN, BPB_NF DB
1
1 # of FAT tables
LPT1, etc. For a block device, the BPB_DS DW 16 # of Directory entries
first byte contains the number of BPB_TS DW 1024 # of total sector
physical devices that are being BPB_MD DB OFEH media descriptor
controlled by the driver, and the BPB_FS DW 4 # of sectors /FAT(S)
remaining seven bytes are un- ;BPB_ST DW 00 These variables would be
defined. ;BPB_NH DW 00 drive.
;BPB-H5 DW 00 used for a real disk
The BPB BPB_PRT DW BPB Pointer to this table
Another important data struc-
ture in a device driver is the BIOS
parameter block, or BPB. The tion table to keep track of which
BPB is a data structure that tells sectors have been used, which
DOS everything it needs to know are free, and which are physically Ordering Information
about the format in which infor- damaged. DOS normally main- Note: The following are available
mation is stored on the specified tains two copies of the FAT; to from
device. The BPB is located in the conserve space, our driver main- Hatronics
first sector of a disk, and it in- tains one. 145 Lincoln Street
cludes several items, as shown in Next in the BPB comes the Montclair, NJ 07042
Table 2. number of directory entries. This (201) 783 -7264
The first item in the BPB con- value specifies the number of files (201) 245 -6614 (BBS, join the
tains the number of bytes per that can be present in the root Hatronics conference)
sector. The next item specifies directory of a disk. (Subdirecto-
the number of sectors per cluster. ries are actually files, so the Assembled and tested unit. OK S135
If you're unfamiliar with the term Assembled and tested unit.
number of subdirectories is lim- 256K $255
cluster (also known as the alloca- ited only by the available disk Assembled and tested unit.
tion unit), it specifies the small- space.) DOS 3.3 typically allows 512K $395
est number of sectors that can be 512 directory entries; again, to A silicon boot board, (which allows
allocated to store a file. For exam- conserve space, our driver allows the PC to boot from the RAM
ple, if ten clusters were allocated 16. Drive) $42.00
to a file, and if the BPB defined The next BPB entry contains
four clusters per sector, then the AU orders add 810 for shipping and
the total number of sectors con- handling. .. New Jersey orders add 6%
file would consist of forty sectors. tained on the disk. This value sales tax.
Even if a file is only a single byte represents the total size of the
in length, it requires a full cluster disk, including space occupied
on the disk. by boot sectors, FAT's, etc. In our
Different versions of DOS use case, the total number of sectors driver does not need to use any of
different cluster sizes. DOS 3.3 (TS) can be determined from this those fields.
generally allocates four sectors formula: Obviously, the subject of device
per cluster (depending on overall TS = (32768 /512) *(number of drivers is complex; for detailed
disk size); DOS 2.x allocated 8 SRAM's ) information, the best work that
sectors per cluster. The next entry is called the me- was found by the author is called
The default allocation unit in dia descriptor; it specifies the Writing MS -DOS Device Drivers
the static RAM disk is one sector/ type of media being used, the by Robert S. Lai.
cluster, but you could alter that number of sides, etc. Our driver
value to be any power of two (2 , uses the code for a single -sided Hardware details
2', 23, etc.). floppy -disk drive. The circuit consists of three
The next item in the BPB is the Following the media descriptor main sections: a bus interface, a
number of sectors reserved for is a field that specifies the battery backup circuit, and the
the boot sector. The boot sector of number of sectors that must static RAM array. Figure 1 shows
the BPB contains a short pro- be allocated to each copy of the the complete schematic diagram.
gram that starts the process of FAT The PC bus interface consists
loading DOS from disk. DOS it- Several other fields in the BPB of IC3, IC4, and IC5. The latter
self contains the remainder of are defined for use with physical are a pair of 74LS244's (three -
the loader program. disk drives, including the state octal bus drivers) that buff-
The next entry specifies the number of sectors per track, the er the address lines. A bi- direc-
number of File Allocation Tables number of disk heads, and the tional three -state octal buffer
(FAT's). DOS uses the file alloca- number of hidden sectors. Our (IC3, a 74LS245) buffers the data
27
CO
ii i , i i a iii iia
mm mFm m
c a d
w10 INO+tINt
Q Q E 2
^
U
EIL E plf p Q .7
O 00C)o000 O J O
o
1 31
-
SEL -B
IC15" IC13 1012 IC11
IC16 IC 14 IC2 IC1 R9R4
IC18 IC 17
-R5-
E
F19 R8 R7 R6 J8 '
J7
IC7 J6
109
J4
013 012 R'11 F110 P2O5V J3
J2
-co---- J1 -C10- J2 -C11- J3 -C12-- J4 -C13- J5 -C14- J6 -C15- J7 -C16 P1
J1
v V
IG8 JU1 IC10 I) ICs
tings for various I/O port ad- line. Port A of ICI drives the low-
dresses. In each line of the table, order address lines of all SRAM's;
the address shown is 512 more the lower seven bits of port B
than the sum of the binary drive the high -order address up battery feeds the SRAM's and
switch weights. The reason is lines; and port C drives the data pull -ups via D2.
that A9 is also decoded, so the lines. The high bit of port B (PB7) The author successfully used
minimum address is 512. functions as a pseudo read/write several types of batteries for
When pin 6 of IC7 and pin 3 of line that drives the of lines, and, backup, including a 0.1 -Farad ca-
IC10 go high, pin 8 of IC9 goes after inversion by IC8 -a and IC8- pacitor formerly sold by Radio
low, thus enabling IC6 -d, one of b, also the wE lines. Last, the A Shack, four AA cells, and a re-
the port IC's. In addition, after and B ports of IC2 drive the chip- chargeable cordless phone bat-
inversion by IC1O -b, the pin -8 select inputs of the SRAM's, one tery (Radio Shack number
output also enables IC3, the bit per SRAM. Port C of IC2 is not 32 -173). If you use a rechargeable
data -bus buffer. At that point a used in the present design; you battery, install a jumper in D2's
byte will be read or written (de- could modify our circuit to de- position.
pending on the states of and code an additional 8 SRAM's or
MW) to the appropriate port of the use the port for other things. Construction
selected port IC. You can build the circuit on a
Data retention prototype board with an XT-type
SRAM array The battery- backup circuitry is bus interface, or you can build it
Each SRAM has fifteen address quite simple. Five volts from the on a PC board. Foil patterns are
lines, eight data lines, an output - bus feeds all of the logic and par- shown in PC Service; a drilled
enable (0E) line, a write -enable allel ports. In addition, bus and etched board with plated-
(wE) line, and a read/write (R,W) power also feeds the SRAM's and through holes is also available
from the source mentioned in the
TABLE 1 -1 /O PORT ADDRESSES
parts list.
As shown in Fig. 2, on the front
S1-d S1-c S1-a S1 -b Address side of the board install all re-
(256) (128) (64) (32) (decimal) sistors, then IC sockets, then ca-
pacitors, then the DIP switch and
ON ON ON ON 512 the two header blocks for the
ON ON ON OFF 544 backup battery and the decoding
ON ON OFF ON 576 block. Then, on the back side of
ON ON OFF OFF 608 the board, install the six jumpers
OFF ON ON 640
ON
672
shown in Fig. 2. Connect a pair of
OFF ON OFF
ON
OFF ON 704
wire -wrap wires to each pin of a
ON OFF
ON OFF OFF OFF 736 two -pin female header; connect
OFF ON ON ON 768
OFF ON ON OFF 800 TABLE 2 -BOARD SELECT
OFF ON OFF ON 832
OFF ON OFF OFF 864 Board 1C2, Pin 6 IC1, Pin 6
OFF OFF ON ON 896 1 A B
OFF OFF ON OFF 928 2 C D
OFF OFF OFF ON 960 3 E F
OFF OFF OFF OFF 992 4 G H
Parts List
5 CLS
*
** * * * * * ** * **** * * ** * * * * * * * * ***
All resistors are'/4 -watt, 5% unless
10 PRINT"******************** otherwise noted.
20 PRINT "* R1 -R5
30 PRINT "* SRAM INITIALIZATION PROGRAM * 4700 ohms
40 PRINT "* R6-R21 22,000 ohms
50 PRINT "* COPYRIGHT HATRONICS *
60 PRINT "* * Capacitors
70 PRINT"******************** * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * C1 -C16 0.01 F polyester
80 PRINT" THIS PROGRAM WILL INITIALIZE THE FIRST 32K "
90 PRINT" THIS WILL SET UP THE FAT AND DIRECTORY AREAS C17 10 F, 10 volts,
95 PRINT electrolytic
97 INPUT" WHAT PORT ADDRESS "; PO%
99 IF PO % =0 THEN GOTO 130 Semiconductors
100 PRINT" ARE YOU SURE YOU WANT TO DO THIS ? ?? Y or N "
D1, D2 1N914 switching
110 A$=INKEYS: IF AS = "Y" OR A$ = "y" THEN GOTO 140 diode
120 IF A$ = "" GOTO 110
130 PRINT" ABORTED ?:: ": END ICI, IC2 8255
140 DIM S2(16) Programmable peripheral interface
150 S2(1) =254:S2(2)= 253:S2(3)= 251:52(4) =247 IC3 74LS245
160 S2(5) =239:52(6) = 223:52(7) =191:S2(8) =127 Bidirectional bus buffer
170 P1A= PO%: P2A= PO$ +16:P1B= PO$+1:P2B =P0 %+17 741,5244 Octal
175 P1C= PO%+ 2: P2C= P0$ +18:P1D= PO% +3:P2D= PO$ +19
IC4, IC5
180 OUT P1D,128
bus driver
190 OUT P2D,128 IC6 74LS138 Three -
200 OUT P2,255 to -eight line decoder
210 OUT P2A,255 IC7 74LS85 Four-bit
220 P%=P2A comparator
230 PRINT" INITIALIZING FIRST 32K"
240 IF BA =2 THEN P % =P2B IC8 74LSO4 Hex
250 FOR S = 0 TO 127 inverter
260 FOR T = 0 TO 255 IC9 74LS00 Quad
270 OUT P1A,T:OUT P1B,S +128 NAND gate
280 OUT P1C,0 Id10 74LS08 Quad
290 OUT P %,S2(S3):OUT P %,255 AND gate
300 NEXT T
310 NEXT S IC11-C26 43256-10 Static
320 PRINT " END INITIALIZATION ":END RAM
Other Components
SW1 Four-position DIP
the other ends of the two wires to SRAM's in part- number order switch
the pads by the cs inputs of IC1 (IC11, IC12,...IC26). B1 Four AA cells
and IC2 (pin 6). Then connect the Check your work carefully for (with holder) (optional)
female header to the desired pair solder bridges and cold solder J1 2-position. single -
row, 0.1"female header
of pins on P1. Choose A+ B, joints. Fix any problems, and J2 2-position, single -
C + D, E + F, or G + h, and make then set Si to a value unused by row, 0.1 "female header
sure that the wire from IC2 goes any other adapter in your system. Pl 8-position, single-
to the lower-order pin (A, C, E, 'fly 768 if you're not sure; that row. 0.1" male header
or G). In a multi -board system, address is reserved by IBM for P2 2-position, single -
use the jumper settings shown in prototype boards. row, 0.1" male header
Table 2. Then power down your PC and
The board is a little too tall to fit insert the board into a vacant ex- finishes executing. In other
in an XT-style case. Either use an pansion slot. words, change all END state-
AT case, or trim the board to a ments to SYSTEM statements.
height of about four inches. Initialization Then you could execute the pro-
Doing so will cut through several Power your PC up; if it doesn't gram from your AUTOEXEC BAT .
traces, which can then be re- boot normally, power down like this: GWBASIC SFORMAT.
placed by jumper wires. Make quickly, check the board again, The author is working on an
sure you don't remove any more and correct any mistakes. enhancement that will allow the
than the top eight traces to keep Before you can use the board, driver to optionally initialize the
the additional jumpers to a mini- you must initialize it. Run the board each time you boot. Both
mum. BASIC program shown in Listing the initialization program and
If you trim the board, the addi- 1; that program performs a func- the device driver are available
tional jumpers should be added tion similar to DOS's FORMAT from the RE -BBS, 516 -293-2283,
between the correspondingly command. If you don't keep a 300/1200, 8N1. The file called
numbered pads J1...J8. For ex- battery attached to the board, SRAMDISK.EXE is a self- extrac-
ample, run a jumper from J1 un- you'll have to run the BASIC pro- ting ZIP file that contains the
der the DIP switch to J1 by C9, gram each time you boot. In that BASIC program, the executable
from J2 under the DIP switch to case, you may want to modify the version of the device driver, and
J2 by C10, etc. program so that it automatically the source for the device driver.
If you're not going to install all uses the correct port address and Run SRAMDISK.EXE on a disk
sixteen SRAM's, install the so that it returns to DOS after it continued on page 51
31
DIGITAL
PRESSURE
GAUGE
Now you can take pressure
readings the modern way using
our electronic pressure gauge.
ANTHONY J. CARISTI
MOST OF US ARE FAMILIAR WITH AN ORDI- The circuit the reading is zero. The same goes for
nary pressure gauge, such as that used The sensor is a differential device, our gauge; pressure is applied to P2
for tires that measures pressure in which allows two pressure connec- while P1 is exposed to the atmo-
pounds per square inch (psi). They are tions, and it measures the difference sphere.
usually analog devices with an indica- between the two. The sensor also per- When the pressure sensor is at rest,
tor bar or a moving needle whose mits vacuum measurements when one there is no stress on the silicon di-
movements depend on the specific side of the sensor is exposed to the aphragm and the values of the re-
pressure. However, with the advance atmosphere and vacuum applied to sistors are essentially equal. The
of solid -state technology, it is possible the other. Pressure and vacuum mea- Wheatstone bridge is thus balanced
to construct an accurate electronic surements may be taken on any non- and its output voltage is virtually
pressure gauge with a resolution as corrosive and non -toxic media such as zero. During a pressure measure-
low as 0.1 psi. air, dry gases, etc. The portable ment, any difference in pressure be-
Our digital pressure gauge operates nature of the unit allows it to be used tween the two ports of the sensor
from a 9 -volt battery, so it is corn- almost anywhere, such as for check- result in mechanical stress of the sil-
pletely portable. The circuit uses only ing tire pressure or a compressed air icon diaphragm and a change in the
4 milliamperes, so battery life will be tank. values of the four resistors. Two re-
extremely long. A large two -digit The heart of this project is a dif- sistors increase in value and two de-
LCD is used to display pressure read- ferential piezoresistive pressure sen-
ings, but we'll also show you how to sor which is constructed using
build it with a 31/2-digit display. integrated- circuit technology. It con-
The full -scale range of the pressure sists of four resistors connected in a
gauge is determined by the selection Wheatstone bridge configuration,
of the pressure sensor; in this case we which are deposited on a silicon di-
have used a 0-100 psi semiconductor aphragm that separates two chambers
sensor, manufactured by Sensym of the sensor housing. Each side of
(1255 Reamwood Ave, Sunnyvale CA the diaphragm can be exposed to a
94089). Other sensors are available in pressure source by means of "ports"
full -scale ranges of 1, 5, 15, 30, 100, called Pl and P2. Any pressure dif-
and 150 psi. Using a 15 -psi sensor, for ference between port Pl and port P2
example, would result in a display will be detected by the sensor, provid-
resolution of 0.1 psi with a two -digit ing a differential pressure reading.
readout. Figure 1 shows a closeup of sen-
Pressure is measured by connecting sor.
a flexible hose between the sensor and The common pressure gauge which
source of pressure. If the project is to many people are familiar with is, in
be used for differential pressure mea- reality, a differential pressure gauge,
surements, two hoses must be con- with atmospheric pressure (14.7 psi)
nected to the sensor and the device being the reference pressure. Thus,
under test. Vacuum measurements re- when no pressure is applied to the FIG. 1 -HERE IS A CLOSEUP of the semi-
quire only one hose connection. sensing port of the common gauge, conductor pressure sensor.
32
+ 9V IC3
+ 510 C1
IN AN78L05
1 GNU DISP1
FULL SCALE R5 23 15
CAL. 100K 39
V 17 16
bV 38
R6 R7 K 17
200K 41.2K C4 22
1COK 1000
'M 33
Y
18 3
R8
100K
910
c5T1
IC2
fl
2 4 100K R11 ICL 7106 CPL 15 4
1
8 1MEG 31
3 + IC1-a 24 5
1/4 LMK24
10+
iC1-c C 12 11
? 4 LM324 .01 30 BACK
13 12 PLANE
32 13 7 8 9 10 21 6
5
R13 07
2210 A7 14
1M n 29 9
918
R 18
7 47K 28
10
IC1-b
W. 11
1/41.M324
918 R 6 R17
-1(21 C8
21
126
10K 100K 10K .22
ZERO ADJ.
crease. That causes the Wheatstone cuit which negates the offset voltage of the A to D chip. In this case you'd
bridge to become unbalanced, pro- of the sensor. need to use a 31/2-digit readout, and its
ducing an output voltage which is pro- When the sensor is exposed to 100 decimal place would be illuminated as
portional to the difference in pressure psi, the output of the bridge circuit required. If you wish to use a 31/2-
between the two ports of the sensor. will generate approximately 34 milli- LCD, Fig. 3 shows the addi-
That voltage, which in the millivolt volts. However, there may be varia- tional connections to the A/D con-
range, is amplified and used to pro- tions in output voltage of as much as verter that are required. However, note
vide the drive signal to the display 30% between different sensors. To that the 31/2-digit display is a 40 -pin
section of the circuit. compensate for any given sensor, the device that won't fit on the provided
The schematic diagram is shown in amplifier gain is adjustable by means PC board. You must either hardwire it
Fig. 2. In order to preserve the ac- of potentiometer R6. or design your own board.
curacy of the pressure measurement The display section consists IC2, Because of the characteristics of
with respect to variations in battery which is a combination A/D convert- the pressure sensor, the display will
terminal voltage, IC3, a fixed 5 -volt er/7- segment decoder/display driver, read up -scale regardless of which port
regulator, maintains a constant power capable of driving a 31/2-digit LCD of the sensor is pressurized. However,
source which feeds the sensor bridge. (we've used only a two -digit display, you should use the same port for
A set of four silicon diodes, D1 DSP1). It is driven by the voltage be- which the project was calibrated. If
through D4, has been placed in the tween pins 7 and 8 of op -amp IC1. the project is to be used for vacuum or
circuit to temperature compensate the The sensitivity of the A/D converter is differential pressure measurements,
bridge. That eliminates changes in set by the reference voltage applied the display will indicate the pressure
calibration of the circuit due to am- between pins 35 and 36. The refer- difference in psi, with no polarity in-
bient temperature effects. ence voltage, which is about 238 mil- dication. The A to D converter used in
Three sections of IC1, an LM324N livolts, is set by the divider composed this circuit does have an output termi-
quad op-amp, amplify the millivolt of R2, R3, and R4. nal to indicate polarity, but it is not
output of the bridge to a useful level In this project only two digits are used.
for the analog -to- digital (A/D) con- required since the resolution of the
verter circuit that follows. project is 1 psi and full scale is 100 Construction
When there is no pressure applied psi. However, note that if you measure The project is constructed on a sin-
to the sensor, the voltage between ter- exactly 100 psi, the readout will dis- gle -sided PC board. A foil pattern is
minals 2 and 4 of the sensor is essen- play 00, since the hundreds digit is provided in PC Service. The circuit
tially zero; however, there may be a not present. can also be hard wired on a perforated
small output voltage, called zero off- Note that for readings greater than construction board if you wish. The
set. To compensate for that error, po- 99 psi, or for 0.1 psi resolution, the parts- placement diagram is shown in
tentiometer R16 allows a small DC circuit can modified to use the most Fig. 4. Note that the LCD readout is
voltage to be fed to the amplifier cir- significant and least significant digits mounted on the copper side of the
33
31/2 -DIGIT DISPLAY PARTS LIST
a2
All resistors are 1/4-watt, 5 %, car-
L --/ bon, unless otherwise indicated.
R1 -51 ohms
b2 R2, R4, R8 R10, R12- 100,000
HALF
b1
f2 f12 f3
b3' 93 ohms, 1% metal film
i
DIGIT renuoxmu BACKPLANE
3 1
R3, R15, R17- 10,000 ohms, 1%
c3 metal film
R5-100,000 ohms
c2 e3
=2 d3
R6-200,000 ohms, PC -mount po-
tentiometer
at bt c1 d, et ft gt a2 b2 c2 d2 e2 f2 g2 a b3 c3 d3 e3 f3 g3 R7, R14-41,200 ohms, 1% metal
30 29 10 9 31 32 25 24 15 14 13 26 27 21 20 19 18 17 22 23
11 film
19 23 16 24 15 18 17 22 12 11 10 9 14 13 25 5 4 3 8 6 7 21 R11 -1 megohm
R13 -221 ohms, 1% metal film
IC2 R16- 100,000 ohms, PC -mount po-
ICL 7106 CPL tentiometer
R18- 47,000 ohms
Capacitors
ClC3, C5-0.1 F, ceramic disc
FIG. 3 -HERE ARE THE ADDITIONAL CONNECTIONS to the A converter that are
required for a 31/2-digit display. Note that the 40 -pin display won't fit on the PC board
you'll have to hardwire it or design your own board.
- C4 -100 pF, ceramic disc
C6 -0.01 u,F, ceramic disc
C7 -0.47 F, ceramic disc
C8 -0.22 p.F, ceramic disc
C2R7,
-R9-- -R4- Semiconductors
C11
IC30 -R2- IC1- LM324N quad op -amp
IR1I0( IC/ R5-R3 C6Ri1C7 1C2- ICL7106CPL 31/2-digit ND con-
S1
R6L
CB
verter (Intersil)
+ D-- D2
_R12-R13-
-R14-
R161
C4 C5
IC2 J
DSP1
,_----_I
IC3-AN78L05
IC4- differential
5 -volt regulator
semiconductor
D3r
i
B1 D4
- pressure sensor,
; R15
SX01DN for 1 psi full scale
T R17
1
T -R1-3 1
SX05DN for 5 psi full scale
PINI SX15DN for 15 psi full scale
SX3ODN for 30 psi full scale
FIG. 4- PARTS-PLACEMENT DIAGRAM. Note that the LCD readout is mounted on the
SX100DN for 100 psi full scale
copper side of the board.
SX150DN for 150 psi full scale
(Sensym, 1255 Reamwood Ave,
board. That allows the relatively flat calibration to remain stable with vary- Sunnyvale CA 94089)
side of the PC board to be mounted ing temperature, you should not sub- DlD4-1N4148 silicon diode
next to the side of a suitable enclosure stitute other types of resistors. DSP1-two -digit LCD module (Di-
containing a cutout or window to ex- The LCD and the pressure sensor giKey LCD001)
pose the readout for viewing. are fragile and must be handled care- Optional-31/2-digit module (Digikey
You should use sockets for both of fully to avoid breakage. It is sug- LCD002)
the IC's. Especially for IC2, which is gested that the readout be mounted to Other components
a 40 -pin chip and not inexpensive. the board last. You may wish to use a Sl-SPST toggle or slide switch,
The cost of a socket is minor com- socket for the readout, and you can N.O.
pared to the IC itself, and you can make one by taking an ordinary 18-
B1 -9 -volt battery
Miscellaneous: battery clip, en-
never predict when an IC will have to pin DIP socket and cutting it in half closure, IC sockets, hose w /fitting,
be removed from a PC board. Once lengthwise. Remember, the socket clamps, wire, solder, etc.
the sockets are in place, continue in- (and readout) will be placed on the Note: The following are available
stalling components, but do not insert copper side of the board, so you must from A. Caristi, 69 White Pond
the IC's yet. allow some space between the plastic Road, Waldwick, NJ 07463:
The 5 -volt regulator, IC3, looks of the socket and the board itself to Etched and drilled PC board,
like a small transistor; simply solder it allow room for soldering. $14.95; pressure sensor, $36.50;
directly to the board, and be sure to Before mounting the LCD, take set of 121% metal -film resistors,
watch its orientation. Also be sure note of where pin 1 is. If you look at $5.75; IC1, $2.00; IC2, $15.00;
IC3, $2.00. Add $2.75 postage
that the diodes are properly oriented. Fig. 5, the black border around it has a and handling per order.
The circuit requires four jumpers; marking on one side. Looking at that
the short jumper wire between pins 2 marking, pin 1 is where you'd nor- 4. The four terminals of the sensor are
and 6 of the LCD can be a piece of mally see it on any ordinary IC. very fragile, and must be carefully
bare wire, but the other three should The pressure sensor may be fas- bent into position using a needle -nose
be insulated to avoid shorts. tened to the board using two #4 ma- pliers to support the leads next to the
Many of the resistors specified in chine screws and nuts, but be very body of the part. If you attempt to
the parts list are metal -film types careful not to over-tighten them. Note bend the leads without such support,
which exhibit excellent temperature that pin of the sensor is marked with
1 you risk breaking the wires.
stability. Since we want the project's a small dot; mount it as shown in Fig. If you attempt to bend the leads with-
34
leaving the power on and depleting When you are satisfied that the 5-
nnnnnnnnin
18 17 16 15 14 13 12 11 10 the battery.
Be sure to use a connector clip for
volt regulator is operating properly,
disconnect the battery from the proj-
the battery to ease replacement when ect and insert the IC's into their sock-
necessary. The battery should be se- ets. Be sure to follow the orientation
curely mounted in the project's en- as indicated in Fig. 4.
closure so that it does not rattle Reconnect the battery to the project
around and break anything. and turn the power switch on. No
When you have completed assem- pressure is to be applied to the sensor
bly, examine the circuit board very at this time. The display should indi-
carefully for bad solder connections cate a two digit reading, and adjust-
and inadvertent short circuits, es- ment of R16 should allow you to set
pecially between adjacent IC termi- the reading to 00.
nals. Bad solder joints often are dull, If you don't get any display, check
U rough blobs of solder. Correct any that the LCD is properly mounted on
1 2 3 4 5 7 8 9 problems that you find. Figure 6 the copper side of the board. Check
shows both sides of the completed IC2 to be sure that it is properly ori-
FIG. 5-THE BLACK BORDER around the
display has a marking on one side. Using unit. ented in its socket. Check the 5 -volt
the marking as a reference, pin 1 is where regulator to verify that power is being
you'd normally see it on any ordinary IC. Checkout applied the circuit. If your meter is
To check out the project you will capable of measuring DC current, you
out such support, you risk breaking need a DC voltmeter, as well as a can check the current draw from the
the wires. source of air pressure such as a porta- battery to determine if it is approxi-
A suitable pressure hose must be ble air tank. Be sure tank pressure is mately 4 milliamperes, which is the
connected to port P2 of the sensor, not over 100 psi. For the preliminary normal current draw of the project.
and secured with a small metal clamp checkout it is not necessary to know If you obtain a display but the il-
that has been designed to handle high the precise pressure of the source, but luminated segments of the digits are
pressures. Such clamps can be ob- it should be in the range near the not entirely correct, the most likely
tained from automotive supply out- maximum measurement capability of cause is open or short circuits at the
lets. It cannot be over-stressed that the project. output connections of IC2 which
pressures greater than 10 psi are sub- Before putting ICI and IC2 in their drive the readout. Disconnect IC2 and
stantial, and the hose and clamp must sockets, set the calibration potenti- the battery from the project and locate
be able to withstand such force. ometers to mid -position. Connect a 9- the fault using an ohmmeter.
If you want to use the project to volt battery, and turn on power. Note that the display may, on occa-
measure tire pressure, you need a Measure the voltage across C2; you sion, indicate 01 instead of 00. This is
hose from a bicycle shop with a fitting should obtain a reading between 4.8 not to be construed as a defect in the
at the end that depresses the valve and 5.2 volts DC. If you do not obtain circuit; it merely means that your zero
stem during a pressure measurement. the correct reading, do not proceed adjustment is not centered exactly.
You might be able to take an old tire with the checkout until you trou- When you are satisfied that the zero
pressure gauge and modify it for use bleshoot the problem. Check IC3 for adjustment of the display is correct,
with our digital pressure gauge. As proper orientation. Check the termi- you may apply full pressure to the P2
with the pressure- sensor connection, nal voltage of the battery to verify that port of the sensor. When that is done,
you will need to clamp the valve fit- it is delivering at least 7 volts. Discon- the readout will indicate some
ting to the hose. nect the battery and measure the resis- number. Adjust R6 for a display equal
You may wish to use a normally tance across C2 to verify that you do to the pressure of the source, if
open pushbutton switch for your proj- not have a short circuit between the 5- known.
ect. That will prevent accidentally volt bus and ground. continued on page 38
ND CONVERTER
42695
ZERO ADJUST
PRESSURE
SENSOR
.
PRESSURE
SENSOR INPUTS PIN 1
MARK
ir-^m..cyllaa
FIG. 6 -HERE ARE BOTH SIDES of the completed unit. notice how the display goes on the
foil side.
35
L
IIIIIIIIIIIIIIIIIIIII
LOWELL D. JOHNSON
HAVE YOU EVER BEEN ANNOYED BY A PAG- is a true replica of the shape of the nouncements. Everyone loved it-ex-
ing system that makes the speaker input signal. The circuit introduces cept the minister. After the sermon,
difficult to understand, or by a stage - little noise, so none is heard at the he very strongly requested that a
show performer who rattles the speak- output. Pumping, or changes in am- switch be installed that could disable
ers by singing loudly into a micro- plifier gain that can be detected by the the limiter. It seems that he preached
phone? Most people assume that the listener, is almost imperceptible. fire -and-brimstone, and he wanted to
equipment is malfunctioning, and Transient spike handling is excel - rattle the speakers.
that repairs are needed. However, in lent-if it weren't, the limiter would
many cases that's not so; and the real not be fast enough to control in- Circuitry
culprit that's causing the distortion is stantaneous fast- rising spikes, such as Figure 1 shows the block diagram
audio -level mismatching. a percussive sound. of the audio limiter. Amplifier ICI -a
Basically, if the gain of an audio Volume limiters aren't always de- can change its gain from %tooth to
amplifier is adjusted for a small input sirable. For example, the circuit we'll x 100, depending on the net effect of
signal, and a large signal is applied, present was installed in a church PA its feedback loop. That way, the over-
then the amplifier is driven beyond its system to compensate for the different all gain of the circuit is such that the
capabilities and distortion results, voice levels of the various members of output level remains constant. If we
even though the amplifier is working the congregation who made short an- put a potentiometer in the feedback
perfectly. And, if the amplifier is ad- loop of ICI -a that we could continu-
justed for a strong input signal, and a ously adjust to maintain a steady out-
OUTPUT LEVEL SET
weak signal is applied, then it is diffi- put level, that would do the trick.
cult to understand what the speaker is However, that would be extremely im-
saying. In either case, it sounds practical, as well as being boring;
awful, and the message doesn't get VARYING
AMPLITUDE
what we need is a resistor that can
across. However, if you build the cir- J1 J2 instantly change its value in accor-
OUTPUT
cuit described in this article, it will INPUT
dance with the output voltage of
eliminate those kinds of problems; the ICI -a. An optically coupled
circuit maintains a constant output - Light-Dependent Resistor, or LDR
voltage level, regardless of the input VARIABLE GAIN would do the trick.
signal. AMPLIFIER
An optocoupler is a device that
The circuit produces no clipping, CONSTANT AMPLITUDE contains both a light source (an LED)
which would flatten the peaks of the FIG.1 -BLOCK DIAGRAM of the audio lim- and some kind of light- sensitive de-
signal, and virtually zero distortion, iter. The feedback loop of IC1 -a controls vice (in this particular case it happens
because the shape of the output signal the gain of the circuit. to be an LDR) inside one package,
36
very small, and when the LED is
turned off, the LDR's resistance be-
D comes very large. The resistance of
ipg BZl-B1-11 12 V
- 22F2 7
the LDR can therefore be varied at a
-
IN914 9V 9V 1N914 R3
100K very fast rate, according to the inten-
r
C10
Wit 6
r-dN1r-
T22F
R5 sity of the light from the LED. So let's
= DI D3 IC2 1K 'OA use the LDR portion of an op-
VTL-5C4-2 R4 C5
330K 100pF C4
tocoupler in the feedback loop of our
D4 D2 1/LDR 1MEG
R2
+V C3,
amplifier to produce a gain- control-
1N914 \k C3
1
ling circuit.
1 4) = LED
100pF lf- Now, to be more specific, we need
LDR C7 J2
8
2211F OUTPUT
an optocoupler with an LDR that can
ICI a
+IF---)1, reduce its resistance instantly when
J1 NE5532
INPUT C6 R6 its input signal reaches the limiting
22F 10052
100K
22F 22F
10K
V
threshold, thereby reducing the gain
of the amplifier to just below the
threshold. Then we'd like it to stay at
FIG.2- SCHEMATIC OF THE VOLUME LIMITER. IC1 -a is connected as an inverting that value until the input signal be-
amplifier whose gain is controlled by the LDR portion of an optocoupler. came weaker, and then gradually in-
crease the gain until the threshold is
reached. Fortunately, the VTL-5C4 -2
II----1 from Vactec Inc. (10900 Page Blvd.,
B1
J1
INPUT
R7 --
ICI
-
IC2
R1
D6
- C8-
V cs
R6
Ic7
IC6
is removed, the resistance increases
over a period of seconds (very slow
with respect to audio frequencies).
Those combined characteristics can
form a limiting circuit that produces a
R4
constant output level, but whose ac-
II
NC
C3 Cs
tion is not easy -in fact, quite diffi-
cult -for the listener to detect.
IC2
03
C4 03 R5 Figure 2 shows the schematic of the
N 02 volume limiter. ICI -a is connected as
I l
N Cl I
spikes will exist, you may omit that normally less than full -scale ca- 2 years if the project is used intermit-
resistor, too. Capacitors C3, C5, and pability, it would be prudent to cali- tently. The display will change in ap-
C8 are included as standard practice, brate it at this pressure level rather pearance when the battery needs to be
but if no undesirable effects occur, than at full scale. Use the setup in Fig. replaced, and it will disappear al-
you may omit them. Use any regu- 7, remembering that all hose connec- together when the battery is totally
lated supply voltage, such as two 9- tions must be securely clamped. The exhausted. R -E
38
BUILD -E's
i ET*
e '-
DIGITAL
tl
@! r1-,;
/ // DASHBOARD
TR1
LEDI
%
Of!C
DI$p2.
./'
1-_ 1
/N, r,
LED1
e
.,._.
,
in turn, will extend the life of the The digital vacuum gauge mea- s ~
battery. A failure _n the automobile's sures the intake- manifold vacuum in fltat esitet lti
charging system can, of course, leave inches of mercury (in. Hg)_ Normal
you stranded. driving usually produces a vacuum
Prope- oil pressure is very impor- reading between 16 and 22 ir. Hg. monito- such things as the oil, trans -
tant to -he opera-ion of your auto - The general rule of thumb is, the miss -cr. fluid, differential fluid, etc.
mct ile's engine. Without it, the oil higher tie vacuum level, the ower the In addition to automotive operating
would nut be pumped into bearings, gauge reading, and the better tie gas parameters, convenience items such
journals, and o'.er moving metal mileage. as outs =de air temperature and inside
parts. The end Result would be a As you probably already <now, an air temperature can also be
seized o- badly da_-nagec engine. The automoiie uses many other duds be- monitored.
digital cil- pressure gauge keeps you sides the water and antifreeze in the
infurmed as to how well your engine radiator. And, just like the coolant in Circuitry
is being lubricated. the radiator, many of those fluids get A block diagram, which cescribes
The digital water- temperature hot under use. Since excessive heat- the circuitry that's common to all of
gauge is used to monitor the engine's ing indicates a potentia =ly serious the gauges, is shown in Fig. 1. The
cooling system, which is designed to problem, it is advantageous. to central component of each digital
39
gauge is the A/D converter. Because it mine the original input voltage level. Let's take a closer look at each indi-
is common to all of the gauges, it The CA3161E has a differential in- vidual gauge. The gauges are very
deserves a thorough explanation. The put which greatly simplifies circuit similar to each other, so we will not
CA3162E A/D converter and the design. The full -scale input is 0.999 repeat descriptions for similar sec-
CA3161E display driver form an accu- volts which results in a reading of tions. The same goes for the display
rate, low-cost, three -digit analog to "999" on a three -digit display. The boards.
digital converter system that can oper- resolution, or smallest change the A/
ate from a single 5 -volt supply. D converter can show, is mV. 1 Voltage gauge
The basic operation of the A/D The CA3162E also controls the dis- The voltage gauge displays the volt-
converter is based on the dual slope play multiplexing and updating. age of the automobile's electrical sys-
system. Here, an integrating capaci- Using multiplexing, the parts count is tem on a three -digit readout with 0.1-
tor is charged to a level determined by greatly reduced, and, although only volt resolution. The gauge will dis-
the input voltage. That is accom- one digit is lighted at a time, it ap- play voltages from 8 to 19.9 volts.
plished by converting the input volt- pears that all the digits are on all the Because the input of the A/D convert-
age to a relative current and using that time. er has a maximum input of 0.999
current to charge the integrating ca- The Binary Coded Decimal (BCD) volts, the input voltage to the meter
pacitor for a predetermined time. output of the CA3162E is sent to the must be divided by 100. That way, the
After that charge time, the voltage -to- CA3161E display decoder /driver, A /D's actual input voltage ranges
current converter is removed and a which supplies segment current to from 0.080 to 0.199. That results in a
current source of opposite polarity is each of the displays. Because the dis- reading of "080" to "199," and by
connected to the capacitor. The time play driver contains internal current fixing the decimal point to the second
required to discharge the capacitor to limiting, external current- limiting re- digit, a resulting display of "08.0" to
its original value is measured to deter - sistors are not needed. "19.9" is obtained.
r T- The voltage gauge schematic is
+13 8V 5V
03
F1
2N3906
1A
P1
R15 D2
100K 1N4002 7
+ 5V 4 5V I I 6
1
R17
50K
14 5
- 16
ZERO
33F
T+ 12 3
-- 10
ADJ
9 11
8 2 7 14
IC2
CA3162E
ICI
CA3161E 12
11
1
10 2 13
C4
10F 6
6
8
15
9
iR16 13
' 1K R11
R3
10K
22012
DIGITAL GAIN
VOLTMETER ADJ MAIN BOARD (43021), DISPLAY BOARD (43B15)
FIG. 2 -THE DIGITAL VOLTAGE GAUGE displays the voltage level of your automobile's
electrical system.
40
voltage to ensure stable readings. A
VOLTAGE GAUGE zero-adjust is provided by R17 and a OIL-PRESSURE GAUGE
All resistors are 1/4-watt, 5 %, un- gain- adjust by Rll. All resistors are 1/4-watt, 5 %, un-
less otherwise indicated. Once the input voltage has been less otherwise indicated.
R1-R10, R12 -R14 -not used converted, its digital value is sent to R1-470 ohms
R11- 10,000 ohms, PC- mounted R2-R8, R10, R12 -R16 -not used
the display section. There, IC1 of the R9- 100,000
trimmer potentiometer ohms
R15- 100,000 ohms
display board receives multiplexed R11-10,000 ohms, PC- mounted
R16 1000 ohms
BCD information and outputs that in- trimmer potentiometer
R17- 50,000 ohms, PC- mounted formation to the three seven -segment R17- 50,000 ohms, PC- mounted
trimmer potentiometer displays, one at a time. The multi- trimmer potentiometer
Capacitors plexing is controlled by IC2. Current Capacitors
C1-47111, 25 volts, electrolytic to each display is switched by Q1, Q2, C1-47 F, 25 volts, electrolytic
C2, C5-10 F, 35 volts, electrolytic and Q3. For example, when Ql is on, C2, C3, C4-10 F, 35 volts, elec-
C3, C4-not used current is delivered to DISP1, the trolytic
C6 0.33 F, 50 volts, stacked film most significant digit of the display. C5-not used
Semiconductors C6 0.33 F, 50 volts, stacked film
To display a "138," the CA3162E
IC1- LM340T-5, regulator 5 -volt
would send a binary 0001 to the
Semiconductors
IC2 -CA3162E, A/D converter lC1- LM340T-5, 5 -volt regulator
D1, D2 -1 N4002 diode
CA3161E, which would then turn on IC2-CA3162E, A/D converter
Miscellaneous: 43B21 main PC the necessary segments to display a D1, D2- 1N4002 diode
board, 3 -digit display board, in-line "1" on the first digit. After a predeter- Miscellaneous: 43B21 main PC
fuse holder, 1 -amp fuse, four 6 -32 mined time, the system moves on to board, 15G5 oil- pressure sender, 2-
x 0.625" standoffs, eight 5/16 -inch the second and third digits and finally digit display board, in -line fuse
#6 screws, bronze or red plex- repeats itself. Because the voltmeter is holder, 1 -amp fuse, four 6 -32 x
iglass, mounting hardware, hookup designed to display 0.1 -volt incre- 0.525" standoffs, eight 5/16 -inch #6
wire ments, the decimal point on DISP2 is screws, bronze or red plexiglass,
kept on all of the time by R3. A mounting hardware, hookup wire
Capacitors Cl and C2 help reduce "VOLTS" annunciator is formed by
voltage transients and fluctuations. LED1, which is a pre -formed module from 0 to 80 psi (pounds per square
The A/D converter (IC2) converts containing two LED's, and limiting inch) with -psi resolution. The input
1
the input voltage to a relative digital resistors RI and R2. The module has a voltage to the A/D converter must
value, and C6 is the integrating capac- plastic "lens" over it that is all black therefore range from 0 to 0.80 volts.
itor that was discussed earlier. A di- except for the clear letters V-O-L-T-S. The oil pressure is sensed by the oil -
vide -by-100 network, that provides pressure sending unit which converts
the proper input voltage for the A/D Oil pressure pressure to electrical resistance. In
converter, is formed by R15 and R16. The oil- pressure gauge, shown in the case of the sending unit used here,
Capacitor C4 filters the A/D input Fig. 3, displays engine oil pressure pressure is converted to resistance
5V 4
5V Q2
F1 2N3906
1A
+13 8V -.11-
+ 5V DISP1 DISP2
4 /477 Q1 LN514RA LN514RA
CHASSIS 10
2N3906 10
GROUND
02 Cl - C2
Rl 47F 10F 9
1N4002
4 47052
-- 8
5V
+ 5V
50K
ZERO
R17
ADJ
r C6
33F
or+
14
12'
9
5
4
ii
16
10
11
8
I:2 2 ii 7
ICI
14
AA.
-... -
11 CA3162E
1-\* CA3161 E 12
R9
100K
10
6
15
6
2 13
15
+
; C3 C4 13 7 9
TOF 1DF
P11 _E8
_
10K MAIN BOARD
GAIN ADJ ,43B21) DISPLAY BOARD (438161
L
OIL PRESSURE 4
FIG. 3 -THE OIL-PRESSURE GAUGE displays engine oil pressure from 0 to 80 psi with 1-
psi resolution.
41
with an approximate I:I ratio. That is, ature sending unit, which is essen-
with 60 pounds of oil pressure, the tiality a thermistor contained in a WATER- TEMPERATURE GAUGE
sender's resistance is approximately brass enclosure. Because the sending All resistors are'/4-watt, 5 %, un-
60 ohms, with a 0.6 -volt drop across unit's resistance is inversely propor- less otherwise indicated.
it. With no oil pressure, the sender's tional to temperature (the greater the
R1-100 ohms, 1 -watt
R2- 430,000 ohms
resistance is zero ohms. The voltage temperature, the lower the resis- R3, R7- 10,000 ohms, PC- mounted
drop across the sending unit is then tance), the differential input of the A/ trimmer potentiometer
filtered and read directly by the A/D D converter is used. That means that R4, R8-22,000 ohms
converter. The regulator and A/D con- the A/D converter CA3162E mea- R5, R9, R11 R16 -not used
verter sections are similar to the volt- sures the difference between its R6- 470,000 ohms
meter, and the display section is positive and negative inputs (pins 11 R10 -2200 ohms
identical except for one less digit. and 10, respectively). R17- 50,000 ohms, PC- mounted
The sending unit and R1 on the A reference voltage, set by R6, R7, trimmer potentiometer
main board form a resistive divider. and R8 is applied to the positive input Capacitors
C1-47 F, 25 volts, electrolytic
The voltage drop across the sending at pin 11. The negative input (pin 10)
C2, C5-10 F, 35 volts, electrolytic
unit equates to 0.01 volt/psi. That is, is connected to the temperature-send- C3, C4-not used
for every psi of oil pressure, the volt- ing unit via a resistor network. As the C6 -0.33 p.F, 50 volts, stacked film
age across the sender increases by ap- temperature of the sending unit in- Semiconductors
proximately 10 millivolts. The relative creases, its resistance will decrease, D1, D2-1N4002 diode
voltage across the sender is then fil- lowering the voltage across it. When IC1- LM340T5, 5 -volt regulator
tered by C3, R9, and C4 to maintain a the lower voltage is seen at the nega- IC2- CA3162E, ND converter
more stable reading. An "OIL" an- tive input of the A/D converter, and Miscellaneous: 43B21 main PC
nunciator (LEDI) specifies the read- compared to the level set at the board, 14G11 water- temperature
ing of the gauge. positive input, the temperature read- sender, 3 -digit display board, in-
line fuse holder, 1 -amp fuse, four
ing will rise. The opposite happens as 6 -32 x 0.625" standoffs, eight 5/16-
Water the sending unit cools; its resistance inch #6 screws, bronze or red plex-
The water -temperature gauge, becomes greater and more voltage is iglass, mounting hardware, hookup
shown in Fig. 4, displays the auto- applied to the negative input. The wire.
mobile's coolant-system temperature temperature reading then decreases as
on a three -digit readout with 1-degree the negative input gets closer in po-
resolution. The actual temperature is tential to the positive input. A reading the negative input is limited to a max-
obtained by measuring the resistance of 0 will result when the positive and imum of 1.2 volts.
across a standard automotive temper- negative inputs are equal. Note that The regulator and display sections
+138V
5V
+ 5V
03
F1
D1 2N3906
1A
1N4002
P1
Q2 DISP1 DISP2 MS P3
01 2N3906 LN514RA LN514RA LN514RA
CHASSIS Ci 2N3906 10 10 10
GROUND
02 = C2
1144002 47F 10F 2 9
R8 R7 R6
22K 10K 470K
I
+ 5V
HIGN AOJ
+ 5V + 5V
+ 5V 1 A
Rt
R17 5
-- 3 6
C6 07.12 3 10
100 ZERO .33F y
LW ADJ
8
4
2
7
11
14
R2
430K 11
IC2
CA3162E 1
IC1
CA3161E 12
R3 LOW ADJ 10 15
+5V
4 2 13
10K
R4
:L
I1Opf
C5 R10
2.2K
6 16>i 6 15
f R1
22081
R2
22011
13 7 8 9
22K VM
yi
P2 COAX LEDI
CABLE TEMPERATURE
1
SENDING
UNIT
WATER TEMP MAIN BOARD 143B211j DISPLAY BOARD (43615)
FIG. 4 -THE WATER -TEMPERATURE GAUGE displays the automobile's coolant- system
temperature on a three -digit readout with 1- degree resolution.
42
r
+5V-
1-i
F1 D1
+13.8V IN400 2 02
) 5V 2N39O6
P1
CHASSIS 1- D2
GROUND
1N4002 DISPi DISP2
LN514RA LN514RA
R10
EMPTY
100K ADJ (13)
RANGE 10 0
A: EMPTY 0-20 OHMS 9
R19 01
FUL 75-240 OHMS
R13 100K 2N39O6
R2 B: EMPTY 6O -300 OHMS
82K 2
FULL 0 -35 OHMS
I
100K 13 --4/Vt--~
-WNre-- 14
3 +5u + 5V
r + I
12 ,
R8
7 14
10K IC3 ICI
FULL Rii CA3162E CA161E 12
ADJ (B) 2.7K1 2 13
15
-t -
6
9
R4 -
FULL. R9
47K
ADJ 2O0K 5V
9 (AI R12 Rib
8 100K 100K
10
C2-c
R5 Y4 LM324
10OK R6 + 5V
t + 5V 1.8 MEG R17
22K
1 R1t LED1
R7 1K
1O0K EMPTY ADJ (A) SENDING
UNIT
4- 5V -M71-- COMM
RI
47011 y P2 COAX
CABLE
FUEL LEVEL = MAIN BOARD (43820) DISPLAY BOARD (43B16(
FIG. 5-THE FUEL GAUGE displays the level of fuel in your gas tank on a two -digit
readout, which is interpreted as percentage of the fuel remaining.
are again similar to that of the volt- preted as percentage of the fuel re- voltage developed across the sending
meter's. Looking at the A/D convert- maining. The fuel gauge senses the unit is proportional to the fuel level.
er's input circuitry, note that R1 and resistance of the fuel sending unit lo- For sending units that increase in re-
the temperature sending unit form a cated in the gas tank. Typical sending sistance as the tank is filled, the R5
resistive divider network with the units consist of a potentiometer with path is taken. Because the voltage in-
sending unit connected through P2. its wiper connected to a float. As the creases as the fuel level rises, we off-
The relative voltage at that point is fuel level rises and falls, the resistance set the empty reading and adjust the
then divided down by R2, R3, and of the potentiometer changes. Al- top scale for a "full" reading.
R4. Potentiometer R3 provides the though sending units are not corn - Because the gauge works from a
low- temperature calibration adjust- pletely linear, due in part to the single supply, and the A/D compares
ment, and C5 filters the input voltage irregular shape of most gas tanks, its positive input to its negative, we
for stable readings. That voltage is their output resistance does go con- need to be able to reach zero volts in
then sent to the negative input of the sistently from low to high. Some order to display a zero (0% fuel left).
A/D converter, IC2. Resistors R6, sending units have a high resistance Most op-amps will work very close to
R7, and R8 form a resistive divider when empty and a low resistance their negative supply, which in this
that sets the upper reference voltage, when full, as with most Ford, AMC, case is ground, but not completely.
the high- temperature calibration is set marine, and aftermarket senders, and By biasing the negative input of the
by R7, and the A/D converter zero some go from a low resistance when A/D converter to 0.21 volts, the
adjust is set by R17. A "WATER" empty to a high resistance when full, ground reference for the op -amp
annunciator is formed using LEDI, as is the case with mest GM sending "zero" level becomes 0.21 volts. The
Rl, and R2. units. By having two range settings, op -amp output can then easily reach
the fuel gauge can handle both kinds the "ground" refe.;,nce level to obtain
Fuel of sending units. The range settings a "00" on the display. All other volt-
The fuel gauge displays the level of (A and B) are shown in Fig. 5. age values are then referenced to'the
fuel in your gas tank on a two -digit Current for the sending unit is de- 0.21 volt "ground." Potentiometer
readout (see Fig. 5). The readout's rived from R1, which forms a voltage R7, along with R6, is used to offset
range is from 0 to 99, and is inter- divider with the sending unit. The the output of IC2 (pin 8) to 0.21 volts.
Temperature input, the reading will rise. Just the
FUEL GAUGE The miscellaneous temperature opposite happens as the diode cools.
All resistors are 1/4-watt, 5 %, un- gauge, shown in Fig. 6, displays tem- Resistors R13 and R14 form a volt-
less otherwise indicated. perature by measuring the voltage age-divider network that provides a
R1-470 ohms drop across a typical silicon diode, reference of 0.9 volts for the second
R2, R5, R10, R12, R14, R15, R16
which is determined by the formula divider network consisting of R12 and
100,000 ohms
R3- 33,000 ohms
VD = 2mV per degree Celsius, where R5. That second divider scales the
R4- 47,000 ohms VD is the voltage drop. Because the relative voltage developed across the
R6-1.8 megohms temperature gauge is calibrated to temperature probe to coincide with
R7, R19- 100,000 ohms, PC- read out in degrees Fahrenheit, the the range of the A/D converter. It is
mounted trimmer potentiometer voltage across the diode is scaled ac- also used to bias the temperature-pro -
R8- 10,000 ohms, PC- mounted cordingly. The temperature is then be diode. For example, suppose the
trimmer potentiometer displayed on a three -digit readout voltage across the diode at 32 degrees
R9- 200,000 ohms, PC- mounted with 1-degree resolution. Fahrenheit is 0.6 volts. Then, 0.654
trimmer potentiometer volts would be delivered to the nega-
Because the voltage across the di-
R11 -2700 ohms
R13-8200 ohms
tive input of the A/D converter. With
R17- 22,000 ohms the positive input of the A/D convert-
MISCELLANEOUS er calibrated to 0.686 volts, "032"
R18 -1000 ohms
TEMPERATURE GAUGE would be displayed on the digital
R20- 470,000 ohms All resistors are'/4-watt, 5 %, un-
R21-50,000 ohms, PC- mounted less otherwise indicated.
readout. As the temperature-probe di-
trimmer potentiometer R1 R4, R9, R10, R15, R16--not used
ode heats to 212 degrees Fahrenheit,
R22 -2200 ohms the drop is reduced to 0.4 volts. We
R5 -2200 ohms
Capacitors R6 -6800 ohms would now have 0.49 volts at the
C1-47 RF, 25 volts, electrolytic R7 -1000 ohms, PC- mounted trim- negative A/D converter input. The
C2, C3-10 RF, 35 volts, electrolytic
mer potentiometer display will now read "212."
C4 -0.33 F, 50 volts, stacked film
R8-470 ohms Although the negative input is not a
Semiconductors R11- 10,000 ohms, PC- mounted
IC1-LM340T-5, 5 -volt regulator
full 180 millivoits lower than at 32
trimmer potentiometer degrees, the gain control of the A/D
IC2 -LM324, quad op -amp
R12- 10,000 ohms converter compensates for that. The
IC3 CA3162E, A/D converter R13 -1000 ohms
D1, D2- 1N4002 diode R14 -220 ohms
compensation also allows the con-
Miscellaneous: 43B20 main PC R17- 50,000 ohms, PC- mounted verter to have an adjustment window
board, 2 -digit display board, 0.1" 3- trimmer potentiometer so tolerance effects can be calibrated
conductor header, 2- conductor Capacitors
jumper, in -line fuse holder, 1 -amp C1-47 RF, 25 volts, electrolytic
fuse, four 6 -32 x 0.625" standoffs, VACUUM GAUGE
C2, C5-10 RF, 35 volts, electrolytic
eight 5/16 -inch #6 screws, bronze or All resistors are'/4 -watt, 5 %, un-
C3, C4 -not used
red plexiglass, mounting hardware, less otherwise indicated.
C6 -0.33 RF, 50 volts, stacked film
hookup wire. Semiconductors
R2- 10,000 ohms
R1,
+5V
R17/ 114 5 3 16
50K +
R13 ZERO C6 .r.12 34>__ 4 10
1K
R14
220Q
ADJ .34.F 9
8 IC2
4
2
)i-
>>-
5
7 ICI
11
14
CA3162E CA3161E
R12 11 12
10K 10 2
115 13
>i
C5 ' + R11 6 16 6 15
10F
Z
10K 13 7 8 9
R5 1 "."HIGH
747
# 2.2K ADJ
LEDI
P2 + COAX IODETEMP
PROBE
CABLE
IN4148
MISCELLANEOUS TEMP MAIN BOARD I43B21) DISPLAY BOARD (43B15)
out. Looking at the remaining circuit- and R8 form a resistive divider that low- temperature calibration is ad-
ry, C5 is used to filter the input voltage sets the upper reference voltage, with justed via R7, while the high- temper -
for stable readings. Resistors R6, R7, a range of 0.284 to 0.889 volts. The ature calibration is adjusted via R11.
F1 D1 5V-4-
+13.8V 1
->} IN4002 02
2N3906
CHASSIS
GROUND/Th7
1
>i
D2
I DISP1 DISP2
13 IN4002 LN514RA LN514RA
IC2-d
10j
YaLM32412 14
-VNr--- R7 _L 01
1
2
10
9 2
+ 5V R1 R6
R8
SENSYM 19K 680K 200K - 2N3906 3 I 8
100K
SX3ODN3__ i
3 + 5V + 5V
21 IC2-a A
R2 %4 LM324
1 + R11 5 16
L__ J 10K' R3 50K
=
100K
R9.
ZERO
ADJ
C4 sr41.4
33F
12 3
- 4 10
82K
4
11
10
+/IC2 c
8
11
8 IC4
CA3162E
2
1
7 ICI
CA3161E
14
12
/4 LM324 >>
+ 5V R10 10 15 2 13
200 01Opf
>i
-612
+5V
R5 22K
R4 GAIN
6 16
6 15
4 13 7 9
1K 7.
L NV
11_
1C2
LM324 2 2K
dACUUM MAIN BOARD (43B17) y DISPLAY BOARD (431136)
FIG. 7 -THE VACUUM GAUGE uses a Sensyrr SX3ODN solid -state vacuum /pressure
sensor to monitor the intake -manifold vacuum during engine operation. Between 0 and
30 inches of mercury can be displayed.
45
A three -digit display is used, and the two different PC boards. The display
3 -DIGIT DISPLAY BOARD
annunciator can be created to read All resistors are 1/4 -watt, 5 %, un- board contains the seven -segment dis-
anything you choose -"IN," less otherwise indicated. plays along with the driver compo-
"OUT," "TRANS," "OIL," etc.. R1, R2 -220 ohms nents, as well as the annunciator light
The vacuum gauge, shown in Fig. R3 -220 ohms (voltmeter only) bar. The main board contains the A/D
7, uses a solid -state vacuum/pressure Semiconductors converter, all input circuitry, and the
sensor (ICI, Sensym SX3ODN) to IC1- CA3161E, Display driver 5 -volt regulator.
monitor the intake -manifold vacuum DISP1- DISP3- 0.43" 7- segment The boards are mounted one on top
during engine operation. Between 0 C.A. LED display (Panasonic of another, separated by standoffs. A
and 30 inches (in.) of mercury (Hg.) LN514RA)
Q1- Q3- 2N3906 PNP transistor typical gauge is shown in Fig. 8. With
can be displayed with in. Hg. resolu-
1
LED1 -5- x 15 -mm LED, (Pan- the display board facing toward you,
tion. The sensor consists of a piezo asonic LN0202RP) the main board is mounted directly
resistive element housed in a dual behind it, with its components also
ported plastic enclosure. The piezo 2-DIGIT DISPLAY BOARD facing toward you. Electrical connec-
element changes its resistance as it is All resistors are 1/4-watt, 5 %, un- tions from board to board are made
flexed or bent. Because a specific less otherwise indicated. using short pieces of bare wire be-
amount of flexing is caused by a spe- R1, R2 -220 ohms tween matching pads on both boards.
cific force or pressure, the value of Semiconductors A piece of 9-conductor ribbon cable
that pressure can be determined by IC1-CA3161E, display driver can be used instead. Once assembled,
measuring the sensor's resistance. DISP1, DISP2- 0.43" 7- segment
C.A. LED display (Panasonic the boards can be folded apart to allow
Vacuum has the same effect as it pulls for easy testing, troubleshooting, or
LN514RA)
the element instead of pushing it. 01, 02- 2N3906 PNP transistor calibrating.
The pressure /vacuum sensor (IC1) LED1 -5- x 15 -mm LED, (Pan- Each gauge uses either a two- or
is essentially a bridge circuit with its asonic LN0202RP) three -digit display board. Table 1
outputs at pins 2 and 4. Because it is a shows which boards are to be used
with each gauge. When stuffing the
bridge, its outputs change propor- three digit display board, begin with
Note: The following items are tionally to one another when vacuum Rl and R2 as shown in Fig. 9, and
available from Dakota Digital, or pressure is applied. When both install R3 only if the board is to be
11301 Kuhle Drive, Sioux Falls,
ports have the same pressure, the out- used with the voltage gauge, as R3
SD 57107 (605) 332 -6513, (800)
852 -3228: a PC -board set for
puts at pins 2 and 4 are identical. As supplies power to the decimal point.
each gauge (includes main PC vacuum is applied to port 2, the out- Install DISP1 DISP3 and LED1,
board and display board) is put at pin 2 rises while pin 4 is re- keeping them flat against the board,
$6.95. A parts kit for each gauge duced. There is now a difference
(includes PC boards, compo- between the two outputs of the bridge,
nents, and manual) is $29.95 and that difference represents how DISPLAY
BOARD
each. Each gauge assembled much vacuum is present. SENDER DISP1 AND DISP2
and tested is $39.95. Stock num- The first two sections of IC2 are
LEAD
LEDI
gauge. Otherwise it is not used. ciator lettering to the LED light bar. If
the two-digit display board is to be
used, install everything in the same R3
-
age, oil- pressure, water-temperature,
and miscellaneous temperature
gauges. However, the actual compo- O ICI
$ T
DI
Ctj
,
ro;itri 1
(SEETEXTI
82
R41
R3
1135
- the displays. That is especially impor-
tant for bright days, where bare LED
For most Fords, it's 73 ohms empty to TIT
displays can be very difficult to read.
10 ohms full. GM vehicles run from 0 IC2 C3 The digital gauges can be mounted
;RB }
by the same bolts that hold the two
R6'1
ohms empty to 90 ohms full, and
AMC, marine, and most aftermarket R91
1
C4
boards together. That allows the point
senders use the scale of 244 ohms R7
of mounting to be from the front or
IC4
empty to 33 ohms full. The calibra- Rt2
back of the unit. For rear mounting,
tion range of our fuel gauge will easi- the screws that hold the main board to
ly accept the input from virtually any the spacers are removed. From here,
brand of sending unit. additional spacers are used to mount
Obtain two resistor values that are the unit to a panel located behind the
very close to the empty and full resis- TO 2 -DIGIT DISPLAY digital gauge. The length of the space-
tances of the sending unit that will be FIG. 16- PARTS -PLACEMENT DIAGRAM rs will depend on how far the mount-
used. If your system requires you to FOR THE vacuum gauge. ing panel is from the front panel. The
use the "A" circuit, you will begin unit can also be mounted directly to
calibrating the fuel gauge by first the front panel by removing the
turning R9 fully counterclockwise. PCRT 2 (P2) screws holding the display board to
PORT (P1)
Be sure the jumper is in the "A" posi- the spacers. Here again, additional
1
49
pipe thread. GM motors will require a
'h- to 3/8-inch adapter. Should your
application be somewhat different,
adapters and fittings can be obtained
from your local hardware or auto-
motive store.
You may also wish to keep your
original gauge or idiot light that came
factory with your car. That can be
done in one of two ways. A "T" fit-
ting can be used to mount both the
original sender and the new sender.
Otherwise you have to find another
location that is occupied by a plug
that can be replaced with the sending
113r16 INCHES
0
good thermal contact to the outer 0
plate of the item being monitored. O 0 000 000,/0
0 0 0 0 l \-O
Heat sink compound should also be
111
o 0
0 00
used to ensure good thermal contact. o
0 0 0 0 0 o
For example, when monitoring oil
temperature, mount the sensor to the 00 00000 0
O o O
bottom, back side of the oil pan, 00 0 0 0 0 0 0
where there will be very little air Oo0000000
movement to cool the sensor.
Remove one of the oil pan bolts and
J
manufacture a bracket that will hold 113/16 INCHES 113/16 INCHES
the probe to the oil pan. This can be a COMPONENT SIDE OF THE FUEL GAUGE. 3 -DIGIT DISPLAY COMPONENT SIDE.
50
simple piece of aluminum or thin steel Be sure to secure any hookup wires The first parameter specifies the
cut in such a way so when the oil pan so they will not present a hazard to board's base address, in this case
bolt is inserted through the bracket you or your vehicle. Your new digital 768. Next comes the number of
and into the block, the sensor will be gauge system is now ready to display SRAM's installed (16), followed by
lightly compressed between the important vehicle information and the number of directory entries
bracket and the oil pan. Do not make keep you up to date on its condition (016), and last by the number of
it too tight, as excessive pressure on and performance. R -E sectors per allocation unit (2).
the 1N4148 diode will break its glass Each parameter must contain
housing. You may want to hold the RAM DISK DRIVE
the number of digits shown
sensor by the cable near the diode to (three, two, three, and one, re-
be safe. Apply heat sink compound to continued from page 31 spectively). Add a leading zero (or
the sensor and the oil pan where con- leading zeros) if necessary. In ad-
tact is to be made. Be sure the oil pan with at least 150K of free disk dition, for proper operation, you
is free of dirt. Then route the coax space. Check with the author at must prefix the base address
cable up through the firewall to the the address given in the parts list with a slash, the number of IC's
location of the gauge. for the latest version of the ini- with a pound sign, the number of
The vacuum gauge is connected to tialization program and device directory entries with a dollar
the intake manifold via 7/64-inch vac- driver. sign, and sector number with a
uum hose. Run the hose through a The next task is to add the de- percent sign.
location in the firewall and to the in- vice driver to your CONFIG.SYS Edit the CONFIG.SYS of your
take manifold, or vacuum "T" usu- sure things are
file. Until you are boot disk to add the appropriate
ally located near the rear of the engine working the way you want, you values, and then reboot. If all is
compartment. Connect the vacuum may want to boot from floppy, not working well, you should be able
hose to P2 (port 2) on the sending your hard disk. Later, after you to use the static ram disk just like
unit. arrive at the correct configura- any other kind of drive in your
Once a suitable panel or enclosure tion, copy the device driver to computer.
has been constructed, and the gauges your hard disk and edit its CON - It is also possible to boot your
mounted to it, install the assembly FIG.SYS. computer using the static ram
into the vehicle and connect the power The device driver line in CON - disk. That, however, requires an
to a source that is on only when the FIG.SYS takes the form: add -on "silicon boot board." See
ignition key is placed in the "on" device = a:ramdev sys /768 #16 the "Ordering Information" box
position. $016 %2 for more details. R -E
r
_
z
Aluitkm Chenesko Products, Inc. o
;_
HENSKO
2221 Fifth Ave., S4, Ronkonkoma, NY 11779
Call: 516-467 -3205, Fax: 516-467 -3223
co
PRODUCTS
\
LED's light according to the spec-
.r I1;
tral distribution of the audio
. within a frequency band selected
f 1'7
* .
R by the constructor. When in-
r
.. stalled in the custom metal
4.111
+A..
'
; 7 -le-
rwi..e r.. i1C.i.\.'A.='
- `
%i ..
11-
frame, all of the electronics and
the batteries are hidden behind
the black mat and protected by
44; ' the front glass. The end result is
an attractive little Christmas tree
whose lights will blink in unison
with any kind of audio.
The photographs cannot con-
vey the effect of the flashing
lights, nor the vivid impression
of seeing sound. Music becomes
a quickly moving pattern of danc-
ing lights. In fact, any sound be-
comes an interesting display as
the microphone, which tops the
tree, picks up any sound in the
room. For the hearing- impaired,
52
it opens up a new window to ometer, a bandpass filter,
sound. level shifter, demodulator
The project is also good for and discriminator, and a
those who wish to learn about display driver. Each dis-
audio. For example, the tuning play driver drives a
.' .i
.- .
Li
.
RIO.
r 10020 ICI-a
1K Ti9.L/13241O1(7,$
R13 IC1-0 R14 R41.
1210
025 Cl D7j 1
2'
642.
12K C9
.022
R50
1K R58
100K
YN
IC2-0
/ 1.111884 103ro
3
14
022
10K
9
=I 1.10324
030. CO IC3-b 94
105d
LIpY4
68.510 .022 h LM124 046
J1 1K
7
B VOLTS
AC OR DC
R34. F154
2.1K
DI 02
104002 104002
R4
12 027 C11
10K .022
W.
R39.
124K
IC2c
023 I
IC4-0
8 10K 5 LED
8 C
019
100K 7
R35.
2K3 9
Vc,
V
1012
LM3914
LED
ARSNAPH
D
V, 10
V
^
9 5
S 1010
fRBA
8
o.*'`o 12
13
107-5
'44060 '9-'1'1/4:* 14
IC13
9 L8p014
*VALUES CAN BE
12
10 --o**"`o
5
VII.
?
CHOSEN BY BUILDER
SEE TEXT
N.C.
9.4068
IC -0 IC8-b
'44068
IC8-a
9.4008 05
5.i7K
4- 2
20
R1
All resistors are 1/4-watt, 5 %, un- Bargraphl- Bargraph4 -50 LED's, INPUT 1
e.
NOTE: All versions except the broadband option require 1% resistors.
terns for the double-sided board
are provided. However, an
etched, drilled, plated- through,
and silkscreened board is avail-
able from the source mentioned O% / .... .f f e.e
.1111.
.. , ..
/-o
e e
---/'
e
OO
the components for installation r
is also easier using the pre -made
silkscreened board. Complete ee
..e.e
and partial kits for the Christ-
mas tree are also available. Z.e
MIC1
466 R ,R51
+
C22 162 ) ICS
R3R14
c5 I I
R15 + IC14
R76 R57 I 545 R56 R
R49 R5II3 R48 R 0
I
l {
S4 1 { 4.
D12 +
C15
R4
513
R111
I R16
1
R2 R5 R63 65
TTT I
C16
[ I 1
D8 D31
+
C23 IC1 C24 C25 ) IC6
D11 014 +
I C14 I 1 l C18
$ tR61 +R64
' C17
i
07 t,31 , D10
B3 B4
---R66-
IC7 C29
- R68 -
IC9
- R69 -
FIG. 6 -ALL OF THE COMPONENTS mount on the front of the board, with the exception of
- R70-- - R71 - - R72--a -
1C12
R73 - -
D
R74-a
IC13
R75 -
C26 )
- R67
IC8
-
J1 and Si; they mount on the solder side. Use a separate color for each LED bargraph.
graph D is indicated by the ab- The LED's are installed with install all the components prop-
sence of a short white line. the cathode (the flat side) toward erly, it's very likely that the device
When installing the compo- the bottom of the board. It's best will operate correctly right off the
nents, start with the LED's, as to first solder one lead of each bat.
shown in the parts- placement di- LED and then check for uniform From the photo in Fig. 7, you
agram of Fig. 6. The letters next positioning. Straighten them out can see the six spacers that are
to the LED's indicate which bar- where necessary, and then solder installed on the board to hold it
graph they belong to. You should the other leads. Remember, that in place within the metal frame.
probably spend a minute or so if you want to interface your tree It's a good idea to install the
looking at how the LED's are ar- to other circuitry later on, to leave spacers now, since they will pro-
ranged on the printed circuit enough extra lead on the back of tect the LED's from being
board because, once the device is the board to allow a wire -wrap damaged and can also support
assembled, the pattern becomes connection to be made. Be sure the board steadily. Now continue
very confusing and the short to work carefully, so that you'll be installing the rest of the compo-
white lines are covered by the able to bring out this project for nents on the board.
LED's. many a Christmas to come. If you You must now decide what fre-
58
quencies your Christmas tree
will respond to. If your device is to
be an assistance to the hearing -
impaired, the broadband option
will be the best, as both low fre-
quencies and the high pitch of a
police siren will be detected. For a
musical version, you will have to
make a decision based on your
instrument of choice. Perhaps
you can consult with a musician
friend on this. You can re -tune
the device at any time by simply
changing a few resistors. All the
components required for each
suggested version are included in
the kit. Remember that the ini-
tial filter must be "in harmony"
with the other filters. They can-
not detect frequencies that the
initial filter doesn't pass. Refer to
Table 1 when choosing frequency
determining resistor values, or
you are free to calculate your own
values.
A word to the wise: put a set of
batteries in the holders before
soldering them. If you don't, the
contacts on the battery holders
8 INCHES
are too close together which
SOLDER SIDE of the Christmas tree at half the actual size.
makes battery changing ex-
tremely difficult. Also, remember
that the ON /OFF switch and the
DC power jack mount on the sol-
der side of the board as indicated
by the dashed lines in Fig. 6.
Checkout
After checking for incorrectly
installed components, poor sol-
der joints, and shorts, and mak-
ing sure to correct any problems,
install a set of batteries or con-
nect a 6 -volt power source to the
power jack. Turning the power
switch on will cause many of the
LED's to light. After which point,
they will step down to position
one, then go out. This is normal
operation as the device ap-
proaches steady state. Slowly in-
crease the gain of the initial am-
plifier by turning R8 clockwise.
Go back and forth between one of
the level- adjust potentiometers
and R8, increasing them a little
bit each time until one of the bar-
graphs responds to the sound of
your voice. Make sure that none
of the potentiometers are set too
high, as troublesome oscillations
may occur.
Alternatively, connect a volt-
meter to the junction of R15 and
R16 and increase the setting of
FIG. 7 -THE SPACERS THAT HOLD THE BOARD in place in the metal frame should be R8 until speaking directly into
installed early to prevent damage to soldered components. con tin ued on page 96
l 9)
J V
UNIVERSAL
ABORATORY
OWER
UPPL Y
This universal power supply
offers high performance and flexibility
at low cost.
REINHARD METZ
remainder supplies
voltage- setting and TABLE 1- PERFORMANCE
current -limiting func- SUMMARY
tions. The input to to
ICI comes from the Characteristic Capability
output of BR1, which Number of 2 (fully
is filtered by Cl and C2 supplies floating)
to about + 60 -volts
DC, and the input for Voltage range 0-50 VDC
current -sense corn - Current range 0-5 A
WHILE NUMEROUS BENCH POWER SUPPLIES parator IC2 comes from BR2, which
have emerged over the years, few also acts as a negative bias supply for Coarse vs. fine 1:10
combine the performance, flexibility, regulation down to ground. control-ratio
and low cost of the version described (both current
The purpose of IC1 is to maintain
and voltage)
here. This article describes a well - the OUT terminal at 1.25- volts DC
regulated, modular, lab -grade power above the ADJ terminal. The current Voltage regulation 0.01% line,
supply with dual 0-50 -volt, 0-5 -amp drain at the ADJ terminal is very low 0.1% load
DC supplies, and a single 5 -volt, 3- (nominally 25 RA) and, as a result, Current limiter 0.5%
amp DC supply. It uses two identical R15 and R16 (the coarse and fine volt-
custom PC boards, one for each 50- age adjustments) and R8 form a volt- NOTE: (a) There's a current -
volt supply. There's also a customized age divider, with 1.25 volts appearing limiting LED;
heat sink with space for both PC across R8. The bottom end of R16 (b) Has internal + 5 VDC,
boards that minimizes point-to -point connects to a -1.3 -volt reference 0-3 A supply.
wiring in the 50 -volt supplies. How- level generated by D7 and D8, letting
ever, because of the modular design, the R8 -R15 divider set the output volt-
you can customize the configuration age all the way down to ground when to control the voltage, VouT ranges
as needed. See Table 1 for a perfor- R15 + R16 = 0 ohms. In general, the from 0-50 volts DC. As current de-
mance summary. output voltage is determined by: mand increases, the drop across R2
increases, and at about 0.65 volts
Circuit description (VouT -1.25 +1.3)/ (which corresponds to about 20 mA),
Figure 1 is the schematic of the (R15 + R16) = 1.25/R8. QI and Q2 turn on, becoming the
power supply. The value of the design Thus, the maximum value from main current path. Also, R3 and R4
lies in the use of ICI, an LM317HVK each variable supply board is: ensure that Q1 and Q2 share the load
adjustable series -pass voltage reg- equally. Current limiting is provided
ulator, for broad -range performance. -
V OUT (1 .25/
R8) x (R15 + R16) = 50.18 volts DC.
by IC2. Its noninverting input uses
The "HVK ".suffix specifies the high - the output voltage as a reference, and
voltage version of the regulator. The Using potentiometers R15 and R16 its inverting input is connected to the
60
a O
o
a
0000 r-
-'a
m
0 00 0 '--
aa W mW--'0000` -0000-. -w
0000'-
>
A m
.:2
o
-0000`- -'0000`-
_E
E
m
Sa-
,>
?m
< ? ---.z
Z2 z pi
E E -
m )
<I
-- -)
ti
g r- -7 7 1
m)I.
oa
m a
1.7
VN o
D
D, n ci
T Vc
i
i
3Wa
0>v en
7cn
N
a
s3> r.
m
Wni F
-o n
M>
;9D
CD
D
s
0 0D
7n C
7 -o E
o2
_9
D?a
o
r
a
z
O\'
z 33
o
2 <
in
g
`Z
E3 O a
o
C
m
=
m 61
N aa) <
m wm
01
N
c'0 a
o
61
n a
d
r
-4(
T)
O
c V-1!
CD
D) so
N) N
-a
x
v
titi
o 1
c (1,
3, c n
-
2 o
N "O 12, 9 x
o F nc
m
dw
D
I
O.
O
d
O.
_, c
7
' N X O. ."O
61
voltage divider created by R6 and cur-
rent -limit potentiometers R13 and
R I4.
ICt
The drop across R6 is about 1.25 MJ15023
O1
1M317NVK
02
MJ15023
volts, the reference voltage mentioned I
I
-i- ii T
o o
.
the OUT and ADJ terminals of ICI Cur-
. 23.5 1$ 15, o I
1
a
1
tt5-. F.-;
1
I i
H
i
.
tED6E OF
Thus, IC2 trips when the drop across t 14+14 --17-
HEAT
6.5
R9 creates current through R13 and
9
fff 26- 64
25-+I .-14-.)
SINK
114.5`+ 25
R14, causing the voltage at the non -
inverting input to exceed VouT.
That sets the current limit point at: FIG. 2 -POWER SUPPLY HEAT SINK LAYOUT. All marked dimensions are in millimeters,
all mounting holes are 1/4 -inch in diameter, all lead holes are 3/16 -inch in diameter, and add 3
(IouTx 0.2)/(R13 +R14)= 1.25/ mm to all dimensions with an ( *) to align the PC boards.
100K; lour =0-5 amps. That corre-
sponds to a range of about 0-5 amps.
At the current limit point, IC2's out-
put goes low, pulling the ADJ lead T1
1RED/YEL)
down via D2 and lighting LED1. Ad-
ditional current for D5 is provided by 42
R13
VAC
R5. As the ADJ lead is pulled low, the IRED/YEL)
output follows, until the output cur- R3
R17
-R5-
D2 O
Cli
.
D7$
I
R15
sures that the output voltage doesn't C2/ R104,10 D8 e9 R19 R16
Construction
The transformer is mounted on a
6- x 5- x I -inch L -bracket in the cen-
ter of the supply, and the heatsinks for
ICI and BRI go on the back of the
transformer bracket. A
6- x 8- x 6- x -inch U- shaped cover
11
All resistors are 1/4-watt, 5 %, un- Semiconductors J1, J3, J5-red banana jack
less otherwise indicated. ICI- LM317HVK adjustable, series - J2, J4, J6 -black banana jack
R1-5000 ohms, 1 -watt pass, high -voltage regulator Miscellaneous: 8 -inch wide x 6 -inch
R2 -33 ohms 102- LF357A JFET input, 8 -pin DIP high x 11 -inch deep aluminum case
R3, R4 -0.1, 3 -watt comparator with 1/9 -inch predrilled aluminum
R5 -680 ohms IC3- LM323K 5 -volt DC regulator in plate as front panel (including holes
R6-115,000 ohms, 1% TO -3 case for handles) and 8- x11- x 3/32-inch
R7 -220 ohms D1, D2, D7, D8, D9-1N4148 ger- steel plate with a 1 -inch lip on the
R8 -274 ohms, 1% manium diode bottom, two front -panel- mounted
R9 -0.2 ohm, 5 -watt D3, D4- 1N4744A, 15 -volt, 1 -watt case handles, 6- x 8- x 3 -Y8 -inch
R10- 24,000 ohms Zener diode dual -supply main heatsink, heat-
R11 -360 ohms D6 1N4736A, 6.8 -volt, 1 -watt Zener sink for 5 -volt DC regulator with
R12 -2400 ohms diode TO -3 case, heat sink for BR1, 3-
R13- 100,000 -ohm potentiometer D10 -FR802 8 -amp, 100 -volt fast -re- wire power cord, knobs, four rubber
R14, R15-10,000 -ohm covery silicon rectifier (TO -220 feet, panel- mounted fuse holder
potentiometer package) (for F1), two PC -board mounted
R16 -1000 -ohm potentiometer BR1, BR3 -MB102 10 -amp, 200 -volt fuse clips (for F2), PC board (Digi-
R17- 20,000 -ohm PC- board- bridge rectifier Key #F040), three TO -3 transistor
mounted potentiometer BR2 -DB103 1 -amp, 200 -volt bridge insulator kits, silicone grease, wire,
R18-500 -ohm PC- board -mounted rectifier solder, etc.
potentiometer 01, Q2- MJ5023 or ECG68 PNP sil- NOTE: The following parts are
R19- 470,000 ohms icon transistor available from A &T LABS, P.O.
R20 -5000 -ohm PC- board -mounted 103- ECG128 or 2N3700 1 watt gen- Box 4884, Wheaton, IL 60187;
potentiometer eral purpose NPN silicon transistor plated PC board with parts
R21- thermistor in -rush protector LED1-yellow light- emitting diode placement silkscreen, $19.00;
(Keystone KC003L) Other components 600 VA custom dual -supply
Capacitors F1 -8 -amp fast -blow fuse transformer (T1), $69.00; custom
C1, C2 -4700 F, 100 volts F2 -6-amp fast -blow fuse dual -supply main heatsink,
C3 -1000 RF, 50 volts, Panasonic T1 -600 VA transformer; 120 -volt AC $42.00; LM317HVK (ICI), $8.00;
P6272 primary; two 42 -volt, 5 -amp sec- MJ15023 (01 and 02), $6.50
C4 -1 F 63 volts ondaries; two 17 -volt, 250 -mA sec- each; Ml, $18.00. Send check or
05 -10 RF, 50 volts ondaries; and one 7 -volt, 3 -amp money order, except for COD or-
C6 0.001 RF, ceramic disc secondary ders via UPS in the U.S. If you
C7-100 pF, mica PLI- 120 -volt AC pilot light don't order T1, add 5% shipping
C8, 09 -10 RF, 50 volts M1 -50 mA meter (GC Electronics and handling for U.S., and 10%
010-22,000 F,16 volts (Panasonic 20 -1110) for Canada. If you order T1, add
P6420) M2 -100 A meter (Jewell 81T) 12% for U.S., and 17% for Cana-
C11, 012 -0.1 F, ceramic disc S1- 120 -volt, 10-amp DPST switch da; Illinois residents add 6.75%
C13-75 pF S2-SPDT switch sales tax.
IF YOUVE ALWAYS WONDERED WHAT The RF input tank, unlike D2 and D3 provide a 1.2 -volt bias
you might hear on shortwave ra- many simple designs, provides for diode D4 and Q3. The bias
dio but didn't have the time or "tracking," in that the input keeps both D4 and Q3 slightly
the money to get involved with it, tuned circuit changes frequency on, so only a small signal is nec-
then our simple, inexpensive when the oscillator is tuned. RF essary for detection, reducing the
shortwave receiver is the perfect tuning is performed by D1, and gain needed before the detector
project for you. It will have you oscillator tuning by D5. Both di- and improving sensitivity.
tuning in on shortwave in no odes are Motorola MV209 varac- The signal at the base of Q3
time-as a matter of fact, the first tors, which act as voltage - contains two components. The
evening after the prototype was variable capacitors. RF energy is AC component is the demodu-
completed, stations from Ger- coupled into pins 1 and 2 of IC1, lated audio, and the DC compo-
many, England, Cuba, Canada the Signetics NE602 double -bal- nent is proportional to the
and France were easily copied. anced mixer. strength of the incoming signal.
The shortwave receiver is not a The mixer combines the in- The DC component is filtered by
crystal set with an audio ampli- coming RF signal with the local R20 and C17 and is used to pro-
fier. It's a true superheterodyne oscillator and produces an inter- vide an AGC signal to Q2 via AGC
that tunes 8.5 to 11 MHz in two mediate frequency or IF of 455 amplifier Q4. That helps to re-
bands and includes a 455 -kHz IF kHz. Both mixer and oscillator duce fading that is so common
filter, automatic gain control functions are provided by IC1. Ta- on the shortwave bands.
(AGC), tracking RF tuning, and a ble 1 shows its specifications. The audio output stage, IC2, is
very sensitive detector. It's sen- To simplify construction and a Motorola MC34119 audio am-
sitivity of under a microvolt puts enhance performance, a ceramic plifier. It provides about'/4 -watt of
it in a class with some high -per- IF filter, FL1, is used instead of a audio into speakers of 8 to 64
formance receivers. more common tunable IF trans- ohms. No large output -coupling
former. That results in a very capacitors are needed, but a large
Theory of operation clean IF that never needs tuning. power-supply decoupling capaci-
The shortwave receiver takes a The filters are available with tor provides excellent stability.
very straightforward approach to bandwidths from 4 to 12 kHz to The prototype operates on a 9-
the classic superheterodyne re- suit individual needs. The short- volt battery and, if you listen at
ceiver. The basic block diagram wave receiver will accept filters moderate volumes, they give you
of our "superhet" is shown in Fig. with input and output imped- reasonable service. For longer
1, and the schematic is shown in ances of 2000 ohms. service, use a pack of 6 or 8 `AA"
Fig. 2. 3urning to the detector circuit, cells, or an AC supply.
ANT.
455 kHz
RF TANK MIXER IF AMPLIFIER DETECTOR AUDIO BUFFER AUDIO POWER AMPLIFIER
IF FILTER
D4 Q3
-f- MC34119
VOLUME
1-4-
1
AUTOMATIC SPKR
TUNING NE802 GAIN CONTROL
VOLTAGE
OSCILLATOR
Q4
AGC AMPLIFIER
FIG. 1 -BASIC BLOCK DIAGRAM of our superhet shortwave receiver. It's a true super-
heterodyne designed to tune 8.5 to 11 MHz in two bands.
+ 9V R13
+9V
S2
-D+5V Wh 10K W +9V
POWER
R4 C9 R10 R14 R19
cOFF C C4 C6 R2
ANT.
10F .1 11: 15K
10052 .1 100t2
D2 i 10K 10f2
1N4148
ON i R5 31.
INT. C5ir. = Q3
i
C3 D3
100F .1
2.2K = R11
1N4148 C11 D4 2N3904
3.3K
EXT BNC - .01 1N4148
S3 01
ANT. 1 Sl-a R1 2N3904 Q2
470:1 2N3904
L1
T
Cl yLt
C2
82pF
IC1
NE602
'11
r R3 R8
C10-1- C12.1.
.01I
R15.
R16
10K
-
FL1
3T 17T
50pF i 455 kHz' 33K 4"
.1 220K;
VOLUME
C13-
C24-
C25
7-67 3
T .01 .1
C7m R21 R20
.001 o
019 C18 470K C17I 220K
R17
R27 1 10K
10K 100pF 100pF
D1
MV209 )-- C22 C20
- 001
100pF
L3
+9V
+5V
. R24 19T 5T
1
10K D5 8
S1-b 04
T47pF 2 31 7 6 SPKR
2N3904 2 C15
BAND 8.5 -10 MHz
C21 .-;1'
R23
50K
R25
10K
R26
1K
1
TUNING
FIG. 2-SCHEMATIC FOR THE SHORTWAVE RECEIVER. The unit is powered from a 9 -volt
battery, making it very portable. It's sensitivity of under a microvolt puts it in a class with
some very high -performance receivers.
Modifications and compromises Most modern shortwave re- The shortwave receiver's input
Every engineer learns early on ceivers include a beat -frequency coupling network provides tun-
that to design is to compromise. oscillator or BFO. The purpose of ing and impedance matching
Usually performance is traded off the BFO is exactly as its name from the 50 -ohm antenna input
for reduced cost. This design is implies, to beat a local oscillator to the 1500 -ohm input of the
no exception. The basic design (LO) signal against the incoming NE602. A really good receiver
philosophy was to produce a rea- RF to produce a heterodyne fre- would use double or even triple
sonable receiver at a reasonable quency in order to copy code (CW) tuning here, for better image re-
price. In that regard we're very or single side band (SSB). That jection and overload perfor-
happy with the outcome. We did, can be done at either the RF fre- mance.
however, omit some features, as a quency or the IF, although IF Images, which are produced in
result. BFO's are much more common. the mixing of two signals, are
65
TABLE 1 -BASIC SPECIFICATIONS OF THE NE602 PARTS LIST
- R27
-C24-
-R21-
speaker were made using a neat -R19- R16vt#4
trick: Draw the outline on a piece D1 R10 + -R17- - C13-
of perforated construction board,
I
I
C21 C3
and tape the board to the cab- L2
7T v
inet. Then use the board as a drill 4T
J
C3 C15 + IC2 + -C14-
guide. IC3
-L1- +
Table 2 is a guide to let you
modify the receiver for frequency
C16I -R18- SPKR
68
L J
111
Cic)
GLITCHES
IN THE
POWER
LINE
Power quality is
becoming an issue for VINCE T. MIGLIORE
just about everyone!
THERE'S A GLITCH IN YOUR POWER LINE You don't have to be a research scien- aren't caused by power utilities, but
and it's going to find you. Imagine tist or utility engineer to discover glit- by their customers. Occasionally, al-
that you're right in the middle of sav- ches and take action against them. beit rarely, utilities are at fault, like
ing a file on your PC, or recording a The most common way to clean up when distribution loads are switched,
program on your microprocessor-con - the power lines is to rely on surge or when large power -factor-correction
trolled stereo or VCR, and a power- suppressors. But clean power means capacitors kick in. Sometimes light-
line glitch causes the system to reset. more than no impulses. It also means ning or a car can hit a power pole,
Why? You may never even attempt to eliminating any voltage sags, out- wreaking havoc with power lines.
find out if it happens only once every ages, impulses, surges, frequency er- Such an interruption, if miles away,
month or two, but you should. rors, harmonics, grounding prob- may not make your lights blink, but
In business and industry, the prob- lems, high- frequency noise, wave - the resulting power line hash can blow
lem becomes more than an inconve- shape faults, or RF interference. your PC. Most often, however, tran-
nience. Computers, communication sients can travel along a power line
AC DC
devices, sensitive medical instru- INPUT OUTPUT from other customers, especially if
ments, chemical processes, and the you're near an industrial area. Major
like, can succumb to power-line dis- offenders are arc welders or electric -
turbances. A power problem can spell train yards.
disaster for a small business who However, the above are exceptions,
can't find a solution. and maybe 95% of disturbances are
Power problems can be especially caused by either home equipment, or
frustrating for the electronics hob- faulty or inadequate home wiring.
byist. Even you, the solitary elec- Most utilities bend over backwards to
tronics buff, can be glitched at home. locate problems on their end like low
Your PC boards may burn out for no FIG. 1- TYPICAL BRIDGE RECTIFIER, voltages, distribution or switching
obvious reason, your PC data may be with voltage waveform shaped by an LC faults, or line harmonics. Sometimes
scrambled, your 10 -meter transceiver filter network. If only a pure resistive net- they'll even attach a monitor or strip-
may run hot, your VCR or stereo may work were connected across points A, the chart recorder to your meter to help
waveform shown in Fig. 2 -a would be seen find a problem.
drop dead, and the lights may dim with the aid of an oscilloscope.
when your refrigerator's compressor
turns on. Knowing the causes and Causes Harmonics
cures of power -line disturbances is Contrary to popular opinion, the One of the most common AC
valuable, technically and financially. vast majority of power problems power problems is harmonic distor-
tion, or the unwanted generation of Edison, NJ 08818, 201- 287 -3680 or
power-line voltage components at fre- 800 -DRAN -TEC).
quencies that are multiples of 60 Hz. BMI has three major instruments,
Linear loads that draw power in pro- the 2400 and 4800 PowerScopes,
portion to the square of voltage ex- shown in Figs. 3 and 4, respectively,
hibit far fewer problems. With rec- and the 3030 Power Demand Ana-
tifiers, however, strange things start lyzer (not covered here). They com-
happening to current waveforms. Fig- bine oscilloscopes, strip-chart record-
ure 1 shows a full -wave bridge rec- ers, and RF interference meters in a
tifier, while Fig. 2 shows the relevant FIG. 3-THE BMI 2400 POWERSCOPE single portable cabinet to capture
voltages and currents. power- transient measurement and re- transients varying from a few millise-
The voltage across points A and C cording system for single -phase DC, or
single- or 3 -phase AC. The instrument conds to several hours in duration.
in Fig. 2 -a is a full -wave, rectified monitors sags, surges, impulses, wave- Note the calculator keyboard, single -
sinusoid provided that only a purely shape faults, line- frequency variations, line display, and thermal strip -chart
resistive load were connected. Across and high- frequency noise for singfe- graphic printers on each.
points B and C, the LC filter produces phase AC or DC, has a built -in RS-232 bus Both versions of the PowerScope
to be used with an external processor to
the waveform shown in Fig. 2 -b. The analyze total harmonic distortion and fre- monitor sags, surges, impulses,
current from the bridge rectifier quency spectral content, and has a full waveshape faults, line- frequency vari-
charges capacitor Cl for a small range of available accessories, including ations, and high- frequency noise for
portion of each half cycle as shown in temperature and humidity sensors. single -phase or 3 -phase AC or DC
Fig. 2 -c, and it supplies power to the power lines, and have a built -in
load during that brief period. Capaci- RS -232 bus. They can be combined
tor CI provides the power that drives
the DC load for the remainder of the
half cycle. Inductor Ll smooths the
sharp points in the rectified voltage
curve at b, but its effect on the follow-
ing discussion is nil.
As the rectifier voltage drops to
zero, the charge in Cl drives the DC FIG. 4 -THE BMI 4800 POWERSCOPE.
load. Thus, current flows through While similar to the BMI 2400 in physical
transformer Tl for only a small appearance, it has considerably more FIG. 5 -THE DRANETZ SERIES 901
processing power, with up to four main POWER HARMONIC ANALYZER, similar
portion of the sinusoid, as shown in and eight probe channels. to a BMI 2400. In one printout for a instant
Fig. 2 -c, driving the DC load and in time, the device records line voltage,
recharging Cl, so the energy is con- sinusoid with its harmonics. This is the current used, total power, power fac-
centrated in short pulses. This pulsed because the magnetic domains re- tor, harmonic power, fundamental power,
current generates harmonics, making verse polarity more rapidy than for and a breakdown of the power in the indi-
vidual harmonic frequencies above the
a transformer run hotter than it would the pure sinusoid, owing to the har- fundamental (in other words, its spectral
for a pure 60 -Hz sinusoid with RMS monics, heating the transformer core. content).
power identical to that of the corrupt The bridge rectifier shown in Fig. 1
S J
sag; the in -rush current drops the volt- FIG.10-TYPICAL MOTOR -START SIGNATURE. As the motor stabilizes, voltage returns
age to 84.5 volts RMS. to normal.
71
CO 4000 Event 4487 Ch.A 6/12/89 86:11:36.12
ON
CJ
0V
s c qi
L 7 E.9
G7 u
-400V
200 V /div vertical 102.4 us /div horiz.
25011
w
Y
O
J
il
1!7 e
u
@ CJ
.7 OV
CO d r?CJCJ Horiz. 5 asec/div Vert. 58 V/div
CJ
.-
FIG. 15-A POWER GLITCH. Just imagine
-250V what the added pulse would due to a
125.0 V /div
vertical 12.5 ms /div horiz.
counter circuit.
LINE -NEUT IMPULSE
INTRRTECH J BOX Sep 27 1987 12:02 PM
Event t8 Ch.B 8/18/89 11:23:10.58
FIG. 11- IMPULSES DUE TO LOOSE WIRING. Sharp- edged dropouts on the sinusoid
indicate that the problem is nearby.
SINGLE-CHIP
FREQUENCY
CONVERTER
Introducing a general -purpose
single -chip frequency converter
which should greatly simplify
your RF designs.
MICHAEL A. COVINGTON
FREQUENCY CONVERTERS ARE BASIC the output of an NE602 directly to a The combination of the differential
building blocks of RF equipment. receiver without overloading it. With amplifier and mixer in the NE602 is
You'll find them wherever there's a a conventional mixer, you'd have to known as a Gilbert cell. The mixer has
need to shift the RF carrier of a signal add a tuned LC circuit to eliminate the on -board voltage regulation, and
from one frequency to another, such LO output. The NE602 LO is also draws 2.5 -3 mA at 4.5 -8 volts. For
as in any modern radio receiver. well isolated from its RF input; you best performance, bypass the power
Frequency conversion, or hetero- can thus connect a receiving antenna supply with a 0.04-F capacitor as
dyning, is the process of mixing an directly to the RF input terminals of close to the IC as possible. The abso-
incoming signal with that of a Local the IC without worrying about radiat- lute maximum supply voltage is 9.0
Oscillator (LO), as shown in Fig. 1. ing the LO signal back out through the volts, but a 9 -volt battery often ex-
Two signals result from mixing, their antenna. This is important in direct - ceeds that, and 9 -volt wall transfor-
frequencies being the sum and dif- conversion receivers, where the LO mers often deliver as much as 11 volts.
ference of those of the originals. frequency is so close to that of the For safety, use 1000 -ohm dropping re-
Thus, a 9 -MHz input and a 2 -MHz input, that the two can't be isolated by sistor RI as shown in Fig. 3; using a
LO yield outputs of 7 and 11 MHz. a tuned LC circuit. Zener diode, you can use automotive
Building a frequency converter is power supplies up to 18 volts.
easier now than it's ever been because The RF input and mixer output can
of a new IC, the Signetics NE602. MIXER be either single -ended or balanced as
The NE602 contains an LO and dou- shown in Figs. 4 and 5. Using a bal-
ble- balanced mixer in an 8 -pin DIP, as OUTPUT anced input reduces harmonics, while
INPUT 7M
shown in Fig. 2, a block diagram of a balanced output gives better sup-
9MHz AND
the IC. The NE602 was originally de- 11MHz pression of the input RF and LO sig-
signed for VHF receiver front ends, nals. However, even in the simplest
since the LO works up to 200 MHz, single -ended configuration, the
and the mixer to 500 MHz. However, NE602 gives much better perfor-
LOCAL
it has plenty of uses at lower frequen- OSCILLATOR
mance than the one -transistor mixer
cies as well, and this article will ex- (LO) commonly found in receivers.
plore them. 2MHz The input and output impedances
of the NE602 are about 1.5K at low
Circuit description FIG. 1.- FREQUENCY CONVERSION frequencies, and decrease with in-
The NE602 uses a double -balanced PRODUCES outputs at the sum and dif- creasing frequency. The input signal
ference of input and LO frequencies. In the
mixer, producing only the sum and case of the NE602, since it's double -bal-
should be weak to prevent harmonics;
difference frequencies, not that of the anced, both the input and LO signals are the third -order intercept point is for a
RF input or LO. You can thus connect absent from the output. -15 dBm input, but the recommended
73
level is -25 dBm or below. That corre- The input signal is amplified prior died on the chip. That makes it easy to
sponds to 68.87 millivolts into 1.5K if to mixing; the voltage gain is about build many different oscillator types
you use direct coupling, or 12.82 mil- 10. Thus, a receiving converter built with few external components.
livolts into 52 ohms if you use imped- with the NE6O2 can increase a re- Figure 6 shows some of the main
ance matching. The NE602 works ceiver's sensitivity. The NE602 LO is versions; there are many others. The
well with microvolt -level signals from a transistor with connections to its NE6O2 can be used as an oscillator
antennas. base and emitter, with biasing han- without the mixer. One way is to sam-
ple the LO output at pin 7; a better way
is to unbalance the mixer and use it to
,
INA 111 NE602 $ cc amplify the LO signal, as shown in
Fig. 7. The unbalance is created by a
T
1OK resistor from one input pin to
IN B i 1, ground, which changes the bias volt-
{` 2 F- 1-
-I41
..,, I
compact, because pins 6 and 7 are
adjacent to Vcc (pin 8). The values of
Q21 03 04 05 I
BIAS BIAS
Cl and C2 are important. If Cl is too
large, or C2 is too small, there's too
much feedback and the oscillator
waveform is distorted, with a strong
06 07 +i-- BIAS third harmonic. If Cl is too small or
C2 is too large, oscillation doesn't
L J occur.
R5 R7
1.5K R
1.5K Some suggested values for Cl and
vv4 C2 are shown in Fig. 6 along with
formulae for calculating them. At
L J high frequencies, Cl can be some-
what than the value shown because
FIG. 2. -NE602 EQUIVALENT CIRCUIT WITH PINOUTS. The combination of differential stray capacitance does some of the
amplifier Q6 -07 and mixers Q2 -Q3 and Q4 -05 is called a Gilbert cell. work. The values shown are for the
best sinusoid. If you want to be sure
+4.5-8.0V + 9V +8 -18V that a relatively inactive crystal will
R1
oscillate and don't mind harmonics,
15052 make CI three times larger. The third
(OPTIONAL) harmonic from such a circuit could be
Cl used for VHF. There's also a lower
0.04F frequency limit; the unmodified cir-
cuit will oscillate with a 455 -kHz ce-
a b c ramic resonator, but not a 100 -kHz
FIG. 3. -NE602 POWER SUPPLY OPTIONS. Here, (a) -(c) show an RC- filter used as both
crystal. Adding 22K from pin 7 to
current limiter (R1) and integrator (C1), as well as for isolation. In (a), +4.5-8.0 volts DC is ground will increase the oscillator
the normal operating range of the NE602. In (b), R1 drops voltage, and is used since a + 9- gain, and improve your chances with
volt battery can go higher, and a + 9-volt wall supply can produce up to 11 volts. In (c), an low- frequency crystals.
+ 8-18-volt DC supply is regulated using 8.2 -volt Zener Dl.
Precise frequency control
Cl LOW -Z LOW -Z A crystal won't necessarily oscil-
-1( late at its exact rated frequency. There
< 70mV RMS are two kinds, series- and parallel -
NE602 NE602
< 200mV p-p resonant. They're electrically identi-
u cal, the only difference being that se-
C2.11. C3T ries- resonant crystals are cut to an
exact frequency, whereas parallel -res-
a b d onant crystals are cut slightly longer,
FIG. 4. -MIXER RF INPUT CONFIGURATIONS. Here, (a) -(c) are for single -ended coupling,
so as to resonate independently
(a) being for no impedance matching, (b) for inductive matching, (c) for capacitive slightly below their rated frequency.
matching. By contrast, (d) is for a balanced input with reduced second harmonic. For that reason, parallel- resonant
74
data sheet recommends a modified
Colpitts oscillator for overtone crys-
tals, but the Butler oscillator in Fig.
4 10 gives much better results. Its crys-
(OR
tal is series- resonant, and Lt and Cl
NE602 VICE
5
C1
IE0 VERSA)
are tuned to the crystal frequency.
This circuit is reliable to at least 60
b C
MHz. Just adjust Lt and Cl until os-
a
cillation occurs. By adjusting this
FIG. 5.- OUTPUT CONFIGURATIONS. Here, (a) is the simplest single -ended approach tuned LC circuit, you can trim the
without impedance matching, (b) is a single -ended approach for a tuned LC circuit load, frequency by about 50 ppm; for great-
and (c) is for a balanced approach for better suppression of input and LO signals. er variation, use a parallel- resonant
crystal in series with a variable capac-
NE602 0.25 VAC RMSi NE602
itor for adjustments.
C2
0.70 VAC P -P
.34F
6
6 v C1i
.04F 7 Cl 6
L1 C3 0 -30pF
04F
XTAL1
.04F 0
C2 R1
Vcc T40pF 22K
_L GROUND
a b C d OR V L
=IG. 10.- BUTLER OVERTONE CRYSTAL
FIG. 6. -BASIC NE602 OSCILLATOR CIRCUITS; (a) is Colpitts crystal-controlled, (b) is OSCILLATOR, with Cl as trimmer. Here:
Colpitts LC- tank-controlled, (c) is Hartley LC- tank -controlled, and (d) is controlled by an L1-1300 H, and both L1 and Cl have to be
external oscillator. Many other configurations are possible. tuned to the frequency of XTAL1.
Frequency doubler
INA Vc Vcc
NE602 Figure 11 shows a crystal -con-
R1 NE602 61
I
trolled frequency doubler with no
10K Cl OSC 7
.01pF EMITTER ANY OSCILLATOR XTAL1 o C1
tuned LC circuits. That circuit is
IN B OSC CONFIGURATION.) _74 useful in the 20-40 MHz range, but
2 BASE GROUND
OR V the same method could be used with
GND C2
(OSCILLATOR Vcc overtone crystal oscillators for even
OUT A OUT B SIGNAL OUT,
ANY
higher output frequencies.
0 CONFIGURATION.)
The doubling is achieved by feed-
f MHz C1=100pF/ir C2=1000pF/f ing the LO from pin 7 into the mixer.
FIG. 7. -THIS IS A GENERAL CONFIG-
1 100 1000 The output is 2 x f (where f is the
URATION for an NE602. To make an LO
signal appear at our A (pin 4) and our B (pin 2 70 500 oscillator fundamental frequency),
5), IN A (pin 1) is grounded through R1. 4 50 250 while the difference frequency is zero
10 32 100
(or DC), disappearing due to capaci-
crystals need external capacitors 20 22 50
tive coupling.
(usually 32 pF) to increase their actual The output still contains some ener-
frequency of oscillation to their rated FIG. 8.- FUNDAMENTAL COLPITTS gy at the LO frequency and isn't pure,
value. In Fig. 8, Cl is this capacitor, CRYSTAL OSCILLATOR. Note that the but is good enough for hobbyist pur-
juncture of XTAL1 and C2 can go to either
but it's usually larger than 32 pF and ground or Vcc
poses. A tuned LC circuit can easily
has less effect than the one depicted provide pure output. Of the oscillators
here. needs a tuned LC circuit to select the shown here, this is the only one that
Thus, at 10 MHz, parallel- resonant desired harmonic. For example, a 27- can't be used with the mixer, because
crystals oscillate about 100 parts per MHz third -harmonic crystal can reso- one mixer input is occupied (although
million (ppm) below their rated fre- nate at 9 MHz (fundamental) or 45 you could feed a signal to the other
quency, while series crystals resonate MHz (fifth harmonic). The NE602 mixer input).
about 300 ppm above. A parallel -res- Figure 12 shows a Colpitts LC os-
onant crystal can be pulled up to its cillator using coils and capacitors.
rated frequency using a small variable C3 Here, Lt forms a resonant circuit with
capacitor in series with it, as in Fig. 9, 15- 60pF Cl and C2 in series, plus C4 in paral-
letting you adjust the oscillator as de- PARALLEL- lel. Also, C3 blocks DC from pin 6 to
RESONANTE= XTAL1
sired. However, even without this ca- 32pF LOAD C2.7, T Vcc or ground; it has little effect on
pacitor, the frequency error won't be Vcc' the resonant frequency. Figure 12 also
ORO IDND
more than 300 ppm (0.03 %). _'y OR V gives formulas for component values.
At very high frequencies, a 22K re-
Overtone crystal oscillator
FIG.9.-A VARIATION ON FIG. 8, including
sistor from pin 7 to ground (not Vcc)
C3 to adjust the frequency of XTAL1 (par-
Above 20 MHz, crystals oscillate allel-resonant), bringing it up to its rated will change the bias point and in-
in overtone mode, and the oscillator value. crease gain.
LC circuit at the input selects one and NE602 can be the heart of an ultra-
INA Vcc +5V: rejects the other. This circuit was at- sonic listener (by down- converting
Cl NE602 .04FS tached to a shortwave receiver, and high -frequency audio) or a speech
.04F 2
IN B
OSC
EMITTER 7
6T 33pF
C3
100"
P
immediately received several long -
wave navigational beacons in nearby
scrambler to add security to telephone
conversatins.
3
4
GND
OSC
BASE C5
04F
L-!
10MHz
1
states. A long wire antenna works,
but loops pick up less noise because
they are directional.
You can get NE602's at $2.75 each,
plus $4.50 per order postage and
handling, from Radiokit, P.O. Box
OUT A OUT B E
20MHz
OUT 973, Pelham, NH 03076, (603)
FIG. 11. -THIS FREQUENCY DOUBLER Direct -conversion receiver 635 -2235; there's no minimum order.
PRODUCES sine wave at twice the fre-
a A frequency converter can shift fre- They are also available from Digi-
quency OF XTAL1. Note that output is quencies up or down. However, if you Key, Arrow Electronics, Schweber
taken only from our B (pin 5), while OUT A
(pin 4) is left open.
shift an RF signal down to audio, you Electronics, and many other Sig -
get an audio signal. This is called netics distributors, wih $25.00 typ-
direct -conversion reception, and can ical minimum orders. Be sure to
rNE002
demodulate Single -Sideband (SSB) specify whether you want the
and Morse code Continuous -Wave NE602N (8 -pin DIP) or NE602D
(CW) transmissions. It demodulates (surface mount package).
AM, but there's a whine if the tuning You also may prefer to order the
C2 isn't perfect. NE602A, which will be replacing the
Figure 14 shows such a direct-con- NE602 imminently; it has somewhat
I GROUND
= OR Vce version receiver for the 40 meter band improved intercept characteristics, re-
(7.5 MHz), that was able to receive sulting in less harmonic generation
FIG. 12.- COLPITTS LC OSCILLATOR.
Here: L1 =7 RH /f, C1 -----C2--C3----2400 pF /f, several amateur radio stations using a and intermodulation distortion. To
where f is in MHz. 3 -foot whip antenna. The design specify the desired package type,
could be refined; tuning would be you'd refer to the NE602AN or
455 -kHz \
easier with a variable capacitor in- NE602AD. We would like to thank
IF TRANSFORMER stead of an adjustable coil. Phil Anzalone, Ali Fotowat, and
.
+5V Craig Hirtz of Signetics for their in-
valuable assistance in preparing this
365pF
C1 T1 9 C3
IF
10.8 -MHz
TRANSFORMER
\
article. R -E
Z+5V_
04F
r
1 INA NE602 Vcc
8 1C1;1
T 60pF
C3
.04F
- POWER LINE GLITCHES
OSC EMITTER
3
GND
IN B
I
T47 pF
C4
G5 240pF
INA NE602 VG
C4
+5V continued from page 72
.
1
C5
330pF1 brief glitch, and Fig. 16 shows a brief
J1 13 GND
L1
LIEC2-1 TO
6
1000pF - RCVR 4
OUT A
OSC BASE
OUT B
5
1.8H power outage.
330pF
FIG. 13. -THIS CONVERTER DOWN -CON- Conclusion
TO
VERTS LONGWAVE signals from 350 -500 i Those graphs shown in Figs. 8-16
kHz up to 4.35-4.5 MHz, enabling them to
be received via a shortwave receiver
C2
.04}F - RCVR
show only a few of many possible
plugged into J1. FIG. 14.- DIRECT -CONVERSION RE- disturbances. Power glitches are com-
CEIVER for the 40 -meter (7 -MHz) amateur mon and readily identified. Most are
radio band, where CW is directly down -
Longwave receiver converter converted to audio. easily fixed, the culprit often being
Figure 13 shows a frequency con- poor wiring, bad grounding, or load
verter front end for a shortwave re- switching -all can be corrected
ceiver to receive longwave signals Conclusion cheaply. The most common, practical
(350-500 kHz). It mixes the incom- There are basically three RF circuit countermeasure is to install a separate
ing signal with the 4 -MHz signal from types-amplifiers, oscillators, and power line from the circuit -breaker
the LO. For example, 400 kHz incom- frequency converters. The NE602 box involved to the device being inter-
ing produces 4.4 and 3.6 MHz. The makes frequency conversion easier fered with, like a PC.
shortwave receiver will receive the than ever. Both it and related IC's will Power monitors make identifica-
signal if tuned to either frequency. eventually become basic building tion easy, but they're generally too
The input has a tuned LC circuit to blocks of RF design. This article has expensive, and would be needed too
prevent spurious response. only scratched the surface of the pos- infrequently, to warrant purchase by
If the receiver is set to 4.4 MHz, sibilities for the NE602. In an IF sec- the average hobbyist. They can, how-
then without the tuned LC circuit tion, it makes a good product ever, be rented for short periods, on an
you'd listen to 400 kHz and 8.4 MHz, detector. By mixing audio with RF, it as- needed basis, letting you derive the
because each gives a 4.4 -MHz output can act as an AM or DSB modulator. benefits of their technology without
when mixed with the LO. The tuned By mixing audio with audio, the making a major investment. R -E
76
TEN- l->. II'P1ENT HAS SURE CONE A
MICHAEL A. LASHANSKY
shown in Fig. 2. S1 either DC- couples
TABLE 1-FREQUENCY PROBE SPECIFICATIONS the input through R1, or AC- couples
it through CI The center pole of SI
.
Parameter Waveform Condition Performance ( *) goes to the clock -pulse input (cP) of
Type ICI, a National Semiconductor 11C90
Frequency Period
Measurement
Range
Any Unmodified
PC Board,
00000.000-
99999.999
00000.500
99999.999
- prescaler. The 11C90 is an ECL di-
vide-by-l0 prescaler, uses + 5 volts,
has TTL- output, and operates over a
XTAL1 is X 1 kHz, X 1 s,
DC -650 MHz bandwidth with only
1 MHz 10 -s gate 10 -s gate
Modified
PC Board
000000.00-
099999.99
000000.50
099999.99
- an RF- bypass capacitor on Vcc. In-
put sensitivity for AC- coupling is 350
mV p -p from DC -100 MHz, and 250
(see text), X 1 kHz, X 10 s, mV p -p above 100 MHz. The frequen-
XTAL1 is 1 -s gate -s gate
1
cy response of the 11C90 is shown in
1 MHz
Fig. 3, but that's the guaranteed mini-
Unmodified
PC Board,
00000.000-
0999.999
00000.500
99999.999
- mum, and actual performance can ex-
ceed it substantially. S2 is located
XTAL1 is X 10 kHz, X 10 s, between the frequency counter and
MHz 1 -s gate 1 -s gate the LED display, and selects between
Modified
PC Board
000000.00-
009999.99
000000.50
099999.99
- the frequency- and period- measure-
ment modes.
(see text), X 10 kHz, X 1s, Triggering is simplified in ICI by
XTAL1 is 0.1 -s gate 0.1 -s gate connecting the reference terminal (pin
10 MHz 15) to clock pulse (pin 16). By doing
Input Sinusoid N/A 35 mV p -p so, the probe input is automatically
Sensitivity Square N/A 50 mV p -p centered about the input threshold. A
50% duty cycle gives the fastest oper-
Maximum Any N/A 2 MHz ation, and since the flip -flops are mas-
Period
ter- slaves with offset input thresholds,
Logic Any N/A 3 VDC there are no minimum frequency re-
High strictions. That ensures that the cir-
Logic Any N/A 1.8 VDC cuit will operate with inputs with very
Low slow rise and fall times. The IIC90
can divide -by-10 or -11 depending on
Supply Any N/A 4.5-15 VDC the levels on pins and 2 (Ml and M2).
1
Voltage
A logic low on those pins places the
Maximum Any N/A 190 mA DC divider into divide -by-11 mode, while
Current tying them high produces divide -
Input Any n/A 51 ohms
by-10 mode. IC1 is enabled by tying
Impedance pin 1 (CHIP ENABLE) and pin 14 (ASYNC
MASTER SET) low.
( *)NOTE: All leadino zeros are surrressed durino normal oneratinn of the There are two VEE terminals (pins
frequency probe for both frequency and period measurement, and are re- 12 and 13). The TTL output operates
produced here merely for illustration. from the same Vcc and VEE levels as
the counter, but a separate pin is used
for the TTL VEE. That minimizes
and fits in a standard logic -probe Building the probe isn't difficult, but noise coupling when the TTL-output
case, modified for the purposes of the it requires care and patience, because switches, and reduces power con-
8 -digit LED display. Table lists the
1 the components are very tightly sumption by leaving pin 12 open
probe's specifications. It features packed. when the ECL outputs are used. Be-
switchable AC /DC coupling and both cause the IC operates linearly with the
frequency- and period- measurement Circuit operation transistors always on, the current
capability. The builder of the probe Figure shows the block diagram
1 drawn can go up to 80 mA, with 35
can modify the useful frequency of the frequency probe. The input can mA typical. Thus, the IC's run pretty
range by selecting a different crystal, be AC- or DC- coupled to the divide - warm, but heat -sinking isn't needed.
and can also modify the gate time (or by-10 prescaler, whose output is fed to The TTL-output of IC1 is pulled up
sampling time) by making a simple the main counter section and the LED to CMOS levels by R6 and connected
PC -board modification. The effects of display block. That counts the pre- to the clock input of IC2, an
the modifications are summarized in scaler pulses, and includes the neces- ICM7216B frequency counter. The
Table 1, and we'll discuss how they're sary logic for the 8 -digit LED display. 7216B has gating, timebase, latching,
made shortly. The logic block indicates with LEDI decoding, and 8 -digit LED display -
The probe can be powered either by and LED2 which coupling mode is in driver circuitry. In addition, the
the circuit -under-test, or by con- use, and indicates logic levels. 7216B measures period, frequency
necting its leads to +9 -volts DC. The frequency -probe schematic is ratios (fA /fB), time intervals, or total
1200
Cl AC S1
IC2
l O COUPLING
IC1
t
O
,4_
INPUT r DIVIDE -BY- FRED COUNTER %%
1000
R1 DC
10
PRESCALER
LATCH
LED DRIVERS
5; 800
in_ 75"C
OPERATING
S2
RANGE
-
600
LOGIC 55 C
FREQUENCY PERIOD
1
c-7)
timebase, and accepts inputs up to 10- Thus, the input was divided -by -10 tion of the gate time and decimal -
MHz, which are divided internally by using ICI and a -MHz crystal. That 1 point location is achieved by con-
105. Inputs are gated with that clock multiplies the internal gate time by 10 necting the range input (pin 14)
for a period determined by the RANGE (from the original range times), al- through R10 to digit- driver terminals
INPUT (pin 14) setting, and passed to lowing 100 -MHz measurements with DI -D4 (pins 4-7). The digit- drivers are
the main counter. The RANGE INPUT I -Hz resolution. time -multiplexed with the range, con-
automatically adjusts the LED display Also, the 7216B has 10 -ms, 100- trol, external decimal point, and func-
5V
LED3
DSP2
(YELLOW)
CLIP LEADS 8 NSB3881
4.5 -15VDC g e a d b f f C b d
MSD LSD
I II I II I
.U.L1.1.1 D4 D3 02 D1
.I
D4 D2 D3 D1 I dp
Cl COUPLING
PROBE --AS1 47
16
CP
ICI
11C90
+5V
A
S2 p
MODE
oFREQ.
-NV1o 1d5 (ORIG.
R1 DC VREF
PC BOARD
47011 CE FOIL
CONNECTION)
(MODI-
FIED '
Qni PC BOARD
11 R7
FOIL
10K
CONNECTION)
19 20 21 22 23
RANGED8D7 D6 D5 D4 02 D3 D1 C d e g df
FUNC
IC2
28
A ICM7216B
OSC. OSC. GND HOLD VCC
26 25 8 27 18
C3
1M
C4
W,
R8 XTAL1 39
33pF 10MEG 1MHz 15 600E 100K
5V +--1E- lol ' 5V 5V- --
FIG. 2- SCHEMATIC DIAGRAM FOR THE FREQUENCY PROBE. Note the dotted line
connecting R10 with pins 5 or 6 of IC2; that variable connection controls the decimal point
and total count appearing on DSP1 and DSP2. The relative intensities and durations of
ON /OFF time for LED1 (green) and LED2 (red) give a rough indication of logic level and
duty cycle.
tion selects to save on pin count. The plexed digit drivers, which is a prob- The 2940 is, however, noisy, and
range was fixed at I s, or 100 counts of lem at higher multiplex frequencies. needs a filter capacitor, sometimes on
the 10 -Hz reference counter (100 Next, DSP1 and DSP2 are each 4- each side. The output capacitor (C3)
Hz /10). That gave a 10 -s gate time, digit, common- cathode, multiplexed takes up considerable PC -board
which is inconvenient at times, but LED displays with the segment space. The level- indicating circuit
necessary for -Hz resolution from
1 anodes wired together to form a single composed of Q1, Q2, R2 -R5, LEDI,
DC -IO0 MHz, without using space - LED display. Each digit has a separate and LED2, is a easy way to indicate
grabbing range -select switches. cathode which is sourced by IC2. logic levels and the position of SI.
To achieve a l -s gate, you can either Current -limiting resistors aren't The probe tip goes to the base of Ql
modify the PC board by connecting needed with NSB3881 LED displays, through R2, and when brought low or
the RANGE input (pin 14) to D2 (pin 6), but if a high- efficiency LED display is allowed to float, Q1 is cutoff and Q2
or you can use a lO -MHz crystal. If substituted, use 40 -ohm resistors on conducts, since the base is positive
you modify the PC board, the decimal the segment drivers. The LED display with regard to the emitter. With Q2
place shifts one digit right (XXXX- multiplex rate is directly related to the conducting, LED! should light.
XX.XX instead of XXXXX.XXX), crystal frequency. For a 10 -MHz crys- Touching the probe to a logic high
and the least -significant digit means tal, the multiplex rate of the LED dis- makes Q1 and Q2 complement states
IO Hz, not I Hz. The interpretation of play is 500 Hz; the I -MHz crystal (Ql conducting and Q2 cutoff), and
the display remains as multiples of I yielded a 50 -Hz rate. As was shown in LED2 should light.
kHz, but the absolute range of the Fig. 2, pin 28 (HOLD) is grounded That feature indicates the position
probe increases from 10 MHz to 100 through R9, which pulls pin 28 low, of S1 since, in DC- coupled mode, the
MHz. To do that, cut the foil on the and allows the internal counter con- reference voltage of ICI is coupled
component side from pin 5 of IC2, tents to be displayed after each mea- through RI and R2 to the base of Ql.
and solder a jumper from the foil side surement cycle. That's about 3 volts (a logic high), so
to pin 6. Power is supplied by IC3, a Nation- LED2 should light. In AC- coupled
If you change the crystal frequency, al Semiconductor 2940 low- voltage mode, no DC voltage from ICI is
the decimal place stays unchanged dropout + 5 -volt regulator. Ordinary passed to the base of Q1, and it's al-
( XXXXX.XXX before and after); the voltage regulators need an input volt- lowed to float (a logic low), so LED!
LED display value reads in multiples age at least 2 volts above the desired lights. That's a useful way of visually
of 10 kHz instead of l kHz. A -MHz 1 output. The 2940, however, needs checking the coupling mode with no
crystal provides a 10 -s gate, and a 10- only an additional 500 mV, so if you signal applied. When a low frequency
MHz crystal provides a I -s gate. The put in 5 volts you're guaranteed 4.5 is applied, LED1 and LED2 should
longer the gate, the more accurate the volts out. That's a must for the fre- light, and a rough idea of duty cycle,
measurement, but the measurement quency probe, since it's supposed to whether high or low, can be made by
itself will take longer. If you use a 10- operate from 4.5 -15 volt supplies. IC1 inspection.
s gate, the probe might slip off a con- and IC2 need from 4.5-6 volts max-
nector or IC pin before the 10 seconds imum, so some voltage regulation is Construction
are up. needed. That's not a problem if you You should use the PC board in the
The best of both worlds would be to attach the power leads to 12 volts, but kit (see the parts list), because it's
go with a 10 -MHz crystal, because the probe may be rendered useless double -sided with plated- through
you'll save some money ($2.00 for when measuring 5 -volt signals, be- holes. If you wish to etch your own,
10 -MHz vs. $12.00 for 1 -MHz), and cause the output of a + 5 -volt reg- foil patterns are given in PC Service.
you'll also be able to take quicker, ulator with a 5 -volt input will be a Before soldering the PC board, use a
easier measurements. After all, a 10-s maximum of 3 volts. metal file along the edges to get it to
gate isn't that much more accurate
than a -s gate, as to warrant the addi-
1
1/4"
SCUT OUT
Rl
C4-15-60 pF trimmer (Active Com-
PROBE R21
ponents # 17016) C3
-03- 4
C5-22 p,F, tantulum
Semiconductors
":3 : RI l
W
U2
R4
R5
'
R6
\ 05
IC1 -11C90 National Semiconductor
650 -MHz, divide -by -10 prescaler
1C2- ICM7216B Intersil 8- digit, fre- DSP1 DSP2
DSP1, DSP2- NSB3881 National FIG. 5 -THE PARTS-PLACEMENT DIAGRAM for the frequency probe, showing the foil (a)
Semiconductor 4- digit, 7- segment and component (b) sides. In (a), both IC3 and XTAL1 are bent flat.
LED display
LED1 -green light- emitting diode fit in the case. If you're using the case SOLDER LUG
(miniature) in the parts list, clip the four plastic
LED2 -red light- emitting diode (min-
standoffs extending from the top with
iature)
a pair of wire cutters as close to the
LED3 -yellow light- emitting diode
(miniature) base as possible. Next, cut the open-
ings for the LED display and switches
-I F -- V "
a
Other components
XTAL1 -1- or 10 -MHz crystal (case in the case as shown in Figs. 4 -a and SOLDER FLUSH
WITH BOARD
size HC49) b. The case is polyethylene, so it can
S1, S2-SPDT switch (Active Com- be cut initially with an X -acto knife, BOARD
ponents # 22196) and finished with a jeweler's tile or
Miscellaneous: Logic -probe case emery board.
b
with probe tip and clip leads Solder SI and S2 first; clip the leads FIG. 6-TO MOUNT THE LOGIC PROBE
(Global Industries # CPT-1), sol-
so their length is identical to that of TIP onto the frequency probe PC board,
der, wire, etc. file 1/2-inch of the bottom of the hex -nut-
the pads. Next, place each on top of
shaped solder lug flat down to the cen-
NOTE: A complete kit of parts, log- its pads, and secure with solder, terline of the logic probe tip. Then, solder
ic -probe case, and carrying tweezers, or tape. Solder the three it flush to the correct pad on the compo-
'case is available for $159.95 U.S. terminals to the pads, and repeat for nent side of the PC board.
or $179.95 Canadian from Tristat the other switch. The bodies of SI and
Electronics, 66A Brockington S2 should fit snugly into the recess in and inspect for poor solder joints.
Crescent, Nepean, Ontario, Can- the PC board, and the fronts of both Care here will go a long way to having
ada K2G 5L1, (818) 228 -7223. The switches should line up with the edge the probe work on power -up.
kit without the PC board is of the PC board. Then, solder all parts Next, install XTALI; it lies flat
$139.95 U.S. or $159.95 Canadi-
except IC3 and LEDI LED3, which along the PC board surface, so bend
an. The PC board alone is
$20.00. All orders require $8.00 go on the toil side. When soldering a the leads at a 90 angle as close to the
for shipping and handling. Next - component on a two -sided PC hoard crystal housing as possible. Use heat -
day delivery is available at an without plated- through holes, you shrink tubing or electrical tape to in-
extra charge. Please call to in- must solder the leads on both sides of sulate the housing against the foils.
quire about rates to your area. the board. You must also solder short Next, solder R8, ICI, and IC2. insert-
Please allow 4-6 weeks for de- pieces of wire through any holes that ing from the component side, and sol-
livery. Canadian residents do not have component leads going der all the pins on the foil side. Solder
please add 7% GST and Ontario through them. Mount C2 on the foil the rest of the component -side com-
residents please add an addi- side, leaving a slight space. Solder ponents, paying attention to the parts -
tional 8% provincial sales tax. placement diagram of Fig. 5 -a and b.
the leads as they go through the com-
ponent side, clip as close as possible. Also, R2 R7 and RIO are mounted
81
LED DISPLAY
DSPI and DSP2 are wired correctly,
PLASTIC insert the header into the PC board
LED DISPLAY
until the back of the LED display
BOARD board touches the top of ICI and IC2,
and solder the header in place.
HEADER
PLASTIC
%IIIiII..s Fig. 8 shows the prototype from
several perspectives, with component
32 PIN IN -LINE
HEADER vzi O 11 i callouts. Fig. 8 -a was taken from
above and shows DSPI, DSP2, and
FIG. 7 -YOU MUST CONNECT pins 2, 7, 8,11, 12, 13. and 16 of DSP1 to the corresponding the component side of the PC board,
pins of DSP2 using wirewrap. Fig. 8 -b from the side of the header for
DSPI and DSP2, Fig. 8 -c shows the
PC board from the foil side, and Fig.
8 -d shows the fronts of S1 and S2. The
completed PC board fits very tightly
in the PC board case, so there are
several specific actions to take to en-
sure proper operation. Just note that
there are several minor differences be-
a tween the prototype and the plans
we're giving you, so don't worry if
you see something in the photos that
does not agree with the plans.
IN ESSENSE. A TV AND A COMPUTER play in the picture at any instant most fixed -frequency digital
monitor are more alike than they in time. monitors-i.e., most CGA and
are different. As a matter of fact, a The composite video signal EGA types. However, most multi -
monitor is really just a TV in dis- used in a television is more com- frequency type monitors work
guise less a few circuit boards plicated, because it combines all beautifully.
and knobs. the RGB signals, as well as other We also need a video source.
At one time, when computers timing information, into a single You can choose any VCR, video
used teletypewriters for display, high- frequency signal. In the camera, camcorder, or compo-
television pictures were consid- United States, this signal is nent tuner that has a video out-
ered high -resolution. lbday, even based on the NTSC/RS -170A vid- put in the NTSC /RS-170A for-
the best TV sets cannot compare eo standard. mat. Those devices usually have
with the latest breed of computer The disadvantage of composite some kind of audio output that
monitors in terms of resolution, video is that a great amount of you can use to drive a pair of
stability, convergence, and processing is required to com- headphones or your home stereo
fidelity. So wouldn't it be nice if bine and encode the separate sig- system.
you could simply connect a VCR nals into one composite signal. Of course, there's still one
or camcorder to your monitor The advantage of composite vid- thing missing: a gadget that can
and enjoy some of that extra eo, of course, is that the signal be used to convert the composite
fidelity? may be broadcast over the air or video from your source device
This article will show you how sent down a single piece of coax- into the separate RGB signals
to build a simple decoder that will ial cable. But to be displayed, that your monitor understands.
take any standard NTSC video eventually the signal must be
signal (from a VCR, camera, broken down into its individual About the circuit
tuner, or what have you), and red, green, blue, and sync compo- Figure 1 shows a block diagram
convert it into the analog RGB nents. By contrast, the advan- of the circuit, and Fig. 2 shows
signals that computer monitors tage of the RGB system is that no the complete schematic. The
work with. The circuit costs $100 decoding circuitry is required, so heart of the circuit is IC2, a
to build, and requires no fancy circuit designs are simpler and TDA3330. That highly integrated
test equipment to align. In addi- cheaper. The disadvantage of the Motorola IC is specifically de-
tion, if you would like to build RGB system is that several wires signed to break a composite video
one, partial and complete kits are and multi -pin connectors are re- signal down into its individual
available. quired to make connections. components. The TDA3330 re-
Given the similarity between a quires three inputs to operate:
Some basics television and a monitor, what chroma (color information), lu-
A color monitor has a simple exactly is required to display minance (brightness informa-
interface. It generally requires NTSC video on an RGB monitor? tion), and burst flag (timing in-
four separate signals to operate: First and foremost, we need an formation).
red, green, blue, and sync. Sync analog monitor that is capable of The other major component is
tells the monitor where and when scanning at standard NTSC vid- IC1, an LM1881 video -sync sepa-
to start each scan line, and the eo rates (60 Hz vertical, 15,750 rator made by National Semicon-
RGB signals determine how Hz horizontal). These require- ductor. It extracts most of the
much red, green, or blue to dis- ments immediately eliminate important timing information
83
ICI
LM1881
COMPOSITE
VIDEO O SYNC 1 COMPOSITE
INPUT EXTRACTOR SYNC
CHROMA
CHROMA 400ns
BANDPASS
TRAP DELAY
FILTER
BURST
CHROMA GATE LUMINANCE
22 INPUT INPUT (Y) INPUT O BLUE
15 17
12
CHROMA OUTPUT 13
ACC O GREEN
IF MATRIX 14
IF
OUT 24
O RED
APC
C18
100pF
90
PHASE VCO
5 B-Y
SHIFT
DEMOD
B-Y
4 R-Y
DEMOD
R-Y
IC2 9 8
TDA3330
7F I F-
= C27 XTAL1
40pF 3.58 M H z
FIG. 1 -BLOCK DIAGRAM. IC1 derives the sync signal and timing information. IC2 uses
from a standard video signal, and through. That is accomplished for setting operational charac-
it needs only three external (pas- with the chroma trap consisting teristics. The brightness control
sive) components to operate.. Our of L1, R3, R4, C2, and C3. (R35) sets the black level of the
circuit uses two of its three out- Basically, the output of the chro- RGB outputs; for most applica-
puts: composite sync, which ma trap is monochrome video. To tions, it should be set at mini-
after buffering becomes one of meet NTSC timing require- mum. The three other controls
our outputs; and the burst flag, ments, that signal must also be (hue, R37; saturation, R38; and
which is inverted by Q1 to fur- delayed (by R5, R14, and L3) be- contrast, R36) work much like
nish the necessary timing infor- fore entering IC2. their counterparts on a standard
mation to IC2. With proper input signals, IC2 TV. After they have been properly
The other signals that are requires only a few more passive adjusted, none of those controls
needed by IC2 are derived from components to enable it to lock should require operator interven-
the composite video input signal on to the incoming signals. Once tion. The brightness control
by means of several passive fil- locked, the IC performs all I/Q de- shifts the black level without af-
ters. The chroma bandpass filter modulation, quadrature decod- fecting the overall peak -to -peak
consists of R2, L2, C11, and C12. ing, R -Y, and B -Y processing, amplitude of the signal. On the
That circuit works by allowing and it then delivers red, green, other hand, the contrast control
only 3.58 -MHz signals to pass and blue signals at pins 14, 13, varies the peak -to -peak ampli-
into pin 22 of IC2, while blocking and 12, respectively. Those sig- tude without affecting the black
all others. The luminance input nals are buffered in turn by Q4, level.
(pin 17) is just the opposite, in Q5, and Q6, which are set up as Figure 3 shows several wave-
that the 3.58 -MHz component emitter followers designed to forms and timing relationships
must be blocked and all other drive 75 -ohm loads. for a color-bar input signal at sev-
frequencies allowed to pass The circuit has four controls eral points in the circuit: (a) The
w w p p
LU
CC
Z
= C!S
(7 C7
0 o o
Ip
O Ci
Q ti
(. D M
N
N
'aCr-
G (
+
w
'
C)
>
N
II tiv. pl
V +
N
^ N
U
cL
=
(C)
O 1
O
CO
CO
w
I-
CO
U.-=_111
C)
+ g + Q O N0d II
U
U A
CC
CO
O
rS
J Cr,
CO
Q b
C) T X J?
QC)
-I
co
NCh
cc) rC' II
UQ
O
I- (D
1
In O
--,II lit
LID
W o-
2
> U
mm
U
J
11-1(7."--.111
>
+
+
00
2Y vo0
1/
U It
K
Lu
m
`, 5 `r.
LL
L. C)
U it
N
JN `
C
CL
oa
r LL
Uo
O
nnnnnnnnn
85
same manner. This method saves
--I
-
I
-- BLACK
We also strongly recommend
the use of IC sockets. If you are
unable to locate a 24 -pin socket
WHITE for IC2, you can use 16- and 8 -pin
b
h
+ u-
I
-
-
-
BLACK
sockets mounted end -to -end.
The pads around the trimmer po-
tentiometers have been laid out
--
WHITE
1
-
-
-
BLACK
The board was designed to ac-
cept PC- mounted connectors for
J1 (input), J2 (output), and J3
I WHITE (power). However, you may not
_r -
d want or need these types. Our
e - BLACK
WHITE
prototype uses a BNC connector
for J1, but a simple RCA jack may
suffice. Likewise, J2 and J3 may
Z- I
- BLACK
be eliminated entirely or changed
depending on what your par-
ticular application involves.
FIG. 3- SAMPLE WAVEFORMS. At (a) is a color-bar input; the text describes the remain- Switch Si maybe replaced with a
ing signals.
simple jumper/header combina-
tion for most setups.
color-bar input. (b) Composite electrolytic, Mylar, or ceramic For best operation, the board
video across one scan line. (c) disc types may not fit in the allot- should be installed in a shielded
The luminance input (pin 17) of ted space on the printed circuit enclosure. The template in Fig. 5
IC2. (d) The chroma input (pin board. Also note that resistors shows hole locations for mount-
22) of IC2. (e) The composite sync and inductors are mounted ver- ing the board in the project box
output. (f) The burst -flag input tically. Bend one of the leads back that is mentioned in the parts
(pin 15) of IC2. (g) The green out- parallel to the body of the part list. The board is held in place in
put (Q5). (h) The red output (Q6). and mount the body of the part in the box by the connector hard-
(i) The blue output (Q4). (j) All the hole with the circle around it, ware (J1-J3).
outputs with the saturation con- and then pass the bent lead
trol (R38) at minimum. (k) The through the other hole. Mount Hooking it up
blue output with the saturation the inductors (except L3) in the Regardless of the type of con-
control (R38) too high. (1) The
blue output with the hue control J1
INPUT R38 R37 R36 J2
(R37) improperly adjusted. SATURATION HUE CONTRAST
R35
OUTPUT
JNM M- BRIGHTNESS
R10
R34-
e C32
R27
I
6
R311
1H30
31C3t
134 aC1 C MT
C13
I
R12
C14
R13
C15
1 C16
R14
I
L5
I ''C30
C31
R241
cussed in the parts list. If you use R1 R2 !2
our board, Fig. 4 shows the parts R161 IC'2
f R20
IR231
ri r23 .C14,,..
.. R17 ,r_-131&,
able from the mail -order houses
advertising in Radio -Elec-
tronics. If you purchase a partial s1
J3
POWER
kit, be careful in selecting capaci- INPUT
tors. Only tantalum or mono- FIG. 4 -PARTS LAYOUT. All parts, including the variable resistors and the O jacks.
lithic DIP types are suitable, as
I
u 0 0 0 0 0
000000 0 0
00
0'i
o o
of IC2 and referring to Fig. 6. An
out -of-lock waveform is shown in
Fig. 6 -a; adjust C1 until you ob-
tain a stable waveform as shown
43/16 INCHES
-
in Fig. 6 -b. There will probably be
HERE'S THE COMPONENT SIDE OF THE NTSC;RGB CONVERTER two spots in the adjustment
range where lock occurs; either is
OK. That signal is the VCO lock,
and once set, you should be able
to see nice, stable signals at the
RGB outputs (pins 12 -14 of IC2).
Refer to the output waveforms in
Fig. 3 and watch your monitor
while adjusting the saturation,
hue, and contrast controls to
your liking. Outputs should be
set anywhere from 0.7 to 1.0 volt
peak -to -peak.
I want my MTV /2!
After making all of the adjust-
ments to the unit itself, leave
them alone; instead use the
brightness and contrast controls
HERE'S THE SOLDER SIDE OF THE NTSC.RGB CONVERTER.
on your monitor to compensate
for ambient lighting. The de-
contrast controls (R36 -R38) to Adjustment with color -bar coder should be able to lock on to
maximum, and the brightness generator and oscilloscope. anything that comes anywhere
control (R35) to minimum. With Si closed, verify with the close to NTSC video, but it can't
Adjusting without test equip- scope that you have a 1 -volt peak - deal with some of the copy -pro-
ment. With everything hooked to -peak signal similar to that tection schemes that many pre-
up and the monitor on, plug in shown in Fig. 3 -a at the input recorded tapes use. However, you
the power supply. You should im- connector. Next, verify that a bur- may be able to compensate by
mediately see some kind of pic- st -flag pulse is present at pin 15 running the composite video sig-
ture, although it will probably be of IC2. That signal should look nal through a descrambler or sta-
black and white and possibly like the waveform shown in Fig. bilizer first.
flashing on and off. Adjust C27 3 -f, and must be at least eight You may notice that some video
with a small screwdriver for the looks better on your monitor
most stable picture and the best than on a TV, whereas other video
color. You may find two spots ---I 63.5s 1.4- looks worse. The reason is that a
where performance seems equal; high -resolution display cannot
either will do. Next, adjust Ll for improve a low- resolution input,
the deepest, richest color. Then and in some cases the high reso-
adjust the saturation, hue, and 600mV lution might even bring out some
contrast controls for the most unwanted artifact that a low -res-
natural look, just as you would olution display would cover up.
on a normal television. You OUT OF LOCK Some day, with all the hoopla
should leave the brightness con- over HDTV and multimedia, vid-
trol set at minimum unless you 100mV eo and graphics displays will
have a specific reason for want- most likely merge. We will be run-
ing the black level set higher than ning our CAD program on the
it already is. That's all it takes to IN LOCK
same screen that we sit back and
adjust the unit, and you will FIG. 6-VCO LOCK AT PIN 7 OF IC2. In (a) watch STAR WARS 15 on. Until
probably be very close to the op- is an incorrectly adjusted signal; (b) then, projects like this will inch
timum settings. shows the correct waveshape. us a little closer. R -E
88
ROCKET
ALTIMETER
Four... three.,. two...one.,.
ignition! Model rocketry
catches up with
technology with this
electronic altimeters
89
have a reliable and accurate
means to measure the altitude ALUMINUM PLATE SIGNAL
that a model reaches. The data \WIRE BOND RTV SEAL
NYLON
HOUSING
CONDITIONING
obtained can then be used to cal- SENSOR CHIP CERAMIC
PRESSURE MEDIA(B)
V
PRESSURE MEDIA(A)
sure. Output voltage (V1 V2) FIG. 1-THE MONOLITHIC CIRCUITRY inside the SCX15AN pressure sensor is deposited
ranges from 10 -50 mV, and is on a silicon chip that has a cavity etched out to form a diaphragm. A port is on top, and a
proportional to atmospheric vacuum reference cavity is on the bottom. The result is a sensor that measures absolute
pressure-which, of course, var- barometric pressure, which is then converted to altitude.
ies with altitude. Although the
entire unit is not temperature SENSYM
PIN 1)TEMPERATURE OUTPUT( +)
compensated, the sensor itself is, 20_
PIN 2)V,
BOTTOM VIEW
II 11 11 11
i
EF1 12
2 IC7-a 3 IC7-f
EF1 +5V 1
I C1 -Mr- 10MEG
INPUT
FROM 1
2
IC5-a
16
6
14
IC5-b 10
+5V
CDP18028E A13
ANALOG." 1/2 4520 9 1/2 4520
2 XTAL1 BOARD 11 19
1MHz A10 16 CLK 07 Vcc 20
C5
100F
CLK
3
IN A9 15
Q6
OE
Q5
16V XTAL1
A5 18 G
D7 IC6
C37. A2 17 74HC374 DO
1 D6
3 IC7 -b
Al 14
D1
D5
0 116 4584 AO 13
40 D4 D2
D
12
16 Q4 D3
Vcc +5V
38
DMA IN
J1 -2,9
37
DMA OUT
R6 -a
2.7K
-o
J1-7 CLK 2N4401
01
-
36 INTERRUPT 23 O J1 -8
O EF2
PEAK +5V
-2 WAIT MRD 7
MRD 20
J1-1,10 20 +5V A13 18 21
GND MWR
35
WE OE G vPP
TPB
33 19
A10 Vcc
24
1 C2
A10
A9
19
22
A10 Vcc
24
Cl
N019
A9 22
A9 A9 T.1
A8 23 18 A8 23
CLR 3 A8 CS1 AS
IC3
IC2 17 B7 A7 1 17 B7-
- A7 32
MA7 B7
8 B7. A7 1
A7 HM6116LP-4 B7 Al27C16 B7
A6 31 9 B6 A6 2 16 B6 A6 2
A6 CMOS EPROM B6 16 B6
MA6 B6 A6 RAM B6
15 B5 AS 3 15 B5
A5 30 10 B5 A5 3 B5 A5 B5
MA5 85 A5
14 B4 A4 4 14 B4
A4 29 11 B4 A4 4
B4 A4 B4
MA4 B4 A4
B3
A3 28 B3 .A3 B3
13 B3 A3 5
A3 B3 13
MA3 B3 ;12 A3
A2 11 B2 A2 6 11 B2
A2 27 13 B2 6 B2 A2 B2
MA2 B2 A2
Al 14 B1 41 10 B1 Al 7 10 B1
26
MA1 B1 Al B1 Al B1
9 BO AO 9 BO
AO 25 15 BO
AO BO AO BO
MAO B0 Vss
Vss
FF4 EF3 121. 12i
21 22
J1 -4 +5V J1 -6
ZERO ;116-c R6-b PLAYBACK
2.7K 2.7K : MODE BO _5 D IC4-a 1_ DATA
1/2 4013 J1 -5
3
IC7-e 10 13 CK
11
C6-a R
R3 MRD 1/6 4584 IC6-d \1
1/1 4081 4
100K CLR 2 1/4 4081
5 8
S LOAD
IC6-b\ 4 B1 9 0 t3
6 /4 4081 j C4
1I1FT
R2
1MEG
D
IC4-b 110
J1 -3
L r 8
IC6-c
1/4 4081
1 11
CK
1/24013
FIG. 4 -THE SCHEMATIC OF THE CPU BOARD. It logs the data to be read back when the
rocket returns to Earth.
trol switches. Power for the dis-
play module comes from the
D1 61 +5V
1144002 9V OUTPUT
- - --h TO CPU BOARD
68
1MEC
+ Cl
4.7F
51
ION CPU BOARDI.F
1I
v 514
+ C5
4.7F other two boards via the ribbon
=3.7kHz 1K
w. cable.
R15
6.8K The software for the altimeter
is available on the R-E BBS-
611
3 OUT
IC3-h 100K 5
R9
100K
YK
'/a LM324
*C3 164 s C6
.01
516- 293 -2283. (For those who
610
20K T111F
LM331N
2
prefer to type, the machine code
VA.
>F-"-
e for the EPROM is shown in List-
C4
tt
4
8.O6R76K
5g 5a CPU BOARD
5b
p4
P3
I I I I Itgbl 5c
All resistors are 1/4 -watt,
v:
5 %, unless
5d
I I I I I I Iedel otherwise noted.
p1
CDM te 14 tc lb 1a 20 2t 2e 2c 2b 2a 3g 3e 3d 3c 3b 3a 4g 4f 4e 4c 4b 4a
5e
5f
R1 -10
megohms
-1
9 11 2d 31
R2 megohm
R3- 100,000 ohms
23 24 171 16I 15 14 13 12 11 101 9 8 7 6 5 4 3 2 40 39 38 37 36 35 34 33 32 311 30 29 28 27 26
R4- 22,000 ohms
22
BPOBPIN h1 SC b3 I4 b5 56 b9 b b9 b 0 b 1512 b13b14b15b 6b 7b 8519b1 0 bei b22 bc3b24 b25 526 b27 b28 b29 b30 531 R5-10 ohms
J1-5o
25
DATA
ICI R6 -2700 ohms, SIP resistor (cut to fit
0 LOAD
J1 3
2
MM5483N board)
J1 7o CLK
GND
19
+V
20
Capacitors
J1-4
vh +5V Cl-C3-0.1 F, monolithic
0
R2
INJ R1
22K
01 \ 11O LED1 IJ1 2
OFF
4700F
1MEG + C2
"-.41Rf
C4-1 RF, 25 volts, tantalum
264401 SAMPLE 7
ZERO
Si
PEAK
PLAYBACK
MODE
C5-100 F, 16 volts, electrolytic
Semiconductors
FIG. 6 -THE DISPLAY MODULE stays on the ground; when the rocket is retrieved, the IC1- CDP1802CE microprocessor (GE/
data from the CPU board is displayed on this module. RCA)
IC2- HM6116LP -4 RAM
IC3 -27C16 CMOS EPROM
START
IC4-4013 dual D -type flip flop
IC5 -4520 dual synchronous up counter
IC6-4081 quad 2 -input AND gate
IC7-4584 hex Schmitt trigger
INITIALIZE REGISTERS IC8- MM74HC374N octal tri -state D-
type flip -flop
LED1 -red light- emitting diode
YES
Q1- 2N4401 NPN transistor
STORE PEAK Other components
NO XTAL1 -2 MHz crystal
RESET S1 -PC -mount slide switch
J1 -10 -pin header
YES
MEMORY ZERO PB?
POINTER Miscellaneous: 10-conductor ribbon ca-
NO ble, 31/4 -inch #6 spacers, 3 #6 -32 x Y2-
YES inch screws and nuts, PC board, IC
PLAYBACK SET -UP DATA
MODE? sockets, wire, solder, etc..
NO
DELAY
ANALOG BOARD
YES All resistors are 1/4-watt,
STORE PEAK IF LAST SAMPLE? 5 %, unless
GREATER THAN LAST otherwise noted.
NO
R1- 50,000 ohms, 25 -turn trimmer
potentiometer
INCREMENT COUNT R2 -not used
R3, R4- 40,200 ohms, /6- watt,1 %, metal -
1
film
BCD CONVERTER R5, R16-8060 ohms, 1/6 -watt, 1 %, metal -
film
R6 -2000 ohms, '/a -watt, 1 %, metal -film
R7, R8-1 megohm, 1/6 -watt, 1 %, metal -
LCD DISPLAY film
R9, R13- 100,000 ohms, 1/2-watt, 1 %,
metal -film
DELAY R10-20,000 ohms, 1/2-watt, %, metal -
1
film
R11-100,000 ohms, 5% resistor, 1/4W
FIG. 7 -THE SOFTWARE FOR THE ALTIMETER HANDLES data logging, mode switch
R12-47 ohms
input, and LCD interfacing. R14 -1000 ohms
Construction R15 -6800 ohms, 1/6 -watt, 1 %, metal -film
nent lead or feed -through wire. Capacitors
Three printed -circuit boards (The boards available from the Cl, C5-4.7 F 16 volts, tantalum
are used. The pressure sensor source mentioned in the parts C2 -C4 -1 F, 25 volts, tantalum
and analog section are combined list are plated- through.) C6 -0.01 F, 50 volts, 5% film -type
on a single -sided PC board. The To assemble the CPU board, fol- Semiconductor
CPU board is double- sided, as is low the parts -placement diagram IC1- SCX15AN pressure sensor
the board for the display module. shown in Fig. 8. Install the re- IC2- LP2950CZ -5.0, 5 -volt regulator
IC3- LM324N op-amp
If the holes in either of the dou- sistors, capacitors, connector. 1C4-LM33IN voltage -to- frequency
ble -sided boards are not plated - switch, LED, and transistor. The converter
through, feed- through wires crystal may be fastened to the D1- 1N4002 diode
must be used instead. All pads on board with foam tape or RTV sil- Miscellaneous: 9 -volt battery and clip,
the top and bottom of the boards icone cement. IC sockets should PC board, IC sockets, wire, solder, etc..
must be soldered to the compo- be used to ease any future repairs
92
R2
+ shown. If you ever clean the PC
IC C
board, do not allow any solvent or
3 C4
I
INPUT FROM
IC8 C C3
1R1
XTAL1
ANALOG BOARD moisture to enter the sensor
+9V port, or you'll damage it. You
v
C11
TO must test the analog board before
IC6
ICI
1
v O1R5
1
ANALOG
attaching it to the CPU board.
BOARD
+
The display board parts- place-
C21 -c5- IC5
R1 LEEDD112),' ment diagram is shown in Fig.
10. Install the resistors, capaci-
103 1C2
+
2 PORT
B rJ R6 R7
) IC3 1R
u".- R14- + and battery input pads on
k PORT J C6 Ic4C the analog board. Connect your
MOUNT B1 ON FOIL -R11-
SIDE OF BOARD WITH +JS IC2 R3
R5 R9
R10 -
--
R15 DVM and scope ground leads to
DOUBLE -SIDED TAPE 1, 111111 +C5
battery The regulator output
.
LISTING 1
000000 c0 00 c5 f8 00 b3 f8 fa a3 7a e3 65 7b 7a 7b
000010 7a
f8 20 b5 bi f8 06 a5 f8 02 al 8 00 b2 f8 f0 a2
000020 f8 02 55 ei 82 f4 a2 e5 02 f2 32 31 f8 fb a3
000030 30
34 f8 fa a3 7a e3 65 7b 7a 05 fe 55 3a 27 1.1 81
000040 fb 06 3a la f8 fb a3 7a e3 65 7b 7a 65 65 f8 00
000050 a9 b9 19 99 b 10 3a 52 c0 00 db f8 00 a4 b4 3c
000060 5f 34 6114 3c 63 f8 00 a5 f8 05 b5 c0 01 85 fb
000070 00 3a 6c c0 01 Oe f8 05 ai f8 20 bl el f8
000080 00 73
73 73 51 c4 c4 f8 05 al 01 32 90 f8 00 51 30 95
000090 f8 05 51 30 bb 21 01 fb 09 32 al f8 01 f4 51 30
0000a0 bb f8 00 73 01 fb 09 32 af f8 01 f4 51 30 bb 8
0000b0 00 73 01 fb 09 32 bb f8 01 f4 51 24 94 3a 85 84
0000c0 3a 85 c0 00 03 f8 00 a6 b6 a7 b7 f8 20 ad
0000d0 bd c0
01 c0 c4 c4 c4 c4 c4 c4 c4 c4 c4 35 e7 37 e4 36
0000e0 ea c0 01 45 c0 01 07 c0 01 00 c0 01 78 c4 c4 c4
0000f0 fc 60 da f2 66 b6 be e0 fe e6 00 01 02 00 c4 c4
000100 96 b4 86 a4 c0 00 76 f8 00 a7 b7 f8 20
000110 ad bd c0
00 df c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 94 bf
000120 84 af 96 be 86 ae 9f 3a 2c 8f 32 36 2f 9e 3a 33
000130 8e 32 26 2e 30 26 9e 3a 3c 8e 32 3e 30 42 94 b6
000140 84 a6 c0 01 a0 f8 00 a4 b4 3c 49 34 4b 14 3c 4d
000150 f8 00 a5 f8 05 b5 94 3a 61 84 fb 01 3a 61 c0 01
000160 70 24 25 95 3a 56 30 5e c4 c4 c4 c4 c4 c4 c4 c4
000170 94 5d id 84 5d ld 30 le 4d b4 4d a4 f8 00 a9 b9
000180 19 99 fb 30 3a 80 30 a0 c4 c4 c4 c4 c4 c4 c4 c4
000190 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4
0001a0 97 fb 03 3a af 87 fb 0 3a af 2d 2d c0 00 76 17
0001b0 30 ac c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4
0001c0 f8 20 a5 b5 f8 00 55 15 f8 01 55 15 95 fb 28 3a
0001d0 c4 c0 00 db c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4
0001e0 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4
0001f0 c4 c4 c4 c4 FIG. 12-THE DISPLAY MODULE can be
c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4 c4
000200 c4 housed in any kind of project case you can
find.
tr
r1i'i iNi e
0/710
61/4 INCHES
-
Switching the PLAYBACK switch to
FOIL _ 00
0 off will resume data logging at
O whatever sample was last dis-
s
fff
ro
,.. TOP
7r
0l00000000l0o
0 00 J o o 0 0 0 0 0 0 0
o
0o000000000pgoo-0-o-o
95
Activate the unit with the dis- CHRISTMAS CARD
play connected and verify ground continued from page 59
calibration (a 50 -foot reading).
Unplug the display, verify that
the sample LED is flashing, and the microphone causes a voltage TOURISM
secure the hatch. to appear. Do not increase the A VISION OF AMERICA
Before launching, however, it setting until R17 through R20
is important to observe certain are adjusted so as to give a com-
plete range through each bar- When Americans head
safety precautions in order to
avoid unnecessary injury or graph. The best bet for making out on the open road,
property damage. First of all, al- these adjustments is to play a we appreciate how
ways use properly constructed stereo audio source (actually, any great America really is,
rockets, launchers, and factory- source will do) at a normal listen- and our freedom to
loaded NAR- certified rocket en- ing level. Simply adjust the po- travel. Now, more than
gines. A model rocket should al- tentiometers for what you con- ever in the past,
ways have a parachute recovery sider to be a pleasing or most
Christmas -like interpretation of people from the world
system. Never launch a rocket
with a flammable, explosive, or the sound. over can visit America.
live payload. Make sure that the If you have any problems with Foreign visitors
launch area is free of obstruc- the device, the first thing to do is strengthen our global
tions such as trees, power lines, decrease the setting (counter- relations and in 1989,
and low -flying planes. Also avoid clockwise) of all the potentiome- they added $43
launching rockets on windy days ters. A filter that still oscillates billion* to our econ-
or when clouds will obstruct your after decreasing the potentiome-
ters most likely has an incorrect omy. As our number
view of the rocket. To avoid fire
hazards, never launch a rocket component or one that does not one export, tourism
from ground covered with dry meet its tolerance. improves the USA's
grass or shrubs. Always make For high -Q versions of the cir- balance of trade with
sure that nobody is near the cuit, sometimes the component other nations.
launch site, especially children. tolerance is such that the filter
Launch the rocket using a re- will begin to oscillate when pre- Tourism Works For
mote ignition system. About four sented with a large input. If that's America . . .
minutes of data will be stored, the case, all you must do is inter- and for you.
including the time on launch change the two filter capacitors;
pad. When you recover the rock- this old technician's trick usually Preliminary 1989 Estimates, Source:
Administration
U.S. Travel and Tourism
et, plug in the display, press the works, assuming that there
PEAK button, and the peak al- aren't any problems with the
titude achieved will be displayed. other components.
Next, switch the playback tog- If you still have problems,
gle to the closed position. Press check that the analog ground is
the ZERO button (hold it for two stable. A variation on that line
sample LED flashes) and release. will cause serious problems with egir
This will start playback from lo- the operation of the unit. If you
cation zero at '/ speed (one sam- cannot find the problem, the best
ple per second). The flight can be thing to do is to shut off the dis-
played back as many times as de- play by lifting one lead of both Rl
sired by pushing ZERO. The ZERO and D5. With the load of the dis-
button may be pushed at any play removed, it's easier to locate
time to restart. problems.
The finished, working board
Conclusion can be installed in any kind of
The collected data may be used housing you like, although the
to determine the performance of custom black metal frame adds a
a model rocket. Many modelers nice touch, as does the mat that
are flying high -performance com- keeps the circuitry from view.
posite motors in their "birds" al- After installing the unit in the
lowing altitudes of thousands of frame you may want to readjust
feet to be reached. Use of the al- the potentiometers, since the
timeter can help optimize rocket frame and front glass seem to
designs to get maximum altitude couple the microphone to the nuJSn1
for a given engine size. surrounding air. Vibrations R
wc AZic,
RUI: AML RICA
Non -rocket uses of the system picked up by the device will also
might include kites, hot -air bal- produce a display; a fan operat-
loons, hang -gliders, skydivers, ing nearby is almost always dis-
and mountain climbers. What- played. Have fun, and don't
ever your application, be care - forget to have a merry Christmas, The National Travel and
ful...and have fun! R -E as well! R -E
tourism Awareness Council
96
BUILD R -E's
VOCAL STRIPPER
Build this lead
vocal filter
and test
LEAD
VOCAL FILTER your singing
ability.
TERRY J. WEEDER
ALMOST EVERYONE ENJOYS LISTENING TO the vocals, the midrange fre- ments such as the bass drum
music, and just about as many quencies contain a large portion and bass guitar are usually re-
people enjoy singing along to of the music. Vocal filtering is corded at the same level on both
their favorite songs. If you're one quite easy, however, if you take channels so they seem to come
of the many people who loves to advantage of the way stereo re- from center stage. That is what
sing, you may be interested in a cordings are mixed. makes lead vocal filtering possi-
clever audio device that filters out ble.
lead vocals from a stereo record- Stereo mixing Vocal signals, which consist
ing, leaving just the background When mixing is done in a stu- primarily of mid-high range fre-
music. For under $50.00, you dio, each instrument or voice is quencies, can be filtered out by a
can build this unique audio filter- assigned a position relative to left series of filtering stages shown in
ing device. Impress your friends (L) and right (R) channels. Some Fig. 1. Bass instruments, corre-
with this Karaoke -like audio sys- instruments are recorded at sponding to a lower frequency
tem and enjoy hours of singing higher levels on the right channel range, can be diverted to a final
pleasure. so that their sounds seem to mixing stage so that the music is
Filtering out the vocal tracks come from the right side of the not filtered out along with the vo-
from a recording is not as simple stage. Others are recorded on the cals.
as merely eliminating the mid- left channel for the opposite A signal from one channel is
range frequencies. Along with effect. Lead vocals and instru- inverted and subtracted from the
(BASS
INSTRUMENTS) RIGHT
RIGHT
CHANNEL
CHANNEL LOW
OUT
IN
VARIABLE LOW PASS
BUFFER CROSSOVER IHI/MID DELAY FILTER
(VOCAL
SIGNALS) DIFFERENCE
AMP
h
4.4
R49
MIXER
PHASE
R36
BALANCE VOCAL -LESS LEFT
LEFT SIGNALS CHANNEL
CHANNEL OUT
IN
HI/MID 2.4ms LOW PASS
BUFFER F--- - CROSSOVER ' DELAY FILTER
(VOCAL
SIGNALS)
LOW
(BASS
INSTRUMENTS)
R4 C4
2 +12V R19 C9 =
10K 0.0047 33K 0.1 J3 RIGHT
C8
4 +12V CHANNEL
0.1 IC4-c
6 7 C21 OUT
R5 LM324
1/4 10F
47K 5 IC5-b
R3 11 1/4 R22
LM324
10K 1052 13 J4
14 LEFT
-12V
L T" R7 R8 R20 R21
12
IC4-d C22
+ CHANNEL
OUT
R1
= 10K 10K 100K 1 MEG
1/4 LM324 10F
100K
+ 12V
Cl 2
R9 R29 ^ C18
RIGHT Jt tF1 10K
5 8 R27 47K R30
47K
47pF
3 8
10K
CHANNEL( IC4-a 4
IN ( 11 1/4 LM324
IC5-c C7
RD5106 +
C11
R28
C17
2
3
2 10K + IC6-a
12V 1/4 LM324 1F 1
2.2F I20pF R32
R311/4 LM324 100K
R11 6 R10
10K 0.0047 3.3K
2 4.7K
R36
R12 R13 -46Sr_--111----JR23
33k 10K =
10K 47K C13 0.1
IC5-a BALANCE .
0.1
C5
R14 1/4 LM324
K- +12V _
4.7K 100K R35
0.47 R26
I(
R1511' R24 C15 100K
R16
10K ? 4'100K 10u 0.1
10K
R25 R39
2
C2 6 +12V
13 = 1MEG ., 5 8 47k C20
7
LEFT J2
CHANNEL(--- -. +
1F
R17 12
4 6
+`
47pF
13
4 IC6-d
/4LM324
2
1C4-b RD5106
IN 10K IC5-d C12 R37 R38 R40 12
/4 LM324
1/4 LM324 1F 7 1 226F 10K 10K 47K I + 71 14 R42
R2 R18 .=. C19 ` 3 R41 -12V 22K
----'bM'-
100K 3.3K 220pFT 4.7K
.
R43
+ 12V
10K
41V1*
14
-1- C25
R45
/H 9 8
4 o.1 12 10
10 11 22K
9 R44f/IC6-c
IC3-b 1/4
6 A.SO4 LM324
2 IC3-a 7 1/44011B
R48 IC3-c " IC3-d R46
1/4 40118 : 401113
10K 1/ 1/4 40118 22K
R47
C23 ?' 15K
100pF
R49 (-.-
C24
10K
100pF
PHASE
FIG. 2- SCHEMATIC OF LEAD VOCAL FILTER. Right and left channel signals pass
through IC4 -a and -b buffer amps into active crossover IC5; low frequencies are sent to
IC6 -c mixer, middle and high frequencies are sent to analog delay lines of IC1 and IC2.
That output passes through IC6 -a and -d to filter high frequency sample steps. IC6 -b
signals are remixed with low frequencies by IC6 -c and are sent to final output via IC4 -c
and -d buffers.
98
2,4 ms, set by the fixed- frequency from ICI and IC2 passes through etched and drilled PC board is
clock generated by 1/2-IC3, R47, low- pass -filters IC6 -a and -d, and available from the source in the
and C24. The right channel sig- their associated parts, to filter Parts List or you can make your
nal is delayed by ICI with a varia- out high- frequency sample -steps own from the foil pattern pro-
ble- frequency clock generated by produced by ICI and IC2. Bal- vided here. Mount the vocal filter
1/2-IC3, R48, R49, and C23. Po- ance control R36 is adjusted for components as shown in the
tentiometer R49 is used for equal amplitude of the left and parts placement diagram, Fig. 3.
phase adjustment. right channels. IC6 -b is a dif- Use shielded wire to connect the
The output of each delay line ference amplifier which cancels RCA jacks, and ground them
all lead vocals that are common to properly, either by mounting
both channels. The resulting sig- them to a grounded chassis or by
All resistors are 1 -watt, 5 %, unless nal from IC6 -b is remixed with soldering ground wires to their
otherwise indicated. low frequencies by IC6 -c and is cases. The DC power supply leads
R1, R2, R20, R24, R32, R33 -R35- then sent to the output via buff- from the power- supply board
100.000 ohms
R3, R4, R7 -R9, R11, R12, R15, R16, R17, ers IC4 -c and IC4 -d. should be twisted to reduce noise
R27, R28, R37, R38, R43, R48- transmission.
10,000 ohms Construction If you don't use PC mounted
R5, R13, R29, R30, R39, R40-47,000 The easiest way to go about potentiometers for R49 and R36,
ohms constructing the vocal filter cir- be sure to keep their connecting
R6, R14, R31, R41 -4700 ohms leads short and twist them to re-
R10, R18, R44 -3300 ohms
cuit is to use a PC board. An
R19, R23- 33,000 ohms
R21, R25-1 megohm
R22, R26-10 ohms
R36, R49-10,000 ohms, potentiometer
-L c.
R42, R45, R46- 22,000 ohms
R47- 15,000 ohms
--R25- -R18-
Capacitors
Cl, C2, C7, C12-1 F tantalum 4
- R23 - R16 C12-R10
C7
+
RB
C3,C5 -0.47 F tantalum C13 C14
C4, C6-0.0047 F Mylar
J
1
+ ttt ' 1
i
I et-18
I
I
Ri1R34
Power supply parts I 3
C17
F1-O.5 amp fuse and fuseholder
T1 -24 VAC center -tapped transformer
R49 R36 I -R28-
BR1 -1.5 -amp bridge rectifier, 100 PIV
Cl, C2 -1000 F, 25 volts, electrol rtic
C3, C4-10 F, 16 volts, electrolytic FIG. 3 -PARTS PLACEMENT DIAGRAM. Remember to connect the jumper lead, use
C5, C6- 0.1 F, ceramic disc shielded cables for the RCA jacks and twist the supply leads before soldering to the LED
D1, D2 -12 -volt Zener diode and main PC board.
R1, R2-220 ohms
R3-1000 ohms
S1 -SPST switch, 1 amp
LED1 -light emitting diode, any color
Note: The following are available from R1
Weeder Technologies, 14773 220C2 +12V
Lindsey Rd., Mt. Orab, Ohio 45154:
R3
An etched, drilled, and plated PC C5
1K
board, $13.00; all (board mounting) 0.1
Theory
The major criteria that determine
microphone performance are direc-
tional sensitivity and frequency re-
SUPER
sponse (bandwidth). Just as frequency
response and directional sensitivity in
antennas are changed by varying the
lengths, diameters, and relative an-
DIRECTIONAL
gles of metal radiators or reflectors,
the analogous characteristics of mi-
crophones can be adjusted by similar
geometric variations. One lesser
MICROPHONE
known antenna type, normally used in
microwave applications, is the horn like fashion, acoustic energy also ex- ciprocity, which lets a microphone
antenna. The horn microphone pre- hibits the same phenomena. Just as work equally well as a loudspeaker of
sented in this article is designed using antennas are electromagnetic lenses, identical design, both directionally
analogous principles which could, in- so too are microphones and loud- and in frequency response; this prop-
cidentally, also be applied with equal speakers acoustic lenses. erty also holds true for antennas.
validity to the design of a loud- Not only are microphones and
speaker, for reasons discussed below. loudspeakers acoustic transducers or Different microphone types
A very helpful concept in either lenses, but also acoustic filters. Just as Most microphones are omnidirec-
acoustic or electromagnetic design is all filters have frequency and phase tional, as shown in Fig. 1. Figure 1 -a
to think of a microphone, loud- response, so too do microphones and shows the basic shape of an om-
speaker, or antenna, as just a trans- loudspeakers. However, here, as with nidirectional microphone with the
ducer. This concept can be extended antennas, two types of filtering occur: main axis, while Fig. 1 -b shows a
still further, if you consider a trans- directional and frequency. linear polar plot of relative sensitivity
ducer of wave -propagated energy that Another term for directional sen- P(0) (dynes /cm2) as a function of an-
focuses such energy onto a receptor to sitivity is directivity, often a desirable gle 0 about the main axis; all curves
be a lens. Consider the similarities, trait, since it prevents spurious sound are normalized to 1 at the peak of the
taking the antenna first, since it's the from entering from undesired direc- main beam. The main beam can be at
more obvious. Both antennas and tions. A microphone with uniform di- any angle, although it's normally de-
lenses focus and collect electromag- rectivity is termed omnidirectional; picted at 0 . If several people sit
netic energy, the only difference however, flat directional response around a table, an omnidirectional
being that light is at a much higher doesn't imply flat frequency re- microphone at the center will pick
frequency range, and obeys the laws sponse. A microphone can either have them all up equally well. Any plane
of optics. (Actually, microwave an- a flat response over the audio spec- that passes through the main axis will
tennas also exhibit quasi -optical trum (20 Hz -20 kHz), or be tailored exhibit this sensitivity response.
physical phenomena.) for greater sensitivity over specific au- The second most common micro-
Consider for a moment; don't both dio bands. The acoustic horn pre- phone type is the cardioid, shown in
electromagnetic radiation and light sented here has very high directivity Fig. 2 -a, which has greater directivity
exhibit the same phenomena of reflec- over the entire audio spectrum. toward the front over most of the audio
tion, refraction, absorption or at- The last property microphones and range. The sensitivity pattern shown
tenuation, and polarization? And in speakers have in common is re- in Fig. 2 -b looks like the mathemati-
101
from the audience. The power func-
tion is of the form:
INCIDENT
P(0) = Prop + cos(0)], SOUND
= 2 x PrefCOS2(0 /2). MICROPHONE
0
At 0 =0, the sensitivity is max-
180
imized. The sensitivity goes to zero (a
null) at 0 =180 . REFLECTOR
(CROSS SECT ONAL VIEW
The ribbon element microphone OF PARABOLIC REFLECTOR)
shown in Fig. 3 -a is the industry stan- a
dard, well -known from all the photos
of radio stars in front of them. It's 200 Hz 1 kHz 8 kHz
sensitive from both front and rear,
producing the figure-8 pattern shown
in Fig. 3 -b. A microphone that picks
up equally well in opposite directions FIG. 4 -THE DIRECTIVITY OF A parabolic
is advantageous in a talk show where reflector microphone increases with fre-
the guest sits opposite the host. quency. In (a), the incident parallel rays
converge to the microphone at the focal
point. In (b) are shown linear polar plots of
acoustic power at four frequencies.
HIGH AUDIO
FREQUENCIES 180 180
b
phone; all parallel rays, wherever they
FIG. 1 -ANOMNIDIRECTIONAL micro- strike the curve, are reflected to the
phone, shown in (a), has uniform direc-
tional sensitivity to sound pressure P(U);
o
focal point, where the microphone is
the main axis is out the indicated. In (b) is located. Parabolic microphones are
shown a polar plot of directional sen- also especially directive at higher au-
sitivity; the response is identical in any dio frequencies, as shown in the sen-
plane through the main axis. sitivity patterns of Fig. 4 -b.
As shown in Fig. 5 -a, the line
180
(shotgun) microphone is another
commercial directive version, albeit
not quite as focused as a parabolic
reflector. The line microphone has ei-
ther a single long tube with spaced
openings, or several tubes of increas-
ing length, in front of the microphone
element. The sensitivity patterns in
Fig. 5 -b aren't for differing frequen-
cies, but for different tube lengths,
being integral multiples of X/2, or half
a wavelength.
LENGTH
OF
OPENINGS
-e-
0 180
180
R
b MICROPHONE
b a ELEMENT
FIG. 3-A BIDIRECTIONAL microphone,
FIG. 2 -A
CARDIOID MICROPHONE, shown in (a), is uniformly sensitive to
TUBE
LENGTH
TUBE
LENGTH
- 2x TUBE
LENGTH
8x
shown in (a), has greater sensitivity from sound from front and rear, but less sen-
the front than the rear. The 0 and 180 sitive from the side; the main axis is the
directions are along its main axis, point- same as that for a cardioid microphone.
ing through the main face. The sound Note, however, that P(0) in (b) has two
pressure sensitivity P(0) shown in (b) was lobes, not one, with two maxima and two
taken through a plane normal to the main minima (zeros, or nulls). b
axis.
FIG. 5-A LINE (SHOTGUN) microphone
Increasing directivity becomes more directive as the length of
cal curve called a cardioid (heart- Experimenting with basic micro- its tubes increase. It's not as directive as a
shaped), hence the name. An or- phone directivity patterns yield more parabolic reflector, and either has one
chestra in a night club might use a long tube with spaced openings, or sev-
specialized designs that are much eral tubes of increasing length each with
cardioid microphone so that only more sensitive from the front. Figure one opening, right in front of the di-
their music is picked up, not sounds 4 -a shows a parabolic reflector micro- aphragm.
102
Both the reflector and line micro- formation curve as cutoff frequency is
phones are directive, but neither com- HORN DIAMETER approached, with a smooth transition
lx from a high- directivity pattern to one
pares with the narrow beam of the
horn shown in Fig. 6. Figure 6 -a
VB
..-'
40:4*
13/4x 3X
making the small microphone di- should be quite directive at that fre-
aphragm (or receptor) seem as large quency. Figure 7 shows additional di- 12
as the mouth of the horn. rectivity patterns, but not for explicit 10,
frequencies. Note that those patterns
1T->{ are for various mouth sizes relative to
wavelength. As the ratio of mouth 6
MICROPHONE
length for a given mouth size. As
ELEMENT shown in Fig. 8, to achieve this, the O
AUDIO FREQUENCY
Construction
1 kHz 4 kHz 7 kHz I< The horn presented here can be
b made using low-cost materials and a
te
little time. Because sound pressure
FIG. 6-HORN MICROPHONES ARE VERY
directive; they match acoustic impedance
waves exert low force, light -weight
from diaphragm to open air. In (a) are the materials can be used. Figure 10
prototype dimensions; the narrow beam - shows the prototype, made from cor-
width makes the receptor act as large as OPEN MOUTH BASIC
the mouth, due to phasing and pressure OF HORN HORN HANOI F
are made comparable to the mouth pressures and small volume currents FIG. 10 -THE PROTOTYPE HORN WAS
in the throat to small pressures and made from corrugated cardboard; a re-
size. The relation is X = C /f, where X movable extension with larger mouth and
is wavelength (cm), C is speed of large volume currents in its mouth; a carrying handle was added. At high au-
f
sound (340 m/s), and is frequency in horn microphones do the reverse. dio frequencies, the walls reflect short
Hz. As shown in Fig. 9, the conical wavelengths of a few inches or less to the
Since ft = 30.48 cm, then from 20
1 horn has a gradual impedance -trans- diaphragm, to optimize directivity.
103
DUCT TAPE BASE OF HORN
DIRECTION OF
CORE TUBES OF
12"
CORRUGATED
CARDBOARD
1
F6 4. .6 6"
24"
CUT 4 PIECES
FIG. 13-A CLOSE-UP VIEW OF THE EXTERIOR of the neck. The carboard is tapered,
producing an opening of proper size for the microphone, and the microphone is inserted.
MODELING CLAY WASHER
Note the silvery ring at the base of the horn, just behind the base of the horn. The bottom
of the microphone protrudes from the base of the horn, and was sealed mechanically and
........ ': acoustically with duct tape, while the base of the horn was stiffened with electrical tape.
A .sue.:...........,
FACE OF
ing, so the sound wasn't prevented
from reaching the diaphragm. The
MICROPHONE
washer needs an opening at least 75%
of the microphone diameter. Figure 13
ire
CORRUGATED
CARDBOARD shows a close -up view of the exterior
OF HORN MICROPHONE of the neck of the horn. You can see 24" 11"
how the cardboard is tapered to pro-
FIG. 12 -WHEN MOUNTING THE micro-
phone in the horn, the washer aperture duce an opening of the proper size for
should be at least 75% of the diaphragm the microphone, and how the micro-
diameter. The modeling clay smoothed phone is inserted.
the transition from the square horn to the Note the silvery ring at the base of
washer opening, so that the sound wasn't
restricted from reaching the diaphragm.
the horn in Fig. 13, just in front of 24"
surround sound, s.
tia
in the theater
and at home.
ALL ABOUT
SURROUND 1111119 4m
-
SOUND CC
JOSEF BERNARD
Extracting ambience
After the failure of quadraphony,
the place and purpose of surround
sound were reexamined and it was
decided that, for the most part, audio FIG. 2-THE QS -1004-CHANNEL Converter/Synthesizer /Amplifier from Sansui. This is an
channels in addition to the front two example of a quadraphonic amplifier in the QS format.
conventionally used for stereo should
z be subordinate to them. It would be conventional stereo recordings was instruments positioned intentionally
OK to have more than two channels, proposed. That ambience informa- outside the bounds of the soundstage,
_ tion -which consists largely of
m
but the main audio information as illustrated in Fig. 3. One of the
w should come from in front of the lis- sounds from outside the soundstage ways that the ear pinpoints sound
zw tener and the secondary channels located between the stereo micro- sources is by determining phase rela-
2
E
w
a
X
used more to provide a feeling of am-
bience-to recreate the original (or a
simulated) recording environment.
phones (assuming, for the sake of
simplicity, that just two are used)
may simply be sound reflected from
- tionships. If, for example, the sound
waves heard from a pair of speakers
by the left and right ears are in phase,
w the walls and ceiling of a concert hall,
w In the 1970's, a simple way to re- the sound source is perceived as being
CL cover ambience information from or it may come from sources such as between the two speakers. If the
106
nais, or L - R. The relationship
between an "L" waveform and an
"R" one is depicted in Fig. 4. By
inverting the phase of the right sig-
-
nal-thereby creating a " R" one
and adding that signal to the normal
-
-
"L" one, the "L R" difference sig-
nal representing ambience informa-
tion is obtained. By connecting a
third (ambience channel) speaker be-
tween the "hot" speaker terminals of
a stereo amplifier, an L -R signal is
obtained and reproduced through that
speaker. If you place the speaker be-
hind you, and adjust its volume so that
it's unobtrusive, recordings that con-
tain a goodly amount of natural am-
bience material will take on a
spaciousness that can make you feel a
lot more like you're listening to a per-
formance in a real performance en-
vironment rather than your living
G. 3- AMBIENCE INFORMATION recorded aslocalize
a left- minus -right difference signal can
sounds coming from beyond the
room.
be used to expand a soundstage and even to
bounds set by the locations of the microphones or speakers. Matrix surround sound
A number of today's stereo re-
/
,--. ,-, . ceivers include a feature called "ma-
/
/
`,i , trix surround sound," or just "matrix
-- > surround," the "sound" having dis-
'w // ....../
/ appeared somewhere. The term "ma-
trix" refers to the way the signals are
A- B combined to obtain the "surround"
signal. The process is a passive one -
there is no special encoding or decod-
ing matrixing circuitry used. Figure 5
shows a circuit used in one matrix -
FIG. 4 -BY INVERTING THE POLARITY of one of a pair of signals and then summing the surround receiver. When the A SPEAK-
two, you can obtain the difference between them. ERS button is engaged, normal stereo
sound is heard from the speakers con-
OR OL nected to the A terminals; when the B
SPEAKERS Switch is Closed, the output
R L
of the amplifier is fed to a second set.
When both switches are closed, the A
speakers reproduce the normal stereo
Q O SPEAKER A signal; what goes to the B -S speakers,
however, is now the difference be-
O SPEAKER B tween the left- and right -channel sig-
nals. It turns out that matrix surround
is nothing more than a "ready -to-use"
version of the "third channel" am-
bience system described above. Place
-0 L- the B speakers behind you, and you
have an ambience synthesizer. You
also get a free surprise, which is a
subject to which we'll return.
SPEAKER A SPEAKER B Some sound equipment also boasts
a "Hall Surround" mode. While there
FIG. 5 -THE MATRIX SURROUND CIRCUIT used in receivers such as Teac's AG -75 is definitely a Ray Dolby involved in
extracts ambience information from a pair of stereo signals by finding the difference
between them. Dolby Surround (see below), there is
no Mr. Hall of the same prominence
waves are out of phase, the sound to provide special auditory effects. involved in audio processing. The
seems to come from "beyond" the Out -of-phase information can be term "hall" refers simply to a large
speakers, and some recordings inten- described mathematically as the dif- room (as a concert hall); presumably
tionally include out-of-phase material ference between the left and right sig- time delay or reverb effects are added
107
to the rear channel sound to give a be astonishing when heard through a onset of the new audio material, the
feeling of spaciousness. sonic -holography system. The sound- processor can respond without miss-
stage appears to extend far beyond the ing a note of music or other material.
Sonic holography
In photography, holography is a
process that yields three -dimensional
backs of the speakers- indeed, the
speakers almost seem to disappear
and "offstage" sounds often seem to
- For those who want everything (or
nearly everything), Carver also pro-
duces an AM/FM stereo receiver that
images from a single piece of film originate from places far beyond the incorporates both Sonic Holography
without the need for special viewing left -right bounds of the conventional and Dolby Pro Logic Surround,
apparatus (as opposed to the older stereo soundstage. which will be discussed below.
method that requires a separate pic- The original Carver sonic hologra-
ture for each eye -the system used, phy process requires some effort to Other two -speaker systems
for example, by View Master reels). make it work at its best. Speaker posi- There are several other single -end-
Sonic holography produces a sonic tioning is extremely critical to the ed systems that attempt to recreate a
image having depth, and a degree of effect, and speaker-to- listener dis- measure of ambience from just the
surround effect, using just a pair of tances must be measured extremely information contained in the two
stereo speakers. carefully, and the corresponding left channels of an ordinary stereo signal.
Sonic Holography, which is a tech- and right ones matched to within an The system that seems to have at-
nique patented by Carver Corpora- inch or so of one another. The benefits tracted the most attention of late is the
tion, works on the principle that when of sonic holography also are restricted SRS system developed by Hughes
we listen to a pair of stereo speakers to only one or two listeners at a time. Aircraft and licensed by Sony for use
the phase relationships contained in The effect is heard only from a highly in some of its television receivers.
the recorded or broadcast material are sensitive "sweet spot," and moving Basically, the process extracts the
muddied by right- channel sound just a foot or so out of it destroys the L -R ambience information and pro-
"leaking" to the left ear, and left- illusion. cesses it through frequency, timing,
channel sound similarly showing up In some of its equipment Carver and phase adjustments to simulate the
at the right. What the process does now offers what it calls a Precognition way the recorded information would
(see Fig. 6) is to inject some degree of Matrix, which is intended to broaden have been perceived by the human
out -of-phase right -channel informa- the sonic -holograph soundstage cre- ear. The effect is an artificial analog of
tion into the left- channel signal (and ated from motion picture sound- the binaural process described earlier,
vice -versa). If that is done with the tracks. The precognition circuitry using loudspeakers instead of ear-
right time delay, the out -of-phase works by detecting the (normally in- phones. The Hughes SRS system is
right -channel signal mixed with the audible to the ear) rise in noise -floor described in detail in the September
left -channel one will arrive at the ear level when additional tracks are 1989 issue of Radio-Electronics.
at the same time as the right -speaker mixed into the stereo master. By Most "simple" surround systems,
"leakage" does, and the in -phase and changing the mix of left and minus - though, are just variations -and
out -of-phase signals will cancel one
another. What's left will be pure left -
right- channel information, the appar- minor ones, at that -of the L -R ma-
ent soundstage can be widened dy- trix process. Sometimes the term
and right -channel sound as engi- namically to follow that of the "digital" gets thrown in, but the dig-
neered, providing a sense of depth material being reproduced, allowing ital portion of these processes often
and expanse otherwise impossible in more listeners to benefit from the has to do just with creating the out -of-
a two -speaker system. sonic holography process. Because phase L -R signal, and maybe
Material that contains a lot of natu- the change in noise -floor level occurs adding some time delay for increased
ral or synthetic L -R information can several milliseconds before the actual "spaciousness."
Dolby Stereo
Although it has been in use since
1975, Dolby Stereo, one of a number
of audio processes to come from the
laboratories headed by Ray Dolby,
first came to national cinematic atten-
tion with George Lucas' Star Wars in
1977. Anyone who's seen the full -
o blown version of that film will never
o
m
o forget the opening scene, where the
z massive battle cruiser looms onto the
_ screen, appearing -to both eye and
cc
w
ear-to come from behind and above
the theatergoer. What an introduction
z
w
2
ir
w
a
to Dolby Stereo!
Movies with stereo soundtracks
most of them musicals -were not
-
x rarities prior to that, but the Dolby
w
FIG. 6-CARVER'S SONIC HOLOGRAPHY process compensates for signal "muddying" process added one or two things to
I
in
that occurs during ordinary stereo reproduction by using signal cancellation techniques. mere lateral directionality. The first
108
was Dolby A noise reduction, which
(as you'll know if you ever heard the
Star Wars soundtrack cranked way up,
as it was in most theaters) gave op-
tical- soundtrack sound a much great- LEFT RIGHT
surround device.
The process is not perfect (otner-
put ones -by using the two inner
conductors of the TAPE OUT cables
and feed that signal to a separate
-
-
"L R." "Wait a minute!" you say. wise there would be no market for the small mono amp driving the surround
R -E
"That's the same information that you more complex and expensive de- speaker.
can extract from ordinary stereo for a
matrix -surround rear channel system.
What's the big deal ?" The big deal, it much more controlled. However, for Cinematic sound is an extremely
turns out, is in what information is the curious, a method for obtaining a artificial medium -even such a sim-
encoded in that difference signal. Ma- surround effect from Dolby-encoded ple effect as the sound of an actor's
trix surround uses natural, or at least material without the use of a decoder footsteps as he walks from one side of
natural- sounding, ambience informa- is described in the box above. It's a scene to the other is much more
tion. What the Dolby process uses is primitive, but effective. easily created on an engineering con-
109
L
-o LEFT
C
{R
INPUT
LEVEL R MASTER -o RIGHT
INPUTS
C
BALANCE
CONTROL CONTROL
OPTIONAL CENTER SIGNAL
C LEVEL
CONTROL -o CENTER OUTPUTS
S
-o SURROUND
DELAY SET O
FIG. 7-
THEATRICAL DOLBY STEREO encodes four channels of sound on two sound-
tracks. The Dolby decoder derives a center channel by summing the left and right
channels, and surround information by subtracting the right from the left.
sole with a couple of pan pots than on noted in movie theaters equipped for below, to add further directionality to
the soundstage during filming. Most Dolby Surround. It's not that the the- the decoded soundtrack.
of a film's soundtrack is realized in ater-owner is a cheapskate; simply Before leaving the theatrical Dolby
post- production -and that tightly that there is nothing on the surround Process, we should mention one
controlled environment makes it rela- track to justify the expense of a better called "THX." THX is a trademark
tively easy to put on the surround speaker. As far as low frequencies owned by George Lucas' Lucasfilm
track exactly what is wanted, without go-the rumble of the engines of the (the name has its origin in the title of
having to rely on natural material. Empire spaceship, for example-they Lucas' first feature -length work, a sci-
If you listen carefully to a plain are carried as ordinary left and right ence- fiction film called THX -1138).
stereo playback of a Dolby Stereo information. Since your ears cannot THX offers a "guaranteed mini-
soundtrack, you can frequently detect
the presence of the surround effects
they appear to come from outside the
- determine where frequencies below
about 120 Hz originate, they can be
reproduced from low -frequency driv-
mum" quality of sound in a particular
theater from an ordinary Dolby Stereo
soundtrack. THX engineers install
speakers' soundstage, the way out -of- ers located anywhere. The visual con- and adjust the sound -reproduction
phase ambience information may. tent of the film will cue you as to equipment in a "THX" theater to
That is clearly evident in a film such where the sound is supposed to be meet specific standards of perfor-
as Back to the Future, when the time - coming from. mance. In a THX theater, you can
travelling DeLorean comes swoosh- The second thing that is done to the listen to the soundtrack on essentially
ing toward or away from the camera. rear-channel signal is to encode it the same system that the sound was
If all four channels of sound are re- using a modified form of Dolby B mixed on. However, THX will do
produced, you hear the car moving noise reduction. The modification nothing for you at home.
from front to rear, or vice-versa. In consists of adding only five dB of
plain -vanilla stereo, though, you can processing instead of the normal ten
plainly hear the car noises coming dB. The use of Dolby B provides a Dolby Surround and Pro Logic
from the far -left and far- right-off- degree of noise reduction and assists Dolby Surround is the name given
stage, as it were. in reducing front -channel signal leak- to one of the two home versions of
In creating an L -R surround sig- age, while the low level of processing Dolby Stereo. It starts with the same
nal, the Dolby Stereo process does prevents the encoded surround signal two stereo soundtracks that are on the
two things. The first is to cut off the from significantly altering the nature film (now on longitudinal or Hi -Fi
rear -channel signal at 7 kHz. That is of the left- and right -channel signals tracks on a videocassette). And, as is
done for several reasons. The first has heard up front. done in theatrical installations, the
to do with eliminating signal leakage In the decoding process, a third surround channel is dematrixed, Dol-
and distracting crosstalk from the sur- element is added to Dolby Stereo: by-B decoded, and time delayed be-
round channel. Another big reason time delay. A delay of between 15 and fore being amplified and fed to a pair
has to do with economy. There is no 30 ms is added to the rear -channel of rear speakers. Only one surround
need for high fidelity in a surround signal to take advantage of a phe- speaker is actually necessary, but
o channel -most of the time the sound nomenon known as the Haas effect. two-reproducing the same surround
o there is for "presence" -that is, you
CO The Haas effect causes the mind to signal -give a "fuller" effect. To de-
z are only unconsciously aware of it. identify the source of a sound as that rive a monophonic center channel,
_ The track is meant to be unobtrusive, from which it is first heard and to useful in preventing a center "hole"
CI) not to have you constantly aware of its ignore the same sound arriving later at when the left and right speakers are
w
I-
presence. It's only if the surround the ear. That "first arrival" effect en- widely separated, some Dolby Sur-
zw channel should suddenly fail that you sures that front -channel sounds are round decoders mix the left- and right
2 should become consciously aware of clearly identified as originating from track information. That is not, strictly
w its presence (or absence). before the viewer, even if they also
ax speaking, necessary, since center in-
That limited frequency response is come from behind him to some ex- formation appears equally on both
w
w the reason behind those cheap -look- tent. Dolby Stereo decoders also tracks and can be heard appearing
o ing, PA-type speakers you may have make use of steering logic, discussed from a "phantom" speaker situated
110
L o
R o
LEFT/RIGHT DOMINANCE SENSE
rV
EL
BANDPASS
LOG DUAL
FILTERS POLARITY ELL ER
DIFFERENCE TIME
SPLITTER
CONSTANT C
FULL
AMFLIFFER
4x
-a
ER
WAVE
ERL ELR COMBINING
NETWORKS OUT-
PUTS
THRESHOLD R
SWITCHES EG
EcL
FULL
WAVE
iOl-
DUAL
_OG
DIFFERENCE TIME
POLARITY Es ESL EsR --r
SPLITTER
AM'LIFIER CONSTANT
FULL
L- R WAVE
U
FRONT /REAR DOMINANCE SENSE 8 x VCA
can
FIG. 8 -THE ADAPTIVE MATRIX used in the Dolby Pro Logic Surround process
provide upto 30 dB of separation between opposite or adjacent channels. That affords an
extremely high degree of directionality.
between the two front ones. A few bipolar control signals is generated, time -division multiplexing mode
Dolby Surround processors can also which are used to adjust the gain of where it gives its attention first to one
output a front -and -back mix to side eight voltage -controlled amplifiers source, and then to the other. It
speakers. Finally, most processors on (four for each input channel). The out- switches back and forth between the
the market also feature a subwoofer puts of those VCA's, together with two so quickly that its efforts are un-
output. That has nothing to do with the original left- and right -channel noticed by the listener.
the Dolby process; it's more a con- signals, provide a total of ten control Dolby Pro Logic decoders include
venience than anything else. signals. When those signals are ap- as a matter of course center-channel
Dolby Pro Logic Surround is the plied to the four output channels, a and subwoofer outputs. As is the case
ultimate in Dolby Surround process- total of forty summed directional with the surround channel, the center-
ing. While the original Dolby Sur- components are available. Separation channel amplifier and speaker need
round process is primarily a passive between any pair of channels -adja- not have the frequency response of the
one (all the equipment does, essen- cent or opposite -is
30 dB, compared equipment used for the left and right
tially, is decode the matrixed informa- to Dolby Surround's 3 dB of adjacent channels. High- and low frequencies
tion), Pro Logic decoders contain separation, and 40 dB of opposite will be reproduced by those systems
active circuits that provide a surround
effect as good as -if not better than
that in the best movie theater. The
- separation.
Pro Logic decoders are two -speed
devices. When only one sound source
and by the subwoofer, if one is used.
With a good -quality hi -fi- soundtrack
videotape, and with even a modest
active addition to a Dolby Pro Logic is dominant, they run in their "slow" array of home sound equipment, you
decoder is known as steering logic. mode. But when there are two distinct can experience a quality of cinematic
The purpose of the steering logic sound sources (by definition, only sound at home that you would be
circuitry in a Dolby Pro Logic de- one can be "dominant" at a time), the hard -pressed to find in any theatrical
coder is to sense the direction of Pro Logic circuitry goes into a "fast," environment. R -E
STEVEN AVRITCH
4T0 8
1 WIRES
DATA
DISPLAY DECODE
LOGIC
3 TO t6` WIRES GOING TO EACH SEGMENT
TO
(7447's ETC.) OTHER
SEGMENTS
MICROCONTROLLER/
TC TO
MICROPROCESSOR HOST I I I I 1 1 I I
OTHER OTHER
4 TO 8 SEGME NTS
WIRES SEGMENT 1 I I I I I I I I 1
SEGMENTS
ADDRESS ADDRESS
DECODE
LOGIC
1 TO
OTHER
SEGMENTS
7-7
112
4M14.
simple as the wiring. The display high costs. However, the cost of the
modules automatically handle all re- modules has since dropped consider-
PpGg
(such as display on, display off, scroll
left, scroll right, etc.) to the module; characters per line, 16 x 2) is available
the on -board LCD controller chip from Digi -Key for approximately
does the rest. $23. Similar displays can be obtained
LCD modules have not been used through surplus houses for approxi-
heavily in the past because of their mately $8 -$10.
FIG. 3 -HERE ARE SOME EXAMPLES of
letters formed using the 5 7 and 5 10
dot -matrix formats. LISTING 1
`
Set address for
subsequent writes to
descenders that go below the line that
character generator. they're written on). Figure 3 shows
(CG) RAM. (40 s)
Set DO RAM 0 0 Address (DD)
examples of letters formed using the
1
Set address for
address subsequent writes to 5 x 7 and 5 x 10 dot-matrix formats
display (DD) RAM (40 us)
Read busy
for comparison. It should be noted
0 1 BF Address Counter Read status of busy flag
flag & (BF) and present address that the 5 x 10 matrix font limits the
address counter value (1 s) display to one line regardless of
Write data 0 Data to be written to DD or CG RAM. DDCG destination
to CG or OD
Writes data to HD44780
based on last "set DO /CG RAM address' control command (40us) whether the LCD module is a one -line
RAM
or two -line display.
Read data t Data read from DO or CG RAM. Source of data (CG or
1
Reads data from HD44780
from CG or OD) based on last "set DD/CG RAM address' control (40 us)
DO RAM command Features of LCD modules
1/D = 1: Increment address pointer on each subsequent read /write
The LCD modules support a vari-
DL 1: 8 -bit data -bus interface
0: Decrement address pointer on each subsequent read /write 0: 4 -bit data -bus interface
ety a display features that can accom-
2 = 1: Shift cursor with display N 1: 2 -line display
modate just about any application.
0: Hold cursor fixed 0: 1 -line display The following is a brief description of
S/C = 1: Shift display (without changing DD RAM) F 1: 5 , 10 dot character font their features:
0: Shift cursor only 0: 5 x 7 dot character font
Display on/off-allows the user to
R/L = 1:Shift operations occur to the right
0: Shift operations occur to the left
BF 1: Busy turn the display on and off from the
0: Not busy
host processor.
Cursor on /off-user may select to
display the cursor or suppress it.
Most of the small, inexpensive few. In all, the LCD module supports Cursor blink-the user may select
LCD modules contain a Hitachi 192 alpha- numeric characters and 32 a steady cursor or a blinking cursor.
HD44780 LCD Controller chip. That special symbols. The modules also The character above the cursor also
means that most of LCD modules fol- blinks.
low the same standard format, have Scroll left/right- scrolls the data
the same 14 -pin interface, and are LISTING 5 on the display.
therefore compatible and inter- PLANE FCB S00 Return home-returns the cursor
changeable. The HD44780 is capable FCB 500 to the home position (address 0) and
of controlling any size display up to 2 FCB $00
FCB Sic returns the display to the original po-
lines long and 40 characters wide with FCB $1F sition (if it had been previously
the same hardware interface. Com- FCB $00 scrolled)
monly available display sizes include FCB $00
FCB 500
16x1, 16x2, 20x2, 24x2, and FCB $10 Software interface
40 x 2 formats. That means that you FCB SOC
The software interface between the
can change the size of your display by
FCB $06
FCB $1F LCD module and a processor or mi-
simply plugging in a larger module. FCB $1F crocontroller is relatively simple.
No other hardware modifications are FCB $06
FCB SOC There are two basic types of software
required; only the software drivers FCB sio operations: control operations (i.e.
specific to the application would need FCB 518 display on /off, cursor blink/noblink,
to change. FCB 518
FCB $18 etc.) and data operations. The control
The LCD modules recognize stan- FCB $1F operations set up the features of the
dard ASCII code for letters (upper FCB S1F
FCB $00 display, while the data operations
and lower case) and numbers in addi- FCB $00 write the actual data to be displayed to
tion to a variety of symbols including FCB $00 the LCD module.
?, !, $AK, %, and ', just to name a The LCD module's on -board
114
0.11
0 0 x X X e e e e e
0 0 0 0 0 0 0 0 e e e e 1 1 X X X 1 1 1 i
e e
1
0
e
0
1
X
x
X
x
X
X
1
e
1
e
1
e
1
e
1
e
lowing format: ACCESSED BY 0 0 0 1 1 0 X X X 0 0 0 0
0
0
0
0 0 0 X X X 0 0 0
ASCII CODE 00 (HEX)
LINE 1: 1 1 1
9...40 SECTION
9...40 0
0 0 1 0
0
1 0 X
X
X
X
X
X
e
1
0
1
1
1
1
1
0
1
RAM address 40 41 42 43 44 45 46 47 0 0 0 0 0 e 1 0 0 1 1 1
(01 HEX) 0 0 1 1 0 0 X X X 1 1 1 1 1
48...67(hex) ACCESSED BY
0
0
0
0
1
1
1
1
0
1
1
0
X
X
X
X
X
X ,
's1/
1
1 1
0 0
Smaller modules simply do not dis- ASCII CODE 0 1 ( H EX )
0 0 1 1 1 1 X X X 11 0 0 0
0 e 0 X X X 1 1 0 0 0
' 0 1 0
bytes of character -generator RAM. 0
0
1
1
0
0
0
0
0
1
1
0
X
X
X
X
X
X
1
1
1
1
0
0
0
0
0
0
That is used to store the character X X X I l
patterns of the 8 user-defined charac-
0 0 e
(02
0
HEX)
0 0 1 0 0
0
1
1
0
0
0
1 0
1
0
1
X X X
I
1
I
I 11
I
l
'r
0 1 0 1 0 1 X X X- 0 0 0 0 0
--
RIW shows the 24 data bytes that must be
written to CG RAM to form the three
user-defined characters that form the
DATA
(DBO- DB7)
airplane.
E Hardware interface
tCYC Ott tE- There are a variety of ways to inter-
face an LCD module to a host pro-
tcrc - 1s MINIMUM tE, tas, IN - SAME AS 8 BIT MODE
cessor or microcontroller. A micro -
controller such as a Motorola
b
MC68705 (see Radio -Electronics,
FIG. 4 -THE TIMING REQUIREMENTS for the 8 -bit mode (a) and the 4-bit mode
(b).
PC3
LCD
of the control codes and status flags Display initialization PC2
10 DISPLAY
available with the HD4478O LCD The first operation that the software PC1
9 MODULE
controller chip. must perform is the initialization of PC0 8
+5V
the display. Initialization includes PB7
19 2
Subroutines for the MC687O5 clearing the display and issuing the 18 R1
PB6 3
The following subroutines show the appropriate control commands that 68705P3 17 10K-
PB5 20K
software drivers for data and control set the display up with the desired
PB4 16
writes. The examples shown here are features. The INIT subroutine (List- 15
written in Motorola 6800 -series as- ing 3) is a sample initialization rou- PB3
2 14
sembler code and are targeted for the tine for a 16 x 2 display. The INIT INT PB2 RS
13
MC687O5 microcontroller. These routine sets the display up for 2 line, PB1 R/W
s 12 6
short routines can be easily translated 5 x 7 -font format, 8 -bit interface uPP PBO E
into other assembly languages that mode, and suppressed cursor. Also, PA7
27 14
DB7
can be used with other micro - the INIT routine sets up the display to 4
EXTAL PA6
26 13
DB6
controllers /microprocessors. shift the cursor one position to the PA5
25 12
DB5
The Data Write subroutine (Listing
1) displays letters and symbols. The
right on every data write.
The display module requires 10
5 XTAL PA4
24
23 10
11
DB4
PA3 DB3
ASCII code of the letter/symbol to be milliseconds to initialize after power 7 22 9
TIMER PA2 D82
displayed must be loaded into the Ac- is applied. The host must wait at least 21
PA1 DB1
cumulator before calling the Data 10 milliseconds before writing to the 28 2
RESET PAO
Write subroutine. Before the Control display following power-up. DBO
A333
- (Al _A7)
_%
LCD SELECT
LCD
MODULE
8 DB1
pins. Figure 4 shows the timing re- D1 15
`
INT MREQ
Interfacing a microcontroller to a 17
NMI RQ 20
HD44780 -based LCD module is as 26
RD
21 . 5
R/W
RESET
simple as connecting the control and 25
BK) 22 2 4
+ 5V
data lines of the module directly to the 6 > CLK RFSH .?1--
1 PR 5 6
port pins of the microcontroller as CLD
shown in Fig. 5. Note that Rl is the
HALT
18
1
contrast control for the display. BUSAK 23 \p 3oC
74LS74
O D-
Microprocessor interface
Interfacing the HD44780 -based
FIG.6- INTERFACING THE HD447b0 -BASED LCD module to a microprocessor requires
LCD module to a processor (such as
some additional logic.
the Zilog Z80 8 -bit CPU) requires
some additional logic as shown in
Fig. 6. That logic establishes the LCD
module as being an I/O device in ad-
T- MPERATURE r-
1_ SENSOR
dition to providing the required setup TEMPERATURE
LCD DISPLAY MODULE
ND
time on the RS line (The RS line must SENSOR WITH HOST THE TEMPERATURE IN
be stable for 140 nanoseconds before MUX (68705) STEVE'S ROOM IS 75
-EMPERATURE
SENSOR
ORDERING INFORMATION
The following items are available FIG. 7 -TRY USING AN LCD MODULE to build a multi -zone thermometer that displays
from Simple Design Implementations temperatures throughout your house with your own custom messages.
(SDI), P.O. Box 9303, Forestville, CT the chip-select decode logic.
06010 (203) 582 -8526: Experi- the ENABLE line is strobed). In that
configuration, the LCD module is ac- As a suggestion for your own proj-
menter's kit (contains 16 x 1 OPTREX
i
LCD module, programmed cessed using "IN" and "OUT" in- ect using an LCD module, why don't
MC68705P3, contrast- control poten- structions for reads and writes you try to build a multi -zone ther-
tiometer, perforated construction respectively. Data operations are dis- mometer that displays temperatures
board, IC socket, software listings, tinguished from control operations by throughout your house with simple,
schematic, and instructions), $29.95 the address of the I/O operation; ad- non-cryptic messages. For example,
+ $3 S /H; Same experimenter's kit dress 00 (hex) is a control operation you could display "THE TEMPERA-
with 40 x 2 display, $39.95 + $3 S/H; and address 01 (hex) is a data opera- TURE IN STEVE'S ROOM IS 72 ."
Programmed MC68705P3 and in- A block diagram of such a project is
structions, $15.95 + $2.50 S /H.
tion. The I/O address of the LCD
module can be changed by changing shown in Fig. 7. R -E
117
WARNING!! This article deals
with and involves subject matter
and the use of materials and sub-
stances that may be hazardous
to health and life. Do not attempt
to implement or use the informa-
tion contained herein unless you
are experienced and skilled with
respect to such subject matter,
materials and substances. Nei-
ther the publisher nor the author
make any representations as to
the accuracy of the information
contained herein and disclaim
any liability for damages or inju-
ries, whether caused by or result-
ing from inaccuracies of the
information, misinterpretations of
the directions, misapplication of
the information or otherwise.
teries, the pickup coil physically FIG. 6-AN OPTICAL CAVITY having mirrored ends provides the right amount of stimulat-
slides over the coil assembly of ed energy for laser light. Light is reflected back and forth within its confines until it is a
the charger module. No electrical powerful beam that is allowed to exit the cavity as useful laser radiation.
connections are necessary to pro-
vide the charging current.
Coil L3 (which is wound on the PL
FIG. 9-A LASER DIODE OPERATES similarly to a forward -biased diode. The vertical axis
corresponds to optical output while the horizontal axis is the forward diode current. lop is
the operating current, and anything below ITH will produce the effects of an LED.
PARTS LIST FOR THE CHARGER
All resistors are 1/4 -watt, 5 %, un-
less otherwise noted.
LED1 HEATSINK
R7-470 ohms Vcc
struction board, 6 -32 x 1/2-inch FIG. 10-HERE'S THE SCHEMATIC of the hand -held laser. The laser diode (D3) consists of
nylon screw and nut with mica the laser -diode (LD) and photodiode (PD) sections. That allows monitoring of the output
washer (to mount Q6 to case), 2'/2- energy and produces the feedback necessary to control the circuit.
inch plastic tube to fit over laser
tube, metal cabinet (or use sepa-
rate heatsink for 06), line cord 1N4001
bushing, LED mounting bushing, (x4)
RX
double -sided tape, hardware, wire OPTIONAL R8 C7 L2
(SEE TEXT) 22K
nuts, #24 vinyl wire, epoxy, etc. .047 10T
R9
R7 10K
4700
C6
sembly is then centered in the 1000F 1N' L3
06
charger tube and secured with LED2 "10T
04005
epoxy filler (see Fig. 12).
Figure 14 shows how the laser FIG. 11 -THE CHARGER SCHEMATIC, charging current is inductively coupled to the
section and the charger go to- hand -held laser. Reverse L3 if circuit does not oscillate.
gether. If you don't follow the pro-
totype exactly, simply follow Fig. into a grounded AC outlet and a reading of 100 -125 milliamps
14 as a rough layout. check for 12 -14 volts DC at test (assuming the batteries aren't al-
point 7 on the charger sche- ready charged). In rare cases, if
Checkout matic. Check to see that LED2 the current is excessively high, a
First make sure you do not turns on when you close S2. resistor (RX) may be required as
have the laser diode in the circuit Open up the lead at test point shown in the schematic to limit
at this time. Plug the charger TP6 on the charger and check for it. If a scope is available you may
L2 AND L3
WRAPPED ON
FERRITE CORE
ORDERING INFORMATION
The following are available from
Information Unlimited, P.O. Box
716, Amherst, NH 03031; Fax
603 -672 -5406; Order 800 -221 -1705:
2 -3 mW visible red laser diode
(9200), 670 nm, $49.50; 3-5 mW di-
ode (9211), 670 nm, $69.50; 3 -5 mW
laser diode, (IRLD1), 810 nm,
$29.50; small lens, 1 x 6 mm, $9.50;
Heatsink (HS1), $9.50; PC board
(PCVRL2), $9.50, laser head kit
(VRL2 -LHK), does not include
laser diode, $59.50; Charger mod-
ule kit (VRL2 -CMK), $34.50; laser
LASER
light receiver (laser bounce),
SLIDES
$49.50.
IN HERE
O6 HEATS INKED
TO CASE
FIG. 12 -THIS IS THE CHARGING UNIT; the amount of current coupled to it depends on
how far the laser is inserted into the charger.
in the charger, more or less current is coupled to it.
FIG. 13-PARTS-PLACEMENT DIAGRAM for the laser. Do not install the laser diode until
everything has been thoroughly tested.
L2.L3 WRAPPED
ON FERRITE CORE
1
EPDXY HOLDS
COVERED WITH TAPE
FERRITE CORE CHARGER
L2 & L3 LEADS
CENTERED IN TUBE
HEATSINK
FOCUS I
#
CIRCUITRY BATTERIES
-
FIG. 14-The laser section has L1 built inside the handle; it slides over L2 in the charger.
are fully charged before you pro- An Example of Driving Circuit for TOLD9200
ceed with the following. Remove GNO
the laser from the charger. Note
that the current goes to zero and
LED1 goes out. Check on the
lowest meter range; any current
flowing into the circuit above a
fraction of a microamp will cause
premature discharging of the
batteries. Check for defective
components, flux paths, exces-
sive moisture, etc. , if any current
is detected in this step.
Using the negative lead of B4 as 12V
ter- clockwise in our layout). Set the variable resistance VR (50k0) for its maximum value,
Short out the touch -switch leads then turn a power supply on. And regulate VR to adjust
optical output power.
and note a current of 10-15 milli - When adjusting the optical output power, monitor both the
amps. Remove the short and drive current and the optical output power, never exceed Heat sink
bridge the leads with dampened the maximum optical output power rating. To monitor the
optical output power, use an optical power meter or a
(Cu or All
fingers; the current flow should calibrated photodiode that has a large active area. In case
of using the above driving circuit, the heat sink will have
be slightly less than the previous positive potential.
reading. This verifies the control An Example of the Design of a Heat Sink Fig. Heat sink size and thermal resistance (hi)
circuit. The relationship among the case temperature Tc, ambient
temperature Ta, and the thermal resistance of the heat
30
If you haven't yet built the sim- sink Of is shown in the following simplified equation: 1111
ulated laser diode (shown in Fig. -
--..
IIr Plate
+ Oc)
Of
* lop x Vop (Os
10), do so now, and insert it into
the circuit. Short out the touch Bs: Thermal resistance of insulator sheet
1C
.=.
=m...
Min\ N..
I Alum inum Plate
Of 0.1x2.5 8 - 12 CIW
=
its midpoint and note the cur-
rent increasing to over 100 mA.
Check for a smooth control, as
any jumps can spell disaster, es-
Heat sink thermal resistance must be 12 CNN or less.
From the figure on the right, the surface area of the alumi-
num heat sink -assuming it is 2mm thick -must be 25cm2
in order to obtain a thermal resistance of 12CNV or less.
05
..
IIllIIIIIIIIl
5
__...
....__-::
\..EMMII..
IM=tlBIII 10 30 50 100
pecially at the end of the potenti- Radiator size cm'
BO
18 1
14 \ 2701!
A23
A8 5 14 2 19 2 17
AO 011
G2B Y1 B1
A22
A9 6 13 3 IC1
20 3
1
ICI-a
\\ LEDI
\W
01 Y2 B2 V. 1404 R2
8255-5
270
IC2
74LS138
Y3
12 4
B3 21 4
18
_Al 4 /Pi
A5 1 11 5 3
IC1-b '
A26 Y4
A6 2 10 6
B4
, 7404 R\ LED2 R3
o
`
A25 Y5 65 6 2701!
19 A2
A24
A7 3
C Y6
9 " 7
B6 5
RCi-c W
o 7404 1`\LED3 R4
J
GND Y] CS B7
2701!
A3 8
8 16 JUMPER CO 20
BLOCK ICI-8d
d
Cl
C2
FROM.
J1 21
A4. 10
\^
1\\LED4
7404\LED4 RS
2701!
11
A31 AO C3 FIG .t IC1-e
7404 \\LEDS RS
A30 Al C4
A5 3 12 2701!
B14 22
RD C5 ICI -f
7404' 1\\LED6
\4
B13 WR C6
;
5V R7
i'14 2 2701!
C7 A6
TO IBM A9 DO AO
4 17
23
C2-a W
RLED7 R8
EXPANSION
BUS
A8
Al
D1
02
Al
A2
3
2
18
19 24
Al ll\ 1404
4 27011
C2-b
AS
A5
A4
- 31
30
D3
D4
05
A3
A4
A5
1 20
27
28
GND
5V
_L
7404 LEDE
A3 06 A6
831
12 26
o from IC2 to the jumper block,
81
12 25
o continue with the eight data -bus
B29 C3 C2 .i.0 J1
wires from the bus connector to
Ti 40 -PIN the 8255, then the six control 1
-
B3
B9
CONNECTOR
FOR USER
wires to the 8255. Then connect
B7
CIRCUITS the 24 wires from the port out-
puts of ICI to J1. The author used
FIG. 1 -ADD THREE 8 -BIT PARALLEL PORTS for I/O experi- a 40 -pin header connector for J1
ments using this simple circuit. The jumper block lets you in the prototype. Many projects
assign port addresses from 0200h to 02FFh. require a source of +5 volts, so
power and ground lines are also
AO and Al select which port is ad- static damage, but you can never brought to J1.
dressed, and and WR determine be too careful.
whether data is read or written, Start with the 6 wires that run Programming examples
respectively. from the bus connector to IC2. The following examples as-
For example, if you short (By the way, looking at the com- sume that the jumper is in posi-
jumper position three, the base ponent side of your mother- tion three, so that the 8255 is
address would be 0240h, so you board, the "B" side of each connected to port 0240h.
would access Port A at 0240h, expansion slot is on the left and When power is first applied,
Port B at 0241h, Port C at 0242h, the "A" side on the right; and the ports A, B, and C are all config-
and the control port at 0243h. connectors are numbered from 1 ured as inputs. To reconfigure
to 31 from the rear of the board to the port, you must write the ap-
Construction the front.) Take your time, and propriate value to the correct
o The circuit is built on a stan- check each solder joint for shorts port. For example, by connecting
o dard prototyping card for the 8- with adjacent pins. eight LED's to Port A as shown in
0 bit IBM PC bus. All required parts Then connect the eight wires Fig. 3, you could view the binary
z
_ are standard items that can be
counting sequence using this
(7)obtained from most mail -order PARTS LIST program:
w suppliers. Component place- IC1- 8255A -5 parallel interface
zw ment isn't critical, but lead IC2- 74LS138 3 -to -8 line decoder 10 OUT 579,128
2 lengths should be minimized. To C1-03 -0.1 F 20A =0
w avoid damage during con- J1-40 -pin header connector 30 OUT 576,A
a struction, it's best to use sockets 40 A= A + 1
xw Jumper block (2 rows, 8 positions)
for all IC's. Neither IC used in this PC bus prototyping board 50 IFA 255 GOTO 20
w
EL
project is particularly sensitive to Sockets, wire, etc. 60 GOTO 30
126
play the contents of port B, to
SEMICONDUCTOR LASER I/O CARD which various switches (Fig. 4 -a,
continued from page 124 continued from previous page Fig. 4 -b) and sensors (Fig. 4 -c)
might be connected:
power output of 0.5 milliwatts or If one LED doesn't seem to light. 10 OUT 579,130
so. Slowly rotate R6 noting the run this program: 20 A = INP 577
"indicated output" on the power 30 IF A
meter increasing. Note how 10 OUT 579,128 40 GOTO 20
"slope" sensitive it is when com- 20 OUT 576,255 That program sets up Port B for
paring it to the change on the All of the LEDs should light. If input, and then reads the value
current meter. That is a direct in- one doesn't, check your wiring. of the port. If the value is less
dication of the slope efficiency of Reading input values is just as than 255 (in other words, if at
the device as shown in Fig. 9. simple. The following program least one line is low), the value is
Adjust to an output of 2.4 mil - would continually read and dis- printed. R -E
advertising assistant
Kelly McQuade
credit manager
Subscriber Customer Service TUBES - 2000 TYPES
1- 800 -288 -0652 DISCOUNT PRICES!
Order Entry for New Subscribers Early, hard -to-find, and modern tubes.
PROTOTYPE VERSION of the simulated 1 -800- 999 -7139 7:00 AM - 6:00 PM M -F MST Also transformers, capacitors and
parts for tube equipment. Send $2.00
laser diode. A hole drilled in the block SALES OFFICES for 28 page wholesale catalog.
provides a light path. EAST /SOUTHEAST
Stanley Levitan, Eastern Sales Manager ANTIQUE ELECTRONIC SUPPLY
Maple Ave Tempe. AZ 85283 602 -820 -5411
Remove the touch -switch short Radio -Electronics
Overlook Ave.
6221 S
+
5 -volt supply, install BR3, CIO, C11,
and IC3 with the secondary heatsink
using point-to -point wiring. Connect
r`A e
Tl, wire the primaries, and mount the
primary heatsink and front panel. You
,,
, ,"
" I should now be ready to turn on the
supply.
Checkout
Install FI and F2, apply power, and
check for + 60 volts DC across C and
1
128
ORDER TOLL FREE
ELECTRONICS _g00- 669 -4406
1
A DIVISION OF MING E &P, INC. iMI DIfCR[R
StarCal?'
ALUMINUM CABINET THE NEW MODEL 3500
8 RED LED DIGITS FROM THE ORIGINATOR OF THE "HAND HELD"
COUNTERS IN THE StarCab" STYLE CABINETS,
3 GATE TIMES WITH EXPERIENCE PRODUCING OVER TWO
DOZEN SUCCESSFUL FREQUENCY COUNTER
DISPLAY HOLD MODELS SINCE 1975, FRED HUFFT- W4PLM
MMIC AMPLIFIERS HAS DESIGNED THE 3500 WITH
UNPRECEDENTED FREQUENCY RANGE,
3 -5 HR BATTERY FEATURES AND QUALITY IN A VERY
NI -CAD'S & ADP AFFORDABLE "POCKET SIZED" COUNTER.
YEAR WARRANTY COMPUTER DESIGN AND STATE OF THE ART
COMPONENTS PROVIDE UNCOMPROMISED
MADE IN USA RELIABILITY AND PERFORMANCE.
FIND FREQUENCIES FAST
with any of these great pocket
sized counters, available for immediate
delivery from STARTEK. Absolutely the best values
in the industry, from the 1500A, now only $89., to the new
2500 & 3500. These new full range counters feature a 1 megohm input 10 Hz to
12 MHz, a 50 ohm RF input 10 MHz to 2.4 GHz / to 3S GHz for the 3500. The
MODEL 2500 & 3500 both feature MMIC amplifiers for maximum sensitivity, three gate
1500A times for maximum display resolution of .1 Hz to 12 MHz and 10 Hz to 2400 &
3500 MHz, a DISPLAY HOLD switch and LED indicator to hold a reading and
suspend gating until turned off. Our DISPLAY HOLD switch works properly, it
does not change the GATE selection when turned off, like some competitive
units. All of our counters use LSI circuttry, sub- miniaturizeC components and low
power design for portable operation of 3 -5 hours from nternal 600 mA/Hr NiCad
batteries. For ULTRA HIGH SENSITIVFTYthe 1500HS cant be beat with typical
sensitivity of <.5 to <1 mV RMS from 10 MHz to 500 MHz. Our 1500A offers
* Buy this quality 1500 MHZ Counter
great quality and performance at minimal cost. All counters have a full year
parts & labor limited warranty. Check out our VERY SPECfAL OFFER for any
model packaged with several of our most popular accessories.
for only $66. when purchased with the
following items:
...71.1
#S0-15 $ 128.00
1500A 1500 HS 2500 3500
ONLY $128. FOR ALL 6 ITEMS ECONOMY
MODEL
ULTRA HIGH
SENSITIVITY
FULL RANGE
+HI-Z INPUT
EXT RANGE
+11I-Z INPUT
TO SUBSTITUTE MODEL 1500HS ORDER #SO -HS $175.
2500 #SO -26 225. 1 -1500 MHZ 1 MHZ - 10 HZ- 10 HZ-
3500 #SO35 265. 1500 MHZ 2400 MHZ 3500 MHZ
2 GATE TIMES
2 GATE TIMES 3 GATE TIMES 3 GATE TIMES
LESS NI -CADS
& AC ADP DISPLAY HOLD DISPLAY HOLD DISPLAY HOLD
-
MODEL AP -90
FACTORY ASSEMBLED NEED MORE INFO - CALL ORDERS ONLY - TOLL FREE
1 YEAR WARRANTY HA
SALES ENGNEERUN 800- 638 -8050
INFORMATION (305) 561 -22V
STARTEK INTERNATIONAL INC TERMS: Shipping -handling charges for Florida add $4 + tax,
US & Canada add 5% ($4 min, $8 max), all others add 10%
VISA
398 NE 38th ST., FT. LAUDERDALE, FL 3 3334 of total. COD fee $3.75. Payment by VISA, MC, DISCOVER, r
COD for CASH or MO. Prices and specifications are subject
FAX (305) 561 -9133 to change without notice.