You are on page 1of 64

·$4 .95 US/$5 .

95 CAN
Join The Price/Performance Revolution

The Scout is an advanced low cost mobile robot system. The SymCentric ' dr ive
system allows t urning about geometric and sensing centroids . This, combined with
360 0 tacti le and sonar sensing, greatly simplifies path planning and control algorithms.

Power
The Scout features a sophisticated power system: on board battery changing and
monitoring, more than 24 hours of operating life, and AC interface for charging and
direct operation .

Communications
Nomad S COIi t High speed wire less ethernet with full TCP/IP support turns your Scout into a network
$3,999 toitliout node allowing seamless connectivity and control.
CO/ll /ll ll ll icat ions

Software
....... _ - ""'"" ~
-- <\
't'- !'-

_u_.
~
•• •
r·~
.

--
~,

The Scout is fully supported by the Nomadic Software


t '\ . ~1I~
,r ~
!

I •• 1/._- I
I
Development Environment, the same full featured
environment used by researchers with the industry
/
1- -"" -...:::".5l: '1.
-:;:'- - :::'.-'"
u
_u_
." •." ~ standard Nomad 200 and 150 robots. This package

IiJ ~ features a fully functional multi-robot simulator, a CUI


_.,
~v.;.~j -"'- . . J'" - 1-
r." interface to simulated and real robots, advanced
. ""'..... '-'LJ

; .. Ii
-- - " I -I ~
......J ......
I
l~=:z.: .
I debugging and data recording tools, and interfaces to
C, CH, and LISP.

Scout Pack
Make your own Scout RoboCup soccer team and take
advantage of a special offer for five Scouts equipped
with special RoboCup hardware options.

