Electronics Experimenters Handbook 1995 Summer
Electronics Experimenters Handbook 1995 Summer
Electronics Experimenters Handbook 1995 Summer
sumituELEC RONICS
EXPERIMENTER'S
Beargliad;OW handbook.
A solid-state version that will add '4;
COLORIMETER
Identify more than 1000
colors with this $29 project
MICRO-CONDUI:TOR
It helps children play simple
tunes on a keyboard instrument
TELEPHONE -CALL
RESTRICTOR
Block access to 900
and 976 phone numbers
and save bucks
LIGHT-CONTROLI
SOUND -EFFECTS talitHATOR
Just wave your hands and create
weird and unusual sounds Plus!
Power up Night -Vision Scopes
52> $3.95 U.S.
$4.50 CAN.
Make PC Transcripts of TV Programs
Rechargeable LED Flashlight
A GERNSBACK
Build our own Computerized Game
9128 4960 4
0 7
Y
PUBLICATION
'Grab Bag of Simple Circuits
TECHNOLOGY UPDATE
DEPARTMENTS
Editorial 2 Advertising Sales Offices 111
Julian S. Martin
handbook editor
While in grade school I read a story about an old man who se-
EDITORIAL DEPARTMENT
cretly saved odd lengths of string. He knew that one day that string
Brian C. Fenton, editor
Marc Spiwak, associate editor would be valuable to him. As the story goes, a lady of wealth, not
Neil Sclater, associate editor necessarily manner, lost a string of pearls somewhere on a road.
Teri Scaduto, assistant editor The old man's wagon traveled that road and he was seen hop-
Jeffrey K. Holtzman
computer editor ping off the wagon to pick up and put away a rope -like object in
Dan Karagianniss, assistant editor his pocket. Naturally, he was accused of stealing. No one believed
Robert Grossblatt, circuits editor his story that the object was a length of string. He would have
Larry Klein, audio editor
David Lachenbruch
been banished from his town had not another villager discovered
contributing editor the string of pearls the next day. There's a moral to this story that
Don Lancaster I don't recall; however, I tell the world about my spare parts box
contributing editor
Evelyn Rose, editorial assistant and ask everyone to contribute their new and used parts to me.
Andre Duzant, art director
Russell C. True!son, illustrator During the past year I dug deep into my spare parts box (actually
PRODUCTION DEPARTMENT they are three large boxes) and found some 3000 -volt, silver -mica
Ruby M. Yee, production director capacitors that were just right for a Tesla coil I was building. I also
Karen Brown, advertising production
Kathy R. Campbell,
discovered a bag of 1000 -volt disc capacitors that are like hen's
production assistant teeth for those with budget pocketbooks. Dosn't let me get started
CIRCULATION DEPARTMENT on wire. I have all sizes and colors. IC's? You can bet I have a
Jacqueline P. Cheeseboro bushel full.
circulation director
Theresa Lombardo, circulation assistant
Michele Torrillo, reprint bookstore So why am I talking up my spare parts box. Put it this way: I made
Typography by Mates Graphics a rough calculation and discovered I saved over $800 last year
Cover design by David Loewy by using parts that I squirreled away. Not only that, think of the
Cover art by David Kahl phone calls and trips to stores that weren't made. Imagine the time
Advertising Sales Offices listed I saved not waiting for shipments to come in.
on page 111.
Gernsback Publications, Inc.,
500-B Bi-County Blvd., Farm- There's a moral to my spare parts box story. It is: A part in the box
ingdale, NY 11735. 516.293-3000
is worth a page in any parts catalog. I urge you to start salvaging
As a service to readers, Summer1995Electonics Experi-
parts whenever possible from old projects and equipment. Only
menters Handbook publishes available plans or infor-
mation relating to newsworthy products, techniques and
go one step better than me, use your computer to catalog the items
scientific and technological developments. Because of
possible variances in the quality and condition of mate-
you have. It's too late for me, I have just too much!
rials and workmanship used by readers, we disclaim any
responsibility for the safe and proper functioning of
reader -built projects based upon or from plans or infor-
mation published in this magazine.
All New - The Ultimate in Home/Office Security & Safety! High Voltage Fans!
Simple to use! Call your home or office, push a secret tone 4,000 volts in the palm of your hand! Experiment
on your telephone keypad to access: On premises sounds with anit-gravity, hovercraft, ion guns, force fields,
and voices Ongoing phone conversation w/break-in capability plasma guns, shock devices, wireless energy and
Up to 10 external electrical functions, lights, TV, alarms, coffee electrical pyrotechnics. Input: 9-14VDC.
MINIMAX4 Ready to Use .$ 19.50
DANGER pots, heater, etc. CAUTION! Check legality with your state's
attorney general's office before use for monitoring of voices.
RAUSE LASER SECIATION
ANKTIO EYE OR SKIN DIPOSIOS $149.50
TELECOM2 Kit, Includes PC Board
TO MAW 00SCATIEv fISCSSTOi
CUSS 14 1 LASER PACCUCT TELECOM2 Ready to Use $199.50
Advanced project produces a burst of light energy capable of
burning holes in rest materials. Hand-held device uses Visible Beam Laser
rechargeable batteries. 500 joules of flash energy excite either a Easy to build, RED Beam, visible for miles. Use for light "Laser Bounce" Listener System
neodynium glass, yag or other suitable 3' laser rod. This is a shows, window bounce holography, cloud illumination and much NEW Latest Technology! Allows you to hear sounds from a
dangerous CLASS IV project (individual parts/assemblies more! LAS1KM Kit wit mw Laser Tube, Class II.... .$69.50
premises without gaining access. Aim at room window and listen
available). LAGUN1 Plans $20.00 LAS3KM Kit w/2Smw Laser Tube, Class IIIA ........ ........ $99.50
to sounds horn within via reflected laser light. Not for illegal use.
LAGUN1K Kit I Plans Price on Request
Requires video tripods.
Life is Precious - LWB3K 5mw Laser and Receiver Kit $149.50
Extended Protect It! LW1130 Ready to Use, includes Laser Gun Sight $199.50
Play Hard hitting 200.000 volts of 5mw Visible Red Pocket Laser
crackling, sizzling plasma. Stuns an immobilizes most attackers Utilizes our touch power control!
Telephone Recording-gistem STUN40 Ready to Use $69.50 VRL5KM Kit / Plans $ 74.50
READY TO USE! Automatically controls and records on our X-4 STUN10 Smaller Unit $39.50
extended play recorder, taping both sides of a telephone Electronic
I
conversation. Intenced for order entry verification. Check your
local laws as some states may require an alerting beeper.
Hypnotism
TAP2OX Ready to Use System $129.50 Puts subjects under control using highly effective electronic
stimuli. Intended for parties and entertainment but must be used
with caution. Includes valuable text book reference and plans.
EH2 Mans and Text Book $19.50
Ion Ray Gun
Shocker Force Field/ Projects charged ions that induce shocks in people and objects Automotive
without any connection! Great science project as well as a high
Vehicle Electrifier
Neat little device allows you to make hand and shock balls, shock
tech party prank. 10G3
IOG3K KitiPlans
Plans $8.00
$69.50
NEON!
wands and electilly objects, charge capacitors. Great payback
--- z
for those wise guys who have wronged you!
SHK1KM Easy to Assemble Electronic Kit $24.50
Invisible Pain
Field Generator $)))
Easy -to -Install
4 -Tube Kit
for Cars, Trucks, Vans!
\ \ \IIII
Electric Available in Pink, Purple, Blue or Green -,NUMBERE
Charge
Shirt pocket size electronic
device produces time variant
please specify color when ordering.
RG4K (Specify Color) $ 129.50
\\
complex shock waves of intense directional acoustic energy, License Frame Kit
Gun capable of warding off aggressive animals, etc. er Flash -To -Music Option for above (Specify Color)
IPG7 Plans $8.00 IPG7K KIt/Plans $49.50 kit FMU1 $ 29.50 LIC1K $ 24.50
All New IPG70 Assembled $74.50
Technology! 3 Mi FM
Stuns/immobilizes attackers up to 15 feet away! 1000 Ft++ Wireless
*Legal in most state (lot in NY, NJ, MA, WI) More knock -down
power than most handguns No permanent injury ID coded tato Cannon Microphone
Free 80KV stun gun with every purchase. NOT A TOY. Uses electronic or piezo SubrrXniature! Crystal clear, ultra sensitive pickup transmits
ECG1 Data Packet, Creditable toward purcase $10.00 ignition. CAUTION REQUIRED! voices and sounds to FM radio. Excellent for security, monitoring
ECG10 Charge Gun, Ready to Use, w/Free 80KV Gun $249.50 POT1 Plans....... of children or invalids. Become the neighborhood disk jockey!
(Dangerous Product) $10.00
FMV1 Plans 47.00 FMV1K Kit and Plans $39.50
Homing / Tracking Transmitter
Beeper device, 3 mile range. Telephone Transmitter -3 Mi
HOD1 Plans $10.00 HOD1K Kit / Plans....... $49.50 FireBall Gun Automatically transmits both sides of a telephone conversation to
Shoots flaming ball - two shot capacity an FM radio. Tunable Frequency Undetectable on Phone
Listen Through Walls, Floors Great for special effects and remote Easy to Build and Use Up to 3 Mile Range Only transmits
Highly sensitive stethoscope mike. fire starting. CAUTION REQUIRED! during phone use. VWPIA7 Plans $7.00
STETH1 Plans $8.00 STETH1K Kit/Plans $44.50 FIREBALL Plans (Dangerous Product) $1 0 CO 4111.
VWPM7K Kit/Plans $39.50
1-800-292-7711
EE
Quad Power Supply XP -580 88K 390 Dual -Display LCR Meter
12A DC Power Supply WOO.
w/ Stat Functions
B+K 1686 by Elenco $139 B+K 878
$169.95 3.3/4 Digit DMM
Bargraph $239.95
3.14V @ 12A 9 Functions Auto/Manual Range
Including Many Features
Fully regulated & protected
$79.9g 2-20V @ 2A 5V (4)3A Temp, Freq w/ 0 Factor
Separate volt & current meters
with current limiting , low ripple
"' 12V @ A-51/ ei .5A Rubber Boot High Accuracy
Fully regulated and short circuit protected
Sweep/Function Generator Audio Generator 2MHz Function Generator Digital Multimeter Kit
with Freq. Counter with Training Course
Elenco GF-800
Elenco
$239 $59 M -2665K
Elenco 20Hz-150KHz
GF-8026 Sine/Square $49.95
Waves Fun & Easy
Int/Ext operation to Build
Handheld
Sine, Square, Triangle, Pulse, Ramp
.2 to 2MHz, Freq Counter .1-10MHz
Full Function 34 Ranges, Includes
Learn to Build and Program Elenco Wide Band B+K 3011B $219.95 Capacitance,Transistor/Diode Testing
Computers with this Kit Signal Generators LED Display, Sine, Square, Triangle, Ramp 20Amp AC/DC, Extra Large Display, Ideal
Includes: All Parts, Assembly and Lesson Manual & Pulse Waves. TTL & CMOS School Project M-2661 (assembled) $55
Model
TELEPHONE PRODUCT TESTER Multi -Function Counter
MIA -8000
Elenco F-1200
$129.00 1.2GHz
by Elenco $229
Ilffl
weak signals. An air -varia-
MODEL 30 $79 MODEL 4S $189
ble tuning capacitor with a
smooth 6:1 reduction drive
simplifies receiver tuning. CIRCLE 25 ON FREE
INFORMATION CARD
1 ft IPUMMIIIIION Mt
24 Ullel 11111221 IA
$ C1166010
Mr A/e/at
1212222 WIREISACt
0 MAW WWI
2 MAWS mown
A dual -conversion super- 12111r COIN= I 00101110644 Off
heterodyne receiver with VP TO 145nm/sic
Systems is an aid for de- ..... u..... - 22 121162 0101212.11/0 -=.;1,....... \ 1I In4/11
groundplane or Yagi anten-
na array. signers of active and pas-
-I in
swag* Nom
rat OlIVItt
.
r --t21...
I
.4.i RIME
III* 60 IOW=
The MFJ-8400K kit with sive filters. It can syn-
a circuit board, metal cab- thesize both active and
inet, and an instruction passive filters up to sixth
manual is priced at $69.95.
A wired and tested receiver
order with a frequency
range extending from frac-
Prairie Digital, Inc.
Mdre.
Age
must spend a lot of time ily available tools. The book
Phone
RACK CHASSIS
SYSTEM 3507110 19.75 5
311U10 140 19 10 5 25
120 75
127 00
PANELS ARE 063" ALUMINUM; STANDARD FRONT AND A NEW MODULAR SYSTEM FOR FAST AND 3811114 HD 19 14,5 25 140 75
REAR PANELS ARE CLEAR ANODIZED, BLACK OR GOLD EASY CONSTRUCTION WITH NO TOOLS
PANELS ALSO AVAILABLE FOR ADDITIONAL $7.50 409790 19,7,70 12700
ASSEMBLES WITH ONLY A PHILLIPS SCREWDRIVER HEAVY DUTY RACK CHASSIS 4RU10 110 19,10,7.0 135 50
OVER 180 PREPUNCHED FRONT AND REAR PANELS ARE 080" ALUMINUM AND ARE 4001460 109 14,7 0 140 75
RACK CHASSIS DUAL SLOPE PANELS TO MIX AND MATCH IN CLEAR, BLACK OR FIELD REMOVABLE; STANDARD FRONT 5RU7 HO 1987,875 132 25
MODEL ...Sr...) PRICE8 CABINETS GOLD ALUMINUM & REAR PANELS ARE CLEAR ANODIZED, 50910 140 19,10 x 8.75 139 75
MODEL ...Bin PRICE FULL RANGE OF BOXES AVAILABLE IN FULL & BLACK PANELS AVAILABLE FOR MUM HD 19,14 .9 8.75 150 25
11356 19,6,1 75 M 00 HALF RACK WIDTHS; RACK MOUNT OR TABLE ADDITIONAL $15.00
IRV/ 19 7 1 75 3650 08-1 4, ,4 4000 TOP STYLES
1161/10 II I 10 al 75 38 75 05-2 8,8,4 um ELECTRONIC COMPONENTS (VU METERS, POTS,
IRU12 19 12,1 75 42 75 DS -3 8,514 4803 SWITCHES, CONNECTORS, ETC.) ALSO AVAILABLE
19 x 15,1 75 4075 10 5x4 49 00
IRU15
1RU17 19x17,175 48 75
DS -4
DS -5 12.8,4 52 00
METAL CABINETS
SIZE PRICE
EROS 191/5 35 38 50 05-4 8.8,4 65 00 RF SHIELDED MODEL (Is)
2RU7 19 7,3 5 38 75 D5-7 4,8,8 5000
STEEL BOXES MC -1A 4,3,2 12 00
25950 19 10 3.5 3875 054 8,988 MOO
DESCRIPTION PRICE MC -2A 81312 14 00
20U12 19,12,35 45.25 D841 995.8 5800 MODEL W3D3 14(In) MC -3A 8,3,2 1D0 METAL
215515 19 x 15,3 5 48 25 DIS-10 10.8,9 5200
4.50 MC -4A 4,5,3 14 00 CABINET
a19110
2R U17 19 17,3 5 51 25 013-11 12,5,5 111.1 2 1
SESCOM, INC.
ORDER TODAY! ORDERS (800) 634-3457 FAX (800) 551-2749
Electronics
<am.* 1111.
i. ENJOY THE WORLD OF ELECTRONICS EACH MONTH!
Subscribe to the best informed electronics maga-
ogi
Learn how to design with
Programmable logic disele
zine-the one that brings you the latest high-tech
nd build this low-cost
PLD PROGRAMMER
construction projects, feature articles on new tech-
nology, practical troubleshooting techniques, circuit
design fundamentals, and much more.
Electronics Now looks to the future and shows you
what new video, audio and computer products are on
the horizon. You'll find helpful, monthly departments
such as Video News, Equipment Reports, Hardware
!Dr rpm mom.
Hacker, Audio Update, Drawing Board, Computer
Connections, New Products, and more. All designed to
give you instruction, tips, and fun.
Electronics Now gives you
exciting articles like:
Buyer's Guide to Digital
Oscilloscopes
Build A Scanner Converter
Single -Chip Voice Recorder
Build A MIDI Interface for your PC
Troubleshoot Microprocessor
Circuits
Build A High -Power Amplifier for
your Car
Add Music On Hold to your Phone
All About Binaural Recording #70,o
VGA-to-NTSC Converter
1-800-999-7139 c)
TELEPHONE
LINE GRABBER
TELEMIKE IS A TELEPHONE CIRCUIT It also contains circuitry that be miles away, in the same home
that, when located in a room will permit it to access a tele- or building as Telemike, or any -
miles away, permits you to listen phone on a separate line termi-
in on the activities that are tak- nating in the same room or even WARNING: The publisher makes no
ing place in that room. It also at the place where the phone representations as to the legality of con-
line enters the home or build- structing and/or using the Telemike tele-
permits you to listen to or inter- phone security device referred to it this
rupt a conversation on a sepa- ing. Sequential pressing of the article. The construction and/or use of
rate phone line located wherever pound (#) key cycles the circuit the device described in this article may
Telemike can gain access to it. to the next mode, that of inter- violate federal and/or state law. Readers
lelerrike contains a sensitive cepting a second telephone line are advised to obtain independent ad-
microphone which is activated and the third mode that resets vice as to the propriety of its con-
the circuit after it has been in struction and the use thereof, based
by calling the telephone number upon their individual circumstances and
assigned to the outlet where it is either of its listening modes. jurisdictions.
plugged in and entering a code. The "called to" telephone can
where Telemike can gain ac-
cess to the "called from "
number.The Telemike circuit
can be located anywhere in the
room where the "called to"
phone jack is located or at the 1. LISTEN CALLED NUMBER TELEMIKE
entry point of the phone line- #
conspicuous or inconspicuous.
Figure 1 gives the number of WALL (CALLED TO)
OUTLET
CALLED FROM
times the pound (#) key must
be pressed in sequence to initi- TELEMIKE
ate lelemike's two operating A
modes. It also shows the third PL1 PL2
fi
key pressing needed in se- 2. INTERCEPT
CALLED NUMBER
WALL OUTLET
quence to terminate the first PHONE
CONVERSATION ##
NO. 1
C2 R29
X 7 -a_ CD41:11713
-
47
R32 $ 4 8 10MEG 9 10 $ 010
390K 7 2 4
2 6
*HOF. 1MEG
4 D8
IC1 7 XTAL1
R31 t R4
D7
114914
NE555 1N914
3912, 10K 7. CO
3
030 IC3
INF 6 NE555
10MEG R9 $ R11
D15 w 5
1K
C5 1MEG
1N4007 2 5 RESET
C12 1
.01 M
C3 D2 -r 1.0F
zatC13
4.7f 1N4007 01
R3
RY1
LT ..,-
- D13
1N4007
"LT
R6
1N4007
56011 7" c 1K
Vv.* INITIATE LINE
01 D3 02
1N914 R25 04005
8 R7 LEDIO
1K 1K
Sokk
ROOM LISTEN
D4
1N914
R27 R8
100K 1K
uiLD45 SA.A.
LISTEN TO PHONE/
74- D5 C16
1N914 CALL INTERRUPT
T1'
I DO
1N4007
iii
AAA
R14
C17 1K
2.2F R18 C19 021 R22 C21
R20
1MEG 2.2pF 10K 1 1K 100y1F
03 10K
7
2N2222
7R15 MH
15K
3
C18 MIC1
NOTES: 4
2 211F...".:
1. R32 SELECTED FOR LM741
TRIGGERING IC1. $ 816
2. R15 SELECTED TO PROVIDE 1K
$ R17 R19
A DC QUIESCENT 2 TO 4 R23 C20
10K 10K
VOLTS AT 05 COLLECTOR 1K 100F
FIG. 2-SCHEMATIC FOR TELEMIKE. All of the Integrated circuits and reed relays are
Inserted In DIP sockets.
6V
RED
CLIP e." -I
BLACK
I I I
RED R1
1C4
GREEN cio
I I I I I
IC5
11 -C1-+
D2 iii t
R33
xrALI 119 I
C13 O4
R31 c4R 2
, C84 R18
RY2
1
C7 I E
C15
C5-4 C12R10 \'&\ B
6 C6 3
D151 D3
F-nR29 / D7 i LED10
C
02
R3 3 B ---R7 RED
E D4 R25
01 ' N
010 'a' D5
Dll
013
PR I R26
D6 y
D12
0.-- R14-
IIIC17 .618
R17
GREEN
R15 aC B R1. R18
JE 03
R22 C21
FIG. 3-PARTS PLACEMENT DIAGRAM. The entire circuit fits on a 5% x 4 -inch perfo-
rated circuit board. The components are Interconnected by point-to-point wiring and and the 1200 -ohm primary
power and ground bus wires. Switch S1 can be mounted off the board. turns should have a DC resis-
tance of about 75 ohms.
inches with 0.42 -inch pre - Identify all components and Insert the transformers in the
punched holes in a standard set them out on a table as board in the correct orienta-
0.1 -inch grid. shown in Fig. 3. Start by posi- tion, being careful not to stress
The component positioning tioning the seven IC sockets (for the pins because that might
shown in Fig. 3 generally fol- ICs and reed relays) on the break the winding connections,
lows that shown in Fig. 2. The board with the approximate destroying the transformer.
component spacing was se- spacing shown in Fig. 3. Place a Start inserting all passive
lected to minimize the length of drop of fast -drying glue under components from left to right
interconnecting wires without each socket to hold it in posi- across the board in small clus-
unnecessarily cramping the tion on the board. ters, noting the polarity and ori-
space between components. The circuit has three identi- entation of all diodes and
This would make the soldering cal isolation/impedance-match- polarized capacitors. (Sugges-
operation more difficult. There ing transformers T1, T2, and tion: position some of the re-
are no critical component rela- T3. They are rated for a primary sistors vertically to conserve
tionships in this circuit that impedance of 600 ohms and a circuit board space.)
dictate either close spacing of secondary impedance of 1200 Ibmporarily fold the leads of
specific components or isola- ohms at 1000 Hz. Measure the all inserted components back
tion between them. DC resistance of the windings flush with the solder side of the
If you want to construct the with an ohmmeter to verify the board so they will not fall out
circuit on a smaller board to fit continuity of the windings, and when the board is handled. Do
in a smaller case, you can re- confirm the markings for the not trim the leads at this time.
duce the spacing between com- primary and secondary sides. Certain component leads will
ponents. However, it is recom- The 600 -ohm secondary connect with adjacent compo-
mended that component orien- turns should have an approxi- nent leads as part of the com-
tation remain the same. mate DC resistance of 50 ohms, plete circuit.
Just like these
Fully Trained
Graduate with an Associate
Electronics Degree from GE!
Professionals
CIE is the best educational career skills. Each lesson is
value you can receive if you designed to take you step-
want to learn about by-step and principle -by -
electronics, and earn a good principle. And while all of
CIE's lessons are designed electronics. And every CIE
income with that knowledge.
for independent study, CIE's Course earns credit towards
CIE's reputation as the world
instructors are personally the completion of your
leader in home study
"Thanks to CIE 1 have tripled my previous
available to assist you with Associate in Applied Science
salary, and lam now in a challenging and electronics is based solely
just a toll free call. The result Degree. So you can work
rewarding new field where only the sky is on the success of our
the limit" is practical training... the kind toward your degree in stages
graduates. And we've
Daniel Wade Reynolds of experience you can put to or as fast as you wish. In fact,
earned our reputation with
Industrial Electrician
work in today's marketplace. CIE is the only school that
Ore -Ida Foods an unconditional commit-
actually rewards you for fast
ment to provide our students
LEARN BY DOING...WITH study, which can save you
with the very best electronics
STATE-OF-THE-ART money.
training.
Just ask any of the EQUIPMENT AND
150,000 -plus graduates of TRAINING.
the Cleveland Institute of CIE pioneered the
Electronics who are working first Electronics
in high -paying positions with Laboratory
'CIE was recommended to me by my boss. aerospace, computer,
t was appealing since I could study at my
own pace at home and during business medical, automotive and
avel." communications firms
Dan Parks throughout the world.
Marketing Manager/Consumer Products
Analog Devices, Inc.
They'll tell you success
didn't come easy...but it
did come...thanks to their
CIE training. And today, a
career in electronics offers
more rewards than ever
before.
I loved the flexibility CIE offered. It was the CIE'S COMMITTED TO Course
only way I could continue both school and BEING THE BEST...IN ONE and the first
my demanding job." AREA...ELECTRONICS. Microprocessor
Britt A. Hanks
CIE isn't another be - Course. Today, no
Director of Engineering
Petroleum Helicopters, Inc. everything -to -everyone other home study
school. CIE teaches only school can match CIE's
one subject and we believe state-of-the-art equipment
we're the best at what we and training. And all your
laboratory equipment, books
do. Also, CIE is accredited
by the National Home Study and lessons are included in YES! I want to get started.
Send me my CIE course catalog
Council. And with more than your tuition. It's all yours to
use while you study and for including details about the n-
1,000 graduates each year, Associate Degree Program. (For
"I liked the way the school was set up with we're the largest home study on-the-job after you your convenience, CIE will have a
laboratory assignments to enforce graduate.
conceptual learning. The thing which
school specializing exclu- representative contact you - there 0
impressed me the most about CIE's sively in electronics. CIE has is no obligation.) z
curriculum is the way they show application been training career -minded PERSONALIZED Please Pnnt Clearly CI)
for all the theory that is presented." students for nearly sixty TRAINING....TO MATCH m
Daniel N. Parkman YOUR BACKGROUND. Name
Missile Electro-Mechanical Technician years and we're the best at
U.S. Air Force our subject... While some of our students
Address
ELECTRONICS... have a working knowledge of
ITS THE ONLY SUBJECT electronics others are just City
WE TEACH! starting out. That's why CIE
cri
has developed twelve career State Zip Age I
CIE PROVIDES A courses and an A.A.S. z
Degree program to choose Phone No. 0
LEARNING METHOD SO CO
GOOD IT'S PATENTED. from. So, even if you're not Check box for G.I. Bill Benefits. 8
Completing the course gave me the ability CIE's AUTO -PRO- sure which electronics career Veteran
AHVO3 U.
o efficiently troubleshoot modern
GRAMMED lessons are a is best for you, CIE can get Active Duty
microprocessor based audio and video
systems and enjoy a sense of job security." proven learning method for you started with core lessons
Cleveland Institute of Electronics, Inc. m
Tony Reynolds building valuable electronics applicable to all areas in 1776 East 17th Street
Service Manager/Technician Cleveland, OH 44114
Threshold Audio & Video
Send for CIE's FREE Course Catalog and A School of Thousands.
A Class of One. Since 1934.
CD
CJI
IC3-a
120
VAC C2 -1- 1/4 4093
r 5
IC3-b
1/4 4093
IC2b) 4 12
4
6
04
11
470K 1/4 408)
03 AST
7 10 7-4 R4LEG 17
02 CLK 1m
8
GND Q1
9 CLOCK INPUT LA- PULSE DURATION
OUTPUT
DECODER PULSE GENERATOR
L
FIG. 2-MINUTE MARKER SCHEMATIC. 12.6 -volts AC, at 60 hertz, is rectified and
regulated to 5 -volts DC for the circuit. Unrectified AC is fed into a Schmitt trigger,
which generates s 60 -hertz square wave. The square wave is fed to a CD4040 12 -stage
binary counter, which decodes time intervals.
TABLE 1-TIME INTERVALS
1C44
from a few hundred to more
D4
A5 13
5D
110 7408 vil 7401 than 1000.
D5
14
6D +12V
The authors used a separate
D6
17
7D IC5
/lit 7805 voltage regulator, driven
18 3 7805 i 1
by the host computer's + 12 -volt
D7 80 00 I
2A
,
m_, C- supply, to power the other ICs in
R1 18 17 16 15 14 13 12 11 GND OE 02
.111F
2
AQUA the circuit. This minimized in-
10K DO Di D2 D3 D4 D5 D6 D7
CLK IN
101 I1 consistent results obtained by
19 20 running the circuit in different
71z Cl
CLK R VCC +5V
computers with slightly dif-
220PF 01 ferent + 5 -volt supplies. Thus
IC2
ADC803
WR SEE
TEXT D1
calibration is generally much
CS INT
1N514 machine independent.
7 YIN_ 4AA
VIN+
GNOA
R2 220K
Software considerations
10
GNDD
470K Listings 1 and 2 present the
V calibration and identification
FIG. 1-COMPLETE SCHEMATIC. IC1 is an address decoder hard -wired to respond to I/
programs, respectively. (These
0 ports 512-519. IC2 is an A -to -D converter that measures the voltage across R2, files are available on the Elec-
which depends on the amount of light shining on 01. IC3 is an 8 -bit Inverting latch that tronics Now BBS, 516-
the software drives to successively light each LED during a scan. 293-2283, 9600 baud, as file
1KCOLOR.ZIP.) The calibration
forcing the ADC to present its enable or disable several LEDs program uses two external files,
most recently collected value to at once. CALI and CAL2, to store infor-
the data bus. On the other Note that LED6, the aqua mation. CALI stores standard
hand, if CPU signal goes emitter, requires direct connec- values, and CAL2 stores corre-
low, pin 11 of IC3 goes high, tion to + 12V. At $12.50, it was sponding names.
thereby latching the values on rather expensive when first in-
the data bus into IC3. Each regi- troduced, but the price has
ster in IC3 provides a latched, dropped slightly. (The LED is TABLE 1-LED COLORS MD
inverted output capable of sink- available, as part 48-6E for COOE8
ing 35 milliamperes. $10.26 plus shipping from LED Wow Coior Aattwition
Parts 1, 1995 County Rd. B2, length Wise
LEDs Roseville, MN 55113;
Table 1 summarizes impor- 800-424-6204.) LED1 470 ton Blue 2Gm1
tant information about the Both LED3 and LED4 are Lev 560 nm Green 21.2
LED3-a 890 nm Yellow 22,4
LEDs. The activation code is the dual units. The circuit includes LED3-b 700 nm Red rail
value that must be set into the both the yellow and red units in LED4 830 ma Orange 24016
assigned I/O port to activate or LED3, but it uses only the or- LEDS 665 ran cdrason 2B32
deactivate a given LED. Values ange unit in LED4. LED6 482 nm Ace* 24.64
can, of course, be summed to The values of R4-R9 were se-
LISTING 1-CALIBRATION PROGRAM $4.99 72 -pin prototype card. If
10 'CALIBRAT.BAS calibration program
you use the specified interface
20 CLS:KEY OFF:N=0:ADR=512:0PEN'R'.1,'CAL1",16:0PEN'r',2,'cal2',24 card (see the Parts List), care-
30 FIELD 1,2AS B5,2AS G$,2AS 11,2AS O$,2AS CS,2AS R$,2AS A5,2AS AG$
40 FIELD 2,24AS IDS fully file exactly 1/2" from the
50 PRINT 'reference number",N+1:OUT ADR,255:BEEP:INPUT 'Enter Name of Standard
or 'E' To End';TEMPIDS
edge connector to make it fit the
60 IF TEMPID5='E" OR TEMPIDS="e' THEN N=0: GOTO 200 62 -pin PC slot. The complete
70 IF TEMPID5='n' THEN INPUT'enter n to redo ',N:N=N-1:GOTO 50
80 N=N+1:FOR H=0 TO 7:K=0:IF H<7 THEN 2.2^'H ELSE Z=194 board should appear as shown
90 OUT ADR,Z:FOR I.1 TO 500:NEXT I
100 FOR 3=1 TO 50:K.K.INP(ADR):NEXT 3
in Fig. 2. (Note that the authors
110 IF H=0 THEN LSET /35.MK/$(K) split the cable in two, attaching
120 IF H.1 THEN LSET GS.MKIS(K)
130 IF H=2 THEN LOFT YS.MKIS(K) the separate sections with a
140 IF H=3 THEN LSET 05=MXI5(K)
150 IF H=4 THEN LSET 00.M1(I5(K)
pair of 25 -pin, D -style, I/O con-
160 IF H.5 THEN LSET R5=MKIS(K)
170 IF 11.6 THEN LSET AS.MKIS(K)
nectors.)
180 IF H=7 THEN LSET AGS=MXIS(K) Figure 3 illustrates the reflec-
190 NEXT H:LSET IDS.TEMPIDS:PUT 1,N:PUT 2,N:CLS:GOTO 50
200 N.N.1:GET 41,N:GET 02,N:IF N>(L0F(1)/16) THEN END
210 B.CVI(85):G=CVI(GS):Y.CVI(YS):0.CVI(05):C.cVI(CS):R=CVI(RS):A.CVI(AS):
AG=CVI(AGS) PARTS LIST
220 PRINT N,IDS:GOTO 200
...j......
PROGRAM
38 x 8
AI
111 111111M IS I= 6.
RA3/AIN3/
1/4C.122.19
\ MUX
PORT B
INSTRUCTION OSCILLATOR
DECODE &
CONTROL
START-UP TIMER
117-`A--"i7Lu
POWER ON
G
RESET
WATCHDOG
4
W REG I
GENERATION TIMER
S1
OSC2/CUCOUT
FIG. 2-FIC1EC7I BLOCK DIAGRAM. The chip includes fully static CMOS circuitry,
flexible I/O pin programming, timed interrupts, and a built-in eight -bit A/D converter.
t("-1 76
t_4(-347-Th
74
LP*
lik
tt__j 11111
\-
IP ila
fill".
Lf ''
... : : :
?
2 3/4 -INCHES
rThil
TURN ON 4 LEDs
(COLUMN 3 LEDs)
TURN ON 4 LEDs
(COLUMN 4 LEDs)
TURN ON 4 LEDs
TURN OFF CENTER LED TURN ON CENTER LED (OUTERMOST BOX)
TURN OFF 4 LEDs TURN ON 4 LEDs TURN OFF 2 LEDs TURN ON 2 LEDs
(INNERMOST BOX) (INNERMOST BOX) (RIGHT & LEFT SIDE LEDs) (RIGHT & LEFT SIDE LEDs)
CALL DELAY
(WAIT AND SHOW LEDs)
l
Lo
cr
FIG. 4-FLOWCHART for the Star From Center routine. The select pushbutton is
checked near the top of the routine; If the button is pressed, the routine is exited. checked. If it is enabled it will
cause the routine to be exited
TABLE 1-MICRO-LIGHTS ROUTINES AND FEATURES after approximately five min-
w utes of operation.
Routine Features Effect of Sound A subroutine to read the A/D
a 1 Spinning Bars Triggers Speed & Direction converter is then called when
2 Random Single LEDs Triggers Speed sound amplitude is sampled.
1 The main body of routine 5 then
0 3 Bar Graph Increased LEDs with Amplitude
.,z
-cr
LE.015
e. Nk,
LEW.)....... LED17
nent side of the PC board). Any
brand of LED lamp will work,
although the best is a bright,
LED18 ~e LED19 diffused -lens lamp in the stan-
dard 5 -millimeter (T13/4) plastic,
radial -leaded package. Stan-
-R10 - dard LEDs have flattened edges
t..)3 (321
1C8 R4
on their bases to indicate the
- R12 - cathode lead. Mount the LEDs
-R1- -R13 - flush with the PC board to pro-
+9V --C3-
- R6-
IC1 -C8- - tect the leads from being bent if
the LEDs are bumped. Install
sockets for the PIC16C71 and
the op -amp.
lb protect your fingers from
any sharp edges of cut off leads
- S1
on the back of the PC board, and
____ R8 -
to help make Micro -Lights look
more like a professionally made
product, install a plastic back-
FIG. 5-PARTS-PLACEMENT DIAGRAM. Be sure to mount the LEDs flush with the
ing on the PC board. Install a
board so that all cathodes face to the left.
1/46- to 1/40 -inch thick ABS or
acrylic plastic rectangular piece
cut to the outline dimensions of
the PC board. As shown in Fig.
6, drill four holes and attach the
backing with No. 2 screws and
nuts.
The two lower backplate
mounting screws also secure
the 9 -volt battery holder in
place. The 9 -volt battery and
1.175 " 0.44"
battery clip act as a stand to
BATTERY
support Micro -Lights when it is
C1
ca
r HOLDER placed on a table for viewing
i I
(see Fig. 7). Be careful when po-
sitioning the holes for the bat-
- -f - - tery holder. Their placement
I I
L
L
J
0.86^
FIG. 7 -THE 9 -VOLT BATTERY and bat- determines the angle at which
S2
tery clip act as a stand. the PC board will rest on a table.
POWER LEADS Figure 8 shows the completed
PASS THROUGH
THESE HOLES
Construction Micro -Lights board.
FIG. 6-DRILLING GUIDE. Four No. 2 There are no critical require-
screws and nuts hold the plastic backp- ments in the construction of Checkout
late and battery holder in place. this circuit. All of the compo- After you verify that all parts
nents are available from the are installed correctly, connect a
routine is entered to freeze the source given in the Parts List, battery and turn on the power
display for a few milliseconds. including a pre-programmed switch. Micro -Lights should im-
The overall effect of routine 5 is PIC16C71 microcontroller and a mediately enter routine 1 and
a star that increases and de- double -sided silk-screened PC display a pattern of spinning
creases in size, according to board. The parts are available bars. The bar's speed of rotation
sound intensity. from many other distributors, (Continued on page 104)
BRENT C. TURNER
25 -PIN CONNECTOR
CIRCUIT BOARD
.0---25-CONDUCTOR
FLAT CABLE
15 LED'S ON
INSULATING
SUBSTRATE
ORGAN OR
PIANO KEYBOARD
41)
qb
V5
41.
1C3 11 12 10 LED5
10K 22 3
PA2
PA3
2
4
6
8
7447
D D9
4
5
Vvs.
A.0.0*
11
10
8
7
C
D \\
R9
6-0 BI/RBO E 1604. E
5 9 2 47052
6-30 RBI E D15 F
8 11
0-0 LT G 014 G P
XTAL I
4MHz 8 C5
X
lEl"PF RN4 SONG
I c
27pF
PA4
24
25
7
1
1
16
A
13
12
1
2
47052
14
13 13
DISP2
AN I
14
PA5 2 011 AN2
26 2 1C4 3 12 10
PA6 4 0 C
28 7447 10 4 11 8
2 6
-0 RESET PA7 8 D0 VIA
S5 2 OINT
_ 4
0-0 BI/RBO F 09 10 7
E
RESET
7- TMR -C
5
RBI 014
6 Av% 9 2
-
SPST 15 11
--d LT
7 8
G P
-o o- ICI
R1
5V
MC88705P3 8
47051
C2 1
P80
1pF R2
47051 LEDI
1
P81 AAA.
R3
4700 LED2
1
PB2
R4
47052 LED3
1
PB3
LED4
PB4
1
0 SI SOI
PL1
PB5
1
SPST
o 13
25 13
S2
1 SPST 12 25
PB6 O
S3
-T-. 24 12
P87
19
4.7K
R5 t R6
4.7K ?
R7
4.7K
SPST
R8
4 .7K
i 0
S4
SPST
+ 5V
11
23
0 24
11
10 23
+ 5V RN1 0
22 10
39052
16 9 22
24
0 0
15 2 21 9
C6 pc 0 2 LED6
0.1pF 3 14 3 8 21
2 0 0 116,
1C2 13 4 20 8 LED7
0
+5V 23
A
74154
3
0 5 12 7
0 20 R lef Algok
LEDS
PCO
PC1
22
4
0
6 11 6 19 7', fP'h LED9
NUM B 5 ED10
19
PC2
10 21
C 6 10----14/47r-- 10 7 6
-0
LED11
10,
11 20 8 9 18 6
PC3 7 ED12
18 N1/4
16 5 NC 416k LED13
8 "1,, ED1
15 2 17 17 diP%
9 D10
CONNECT TO 120 -VOLT AC 14 4 4'R /ft LED15
10 D11
3
0
TO 6 -VOLT DC CONVERTER
(SEE TEXT(
13 4 16 16 `r- Oft ED16
11 013
12 3 3 `0. /16t LED17
+5V + 5V 12 D14 0 %by ED1
D5 11 6 15 15
13 015
1N4001 2 .k LED19
C7 a -0 G1 18
14 616
10 7 2
0 AOPh
12 RN2 LED20
3900
sions should accommodate the FIG. 5-DETAILS FOR BUILDING THE INDICATOR PANEL. LED leads are bent and
circuit board and allow ade- Inserted in drilled holes in wood or plastic strip and soldered connections are made as (II
quete vertical clearance. How- shown. Protect exposed conductors with tape or covers (not shown). 39
switches Si to S5 on the front observing the proper spacing and trim excess wire.
panel and wire them to the cir- and alignment. Insert the bent Locate the indicator unit on
cuit board with lengths of hook- sections of the LED Leads into an insulating surface so that no
up wire long enough to permit the holes and press the LED's leads are shorted, and check all
the board to be removed from down gently so their leads are connections both visually and
the case. (You might want to re- flush with the surface of the with a continuity meter to be
place them with switches more strip. The terminals should sure that the LED's are con-
suitable for case mounting.) project above the surface of the nected in the specified order.
When the board is complete reverse side. (The leads should Repair any errors and replace
but before inserting the IC's, fit snugly in the holes so the any faulty LED's. Protect the ex-
fasten it to the bottom of the LED's will not fall out when the posed conductors of the unit.
case with screws and stand- strip is handled.) They can be covered with vinyl
offs-plastic or metal tubes Reverse the strip and position electric tape or, for a more pro-
about 1/2 -inch long. it as shown in Fig. 5. Allow fessional appearance, covers.
enough cable length for conduc- Cut matching covers from suit-
Indicator panel construction tors to reach the last LED in the able sheet plastic and drill holes
Determine a satisfactory series, and clamp the cable to along their lengths to permit
length for the 25 -conductor flat the strip as shown. The clamp them to fastened to both sides of
cable (up to three feet) and cut can be an aluminum or copper the strip with nuts and bolts,
one end square. Insert and seat strap wrapped around the strip forming a protective sandwich.
that end in the slot of connector and squeezed in a vise or fas-
PL1 (with mass -termination, in- tened with screws near the Microcontroller software
sulation -displacement con- edges of the strip. Due to limited space, only
tacts). Position the connector With the cable securely clam- part of the assembly language
and cable in a vise and, holding ped to the indicator strip, sepa- program has been reprinted
both cable and connector firmly rate the conductors carefully here. The complete program is
together, slowly close the vise to
drive the row of contacts uni-
formly into the cable to form se- LISTING I-SOURCE CODE DEFINITION OF SCALES
cure bonds with each of the
conductors. SCALES
Referring to Fig. 5, select a TUNE9 PCB $00,$12,$34,$.56,$78,$9A,SBC,SDE,SFO,$FE,SDC,SBA,S98
suitable strip of wood or plastic FCB $76,04,$32,$10,$FF
from V8 to 3A6 -inch thick, about
2 inches wide and up to 20
inches long. Determine the ac- with a razor knife back to about available on the Electronics
tual length by referring to Fig. Y8 inch from the clamp. Refer- Now BBS (516-293-2283, V.32,
3. Add the center line distances ring to the schematic Fig. 2, cut V.4 2 bis). Download file
between 15 keys on your piano off the open -circuited conduc- ORGAN5.ZIP, an archived file
or organ's keyboard, and allow tors 13, 25, 12, 24, 11, 23, 10, 9, that must be "decompressed"
about 2 inches on each end. and 1 close to the clamp. Find with the PKUNZIP utility, which
Measure in about 2 inches from conductor 22 and cut it off near is also available on the system.
one end to allow for clamping the anode terminal of LED6, al- (Note that the Electronics Now
the cable to the strip, and mark lowing about 1/2 inch for strip- BBS is always free of charge.)
the center line locations for ping and wrapping bare wire The four files of software are:
each of the 15 LED's (LED6 to around the exposed LED posts. ORGAN5.S05-Source code file
LED20) to be mounted. Wrap one end of a 20 -inch for the software.
Carefully bend all LED leads length of tinned -copper wire ORGAN5.LST-Output listing
at right angles (as shown in dot- around the LED6 anode post, file generated by the assembler.
ted lines on Fig. 5) to account and continue wrapping all ex- ORGANS.P05-Motorola S -rec-
for the thickness of the insulat- posed anode posts to LED20 to ord listing of the code that can
ing strip selected. The bent form a common conductor. Sol- be sent directly to a PROM pro-
ends of each LED should equal der all anode connections and grammer.
the strip thickness plus about trim excess wire. Now, starting README.TXT-An ASCII file
VI 6 inch to act as exposed solder with the cathode post of LED6, containing any important last-
terminals when the LED's are cut and strip conductors 21 to minute advisory notices.
seated. (Note that LED cathode 14 as shown in Fig. 2, making lb program microcontroller
leads are shorter than anode allowance for increasing length. ICI from your PC, follow the
leads and are closest to the Also allow enough slack on each manufacturer's procedure. An
packages flat surfaces.) conductor to minimize overlap- article entitled 68705 Micro -
With a handheld pin drill and ping and permit it to be pressed controller by Thomas Henry,
bit slightly smaller than the di- close to the surface of the strip. Sept. 1989 R -E includes that
ameter of the LED leads, drill Wrap one turn of the stripped procedure.
two rows of 15 holes in the strip wire ends around each cathode The assembly language code
for the leads as shown in Fig. 5, post, solder the connections for Micro -Conductor is in five
6 INCHES
BOTTOM FOIL (SOLDER SIDE) for micro -conductor PC board, shown half size.
sections. The first contains all Initialization of all I/O ports After the inputs are debounced
housekeeping functions for the Clearing of the entire RAM via software, the program
program (e.g. title and version memory to a value of $00 checks each switch state in se-
information, RAM variable as- Initialization of the registers quence. If a specific switch is
signments, general constant for creating a regular interrupt pressed, either the SONG
equate statements, and defini- frequency variable or the TEMPO variable
tions of both the processor's Setting of initial values for are incremented or decre-
mask option register and vector several RAM variables mented by one. After changing
table). When the microcontroller either of these variables, the
Next, there is code section completes initialization, it software automatically checks
headed Initialization. When the switches to the main execution to prevent a user's attempt to
microcontroller detects the end loop labeled MAIN in the source call for a variable beyond the mi-
of a reset condition (i.e. when code. That loop handles all Port crocontroller's permitted range.
power is first applied), it starts A and B I/O functions except en- The last block of code in the
to execute the START label, abling the 15 indicator unit MAIN section updates the LED
which is at the beginning of the LED's. displays DISPI and DISP2. The
initialization block. This sec- The first function of the MAIN four bits of the SONF variable are
tion of code performs the follow- loop is to read the state of the rotated over into most signifi-
ing duties: four input switches Si to S4. cant nibble within the ac-
cumulator and oRed with the
four significant bits of the
SPEED counter. The resulting
byte is then available at Port A
(PAO to PA7) of the micro -
controller for the LED driver IC's
(IC3 and IC4) and display mod-
ule to indicate tempo and song
number.
The fourth section of code in
the file source begins with the
label TM-INT, which marks the
start of the timer interrupt rou-
tine. At regular intervals of
about 31 milliseconds, the mi-
crocontroller stops executing
the MAIN program loop and runs
the code between the TM-INT
and RTM-INT labels. That sec-
tion of code controls the 15 in-
dicator LED's (LED6 to LED15)
connected ICI's Port C.
If enough time (dependent on AUTHOR'S PROTOTYPE of the Micro -Conductor. its neat as can bet
the TEMPO setting) has elapsed
since the keyboard LED's were coding system shown in Fig. 3. project's source code that de-
last updated, the software ei- To conserve PROM, two notes fines the Scales tune.
ther turns off any lighted LED (requiring only four bits each) When both components of
or turns on the next one in the are placed in every byte of the Micro -Conductor have been
song due to the value of the FCB statements. built and plugged together, it is
NOTE variable. Because ICI Note that there are two special ready for a test run. Plug in the
lacks an addressing mode that codes in each of the ten songs. wall -adaptor and start the in-
can handle 16 -bit offsets, each Every song begins with a $00 cluded program.
tune must tested in sequence. code, which allows time for a Micro -Conductor will give
The last section of code in the child to move his fingers back to children a pleasant introduc-
source file is the song data. After the keyboard before the song is tion to formal music instruc-
an appropriate "TUNEx" label, displayed. Similarly, every song tion. The child will soon learn
form constant byte (FCB) ends with a ?? code, indicating the relation between the keys
pseudo instructions insert the to the software that last song and the musical scale and, it is
notes of the songs into the file. being played is finished. See hoped, take an early interest for-
This data is encrypted with the Listing 1 for a section of the mal music instruction.
From the
Women
Side "It's not really an antique . it's a
. .
"When you said you were assembling a clone "Yeah. I know. Roger's computer -controlled "Just listen to that, Karen,
I thought you were talking about a computer." pancake flipper still has a few bugs in it." now I know our line is tapped!"
BUILD THIS
TERRY WEEDER access to your phone can call be blocked are entered into the 0
these numbers, forcing you to call restrictor's memory from a m
OVER THE PAST FEW YEARS. THE pay the bill. Most people would Tbuch-lbne phone. The restric- -1
33
"900," "976," and "540" tele- not leave their credit cards lying tor can also be programmed to m
phone exchanges have become around the house for anyone to block all telephone numbers ex- -4
fll
an easy way for people to spend use, but in a sense, that is what cept those which you have en-
a lot of money-too easy, per- you are doing if you allow others tered into memory. That feature
haps. Some of those numbers, to have dialing access to all is ideal for your business if you
which provide access to a wide phone numbers from your want to allow incoming calls,
variety of services from sports phone. but only outgoing emergency 8
scores to sex chat lines, can cost The lblephone Call Restrictor calls. C
several dollars per minute. You described in this article can The restrictor can be plugged
won't even see the damages-a block access to any particular into any phone jack in your ITI
huge phone bill-until the end telephone number, or any group home or office to control all the CO
of the month. What makes it of numbers beginning with a phones on that line. The restric-
worse is that anyone who has certain prefix. The numbers to tor can be disabled on a single- 43
01
2144401 LED1
AN4- 0,+5V
1477Hz
'IN R4
R1 R2 1600
PC 7.5K
C3 4.7K 941Hz C9
0.1
+6V 0.1
+5V 10K
C6
' 0.1 IC2
PIC18C54
C2 C4 3
0.1 2.24J.F
RB7 VDD
12 3 IC3
RED RB6 RTCC 93LC48
PL1
MODULAR
D1
1N748A 4
0--
IC1
MCI 45438
DV 12
11
10
RB5
RB4
RAO
RA1
17 1
2
CS
\>CLK
VCC
NU
1--
PHONE PLUG 3.9V VDD
_6 13 3 CIO
GT D8 RB3 ORG
- 0.1
---V
GREEN RA2 DI
3 4
EN D4 RB2 RA3 DO VSS
D2 6 1 7 4
XEN D2 RB1 MCLR
1N748A
3.9V GND D1 RBO VSS 5
10 51>
L. K ANO
XIN t"--
XTAL1 16
OSC2
OS C1
C1
0.1
V ce 3.58MHz
.01 40-101-4
C7 PC Pt C8
15pF 15pF
IC4
R5
2805
10K
14 414. +5V
lot
D3 D4
114759A I N75A
12V 12V
C13
0.1
TO
9VDC OR
12VDC
ADAPTER
FIG. 1-THE MICROCONTROLLER (IC2) COMPARES the decoded DTMF tones from
IC1 with the telephone numbers stored In the EEPROM (IC3).
pulls IC2's reset pin low. Diodes
D3 and D4 provide a threshold
call basis with a four -digit pass- cuit from high -voltage spikes voltage that is high enough so
word. The password also pre- on the line, and D1 and D2 pro- that voice or DTMF tones will
vents others from reprogram- vide protection from ringer volt- not trigger a reset.
ming the unit. ages. The DTMF receiver con- A low -current voltage reg-
The restrictor is programmed verts the 'Much lbnes into 4 -bit ulator (IC5) drops the voltage
from a lbuch-lbne phone. An TM -level data. The PIC16C54 from a 9- or 12 -volt DC adapter
EEPROM provides non-volatile microcontroller (IC2) processes to 5 -volts DC; C11 and C12 sta-
storage of the programmed in- the data from IC1, stores the bilize IC5's output.
formation. Therefore, the re- user -entered telephone num- The disable tones generated
strictor will not lose its data bers in EEPROM (IC3), and gen- by IC2 (discussed later) are at-
because of a power failure or re- erates the tones necessary to tenuated by R1 and R2, smooth-
location of the unit. disable the telephone. ed out by filter capacitor C3, and
Optoisolator IC4 generates a then coupled to T1 by capacitor
Circuit theory reset pulse for the micro - C4. 11-ansistor Q1 turns LED1
A schematic diagram of the controller every time the hand- on when pin 13 of IC2 goes high.
call restrictor is shown in Fig. 1. set is picked up or put back on
Capacitors Cl and C2 and hook. The change in voltage Microcontroller and EEPROM
transformer T1 isolate the cir- from tip to ring (when the line The PIC16C54 is an 8 -bit
cuit from the phone line. Those goes from on -hook to off -hook CMOS microcontroller man-
components also couple the or vice versa) causes current to ufactured by Microchip lbch-
DTMF (dual -tone multiple fre- flow through the optoisolator as nology, Inc. This micro -
quency) tones from the phone C13 charges or discharges to controller has one eight -bit I/O
to pin 7 of IC1, an MC145436 the new voltage level. The cur- port, one four -bit I/O port, 512
DTMF receiver. A metal -oxide rent flow forward biases the x 12 bits of on -chip EPROM,
varistor (MOV1) protects the cir- transistor output of IC4, which and 32 x 8 bits of data RAM.
FIG. 3-PARTS PLACEMENT DIAGRAM. Mount components as shown here. Watch for
solder bridges on 01 and IC5. IC2 through four input lines:
CHIP SELECT, CLOCK, DATA IN, and
The PIC16C54 contains a an AC adapter so low -power op- DATA OUT. After a high is de-
two -level stack, an eight -bit eration is not essential. tected on CHIP SELECT, data is
wide arithmetic logic unit A preprogrammed PIC16C54 then transferred to and from
(ALU), and a real-time clock/ is available from the source the 93LC46 on the positive
counter register with a pre - given in the Parts List. The transition of the clock signal.
scaler. The instruction set con- source and object code files are Each transfer of data consists
sists of 33 single -word opera- available on the Electronics of one start bit, a two-bit opcode
tions which require one cycle Now BBS (516-293-2283, V.32, that identifies the function to be
(four clock pulses) for execu- V.42bis) for those who wish to performed, then a 6 -bit ad-
tion. Instructions that force a program their own micro - dress, followed by the 16 bits of
program branch require two cy- controllers. A programmer for data which is being read from or
cles. Each pin of the I/O ports the microcontroller was de- written to that address. Imme-
can be configured individually scribed in the January 1994 is- diately preceding and following
as either an input or output sue of Electronics Now. all write operations, the micro -
through software. The The internal RAM of the controller sends instructions to
PIC16C54 also has its own PIC16C54 functions as working the 93LC46 that enable or dis-
built-in "watch dog" timer registers for the operating pro- able the write function, thereby
(WDT) and "sleep" mode, but gram. All user -entered data is protecting the data.
neither are used in this circuit stored in IC3, a 93LC46, 1K se- The data in the 93LC46 is
because the chip is reset every rial EEPROM, also manufac- stored in 16 -bit blocks, while
time the handset is picked up. tured by Microchip. The the data output from the DTMF
Also, the circuit is powered by 93LC46 is connected to Port A of receiver is in 4 -bits. To make
at ELECTRONICS EXPERIMENTER'S HANDBOOK SUMMER 1995
START
INITIALIZE PORTS
LED OFF
NO
GET NUMBER
FROM PHONE TURN ON LED
GET FIFTH
NO NUMBER
GET NEXT NUMBER
FROM PHONE FROM PHONE
YES
OUTPUT
ERROR TONE
SET BYPASS BIT
TURN ON LED
YES
WRITE REGISTER
TO EEPROM
FIG. 2-FLOW CHART OF THE OPERATING PROGRAM. The source and object code files are available on the Electronics Now BBS for programming your own micro -
controller, or you can purchase a pre-programmed chip from the source given in the Parts List.
PARTS LIST
.
00 00
-410
All resistors are 1/4 -watt, 10%, un-
less noted otherwise. O 0 0
R1-4700 ohms II
R2-7500 ohms
R3, R5-10,000 ohms
R4-150 ohms 008
0 0-0
0--0-6-1
IN a .13
0
z
Capacitors to --1
? ._. .y E :
qf "
cA
C1-C3, C5, C9-C13--0.1F, Mylar
C4-2.2 p.F, 16 volts, tantalum 6 0
C6 0.01 i.LF, Mylar
C7, C8-15 pF, ceramic disc I- 1111718 -Will 0 6-g
Semiconductors
IC1-MC145436 DTMF receiver 111
1 1111 111100101-17.
IATTCR.
(Motorola)
IC2-PIC16C54-XT P micro - L
I
1
controller (Microchip) COMPONENT SIDE of the call restrictor.
IC3-93LC46 serial EEPROM (Mi-
crochip)
IC4-2505-1 optoisolator (NEC or -1
0
equivalent)
IC5-78L05 low -power 5 -volt reg- 011
ulator
D1, D2-1N748A 3.9 -volt Zener di- ILI ISOM
ode k-O\-
D3, D4-1N759A 12 -volt Zener di- 0014/)11/1/ 4
ode
LED1-light-emitting diode, any
11
0 "
color
Q1 -2N4401 NPN transistor
Other components
MOV1-130 VRMS metal -oxide
varistor
T1 -600 -ohm primary, 600 -ohm kr:1:" a (1 11.
secondary, audio transformer
XTAL1-3.58 MHz TV colorburst L
O 0 0 \O J
crystal
SOLDER SIDE of the call restrictor.
Miscellaneous: Enclosure, PC
board, IC sockets, wall adapter
(9- or 12 -volt DC), telephone cord tions when storing the num- l's in its registers. Therefore,
with modular plug, hook-up wire, bers in EEPROM, then extract the microcontroller can deter-
solder, hardware the numbers in the correct mine if a password has been en-
Note: The following items are order when reading back from tered. If a password is found,
available from Weeder Tech- the EEPROM. IC2 reads the next four num-
nologies, P.O. Box 421, Batavia, bers from ICI and determines if
Ohio 45103: Software they match the password stored
Double -sided PC board (WT- A flow chart of the operating in EEPROM. If a valid password
TCR-B)-$9.50 program is shown in Fig. 2. has been entered, the caller can
Kit of all board mounted After IC2 resets (which occurs then program the EEPROM. If
components including pre- when the phone is taken off - an incorrect password is en-
programmed PIC16C54 (WT-
TCR-C)-$25.50
hook), the chip looks for a tered, or if a mistake is made in
Pre-programmed PIC16C54 number entered from the tele- the programming sequence, an
only (P1C-TCR)-$16.00 phone. This microcontroller error tone is transmitted on the
All orders must include $3.50 for waits for a high on the DV (DATA phone line. It continues until
shipping and handling. U.S. VALID) pin of ICI, reads the 4 the phone is replaced on hook
and Canadian orders only. data lines, and then waits for a (causing a reset of IC2).
Ohio residents must add 6% low on the DV pin. The micro - If the first number entered
sales tax. controller then checks to see if from the phone is not the # key
the pound (#) key is pressed. It (indicating that a call is being
indicates a request to program attempted), IC2 stores the
use of all the memory available the EEPROM. number in one of its registers
in the 93LC46, the micro - If a # is detected, IC2 looks for and then looks for a match in
controller's software is written a password in EEPROM. Ini- EEPROM. IC2 disables the tele-
so that it will stack four num- tially, a non -programmed phone if there is a match, and
bers at the same address loca- 93LC46 EEPROM contains all then places the next number
entered in an adjacent register pin 11. The two tones are the Construction
and looks for a match making same as those generated by The circuit fits on a double -
use of both numbers stored in pressing the # key on the sided, 27/8- x 23/8 -inch printed
its registers. The process is re- phone. Upon detection of this circuit board. Artwork is pro-
peated, adding each new tone pair by the central office, a vided here for those who wish to
number to the string of num- busy signal is automatically is- make their own boards. Man-
bers stored in IC2's registers sued so that the call cannot be ufactured boards can be pur-
and comparing this string with completed. (The same tone pair chased from the source given in
numbers stored in EEPROM is also indicates an error as the Parts List. Refer to the
until either a disable condition mentioned earlier.) parts -placement diagram in
is met or the string exceeds 11 In areas where the central of- Fig. 3 and start by inserting and
characters. fice does not generate a busy soldering IC sockets for IC1
If a disable condition is met, signal when the # key is through IC3. Mount IC4 directly
IC2 outputs two tones on port pressed, the tone generated by to the board and then solder Q1
B; 1477 hertz is output on pin the restrictor will interfere with and IC5 to the board, carefully
12 and 941 hertz is output on any conversation. avoiding solder bridges be-
Notice from the flow chart tween the closely spaced pads.
that when programming the Next, mount the resistors, ca-
EEPROM, the microcontroller pacitors and diodes. When sol-
sets the bypass bit immediately dering the crystal (XTAL1), leave
after verifying that a correct a small space between the bot-
password has been entered. It tom of the crystal and the PC
then clears that bit after receiv- board. Caution: The metal case
ing another number from the of the crystal could short the
phone. If the caller enters the two solder pads together if it is
correct password and then pushed flush against the board
hangs up the phone without en- when soldering. Finish assem-
tering any additional numbers, bly by mounting the trans-
the bypass bit will be set. There- former (T1) and the varistor
fore, when the handset is (MOV1).
picked up to place the next call, After all components have
the set bypass bit will be de- been soldered to the board, dou-
tected, and the program will ble check for solder bridges on
branch to an endless loop that both the top and bottom side of
keeps the blocking action of the the board, and re -solder them if
FIG. 4-MOUNT THE BOARD In the en- circuit disabled until a reset oc- necessary. Carefully plug IC1,
closure and cut two slots in the seam of curs. Placing the handset back IC2, and IC3 into their sockets.
the plastic case for the power cord and on -hook resets the circuit. The board will mount directly
the phone cord. in a plastic enclosure available
from Digi-Key (Part No.
TABLE 1-PROGRAMMING
SR131G-ND), but it is not essen-
tial that you use this case. Be-
To Change / Enter Password: cause this unit can be operated
# - Password - - New Password -# remotely with any lbuch-Tone
phone on the phone line, you
To Disable for Next Call: might want to build the circuit
# - Password (hang up) without a case.
LED1 can be mounted to the
To Program "Block Group" Mode: top of the enclosure or soldered
# - Password -#- 1 -# directly to the PC board. Use a
Number -# - phone cord with a modular jack
Number -# - on one end and solder the red
Number -# - and green wires to the correct
(up to 248 characters) locations on the board-you can
Number -# - cut off the black and yellow
wires. After determining their
To Porgram "Allow Group" Mode: polarity, solder the AC adapter's
# - Password -# -2 -# leads to the points labeled POS
Number -# - and NEG.
Number -# - Mount the board in the en-
Number -*- closure and cut two slots in the
(up to 248 characters)
Number -# - *
seam of the plastic case for the
power cord and the phone cord.
Note: "Number" can be any telephone number (1 to 11 digits long). Figure 4 shows the inside of the
(Continued on page 110)
NIGHT-VISION
BRANCO JUSTIC and
PETER PHILLIPS
NIGHT -VISION SCOPES WERE DE-
veloped as military surveillance
devices to permit viewing en-
emy activities and aiming weap-
ons at night without revealing
the observer's presence. The
sensitivities of their principal
components, image tubes, have
been improved with fiber-optic
SCOPES
lenses, more gain stages and
better photocathodes. In addi-
tion. miniature, solid-state, ex-
tra high -voltage power supplies
have reduced their size, weight
and power needs.
Two night -vision scopes are
described in this article. One is
passive, meaning that it will
work in faint natural light, and
the other is active, meaning
that it requires supplemental
infrared illumination. They in-
clude surplus first -generation
imaging tubes. Although they
have been superseded by more
advanced devices, they will, nev-
ertheless, provide adequate sen-
sitivity for most hobbyists and
science experimenters.
The active scope will permit
police to observe suspected
criminal activity at night and
citizens to monitor their homes View a scene in near total darkness
or property without being de- with a passive night -vision scope,
tected. The scope will also per-
mit hunting, nature study, or illuminate it with infrared
marine navigation, and many
other nighttime applications. for an active scope
The active scope is suitable for
some of these activities, but the
scene must be illuminated by an siles, and "smart" bombs. tive lens, positioned at the cath-
infrared source. Neither will Night -vision systems were con- ode end of the tube, focuses the
disturb the eyes' adaptation to sidered military secrets for image on the photocathode. It is
darkness. many years. After they were de- selected for its intended ap-
The first night vision scopes classified, they could be sold as plication-long-distance or
were designed for use by for- military surplus and commer- short-range viewing. The eye-
ward observers, snipers, avi- cial versions based on the tech- piece at the anode is for viewing
ators, and tank crews. Some nology were offered for police the enhanced image. It is a sim-
that were made as monoscopes surveillance and as nighttime ple lens that magnifies the im-
to mount on rifles looked like marine navigational aids at age on the screen. It can be
the devices shown in Fig. 1; prices that often exceed $2000. removed and replaced by a tele-
others were made as bin- Both of the night -vision vision camera, camcorder, or
oculars. The most sensitive pas- scopes described in this article film camera for transmitting or
sive units are called starlight are based on military surplus recording the image.
scopes. Night -vision goggles equipment that includes both The image tubes are the
are lightweight binoculars for an image tube and optics. The hearts of the night -vision
helicopter crews that mount on parts for the active unit cost scopes. Before you start build-
their helmets. $90, and parts for the active ing one (or both), you might
Active night -vision scopes, unit cost $220. want to learn more about how
such as the one shown in Fig. 2, they work. See the sidebar en-
depend on infrared illumina- Night -vision scopes titled "Image Converter and In-
tion from sources such as lasers Figure 3 illustrates a typical tensifier Thbes."
for aiming artillery, guided mis- night -vision scope. The objec- The only electronics needed
in both projects described in
this article is a high -voltage
power supply capable of provid-
ing a typical working voltage of
13.5 kilovolts. This efficient and
compact regulated supply oper-
ates satisfactorily from a 9 -volt,
alkaline battery. The current
drain of both tubes described
here is small, so that their
power consumption is low.
The compact power supply is
built into a small plastic project
case that is fastened directly to
the surplus night -vision scope
that contains the imaging tube.
The Russian -made monocular
viewer shown in Fig. 1 is actu-
ally one half of a binocular. It is
FIG. 1-A PASSIVE NIGHT -VISION MONOSCOPE made from half of a Rus- complete with an objective lens
sian night -vision binocular with an Image intensifier tube and all optics. and an eyepiece. This assembly
includes a first -generation, sin-
gle -stage image intensifier
tube.
The active night -vision scope
shown in Fig. 2 contains a sin-
gle -stage image converter tube.
Instructions on how to make
several different low-cost in-
frared illumination sources are
described in this article.
Active military night -vision
weapons aiming systems typ-
ically include an infrared -emit-
ting laser. It pinpoints the
target for a heat -seeking weap-
on or for aiming other kinds of
guns or missiles while also act-
ing as a non -visible searchlight
for the observer (bombardier or
FIG. 2-THIS ACTIVE NIGHT -VISION SCOPE requires an infrared illumination gunner) with an active scope.
source but it works from the same power supply as the scope In Fig. 1. Various systems have been built
for use on land, in the air, or on
ANODE the sea at night.
Infrared -sensing missiles
IMAGE TUBE
and "smart" bombs actually
"home" on the IR-illuminated
target which has been identi-
fied by the observer who directs
the laser beam and watches it
with the active scope. Needless
to say, aiming and firing must
be fast because enemy gunners
with active scopes can also see
the laser illumination and take
evasive action or retaliate.
A Power supply design
Figure 4 is the schematic for a
high -voltage power supply that
TARGET will power both night -vision
. OBJECTIVE
LENS
POWER
SUPPLY
scopes described here. It pro-
duces about 13.5 kilovolts from
FIG. 3-ALL NIGHT -VISION SCOPES have objective and eyepiece lenses, an image a 9 -volt battery. The tubes draw
tube, a high -voltage power supply, and a battery. about 20 milliamperes so about
150V
0.5V- -annimmus
TAB HEAT
OV SINK
TOWARD
0 8ms 0 8ms NE2
01
SCR1
10i C2 C3 TO C8 = 22OpF TO 0.001p,R5kV
D2
9NDC
\ R1
22K P
1J 1N4007
NE1
0.0471IF
350V
D3 TO 08 = BUY509
C3 C4 CS
I Fl A NOTE 1
-1-2) )I +13.5kV
S1
NE2 OUTPUT
6.4VDC 0
C1
100$1F 01 r
2N2219A R2 SCR1
Cl 06D
22K
B1 G K
C7 C8
9i C6
R3 4.5kV 9kV
22K
L 1N914
D1
NOTES:
NOTE 2
SOUND EFFECTS MEAN BIG BUSI- Figure 1 shows the pinouts of basically a resistor whose value
ness nowadays, from those in- both the 555 and the 556, and depends on the amount of light
tended to enhance home videos the equivalent circuit of a 555. to which it is exposed. Its resis-
to silly ones for your phone -an- Positive feedback, which con- tance is inversely proportional
swering machine. In the past trols the frequency and duty cy- to the intensity of that light. In
we've run articles on how to cle of the 555 timer, is obtained bright light, the resistance of a
build very sophisticated-and from the charging and dis- typical photo -cell can drop to
expensive-sound generators, charging voltage across capaci- 100 ohms, while in darkness its
but this time we present a sim- tor C through resistors RA and resistance can easily exceed
ple novelty sound -effect gener- RB. During oscillation, voltage 500 kilohms.
ator that's sure to give you and across the capacitor changes If we use a photocell to replace
your children hours of fun. from / V CC to /3 VCC. and back
1. 3
RB (in Fig. 1), those minimum
The generator contains two again. and maximum resistance val-
photo cells that control a tone - The time it takes for the volt- ues (100 ohms and 500K) can be
burst oscillator circuit: tone is age on C to drop from 2/3 Vcc to used to calculate the range of
controlled by one photo cell and i/3 VDc is known as the dis- frequencies that can be gener-
the burst interval is controlled charge time (tD). When 1/2 Vcc is ated by the 555:
by the other. All you have to do is reached, the 555's flip-flop re- Cycle time = 0.7(RA + RB)C +
wave your hands above the pho- sets and allows C to charge (0.7 X RB X C)
to cells to generate all kinds of across RA and RB. The time it If RB is very small, the cycle time
sounds. takes C to charge to 2/3 Vcc is equals 1.4 x RB X C. If C is 0.1
known as the charge time (tC). F, the maximum cycle time
Circuit theory When that level of charge is equals 700 milliseconds to give
The tone -burst oscillator cir- reached, the 555's flip-flop sets a frequency of 0.7 hertz, and the
cuit uses a 556 timer IC and and causes C to discharge minimum cycle time equals 0.2
positive feedback to create the across RB, and then the cycle milliseconds for a frequency of
strange sounds. The 556 chip begins again. 5000 hertz.
contains two completely inde- Figure 2 shows the complete The power supply for this
pendent 555's and, in our ap- circuit for our light -controlled project should be capable of
plication, the output of one 555 tone -burst oscillator. You'll supplying between 5 and 15
controls the interval of oscilla- notice that two light -dependent volts DC, and it should be able
tion-or the burst time-of the resistors, or photocells, are to provide at least 1 amp at 5
other. used: R8 and R9. A photocell is volts. The output should never
PARTS LIST
555 , LJ , 14
DISCHARGE
All resistors are 14 -watt, 5%, un-
2 13
GROUND Vcc THRESHOLD DISCHARGE less otherwise noted.
2 3 CONTROL 12 R1-10,000 ohms
TRIGGER THRESHOLD
DISCHARGE
TIMER 1 < NOLT R2, R4-1000 ohms
-1- OUTPUT THRESHOLD RESET CONTROLNOLT 11 R3-100 ohms
TIMER 2 R5-470,000 ohms
-
4 5
RESET CONTROLNOLT OUTPUT RESET 12 R6-10 ohms, 1/2 -watt
6
TRIGGER OUTPUT
9- R7-50,000 ohms, 1 -watt potenti-
ometer
8-
GROUND TRIGGER - R9, R9-photo cells (values are not
critical)
vcc Capacitors
Vcc C1-3000uF, 25 volts, electrolytic
C2-1uF, 50 volts, Mylar
C3-0.1 pi.F, 50 volts, polyester
C4-10 ,F, 50 volts, electrolytic
5K
RA
Semiconductors
IC1-556 dual timer
Q1, Q2 -2N4411 NPN power tran-
sistor
BR1-50 PIV 1.5 -amp bridge rec-
Re tifier
Other components
F1 -1 -amp fuse and holder
S1-S3-SPST switch
5K
555 EQUIVALENT C PIC T1-120/12VAC 1 -amp power trans-
former
SPKR1-8-ohm speaker
Miscellaneous: perforated con-
struction board, enclosure, 14 -pin
DIP socket,
FIG. 1-PINOUTS OF THE 555 AND THE 556, and the equivalent circuit of the 555 timer. ware, etc.
Note: For complete operating In-
structions, set of sound reci-
OFF T1 pes, schematic, and detailed
0 120/12VAC BR1 plans for the cabinet, send $5
SI
Vcc
to John Canivan, 20 1yler Ave.,
120
VAC C.N.
POWER W Sayville, NY 11796
+5 TO +15V
INPUT
C1
F1
3000F
V, V%
1A
struction technique. The au-
R4
thor mounted the components
1K on a piece of perforated con-
R3
Lc)
1000
R2
1K R9 struction board and wired them
rn
a) point-to-point. The board,
cc
C4
speaker, transformer, switches,
2
2 10F 14 12 11 10 9 8
C3
.1
and photocells were then in-
stalled in a homemade wood
cabinet, as shown in Fig. 3. It's
550
best to mount the photocells at
Vcc
least a foot away from each
SPKR1 other so that one hand can con-
giARD
trol frequency while the other
z
w
R1
10K
C2
1F TONE # R5
hand controls the burst inter-
2 R8
470K
gp SOFT
val. This avoids having motion
S2c, BURST 63f from one hand interfere with
0.
the other hand.
FIG. 2-LIGHT-CONTROLLED TONE -BURST OSCILLATOR. Two light -dependent re-
sistors (R8 and R9) are used to create unusual sound effects. Operation
0
cc
The circuit should be used in
Li exceed 15 volts under no-load Construction room that has plenty of over-
tri conditions or else you risk dam- This project is very easy to head light, because the frequen-
56 aging the circuit. build with any acceptable con - cy and burst intervals are
hand 3 inches. Repeat the pro-
cess.
Radiation warning-Set
41
TONE/BURST switch S2 on burst
and set HARD/SOFT switch S3 to
hard. Cup your right hand 1
OFF
inch above photocell R9 and
then cup your left hand about 2
inches above photo -cell R8.
Foghorn-Set TONE/BURST
switch S2 on burst and set
HARD/SOFT switch S3 to hard.
Place your right hand on pho-
tocell R9. Place your left hand
on photocell R8.
Smoke detector-Set TONE/
BRAD BURST switch S2 on burst and
set HARD/SOFT switch S3 to hard.
Place your right hand 3 inches
VoLur-n _
above R9, and place your left
hand 1 inch from R8.
The light -controlled tone -bur-
FIG. 3-THE AUTHOR MOUNTED THE COMPONENTS on a piece of perforated con- st oscillator is basically a musi-
struction board and used point-to-point wiring. Everything was then installed in a cal instrument, and the quality
home-made wood cabinet. of sound depends on the skill
controlled by light intensity. Place your right and left hands and creativity of the musician.
The tone burst feature can be over the photocells and raise If you've ever been searching for
modified by opening and clos- your left hand (or whichever a circuit that can create special
ing S3. That either makes a di- hand is over R8) slowly. sound effects, then this project
rect connection between the Airplane starting-Set TONE/ is right up your alley.
output of the burst timer and BURST switch S2 on tone and
the reset of the tone oscillator, place your right hand on pho-
or replaces the direct connec- tocell R9 and raise it slowly. NIGHT VISION SCOPES
tion with resistor R5 for a com- Stop at 2 inches.
pletely different sound effect. By UFO landing-Set TONE/BUR- Continued from page 54
opening S2, the burst feature is ST switchS2 on burst and set
eliminated, and the pure tones HARD/SOFT switch S3 on hard. chase a suitable IR filter at most
which result can be controlled Raise your hands above your retail camera stores, or you can
by hovering one hand above R9. head and lower them slowly stack four or five layers of com-
Remember that the amount onto the photocells. pletely exposed, developed film
of light striking photocells R8 Birds chirping-Set TONE/ negatives between the incan-
and R9 is critical for proper cir- BURST switch S2 on burst and descent lamp and flashlight
cuit operation. Since the sen- set the HARD/SOFT switch S3 on lens. This film can be obtained
sitivity of photo cells can vary, hard. Place left hand 2 inches as scrap from local photo de-
you should adjust the light to above photocell R8. Spread the veloping shops. Cut four or five
the range of frequencies desir- fingers of your right hand and disks from this exposed film to m
ed. If the adjustment is not suf- wave them across photocell R9 fit inside the plastic or glass m
ficient, you can adjust the range at a distance of about 2 inches. lens cap of your flashlight.
of available frequencies by Ghosts moaning-Set TONE/ A complete kit of parts to
changing the value of timer ca- BURST switch S2 on tone and set build both of the scopes de-
scribed in this article can be ob- m
pacitors C2 and C3. the HARD/SOFT switch on soft.
Flutter your right hand above tained from the source given in
Sound recipes the photocell R9 while raising it the parts list. If you elect to buy
The following is a list of dif- up and down between 1 and 3 a surplus image tube to make a
ferent sounds you can make inches. night -vision scope from
and instructions on how to Frankenstein-Set TONE/BUR- scratch, purchase or obtain a
make them: ST switch S2 on burst and set "fast" camera lens and a magni-
Police siren-Set TONE/BURST HARD/SOFT switch S3 on soft. fying glass for use as an eye-
switch S2 on tone and raise and Raise your hands above your piece. You can then assemble all
lower your right hand between 1 head and lower them slowly un- of these parts in a suitable met-
and 3 inches above R9, once til you touch the photocells. al or plastic tube. The power
every second. Raise your left hand about 3 supply described here will
Old car starting-Set TONE/ inches and then lower it to with- power most imaging tubes, re-
BURST switch S2 on burst and in 1 inch of the switch. At the gardless of their size or country
of origin. 57
set HARD/SOFT switch S3 to hard. same time, raise your right
HAVE YOU EVER WANTED A HARD what is being said during the ing permits the two data
copy of the script from your fa- program as the words flash on streams to be transmitted on
vorite television program? Do the screen. Closed captioning is the same television channel.
you wish you could receive tran- now included in most program- Moreover, captions and teletext
scripts of important news pro- ming on the major networks. each support two different lan-
grams without the trouble and Teletext information is also guages. Therefore, the following
expense of sending for them sent by the VBI transmission. four separate data streams can
through the mail? The Text - In this mode, a decoder blanks exist on a single television chan-
Grabber will let you capture a normal programming and dis- nel simultaneously:
transcript of any closed -cap- plays other information on the 1) Captions Language 1
tioned television pro- 2) Captions Language 2
gram for the hearing 3) Teletext Language 1
impaired. All you do is 4) Teletext Language 2
connect a video source In the United States,
to the TextGrabber, Teletext and second lan-
and connect the Text- guage information is
Grabber to your normally transmitted
personal computer only during prime -time
through its serial port. programming. The Tele-
Then by running suit- text mode, for example,
able communications can transmit a pro-
software, you can cap- gramming guide listing
ture the text encoded upcoming shows that
with the broadcast TV coo.pntioin,uelnstgramnigse wsinoen: o
are closed -captioned.
signals! Note that the worlds, to seek out The second language
lextGrabber works by new tile and new
mode (Language 2)
civilizations -lo bolder,
itself, and does not re- go where no one ha, usually displays a mes-
quire a separate gone helot..
sage advising the user
closed -caption de- to switch his decoder
coder. back to Language 1 to
receive program cap-
VBI data transmission tions. The vast majority
Closed captions are of closed captioning is
added to the NTSC seen with a decoder set
television signal as se- to the Caption mode for
rial bit streams that Language 1.
occur on line 21 of the Figure 2 shows the
odd field during the format of the serial data
vertical blanking inter- in the VBI. Each "block"
val (VBI). Figure 1 shown represents a
shows the data format start bit and two seven -
in which two charac- bit characters with par-
ters are sent on line 21. ity. Several of the impor-
The text transmission tant control codes are
rate of the VBI data sys- shown. Those are the
tem is determined by
the number of VBI
lines transmitted, the
number of characters
The TextGrabber only codes to which the
lextGrabber responds.
There are other con-
trol codes that affect
per line, and the frame
rate of the television Make transcripts of your different parts of the
display of an on-
signal. For closed -cap- favorite television programs screen caption de-
tioning, the data rate coder. Those include
is: and download them to your PC. codes for italics, un-
lino characters/line x derlining, text color,
one line/frame x 30 and position. Those
frames/second = 60 KELLY McARTHUR
codes are ignored by
characters/second the TextGrabber and
VBI data transmission can full screen. Teletext is not widely eliminated from the output
deliver different kinds of infor- used in the United States, but it unless its "raw" data mode is
mation. With an inexpen- is popular in some countries in selected. The TextGrabber has
sive,settop, closed -caption de- Europe. no use for those codes. The raw
coder or a newer television set Closed caption and teletext data mode is provided in case
with built-in decoding, the transmissions both use line 21 you have an application that
hearing -impaired can read of the odd video field. Multiplex- can use them
level. The overall gain given by
100- BLANKING
LEVEL
1+ R6/R7 = 2. Amplified video
PROGRAM /7 CYCLES OF 0.503MHz is buffered to J2 by emitter -fol-
COLOR BURST (CLOCK RUN-IN) lower transistor Q3.
50-
TWO -7 BIT + PARITY ASCII
Unbuffered video is sent to
z 25- CHARACTERS (DATA) ICI, an LM1881 sync -separator,
w
20- which extracts timing informa-
wcc
G. _
1.1'' START BIT
tion from the video signal. The
-20- 11.4-- 12.910p 33.7464p following signals are extracted:
CSYNC (composite sync), VSYNC
!!
(0.20H) (0.53H)
kr- 3.972ps
-40-
27.452ps (0.06H)
(vertical sync), BURST (color -
(0.43H) burst), and EFIELD (even video
10.074ps 51.2680
(0.8H)
field).
(0.16H) 1'4
61.342p
CSYNC is applied to one-shot
(0.965H) IC2-a, set to around 45 microse-
conds, and then to IC2-b, set to
FIG. 1-CLOSED CAPTION DATA FORMAT. Captions are added to the television signal around 10 microseconds, to fil-
as serial bit streams that occur on line 21 of the odd field during the vertical blanking ter the serrations out of the
interval (VBI). composite sync signal and pro-
vide a clean horizontal sync sig-
END OF CAPTION CODE
PREAMBLE CODE
(SENT TWICE)
nal i-y---Nc) for the counters.
(SENT TWICE) TEXT (UP TO 32 CHARACTERS PER ROW)
The BURST signal from the
sync separator momentarily
closes analog switch IC7 during
the colorburst signal, which ap-
plies the video signal to the
sample -and -hold circuit formed
by R19, C28, and IC8. The time
constant of R19 and C28 is slow
S b1 b2 b3 b4 b5 b6 b7I P b2 b3 b4 b5 b6 b7 P
b1
enough to filter out the 3.58 -
MHz color subcarrier present
during the burst. As a result,
START CHARACTER 1
PARITY
BIT
CHARACTER 2
PARITY
BIT
C28 maintains a voltage equal
BIT
to the black level of the video
signal. Diode DI is biased to
provide a reference voltage
equal to the voltage drop across
- PREAMBLE CODES the diode that tracks the varia-
CHARACTER 1 tions in the black level. A voltage
11 H - 14H PRIMARY LANGUAGE divider consisting of R29 and
19H - 1CH SECONDARY LANGUAGE R30 provides a clipping level
CHARACTER 2 about 0.3 volt above the black
20H CAPTION DATA START
level as a reference to the com-
2AK2BH TELETEXT DATA START parator IC5. Digital data is then
extracted from the video and
END OF CAPTION CODES sent to the inputs of the shift
CHARACTER 1 registers shown in Fig. 5.
11H - 14H PRIMARY LANGUAGE
Positive -going HSYNC pulses
19H - 1CH SECONDARY LANGUAGE are applied to the input of IC3, a
CHARACTER 2
74HCT4046 phase -locked loop
2DH CARRIAGE RETURN
(PLL) IC. This PLL contains
2FH END OF CAPTION both an edge -triggered phase
comparator and voltage -con-
FIG. 2-VBI SERIAL DATA. Each "block" as shown represents a start bit and two trolled oscillator (VCO). A low-
seven -bit characters with parity. pass filter consisting of R13,
R14, C27, and C42 smoothes
TestGrabber hardware output jack is left unconnected. out the phase error signal and
Figure 3 shows a simplified Relay RYI bypasses the buffer applies it to the input of the
schematic of the TextGrabber. A when the unit is turned off. VCO at pin 9. The output clock
baseband video source such as The video buffer and PLL sec- signal is sent to counter IC4,
a VCR is connected to JI. The tion is shown in Fig. 4. Video is which divides the signal by 32.
video signal is terminated on decoupled by capacitor C39 and A reference signal is then fed
the TextGrabber, and a buffer then buffered by an amplifier back to the second phase -com-
drives the video back out to J2. formed by QI and Q2. Resistors parator input, closing the loop.
No termination is required if the R3 and R4 set the input bias This response sets the operat-
ing frequency of the PLL to 32 (shift -register clock) of the shift line 21 of the video signal is
times the video's horizontal fre- registers, which causes them to present, and the EFIELD signal
quency, or 504 kHz. sample the data and shift it that indicates that the odd video
The digital data stream from through the registers. field is present. The PAL then
the comparator is sent to a pair Programmable array logic asserts the RCLK signal that
of serial -to -parallel shift regis- (PAL) IC9 decodes the five bits causes IC10 and IC11 to latch
ters, IC10 and IC11, in Fig. 5. from counter IC4. It also detects the data in the shift registers on
The regenerated 504 -kHz clock a signal from the micro - the particular clock cycle when
signal (Ti)32 drives the SRCLK pin controller that indicates that the two bytes from the sampled
J1
RCA
VIDEO IN
J2
RCA
3 VIDEO OUT
R1
4 4
750
9
8
VIN 4-5
4 +5V
VIN R2
VOUT 7512
VOUT SHIFT REGISTERS 10
SDATA
SDATA SDATA (FIG'S) RY1
32H MICROCONTROLLER
32H 32H
(FIG.6)
32H P(0..7) PORT BUS 8031
VIDEO BUFFER P(0..7) 4 P(0..7) P1
(FIG.4) SYNC BUS
A(0-16) ADDRESS BUS RS232
S(0..4)
S(0..4)
S(0..4)
A(0..15) 4 A(0..15)
FEMALE 01326
D(0..7) DATA BUS 13 "...%
COUNTER REG BUS D(0..7) 4 D(0..7)
26
0
R(0..4) 1(0..7) I/O BUS 12
R(0..4) R(0..4) 1(0.3) 1(0..7) O
24
11
23
0
t0 0
V 22
16
C31
10F
1
C1+
"CC
2 -0
21
8
20
C1- V 0
11 RDATA 11
9
C34 0
T1IN IC16
10 TDATA 12 10F
R1OUT MAX232 18
CTS 6
T2OUT 0
C2+ 17 0
C32 RTS 4
R2IN O
10pF 16
6 0
C2 14 RD 3
10 T1OUT 0
T21N 16
0
13 2
R2OUT R1IN 0
14
GND
J3
POWER IC18 11;6
7.5VDC LM7806
1 3
IN OUT +sv
2 C37 C160
GND
3 47F C25 C38 0.1
. V
AGND v-EE Vss
R130
D1 13K
14t147-a
IC5
SDATA
1N41411 2
Re 1/4 CD40116
4700 VIDEO 4
WF I WivC4L
71 1,13 18K
R7
4700 V' RIOS
AGND
81 g 8j if vonio3
R3 R18
C28 IC3
43K AGM) 2K
IC8-d 0.1 Luxe 74HCT4046
18
C22 R13
ye 74H014
V 270pF 4700
AGND C1A PC2 VV!
+5V IC2-a PULSE
C19 R14 C27
1/2 74HC221 C1B
"Pt 0.1 18 PC1 2400 0.22
491A, R1 15
3 PC3
EN R11
22 100K R10 10 t R12 C42
A DEMOD 7' 560K
100K 12
2.2pF
-45s
47K
15 V4 R2
5 VCO IN
INH
14
C 14 4 +61/
K 13 SIG IN VCO OUT
020 4
C V
0.001
33
t
IC1 CY H 32H
LM1881 10
A
VIDEO CSYNC S3 3-2-IH32H >
CSYNC EN 011
VSYNC
VSYNC 82
IC2-b R16 -c CLK
10
07
2
4
R(0..4)
Si 1S R(0..4)
BURST 1/2 74HC221
10K Q8 06
BURST 3
EFTBD SON 12 05
09
FIELD 14 5 R3
C21 04
-10ps 010
RSET 0.001 R2
16
6 all 03
R1
1 7
012 Q2
C17 12 HSYNC 11 RO
0.1 "4 RST 01
84
IC4
74HCT4040
S(0.A)
V S(0..4)
AGM
FIG. 4-VIDEO BUFFER AND PLL. Video is decoopled by capacitor C39 and then
buffered by 01 and 02.
video "line up" with the two - code, but jumper J4 permits put 0. When the vertical sync
byte wide registers of the larger EPROMs, such as a signal is detected, the internal
74HC595s. 27512 to be substituted. Pro- counter starts counting down
The microcontroller now has grammed EPROMs and PALs from 21. When it reaches zero,
a delay until the next odd field are available from the source the processor toggles Port 1, Bit
arrives to retrieve the data. The given in the Parts List. The 0 (pin 1) high, so that IC9
PAL also decodes some of the source code can be downloaded latches the shift register data.
microcontroller's address lines from the Electronics Now BBS Firmware running on the 8031
to map the shift register's read (516-293-2283, V.32, V.42bis) then extracts the captions from
ports into the microcontroller's as a file called TEXTGRAB.ZIP. the data stream and sends them
external memory. The microcontroller tracks to the serial port at 9600 baud.
The firmware for the 8031 mi- the video timing by monitoring A MAX232 chip (designated as
crocontroller is contained in vsyrvc, which is connected to IC15 in Fig. 3) provides the
EPROM IC14 (see Fig. 6). A 2764 External Interrupt 0, and HSYNC proper 10 -volt levels needed
has enough memory for the which is connected to Timer In- for RS -232C.
+54
t16
IC10 D(0..7)
GA 15
OB
07
De
/
32H
5-2i4 > 11
YSRCLK QC
2 05
HSYNC 100 04
SRCLR OD
32H 4 D3
OE
RCM
B1EN
12
130
RCLK
O
OF
QG
OH
8
7
D2
01
DO
/
OH'
+5V
1'18
1C11
74HC596
14 D7
SER OA 15
De
OB
+5V 32H 11 D5
DSRCLK OC
HSYNC HSYNC 10-0 D4
SRCLR OD
120 OE 4 D3
IC9 RCLK 12
> RCLK OF 5 02 /
32H 1
11
G AL 1
01 319 RCLK
BOEN 13
0 OG 6 DI /
S4 HSYNC 2 318 gi'.50Z OH
12 02
so EFIELD 3 317 MEN OH'
13 03
L21 MEN
4
14 04 315
R4 5 15
05 315 AO
+54 +5V
S(0.A) 03 6
16 06 14 A14
R2 7 A16
17 07 313 033
P(0..7)
RI
RD
8
9
18 08 ---
12 22011
10 CAPTION POWER
19 LED1
RD 11 DETECT
R(0..4)
17
110
\N.
1E02
AD 4PS 05
1(0.. 7) R27 2N3904
A14
< 1(0 7) ) 10K
A15
A(0..15)
15) +6V +5V +5V
rA(0
CAPTION LANGUAGE FILTER
TO
MODE
\12 INTO
MODE MODE
\ P6 LANGI
LA P7 CAPMODE
rn
NP4 gC 03
cn
SO EFIELD 6
S3 2
5 ; 5
'S3- I
S4
4
3 S2 VSYNC 6
2
3 S4 HSYNC
FIG. 5-THE DIGITAL DATA STREAM from the comparator Is sent to a pair of serial -to -
parallel shift registers, IC10 and IC11. PAL IC9 asserts the RCLK signal that causes IC10
1 and IC11 to latch the data In the shift registers.
2 Construction make your own board, be aware diagram in Fig. 7. If you have
LA,
A printed circuit board is rec- that there are several vias on the made your own double -sided
ommendedfor the construction board where copper traces must board, be sure to solder all of the
of the 1BxtGrabber. You can fab- jump from one side of the board component leads on both sides
c2) ricate a PC board yourself from to the other. Short lengths of of the board because many of
iE the artwork provided in this ar- bare copper wire must be inser- the traces depend on compo-
tide, or obtain an etched and ted and soldered on both sides. nent pins to provide a connec-
Lij drilled board from the source Install the components as tion from one side to the other.
62 given in the Parts List. If you shown in the Parts -Placement Also, install a wire jumper in
J4
CON3
JUMPER FOR JUMPER FOR
27512 I 2764, 27128
tl 2
li VCC
20
+5V
281
+5V S
140
IC12 IC13 IC14
8031 7414C7573 27128
/N\ DO 2 19 AO 10 AO 11 DE,/
1
MVP P0.0 39 DO
D1 01 00
C23 38 DI /-*\.D1 3
02 18 Al 9
Al 01
12 DI /
P0.1 D2
22pF 02 /11
9 po2 37 02 II212 03
17 A2 8
A2 02 13
D3
RESET
--)1 XTAL1
X
P03 36 D3 /'\D3 5
D4 04 16 A3 03 15 D3 /
VCC
1=3 11.052MHz
T P0. 4 35 04 /\04 05
6
05 15 A4 6
A4 04
16 D4 /
C24 PO5 34 05 /\\ D5 7
D6 06 14 AS 5
A5 05
17 05
22pF
P0.6
33 D6 /N126) D7 07 13 A6 4
A8 06
18 D6 /
D2 R24
10K 2 P0.7
32 07 D7 9
D8 08 12 A7 3
Al 07
19 077
1N4148 13 RST
RESET 11 A8 25
9 C A8
IC6-1 24
21 A8 10 A9 A9
1/6 74HC14 P2.0 OC
C31
22 A9 Al 0 21
S1 10F P2.1
A10
tr. All 23
12 INTO 120
INTO P2.2 23 A10 All
130 All Al2 2
Al2
INT1 P2.3 24
6
14 TO 14 25 Al2 A13
TO P2.4
20
15 A13 CF
Ti P25 26
22
A14
P2.6 27 OE
A15 27
P27 28 PGM
PO
P1.0
VCC. VPP 14,
-/ P1 2
P1 1 RD
17 RD 17
3
P12 WR
16 WR I6\
/P3 4 PSEN
P1.3 PSEN 029
5
P1.4 ALE/I5 30 ALE
/P5 PI 5 TXD
11 RDATA
D(0..7)
/P6 7 RXD
10 TDATA 10\ DO 7) >
P1 6
/ 8
P1.7
20
74.
A(0..15)
P(0 7)
A(0. 15) >
P(0. 7) >
1(0..7)
1(0..7) >
any through holes that don't PARTS LIST C19, C28-0.1 F, 25 volts, Poly-
All resistors are 1/4watt, 5%. ester
contain a component lead. (Cir- C20. C21-0.001 F, 25 volts, Poly-
cuit boards purchased from the R1, R2-75 ohms
R3-43,000 ohms ester
source in the Parts List have C22-270 pF, 25 volts, ceramic
plated through -holes so that R4-56,000 ohms
R5-3000 ohms NPO
step is unnecessary.) Figure 8 R6, R7, R13-470 ohms C23, C24-22 pF, 25 volts, ceramic
shows the completed PC board. R8-680,000 ohms NPO
R9-47,000 ohms C27-0.22 F, 16 volts, tantalum
Checkout R10, R11-100,000 ohms electrolytic
Connect a serial cable be- R12-560,000 ohms C31-C34, C41-10 !IF, 16 volts,
tween the itxtGrabber and a PC R14-240 ohms Tantalum electrolytic
that is running a communica- R15, R24, R27-10,000 ohms C35-C36, C43-47 F, 16 volts,
tions program. The software R17, R18-2000 ohms Tantalum electrolytic
should be set to communicate R19-270 ohms C37-220 F, 25 volts, electrolytic
over a direct connection at 9600 R20, R28, R33-220 ohms C38, C39-22 F, 16 volts, tan-
bps. Then connect a "clean" vid- R22-1000 ohms talum electrolytic
eo source to the video input con- R26, R31, R32-4700 ohms C42-2.2 F, 16 volts, tantalum
nector. Apply power to the R29-18,000 ohms Semiconductors
TextGrabber; the message R30-13,000 ohms D1, D2 -1N4148 diode
"<READY" will appear on the Capacitors LED1-green light -emitting diode
screen. This indicates that the C1-C15, C29-0.01 pt.F, 25 volts, LED2-red light -emitting diode
microcontroller is up and run- monolithic 01, Q3, Q5 -2N3904 NPN tran-
ning. If no video source is de- C16, C17, C25-0.1 F, 25 volts, sistor
monolithic Q2 -2N3906 PNP transistor
tected, the TextGrabber will also IC1-LM1881 sync separator
send "<NO VIDEO SIGNAL" to C18, C26, C29, C30, C40-not
used IC2-74HC221 multivibrator
the terminal.
C9
J1
VIDEO IN RY1
111 R5 1
1 ) IC7
R3 R6
I R4 R7
J2
rc'si )
VIDEO OUT ..0011.111411,1
1C10
C29 42 I R 8 ikR 9 1 R29 ;Y- J4
1
S2
C36 ) Ica ) IC5
F120
11
1
11) t'sj
D1 R30
-C14-
R17 C28
-R22-- R26 --.
P1 F19- C -Of -R32-
1
- R31---
C2 ) IC2
IC34 1 "."'
R2J._
LED1
1C32
-C13--
C42 C27 ---R28----
IC15
(C31 -R14 - CO5
-C3 - R13-
1
C15
1-1
(C33
-R12- -C12-
+ C35
-R10- C22
-R11 --
S1
-14-02-
-R24- jC41 -C9- -R27-- C24 C23
IC16 XTAL1
NMI -C6- ex,<ity
J3 C37 C38
LED2
) IC6
POWER -C25-- -C16- C43
-R33-
FIG. 7-PARTS PLACEMENT DIAGRAM. If you make your own double -sided board,
solder all of the component leads on both sides of the board, and install a wire jumper
In any through holes that don't have a component lead in them.
)411111
Moo I
II
Oa
it "III
..1 7 17:
O
s (I)
1 :11.
INCHE 41:4
f- -1
Cri
COMPONENT SIDE of the TextGrabber PC board. SOLDER SIDE of the TextGrabber PC board. 65
5(088
ELEL,1KONIC
ANTENNA OR CABLE
RF INPUT
RF OUTPUT
COMPONENTS
TELEVISION
Whether you order 1 part or
all 50,388...MOUSER stocks C3=1:ZITO MIME
OR
and...ships same day!! VCR
MOUSER' RS232
ELECTRONICS igzarasimist,
Sales & Stocldng Lomb= Natiorsside
CIRCLE 17 ON FREE INFORMATION CARD COMPUTER TERMINAL
Invest FIG. 9-TYPICAL TEXTGRABBER SETUP. The program being transcribed can be
viewed either on a television connected to the VCR's RF pass -through, or on a video
Save
a bundle
For the price of a stamp, you can get the latest
edition of the federal government's free
Consumer Information Catalog. It lists more
than 200 free or low-cost publications on federal FIG. 10-THE TEXTGRABBER can be built in a compact cabinet.
benefits, jobs, health, housing, education, cars,
and more, to help you save money, make For best results, the Text - recorded on videocassette
money, and spend it a little more wisely. Grabber requires a clean video tapes. However, be sure that you
source. Like any other telecap- record tapes intended for use
So stamp out ignorance with our free Catalog. tion decoder, characters will be with the TextGrabber at your
Send your name and address to: dropped and text will be garbled VCR's fastest tape speed (SP).
as the quality of the video signal and be sure that you have high -
Consumer Inforniation Carter degrades. quality tapes for optimum video
Department SB The TextGrabber will work viewing and closed -caption de-
Pueblo, Colorado 81009 with programs that have been coding quality.
(0
im)
DO YOU WANT RELIEF FROM THE MO- ROGER SONNTAG an operational amplifier and a
notonony of routine activities network of external compo-
that get you down-daily com- and infinite space that is said to nents. Three other circuits sim-
muting, your job, or those have existed before the universe ilar to that shown on the left
pesky chores that you must do was ordered. In short, it's the side of the diagram all feed the
every day? What you need is a opposite of orderly and predic- same common bus. The
little chaos in your life-safe table. summed output of all four os-
and controlled, of course-at Figure 1 shows one Bonker cillators provides a variable
desktop scale. How do you do setup. Small wooden balls on pulsed drive signal for the
this? Build the Bonker and go a the end of wire springs are sent MOSFET gate.
little crazy watching its bounc- into wild gyrations by oscillat- The MOSFET is in series with
ing ball whirl and spin in ran- ing solenoids whose motion is the solenoid's coil. When the
dom loops. Then you'll be ready controlled by a four -stage pulse MOSFET conducts, current
to return to your dull routine. generator. It's a fascinating and flowing in the coil causes the
Unlike a clock pendulum or eye -riveting gadget that will evo- solenoid shaft to oscillate back
that executive toy with all its lit- ke a lot of comments when it's and forth within a limited an-
tle suspended bearings that running on your desk. gular sweep. Solenoid oscilla-
clatter back and forth, Bonker's tion is controlled by the
action is completely unpredicta- How does it work? summed output of the four os-
ble. And you can turn it off Figure 2 is a simplified sche- cillator stages.
when you've had enough chaos matic showing only one of the The op -amp shown in Fig. 2 is
for the day. Chaos is defined as four pulse oscillator circuits IC1-a, one of four op -amp cir-
extreme confusion or disorder that drive the rotary solenoid. cuits in a quad LM324 shown in
and the kind of formless matter Each oscillator is formed from Fig. 3, the complete schematic.
Each of the four op -amp -based
oscillators is identical except for
different values of their charge
+V
R1 C
47K 7
R27
27K
J-
R6
180K
t7 R7
1K
Ar
- R11 t
150KVN
R25
47K 4.
4)44
R28 *
27K
*--314A
R2 = 01 D3 D5 R24
1K IC1-a 1N914 IC1-b = 1N914 IC1-c = 1N914 1K
ICI -d Z 1N914
1/4 LM324 1/4 LM324
1/4 LM324 1/4 LM324
2 C2 C3 C4 +v
330F 6- 330PF + 9
tgeep IS 4
C1 2Ic+
330F sir3 + 5+ vp. 0 12%f11Ll
R4 R3 1/
LED1
R9
%
Re
44
LED2
R14
VA
R13 'I R16
LED3
VIA
R18
100K 100K 100K 100K 100K 100K 100K 100K
R5 R19 R10 R20 R15 *iR17 P22
-
4 100K
D2
1N914
1K
+V
:70"100K
V D4 r
1N914
1K
+V
1.=
100K
06
1N914
R21Ki
+V
V 08 r
1N114
1K
C
01
R23
4.7K
+12V -4-0"..0-40--0 +V
C5
3311F
FIG. 3-SCHEMATIC FOR BONKER SOLENOID drive circuit. Four oscillator stages are
formed from a quad LM324N op -amp IC. LEDs provide a visual indication of the pulse
output of each stage.
D *
0 02 S
O SOLI
*
TO -220 FIAT ON PCB
-05-
7.1
R2S-
DE _401
TO 120VAC
118 I TR124 C4 TO 12VDC
R18 ADAPTER
91 I 4
13 I
I
R9
11;7
R28 S1
R27 R15
I R6
IB R13 R25
-
R11
RI tRr 1 18
03
-OH 4
-4D5*
D6
I I
D4
*
1
C2 C3
TT R1
FIG. 4-PARTS PLACEMENT DIAGRAM for Bonker drive circuit. Bend the leads of
MOSFET Q2 so It Iles flat on circuit board.
01140
TO -220 package will lie flat on
the board when the leads are in-
serted in the proper holes of the
board.
Insert trimmer potentiome-
ters R27 and R28 and the four
light -emitting diodes (LED1 to
LED4) as shown in Fig. 4, but
45.0 do not twist their leads to clamp
- them. Now solder the leads of
the second group of compo-
nents inserted.
O O
Carefully file or trim off about
one-third of the width of each of
k 4 15/10 MKS 4 the four flat terminals of slide
FOIL PATTERN for Bonker drive circuit board. switch S1 uniformly so that they
can be press fit in the assigned
Then insert the radial -leaded holes in the circuit board. In-
TABLE 1 aluminum electrolytic capaci- sert the switch in the circuit
OSCILLATOR STAGE tors (C1 through C5) observing board and solder it.
PULSE FREQUENCY their polarities, as shown in Identify the plus ( + ) and ( - )
Fig. 4. Bend their leads inwards wires of the DC output cable of a
Oscillator Pulse Limits 120 VAC to 12 -volt, 1 ampere,
Stage (Seconds)
to clamp them to the board.
Then insert all diodes (DI DC -regulated adapter, cut off
1 4-10 through D5), again observing the coaxial jack, and trim the
2 20 + 20% the positions of their anodes, as insulation back on the two
3 26 + 20% shown on Fig. 4. Bend their wires. Insert them from the
4 4-10 leads to clamp them in position. component side of the board in
Solder all of these components the ( + ) and ( -) positions
to the circuit board, but do not (marked on the foil side of the
of the components to the circuit trim the leads at this time. board), and solder them in posi-
board by inserting all fixed re- Next, insert transistor Q1 and tion. Trim all excess lead
sistors (R1 through R26) in the bend its leads to clamp it tem- lengths close to the board.
board as shown. Bend their porarily. Bend the leads of Note: The circuit and solenoid
leads together to clamp them in power MOSFET Q2 at right an- can be run from a battery pack
position close to the board. gles so that the heat sink of its consisting of eight 1.5 -volt C or
BEND WIRE PARTS LIST
All resistors are 14 -watt, 10 %
WOOD OR R1, R25-47,000 ohms
PLASTIC BALL
W/CENTRAL HOLE
R2, R7, R12, R12, R19, R20, R21,
R22, R24-1000 ohms
R3, R4, R5, R8, R9, R10. R13, R14,
R15, R16, R17, R18-100,000
SPRING WIRE ohms
R6-180,000 ohms
R11-150,000 ohms
R23-4.700 ohms
WOUND COIL R26-2000 ohms
R27, R28-25,000 potentiometer,
slide, PC mount, Slide-Trol 112 or
DETAIL A
BALL - SPRING ASSEMBLY equiv.
Capacitors
C1-05 -330F, 25 VDC, alumi-
num electrolytic, radial leaded
. Semiconductors
01-D8 -1N914/4148 silicon switch-
SPRING ing diode, 75 PIV
HOLES (4) LED1-LED4-light-emitting diode,
red, T-13/4 package
11/2" MILL RECESS
(2) SEE TEXT
Q1 -2N2222 silicon transistor,
Motorola or equiv.
02-IRF9Z20 power MOSFET, N -
channel, TO -220 package, Inter-
national Rectifier or equiv.
ICI-LM324N quad operational
DRILL THRU 3/4 amplifier, 14 -pin DIP, National
vie" CLEAR **"*"-,6):"' Semiconductor or equiv.
Other components:
DETAIL
SECTION VIEW OF DETAIL C
SOL1-rotary solenoid, Ledex
SOLENOID SHAFT SOLENOID/PC SUPPORT 188687-001 or equivalent.
ADAPTER BLOCK POST (SECTION VIEW) S1-slide switch, SPST, 5A, PC
(1/4" THICK PLASTIC) (r THICK HARD WOOD) mount
Miscellaneous: Wood or plastic
FIG. 5-DETAILS OF MECHANICAL PARTS: ball -spring assembly (Detail A); solenoid base (see text); wood ball, 3/4
shaft adapter block (Detail B); solenoid/PCB support post (Detail C). diameter; steel spring wire (0.018
in.), 15 inches long; solenoid/cir-
D alkaline cells, if you prefer not from the ends of the two sole- cuit board mounting bracket (see
to run it from an adapter. noid wires. insert them in the text); 120 VAC to 12 VDC, 1 A,
'Run on switch Si to apply holes as shown on Fig. 4. and regulated wall -outlet adapter;
power. All of the LEDs should solder them temporarily in posi- round or pan head wood screws;
turn on and then go off. Then tion to check the drive circuit's insulated hookup wire; solder.
illumination patterns will be es- operation. Note: The following options are
tablished: LEDs 1 and 4 will When Si is switched back on, offered by General Science
turn on every 4 to 10 seconds the shaft of the solenoid should and Engineering, P.O. Box 447,
and continue to repeat that cy- oscillate back and forth over a Rochester, NY 1 4 5 6 0 3,
cle, and LEDs 2 and 3 will turn 716-338-7001
limited angular sector. Check to
on every 15 to 25 seconds and see that a LED lights whenever Printed circuit board -87.50
repeat that cycle. After you have the shaft oscillates. This re- Bonker kit including printed
verified this, turn off switch Si. circuit board, all electronic
sponse verifies that the circuit components, rotary solenoid,
Place the rotary solenoid with is operating properly. spring wire with coil, and wood
its shaft side down and find the sphere-$38
end of the spring that is coiled Special mechanical parts Finished Bonker ready to op-
around the back end of the shaft Refer to mechanical detail erate-$89.00
within a slotted enclosure. With drawing Fig. 5, Detail A. Se- Alternative wood bases and
needle -nose pliers and a small curely clamp the 3/4 -inch diame- solenoid mounting posts:
screwdriver, pry up the end of ter wood ball in a vise and pine -89.50; veneer-$12.00;
the spring and re-insert it two carefully drill a hole through its oak -816.00; ceramic insulator
places to the left (counterclock- center with a No. 60 drill bit. and oak base-$16.00
wise). Releasing the spring ten- Clamp the end of an approxi- Money order, Visa, or Master
sion permits the solenoid to be mately 15 -inch length of 0.028 Card accepted. Add $3.00 S&H.
operated from a 12 -volt source. steel piano wire in a vise and New York State residents add
Strip the insulation back wrap the other end of the wire local county sales tax.
from one end (as shown) so that
it can be press fit over the rotary
SOLENOID solenoid shaft. Push the block
BALL &
SPRING
onto the shaft and mark the
(SEE DETAIL ends of the cross -pin on the sur-
SOLENOID
A, FIG.5)
MOUNTING
face of the block.
SCREWS (2) Remove the block and cut or
mill out short slots on both
SHAFT sides of the hole so that the
ADAPTER
(SEE DETAIL
cross pin and shaft will seat se-
B, FIG.5) curely in the block. With a 1/16 -
inch diameter bit, drill four
SOLENOID/PC small holes in the block in a
BOARD SUPPORT
POST (SEE
square pattern, and set it aside.
DETAIL C FIG.5) Refer to Fig. 5, Detail C. A
supporting post that is fastened
to a base board is suitable for
mounting both the solenoid
and the apex of the circuit
board. The general dimensions
for a post are shown in the de-
CIRCUIT
BOARD
I POST
MOUNTING
SCREWS
(2)
tail. It is suggested that it be
made of wood that is hard
enough so that it will not split
when drilling the holes in it and
fastening the base and circuit
board to it.
The general outline of the
post can be changed to suit your
taste, but it has some critical
dimensions: the size and spac-
SUPPORT BASE
(SIZE OPTIONAL)
ing of the drilled and counter-
sunk holes for mounting the
solenoid, the spacing between
FIG. 6-ASSEMBLY DIAGRAM: The support base can be round or rectangular pro- the drilled holes for mounting
vided it is thick enouugh and has an area larger than about 30 square inches so It will the circuit board to the shelf,
be stable. and the width and depth of the
notch for accepting the end of
about eight times around a 1/8 - the solenoid. You might want to
inch dowel to form a coil spring paint or varnish this post before
with the aid of pliers. (Expect assembling it to a base.
the diameter of the coil to ex-
pand after releasing tension on Beaker Assembly
it.) Refer to the mechanical as-
Insert the free end of the sembly drawing Fig. 6. The
spring wire in the hole drilled bonker must have a suitable,
through the ball, and then bend sturdy base. This can be cut
about 1/4 -inch of the end of the from wood or plastic in a round
wire back on itself and push the square, or rectangular shape
bent end back into the drilled but should be large and heavy
hole to assure a secure press fit. enough to provide a secure sup-
Note: It is important that the port for the solenoid and circuit
ball be fastened securely to the board. (A minimum of 40
wire so that it will not fly off square inches of material that is
when the solenoid is oscillating. at least 3/4 -inch thick is recom-
If you want to paint or spray the mended.) Again, you might
ball with bright red or yellow want to paint or varnish the
enamel to make it more conspic- base before proceeding.
uous, this a good time to do it. Drill and countersink two
Refer to Fig. 5, Detail B. Cut a holes near the edge of the base
rectangle measuring 11/2 x 3/4 - with the same spacing as the
inch from 1/4 -inch thick hard THE BONKER CAN BE BUILT in many
matching holes in the base of
plastic and file the edges different configurations with a choice of the support post (Detail C, Fig.
smooth. Drill a 3/16 -inch hole base styles and materials. This one Is 5). Fasten the post to the base
through the block 1/2 -inch in designed to drive cats wild. (Continued on page 104)
Motorcycle Circuits
CHARLES D. RAKES
END
03 01
IRF811
CAP S2*
MERCURY
SWITCH
SPARK
PLUG *SEE TEXT ---zz
Fig. 4. Feel safer with this alarm circuit. When you're away,
S3 makes sure no one touches your bike,. when you're on it,
S2 doubles as a panic switch.
end cap over the spark The simple burglar -alarm S Mercury switch
plug on the cycle and circuit shown in Fig. 4 will Wire, solder, 1C socket, siren, etc.
you're ready to go. Open S1 only cost a few bucks to 73
AUTOMATIC
RECHARGEABLE
FLASHLIGHT
Build this combination
rechargeable emergency
light/flashlight with a bright,
high -efficiency LED lamp.
A BRIGHT LIGHT EMITTING DIODE MARC SPIWAK
(LED) with a rechargeable bat-
tery and recharging circuitry in A flashlight with a high -in- cause each cell has a nominal
one module and a step-down tensity LED lamp would proba- output of 1.2 volts, four cells in
transformer for battery recharg- bly not be your first choice as an series provide about a 4.8 -volts.
ing in a second module form illumination source for explor-
this unusual combination ing under the hood of your car Flashlight module
emergency light/flashlight, the at night to find out why it wont't Figure 1 is the schematic for
subject of this article. The LED start. Moreover, you'd probably the flashlight module. When the
in the portable module turns on find the light inadequate for battery pack consisting of the
automatically when it is re- searching for lost objects or four Ni-Cd cells is fully charged
moved from the transformer summoning help at night. (and there is no voltage at J1),
module. Its light source is a However, it will provide 4.8 -volt DC flows through trim-
high -intensity, aluminum gal- enough light for you to read a mer potentiometer R2, the nor-
lium arsenide (AIGaAs) LED roadmap or find the circuit mally closed contact of relay
that can beam a saucer -sized breaker that kicked out, RY1, and push -on, push off
red spot on a wall three feet darkening your house. It might power switch Si. 11-immer R2
away. also help you find your way limits the current flowing
The Hewlett-Packard around a campsite, or even through LED1. Switch Si can
HLMP-8150 red, T4 -size LED change a tire at night. turn LED1 on and off when the
lamp emits a typical intensity of The LED flashlight module is battery is not being charged.
15 candelas (cd) at 20 milliam- powered by four AA nickel -cad- (The trimming function of R2
peres. (This compares with mium (Ni-Cd) power cells. Be- will be discussed later.)
about 4 millicandelas (mcd)
from a typical gallium arsenide COAXIAL
phosphide (GaAsP) red T13/4 - JACK
+5V
size LED lamp.) See the sidebar J1 IC1 0
12.6
"What is a candela." VAC
LM7805 3 02
The forward voltage of the INPUT C 2 1N4001
LED is only 1.85 volts. It offers C1 C2 03
longer life and lower power dis- 33t.LF
33pF T 1N4001 9RY1
sipation and cooler operation
than an incandescent lamp, the 01
1
(637-nanometer) wavelength
will not disturb the eye's adapta- FIG. 1-SCHEMATIC FOR FLASHLIGHT MODULE. When relay RY1 is energized, it cuts
tion to night viewing. the power to the LED; when power to the relay is removed, the LED lights.
If 12.6 -volts AC is present at totype are 33 I.LF, but they are voltage taken from a 120 -volt AC
J1, it is full -wave rectified by not critical values. Any capaci- outlet is transformed to 12.6 -
bridge rectifier BR1. Capacitor tor from 20 to 40 p.,F would volt AC by transformer T1. The
Cl smooths the rectified AC rip- work. line cord is terminated with
ple. Five -volt regulator ICI, a Na- When the relay is energized, plug PL1, and the 12.6 -volt AC
tional Semiconductor LM7805, AC power from J1 flowing appears at coaxial power plug
provides the 5 -volt DC output. through D1 is half -wave rec- PL2. The plug mates with coax-
This output, sustained by C2, tified to form a pulsed -DC out- ial jack Jl on the flashlight
energizes the coil of relay RY1, put for charging the Ni-Cd cells. module for recharging. As long
which opens the normally Potentiometer RI limits the as the transformer module is
closed contacts. Diodes D2 and charging current to the cells. A plugged into the AC line, 12.6 -
D3 stabilize the relay. When the voltage of 12.6 volts is enough to volts AC appears. When PL2 is
NC contacts of the relay open, charge the 4.8 -volt battery plugged into J1, 12.6 volts ap-
power to LEDI is cut off-even if pack. pears at J1.
Si is in its oN position. The val- When the batteries are being
ues of Cl and C2 in the pro - charged, the relay is energized, Building the flashlight
inhibiting LED illumination. Refer to Fig. 3. The modular
When charging current is re- case for the flashlight measures
moved, the relay provides a con- 43/4 x 21/2 x 13/8 inches, and has
ducting path to the LED. Thus four raised round surfaces
the LED turns on whenever the molded on its bottom surface
AC -line voltage is cut off if Si is that act as feet. Sand or file
ON. these bumps flush with the bot-
FIG. 2-SCHEMATIC for transformer tom surface so they will not in-
module. The 12.6 -volt output from coax-
ial plug PL2 powers the flashlight when
Transformer module terfere with the insertion or
It is mated with Jack J1 on the trans- Figure 2 is the schematic for removal of the flashlight module
former module. the transformer module. Line from the transformer module.
Cut out an approximately 1/2 -
inch diameter hole in one end
COVER SCREWS (4) wall of the case to admit the
LED lens and a second hole in
the opposite end wall for jack J1,
SWITCH as shown in Fig. 3. When cut-
S1 ting the hole for the jack, be
sure the center conductor
rather than the body of the jack
is centered on the end wall. Drill
the two mounting holes for the
jack.
Cut a piece of perforated con-
NI -CD CELLS (4) struction board 31/2 x 21/4
BATTERY HOLDER inches to fit snugly in the bot-
R1 tom of the case. Insert the elec-
IC1 tronic components for the flash-
light on that board, and connect
RELAY R1
JACK J1
SCREW (2)
them by point-to-point wiring.
NUT (2)
Mount LED1 on the end of the
LED1 board, and solder it so that its
leads can later be bent at right
angles to permit the lens to ex-
tend through the hole in the
case. Figure 3 shows the loca-
tions of the largest electronic
components, but their loca-
tions are not critical.
Make only mechanical con-
nections to potentiometers R1
and R2 so you can later put an
ammeter in series with them to
adjust both charging and LED
CUTOUT FOR
forward current. Fasten the bat-
LED LENS - 112 tery holder for four AA cells on
the board with double -sided ad-
FIG. 3-FLASHLIGHT MODULE ASSEMBLY. The circuit board contains the electronic
components and battery holder. The LED lens projects through a hole in the case. Jack
hesive tape.
J1 is at the other end of case, and switch S1 is on the cover. Cut a hole in the plastic cover,
and fasten the push -on, push - COVER SCREWS (4)
off switch Si in position with a
CUTOU/ TO ADMIT
ring nut. Fasten jack Jl in the FLASHLIGHT MODULE
case with small screws and
nuts.
Complete all of the wiring to
the switch S1 and jack Jl ac-
cording to schematic Fig. 1, al-
lowing enough slack in the
wires to permit the board to be
removed for later adjustments.
Fasten the circuit board to the PERF BOARD
bottom of the case with double -
sided adhesive tape, and care- CUTOUT FOR
COAX JACK
fully bend the leads of the LED
so that the lens projects ADHESIVE -BACKED
through the end hole in the PADS (3) STANDOFFS
case. PLUG PL2
we" (2)
PERF BOARD
PERF BOARD
SCREWS (2) HOLD
PARTS LIST BUSHINGS TO BOARD
Resistors AC LINE CORD & PLUG
R1, R2-1000 ohms, multiturn po-
tentiometer (A 1K resistor might
be needed in series. See text)
Capacitors FIG 4-TRANSFORMER MODULE ASSEMBLY. A cutout in the cover admits the flash-
C1, C2-33 aluminum elec- light module. The upper board supports the flashlight when jack J1 is plugged into
trolytic (see text) plug PL2 on the middle board. Transformer T1 is on the bottom board.
Semiconductors
IC1-LM7805 5-V regulator, Na-
tional Semiconductor or equiv.
D1-D3-1N4001 rectifier diode
LED1-light-emitting diode, T-4
Hewlett Packard HLMP-8150 or
equiv.
BR1-1A bridge rectifier, Radio
Shack 276-1161 or equiv.
RY1-SPDT relay, 5-VDC, 90 mA
coil, 55 -ohm, Radio Shack
275-240 or equiv.
Other components
S1-SPST switch, push on/push
off, Radio Shack 275-1565 or
equiv.
51-four AA Ni-Cd cells
J1-coaxial power jack, Radio
Shack 274-1565 or equiv.
PL1-AC line cord
PL2-coaxial power plug, Radio
shack 274-1578 or equiv.
11-120/12.6 VAC, 300 mA, trans-
former, Radio Shack 273-1385 or
equiv.
Miscellaneous: two project cases
(seetext); perforated construction
board; holder for four AA cells;
adhesive pads, double -sided
ashesive tape, screws and nuts;
hookup wire; solder FLASHLIGHT MODULE with cover removed showing the four NI-Cd cells, LED, and
circuit components.
forated board 21/4 x 3 inches. of the case. Place adhesive -
WHAT IS A CANDELA? Notch out two corners at one backed plastic pads around the
The amount of light produced by a end so it does not interfere with central hole on the upper board
Wit source is called luminous intensity. the posts at the other end of the to cushion the "docking" pro-
The standard for measuring luminous case. Cut a 1/2 -inch diameter cedure.
intensity is the candela (cd). It was for- hole in the center of the board to
merly the candle based on the luminous
admit the outer shell of jack J1 Current adjustments
intensity of a single wax candle. By com- Adjust potentiometer R1 first.
parison, a 40 -watt light bulb has a lumi- when the flashlight module is
nous intensity of about 3000 candela. "docked." (Potentiometer R2 can't be ad-
The candela is the amount of light that Stack the three boards as justed accurately until the bat-
shines out through a hole with an area of shown in Fig.4, and drill holes tery is fully charged.) Before you
143th of a square centimeter in one side on each side through all three insert the batteries in the hold-
of a ceramic box that has been heated to
boards to admit screws so the er, set R2 so that its maximum
the temperature of molten platinum resistance value is in series with
(1772C). It is the basis for both the cal- boards can be fastened in a
culation of the lumen (tm) and the foot- three -deck stack. the LED.
candle(tc).
A 1-cd light source produces a 1-Im
light beam that provides 1 fc of illumina-
tion on a 1 ft2 area located on a radius of
1 foot from the source (1 fc = Im/ft2). The
Intensity of light falling on a surface var-
ies inversely with the square of the dis-
tance between the source and the
surface.
000000000000000
ono o ooo 00 o 000 WAND.ZIP. A programmer for end) of the corresponding LED.
00000000000
00000000c PIC16C5X devices was de- Since all of the LED anodes are
00o0o 00
o
00 scribed in the January 1994 is-
sue of Electronics Now. Com-
mercial programmers are also
wired to the positive supply, this
lights the LED. Resistors R6
through R21 limit the max-
00000000000
0 imum current through the
00000
000 00
available.
000000 The PIC has three sets of in- LEDs to about 64 milliamperes.
0000 0 o 0000
oo oo o 0o 00000 put/output pins: ports RA, RB, The LED current is calculated
000000000000
0000000000 ooo0 and RC. Through RA, the PIC by the supply voltage, minus
retrieves pattern data from stor- the LED's forward voltage drop,
0 1 2 3 4 5 6 7 8 910111213141516 0 1 2 age in EEPROM IC1 in 16 -bit plus the driver's voltage drop,
ADDRESS IN EEPROM
words. The PIC writes these pat- divided by the series resistance
MOTION (APPROXIMATELY 29 FEET/SECOND) terns to ports RB and RC. Each calculated as: (6 - (2 +1))/47 =
EEPROM PATTERN MEMORY of those output ports is con- 63.8 milliamperes.
ADDRESS DATA (16 -BIT WORDS) nected to a ULN2 8 0 3 The PIC lights the LEDs
0 0000000010000000
0000000110000000
1
2 0000001110000000
ir
3 0000011110000000
81
6V
I 1 Dl
4004
C2
0.1
4 0000111111111111 C3
S Rt 10eF
5 0001111111111111 7' 1K IC2
IC1
6 0011111111111111 93LC66 PIC16C55
28
7 0111111111111111
SI
CS VCC
8
1 RTCC MCLR
OSC1
8 1111111111111111
CK NC OSC1
VDD
9 0111111111111111 C1
0.1 3 26
10 0011111111111111 DI ORG N/C OSC2
10K - ic3:a1 R6-470
R2 1 LED1-16
11 0001111111111111 18wv c.4)
VSS 5 25
DO Vss RC7
12 0000111111111111 Ae. ":1
13 0000011110000000 5 2
R5 N/C RC6
i1.146S-
14 0000001110000000 1K
2
RAO RC5
15 0000000110000000
16 0000000010000000
RA1 RC4 2
4173K
FIG. 1-INDIVIDUAL LED PATTERNS are RC3
R4
pieces of a larger picture.
22K 9
RC2
sees the voltage divider formed FIG. 3-PARTS-PLACEMENT DIAGRAM. Install sockets for IC1 and IC2, but don't
by R1 and R2. Assuming that Insert the ICs Into the sockets until tests are complete.
the positive supply is 5 volts,
the voltage drop across RI be-
comes 5(R1/(R1 +R2)) =
5(1000/11,000) = 0.45 volts.
Therefore, RA1 sees 4.55 volts (5
volts minus 0.45 volts, which is
a logic 1).
When the program detects
this high (the logic 1), it adds an
offset of 17 to the addresses it is
cycling through. This causes it
to retrieve the next image that is
stored in IC1 and display it.
The microcontroller can hold
up to 256 16 -bit words, but the
patterns occupy only 15 pic-
tures x 17 words/picture = 255
words of memory. The leftover
memory location isn't wasted; it
holds a value that controls the
highest frame number to dis- 3 3/8 INCHES
play. Therefore, if you have pro- FOIL PATTERN for the Picture Stick.
grammed only 5 of the max-
imum 15 pictures, you can DB-9 FEMALE (FOR PC/AT AND LATER)
avoid cycling through the (SOLDER SIDE)
blanks.
In the preceeding descrip-
tion, the role of IC1, the serial 1 -4 ----(NO MORE THAN 8 FEET) --.4 TOP
electrically erasable/program- PL1
mable ROM (EEPROM) was ne- PL3
(TO J1)
NOT CONNECTED
glected. As in normal ROMs and 4 -PIN FEMALE
erasable/programmable ROMs HEADER PLUG
(EPROMs), EEPROMs retain
their data when unpowered. DB-25 MALE (FOR PC/XT)
Unlike ROMs and EPROMs, 13
(SOLDER SIDE)
II
BATTERY HOLDER
would require two phone lines,
one for data and one for the
clock signal.
Asynchronous connections
16
HOLES 1111 work on a more complex princi-
ple: After receiving a start bit,
TOP
the receiver expects a fixed
number of data bits at fixed in-
tervals of time, followed by a
1
NOT CONNECTED PL2
(TO J2)
stop bit that is opposite in polar-
FIG. 5-BATTERY HOLDER WIRING. DC 1111\ ity to the start bit. The use of
power is connected to the PC board at start and stop bits makes an
J2.
a b
asynchronous link less prone to
the display program if RA3 is 1, SOLID
timing errors. Look at it this
and the download program if LED LEADS 22 AWG way: at 1200 bits per second, a
RA3 is 0. i WIRE bit occupies an 833 -microse-
cond slice of time. With start
II 4
Once in the download mode, and stop bits, the sender and
the PIC handles two types of se- receiver can have a combined er-
rial communication: syn- ror of 416 microseconds (half
chronous and asynchronous. a bit) over the time required for
Communication with the 10 bits (8.33 milliseconds).
EEPROM takes place over a syn-
chronous or "clocked" serial That's a total permissible tim-
connection, while the PC serial ,43 ,,,,. ing error of 5%; 2.5% for the
sender and 2.5% for the re-
port is an asynchronous or "un- ceiver. An alarm clock with that
clocked" connection. The basic accuracy could be off by almost
difference between the two is
that synchronous communica- &,0ffi (Nil an hour a day!
tion requires at least two sig- Without start and stop bits,
nals, data and clock, while c d
timing would become in-
asynchronous communication RIBBON
creasingly critical with in-
requires only a data signal. CABLE creases in message length.
Synchronous connections LEADS Ultimately, even the most pre-
operate on a simple principle: A cise timing devices known
data bit is valid only at an in- would be unable to maintain
stant in time defined by some synchronization.
feature of the clock signal. The 1111 Now that you know how these
two forms of communication
rest of the time, the receiver can work, understanding the down-
ignore the data signal. In the
case of the EEPROM, the data
line is valid only on the rising
edge of the clock signal; that is,
411 load process is easy. The PIC is
programmed to receive data at
1200 bits per second (bps). At m
when the clock line is changing startup, if the PIC detects a se-
from a logic 0 to a 1. (The rial port connection, it waits for C)
nects itself from the circuit. to receive the first data bit. By m
FIG. 6- HOW TO MAKE THE WAND. Drill
(This is a standard feature of 16 holes for the LEDs down the center of
waiting until the middle of the
devices that are intended to a wooden yardstick starting at the 1 -inch first data bit, it gains a little ex- -4
share a bus, not a part of syn- mark (see text). tra safeguard against timing er-
chronous communication.) rors. After the first bit, it re-
Synchronous communica- it does not require the addi- ceives the remaining seven data 0
tion has three virtues: First, it tional start and stop bits associ- bits at 1 -bit -time intervals (833
can be implemented with sim- ated with asynchronous com- microseconds).
ple edge -triggered flip-flops. munication (described below). During the stop bit that fol-
Second, it is independent of The primary disadvantage of lows each byte, the PIC stores
time. Bits can arrive at intervals synchronous communication is the received data in its own
of a microsecond or a week; only the need for a clock signal. In RAM. Every second byte, it syn- up
(.0
the state of the clock line deter- many cases, such as in this chronously writes a 16 -bit word
mines when a bit is valid. Third, EEPROM, it just means one ex- consisting of the last two re- 81
ceived bytes to the EEPROM.
Because the synchronous con- PIC CERAMIC OSCILLATqN
nection with the EEPROM is
very fast, the PIC can send all 16
bits (plus 3 bits of instruction
code and an 8 -bit address) in
less than the time required for
the stop bit. As a visual check of
the progress of a download, the
PIC also writes the 16 bits of
data to ports RB and RC, caus-
ing the LEDs to flash in the pat-
terns of the incoming data.
When the PIC has received
512 bytes of data from the PC
and stored them as 256 16 -bit
words in the EEPROM, it stops
"listening" to the serial port and
switches to the display mode.
The operation of the major
components of the wand have
been explained, but what about
the "bit players?" Diode DI has
a small but important role: its FIG. 7-COMPLETED PC BOARD. The board can be Installed In a case of left as -Is.
forward voltage drop of approxi-
mately 0.7 volts reduces the 6
volts from the battery pack to
around 5.3 volts to supply the
PIC and EEPROM. Since these
devices will operate from volt-
ages ranging from 4.5 to 5.5
volts, a well -regulated supply
isn't required.
The rapid switching of the
LEDs and the lack of voltage reg-
ulation subject the ICs to noise
on the power -supply rails. Ca-
pacitors Cl, C2, and C3 filter
this noise.
Finally, OSC1, a ceramic reso-
nator, sets IC2's internal clock CATHODE LEADS
to 4 MHz. Since IC2 executes an
instruction every fourth clock FIG. 8-A WOODEN YARDSTICK forms the body of the wand.
cycle, in this circuit it executes 1
million instructions per sec- can program the PIC yourself. diately, and either substitute a
ond. Ceramic resonators are The program source code (writ- higher value resistor (found by
similar to crystal resonators, ten in Parallax format) is avail- experimentation) or a different
but they are generally cheaper, able from the Electronics Now LED.
less fragile, and less accurate. BBS (516-293-2283, V.32, After you have obtained the
The unit specified here is accu- V.42bis) as part of the file parts, you can either make a
rate to better than 1%, which is WAND. ZIP. The downloading printed circuit board from the
good enough to receive 1200 - programs, as .EXE files and in foil pattern provided, purchase
bps serial data reliably. QBASIC format, are also part of one from the source given in the
the ZIP file. Parts List, or point-to-point
Construction You can substitute practically wire the circuit on perforated
Begin by obtaining the com- any standard, inexpensive construction board. The LEDs
ponents in the Parts List. Be LEDs for the green ones used in on the wand section must be
sure that IC1 is a 93LC66 man- the prototype. Since LEDs are hand -wired, so hand wiring the
ufactured by Microchip Inc. commodity items these days, rest of the circuitry shouldn't be
There are subtle differences in you should briefly connect a a problem.
other manufacturers' parts sample LED to 6 volts DC If you use a PC board. mount
with the same part number that through a 47 -ohm resistor. If it the components as shown in
make them unusable in this cir- is initially bright, then seems to Fig. 3. The order of installation
cuit. If you have the necessary fade, it is probably overheating. isn't critical. Use sockets for IC1
programming hardware, you Disconnect the power imme- and IC2. Don't forget to install
the single jumper wire near the hole with its cathode (the flat ends of the ribbon cable to the
top end of IC2. Leave IC1 and side of the reflector) facing one cathodes of each LED. The col-
IC2 out of their sockets on the side of the stick (b). TYim the ored wire goes to the LED at the
controller board for the time leads to a length of approxi- end of the yardstick (LED16 at
being. Install them during the mately 3/8 -inch and bend them the 1 -inch mark), and each suc-
checkout and final assembly into a "U" shape, and push the cessively shorter lead goes to the
steps given below. ends into the wood (c). Connect cathode of the next LED. Solder
Figure 4 shows how to assem- all of the anodes together by sol- all four of the remaining wires
ble the serial downloading ca- dering them to a piece of solid to the middle of the wire that
ble. This allows you to transfer 22 AWG wire (d). Next, starting connects the anodes of the
new light patterns to the Picture at the colored stripe, separate LEDs. Secure the ribbon cable
Stick from your PC. A DB-25 the first 16 conductors of a piece to the yardstick with duct tape,
male connector is attached to of 20 -conductor ribbon cable to nylon wire ties, or other suitable
one end of this assembly, and a a length of about 2 feet (e). (The fasteners.
4 -pin female header plug is at- last four conductors remain at- Now solder the stripped wires
tached to the other end (two tached, and the stripped ends at the other end of the ribbon
pins of this plug are not used). are twisted together at the yard- cable to the PC board. Start by
The plug connects to the 4 -pin stick end to form one heavier soldering the colored wire (it
header (J1) on the circuit board. gage wire for the return cur- goes to LED16) to the pad that
Instructions for wiring the bat- rent.) connects to R21 (it's the pad on
tery holder are given in Fig. 5. Leave the colored wire full- the lower -right side of the
Figure 6 shows how to make length, and trim each suc- board). Solder the remaining
the wand. Start by drilling 16 cessive lead 1 inch shorter than wires to the pads in order, work-
'3/84- or 1/4 -inch holes down the the previous one. 'frim about 8 ing toward the top of the board.
center of a wooden yardstick, inches off the four wires that Four pads are provided for the
starting at the 1 -inch mark, and remain connected together. four wires that are to be sol-
ending at the 16 -inch mark (Fig. Strip and tin the ends of all 20 dered together at the wand end.
6-a). Push each LED into each wires. Solder the staggered Figure 7 shows the completed
PC board, and Fig. 8 shows a
section of the wand.
PARTS LIST
All resistors are 1/4 -watt, 5%, un- PL1, PL2-4-contact IDC female Checkout
header plug With both IC1 and IC2 out of
less otherwise indicated. their sockets, connect the bat-
R1, R5-1000 ohms PL3-Female DB-9 connector (PC/
R2-10,000 ohms ATs and later) or male DB-25 teries to the power input. Strip
R3-47,000 ohms (PC -XTs) both ends of a short length of
R4-22,000 ohms Miscellaneous: Battery holder (4 solid hookup wire, and insert
R6 -R21--47 ohms (alternately, you C- or D -cells), PC board, one 8 - one end into pin 1 of IC2's 28 -
can use two 16 -pin, 47 -ohm DIP pin IC socket, one 28 -pin IC sock- pin socket. lbuch the other end
resistor networks) et, 9 feet of 20 -conductor ribbon of the wire to pin 10 of the same
Capacitors cable, solder, hookup wire, inex- socket to determine if LED16
C1, C2-0.1 i.LF, 50 volts, ceramic pensive wooden yardstick, duct (the one at the end of the wand)
disk or monolithic tape. lights. Move the pin -10 end of
C3-10 ILF, 16 volts, electrolytic Note: The following items are the wire to pins 11 through 25.
Semiconductors available from Scott Edwards, The LEDs should light up in se-
IC1-93LC66 512 -byte serial 964 Cactus Wren Lane, Sierra quence. If any of the LEDs fails
EEPROM (Microchip-do not Vista, AZ 85635: to light, recheck your work and
use the same part from a different Pre-programmed PIC16C55 correct any errors.
manufacturer) microcontroller (IC2) and ce-
ramic oscillator (OSC1)-$20
After you have confirmed that
IC2-PIC16C55 microcontroller, all LEDs work, disconnect the
programmed with wand firmware 93LC66 EEPROM with pre -
loaded images (1C1)-$7 power from the circuit and in-
(Microchip) stall IC2 (the 28 -pin PIC). Leave
IC3, IC4-ULN2803A Darlington 31/2 -inch PC compatible disk
inverter/driver with the downloading software IC1 out of its socket for now. Re-
OSC1-PX400 4 -MHz ceramic res- (51/4 -inch disks not available)-. apply power to the circuit. The
onator with integral capacitors $7 LEDs should light up. Dim the
(Panasonic) A kit consisting of IC1-1C4, lights and wave the wand
D1 -1N4004 diode OSC1, the disk, and a PC around carefully. The LEDs
LED1-LED16-T 13/4 LEDs (the board-$42 should appear as a ribbon of
color choice is yours) All prices are postpaid; check or dots. If the LEDs don't light, or
Other components money order only. if there are breaks in the dot
S1-Momentary-contact pushbut- Tools for programming PIC pattern, bridge pins 8 and 4 of
ton switch (Digi-Key P8034S microcontroliers are available ICI's socket and try again. If this
mounts directly to circuit board) from Parallax Inc, 3805 Ather- doesn't correct the problem, re-
J1, J2 -4 -pin single -row male ton Road, Rocklin, CA, move the power from the circuit
header 916-624-8333. and recheck your wiring. Once
you have the test pattern work- 1r volatile EEPROM storage.
ing properly, bridge pins 4 and 5 2 ti
t ', , f tor +"tif
I- f +
+
Whenever you power up the
of IC1's socket. Now the LEDs 46 L 4- ,... 4_ r+ 1- 4- 4.
4-
-4-
4.
-4 4.40.7, + + + + 4+ +
+ 4- + 4- -LW r
INrin the downloaded images.
Disconnect power and install 64
tee". i. 1- 4- ++ 4
4011-4
'.
I- +
When the controller is work-
IC1 in its socket. If IC1 is pur- 128 t 41"4- 1. 4 4 ++++ i- i
+7 - 4-
ing properly. finish the assem-
+ + + 4- -4- -+
chased pre-programmed (from ++++ bly for a neat appearance. The
the source in the Parts List), 21
4
f + i 1. t 4" t+ +4- t+ + + 4- + -
wand can be encapsulated in
you can power up the wand and HIi
- + 4- + 'A+ i I-
+++ r if
al.
+
+++-
+ 1- -
0
7
.5V 05
07
...11501 a), '" 16
D4
LED.6
40
+6V
4
D3
02 06
OAD2,
V00 3 7") "0.S, LED
C2 DI
2
RESET
617
10F
25V
C3
60031
DO
OE
05
e,D3 O5rLED
0 13
e,
04
+5V -4-0 0 RESET P3.4
C4
18
XTAL 741,107574 16
614'.5r 12
03
..":. LED
30pF
414ANz
so LEN. "" 11,e
0
R1
XTAL1 02
10K
\-7..."; LED
119 XTAL
D7.
10
V 04 P27
30PF 27
P26
WR
(tuns. 0 CMG
23 (P3.6)
P26
+5V GND
P24 R4
P23
10 *R3
saa 300
128
P22
VCC cal
P21 P3.0 6146606
ICI 21
P20
270266
+5V P3.1
1
Vpp Al 4
16
A13 26 P3.6
17
P3.7
Al2
All 23 (0)
BANK A BANK B
21
A10 VCC
24 DI .21/ 016 Z18
A9 IC2 P17
8
-01-0 0- 126 126
25
A8 741107673
Pte
7
02 -TX 015 .."116
-.4-0 0-.54
D7 A7
3 19
07 D7
32
P07
P16
o- 84
18 De A8
4 18
06 06 P06
P14
03 SP
-04-o o- 34
014 .1114
0-46 32
17 17 05 4 34
D6 P06 4
P13
D4 MP 013 ..T.r3
16 04 A4
6 18
04 D4 PO4
P12 1 _44_0 0-4 16
--15. D3 A3
7 15
14
03 D3 P03
P11 1 -84-
06
.--416(-0 0-41 8
16 D12 .14112
-181-0
13 02 P02
D2 A2 02
--I DI Al 9 13
01 D1 P01
PIO
06 l
0-44 4
011 ..T111
.--1114.--0 0-0 4
_11 19 12
00 DO P00 010 ...11110
AO
D7 .117
-01-0 0-* 2 0-41 2
OE iv- OE LE
-.4-0 0-
os De SP
-01-o 41
GND
14 10
P3.2
101114 (x16)
13
PSEN P3.3
Vss J1
II av_gpi
07
AUX. 318
POWER 4 POWER m
0
FIG. 1-C -GAME SCHEMATIC. The circuit Is designed around an Intel 80C31 8 -bit m
microcontroller. 100 milliamperes extra. X
Second, the 80C31 is clocked
made up of a 4 -MHz crystal milliamperes or greater. by a 4 -MHz crystal. Although
(XTAL1) and two 30 pF capaci- Designing a battery -powered most 80C31 controllers can op- A
tors (C3 and C4). An circuit with this many LEDs erate at speeds up to 12 -MHz,
LM2931Z-5.0 low -dropout 5 - and coml. onents requires some the lower speed keeps power
volt regulator IC5 will tolerate a special considerations. All ICs consumption to a minimum.
reversed battery voltage of 15 (except the regulator) are CMOS Current drain is directly related
volts without damage. The cir- to conserve battery power-a to the clock speed in this CMOS
cuit is normally powered from a non-CMOS 74LS574 would re- microcontroller.
9 -volt battery, but power -input quire approximately 27 milli- Third, all LEDs in each bank
jack J1 can provide auxiliary amperes more current than the share one common -cathode re-
power to the C -Game with any CMOS version, and the non- sistor (R3 for Bank -A and R4 for
power adapter capable of sup- CMOS version of the 8031 mi- Bank -B), instead of one resistor
plying 6 to 9 volts DC at 100 crocontroller would need almost per LED. That results in less
0.. A
..
. . .
.
.
5 OCHER
I PERM
t"111114.
lit t
128 18 8 4 2
more LEDs turn on, current is
limited by R3 and R4. However,
161 s~ 1010 10 the change in brightness is
barely noticeable with a differ-
ing numbers of LEDs on.
get141141rtilli:
. .IMPtlat#1114,
' .1 4.r%Sre
411.
iLi4t1 4111,M1110,
*I'l'701111.1111.1111
IIA Sa WIN MS NM a 11
-'......,.4. jar. i . :17/12 Iti
:
The circuit draws an average
of 20 to 30 milliamperes, with a
maximum drain of 65 milliam-
peres with all LEDs on. A 9 -volt
_j i 'ABA PIZIL e017/7=:1,1:: I--VAT:
41 re14.101 liPi! ;77
it 1 41111
.".S.N i I.. emsasiesi I
".' alkaline battery will last an aver-
i.1.:=11krei
k;ijkwial,..4,;q.f .3 age of 8 to 10 hours and a nickel -
l--,11, z,, 1:..i.:Iiiii,iiiiki.1.,..1'4),b cadmium battery will last from
P. 5 to 8 hours. Avoid 9 -volt carbon
batteries; even a fresh one can't
deliver the C -Game's peak cur-
rent requirements. Supplying
power through jack J1 elimi-
E
nates the need for a battery.
This is recommended if the
game is played often.
U)
Construction
All of the necessary compo-
EE -1-211 64 32 nents including the PC board
a. are available from the source
LED1 LED2 LED3 LEDS given in the Parts List. Foil pat-
8 terns are provided if you want to
make your own PC board. Pre-
0 A programmed EPROMs are avail-
SIDE able from the source given in
W
90
FIG. 2-PARTS-PLACEMENT DIAGRAM. Solder the 1N914 diodes first, then the re - the Parts List, and the hex code
sistors and capacitors. is posted on the Electronics
TABLE 1-GAME INSTRUCTIONS
ql cr.1
0 iv
..
Qr*
C..5 (.7
0 4.. a.
r.
Qom
$* 47
C.3
Cf co
c.iA.
rt cv C., AY
First player to press the key next to his lit LED gets a Point. X
Al X Who's Quickest #1
Most points out of 20 wins.
Most 'hits' (press key while LED on) out of 20 wins. X
A2 X Road Kill
Press a key to send a ball (LED) to your opponent. Fewest X
A4 X Tennis
misses (press key before time-out) out of 40 wins.
Test your reflex time. Press a key to shut off the LED. X
A8 X Reaction Timer
Gives an average time for 10 hits.
"A" player sends LED counterclockwise, "B" player clockwise. X
Al 6 X Race Around
If LED slips past you, other player gets a point.
A32 X Binary Math Use "A128" to enter your answer for add/sub/divide/multiply
on two 14 bit binary numbers. "B" LED's show progress.
A64 X Binary Logic Use key "A128" to enter your answer for and/or/xor/modulus
on two 4 bit binary numbers. "B" LED's show progress.
Use key "A128" to repeatedly add original number shown until X
A128 X Count to 64
you've counted to 64 or greater. "B" side keeps your time.
First player to press all lit keys gets a point. Best out of 20. X
B1 X Who's Quickest #2
B2 X Memory #1 A number will be shown. Use key "A128" to enter each number in
the "sequence" correctly. 10 total in sequence.
B4 X Memory #2 Alternate play. Two players build and copy a sequence. 10 total.
Move lit LED (press a key) toward Al, then toward 8128 any X
B8 X Last Player Wins
number of "jumps". Alternate play. Last player able to move
wins. Score is accumulative game to game.
B16 Special Effects Press any key or key combinations to generate steady tones.
B32 "A" key control pitch range, "B" keys control speed range
of randomly appearing LED's and tones.
B64
II
" Sixteen different sound effects, one per key.
. II Sixteen different sound and LED patterns, one per key.
B128
NOTE 1: Press RESET, then any key (left side of chart) to start a game.
NOTE 2: After a game terminates, pressing the key (other than RESET) will restart same game.
Now BBS (516-293-2283, V.32. ning with the 1N914 diodes, re- the ICs into their sockets until
V.42bis) as a file called sistors, and capacitors. Next, all other parts are installed.
CGAME.HEX. install the sixteen LEDs flush lb install the two battery con-
Using Fig. 2 as a guide, solder with the PC board. Follow with nectors, align them by first
the components in place begin- the IC sockets, but do not install snapping them onto a 9 -volt
happens when power is applied,
( START check to see that + 5 volts is
present at the output of IC5.
Also check for -5 volts on each
ACTIVATE CONTROL LINES
FOR 'A' LEDS AND KEYS
} LINE 8 IC's power pin, and make sure
SET POINTER FOR WRITING LEDS LINE 9 each ground pin is at zero volts.
Verify that none of the address
or data lines are shorted.
READ 'A' KEYS LINE 10
Check to see that each of the
INVERT KEY VALUES LINE 11 16 pushbuttons work. To do
WRITE KEY VALUE TO LED BANK LINE 12 this, you need to press the reset
switch before pressing each
pushbutton. At this point,
don't try to play each game; just
see that every pushbutton
causes a distinct change in the
NO
LINE 13 game's behavior. (Note that you
will hear a similar start -tone se-
quence after each game is se-
lected, so wait long enough for a
YES few LEDs to turn on.)
'CLICK' THE PIEZO SPEAKER LINE 14 The games
MOVE KEY VALUE TO 'DL1'
SET 'DU' TO 4 (DELAY)
LINE 15
LINE 16
Table 1 shows a complete list
of the 16 game functions. Notice
the designations Al, A2, A4,
etc., on the left side of the chart,
which correspond to the key
designations shown in Fig. 2.
As an example of how a par-
ticular game is selected, if after
NO
LINE 17 pressing reset you press the "4"
key on the "A" side, you will start
the tennis game.
The second column from the
YES left in Table 1 shows the games
that require two players. Typical
play is with both players sitting
opposite each other, each with
NO YES LINE 18
both hands on the keys. Games
LINE 19 checked in the, third column
can be played by one player, or
alternately by Lwo or more.
Game titles are shown in the
fourth column, and how -to -play
FIG. 3-THIS FLOWCHART details the operations performed in Listing 1. instructions are shown in the
rn middle of the chart.
battery. Be sure the battery po- bottom side to keep the leads Be aware that the numbers in
larity is correct. While holding from scratching your fingers. the key designation (1, 2, 4, 8,
V)
the battery flush with the PC Cut it to the same size as the PC 16, 32, 64, 128) also correspond
board, solder the battery con- board and fasten it with ma- to the bit values df an 8 -bit bin-
nectors in place. Remove the chine screws and spacers. One - ary number. It is important to
battery after the clips are in sixteenth inch thick styrene or know this when playing games
place. Next, solder in the 16 black ABS plastic works well. A32, A64, and A128. Also, after
pushbuttons, the power switch Finish up by installing the four many games terminate, the
and jack, transducer, crystal, ICs. The completed game is score will be displayed in binary
and audio output jack.
czcz
22MEG
R2
PARTS LIST FOR THE
R3 R4 R5 WATER ALERT (Fig. 4)
22MEG 22MEG 22MEG
-411/1r-AAAr-Wro Q1-1121511 EFT transistor
R1-R5-22-megohm, -watt. 5%, resistor
Fig. 4. You can prevent BZI-Piezo buzzer
damage from the rain with Water sensor (see text), wire. solder. etc.
this water -detector circuit.
TOD T. TEMPLIN
BUILD THE
RETRO-
REMOTE
MODI
2 RI
1K
RYI
VT
4700Ra
RY2
3 IC7
7805 II-.
LTV 8834 VOL. UP 2
01 Cl
C2
Vt2222
13
14
13
)1X+ 1000F
148
-crwo--J
sf
AO 75K
OSC 01
9 LEDI 9
1N4001
S2
Al
15 7 7 8 0 04
OSC R3
18 1K to -0 AC IN
VDB +5V C3 VOL.
111
S3 17, 74XX
VT MOTOR
14t (SEE TEXT)
S4
0-4 24 1 1 2
D2
1N4001
D. IN VDD 05 RY3
23 2 3 4 VOL. DOWN
S5 D3 D3 o 0 0
O DC IN
22 3 5 8
-cero-i.
S6
A5 D2 D2 o o 14 8 TO I5V
21 4 13 13
D1 DI 0 0 0
9-0"..0-- A6
S7 5 11
DO Do a O
6
-crrS8 A7
EN1
6 9 8
0 0
7 1 2 0
EN2 0
ADDRESS 8 3
SELECT O 0 0
9 5
o 0
15 10 13
0 0
14 1 11
TO TO O O
Vss 12 0
11 9
+5V
14
+5V
14
CKLR
n 13
0--
12
4 11 (Tim
VOC OND C)
5 10
CLK K
6
CLR
7 8
IC6 m
7473 -1)
m
-1111111111cLK
z
tri
FIG. 2-RECEIVER/DECODER SCHEMATIC. The circuit consists of the IR receiver Cli
module (MOD1), an HT -12D decoder, a BCD -to -decimal decoder (IC2), and various
driver ICs and relay circuits.
41-
MOD1
2 ICI
3
RY4
---- OUT
RY5
Lr) 102
cr) IC3 OUT
a)
cc RY3 C
2
2
CI)
0
0
co
IC4
fru)
w AC
J
z IN
J
w
0 1 2 G 3 4 5 6 7 8 G 9 1011 r
a 1
a.
HEADER BLOCK EXTRA
L1.1
IC
0)
J
cc
TO
VOLUME
w MOTOR
FIG. 5-RECEIVER PARTS -PLACEMENT. The single -sided boards can be made from
98 the foil patterns provided here.
PARTS LIST-TRANSMITTER
All resistors are 14 -watt, 5%
R1-1.5 megohms
R2-100 ohms
R3-1000 ohms
R4-22,000 ohms
Capacitors
C1-0.01 polyester
C2-0.001 iLF, polyester
Semiconductors
IRLED1--LT1029 infrared LED
IC1-HT-12E remote control encoder
(Digi-Key part No. HT -12E -ND) RETRO TRANSMITTER FOIL PATTERN.
1
tC2-555 timer
Other components
S1 -8 -position DIP switch
S2 -4 -position DIP switch
S3-normally-open push button
Miscellaneous: 18 -pin IC socket, 8 pin
IC socket, 9 -volt battery and connector,
PC board
PARTS LIST-RECEIVER
All resistors are' -watt, 5%
R1-R7-1000 ohms
R8-75,000 ohms
R9-470 ohms
Capacitors
t o+
C1-1000 p.F, 25 volts, radial electrolytic
C2-0.1 Mylar
Semiconductors
Dl, D2 -1N4001 diode
LED1-red generic light -emitting diode
IC1-HT-12D remote control decoder o9 0
(Digi-Key part No. HT -12D -ND) o 0 0
IC2-74154 4- to 16 -line decoder O 0 0 0 0
O 0 0 0 0
IC3, IC4-7404 or similar hex inverter O 0 0 0 0
(see text) O 0 0 0
IC5-7404 hex inverter ra 0a
IC6-7473 dual J -K flip-flop
IC7-7805 5 -volt regulator
Q1-06-PN2222 NPN transistor 0
Other components
RY1, RY4, RY5-HE721A0510 SPST
DIP relay, N.O. (Hamlin 5 -volt 700 se-
ries, see text)
1 Ir
RY2, RY3-HE721C0510 SPDT DIP re-
lay, N.O. (Hamlin 5 -volt 700 series, see
text)
S1 -8 -position DIP switch
rn)
MOD1-32-kHz infrared remote -control (3
receiver module (Digi-Key part No.
LT1033-ND or equivalent)
Miscellaneous: 11 x 4 header -pin
II 91
m
block; 2-, 3-, 4-, and 6 -pin headers; 24 -
pin IC socket; 18 -pin IC socket; 16 -pin IC
socket; three 14 -pin IC sockets; PC
3 7/8 INCHES
board; solder
ORDERING INFORMATION 14
Note: The following items are RETRO RECEIVER FOIL PATTERN.
available from T3 Research, Inc.,
5329 N. Navajo Ave., Glendale, WI. depending on which relay it decoded a new command.
53217-5036:
Training Transmitter PC board-
closes. The potentiometer Output 14 (pin 16) of IC2-the
motor will rotate clockwise with speaker mute function-is in-
$6.00 verted by IC5 and connected to
Receiver/decoder PC board- one polarity and counterclock-
$12.00 wise with the opposite polarity. one half of IC6, a dual J -K flip-
ltaining Transmitter electronic Part The ground return of the vol- flop. The flip-flop is wired as an
Kit-$8.00 ume -control circuit must be alternating latch that is clocked
Receiver/Decoder electronic Part routed through the rr relay so by the vr signal. The first time
Kit-$29.50 that the motor will run only dur- IC2 decodes decimal 14 (when
Motor driven pots (specify 50K or
100K)-$11.25 each. ing the reception of a valid com- the mute button is pressed on
Add $2.00 S&H to any order. Wiscon- mand. Otherwise, the latched the remote control), pin 16 goes
sin residents must add 51/2% sates data of ICI would cause the to a logic low, presenting a logic
tax. Visa and MasterCard accepted. motor to run continuously until high at the clear input (cLR) of
for IC7 is recommended if your
power source is 12 volts or more.
Figures 6 and 7 show the com-
pleted boards.
It is not necessary to mount
the IR module on the receiver/
decoder PC board. If you prefer.
cut an appropriate length of
shielded, balanced microphone
cable and attach a pair of three-
pin female header sockets to
make a jumper cable. Then
mount the IR module in a suit-
able location, and mount the de-
FIG. 6-COMPLETED RECEIVER board can be mounted in its own case or Inside the coder board wherever it's conve-
device you want to control remotely. nient or out of the way. The IR
module need not be in the same
the flip-flop via IC5. Simulta- with IC6 entirely by using self - room as the decoder PC board-
neously, v -r presents a logic high latch ing relays. Select compo- the author installed a Retro-Re-
to the clock input. Because the nents which suit your par- mote receiver board in the
J and K inputs are always set ticular needs. trunk of his car to operate stereo
high, the Q output goes high. A 7805 5 -volt regulator, IC7, equipment. The IR module is
That, in turn, switches on 96 provides the necessary 5 volts to discretely hidden behind an air
and closes relay RY5. If the mute power the standard TTL de- conditioning vent grill on the
button is pressed a second time, vices, the IR receiver module, dashboard. To be sure that the
pin 16 of IC2 remains low, but a and the HT -12D decoder IC. Retro-Remote is receiving prop-
new vr is received by the flip- erly, mount the valid transmis-
flop. That clocks IC6, causing Construction sion -received LED away from
the 9 output to go low and open Building the Retro-Remote is the circuit board in a visible lo-
the relay. Note, however, that easy. The parts are installed in cation.
once latched, pressing any valid the training transmitter and re-
key on the remote control will ceiver boards as shown in the Interfacing
cause a vr signal to clock [C6 parts -placement diagrams of The small DIP relays specified
into the opposite state. The cir- Figs. 4 and 5. The single -sided for this project are not intended
cuit is wired that way so that an boards are easy to make yourself to switch either high voltage or
"unmute" occurs whenever a from the foil patterns provided high currents. If you want to
function such as volume up/ here, or you can purchase switch 120 -volts AC power for a
down or a channel change is re- finished boards from the source TV set or any other AC load, use
quested. given in the Parts List. Work the DIP relay on the Retro-Re-
The power on/off function is carefully with a fine -tipped sol- mote to actuate a relay with a
almost identical to the mute dering iron and watch out for higher power rating capable of
function except that the relay inadvertent solder bridges. handling the load.
drive signal is taken from the 6 lb allow for customizing, the If you are working with TTL or
output (pin 13) of latch IC6-b. In receiver board has space for an CMOS circuits, as might be
the absence of valid decoded extra relay, two extra ICs, and found in robotic and security
data, pin 13 of IC6 is high. many extra pads in the interface systems. then it is only neces-
SI which causes the power on/off area. The DIP relays specified in sary to select appropriate buff-
relay to close. The power circuit the Parts List have built-in pro- er/driver lCs for IC3 and IC4 to
operates the same as the mute tection diodes. If the relays you get the proper logic. If you need
(?) circuit except that the first re- use don't have these diodes, to use relays in your project, as
ceived and decoded power -on there are pads on the PC board will most often be the case, then
g command turns the power off. at each relay location where you use a pair of 7404 hex inverter
i) That might seem backwards can add them, but they will have ICs for IC3 and IC4 followed by a
I only until you have cycled the to be mounted on the solder side 1K resistor and a general-pur-
power circuit once. After that it of the board. Not all DIP relays pose NPN transistor to drive a
will appear to function nor- have the same pinouts. Be sure relay. Wire the relay as RY2 is
mally. The advantage of doing it to use relays with pinouts that wired in Fig. 2.
ff, this way is that pressing any match those shown.
D -x
valid key on the remote will Any power source with an Programming notes
oc.) switch the power on, but press- output between 8 and 15 volts Begin programming by select-
ing the power key is the only that can supply a least 250 milli- ing an address on the training
way to switch the circuit amperes is suitable for the re- transmitter. If you have only one
W
off.Builders can wire the flip - ceiver. Diodes DI and D2 are Retro-Remote system, select ad-
flop differently. select a different necessary only if your power dress 256 by leaving all eight ad-
100 style flip flop IC latch, or do away source is AC. A clip -on heatsink (Continued on page 110)
(TO RIGHT
phone input of the other. TURN (I)
MOTORCYCLE The microphones are elec-
MOTORCYCLE
BATTERY) LIGHT
Continued from page 73 fret elements and the tRIGHT)0
earphones can be of the 0 S1
LEFT
In -ear type.
TURN G)
ever feel threatened. LEFT LIGHT
The IRF511 N -channel FET Both amplifiers in the cir-
D2
(Q1) will handle currents up cuit operate at a minimum R1 D1
1N4002
10K 1 N4002
to 4 amps. If you need a gain of 20 dB. That helps to
higher -current device, an keep the wind and road
IRF530, which is rated at 14 noise to a minimum. How- C1
LED1
.1
amps, can be substituted. ever, that also means that
the microphone must be
TWO-WAY INTERCOM located close to the mouth.
A simple "passenger -to -
pilot' intercom circuit is TURN -SIGNAL SYSTEM
shown in Fig. 5. Two LM386 Our final motorcycle U1 -b
7
U1 -c
8
Fig. 5. Why yell at your passenger when you can talk? Use this
two-way intercom to make communicating a lot easier. PARTS LIST FOR TURN -SIGNAL SYSTEM (Fig. 6) m
0
SEMICONDUCTORS 0z
PARTS UST FOR TWO-WAY INTERCOM (Fig. 5) U1-4049 hex inverting buffer, integrated circuit
DI, D2 -1N4002 silicon diode m
RESISTORS QI-IRF511 FET transistor rn
(All fixed resistors are 1/4 -watt, 5% units, unless otherwise noted.) LED1-Light-emitting diode
RI, R2 -2200 -ohm m
101
CIRCUIT CRAB BAG PARTS LIST FOR THE
Continued from page 94 AC FUSE MONITOR (Fig. 6)
DI -D4 -1N4004 silicon diode
D5 -12 -volt. 1 -watt, Zener diode
R1 ANT
R1-10,000- to 100,000 -ohm, 1/2 -watt, 5ch resistor, sec text
2.2K 10K
R4
CI --47-F, 16-WVDC, electrolytic capacitor
BZ1-Piezo buzzer
Q2
2N3904
Fl-Fuse, see text
Wire, solder, etc.
C5
15pF
around a 1/4 -inch diameter Keep the circuitry wiring
L1'
plastic form. The tap is one neat and compact. Make
pMIC1 turn up from the cold end all of the component leads
R5 C3
5-35C6pF .1 of the coil (that's the end connecting to 01 as short
4.7K
) that connects to the and stable as possible. The
positive power source). antenna should be kept
The trimmer capacitor, short to cover a small
12VDC U1 C6, may be any value with range.
{110 VAC
100mA 781.09 a maximum capacitance To set up the transmitter,
PLUG-IN
POWER SUPPLY C7
of no more than 40 pF If tune your FM -broadcast re-
470 you cannot locate a suit- ceiver to a quiet frequency
'SEE TEXT able trimmer capacitor, and adjust C6 until you
connect a fixed 33-pF ca- hear a quieting sound. If, for
Fig. 7. This simple FM transmitter makes a great monitor circuit pacitor in its place and some reason you can not
that can keep you out of harm's way.
tune to the desired fre- get the transmitter to cover
quency by spreading Ll's the desired frequency
a 78L09 9 -volt regulator IC base of 02 frequency - windings. That tuning meth- range, spread Ll's windings
helps to keep the transmit- modulates the oscillator's od will work, but makes to increase the transmitter's
ter's frequency stable. frequency. R7 determines setting the transmitter to an frequency.
Transistor 01 amplifies the FM modulation level. exact frequency difficult.
audio signal from the elec- Coil Ll is homemade. It
fret mike and feeds it to the consists of about 6 inches
base of the oscillator tran- of number -20 enamel -cov-
sistor, 02. The audio at the ered copper wire wound PARTS LIST FOR THE
SIMPLE FM TRANSMITTER (Fig. 7)
SEMICONDUCTORS
"At any age, Q1 -2N2222 NPN transistor
Q2 -2N3904 NPN transistor
there are dozens C1-781,09 9 -volt regulator, integrated circuit
of things you can do to RESISTORS
(All fixed resistors are 1/4-xatt. 5((- units.)
stay healthy, active and R1 -2200 -ohm
R2---220,000-ohm
0)
0)
have a great time. R3-------1000-ohm
w Contact your R4--10.000-ohm
R5----4700-ohm
Cr)
Dick
Van Patten recreation and park R6----370-ohm
R7 -2500 -ohm, potentiometer
department today."
CAPACITORS
\ C1-U.2-F. Mylar
co C2. C3 -0.1-F, ceramic -disc
S.
C4-680-pE ceramic -disc
C.5---15-pF, ceramic -disc
C6-5- to 35-pF, trimmer
EE
16-WVDC, electrolytic
ADDITIONAL PARTS AND MATERIALS
co
2
MICI-Filectret microphone
0 1.1 --See text
WITS:NAL INCINIMON
12 -volt 100-mA plug-in poser suppl. coil form. magnet %%ire.
AND ROM ASSOCIATION wire, solder. etc.
102
1 9 9 0 was a
Great Year for Popular Electronics
rr he twelve 1990 issues
1 of Popular Electronics TOPICS FROM THE PAST
reveal many fascinating ar- Selected Projects External Drive for Laptop, June
Audio Ambiance Ditherizer, April First Electric Motor Project, October
ticles. There's a bonanza of Bit Grabber for Parallel I/O Testing, December Ground Fault Technology, November
build -it project plans, infor- Car -Radio Silencer, October Keeping Up with Pacemakers, July
Living with Lightning, October
mative theory articles and Cordless Test Probes, January
CW and SSB, Add to a SW Receiver, May Make Your Own Iron -on PC Patterns, July
timeless feature stories. Digital Entry Switch, November Old-time Radio Circuits, March
Check out the partial list of Economy Portable SW Receiver, August Oliver Lodge: Radio's Forgotten Pioneer, July
Exhaust Monitor for Car, June Restoring a Classic SW Receiver, April
titles packed into the 1990
Experimental AC Hum Sniffer, September Solar Power, Experimenting with, June.
issues and you'll agree that Game Reaction Timer, April St. Elmo's Fire, September
1990 was a banner year. If Headphone Output for Your CD Player, July Surface Mount Technology, November
Television Night, a Look Back, July
you see an article about a Hot -Wire Glass Bottle Cutter, December
Indoor Burglar Alarm, December Tune -in to Satellite Radio, May
project, theory topic or IR-Triggered Sound -Effects Generator, October Using Appliances Overseas, January
newsworthy feature, you can Lie Detector, Simple, January
Theory for Everyone
have that article, with the en- Microphone Preamp, Simplest, March
3 -Terminal Voltage Regulators, May
Mobile Battery Charger, March
tire issue for only $6.50. To NiCd Battery Tester, August
200,000 -volt van de Graaff Generator, October
All About Batteries, August
get your 1990 issue(s) of Plasma Display, Custom, February
All About Thermistors, December
Popylar Electronics, place Receiver Circuits You Can Build, March
CCTV Installation Guide, November
Remote -Control FAX Switch, August
a it in the box that indicates Connect Anything to Your Computer, August
Serial Cable Tester, January Designing Power -supply Circuits, February
the month you want and Telephone Toll Totalizer, August
Digital Electronics Introduction, April
complete the coupon below. Tesla's Lightning Generators, September
Experiments in Electrophotography, March
The Lepton Candle, October
Note that ordering six or Ultrasonic Morse -Code Transceivers, July
Fiber -Optic Communications, April
Galvanometer, Build and Learn, September
more copies reduces the Universal 3 -Terminal Power Supply, November
Lasers, All About, September
price per issue! Tear out this Video Titler, Super Simple, September
Printer Technology, October
Vision System for Robotic Toys, March
page, or make a photo copy VLF Receiver and Transmitter, July
Signal Generator Circuits Cookbook, November
Stepping Motors Introduction, March
of it, and mail or FAX it Water Leak Alarm, January
Troubleshooting Computer Disk Drives, May
today! Just follow the direc- Special Features Troubleshooting Your Printer, December
tions below. Antenna Installation, September Typing Practice Program, August
Capacitors, Choosing and Using, June Sideband Amplifiers, January
Classic Amateur Receivers, November WiMshurst Machine, December
WW1 Long Island Spy Station, December m
Drying Out Flood -Damaged Equipment, January
hpular Electronics Early Radio Transmitters, May 0
1990 Issues
March April May June July August Sept. Oct. Nov. Dec. m
January February
-0
m
/Check the issue(s) you want. Visa 1:1 MasterCard 0 USA Bank Check 0 US or Internnational Money Order
How to Determine Cost per Copy m
rri
Credit Card Number Exp. Date
Price per copy
Quantity United States Canada Foreign (If used) z
Signature Total No. of Copies
1-5 $6.75 US $7.75 US S
Print Name Total Amount $
6-12 5.75 6.75 $8.50 US Cl)m
FIG. 8-THE COMPLETED MICRO -LIGHTS BOARD. The board is designed so that It
does not need a case.
Troubleshooting
Fun!
If nothing happens when Although the circuit draws
power is applied, use a volt- fairly low current, consider an
meter to check for + 5 -volts DC AC -to -DC adapter for powering
at the output of the regulator, on Micro -Lights, especially if you
pin 8 of the op -amp, and pins 4 want it to operate continuously.
and 14 of the PIC16C71. Verify The circuit draws an average of
that ground is present where it 15 milliamperes-about that of
should be on both ICs. If you a small transistor radio. Expect
have an oscilloscope, check for 15 to 20 hours of operation from
an audio waveform (in the pres- a fresh alkaline battery.
ence of sound) at the op -amp's The circuit has no sensitivity
output at pin 1. The voltage control. The author believed the
should swing from ground to addition of one would detract
about 3.6 volts. from the simplicity and ele-
lb verify the circuit's overall gance of this project. A little ex- "There's your trouble. You're going to
current consumption, connect perimentation with placement laugh when you see all the mistakes
a multimeter (set on the 200 - will resolve any problems related you made assembling that unit."
milliampere DC scale) in series to noisy environments. In loca-
with the 9 -volt battery. A read- tions where there is con- Now that you have read
ing of 5 to 35 milliamperes, de- sistently loud noise, a small all of the directions,
pending on how many LEDs are piece of tape placed over the mi- go back to line
lit, is a normal measurement. crophone will reduce the cir- one and start.
cuit's sensitivity. Check out the
LI Operation effect of music as well as voice
Operate Micro -lights in a di- on the sound routines.
?<-
Lu
mly lit room to obtain the most Micro -Lights might not be as
a) striking effects. A desk top, cof- spectacular as the Northern
o fee table, or bookcase is a good Lights, or a fourth of July fire-
location. If the battery cable is works show, but it will provide
lengthened by several inches, you with your own miniature
w the circuit board can be worn. light show-and an under-
104 luck the battery in your shirt or standing of microcontrollers.
HurtAs YOUN OWN
TROUBLESH0011NG LASII, PRIM Vi RAY GL
AND REPAIRING ANIORRISSOMPACS161 BUM
AUDIO & VIDEO
CASSETTE PLATERS
& RECORDERS
fly t0.0 10. 1~4
1604P $17.95
for (values
up to
only
37659 $t9.95 37959 $19.05
$201.75;
RADIO'
RECEIVER PROJECTS OSCILLOSCOPES
TUNINC IN TO
TOG 1- -
BUILD TOLI1 OWN ROBOT BUILDER'S
TEST EQULDMENT
SCANNING BONANZA
coon MICE to Sktilfrt SAND, 99 MEXPENS1V1
ROBOTICS PROJECTS
verSee'S00,aH
"i BENCHTOP
' I, I I ! EIECTIO1C
CORNETS LECTRONICS
A Complete
Reference fur
Basic Project Builders
Electronics
Course
O
As a mombor of 1
r,
tho Illootronlos Book Club . . . 0)
m
. . you'll enjoy receiving Club bulletins every 3-4 weeks
containing exciting offers on the latest books in the field at m
ELECTRONIC
MEASUREMENTS
savings of up to 50% off of regular publishers' prices. If you 1,4,
rn
& TESTING i want the Main Selection, do nothing and it will be shipped rn
z
automatically. If you want another book, or no book at all, 4,
0376026 $42.95 simply return the reply form to us by the date specified. /f I
003961 940.00 3632P 210.05
Hardcover vi
Hs dcsver you ever receive a book you don't want due to late delivery
of the bulletin, you can return it at our expense. You'll have
1111. WANT BOOB III
ELECTRONICS at least 10 days to decide. And you'll be eligible for FREE
COMPUTER
TECHNIZIAN'S PROircrs BOOKS through the Bonus Book Program.Your only oblige.
sv EIBOOK i ; ..4'111. Lion is to purchase 3 more books during the next 12 months,
Jai Ec mac
atter which you may cancel your membership at any time. (/)
It -4 Nal
(. ()Nip' ,1 A albpinlyhandlkg chow and Mee to. wIR Do Woad ie M mons Al Duals we
&doom wino Mon** nand. (Plauliners' Mess Ivoym) If you Wool book
owes as 2 olic4o, INN* 919 bac* number N we box and XX In thy nal
01996 Bootrorkes Book Club REXAO&I'
II orb is niliking, skis Ekrobtoic Book Club, A Division el MoCksep4411. EO
Blue Mae Summit PA 172940110 Cri
3270P $26.95 3e774-55 $34.95 1347P $29.95 4230H-XX $39.95
Counts as 2/Mac...over Counts as 2/Hardcover 105
Enter A World Of Excitement with a Subscription to
Popular Electronics
Get the latest electronic technology 411000. ROCKET LAUNCHER 1211 ROUND -UP TILIPNONR-CALL ROMA
PLUS: ALL OUR GREAT DEPARTMENTS! FOR FASTER SERVICE CALL TODAY
You'll get 12 exciting and informative issues of Popular Electron-
rn
rn
ics for only $18.95. That's a savings of $23.05 off the regular sin-
gle copy price. Subscribe to Popular Electronics today! Just fill out 1-800-827-0383
the subscription order form below.
cc
w (7:30AM-8:30PM) EASTERN STANDARD TIME
2
2
C/)
AX295.11
lL
Acct #1 1 111111111111 CITY STATE ZIP
CIRCLE 27 ON FREE
The ISCET VCR Cross Reference
INFORMATION CARD is pre -punched for standard loose-
leaf binding. . .$38.00 plus $3.00 for
shipping for each Reference.
The 1100 Series sup- NMI MEI m
ports composite, compo- Claggk Inc. m
Phone
lyzing signals, as required $12.95; and an optional Enclose $38.00 for the Third Edition of the ISCET z
by FCC regulations. ANC2 nylon carrying VCR Cross Reference and $3.00 for shipping for each
Al, A4, and A8 are three such the operations performed in I've got to stay in and show my Dad
how to use Our new computer."
games. When you are learning Listing 1. The line numbers in
the C -Game, it is suggested you the flow chart correspond to the
start with the games in the line numbers in the assembly
order shown in Table 1 (first Al, listing. 4 -
then A2, A3, etc.) as they are Notice line 16 in the listing.
organized by order of difficulty. The square wave's frequency is
The four "special effects" se- determined by the value placed
lections are included just for in the "inner loop" (refer to the
fun. When selected, C -Game flowchart and also lines 16 and
produces random and pre-pro- 17). By changing the value from
grammed LED displays and 4 to some larger value, for exam-
108 sound effects. In selection B16, ple, the loop would require more
"Herb and / couldn't possibly correct
the overheating problem 'till after lunch!"
Hobbyist's Paperback Budget Books
O BP80/98-Popular c..D..4.,....d 0 #160 -Coil Design 0 BP271-How to Ex- 0 BP276-Shortwave
t),,,,i,,, pand, Modernize and Superhet Receiver
1:1,,,,, ,,, Electronic Circuits- CowW..", and Construction Man-
(:,-.,,,t., Books 1 and 2...$11.90. .._
11""""1 ual...$5.95. A complete Repair PC's and Corn- Construction...$6.95.
Contains a wide range of book for the home build- pebbles...57.75. All the Provides construction de -
er on how to make RF, practical information you
i
circuits which are ac- tails, including coil wind-
companied` by text giving IF, audio and power are likely to need to up - ing, of a number of ad-
a brief introduction, cir- chokes and transform - , - " grade your PC and co rn- vanced-design receivers
cult description and spe- ers. Practically every patible. Also contains ,01!
which should have per-
cial notes on construe-
tion and setting -up that
E possible type is dis-
cussed and calculations
:,
.1 er,
'''...%-' useful information and il-
lustrations to help you
tormance levels at least
equal to commercial sets
may be necessary. are explained in detail. with repairs. of similar complexity.
tical and useful operational amplifiers r"!!!!!` featured and include circuit diagram and !ro!i ,. is designed to be built on a "Verobloc"
(opamp), the CA3130 integrated circuit
CONSTCJCI:CA A description, Veroboard or printed -circuit breadboard and is presented with a brief
chip is the heart of several easy -to -as- board layout and construction notes. The circuit description, circuit diagram, com-
semble projects covered in the book. text is divided into two parts. The first ponent layout diagram and components
The projects are divided into five cate- deals with many types of preamplifiers. list. Notes on construction and applica-
gories: audio projects, RF projects, test The second covers power amplifiers tions are provided. Wherever possible,
the components are common to several
equipment, household projects and a
catch-all miscellaneous group. Ideal for
all skill levels.
it from a simple low -power battery type to
a 100 -watt DC -coupled amplifier using
four MOSFETs in the output stage.
projects to keep project costs down.
t
modules, all suitable for phone, Gildaphone, that the reader can start ,A -A, they are used and their
battery operation, and all Melody Ranger, Cord- ,,,,.. anywhere in the text. S.11'.1 limitations. Each chapter
based on only 1 or 2 maker, Appealing Hand- :- This book is relevant to covers popular software
transistors or ICs. bells, Electronic Sol -Fa, -' all versions of both MS- and programs of a simi-
Tune-up Box and more. , DOS and PC -DOS. lar type.
0 BP105 Aerial (Antenna) Pro- ,,.,,,,,,, 111 BP33-Electronic Calculator Users 0 BP125-25 Simple Amateur Band
jects...$5.50. In this book the author has 2,,,,1,-,-..,- Handbook... 55.75. The book eliminates Anfennas...55.50. Plans to build an -
considered practical antenna designs, in- the mysteries of the calculator and of- tennas that are simple and inexpensive
cluding active, loop and ferrite antennas fers unique ideas for the simplest to most to construct and perform well. From the
which perform well and are relatively sim- complex calculators. Covers the basic simple dipole to beam, triangle and even
pie and inexpensive to build. The corn- functions plus trigonometric, hyperbol- mini -rhombic types made from four TV
plex theory and mathematics of antenna ic, logarithms, square roots and powers. masts and about 400 feet of wire. After
design have been avoided. Also included Included are formulas and data for VAT, the antenna discussion you will find a
are construction details of a number of discounts, and mark up, currency con- complete set of dimension tables that
antenna accessories including a pre -se- - version, interest, binary and octal num- will help you "tune" an antenna on a par -
lector, attenuator and filters. bers, and much more! titular frequency.
I.
dBASE
_46.95. The most popu- $9.95. Construction de- 1-2-3 Release 3.1... l!'"' Another book on BASIC
lar data -base program, tails are given to build a $6.25. Written to help '" but with a difference. It
' 0
&ME it a
':
I
r..,
.4).411)
dBASE, is difficult to
master without help. This
book helps you spend
your time using dBase,
not setting it up. A user's
--111C
lt,:l
Q
-
circuit demonstrator that
is used throughout the
book to introduce corn-
mon electronic compo-
nents and how these
existing spreadsheet
users upgrade to 1-2-3
Release 3.1, which has
the ability to work 3 -di-
mensionally with both
!
...l:.I
GC.iu 1:
concentrates on intro -
ducing technique by
looking in depth at the
most frequently used
and more easily under-
m
multiple worksheets and ))1 stood computer instruc-
inIIIIIII. guide that covers all the
basics up to dBase IV.
Q components are built up
to useful circuits. files.
, .. ,,,
lions.
-4
0z
cn
PE3 Allow 6-8 weeks for delivery $50.01 and above $8.00 All payments must be in U.S. funds! 109
PHONE -CALL RESTRICTOR try to dial any number. You have to replace the EEPROM
should hear a tone after press- with a blank chip.
Continued from page 48 ing the first digit, and a busy The EEPROM has enough
signal will be placed on the line memory to hold 248 characters
prototype unit. Run the wires to prevent you from completing including the # sign which sep-
through the slots and assemble the call. If that does not occur, arates the telephone numbers.
the two halves of the case. the call restrictor is not operat- You can enter full 7- or 11 -dig-
ing properly. it numbers, or you can enter
Operation Make a list in advance of the partial numbers such as 786,
Locate a suitable phone jack telephone numbers that you and all numbers beginning
in your home or business and want to either block or allow. If with that prefix will be consid-
plug in the phone cord of the you want to add or remove num- ered part of the list. A prefix can
Telephone Call Restrictor. Put it bers, that list will come in be any length; entering 1-900
in a location that is not accessi- handy. When programming the will add all 900 numbers to the
ble to those whose phone access unit, LED1 will light imme- list, while entering 1-9 will add
you wish to control, and plug diately prior to the input of tele- all numbers beginning with 1-9
the wall adapter into an AC out- phone numbers and/or pass- (1-900, 1-976, 1-905, etc.).
let. word, indicating thatthe cur- At any time you can bypass
Refer to Table 1 for the set of cuit is in the programming the call restrictor from any
programming commands that mode and that a valid password phone on the line simply by
can be entered from your 'Much- has been entered (if applicable). pressing #, your password, and
lbne phone. Initially, before pro- Until you decide on a password then hanging up. The unit is
gramming, set the call restric- and have entered it into the then disabled until the next call
tor to the 'Allow Group" mode. EEPROM, omit this number is made, and is re -enabled upon
Because there have not been wherever it appears in the pro- completion of that call. With the
any numbers entered into the gramming sequence in Table 1. Telephone Call Restrictor you
EEPROM, all numbers that Be careful not to enter a pass- can finally gain complete con-
someone attempts to dial will be word and then forget the trol of your phone, and your bill,
blocked. Pick up the phone and number. If that occurs, you will whether at home or at work. f2
m
art, science, and tech- BASIC -52 programming States X
source for determining task of writing applications 6310 San Vincente Blvd.
what material is available software. Special com- Suite 360
for classroom and self -edu- mands store programs in Los Angeles, CA 90048
U)
ct
D
ro
0
a)
MART
ro
ai
E
LU
E
a)
a)
It keeps
_o
ro
a>
E
co)
rt1
c0
BEST BY MAIL
Rates: Write National, Box 5, Sarasota, FL 34230 more than
.c) 2 BOOKS & CATALOGS
to
N-
a)
0
a)
U)
PINBALL MACHINES BOOKS, Parts, Supplies. Catalog $1.00.
MARCO, 2401-(EEH) Sunset, West Columbia, SC 29169-4717.
BURGLAR ALARMS
memories
O
alive.
PROFESSIONAL SECURITY SYSTEMS. Free catalog. Securi-
ty, PO Box 2933, West Monroe, LA 71294.
fn
co Da)
col
COMPUTERS & SOFTWARE
O a) FOR THE LOWEST Priced Computers, Printers And Hard-
Z I ware Call 800-540-2855.
1000% PROFIT WITH your computer! For complete details AMERICAN HEART
1 0 call: (419)-872-2792.
z 0 EDUCATION - INSTRUCTION - SCHOOLS ASSOCIATION
Lu co MEMORIALS & TRIBUTES
_1
Lu
0
2 a)
RADIO!! ON THE Job Training in Local Radio Stations. Part
time, Nights, Weekends. No experience required. Free Bro-
< cr) chure and Recording tells how. Toll free 1-800-858-4241.
< 0 cc
W
MONEYMAKING OPPORTUNITIES
p_ 0 0
cr) cr) $1,000a POSSIBLE MONTHLY WRITE: MallOrder Express,
c-) 80550, Memphis, TN 38108. 1-800-AHA-USA1_t_
O ri) w OF INTEREST TO ALL
a Lu H
-.7- American Heart Association
z cS INVENTORS. HOW TO Invent; Protect; Sell! Free Report.
"E) DE) C/3. Randolph, Box 92972, Lakeland, FL 33804. This space provided as a public service.
co 0 m0 LASER SAFETY LIGHT has 2,500 feet of visibility for bik-
1993, American Heart Association
a) ing, camping, horseback riding, jogging, roller-blading or tend-
7 cp
Lu ing to auto emergencies. Send $17.45 to: BEACO Inc., P 0 Box
W (/),
(I)
a_ 1168-(EEH), Glenside, PA 19038. MUST SEE TO BELIEVE!
NaN
z
w
E a)
E 0 c\i
PLANS AND KITS ADVERTISING INDEX
Cu) -oCO 2 a) Electronics Now magazine does not as-
0D c.f)
Z cc FASCINATING kits! Lasers, voice changers, gas
sume any responsibility for errors that
1- 8 sensors, and more! Send $1.00 for catalog. LNS
(/) CO
COO
CU V) C.) 03 TECHNOLOGIES, 20993 Foothill Blvd., Suite may appear in the index below.
CLI
1.0
CZ
u)
LLI
_I 0 307X, Hayward, CA 94541-1511.
LLI CL
cT_ cT_
cn
60 SOLDERLESS Breadboard Projects in two
0 a) a) easy -to -read pocket books. Complete with circuit
E descriptions, schematics, parts layouts, compo- RS # Page
-o
csr
7T5
<o nent listings, etc. Both books (BP107 & BP113)
only $11.90 plus $3.50 for shipping. USA and Can-
ada only. US funds. ETT, INC., PO Box 240, Mas- Antique Electronic Supply 8
sapequa Park, NY 11762-0240.
CRYSTAL set Handbook - Visit antiquity by 11 C&S Sales, Inc 5
'at;
building the radios your grandfather built. Assem-
E LU.0 ble a "Quaker Oats" rig, wind coils that work and
E --CVM,I.LOCON.ODC3),7 make it look like the 1920's! Only $10.95 plus Cleveland Inst. of Electronics 17
lIDLOUD U) is) in In U
C En $3.50 for shipping and handling. CLAGGK INC.,
.c PO Box 4099, Farmingdale, NY 11735. US funds
a)
0 only! USA and Canada - no foreign orders. Comtrad Industries C2, C4
Lc)
rn
cy)
E 1?C
.> o
.-NCO,tUD(DN-ODCY)CD
,t v V' 'Cr - EDE-Spy Outlet 8
cT)
c.) C a) FOR SALE
cc
a) -o 14 Information Unlimited 3
E THE Case Against the Patents. Thoroughly test-
2 ,0 a) .-C\ICOct,f)(0N-COMCD ed and proven alternatives that work in the real
1- ai CC CICICOODMODODC'DC'D,t
o 0)
world. $28.50. SYNERGETICS PRESS, Box 809-
C, Thatcher, AZ 85552. (602) 428-4073. Visa/MC.
18 Interactive Image C3
0 C.)
0 300 Experimenters Circuits - Complete in 6 Mouser
0 5cc -0u)coo practical books using diodes, relays, FET's,
17 66
NC,)97LIDCD (7
c C\INC\INNC\INNNCO OD
LED's, IC 555's, and IC CA3130's for building
(/)
-cc
- cz 0_
r.)
ro
blocks. Only $33.00 plus $5.50 for shipping. USA
and Canada only. US funds. ETT, INC., PO Box
240, Massapequa Park, NY 11762-0240.
NRI Schools 9
Lu CC _c 12 Prairie Digital
w C\JC0,1-UDC.ON-ODCDCD
7
CI 2 CD -2
2 0 BUSINESS OPPORTUNITIES 13 Professional Career Dev. 10
CC
50 cr)
ro
m _Ct (1) START your own technical venture! Don Lan-
w II
0-0E Sescom
.4or
cr5 16
cn U.1 to U1 N CO 0) CD caster's newly updated Incredible Secret Money
2
0
Ir
CC
LA_ '4=0 a 0
CI) C
Machine II tells how. We now have autographed
copies of the Guru's underground classic for
$18.50. SYNERGETICS PRESS, Box 809-C, - Software Science 8
More Power
Electronics Simulate bigger and more
complex circuits. Faster.
On average, Electronics
Analog Digital &
Mixed Circuits Workbench
The electronics
1:41, ,n a carputer.
Workbench Version 4 is
more than 5 times faster
than Version 3.
Electronics Workbench"'
Version 4 is a fully integrated
schematic capture, simulator
and graphical waveform More Parts
generator. It is simple to Multiple parts bins
mix analog and digital parts contain over twice the
in any combination. components of
Version 3.
Electronics Workbench delivers the power you need to design and verify analog, digital and true mixed
mode circuits. Over 20,000 customers have already put Electronics Workbench to the test. The result:
Better designs... Faster. And over 90% would recommend it to their colleagues.
Electronics Workbench will save you time and money. We guarantee it.*
Tab:
Organmatmi-
GROUND
Zit I.
II TRIGG9 Maw:
IC ED IE
12_,L,,, LE ,IL L": 311
I pnler 0. to o+onLauv1111 mull/fax .0
0,n 9(9 EDT
HAG
9EA1FEi
INTERACTIVE IMAGE TECHNOLOGIES LTD.
908 Niagara Falls Mc. #068, North Tonawanda, NY 14120- ;,t T,
Telephone: 416-977-5550 FAX: 416-977-1818 ,,
True mixed -mode simulation: Simultaneous AM transmiss'on, E-mail ewb@interactiv.com
digitization and pulse -code modulation of a signal. CompuServe: 71333,3435 BBS: 416-977-3540 INTERACTIVE
Trader -lave are property of their respective holders. 00* Ir n U S cidilaS and vald dray in the Urrted States and Canada
io9H2 .111(10:I 1-5 1-.-1313
All in& 13519-3933Bran]: 1-455558H Cyprus:26240DH Ilurnaik: 33-250109 Fintand 029,-5033 Frazier 1-1-9(I S90011 kintilly.'1162:710 (itteXCI-52-1-99S1 ittlIVIry. I-21
1
Wad 3.&.7-56i3 Wily. 11-44'-0549 Jarxur 53382-3136 -Malaysia: 3-7,1-21K9 Mc'dcn: 5.3,X,30"5 NetherkindS 18031,666 New Zealuxl: 9-.1;4-56 Norway 22.16-0-i5 PortlIg.11: 1-81 Ky(109
Singaporc:4Q-0006 Slovenia:61-317-830 South 331-68309 South Korea:2-1222-343i Spain: 1.553-323-1 Sri Liniac 1-8659^0 Sweden:K-405SM Thildand:66.2-A9M9N2 I 'IC: _'03-'3-42111
CFICLE 18 ON FREE INFORMATION CARD
and vandals. And they can keep you from
tripping over unexpected objects in the
path-like toys or ice and snow.
Factory -direct offer. This advanced so-
lar lighting technology would retail for
hundreds in stores. But through this special
factory -direct offer, you can get the Solar
Pathway Light for just $59. Order extras, and
receive them for just $49. The Solar Sensor
Light is available for only $79 with additional
lights costing only $69 each. Take advantage
of this special offer to add beauty and safe-
ty to your home and yard.
With convenient wireless installation, in heat and motion sensor. With no timers or
switches to set, this light automatically switches
on when triggered and stays on after you leave
two lighting systems offer the brightest for 30 to 60 secconds. The adjustable 30 to 60 sec-
ond delay ensures that you'll ?7 cver be left in the
solar light ever available! dark. With no wiring,
it's easy to in-
Alpan's industrially -proven solar technology harvests the power of stall. The solar
the sun to protect your home and family. panel mounts di- 7
bulb, the new So- up to six are no wires. And Solar Sensor Light' $79 $8 S&H
hours of Additional Solar Sensor Lights .._....._._....save $10 each
lar Pathway Light illumination because these lights
Please mention promotional code 851 -ET -1113.
provides the maxi- store and use ener-
Energy -efficient For fastest service call toll -free 24 hours a day
mum amount of gy from the sun,
fluorescent 800-992-2966
illumination while
using a minimum
amount of energy.
bulb burns up
to 100 times
brighter than
non -fluorescent
you'll never pay for
outdoor lighting.
Ensured safety.
= RIO
To order by mail, send check or money order for
In fact, the unique solar light bulbs Outdoor lighting is the total amount including S&H (VA residents add
4.5% sales tax.) Or charge it to your credit card by
fluorescent tube is not just convenient. enclosing your account number and exp. date.
up to 100 times Height -adjustable It makes your home
mounting stakes
brighter than non - fasten together with safer. Well -lit walk-
fluorescent solar - no hardware to rust ways and yards dis- INDUSTRIES
powered lights. 2820 Waterford Lake Drive, Suite 106
courage burglars Midlothian, Virginia 23113