Feb-Mar 2000 DCD
Feb-Mar 2000 DCD
Program m in g
a Small Mobile Robot:
02 >
a 74470 93568 1
The Cye robot offers ded-reckoning that works and a
powerful and extendible GUI. Cye comes with a 19200
baud radio link connecting him to your Pc. You can use the
Windows application "Map-N-Zap" to control Cye, or create
your own VB or VC++ software using the Cyesrv Windows
ActiveX which provides 71 methods, properties, and events .
eYE Product Specifications:
• Weight: 9 Ibs. (4 kg.) Cye can carryover 25 pounds in his wagon at up to 3'/sec.
• Dimensions : 16" x 11" x 5" Cye can vacuum with the Cye Vacuum Attachment, a cordles
(40 x 28 x 13 em.) vacuum with powered brush. An RJ45 port mounted on Cye
• Towing Force: 7 lbs. (3.2 kg.)
provides connectivity to peripherals. Cye sells complete witt
• Energy Capacity: 24 hours - no
charging station for $695 at www.cyerobot.com. The Cye-sr
motion ; 5 hours - motion, 1-2
hours - towing upright vacuum
model ($845) adds sound response. Cye-sr responds to clap
• Oed-reckoning accuracy: sequences and music.
less than 5 degrees of heading
error per 50 ' of travel
• Radio Range: 100' through walls,
300' line of site
• Inc ludes : Map-N -Zap software on
CD-ROM, manual, PC radio pod,
Cye Home Base
• PC Requirements: WINgS or
WINg8 with a spare DB-g COM port
23
News Since Last Time
Proboties & Hoo ver teamed up to mak e a light-weight , reason -
ably affordable robot vacuum clean er. Probotics Cye robot, with
wagon and custo m vacuum att achment, roam ed our halls at RS&T
hD. Contributing Editor for s everal months , proving th at even ed ito rs can pro gram hom e
robots . Yep , it ac tually clean ed our carpe t autonomously, and
arie Wills, MD returned directly to its e lec t rica l feeding station wh en it need ed a cha rge . Int eresting
uting Editor toy-cl eanup feature: wh en ever Cye approached , our RC cars would suddenly drive off at
high sp eed.
It, Marketing Manager Advanc d Desi gn "Robix" was th e first-ever "ro bo ts only" compa ny to exhibit at Comdex in
Nov ember. RS&T's wandering publisher met Evan and Charlene Ros en , wh o se t up a mock
kid 's bedroom to demonstrate th e ease of learning to us e th eir ed uc atio na l a rm and its
programming int erfa ce. A cha llenge to th e rest of us : more robot co mpa nies need to get read y
IN THIS ISSUE now for Comde x, Nov 2000.
Auyeung
Burbeck Basic Stamp maker Parallax Inc had th e busiest booth in th eir s ecti on of th e co nve ntio n hall.
Gracey Engineer s Chuc k and Chip Gracey, Rus s Miller and othe rs s howed off se ve ra l co mpac t robot
n Iovine designs , Orbot , GrowBot , and th e mad e-for-t eacher s Boe-Bot. Parallax recentl y co mplete d a
ss Miller US tour, t eachin g teach ers how t o us e th ei r Basi c Sta m p. See s ta m psinclass .com a nd
Robillard par allaxinc.com.
k Schoeffler
Also s ighte d at Comdex: Mondo-tronies' Robot Store owne r/e nginee r Roger Gilbe rtson dem-
SIGN, Amy Ellis o ns tra te d how his Muscl e Wire proved so useful and lightw eight , th at it was incorpor at ed into
th e Sojourner rove r and se nt to Mars . You rem ember th e "success ful" Mar s mis s ion in July 98?
ER ASSISTANCE Muscle Wires are s ho wcased at ro bots tor e.co m.
16-632-1000
@RobotMag.com Some RS&T insid er s a re pr etty s ure th at th e Mars Polar Lander was s ho t down in retribution
nd ADVERTISERS for our destruct ion of th e Martian 's prob es during th eir visit to Earth in 1933. Referen ce: War
of til e Wo rlds. Some scientis ts th ink it s lid down a mountain . Moon wa lkers Neil and Buzz
, glossy prints -
wouldn't have flown like th at.
il large files to
obotMag .com BattleBots played Las Vegas, November 17. The re were so me a mazi ng ups et s a nd trouncing
vict ori es th at s ur prise d th e ro bo tic combat co mmunity. Kudos to Trey Roski, et ai, for picking
ANNOUNCEMENTS up th e combat bann er and waging two ma jor co mpetitio ns in a s ingle yea r. See th e acti on on
[email protected] m pay per view, Jan 29. See ba tt lebots .co m for th e lat est.
mbed graphics in text)
VICE, SUBSCRIBERS,
The Seattle Roboties Society (seattle ro botics.o rg) is do ing a magnificent jo b of ex pa nding
robo tics in th e Northwes t. Th eir Rob oth on at th e Sea ttle Scien ce Cente r, Oct 23, featured
S and LIBRARIES
firefighting hom e-builts , dan cin g Aibos, and c ho reog ra phe d Cognachrome Mach 5s from New-
8) 510-7728 ton Labs. Ame rica's West Coas t Sumo King Bill Harri s on 's auto no mo us s umo eve nt was a
RobotMag .com sm ash hit as always . (I learn ed not to d rop anything in his wo rksho p; yo u' ll never find it aga in,
S and PERMISSIONS amids t all th e tools , machines, design papers , and robot pa rts). Fifty robo ts s ho wed for eight
eene, (916) 660-0480 eve nts . Stev e Richard s of Acroname lectured on s ub s um ptio n arc hitec ture, an ingeniou s
approach to designin g ro bo ts for th e rea l world. Lot s of goo d tech info at acrona me .co m.
(916) 660-0730
THE INTERNET AT Contributing Editor Jo hn Picci rillo's Robotics Mini-FAQ was upd at ed and pos ted on RS&T's
botMag.com website (robotmag .co m) to give folks a q uic k-to-rea d introduction to hob by robotics . Thanks ,
eli Deppner John.
as er@RobotM ag.com
nels-on proje cts, bu t ca nnot guar -
them , and we are no t responsible
are. softw are . or materials used ,
1U ircuitry dep icte d may be pro-
larks.
Personal Robotics:
Re al Robots to Co ns tr uct, Program and Explore th e World
BY RICHARD RAUCCI A K Pet ers. Ltd., Natick, Massachusetts , 1999
This 200+ page co mpendium of first-hand research rob ots, perhaps because the oth e
hands-on experiences with walkers,roll ers and are too expensive for mass co nsumption,
arms from Learning Curve-Robo tix , Capsela, too speci ali zed or too co mplicated for his
Lego ( i nc lu d i ng MindSt o rm s), Sil verLit, tend ed aud ience. But Person al Rob otics gc
Johu co, OWl, Parallax, Sol arb oti cs ( BEAM) , a lon g way tow ard answering the qu estie
Robi x, Fisch erTechnik,A.K. Peters (Rug War- What s out there ?
rior) ,and JCM Electronics (CyBug) robo ts is a
valuable aid for teach ers, hobb yists and par- It's hard to keep up with techn ology tod
ents.He reports on the results of his field tests, how ever thi s inform ati on w as up-to-d e
the robo ts' features and funct ion alit y, and their th rou gh mid-1999. As mor e m anufacture
possibilities for expansion.He includ es sample enter the field , more mod el lin es will be
programming co de and screen sho ts to give fered than ever before. Readers sho uld n
the prospecti ve buyer a sneak peek at the in- therefore, co nclu de that this book is the I;
terface and skill level required to build and wo rd. Instead, the autho r and pub lisher ha
operate th ese ro bo ts. Finally, he spec i fies set forth a challe nge for the person al roboti
sources that have these machin es availab le for inf orm ation industry: Will anyo ne be able
pur chase. keep us up-to-date on every new major pre
uct lin e?
The sophisticated autono mo us Pion eer ro-
bots from Acti vMedi a earn their ow n chapter Raucci did a good deed by presentin g tl
in thi s book , perhaps because they are the broa d-stroke review o f some o f the most pot
"...best-price d rob ots in th eir cl ass" and "A lar rob ots available to our readership. I co
T
his ro bo t b ook distin gui shes itself mend publisher Klaus Peters for bringing tl
nobl e attempt to bring a full-fl edged prof es-
immediately as bein g one of the very book promptly to market. With out Persor.
sio nal robo t near to the educatio n/consumer
few surveys of several spec ific rob ots. Rob otics, we would all be less inf orm ed.
market." Raucci doesn't cover other high-end
With down-to-earth inf ormation abo ut each,
the reader can make an int elli gent cho ice of
wh ich robot to buy or build . Even the intro-
du ctory pages,whi ch present a histori cal per-
spec tive of soc iety's view of robo ts,androids,
Personal Robotics: Real Robots to Construct, Program,
and automatons in realit y and ficti on ,are in- and Explore the World
teresting and informative. Most of the book, by Richard Raucci, 1999
however,is dedi cated to fielding the question :
What s out there ?
ISBN 1-56881-089-X, 208pp, amply illustrated
A K Peters, 63 South Ave, Natick, Massachusetts 01760
Only a very few books exist that discuss a
handful o f specific robo ts, and rarely can a Tel: (508) 655-9933 Fax: 508-655-5847 www.akp et ers.com
read er fin d such unbiased inf ormati on on
kit-built designs. Unlike this easy-to-read sur-
vey, most "descriptive" books are difficult to
absorb. What's a beginning rob oti cist to do?
How do you choo se a robo t kit for a class
project , for your hobby,for a gift?
Auth or Rich ard Raucci spent month s play-
ing on his kn ees building, programming and
running a herd of robo ts selec ted by co m-
mon-sense criteria. Is it a real robot? Is it inter-
es ting? (He ignores rad io-co ntro lle d toys.)
Then,bravely, Raucci gives his real-world opin-
ion on the pros and co ns of each mod el. He
recom mends hobbyist robo ts (mostly kits) ,
and expe rimenter toys and kit s as low as $50.
At the high-end , he shows us a co mmercial
grade machin e aimed at the schoo l and re-
search markets for und er $3000.
Applied Robotics
by Edwin Wise
Prompt Publicati on s, Ind ia na pol is, 1999
(MCU) .This is where some readers may have
trou bl e und erstand ing how the components
work .Non etheless,there are enough part lists,
instructions and circuit diag rams to help the
reader bui ld the projects .
Chap ters 9 and 10 cover the theory and
implem ent ation of fuzzy logic respec tively
Whil e Chapter 9 contains a general discussion
of neural net and fuzzy logic that all readers
...........
.-. can underst and , Chapter 10 includ es addi-
tional technical details about the MCU as well
...........
III . . . . as actual Fuzbol (a C-like fuzzy logic program -
......
...........
min g language) c od e. Read ers with som e
processor arch itecture know ledge and C pro-
gramm ing experience shou ld find chapter 10
interesting. Others may und erstand the gen-
eral id ea but find the details distracting.
here is a lot of materi al in this book
Applied Robotics
by Edwin Wise
234 pp plus sampl e program code listings , list of suppliers,
bibliography & CD-ROM.Well-indexed
ISBN: 0-7906-1184-8 Prompt Publications, Indianapolis
IR OBOT S CIENCE & T ECH N OLOGy . . . .
Anyone who has read my articles over the years has probably noti ced that when it
comes to supplying a starting point for robotics, I tend to support the local toy
merchant. Toys, although intended for children, are designed by adults . More often
than not , the designer must surmount many engineering difficulties to accomplish
the necessary price/performance ratio that makes a product successful.
Since that time , several vendors have offered arms but they never
had the 'WOW' factor of Armatron, until now.
Figure 1. OWl Arm Specifications
. Late last year OWl Corp. introduced a new robot arm trainer. The Thanks to OWl for art permissions.
new arm is called the OWI-007 Robotic Arm Trainer. The trainer
has capabilities usually found only in much more expensive ex-
perimental arms. Incorporating five separate gear motors, manual Using the arm is addictive after you insert the batteries. If you.
control is accomplished through a series of simple up-down cen- buy one for yourself, either get another for the kids
ter-off switches. Figure 1 illustrates the functional capabilities or don't let them see it.
of the product.
The purpose of this article is two-fold. For those of you who hav e
The arm rotates left or right. The elbow and shoulder raise and not investigated the OWl arm I present a t horough review of the
lower. The wrist rotates and the two-fingered parallel-jaw grip- mechanical design concepts that make it outstanding. You will
per opens and closes. Not bad for approximately $70! Converting learn some simple yet elegant mechan isms. If you have purchased
1982 dollars into 1999 currency indicates that OWl has actually one, I'll show you how to add position feedback to each of its
improved on the price/performance features of Armatron. joints and how to interface your embedded controller.
Pinion-mounted flat gear section l24] Pinion-mounted flat gear pinion section (11]
Worm Gear (single-start)
The simple DC motor in each joint is controlled by providing a Gripper Mechani caLDesign
positive or negative three volts. This can be done through manual
switches (like the supplied controller), low current relays or The best place to start investigating the design of the OWl ar
standard H-Bridge drivers. OWl offers an optional PC-based elec- is at its finger tips (see Figure 3).
tronic control unit plus software.
The gripper mechanism consists of what is known as a parall
Providing electronic control of the motors is only half the story. jaw design. As the fingers open they remain in the same plar
When attempting to add computer-based intelligence to an arm, of reference, much like the jaws of a vise. As shown in t l
knowing where the joints are and when they reach their in - figure, the hand assembly consists of two fingers mechanic al
tended destination is the remaining half. linked to a base structure. Figure 4 illustrates the orientatic
of a finger as it travels. Notice that the links constrain tJ:
Unfortunately, the OWl arm includes no provision for direct finger's movement in a straight line.
position feedback. Even the OWl control interface and accom-
panying software do not rely on actual position. Without feed- Each of the fingers includes an int egral non-slip rubber pad 0
back one can only use time-based open-loop control. This is its inside surface. This is where the grasped object is capture
where you specify the amount of time in seconds that a motor and the addition of the rubber surface increases its abilities t
is activated. As easy as it seems, this method yields unpredict- helping to eliminate slippage. r--- ------·
able results. Motors don't always stop immediately when com- Movementis provided through the :----~---::-----~~r--~
~ r I
manded. Varying loads on the joints will tend to slow them coupling of opposing gears and a , I
, ~,
:
,
,
~
timing of an operation
off. of each finger (refer back to Fig-
,, ·. ,,
,, ,,,
The obvious method of choice for determining when an object For this demonstration , I chose to add a single beam in t he
is located between the fingers is the optical break-beam de- center of the finger at the tip . With smaller devices, a numb er
vice. Figure 6 illustrates the concept. of beams may be implemented.
rD •••
~ n Object Detection
Begin adding the infrared devices by measuring the diameter f
the emitter and detector components. These devices look like
standard LEDs or transistors. For best results find a pair that
rD~
are of the same size. You want the devices to point directly at
each other, so the hole where the device is mounted to the;
~ ~1
finger should be drilled simultaneously through both of them,
O--rv'v---------.r,~
1
. _- - -"13 >-=2 _
To Microcontrol le
Photo 2 illustrate s a small Lego gear being added to the shaft. Instrumenting the Elbow
Some of the plastic from the middle of the gear must be removed
to accommodate the shaft. After tr imming, the gear is cemented The mediation gear is almost fully enclosed in a plastic col-
in place. lar and is therefore inaccessible for feedback. The large gear
seems to be the place to detect movement, however, it s t eeth
Make sure you don't accidentally cement the shaft to the hous- are very close together and a stiff metal cover plate protec ts
ing. Locating and wiring the switch completes the job. its edges.
Photo 3. ContactSwitch Engaging Small Gear Photo 4. ContactSwitch Engaging ShoulderMediation Gear
Connected To Large Gear
As this switch is mounted on the outside of the arm, it is Base Mechanical Design
necessary to feed the wires back into the arm so they can
travel to the base. This is accomplished by drilling a small hole The base motor of the arm moves the entire structure, whic
in the upper arm. pivots on an extrusion that rises through the center of t h
base structure. Because the structure is balanced on the pivot
the motor requires little torque to move the assembly. Th
Shoulder Mechanical Design mechanism chosen to act as base drive operates the opposit
of every other joint. In this case the motor actually trav el
The shoulder joint operates on the same principle as the elbow
around a stationary gear. Figure 14 illustrates the design . Th
with some variation. Mechanical advantage is added again
large gear incorporates 74 teeth. The base motor it attached t
through an external large clutch gear (see Figure 13) that is
the arm structure. Its powered gear meshes with the fixed qea
fixed to the arm. The gear motor engages another mediation
that is connected to the base structure. When power is ap
gear that in-turn meshes with the large gear. The large gear is
plied, the movable item (in this case the arm structure) rotates
attached to the arm and therefore moves it accordingly.
i
I
I
Instrumenting the Base
I
POSITIVE LOGIC ENGINEERING
The easiest access to a gear that can be used for position sens-
ing is the drive gear on the base motor. Unfortunately, when it
is brought into contact with the base gear there is very little
head clearance between the base and the pivoting structure.
The snap switche s we used for all other joints are approxi-
matel y 0.25 in. thick. The clearance here is less than half that!
j~ L L L J~ Sensing Position
-J,... You need to design a program that accepts a position and then
[
energizes the motor while monito ring the position sensor in-
. 5V I put . This program would count the number of Os until it matche d
I
I the position number. When the number is reached, the pro-
gram turns off the motor.
INPUT 1 INPUT 2 INPUT 3 INPUT 4 INPUTS
Figure 15. Arm Feedback Sensor Equivalent Circuit The simplest way to do this is to determine beforehand how
many Os are produced as the joint travels from one extreme t o
Another article in this issue details an impressive computer- the other. Do this by driving the joint to one extreme. Attach a.
based interface kit for the motors. Also, OWl offers a very nice count er circuit like that shown in Figure 16.
PC interface that connects betwe en t he arm trainer and your .5V
Here is a two module project using the OWl-DOl robotic arm training kit and a PC interface kit available from Images Company '~
(see resources at the end of this article.) Together these modules form a functional unit that permits you to experiment and
program automation and animatronics into a fully controlled "wired" robotic arm.
One also has the option to control the arm interactively, in real time, using either a manual controller or the WIN95/98 program.
The PC interface allows the use of a personal computer to program automation and animatronics into the robotic arm.
Once connected to the computer's printer port, the arm may be operated interactively, or it may be programmed from the
computer.
Operating the arm interactively is easy. Simply click on any function button to command the robotic arm to perform that
function. Click on the button a second time to end the function.
Programming automation is just as easy, just click on the "Program" button to enter the program mode. In this mode, the
interface and robotic arm operate as described above. In addition, the program records each function and the time elapsed into
a script file.
A script file can contain up to 99 separate functions, including pauses. An individual script file can be replayed up to 99 times
by typing a number into a repeat box. Writing different script files allows one to experiment with computer-controlled automa-
tion and animatronics. The WIN95/98 program operation is described in more detail later.
The Windows program is included in the Images Company robotic arm interface kit or may be downloaded at no cost from the
Internet at www.imagesco.com.
In addition to the Windows program, the arm can be operated from BASIC or QBASIC. A DOS-level program is included with the
kit.
The DOS program only allows interactive functioning using the computer keyboard (see Basic code Listing, below).
Script file creation is not available in the DOS-level program. However, if one knows how to program in Basic, the arm may be
programmed to perform a sequence of motions similar to a script file created in the Windows program. The motion sequence may
be repeated, as is the case in many animatronics applications.
Robotic Arm
The arm (Figure 1, page 7) moves in three axes . The The OWl-DOl Robotic Arm Trainer uses five small DC motors to
elbow joint can move vertically (up or down) through a t ot al arc produce motion. These moto rs are "wire" cont rolled, meani ng
of approximately 135 degrees . The shoulder joint moves the grip- that each DC motor, and hence each robotic functio n, is con-
per (forward and back) through a total arc of 120-degrees. The trolled by a wire (electrical power) . Each of the five DC motors
arm can turn clockwise or counter-clockwise about the axis of contro ls an arm fun ction. The wire control makes it possible to
t he base approximately 350 degrees. The gripper portion of t he build a controller unit for the arm t hat will respond to electrical
robotic arm can grasp and release small objects up to two inches signals. This simplifies the t ask of interfacing the robotic arm to
in diamet er and rotate approximately 340 degrees at the wrist . a PC computer printer port.
PC Interface Construction
The PC interface schematic is shown in Figure 5. The Print
Circuit Board (PCB) pattern for the circuit is illustrated in Pi
ures 6 and 7, and parts placement on the board is shown
Figure 8.
~-----~~~ -vee
... RU 0"
L ' ISlCn
''''n
~
.,.
- vee R
motor requires two complementary transistors. One transistor ".,
- vee
is a PNP type and the other a NPN type. Each transistor func-
''I).''
tions like a switch, controlling current to the motor. -vee
IN
00 0 o o
o~{~q
00 0 0 o
00 0 0"
000 o
o
o ! ! b~ ! oo
on
0 0 0 800 OJ
~ IN o
o 00 0 o
o
o
600
o
o
000 o o o
o
Figure 4
Figure 6. Top Copper
o 00
=*41 •• I ••••••• I •• I I lj"~
00
Figure 9 shows the to;
00
Figure 8. side of the finished interface
0 0
rlWJl(N
Parts Placement
When all serial information has been transmitted into the octal
latch, it is enabled via parallel port pin 02. This allows the paral-
lel information from the SIPO to be transmitted to the output
lines of the latch. The output lines from the latch switches the
TIP120 transistors on and off, thereby controlling the robotic SCrIpt Control
arm functions. The process is repeated for each new command to P",,,,aml Inle,~live I Repeal
Load I Save I ~ [iJ
the arm. Clc",Ser" t! DiredOlyFiles
FileType
Parallel Port lines 03 through 0 7 control the TIP125 transistors l' sAp
directly.
I
I t::jProgram Fies ±I
Stec Fwction Time ~
- -
Connecting the Interface to Robotic Arm -
-
,-
,-
The arm uses a single 6-volt power supply consisting of four "0" I-
cell batteries in the base. The PC interface takes power from the 1- ..:J
arm's 6-volt power supply. The power supply is used like a bi-polar
+/- 3-volt power supply. Power is tapped from the 8-conductor
Molex connector to the arm base (see schematic at Figure 5). Using the WIN 95 Program
Connect the interface to the arm using the 3-inch long 8-conduc- Connect the computer's printer port to t he interface using the (
tor Molex cable. The Molex cable is inserted into the connector foot OB-25 cable. Connect the interface to the base of the robot)
on t he base of the robotic arm (see Figure 10). The Molex con- arm. The interface should be 'off' for the time being. If you tu rne
nector must be properly and firmly seated. To connect the inter-
the interface on at this point, t he existing information (status
face to the computer's printer port use the 6 foot OB-25 cable left on the printer port may cause the robotic arm to begin pel
supp lied with the kit. One end of the cable connects to the com- forming a function .
puters printer port. The other end connects to the OB-25 con-
nector on the interface board. Start the program by double clicking the Images icon in the star
menu . The program 's opening screen is shown in Figure 11.
In most cases, the printer port is also used for the printer. To
alleviate switching cables back and forth whenever you want to When the program is running , the red LED on the interface shoul
use the robotic arm, purchase an A/ B data switch (OB-25) box. be blinking. The int erface does not have to be turned on for th
LED to blink. How fast th e LED blin ks depends on the speed c
Connect the robotic arm interface prin ter to the A side and the
the processor in your computer. The blinking light from the LE:
print er to the B side. Now you can use the switch to connect the
may be very dim; you may need to block some room light to se
computer to either the interface or printer.
it by cupping your hands around the LED.
With the LED blinking , click on the pause button and then tun
the interface on . Clicking on any function button causes tln
robotic arm to perform that function . Clicking on the button ;
second time stops that function. Using the function buttons t~
I control the arm in this manner is called the interactive mode,
I ....
L-._. ~.
Roem S" , "cr &
_
T,,"", wO'I
j
Creating Script Files Considering these factors goes a long way toward explaining wh~
the position of the arm repeatedly performing a script file wil'
To program motion and automation into the robotic arm we use drift over time.
script files. The script file contains a list of timed instructions
that control the robotic arm function. Creating script files is
simple. To create a script file, click on the program button. This Finding Home
puts you in the "programming" script writing mode. Clicking on
To enhance this project, positional feedback from the arm could
a function button will start the robotic arm function as before.
be implemented so the computer could determine absolute posi-
In addition, the function information is entered into the yellow tion of the arm. With basic positional feedback, the arm can hiE
script table on the lower left of the screen. The step number is located in precisely the same position every time at the begi n-
placed in the left column, beginning with Step 1 and increments ning of a script file (sequence) run.
with each new function. The function name is entered in the
One can take many approaches. A basic method uses limit switches
middle column. When the function button is clicked a second
to find a "HOME" or starting position. The limit switches deter-
time, the function stops and the elapsed time from start to stop
mine when the arm reaches one absolute or "HOME" position. To
is entered into the third column. The time elapse is incremented
accomplish this, a series of limit switches (momentary contact
in quarter seconds.
lever switches) will close when the arm reaches its limit of travel
Continuing in this manner, a user may program up to 99 func- in that particular direction.
tions, including timed pauses, into a script file. Script files may
be save to, and loaded from, the local directory. Script files may
be set to replay up to 99 times by typing a number in the repeat For instance, one limit switch would be mounted to the base.
box and hitting start. This switch would close only when the robotic arm was turned
completely in a CW direction to its stop. Other limit switches
To stop writing into a script file, click on the interactive button.
would be mounted on the shoulder and elbow. They would clOSE!
This puts the computer back into the interactive mode.
when the respective joint was fully extended. Another switc h,
mounted to the wrist, would close when the wrist was rotated to
Animatronics the furthest CW position. The last switch, mounted to the grip -
per, would close when the gripper is fully opened. To reset t he
Script files may be used for computer automation or for arm to its "HOME" position each function is activated in the
"animatronics.' In animatronics the underlying mechanical ro- direction of travel needed to close that limit switch un til it act u-
botic system is usually hidden from sight. The coverings vary ally closed. After all the functions, and thus the arm, are in the
from humans (whole or partial) to aliens, animals , plants, miner- "HOME" position, the computer would know the absolute posi-
als or anything else you may choose to animate. tion of the arm.
Knowing that the drift occurring during one run of the script is
Limitations probably minimal, once "HOME" we can start or replay a script
and the robotic arm will hit all of its marks. When the script is
If you were performing automation or animatronics on a profes- finished, and the arm has been reset to "HOME," the script can
sionallevel it would be required to position the robot exactly, to be replayed with reliable accuracy.
hit its mark, so to speak, 100 percent of the time .
Sometimes a home position does not give enough feedback to
You will notice that as a sequence (script file) is continually perform certain operations. Forinstances, picking up an egg with-
repeated the position of the arm will drift. There are a number of out crushing the shell. For these applications more sophisticated
reasons for this. As the battery-supplied power to the robotic
arm becomes depleted, the reduction in electric power delivered
to the DC motors reduces their torque and speed. So during a
timed function, the motors will not move as far or lift as much
with old batteries as they would with fresh batteries.
L -----,-
e.' R OB OT S CIEN CE
-
& T ECH N OLOGY I
____,_----,- - - - _ ----,-- ----,-- - ----,-_----,- --
SUBSCRIPTIONS & RENEWALS Solar-Powered RObotS!]1
Why? Because BaUeries SUCK*.
BEAM robotics is about building your oWlel
PAID U.S. SUBSCRIBERS autonomous solar-powered devices tha~ ~
m ay exten d th eir subscriptions by: don 't require batteries - like these! II
II
• Con vertin g from 6 to 12 issu es for only $ 19. T his optio n will ex tend yo ur subscription
,')I The SolarSpeeder [I
to a total of 12 issue s. ,. 1.1 is a very quick
racer, capable of "
Renewin g for a special low renewal rate of $34. T his option will add 12 issues to yo ur zooming 10 feet in
current 6-issue subscription for a total of 18 issu es . under 60 seconds
• New US Sub scribers will receive 12 issues for $39. Pre-paid subsc ribers will be of direct sunlight!
K SS· $25
eligibl e for future spe cial offers. Call us toll free at (888) 5 10-7728 or vis it us on the
web at www .RobotMag.com . The Photopopper
4.2 is a palm-sized,
Libraries and Schools: Robot Scie nce & Techno logy is an exci ting and informa- solar-powered, Iight-
tive magazine about an educa tiona lly vita l topi c. It will pro ve to be one of the most seeking, obstacle-
popul ar per iod icals on your books he lves. A ct now to make th is practi cal magazine avail- avoiding robot. No
able to your stude nts, research ers, eng inee rs and educators. T hey will thank you for it. microprocessor, no
batteries!
\
Spec ial library rat e redu cti on . For $59 , in th e US on ly, schools and libr aries will receive K PP42· $60
12 issues of th e magazine. Speci fy th e dat e you wish to begin th e subscription. Send a
pre-paid purch ase order or req uest a pro form a in vo ice. We also accept institutional Solarcells 1\
&
-. _ - - --- ~
. ._- - _ _ - .. - ._ - - - _ - _
.. ..._-~
R OBOT S CIEN CE
---~--------- ~---- ~---~. _---
T ECH NOLOGY
·1
I
:1
I Acronam e ......•.•....•.•....•.•......•.•.•....•.•..•.•....................•.•..•.•... P 22, 27
1 ActivMedia pp 55, 57, 59
A K Peters .... ..•.•.•.••.•.•.•....•.•........•......•.•..•.•....•......•.•..•.•... inside back
1
BattleBots •..•....•.•..•.•.•.•....•.•......•........•....•.•..•.•........•..•.•.. inside front
1 General Robotics ...•..•.•.•.•....•.•......•.•...........•.•..•.•....•.•......•....•....•.•. P 9
HVW Technologies •.•....•.•.•.•.•....•.•........•....•.•....•....•......•.•....•......•. p 25
Images Company P 17
Innomedia P 44
Jameco inside back
Lemos International p 38
Lynxmotion •.•....•.•....•.•........•.•....•.•....•.•......•.•..•.•....•......•....•....•.. p 29
Mister Computer •.•.•....•.•.•....•.•....•.•....•.•....•.•......•....•....•......•....•.• p 51
Medonis .•.•....•.•.•.•....•.•....•.••••..••.•......•.••...••...•.•......•....•....•.•....•.• p 13
Mondo-tronics Robot Store pp 47, 58
O'Reilly & Associates .•.•......•.•......•....•.•....•.•..•.•.•..•.•.•....•....•.•..•.•.••. p 6
Parallax back cover
Personal Robot Technologies ••••••••••••••.••.•••.••.••••••.••••.••••.....•....•.•.. p 33
Pontech ..•.... •.•....•.•.•...... •....•....•.•......•.•. •....•.•.... •....•.•....•.•.•. pp 33, 41
Positive Logic Engi neeri ng ...•.•....•......•.•.•.•..•.•....•......•.•.••...•....•.•.. p 13
Probotics inside front
Prompt Publications p5
RobotBooks.com .•.... •....•.•.•.•....•.•..........•....•.•....•....•.•....•.•..•.••.•••••• p 4
Solarbotics .•.•.•.•....•.•.•....•.•....•. •....•.•........•.•..•.•....•......•.•..•.•..•.•.•. p 21
Thrifty Distributors p 51
Vantec p 37
Acroname Inc
We aim to make robotics easier for youbyproviding quality information and
parts for yourroboticsprojects. Visit our webs ite for robot articles, example
code, ideas, and the Acroname Robot Gallery showcasing people's cre-
ations. We accept cred it card orders and ship internationally. Sign upfor our
website mailing list for notification 01 new parts, articles, and changes .
www.acroname. com
Some of our offerings --- see website for complete listing:
Handy Board 1.21 Kit bundled with with Inferactive C3.2 $219.00
RugWarrior ProComplete Robot Kit $580.00
Sharp GP2002 $21 .00 You saw this.
Sharp GP2012 $13.50 So d id ten s 01th ou sand s 01robot builders.
Sharp GP2015 $13.50
Ellec442-3 Pyroelectric Package $46.00 So did th ous and s o f teachers and students.
Polaroid lnstrument Grade Ranging Package $46.00 So d id th ou sands of engineers
Polaroid Series 7000 Ranging Package $45.00 and en tre pre ne urs.
Peizoeleclric Gyro $88.00
44 oZ/inStandard Servo ........ ...... . ... . .. ... . . . .. . . . . ... • .$10.90
Standard Servo Modifiedl or Continuous Rotation $19.90
12124V High Quality Gearmotor $18.00 Do yo u want yo ur ad h idde n in
Mobile Robol s, 2ndEdill on $32.00
Robot Shaping, by Marco Oorigo andMarco ColombeUi $37.50 o ld radi o magazines?
Behavior Based Robotics, by Ronald C. Arkin $52.50
phone: 303 .258.3161 • fax: 303.247 .1892 • PO 80x1894 • Nederland , CO 80466 USA Marketing@RobotMag .com
9 16-632-1000
This series of articles is about several interesting and informa- About the BASIC Stamp II MicrocontroLLer
tive projects you can do with a simple mobile robot. To illustrate
the concepts we used the Board of Education Robot, the Bee-Bot . These experiments will use the BASIC Stamp II. The BASIC Stamp
a mobile robot built by mounting the Parallax Board of Education II (BS2-IC) is an inexpensive microcontroller (less than $50 US)
and BASIC Stamp II on a chassis equipped with drive train, wheels, with a built-in BASIC interpreter. If you haven't already seen the
and eventually sensors. You can assemble a Stamp-based servo BASIC Stamp II, you can download the manual, datasheets, and
driven platform following the schematics shown in these articles DOS/Windows editors from the Parallax web site. Here are some
and learn to build and program a small mobile robot of your own. of the essential features of the BASIC Stamp II:
Through these articles, we will build a simple robot to experi- • Small size, like a postage stamp.
ment with sensors, programming, and electronics. At a glance,
the series will cover the following projects: • BASIC interpreter firmware is built into the PIC16C57
microcontroller.
• Article#l: Building the Bee-Bot - Construction pro-
• BASIC program storage in non-volatile EEPROM. When
cess and drawings for building your small mobile ro-
power is applied, the program executes. BASIC St amps can
bot. Brief introduction to the BASIC Stamp II.
be programmed at any time by temporarily connecting
• Article #2: BASIC Programming - Program the robot to them to a PC running a simple host program. Type in a
follow a pre-entered path using subroutines and elec- new program , press a key and the program is downloaded.
trically erasable programmable read only memory
(EEPROM) storage. Use a piezo speaker for feedback . • Sixteen general-purpose input/output (I/O) pins that can
be interfaced to switches, digital circuits, and even drive
• Article #3: Sensors - Use a photoresistor and Analog/ small loads .
Digital (A/D) converter or resistor/capacitor circuit
to sense and follow light.
Project PLatform: Board of Education
• Article #4: Infrared (IR) Control - Add IR module and
The Board of Education will hold your BS2-IC and serve as your
decode signals from an infrared remote controller.
project area for circuits. The board has a DB9 connector for BS2-
• Article #5: Advanced Projects - Build an oscillator cir- IC programming and serial communication during run-time. The
integrated circuit's (IC's) 16 I/O pins, Vdd (+5 V) and Vss (Ground)
cuit using the same IR module for proximity sensing .
connections are ported to the perimeter of the 2 x 1 3/8 in.
It is not necessary to buy a Board of Education; you can easily rig breadboard where you will add sensors to your robot. The traces
up a breadboard for the job. Serial port programming connections on the top of the board show the connections between t he BS2-
to the BASIC Stamp are shown in the BASIC Stamp Manual Version IC and the breadboard. Figure 1 shows the Board of Education
1.9, available as a free download from www.parallaxinc.com. Mea- schematic. The Boe-Bot was designed after the Board of Educa-
surements are provided for the robot chassis so you can build your tion, and the single power supply will be used for both the BASIC
own from metal, plastic or even wood. St amp an d mot ors.
I
Vout
1.0 uF
L
i ~~
I "
resistor LED
1 Vdd
• 2
If--:-----'•
DB9 Serial T
t 0.1 ufo
0.1 uF
3 Connector
4
Vdd
T
•
Vin Vdd Vss
'-----
Sout Vin I-- L Vin Vdd P15
~
Sin Vss ,-
P15 P14 P14
ATN Res r--~- ,-
P13 P12 P13
Vss Vdd ,- P10 P12
P11
1 ,- - ,- P9 AppMod P8 P11
PO BS2-IC P15
,-
1- P1 P14 - P7 Header P6 P10
1- P2 P13 - 1-
P5 P4 P9 B readboard
1- P3 P12 -
~
,- P3 P2 P8 prototype area
1-
1-
P4
P5
P11 -
P10 -
,- P1
Vss
PO
l P7
P6
[
P9 - Vss
1- P6 P5
1- P7 P8 - P4
Figure 1: P3
P2
Board of P1
Education PO
Schematic
PhD., University of Idaho. Dr. Schoeffler's first and second ap- 69 .9J fo~BoEJ - ~J
0
proaches are shown in Figure 2. Although he uses t hese designs ;0.' [;'· '00", '1'~
in his classes at UI, a production version was required to accom-
modate the needs of educators at high schools and colleges across U
the country. Based on Dr. Schoeffler's idea Parallax developed
the aluminum chassis shown in Figures 3, 4, 5, and 6. Whatever
0 n "I
form your chassis takes, make sure that it accommodates two I u v ~I
servos for drivetrain, a battery pack for four AAs, and a prototyping t>
Figure 4: SideDimensions
Parallax
Figure 5: Front Matrix Orbital
Dimensions IR Obsta
e'eAvold
microEngineering Labs
•
Dlstanee Measure"::.~~t& Square 1 Electronics
Lakeview Research
CCS Inc.
CYBUGs
Figu re 6: Back
Dimensions
26 .9 [ 1- - - - - - - - - Weekly Specials Posted on Website
PARTS LIST
AssembLing your Small Mobile Robot
One BASIC Stamp II (BS2-IC)
One Board of Education This is an illustrative design ; substitute parts as you desire if you
One Boe-Bot chassis (either purchased or are building your own chassis . For the commercially available
built) approach you'll need the chassis parts (Boe-Bot Full Kit) shown
in Figure 7, which also includes a BASIC Stamp II, and a Board of
Two Futaba FP-S148 servos Education.
Two Plastic wheels
Bee-Bot construction requires a small Phillips screwdrive r, 1/ 4in .
Two O-ring tires box end wrench or pliers , and diagonal cutters. Constructing the
robot is divided into five steps:
One Polyethylene ball wheel
One Cotter pin to hold wheel on chassis St ep #1: Mechanical modification of the Futaba FP-S14 8
Eight Machine screws 4/403/8 in. servos to provide continuous rotation and testing
them for use as a robot chassis drivetrain,
Ten Nylon insert locking nuts 4/40
St ep #2: Mounting the servos on the robot ics platform an d
Four 1/2 in. standoffs
attaching the wheels,
Eight Flathead screws 4/40 3/8 in.
Step #3: Attaching the tail wheel and battery holder,
Two Grommet 3/8 in. inner diameter
One AA four battery pack holder
Step #4: Mounting the Board of Education and BASIC Stamp II
Two 10 kQ resistors on the completed platform and connecting the
One 10V or 16V 3300llf capacitor servos to the BASIC Stamp , and
~ ;~
Modifying the Futaba FP-S148 servo takes only a few minutes (or
less, if you've done it before). The servo has a round control horn ( \
attached to the main output shaft and secured in place with a
Phillips screw. Turn the servo horn with your fingers clockwise and metal ring
counter-clockwise until the shaft stops to see how the servo oper-
bottom of
ates. We will modify it so that the horn will turn continuously. Figure 10: Removing the main gear
Potentiometer Drive Plate
The modification process starts by taking the screw out of the
horn and removing the horn. The gear shaft has splines, so you
will have to apply upward pressure and then wiggle it off. Look
at the bottom of the servo and you'll see four Phillips head screws.
Servo Testing and Calibration
Remove these screws and lay the top case off to the side. The
servo should now be in two pieces (see Figure 8). At this point, your servo is disassembled and the final gear
removed to expose a metal post that is part of the potentior
eter. We will be changing the position of the potentiometer '
2nd final gear
complete the modification for continuous rotation. This sts
gea r 3rd n-
gear II makes sense if you have a brief understanding of how the serve
~E5:~~~stoP tab internal electronics operate.
1st
gea r
Vdd
P1S 0- J II
P14 0
i
3300 uF
Servos are controlled using a system called Pulse Width Modula- Mount the servos in the chassis. The servo spline should be clos-
tion (PWM). In order to understand this, you need to understand est to the center of the Board of Education. This will allow a
the terms "milliseconds" (ms) an d "microseconds" (us) . A ms is tight turning radius. The wheels will fit exactly onto the servo
1/1000th of a second ; or put another way, there are 1000 ms in spline. Once this is finished you can slide the rubber tires over
every second . A us is l/l, OOO, OOOth of a secon d, therefore there t he wheels.
Resources
Parallax, Inc. HVW Tech
Boe-Bots, free educational curriculum, Robotic sensors, platforms, and servo
BASIC Stamps, and software tutorials.
3805 Atherton Road, Suite 102 300-81 20 Beddington Blvd NW, #473
Rocklin, CA 95765 Calgary, AB T3K 2A8
(888) 512-1024 toll-free Canada
www.parallaxinc.com (403) 730-8603
www.stampsinclass.com www.hvwtech.com
The new Millennium brin gs w ith it an expanded co mpetitio n. In 200 0, stude nts nationwide w ill be ent husiasti-
cally preparin g for the newl y-expanded two -day Stude nt Rob oti c Challenge. Elimination rounds for select co n-
tests are scheduled Sunday, M arch 19, and finals take place Monday, M arch 20 . (In 1999, over 600 studen ts
and instructors from 11 states atte nde d.
Stude nts can choose fro m 14 co mpe titio ns. The specific catego ries and their goals are:
Automation Work Cell: design, buil d and operate an auto mation work cell that pe rfo rms o ne or more
manufac turing processes to pro duce a produ ct.
Block Scramble : de termine the sequence to transfer rando mly stac ked blocks fro m one spindle to
ano ther.
Flexible Manufacturing: re-program a cell to perform a change order given for a produ ct.
Journey Robot (Remo te-Controlled & Self-Contro lled} : design, manufacture and ope rate a robot that
w ill proceed over a series of o bstacle s.
King/Queen of the Hill : design, build and demon strate a remot e-cont roll ed devi ce that can retrieve
and dep osit an o bject in vario us location s.
Lunar Object Search (SAM M IE): design, buil d and operate a remot e-controll ed vehicle that will traverse
a simulated lunar enviro nment in search of a designated objec t.
Pick and Place Programming (Co mpute r-Assisted & Teach Pendant): program a table-top ro bot to pick
up designated objects and place them in a spec ific location and order.
Product Design/Manufacturing: design, build and demon strate a socce r ball kicker. Report the manu-
facturing system's design.
Robot Construction (O pen): design, build and demon strate a ro bot that perf orm s any t ype of task(s).
Robot Maze: design and build or assemb le a " mo use" that successfully navi gates a maze.
Robot Problem Solving (Rapid Applicatio n Developm ent ): design and buil d a solutio n to a problem
that occ urs in a manufacturin g plant.
Robot Simulation : program a rob ot in a virtual reality enviro nment to perform vario us work cell activities.
Sumo Robot (lightwe ight and heavyw eight ): bu ild a Sumo robo t that forces ano ther Sumo robo t out-
side of an eight-foo t ci rcle.
Up and Down the Staircase : design, build and dem on strate a dev ice that clim bs up and down thr ee-
stair risers.
For add itio nal in form ati on about the RI/ SM E Stude nt Ro boti c Challe nge 2000, co nta ct Kat ie Ferrell,
SME Educatio n Departm ent, O ne SME D rive, P.O. Box 930 , Dea rbo rn, MI 481 21. Phone: 3 13/27 1-1500,
ext. 1704; Fax: 313 /336-7065; e-mail: [email protected] g. Visit the SME Hom epage www.sme.org and check out
pho tos of the 1999 co mpe titio n. For mor e details abo ut manufacturin g enginee ring and SME, log on to
www.manufacturingiscoo l.co m.
1 Three years in a row, this Pioneer High School student (Ann Arbor, Michigan) won the
Journey Robot Contest conducted by Robotics International of the Society of Manufac-
turing Engineers (RIjSME). The obstacle course was curvy and bumpy, and defeated
almost every autonomous design. But Gene's inexpensive scratch-built rolling robot, es-
sentially a wooden board with a Parallax Basic Stamp on it, completed the course and
won.
Here Gene describes the evolution of his winning design and his last minute ingenuity
underpressure that earned him first place in 1998.
j
I
I I built two prototypes for my robot. The first one used a Rebound was constructed slightly differently from the drawing in the com-
I (RC car) for the chassis. It was controlled by a BASIC Stamp revision petition guidelines manual. The initiation of the incline for the hit
I D, a serial servo controller, and a pair of electronic speed control- was too abrupt, causing the nose of my robot to hit the ground anc
1
O
J
lers. For sensors it used two active infra-reds looking forward and get stuck as it started up the hill. My dad helped me make some
j revolution counters on the wheels. The downfall of this prototype quick adjustments to the chassis by cutting off part of the nOSE
i was that it was too fast and hard to control. If the course had had with a circular saw we borrowed from one of the contest setup
walls instead of black lines for following, I think this prototype crew. The tires also slipped when going up hill so I sprayed them
1 could have gotten through it in less than 30 seconds . The robot with adhesive. In the end, my robot was the only one to make i1
I would have used the walls for fast and accurate positioning to greatly over the hill .
i reduce dead reckoning errors (more reliable send-off positions for
At the bottom of the hill , the robot needed to make a sharp right
dead reckoning segments). The robot would have been able to drive
1
turn. I deliberately used very slender, hard rubber tires for qreatei
very quickly to its next reference point, push up against the wall to
accuracy in the dead reckoning legs of the course. The hill was sc
make itself perfectly perpendicular to the wall, and then execute
steep that the robot's slender drive/brake wheels lost traction and
the next dead reckoning leg with near perfect accuracy.
skidded as the robot went down the hill. Since the turn was very
i To cope with the problems of control, I used stepper motors on the close to the bottom of the hill , the robot did not have enou gh
second prototype. They were controlled by a BASIC Stamp II and a traction to slow down and turn before reaching the bottom.
I pair of stepper controllers I built right on the carrier board. The
I chassis was constructed of foam core. It used one active infrared
Through trial and error, I had optimized tire width and hardness to
j match stepper motor power. Each tire would lose traction just be-
sensor looking down. This robot could do everything except climb
fore the maximum torque threshold of its stepper motor was reached.
the hill. The standard Rebound chassis had a gear ratio that was
If I increased the traction of the tires, I ran the risk of passing t he
too high. The robot needed to drive slowly enough to consistently
torque threshold of a stepper motor, thereby causing the motor t o
sense lines and accurately execute dead reckoning legs. To obtain
skip steps rather than just slipping its tire slightly. Skipping ste ps
this low speed, the throttle setting needed to be very low. There-
on one of the stepper motors while climbing the hill would have
fore the vehicle's speed was easily affected by changes in resis-
caused such major changes in direction of the robot that it would
tance (hills, bumps, etc .) simply because there was so little power
have "lost the line" and not been able to find it again. This pre-
running the motors when the robot was moving at the speed neces-
vented me from increasing tire traction enough to keep the robot
sary for optimal accuracy. Increasing the power to the motors to
from slipping when it went down the other side of the hill. Perhaps
successfully climb the hill would have required adding another pro-
I could have used slightly wider tires and gained enough traction
cessor or similar device necessary to enable servo control of the
to negotiate both sides of the hill. But by the time I got to t he
motor speeds .
contest site and discovered how steep the hill was, it was too lat e
The final version used the same electronics as the second proto- for such a major adjustment. The ideal solution for the steeper hill
type, except for the sensor. The sensor is a passive infrared sensor. would have been more powerful stepper motors combined with
1 There are two of these looking at the ground, but only the left one higher traction tires.
I is used. I geared down the stepper motors with a belt in a figure
eight. This does not allow for backward travel, but provides more
I could see only one alternative in the time remaining, so I re-
j programmed my robot to go straight across that line and turn rig t
power for going up the hill. The chassis itself is made of two layers
I of Plexiglas with wood sandwiched in between. The batteries and
when it reached the circle. I explained the problem and my "on the
fly" solution to the judges as we watched my robot go through t he
front caster are inside this structure. The BASIC Stamp II is on top .
course. The rules being the rules, my score was reduced . However,
On the evening before the competition, when I tried the robot on only touching/crossing the lines once for my entire run did not
the real track, I found-as did the other contestants-that the hill have a major impact on my score.
IL ~ _
IR OBOT S CIEN CE & T EC H N OLOGY IIIIJ
; ,.-------------- - - - - - -- - - - ----:-- - - - - - - - - - - - - - - - -
.\•.
SME 1998 Student Robotics FOLLOW: Follows black line until line en
Automation Contest r _tri es =O
I tries=O
or makes a sharp turn
j NAVIGATOR
.... .. . ,...... '" .
1
\
i
STP100 Stepper Motor Controller $159
• RS232/RS485 interface. addressable up to 255 boards
I · 2 Amps per phase. 5-46 VDC bipolar drive
• Chopping current limiting
• Over temperature protection
'\ • Acceleration/deceleration ramping
• Speed. direction. position change on-the-fly
I
• 32bit absolute position. 4bit digital input for home limits
• Full. halfor wavestep modes
I & U J
L
1 R OBOT S CIEN CE T ECH N OLOGY
Winni 9 i o
With a Modified GrowBot Kit
by Gene Burbeck
Description Building
The GrowBot is a great little robot, simple to assemble, and easy to It took me about two hours to build the GrowBot. The kit corm
program. It is ideal for a beginning robot enthusiast as his or her with excellent instructions: step-by-step, and very clear. The iJ
first robot. It would also be ideal for a middle school, high school, structions first call for soldering all the components onto the print s
or college beginning robotics class project. The GrowBot is designed circuit board (PCB) . I found it easy to put the PCB in a vise, top sir
for line following , obstacle avoiding , and general wandering behav- up, and solder most everything from the top. I also left all t l
iors. But as you'll see below, you'll want to make custom modifica- leads uncut until I was done with this step, and then turned tl
tions to improve the GrowBot's dead reckoning ability. PCB over to cut all the leads at that point.
The only abilities needed to build and use this kit are basic soldering , The instructions then call for mounting the servos, wheels, battei
simple BASIC programming. and a general knowledge of electronics. holder, and bumper.
The robot is not intimidating . It is 3-1/2 inches wide, 2-1/2 inches Tools used:
tall, and 5-1/2 inches long, with a thin wire bump-sensor mounted
on the front of the chassis. Soldering iron
Small diagonal cutters
The circuit board itself makes up the robot chassis. It has a stan-
dard DB-9 connector for programming the Basic Stamp 2-IC conve- Extra-small and small Philip's head screwdrivers
niently placed right on the edge where it is easily accessible . Small file for smoothing ends of leads sticking through tl
PCB - I did this in order to mount the AAbattery holder fla t t i
Two servos-motors, which you'll modify for continuous rotation,
against the PCB.
are attached underneath. Each wheel is 2-3/4 inches in diameter
and attached directly to the corresponding servo shaft. A one-inch
plastic caster serves as the rear wheel. Programming
Four AA batteries underneath the robot power the servos . A 9V The GrowBot comes with a diagnostic program already in the BS2
battery on top of the robot powers the electronics. Using two sepa- EEPROM to test all systems on the robot except the photoresistor
rate power sources for brawn and brain keeps the brain isolated Programming is done in the BASIC Stamp 2 version of Parallax lEA
from electrical spikes and dips generated by the motors . SIC, which I like a lot better than the version for the Basic Stamp
There are three sensors: because you can nest subroutines four deep. Programs are store d j
EEPROM, so memory is non-volatile (turning off the robot does ru
Thin wire bumper detects location of impact: left, cause the program to be lost). The kit comes with the Windows ~
middle, and right; version of the debugging / downloading program, which is much nio
Two phototransistors detect light; than the DOS one . Even though the Basic Stamp 2 runs (line- bi
A push-button that is already wired to an I/O pin on the line) interpreted code (instead of compiled code) , it is still quit
Basic Stamp. fast . It cannot multitask, but overall, it has plenty of cornpuf
power for the GrowBot. The GrowBot comes with several samp
There are three output devices. All are software controllable and programs to do simple things like wander and use the speaker.
are hooked to various I/O pins on the Basic Stamp 2:
A small, yet loud piezo buzzer - could be used for debugging
or perhaps for communicating with other robots;
Performance
Two LEDs - could be used as active illuminators for infrared The GrowBot is a great robot for wandering programs, with exce
sensing or for debugging or communicating with other robots; lent sensors and programmability for responding to sensory dat :
Two servos, each turning a wheel. The kit uses quality materials, comes complete with all necessai
L _
-01 R OB OT S CIEN CE & T ECHN OLOGY I
1 part s. and comes with excellent inst ructions. It is well constructed :
has adequate clearan ce underneath, and is very stable on rough
it back on track several times because of the dead reckoning prob-
lem, especially on the hill section. (The hill was quite steep anc
terrain. It has enough power to climb steep hills, though a little circuitous . It was nice that the GrowBot had plenty of power to gel
more speed might be nice. up the hill. It was very frustrating , though, because it was not
possible to program the dead reckoning secti ons precisely enough
I found only a couple of negatives to this robot : No spare parts are to navigate the ups and downs and twists and turns well. Even with
included in case you destroy a part during assembly (I luckily never a freshly charged battery, the battery charge was not totally con-
had this problem). Also the lack of repeatability in the servos makes sistent from one run to the next.)
the GrowBot not very good for dead reckoning (servo speed de-
pends upon the charge of the batteries which is not consistent
between full charges).
Journey Robot Schematic
1 The Journey area will be constructed of plywood with the exception of "'1I(::::::::~;::;::::::~
12'
1
_6'_
1 the hili and circle, which will be 'Sln tar' , a flexible plastic product. Black •
lines will be two Inches wide. Surface areas will be painted flat white.
i • • 8
"
1
It Wa t e r
i
j 12 ' l'
1-10'
.,.,1 8'
High Berrier
A
18 "
t
4' ~
,--
1 18'
12'HILL
WITH WATER 12'
I
Y UNDER HILL
I
1' l'
~ 12"
Starti ng Ar e a Wl!Ite r
(eproxlm ete 6' length for hili) Uprightbarrier wlllbe ten Incheshighand
plalntedflat white with an Insideand
,I outside 2- blackline.
·1
II Mechanical:
I turned the robot around so that the back became the front . I did
Here are some possible modifications to solve the problem of the
inconsistency of the servos:
I this in order to get the maximum distance between the sensors and
Odometers:
the driving wheels. This is better for following lines and results in
less oscillation, and detects ends of lines faster and more reliably. Place an odometer on one or both wheels to count fractions of
1 revolutions. This could be an incremental encoder on a wheel. Or, if
1
I I also put t wo photo transistors on the new front of the robot. I there is space for it inside the servo, one could use a tachometer on
I used photo t ransistors because they are more directional and faster the motor itself or on one of the gears if the frequency is too high.
1 updating than the photoresistors included with the kit.
I Software:
Stepper motors:
Completely replace the servos with stepper motors. The stepper
-I
After experimenting with the programs included with the kit, I motors would need additional batteries to power them. One 9-volt
began writing my own program with a completely blank slate. The battery powering each stepper would be good. The disadvantage to
,I
I event in which I entered the GrowBot was mostly a line-following using steppers would be that they are electrically inefficient and
i course, with two interruptions of 12" or so between the end of one less powerful. (In the case of this competition. the power of th e
I
! line and the beginning of the next. The robot needed to navigate kit's servomotors was a definite advantaqe in negotiating the hill .)
!i from one end of the course to the other, including crossing through
I the center of the circle near the end . Regulated voltage: Run the power to the servos through a 5-volt
"
! I wrote a program (see next page) that was a combination of dead
regulator. Use batteries powering the voltage regulator that will
still have at least 5.5 or 6 volts in them by the end of the course.
J
reckoning and line sensing to get through the course. The most This means the servos will always be getting 5 volts, no matter
I essential dead reckoning section solved the problem of "never reach- what t he battery charge. Note: The regulators may need heat sinks
I ing the island by following the shoreline." (This dilemma is de-
scribed and solved in RS&T issues 2 & 3.) Other dead reckoning
to keep them cool. ~&O
The hall is loud, people are always in mo- Rodney has a decidedly mechanical gate
tion, moving from one event to the other. with more sophistication than elegance. The
Randy Sargent plays Tequilla on a loud boom- predictable order in which it moves and its
box for three of Newton Labs' Mach 5 robots jerky motions give it a supremely robotic
(mounted with Newton's Cognachrome Vi- feel. The head moves slowly from left and
sion System .) At the first note of the up- right. Rodney developed after five months
beat rhythm, Newton's middle robot makes of experimenting with designs, throwing
a brisk turn and all three bots zip into place, them completely away and salvaging that
spinning, jerking in sync with the music. which might be used in the next design. A
true labor of trial and error and persistence. Perform proportional speed, direction & 1
There's not enough room in this issue to steering with only two Radio/Control chan-
Ryan earned Grand Prize for being the
describe all the action at this first-rate nels for vehicles using two separate electric
event. So I found one robot that really cap- builder of the coolest robot, and capturing motorsmountedrightand leftwithourmixing
tured everyone's attention. the essence of what the SRS is trying to do: RDFR dual speedcontrol. Singlestickopera-
trying new things and advancing the hobby. tion: up gets straightahead, down is reverse.
A scratch-built dog-robot named Rodney, Pure right/left twirls vehicle as motors tum
built by Ryan Wistort, a sophomore com- Congratulations to the winners of their con-
tests: Gary Teachout, Daryl Sandburg , Mark oppositedirections. Inbetweenstickpositions
puter student at the high school in Gig Har- completely proportional. Plugsin likea servo
Castelluccio., Lance Keizer, TomJenner, and
bor. His machine is an four-legged walker but eliminates steering servos. Various
made of quarter-inch Plexiglas. He shaped Ani (3) and Bill Harrison.
volt/ampsizes. Also CDFR computer com-
the plastic using a propane torch to mold In short, I'm impressed by the group of vet- mandedversion. www.vantec.com
curves around common household objects eran roboticists from the long -standing Se- Call: (888)
to make very smooth edges. (He laid the attle Robotics Society who put on this show,
Plexiglas on a table and bent it down until
929-5055
especially Doug Kelley, Ted Greibling, Ron
! IR OB OT S CIEN CE & T ECH N OLOGY E I
I
L - -- -- - - --
OUR MODULES••••YOUR ROBOTS
Th e RPC modu I E! is an intelli gent tran scei ve r which e na bles a radio netw ork lin k to be simply impl em ent ed betwee n a number of di gital
dev ices . Th e mod ule combines an RF circuit w ith processor-intensi ve low-le vel pack et form attin g and recove ry funct ion ali ty, requ irin g o nly a si m ple
ante nna a nd 5V supply to operate with a m icro controller or a Pc.
The BiM module integ rates a low pow er UHF FM tran smitter and mat ching superhe t recei ver with data reco ver y an d T X/RX c ha nge ove r
circuits to provide a low cos t so lution to implementing a bi-directional shor t ran ge rad io data link .
NEW! T he TX2 and RX2 rad io tran smitter a nd recei ver pa ir e nable the simple impl em ent ati on of a dat a lin k at up to 40bit/s at d istan ces up to
75 m in-building and 300 m ope n gro und. Both modul es co mbi ne full sc ree ning with ex tens ive intern al filt er ing to ens ure EMC com plia nce by
min imi zin g spurious rad iati on s and susc eptibilities. The TX2 and RX 2 modul es will suit o ne- to-one and multi -nod e wi re less link s in a pplications
including ca r and building sec urity, EPOS and invent or y track ing. rem ote indu str ial process monit orin g and compu te r networking . Becau se of the ir
sma ll size and low po we r req uireme nts, both modules are ideal for portable batt er y-pow ered appl icati on s suc h as hand -held te rminal s.
Transmitter - TX2
EMC conformant to ETS 300-683
Type Approved to ETX 300-220
Two-stage , SAW controlled, FM modulated at up to 40kbit/s
Operation from 2.2 to 6V
IOmW on 433.92MHz, ImW on 418MHz
Improved frequency and deviation accuracy
Available in 418 and 433 Mhz
Receiver - RX2
Double conversion FM superhet
SAW front end filter, image rejection 50dB
Supply 3.0 to 6.0V @ 13mA
40kbitls, -F version, -100dBm sensitivity @ I ppm HER
14kbitls, -A version, -107dBm sensitivity @ I ppm BER
LO leakage < -60d Bm
Available in 418 and 433 Mhz
TYPICAL APPLICATIONS
robotics • environmental monitoring • remote process monitoring • wireless PC printer links • energy management
in-vehicle sensing high integrity security • ErOS & stock control • group response systems • data networks
data transfer through hazardous environments • commercial & domestic security • fire alarms • medical alert • mobile panic attack
' - - - -_._- - - - - - - - - - - - - - - - -
- - ---- --~_ . __._ -- - -- - - - - - -- -- - -- - - - - ._--_._ - - - - -- - -
1 Pulse-Width ModulatiorL
iI
The o r y and C ircu it~~
I A hands-on e x p e r i m e n t to
I con t ro l p o w er ra t i o
by Tak Auyeung
\ INTRODUCTION
j
Pulse-width modulation (PWM) is a common technique to control the
I power level of devices. PWM can be used to control the brightness of a
I light-emitting diode (LED), speedof a motor, heat of a electrical heat-
ing coil and many other applications. Because PWM requires minimal
I analog electronic hardware and saves energy, it is applicable to many
~ devices used on robots, especially motors. In this article, we will first
discuss the reasons and theories of PWM, then proceed to build a
1-1
.I j
simple, yet flexible, PWM circuit for experimentation.
-I Reasons for Pulse-Width Modulation is 2.5 V. The current passing t hrou gh the variable resistor equal.
I
I The most intuitive method to control the brightness of an LED
t he current passing through the moto r, 0.25 A. Consequently
the variable resisto r and the motor must each dissip at e
-/
di is to cont rol the continuous current passing through it. A vari- 2.5 V x 0.25 A = 0.625 W. While 0.625 W is not a lot of power
able resisto r connect ed in series with the LED (see Figure 1) can most small printed circuit (PC) mount ed variable resistors an
j cont rol t his current. An LED has a const ant voltage drop when rat ed for less than 0.625 W.
I
forward biased, and the voltage drop is usually about 1. 7 V.
I
~i
Using Ohm's Law, the current passing through the LED is
1=(Vin-1. 7V)/R, where Vin is the applied voltage and R is the
resistance of the variable resistor. As R is increased, the current
is reduced, and the LED dims.
Many readers will immediately suggest the use of a power tran
sistor to amplify the variable resistor controlled current (see Fig
ure 2). This approach eliminates the power dissipation issue a-
the variable resistor. However, there is still a 2.5 V voltage droj
-j +5 across the collector and the emitter of the transistor, and thus
Since most LEDs have a maximum there is still 0.625 W to dissipate at the transistor.
I +5
I continuous curr ent rating of less
-I While the 0.625 W dissipated at the motor is
than 50 rnA, power dissipation at the
I variable resistor is not a problem. mostly in the form of heat, the motor is de-
However, for motors and other high- veloping torque (i.e. doing work) due to the
f cur rent device s, the variable resis - Rl current passing through the coil. However,
to r needs to dissipate much more en- the 0.625 W dissipated by the transistor or
J
variable resistor is lost entirely as heat with
I ergy. The power dissipation (P) of
1
an elec trical device is the product of no work performed. How can we stop this
i t he voltage drop across t he device wast e of 0.625 W of power?
(V) and the current passing through Before discussing the obvious answer, let's
the device (I ) . In short , Power consider the other drawback of using a vari-
(P) = Voltage (V) x Current (I), or able resistor (regardless of using a transistor
P = V x I. For a modest 5 Vdc motor in conjunction). While a human can t urn the
with a coil resistance of 10 Q, the knob and easily control a variable resistor, a
stall current is 5 V/10 Q = 0.5 A. At computer cannot control a variable resistor
half strength, the stall current of the as easily. There are electronic variable resis-
motor is 50% of 0.5 A or 0.25 A. The Figure 1: Va riable Resistor tors that a computer can control, but they
variable resistor must have a value Controlled LED Figure 2:
are extra comp onents and impose costs, both Transistor
of 10 Q as well. This means the volt- in dollars and complexity (reliability). controlled
age drop across the variable resistor 5V motor
!1 _
R OB OT S CIEN CE & T ECHN OLOGY ':11
1 Pulse-width Modulation not only addresses the wasted power issue,
but it also eliminates the need of a variable resistor. In other words,
A generates the beginning of pulses (controlling the fr
quency), while timer Mcontrols the on time.
PWM saves powerwhile enabling convenient computer control. Some
may argue that PWM is only convenient for computer-based control. Timer A, which determines frequency, is set up as shown
As we will demonstrate later, it is quite inexpensive and easy to Figure 3. Both the threshold and trigger are connected to t
build a PWM circuit for non-computer-based and hands-on experi- timing capacitor. Theoscillatoroperates in the following cycl
mentation.
+5
cycle PWM waveform has no interruptions), and duty cycle indicates vice versa. For reduced power consumption, however, the ie!
the proportion of time that the signal is in an on state. tal of Rl and R2 should be more than 10 kQ. Because resi
tors are available in many values, it is easier to first sele
the value of the capacitor, then select resistors of appropr
Simple Circuit to Generate a PWM Signal ate value.
As mentioned earlier, some readers may argue that a variable resistor
is easier to experiment with than a circuit to generate PWM. In this A 0.1 ~F capacitor was used for timing and a 470 :
section, we will present a simple circuit that the reader can assemble resistor for R3. These values generate a low pulse of aboi
quicklyand inexpensively. Thesupplies requiredfor this project should (470 x 0.1 x 10·6)s = 47 us. which is long enough to trig g~
cost less than $10 US, and the circuit is useful in many applications. timer M. We want timer A to have a frequency (
100 Hz (period of 10 ms). Recall that the period
The core of the PWM circuit is two 555 integrated circuits (ICs). For T = 0.693 (Rl+R2+2R3) C2.
those who are not familiar with the 555 IC, it is an IC designed for With the known terms R3 = 470 Q, C2 = 0.1 ~F and
timing operations. For discussion purposes, we treat the timers as T = 10 ms, Rl+R2 = (T/(0.693C))-2R3 = 143 kQ.
separate entities. The 555 IC can be configured for monostable (one- For flexibility, Rl is a 100 kQ resistor in series with R2, a
shot) or astable (oscillator) applications. In this application, one 100 kQ variable resistor for a range of total resistance
555 IC (call it timer A) is configured for astable operation and the between 100 kQ and 200 kQ. With this variable resistor,
other (call it timer M) is configured for monostable operation . Timer you can tune the frequency of the PWM by adjusting R2.
I
'i
+5 OUTA
OUTM
$59
• Dri ves up to 8 RIC type servos via RS232
I
• 5 C Il, 8-b it AID port for poten tio me ter/
I joystick co ntro l
I I C4
• Servo ports can be reconfigured for digita l
o utput
• User definable board 10 and baud rate
Figure 4: Timer Mschematic • Simp le ASC II string commands
• Windo ws 95 inte rface so ftware and sam ple
Timer M, which determines the on time, is set up as shown in
\ Figure 4. As a monostable timer, the output of timer M is nor-
code included
I
p ti Ii elf
mally low, and the capacitor is normally discharged. However, E'" ~ ..
I when the trigg er receives a low pulse (from the output of timer • A ll fea tures of SV203 plus ..,
A), the output becomes high and the capacitor is no lon ger dis- • 8 K EE PRO M for running sta nda lone ro utines
I
~
charged. The capacitor is charged to 2/3 V (where Vis the supply • Inc ludes Basic compiler /down loader
.!
I
voltage to the IC) and then triggers the timer output to become
low and enable the discharge of the capacitor. The duration of
SV203C Ser vo Controller $85
I • A ll features of SV203B plus...
high timer output is T = 1.1 x R4 x C4. Again, we are only inter-
• IR fea ture. co ntro l via IR-re mote co ntro lle r
ested in the effective value of R4, not the maximum resistance. • Tx & Rx IR commands
For a 100 Hz PWM signal, the duration of high output can be up VISA/MC Accepted. Shipping & Handlin g + $5 (US)
to 10 ms. Since the author had a 100 kQ variable resistor avail-
i able at the time of writing this article, the design calls for a http://www.pontech.com
w
I 0.1 IlF capacitor. Optimally, based on the equation, the resis-
tance R for a 10 ms pulse is 10 ms/(O .lIlF x 1.1) = 90.9 kQ. The
(877) 985-9286
Fa x: (909) 920-5296
~I
100 kQ variable resistor covers the entire range and can there-
fore cont rol the duration of pulses from 0 to 10 ms.
The following components are needed for the circuit :
Two 555 IC ti mers (or one 556 dual timer IC)
II
Prototypi ng the Circuit
+5
Two 0.1 IlF capacit ors for IC decoupling
Two 0.1 IlF capacit ors for timing
One 1 IlF (exact value is not important)
yi n_ _-=,1 VIN for the overall regulated voltag e
_ VOUT 3
I ICl
GND
2 ~u
+
I'T 1
One 100 kQ resisto r for ti mer A
One 100 kQ variable resistor for timer A
One 100 kQ variable resistor for timer M
One 7805 linear regulator
(if you do not have a regulat ed 5 V supply)
One LED (opti onal to demonstra t e PWM visually)
.!~ Figure 5: 7805 Regulator set up. One 220 Q curren t limi ting resistor (optional, for the LED )
The 7805 linear regulator is easy to set up (see Figure 5). The
1 IlF decoupling capacitor is not required, but it is good practice
to use one to ensure stable regulated voltage.
Photo 1: Oscilloscope screen shot of Timer A (frequency output at
channel I) and Timer B (duty cycle output at channel 2)
rl
+ -1
output from timer A on an oscilloscope. Connect the output of VCCr=8 _
timer Mto an oscilloscope to observe the actual wave (see Photo +5 OUTA
DSCH 7
1 channel 2), or connect the output to a voltmeter to observe OUTM T HRS 6 ~~Ok
the average voltage. Adjust the variable resistor in the circuit of CTRL 5 --x +C5
S\ur T O. 1u
timer M to adjust the duty cycle. Photo 2 shows an oscilloscope IC4
--L-
R7
Figure 6: connecting the output of Timer M
220 to an LED.
EXPERIENCED
ROBOTI CISTS
WANTE D:
Experts in all fields wit h
hand s-on robotics ex perience
are cord ially invited to submit
story ideas or ou tlines (0
Editor @RobotMag.co m.
3875 Taylor Road #200.
Loomi s. Ca lifornia 956 50.
\
I
i
\
1 ;
J
The Switch-On Conditions
The stall current is the amount of current passing through the
motor coils at a known voltage when the motor is not moving.
to mobile engine spark plug terminals. The electrical potential is
developed when the cur-
rent flowing through the
i When the motor is not moving, the inductance and the resis- ignition coil is suddenly
tance of the coils determine the stall current. The inductance of
-v stopped . Although the
coil is energized by less
Editor/Engineer/Educator Tak Auyeung, PhD, was the software develop- The Next Project
ment group leader jar embedded controllers at Zworld before jumpingship So far, we have discussed PWMan d mel
to RS&T. He teaches the micromouse lab at UC, Davis, and is best known movement, but not direction. The 1M
to ourreaders jar his search algorithm series in RS&T issues 2 - 5. issue will present an electronic device
switching the motor on an d off and cc
trolling its direction. ~@
I
I
A
1
I
! To many, he's a revolutionary thinker. He invented subsumption architecture
\ and the behavior-based method of building robots to explore the cognitive
1 sciences. His ideas were a radical change of approach to researching artificial
intelligence. He believes that an intelligent robot must teach itself to survive
1 and thrive in the real world; the dirty, dynamic world outside of theoretical
I
1 simulations.
,
"'
I
1
He is the Fujitsu Professor of Computer Science and Engineering;
Rodney A. Brooks directs the Artificial Intelligence (AI) Lab at
1 J
MIT. He is also Chairman and Chief Technology Officer at IS Ro-
botics, a leading-edge product development company specializ-
i ing in Artificial Intelligence, Man/Machine Interfaces, and Micro
{ Robotics.
i
His ability to speak plainly to the public and his robots ' ability
\ t o capture the public eye have earned him popularity with RS&T
1 r
reade rs, and generated some measure of disapproval from more
traditional researchers. In fact, while his papers are required
I
I
reading in many classrooms, some textbooks will barely mention
his methods. Cog is Brooks' experimental testbed. See RS&T Jan 99 centerfold for more deta il.
1 His new book "Cambrian Intelligence: The Early History of the
I
I
New AI" reports his research from 85-91. Before you read it, we Are you building robots to understand humans better, or are you
actually going for the Commander Data genre?
j t hought you'd like to read a little about the man himself. So our
nomadic publisher, Mike Greene, literally cornered Brooks in a With COG there is an element of both. The shorter term is to
convention hallway. Captured between a Pepsi cart and an out- understand humans better. The longer te rm is to build Commander
of-service escalator, the Bad Boy of Robotics consented to con- Data. So we have a mixture of those two goals. The differe nt
verse. people working on the project may have very different goals.
But the plain guise is misleading; at a question, his answer is How about details? Do you get some implementation ideas from
swift, concise, correct, and obviously the refined product of more fiction ?
brain cells than most people will ever use. Read closely, he speaks No, the movies are normally too goofy. So, not details. I think
quickly, and in Australian. "that can't possibly work that way. How could you really make it
I Is there a group, or an inner circle - a Vienna Circle, if you will - of inner Robot Kits, Programmable Robots,
1
\ thinkers?
LEGO Robots, Living Robots,
I No. Different people are working in different ways and they come together in
I different groupings at different times. There is a lot of cross-fertilization. I Home and Office Robots, Muscle
)
I don't think it is as closed as that might suggest. In terms of maybe not a Wires®, Electronics and More! II
Vienna Circle but a Copenhagen Group. In terms of the quantum theorists, a
I
bunch of people who are in. Ii
ij But this field is much more open. I think a lot of people can make contribu-
REQUEST OUR FREE l
I
I
I tions to robotics. Actually one of the interesting things about your magazine 48 PAGE CATALOG
, ~
that excited me was that this is a way to get more people involved who might
be able to make contributions.
WITHOVER 400 ITEMS! ,
I
•
1 I don't think it is quite the same as the very theoretical physical sciences. It
i
.I
was very hard for an amateur to make contributions to quantum mechanics.
I But I think people working in isolation might well be able to do some interest- www.RobotStore.com I
j ing things that have a profound effect in robotics. I would like to think that
I there are a few Wright Brothers out there. Look at flight as the analogy rather
than physics. The Wright Brothers were a couple of bicycle builders who had a
800-374-5764 :
I
!
passion. A lot of the other early people in flying machines were like them,
they were spread out all over and they were able to make contributions.
Mondo-Ironics Inc.
1 PMI·N 4286 Redwood Hwy Dept. 168
I How does a young person get started in robotics? San Rafael, CA 94903
ph 415·491·4600 fx 415·491·4696
For the 10- and ll-year -olds, probably Lego MindStorms is a good starting
I point. And as they get older, I think that your magazine will be a great service
to them, and it is the sort of magazine that I would have loved to have had as
a kid.
I think you have to have a passion for it, if you want to be a Do you have some advice for the students that are wanting
leader. It has to consume you, as it consumed the Wright Broth- contribute? Or maybe just wanting to survive the schools?
ers. That is what they lived for.
You are making me try to act like a sage here. I don't feel like
It consumes you? sage. I don't want to grow up! I am just bullish on robotics.
This is where I spend all my time. Things are really happening right now. Especially the last two
three years. It is a great time to be doing this because progress
What do you do at home? Video games, TV?
happening astoundingly quickly and will continue to happi
I have never gotten involved in video games. I watch Star Trek. over the next few years. We are going to see a transformation
All versions of StarTrek. And that is about it. I play with my kids society in the same way the automobile transformed society
and work. the turn of the last century.
I try to look at all the journals. I wouldn't say there is anyone in How can we see the credibility in that kind of statement? Accor
particular. At various times I get very excited by various people. ing to predictions made decades ago in popular science mag
I can point to lots of interesting things I've read but.. .Well here zines, we're already supposed to be in a space-age 'Jetsons' er
is one that I read recently, the book is from 1927. It is "On Isn't it kind of dangerous to make a prediction that we are abo
Growth and Form" by D'Arcy Thompson. It is a fantastic book. to see a transformation of society?
Do you study ethical issues surrounding robotics? Do ethical is- Yes, it is kind of dangerous, but it didn't stop me from doin g: i
sues affect your design?
Look at the web. It didn't exist six years ago, and look at it no'
They don't affect the design. But I am certainly interested in At least in western society among technically literate people
them. We have a Lutheran minister here in the group, Anne is used every day and is really part of our lives. In every ad •
Foerst. She has been running a seminar series here called "God every magazine, there is a web address. That wasn't there s
and Computers. " We are trying to think about where the issues years ago. No one had heard of the web. So this is transformir
are coming up; not being defensive against them, but trying to the world around us as we speak.
be open to them.
Robotics is going to transform society at the turn of t h
I think as we build more intelligent robots it is actually going to century.
be a challenge to the foundation of organized religion because
Cost Effective
We are not like niche magazines; your ad in RS&T is placed to gain maximum exposure.
We'r e small eno ugh to give personalized service to every advert iser.
We offer a significantly better cost per th ousand readers (CPM) th an an y othe r quality tech magazine.
So adve rtis ing in RS&T is easy and economical for both small and large companies.
Design Flexibilitr.
Robot Science & Technology offers your team th e flexibility to present your prod ucts
to our rapidly expanding market in a number of ways. Use multipl e inserts for maximum effect.
Use a seco nd color for maximum impact tha t's eco no mical. Use a Reader Reply Card for
immediate response. For comp ani es th at want more presen ce, we design premium pages
within th e magazine at no extra cha rge. Website space is also free to paid advertisers.
Expanded Distribution
You get global reach because our distribution is int ern ation al, th rough
carefully selected major bookstores, and our person al presence at major robo t eve nts .
So your message reach es both the existing robotics commun ity an d the
swiftly developing market in home, sport and classroom robo tics.
I
I
I
I
L~
o
Issue #6: Great Issu e! I es pecially like th e artic le on th e Take a look att he cov erage of th e FIRST co mpe t ition. Th e on
s ha rp GP2D02 and 05 sensors. Keep up th e good work! - mention of robots is a par agraph th at says th ey had "vigoroi
Bob Harbeck Note: Bob has given us se veral solid story int eraction." Th e rest was abo ut s po nsors, locati on and co lo
leads during the past ye ar. Thank s, Bob. ful ba ckdrop. Who cares? It didn't have to be technical; s how I
some robots and tell us wh y th ey did or didn't win. Wouldn't z
I have enjoyed eve ry issue of RS&T from th e first to th e 'H-bridge ' tutorial be more imp ortant th an 6 pages of FIRST cor
lat est. My son and I found man y of your articles help petition that only has I paragraph which b riefly menti ons H
mature our hobby. We look forward to reading ab out th e actual robots th emselves ?
gro wth of ro bo t ics via your ma gazin e.
Th ank yo u. -Rob ert Mize Your magazine seem s to be s h ifting to tar get yo unge r peop
(c h ild re n) and kit builders . Give us real co nte nt. What happ ene
Thank yo u, Robert, and your son. In my own family, and in to Mr. Lunt 's HCII series? What abo ut fabricati on ? I know mo
many othe rs, playing and working with robots are helping us amateur robotic engineers would like pointer s on vis ion sy
enjoy learnin g math , science, and language sk ills. Perhaps tems (what ca me ra do I us e? How do [ get an image from it? Ho
robots will becom e more commonplace than computers in do I process th e imag e once I get it?) . Sta rt a navigati on seri es
education. -Mike think th e maz e seri es is int eresting, and I'd like to see gene r.
navig ation and collisio n avoi da nce stuff. How about motor an
sens or applica tions and int erf acing. Th e wire wrapping was O~
Th e R/C Servo article was nice. I also like th e Combat Robr
seri es . Th e IRs ensor review was nice, but sh ow me real us age i
navigation and sample co de .
l
Imagination(and batteries)Not included
1
.\
j
I know yo u can't please eve ry one with eve ry paragraph, but
yo u ca n alienate most people with a lat e and lam e issue. Don't
worry abo ut pleasin g me. I just want yo u to please th e masses.
I d on't want to lose RS&T.I find it to be a valuable cost-effective
resource to my hobb y. - Bill Coro n
ANIMATRDNICS
KIT Make your creation come to life with an easy-to-us
Windows interface. No programming required !
I Control and record movements for up to
I Each of our first issues has been some how different from the oth-
ers, to help us discove r what read ers want. Letters like yours are
64 hobby servos.
II S" lp,M,",,,, :1
l DI---
issues will have more content devoted to those kinds of things.
II p,,,,, 1
I
I
There are over a quarte r-m illion potential readers out there.
Detailed
Instructions
PI_,O. hIY:
m ll- Sleep _I
I Onlin e Help
I We need to let pros pec tive adve rtisers kn ow that dedi cated System Everyth ing you need t o get started todaj1
roboticists like yo u exis t in great numbers. Thank s again, Bill,
\ for your helpful critique. [J ANIMATION
$ 179.00
I [J ROBOTICS
Visa I Me Accepted
II Visua l Basic. C prog ra mme rs should check out Dave Baurn 's • Pa nning Speed adjustable
Weight 27 oz. - Size 5.75' x 4.5 x 4'
$99 II
I
"Not Quite C" at ente ract.co mz- d ba um/ nqc.
-.j
I RECHARGABLE GEL CELLS
Anothe r programmin g syste m worth chec king out is Marku s L
I 4v 4.5ah 1.93 X 2.09 X 3.70 $10 .00 - -~ - -
j
II
Noga's "LegOS" at htt p://www.noga.de/legOS/.
Hopefully, this new informa tio n will bring back s om e of th e
4v
6v
10ah
4ah
4.01 X 2.00 X 3.75 12.00
2.76 X 1.77 X 3.98 9.00
._.
PM Batter y
l'tH t(.Gf I _
J
6v lOah 5.95 X 1.97 X 3.70 13.00 . . ;,:,;.:
. . ...: ~
0"
.,
people wh o might have been "scare d off" by your article, and I, •.
l
• Wireless Mics PROCEll 9V 565mAh PROCEll $1.95
• Batt e ry Belt s
They are in our cars, our appliances, our homes, and our Answer: Your home (vacuuming), your lawn (mowing), and
factories - indeed, they are ubiquitous. We seldom see them your hospital (surgical assistance), to name just a few places
but they work hard and untiringly for us. When they do and activities of personal interest to you.
breakdown, which is seldom, we are vexed, perplexed and
usually unable to do anything about it except call for help. Service robots, those that perform a task that free up some
Now a recent report emanating from the United Nations of your time or perform a precision operation which takes
indicates that this invasion is accelerating. the shakes, out of a surgeon's hands, are already here and
more variants are coming soon. To give some scope to the
Despite this prediction, hu- magnitude of this explosion
mankind goes blithely about in robotics, the UN study
its daily activities, for the forecasts the installation of
most part oblivious to the Unfeeling, this force 24,000 major service robots
presence, now and increas- does not answer to human control; and the sale of as many as
ingly in the future, of robots. 500,000 vacuum cleaning
but it will driue our economy, robots alone in the period
Beginning with industrial ro-
our society, and then our humanity. 1999-2002. These are
bots in the late 1960's, more examples of where the
and more robots have unob- science and technology of
trusively intruded themselves into the workplace, and robotics is headed, and where the next flood of invasion
increasingly into our homes and environs. There cannot be will take place.
that many around , you may think.
The ranks of the invasion are not of flesh and blood but of
Ah, but there are! In 1998 Japan, the most highly occupied metal and silicon. Tireless and unforgiving, this new force
country on a per worker basis, there were approximately does not answer to human control, it will drive our economy,
412,000 robots at work. In its automobile industry, there and our society, and ultimately, our humanity.
was one robot for each six human production workers. Over-
all, in Japan's manufacturing industry, there were 280 ro- Is your company ready for it? Your government? Are YOU
bots per 10,000 workers. Meanwhile, in the United States, ready for it?
our ratio in the auto industry was approximately one robot
to 19 workers and overall some 44 robots per 10,000 work-
ers. Respond to:
[email protected]
With this superior investment in robotics, Japan has seen
Robot Science & Technology
its economy grow rapidly, to the point at which it is second
3875 Taylor Road, Suite 200
only to the US in the world. Of course, we all know about
Loomis, California 95650
robots in the industrial sector. They are already there,
albeit in numbers we might not have realized. "So where is
the invasion heading next?" you ask.
I
been specifica lly design ed for autonomous robot con trol. The illustartion suc h as the ease of use, and the simple stra ight forward programming
below shows a typi cal setup for controll ing a sim ple 3 servo walkin g lan gua ge. However. the Nex t Step has adde d so me new features speci fic t
rob ot. The users ma nua l illustrates several diffe rent configurations. The the robot build ers need s.
microcont roller has many features that the robot build er will find useful.
\
• 16 I/O lines. up to 4 servos and 4 bumper sw itches sha re the first 4 l/C
line s by using a little known meth od of multip lexin g .
I • Powering options a llow the BA SIC Stamp to be powe red with the
servo pow er supply or separa te ly fro m it's own supply
\
• Two Buttons and two LEOs mak e a simple user inter face to allow
choosing which program. or subro utine to run. or to a llow cert ain
parameters to be altered whi le the program is runn ing.
I • DB9 plug allow s easy con nect ion to a PC's se rial port for a qui ck
Next Ste
o
o -
Serial LCD
0
r---
Ij)r
o
How does it work?
Programming the Nex t Ste p is extreme ly easy. Simply plug the cabl e
from the PC's serial port into the micro. Run the Wind ow s edito r and type
in. or load an exa mple BA S IC program . C lick on Run. and the prog ram is
o I1JIi down loaded to the micr o. and automatica lly begin s runn ing. You may
"1:::5 remo ve the program min g cable for complete autono mo us operation. Th e
...·x
w3
..... 0
cod e is stored in an EEPRO M. and therefore protected from power loss. 11
you want to ch ange the program you may downlo ad new eode at any time
o <+ Th e micro will stop, acc ept the new code, and then imme d iate ly begin
0 ...·
i ...· 0
1/1:::5
running the new co de. It's that easy.
(QJoB ".....w.~. . . Ordering Information
I tQJO
<:>0
1i:::5
First time users of the Nex t Step Micro will need a DB9 straight throu gh
ca ble and instructional lite rature. Th is do cum ent ation ca n be found at the
1
o©bO
00
<:>0
r Para llax web page. and is free to down load and prin t. T he BSP -OI BASIC
1
o o 0
L--
o Stamp Programming Pack inc ludes the print ed manu al and cable s. Th e
book , Prog. and C ust. the BASIC Stam p Co mputer is a grea t tutor.
I
Part No. Description Price
------------ ----------------------------------------- --------~
1 NS-01 Next Step Microcontroller $40.00
i BS2-01 BASIC Stamp 2 IC -or- $49.00
j BSSX-01 BASIC Stamp 2 SX IC $59.00
BSP-01 BASIC Stamp Programming Pack $99.0;1
,[ CK-01 Connector Kit (for making jumpers) $23.00
-I
j
- Works well with these components -
I SSC-01 Serial Servo Controller $44.00
iJ SLM-01 Serial LCD Display $49.00
IRPD-01 Infrared Proximity Detector Kit $30.00
1 TRA-01 Tracker Line Following Senso r Kit $20 .00
DHB-01 Dual H-Bridge Motor Driver Kit $30.00:
j
, - Other useful documentetlon -
BSB-01 Prog. & Cust. the BASIC Stamp Camp $35 .00
I Middl e Right Left
BSP-01 Mobile Robots Book Second Edition
Note: BASIC Stamp and PBASIC are trademarks of Parallax Inc.
$32 .00
\
i\.
I-
l -_
CLOSEOCIRCUIT
Rea de r s Helping Readers
1
I
I
ClosedCircuit is our reader-to -reader forum. Ha ve a hard question? Have an easy answer?
Email [email protected] with "ClosedCircuit" in the subject line.
Letters may be edited for length or content. Helpful and knowledgeable criticism is always welcome,
but flames will burn in the delete folder. The views and facts expressed on this page are submitt ed
by readers, and are not necessarily endorsed by any sane person at Robot Science & Technology.
. _ -,-.-
Okay, very few of us will ever build a Steve Richards' article on how to inter- plex programming. Consequen tl:
Mars explorer, and few will build a face to the sensors, in RS&T Number although the cost of components
rescue robot. So, what do the rest of us Six .) Unlike the SSI, however, the inexpensive, it requires much expert i:
(without the budget to acquire cool GP2D05 and GP2D02 can only range a to design and assemble an on-rob :
gadgets like the SSI and TEGA) gain "point" instead of an entire scene. Me- vision system .
from studying the Lander technology? chanical scanning is required to acquire
a depth-range "picture." For those who are not thwarted ye
Imaging and ranging are certainly two http://pages.zoom.co.ukjand y c
of the most important senses of a mo- On-robot image processing, on the other presents a relatively simple project i
bile robot. Fortunately, both can be hand, remains somewhat more challeng- get computer vision using very inexper
done with a budget that most taxpay- ing. Advances in digital cameras have sive components. And, of course, robr
ers can afford (with our after-ta x motivated the design and mass produc - vision is in RS&T's editorial plans
money). tion of charge-couple devices (CCDs)
with on-chip digital interfaces, such as Anyone who has built mob ile robo i
The options for imaging are endless
the Sony ICX098. You can even buy probably wishes the robots had arms t
these days. Very small cameras with
board-level products including the lens, actually do something.
NTSC output are common and some cost
CCD and digital interface, such as the
less than $100 US. Off-the-shelf NTSC
Sony MCB120. However, interfacing such Various manufacturers have introduce
video radio transmitters and receivers
CCDs and camera boards still requires affordable robot arm kits since th
can broadcast the robot's view.
significant knowledge of electronics cir- 1980s. Two design limitations kee
As for ranging, the Sharp GP2D05 and cuit design as well as low-level software these robot arms stationary and useft
GP2D02 sensors provide inexpensive op- device drivers. Once an image is cap- for very few practical applications oui
tions at about $20 US. (Please refer to tured, the analysis often involves com- side education . First of all, the ar m:
Read,7
to
MoV.~
Up')
We offeG'
Pion e e r "\\
TradfB'
Ins!
www.actlvmedta.com/robc t
800-639-94Sl
ro bots@ a ct iv rne d ia. cOlIT
as purchased, provide no feedback side to side. The movement of arm joints half-watt transmitter does not require
about their current positions. This can be encoded by encoder disks. FCC licensing.
makes it impossible to position an arm
(Quadrature encoding and decoding will As we patiently wait for our Martian
really accurately. Secondly, even if
be discussed in the next issue of RS&T.) friends to repair the Lander, we can de-
movements were accurately controlled,
Proximity sensors can be mounted sign and build robots inspired by the
there is no built-in way to know how
at the gripper for the final grip Lander and the Pathfinder missions.
far to reach for objects.
confisrmation.
Readers are invited to send details and
While the Lander design does not have
photos of Mars project robots.
grippers (there was no intention to ab- As an energy source, small solar panels
duct Martians), it does use an robotic are readily available. A 6" by 6" solar
arm to scoop dirt from the surface. The panel. capable of producing 0.5 Watt,
Lander uses a "scoop-cam" to help con- costs about $5 US at surplus stores.
trol the arm. An amateur robot can au- While most mobile robots require sev-
tonomously control an arm with less eral Watts to move, the solar panels can RobotMag.com
expensive components. First of all, ob- charge a battery when the robot is sta- is
ject detection can be accomplished by tionary, then discharge the battery e-normolls
a two-dimensional range scan using a when the robot moves. Of course, a 6"
range sensor, such as the Sharp GP2D02, by 6" 0.5 W solar panel is no match for
mounted on a tilt-and-swivel head. No the Lander's 200 W solar panel. On the
doubt, the acquisition is going to be plus side, we're not going to transmit
slow as the head needs to sweep from data between planets. Conveniently, a
- - - - - -- - - - - - -- - - ..
\
1
BattleBots Announcing...
I Jan 29 on Pay Pe r View
www.BattleBots.com
I] See the destruction wrough t in Las Vegas.
1
I
on-
Wireless Symposium board
I
.1
I
Portable by Design
Feb 22 - 25, San Jose Convention Cente r
PC10 4 +
II www.wire lessportab le.com option
! Visit Lemos International at Booth 1527
I Ether
I net
14th Annual Student Robotic Challenge moderns
Roboti cs International of the Society of Manufa cturing Engineers
March 19 - 20 at Robert Morris College in Pittsburgh LaSer
www.manufacturing iscool.com
14 events, including 150 pound sumo , simulation, maze and lunar search. &
See our Journey Robot stories beginning on Page 30 . More!
Fuji Soft ABC Robot Sumo Tournament www.activmedia .com/robots
March 28, Exploratorium, San Francisco 800·639·9481
March 30, UC Riverside, Los Angeles [email protected]
Hakkeyoi Nokotta !
{
I
••••
••••
••••
. ••••
,, ••••
••••
••••
••••
II
II
II
II
II
........
••••
••••
••••
II
II
II
II....
••••
••••
" ••••
II
••••
••••
"••
••••
••••
••••
••••
••••
•• ••••
~
:'"
III
••••
•••
~
'" '
:" I I
I
I(
IL
Introducing the Boe-Bot:
Mobilize Your BASIC Stamps and Board of Education
The Boe- Bot is a BASIC Stamp II and Board of Educat ion (BoE) mounted on a roll ing alumin um chas-
sis. The BoE's breadboard is used for your ro bot ic proj ect s. The kit r equires about one hour t o build
using a small scr ewdr iver , box-end wre nch and diagonal cutters. The Boe-Bot was creat ed for our
St amps in Class program (http ://www.stampsinclass.com). The 70-pag e Robotics t ext is loaded
wit h projects ranging from basic movement to object detection and light followi ng.
The Bee-Bot Full Kit includes the robot shown t o t he left (unassembl ed) with text and all the elec-
t ronic components needed for roa ming, object det ecti on I avoidance with infra red , and light follow -
ing. LEOs and piezospeaker provide light and sound feedback. With some advanced progra mming and
a few componen ts t he Boe-Bot could fo llow a li ne, solve a maze, or ext inguish a small fire. PBASIC is
an liD - or ient ed language with a comma nd set t hat makes it easy to interface t he BASIC Stamp to
ot her components.