/... •...
L), {/ "
,
NOMADIC
TECHNOLOGIES , INC.
2133 Leghor-n Str e e t, Mountain View, CA 9404 .~ -1605 , TH. 6511.988 .7200, FAX 650.988.7 201 , EMAIl. non",d@rohots.colll, http r/ ywww.robots.com
----- ....
I
I

I
- ---
z
Fora completelisting of our International Distrillutors
n
please visit our webste at http://www.parallaxinc.com
Parallax and BASIC stamp are egistered trademarks of
Parallax. Inc.
~ A

Wall Hugging
Algorithm
First in the series of "algoriihme" articles.

by Tak Auueung 3[]

A utonomous mobile robots serve hors d'oeuvres. Capturing squiggly life in a Mars yard. The Naval
Research Lab's vision-integrated bot is smarter than its operator.

by RS &T Staff S9
MicromouSE!
Maze Deze at U[ Devls
University of California at Davis hosted the 1888 IEEE Region 6
Micromouse competition.

RS&T's fi rst-hand look at the winning mouse, the Wandering Rat that didn't wander.

b y Tom Durkin 34

II..........,..........
High schools compete
to build a tiny cable-climbing bot.

by Tom Durkin

r w t:lr lE!i3IC1DOar
You 're a genius with Truth Tables. But can you light an LED?

b y RS &T Labs 21
2 • R OBOT S CIEN CE & T ECHN OLOGY
Understanding
Your Tutorial Robot
Details for building and analyzing the
performance of your simple mobile robot.

Basic engineering principles, gear ratio, torque & power,


simple electronic control system. Parts lists, photos, schematics and sources.

by Dr Bob Brady

Basics of
a Digital Brain: Part 2
Cont rol your 6811 with SBasic .
Second in the series of "cont roll er chips" articles.

A line-by-line tour of the code used to control the analog-to-digital ports. Tran slating photocell
outputs and microstoitch inputs

by Karl Lunt

The total beginner 's guide to hand injecting


polyester casting resin into a rubber
urethane mold. Second in t he series of "mat er ials" articles.

Learn to duplicate a small part, but with greater strength or lighter weight. Custom-make plastic
parts to meet your own specifications. A must-readfor the serious custom bot builder.

by RS&T Labs

J ULY 1998 · 3
The m

Rug Warrior Pro·


The Brains... The Brawn . • 0

(processing, memory and sensor circuitry) (wheels, motors, chassis, etc)

o Powerful Motorola MC68HC II Microcontroller


o Two-line Alphanumeric LCD Display • Two 6 Volt Gear Motor
o 32 K of Battery Backed RAM
• Two 2 1/2" Wheels
o RS-232 Serial Port
o Collision Detector • Custom Caster Wh eel
o Photoresistor Light Sensors
o Infrared Obstacle Detectors
• Cu stom Ch assis Plate
o Microphone • Clear Plastic Skirt Bod y
o Piezoelectric Buzzer
o Two-Channel Motor Driver Chip • Mounting Hardware, Cables?
o Dual Shaft Encoders
Tie straps, etc.
o Free Interactive C Software
with Manual • Cu stom Decals
. . . and more
Bra in sold separately: $359Q!1. Brawn sold separately: $240Q!1.

Buy "The Brains & The Brawn"!


Complete with all the processing, mem ory, sensor circuitry, motors, wheels, chass is
and custom body parts to build the RUG INARRIOR PRO™: $599 00
Featured in the bestselling book Mobile Robots: Inspiration to Implementation (see below)
Mobi le Robots: In spiration to Implementation Na vigating Mob i!e Robots: Systems and Techniques
by MIT PhD s Joseph Jones and Anita Flynn by Bor en stein. Eve rett & Fen g

T he authors me ld their years of practical robot buildi ng and Both profe ssio nal and ho bbyist robo t designer s face co m-
ex tensive knowledge of theory to effectively teach the reader to plicated prob lem s s uc h as positi oning. real -world navi-
build an autonomo us robot. Mobile Robots guides readers w ith gation. landmark recou nitio na nd mod el mat ch ing. Thi s
illustratio ns. expert photograph s and accessi ble text. With this th orough. bro ad -sco pe & easi ly- rea d resource prese nts
boo k. you' Il build two inexpen sive. fully functional robots. and practical solutions for choos ing and usin g a wide array
understand how to design and co nstruct artificially intelligent o f map -b ased se nso rs. dead rec ko ning o ptica l enco ders.
cybe r crea tions . This is the wide ly acc laimed Bible of Robot dopp ler s. dri ve & stee ring sys tems. mech ani cal & o pt i-
Builders. A grea t introd uctory guide for novices. a valuable textbook used with ca l gyroscopes. magneti cs. ac tive beacon s. odo me try &
tremend ous success at M IT. Vassar and other schoo ls. Recommend ed for novices m an y m ore m eth od s o f p o siti onin g . s tee r ing & nav ig
and ed uca to rs . A K Pe te rs. 199 3. har dco ve r. 368 page s. six a ppe nd ices A K Pet ers. 19 96 . C D- RO M wi v ideo c lips & sea rc h ca pa hi li tir
& ex tensive bibliography $ 48
The A K Pet ers c a t a log d e scr ib e s in det a il ove r 70 bo ok s
r-"'"'"'"""'. .........."!l Sen sors for Mob ile Robots a nd j ournal s o f int e re st to e d uca tors a nd
by vete ra n m ilitary robotic ist H.R . Evere tt ser io us st ude nts o f sc ie nce a nd techn ol-
ogy: Rob ot ic s . To po logy. Co m p uta t io n .
Here is the most co mpre he ns ive yet easy- readi ng ex planatio n o f Co m p ute r Gra p h ics . Visio n. Lan gu age s .
the theor y and operation of both protot ype and co mme rcia lly A lge b ra . A p p lie d M ath em ati c s . Bi o g r a-
avai lable sensor sys te ms. Both stude nts and ex pe rienced deve l- ph y. Geo me t ry. Lo gi c . Ana lys is. Ga me
op me nt engi nee rs need thi s textb oo k. packed w ith pr actical a nd N u m be r Th eory. Prob abi lit y. Ph y s-
lesso ns learn ed from actua l use o n a variety of robotic vehicles. ic s. M e di cin e . Wa vel et s ...
,-= = =-..1 Th is is a must- have boo k fo r eve ryo ne who is serious abo ut
robot se nsors . Reco mmend ed for R&D . indu str y. go vern me nt and academ ia.
A K Peter s. 1995. hardcover. 544 pages with as man y illustrations $68

A K PETERS, LTD.
Publishers of Science and Technology
63 South Ave. , Natick, MA 01760
(508) 655-9933 • Fax (508) 655-5847 • service@akpeters.com www.akpeters.com
Order by phone (508) 655-9933 , M-F, 9-5, EST or by fax (508) 655-5847 - Visa/MasterCard : Be sure to include both card number and expo date.
Ch~~~,, : in $U.S. or by International Postal Money Order 0 ~ni'Pj)lrc~: {U.S.) $4 for first @ B, $2 lor each Il.tiditional ti112. 0 ~""t.;;rru&lf~ ~1iIDl: Please i;"1quire about postal charges.
he World 's Most Powerlul Control System on a Chip

aste Express T


i'jll

I The little engine that nDoes!n

- . - .

r your next embedded control project . stop saying "I think I can. 1 think I can" and s art "doing" with Basic Express . BasicX roars out of the sta
'th a high-speed Basic supporting a subset of . Visual Basic'. an unparalleled I/O subsystem. and a multitasking engine all on a 40 pin c
agine the possibilities for robotics , industrial control. home automation. security, data gathering and logging . environmental control . pro,
ntrol, bar code readers and hand-held terminals. The list is endless .
-------------------------
~ ~' ' ' ' ' ~ ~ ~ ~'' ' ' ' ~
PROGRAM/DATA STORAGE UP TO 16 MEGABYTES RS485 NETWORKING TO 500,000 BITS PER SECOND
e BasicX chip supports code up to 16 Megabytes and RAM up to 64K in A built-in peer-to-peer network in each BasicX chip allows yo,
·"ternal storage. Code can be downloaded into RAM for faster execution interconnect multiple chips with just two wires and an external RS485 (
· ceeding 100,000 Basic statements per second. Variables can be read Any Basic variable can be sent or received over the network with
- rd written to the external code EEPROM just like a file system for easy handshaking. Downloading and debugging are also supported over
; ta storage. Persistent variables are built into the language for the internal network. You can share the network with other company's BasicX dsvi
2 bytes of EEPROM and require no additional programming. If your Imagine your device on the same network as the building lighting;
ogram and data can fit completely on-chip along with the operating cooling, or cooperating on a problem. or extracting data from other dsvi
stem, the BasicX Chip can be programmed at NetMedia to create single The network runs at any speed from 300 to 500.000 baud - even l
~I i p systems. With no external program storage. you have the full use of 32 modems! Now you can control and update your device effortlessly' i
grammable I/O pins. anywhere in the world.

ON-CHIP MULTITASKING OPERATING SYSTEM COMPLETE DEVELOPMENT ENVIRONMENT


e BasicX chip has a built-in multitasking operating system that executes The BasicX development system includes an RS485 network. COM pol!'i
sic language statements. Basic subroutines can be CALLed as normal or circuit emulator/expansion connector. Expandable SPI Code EEPROI\:.!i,
w CALLTASKed in parallel. Run hundreds of tasks simultaneously limited bytes of on-chip RAM. The development system is connected to a ~
• -Iy by available RAM. Tasks are like having additional BasicX processors. parallel port for downloading . On most computers . no external ~
sks can share global variables, perform I/O, network, sleep and alarm. supply is required. A complete BasicX compiler, editor and debug ~
rt and stop other tasks and even interrupt on critical events. Complex provided for easy development. Just write your code and load '
.oblems become easy with Tasks. Code sharing allows tasks to utilize Additional RAM. EEPROM. and I/O interfaces are available. See 0
mmon code to save space. site for details.

.... -~:-.,....-
IEEE SINGLE PRECISION FLOATING POINT
: isicX implements IEEE standard single precision floating point on-chip.
LOTS OF ON-CHIP PERIPHERALS AND SPECIAL FUNCTIO rNl
There is not enough space to talk about all the features like real time
• rfect for artificial intelligence. fuzzy logic, filtering, analog I/O, calendar. timers and counters, analog comparator, watchdog timer,
• mperatures and control loops. A library is also provided with typical math PWMs, SPI peripheral bus, lots of high power I/O lines and low power
-,nctions like Sin. Cos, Ln. and Exp. Multidimensional arrays are modes. Visit our web site at WWW.BASICX.COM. We have a 3
Ipported of all datatypes from boolean to single. money back guarantee, so get off your caboose and climb aboard!

NetMedia Inc. 10940 N. Stallard PI. Tucson. Arizona 85737 Tel 520-544-4567 Fax 520-544-0800 WWW.BASICX.COM
Basic Express. BasicX and NetMedia are trademarks of Netmedia, Inc. 'Visual Basic is a trademark of Microsoft, and is not included. J ULY 1998 • 5
©Copyright 1998 NelMedia Inc. All rights reserved .
by Dr Bob Brady
Photos: Doug Winter

ere we describe in detail the construction andanalusis of a


simple mobile robot. The uiork centers on a "TuteBot" style
robot as described in the book "Mobile Robots" by Joseph Jones and Anita
Flynn (introduced in RS&T 's Premier). This article complements their
work by documenting my experiences, helping you save money by
suggesting S01ne alternative parts lists, and providing a way to analyze
the performance of your TuteBot.
6 • R OBOT S CIEN CE & T ECHN OLOGY
B illed as a sim ple starter or
" tu tor ia l" ro bo t that
a llows b eginn er s to
quickly understand and build ba-
(For yo unger readers, thi s article
represents a tour de force of basic
eng ineering principl es. Wha t so rts
of things d oes a mechani cal or elec-
Hacker Mechanical Parts List
One model bulldozer kit - $40
Thi s kit includes a read y-to-go
tank-typ e track vehi cle w ith a dual
sic robo ts, Tu te Bot lives up to its trical eng inee r do, an yway? Read on mot or / gea r system. You need on ly
name. Anyone w ith a basic gras p and yo u w ill ge t a flavor for the na- to remove the bulldozer bl ade (a
of electrica l/ mechani cal principl es ture of the wo rk.) minim ali st h a ck , but a h a ck
can understand and build a nevertheless). You can com-
Tut eBot. For those w itho u t: pl etely skip over chassis /
relax, yo u can probabl y d o ge ar-train building and go
it anyway, w ith th e help of directly to building yo ur
th is ar ticle. electronic circuit. And yo u
Ph ysicall y, it is a sim p le ca n save $170 in the
m obil e rob ot w i th a n pro cess!
analog electro nic brain. It is Tr y to ge t th e s q ua re-
ap proxi ma tely 21 cm lon g s ha pe d 1 kQ p otent io-
by 10 ern wi de by 14 em high . Let's Get Started: m eters wi th screw a dj us tme n ts
You can cons truct a Tu teBot eithe r TuteBot Parts List since these are eas ier to work with
b y u s in g $200 wor th of Lego" First things first. You 'll need to on the prot ot ype breadboard . Also ,
bri cks and motors, or by hacking a gathe r the necessary p arts to build be sure to ge t sna p switches w ith
$40 bulldozer chassis / motor / gea r- yo ur rob ot. I offer tw o ve rsions of the longest levers yo u can find. Mi-
train plat form. It is contro lled by an the parts list: Deluxe and H acker. cro Sw itch manufactures the long
electro n ic brain, w h ich yo u build The Delu xe version cons ists of stock lever typ e. L~
using $50 worth of com mon parts Lego parts, allowin g yo u to follow
fro m Rad io Shack or th rough mail along the steps in Mobile Robots. But
or der. (Reso urces are listed at the it cos ts over $200!
We 've g ot Java!
end of this ar ticle.) In con tras t, the "Hacke r" vers ion
Does your robot have sonar, infra-
The propulsion sys tem cons ists of is an orde r of magnitude che ape r
red, 8 tactile sensors, and voice syn-
tw o 3-4 Vdc mot ors w ith gear re- th an Deluxe, an d requi res so me thesis? Perhaps, but can you pro-
du cti on (mo re on th at later) to minor modificati on s (bu t tak es less gram your robot from your web
p rovide sui table w heel speed and overa ll effort). It cos ts abo u t $90, browser? With our new Java-based
torque. The electro nic con trol sys - total. Both versions share a com mo n robot control system, it's as easy as
point & click, copy & paste. The
tem allows our littl e mech at ronic electronics parts list. RB5Xrvt base unit is also available as an
frien d to navigate aro und obs tacles inner-component kit.
or follow a wa ll. Deluxe Mechanical Parts Lis t:
A beginner sho u ld be ab le to One Lego Technic 800.422.4265
build a Tu teBot in eigh t hours or Resource Set - $216
less. Most likely yo u w ill make a Over 1700 pieces! Includes build-
few m ist ak es along th e way and ing blocks for th e chass is, motor s,
h a v e to scra tch yo ur h ead an d gea rs, ca ms, shafts, and electrical Show n here:
RB5X base unit ,
troubl eshoot yo ur way clear o f connec tions. Also contain s plenty of
RF transmitter
th em. Believe it or not, this is one extr a p arts, battery packs for the heat/light/sound kit,
of the joys of robo tics. The sense of motor s, and links to build a tank- ideo, and 5-axis arm;
fully assembled.
achi evement and se lf-con fiden ce typ e track sys tem ins tea d of wheels.
yo u ge t af ter wo rking yo ur w ay Dear reader, verily I say unto you:
aroun d yo ur own se t of obs tacles do not be like the author and throw
w ill more th an com pe ns ate for any mon ey a t yo ur proj ects in a cav a-
fleetin g feelings of frustra tion yo u lier fashion: purchase th e hacker www .edurobot.com
'Java' is a registered trad emark o f Sun Microsys tems
RB5X™ by the General Robo tics Corpo ratio n ™
m ay enco unter. ve rs ion .
J ULY 1998 • 7
T;.-- - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - -

Th e total cost for the parts listed 5600 rpm, our little lightweight bot
below shou ld be around $50. See will be going over 28 miles per hour
the end of thi s article for so me good and be smashed to bit s! Hence, the
so urces. need for speed reduction.
So how does s p ee d redu cti on
Build and Understand happen with gears? Con sid er th e
the Chassis/Propulsion gear dia gram .
Rot at ion Velocity 2
System
divided by
Rotation Velocity 1
Wha t's so hi gh-falutin' important
abou t th is gear train thing, any w ay?
= Rl -i- R2
Why d o we need it anyway? Well ,
So, based on the above eq uation,
th e gea r train d oes tw o things: It re-
yo u can see that by meshing a small
du ces w hee l speed a n d increases The diagram sh ows sma lle r Ge a r
gear to a larger gear we can reduce
w heel torque. 1 with radius Rl m e sh ed with
the ro ta tion speed of the shaft at-
larger Gear 2 with radius R2. The
Reducing Wheel Speed tached to the larger gear. This is the
speed of the mesh p oint equa ls th e
principle behind using gear trains to
rotation ve locity of Gea r 1 tim es Rl ,
Let's ad dress these items one at a obtain a reasonable w hee l speed. The
which must be equal to th e ro ta tion
tim e. First off, let's look at why re- ratio of the outpu t gear rad ius to the
velocity of Gear 2 tim es R2. In other
ducing w hee l speed is necessary via input gear radius is called, appropri-
words, the sp eed of th e mesh p oint
a gea r train . I measured the speed of ately eno ugh, the gear rat io.
is unique; w e can exp ress it in terms
the Lego ve rs ion m obil e bot to be of Gear 1 or Gear 2. Thi s is all ba sed
abo u t 465 mm per seco nd. With Lego on th e physics of speed equals rota-
Increasing Wheel Torque
w heels of 43 mm in diameter, this tion velocity times radius for a p oint
transl ates to 20 7 re voluti ons per The second reason we need a gear
on a rotating obj ect. In m ath terms,
minute (rpm, di vid e the speed by the train is to increase w hee l torqu e.
thi s equals:
circumference of the wheel). Motors, Mos t co m mon h obb y or toy electr ic
how ever, even under load, will run m oto rs a re hig h speed (seve ra l
Me sh Point Speed
th ousand s of rpm) and low tor que
a t thou sands of rp m . If the wheels of = Rot ation Velocity 1 x Rl
our bot we re d irectly connected to the (abou t 20 g*cm). In order to provide
= Rotation Velocity 2 x R2
motor, yo u can see the problem: At th e torque necessary to drive your
or
ro bot's w heels, we'll need to in-
crease th e torqu e. We' ll p rove thi s
la tel' in the performan ce section . For
now, let's look a t th e mech anics of
h ow thi s is d one.
A gear train not on ly w ill reduce
w heel speed, but a lso increase the
to rqu e a t th e sa me tim e! Suc h a
d eal! To und er st and w hy thi s is so,
refer back th e littl e gear / b ig gear
schema tic above. If we ignore en-
e rgy losses s uc h as fric tio n work
an d h eat , th en th e p ow er in p u t to

8 • R OBOT S CIEN CE & T ECHN OLOGY


the little gear has to equa l the power ou tp u t A thin wood en bump er: with bumper
to the big gear. This is called the con serva- switches atta ched.
tion of energy. Energy simply can' t be pulled
in from the Four th Dimen sion ; it has to be
acco un ted for and conserved . Wh at is th e
power of a gear? From basic physics, it's the
torque on its sha ft tim es its rotation ve locity.
Thus, we have:

Power In = Power Out

Torque 1 x Rotation Velocity 1


= Torque 2 x Rotation Velocity 2
or

Torque 2 + Torque 1
= Rotation Velocity 1
+ Rotation Velocity 2 Building the Chassis

But, from velocity red uction we kn ow that: If you are go ing to use the Hacker chassis, then sim-
pl y re move th e bulld ozer bl ad e a n d skip to the
Rotation Velocity 1 + Rotation Velocity 2 electro nics section . If yo u bou ght the Lego set, read on .
= R2 + Rl Firs t, look at the image of the chassis below w ith th e
electro nics rem oved from it. Here yo u wi ll see the gear
w hich means layout and Lego chassis d etails. You can see the m otor
shaft has a small 8-too th gear mounted to it, w hich in
Torque 2 + Torque 1 = R2 + Rl turn res ts on a 24-tooth gear di rectly below it. This
larger 24-tooth gea r is attac hed to a shaft wi th ano ther
And so, a gear reduction increases the ou tp u t torqu e sma ll 8-too th gear on the other end.
as well as decreases the ou tp u t speed. Th e configuration is repeated tw ice: once to ano the r
24/8 gea r combo shaft and again to
th e w heel axle. Use four lon g Lego
bars to mount th e motor and insert
the gear shaft / w heel axle combina-
tions, as sho w n in th e image . It's
best to firs t use tw o of the Lego bars
to build each w heel gear system,
then mount th e motors and connec t
the bars w ith Lego blocks acting as
cross -me mbe rs to make the chassis
rigid . Conne ct tw o sma ller w heels
to a short axle and mount this to one
end of the chass is to act as a cas ter
I wheel.
I You wi ll also need to co ns tru ct a
I bumper assembly usin g th e lever
i
I
switches m ention ed in th e electri-
I ca l p a rts list. I recomm end 1&
I J ULY 19 9 8 · 9
L _
r

tak in g th e lever s and bend in g th em into so me thi ng th en curren t w ill be allowed to flow from its co llec tor
of a ''1'' or hook sha pe w ith a p air of pli er s. Th en se t to em itte r lead s (ma rked "C " and "E ") . A relay m oves
th e sw itches side-by-s ide and glue o r clamp a thin, a sw itch when a vo ltage is ap p lied to its co il con nec -
wooden o r pl ast ic bumper on to th e lever s. You can tions. These are cru de exp lana tio ns ; better ones ar e
see th e chassis images bel ow an d on Page 6 for ex - give n in electro nic texts, but th ese w ill s till allow yo u
amp les of th is. You ca n th en m ount yo ur bumper to underst and the circui t basics.
asse mb ly wi th Velcro to th e chass is. The elec tro nic circ u it is d escribed in de tai l in th e
Mobile Robots book. I'll o ut line the fu nda men ta ls of
Build and Understand the Electronic it an d p ro vid e a circ u it d iag ram th at m a y be easier
Control System to g ras p .
Th e circu it is actu ally m ad e u p of tw o identica l sub-
Thi s d iscussion ass u mes the rea de r is familiar wi th circu its, one for eac h m oto r. An independent circui t is
basic electric circui t theory. Diod es, tran sistor s and re- needed for eac h m ot or so th at one ca n be pow er ed
lays are used in the con tro l circ u it, abo u t w hich some lon ger th an th e othe r whe n th e bo t is backing up from
of yo u may no t be fam iliar. A sim p le exp lanatio n of an obs tacle. Th is allows th e bot to sp in in p lace before
th em follows: A d iode allows cur rent to flow in on ly go ing forwa rd. If th e bot d id not sp in in p lace, th en it
one direction, the d irec tio n of the arrowhea d give n in w ould sim p ly back-up, hit th e obstacle, back up, hit
its sche ma tic be low. A tran sist or acts as a switch: If yo u th e obs tacle, ad infinitum . The schem atic below shows
allow curren t to flow in to its base lead (ma rked " B"), one of th e sub-ci rcu its .

6 V power line on breadboard

Bumper
0.1 Switches
micro F

.----+-----11---+------;-----, NC
NO Relay 2

NC Relay 1
NO

Diode I Diode 2

1---------.C 470 Ohm


B
E
Transistor 82 Ohm
Return to
Negative side of battery

10 • R OBOT S CIEN CE & T ECHN OLOGY

- - - - - - - ._- - ...._ - - - - - - - - - - -- -
Th e circu it sche ma tic is dra wn th e way it would be Close d (NC) pin of Relay 1 is se t high , and th e lead at
w ired on a breadboard . Th e "M" insid e a circle repre- the No rm ally Close d pin of Relay 2 is se t to g ro und .
se n ts the moto r. Now s u p pose th e bot s trikes an obs ta cle a n d th e
First, wire together one motor sub-circuit. Check the con- bumper switches are closed . As lon g as th e bumper
tinui ty of each connec tion as you go along, this will save sw itches are closed , current wi ll flow from th e power
you troubl eshooting effort in the long run . Use 26-gau ge line throu gh Diode 2 and int o th e tran sistor ba se lead .
sing le strand wire for making your breadboard connec- Thi s w ill cause th e tran sist or to co nd uc t curren t from
tions because this size wire fits nicely into the sockets. You its co llecto r to em itte r, a lso ena bling current to pass
wo uld have to tin the lead s if you used multi -strand wire th rou gh both th e co ils of th e relays. Th e relays will
to get similar results. (You might find that slightly larger sw itch from their No rma lly Closed to No rma lly Open
wire, 24 gauge, fits your breadboard better.) (NO) positi on s w he n their co ils are passing current,
Now, si m p ly co n nec t th e +6 V lin e o f yo ur four C- thu s also rever sing th e polarity of the applied motor
ce ll battery holder to th e top co n nec tio n line o n th e voltage. The motor will now run backward s.
breadboard and the g ro u nd to th e bottom line . Then Now here 's the trick : As soon as th e motor runs ba ck-
foll ow th e sc he m a tic co n nec tio ns . Be s u re to co n- ward s, the bumper sw itches will br eak their con tacts.
n ect th e ne gati vel y marked lead of th e 1000 }.IF However, th e 1000 }.IF ca paci tor w ill have som e stored
ca pac ti to r to th e g ro u n d. As p ointed o u t before, tr y cha rge and will contin ue to pa ss curren t to th e transis-
to ge t a 1 k po te n tio me te r th at ha s PC b oar d lead s to r base. Th e 1 k potentiometer can be adjusted so
(ro u nd lead s, not th e flat pron g type ). I had tr oubl e th at the di scharge tim e in one mot or circu it va ries from
ge t ti ng goo d b re adb o a rd co n nec t io ns w i t h th e that of the othe r, allowing the bot to turn as it goes back-
p ron g varie ty. ward . Th e mot or wi ll run back w ards as lon g as th e
The circ u it sche ma tic shows th e norm al, or fo rward , tran sistor ba se receives a sufficient level of curren t from
m od e of opera tio n. The mot or lead at th e ormall y the ca paci tor d isch ar ge loop. ~

A completed TuteBot

i J ULY 1998 • 1 1
L - - - - - - _ . _- -
Now let 's exp lai n th e purpose of an example for calc u lations:
a few of th e circuit co m ponen ts
yo u m ay h a ve b een wo n der ing Bot Weight = 5.3 Newtons (1.2 Ibso~
about. Diode 1 is put in p arall el Bot Wheel Radius = 21.5 m m
wi th th e relay coi ls to da m pen th e Bot Speed = 47.5 em/second
vol tage sp ike ca used by th e rapid
co llapse of th e m agn eti c field in th e (Above, you see th at "Newtons"
co ils. The 0.1 }IF capacitor is p laced are used as the me tric measureme nt
in p arall el w ith th e m otor for basi- of weight. One Newton is the object
ca lly th e sa me reason: to d ampen mass in kilograms m ultip lied by the
/~
Your ( )
( voltage spikes. Diod e 2 is u sed to gravitational constant of 9.81 mps" )
( )
prevent th e ca paci tor fro m d is- The torque req u ired to run my bot
charg ing to th e o t he r m otor is th e p rod uct of the fric tion force
sub-circui t. on th e tires and th e radius of th e
Moilorder Af ter yo u have built tw o work- tires. The friction force, in tu rn , is
in g su b-c irc ui ts, co nnec t th em in th e p roduct of the bo t weight tim es
p ar all el a n d yo u a re a ll se t. I a friction factor. A va lue of abou t 0.5
m ounted th e breadboarded circui t is a good estimate be tween ru bb er
to m y bo t u s in g Velcro . I a lso and a smooth floor surface. So now
m ounted th e b attery pack to th e let's find the torque requi red by
chassis wi th Velcro. Velcro sets with each motor:
• VI 0EO S
-
.~
---
ad hesive back ing are id eal for th is
~
purpose and cheap too. Enjoy! Friction Force on Each Drive Tir e
For = 0.5 x 5.3 N + 2
Do a Performance = 1.325 N (Newtons)
Analysis of Your Bot (Each m ot or provides for half th e
fric tio n force, so we div ided by
O nce you have yo ur bot built yo u tw o.)
m ay wan t to quantify how it p er-
for ms. In order to do th is yo u' ll Friction Torque on Each M otor
have to know its m ass, so me of its =1.325 N x 0.0215m
m ot or specifica tio ns, an d m ak e a = 0.0285 Nm = 290 g*cm
few ass ump tio ns. (Remember tha t 0.0285m is my
One goal wou ld be to d etermine bot 's w heel radius)
th e gear reduc tion and p ow er re-
qui red to operate yo ur bot. Firs t, Th e Lego m otors I u sed typically
find its weight. N ext, find its speed. can provid e only 20 g*cm of torque
You can find its speed sim p ly by outpu t at th e motor shaft. Th us :
Or write 10 us: measuring th e time it tak es th e bot
4286 Redwood Hwy #226-138 to travel over a known di st anc e. I
San Rafael CA 94903 Torq ue Available to M otor
Phone 415-491 -4 600 • Fax 415-4 91-4696 u sed th e chrono fu nc tion of m y = 20 g*cm
Email info@mondo.com wa tch an d th e number of floor tiles Gear Red uction Requ ired
covered (one floor tile = 8 inches in = 290 g*cm + 20 g*cm = 14.5
m y home). We can use m y bot as
12 • R OBOT S CIENCE & T ECHNOLOGY
Who Reads

Robot
Science
Gear Reduction Used
= (24/8)(24/8)(24/8)
ply the friction force by the veloc-
ity of the bot to find the power
& Technology?
= (3)(3)(3) = 27 output required by each motor:
You
Dividing the above reduction PowerOutput Required of Each Motor Your Friends
factors, we have: =1.325 N x 0.475 =0.63 W (Watts) Educators
Students
Torque Safety Factor Assume that the motors are 60 Competitors
= 27 714.5 =1.86 or 86% excess percen t efficient, then estimate the Industry Leaders
power inp u t to each mo tor required
Robots
We can see that I have 86 percent from the ba tteries: (OK ... just the intelligent ones)
leftover torque that can be used for
driving the bot up inclines or to go Power Input of Each Motor
over more rugged terrain. from Batteries 0.63/0.6 1.0 W
Now let's find the power required
to drive the bot at its operating So the total power consumption
speed. Power is defined as force of the bot should be around 2.0 W
times velocity. So we simply multi- from the battery pack.

Other Suggested Activities

Build a maze for your bot. In what geometries does it perform best? ill~
What modifications can you make to increase its maze-solving time?
Can you build an incline and use the performance equations along with
basic physics to predict your bot's speed u p the ramp?
me
Easier Robotics
Replace the analog electronic brain with a micro-con troller. Try using a
Basic Stamp from Parallax.
Can you add any additional sensors to your bot? Would you be able to
build a light-avoiding or light-seeking bot? f\.S&.

RESOURCES hUp://www.acroname.com
Electronic Goldmine Pitsco Lego-Dacta -Polaroid Rangers
www.goldmine-elec.com www.Pitsco-LegoDacta.com -Eltec Pyroelectrics
-H-Bridge Drivers
800.445.0697 800.358.4983
- Share IR Rangers
(Lego Technic Resource Kit) -Surp us Motors
Newark Electronics -Information
www.newark.com Mondo-Tronics Robot Store -Part Sources
800.463.9275 www.RobotStore.com -Links
-Ideas
800.374.5764 -Articles
Honeywell Micro Switch (model bulldozer)
www.honeywell.com/sensing/ phone: 808-258-8181 lax: 808-247-1892

JUL Y 1998 • 13
-~--- - - -- -_. _- - - - - - - - - - -- _ .. _ .. _-- - - - - -- -
su,~·.r-. S 'S.'-..........· ., ~ GUll E

Wh en it comes to building and ope ra ting rob ot s, a picture is wor th a th ou sand words - and a reall y good picture
is worth a coup le th ousand words. Here at R S&T, we wa n t really good pictures and sche ma tics. In fact, we' re not
inter ested in an article unl ess yo u've go t high qu ality g ra phics to go with it. Here are so me tips for good a rt.

go deep - Whe n shoo ting close-u ps, we


wa n t everything in focus. Check yo ur depth
of field . We wa nt to be ab le to rea d th e num-
ber s on the mi crochip .

shoot wide - No thing m ak es us craz ier


th an a pi cture of almost th e w ho le robo t.
When it d oubt, shoot w ide. We' ll cro p it.

cover all the angles - O ne of the secrets


of phot ograph y is to shoot a lot of pictures.
Th is is es pec ially important w he n shoo ting
co m pe titions. Wh en shooting s ta tic sho ts,
ge t d own to eye-level w ith th e robo t. Shoo t
it fr om th e fr ont, b a ck , s ides, top a n d
underneath . (See Tutebot on pages 6-13.)

We love detai led photos!

details, details, details - Your robo t


is m ad e up of co m po ne n ts - d rive train ,
pow er pl ant, se nso rs, ci rcu it board s, etc.
Show us eac h pa rt neatl y ar ra nged - even
if yo u have to tak e yo u r bot a pa rt to d o it.

neutralize backgrounds - Taking pic-


tures of th e d eta ils of ro bo ts is d ifficul t
eno ug h wi tho u t having to d eal wi th busy
b ack g rounds . C hoose back g round s that
show off yo ur bot in th e best light - usu all y
a flat w hi te works best.

who is it? what is it ?- Attac h cap tio ns


care fu lly to eac h photo. Do not w rite on th e
photo itself. You must clearl y identify (left
to right) w ho and / or wha t is in the picture.

we'd rather scan it ourselves - We prefer co lor


Put this ill vour scrapbook
or B&W glossy prints, minimum 4x6 inc hes. If we need
and send us the robot.
s lides o r n egat ives, we' ll co n tac t yo u. Elec tro n ic We'll shoot it
su bm iss ions of phot os are not acce p table.

14 • R OBOT S CIENCE & T ECHNOLOGY


G E

draw us in- We love sche ma tics as much as we love


pic tures. As wi th pho togra phs, we' re looking for pro-
fessiona l qua lity. Sche ma tics, di agrams and gra p hs
must be submitted by mail. Do not embe d g ra ph ics of
any kind in yo ur text files. If yo u have tabl es, sche mat -
ics or other graphics, submit them on separa te pieces
of heavyweigh t paper.

if all else fails- Eve n if yo ur pictures and sche ma t-


ics aren't up to R S &T stand ar ds, se nd them anyway. If Adding ~ bumper ' \lIItch

we like your ar ticle, we'll wo rk so me thi ng ou t.


We don't use 72 dpi files.
Use increased resolutionfiles or send hard copy.
to query or not to query?- Th e best way to ge t
an article to RS&T is to write it. You d on 't have to be a
professional wri ter (bu t it d oesn 't hurt). We have p ro-
fessio na l editors to work w ith yo u. If yo u decid e to send hardcopy- If yo u send us yo ur article in p rint , pl ease
a query firs t, however, d o it like a pro: Send us a de- ad he re to these stand ards:
tailed outline and sy no ps is of yo ur proposed article.
Show us that you can orga n ize yo u r thou ghts - and
that you are qualified to w rite on the su bject. • Whi te, 8.5 x Tl- in ch pap er. Write on one side on ly.
+ 5 Vdc • Do uble-spaced (mini m um 12 poin t type).
• The firs t pa ge sho u ld include yo ur name, ad dress,
Cd s pho tocel l ph on e number (s), d at e submi tted and yo u r socia l
sec urity number. Include yo ur email ad dress and
we bs ite URL if yo u have these.
To a (,XIf CI I _
AI D input line
_ ~. • Put yo ur nam e, d ate /d raft and p age nu m ber on
every page.
10. • Include yo ur article on a 3.5-inch flop py d isk in
WordPerfect, MS Word (PC or MAC); if yo u d o not
have these p rogr ams, submi t the ar ticle in ASC II,
MS-DOS text or RTF.
Add ing a Ii ~h l "e n...or • Include any photos, di agr ams, sche ma tics or other
sup po rt materi als se pa ra tely.

what to write about? - Rob ot s, of cou rse . Rob ot s


at work, robo ts at play, robo ts in research . How to mak e SASE or else - If yo u wa nt yo ur phot os, clips or
them . How to program them. How to w in com pe titions . othe r submi tted materials return ed , yo u m us t include
O ur readers wa nt how -to articles w ith all the technical a se lf-ad dressed sta m pe d envelope .
de tai ls: photos and sche matics, algorithms and code,
specs and parts, jobber s and su pp liers, tip s an d tricks
- and of course, cos ts and fees. Sonar vs. infrared, tra cks Send electro nic queri es and sub missions to:
vs . w heels vs. legs, steppers vs. DC motors, R/ C vs.
au tonomo us , BASIC Sta m ps vs . Motorola 68HCl ls. editorisrobotmag.com
Real-world robo tic applications to out-of-this-wo rld ro-
bot ic expeditions. Mail ha rd copy and gra phics to:

write tight - Good writing is rewriting. Proofread! Fact Editor


check! Send us yo ur best effort in 1,000 to 3,500 words. Robot Science & Technology
2351 Sunset Blvd , #170-253
save a tree - Send queries and articles by ema il - Rocklin, CA 95765
WordPerfect or MS Word (PC or Mac ) file attachments USA
are preferred; ASCII or RTF files are acceptable. i=\.S&"'i'"

JULY 19 9 8 · 15
---- --~-- - -- ---- ----~ --- ------
You can ge t th e cups from any craf ts store or phar-
macy. Mix the solu tion wi th a commo n wood or plas-
tic coffee stirrer. When properl y mixed, th e solu tion
sho uld be abou t the consis tency of ma ple tabl e syru p .

8 Pou r the liquid uretha ne slowly in to one corn er


of the clay bed. As the liqu id flows across the bed
and over the objects, jigg le the box gen tly to level the
flu id and help any air bu bbles rise to the top.

9
Set the mold aside in a fla t quiet place for at least
48 hours. The room temperature sho uld rema in
somewhere between 70 to 85 degrees Fahrenhe it This is what Side A of your mold should look like
(21 to 29 degrees Celsius). This is Side A of the mold . while the urethane rubber is curing.

Making the Mold - Side B


~ O G en tly remove the Side A mold half and clay
I I bed from the box after the mold has cured.
~
I
3put the Side A mold back in the box with th~
embedded objects facing up.
Sliding a thin blade (such as a dull X-Acto knife) around
the edges of the box will help loosen up any sticky spots.
he mold and clay should come out of the box easily. ~ 4 Repeat Step 6: Spray the mold and objects witl
I release agent. Pay close attention to coating th~
fine details of the objects.
i4 ~ Starting at one corner, carefully separate the
II I clay from the mold. Th e mold should feel
flexible and rubber . ~ 5 Repeat Step 7: Mix the A and B ingredients of
I the urethane rubber compound as before.

~ f t M ak e sure the objects (including the plastic


II ~ sprues and clay air vents) remain embedded Repeat Step 8: Pour the liquid u reth.an]
in the Side A mold. Remove the clay registration
bumps, however.
16 rubber carefully into one corner of the b os
until the embedded objects are covered by at leas
3/8 inch of mold material.
This is the Side A mold af ter it has been separatedfrom the
clay bed. Note the objects, the sprues and the clay vents remain
embedded in the mold. Theclayregistration bumps, however,
have been removed. Repeat Step 10: Let the mold cure at room
17 temperature for at least 48 hours. You have jus
made Side B of your mold.

w h en Side B is fully cured, carefully remove


18 both sides of the mold from the box. Again, a
thin blade may be required to separate the mold fro m
the box.

18 • R OBOT S CIENCE & T ECHNOLOGY


19 Flex th e mold halves gently un til th ey
separate.

ft O Rem ove the parts and the clay vents from th e


~ mold halves. Note that the plastic sprues re-
main implanted inside the Side A mold.

These are thecompleted mold halves with the original objects


still ill place. Side A is all the right. The clayvents have been
removed but the sprlles are pennanentlu encased inside the mold.
Notice tile registration indentations in Side A and the
complementarv registration blimps on Side B.

Injection Casting
Here comes the part th ey said cou ld n' t be done . Now th at yo u have mad e the mold, it's time to mak e your
injec tion castings.

ft
~
1 Cut two pieces of stiff, corrugated cardboard
to fit the backs of mold halves A and B.
" 4Tu rn on the ventilation, and clear the room of
~ all small children and pets. Good ve n tilation
is essen tial here, but it is also necessar y to m aintain th e
roo m temperature.
" " Fit the two mold halves together, making sure For this casting, Rick used Clear-Lite p olyester cas t-
~ ~ the registration bumps align as designed. ing resin from TAP Plastics. Altho ugh th e fum es are
noxiou s, this kind of cas ting resin gives yo u am p le tim e

ft
~
3 w rap rubber bands around the mold and
cardboard - not too loose, not too tight. The
- abo u t 20 minutes - to mi x and inject th e liquid in to
the mold before it begins to hard en into pl ast ic. You
may w ish to d on lat ex gloves during th is p rocedure.
idea is to crea te eq ua l p ressure on the m old halves.
Make sure no t to cover up the sp rues and ve n ts.
" S M iX MEKP (methyl ethyl ketone peroxide}
Rickholds the moldall its sidewith the sprues below theair
vents. This makes it easy for air to escape alit the te nts as he ~ catalyst/hardener into the casting resin as
instructed. Stir th or oughly but slow ly to avoid air
...._----- iniects the casting resin .
bubbl es . Try n ot to b reathe th e
fum es.

" 6Draw up the liquid plastic


~ into a non-needle syringe,
Make sure there are no air bubbles.
(Syringes are rea di ly ava ilabl e in
pharmacies and pet sto res for ad-
ministering ora l or external medi-
cations.) The ou tside diameter of the
business end of the sy ringe sho uld
fit neatly int o the inside diameter of
the sprue.

" 7H Old th e m old on its side,


~ as ill ustrated, and inject th e
resin in to the sprues with a slow,
steady p ressu re until th e resin
J ULY 1998 · 1 9
-~~- ~- -
- ~ --~ - - -- - -- -
~---------------------------------------------
s tarts coming out of the vents - and
there are no more air bubbles. For par-
ticularly intricate castings, you may gen-
tly massage and jiggle the mold w hile
injecting the resin to squeeze out any
trapped air.

" 8Rem ove the sy ri nges, being


~ care ful not to create a vacuum
that sucks resin back up sprue.

"9set
~
the mold securely upright on
its edge with the sprues and vents
on top. Let the castings cure undisturbed
at room temperature for at least 24 hrs.
The near-colorless plastic casting lifts easily alit of the mold. The excess
plastic between Rick's thumb and finger will be trimmed to complete the
fabrication process.
30 Clean up with common
is op ropyl (rub b ing) alcohol.
With proper care, your mold can be used over an d
over again to make multiple, identical parts.

31 When the cas ti n gs are cured, remo ve the


ru b b er bands, gentl y fle x the mold, and peel
the two mold halve s apart. The castings should come
Now that you know how to make your own molds
to create your own castings, we'll leave the rest up to
your imaginations. If you use thi s technique in build-
out as easily as the originals. ing your next robot, send us pictures and tell us how it
worked for you.
In an upcoming issue, Rick Hahn will demonstrate

3 " Use an X-Acto knife or a Dremel tool to care-


~ fully trim or sand off the exces s plastic left on
how to use fast-curing polyurethane resin an d
microspheres to replace a heavy metal gear w ith tough,
the castings fro m the sp ru es and vents. ultra light-w eight p las tic. R,.S&U

• Small plastic boxies) or cylinder(s) with perpendicular • 1 quart TAP Plastics Clear-Lite casting resin - $10.75
sides- any craf t store AND
• Plasticene modeling clay-less than $1 for a 1x1x5-inch • 0.5 ounce TAP Plastics MEKP catalyst/hardeller - $1.4..
bar at most craft stores • disposable paper (not plastic) measuring ClipS (l oz. and
• 1/4-illch clear plastic tubing (the kind used ill 4 oz.) - craft store or pharmacy
aquariums) -10 cents perfoot at pet stores • disposable plastic or toooden coffee stirrers
• Plastic syrillges (without needle) thatfit inside the • assorted rubber bands
tubing (these syringes are comnionuj[ound in pet stores • scrap corrugated cardboard
or pharmacies for dispensingoral or external
medication) - about $1.50each To obtain a free 1998 TAP Plastics catalog,
• 1 quart kit (two cans) of TAP Plastics RTV urethane write or call:
rubber molding material - $22.15 TAP Plastics Inc.
• 13 ounces WD-40 (hardware store) - $3.49 6475 Sierra Lane
OR: Dublin, CA 94568
• 14 ounces TAP Plastics Pol-Ease 2300 silicone spray- 800.246.5055
$12.60

20 • R OBOT S CIEN CE & T ECHN OLOGY


Discrete Circuits,
Flashy Logic
A tutorial for breadboards introducing Ohm's Law

You may be a genius with genetic algorithms, data structures and


computers, but can you build your own electronics?

A t on e time or another, ev ery practical


roboticist needs a hands-on introduction
to practical electronics. So we compiled this
tutorial to help students ge t started . (Frankl y, a lot of us
could use a review of the basics, now and then.) No sol-
hook leads for convenience.) I also suggest using a lea d
bender, although you could bend leads with a needle-
no se pliers. You'll also need to strip the insulation from
thin wires. (I use a combination crimper / stripper tool ,
rather than a pocket knife, to avoid nicking wires and
dering is need ed, and the math s trip p ing fingers.)
is simple arithmetic. Parts List: About y o u r breadboard :
This tutorial's objectives are to Some are s m a ll and cheap ,
• Solde rless Expe rirnen tors Breadboard
familiarize th e exp e rim en ter some are large, modular and
• 9 V battery and battery snaps with lead s
with breadboarding, to introduce expandable, with easil y config-
• 22 gauge solid sing le strand hookup wire
some DC circuit principles, and ured power supp ly pegs. Here,
• Resistors, l k, 10k, 4.7k
to predict what happens to volts (ge t at least 2 of each)
I'm using the cheapest thing
(V) and ohms () when we in- • Zener Diode, rated at 5.1 Vzener
from Radio Shack. Note that
stall or s u bs titu te discre te • Light Em itting Diodes, rated at 5 V the ho les in the breadboard fol-
components. (l or 2 will do ) Iowa pattern. The top row
I ("Discrete" components are • NPN Silicon Switching Transistors, holes are all electrically con-
j individual parts like resistors 2N222 or similar (at least 2) nected (I connect m y power
and transistors, as opposed to su p p ly's positive lead here) .
\ "integrated" components like
computer CPUs and amplifier
Tools The bottom row holes are als o
connected together (I connect
I • Wire Stripper
IC chips.) m y power su pp ly's negative
• Wire Cu tter
\ Today w e 'll train using a ground" lead here). My board
• Ne edle No se Pliers
J small breadboard, a hand full of (illu strated here) has five rows
• Volt-Ohm Meter
common electrical parts, and a • Lead Bend er template (opti onal )
near the top, which ar e con-

II common 9 V battery. You 'll


need a meter to verify that your
components work, to de tect
Free Catalogs
nected vertically. That is, each
co lumn of five holes is con-
nected electrically. There are
I for Tools & Parts
i voltage, and measure re sis- also five rows near the bottom
I tance . (I u se a Radio Shack
digital multi-meter and I a l-
• Tech America - 800.877.0072
which are similarly connected .
Check it out yourself with your
• [ameco - 800.831.4242
wa y s rely upon re trac tab le ohmmeter. 1&

. ..« C • II iii « Wi • Ill, ., ., • II ; . . . '" . . . . . It- II , iii .. ~ • .. II , . . . . . . ., . . .. .. .. ., • • • ..


Top row holes are
conectcd all together
:::::::::::::::::::::::::::::::::::::::::::::::1
.. .-I •• • • Il ." ". iii". _, "..
......1 -......- - - Thescfiuc
• •• II .
holes areconnected
vertically (47 col umns)

......1-......- - - Thesefive holes are connected

iii · lit . " •• II.... ~ ... .. "•.,... iii. " ~ .. I ., III .. ,. ...... II, .. . . . . lIIlj "'~"'!"I"' __ vertically (47 COI Il Ill IlS)
Bottom row holes are
conecied all together

J ULY 1998 • 21

'----- - _ ...~--~~--. ~ ._._- --- -


Since mo st logic circui ts are typi cally design ed for
v+
5 volt "highs" and 0 vo lt "lows," we'll star t by con-
Voltage Divider
structing a simple vo ltage divider th at shows how to Resistances add up when placed ill series
use resis tor s to drop vo ltage proportiona tely in a se- TP1
between V + and ground. And of course,
ries . But here's a ques tion: won't the ou tp ut of our the same amount of current (ntilii/snips)
R1
vo ltage divider drop as the ba ttery ge ts weaker? Why goes through everyone of them. But they
yes , of course. So to solve that problem, we'll build a divide the voltage proportionately between
TP2 them. So the voltage felt between resistors
zener diode vo ltage reg ulator. This vo ltage reg u lator is inversely proportional to the amount of
wi ll keep our voltage reason ably steady at abo u t 5 vo lts, R2 resistance. At V +, full battery voltage is
even as our ba ttery wears down. present (nominallv, 9Vdc). The voltage at
(In future issues, we'll concentra te on bu ildi ng and TP3 ground is, of course, zero. Remember that
controlling more sophisticated power su pplies . Bu t for the "ground" is simply the (black)
R3 conductor that returns to the negative side
this article, we 'll concentrate on ge tting your feet we t of the source. It's really a floating circuit
[or your hands dirty] wi th simple tran sistor logic ga tes.) TP4 common reference.
Then, we 'll build some tran sistor logic ga tes and test
their tru th tables. We'll use tra ns istors to assemble the
following gates: OR,
AND, and NOT. You could scavenge your
Sure, you could build th ese circuits in 10 minutes
can th en comb ine old radios, order from
these basic circuits to and watch th e pretty lights flash. the catalogs listed at
also make NAND But TAKE MEASUREMENTS and DO THE MATH the beginning of this
(not-and), NOR and to really understand what you're doing. article,visit your local
XOR (exclusive OR) electronic hobby or
gates on your own. surplus stores, telephone your order, or just go to your near-
To bui ld all these circuits, the parts will cost about $15, est Radio Shack. See the Parts List at the front of this article.
and the breadboard may cost a little more than that. You A few notes to make this lesson a little easier: First, tidy
up your bench top (or kitchen tab le), put a
trash can nearby, and keep a box on the bench
to toss parts that you decide not to use. I also
keep a no tebook computer nearby, running
a spreadsheet program, so I can make calcu-
lations quickl y,and to re-run equations when
I start thin king, "what if I change this circuit
like so ..." Also, read over the sidebars on
bending leads, cutting leads, and grounds
before continu ing . For reference, the resistor
color code is on page 56.

Let 's get going.


WARNING: Never "short out" a battery
by tou ch in g its output connections to-
ge ther. The battery will overheat quickly,
and could expel harmful vapors or even ex-
p lode and burn. Respect all batteries, eve n
POWER SUPPLY
the small ones.
AMPLIFIED SPEAKER
Our trans istor circuits need a power
Using the M5 DECODER , you can construct - - _!lili
this low cost motion control system . A small source that can supply at leas t 1 V more
CD player or tape deck is used to play back than the input logic signal, but we can use
synchronized sound and mot ion . Requires EFFECTIve ENGINEERING the same ba ttery for both purposes on our
hobby style RIC transmitter for programming . 6727 Flanders Dr., Ste. 106
Unit can drive hobby servos, solenoids, alr San Diego , CA 92121
train ing circuit. The voltage divider will
TE L (619) 450-1024
valves, motors, lights, etc. Changing the FAX (619) 452-3241 keep the positive transistor voltag e
prog ram is as easy as changing the disk! www .trix.comleffective/ (called V+) above the signal source vo ltage
Call or write for a catalog describing our complete line of motion control products. (called Yin). Your multimeter, logic circuit,
and ba ttery can all connect to the same cir-
22 • R OBOT S CIEN CE & T ECHN OLOGY
V in
Voltage Regulator
TP1
Note: For different loads,
a different valuefor Rl is
R1 needed. /
t--_....-oV reg
TP2

Load
Z1

Ohm's Law: Voltage, E, is equal to th e


current, I, times th e resistance, R. Push on the lead, not the component.
The f ormula for Pow er,
Bending Leads
P (wa tts) is: P = I x E
For reliability and form fitting, do not bend leads
cuit common ground . That is, all our "grou nds " will by holding the lead in one hand and pushing the
connect to the bottom row of the breadboard (includ- component. This can cause micro fractures inside
ing the negative pole of the battery and the black test
lead from our meter). the component, leading to intermittent failures
For this project, we need a source of on ly abou t (which are frustrating to troubleshoot). Also, do
6 to 9 vol ts that can support a tiny current draw (a few not use common needle nose pliers: The sharp edge
milliAmps). can nick the lead, which actually does affect some
(Point to remember: Voltage is the electromotive force high frequency circuits. I make a note of it here
(EMF) or "electrical pressure" supplied by the source,
because nicking conductors is, at least, a bad prac-
while current is the electron flow demanded from the
source and flowing through the circuit.) tice. It is designed to hold the component and root
So let's just use a 9-volt battery to supply our circuit. of the lead in place, while you bend the remaining
First, we'll make a resistor-based voltage divider to pro- lead around a slightly rounded edge. Lead benders
vide two voltages; the 6-9 volts that the transistor circuits come in different sizes, to accommodate different
need (we'll call th is "V Plus" or V +) a nd th e size components (1/4 watt, 1/2 watt, etc).
5 volts needed for the logic signal inputs. Simply hook
Sometimes, you'll want to mount components
the battery to three resistors of identical value. Place your
meter's black (negative) lead on the common (ground) vertically to save space. In this case, bend the lead
conductor of our simple voltage divider circuit, and read around a round object, like the shaft of a jeweler's
the voltages by placing your red lead at each of the test screwdriver.
points in the circuit, TP1 - TP4. The voltage will drop
proportionately to the resistive value of the load between Cutting Leads
your red and black leads. My first circuit shows three
resistors of equa l value (10k each), so each resistor in
Most cutters have two beveled edges. I prefer to
the series will drop one third 'of the supplied voltage . use "flush" cutters with only one bevel. This let's
My ba ttery gave 9 V at TP1, and 6 V at TP2, 3 V at you get a fraction of an inch closer to a component
TP3, and 0 V at TP4. if needed. But be careful when cutting leads, be-
To gain some understanding, you can try resistors of cause the bevel can shoot the cutaway portion
different sizes, and pre-calc ulate the expected voltage across the room, to be lost until you crawl on hands
before measuring it. And for a be tter und erstand ing,
use Ohm's Law and the Power Formula to determine and knees to find it.
( how mu ch power is dissipated by each resistor.

L ~_~~~ __~ __._~~ _ J ULY 1998 • 23


Try ad di ng resis tors in the series. And be sure to ex-
Starting at Ground Level perime nt w ith resistors of different va lues. For instan ce,
if yo u connec t a 1k resistor and a 10k resistor end-
to-end bet ween V+ and gro und, th e total res istance in
the series wo uld be 11k , and the voltage felt after the
-- 1k resistor wo uld be 10/11 of V+.
Finally, place resistors in parallel, and discover that elec-
Earth Ground, Chassis (not earth) Ground trical current will d ivide itself, to travel through each
resistor in inve rse proportion to that resistor's value. And
An important but commonly misunderstood con- be sure to measu re the total circuit resistance . You'll dis-
cept in electronics is called "ground." Part of the cover that most of the juice flows throu gh the sma llest
reason for the misunderstanding may be that elec- resistance. The resul t: when placing resistors in parallel,
the total circuit resistance is less than the smallest resistor
trical home wiring and "black box" electronic
in the circuit.
wiring are not color-coded the same. Also, there is
Don 't rus h past that last statement. Dem on strate it to
a big difference between the different situations we yo urself and use Ohm's Law to understand how resis t-
call "ground." ing curren t develop s voltage.

• Earth ground is typically a long steel The Mathematics


plumbing pipe on the side of your house. of Zener Voltage Regulators
Let's build another tiny circuit that requires some simple
• Chassis ground is where the power supply is math to make it wo rk. This one consists of your batt ery, a
"grounded" to the chassis, such as in a car. zener diod e and some resistors. This is a zener-base d volt-
age regulator. It will keep its output voltage at a designated
level (say,S V),even as the battery loses energy. (Of course,
• Circuit common is where voltage is measured
once the battery drop s below 5 V, the circui t will not have
in relation to a "floating reference" like the
eno ugh energy to work wi th.) This regula tor isn 't robust
negative side of a battery. or sophisticated, but as a training exercise in using bread-
board s, components, meters and DC formulas, this circuit
While breadboarding these circuits, your will work just fine.
"ground" will actually be the negative side of a Diod es are all polarized , allowing current flow in one
common battery. Obviously, this is NOT the same di rection on ly (unless yo u blow them up by surpass-
as the earth ground you'll find at your wall out- ing their ra ted "b rea kdown" or reverse vo ltage).
lets. But this particul ar typ e of diode, a zener, will allow
SIDE NOTE: Even earth grounds differ from one electron flow ove r a design ated amo un t (called Vzener).
Thus, a zene r di od e wi th Vzener of 5.1 V will allow the
another: The mineral-rich soil between two build-
circuit to feel 5.1 vo lts.
ings' ground pipes may cause a "difference of po-
For thi s exercise, yo u can sim ulate a circuit's load by
tential" (voltage) between building grounds. This connec ting a resistor in its pl ace. So, to select th e prop er
can be a problem with long circuits, like a computer componen ts, yo u must kn ow (or es tima te) th e resis-
network between buildings. tive va lue of the load . To demo the circui t, I used a 1k
I suggest that you think of ground as being a re- resisto r as a load.
turn conductor to the power supply (in this case, a WARNING: DO NOT ap ply power until yo u double
battery). This return conductor must be there, or che ck for the se severa l things:
else the electrons can't travel in a complete "cir- - The di od e must be inserted in th e correc t d irection.
cuit" from the negative end of the battery to the - The resistor 's va lue must be calculated fairly
accura tely.
positive. And remember that your ground wire
- Once yo u connec t the 9 V ba ttery, finger-chec k
must have a conductor at least as thick as the
R1 and the zener d iod e for overhea ting. If you can' t
"power line." Finally, to keep electronic logic cir- com fortably tou ch th em , d isconnect power and
cuits isolated from electrical motor noise, you may che ck for faulty lead connections, backward diod e
want to use completely different power supplies insertion and ou t-of-bo un ds resistor selections .
for the logic and motor circuits.
Continued 011 Page 56
24 • R OBOT S CIENCE & T ECHNOLOGY
Wear Our Shirt:
Get Noticed.
To order call
Men 's Polo
1. SSS. 51 D. 772S
$3 4 9 5

Embroider E
-,,-. , . Un isex
..
\

Tee
$2 4 9

r , Build
smarter The
,.paD"TS
n '/OJ
botmag .com
....'<tl'H .f O

'BUild F(OSOT'S
smarterThan '/OJ .
~ .robo1mag .com
"""",_

~
J ULY 1998 • 25
• tI

by Tom Durkin

I
t was the last, few, near-vertical inches of the cable Just the Specs...
that defeated most of the homemade robots. While The mission this year was to build a cable-climbing
some of the bots came heart-breakingly close to robot that could traverse a 3/16-inch stainless-steel
scoring, others couldn't even make it that far - they cable strung loosely between two poles of unequal
fell off the cable, disintegrated on start-up, or just hung height placed 12 feet apart. The poles were 4 feet and 7
there and fried their motors, going nowhere fast. feet 7.5 inches high, respectively. The task was to climb
The scene was the 11th annual Tech Challenge in San up the cable to the top of each pole and trigger a sensor
Jose, Calif., April 1st. Sponsored by The Tech Museum plate that lit up a bright orange beacon.
of Innovation (www.thetech.org), the contest was a Each team had three minutes to light up both beacons.
three-ring circu of excitement and creativity as hun- The bots were limited to 10 pounds maximum, bu t
dreds of high school, middle school and elementary tethered, DC power supplies were allowed offboard
school students competed simultaneously on three and were not counted in the weight limit. Almost all of
separate platforms. the entries chose off-board power plants.
This year's challenge was to design and build a cable-
climbing device modeled after robots that perform Real-Life Robotic Relevance
safety inspections of suspension bridges. One of the Located in the heart of the Silicon Valley, The Tech
world's most famous suspension bridges is San Challenge is a unique tournament that poses a new
Francisco's Golden Gate Bridge, located about 50 miles design and fabrication problem each year that relates
north of San Jose. to real-world robotics.
26 • R OBOT S CIEN CE & T ECHN OLOGY
Last year's record-breaking competition challenged
more than 1,000 youngsters to emulate the impact land-
ing of Mars Pathfinder and deployment of the Sojourner
rover.
660 students on 162 teams competed. "It's encourag-
ing that we 're seeing more and more girls in the compe-
tition," Tech staffer Gloria Chun Hoo told RS&T. On the
roster of prize-winners were eight all-male teams, six
all-female teams, and four coed teams.
~~~~~~~~~~~~~~~~~~
And the Winners Are...
There were three grand-prize winners for best
overall performance and team spirit - one for
each grade division. The robots were judged on
speed, reliability, design methodology and cre··
ativity of fabrication. Also, new this year, the
teams were required to undergo a pre-contest in-
terview with the judges and submit a written
record of their R&D process.
In addition to prizes to the runners-up in the
grand prize category, the judges gave awards for
fastest, most autonomous, most creative, most
reliable, best team spirit, most technologically in-
novative, best design methodology - and most
spectacular failure.
Scaled perspective drawing
To create as many winners as possible, no team
of bridge supports and cable was allowed to win more than one award. If a

o
team triumphed in more than one category, it was

11_ 1- 4 .0 " POST

'''''''WO''M'~
presented with the more prestigious prize, and
the next best team took home a lesser trophy.

~Aif
Prizes ranged from cold cash to 'l-shirts and other
goodies to an experiential visit to a high-tech clean
TARGET AT
WIRE CABLE - . /
EACH END room where computer chips are manufactured.
3116" STAINLESS STEEL Besides the officialTechChallenge prizes, Intel,Ad-
WIRE CABLE
OSH SKU 408-3424 vanced Device Microsystems, Adobe Systems, Cir-
13' 7.5 " BETWEEN SUPPORTS
rus Logic, the San Jose Rotary Club, the McCarthy
7'·7112' Family Foundation and KPIX-TV also contributed
to the jackpot. (To see a list of the winners go to:
www.thetech.org /exhibits_events / competit /
tech_challenge / 1998/)
12'
Given the level of excitement and enthusiasm
'I
that permeated this extremely well organized
event, there really were no losers. i=\S &"'ii'"
~~~~~~~~~~~~~~~~

J ULY 1998 • 27
Winning
Isn't
Euerything
"Thank you, God!
Team voltron (left to right): [antes
Weillgart, vinh Do, Reagan [aculina Thank y o u , Radio Shack!'P
yelled Vinh Do jubilantly as his team's robot, Voltron, blasted through
the 3-minu te Tech Challenge in a blazing 3.97 seconds.
Although, ultimately, they didn't win, the th ree ec- Facing a lO-pound maximum, Voltron weighed in at
static young men from Mt. Pleasant High School - a a svelte 6 oz . on the p recision scales at R S&T's secret
math and science magnet school in San Jose - defini tely test in g laboratory in th e Silicon Foothills east of Sacra-
had the winning attitude. mento, Ca lif.
"We KISSed it!" Reagan [aculina told
RS &T that th e team had followed their
m entors' advice: "Keep it sim p le, st up id. "
n a scale of 1 to lO, voition was a z~e~r~0:2~~~2:2:Z~~tti!5i!
on form, but it was a 10 on fun ' ()[.t. :.L1.l
bot's design was elegantly simple and ef-
ficient: a motor hacked from a Radio Shack
remote-control toy, a few pieces of scrap As allowed
metal, and a whole lot of rubber bands. un d e r con test
rules (and not counted
in the weig h t limit), th e
te thered power s u p p ly - a
rechargeable Sanyo 9.6V N i-Cd bat-
tery pack wi th an in-line th ree-position
toggle sw itch- was simple as voltron itself.
O nce the team agreed u p on a design th at
worked, " It took us five minu tes to build it, and tw o
d ays to tes t it," said team member Jame s Weingart.
Tetnn Vo/tron di d n' t wi n, bu t they didn 't fail either.
They di d meet the challenge, and that was a wi n in
itself . If any thi ng, the fac t that voltron p erformed so
well and still did n' t tak e top honors was an indicati on
of jus t how tou gh th e competition was. i=\.S&"'iJ

Spread Photo: Voltron all the cab/e.

Right: Reagan conirolling voltron.

28 • R OBOT S CIEN CE & T ECHN OLOGY


"';jIIII;!ie:a.~n· e I
almost completely dominated by sis served as coun terweigh ts to low er the center
men , tw o young w ome n - Elizabe th Sall and of gravi ty for balanc e and to stretch th e cab le taut
Laura Alb re ts on - from Cupertino Hi gh for the tentacles.
School n ailed th e Most T he tenta cl e s were
Cr eati ve Design award at he avy-duty tap e measures
Tech Ch allen ge '98. w ith the re tu rn springs re-
While vir tu ally all of moved. They were driven
the 162 robots in the con- by tw o old DC mot or s Al
tes t w er e self-p rop elle d, Sall d on ated to the cause.
Sall and Alb re tson's bot Lik e th e co u n te rweig h ts
didn't go any w here at all. on the chassis, tw o p air of
Instead, it launched tw o sma ll co un terweigh t balls
tentacles up the cable that on the tip s of the tentacles
se t off the signal beacons. kept the tentacles on track
With advice and spare up the cable.
p arts from Eliz abe th's Findi ng a better use for
gra ndfa the r Al SaIl, the m ou s et ra p s , Sa Il a n d
gi rls spen t "ho urs A lbre tson a ttac he d th e
and hours" a day sp ring-loaded d evices to
for five weeks test- the ends of the tape measures to ens ure they hit
in g a n d di s- the sensor pl ates w ith eno ugh force to ligh t up
cardi ng va ri- the beacon s.
o us d esi gns The tethered off-board pow er supply was a 12V
until they finally lead-acid battery mad e by Hitach i.
got one that worked . Curiou sly, like many of the other contes tants,
The chassis of the ro- Sall and Albre tson did not nam e their robo t. "We
bot was mad e of wood. Two just never thought about it," Sall told RS&T.
metal ball s attache d to the cha s- i=\.S&"'i'"

J ULY 19 9 8 • 2 9
___I

!
i
Yocto - the sma llest and least sop histicated robo t in the (2 minutes, 41 seco nds) and JK4 from UC Davis (4 m in-
1! compe tition - randoml y roam ed int o the d estinati on
cell in one minute, 13 seco nds . That was goo d eno ug h
utes, 13 seco n ds) for solving the maze. i=\.S&"'iJ
For 17 1II0re detailed description of the rules and
i for third prize and $100.
I specifications for niicromouse competitions, go to:
All in all, only half of the micromice man aged to find touno.ecc.ucdams.cdu/mnouse/.
the destinat ion cell. In the spi rit of to-finish- is-to-win, For 1II0re inionnation a/wilt IEEE Rec;:ion 6, c;:o to:
• L C
RS&Tsalutes Rathert from the University of the Pacific sdccs.ucsd.ed III-ieedl i IIksiregiol16.11 tIJII

I
~
I thOUgh UC Davis' Knmf gave 'lole 'A uana a run
I for the money, the micromouse from Hawaii
II tad the winning combination of clever pro-
gramming, reliable engineering and good luck (i.e.,
I nothing went wrong).

Lookie Here
According to Tak Auyeung, PhD, a micromouse is
comprised of three basic systems: sensor array, power
train, and the embedded microprocessor I controller.
"Most micromouse robots can only sense where there
is a wall directly ahead, to the left or to the right," said
Auyeung, who teaches the Micromouse Design Project
at UC Davis.
'lole 'A uana, however, used an expanded sensory ar-
I ray that allowed the micromouse to look over the walls You can clearly see the ispLSI Lattice logic chip on the
i and map what was in adjacent corridors, said Tep
Dobry, PhD, the faculty advisor for the UH team.
left side of the printedcircuit board. Partially
The wide sensor platform utilized 19 paired infrared
obscured by a ribbon cable, the unmarked Motorola
emitter-receivers. The IR light-emitting diodes were MC68020 microprocessor is directly to the right of
made by Photonic Detectors and cost $2.40 each. The the Lattice chip. Four DIP switches in a red casing
Panasonic IR receiver phototransistors cost of $0.44 are positioned at the upper right corner of the Lattice
each, said Dobry. Like most of the parts on 'lole 'A uana, chip. To the right of the switches are four green LEOs.
the sensors were purchased from Digi-Key Corp. Above the LEOs, yOll can see four of the eight power
I The front-mounted sensor platform required coun- MOSFETs that drive the stepper motors. Neatly

l~~
terweights - eight large hex nuts - on the rear of the etc/zed in the lower right corner of the motherboard
robot to keep it from taking a nosedive, said team mem- are the words: "Let the smiles win! II

ber Nathan Mariels. continued next page


J ULY 1998 • 35
Wondering Rat, continued
Digital Drive Train squares in th e m aze - if such a p ath ex ists," Zvaig said.
Mike Masaki an d Shi gehiro Minami, th e hardware "For each squ are th e mouse ge ts to for th e firs t time, I .
specialists on Team 'lole ' A Ut711 t7, di sclo sed w hat made ge t the reading of seven walls, look at the possible mo ve s
the micromou se run : from thi s square and so rt th em according to their di s-
The rob ot was equ ipped w ith tw o 4 Vdc ste pper tance from the center. Squares th at ha ve been visited al-
motors m anufactured by Eas tern Air Devic es Inc. read y are not cons idered possibl e m oves," sh e added .
Th ey cost $58 each . Excep t for the programming of th e Lattice chip, all th e
The m otors were d riven by eigh t N ati on al Semicon- cod ing w as done on Macintosh com p u ters, Zvaig said.
ductor power MOSFETs (metal-oxide sem icond uctor Auyeung said 'lole ' A Ut711 t7 em p loyed"a modified flood -
field effect tran sistor s) op erating at 55 V with 0.74 Rds fill algorithm that u sed a stra nge tie-breaker strategy
(resistance betw een d ra in and source). Th e cost from w he n tw o nei ghboring maze cells had the sam e weight. "
Digi-Key was $0.94 each. i=\.S&.
Six rechar geable Sanyo sub-C Ni Cds powered th e
microbot with 1000 rnA at 7.2 V. Sub-C batteries ar e
two-thirds th e height of stand ard C batteri es and cost
ab out $4.50 eac h.
Component Resources
Digi -Key Corporation
Brains on Board 800.344.4539
Th e motherboard on 'Iole 'A ut71 1t7 w as power pa cked www.digikey.com/DigiHome.html
with a 32-bit Motorola MC6 8020 mi croprocessor and
a Lattice ip sLSI 1032-60LJ mi crocontroller, Motorola MC68020 microprocessor
Mariels designed th e printed-circuit bo ard and had www.mot.com/SPS/HPESD/prod/OXO/68020.html
it custom m anufactured by Internet PCB Exp ress .
Motorola donated th e MC68020 (worth about $13), Photonic Detectors
and the team purchased the Lattice logic chip from Lat- www.mcdelectronics.com/photonic.htm
tice Semiconductor Corp . for ab out $25. The ba se price
Eastern Air Dev ices Inc .
for a custom PC board from PCB Exp ress wa s $75.
www.eadmotors.com/
The Lattice ch ip had 24 sensor inputs, eight outputs
for th e motors, on e serial port, four DIP switch in-
Internet PCB Express
puts and four LED ou tp u ts. Ad d itionally, the Lattice
www.pcbexpress.com
chip performed th e RAM /ROM address decoding
and timer interrupts, accord ing to Mariels.
One di st inct ad vantage of the isp LSI Lattice
chip is that it is field-programmable, m eaning
that it can be reprogrammed i11 situ through the
serial port. This allowed softw are specialists
Na va Zva ig and Mariels to download program
changes directl y into the 128K onboard RAM .
In addition to the RAM , 'l ole 'A ut711t7 was outfit-
ted with 64K ROM.
Zvai g and Mari els sp lit the formidable task
of writing th e 4,000 lin es of C code. Zvaig con-
centrated on th e maze-solving algorithm, and
Mariels took on th e tr acking program.

One Smart
Mouse Programmer
"Th is m ouse is smart. It always knows where
From therear of'Iole 'A uana, yOll ca ll clearly see thegreen Sanvobattery
it is in the maze , kn ow s w he re to go, and it cal-
pack andsomeofthehex nuts usedas countenoeighis
cul ates th e shor tes t p ath between an y two to keep the micromousefrom tipping forward.
36 • R OBOT S CIEN CE & T ECHN OLOGY
odules....Your Robots
Th e RPC mod u Ie is an intellige nt tran sceiver w hich enab les a rad io network link to be simply implem ent ed betw een a number of di git al
devices. The module combines an RF circu it w ith processor-int en sive low-l evel packet form att in g and recovery fu nctio na lity, requiring only a
sim ple antenna an d 5V su pply to ope ra te w ith a microcontroller or a Pc.
SAW con tro ll ed FM transmitter and su perhet receiver
Reliabl e 30m in-building range, 120m open gro u n d
Built-in self-tes t!d iagn os tics!status LEO s
Complies with ETS 300-220 regulations
40kb it!s half duplex
Free for mat packets of 1-27 b yte s
Pa cket framing and error check ing are user transparent
Collision avoidance (listen before tran smit)
Direct interface to 5V CMOS lo gic
Sing le 5V su p ply @ < 20mA
Power save mode
~ Available in 418 and 433 Mh z
I
\. The BiM module integ ra tes a low power UHF FM tran sm itter and mat ching su pe rhe t receiver with d at a recovery and TX/ RX cha nge over
:rl circuits to provid e a low cost sol u tion to im pleme nt ing a bi-direc tiona l short ra nge radio d ata lin k.
I. ETS 300-220 test ed for European use
; SAW-co n tro ll ed FM tran smission at-6dBm ERP
r Double conver sion su perh et rec eiv er
I' -107d Bm rece ive sens it iv ity
Sing le 4.5 to 5.5V su p ply < 15mA (tx or rx)
\ Reliable 30m in-building ran ge

~
r Half dupl ex data at up to 40kbit!s
I Direct interface to 5V CMOS logic
'I Fast1ms power up enable for duty cycle power sav ing
. On-Board d at a slicer, su p p ly sw itch ed and antenna cha ng e over
i Availabl e in 418 and 433 Mhz

!N EW IThe TX2 and RX2 rad io transmitter and receiver pair enab le the simp le implementation of, data tink at op 40bit/, at distances up to '0
p 5m in-buildi ng and 300m ope n gro und . Both mo du les comb ine fu ll scree ning wit h extensive interna l filtering to ensure EMC com pliance by
i m inimizi ng spurio us radia tions and susce p tibilities. The TX2 and RX2 modules will suit one-to-one and multi-nod e wire less links in ap plicatio s

~
I includ ing car and build ing security, EPOS and inve ntory track ing, remo te industrial process monitorin g and computer networ king . Because of their
mall size and low power requirem ents, both modules are idea l for portabl e batt er y-p owered ap p lica tions suc h as hand-h eld terminals.
. Transmi tter - TX2
. EM C conformantto ETS 300-683
.. Type Approved to ETX 300-220
I Two- sta ge, SAW controlled, FM modulated at up to 40kb it/ s
i Operation from 2.2 to 6V
I 10mW on 433.92MHz, 1mW on 418MHz
, Improved frequen cy and deviation accu racy
,I Available in 418 and 433 Mh z
J Receiver - RX2
'1 Double con ve rsion FM su perhe t
SAW front end filter, image rejection 50dB
I1 Suppl y 3.0 to 6.0V @13mA
40kbit!s, -F ve rs io n, -100dBm sens itiv ity @1 ppm BER
I 14kbit!s, -A ve rs ion, -107dBm sens it iv ity @1 ppm BER

I
j LO leakage < -60d Bm
Avail ab le in 418 and 433 Mhz

I TYPICAL APPLICATIONS
robo tics • environmental monitoring • remote process monitoring • wireless PC printer links • energy management • in-ve hicle sensing
high in tegr ity secur ity • EPOS & stock control • group response sys tems • data networks • data transfer through hazard ous environmen
commercial & domestic security • fire alarms • medical alert • mobile panic attack

I Radiometrix specializes in d esign and manu facture o f low power radio prod ucts to help you to rapidl y im p lemen t high reliability cable-free da ta links .

II For North American sales. contact:


Lemos International Co. Inc.
tel: (508) 798-5004 fax: (508) 798-4742
lemosint@ma.ultranet.com • www.lemosint.com

l ~~~- . - - - _ - _.. _ - -
..
Above, in a Ma rs Yard at EPCOT, ISE shows off its six-
w heeled rover. Approach ing it is NASA's ten- wheeled
flightline vehicle, used for mak ing de liveries to Andros
"where no hu man d ares to tread ."

Upon landing, a space shu ttle's tires may be-


come dangerou sly hot eno ug h to explode .
So w ho would walk up to let the air ou t?
ot me! NASA's hazard ou s duty robo tic
spec ialist Steven Van Meter says that's a
job for Andros (facing page). This par-
ticular Andros is one of many in a line of
hazardou s mater ial handlin g bot s. Th e
controller wa tches video feed from eithe r a
chassis-m oun ted camera or a camera on th e

38 • R OSOT S CIENCE & T ECHNOLOGY


gripper arm, and sends control signals by either radio
link (p ho to, right) or cable. This Andros ha s wheels
placed alon gsid e the articulated tracks, to improve
performan ce on NASA's f1i ghtline at Kenned y Space
Cen ter. The Andros line (made by Rem otec) is one of
the world's most popular hazardou s materials han-
d ling robo ts (espec ially used by police and military
bomb squa ds). For more on the articulated tra cks and
Andros' wo rk with bombs, see RS&T's Online Supple-
ment at www.Robo tM ag.com. i=\.s &...ii..

-~---- ~ _ _
.. . _- - -_ ..
by ueteran robot programmer Karl Lunt,
Seattle Robotics Society

ast month, I got you started on using the 68HC811e2 as the


brain for your first robot. By now, you should have your
BOTBoard up and running, and maybe even done some
dabbling in SBasic. If you don't have SBasic yet, stop by my web site
at www. seanet.com / ----karllunt and get a copy from my tips and
techniques page. This month I'll describe how to program the 68HCll
as a robot brain.
More I/O demonstrating a technique for reading the A/ D ports,
The 68HC11 variants usually support eight channels it also shows yo u how to use th e real-time interrupt to
of 8-bit A /D. This means that an y of eight pins, usually set up a simp le tim er va riable, and how to set up and
appearing on port E (PORTE), can translate an analog use the 68HCll serial port for use with SBasic's PRINT
voltage into a digital number from 0 to 255. This little statements. I'll walk through the program with you,
feature is way cool for robotics, since much of what a focusing on how to use the A ID ports.
robot ha s to detect is analog, rather th an digital, in As with all SBasic programs, the 68HCll begins
nature. executing your program at the lab el MAIN, which
One of the simplest features to install in a robot is appears here immediately after the INTERRUPT code.
that of light-sensitivity. Suppose your robot is equipped As mentioned in the SBasic user 's manual, the label
with solar panels for recharging an on-board battery. MAIN can appear just ab o u t a ny w he re in your
Obviousl y, you would want your robot to find a patch program, but it must appear som ewhere; oth erwise, the
of sunlight on its own, then sit and soak up the ray s MCU doesn't know w here to begin execution.
during lunch. This means that you r robot must The code at MAIN d oes a few different tasks,
somehow sense the sunlight and d educe the direction including setup of the serial port. The line of code we 're
to th at su nligh t so it can steer itself properly. The interested in uses the POKEB command to modify the
sensing part of the equation requires a light sensor, such OPTION register. By forcing bit 7 of OPTION to a 1,
as a phot ocell, and some means of determining the this statement turns on the 68HCll A /D subsystem so
resistance or voltage returned by that photocell. And the internal A /D converters will actually read a voltage
read ing voltages is what the A /D ports do best. when requested. Refer to th e 68H C ll Reference
I've included here a small SBasic program called Manual ("the pink book") for d etails on setting up the
ADTEST.BAS as an example of how to use several A /D subsystem. (Ask Motorola for a free copy of
imp ortant fe a tu res of the 68HCll. Besides M68HCllRM / AD Rev 3 by calling 800.441.2447).
40 • R OBOT S CIENCE & T ECHNOLOGY
Fo llow ing th e A / D se tu p, th e
code at MAIN falls int o an infinit e
DO-LOOP struc ture th at chec ks the
val ue in a coun tdown tim er nam ed
WAIT. Whenever WAIT becom es
0, code in MA IN resets WAIT to a
new value, then calls the subro utine
READ_JO YSTICK to rea d a n d
repor t vo ltages on all eig h t A / D
ports. This seque nce of wa iting,
then read ing, con tin ues until yo u
turn off power to the 68HCll .
The code tha t actually reads an A /
D port resid es in READ-l0YSTICK.
No te the two lines in this routine that
write a byte to the address ADCTL.
The first such line w rites a $10 to
ADCTL, which causes the 68HCll
to read A/ D channe ls 0 throu gh 3,
s to ring th e results in four I/O
regis te rs named ADR1 th rou gh
ADR4. The second such line wri tes
a $14 to A DC TL, w h ich pl aces
the va lues fro m A/ D cha n ne ls
4 throu gh 7 in those same registers .
No te that the 68HCll takes a little
bit of time to read the registers, so
I've include d a short FOR-NEXT
loop after each cha nge to ADCTL.
Whe n yo u r u n the pro g r am ,
you' ll see a se t of eigh t hexad ecimal
va lues ap pea r on yo ur terminal
screen abo u t twic e per second. If
you cha nge the vo ltage connec ted
to one o f the PORTE pins, th e
corres pon d ing va lue wi ll va ry
accor d ing ly.
So wha t kind of voltage can yo u
apply to a 68HC ll A / D input? The
68 HCll includ es tw o pin s
dedica ted to the A / D subsystem,
na me d Vrl an d Vrh. Wha tever
voltage appea rs betw een these two
pins serves as the reference voltage
for the A/ D subsystem . Norma lly,
these pins are connec ted to ground
and +5 Vdc , res pectively, w hic h
mea ns that any a nalog vo ltage
applied to an A/ D input mu st stay
w ithin th ose lim its.
Back to our example ofsensing light
levels. You can hook a cad mium-
sulphide (CdS) photocell to an A/D
p ort and m ak e a sim p le lIE
J ULY 1998 · 41

- - - - - - - - - - - - - - -- . -~..
-- _ - -
light-l evel senso r.
Sto p by a Radio
Shack and pick up
a suitable photocell
XTAl,. B 46 PE~"AN5
PCl):ADO g 45 P€1iANI and a 10 k
Pel/AD1 10 .. PEotI},tU
PC2.l.D2 11 resistor. Wire one
4') PEQlA/'ll direction , yo ur robot w ill be able to "see" di fferent light
Pel'AD3 12 4Z PfniAS
PC4A04 13 4' P8lIM end of the photocell levels and d ecid e w hich d irection to stee r.
f"CS.AD5 u '0 P82,A1Q
PC&A06 15 3a mAll to one end of the ow yo u just need to write so me robo t code th at
PC7iJJ:)7 16 PB4;A12 )(l
RESET 17 37 PBSA1 ') resistor. Now hook read s both photocells, then turns toward the bri ghter
X1RO 18 36 P96.'A14
iFi) ,g 35 PB1:A1S the free end of the light until both light levels are eq ua l. Once both ligh t
POORlD 20
phot ocell to th e
" PA0<C3
levels balan ce, the robot can go forwa rd . Fina lly, w he
p ositive p ower both light level s balan ce and th e levels a re above
terminal on yo u r required minimum, the rob ot can sim p ly sit in place,
BOTBoard, the free soa king up the sun.
end of the resistor to
68HCll 52-pill pinout th e grou nd Getting digital
terminal, and th e Most robots need to know when they've bumped into
junction of the two devices to the first A/ D input, PEO. a wall or other obstacl e. Electronically, thi s bumper
Run your progra m again and notice the effect on the values sw itch is just a resistor w ired between +5 Vdc and a
displayed for channe l 0 as you move the photocell around. input line , with a sw itch bet ween that input line an
As you can see, the A/ D po rt returns consid erabl y ground . The resistor, called a "p ull-up" becau se it pulls
d ifferent va lues, de pe ndi ng on the light that strikes th e an input line up to a voltage, ens ures th at the inp u
photocell. Bu t one photocell is only eno ug h to tell yo u line sees a logicall. Whe n the switch closes, however,
th e li ght le vel in ge ne ra l. To p ro vid e s tee r ing the input line is forced to ground and sees a logical O.
informa tion, hook a second phot ocell and resistor By reading the port attac he d to that inp u t line, your
combina tion to PEL If yo u mo unt these photocells on sof tware can exa mine the associa ted bit and d educe
yo ur robo t frame so each cell is pointing in a different the state of the bumper sw itch.
For th e 68HCll, yo u will norm ally use an I/O line
on PORTC for bumper sw itches . Remember th at
an ytime your softwa re uses PORTC, it must first define

+ 5 Vdc

Cd s photoc ell
Solar Engine Kit Speech Recognition Kit
Co m ple te Solar Ene rgy Powe r Plant Add speec h reco g n itio n cap ab ilit ies to pro ject s,
522" appliances, and robotics. Circuit can recognize 40
user programmable o ne seco nd wor ds. User pro -
grams the 40 wor d voca bulary. Circuit may be in-
terfaced to ot her stand alone circuits or appliances
o r to a host com p ute r system . HM2007 IC uses lat-
est LSI tech nolog y.
Sp e ech Re co g n ition Kit un assembled ....5 l 00 '"
To a 68HCll
- - .,/? - - - AID input line
::§XiIiiIffiffiEiiD I ,,..
Camera CCD - -----.-0---
~
S ominal nes i c en ce
at 0 degrees 10 K
with audio Si d e View \ F lex 9 0 degrees 2 0K o hms
Black and White > 90 d eq r ee s 3 0-4 01<: o hms

Sensitivity: .3 LUX · Resolution: 430 TVlines


Voltage: 9-12 VDC• Output NTSC (1 Vpp)
Options: Bend Sensors
CAM-04 3.6 lens ._. _ S9O'" May be used to crea te a VR g love or as senso r for
CAM-OSpinhole S90'" rob o tics. FLOl 510 "
Co lo r Version 5225'"

Images Company
(7 18) 698-8305
39 Seneca Loop > Staten Island, NY 103 14 · www.imagesco.com
All orders add $7>ll PPH • NYS resident s add sales tax Adding a light sensor
42 • R OBOT S CIENCE & T ECHNOLOGY
BASIC Build your own Robot
Controllable or ~~_rJ We Make it Easy!
Robots

....----htfp://www.lynxmotion.com ----~

th e direction of th e PORTC lines by writing a se tu p MRA-KT Mobile Arm Kit $250.00


• Pre-Assembled Electronics.
va lue to DDRC. • BASIC Controllable.
Port C (PO RTC, address $1003) works almost exactly • Easy RS-232 Control from PC or Micro .
• Excellent Advanced Platform.
like PORTB, but yo u can d eclare some of the port C • Complete Kit, Works with Tracker / IRPD.
lines as di gital inputs and some as digital outputs. Thi s
declaration takes place using an I/O regi ster named 5AA·KT 5 Axis Arm Kit $195.00
• Pre-Assembled Electronics .
DDRC (address $1007). Before your program tries to • BASIC Controllable.
use PORTC, it shou ld first declare the directions of all • Easy RS-232 Control from PC or Micro.
• Excellent Intermediate Project.
PORTC lines, so you d on 't inadvertently change som e • Complete Kit.
exte rnal circuit. Th e valu e your program writes to
DDRC d etermines the direction of each PORTC digital 3AA·KT 3 Axis Arm Kit $155.00
line. Writing a 0 to a bit in DDRC makes the matching • Pre-Assembled Servo Controller.
• BASIC Controllable .
bit in PORTC an in p ut line; writing a 1 to a bit in DDRC • RS-232 fromPC or Microcontroller
• Great Kit for the Beginner .
makes th at line an output in stead. • Complet e Kit.
Once yo u 've set up DDRC, your program can change
the state of th e PORTC ou tp u t lin es by writing a value H2·KT Hexapod /I Kit $375.00
to PORTC , just as I've described for PORTB above. Any • Full Size Hexapod Robot.
. 2 Degrees of Freedom per Leg.
PORTC lines that have been configured as digital inputs • Low Current Draw Leg Design .
w ill ignore th e change; those lines remain inputs to the • Excellent Advanced Project.
• Mechanics /Servos only, Add 2 Mini SSC's.
outside wo rl d . Similarly, yo ur program can read
PORTC to determine th e current state of those pins
H1·KT Hexapod Kit $150.00
co nfig ured as inputs. When your program reads a • Walks Forward, Reverse , Left, Right.
• BASIC Programmable.
PORTC in p u t line, the corres p ond ing bit will be 1 if • Requires Soldering .
that line is co n nec te d to 5 Vd c or 0 if that line is • Great Intermediate Project.
• Complete Kit, Works well with IRPD.
connected to gro und. Reading any output pins will
re turn th e va lue m ost recently w ritte n to them.
CR·KT Carpet Rover Kit $115.00
Note that th e "bum per sw itch" actually can be almost • Designed for Carpet or Rough Terrain .
any m echani cal d evic e that clo ses a circuit. lIE • BASIC Programmable.
• Requires Soldering .
• Great Intermediate Project.
• Complete Kit, Works with Tracker / IRPD.

+ 5 Vdc
MM·KT Micromouse Kit $95.00
• Designed for Table or Smooth Surfaces .
• BASIC Programmable .
• Requires Soldering.
• Great Intermediate Project.
• Complete Kit, Works with Tracker / IRPD.
10k to 47k ....-------Accessories - - - - - - - - 1
STA·01 Counterfeit BASIC Stamp Kit $40.00
SSC-01 Mini SSC /I Servo Controller $44.00
IRPD·01 IR Proximity Detector Kit $30.00
TRA·01 Tracker Line Tracking Kit $20.00
S1·01 Hitec 420zlin Single Servo $15.00
To a 68HCII S6P·01 Hitec 420zlin Servo 6 Pack $80.00
input line SLS·01 Hitec tesozan Large Scale Servo . . $40.00
BMR·01 Mobile Robots Book . . . . . . . . . . . . $48.00
Bumper BP·01 PVC 8x12x1/8" Blank Panel 3 Pack. $10.00
switch ...--------Ordering--------1

1
S&H; add $7.50 for a single robot kit and IRPD / Tracker sensor. Add
$3.00 for each additional robot kit or book. Call, fax or e-mail for quote
for international or large orders. IL Res. add 6.25% sales tax to total.
Ask for our fr ee catal og! ~ Tel: 309-382-1816
Lynxmotion, Inc. ~ Fax: 309-382-1254
104 Partridge Road VIS( E-mail: jfrye @lynxmotion.com
Pekin, IL 61554-1403 USA Web: www.lynxmotion. com
Adding a bumper sw itch
J ULY 1998 • 4 3

cs
The most common form of bum per switches are made If you get stuck, or if you want to share some thoughts
from microswitches, available at mail-order outfits and on robotics, you can reach me at: karllunt@seanet.com.
larger electronics stores. About one inch square and Good luck with your first project, and welcome to a
made from hard plastic, these switches have a long, fascinating world. i=\.S&"iJ
thin metal leaf tha t trips the switch ins ide when the
leaf is pressed against the swi tch. You can moun t suc h
a switch to the body of your robot, then fasten a plastic KARL'S SUGGESTED RESOURCES
or metal skirt in contact wi th the leaf. Your robot can
now sense when an obs tacle touc hes the skirt because Single- and Multiple-Chip
the pressure will force the leaf to the close d positio n. Microcomputer Interfacing
You can adapt other mec ha nical techniques of sw itch by G. J. Lipovski
closures to your robot designs. For example, you can (Prentice-Hall, Inc., ISBN 0-13-810557-X)
remove individual keys from a surplus keyboard, then
use the scrap keys as finger tips or gripper sw itches, so The electronics are actually quite simple, and
your robot knows when it has grasped an object. I've building a working system from scratch will make
seen tilt-switches for sa le in some of the m ail-ord er you that much better of a robot builder.
catalogs, suitable for helping your robot rea lize it has
tilted or fallen over. And Mark Tilden, of BEAM Buy the blan k BotBoard from Mondotronics
robo tics fame, has crafted so me truly wonderful (www.robotstore.com) for about $10.
whisker sensors out of fine brass springs and wire-wrap
posts. For details on th ese w hiskers, b row se th e You will also ne ed to find and order the remaining
Solarbotics web site at www.solarbotics.com. parts, including the 68HC811e2 MCU device and a
matching 52-pin PLCC socket. The BotBoard
documentation includes a full parts list with
suggested suppliers. Expect to spend about $50 in a1
to build up your first BotBoard.

Find a copy of pcbugll at


www.mcu.motsps.com:80/freeweb /.
Follow the links that take you to the 68HCll area.
Download the program pcbug342.exe, copy it to a
Kit I neludes: ~~~_iiiiiiiiiiiiiiiiiiiiiiiiiii':~ new directory called pcbugll), and execute the
~I e ~e'p
!SC

I' 1,m program. It will expand into a working version of


- m1l1 I
Seri al Servo
Controlle r !...
. .,.. w,. .
~ m_ H " m127. W"" . ,••"''' '_
pcbugll with all of its necessary support files.
Windows 1"""""""''' ' II I I mr ' o~" ",,, , I
Softwa re
( 2 ) Hi t e c h
Se rvos
II:::;,.,:: I""'11I""0:':'-: :'II
w.,,, . o_ ", , .
m "m250
II:;;; O!!. d', m sse . I
@Slo:!: m-"'-m1ll
You'll need an assembler and a compiler to creat
code for the 68HCll.
Battery Pac k II I II
C abl ing /
Play LiIt :@R", (ordin.s O St ripts
I a
New!et ordinc
.
Control Panel
I suggest you stop by my web site at
Co nn ecto r s lis""'"""" ] II "om. www.seanet.corrt /v-karllunt and hit the Tips and
[E]EJIS l! Pa~e !I II
Detail ed Pll.yDelay : Help
Techniques page. There you will find a copy of my
Instru ctions III II Sl", ! II E."
Online H elp
SBasic distribution file; this file contains the SBasic
System Eve rything you need to get started today compiler and a serviceable assembler, plus a lot of
$ 179.00 sample programs. You will also find a link to a page
o ANIMATION
Vi~a I MeAccepted explaining in detail how to use pcbugll to talk to a
o ROBOTICS
o EXPERIMENTATION mister computer BotBoard. Download that page and file it away for
o PROTOTYPING
4730 Pa lm Avenue. Su it e 20 2 reference.
La Mesa. CA 9 194 1
o EDUCATION USA
o AUTOMATION ( 6 I 9 ) 464-24 I 2 You absolutely must have Motorola's M68HCll
Reference Manual (M68HCllRMIAD).
www.mister-computer.com
Call 800.441.2447
44 • R OBOT S CIENCE & T ECHN OLOGY
a.
o
o
-I
..:z=
U
m "Robo ticists have to be the mo st skilled generalists. The ir discipline req uires
.e that they have skills in every area of expertise . So th ey need to read every
"C book they can get their hands on." - Scott Edwards, page 51
Q)
Q)
LL
a. Two th u mbs up (one flesh, the other met al ) for Rob ot I espe cially liked Th e Icon oclast's "Home Rob ots-
o Science and Tech no logy. Keep 'em co m ing ..I w ill d efi- NOT! ", and the d etail s of the fire-fighting robo ts. Thanks
o nitely be a stea dy su bsc ribe r... I ap p recia te th e unique for ru shing a replacement ma gazine to me w he n mine
-I co m b ina tio n of cove rage o f w ha t's go ing o n in w as lost. Mike Baron
..:z= aca dem ia and th e real world combine d w ith reportage
U of ama te ur robo tics events and tip s and tutorials for us I've been looking for this kind of information for a lon g
~ independen t experimen te rs. I even a p p rec ia ted th e time . My background is as a mechanical engineer and
I[ "C cen terfo ld ..:-) That's how I kn ew thi s m agazine was programmer but I don't know any thing abo ut electron-
\ G) produced by kindred sp irits ... Rayden Tro n ics. I don't kn ow a resistor from a lug nut.
Also, I'd like to see reviews of kit s. In most kits, th e
iaf WO W! I've on ly read up to p age 21, and I am so instructions don't teach you an ything m or e than " p ut
I a. jazzed th at I had to wri te befor e I fin ish the rest o f th e resistor A into hole s H1 and H2 and so lder." I w an t to
10 m ag. know how the circu its w ork so I ca n m odify th em or
I0 I wa n ted to say a w ho le lot more, but I'm just too create m y own .
1-1 anx ious to ge t back to th e m ag. So far it has been ve ry I'd also like more articles like yo ur FE.A. R. article in
,\..:z= m ot ivati on al and ed uca tional. Keep up the good work! the Premier Issu e. Ma ybe a multi-p art article that shows
I~ Montgomery Tidwell precisel y how to build a sma ll robot from start to finish.
Mike Glass
i.e Ma ybe you could even sell a parts kit.
~11! I not only enjoyed but also understood the firs t articles
'" I read. I've always dream ed of bein g involved in rob ot- Congratulati ons on a well-designe d m aga zin e in a
1 G)
iLL ~~:l~;~~~~~~af~:~~~~~~ ~c:~~~ t1;.e~~~:n~~~nger. This
much-need ed field. Embedded syste ms peri odicals
ha ve be en tr ying to cov er th e ga m u t from single-chip
II a.
0 Wendy Bradley, so lu tions to embe d d ed PC s and fail ed at both ends.
Nottingham Trent University It' s nice to see som eone ca rve ou t a niche and exce l.
1.9 I In yo ur first issue, I fou nd m any of th e articles sepa -
In the Pathfinder article, M r. Reeves makes one
exceed ingly important point, "We stro ngly believe in
i..:z= rat ed by too m any pages. Also, I wou ld reall y enjoy a th e test -what-you-fly and fly- what-you-test philoso-
IU
1m m or e in-de p th ar ticle on cons truction, problems, and phy." That singu lar statemen t shou ld be nail ed to
I.e other things abo u t the ' Big Blue' LIS rob ot. I really en- every programmers monitor in 18-point type. Ironi-
111
I G)
joyed yo ur m agazine and w an t yo u to know yo u've
go t a life-time subsc riber.
call y, the failure in the Mars Lander was precisely
because thi s philosophy wa s not foll owed. Th e
iLL Quincy Styke IV conditions under which th e Lander w as tested w ere
i violated when "the data thread was not ena bled in
jO
l
a.
0
b Good points Qllin cY't~le i:
~rtlll'clesl witlh "tjumpsd"
ecause some l,onger artie es ta J II co or p 10 os, an
Pathfinder 's VxWorks. " A lbert Lee Mit chell

Ii-l others didn 't need color. We hope to keep improving WE'D LOVE TO READ YOUR
..:z= with age, to gi ve reader's what they want. For instance, FEEDBACK, WHETHER IT'S
jI U I think you'll like this month's centelfold, Big Bille .
1m POSITIVE OR NEGATIVE.
I::§ I wonder if I w ill one da y be tellin g m y kid s, "Back in
Send
m y d ay, we had to build our robo ts." Much like the
G)
Corresp ond ence to:
d ay of building yo ur own computer, just a couple d e-
G)
Robot Science & Technology
LL cades ago. Bria n Bem acki 2351 Sun set Blvd #170-253 Rocklin, CA 95765
d OR editor@robotmag.com

J ULY 1998 • 45
' - -- - - - - - - -- - -- - -- - - --- -
Firsl Slep from
Lynxmolion First Step Kit
J3A?IC MicroCOlllroller Kit
I aXlmlzed for Small Ro bots

Getting started in robotics has never been easier.

The First Step Kit is a complete BASIC program-


mable microcontroller on a 1.3" x 1.5" printed
circuit board . The device is based on the popular
Parallax® BASIC Stamp 1 chip, but has been spe-
cifically designed to control a small sophisticated
robot. • Up to four hobby servos may be directly
plugged into the board to control wheel rotation
or leg positioning on a small mobile robot. · Tw o
of the I/O lines have optional pullup resistors for The programming cable may be removed at any
monitoring bumper switches or other sensors . time for complete autonomous operation. The code
• The servo power has been separa ted from the is stored in an EEPROM, and therefore is protected
CPU power for electrical noise immunity. from power loss.
• The board will ac- Lynxmotion also sells many
cept the Parallax . . . . . . . . affordable driver and sensor ac-
programming cable, cessories for the First Stamp
or the DB25-01 modu- controller. These devices fea-
lar programming ture the same 1.3" x 1.5 "
cable sold separately. footprint, high quality double
Programming the sided boards with the same
First Step is easy. Sim- ground plane, solder mask
ply plug the modular and parts placement guide as the
connector from the First Step:
PC's parallel port into • The IRPD (Infrared Proximity
the micro's modular Detector), obstacle detection with
adaptor. Run the three detection quad-
Parallax program STAMP.EXE and load one of the rants.Adjustable range down to a few inches.
many sample BASIC programs into the editor. Ap- • The Tracker (Line Tracking Sensor) allows the
ply power to the First Step and press Alt-R. (The robot to reliably track a 1/4" to 3 / 4" black line on
program is downloaded to the micro, and auto- a white background (or vice versa).
matically begins running.) • The Dual H-bridge (DC Motor Driver) lets the
To make changes, just edit the code and press micro to control the speed and direction of two DC
Alt-R. The micro stops, accepts the new code and motors for use in drive systems.
starts running the new code.

46 • R OBOT S CIEN CE & T ECHN OLOGY


En gine .rin g F in d in g s quality
ececc-eres. miJlerials & tools

First Step Specs:


CPU Power Requirements---6 to 15 VDC at 2 rnA
not including I/O needs. Alternately a regulated 4.5
to 5.5 VDC may be applied to the +5V in / out pin.

Servo Power Requirements- 4.8 to 6 VDC at 10


rnA to 130 rnA per servo connected.

CPU Memory- Enough to store ap proximately 80


to 100 powerful BASIC ins tructions

CPU Speed-2000 ins tru ctions per seco nd . In their 448-page catalog, you 'll find small and min-
iature tools , laboratory equipment, hardware, bearings
General Purpose I/O Pins - Each can sink 25 rnA Hrive and fluid control components, fasteners, and di -
and source 20 rnA, However, the total of all p ins verse sizes and shapes of materials like plastics, rub
bers, nylon, Teflon, steel, aluminum, brass, bronze an
should not exceed 50 rnA (si nk) an d 40 rnA
copper... Enough said?
(source). Pull ups available on 6 and 7, servos can
use I/O pins 0 to 3.
We found that Small Parts Inc actively supports roo
Price: First Step Kit, FS-0l-$40.00 bot builders. In fact, as an avid supporter of the FIRS1
Programming Cable, DB25-01-$6.00 competition series, SPI supplies a lot of free materials
to the robot-building teams. Thi s promotes equity be -
Contact Lynxmotion for a free catalog : tween the small teams and the teams with big corpo-
rate sponsors. They also sponsor the Woodie Flowers
Lynxmotion, Inc. ~ward to celebrate effective communication in the an

104 Partridge Rd . and science of engineering and de sign.


Pekin,lL
61554-1403
Get their illustrated 1998 catalog b y callin
309.382.1816 800.220.4242 or emailingsmlparts@smallparts.com.
Fax: 309.382.1254
www. lynxmo tion.com
Sales : afrye@lynx mo tion.com Find more info on the FIRST robotics competition a
Support: jfrye@lynxmo tion.com 00.871.8326 or www.usfirst.org. -Mike

j J ULY 1998 • 4 7
l-.- _' ~ _ " . . .. _ _
----- - -- - - -- - -

RSn.T's PEDAGOGICAL TEAM, PART II


IRIS GILBERT
GRRPHIC RRTIST

We at RS&T are fortunate to add graphic artist Iris Gilbert to our team here
in Rocklin. Her photography and computer graphics skills clarify and beau-
tify many of the images in this issue. In fact, check out this month's cover,
"Hugging the Wall."
We're looking forward to seeing plenty more of her photographs and computer
magic gracing the covers, centerfolds and illustrations of many future issues.

BOB BRADY, PH.D.


MIT LINCOLN LRBS

A certified bell-ringin' monk at one of America's cathedrals of science, Dr


Bob Brady has a talent for clear narrative to add to his B.s. in mechanics, M.s.
in alternative energy and PhD. in machine vision. "1 feel very strongly about
making science and modern technology accessible to the average person."
Bob integrates science and math into the construction details of the popular
Tuieboi design on page 6.

TAK AUYEUNG, PH.D.


UNIVERSITY OF CRLlFORNIR RT ORVIS

We met Tak Auyeung at the IEEE Region 6 micromouse competition (page


34) at UCD, where Tak teaches the UCD Micromouse Lab . In his other life,
he's the software development group leader for embedded controllers at
Zworld. RS&T is happy to present the first of his .series of maze solving
algorithms on page 30.

RICK HAHN
FRBRICRTION RRTIST

It took an artist to do what couldn't be done. Plastics manufacturers told


RS&T that injec tion molding small parts was beyond the abilities of home ex-
perimenters. But artist Rick Hahn proved them wrong. Follow Rick's step-by-
step instructions (starting on page 16) to learn how to duplicate small, corn-
plex parts in plastic using inexpensive homem ad e injection-molds and some
patience.

48 • R OBOT S CIEN CE & T ECHN OLOGY


Robots, Androids, and Animatrons: 12 Incredible Projects You Can Build
by John Iovine
With this wonderful book, science and electronics experimenter John Iovine gives
us the penultimate "First Reader" of robotics. This fast-paced and easy-reading sur-
vey of real-world and hobby robotics overviews a dozen different kinds of robot
technologies. It has a good introduction to the thorny discussions of artificial life,
intelligence and consciousness. In most of this book, Iovine challenges the reader
with hands-on projects that explore power and locomotion (such as solar, battery, air
muscle, nitinol, servos and stepper motors), sensors (light, IR, speech, ultrasonics,
pressure and more) , Basic Stamp microcontrollers, BEAM, telepresence, simple mo-
bile kits, wa lkers, underwater and airborne robots. After helping us all these projects,
Iovine guides us through building an android hand using air muscles, a BASIC pro-
gram and a toy arm. Full of clear photos, schematics and diagrams. Completely indexed. Includes sources for
parts.
Found at major bookstores, www.amazon .com or www.tabelectronics.com. Tab Books, ISBN 0-07-032804-8,
270pp, pb ack, $19.95

A to Z - Rad io Control Electronic Jou rnal


revised 1997 by George Steiner
A reknowned radio control veteran shares his extensive knowled ge and expe -
rience in this RC receiver and transmitter tut orial, wi th emphasis on RC mod el
aircraft. He provides personal no tes, drawings and cha rts illus tra ting the basics
A to Z . RADIO CONTROl ELECTRONIC
of AM, FM, PPM, and PCM equipment in this handy, fact packed journal. Here
JOURNAL
are details in major fields of knowledge including : cha nne ls, freque ncies, an ten-
nas and radiation patterns; battery backups and charging sys tems includi ng load
testing; servo resolution, testing, modification and reversing. There are over a
dozen simple electronic building projects and a list of han d y phone numbers for
buying or servicing RC equipment, supplies and test equip men t. This profuse ly
illustrated book is a good start for getting a hands-on understanding of radio
control, 132pp soft cover.
Send check or money order for $19.95 to GSP AZ Journal, 2238 Rogue River Dr,
Sacramento, CA 95826, 916.362.1962.

The Prop Bu ilder's Molding & Casting Handbook


vy TFi urston James
UCLA's theater properties master Thurston James easily details molding and cast-
ing procedures for builders of every level of proficiency, using over thirty different
materials from papier-mache and plaster to polyester resin, rubber latex, neoprene,
silicone and the urethanes. Novices will appreciate the conversational "How to Get
Started " attitude; and journeymen will enjoy the challenge and reward of making a
va cu u m forming machine. The author focuses on theater props such as masks,
breakaway bottles and fake fish . However, robot builders who need to make custom
chases will find this resource invaluable. Glossary, source list, index and 450 step-by-
step photos.
Available at: F&W Publications, Inc, 800.289.0963, and at plastics suppliers
I Betterw ay Books, ISBN 1-55870-128-1, 236pp, pback, $19.95

L:__ .~ _ ~~ _ JULY 1998 • 49


Artificial Intelligence
and Mobile Robots
edited by David Kortenkamp,
R. Peter Bonasso & Robin Murphy
" Real sys tems are judged by performa nce,
not by pap ers," see ms to be the philosoph y
of the au thors and ed itors. Here are thi rteen
case s tu dies of au tono mo us mobile ro bo ts
from lead ing researchers and uni versities. All
have succeede d outside the lab, most are d is-
tin gui shed com pe tition w in ne rs, and so me
are we ll-know n names like Rhin o, Ca rme l,
Dervish , Xav ier and Phoen ix. Major top ics in-
- clude con tro l architectures, rea l-time naviga-
tion algo rithms, map learning, vision, and ac-
tion -oriented perception . Co llege- leve l read-
ing. Some cha p te rs assu me kn owl ed ge of
p rob ability func tions . Well-indexed and illu stra ted w ith diagra ms,
pseudo-code, ph otos, scree n sho ts, and an extensiv e bibliography.
AAA I Press /MIT Press, ISBN 0-262-61137-6, 390pp, pback, $37.50.
Found a t m ajor book st ores or or de r from MIT Press, 800.356 .0343,
m itpressord ers@miLedu

Do Androids Dream of Electric Sheep?


by Philip K. Dick
Here's the sci-fi masterpiece that spawned Blade Runner. This book is not simpl
better than the movie: If you liked the movie's special effects, then this book is twice a
good as the movie. If you liked Blade Runner's plot twists and bizarre way of askin
serious questions about consciousness, humanity, and an android's right to life, th
this book is a hundred times better than the movie. In short: a bounty hunter is tasked t
'retire' artificial humans who are escaping their Martian slavery on a post-apocalypti
Earth, where they are outlawed.
Del Rey, ISBN 0-345-40447-5, 244pp, pback, $11.95
Found at major bookstores.

Robots Rising
Produced by Arcwelder Films
Wan t a non- technical crash course in the sta te of the art of robo tics? Check ou t
Discovery Channel's Robots Rising. Narra ted by Linda Ham ilton , w ho star red in
the Ter minator movies, thi s info rma tive and fascina ting video exp lores both the
app lications and imp lications of robots in modern socie ty. From robo ts as toys to
robo ts as tools, Robots Rising features an amazing va riety of machin es that can amuse
us, mi m ic us - and even replace us. Some of the showcased robo ts include the
bomb-hand ling Andros 5, the interactive Baby Doll from MIT, Honda's life-size hu -
man oid, the insec t-like Wa lkman, and the trul y untou chable Rosie that handles nucl ear
waste. The program inclu des interviews w ith so me of the w orld 's top robo ticists-
Rodney Brooks of MIT's AI Lab, William " Red" Wh itt aker of Carnegie Mellon Uni-
ve rsi ty, Mark Tilden of the Los Alamos Na tiona l Labora tory, and Shigeo H irose of
the Tokyo Institu te of Techno logy.
Produced by Arcwe lder Films, Robots Rising aired on Discovery Cha nne l in March.
The tw o-hour videotape is ava ilable for $19.95 by calling 888.404.5969.
50 • R OBOT S CIEN CE & T ECHNOLOGY
Programming
nd Euatornl ing
the 8A I[ Starn
[ rnpure
by Scott Edwards, Scott Edwards Electronics, Inc.,
iouno.seetron.com

"This book will show you how to get started build- including clear explanations of computer math, Bool-
ing fanta stic projects with the Stamps. " These are ean logic, Ohm's Law, digital switches, RC timing
true words. Scott Ed wards is perhaps the foremost and much more.
writer on the BASICStamp microcontroller, and this Something that roboticists should note: While
book is a comprehensive and authoritative tu torial Scott's applications have not concen trated on ro-
on the easy -to-use Parallax BASIC Stamp. botics (there are plenty of other uses for Stamps),
Lon g-time reader s of Scott's columns will recog- everyone of the projects in this book can be instantly
ni ze th e easy-re ad ing and technically complete applied to robotics sens ors, data log ging or com-
tutorial. This book assumes no special prior knowl- munication.
ed ge, and offers the practical side of a college As a great added value, Scott has included a CD
ed ucation in microcontroller programming. It's with three years of his magazine columns. The CD
profusely illu strated and full of complete code list- also contains the entire Parallax BASIC Stamps
ings. manual with all the manufacturer 's applications
What's a microcontroller? And how does it dif- notes (450 pages) and all the software tools you'll
fer from a microcomputer? What does a BASIC need to program Stamps on you r DOS machine.
program look like? Read chapter 1. What's a Since most of the documentation on th e di sk is
Stamp? An interpreter? A PIC? Read chapter 2. in the Adobe Acrobat format, a copy of the free
Scott starts with th e simp lest questions for begin- Acrobat Reader software is included for Win 3.x,
ner s and builds expertly on that knowledge to Win95, NT, Mac and Unix.
build yo u r programming skills. Programming and Customizing the BASIC Stamp
In plain English, chapters 3 and 4 give us a cus- Computer is a quality publication from TAB Books
tomized introduction to e le ct r icity, discrete (www.tabelectr onic s .com) .
components, prototyping and soldering that is ISBN 0-07-93684-2, softcover, $34.95. i=\.S&.
written es p ecially with the new Stamp robot In a special offerfrom Parallax Inc., Robot Science &
builder in mind. In this one book is all the infor- Technology readers can get the book, a BASIC Stamp Rev 0 ,
mation yo u' ll need to move up to Stamp anda programming cablefor your PC,
programmmg. at a special package price of$59 (a 40% discount).
Can't rem ember your programming classes from But toget the discount, you must
school? No problem. Scott provides a BASIC Stamp ask for the ROBOT MAGAZINE special price.
Boot Camp, with 12 complete projects, 6 appendices Call Parallaxat 888.512.1024
J ULY 1998 • 51
Boot ng Up Your mall
Ro otics Busin
Ne ither Sleet 11 01' 5 11010 nor...Huh ???
Prop'Iop learns the hard way: w hat yo u do n't know about the mail can kill you. You'll commit SUICIDE!

Can 't you just drop your mail in the box? Yes, but...

O
nce upon a time, in a neighborhood very near your to do the mailing. His fingers walked through the Yellow
hou se, a really smart propeller-head had a Bright Pages and the mailers told him that he could earn discounts
Idea for a bu sin ess. Int elliH onkers. with the post office if his mail wa s mark ed , so rted, bagged
He knew eve ry thing he needed to know about his product. and tagged properly.
And he felt he was prett y smart about bu sine ss. His confide nt
personality wo uld surely lead to sales. So he decided to mail M eet q uite of ten w ith your loca l postmaster and th e folks
out some fliers and sit back while the money poured in. w ho w ill handl e your busin ess account.
Wh y waste tim e? A nearby printer It started to so und complicated . So
would make his flier. The printer told him PropTop as ked his po stmaster for the
that so rted bulk mailin gs were cheaper How Hard Cnuld a number to th e postal business cen ter.
than regul ar First Class, so PropTop gave Mass Mailing Be? There he took a free one -d ay class on
his local postm aster abo ut $300 to op en a mailing requirem ents. It bored him silly,
Business Repl y Mail Account. But wh o but he did discover that his mailing costs
wo uld he mail to? would be reduced if his mailing database wa s che cked for
Someone told PropTop that he need ed to mail a lot to get an y recenc y with the government's Nation al Change of Add ress
measu rable response. So he expected to get about a 2 percent (NCa A) system. His mass mailing would also need to com e
response from his direct mail campaign. After some ment al with a form full of details about how he sorted, ba gged an d
math , PropTop knew he needed to sell 300 IntelliHonkers a tagged his mail. His database would need to be "CAS certi-
month to mak e it wor th his while . Tosell 1800 units in the next fied ." He carried a bunch of liter ature home that see med so
six months, he'd need to send out 90,000 fliers! complex, that he didn't think he'd bother to read it.
But he didn't ha ve 90,000 friend s and relatives. He need ed No problem , the mail house would take care of it.
a mailin g list. So he proofed the blue-lines and color keys at the printer,
Fortuna tely, a quick trip on the net yielde d sev eral list bro- and the printer delivered a pallet-load of flier s to the ma il
ker s, including Dunn & Bradstreet. But the se all seeme d house. PropTop paid the po sta ge fees to the mail hou se up -
ve ry pri cey. Besid es, none of the list brokers knew an ything front, happy to learn that all thi s effort brought his po stage
about roboti cs. So he need ed to get a mailing list of the people wa y down.
he wa n ted to sell to: fellow roboticists. PropTop began to receive his BRM cards . Firs t came the
"insufficient address" returns. Th en the "Left No Forward-
Before trusting a mailin g lis t w ith your fli ers an d cata- ing Address" or " Forw ard ing Order Exp ired ." If all the se
logs, consider sending postcards w ith"Address Service Re- addresses w ere checked, NCOA'd and CAS certified, how
quested." could ten percent of his mail budget be w as ted this w ay!
Bein g more confident than mo st, he simp ly called up a Then PropTop got a slap in the face!Th e printer had mad e
dozen robotics-related businesses, an asked for their mail - the cards 1j 16th of an inch too wide, so the po st office kep t
ing lists. The repli es varied . Som e said their lists were pri- them locked up until he paid 76 cents for each "overs ized"
vat e, some were polite but didn't taKe him eriously, and post card! To add to his troubles eve n more, he began to
so me didn 't have lists that were very big anywa notice that a whole lot of his mail didn't get d elivered or
A couple of friends gave him a thousand names, includ- returned! His uncle, a long-time letter carri er, explained wh y:
ing Bill and Hillary. Including himself, 12 times. Incl ing " If it look s and feels like bulk mail , and there is an y excuse
blan k spaces and addresses that couldn't impossibly eXI t. to dump it, ev en a single di git w rong in the apartment num-
PropTop finally found several businessmen who \MOl d ber, there is a certain population of mail carrier s who will
se ll lists for 10 cents a name. Reasonable. The goil1g ra te. 0 simply throw it away! " PropTop wondered if the IRS would
he invested $1000 into 100,000 names and ordered h is fliers allow Valium as a business expen se.
printed for mailing. The printer said he knew all abou t postal Instead of Valium, get an Account Representative at the
regulations, thank Deus! post office bu siness center. Meet with her often, and explain
your plans months in advance of an expe ns ive mailing.
11 st your mail piece. Don't just fax a copy to th e mail Soon he wa s sw am ped with repli es. Hol y Cow! So many
design official. Take it down in person, discuss it, and ac- people wanted Int elliHonker s, that his mailing earned a
tu all y M IL A FEW PROTOTYPES. phenomenal 8 percent response rate! Now he had several
FileMaker Pro and Microsoft Access did some de-duping, thousand potential customers.
and spreads heet pr.intouts helped him see the problems on a Hmmm.
printout, but he new he would need a professional mail house
52 • R OBOT S CIENCE & T ECHNOLOGY
Wall Hugger, continued from Page 31
WALL HUGGING
A wall hugging robot (a wall hugger) sticks with
either the left wall or the right wall. Think of it as a
person in a dark office, trying to find a light switch.
This person moves forward while feeling the wall.
s
For a right-handed person, he/she follows the
right hand side . At a junction with an opening on
D
the right hand side , this person feels the turn on
the w all and follows to the right. At a dead-end,
this person still follows the wall on the right hand
side until a U-turn is made.
Figure 1: 5 is the starting point, and 0 is the
For a right-wall hugger, the algorithm is quite destination. A wall hugging robot will never reach
simple: point O f
whi l e robot is no t a t destinat ion do
if ther e is no wall on the right Although the wall-hugging method is sim ple to
han d si de then implement, it suffers one handicap: in certain cases,
make a r i ght turn it canno t find the destination! Figure 1 shows a
else if there is no wall In front simple wa ll-hugger defeating maze. The destina-
move one ce ll forward tion is in an "island"; therefore, if the robot "swims
e lse along the coast" of the lake, it will never reach the
make a l ef t turn island. i=\.S&'"i"'
end if
end wh i le In Coming Issues: Depth-First, Flood-Fill, and A * Algorithms
.-
Index of Rdvertisers
AcroIlaIlw Page 13 GeIleral Robotics Page 7 iVomadic Teclmologies Illside frollt cover
303.258.3161 fax 303.247.1892 800.422.4265 650.988.7200 fax 650.988.7201
www.acroname.com www.edurobot.com www.robots.com

It cU, 1l1t~diaPages 57,59,61 Images CompaIlY Page 42 iVetMedia Page 5


603.924.9100 718.698.8305 520.544.4567 fax 520.544.0800
www.activmedia.com/robots www.imagesco.com www.BasicX.com

AKPeters Page 4 Lemos IIItcmatioIlal Page 37 Parallax Page 1


508.655.9933 fax 508.655.5847 508.798.5004 fax 508.798.4742 888.512.1024
www.akpeters.com www.lemosint.com www.parallaxinc.com

ArrickRobotics Page 64 LJ1LfIllOUOIl Page 43 l'oIltcch Inside back cover


817.571.4528 309.382.1816 fax 309.382.1254 714.985.9286 fax 714.985.9288
www.robotics.com www.lynxmotion.com www.pontech.com

Qh~ Pa~58 Mister :;omputer Page 44 SolarboUcs Page 56


Future Active 800.655.0006 619.464.2412 . 403.818.3374 fax 403.226.3741
Mondo-tronics 800.374.5764 www.mister-computer.com . www.solarbotics.com

Effel:U"e EIIgiIleeriIlg Page 22 !UoIldo·trOIJit:S Page 12, back cover ThriftJ Distributors Page 55
619.450.1024 fax 619.452.3241 800.374.5764 fax 415.491.4696 800.342.3610 fax 610.647.6289
www.trix.com/effective www.robotstore.com

J ULY 1998 • 53
Robotics is one of the most
exciting frontiers of the
Next Century.
And you,
dear reader,

are a pIoneer. Walllla Progrtun Stamps?
See page 51

RoboCup and MiroSot Results!

T
he more robots we build, in classrooms, labs
or h ome garages, th e m or e w e advance Germans took 1st pl ace in Rob oCup and Kor ean
soc iety's und erstanding of the awesome team s domin at ed th e FIRA Robot World C u p
power of in telligen t autonomous machines. In- (MiroSot, NaroSot). Denmark w on the KheperaSot
deed , RS&T exists to promote the lise of robots in society
by making the science, math & technology accessible. If yo u've n o clu e w ha t th at m eans, th ere is
Sure, we like coo l phot os and w ill ev en di scu ss h elp a t w ww. Ro bo tMag.co m, www. fi ra .ne t,
scie nce fictio n, but ou r focu s is on th e serious di s- www.mirosot. org an d www.ro boc u p.o rg . An d
course of robo tics . read Aug us t's RS&T. (The con tes ts coinci ded w ith
th e (h um an) Soccer World Cup during Jul y, so de-
Expect future issues to be more technical. And tails didn't make press time.)
as always, we' ll tr y to "exp ress Big Concepts us-
ing sma ll words" and a lot of illu strati on. Robot Wars or Robotica in August?
I'm also fascinated by the world's new est con-
I think the American Association for Artificial In- tact sport: Robot Wars is the "Mons ter Truc k Rally"
telligen ce robo tics co m pe titio n and exhib ition is of robotics. Thi s ann ual con tes t in San Fra ncisco
th e "Wo rld Series" o f robo tics, so RS&T w ill be in volves weapon-wi elding robots (crea ted by a
there (see Page 59). Did yo u see ou r tabl e at th e bri gade of "in teres ting" and intelli gent folks). It's
World Au tom ation Congress-FIRA American Cup dominated by heavyweight radio controlled ma -
in Ancho rage? (Thanks to Prof Mo Jamshidi at th e chines (including Mark Setrakian's 300 Ib snake
U of New Mexico. ) and Christian Carlber g's 8-legged buzz saw ). An d
54 • R OBOT S CIEN CE & T ECHNOLOGY
we have see n th e ev olu tion of au tono mous en tries person al rob ots. No swea t. Start working w ith Karl
that showed prom ise in '96 and '97. Th e ch eering Lun ts SBas ic code on Page 40. An d chec k ou t
and so me times raging crowd of over a th ousand Lyn xm oti on's First Step con tro lle r, Page 46. Th is
spec ta to rs aro und the arena is a spe cta cle in itself . m onth we' re introdu cin g a se r ies of Dr Ta k
Auye u ng's useful m aze so lv ing algorith ms on
Unfo rtunately, th e Robot Wars even t w ill p rob- Page 30.
ab ly n ot h a p p en thi s year du e to differences
bet w een th e partne rs. The LIS Robot
Rem ember th e sce ne in New Line Ci ne ma's Lost
How ever, th e co m pe ti to rs th emsel ves, led by ill Space w here yo u ng Will Robinson is using vir-
Gary C li ne of C li neWo r ks, h a v e o rga n ize d tu al reali ty to con tro l the Big Blue robo t? Big Blue
Rob oti ca. This contes t p romises to give robot war- repea tedly and relentlessly bl ew away th e ev il
rior s a cha nce to sp ill hyd raulic b lood at th e Cow space sp id ers wi th rapid ly alte rna ting ray gu n
Palace in San Fra n, 14-16 August. Folks w ho wa n t blasts from hi s up per left and righ t end-effectors.
to en ter sho u ld con tact th e organ ize r after rea di n g Th e meta l and resin hydraulic monster from Jim
a bo u t th e eve n t a t www.C li ne Wo r ks.co m / Hen son's Creature Sho p was actually con tro lled
Rob oti ca .h tml a n d www.C us to mFo ru m.co m / much in thi s manner. (Two guys wore VR su its,
Rob ot Wars, a spiri ted and in formation al forum and tw o held joysticks.) Big Blue and it's unnamed
hosted by warrio r Ca rlos Bertocchini. half-pint resurrection p ro vided a tou gh and d ed i-
cated (albe it re-p rogr ammabl e) person al p rotection
(Robotica is a regis tere d trad em ark of ClineWorks, robo t. We hope yo u' ll cons ider th e im agery th at
and is no t affiliated wi th Robot Wars, w hich is a graces thi s m onth's cen terfo ld to be inspirat ional
registered trad em ark of Robot Wars, LLC.) eno ugh to tape to yo ur office wall. i=\.S&"'i'"

To see scads of photos from p revious yea rs' co m-


p etition s, visi t th e offic ia l RW s ite a t
www.Robo tWars .com. To become eng u lfed in hun-
MOTORIZED PAN
dred s of p ho tos, tast e th e narrati ves, an d gain tip s Fastens be tween any tripod head and vid eo c amera Two motors allow
ind ep end ent smooth remote adjustment of vertic al and horizontal
on winning, visit www. Robo tMag.co m and b rowse panning mo tion Auto Pan Mo de - allows continuous horizontal panning
motion. Switc h selec tor for either a 30, 60 or 90 degree movement.
"Co mpe te, Win, Destroy" and the Links Page. See o Maximum ho rizontal angle +90 •
o Maximum ve rtic al angle +15
yo u at Roboti ca. o Power Source 4 AA ba tteries M$P-l0 1 .
o Panning Spee d a djustable 99 ...
Weight 27 oz. - Size 5.75' x 4.5 x 4' .
Subscribers Note
900MHz WIRELESS TRANSMITTER 12V Auto Battery
We dreamers at RS&T cre d it yo u reader s for the & RECEIVIN:\YSTEM Charger $40
12 VOLT DC . COMPLETE
immedi at e and overwhe lm ing su p port. (In fact, POVJER SUPP~ .
ATM PRB

SYSTEM 12V 4 Amp Quick


we're late publishing th is seco nd issu e, because we ...".""",:",':'""""""""""""" .....,0<":'",:, 's-:,. ...•......,...... . Charger $160
. . if :',~w
go t swa mped p rocessing subsc ribe rs in th e first • 1.fF ~f /
.,,,.........,,-<::.:
' J475
$239 0
0
BCRl 53
Ca mcord er Batte ries
Blank Vid eo Tape
month' ) Tha nks for yo u r pati en ce. We expect th e AllOWS A VIDEOCAM ERA WITH' A COMPOSITE VIDEO
SIGNAL AND/OR AN AUDIO SIGNAL TOBE CONNECTEDTO THE
0

0
Ughting Equipment
Wireless Mic s
Augus t Issu e to come ou t in th e beginning of Au- WIRELESS TRANSMITTER . RANGE 150FEET 0 Battery Belts

gus t. And yes, subsc ribe rs w ill ge t all six issues LEAD ACID CELLS 1 170 Mhz Wireless MIC WlX PRO $139 I

(one eac h m onth ). Qu esti o n s : w r ite to LCR-6V4 $22 DURACELLQD ALKALINE CELLS
LCR-6V7.2 $35
se rv ice@Robo tMag.com or call 888.510.7728. LCR-6V12 $42 AAA 1.5V 1120mAh MN2400B2 2 PI< $1.99
LCR 6VlO $30 AA 1.5V 2450mAh MN1SOOB2 2 PI< $1.89
- C 1.5V 7100mAh MN1400B2 2PK $2,90
LCR-12V3 ,4 $27 0 1.5V 14.250mAh MNl300B2 2 PI< 2.90
Read er s wa n t technical cons tru ction de tails. Me, LCR-12V7.2 $36 PROCELL 9V 565mAh PROCELL $1.95
too. See Dr Bob Brad y's Tu teBot on Page 6 for an
in expensive fora y int o smart hobby robo ts. Read - PAYMENT BY. ~ ';; ·~·I ~! ~ FREE SHIPPING
THRIFTY Catalog sent with your order on orders of $300 orMore
ers w ant to step up from personal com p uters to
J ULY 1998 • 55
- - -- - -- -
Logic, continued from page 24

First, decide how much voltage you plan to deliver to (C)


the load . I chose to supply 5 volts to my load, and to simu- COLLECTOR
late that load with a 1k resistor. The closest zener diode
locally available had a Vzener of 5.1 V: Using Ohm's Law, (B) 3E f?\
I calculated that my componen ts would need to be able
to withstand a 0.0051 milliAmp current flow. So all com-
BA~:
ponents would have to be rated to dissipate .026 watts.
No sweat. (E) EMITTER
PNP
Planned (Zener) Voltage
Planned (Lo a d ) Resistance
= Pla nne d Cu r r e n t Flow (C)
COLLECTOR
Pl a nne d Cu r r e n t Flow x Vzener
Wattage Rating Required (B) 3E f?\
of Regulator Components.
BA~:
Select a resistance for Rl, such that
Rl = ( InputVoltage - ZenerVoltage) (E) EMITTER
+ (LoadCurrent + ZenerCurrent)
NPN
With my 9 V battery, 5.1 V zener diode, 1k load an d Transistors can conductfrom emitter to
the previous calculations, I go t a resistance va lue of collector only if sufficient voltage is
382 . So I chose a resistor in th at ball park. applied to the base.

Resistor Color Code


Solar·Powered Robots!
Resistor values are color coded by several bands on the compo nent body.
Why? Because Batteries SUCK*. The first two bands are significant digits, and the third band is a multiplier.
BEAM robotics is about building your own A fourth band would indicate the "p ercent of tolerance." For this project, I
autonomous solar-powered devices that
just happen to be using 5% (gold) resistors. Usin g a meter, I noticed that my
don 't require batteries - like these!
10 k resistors are actually 9.9 k . This is well within tolerance, since our
The sclarspeeder
circui t values are not critical. See the color cod e below.
1.1 is a very quick
racer, capable of A clear and easy-to-read guide to resistors is in Tech Am erica catalog (free
zooming 10 feet in by calling 800.877.0072).
under 60 seconds Eventually, you'll memorize the color code, with a mnemonic like this:
of direct sunlight!
K 5S - $25
Big Bad Robot Over Yonder Goes Ban g
The Photopopper 4.2 Very Good With Girls Sw in ging Now
is a palm -sized, solar- '",,-
powered, light-
seeki ng, obstacle- Using the first letter of each word, this mnemonic helps you remem-
avoiding robot . No ber the colors and corresponding values:
microprocessor, no
batteriesI
~ PP42 - $60 Big Black 0 Very Violet 7
Solarcells Bad Brown 1 Good Gray 8
SC 37 33 5.5V Sola rce ll (1 .4 5" x 1 .3 ") ·$1 2 .50 I pair Robo t; Red 2 With White 9
SC 2433 2. 7V Solarc ell (0 .94" x 1. 3 ") . S11.00 I pa ir
SC 2422 3.5V Sola rc ell (0 .94". 0 .87" ) · $8 .00 I pa ir Ove r Or a n g e 3 Girls Gold 5%
Pr ices in US Dollars / Add $6 shipping , Yon d e r Yell ow 4 Sw~nging Silver 10%
Visil our we bsite fo r more Informati on!
Goe s Green 5 Now None 20%
Bang Blue 6
={]JJ]'----~
\ f=
'1 1'
179 Harv est Glen Way H.E., Calgary, Alberta, Canada T3K 3J4
Ph:(403) 818·3374 Fax : (403) 226·374 1
HTTP ://WWW.SOLARBOTICS.COM 1st DIGIT TOLERANCE \
10kU Resistor
* No offense Int ended to pink, drum-beatlng bunn ies 2nd DIGIT MULTIPLIER

56 • R OBOT S CIENCE & T ECHN OLOGY


Flashy Logic Circuits
Let's move on to something more
fun: the se circuits will have lights. v+
PioneerMobile Robol ic Syslems

(Light Emitting Diodes or LEOs, to NOT Ga te


be exact.) A lit LED will indicate the 4.7k
presence of a logical 1 or O.
I, used a 2N222 " N PN " type of
transistor, and a 5 V red LED, Ra-
dio Shack Part Number RS276-208 . 1k
Inputs
(NPN and PNP refer to the arrange-
ment of silicon wafers in side the I)Qd place
~
transistor.) Output . 1 ~ & e;.- '98 '
By the wa y, look at the arrow in RoboCUP .
the transistor symb ol. You can re- V+ should be 6 to 9 Vdc.
member that this symbol calls for an Vin should be 4.5 to 5.5 Vdc.
NPN transistor, if you think of NPN Output ooltag« will light • popular
as meaning " N ot Pointing iN ." An- (or not light) the LED,
other kind of transistor, a PNP type, inversely of the input . world~Wide!
would be illustrated by an arrow
"Pointing iN Positively." A
r-. B
Assemble the NOT, OR and AND
circui ts on your breadboard as show n
V www.activmedia.com/robo ts
603-924-9 100
IN PUT S OUTPUT robots@
in the schematics. As you connect / activmedia.co m
A B
d isconnect each inp ut, predict the 0 1
outcome, watch the LEOs, and then EDIA
1 0 r I C S

measure voltages around the circuit


to get a practical "feel" for what hap- The NOT Gate simply inverts
pens as inputs change. &
Vin from 1 to 0 (volts or no volts),
as shown in the accompanying
Truth Table.
Schematics
AND Ga te v+
OR Gate v+

Inp uts

V+ and Vina s before.


The output LED, should AND Gate: Both input must
demonstrate the Truth Table be 1s to light the output LED.
INPUTS OUTPUT
B

::=[>-ac
A C INPUTS OUTPUT
0 0 0
A B. C

:~c
0 I I
0 0 0
I 0 1
0 1 0
1 1 1
1 0 0
1 1 1

OR Gate: A n input to either input


will result in an output. AND Gate and Truth Table
J ULY 1998 • 57

- - ---- - ._- - . _ - -- - -- - -
Typical breadboard with
Ge t the ca talogs mention ed on pa ge 21. Just flip p ing
discrete components. th rou gh them is an ed uca tion.
Left to right: Voltage Regulator, NOT Gate, OR Gate, Build Tru th Tables and test the following logic circui ts:
9V battery (the green looped wires are movable inpuis.)
NAND Gate
(an AND w hose ou tp u t goe s th rou gh a NOT)
N OR Gate
(an OR w hose ou tp u t goes th ro ugh a NOT)

In Coming Issues
Wire w ra ppi ng for speedy Ie p rot ot ypes, Soldering
sec re ts that yo ur d ad di d n' t tell yo u .

58 • R OBOT S CIENCE & T ECHNOLOGY


Pioneer Mobile Robotic Systems

• Many
accessories

• Reliable

• versatile

• Affordable

• plug 'n' play

www.activmedia.com/robots
603-924-9100
robots @
activmedia.com

Alan Sch ultz of the


National Research Lab directs
Coyote at AAAI -97.
Coyote's voice recognition and
video scanning are
integrated to make the human
interface more rea Iistic.
The robot can obey such
commands as "move forward
about 10 inches" and "go a
little to the right."
Top: Coyote's raeterized laser
takes visual input from Alan.
"Come forward this much."
Bottom: Alan says "move to
my left", but points to his right.
Coyote replies aloud "You
pointed in the other direction.
I'm confused."

J ULY 1998 • 59

eta Ie inds

A meeting of great minds - both natural and artificial


- will take place this month in Madison, Wisconsin.

T
h e American Association for Artificial RoboCup matches will be available. Further-
Intelli-gence will host the 15th National more, outdoor venues have been set aside f on
Conference on Artificial Intelligence, aerial robots and ground vehicles.
July 26-30 at the Monona Terrace Community "We're aiming for as much variety as possible,"
and Convention Center. say the exhibition sponsors.
One of the highlights of AAAI-98 promises to
be the Seventh Annual AAAI Mobile Robot Build Your Own
Competition and Exhibition. Again this year, AAAI is hosting a Robot Build-
ing Laboratory - and contest - in cooperation
Hors d 'Oeuvres, Anyone? with the KISS Institute for Practical Robotics.
The mission of the 1998 competition is to pro- The lab will be mostly hands-on: building and
mote innovative research through events that ap- programming small mobile robots to do a vari-
peal to the media and sponsors. The contests are ety of tasks. The instructors will give the attend -
designed to pose a "low risk to individual or in- ees the necessary information to embed their sy§c
stitutional reputations," according to AAAI-98 tems in physical agents - mobile robots - that
organizers. can interact with realistic environments.
Back by popular demand, the Mobile Robot Each team will have all the components - and
Competition will consist of the same two popu- tutorial help - necessary to design, build and pro-
lar events that were staged at AAAI-97 - only this gram their own robot. The nature of the contest
year, the Hors d'Oeuures Anyone? and Find Life will not be revealed until the beginning of the
on Mars contests will be more challenging. robot-building lab.
The ongoing Hors d'Oeuvres event will reward
innovation in human-robot interaction. Robots Who Are These Guys?
will be let loose in the conference lobby to hand Founded in 1979, the American Association for
out flyers, make announcements, and of course, Artificial Intelligence is a nonprofit scientific so-
offer refreshments. ciety based in Menlo Park, California. AAAI is
The Find Life on Mars event will demonstrate devoted to advancing the scientific understand-
the latest advances in navigation, task planning, ing of the mechanisms underlying thought and
and mapping activities. intelligent behavior and their embodiment in m alo
chines.
A Robot Menagerie AAAI also aims to increase public understand-
The purpose of the Mobile Robot Exhibition is ing of artificial intelligence, improve the teach-
to showcase current research in robotics that does ing and training of AI practitioners, and provide
not fit into either of the competition parameters. guidance for research planners and funders on
Snakes, manipulators, bipeds, helicopters, and the importance and potential of current AI de-
more will be presented and demonstrated. Sev- velopments - and the implications for the future,
eral indoor arenas for small and medium

Official webpage for AAAI-98: www.aaai.org/Conferences/NationaI/1998/aaai98.html


Webpage for the Mobile Robot Competit ion and Exhibition: www.cc.gatech.edu/aimosaic/robot-lab/aaai9B/
Rules for Hors d'Oeuvers, Anyone?: www.aic .nrl.navy.m ll!~schu ltz/rules .htmI R u l e s for the Find Life on Mars: dangermouse.uark.edu/aaai-98/life-on-ma
Robot Building Lab: www.aaai .org/Conferences/NationaI! 199B/Robots/aaai98-rbl.html
KISS Institute for Practical Robotics: www.kipr.org M onona Terr ace Communit y and Convent ion Cent er :mononaterrace.visitmadison.com
An email list-server concerning the AAAI-98 Robot Competition and Exhibition has been set up. To subscribe, send an email to majordomo@cc.gatech .
with "subscribe aaai98 " in the message body. To post something to the group, email it to aaai98@cc.gatech.edu.
Pioneer Mobile Robotic Systems

• Ask
a1'5 neW
wh with
Pioneer
"TodaY

www.activmedia .com/robots
603-924-9100
robots @
activmedia.com

The Texas Robotics &


Animation Center Laboratories
(TRACLabs) ServeDroid
approaches Benjamin Jones at
the Hors d' oeuvre competition
at AAAI-97. A pyroelectric
sensor differentiates people from
inanimate objects. The top
carries candy and a laptop
computer to display a face
which turns in the direction of
the closest sonar range ready.

J ULY 1998 • 61
Software
Viagra
If you r only tool
is a hammer
then every problem
looks like a nail.
I
T
I
he com mon conce p tion of a mobi le rob ot is its purchasing a read y-made ba se, but is it the best p la tform
ph ysical embodime nt. Th e metal , plastic, nu ts-an d - for d eveloping an in telligent rob ot ? It's sor t of like bu y-
bolt s con trap tion that mo ves, grabs, and flashes ing a suit off the ra ck. It's less expe ns ive and will fit pretty

,I
lights, perhaps even talk s. But it' s the softwa re tha t su p- well, but it' s not going to perform as well as one that's
pli es a robot's 'elan vital, its vi- ex pe r t ly tail ored for a n
tal force. Witho ut guid ing pr in- indi vidual 's size, sha pe and
cip les, a robot wo uld jus t be an charac ter. Any factory-m ad e
'1 un intelligen t ina nima te hunk When I twisted my knee, robo t, or sui t, is go ing to have
I of junk.
But I think this attitude has
my brain otovided a many com prom ises built int o
it.
go ne too far; it 's starti ng to work-around. I recently purchased an ex-
I repl ace well-designe d hard - cellent boo k on robo tics, Arti-
ware. Wheels not aligned? No t But I was still lim{Jing. ficia l lnieitigence and Mobile Ro-
I to wo rry, the PID (process iden- bots: Case Studies of Successful
tifier) algorithm will take care of Robot Systems, e d i te d b y
it. Cross talk in the sona rs? Tha t's O K, the signa l process- Kortenkarnp, Bon asso and Murphy. The firs t four cha p-
ing software will sort it ou t. ters are case stu d ies pertaining to mapping and naviga-
The view that software is the preemi nent ing red ient in a tion . All the rob ot bases used in these stud ies were com-
robo t - and the only part worth careful d evelopment - merciall y purchased units, w ith the sta nd ard so na r rin g
stems in part from the fact that most mobile robot research- around their girth. Only one of the robo ts was m odified
ers have ba ckground s in compu ter science or artificial in- to cus tomize the so nar arrangement. (The p lacemen t of
telligence. Got a problem ? Softwa re's the an swer. The syn- 15 of the usua l 24 standard Polaroid sonars wa s rearranged
drome operating here is a variant of "If yo ur only tool is a differently around the robo t.)
hammer, every problem is a nail." That rob ot, Dervish, also had the sim ples t sona r-process-
I'm certainly not op posed to sof twa re, sof twa re control ing sche me for det ectin g obs tacles and d er ivin g features
of robots, or develop me nt of sof twa re tools, langu ages from its surro u nd ings. No ne of th e o the r robo ts cou ld
and so for th. Neverthe less, simply pu t: Softwa re process- sense sma ll obs tacles in th eir pa th - Dervish could . No ne
ing is not a good substitu te for carefu l hard war e d esign . cou ld sense th at th ey were abou t to fall down a flight of
Permi t me a humble example. I recently twisted my knee stairs - Dervish could. None cou ld sense an impending
severely, and yet, all my "softwa re processing" doesn't cor- clu nk in the he ad by a tabl etop - Dervish cou ld. Dervish's
reet for the proper functioning of this joint. While my soft- so na r arra ngeme nt was tail ored to th e tas k a t hand . The
ware work-around provides a built-in fault tolerance and al- o the r robo ts were merely convenient sof tware fodd er.
lows me to proceed instead of being crippled, Ican only oper- Or we re they? Much of their software development was
ate in a very dimi nished capacity. devoted to overcoming the built-in factory limit ations!
My point is that if my knee we re ill d esign ed to begin Now, I'm not knockin g the commercial platforms; I wis h
with, thi s diminis hed capacity wo uld be th e best I wou ld I could afford one. Ma ny of us have compu ters but not
expect, and the bes t I wo uld kn ow to expect. How much machine sho ps . So it's eas ier, both in conce p t and imple-
bett er then could our robots do, if more consideration we re mentati on , to think of sof twa re contro l than to think of
given to thei r mec ha nical design ? mechani cal invention. Wh at I wa nt to advoca te here most
Ma ny researchers begin their robo t crea tions wi th so me stro ng ly is: Wh en d esigning and building robo ts, give
J ge ne ric, comme rcial robo t base, w hich usu ally has a bevy extra considera tion to the mechanical aspects. An appro-
I of built-in collision-avoid ance d etector s. I und ersta nd the pria te m echa nica l d esign is the first step toward building
L,=c~and initial timesavin g concerns that lead ,_o_ _a_s_u_cc_eSSfUl robo t. - Th e Iconoclast
J ULY 1998 • 63
July 26-30 AAAI-98 Mobile Robot Competition & Exhibition
Madison , Wiscon sin • www.aaai.org /Conferences / ational/ 1998/ robo ts-98.html
www.cc.ga tech.ed u / aimosaic / robo t-lab / aaai98/ (see page 60)

August 1-3, International Autonomous Underwater Vehicle


Competition
Pan ama Cit y, Florida • w w w.au vsi.or g /auvsicc/ au vcomp.htm • bal es@mit.edu

August 8, Robo Expo


Regen cy Plaza Hotel, San Mateo, California
@
""
www.RobotStore.com

August 14, International Aerial Robotics Competition


Richland, Wash . • avdil.gtri .gatech .edu / AUVS /lARCLaunchPoint.html
rob ert.michelson @gtri.gat ech .edu

August 14-16,
Robotica
enthusias ts should ch eck w ww. cust omforum /robot war s / AN D
www.Cline Works.co m / Robo tica .htm l for d etails. Also see pa ge 54

Stepper Motor Systems August 15, Robo Expo


Puente Hill s Mall, City of Industry, Ca liforn ia
Positioning Tables (Grea ter Los Angeles Area)
www.RobotStore.co m

August 22, Robo Expo


Embassy Suites Hotel, Bellevue, Washington
(Seattle Area)
www.RobotStor e.com

September 6,
Add motion control to • Pick and Place Dragon*Con Robot Battles
your project with ease. • Te sting Atlanta • www.drago nco n.org /pa nels /robo t.htm l
PC-based software with • Dispensing kellyl@cris.co m
source code for C and • Sensor Positioning
VB. Connects to
parallel printer port. Several sizes available.
COMPLETE stepper motor control systems
from $700 . X, XY and Xfl. positioning tables
starting at $450.
A rrick Robotics P.O. Box 1574 Hurst, TX 76053 USA
817-571-4 528 info@robotics.com Est: 1987
September 20, Robo Expo
Cambrid ge Hyatt Regen cy
vvww. robotics. COIn (Boston area)
www.RobotStore.com
64 • R OBOT S CIENCE & T ECHNOLOGY
!
\

i START BUILDING YOUR ROBOT NOW!


I
I

SV203 Servo Motor Controller $59


• Dri ves up to 8 R/C type servos via RS232
• 5 Ch. 8-bit A/D port for potenti om eter/j oystick co ntro l
• Ser vo port s ca n be recon figured for dig ital outp ut
• User definabl e board ID and baud rate

I •

Simple ASC II string co mma nds
Windo ws 95 interface so ftwa re and sa mp le co de incl ude d

SV203B Servo Controller $75


• All features of SV203 plu s...
1 • 8K EEPROM for running standalo ne routines
• Includes Basic compiler/downloader

SV203C Servo Controller $85


• All features of SV 203B plu s...
; • IR fea ture, co ntro l via IR-rem ote co ntro ller
• T x & Rx IR co m ma nds

1
I
STP 100 Stepper Motor Controller $159
• RS 232/R S4 85 interface, addressable up to 255 bo ard s
• 2 Amps per phase, 5-46 VDC bipolar dri ve
\ • Choppi ng curre nt lim iting
:J
• Over temp erature prot ecti on
• Acceleration/dece lera tion ra mping
I • Speed, directio n, position cha nge on-the- tly
• 32 bit abso lute position, 4bit digit al input for home limits
• Full, hal f or wave ste p mod es
• Size (4.3 x 2.4 x 1.1 in.)
1 • Simple ASC II string co mma nds /w sample interface so ftwa re
I
-I
-l

SWM-1 RF Modem $295


j (p a ir)
CS600
Jumbo Servo
I 330 Oz In.
I $44.95

FS148
Stand ard Ser vo
• Perfect for wire less S V203 and STP 100 operation 42 Oz In.
J • Manu factured by SIM A usin g Digit al Spread-Spectrum $16.95
tech nology with freque ncy hopping
• 300 foo t range - throu gh wa lls, floors
I
\
• Up to 85 kbps transmi ssion rates VIS A/MC Acce pted, Shipping & Handl ing + $5 (U S) .

I (714) 985-9286
I http://www.pontech.com
Fax: (714) 985-9288 2700 E. Imperial Hwy., Suit e N - Brea , CA 9282 I

:I
\
- - - - - - - -- - - -
Hyper Peppy Robot 13·296 $29.95
Bright red. white & hluewithclear r-~.--.,,,,,,,~_
dome. Runs forward until it humps
ohject or hears loud noise, revers- ~UUR SUURCEf URRUBUl KI1 ;.
es & turns. then resumes. With
complete instructions. I·j em Wx B il i\ ~ C
P ~R1 S.1UUL S. ~IOEa S.
" ..11\ "
' S&MURE '
13 L x 9 H. No soldering required. tLEC1RUNIC S. MU SCLE 'fIRE .
Requires 2 AA cells (sold sepa-
rarely). A filii{-[nmticjirst rohol! ------_...1 RoIIot 'sBonaaza '3·114 $18.95 .o~~!\?~b"
~'oao~
BASIC Stamp 1 '3-201 $34.95
8 input/output lines. EEPRmt for 100 instructions. 4 ~ IH z.
Sonic Rover Robot 13·174 $29.95 Practical. ready-to-use circuits. devices. mech-
",-:!j::i-=::~-1 Agreat. low-priced kit. "Bump & anisms. SOUfl'l'S, tools. vision, grippers. navi-
BASIC Stamp 2 '3-191 $49.00
run" operation like Hyper Peppy 16 input/output lines, EEPROM for600 instructions, 20Mllz
gation & more! 1\6 pgs. illu-t.
above. Molded hody. red/green dock (up to 38.400 baud ), touch tones, X-lO, more'
LED, great 48 pg manua l. 14 cm. L
x 12 W x 7 II. Requires soldering
Gadgeteer's GoIdmine '3·129 $24.95 MinI SSC 2 '3-448 $48.95 <@V
Unique high-tech projects & hard-to-lind Control up to 8 servos ria one serial line. Talk to it from
and 2 AA cells (sold separately). info. Robots, high milageTesla & \'an de any Pc. ~ lac. Stamp. etc... Plus. daisy chain up to 32 togeth-
Ajaslmol'illg}lrsl ruhol' Graaff generators, Kirlian photos, Lisers & er to control up to 2)5 servos. A must foranimatronics'
much more' ,100+ pgs. illust.

Spider WaIkiDg IR Avolcler R MoIHIe RoIIots '3-098 $47.95


'3-299 $69.95 From ~1lT. a complete guide to designing I/;
Futuristic & maneuverable 6-legged huilding robots: hardware, software, sen-
walker with IR for obieu avoidanre, sor.s. motor>. "subsurnption- software, 536
Dual motor drive. front mounted sen- pages. illust. A must forall roboticists.
sor. 13 cm L x 13 W x 10II. Nosol-
dering required. needs 2 AA & one 9V cell. Sensors for Mobile Roboh '3·145 $67.95
\\'hoa' Eref)1 hing about sensors: tactile. prox- Hexapod Walker KIt ,3-434 $150.00
Souer'bot KIt '3·391 $34.95 imity. range. ;1C() L1~l ic bsL'f. radar, nurrowavc. Three servos provide full dircrtiorul walking, .I~::~,
Fast. Furius fun . These spunky little six- path followiru; dead reckoning, compasses. Programmahie from your l'C, All hardware.
legged walkers more up to 6 meters / gyros & more. ))0 pgs. Fun & intelligent' electronics, software and instructions includ-
minute. Wired remote control of for- ed. Over 20 em long. Soldering required.
ward. hack and rotate! 12em I. x 9 Wx PradIcaI RoIIotlcs '3-416 $39.95 Mega Hexapod Walker KIt '3-423 $375.00
8 II. Needs no soldering! Each kit (one If youask "wheredo I stal1'" the It's huge! 12 servos drive this platform
'hot per kit) requires 2 AA cells. answer is "HERE'" Bill Davies shares with full control and major strength.
years of robotics experience, corering Add your own Mini SSCZ's. a controller
Cybag RoIIot ,3-466 $49.95 all aspects: tools, techniques. compo- (Stamp2. BOlln lrd) and somesensors
Cyhug hastouch and light sensors to nerus, sensors,soldering, etc... 350 for advanced autonomous behavior'
exhibit active and interesting behav- pages with a tine index.
iors. Printed circuit hoard & 2 DC IRPD V1s1oa KIt '3-464 $29.95
motors' 12 cm W x 10II x.; L. IC Hobbyist's Hcmdbook '3·164 $19.95 Give your robot the gift of Vision' This
Soldering and one 9V cell required . Toss those old IC data boo ks' This practic d Intra-Red Proximity Detectorcan detert an
Machineor liringorganism' collection has 80 common ICs to make 100s ohject from 10- 36em awav' Connect to a• • •iiI
of circuits' Amps. linear. logic. O IOS - lI'ith Su mp. IICll. PC parallel 1''->11. or your own circuits.
specs. pinouts. sample circuits - even compo
nent ralues (gclSp'). 120 pgs. A hasic resource.
CoatroDing the World W'd11 Yoar PC 13·165 $35.00
Convert ordinarv serial & parallel Mascle WIres Pro/ed Book &

GlID
gt
ports into ohjel'l-detel'ling. motor- Deluxe KIt '3·1 U $59.95
spinning lIlonsters'j2 circuits A'.;D Create direct linear action with
- software in BASIC. C and Pascal' 2'i6 Muscle Wires. They rontrart up to
pages.-iIIustrated. lIith DOS disk. 5% when powered' Use them in

DI\ e m to underwater robotics' TIle


authors provide dozens of hands on ,
cxpenmentsusmg readily ,1I.uLlblt>1
l
Build Your Own Underwater RoIIot '3-418 $29.95
NY'"
l '
robots, models and anything need-
ing strong ull-electric Jl)OtiOll . 128
page book. full plans for BORIS, a
motorless walking robot I/; I·j oth-
er>. Includes one meter each 50, 100 & 150 umdia ,\ luscle
WAG II RoIIot '3-280 $74.95 parts 1'18 p,lges. Great illustrauons Wires. 12Hpgs. illust. Get Jl)ol'illg todav .
Asophisticated, full function robot kit. r-----_-'
2 motors, programmable 4-hit micro,
and ,I lot of fun DII c in' I",,-,=-, _~
'~II'!':O;:[~t:" J
~~S:~sn~d~~r~te!3-133 $17.95
26 hutton keypad, sensor arms forcol-
lision or edge detection, Mores in all
directions. performs if-then decisions ( ) ( ~~S~'i~S I~~~g ,~l~~~m
based on sensor input, evendo-Imps' ( J of ,\ Iuscle \\'ire' Variable speed up to
Requires soldering, 3 AA & one 9V 56 flaps/mirunc. 1) em tall. With circuit
bauery, Great intro to rohot programming. board. all parts I/; instructions. Requires
soldering & 2 .11\ cells, Annoys cats'
All ideal intrcduction tosluscle Wirl's.
PC I erface for WAG II '3-195 $29.95
~)~t~:=~:'~(~e~l=s~~~!t~\~;~
Parallel cable & BASIC DOS diskforeasyprogram ha~dling .

New VersIoII ofa Top Se1lblg KiI! theories, equations. & references for designing springs. tor-
800-374-5764 sion & cantilel-er derices & more! 160 pages. illustr.tled.
~ CO~~s~l~~~r~ ro~~;406 $595.00 <§V
platform from MIT. With all hard- . .. MONDO-TRONICS o~~~g check. MO
All d't card info ~~I~=I~~~~ng~~~fI39 $299.00
ware, C software, 6811Cl J CPU, 4286 Redwood 'iiwy. #226-135 s~:gZf~ add .
S.\IA design problems: helical springs, 1
memory. sensors. wheels. motors.
chassis. instrunions & more, 18
San Rafael, A 94903 SUblotal $25

Questions: 415-491-4600
9
m,tg:~
$ 75 to $100
$is7."gg
$9.00
torsion & cantile\'er de\'ices. linear a,lua-
tors, more, Work in metric or U.s. Fine-
$100 to $250 $ 10.00
cm db. The idealcompanion kit Fax: 415-491-4696
Over $250 :; ;:r:g tune yourdesign. then print. graph or
to the Mohile Rohots hook (3-098 Email: info@mondo.com
Web: www.RobotStore.com Ca~.~g~rs also add sa\'e results to disk. 4) pg manual. For Windoll's, POlI'erful'
;Jlx)\'el. ,Hac {- PC compatihle' sales lax
Inte rn ational Orders W el come ! S e e w ebs it e for d e ta ils Check out "Muscle Wires to Mars" on our Website

You might also like