You are on page 1of 92

Vol. 4 No.

10 SERVO MAGAZINE DIY MARS ROVER • ENERGY MANAGEMENT • MIT MICROBOTS • TANDY TROWER October 2006
Page 84
3:04 PM
9/8/2006
Cover.qxd
CoverInside.qxd 9/7/2006 1:17 PM Page 2

Robotic Kits Components...


The Perfect Summer Projects for Kids of all Ages!
There’s something for everyone…
Robotic kits help you and your child to experience and learn about
perception and control using a variety of sensors and actuators. Challenge
robotic kits yourself with Jameco’s selection of fun and interactive kits! You or your child can
assemble the kits and then enjoy endless hours of discovery.
chassis
Check out our unique selection of Robotic Kits at www.RobotStore.com!
• Robot Insects & Animals • Programmable Robots
servos
• Solar Robots • Educational Kits
• Listening, Touching & Seeing Robots • Legged and Wheeled Platforms
passives
• Hackable Robots • OctoBot Survivor Kit

optos At Jameco’s RobotStore you can get the world’s most complete robotic offering—
all in one place! You’ll find kits for all ages and experience levels along with gear
integrated circuits boxes, servos, and chassis for those who are ready to take on the extreme.

semiconductors
Robotic Kits
and Components
...
The World’s
Most
Complete Off
ering!
muscle wires Enthusiasts,
Star t Dreami
ng...
Gift Givers,
Take Note...

Engineers,
We’ve Got
It All!

connectors

motors I-800-374-5
WWW.ROBOT
764
STORE .COM
CATALOG I62

WWW.ROBOTSTORE.COM/SRB
test equipment
I-800-374-5764 Call for your free catalog today!

software

books
Full Page.qxd 9/7/2006 1:24 PM Page 3

SERVO 10.2006 3
TOC Oct06.qxd 9/8/2006 2:38 PM Page 4

Columns Departments
08 Robytes by Jeff Eckert 06 Mind/Iron
Stimulating Robot Tidbits

10 GeerHead by David Geer 07 Bio-Feedback


MIT is Making Space Balls
21 New Products
14 Ask Mr. Roboto by Pete Miles
Your Problems Solved Here
24 Events Calendar
18 Lessons From the Lab
25
by James Isom & Brian Davis
NXT Robotics: First Build TidBOTS
74 Robotics Resources
26 Robotics Showcase
by Gordon McComb
Taking Stock of Robotic Tanks

79 Rubberbands and 27 Menagerie


Baling Wire by Jack Buffington
Bar Codes for Robots 49 Robo-Links
84 Appetizer by Roger Gilbertson
82 SERVO Bookstore
Hotel Earth — Nine Billion Guests
and No Elevator
90 Advertiser’s Index
87 Then and Now by Tom Carroll
Robots Who See

ENTER WITH CAUTION!


28 The Combat Zone

SERVO Magazine (ISSN 1546-0592/CDN Pub Agree#40702530) is published monthly for $24.95 per year by T & L Publications, Inc.,
430 Princeland Court, Corona, CA 92879. PERIODICALS POSTAGE PAID AT CORONA, CA AND AT ADDITIONAL ENTRY MAILING
OFFICES. POSTMASTER: Send address changes to SERVO Magazine, P.O. Box 15277, North Hollywood, CA 91615 or
Station A, P.O. Box 54,Windsor ON N9A 6J5; cpcreturns@servomagazine.com

4 SERVO 10.2006
TOC Oct06.qxd 9/7/2006 8:54 PM Page 5

10.2006 VOL. 4 NO. 10

Features & Projects RoboMagellan Robots


come in all shapes
40 Robot’s Little Helper and sizes
See Page 62
by Ron Hackett
Using the PICAXE in your builds.

45 Do-It-Yourself Mars Rover


by Dan Gravatt
Make it your “mission” to build your
own Rover from spare parts.

50 Energy Management for


Autonomous Robots
by Bryan Bergeron
A review of energy management
principles, with an emphasis on
selecting and designing power
supply electronics, how to implement
real-time power reconfiguration, and
monitoring techniques.

56 FaceWalker
by Michael Simpson
Part 3: The Brain.

62 ROBOGames Prep
by Dave Calkins
Get ready to rumble in the 2007
RoboGames event with the help of
this tutorial series on how to build
robots for the different competitions.
This month: RoboMagellan.

67 An Interview with
Tandy Trower
by Phil Davis
Microsoft is getting into the
robotics business with their new
Robotics Studio product.

72 2006 RFL Nationals


by Pete Smith and Charles Guan
Wrap-up of this year’s event.

SERVO 10.2006 5
Mind-FeedOct06.qxd 9/8/2006 2:34 PM Page 6

Published Monthly By
T & L Publications, Inc.
430 Princeland Court
Corona, CA 92879-1300
(951) 371-8497
FAX (951) 371-3052
Product Order Line 1-800-783-4624
www.servomagazine.com
Mind / Iron Subscriptions
Inside US 1-877-525-2539
by Dave Calkins ΠOutside US 1-818-487-4545
P.O. Box 15277
North Hollywood, CA 91615
So, you wanna build a robot? For the next nine issues, we’ll be PUBLISHER
If you’ve been a reader of SERVO running a series of articles: Larry Lemieux
for the last year, you’ve probably “RoboGames Prep.” SERVO is one of publisher@servomagazine.com
followed my series about robot RoboGames 2007’s sponsors, and we
ASSOCIATE PUBLISHER/
competitions around the globe. From want you to build more robots in VP OF SALES/MARKETING
Vienna to Tokyo, and around the addition to reading the magazine. Robin Lemieux
US. An incredible array of robot Yeah, I know — you do build. So, display@servomagazine.com
competitions are happening around the let’s finish some robots! How will this
CONTRIBUTING EDITORS
world. In my travels, I’m very fortunate time be different? Because, you will Jeff Eckert Tom Carroll
to have met literally thousands of robot have a deadline! June 15th, 2007 to Pete Miles David Geer
builders. Men and women, children, be exact. That’s when your robots Jack Buffington R. Steven Rainwater
adults, and retirees. They come from need to be finished so you can Gordon McComb Michael Simpson
every walk of life: artists, engineers, compete in the international event at Ron Hackett Kevin Berry
Dave Calkins Phil Davis
doctors, lawyers, cabinetmakers, San Francisco, CA, with thousands of Bryan Bergeron Dan Gravatt
plumbers, students, programmers, and other builders from around the world. Roger Gilbertson James Isom
genuine nut cases. They build all kinds Can’t make the event? Yes, you Charles Guan Pete Smith
of robots: combat, soccer, sumo, can! You’ve got nine months to plan Michael Rogers Wendy Maxham
Russ Barrow Eric Scott
walking, crawling, rolling, autonomous, and save your pennies for a cheap
Michael Mauldin
tele-operated, home-brew, kits, and ticket. But that’s not the point. Even if
CAD designed. As a whole, all these you can’t make it, if you plan and
varied robot builders have only two follow along with our series of CIRCULATION DIRECTOR
things in common: articles, you will have finished a robot Tracy Kerley
subscribe@servomagazine.com
— or if you’re really enthusiastic, you
1) They like building robots. will have built nine robots! WEB CONTENT/STORE
2) They’re shameless procrastinators. Robots that you can be proud of. Michael Kaudze
Robots that do stuff. Robots that can sales@servomagazine.com
You, dear reader, are in all compete in events around the world —
PRODUCTION/GRAPHICS
likelihood one of them. (Now, now. not just at RoboGames in San Shannon Lemieux
Don’t lie about it. I can read your Francisco. Events can be found from
mind through a thin strip of ESP wire Seattle to Denver to Hartford to ADMINISTRATIVE ASSISTANT
in SERVO’s cover, which transmits London to Tokyo. Or you can start one Debbie Stauffacher
your thoughts to me via a complex in your hometown. Or just impress the Copyright 2006 by
RFID & WiFi technology embedded in neighborhood kids with your T & L Publications, Inc.
the staples. Yes, there it is.) You’ve completed robot(s). All Rights Reserved
been saying it for a while now. “I’ll This month kicks off with one of
All advertising is subject to publisher’s approval.
finish that robot soon.” Tisk, tisk. the hardest types of robots to build: We are not responsible for mistakes, misprints,
So, what do all the robot builders RoboMagellan robots. Autonomous, or typographical errors. SERVO Magazine
I’ve met have in common that sets GPS-guided robots that can navigate assumes no responsibility for the availability or
them apart? A deadline! Yes, a by themselves. Kind of like the DARPA condition of advertised items or for the honesty
deadline! Grand Challenge, only without of the advertiser.The publisher makes no claims
for the legality of any item advertised in SERVO.
No, you can’t make your own needing to use an actual car. This is the sole responsibility of the advertiser.
deadlines. (See, I can too read your The next seven articles will cover Advertisers and their agencies agree to
mind!) robot builds in order of complexity. As indemnify and protect the publisher from any
So, here’s the SERVO challenge: we get closer to our deadline, the and all claims, action, or expense arising from
advertising placed in SERVO. Please send all
editorial correspondence, UPS, overnight mail,
Mind/Iron Continued and artwork to: 430 Princeland Court,
Corona, CA 92879.

6 SERVO 10.2006
Mind-FeedOct06.qxd 9/8/2006 2:34 PM Page 7

Industrial
Strength
Motor Control
for All
AX2550
AX2850

AX1500

AX3500

by J. Shuman Get the DC Motor Controllers


that are at the heart of many of today’s
world’s most demanding Industrial,
Military and Research Robots, and other
innovative Motion Control applications.
Dear SERVO: searchable database of your archives,
I'm a Ph.D. student in computer but you also have high-resolution PDFs - RS232, RC, or Analog input
engineering, and almost every issue of of every issue! I wish all magazines - Speed or Position Mode
SERVO has an article that's relevant to would provide their subscribers a - Dual channel output up to 140A
my research. One day I thought, service like yours. Yes, some offer - Optical Encoder Inputs
"Wouldn't it be great if I could store downloadable reprints of articles, but - Intelligent Current Limiting
these articles on my computer?" That they're usually poor-quality HTML - Thermally Protected
- Field Upgradable Firmware
would make it easier to organize and conversions. You provide PDFs of the
- Enclosed and Board-Level versions
read them. That's when I went to your real thing! I just wanted you to know - and many more advanced features ...
website and discovered SERVO Online. it's greatly appreciated. Thank you!
Let me tell you, this thing is fantastic! Trevor Harmon
Not only do you provide a fully University of California, Irvine Model Amps Features Price
AX1500 2x30A B $275
AX3500 2x60A O-R-B $395
robots will get easier. (Yes, that will robots and make them competitive. AX2550 2x120A A $495
help you procrastinate, I know ...) The The articles will not give you AX2550HE 2x140A A $645
excellent monthly coverage of step-by-steps on making a robot, but AX2850 2x120A O-A $620
Combat Zone will get all you fighters they will give you enough pointers for AX2850HE 2x140A O-A $770
ready, so we’ll be covering many other you to be able to make a good start of A=Aluminum Extrusion, B=Board-Level, O=Optical Encoder In,
R= RC outputs. Qty1 price. Contact us for OEM Qty prices
types of competitions individually. it and then figure the rest out on your
Future articles will cover: Androids, own. No human athlete coasted to a
which include soccer, Robo-one, gold medal, and neither will you.
and walkers (Nov), Tetsujin (Dec), Use your mind. Bend the iron.
Fire-Fighting (Jan), Balancer Race Make a bot. Show it off. 8180 E.Del Plomo Dr.
(Feb), Art Bots (Mar), Sumo (Apr), You can do this. But the clock is Scottsdale AZ USA 85258
and Hockey Bots (May). ticking. You have nine months left. (602) 617-3931 - info@roboteq.com
You can build any one of these I’ll see you in San Francisco. SV www.roboteq.com
SERVO 10.2006 7
Robytes.qxd 9/5/2006 7:40 PM Page 8

Robytes by Jeff Eckert

re you an avid Internet surfer the school of fishbots out was to battery-powered omnidirectional unit
A who came across something
cool that we all need to see? Are
collect information about an upwelling
of cold water that occurs every year
balances and moves on a single ball
rather than legs or wheels, thus
you on an interesting R&D group near Point Año Nuevo, northwest of allowing it to maneuver in tight places
and want to share what you’re Monterey Bay. However, the project where other bots cannot tread.
developing? Then send me an may lead to the development of robot Although it resembles some sort of
email! To submit related press fleets that forecast ocean conditions strange gyroscope, the machine actual-
and help protect endangered marine ly performs its balancing act using an
releases and news items, please
animals, track oil spills, and guide onboard computer that reads informa-
visit www.jkeckert.com
military operations at sea. tion from internal sensors and activates
— Jeff Eckert Two types of gliders — Slocum and rollers that move the ball, making it
spray gliders — were used to take the essentially an inverse mouse-ball drive.
ocean’s temperature, measure its salin- Ongoing research is aimed at
Automated Gliders Patrol ity (salt content), estimate the currents, proving that dynamically stable robots
Monterey Bay and track the upwelling. The August (as opposed to traditional statically
field experiment is the centerpiece of a stable ones) like Ballbot can outper-
three-year program known as Adaptive form their static counterparts. Because
Sampling and Prediction (ASAP), which traditional mobile robots depend on
is funded by the Office of Naval three or more wheels for support,
Research (www.onr.navy.mil). their bases are generally too wide
In addition to gliders, the ASAP to move easily among people and
ocean-observing network includes furniture. They can also tip over if they
research ships, surveillance aircraft, move too fast or operate on a slope. In
propeller-driven vehicles, fixed buoy theory at least, the concept could lead
sensors, and coastal radar mapping. to robots that more easily move
For details, visit www.princeton.edu/ around and interact with people.
~dcsl/asap/.

Looking for Au in PNG


Robot With a Ball

Naomi Ehrich Leonard — co-leader


of a field experiment of automated
undersea gliders — prepares a glider
for launch into Monterey Bay, CA.
Photo by David Benet.

Aquatic robots are not much of a


novelty these days, but in August, some
15 undersea gliders that choreograph
their own movements — believed to be
the first to do so — were launched into
Monterey Bay, CA. The gliders, using Creator Ralph Hollis (left) and
researcher George Kantor are paid
mathematical algorithms devised by a visit by “Ballbot” in the CMU
Princeton’s Naomi Ehrich Leonard were Intelligent Workplace. Photo courtesy
programmed to move in a series of of Carnegie Mellon Robotics Institute.
The Autonomous Benthic Explorer
rectangular patterns, but the algorithms (ABE) — one of two unmanned
allowed the gliders to make independent Billed as representing a “new vehicles used to explore and map
hydrothermal vent sites near Papua
decisions on how to alter their course paradigm in mobile robotics” is New Guinea. Photo by Woods Hole
while moving through a 20 km wide, 40 the “Ballbot,” created by Carnegie Oceanographic Institution.
km long, and 400 m deep area. Mellon’s (www.cmu.edu) Professor
The specific purpose of sending Ralph Hollis. The self-contained, Meanwhile, in the “nice work if

8 SERVO 10.2006
Robytes.qxd 9/5/2006 7:40 PM Page 9

Robytes

you can get it category,” an interna-


tional team of scientists recently took
a cruise to Papaua New Guinea to test
out the idea of using unmanned
vehicles (both remotely operated and
autonomous) to search for copper,
gold, and other valuable materials in
underwater hydrothermal vents. The
cruise is a joint expedition between
Woods Hole Oceanographic Institution
The RPS 1000 robotic parking system
(WHOI, www.whoi.edu) and can accommodate from 200 to more
Canada’s Nautilus Minerals, Inc. than 5,000 cars. Photo courtesy of
(www.nautilusminerals.com), a Robotic Parking Systems.
mining company that holds
exploration leases in the Bismarck Sea positive side, the system eliminates
within the territorial waters of Papua parking attendants (and associated
New Guinea. tips), saves space, and makes it
Nautilus is the first firm to unnecessary to find your own parking
commercially explore the ocean floor slot; you just drive up into an entrance Artist’s rendering of the smart liquid
microlens. Image by Ryan Martinson,
for economically viable massive sulfide area, get out of the car, and push Silverline Studio and courtesy of
deposits and is interested in under- a button. The parking system does University of Wisconsin-Madison.
standing the size and mineral content the rest.
of the sea floor’s massive sulfide It also largely eliminates the risk Wisconsin-Madison (www.wisc.edu)
systems. The 42-day trek was of damage or theft, because professor has developed a lens that is
headquartered aboard the research humans remain outside the garage. capable of adapting focusing “from
vessel Melville, operated by the On the other hand, because there is minus infinity to plus infinity” without
Scripps Institution of Oceanography no alternative way to retrieve a car, any external control. Using a hydrogel
(sio.ucsd.edu). there could be some obvious prob- (a jelly-like polymer) instead of glass,
Melville is a modest little dinghy lems in case of a system breakdown, the lens responds to physical,
279 ft. in length, with a bit over 4,000 power outage, or software glitch. In chemical, or biological stimuli to
sq. ft. of main deck working area, plus fact, a recent news report revealed bulge or depress, thus changing its
2,600 sq. ft. of lab space, run by a that one installation — the Garden focal length.
crew of 23 and able to house up to 38 Street Garage in Hoboken, NJ — The lenses are very small
researchers. She burns 3,600 gallons trapped hundreds of cars for several (hundreds of micrometers to about
of fuel a day, so we can hope that days. one millimeter), making them
the voyage turned up a fair amount of Apparently, the city owns the potentially useful for lab-on-a-chip
precious metals. garage but not the software that runs technologies, medical diagnostics,
it, and when the use contract expired, detection of hazardous chemical or
so did the control program. After a biological substances, and other
short trip into the court system, the functions. For example, when
Robo Parking Lots: Boon or city agreed to pay $5,500 per month employed with appropriate electron-
Boondoggle? for a three-year license. But it still ics, one could attach one or a cluster
might be safer to find a space on the of them to a catheter to provide a
An interesting concept in automa- street. peek inside a patient, providing
tion is offered by Robotic Parking useful diagnostic data or conceivably
Systems, Inc. (www.roboticparking. delivering feedback to a robotic
com), based in Clearwater, FL. The probe.
company offers systems for as few as
Lenses Feature Autonomous The technology is being patented
10 cars on up to more than 5,000, and Focus through the Wisconsin Alumni
the installations can be above or Research Foundation, so commercial
below ground, inside or atop a build- Inspired by the eye structure of applications may not be far off. SV
ing, or even under a building. On the a common fly, a University of

SERVO 10.2006 9
Geerhead.qxd 9/7/2006 8:16 AM Page 10

by David Geer Contact the author at geercom@alltel.net

Look Out, Mel Brooks, MIT


is Making Space Balls!
Microbots to Explore Mars and Other Space Bodies
IT has a new idea for robotic, make for efficiency because they will es, and grease, the microbots use
M otherworld exploration. By
unleashing hundreds or thousands of
be able to collect data everywhere
at the most minuscule levels. They will
elastic materials that flex in an orthog-
onal manner to move the bots around.
tiny, redundant, expendable robotic insure reliability because the destruc- This elastic method of movement uses
spheres onto and beneath the surface tion of one bot would not affect many times fewer parts that are much
of planets, moons, and stars, MIT the performance of hundreds or lighter and don’t rub together to create
hopes to accomplish in-depth analysis thousands of others that would easily wear and tear.
of extraterrestrial terrains. regroup. They would insure validity However, this elastic “motor-
MIT’s mobile space balls — dubbed because the several bots would be vation” is slower than gears and
Microbots — will explore crevasses, doing many data collections that will motors. To resolve this, the elastic
caves, and perhaps even empty beds have checks and balances against actuators store energy over time and
where bodies of water may once each other. release it quickly to create their quick
have flourished. These small, precise, The approximately centimeter- jumping motion.
redundant, and cost-effective units — sized microbots (in one example), Robot sensors will include imagers,
research supported by NASA — would could conceivably be launched from an spectrometers, sampling devices for
insinuate themselves into every aspect orbiting space vehicle. The balls would soil, and other materials samples and
of foreign landscapes. initiate typical ball-like movement on chemical detection sensors.
their own for mobility, including rolling, These sensors are used to assess
Size and Motion Help hopping, and bouncing around. soil, topography, and the constitution
Sensors Get a Notion The mini-bot’s motor skills and anatomy of rocks. Microbots will
would be empowered by polymer work in tandem as a network, distribut-
Microbots’ size and numbers actuators that would act like little ing information among themselves to
robot muscles. analyze the larger picture of what they
Illustrations are by Gus Frederick. Rather than using gears, gearbox- each see individually.

Drawing of a conceivable, Closeup of ballbot — baseball-sized Artist’s rendering of a much


baseball-sized microbot. Actual probe — drawing. smaller probe.
microbots may be much smaller.

10 SERVO 10.2006
Geerhead.qxd 9/5/2006 7:44 PM Page 11

GEERHEAD

Camouflaged probes in an armory.


These drawings are quite interesting
Artist’s rendering of a camouflaged Drawing of a room full of camouflaged considering that I found no mention
baseball-sized probe. probes with a sitting child. of military uses for these probes.

Probe Communications In research, 31 GHz has been optimal.


The bots would also use miniature
U. These fuel cells can generate a lot
of energy for their size at lower power
and Construction phase array antennas. The bots will rates. The energy is stored in the
The probes will navigate both icy also be equipped with miniature data plastic foot mechanism of the bot.
and hot surfaces, sending sampled processors, 4 GB of disk space. The bots need to make about one
data to a lander or spacecraft via low Communications for the hop per minute to accomplish their
power radio waves. The robots would movement of the microbots may be missions. So, the fuel cells can produce
also communicate with each other over accomplished by decentralized systems enough energy for the hopping mech-
makeshift wireless LANs. This will or virtual pheromones (discussed in anism to store data just in time to hop.
enable them to share information another GeerHead). Instead of having The fuel cells are much smaller and
despite their being spread out in caves a central unit of control, the robots more efficient than conventional bat-
and other areas. Their sheer numbers would share control over the team as if teries. Using these cells, the bots can
would make for valid and reliable data moving as a herd. complete the 5,000 jumps necessary
collection. Scientists believe that the bots for their missions, after which the bots
Microbots will be made of trans- could collect and transmit several MBs are obsolete and simply stop moving.
parent polycarbonate balls. The balls of data daily. This requires onboard The fuel cells don’t power the jump-
will be equipped with actuators, fuel data processing. Future computing
tanks, cameras, sensors, and sniffers. capabilities should arrive in time to SENSORS
Microbots will hop, bounce, and more than meet these needs.
roll into position, in that order. Because The microbots will use sensors to
collect geochemical data for analysis.
of its precise weight, the ball will roll They Need Fuel This includes basic chemical data,
into a standing position on its single
geophysical data, geothermal data,
foot after one roll. By using a special hydrogen/
climate data, rock and mineral data,
Communications will be transmit- oxygen micro fuel cell, the bots will be
and organic data. Sensors will also
ted between and through the bots able to hop and take in data for about
detect methane, microbes, organic
back to a lander, which will transfer the a month on an average mission. The molecules, sulfur compounds, and
data to the orbiter or back to Earth. fuel cell concept comes from Stanford water. Sensors will also measure
Microbots will need to use communica- temperature and pressure.
tions for navigation, to determine their Probes in a cave-based armory. Sensors will have uses besides
location relative to each other and to data collection. They will need to use
communicate information about their them to navigate; to determine
surrounding environment to get a their locations and movements.
bigger picture of the landscape. Each They will also use accelerometers and
bot comes equipped with a transceiver gyroscopes.
to accomplish this. The bots will also use panoramic
Surface missions can be accom- imagers — cameras that take a
plished over an area of about 135 panoramic view — to identify sites of
square kilometers. Such missions interest for further investigation. A
require no more than 1,000 bots. For microbot may be capable of carrying
these missions, the bots would com- two imagers so as to provide stereo
municate over higher frequency radio. images.

SERVO 10.2006 11
Geerhead.qxd 9/5/2006 7:46 PM Page 12

GEERHEAD

square miles as a team, all


within 5,000 (number not
distance) expended hops.

Challenges
Microbots may get
trapped where lava has bro-
ken down, trapped between
pieces of lava if they hop into
them. At the same time,
researchers are not certain
Side-by-side images of the probe with its Probes with “headlights” make that the breakdown piles will
foot extended and then retracted. their way through a cave. still exist to such a degree that
they will cause such problems.
ing mechanism alone. They also power meters high and move one meter The microbots may also face
sensors, communications, and micro- horizontally, even under Martian communications challenges in caves.
computers. But, all systems require the gravity (Mars is one of their target Considering factors such as the use of
same or less wattage and none would explorations for these bots). short-range radio and the fact that
be running at the same time. Microbots can dig into uphill and radio waves will be absorbed into the
downhill loose dirt so as to maintain rock of the caves, communications can
It All Adds Up their position. The bots low gravity cen- be muffled or hampered. So, the bots
ter helps it maintain its standing posi- will have to communicate with each
By combining these features, tion against most odds. Even if it rolls other along a LAN made up of
researchers can drive the bots into very over it will end up on its foot — more Microbots, leading out of the cave to
difficult terrain over long distances. talented than a cat, don’t you think? get clear communications from the
Through studies, researchers have The microbots are expected to bots outside the cave to the land
shown that the bots can jump 1.5 spread out to investigate up to 50 vehicle or the orbiter.

Probes on an icy landscape. Illustration of potential probe delivery Hopping probe in icy
methods including a probe lander. environment.

AND MORE SENSORS


Mass spectrometers would
Probe sequencing through a hopping event.
be used for chemical sensing;
these sensors use magnetic
or electric fields to do
their sensing. Some may even
use radiation to create
an electric field. These
spectrometers will need to
disintegrate the sample using
a laser or similar tool and
then absorb the sample for
study. Research is underway
to develop advanced mass
spectrometers for this purpose.

12 SERVO 10.2006
Geerhead.qxd 9/5/2006 7:47 PM Page 13

GEERHEAD STEER WINNING ROBOTS


WITHOUT SERVOS!
To accomplish this, the microbots can be programmed
each to stop at various degrees of entry into the cave. In
this way, the microbots can relay data out of the cave using
2.4 GHz radio waves.

Conclusion
The microbots are not only promising, but likely the
cheapest, most efficient, and accurate means of extraterres-
trial data collection for the future. SV

RESOURCES P erform proportional speed, direction, and steering with


only two Radio/Control channels for vehicles using two
separate brush-type electric motors mounted right and left
Microbots page at MIT
http://robots.mit.edu/projects/microbots/index.html with our mixing RDFR dual speed control. Used in many
successful competitive robots. Single joystick operation: up
Video of probes goes straight ahead, down is reverse. Pure right or left twirls
http://robots.mit.edu/projects/microbots/FSRL_ vehicle as motors turn opposite directions. In between stick
NIAC_2004_2.avi positions completely proportional. Plugs in like a servo to
your Futaba, JR, Hitec, or similar radio. Compatible with gyro
Work behind Microbot probe’s foot steering stabilization. Various volt and amp sizes available.
http://robots.mit.edu/projects/mechatronics/ The RDFR47E 55V 75A per motor unit pictured above.
index.html www.vantec.com

NASA division sponsoring Microbots


Order at
www.niac.usra.edu (888) 929-5055

SERVO 10.2006 13
MrRoboto.qxd 9/7/2006 8:07 PM Page 14

Our resident expert on all things


robotic is merely an Email away.
roboto@servomagazine.com

Tap into the sum of all human knowledge and get your questions answered here!
From software algorithms to material selection, Mr. Roboto strives to meet you
where you are — and what more would you expect from a complex service droid?

by
Pete Miles

Q . Is there an easy way to


change the output from a
sensor with electronics instead
of using a program? I have some of
those Sharp range sensors hooked up
A . For many years, I have won-
dered why many sensors output
a high signal when they don’t
detect anything, and output a low
signal when they do. From a failure
whether a sensor is detecting an object
or not. If you have the available I/O
pins on your microcontroller project,
this is usually an easy thing to do.
However, there are times when this has
to a BASIC Stamp. When the sensor analysis and safety point-of-view, this is to be done with hardware (electronics).
detects an object, my program will turn backwards. You would want the sensor What you are looking for is called a sig-
a red LED on. If I hook up an LED to output a high signal if it detects nal inverter. There are many different
straight to the sensor, it will be on something, that way you will know for approaches you can use to do this, but
when there is no object in front of it, sure that it is has. If the output is low I’ll describe the two I use most in my
and will turn off when it sees an when it detects something, you don’t projects. Keep in mind that this is for
object. I would like to have the LED know if the sensor is actually detecting digital signals, not analog signals.
turn on when it sees an object without something, or if it is broken or defective. The first approach is to use a basic,
having to use the BASIC Stamp. I also have used software to light general-purpose NPN transistor and a
— Jill Verge an LED to provide a visual indication of couple of resistors. Figure 1 shows a
simple schematic using a
Figure 1. Simple transistor-based signal inverter. transistor to invert an
input voltage signal,
+5V along with a couple of
sketches showing how
the output signal is
inverted from the input
R2 470 ohm
signal. For most applica-
tions, this circuit will
SIGNAL OUT work fine for inverting a
digital signal from a
R1 Q1 sensor. But the output
SIGNAL IN R3 470 ohm voltage will always be
1K ohm less than five volts (it will
+V 2N2222
be approximately (Vcc +
2N3904 D1 LED
VF)/2 where Vcc is the
five-volt supply voltage
SIGNAL IN and VF is the LED’s
forward voltage). If
the downstream circuits
(i.e., microcontroller) will
SIGNAL OUT interpret the lower
voltage as a logic 1, then
you will be fine. Most
14 SERVO 10.2006
MrRoboto.qxd 9/7/2006 8:08 PM Page 15

+5V

1 14
SIGNAL IN

2 13
+V SIGNAL OUT

3 12

R1 470 ohm 4 11
SIGNAL IN VLH
VLH
5 10
D1 LED

6 9
+5V
SIGNAL OUT 7 8

Figure 2. Simple hex inverter-based signal inverter.

LEDs have a forward voltage around two will interpret as a logic 0 or a logic 1. The The best place to look to find your
volts, so the output signal will be around voltage threshold is different when the local metals supplier is your phone book.
3.5 volts, and most digital circuits will voltage is transitioning from a low to a I would first look under Aluminum and
interpret this voltage level as a logic 1. high state (VLH), or from a high to a low see if there are any companies that are
The second approach that works state (VHL). This has the advantage that listed that way. Sometimes you will see
quite well is to use hex inverters. Since an analog signal could be conditioned subcategories called Distributors or
the primary purpose of hex inverters is into looking like a digital signal. A similar Wholesalers. These are the places to
to invert digital signals, they are ideal effect can be seen with the transistor contact. If there are no businesses listed
for your application. There are many approach, but if the voltage gets too low, under Aluminum, then look under Steel.
different versions of hex inverters to the output voltage will drop even further. Most companies that sell steel will sell
choose from, such as the 7404, 74C04, Both of these approaches will aluminum or, at the very least, tell you
and 4069, or the Schmitt version of work well at inverting the signals from where you can get it.
the hex inverters such as the 74C14 or your sensors, so when they detect an Here is a hint that will save you
the 4584, just to name a few. In object, they will output a high signal money when working with your local
most cases, it really doesn’t matter and light an LED, then turn off when industrial metal supplier. When you ask
which one of these you choose for this no object is present. them if they have what you are looking
application; they will all work fine. for, ask them if they have any remnants
Figure 2 shows a simple schematic that are large enough to fit your material
using a hex inverter to invert a sensor
signal and displaying the result with an
LED. As you can see, there are fewer
components needed to use a hex
inverter than using the transistor
Q . Where is a good place to get
raw aluminum materials at?

— Mel Forenster
requirements. Remnants are leftover
pieces of material from a previous job.
They are usually odd sized. Though most
companies will sell you the material by
weight, even if the remnants are larger in
approach described previously. With a
single hex inverter, you can invert six
different sensor signals, which will take
up less space than using six transistors
and 12 resistors (not counting the
A . Just about any industrial metals
supplier will have all the
aluminum you would need. They
are not your local hardware or home
improvement store, though some of
size than you need, the money savings
will come in what is called a cut charge.
Cut charges can be very expensive —
sometimes hundreds of dollars — depend-
ing on the tools needed to cut the raw
current limiting resistor and LED pair). them may carry aluminum that would material you need from a larger sheet.
In Figure 1, you should notice that meet your needs. If you are looking for Buying the remnants saves you this
the output signal voltage is constant, but a local source, the Internet is usually not charge, and in many cases, it will save you
always less than the five-volt supply, but the best place to find it. Instead, the money when getting the material.
when you use the hex inverter, the Internet will tell you about metal suppli- Many times when you are buying
output voltage is either five volts or zero ers from around the world. It is difficult a small piece of material, the cut
volts (see Figure 2). Also, there are cer- to filter the search down to businesses charge is greater than the raw material
tain input voltages that the hex inverter that are within driving distance. costs themselves. Keep in mind that
SERVO 10.2006 15
MrRoboto.qxd 9/7/2006 8:08 PM Page 16

like to make it go faster. line quickly if it veered off to the left, or


Right now, the robot has will rotate 180 degrees if it veered off
a tendency to spin to the right. I suspect that your one-
around to find the line sensor robot has the tendency to also
when it drifts off of it, or go the opposite direction from time to
occasionally does a com- time when it loses track of the line.
plete 360 when it comes As with any robot, the more sensor
to a right angle corner. information you can get, the better it can
My robot uses an IR LED respond to its environment. There is a lot
and a phototransistor for of debate in the line-following robot com-
A A A
the line sensor, and I have munity as to the best number of sensors
1 0 0 it placed between the to use. Some say three, others say four,
two wheels of my two- five, or seven individual sensors. And
Figure 3. A one sensor, line-following robot, showing wheeled robot. Is there a then there is even a bigger debate on
how sensor output changes while finding a line. better place to put the what is the best placement for the sen-
sensor, or is there a good sors. The more sensors you have, the less
remnants are leftover material, so they strategy for figuring out which way to critical the exact location of the sensors,
may not be available and you will have turn? Any help would be appreciated. but the best placement really depends on
to pay for the full cut charge. — Rob Holder the type of lines your robot is expected to
If you are willing to mail-order the New York follow. Do the lines have gentle curves,
material, then there are lots of places right angles, change width or colors,
on the Internet that will sell the materi-
al to you. Two places I like to work with
are McMaster Carr (www.mc
master.com) and Metal Supermarkets
(www.metalsupermarkets.com).
A . Robots with a single line sensor
can be made to work quite well,
as you have observed, but there
are some uncertainties that occur when
the sensor loses track of the line. Figure
change from solid to dashed lines, etc.?
The other question depends on put-
ting them at the center of the robot or in
front of the robot. That really depends
on how fast your robot can read the
Though the costs of the raw materials 3 is a simple illustration of a single sen- sensors, process the information, and
at McMaster Carr are usually higher sor being used to tack a line. The red how fast the robot can react. Center of
than local suppliers, they are conven- circle is the sensor, and the black line is the robot body is fine, so is the front of
ient and you can get all of the other the line the sensor is trying to track. This the robot. I have seen some photos of
mechanical hardware you need for illustration is more for people just get- some Japanese line-following robots,
your project. McMaster Carr is the ting started with line-following robots. and they have their sensor arrays several
engineer’s one-stop shopping store. The left side of the figure shows the inches in front of the front wheels.
Metal Supermarkets always seem to sensor centered over the black line. The To give you an idea of how well
have what I need, when I need it. With output of the sensor is assumed to be a multi sensors work, let’s take a look at
over 80 stores nationwide, it is pretty logic 1 (the actual output depends on a simple three sensor approach, shown
easy to go and pick up the material the type of sensor you are using). The in Figure 4. The left side of the figure
yourself to save on shipping charges. center image and the right image show shows the sensors centered on the line.
what happens when the robot drifts off The outputs of the three sensors are
to the left or right side of the line. When shown in the truth table below the

Q . I have a line-following robot


that does a really good job at
following a line, but I would
the sensor moves off the line, the
output changes from a logic 1 state to
a logic 0 state (i.e., On and Off the line).
When the robot
image. You will notice that the two side
sensors are placed slightly forward of
the center sensor. (You’ll see the advan-
tage of this placement later.) With this
Figure 4. A three sensor, line-following robot detects the logic 0 state, configuration, if the robot slowly drifts
showing more position information. it knows it has veered off off to the left or starts turning to the
the line. But as you can left, the output from sensor C is trig-
see, the robot doesn’t gered, which tells the robot that it
know if it is on the left or needs to move/turn back to the right.
right hand side of the Sensor A would be triggered if the
line, because all it knows robot moved/turned/drifted off to the
is that it is getting a logic right. With this configuration, your
0 output from the sen- robot will know exactly which side of
sor. This isn’t necessarily the line it is on if it drifted off-course.
a bad thing. If the logic in Figure 5 shows some different line-
A B C A B C A B C
the robot says to rotate following situations that three sensors
clockwise if it loses track can uniquely identify. The left and center
0 1 0 0 0 1 0 1 1
of the line, it will find the images are right angle line cases. The
16 SERVO 10.2006
MrRoboto.qxd 9/7/2006 8:08 PM Page 17

A B C A B C A B C A B C A B C
0 1 1 0 1 1 1 1 0 1 1 1 0 0 0

Figure 5. A three sensor, line-following robot coming across multiple line configurations.

side sensors will detect the direction of to you how you want to handle this, but types of line situations and placing
the right angle. The advantage of having your robot will know that it is at a T your sensor array over them will help
the side sensors forward of the center intersection or has come to an end of you decide what works well for you. It
sensor is so that the robot can start the the line. I personally like to use the Right is best if you draw them to scale
turning algorithm earlier. The “T” inter- Hand Rule: When in doubt, turn right. because the relative distance between
section and the “End of the Line” config- The sketches you see here in sensors may become limiting factors. If
urations shown in the right two images Figures 4 and 5 should give you an idea the sensors are too far apart, the line
do become a bit confusing. Do you turn how to figure out how many and how could fall between sensors, and the
left or turn right in these cases? It is up to orient them. Drawing up the various robot could get confused again. SV

SERVO 10.2006 17
// castling bonuses A
bi-month

LESSONS
B8 castleRates[]={-40,-35,-30,0,5};

//center weighting array to make pieces prefer column foly


//the center of the board during the rating routine r
B8 center[]={0,0,1,2,3,3,2,1,0,0}; kids!
//directions: orthogonal, diagonal, and left/right
from orthogonal for knight moves

FROM THE
B8 directions[]={-1,1,-10,10,-11,-9,11,9,10,-10,1,-
1};

//direction pointers for each piece (only really for


bishop rook and queen
B8 dirFrom[]={0,0,0,4,0,0};
B8 dirTo[]={0,0,0,8,4,8};

LABORATORY
//Good moves from the current search are stored in
this array
//so we can recognize them while searching and make
sure they are tested first

NXT Robotics: with Brian Davis


First Build by James Isom

T his month, we’re going to


introduce our first NXT based
robot from LEGO robotics guru Brian
we were officially announcing the NXT
robotics product line. There were
robots from various designers, but I
design. Brian was gracious enough
to agree to let me make building
instructions for it and share it with the
Davis. I first saw this chassis last kept finding myself going back to this readers of SERVO. So, I bring you ...
August at NIWeek in Austin, TX where one for its simple, yet functional Jenn Too.

JENN TOO — CHASSIS INSTRUCTIONS


Parts: Parts:
STEP 1: STEP 2:

Parts: Parts:
STEP 3: STEP 4:

18 SERVO 10.2006
STEP 5: STEP 6:
Parts: Parts:

Parts:
STEP 7: STEP 8:
Parts:

Parts:
STEP 9: STEP 10:

Parts:

Parts: Parts:
STEP 11: STEP 12:

SERVO 10.2006 19
JENN TOO — CASTER WHEEL INSTRUCTIONS
Parts: Parts:
STEP 1: STEP 2: STEP 3:
Parts:

STEP 4: STEP 5: STEP 6:


Parts: Parts:

Parts:

JENN TOO — GRAND FINALE

That’s it! You’re all


finished. In the next
issue, we will build and
program Brian Davis’
remote control for Jenn
Too. Until then, happy
building. SV

20 SERVO 10.2006
Oct06NewProd.qxd 9/7/2006 9:19 PM Page 21

New Products

N E W P RO D U C T S
er. Based on
CONSUMER ROBOTS Comfile’s CUBLOC
CB290 PLC-on-a-
chip, CUTOUCH
Biped BRAT CT1720 provides
fast processing
speed, 91 I/O ports,
eight channels of
10-bit A/D, 6 x 16-
bit PWM outputs, and 80 KB of Flash program memory so
you can quickly develop HMI devices for industrial
machines, factory temperature controllers, packing
machines, robots, embedded control, and more.
Implementing a touch screen and controller can often
add up to a lot of time and expense, but CUTOUCH
CT1720 allows you to program working touch-buttons

L ynxmotion introduces the all new Biped BRAT — a


Bipedal Robotic Articulating Transport that costs less
than $200. A full kit including SSC-32 servo controller and
within the first few minutes. If you are thinking about
developing a device that uses a touch screen, CUTOUCH
CT1720 offers a very quick way to get to a finished
Visual Sequencer software is available for less than $300. solution.
The BRAT is a simple six-servo biped walker featuring CUTOUCH CT1720 is programmable in both Basic
three degrees of freedom (DOF) per leg. Even though it and Ladder Logic, allowing fast control, complex math,
only has six servos, it can walk forward, backward, and turn updateable touch-screen graphics, and fast data-
in place with variable speed. It can even get up from lying communication protocols to be easily implemented.
on its front or back. The BRAT can also do acrobatic-style Ladder Logic offers real-time sequential processing and
moves. See the Lynxmotion website for a video gallery. Basic supplies the number- crunching power. Both the
The robot is available with brushed or black anodized real-time processing powers of a MODBUS PLC and the
aluminum servo brackets from Lynxmotion’s Servo Erector 32-bit floating point math, graphic capabilities, and
Set. It is fully compatible with the SES so you can expand communication powers of Basic are now available in
the robot as your skill level and/or budget allows. Getting one product.
the robot moving with the Visual Sequencer is easy CUTOUCH CT1720 has 82 I/O ports, and can be
because there are 10 sample routines included. The pow- expanded with add-on boards to suit almost any situation
erful database-driven program supports importing and (wireless, relay outputs, etc.). Using an optional XPORT
exporting projects, so you can share your cool moves with Internet module, TCP or UDP packets can be monitored
other users. The program exports Basic Atom and BS2 through the Internet from anywhere, allowing users to
code for autonomous operation. update or provide customer service for products located
For further information, please contact: anywhere in the world.
With CUTOUCH CT1720, Basic can be used to
Lynxmotion Website: www.lynxmotion.com
draw graphics and print characters to the LCD and
receive touch-screen input. Sensor signals enter through
I/O or A/D lines, allowing you to turn relays on/off,
output analog values, or send RS232 communication
CONTROLLERS & PROCESSORS very easily compared with traditional non-Basic
controllers.
CUTOUCH CT1720 has 28KB for data memory, RTC,
CUTOUCH CT1720 Quick-Start and one of the two RS232 serial ports can be used
Touch-Panel Controller for download and debug. An internal battery provides
safe data backup. MODBUS support (Slave, ASCII) is also

C UTOUCH CT1720 is an integration of a Touch panel,


graphic LCD, and programmable embedded comput-
provided.
The CUTOUCH CT1720 Starter Kit is available now

SERVO 10.2006 21
Oct06NewProd.qxd 9/7/2006 9:20 PM Page 22

New Products

from $362 from stock.


For further information, please contact: MOTOR CONTROLLERS
1•888•7SAELIG Fax: 585•385•1768
Saelig Email: info@saelig.com New Closed-Loop Dual Motor
Company, Inc. Website: www.saelig.com
Control System

MECHANICS
E mbedded Electronics,
LLC of Philomath, OR
has announced a new
feature-rich Dual Motor
Controller (“Dalf”). The
Get Your Ball Bearings! board interfaces with

B oca Bearings announces


their new expanded
range of Full Ceramic and
standard motor drives expecting Signed Magnitude PWM
control signals and provides both open and closed loop
control of brushed PMDC motors.
Ceramic Hybrid ball bearings. Closed-loop features include robust PID and
Ceramic bearings are made Trapezoidal Generator firmware to ensure smooth position
of a highly manufactured and velocity control. Closed-loop feedback is via standard
ceramic, similar to the heat quadrature incremental encoders. Support for PID Motor
absorbing, super resilient Tuning to optimize system response is provided via data
tiles on the Space Shuttle. Ceramic is the perfect material capture using the Step Response command. Open-loop
for any application seeking to achieve higher RPMs, reduce control is supported by two R/C (standard 1.5 ms centered
overall weight, or for extremely harsh environments where pulse) modes on three channels along with two analog
high temperatures and corrosive substances are present. voltage control (Pot) modes (two channels). Adjustable
Ceramic silicon nitride balls, for example, exhibit much slew rate controls provide smooth velocity transitions for
greater hardness than steel balls resulting in at least 10 both open- and closed-loop operations.
times greater ball life due to the ability to hold the surface Three separate serial command/monitor interfaces
finish longer. The ball has dramatically smoother surface (Terminal Emulator, binary Application Programming
properties than the best steel balls, resulting in less friction Interface (API), and I2C) support off-board communication
between the balls and bearing race surfaces. Thermal and control of all open- and closed-loop features. The
properties are also dramatically improved over steel balls, serial interfaces are functional in all operating modes,
resulting in less heat build-up at high speeds. Ceramic has including the R/C and POT modes. A Windows GUI using
35 percent less thermal expansion, 50 percent less thermal the API is under development.
conductivity, are lighter weight, and are non-corrosive. Motor and electronic protection is provided in
Similarly, the inner and outer races of anti-friction hardware and firmware with support for current limiting
bearings often become frosted, fluted, or can get a using off-board, Hall-type, current sensors.
corrugated pattern imprinted on them. These are not The board utilizes the PIC18F6722 microcontroller
mechanical scars but are due to electromagnetic forces running at 40 MHz and supports additional code develop-
and can lead to bearing failure. They are usually found in ment using standard Microchip tools and the six-pin mod-
modern systems that routinely feature pulse-modulated, ular ICD programming connector. The firmware features —
adjustable-speed motors and inverters with high switching implemented with a mix of C language and PIC Assembler
frequencies and short rise times. The best solution — are interrupt driven for efficiency. A parameter block in
substitutes ceramic hybrid bearings for the more tradition- non-volatile memory provides storage for motor parame-
al, chrome steel counterparts to eliminate scarring and ters, operating mode, and other power-up settings.
also to run cooler due to less micro-weld adhesion. The C language source including the main loop and
Suitable applications include cryopumps, medical services requested by the interrupt handlers is provided. A
devices, semiconductors, machine tools, turbine flow meters, library of functions, callable from C, provides easy access
food processing equipment, robotics, and optics. The Boca to all on-board devices from user written code. There is
Bearing Company stocks a full range of ceramic balls, ample headroom for custom or extended applications
ceramic hybrid bearings, and full ceramic bearings. With over with lots of unused memory (FLASH, RAM, and EEPROM)
2,500 different bearing sizes and well over two million bear- and processor cycles. Extensive I/O connections are
ings in stock, Boca Bearings offers a large stock of replace- provided including 32 GPIOs from I/O expanders, as well
ment bearings for all industrial and specialty applications. as digital, analog, and interrupt capable pins all routed
For further information, please contact: to connectors for off-board use. A serial boot-loader is
Tel: 800•332•3256
supported for in-application code upgrades without need
Boca Email: clara@bocabearings.com for an ICD programmer.
Bearings Website: www.bocabearings.com Extensive documentation is available for download

22 SERVO 10.2006
Oct06NewProd.qxd 9/7/2006 9:20 PM Page 23

New Products

including an Owner’s Manual, a Getting Started Manual, and a 1.1 amp dual H-bridge module, extra level capabili-
and specifications for the serial command interfaces from ty for expansion, a 7.2V NiCad battery, and an OOBoard™
the Embedded Controller website. educational development board as its brain. The Rogue
Available now, units may be purchased from the ATR ERS is made from the same laser cut, powder coated
Robot Power website (www.robotpower.com). Price is aluminum as the popular Rogue Blue robot base.
$250 each in single quantities. Volume and reseller The Rogue ATR ERS is bundled with a curriculum text
discounts available. full of experiments, a parts kit, and a plastic storage box
For further information, please contact: to house the fully assembled robot neatly in a classroom
Tel: 541•929•9553
or under your workbench.
Embedded Email: support@embeddedelectronics.net The feature-packed OOBoard, embedding the
Electronics LLC Website: www.embeddedelectronics.net OOPIC® object-oriented processor, which can be
programmed in C, Java™, or Basic syntaxes, powers the
Rogue ATR ERS. The kit includes a CD-ROM that contains
the programming editor for the OOBoard, as well as
ROBOT KITS samples and curriculum materials.
The Rogue ATR ERS is “the SUV of Educational
Robots,” says Brett Hagman, Vice-President of Rogue
Take Education Off-Road Robotics. “No longer are small obstacles, uneven floors, or

R ogue Robotics introduces the new Rogue ATR ERS™


(ATR — All Terrain Robot, ERS — Educational Robotics
System) robot kit. This system is the first of its kind for
cables barriers for your robotics experiments.”
The Rogue ATR ERS robot kit sells for US$324.95 and
the OOBoard sells for US$119.
high school classrooms and hobbyists, providing robotics, For further information, please contact:
electronics, and object-oriented programming in one 103 Sarah Ashbridge Ave.
system, while offering unparalleled all-terrain mobility. Rogue Toronto, ONT M4L 3Y1
Robotics CANADA
Rogue ATR ERS features an eight-inch base with 416•707•3745 Fax: 416•238•7054
rubber tracks, Rogue’s universal sensor mount system, Email: info@roguerobotics.com
dual DC gear motors, extra level capability for expansion, Website: www.roguerobotics.com

MOTION
MOTION CONTROL MIND
IN THE PALM OF YOUR HAND
DC MOTOR CONTROLLER
6VDC-36VDC MOTORS POSITION CONTROL
25A PEAK 9A CONTINUOUS VELOCITY CONTROL
ANALOG CONTROL LIMIT SWITCHES
BUTTON CONTROL ENCODER INTERFACE
R/C PULSE CONTROL RS232 OR TTL COMMUNICATION
SERIAL CONTROL ASCII OR BINARY PROTOCOL

3
Solutions 3.6” x 2.4” $75/UNIT
SOLUTIONS CUBED PHONE 530-891-8045 WWW.MOTION-MIND.COM

SERVO 10.2006 23
Events.qxd 9/8/2006 2:29 PM Page 24

Send updates, new listings, corrections, complaints, and suggestions to: steve@ncc.com or FAX 972-404-0269

Know of any robot competitions I've missed? Is your www.dprg.org/competitions


local school or robot group planning a contest? Send an
email to steve@ncc.com and tell me about it. Be sure to 18-19 Eastern Canadian Robot Games
include the date and location of your contest. If you have a Ontario Science Centre, Ontario, Canada
website with contest info, send along the URL as well, so we Multiple events including fire-fighting robots,
can tell everyone else about it sumo, BEAM photovore, BEAM solaroller, a walker
For last-minute updates and changes, you can always triathalon, and art robots.
find the most recent version of the Robot Competition FAQ www.robotgames.ca
at Robots.net: http://robots.net/rcfaq.html
24-25 Hawaii Underwater Robot Challenge
— R. Steven Rainwater Seafloor Mapping Lab, University of Hawaii,
Manoa, HI
O c tober ROVs built by university and high-school students
compete in this event, which is part of the MATE
14 Robot-Liga (Marine Advanced Technology Education) series of
Kaiserlauter, Germany contests.
Includes mini sumo, line search, labyrinth, master www.mpcfaculty.net/jill_zande/HURC_
labyrinth, robot volley, and robot ball. contest.htm
www.robotliga.de
24-26 All Japan MicroMouse Contest
17-20 Russian Olympiad of Robots Nagai City, Yamagata, Japan
Moscow, Russia Includes Micromouse, Micromouse Expert level,
A wide range of events for autonomous and and Micro Clipper events.
remote-controlled robots including fire-fighting, www.robomedia.org/directory/jp/game/mm_
line-following, cross-country racing, RoboCup japan.html
soccer, vacuum cleaning, and combat.
http://intronics.bogorodsk.ru
December
20 Elevator:2010 Climber Competition
Las Cruces, NM 1-2 Texas BEST Competition
Autonomous climber robot must ascend a 60 meter Moody Coliseum, SMU, Dallas, TX
scale model of a space elevator using power from a Students and corporate sponsors build robots from
10 kW Xenon search light at the base. standardized kits and compete in a challenge that
www.elevator2010.org/site/competition.html changes each year.
www.texasbest.org
27-29 Critter Crunch
Four Points Sheraton Hotel, Denver, CO 2 LVBots Challenge
Held in conjunction with MileHiCon. See robot Advanced Technologies Academy High School,
combat by the folks who invented robot combat Las Vegas, NV
competitions. Line-following, line maze solving, and mini sumo;
www.milehicon.org all for autonomous robots.
www.lvbots.org

N ov e m b e r 8-9 South’s BEST Competition


Beard-Eaves Memorial Coliseum, Auburn
18 DPRG RoboRama University, Auburn, AL
The Science Place, Dallas, TX Regional BEST teams from multiple states compete
Events include Quick-Trip, line-following, wall- in this regional championship.
following, T-Time, and Can-Can. www.southsbest.org

24 SERVO 10.2006
Page 25.qxd 9/8/2006 2:27 PM Page 25

TidBOTs Extreme Robot Speed Control!


6 14V - 50V
6 Dual 80A H-bridges 150A+ Peak!
6 Adjustable current limiting
6 Adjustable speed slew rate
6 Temperature limiting
6 Three R/C inputs - serial option
6 Many mixing options
6 Flipped Bot Input
6 Rugged extruded Aluminum case
6 4.25" x 3.23" x 1.1” - Only 365g
$399

$29.99 $79.99 $119.99


Scorpion Mini Scorpion HX Scorpion XL
6 2.5A (6A pk) H-bridge 6 Dual 2.5A (6A pk) H-bridges
6 6 Dual 13A H-bridge 45A Peak!
5V - 18V 6 Plus 12A fwd-only channel
6 1.25“ x 0.5” x 0.25” 6 5V - 18V 6 5V - 24V
6 6 2.7“ x 1.6” x 0.5”
6
Get ready for a real treat — the McMaster-
Control like a servo 1.6“ x 1.6” x 0.5”
6 6 Three R/C inputs - serial option
Optional screw term. 6 Four R/C inputs
6 6 Mixing, Flipped Bot Input
6
Carr online catalog is a great source for all
Only 5.5g Mixing, Flipped Bot Input
6 Only 28g
6 Only 22g

sorts of stuff. Although it is a bit wordy. OSMC - Monster Power H-bridge


6 14V - 50V and 160A over 400A peak!

A Monster Catalog $199 6


6
6
3.15“ x 4.5” x 1.5”
Control with Stamp or other Micro
3 wire interface

A re you looking for a bellows? How about some 6 R/C interface available

welding equipment? Or, an air cylinder, roller chain MADE IN


All Robot Power electronic
sprockets, woven wire cloth, and piston plunger? These
products are proudly
items and over 435,000 others can be found “inside” the THE USA

McMaster-Carr website online catalog (www.


mcmaster.com). Forget about those conventional paper Introducing Dalf
catalogs that waste your bookshelf space! The McMaster- Advanced dual motor
Carr digital catalog is quick, easy, and powerful. Granted, drive with closed-loop
it does look daunting in its opening screen, but there is a control functions
search feature if you need to use it. For me, half the fun
is drilling down through the product lists looking for a Only $250
needed product. Naturally, my final order is littered Embedded Electronics, LLC along with our exclusive reseller Robot Power are
with a lot of other “stuff” that was found through pure proud to introduce a feature rich, customizable Dual Motor Controller: Dalf.
serendipity. Ya gotta love that serendipity! Designed to work out of the box or to host your application specific code; Dalf
makes it simple to create a complete turn-key “brain” for your application with
full-closed-loop motion control. Just take a look at these features!
Motion Control Functions Application Support
Roomba Humor Drives all sign-magnitude brushed DC motor
drives such as the OSMC
6 PIC18F6722 CPU running at 40MHz
6 60k+ FLASH available
6 Serial bootloader, no programmer needed
6 Serial command/monitor in both terminal

I
Closed-Loop Features
came across a podcast from “The Onion” website 6 Closed-loop control of two motors and high-speed binary API mode
6 Full PID position loop 6 I2C slave command interface
(www.theonion.com/content/node/51389) that 6 Trapezoidal path generator 6 Firmware implented in C andASM
6 Adjustable slew rate for smooth transitions 6 C source for main loop and utility routines
might give you stuffy robot experimenters a chuckle. 6 Non-volatile storage of PID parameters provided free
Apparently a Roomba has been secretly collecting 6 Step-Response PID motor tuning support 6 Linkable device driver function library
6 Quadrature encoder support for each motor provided for building custom applications
evidence for use against its human captor. I only wish that 6 Terminal mode for interactive tuning and 6 Extensive documentation with Owner’s
debugging Manual and Getting Started Manual
the recorded Roomba “interview” had featured the 6 Windows GUI under development provided on CD
robotic floor vacuum system’s warning “chime” rather than Open-Loop Features
6 Custom code development services
available (contact EE)
the sucking noise from a conventional vac. SV 6 Two R/C command modes (3 input
channels)
6 Two open-loop pot control modes
I/O Connections
6 Two RS-232 serial ports
The SERVO Magazine
6 Interactive terminal control of motors
6 Adjustable slew rate 6 36 GPIO
6 I2C master and slave ports (2 ports)

Online Store For more Dalf information visit


6 Two motor drive outputs
6 Two quadrature encoder inputs
6 Two Hall-effect current sensors inputs
Not sure where to find your favorite robotics www.embeddedelectronics.net 6 Six 10-bit A/D
6 Two channels of cooling fan control
books? Like what you see in the pages of the 6 Standard ICD connector

SERVO Store in the magazine? Then check out Also from Robot Power
the SERVO Online Store. It’s packed with all your Kits, parts, schematics
favorite books, kits, and SERVO merchandise. Planetary gearmotors
www.robotpower.com
Visit www.servomagazine.com TODAY! Phone: 253-843-2504  sales@robotpower.com

SERVO 10.2006 25
Showcase-MenagerieOct06.qxd 9/7/2006 8:13 PM Page 26

7KH(VFDSH
5RERW¶VEXLOWLQ
PLFURSURFHVVRU
HQDEOHVLWWR
³WKLQN´RQLWVRZQ

G 
.65 

LUH QJ
TX U L
UH ROGH
6
7KHURERWIURJPRYHVIRUZDUG
ZKHQLWGHWHFWVVRXQGDQG THOUSANDS OF ELECTRONIC
UHSHDWVVWDUW PRYHIRUZDUG !
VWRS!OHIWWXUQ!VWRS!ULJKW
PA R T S A N D S U P P L I E S
WXUQ!VWRS .65  VISIT OUR ONLINE STORE AT
PP:KLWH www.allelectronics.com
ZDWHUFOHDU
/('9 WALL TRANSFORMERS, ALARMS,
PFG FUSES, CABLE TIES, RELAYS, OPTO
$%  ELECTRONICS, KNOBS, VIDEO
 ACCESSORIES, SIRENS, SOLDER
VHFRQGYRLFHUHFRUGHUSOD\EDFN ACCESSORIES, MOTORS, DIODES,
PRGXOH7KHHOHFWUHWPLFURSKRQHLVRQWKH HEAT SINKS, CAPACITORS, CHOKES,
ERDUG2QHEXWWRQUHFRUGVWKHRWKHUEXWWRQLV TOOLS, FASTENERS, TERMINAL
PRPHQWDULO\SUHVVHGWRUHSOD\WKHPHVVDJH STRIPS, CRIMP CONNECTORS,
SUHDVVHPEOHG  $  L.E.D.S., DISPLAYS, FANS, BREAD-
7KH9HOOHPDQ3HUVRQDO6FRSH BOARDS, RESISTORS, SOLAR CELLS,
LVQRWDJUDSKLFDOPXOWLPHWHU BUZZERS, BATTERIES, MAGNETS,
EXWDFRPSOHWHSRUWDEOH CAMERAS, DC-DC CONVERTERS,
RVFLOORVFRSHDWWKHVL]HDQG HEADPHONES, LAMPS, PANEL
FRVWRIDJRRGPXOWLPHWHU METERS, SWITCHES, SPEAKERS,
+36  PELTIER DEVICES, and much more....
QGV
7KRXVD
L WH P VRQ
PRUH O R D E R TO L L F R E E
E LWH
V
RXUZH
1-800-826-5432
Ask for our FREE 96 page catalog

Robotics Showcase
8lÛCYkl›ÛCgoÛ[gklÛ
]f[g\]jkÛ^gjÛ
eglgjkÛ¬Ûk]jngk›

N`]]dNYl[`]j KD

ÝÛ <YkqÛafklYddYlagf
ÝÛ Dg\]dkÛ[gehYlaZd]Ûoal`Û=mlYZY•Û
>NJ•Û?al][Û¬Û?gZZa[gÛk]jngkÛ
Yf\ÛeYfqÛJgdYjZgla[kÛeglgjk
ÝÛ Lk]kÛklYf\Yj\Ûo`]]dk
ÝÛ ;]Y\Ûj][cgfaf_•Ûg\ge]ljq•ÛklYddÛ
\]l][lagf•Û[dgk]\¤dgghÛ[gfljgd
KD

ooofmZgla[k[ge
26 SERVO 10.2006
Showcase-MenagerieOct06.qxd 9/7/2006 8:15 PM Page 27

Builder’s Name: Francisco C. Oliver


Rivera
Significant Robot Building Milestone:
Select the motor power for the different
arm positions. Inverse kinematics.
Robot’s Name: None yet.
Robot’s Reach: 800 mm (31.7”)
Robot’s Weight: 20 Kg (44 lb.)
Significant Robot Living Milestone:
Successful test with only nine months for
design and building. I get an “A” in my
Engineering Deg.

Additional info:

Reach 600 mm (23.7”)


Payload 0.5 Kg (2.7 lb.)
Degrees of freedom 6
Speed 0 to 0.2 m/s (0 to 0.008”/s)
Accuracy ±3 mm (0.12”)
Motors Six stepper motors (200 steps per turn)
Brain SAB80C537
Stepper motor controller L297
Dual full-bridge driver L298

My email kicoymaria@hotmail.com

SERVO 10.2006 27
CombatZone.qxd 9/5/2006 7:49 PM Page 28

Featured This Month


Participation
28 Battery Safety 101
by Michael Rogers

29 Pit Repairs by Wendy Maxham

Feature
31 Sharpening the Sword —
Evolution of a Combat Robot
PARTICIPATI N
by Russ Barrow Battery Safety 101
● by Michael Rogers
Events
34 Results — July 11-August 14
38 Upcoming — Oct. and Nov.
L ithium manganese, nickel-
cadmium, nickel metal
hydride, sealed lead acid; like food
is to use extra caution when using
particularly energy-dense cells —
such as lithium polymer batteries
to a human body, batteries are the — which are notoriously fragile
Technical Knowledge energy source that combat robots
are powered by. Batteries typically
and can be highly explosive.
First, wiring up your robot in a
35 Gyro Usage in Combat discharge stored energy to power safe and organized manner will
Robotics by Eric Scott a load, such as a motor. However, not only help prevent shorts, but it
in certain situations — such as a will also make general robot main-
Product Review dead short where the battery is tenance easier; this includes using
essentially discharged instanta- proper gauge wire for your appli-
37 NPC T-64 Gearmotor neously — a battery can ignite and cation and using two distinct wire
by Michael “Fuzzy” Mauldin
release toxic gases. Needless to colors to clearly distinguish your
say, there’s no need to tremble positive and negative connections.
every time you see a battery In addition, make sure that all
because of its explosive poten- your connections are covered with
tial. In this article, I will cover either shrink wrap or electrical
the finer points of proper tape. After you have completed
battery safety in order to keep your wiring, double and triple
you safe and your batteries
When charged incorrectly, LiPoly
performing optimally. batteries can produce a spectacular
The three main safety (and dangerous) display.
topics for batteries concern:
wiring, charging, and
storing. Although the
utmost care should always
be taken when dealing
with all types of batteries, I
can’t stress how important it

28 SERVO 10.2006
CombatZone.qxd 9/5/2006 7:49 PM Page 29

Some teams have custom charger setups to A safe charging setup for LiPoly batteries, These packs show the damage caused
reduce workbench clutter and setup time at using a glass container on a plastic table. by excessive discharge current.
events. Photo courtesy of Killerbotics. Photo courtesy of Team Hammer Bros. Photo courtesy of Team Mad Cow.

check all your connections to check use a fireproof LiPoly charging bag process and are perhaps ready to
for any possible short circuits. which can contain a full-on LiPoly store your batteries, make sure to
Once you’re finished wiring and pack meltdown and protect your place them in a cool, dry location.
have carefully checked everything surroundings from nasty fires. Sealed lead acid batteries should be
over a few times, you’re ready to You might think of battery fully charged when stored, where
charge your batteries. It’s best for charging as something where you nickel and lithium based cells should
your battery’s life span to trickle “set it and forget it,” however, it’s be stored with a 40%-50% charge.
charge your batteries over a long very important that you always keep Ultimately, this article is only a
period of time at a lower amperage. a close eye on your batteries and short blurb on battery safety that
As a rule-of-thumb, you can charge make sure you know when they should provide sufficient information
your batteries at the amperage that peak. Believe it or not, you can over- to allow proper basic battery use,
your batteries are rated to discharge. charge your battery packs which can however, battery distributors such as
For example, you can charge a 2,000 lead to a release of hydrogen gas. www.robotpower.com can provide
mAh (2 Ah) pack at 2.0 amperes. I Once you’ve (hopefully) had a you with more in-depth information
would highly recommend that you successful foray into the competition on battery safety. SV

Pit Repairs
● by Wendy Maxham

P it repair begins in the design


process. Whether you design
your robot on the computer or by
tools and replacement parts you
need in the pits.
Once you leave the arena, go to
see if your fight can be postponed.
Understand that event timing might
not allow for a postponement. In
laying out the parts in a tape outline, your pit table and get started with that case, you have two options:
think about which parts will need to your maintenance or repairs. All forfeit you next fight or dig in and
be accessed. Batteries are a prime competitions guarantee a minimum make what repairs you can.
example: If you plan to remove your time period between fights, usually After you’ve made the decision
batteries between fights (best bet if 30-45 minutes. In the early rounds of to make the repairs, prioritize what
you use Nicad or NiHM, not as neces- a competition, you could have all day needs to be done.
sary for SLAs), then make sure they to make repairs, but you should still
aren’t buried inside the bot. Even if get started immediately. When you ● #1 Batteries — Get them charging
you plan to charge your batteries open up your robot after a fight, you — or better yet, have a backup set
without removing them from the might find other maintenance issues
bot, remember that batteries don’t you need to take care of: loose nuts, PHOTO 1. Devil’s Plunger
as it’s supposed to work.
like to be charged while hot. You can broken speed controller fans, and
use a fan to cool the batteries, but if loose wiring.
they are buried deep inside your bot, If you know you have a lot of
the fan might not provide enough repairs to make, have someone
cooling to allow a full recharge. check the fight schedule to see when
Hardware is an important design your next match is supposed to be. If
decision too. Minimizing the types you are unsure if you can make all
and sizes of bolts and screws in your the necessary repairs in this time
bot will also minimize the number of frame, talk to the fight scheduler to

SERVO 10.2006 29
CombatZone.qxd 9/5/2006 7:51 PM Page 30

train during repairs, get the frequen- robots, so we used a spinner


cy clip (if possible) in order to test the defense wedge. In the first fight, the
drive before your next fight. spinner defense wedge held up well
against horizontal bar spinner Last
● #3 Weapon — It’s usually best to Rites. Round two pitted DP against
go into a match with your weapon full-body spinner Megabyte.
working, but one thing to consider: Megabyte kicked Devil’s Plunger all
Will your repairs likely hold up in around the arena for two minutes,
battle? If not, you might think about ripping off the spinner defense
removing the weapon before a wedge, as well as all eight wheels,
fight or go into the fight without it including one that was still attached
PHOTO 2. Megabyte dismantles Devil’s Plunger.
working. When you start a fight with to the corner of DP (see Photo 2).
already charged. Don’t forget the your weapon working then it stops From the flashes of flame and smoke
transmitter and receiver batteries (if working, the judges’ view this as pouring out of DP, we knew there
you don’t have a battery elimination damage to the bot caused by the were some internal issues to deal
circuit or BEC). We almost lost a fight fight. Since most competitions award with, too.
once when the transmitter started more points for damage, putting a When we got back to the pits,
beeping a low battery warning. marginal weapon in the arena can DP looked pretty hopeless (see
cost you points in a fight. Photo 3). The front right corner was
● #2 Drive Train — Mobility is essen- missing (which included a wheel
tial. Do what it takes to make your ● #4 Cosmetics — Check the sched- mount and one side of the wedge
bot mobile again. Start with the ule again to see when your next mount), one motor was seized up,
basics of getting the wheels turning fight is (if the scheduler isn’t already two speed controllers were fried,
(replacing motors, ESCs, broken standing over your shoulder calling several sprockets broken, bearings
chains/belt, blown out bearings). you into line). If you still have time, blown out, remaining axles bent or
Then you can determine if you want you can take your bot to the damaged, radio box shattered, and
to move on to #3 before repairing designated grinding area and grind/ antenna wire cut. We figured DP
things like slightly bent axles. You sand down sharp spots, straighten was out of the competition and
would replace a bent axle if you also bent armor, sharpen wedges, etc. permanently retired!
have to replace a blown bearing or After we got back from fighting
broken sprocket, but consider leaving If you need help with repairs, ask our other robot Sewer Snake, we
a bent axle if it still turns okay and around the pits. Many builders reassessed Devil’s Plunger and
you still need to make other critical (sometimes even your next oppo- thought maybe it could come back
repairs. If you had to rewire the drive nent) are more than happy to help for one more fight with the
PHOTO 3. The winner and the pile of parts. Photo
get a bot ready to fight. That being flamethrower wedge. We checked
courtesy of Michael Mauldin, Team Toad. said, it’s also okay to refuse help. with the fight scheduler Marc and he
said DP’s next fight would have to
A Tale From the Pits take place that evening. Worst case
scenario — we had about three hours
At RoboGames 2006, we decid- to get DP running again.
ed to fight our MW Devil’s Plunger First task was to get all of the
as a Heavyweight since the new broken parts out of the robot and
flamethrower wedge put DP at make sure we had replacements. I
about 140 pounds. DP’s first two started stripping DP down while
fights were against nasty spinning Matt assembled the part necessary

PHOTO 4. Repaired and ready to roll. PHOTO 5. Devil’s Plunger vs. Full Smash.
Photo courtesy of Felipe Scofano,
Team Riobotz.

30 SERVO 10.2006
CombatZone.qxd 9/5/2006 7:51 PM Page 31

for the rebuild. Working quickly but from the bot while maneuvering
methodically over the next few around the arena. Cherry Box
hours, we replaced the motor, speed About 3-1/2 hours after we Watch out for sharp spots on
controllers, bearings, sprockets axles, started repairs, DP was ready to fight your robot that may not have been
and chains. Since we replaced two (see Photo 4). Cosmetically, there there before the fight. Even though
speed controllers, we had to test the wasn’t much we could do for Devil’s you’re familiar with your bot and its
drive to make sure the motors were Plunger. Bright red duct tape covered normal sharp points, new sharp
wired correctly. Amazingly enough, the hole in the right front where spots are created during combat.
DP fired up and the wheels actually one wheel used to be. One thing we
turned the right direction! hadn’t considered during the repairs team RioBotz said she felt like crying
With the drive train back in became evident as Matt went when Devil’s Plunger was dismantled
working order, we turned our atten- through the start-up sequence by Megabyte. I, on the other hand,
tion to the weapon. Usually DP’s before the fight. was much closer to tears as we left
wedge mounts between the two Matt stuck the Allen wrench the arena after the Full Smash fight
front shoulders. With one shoulder through the receiver switch hole, to a standing ovation from the
gone, Matt had to get creative. He forgetting the receiver switch wasn’t audience and builders. It’s difficult to
used an old Sewer Snake weapon in the same place since Megabyte beat the feeling of putting a pile of
shaft that had large washers and destroyed the receiver box. Matt had pieces back together into a working
nuts on the end to capture the to work his way through the duct machine against the odds. Part of
wedge on the remaining shoulder. tape to find the receiver switch. Not the challenge in robot combat is
Then using nylon truck tie-downs, only did DP make it back into the getting a bot to an event, the other
Matt strapped the free-floating side arena that night, he won the fight part is keeping it going at the event.
of the shaft to the bot. This helped against Full Smash (see Photo 5)! That’s what this sport is all about —
keep the wedge from pulling away One member of the Brazilian build, fight, repair, repeat. SV

SHARPENING THE SW RD
Evolution of a Combat Robot
● by Russ Barrow

T he sharpest sword is the sword


sharpened most often. Combat
robotics is an excellent venue for
design successful, the design was
able to be improved to overcome my
often poor execution. In 2005, Dark
competitor. So for the next few
fights of the event, I reversed the
direction of the weapon and drove
demonstrating building design and Pounder was able to achieve the it backwards with the low wedge
execution. The sheer competitive highest honor or a #1 ranking in the getting under the other bots and
environment and consequence of Ant class of Robotic combat. The bot flipping them.
competing enforces determined was also elected to the Robot Version 1 was made of thin
dedication. Combat Hall of Fame with an galvanized sheet metal (found in any
I have been building and Honorable Mention. hardware store) and giant block of
competing with combat robots for 1/2” aluminum for a weapon and
almost five years. I have built many Dark Pounder a chain drive. It was made mostly
robots and tried various designs. Version 1 of copier machine parts. The copier
Some worked, some died (some-
times in spectacular fashion). The Dark Pounder began life in Dark Pounder 1 featured
an aluminum blade and
ones that worked provided the January of 2003. The design is sheet metal armor.
positive reinforcement to continue classified as a vertical spinner with
evolving the design. The following is the weapon disk or blade spinning
the build evolution of one of my first upwards, facing the opponent.
combat robots in the Ant or Pounder was a very different looking
one-pound combat class. The Robot bot; I refer to it as a very fortunate
is fittingly called Dark Pounder. mistake. The step side of the wedge
For the work I have done with was meant for attack, but in its first
Dark Pounder, not only was the match, I could not get a bite on the

SERVO 10.2006 31
CombatZone.qxd 9/5/2006 7:52 PM Page 32

Dark Pounder 3 featured Version 4 upgraded to titanium armor.


magnetic wheels and
aluminum armor.

Dark Pounder 2 in action


during a SWARC event.

donated bearings, shafts, gears, and eyes had been opened to ring mag- voltage and lower weight than the
chains. I used two RC servo controller nets for drive wheels. Perhaps a new NiCad batteries, while maintaining
boards to control the two 16 mm design using magnets was in order. the same capacity.
drive gear motors. I ran six NiCd cells Dark Pounder was virtually invul-
to a Speed 280BB RC airplane motor. Dark Pounder nerable on steel, and one of many
The bot was a winner right out Version 3 reasons arenas moved to non-ferrous
of the gate, compiling an 11-0 floors (such as wood, stainless steel,
record, but the competition was Other competitors had used and aluminum). This version of
closing in. This bot was rebuilt after magnets on the steel arena floor, but Pounder went 20-3 from October
two competitions because it was unknown to me was how powerful 2003 to September 2004. Two losses
very slow and non-invertible. It was magnets had gotten. The magnetic on a non-wood arena floor eventual-
parted out in June 2003 — after a force-to-weight ratio was dramatical- ly revealed that the aluminum frame
mere six months of life. ly better than common speaker was not strong enough for the
magnets. So, how do you defeat vastly improved competition. Maybe
Dark Pounder another robot that is basically glued titanium would work better ...
Version 2 to the floor? Well, a very sloped
wedge would work nicely. Dark Pounder
The aluminum block on version To make a gradually sloping Version 4
1 was limited to about 6,000 RPM wedge would require some changes,
due to poor aerodynamics, so a the biggest one being the size of the Some lessons are more difficult
blade would make more sense. In blade. I hated giving up blade length, to learn; this was the case for
addition, a thinner spinning weapon since it would seem a bigger blade Pounder version 4. Pounder 3 was a
would concentrate the weapon would deliver more energy. However, successful bot, but after a year of
energy and add a cutting effect. I I can spin a smaller blade faster, and minor improvements, a rules
chose a 5” length of 1/8” stainless even with less mass, deliver a more change had impacted the design.
steel. The blade appeared to spin a energetic hit (Energy = 1/2Mass x Unfortunately, I did not fix the prob-
bit faster, but the stainless steel was Velocity2). I targeted to spin the lem but tried to solve the effect.
substantially heavier than the blade at about 12,000 RPM. The Without magnets, other wedges
aluminum block. Since the blade was shell was made from one piece of managed to get under it. A stronger
so heavy, I used a super thin stainless aluminum, vise formed, to offset the frame just made the bot more surviv-
spring steel I found at a local surplus additional weight of the magnet able, but did not solve the problem
store for armor. Who needs strong wheels. I used paper CAD to work that I had to get under my opponent
armor when you have an aggressive out the angles. to deliver the weapon. Version 4 was
weapon ... This design lasted for almost a nearly identical to version 3, but the
Well, another competitor arrived year, and included improvements to AL skin was replaced with titanium.
with rare Earth ring magnets on all the weapon drive and batteries. The In competition, the shell certain-
four wheels. His robot attached itself chain weapon drive was simply too ly could take some punishment, but
to the metal arena floor with over 16 slow, so I used a small rubber O-ring delivering the weapon became more
pounds of effective weight. He came and some small belt pulleys from the difficult. Version 4 failed because
at me and I kept hitting him but giv- copier machine. I was able to get a other powerful spinners need only
ing up ground the whole time. He 4.5:1 gearing, which improved the one hit on the front wedge to throw
eventually pinned me up against the speed of the blade and also reduced me across the arena, as happened at
wall and began crushing the bot. the weapon motor current. The rise the Nationals 2004 competition from
Dark Pounder still managed to go of lithium polymer batteries provided two formidable vertical spinners.
4-2 in this July 2003 event, but my an opportunity to provide a higher Version 4 went 2-2 in this one

32 SERVO 10.2006
CombatZone.qxd 9/5/2006 7:52 PM Page 33

Dark Pounder 5 was Iteration number 6 used a The latest Dark Pounder — number 7 —
a major change of novel asymmetric blade waits for trial by combat.
concept and fabrication design.
techniques.

competition. The writing was on the of 16-4, and was around for almost a wedge could get under the opponent.
wall — I must find a way to deliver year. In the end, the lack of a wedge Version 6 managed to go 6-4,
the weapon without depending on surface on the sides of the bot made existing for only five months. For the
the wedge. This version did teach me it susceptible to horizontal spinner first time, I did not immediately start
the toughness of Ti, and how to hits and wedges. building another version. Pounder
work with it. Some heat and would need a complete rethink, and
patience can make a very solid shell. Dark Pounder it took almost five months before an
Version 6 idea would surface. What would over
Dark Pounder three years of development produce?
Version 5 Version 6 was another dramatic
change from the previous design. Dark Pounder
Version 4 had proven that a new Instead of trying to fix the few prob- Version 7
shape was required, but the rugged- lems that existed with a very success-
ness of titanium and impressive ful design, I decided to start almost For five months, I worked on
results people were getting with from scratch again. This bot would other bots, tried a few new ideas in
carbon fiber required more materials have a wedge surface for all surfaces, a few different directions. At first, I
investigation. Because titanium was so a strong defense was in place. I thought I would rebuild Version 5
both stronger and lighter than steel, had also decided to try to implement with a wedge surface on the sides.
I ditched the stainless steel blade and an asymmetric blade design. A new design was in order that
went with a larger 5” Ti blade. The one problem with spinning a required the bot to be more
To better deliver this weapon, I bar or disk at a very high rate of compact. A lower center of gravity
needed to push out the blade from speed is that you will have difficulties would make the bot more stable by
the robot, so the previous shell delivering the energy from the blade reducing the gyroscopic force inher-
design would not be possible. This simply due to the inability to get a ent in a fast vertical spinning object.
bot would require a frame. good bite on the opponent. The bite A smaller blade would need to
Polycarbonate offered a perfect is determined by how much contact be designed. I liked the asymmetric
solution. This material can also be the blade or disk can make, which is blade idea, but I needed to move the
easily machined or cut into any shape a direct result of the differential moment of inertia (center of the
I needed. Next, I used three carbon speed of the two bots, and the spinning mass) further out than the
fiber RC airplane tubes to connect distance the blade or disk teeth earlier design blades. I liked the hook
the polycarbonate and also act as the travel in that time. So, at high RPM, shape blade since it would tend to
mounting shafts for the drive and a symmetric blade or disk only has bite with a grabbing type of force. I
weapon motors. Cover it in TI, and it half the time of the blade or disk would also want to sharpen the blade
would be a very tough bot. rotation to put the opponent into surfaces to an edge to improve aero-
Now, how could I guarantee to the weapon. With an asymmetric dynamics and the cutting potential of
get under wedge-based robots? The weapon like the one on Version 6, the blade. I made the blade from a
key would be focusing the pressure you can get an entire blade rotation piece of 1/8” chromoly steel that I
(or force). A point produces more and therefore double the time to put cut, balanced, and heat treated.
pressure per area than a line by the opponent into the weapon. On another bot called Dark
concentrating the force. So, by using Construction of Version 6 was Micro 44, I had a rounded wedge
some titanium plates cut to a point, I nearly identical to Version 5. that proved to be very strong, as well
could get under the flat line of a Unfortunately, I tried placing the as capable of deflecting energy. So
common wedge. wedge in front of the weapon similar after mocking up the idea using
This worked very well. Version 5 to the earlier Pounders. Once again, paper, I cut a 10” semi-circle of .03”
managed a very respectable record the design won or lost based on if the titanium and then spent about an

SERVO 10.2006 33
CombatZone.qxd 9/5/2006 7:53 PM Page 34

hour bending it to the desired shape. To make this bot destructive, I ed running, but I hope most matches
The frame would continue to be designed the weapon blade to spin will end quickly. Will this new design
made of 1/4” polycarbonate, but I at 22,000 RPM. The Speed 280BB RC work? Check with your local robot-
would use a titanium base-plate airplane motor I have been running ic combat clubs/events and find out.
reinforced with a carbon fiber rod for spins at 66,000 RPM off of four Amazing what can be done with
rigidity. This would protect the bot Li-Poly batteries, and is geared down only a pound of weight and a
top to bottom, and act as a mount- 3:1 to the weapon. The motor and little imagination (not to mention a
ing point for the drive motors. batteries do get warm from extend- considerable amount of time). SV

EVENTS
RESULTS — July 11 - August 14

W BX-3 was
hosted by
wedge, Geek.

• Lightweights — 1st: “Agent 7,”


“Bite Me,” box, Slayer.

War-Bots Xtreme
and was held July 22nd in Saskatoon,
Saskatchewan. Fifty-six bots were
wedge, X-Bots; 2nd: “Fly Speck II,”
wedge, Maggot; 3rd: “MDC,”
B ring Your
Own Bots
III was hosted
registered in all classes from spinner, Inner Logic. by Team Cerberus and was held
Antweights to Heavyweights. Results August 12th in Chuluota, FL. About
are as follows: • Middleweights — 1st: “Botfly,” 15 bots were registered in the UK
pneumatic flipper, Maggot; 2nd: Ant, Ant, and Beetleweight classes.
• Ants — 1st: “Glitch 2,” pusher, “Speed Bump XL,” pneumatic lifter, This was an informal “front yard”
Chaos Robotics; 2nd: “Buggy 2,” X-Bots; 3rd: “Maddgoth MK2,” spike, event and included some great food
wedge, X-Bots; 3rd: “Hoser’d Crash. and fellowship. Results are as follows:
Reloaded,” spinner, FingerTech.
• Heavyweights — 1st: “LNW,” • UK Ants — 1st: “Electric Eye,” lifter,
• 1 KG — 1st: “Roadbug,” wedge, spinner, LNW; 2nd: “Amata,” drum, Cerberus; 2nd: “P150,” spinner,
Chaos Robotics; 2nd: “Hell’s Angle,” X-Bots; 3rd: “The Defyer,” pneumatic Overvolted Robots.
wedge, Tru Pride; 3rd: “Bot and Paid flipper, Syberon.
For,” wedge, Humbot. • Antweights — 1st: “Serphiroth,”

• Beetles — 1st: “Flippenstein,” pneu-


matic flipper, FingerTech; 2nd:
S aturday Night
Fights was hosted
by Team Think Tank
spinner, Cerberus; 2nd: “Ultimate
Ultimatum,” spinner, Overvolted
Robots.
“Creepy Crawler,” wedge, X-Bots; and was held July
3rd: “Limblifter,” lifter, GuavaMoment. 22nd in Pasadena, CA. • Beetleweight — 1st: “Hungry
Twenty-three bots were registered Hungry Hippo,” Lab Rat Revolt; 2nd:
• Mantis — 1st: “G.I.R.,” drum, in the Fairy, Ant, and Beetleweight “Plagiarist,” spinner, BotWorks.
Chaos Robotics; 2nd: “Blenderhead,” classes. Results are as follows:
full body spinner, Inner Logic; 3rd:
“Banshee,” ICE spinner, Chaos
Robotics.
• Fairyweight — 1st: “Crisp,”
flamethrower wedge, Offbeat
R obot Fighting League 2006
Nationals were held August 12
in Minnea-
Robotics; 2nd: “Ugly Duckling,” lifter, polis, MN.
• Hobbyweight — 1st: “Bubba,” Slayer. Presented by
pneumatic lifter, X-Bots; 2nd: the Midwest
“Dexahedron,” drum, GuavaMoment; • Antweights — 1st: “Baby Blaster,” Robotics League, this is the top event
3rd: “Ranch Tooth,” hammer, spinner, Ghetto Logic Robotics; 2nd: in the RFL’s fighting season. A more
Rumble Robotics. “Rick James,” spinner, Fatcats; 3rd: detailed article separate from the
“Ducbot,” lifter, Slayer. Combat Zone is included in this issue.
• Featherweights — 1st: “Nearly Results are as follows:
Normal,” wedge, LNW; 2nd: • Beetleweight — 1st “Unknown
“Mean Machine,” spinner, X-Bots; Avenger,” flipper, Ice; 2nd: • Antweights — 1st: “UnderWhere?!,”
3rd: “Slapped Together Wedge,” “Roboslayer,” wedge, Slayer; 3rd: spinner, Hazardous Robotics; 2nd:

34 SERVO 10.2006
CombatZone.qxd 9/5/2006 7:54 PM Page 35

“Pop Quiz,” spinner, Test Bot; 3rd: ImpaX,” wedge, Rolling Thunder wedge, Toad.
“Anti,” spinner, 564 Robotics. 2nd: “Killabyte,” full body spinner,
Robotic Death Company. • Heavyweights — 1st:
• Beetleweights — 1st: “Itsa?,” “Shrederator,” full body spinner,
spinner, Bad Bot; 2nd: “Nuclear • Lightweights — 1st “Son of Logicom; 2nd: “Eugene,” spinner,
Kitten,” spinner, Test Bot. Whacky Compass,” spinner, Hawg; Moon; 3rd: “Ty,” plow, Bobbing For
2nd: “Goosfraba,” flaming wedge, French Fries.
• Hobbyweights — 1st: “Cheapshot Killerbotics; 3rd: “Death By Monkeys,”
3.0,” wedge, Rolling Thunder; 2nd: wedge, Death By Monkeys. • Superheavyweights — 1st:
“Surgical Strike,” spinner, Rolling “Psychotic Reaction,” spinner,
Thunder. • Middleweights — 1st: “Ice Cube,” kontrolled kaos; 2nd: “Star Hawk,”
plow, Toad; 2nd: “Lunatic,” spinner, Moon; 3rd: “The Wall,”
• Featherweights — 1st: “Xhilarating spinner, Booyah; 3rd: “Lionheart,” Moon. SV

TECHNICAL KN WLEDGE
Gyro Usage in Combat Robotics
● by Eric Scott

I n combat robotics, we rely on


many industries to produce
motors, power transmissions, and
main shaft, or to correct for changes
in rotor torque and to keep the tail
stationary.
in a standard tank drive style robot,
you ask? The answers are many:
Changing arena conditions that
structural frameworks for our robots. This is where the gyro comes affect traction on one side of the
For control of the robot, we general- into play. Everything from small wind robot; binding drive train due to poor
ly rely upon the radio-controlled gusts, to changing blade pitch, to construction or damage; or unequal-
hobby industry. Understanding the specific aerobatic maneuvers requires ly matched motors.
application that the device was very small, precise corrections in tail An omni-directional robot pres-
originally designed for can help us to rotor thrust. Managing the other ents its own set of directional chal-
better understand how best to controls of the helicopter is difficult lenges. There are many things that
exploit it for our own purposes. The enough, so we rely on a gyroscope can cause the robot not to follow the
focus of this article will be the to help us keep the tail where we commanded direction. A good driver
modern radio control helicopter want it, and yet allow it to move can somewhat correct for these, but
gyroscope, and how it can be used to when we want that, as well. why devote the brain cycles?
improve our combat robots. In a model helicopter, the gyro is
used on the rudder channel, so as to Rate and Heading
What Gyros Do sense changes in the rotation of the Hold Gyros
helicopter about the main axis and
To start out with, let’s take a correct them. In a robot, we would Modern day gyros come in two
look at what the gyro is used for in use the gyro to sense changes from flavors, only one of which we will
the modern day model helicopter. A the commanded position on the really be interested in. These are
standard single main rotor helicopter turning axis, and correct for them. known as “Rate” gyro and “Heading
has a big problem: The torque effect What would we need to correct for Hold.” Rate gyros are the simpler
generated by the main
rotor wants to spin the The gyro is wired between the receiver and the onboard
helicopter around the mixer and modifies the steering input to the mixer.
main shaft. In order to
counter this, the tail rotor
is employed to produce
an opposing thrust. The
amount of thrust is varied
on the tail rotor to either
intentionally rotate the
helicopter around the

SERVO 10.2006 35
CombatZone.qxd 9/5/2006 7:54 PM Page 36

The Futaba 401 features adjustments for delay as the motion that you wish to
and rate limiting. Photo courtesy of Tower
Hobbies. correct.
Do not place the gyro on its side.
correct unwanted motion, and is not Placing it upside down is fine, as it
worth considering in this application. still remains in the same plane. Use
Remote gain is a must in my opinion, the mounting method the manufac-
not only for ease of adjustment, but turer recommends to secure the
it is essential for safety. gyro, generally a piece of special
A robot with a gyro will try to double-sided tape. This tape reduces
correct itself back to its commanded transmission of vibration from the
position. Any force attempting to bot to the gyro.
change the robot’s direction will be
“corrected” for, regardless of its Testing
origin. If a human were to pick up
the robot and attempt to twist it, the Now that you have the gyro
gyro would send signals to correct installed in the bot, it’s time to do
this, causing wheels to spin, and a some testing. Above all things — BE
type. Imagine that you were to possibly dangerous situation could CAREFUL. You are introducing
receive a one second pulse of wind arise. With remote gain, one can something into the control system
from the side. The rate gyro would remotely disable the gyro, making which has the ability to make the
then apply one second of correction the robot safe to approach. robot do things you have not
to bring the tail back around. This A very good all-around gyro for commanded if not set up properly.
method is not all that precise, as it robot use is the Futaba® 401. It is an Before you do anything else, set up
does not really take into account sub- AVCS or Heading Hold type unit, the remote gain function of the
tle drifts or variances in force applied. with remote gain. It has proven fairly gyro, and assign it to a switch on
It is still better than nothing. rugged for use in both combat the radio. Set it up such that you
Heading Hold gyros memorize robots and helicopter crashes and is have zero gain in one position effec-
the last commanded angular position, relatively small and lightweight. All tively turning off the gyro, and a
and continue to apply corrective setup examples will be based on this small amount of heading hold gain
action until it gets back there. gyro, although the principles involved in the other position. You should be
Futaba® refers to its Heading Hold will apply to any Heading Hold able to check that the gyro is in
technology as “AVCS,” both mean one gyro. As always, please consult the heading hold mode by applying
and the same thing. Heading Hold is manufacturer’s instructions for use power only to the radio system, not
the type we will be interested in. and installation. the drive system. Take note that a
In order to use the gyro in a Heading Hold gyro will take a couple
Applications for robot, it must be allowed to correct of seconds to initialize during which
Robotics changes in the yaw of the robot. For the gyro must remain still. Do not
those of you used to mixing the two move the robot during this time.
So, what do you look for in a speed controllers in a tank style
gyro for robot use? We’ve previously robot onto one stick in the radio, you Limit Setting
said that the gyro should be of the will have to make a few changes. We
Heading Hold or AVCS type. A Rate need to do the mixing onboard Many gyros have a “limit” set-
type will only partially help us to the robot, so that the gyro has access ting — a source of much confusion
to the “pure” turn — as it is not a function we would
Although the end products are completely channel. often use. Its purpose is to limit the
different, the same gyro will benefit both
fighters and flyers. There are several travel of a servo attached to the
onboard tank style mix- gyro. In the case of a helicopter, it
ers available. Connect would be used to prevent the servo
the gyro so that it is binding at the ends of the linkage.
plugged between the Were you to want to do so, you
mixer and the turn could use this function to limit the
channel of the radio. amount of power commanded to
The gyro can be the motors on the spin function of
mounted anywhere in the robot. This setting should
the robot provided that probably be left at 100. If you
it is in the same plane notice that you are not getting full

36 SERVO 10.2006
CombatZone.qxd 9/5/2006 7:55 PM Page 37

power during a spin, perhaps by very dangerous, and your reaction mass (such as a robot) that needs to
observing the speed controls, you time to shut down the gyro gain be moved. When driving around,
might increase this limit. In general, may not be sufficient to prevent spin the robot and stop sharply. If
this control is of limited use to the injury. you get a little wag when stopping,
robot builder. adjust the delay upwards a little until
The first rather critical step in Gyro-Gain this wag goes away.
setting up is to set the direction of To adjust the rate at which the
the gyro. This is different from the Next, you will set the gain of the robot spins in place, adjust the limits,
direction that the stick causes the gyro. With a remote gain gyro, this sometimes referred to as ATV or
robot to move. This is set with a small will be adjusted in the radio itself. channel travel on the turn channel on
switch on the gyro. Due to the vari- Futaba makes it easy if you use their your radio. Please note that various
ety of mounting options, it is impos- gyro with their radio, as the radio has mechanical factors will also affect
sible for me to tell you what this an easy setup screen to set the gain. this rate. If your motors are unequal
switch should be set at. If it is set If you are using different brands, in strength, the gyro will only allow
incorrectly, when you spin the robot, consult your documentation (when the stronger motor to go as fast as
the gyro will apply correction, but in all else fails, read the manual). You the weaker one.
the reverse direction. This will should generally raise the gain as far
increase the rate of the spin, which as you can until the robot shakes Wrap-Up
will apply more reversed correction slightly or “hunts” for its position.
creating a feedback loop. This is why When you get to that point, back off While robot design and
you MUST set the remote gain func- the gain slightly. You want the gain construction play a huge role in the
tion up first, so that you can stop the to be set as high as you can without outcome of combat robotics
robot in the event of a “death spin.” shaking. matches, a good driver can do very
The direction is set correctly The Futaba 401 has an adjust- well with a poor robot. While it
when the robot does not spin in this ment for “delay.” This function is can’t correct for lack of driving
fashion. Perform all tests of this sort basically a dampening of the feed- practice, it can help to make the
with the robot physically isolated back loop. The delay refers to a delay robot go where you tell it. If you’ve
from you by a curb or other barrier in applying correction of the gyro in got a robot that’s a little tricky to
between you. A robot in this spin is order to compensate for a heavy handle, give gyros a try. SV

PRODUCT REVIEW — The NPC T-64 Gearmotor


● by Michael “Fuzzy” Mauldin, Team Toad

T he simplest way to get your


robot moving is with a
gearmotor. That’s an electric motor
reduction, with lower gearing, for
better acceleration and reduced
current draw.
combined with a reduction gear in a We do use the second option: a
single package. For a large robot heavy-duty gearbox plate made from
(120-340 pounds), our favorite is the billet aluminum instead of the stock
NPC T-64 (formerly known as the cast part. On a superheavyweight
64038). robot, the impact forces from
The output shaft is short and fat combat can crack the mounting
with four 5/16-24 bolt holes. NPC holes on the stock plate.
sells an aluminum hub that mates Six of these motors powered
this shaft to their line of foam-filled IceBerg — our superheavyweight With 20-1 reduction and 10” tires,
rubber tires. The tires come in 10”, BattleBots quarterfinalist — and two the top speed is 19 mph. We’ve been
12”, and 14” diameters. The gearbox powered IceCube — a middleweight able to outpush opponents for three
mounts easily with four 5/16-24 bolt that took second place at minutes without once having an
holes and two 5/16 through holes in RoboGames this year. overheated motor or speed controller
the plate. Although rated at 24 volts DC, failure.
There are two major options we run the motors at 36 volts using Bottom line: The T-64 is strong,
for this motor: an optional 14-1 two 3.6 Ah Nicad battery packs fast, battle-tested, and easy to use.
gear set increases output RPM by and one Vantec RDFR36e speed Get yours from NPC at www.npc
43%. We prefer the stock 20-1 controller for each pair of motors. robotics.com. SV

SERVO 10.2006 37
CombatZone.qxd 9/5/2006 7:59 PM Page 38

EVENTS
UPCOMING — October and November

H ouse Of Robotic Destruction — This event will take


place in Fall of 2006 on October 14 in Cleveland, OH.
It is presented by the Ohio Robotics Club.
Falls Community Center, just
outside of Cleveland; 150 gram
Flea, 1 lb Ant, and 3 lb
The Ohio Robotics Club will be holding its third Beetleweight double-elimina-
House Of Robotic Destruction event at the Olmstead tion tournaments will be run.
Cost is $10
per bot.
The ORC
insect arena is 4’ x 8’ in size, halfway
through a match two 14” x 14”
pits open. Further information can
be found at www.ohiorobotclub.
com.

H alloween Robot Terror — This


event will take place on October
28 in Gilroy, CA. It is presented by
California Insect Bots.
Venue is Hobby World — which
is located at 6901 Monterey Rd.,
Gilroy, CA 95020. Bot Gauntlet
Baron Dave says “This is open to
Fleas, Ants, and Beetles. The only
rule I have for the bot costume
contest is you must use the bot
you brought to fight with. You will
NOT be fighting with your bot
costume on your bot. Builders and
team mates are more than welcome
to wear a costume to this event,
but please remember to make it
safe for anyone that’s working on
the bots. Weigh-in starts at 10:00
AM and fighting starts around
Noon. The entry fee will be $20 per
bot with prizes for 1st, 2nd, and
3rd place in each weight class. For
fight rules, go to www.sacbots.
com/eventrules.html. SV

38 SERVO 10.2006
Full Page.qxd 9/7/2006 1:52 PM Page 39

www.robodevelopment.com

■ ■ ■

The International Technical Design and


Development Event for Mobile Robotics
and Intelligent Systems Industry

December 12-13, 2006


Santa Clara Convention Center
Santa Clara, California

Tracks include:
■ Design, Development and Standards

■ Tools and Platforms

■ Enabling Technology

■ ■ ■ ■ ■ ■ ■ ■ ■

Founding Sponsor: Premier Media Sponsor Premier Association Sponsor Producedby:


Hackett.qxd 9/5/2006 8:00 PM Page 40

ROBOT’s
Little Helper
by Ron Hackett

W
ouldn’t it be great if there were a simple eight-pin microprocessor that could be
programmed in Basic to perform various I/O functions and thereby relieve your
robot’s already over-burdened CPU? Even better, imagine being able to buy such a chip
for less than four dollars! That way you could easily add one, two, or more of these
“little helpers” to your bot and implement sophisticated sensory functions that would
otherwise overwhelm a single, Basic-programmed CPU.

Well, believe it or not, such a chip sion, so it is a fairly simple language in • serin – Receives five-volt level serial
already exists — it’s the PICAXE-08M which to program. Refer to Section 2 input at various speeds.
processor. Produced by Revolution of the PICAXE Manual for a complete
Education — a British company dedicat- description of the Basic commands and • serout — Transmits five-volt level
ed to promoting robotics in primary programming environment. Many of serial output at various speeds.
and secondary education — the the 08M’s built-in commands are
PICAXE-08M is actually an eight-pin PIC particularly useful in the field of • sertxd — Provides serial output to the
chip with a built-in Basic interpreter. robotics, especially the following: Programming Editor’s “debug” screen,
The 08M is one of a line of Basic- which is very helpful when debugging
programmable processors that range in • infrain2 — Receives and decodes an your code.
size from eight pins to 40 pins, and infrared signal from another PICAXE
include a surprisingly sophisticated chip, or an ordinary TV remote control. • servo — Produces a continuous
range of Basic commands. output in the background to drive a
For complete documentation on • infraout — Transmits an infrared radio-control style servo motor, freeing
the hardware and software specifica- signal to another PICAXE chip (or to a your program to carry out other tasks
tions of the PICAXE processors, visit TV, stereo, etc.). simultaneously.
the PICAXE website at www.
picaxe.co.uk and download all three • pwmout — Produces a continuous • setint — Enables interrupts on specif-
sections of the PICAXE Manual; they PWM output in the background for DC ic input conditions.
contain a wealth of information to get motor control (or IR object detection,
you started. A Summary of PICAXE as we will see later), freeing your A brief summary of the features of
Basic commands is also available on my program to carry out other tasks selected PICAXE processors is present-
website at www.RonHackett.net. simultaneously. ed in Figure 1. As you can see, the 08M
PICAXE Basic is very similar to can store a program of approximately
many other implementations of Basic, • readadc10 — Performs a 10-bit 80 lines of Basic code, which is
including Parallax’s BASIC Stamp ver- analog to digital conversion. more than enough for just about any
robot I/O function. The Integrated
PICAXE-08M PICAXE-18X PICAXE-28X PICAXE-40X Development Environment (IDE) is
Pins 8 18 28 40 available free from the PICAXE website.
It has a fairly full-featured graphic user
I/O Pins 5 14 21 32
interface and runs on Windows 95, 98,
Input Pins 1-4 5 0 - 12 8 - 20 ME, NT, 2000, and XP. Unfortunately, a
Output Pins 4-1 9 17 - 9 17 - 9 Macintosh version of the software is
ADC Pins (10-bit) 3 3 4-0 7-3 not available, but the new Intel-based
PWM Pins 1 1 2 2 Macs can run Windows XP, so it should
be possible for Mac users to join in on
Program Memory 80 BASIC lines 600 BASIC lines 600 BASIC lines 600 BASIC lines
the fun anyway!
Storage variables 48 bytes 96 bytes 112 bytes 112 bytes
● FIGURE 1. Features Summary of Selected
Data Memory 256 - Program 256 bytes 128 bytes 128 bytes PICAXE Processors.
40 SERVO 10.2006
Hackett.qxd 9/5/2006 8:03 PM Page 42

ROBOT’s LITTLE HELPER


● FIGURE 4. “Hello World” Circuit. using a regulated five
R3 220 volt supply, but it will
1 also function perfect-
6 serout ly well with a supply
2 +5 V 1 8 Gnd consisting of three
7 serin R2 22K R4 330 D1 AA alkaline batteries.
RS-232
DB-9 8
3 2 Picaxe 7 Just out of
R5 330 D2 curiosity, I have
R1
4 3 08M 6 been running my
9 b a t te r y - p o w e r e d
10K
5 4 5 “Hello World” setup
for more than 500
hours and it’s still
going strong, so an
extra 08M or
two certainly won’t
● FIGURE 5. “Hello World”
overly tax your bot’s batteries. Of
Breadboard.
course, if other components in your
25 mA, so LEDs can be circuit require a regulated five-volt
directly driven as long as supply, you don’t have the choice.
an appropriate current-
limiting resistor is included Infrared Obstacle Detection
in the output circuit. Circuit and Program
Actually, if you look closely
at the photograph in Now that we have a basic under-
Figure 5, you won’t see standing of how to set up and program
the current-limiting resis- a simple PICAXE-08M circuit, let’s try
tors because they are built something that will be more helpful
into the LEDs I am using, to a robot. One of the PICAXE
which makes breadboard- Basic commands mentioned earlier is
use the software, but it’s very intuitive ing a little simpler. If you are interested “pwmout,” which produces a continu-
and includes ample documentation. in these LEDs, see the Sources sidebar. ous PWM output in the background.
For our simple “Hello World” The actual “Hello World” Basic Therefore, your program can initiate
example, we are going to program the program (presented in Figure 6) is very the PWM output and go on to attend
08M to alternately blink two LEDs on simple and can be quickly typed into the to other tasks without the hassle of
I/O pins 0 and 1 (external pins 7 and Programming Editor software directly. As having to repetitively produce each
6). Since all PICAXE chips are actually you can see, it’s very similar to standard individual pulse — a tremendous code
PIC chips, their output pins are capable Basic. In case you have been wondering, simplification, to say the least.
of sourcing or sinking a maximum of you can power the circuit of Figure 4 Of course, the pwmout command
is ideally suited for DC motor control. A
;===== HelloWorld.bas ============================================ PICAXE-08M and an H-bridge chip,
such as the L293D, are essentially all
; This program runs on a PICAXE-08M processor at 4 MHz. you need for full PWM control of one
; It alternately blinks LEDs on outputs 0 & 1 (pins 7 & 6). DC motor. If you want to control two
;===== Constant Definitions ====================================== DC motors (and what robot builder
wouldn’t), you will need two 08Ms or
symbol LED0 = 0 ; LED on output 0 (pin 7) one of its bigger siblings (the 28X or
symbol LED1 = 1 ; LED on output 1 (pin 6) the 40X), both of which have two
;===== Main Program ==============================================
independent PWM outputs and more
than enough computing power to also
main: high LED0 ; LED0 on be your bot’s CPU.
low LED1 ; LED1 off I have built a couple of robots that
wait 1 ; wait 1 second
use a PICAXE-28X as the CPU and an
low LED0 ; LED0 off 08M as an I/O “helper.” The two PWM
high LED1 ; LED1 on outputs on the 28X provide full propor-
wait 1 ; wait 1 second tional control for two DC motors, and
the 08M assists by providing left and
goto main ; do it again, forever
● FIGURE 6. “Hello World” Basic Program.
42 SERVO 10.2006
Hackett.qxd 9/5/2006 8:04 PM Page 43

● FIGURE 7. Two-way IR
R3 220 Obstacle Detection Circuit.
1
6 serout
2 +5 V 1 8 Gnd
7 serin R2 22K R4 330 D1
RS-232
DB-9 8
3 2 Picaxe 7
R5 330 D2
4 R1 3 08M 6
9 IRinL IRinR R6 135 D3 D4
5 10K 4 5
(IR) (IR)

+5V +5V

right non-contact IR obstacle detection. circuit’s functioning. In this way, Through experimentation, I found this
As a demonstration of the I/O your bot’s CPU can be relieved of the approach to be much faster than the
capabilities of the PICAXE-08M, let’s take processing overhead required to carry alternative of testing the IRinL and
a look at one possible IR obstacle detec- out this function, and it only takes two IRinR symbols (defined at the beginning
tion circuit, presented in Figure 7 and of its I/O pins to do so. of the program) with if-then or branch
photographed in Figure 8. As you can Figure 9 presents the Basic pro- commands. Notice that four of the five
see in the photograph, heat-shrink tub- gram for the obstacle detection circuit, constant definitions are not used
ing protects the IR LEDs from extraneous which takes up less than 15% of the anywhere in the program. They could
light. There are several simple IR receiver program space in the 08M. Essentially, have been removed entirely, but you
modules on the market that operate at the program consists of a simple loop may want to do a little experimenting
38 kHz, and the 08M’s on-board PWM that outputs a burst of PWM pulses, yourself, so I left them in the program.
circuitry can easily be used to generate turns off the pulses, checks for left and The Panasonic IR detectors in the
the 38 kHz pulses necessary to drive an right echoes, and displays the results circuit are active low devices. The
IR LED (see the Sources sidebar). on the two LEDs. As you know, comments in the program explain how
As mentioned earlier, the 08M’s interpreted Basic is a relatively slow
output pins are capable of directly language, so the program uses two
SOURCES
driving an IR LED. In fact, one output different techniques in order to be fast
pin can drive two IR LEDs connected in enough to detect the echo. The following items are available from
series as shown in Figure 7. The two IR First, the setfreq command at the the author:
www.RonHackett.net
LEDs I used (again, see the Sources beginning of the program shifts the
• PICAXE-08M
sidebar) each drop 1.2 volts, which 08M’s internal oscillator from 4 MHz to • Five-volt resistorized LED
leaves 2.6 volts across the 135 Ω 8 MHz, because Basic just isn’t fast • IR LED
resistor (actually two 270 Ω resistors in enough to catch the echo at 4 MHz. • Panasonic PNA4602M IR Detector
parallel). As a result, the current is Some care must be exercised when
approximately 19 mA which is well using the setfreq command. It’s easy PICAXE-08Ms can also be purchased
within the output pin’s specifications. to lose communications with the directly from Revolution Education:
You may want to breadboard just this programming software unless you also www.picaxe.co.uk
part of the circuit first, and determine change its setting to reflect
the current for your specific compo- the new oscillator speed; be
nents before connecting the IR LEDs to sure to read the PICAXE
the 08M’s output pin, just to be safe. manual on this issue.
The 08M’s two outputs could be Secondly, the PICAXE
directly connected to two input pins on Special Function Variable
your main processor. However, as a “pins” allow direct access to
safety precaution, you should include a the I/O port register of the
1K resistor in each connection, just in chip, which is a very power-
case one of the CPU’s inputs acciden- ful and useful feature of the
tally gets reprogrammed as an output, PICAXE system — you can
which could result in a direct short in refer to the documentation
the line and a possible dead I/O pin. for a complete explanation.
The LEDs can even be left in the circuit ● FIGURE 8. Two-way IR Obstacle
if you would like visual feedback on the Detection Breadboard.
SERVO 10.2006 43
Hackett.qxd 9/5/2006 8:04 PM Page 44

ROBOT’s LITTLE HELPER


● FIGURE 9. Two-Way IR Obstacle
;===== IR_detect.bas ============================================================== Detection Basic Program.
; This program runs on a PICAXE-08M processor at 8 MHz. range of about 12 inches. I’m
; It emits 38 kHz IR PWM bursts & checks for echoes after each burst. sure this would deteriorate
;===== Constant Definitions =======================================================
rapidly as the batteries discharge.
Of course, a regulated five-
symbol LED_L = 0 ; Left visible LED on output 0 (pin 7) volt supply provides improved
symbol LED_R = 1 ; Right visible LED on output 1 (pin 6) functioning of the circuit.
symbol IRout = 2 ; Both IR LEDs on PWM output 2 (pin 5)
symbol IRinL = input3 ; Left IR detector on input 3 (pin 4)
symbol IRinR = input4 ; Right IR detector on input 4 (pin 3) Conclusion
;===== Variable Definitions ======================================================= I hope this article has peaked
symbol echo = b0 ; used to store & manipulate echo values your interest in the PICAXE-08M
as a “little helper” for your robots.
;===== Main Program =============================================================== We have barely scratched the
surface of the capabilities of this
setfreq m8 ; set internal resonator to 8 MHz
amazing little chip. I didn’t even
dirs = %00000111 ; configure I/O pins 2, 1 & 0 as outputs mention that the “M” in PICAXE-
08M stands for “music” — the
main: pause 200 ; pause for 100 mS
; (duration is halved @ 8 MHz)
08M has built-in commands for
pwmout IRout, 50, 106 ; PWM burst @ 38 kHz, 50% Duty Cycle producing complete tunes with
pause 20 ; burst duration = 10 mS surprisingly little programming.
; (duration is halved @ 8 MHz) So, if you would like your bot to
pwmout IRout, 0, 106 ; PWM off
“whistle” while he or she works,
echo = pins ; move IR inputs to bits 4 & 3 of echo the 08M is just the chip for you!
echo = echo / 8 ; and shift them right to bits 1 & 0 The PICAXE-08M can be very
helpful as an interface chip
; IR detectors are active-low inputs,
pins = NOT echo ; so invert echo for active high between your robot’s CPU and
; and move it to outputs 1 & 0 any sensor or output that requires
anything but the simplest of inter-
goto main ; do it again, forever
faces. To give just one of many
possible examples, consider the
the inputs are converted to active high voltage. In spite of that, the circuit SRF005 Ultrasonic Range Finder. It is very
for output. The detectors also specify operates reliably with the 4.5 volt popular with roboticists, but it requires a
4.75 volts as the minimum operating (nominal) battery pack, and provides a fair amount of attention from your bot’s
CPU (i.e., frequent trigger pulses
followed by relatively long periods of
“listening” for an echo). An 08M could
easily handle this task and inform your
bot of impending danger, while greatly
simplifying your CPU’s main program.
The PICAXE-08M packs a tremen-
dous amount of computing power in a
very small package and at a surprising-
ly affordable price. If you are willing to
give up PWM motor control and settle
for the “full-speed ahead” variety, I’m
sure you could build a fully-functional
autonomous bot using one PICAXE-
08M as its only processing power. In
fact, I have already started working on
just such a bot! SV

ABOUT THE AUTHOR


You can reach Ron via email at
RonHackett@verizon.net or visit his
website at www.RonHackett.net.

44 SERVO 10.2006
Gravatt.qxd 9/5/2006 7:20 PM Page 45

Do-IIt-Y
Yourself

MARS
ROVER ● by Dan Gravatt

Give yourself a “mission” to build your own Rover


with parts you already have at home.

I
saw a sign a couple of years ago and code described here should be The mechanical design of the
that said “Electronics Garage Sale” compatible with pretty much any four- Rover is pretty straightforward and not
and nearly caused an accident wheeled chassis you would care to use. all that different from the original
slamming on the brakes in my truck. It dunebuggy. The suspension and
was worth the stop, because they were Design by Parts steering mechanisms are pretty much
selling a late 1970’s vintage radio con- unchanged. I had to replace all of the
trolled dunebuggy powered by a small The designs of my projects are original frame with aluminum C chan-
glow-fuel engine for $20. The engine generally dictated by the parts I have, nel stock, and I converted the chassis
was shot but the electronics were okay, and this one is no exception. I have a from four-wheel drive to rear-wheel
and my plan was to remove the servos hard time buying parts when I already drive by shortening the drive chain. I
and receiver and junk the rest of it. have lots and lots of them around. So mounted the stepper drive motor and
Once I got home, I scavenged the the only reason I used a bipolar stepper steering servo on the new frame, and
electronics and discarded the engine, drive motor was that I had a good one the result is shown in Figure 1.
fuel tank, and muffler. All that was left with ball bearings and a shaft
was the chassis, suspension, and drive- diameter which fit the drive
train — all beat up and covered with glow sprocket from the dunebuggy.
fuel residue. It was a mess, but it was too The BASIC Stamp 2 controller I
good to just throw away, so I set it aside used is a bit underpowered for
and moved on to other projects. Several this application, but it was avail-
projects later, after accumulating some able. I’m pretty happy with the
nice stepper motors and other bits, I results even though I had only a
decided it was worth the (substantial) vague idea what it would look
effort to clean up the parts and use them like when I started building.
as a robotics platform. Although it’s very
unlikely you will be able to exactly dupli- Figure 1. Mechanical
cate my “Mars Rover,” the electronics components of the Rover.

SERVO 10.2006 45
Gravatt.qxd 9/5/2006 7:21 PM Page 46

Do-IIt-Y
Yourself Mars Rover
Figure 2. Closeup of the the humble BS2 to handle. Controlling
IR sensor board. the bipolar stepper motor is the most
time-consuming of these tasks, so I
A second LED for the added an EDE1204 bipolar stepper
“look-down” function is controller to the design to lighten the
mounted separately and BS2’s workload. The EDE1204 is a
angled down and away Microchip PIC16C54B which the folks
from the detector. A at E-Lab have programmed to control a
control input from the BS2 bipolar stepper motor with a fair
(see Figure 3) selects one of amount of flexibility and a minimum of
the two LEDs at different outside help.
Sensor Selection times during each sweep. I found that
the 100 µF capacitor on the output of
The control outputs from the
EDE1204 are fed to an L298N dual H-
Once the mechanical platform was my IR sensor was necessary to give a bridge which drives the stepper motor
finished, I started thinking about what stable, glitch-free output to the BS2. coils (see Figure 5). Schottky diodes on
sensors to use so that the Rover could Since even the best obstacle the motor outputs protect the L298N
navigate itself autonomously. I didn’t sensors can miss things, I wanted a from voltage spikes when the coils
have one of those nifty ultrasonic back-up ability to sense if the drive are de-energized. The two one-ohm
range finder sensors, so I settled for a motor stalls due to hitting something. I resistors sense and limit the current
low-tech infrared obstacle detector glued a bar magnet to the end of the supplied by the L298N, but I was
using a 38 kHz infrared receiver mod- drive sprocket and positioned a Hall- unable to find a formula on the
ule from an old VCR. The simplicity of effect sensor (scavenged from an old datasheet to calculate exactly what the
this sensor is compensated by the way 3.5” floppy drive) near it to monitor the current limit is for a given resistor value.
the BS2 code divides the “landscape” North-South field transitions as the On the other hand, I don’t know
in front of the Rover into five sprocket turns (see Figure 4). The sen- the specifications on the bipolar
horizontal sectors, as well as one “look- sor is simple, but the code processing stepper motor I’m using either, as it
down” sector to prevent it from driving its output is not (more on this later). was scavenged from an inkjet printer. It
off a cliff. moves the Rover around just fine
The IR sensor board (see Figure 2) Navigation with a 12-volt supply, such as a small
is mounted on a servomotor on the lead-acid gel cell.
front of the Rover for a good field-of- The Rover knows what’s ahead of Several of the control inputs to the
view, and pans back and forth over an it; now it needs to navigate itself. A ser- EDE1204 are wired high or low to set
arc of 135 degrees or so while the vomotor steers the front wheels, and its basic operating parameters. I have
Rover is in motion. The infrared LED the rear wheels are driven by the bipo- configured it to generate the motor
used for the horizontal sector scanning lar stepper motor. Along with panning control pulses by itself in full-step
is mounted in a metal tube to better the sensor servomotor and collecting (rather than half-step) mode. It is also
direct the scanning beam and minimize data from the IR sensors and the Hall- set to keep the motor coils energized
any stray light hitting the detector. effect sensor, this is too many tasks for even when stopped, so the Rover
won’t roll down a slope. The remaining
functions required for the Rover’s
operation (motor start/stop, direction,
and speed) are under the BS2’s control.
The BS2, of course, is where every-
thing comes together (see Figure 6).

Figure 4. A closeup view of stall


sensor and magnet.

Figure 3. IR sensor
board schematic.

46 SERVO 10.2006
Gravatt.qxd 9/5/2006 7:21 PM Page 47

Do-IIt-Y
Yourself Mars Rover
Figure 5. Motor control
board schematic.

Nothing too fancy in this part of the Rover is created, and the code the Rover code is in the subroutines
circuit, and only half of its I/O pins are described below (which is available on called MOVING and SWEEPBACK. After
used for this application. Less than half the SERVO website at www.servo a brief power-on pause to connect
of its two kilobytes of memory is used magazine.com) is only one way to use the battery to the Rover, the MOVING
for the code. the hardware I’ve described above. If subroutine is the first code to run. It
you’ve got more processing power does several interleaved tasks:
Electronics onboard and/or better programming
Construction skills than I, very complex behavior can • Checks the direction of the last
be created using just a few sensors. sensor servo sweep (the first sweep is
Construction of the electronics for Note that my code uses the PBASIC 2.5 always left to right).
the Rover is pretty straightforward. I version of Parallax’s tokenizer to imple-
suggest building and testing the step- ment true IF-THEN-ELSE branching. • Pans the sensor servo from full left to
per motor control board first, because Most of the time the BS2 spends in full right.
a Rover that can’t move isn’t much
good. Check the wiring to your stepper
motor to ensure that the direction
input for the EDE1204 corresponds to
the direction the Rover actually moves.
Then, build the IR sensor board and
adjust the oscillator frequency with the
variable resistor until it matches the IR
sensor you use. Check that the IR
sensor provides a stable output when
an obstacle is present or absent, and
don’t forget to check the “look-down”
LED too.
The BS2 code expects a logic low
output from the sensor when an obsta-
cle is present, so if your IR sensor’s
output is inverted, you will need to
modify the code or re-invert the sensor
output. Finally, connect everything to
the BS2 and load the code.

Load the Code


Figure 6. BASIC Stamp 2
And how about that code, any- interface schematic.
way? That’s where the behavior of the
SERVO 10.2006 47
Gravatt.qxd 9/5/2006 7:21 PM Page 48

Do-IIt-Y
Yourself Mars Rover
About the Author from full right to full left.
The MAIN subroutine is where the
steering servo all the way to one side
and turn while backing up. If more
Dan Gravatt is a licensed geologist Rover’s behavior is determined. Here, than one interval of backing up is
in the state of Kansas. He can be the data collected from the latest IR required to clear an obstacle, the
reached at dgravatt@juno.com sensor sweep and the stall sensor is BACKUP subroutine will alternate the
used to select the appropriate direction direction of the turns using a counter
• Collects data from the IR sensor at of travel. Data which potentially repre- bit (BACKTURN). This will allow the IR
five points (full left, left-center, center, sent the greatest hazards to the Rover sensor to sweep the terrain to the left
right-center, full right) during the (drop-off or obstacle directly ahead, or and right of an obstacle and (hopeful-
sweep. motor stall) are evaluated first, and ly) find a clear path forward.
the Rover will back up if any of these If the MAIN subroutine determines
• Checks for the presence of a drop-off conditions exist. that there are no immediate hazards to
(such as a table edge) directly in front Motor stall is detected by counting the Rover, it next evaluates the IR
of the Rover. the magnetic North and South (0 and sensor data for obstacles to the left or
1) states from the stall sensor during right of the direction of travel.
• Detects magnetic field transitions an IR sensor sweep, storing that count, Obstacles close to the direction of trav-
from the stall sensor and increments a and comparing it to the count from the el result in a sharp turn away from the
counter (STALLCOUNT). subsequent IR sensor sweep. If the two obstacle, while those detected farther
totals are the same, stall is detected from the direction of travel results in a
• Refreshes the steering servo to main- and the Rover backs up to clear the gentle turn away from the obstacle.
tain its position. obstacle. These totals are almost never By not overreacting to obstacles to
the same during normal driving the sides, the Rover can maneuver bet-
• At the end of the subroutine, incre- because the rotation of the drive ter in tight quarters and maintain a
ments a counter bit (SERVTURN) so sprocket is not synchronized with the smoother direction of travel while
that the next sensor servo sweep will stall sensor count interval, so the making it less likely that an obstacle
be from right to left. probability of a false stall signal is low. will eventually be met “head-on.” If the
On the downside, it takes up to two Rover detects obstacles to the far left
The SWEEPBACK subroutine does full sensor sweep periods for the Rover and far right (such as in a hallway), but
the same tasks as the MOVING subrou- to detect a stall. nothing ahead, or if no obstacles are
tine while sweeping the sensor servo In the event that the Rover gets detected by the IR sensor, the Rover
itself stuck in a place where it will continue in a straight line.
Parts List cannot move forward due to an
object directly ahead (detected by
The remaining subroutines are
executed between sensor sweeps to
● Steerable four-wheeled chassis the IR sensor), and cannot back configure the steering servo and the
● Bipolar stepper motor
up due to an object behind EDE1204 to move the Rover in
● Two standard servomotors
(detected by the stall sensor), the the direction selected by the MAIN sub-
● Small 12-volt lead-acid gel cell
Rover will stop moving. This con- routine during the next sensor sweep.
● BASIC Stamp 2
dition is the first one checked in The steering servo is set first, then the
● EDE1204 bipolar stepper motor controller
the MAIN subroutine because it appropriate speed and direction of
(or use an EDE1200 for unipolar stepper
combines the two hazard condi- rotation for the stepper drive motor,
motors)
● 4 MHz ceramic resonator with capacitors
tions described above. Evaluating and the code jumps back to the
● L298N dual H-bridge driver either hazard separately before MOVING subroutine.
● LM2940CT five volt regulator evaluating them together might
● LM555 timer overlook the Rover’s true situa- Mission To ... ?
● 38 kHz IR receiver module tion and cause it to continue
● (2) infrared LEDs backing up into an obstacle. The Once you have your Rover opera-
● Hall-effect sensor and bar magnet IMSTUCK subroutine stops the tional, give it a mission. Place a camera
● (8) Schottky diodes, GI822 or equivalent Rover and could also include on it for reconnaissance, or a robotic
● 2N3904 transistor some code to provide an indica- arm to collect items the Rover encoun-
● 2N3906 transistor tion that the Rover needs help. ters. Add additional navigation sensors,
● (3) 100 µF capacitors To avoid what Douglas like an electronic compass, an ultrason-
● 0.01 µF capacitor Adams (author of the Hitchhiker’s ic rangefinder, or a second IR sensor to
● (2) 1 ohm resistors Guide to the Galaxy books) search for obstacles behind the Rover.
● (2) 1K ohm resistors
would call a Herring Sandwich Give it the ability to collect data on tem-
● 10K ohm resistor
Loop, the Rover does not back up perature, radiation, light intensity, or
● 150 ohm resistor
in a straight line. Instead, the other characteristics of its environment.
● 2.2K ohm potentiometer
BACKUP subroutine will turn the Happy Roving! SV
48 SERVO 10.2006
RobolinksOct06.qxd 9/8/2006 4:10 PM Page 49

Electronic Parts & Supplies


Since 1967

Floating Point Coprocessor

New
uM-FPU V3
32-bit IEEE 754, I2C and SPI interface
10 to 70 times faster than V2
See website for full details
www.micromegacorp.com

For the finest in robots, parts, and


services, go to www.servomagazine.com
and click on Robo-Links to hotlink to
these great companies.

SERVO 10.2006 49
Bergeron.qxd 9/5/2006 8:06 PM Page 50

Energy Management for


AUTONOMOUS ROBOTS
by Bryan Bergeron Fortunately, there are new roamer will do nicely with a few
battery chemistries on the horizon AA NiCds connected to an inex-
n robotics — as in biological

I
that use nanotechnology to achieve pensive linear regulator, such as
three times the energy density of the ubiquitous 7805, a few capaci-
systems — energy is a conventional lithium ion batteries tors, and perhaps a zener diode for
finite, precious resource. Even [1]. Regardless of the chemistry, the insurance. This is an appropriate
with a lightweight platform, an energy is finite, and proper energy configuration for a simple carpet
management techniques and rover based on a microcontroller
efficient drive mechanism, and technology can extend autonomous and a few proximity sensors.
low-power components, most time by a factor of two or more. However, when you start work-
This article reviews energy man- ing with one of the new 3.3V multi-
robots exhaust their electro- agement principles for autonomous core processors, one or two 9V
chemical batteries in minutes robotics, with an emphasis on wireless pinhole cameras, a 5V 104-
to hours. While there are selecting and designing power sup- format PC card, and a 5V servo con-
ply electronics, how to implement troller, all on single 14.4V battery,
exceptional implementations real-time power reconfiguration, then power suddenly becomes very
that rely on solar power or and monitoring techniques. important. High current demands,
voltage spikes, the need for multiple
fuel cells for extended Energy voltages — some switched on or off
operation, most robots are truly Management during robot operation — are usual-
autonomous for the relatively ly beyond the capabilities of a 60
Continuing with the biological cent linear regulator. Furthermore,
brief period of time between analogy, energy management when you’re working with a $1,200
battery charges. encompasses not only acquiring embedded PC board, $2,800 laser
energy, but regulating its expendi- range finder, and another $1,000 in
ture. A robot that’s continually wireless hardware and sensors, the
Multi-regulator in use setting up moving and using its myriad sensors last thing you want is to have
a wireless system on a modified to explore the environment will your components fry because the
E-Maxx platform.
run down sooner than a robot that circuitry wasn’t protected against
alters its behavior to reflect the cur- shorts when the robot flipped.
rent energy stores. Sleeping when The optimal mix of battery
necessary, limiting maximum speed, chemistry and regulator electronics
switching off unnecessary sensors depends on the robot design and
and systems when appropriate, application. Given this caveat, my
and, for a walking robot, switching ideal robot power system would
to a more efficient gate, can result have the following characteristics:
in significant energy savings.
• Fused for short circuit protection
Power Systems • Input polarity reversal protection
• Output voltage surge protection
Power systems — batteries and • Automatic shutdown of motion
onboard regulators — are often an control functions with loss of
afterthought, a distant second or remote control signal
third behind the drive system and • Provide input and output isolation
the microcontroller — and often for • Highly efficient
good reason. A typical carpet • Affordable
• Lightweight
REFERENCE • Self-monitoring
• Stabile and accurate output
[1] A123 Systems. • Support switched power sub-
www.a123systems.com. systems
50 SERVO 10.2006
Bergeron.qxd 9/5/2006 8:08 PM Page 51

FIGURE 1. Linear regulator with support


for subsystem cutoff through the use of
the INHIBIT lead.

• Linear ramp-up for servo systems


• LED indicators of operation
• Simple
• Low standby or quiescent power
dissipation
route to stable, high-efficiency power. tor to ground. The value of the resistor
Some of these characteristics are Switching regulators are more is defined by the following equation:
mutually exclusive. Even so, let’s review finicky than their linear counterparts,
some popular regulator technologies, especially when it comes to input Rtrim = [10.5/(Vout-0.7525) – 1] K ohms
keeping the characteristics of an ideal voltage. For example, the ETA OC1-3.3
system in mind. shown in Figure 2 provides 3.3V at 1.5A. The SX5A, which can be disabled
While the unit is only about 30 x 20 mm, remotely, lends itself to programming,
Linear Regulators it’s dwarfed by the Bourns SX5A-12 that either one time or during robot opera-
Linear regulators, which act like is capable of supplying any voltage in tion, when combined with a program-
variable resistors to drop a voltage the range of 0.75 to 5.5V at a full 5A. mable potentiometer, such as the
down to a lower fixed or variable value, Why the size discrepancy? The major CAT5113. For example, I use the circuit
are simple, inexpensive, and light- difference between the two switching in Figure 4 to supply voltage to a robot
weight. The linear regulator circuit regulators is the range of input voltages arm. Slowly ramping up the voltage at
shown in Figure 1 is appropriate for they support. The OC1 can work with any startup avoids the sudden jerking that
applications with current requirements voltage from about 10V to 32V — which often occurs when servos are first ener-
of 5V at 500 mA or less. The LF50CPT is perfect for the 12-cell NiMH packs gized. The CAT5113 is easily controlled
has a very low voltage drop and, more that run 15V to 16V when fully charged.
importantly, it supports switched power The SX5A, in comparison, expects 10V FIGURE 2. Switching regulators. The ETA
subsystems through the INHIBIT lead. to 14V. The module shuts down with OC1-3.3 (lower left) provides 3.3V@1.5A,
while the smaller Bourns SX5A-12s (right)
Driving the INHIBIT lead high by con- anything outside of that range. each provide 0.75-5.5V@5A.
necting an appropriate source through The efficiency of the OC1-3.3
Jack JIN, turns off any subsystems and 5V OC1-05 is in the low 90s,
connected to JOUT. The jumper, JP, is which is significantly better than
used to keep the regulator switched on. anything a linear regulator could
I’ve used this configuration with good provide. In addition, the OC1 series
results on a 12-cell NiMH battery pack. of switching regulators support a
The major downside of this and remote cutoff for subsystem shut-
other linear regulators is efficiency. down. For continuous operation, the
However, when used to occasionally remote cutoff (RC) lead is kept high
switch on circuitry, efficiency may not with a pull-up resistor, as in Figure 3.
be a major factor. The basic configuration of the
SX5A is similar to that of the OC1.
Switching Regulators However, the output voltage of the
Switching regulators — also called SX5A can be set by either applying
DC-DC converters — are inherently more a voltage to
efficient than linear regulators, but are the TRIM lead of
also more complex, require more com- the device or
ponents, and are often more expensive. installing a resis-
They also tend to be more expensive
FIGURE 3. The ETA
than simple linear regulators. However, OC1-3.3 configured
ready-to-use modules, such as those for continuous
shown in Figure 2, are the quickest operation.

SERVO 10.2006 51
Bergeron.qxd 9/5/2006 8:11 PM Page 52

Energy Management for


The advantages
FIGURE 4. The SX5A switching of a resettable fuse,
regulator, when combined
with a CAT5113 programmable such as the Raychem
potentiometer, becomes a Polyswitch shown in
programmable power supply. Figure 6 (and previous-
ly used in the schemat-
ic shown in Figure 1),
are size and weight
savings, and freedom
from having to replace
fuses. In addition,
instead of designing a
board so that the fuse
can be easily accessed
and changed, a thin
Polyswitch can be
tucked away out of
by a Stamp or other microcontroller, other attached to the head of an arm. sight. The price for this convenience is
and the output pins — High, Low, Using the switch enables me to use one the added resistance of the switch.
and Wiper — correspond to the same receiver and switch between the two Whereas an ATC Blade Fuse might have a
terminals on a physical potentiometer. cameras, without the need to handle resistance of a few thousandth’s of an
audio or video signals. The LC110P is ohm, the Polyswitch shown in Figure 6
Switched Power capable of switching a continuous has a normal resistance of between
current of 120 mA, and 350 mA peak. 0.035 and 0.085 ohms.
Power to subsystems can be Polyswitches are rated by
switched, regardless of whether the reg- Safety maximum voltage, maximum current,
ulator supports remote operation. Figure hold current, trip current, and trip time.
5 illustrates the use of a solid-state relay Safety should be a major concern The Polyswitch in the figure (Mouser
to switch a 9V supply. I use the circuit to when experimenting with a new robot 650-SMD250) is rated at 15V, 40A
switch between two 9V pinhole cameras design or even when working on an old maximum current. It will handle 2.5A
on a crawler — one facing front and the design in a new environment. Lithium indefinitely (hold current) and trip at
cells ignite and burn when shorted for 5A. The trip time is 25 seconds at 8A.
FIGURE 5. Solid-state relay used to switch only a few seconds, and a $1,200
a 9V supply.
processor board can be Current Monitoring
ruined if a stray wire A basic principle in selecting a fuse
lands on the wrong pad or resettable fuse is to anticipate the
following a crash. Safety highest normal current and to trip the
involves good design prac- fuse at anything higher. For example, I
tices, as well as providing use several of the H-bridges from
technological solutions to Parallax for motor controllers. The
inevitable accidents. bridges ship with a 25A ATC Blade fuse,
but I replaced the fuses with 15A ver-
Current Limiting sions after determining that the maxi-
A fundamental safety mum stall current on my robot was just
precaution is to limit the over 12A. A clamp-on meter, such as
current that can flow the Fluke-337 or Extech 355, is perfect
from the batteries to the for monitoring high currents without
circuitry. A fast-acting breaking circuit continuity or introduc-
fuse — such as the ATC ing lead resistance into the circuit.
Blade Fuse or a Polyswitch It’s often useful to determine current
Resettable Fuse — can drawn from a power supply during nor-
protect batteries and mal operation, especially during the early
circuits from disaster. design stages. A simple way to monitor
current draw in real time is to use a cur-
FIGURE 6. Diminutive Polyswitch rent monitor, which takes the voltage
Resettable Fuse (left) and
the ATC Blade Fuse (right) are developed across a current shunt resis-
inexpensive insurance against tor and translates it into a proportional
a catastrophic meltdown. output current. This current is then
52 SERVO 10.2006
Bergeron.qxd 9/5/2006 8:11 PM Page 53

AUTONOMOUS ROBOTS
translated into an output voltage across a
precision resistor and ground, as shown
in Figure 7. Current through the 0.01
resistor creates a voltage that is sensed
by the monitor and a voltage appears
across the 10K resistor and ground.
Assuming a 0.01 ohm shunt, the relevant
FIGURE 8. Temperature
equations for the circuit are: monitoring with a thermistor
in parallel with a resistor.
Vsense = Vin – Vload
Vout = 0.01 x Vsense x Rout important. What matters
is that the temperate has
That is, Vsense is the voltage drop risen above a predeter-
across the 0.01 ohm resistor. At 1A, mined level, such as 60°
the voltage drop is 0.01V, and Vout is C. You can use a heat gun and thermal FIGURE 7. A low-resistance shunt resistor
and a ZXCT1009 current monitor for real-
0.01 x 0.01 x 10K or 1V. A current probe to determine the resistance of the time current monitoring.
of 5A will result in 5V across the 10K thermistor/resistor combination at the
resistor, which can be fed to the analog temperature limit and program your able for robotics applications are the
input port of a microcontroller for microcontroller accordingly. W.S. Deans Ultra-Plug, available from
logging or sounding an alarm. A commercial solution to real-time Tower Hobbies, and the Anderson
monitoring of temperature, current, PowerPole connectors, available from
Temperature Monitoring and voltage is available from Eagle PowerWerx. The Ultra-Plug is light-
Overheating of battery packs and Tree Systems, in the form of their weight and goof-proof, but the
regulator boards is a common problem Micropower E-Logger. The 17 gram sys- PowerPole is available in sizes designed
in robotics work. Although most of the tem sells for about $100 when config- from for 15A-350A, and is compatible
switching and linear regulators have ured with sensors and cables for RPM, with several splitters and adapters.
some form of thermal auto-shutoff, it voltage, current, and temperature. The Consider purchasing a few meters of
helps to know that the temperature is most impressive part of the package is silver solder, which contains about 2%
rising well before power is shut off. The a Windows-based application that can silver, for very high current applications.
least expensive approach to tempera- be used to graphically display the data.
ture monitoring is to install a thermistor Putting it Together
directly on the regulator board, and to Connectors and Cables
periodically poll the resistance with a An often overlooked aspect of ener- The multi-regulator circuit shown in
microcontroller. gy management is the cables and con- Figures 9-11 is offered to readers who
The primary advantage of using a nectors used to carry current from the need a robotic power supply with multi-
thermistor — a temperature sensitive battery to circuit boards and between ple, isolated output voltages and
resistor — is sensitivity. Thermistors are circuits. As a rule of thumb, use 14 switched subsystem capabilities. It is
more sensitive than thermocouples and gauge wire up to about 30A, 10 gauge designed to support two batteries, a 14V-
most other temperature measuring up to 45A, and eight gauge up to 75A. 16V NiMH pack, such as the common 12-
components. Moreover, thermistors Of course, eight gauge copper wire is cell RC configuration used on the E-Maxx
are small, lightweight, and inexpensive. heavier and more difficult to handle trucks, and a separate 12V source. The
They’re also highly non-linear. than 14 gauge wire, but at 50A or 60A, populated board measures 80 x 95 mm,
Fortunately, a simple work-around is to the electrical difference is significant.
use an ordinary resistor in parallel with Some of the best connectors avail- FIGURE 9. Top (left) and bottom (right) of
the populated multi-regulator board.
the thermistor. Sensitivity suffers some-
what, but linearity is improved.
Most manufacturers provide tables
of resistor values for linearization, but a
simple heuristic is to use approximately
equal values at the desired temperature.
For example, the thermistor in Figure 8
has a resistance of 10K at room temper-
ature. When paired with an ordinary
10K resistor, the pair will provide a
relatively linear response ± several tens
of degrees around room temperature.
It’s important to note that for this appli-
cation, the absolute temperature isn’t
SERVO 10.2006 53
Bergeron.qxd 9/5/2006 8:12 PM Page 54

Energy Management for

54 SERVO 10.2006
Bergeron.qxd 9/5/2006 8:12 PM Page 55

AUTONOMOUS ROBOTS
weighs 65 grams, and makes extensive your own robot supply, you’ll appreciate management issues resolved, you can
use of surface-mount components. using one energy management system focus on the more challenging aspects of
The section of the supply shown in for all your robot designs. With power robot development. SV
Figure 10 uses switching OC1 modules to
provide 3.3V@1.5A and 5V@1.5A. Linear FIGURE 11. This section
regulators and a solid-state relay are used of the multi-regulator
to provide two 3.3V@0.5A outputs, two board is designed to
5V@0.5A outputs, one 9V@0.5A output, run off of a 10-cell NiMH
(10V-14V) pack.
and two switched 9V@0.5A outputs.
The current available from the three 9V
terminals is 0.5A total. The regulators in
this part of the multi-regulator board are
intended to work off of the same battery
used by the drive mechanism.
The section of the supply shown in
Figure 11 provides 5V@5A and 0.75-
5.5V@5A outputs. It uses the SX-5A and
assumes a 10V-14V source. Both sides
feature current monitoring and LEDs on
all outputs. The ExpressPC schematic and
board design are available on the SERVO
website (www.servomagazine.com)
for readers who want to modify the
board to their specific needs.
Does the multi-regulator fulfill the list
of requirements established above for
the perfect power source? Not quite. I’m
still waiting for an inexpensive, light-
weight, high-current module that works
on any input voltage. Whether you opt to
build the multi-regulator or use some of
the technologies discussed here to design

RESOURCES
Mouser Electronics
www.mouser.com
PowerWerx
High-current connectors, splitters,
and cables
www.powerwerx.com
Tower Hobbies
Connectors, cables, and silver solder
www.towerhobbies.com
Robotics Group, Inc.
RGi PowerCommander programmable
power supply
www.roboticsgroup.com
Eagle Tree Systems
Micropower E-Logger
www.eagletreesystems.com/Micro
Power/micro.htm

FIGURE 10 (left). Schematic of the


mixed linear and switching regulator
circuitry in the multi-regulator board.
This section of the board is designed to
run off of a 14V-16V, 12-cell NiMH pack
or equivalent.

SERVO 10.2006 55
Simpson3.qxd 9/5/2006 7:27 PM Page 56

I n Parts 1 and 2, we built the base and the controller


for the FaceWalker robot. Now it’s time to add the
brain. If you remember back in Part 1 of the series, I
told you that the face on the robot was one of the key
components of the project. Without it, you have just
another walker, albeit a cool one. We will be using a
Pocket PC for the brain.
by Michael Simpson
Let’s look at a few requirements: • RS232 port
• 240 x 320 or better graphics
• 300 MHz or faster processor, 500 MHz recommended • ZeusPro Development Software
• Windows Mobile 2003 or 2005
• .Net Compact Framework 1.- SP3 or 2.0 I understand that not everyone who wants to build the
FaceWalker wants to use a Pocket PC. The good news is that
the software that we create with the ZeusPro package will
run on a normal PC as well as a Pocket PC. ZeusPro is a very
easy and inexpensive way to do Windows development on
the desktop and Pocket PC. It is perfect for robotics as it was
developed for interfacing to the outside world. You can do all
your development, testing, and debugging on the desktop
and then simply create a desktop or Pocket PC executable.
For those Pocket PC purists, there is even a full-blown
Pocket PC development environment that allows you to do all
the development, debugging, and testing on the Pocket PC.
The software portion of our brain is crucial, but we have a
few finishing touches we need to make to our base first.

Finishing Up the Platform


If you have not done so already, you need to cut
out your upper platform. This platform needs to be
at least 7” in diameter, but can
assume any shape you wish to
add a different effect to the
FaceWalker. I am going to
assume you are using
clear Lexan for your
platform, but just about
any smooth material will
work. Most home centers
sell 1/8” Lexan sheets
and an 8” x 10” sheet will
cost you under $5.
The Lexan sheet will
come with a protective plastic

FaceWalker
56 SERVO 10.2006
Part 3 — The Brain
Simpson3.qxd 9/5/2006 7:28 PM Page 57

Figure 1 Figure 2 Figure 3

covering. Leave this in place while you Lexan. You can get this from your You are not restricted to this
cut out the platform. The covering local hobby shop as it is what mount alone. The main head can be
makes a nice surface on which to draw hobbyists use to paint RC car bodies. removed and mounted any number of
your pattern and provides lubrication In Part 2, you added a connector ways. In truth, I mounted the head on
while you cut the sheet. If you have to a PS2 extension cable. It is time to a shorter cell phone mount on my
some scrap Lexan or plastic material once again connect that connector to first FaceWalker. I do recommend,
without this covering, you will need to the DiosPro. We need to take a small however, that you use the cup for a
add some masking tape. As you cut the tie wrap and attach the cable to the while until you get your FaceWalker
plastic, the covering shreds and provides standoff shown in Figure 3. tricked out the way you want. This
a lubricant that keeps your scroll saw or This provides some strain relief to allows you to remove and reposition
band saw from melting the plastic. This the connector that we made back in the mount as needed.
will yield you a much better edge. Part 2. Place a small 1” piece of The actual PDA mount position is
Once the platform shape has double-stick foam tape on the bottom a matter of preference, but I placed
been cut out, you will need to mark of the PS2 connector and attach it to mine as far back as it would go so
out and drill the holes as outlined the platform as shown in Figure 4. that the Pocket PC would be some-
back in Part 1 of this series. We also To attach the Pocket PC to the what centered as shown in Figure 6.
need to create the holes for the two platform, we need a universal PDA
LEDs in our PS2 controller interface. mount like the one shown in Figure 5. Pocket PC Serial
This is done by inserting six #4 These have a flexible ball joint Interface Cable
machine screws into the standoffs as behind the head, and the neck can be
shown in Figure 1. positioned at any angle. They use a You are going to need a cable that
You then place the platform on suction cup to hold the mount in connects your Pocket PC to the
top of these screws, matching up the place. I have had one of these in my FaceWalker. Each and every Pocket PC is
holes as shown in Figure 2. At this car for years. The connection is quite different and you will have to research
point, you can place a small mark on strong and will last a long time as long your particular model in order to
the Lexan over each LED. For standard as the surface is smooth and clean. purchase the correct one. Most Pocket
size LEDs, a 7/32” drill bit is perfect You can find one of these PC cables like the one shown in Figure 7
but a 1/4” will do if you don’t have mounts for under $25 by searching
that size. After this is done, you can for “Universal PDA Mount” on Figure 6
paint the underside of the platform. Amazon. You can also find them in
Use a paint that was designed for some auto supply stores.

Figure 4 Figure 5

SERVO 10.2006 57
Simpson3.qxd 9/5/2006 7:28 PM Page 58

interface in applica- mount. You will still need the standard


tions like this. If you sized PDA head as the cell phone head
decide to go with a is too small to hold a Pocket PC.
cable like this, wrap
the excess cable First Test
around the neck of
the mount and route Before I get into the details of the
the cable through the software, let’s test the completed
inside of the base FaceWalker from the PC. The
along the side of the FaceWalker desktop software requires
Figure 7 Figure 8 SSC-32. you to have .Net installed on your
computer. It will not run without it.
were designed to connect the PDA to Make Your Own
the PC. This sets the Pocket PC as a Pocket PC Cable • Install the FaceWalkerDT_Setup soft-
DCE device and will not work when ware on your desktop computer.
connected to the SSC-32. So, for most Another option is to build a cable. • Place the FaceWalker on some sort of
purchased cables you will need a gen- If you have an IPAQ Pocket PC, then stand so that the legs are free to
der changer and nine-pin null modem. you are in luck. The Kronos Robotics articulate.
I attempted to use Bluetooth and website has a step-by-step project • Connect a nine-pin serial cable
a Bluetooth RS232 adapter and had showing you how to build the cable between the FaceWallker SSC-32
little success. While Bluetooth has shown in Figure 8. The advantage to a board and the PC.
some good throughput speeds, I custom-made cable is that it can be • Connect a wired or wireless controller
found that it has too much latency designed to the exact length and you to the FaceWalker PS2 connector.
when used in an application such as won’t need any gender changers or • Power up the logic using the logic
this. Now, I’m not saying it can’t be null modems. You can find the instruc- power switch.
done. The other problem that tions on how to make one of these
Bluetooth has with operations like this cables at www.kronosrobotics.com/ At this point, the two LEDs
is that if the Pocket PC gets turned off, Zeus/IPAQcon.shtml should blink, then go green.
you have to manually go back and
reset all the connections, making it a Some Finishing • Start the FaceWalker_DT application.
pain to set up each time you change Touches
the batteries in the FaceWalker. The red LED should start to flash.
I also tried IRDA and Zigbee and Take a look at Figure 9. I added If it does not, you may need to change
neither panned out. With all the bad some split loom tubing to the serial the com port as shown in Figure 10.
press that RS232 serial I/O gets, it cable and the PS2 connector cable. The FaceWalker will wink continuously
provides a very reliable and rock solid Walkers are notorious for destroying (nervous twitch) if it does not have a
servo cables, so I have connection to the PS2 controller.
Figure 9 added thin plastic wrap to
all of mine. You can also • Power up the servos using the servo
use thin split loom tubing power switch.
for this, as well.
You may have also Move the right joystick forward
noticed in Figure 9 that I am slightly until the legs start to move.
using the shorter cell phone Once they do, let the joystick move
back to the center position. The legs
Figure 10 should stop moving. The more you
move the joystick, the further the leg
stride. Try all joystick directions.

Final Pocket PC
Hookup
Now it’s time to connect your
Pocket PC to the FaceWalker.

• Install the FaceWalkerPPC_Setup soft-


ware. You will need to have your
Pocket PC attached to the PC when

58 SERVO 10.2006
Simpson3.qxd 9/5/2006 7:29 PM Page 59

you run this install. the menu to see if we need to High level commands like PlayHello,
• Once installed, disconnect the Pocket change the com port. PlayHey, PlayGetback, PlayMean, and
PC from your desktop and place it in • Next, we make a call to the animation PlayCommandAttack are called to load
the PDA mount on the FaceWalker. routines to handle any face changes a series of arrays called Eyecommands,
• Connect the serial cable and any that were triggered. Mouthcommands, and Sound
needed adapters to the Pocket PC • The program then calls the PS2 rou- commands.
and SSC-32 board. tines that pulse the DTR lead that sig- These are then played back and
• Connect a wired or wireless controller nals the DiosPro chip to send us a choreographed based on the times
to the FaceWalker PS2 connector. reading taken from the PS2 controller. loaded in their corresponding time
• Power-up the logic using the logic A set of six global variables called arrays. The doface() subroutine is
power switch. DualShock1-DualShock6 are populat- used at the gateway into this engine
ed with the current PS2 readings. and is called on a regular basis from
At this point, the two LEDs • After the buttons are checked and the main program loop.
should blink, then go green. handled, a call to the IK routines are
made to process the leg movements. WalkerActionLib.txt
• Start the FaceWalker_PPC applica- • The button settings are saved and we The IK routines are used solely for
tion on your Pocket PC. start all over and do it again. making the FaceWalker walk. If we
want to place the FaceWalker in a
The red LED should start to flash. WalkerIKLib.txt defensive stance, we need to make a
If it does not, you may need to change This is the heart of the FaceWalker call to the action library. The action
the com port as shown in Figure 10. walking commands. IK stands for library is where any action outside
Inverse Kinetics. Here is what
• Power up the servos using the servo they do. Instead of using a state Parts List
power switch. machine like many walker pro-
Kronos Robotics — www.kronosrobotics.com
grams do, the position of each
• FaceWalkerDT install software
Again, move the right joystick leg target is calculated based on • FaceWalkerPPC install software
forward slightly until the legs start to the command you have given it. • FaceWalker source
move. Once they do, let the joystick In other words, if you are telling
move back to the center position. The the FaceWalker to spin, a mathe- • All the source code, as well as project
legs should stop moving. The more matical calculation is made to updates, can be downloaded from the Kronos
Robotics website at www.kronosrobotics.
you move the joystick, the further the calculate the new position of the com/Projects/FaceWalker.shtml
leg stride. Try all joystick directions. leg from its current position.
That’s it!!!!! Construction is com- What this all means is that KRMicros — www.krmicros.com
plete. Let’s take a look at the software. you can give the FaceWalker the • ZeusPro: www.krmicros.com/Development/
commands to move forward, ZeusPro/ZeusPro.htm
The Software sideways, and spin all at the
Miscellaneous
same time and it will respond. It • Double-stick Foam Tape. One 1” piece should
The FaceWalker brain software is also means that from just about do it. Any home center will carry this. A
broken down into four sections, which any position we can go to popular brand is 3M.
are: FaceWalker.txt, WalkerIKLib.txt, another position without having • Tie Wraps. You may need a couple of these to
WalkerAnimationLib.txt, and Walker to return to a home position. anchor some of the cables. You can pick
these up at most home centers also.
ActionLib.txt. This is not true of most state-
• An 8” x 10” sheet of 1/8” Lexan. You can pick
based walker programs. up cut sheets at the same home centers.
Let’s take a look at each section A big thank you goes to • Universal PDA Mount. Perform a search on
in detail. Laurent Gay for originally Amazon.com for ‘Universal PDA Mount.’
implementing the IK mathe- • Pocket PC serial cable. You will have to check
FaceWalker.txt matics behind these walker with your particular Pocket PC manufacturer.
• Nine-pin Null Modem. You will need this if you
This is the entry point into the routines. I simply ported the purchase a serial cable designed to connect
program. It contains the main loop code to the Zeus language and your Pocket PC to a desktop PC. Check
and makes calls to various routines encapsulated it into the www.jameco.com for this.
that allow the FaceWalker to operate. ProcIK() subroutine. • Nine-pin Female-to-Female Gender Changer.
When started, the program initial- You will need this if you purchase a serial
izes various segments of the program WalkerAnimationLib.txt cable designed to connect your Pocket PC to
a desktop PC. Check www.jameco.com for
and starts the com port. Once done, it This is an animation this, as well.
enters a loop where all the processing engine that handles all the • Split Loom Tubing. This is needed only if you
in the program is taken care of. sounds and face animations want to hide or protect some of the cables.
based on tiny lists that are Most home centers carry this in the electrical
• The first task in the loop is to check controlled by a state machine. section.

SERVO 10.2006 59
Simpson3.qxd 9/5/2006 7:29 PM Page 60

www.orteches.com www.orteches.com www.orteches.com www.orteches.com www.orteches.com www.orteches.com

www.orteches.com www.orteches.com www.orteches.com www.orteches.com www.orteches.com www.orteches.com


www.orteches.com www.orteches.com www.orteches.com www.orteches.com www.orteches.com www.orteches.com
lift, the FaceWalker uses. By adjust-
Elexol 3rd Generation Low Cost ing this value and slowing down
USB Data I/O Module the FaceWalker’s speed, you could
make him tip toe.
Need to get data into or out of a USB port? Here’s what you need...
• 24 independently programmable Input/Output pins grouped into 3 ports.
• Single module high-speed digital Input/Output solution. Triangle Button
• Up to 128 modules can be connected to a single PC with capabilities of • Slows down the overall servo speed.
further expansion.
• Easy to connect by 0.1" pitch headers to suit standard IDC connectors. X Button
• Integrated Type-B USB connector. • Speeds up the overall servo speed.
• On-board unique serial number in EEPROM and custom programmable
FLASH microcontroller.
Square Button
• Both USB enumeration information and microcontroller can be re-
programmed to suit customer needs. • Face says “Hey.”
• Module powered by the USB from the PC.
Circle Button
Great range of I/O-24 peripherals, too...
• Face says “Hello.”

R1 Button
• Attack Mode.
CONNECTOR/LED BOARD OPTO INPUT BOARD RELAY OUPUT BOARD SWITCH/PUSH
Provides screw terminal Provides 8 Opto isolated Provides 8 isolated relay BUTTON BOARD R2 Button
connections plus optional either inputs for each of the I/O-24 contact outputs suitable for a Provides 8 switch/push buttons
pull up or pull down resistors and pins with LED indications. variety of loads. with LED indicators showing the • Shy Mode.
LED port status indication. status of the I/O pin.

Visit our website www.orteches.com L1 Button


Ortech Education Systems • Cycle through commands. Face-
1119 - 9th Ave. S. • Moorhead, MN 56560 Walker face will say the command.
218.287.1379
www.orteches.com www.orteches.com www.orteches.com www.orteches.com www.orteches.com www.orteches.com
L2 Button
• Do the command.

normal walking movement is done. Right Analog Stick Many of these commands
This is done in a couple of ways. • Left and right cause the FaceWalker were created for the Robot Fest. Feel
One way is that we simply call a to strafe left or right. free to modify them for your own
ComOutput command to place the • Up and down cause the FaceWalker needs.
servos in predetermined positions to move forward and backward.
with various delays between the calls. Final Thoughts
The ACT_ATTACK command is an The amount of movement is deter-
example of this type of action. mined by how far you push the stick. The FaceWalker has performed
The other way is to use a set of flawlessly. It has proven to become
low-level action segments. I have Left Analog Stick the attention-getter it was designed
added commands like HipV, HipV, • Left and right cause the FaceWalker to be. I have even taken it to non-
and Knee, as well as higher level to rotate. robotic events and it has never failed
commands like LegUp, LegDown, and • Up and Down set the height of the at stealing the show.
LegFWD. By calling these commands, FaceWalker.
you can perform movements in loops. Going Further
The Shy command is an example of Select Button
this. You could use these commands to • Locks the current height in place. The action and animation
place FaceWalkers belly on the ground, Hitting it again releases it. libraries were designed with expan-
then use the legs to create a wave. sion in mind. Take a look at the code
The action library is also where Digital KeyPad and start playing around.
we trigger face animations and sound • Left and right set the number of The DiosPro microcontroller’s
to be played by the animation library. steps needed to make a leg move- power has barely been tapped. It
ment. The lower the number, the would be very easy to add some
FaceWalker Operation faster the legs will get to their posi- sensors to this interface such as a
tions. For Pocket PCs, this is set to Sonar. Once done, you could start to
Since we are using a PS2 4, and for desktop machines this is add automation to your FaceWalker.
controller, there are quite a few com- set to 8 at program startup. It is absolutely feasible to make the
mands you can give the FaceWalker: • Up and down set the amount of leg FaceWalker totally automated. SV

60 SERVO 10.2006
Full Page.qxd 9/7/2006 2:00 PM Page 61
Calkins.qxd 9/7/2006 8:18 PM Page 62

by Dave Calkins

ROBOGAMES
PREP:
RoboMagellan
I
’m sure that you’ve heard of the to another, but could be built by RoboMagellan robot:
DARPA Grand Challenge. Build the average robot hobbyist? That’s
a full-sized vehicle that can what RoboMagellan is. A robot 1) Mechanical design.
autonomously drive from outside about the size of an R/C truck that 2) Electronics and sensor fusion.
of Los Angeles, CA to outside of has been reconfigured to 3) Software — by far the biggest factor.
Las Vegas, NV. Of course, even autonomously drive around — operat-
the most trimmed down Grand ing outdoors rather than inside. But “My personal observation has
Challenge robots cost hundreds of it’s not just a matter of putting a been that most teams spend most of
thousands of dollars and the builders BASIC Stamp on an R/C and their time working on a good mechan-
spent tens of thousands of hours collecting your trophy. ical platform that drives around well,
making them. Ted Larson — two-time and the least amount of time on
But what if we could build ROBOlympics medal winner with his software. Our first year in Seattle, we
mini Grand Challenge robots? Robots RoboMagellan bot ‘Odyssey’ — points did exactly this, and of course, like
that were still autonomous and out that there are three key domains to everyone else, we ran into something,
could go from one given GPS point master for building a successful and didn’t make it to the final cone.
Since then, we have been working on
software and sensor upgrades, and
TAKE OUR ADVICE ... finally have something that works well,
Ted Larson offers some great advice for robot builders who want to two years later.”
compete at next year’s ROBOGames: Many articles have graced the
pages of SERVO Magazine covering
● Build something now — Don’t try is more than half the problem. Focus this very problem. Odyssey has a
to solve the whole problem all at on software. main power distribution, motor
once. I have seen some really control board, a sensor board, a GPS
elaborate designs that never made ● Testing, testing, and more testing — navigation board, a main CPU board
it off the drawing board. Better Get yourself some road cones at a for high-level decision making, and
to have a robot that doesn’t do local safety supply store. If you a camera board for talking to a
everything correctly than to have can’t make it work in your own CMUcam for cone finding. All the
no robot at all. Start simple, and backyard, then you certainly won’t individual boards are tied together
work your way into a more complex be able to make it work the day of using an I2C bus.
solution. the competition. “Rusty” — Camp Peavy’s
RoboMagellan bot — is similarly
● Get started building early — ● Join the Seattle Robotics Society controlled by five different BS2 Stamp
Don’t wait until two weeks before (SRC) Yahoo! Group or the Home computers. It is a network on wheels.
the competition. Brew Robotics Club (HBRC) One is the “Master Stamp” which
listserve. You will get great advice coordinates the information from the
● Don’t spend all your time on there from others who have four others. One Stamp is dedicated
mechanical design — Good software working robots. to getting GPS information; one
is dedicated to getting compass
62 SERVO 10.2006
Calkins.qxd 9/7/2006 8:18 PM Page 63

[ “

]
That’s what
RoboMagellan is. A robot
about the size of an
R/C truck that has
been reconfigured to
autonomously drive around
— operating outdoors
rather than inside.
” Photo 1

Photo 2 Photo 3 Photo 4

Photo 5 Photo 6

Photo 7

PHOTO 1. You’re almost there! A PHOTO 3. Getting a robot to a cone PHOTO 6. Ted Larson and Bob Allen’s
robot slowly makes it way to a bonus can be harder than you think. robot “Odyssey” is custom-built from
cone. the ground up. It won the gold medal
PHOTO 4. Rusty — a bare-bones at ROBOGames 2006, and the silver the
PHOTO 2. They may not be Stanley, RoboMagellan bot — was built by Camp year before.
but RoboMagellan robots can do a Peavy.
great job of finding their way along PHOTO 7. If just come as an onlooker,
courses as well as their bigger cousins PHOTO 5. Marvin was a student-built why not catch some sun while
at DARPA can. robot that competed in 2005. watching the robots?

SERVO 10.2006 63
Calkins.qxd 9/7/2006 8:19 PM Page 64

ROBOGAMES Prep
information; one is dedicated to the into the puzzle for dead-reckoning better. Once the bot finds the cone, it
ultrasonic array; and finally, one is when necessary. hones in to touch it using large,
dedicated to the CMU color camera. Ted and business partner Bob bug-like feelers sticking out in front of
Each gathers its information in parallel Allen custom-built a navigation board the robot. The feelers work well
and relays it to the Master Stamp that takes all this data in, and smashes enough to know what’s there, and
which then uses that information in it out into simple vector-pursuit path to touch the cone without knocking
its decision making. Two robots planning algorithms. Once they have a it over.
completing the same task, yet with path to drive, they feed the appropriate
very different designs. motor commands to a closed-loop Navigation
All of Odyssey’s electronics do not control system on the motor control Considerations
help much without good sensory gear. board, and then it’s rubber to the
Odyssey has five sonar units and ground to get there. RoboMagellan is far more
navigates using a Garmin 18LVC GPS, When Odyssey gets near where it challenging than you might think. First
combined with a self-designed six- thinks the cone should be, it starts and foremost, it’s never a straight line
degree-of-freedom inertial unit, and a looking at the camera for orange from start to finish. So your software
two-axis magneto-inductive compass. blobs. The CMUcam does this nicely. has to take into account how to go
It also has US Digital optical encoders A recently acquired AVR-cam from around an obstacle and get back on
mounted to the motors that get fed JRobot will probably work even track to arrive at the destination (be
that a bonus cone or the end point.)
The terrain may be tricky to traverse
ROBOMAGELLAN RULES — robots can easily get stuck or
high-centered.
● The robot must autonomously ● The robot must fit in a 4 x 4 x 4 ft. The course cannot be completed
navigate to a “destination” point, square box, and cannot weigh more using GPS alone, which can be spotty
and touch an orange road cone, in than 50 lbs. from one point to the next. So
the shortest time possible. builders have to plan on how their
● Course is laid out in a 300 sq. ft. robot will respond when it’s not
● Several bonus waypoints (more area outdoors. getting a signal. Finding a cone from
orange cones) exist on the course as close as a meter away is a more
which, if touched, give your final ● Competition goes on rain or shine, difficult problem than it initially
time a fractional multiplier, thus so robot must be weatherproof. appears to be, especially if you’re
improving your time. Difficulty of However, the robot will not be using a CMUcam with its limited
each bonus waypoint determines required to traverse a water resolution. Bonus waypoints can be
the size of the fraction. obstacle to complete the course. quite difficult to reach — they could be
tucked away in a tight space, or as
● Just about any type of obstacle ● Each robot is scored on the best difficult as climbing a ramp or not
(rocks, buildings, holes, etc.) can of three tries to complete the falling off an embankment.
exist between the starting course. GPS reception on the course will
point and the destination. The be intermittent, so you need a backup
destination will most likely not be ● Each robot is given 15 minutes to navigation plan to get you through
visible from the starting line, nor run the course on each of the three the dead spots. Haversine (Great
will a direct path lead you to the tries. Circle) math is difficult to do on an
destination. eight-bit MCU — if you build a
● Robot with the fastest, bonus- RoboMagellan bot, plan on using a
● GPS coordinates of the start, adjusted time to complete the robust chip to do your math. Some
finish, and bonus cones are handed course wins. competitors use hand-held GPS units
out 30 minutes prior to the event, that have the capability to do built-in
and contestants are allowed to walk ● Each robot must be equipped routing. It saves you from having to
the course and collect their own with either a wireless safety do the GPS math on your CPU,
GPS data, if desired. You cannot shutoff device, or a wired (tethered) plus it’s easy to remove from the
pick up the robot and carry it dead-man switch. robot to collect waypoint data before
around the course to collect you start a run.
GPS data, so your GPS unit ● No other “remote” control It helps to have additional sensors
needs to be detachable for taking beyond the safety stop measure is that can be used to increase the
measurements. allowed. accuracy of your GPS data. In
RoboMagellan, GPS repeatability is
64 SERVO 10.2006
Calkins.qxd 9/8/2006 2:39 PM Page 65

Photo 8

Photo 9

PHOTO 9. A crowd follows the first robot to


PHOTO 8. Follow that human! compete at this year’s ROBOGames.

more important than GPS accuracy. RoboMagellan robot. It’s got almost While building a successful
You should also use a compass and everything you need except a GPS RoboMagellan bot may seem like an
an inertial measurement unit to try receiver. insurmountable task, you’ve got nine
to overcome GPS dead zones, Of course, the Maxx is just one months before ROBOGames 2007 to
and deliver more accurate GPS possible solution. You could use any build a robot — so start now! Set dead-
repeatability. While you might lose a number of robot platforms, including a lines! — Say, for example, by December,
GPS signal, you won’t lose magnetic legged walker. (I’d love to see a quick be able to make the robot move from
north — so you can follow your moving hexapod compete at point A to point B autonomously. By
bearing until you get a reliable GPS RoboMagellan — there’s no reason February, it should be able to do
signal again. legged bots can’t upstage the wheeled straight-line movement from two GPS
Finding the cone is not an easy robots.) points. The next month, add the cone-
task — don’t underestimate how RoboMagellan robots won’t be finding and touching abilities. Then,
difficult it will be. Just because you cheap, however. Although Camp’s add a third cone as a bonus. Or, pick
can get the robot close, doesn’t mean “Rusty” was put together for just two GPS spots with an obstacle in the
you will find it or even sense that it is a few hundred, you could easily way, so the robot must go around it
there. As with all color matching pro- spend $1,000+ on a robot — but and find its own path again.
grams, the lighting will change the by using your ingenuity, I know Building robots is never easy. This
apparent chrominance of the object — that many builders could make a is a very hard challenge, but I’m sure
so be prepared for orange cones successful RoboMagellan bot for many of you are up to it. If you start
to look like another color. under $500. now, you just might be able to take
Lighting conditions are completely RoboMagellan is a difficult, but Ted’s place in next year’s event! SV
unpredictable, and determined by rewarding event. Getting it
weather and shading conditions of right, however, takes a lot of
surrounding obstacles. time. Start now if you’re FOR YOUR INFO
going to compete. Find a ● Name of Event: RoboMagellan
Robot Platforms few parks nearby your home ● Number of Robots per Event: One
and constantly practice with ● Length of Event: 30 minutes
One of the benefits of reading new coordinates and ● Robot Weight Range: 50 lbs/22.68 Kg
SERVO is that you’re already ahead of obstacles, changing parks ● Robot Dimensions: 4' x 4' x 4'/121.92 cm3
the game! If you’ve been reading frequently to get a feel for
● Arena Specifications: N/A
Chris Cooper’s recent series “Mobility how your robot operates
● Robot Control Specifications: Autonomous
to the Maxx,” you’re already on route under different terrain, as
to build a great RoboMagellan bot. well as better understanding
Go to www.robogames.net/rules/magellan.
Everything Chris has described so far just how difficult it can be to
shtml for further information on this event.
is a great start for your own get accurate GPS data.
SERVO 10.2006 65
SERVO Xmas AD 06.qxd 9/7/2006 9:28 PM Page 66

m o nthly
T he gazine
ma e nex t
for th rat ion
gene bot ics
of ro menters
ri
expe

Gift Subscription
Gift From:
Print Name ________________________________________________________________________
Address ____________________________________________________________________________
City _________________________________________________________________________________
State ___________ Zip _______________________________________________________________
Phone ______________________________________________________________________________
Email________________________________________________________________________________

Gift To: ❑ 1 Year ❑ 2 Year ❑ 3 Year U.S. Prices:


Print Name ________________________________________
1 Yr $24.95
Address ____________________________________________
2 Yr $45.95
City _________________________________________________
3 Yr $65.95
To order, photocopy this page
State ___________ Zip ________________________________ and mail to:
Phone ______________________________________________ SERVO Magazine
Email ________________________________________________ Po Box 15277
North Hollywood, CA 91615
Gift To: ❑ 1 Year ❑ 2 Year ❑ 3 Year For faster service,
❑ Payment Enclosed subscribe by phone
Print Name ________________________________________
U.S. dollars drawn on a U.S. bank only or online
Address ❑ Bill Me (U.S. Orders Only!)
877-525-2539 (toll fre e)
____________________________________________
❑Visa/MC/Amex/DiscoverCard
City _________________________________________________ 818-487-4545 (outside US)
State ___________ Zip ________________________________ __________________________________ w w w.servomagazine.com
Card # Exp. Date
Phone ______________________________________________
__________________________________ When ordering, use promotion
Email ________________________________________________ Name on card code Y6DXMS
Davis-Interview.qxd 9/7/2006 9:18 PM Page 67

An Interview With
Tandy Trower
Manager of the Microsoft Robotics Group
by Phil Davis on behalf of SERVO Magazine
Microsoft is getting into the robotics business and a couple of months
ago, I had the terrific opportunity to interview Tandy Trower who is the
manager of the Microsoft Robotics Group. Following is a recap of our
conversation together talking about the new Microsoft Robotics Studio.

SERVO: Tandy, tell us a little I am currently the general manag- Gates, who asked me to go out and
about yourself, what you’ve been er of the Microsoft Robotics Group — a understand what was happening here
doing at Microsoft, and what you are new product incubation developing an in more depth.
currently involved with. application development toolkit for the So, after further time meeting
robotics community. with a variety of people throughout the
TT: That could be a very long community, I summarized my research
story, having been at Microsoft for over SERVO: Microsoft announced in into a proposal which also looked at
24 years now. I have had a long career June their entry into robotics software what assets Microsoft might apply. Bill
that included helping to start up a development with the Microsoft reviewed this and then asked me to
number of Microsoft initiatives in a Robotics Studio product which you’ve review it with Craig Mundie, one of
variety of areas. For example, I was been working on. Can you tell me a Microsoft’s three chief technology
originally a product manager for our little about Microsoft’s thought officers, charged with investigating
Basic programming products. Later processes with respect to entering this advanced technology strategies, and
that evolved into managing our full line specific industry? Rick Rashid, senior vice president of
of programming languages. From Microsoft Research. There was a
there, I transferred over to manage the TT: This was a direct response to unanimous consensus that now would
first two releases of Microsoft the robotics community. About three be a good time to respond to the
Windows. Along the way I also man- years ago, I was serving as part of the community and subsequently approved
aged the first version of Microsoft strategic staff of our Chief Software my proposal that we begin by creating
Flight Simulation and even hardware Architect (a.k.a., Bill Gates). I found a software development kit for that
products like the Microsoft SoftCard (a pioneers and leaders from the robotics community that could help provide a
Z-80 plug-in card for Apple II comput- community looking to engage with good platform and catalyst to this
ers that enabled them to run CP/M) Microsoft, indicating that they felt that emerging industry.
and even was an interim manager for something significant was happening
what became our Office application around robotics and looking for SERVO: So tell us, what is
suite for the Apple Macintosh. Having Microsoft to participate. And this same Microsoft Robotics Studio and what’s
a keen interest in human-computer message came from the diverse parts included?
interaction I also founded the first of that community, including those
usability labs, built prototypes of using robots for educational purposes, TT: Simply put, Microsoft
advanced user interfaces (including an universities doing robotics research, Robotics Studio is an application devel-
interesting little technology called the hobbyist community, industrial opment toolkit for creating software
Microsoft Agent), and helped start the automation companies, and the for robots. It includes three areas of
eHome division responsible for creating emerging consumer robotics sector. software: 1) a concurrent, scalable,
Windows Media Center. This led to a dialogue I started with Bill distributed runtime that provides a
SERVO 10.2006 67
Davis-Interview.qxd 9/7/2006 9:18 PM Page 68

An Interview With Tandy Trower


consistent programming model across the Microsoft Robotics Studio. is running. So the typical solution is to
a wide range of robot hardware (from write threaded code, where you
simple educational robots to industrial TT: I was very fortunate to find handle different processes on different
robots); 2) a set of development tools that Craig Mundie had been incubating threads. However, this proves to
to make it easier to develop applica- some advanced technologies to be a very complex and challenging
tions; these include a high-resolution address the fact that the programming programming task because of the
3D, physics-enabled simulation tool model for the future is changing from timing dependencies and is usually only
and a visual programming language; the idea of monolithic applications to successfully done by very advanced
and 3) a set of sample services and orchestration of many loosely coupled developers.
code and tutorials (in a variety of differ- distributed processes. These technolo- What CCR does is provide you with
ent programming languages) that go gies were the Concurrency and a lightweight library of functions that
from the basics of how to read a Coordination Runtime (CCR) and takes care of this complexity for you,
sensor to control a motor to how to Distributed Software Services (DSS). making things as simple as writing con-
support autonomous navigation. While actually designed for advanced ventional single threaded programs. It
programming to address things like determines when multiple threads are
SERVO: At what level is this multi-core, multi-processor, and distrib- needed and manages them for you.
product targeted at? By that I mean, uted processing models, I found these In addition, the underlying services
are you targeting industry, university to be an excellent match to the needs oriented runtime (DSS) provides
students, high school students, or the of the robotics community. dynamic modularity. This means each
weekend hobbyist? process or service is isolated from
SERVO: Would you mind going the others, enabling processes to
TT: The good news is that it is through each of those in turn: the be stopped and restarted, or even
really targeted at all segments of the Runtime, the Services Architecture, and replaced, while the rest of the system
community. Like the early PC industry, the Concurrency and Coordination continues. In other words, if a sensor
robotics is a technology where the Runtime and tell us what it means to system malfunctions and you can shut
community has synergistic overlaps the average roboticist? That is, tell us in it down or restart it, you don’t have to
and that no single part of the commu- layman terms. reboot the entire robot. In this sense,
nity is sufficient to focus on. the architecture better accommodates
TT: The Runtime components are failure and promotes more robust
SERVO: Do you really believe some of the most important features operation.
that the student and/or hobbyist can of what we are delivering. With any Further, because the exposing
pick this tool up and become proficient robot application scenario, you typical- state is a natural part of building a serv-
after a short time? ly have to deal with the fact that you ice, it is easy to inspect or change the
have many things happening at the state of a service simply by pointing a
TT: Yes definitely. We demon- same time. Traditionally, there have web browser at the service, then have
strate this by including demos that been two basic approaches to how you it give you an XML representation of its
illustrate how to apply this to robots as program that. The first is that you write state, as well as modify the state while
simple as LEGO Mindstorms or Parallax a loop, which gathers your sensor the service is running. This approach is
Boe-Bots. And to help this, we also inputs, does some processing interpret- similar to what Sebastian Thrun of
provide sample source code and over ing the input, and then makes the Stanford indicates was key to his
20 tutorials to help get them started. appropriate output adjustments. success in his team’s winning the last
A number of universities are already The problem with this approach is Darpa Grand Challenge — the ability to
looking to create curriculum programs two-fold. First, while you are doing inspect and tweak things while the
around what we have. certain processing, you may be missing robot is running.
The truly great thing is that the other valuable input coming in. In I could say a lot more, but I
programming model is simple enough other words, while your code is com- encourage your readers to check out
for novices, but powerful enough to manding the wheels to move ahead, our website at www.microsoft.com
apply to professional developers, your sensors could be telling you that /robotics and read over the overview
meaning not only that it can be used you are about to hit a wall, but since documents on the runtime or, better
by developers at a variety of skill levels, you are busy calculating your trajectory yet, check out our video on the
but also allow a growth path: The and adjusting the speed to the motors, Channel 9 website (which you can get
same fundamentals you learn for you might not get this input in time. to from our website).
programming an educational robot can The second problem is that this
be applied to industrial robots. type of programming design is very SERVO: What kinds of robots
brittle. One bug in your code and the have you hooked this up to already and
SERVO: Okay. Tell me a little bit entire robot application may crash. You what kinds of things do you have them
about the underlying architecture of also can’t change the program while it doing?
68 SERVO 10.2006
Davis-Interview.qxd 9/7/2006 9:18 PM Page 69

An Interview With Tandy Trower


TT: We currently have our projects, I have some specific questions distributed nature of the architecture
services architecture working with I would love you to address. The first is means that it is easy to share maps
LEGO Mindstorms (RCX and NXT), in regards to sensor fusion. This is between robots or between computers
Fischertechnik, Parallax, Robotics always difficult to do unless you are a connected to robots.
Connection Traxster, Lynxmotion Lynx- wiz with Kalman algorithms.
6 Robotic Arm, MobileRobots Pioneer SERVO: Finally, from a specific
P3DX, Coroware Surveyor, Kuka LBR3 TT: The services framework (DSS) point-of-view, it would be really great if
Robotics Arm, and many more. I described earlier makes it much we could get real-time telemetry from
However, even if you don’t have a easier to do sensor fusion since you our bot as it wandered around. What
robot, you can use our simulation tool can easily write code that delivers about that?
to try out some of these robots. Can’t messages between your sensor
afford a Pioneer P3 with a Sick Laser services and allows you to control TT: I covered this a bit earlier. The
Range Finder or a Kuka robotic arm? when you process those inputs. services infrastructure we provide
No problem, there are models included For example, you can do “joins” on means that if your robot has a connec-
to run in our simulation tool. messages so your code only processes tion to the network, you only need a
What you can do with them is the input when all inputs are provided. web browser (doesn’t even have to be
limited only by the hardware, your Microsoft Internet Explorer) to check its
programming ability, and your imagina- SERVO: What about PID loops? state (telemetry). What’s more is that
tion, but note that we provide tutorials We always need to know how far out you aren’t limited to just a monitoring
and samples in Visual Basic, C#, bots have traveled, or have the need to state, you can push back changes to
Javascript, and Python. And we have maintain constant speed when going the state. Also, I haven’t mentioned
another programming option under up hills, etc. that the services model isn’t limited to
development that if you can connect a the typical HTTP Get/Set model. We
couple of blocks together, you should TT: Again, the nature of the archi- also provide for a publish/subscribe
be able to program a robot. tecture makes it easier to program model which means that services can
things like PIDs. However, we are also proactively communicate changes to
SERVO: I see that the LEGO NXT looking into what basic services like their state to other services that would
system is one of the ones you have Kalman filters or PIDs we can provide be interested instead of having to poll
tested. Can I actually go out and buy a that you could use, as well. For repeatedly.
LEGO System today, hook it up to the example, in the August version of our
Microsoft Robotics Studio, and start preview, we provide services that make SERVO: I understand the
making things happen? it easy to integrate in GPS data, text-to- Microsoft Robotics Studio comes with
speech, and video capture. We hope to a simulator and an integrated ‘physics’
TT: Absolutely. Robotics Tutorial 1 add to these basic services, but more model. Would you discuss this?
shows you (in C#, VB, or Python) how importantly, because our architecture
to read a simple NXT contact sensor. affords reusability of services, we TT: Yes, this is another important
Robotics Tutorial 2 builds on that and hope and anticipate that the robotics feature of what we deliver. We believe
teaches you how to use the sensor to community will find our platform a way simulation is important for so
turn a motor on and off. Things can to share interesting algorithms and many reasons. It provides access to
progress from there. solutions for common functions. technologies one might not always
have directly. For example, how many
SERVO: Are there other systems SERVO: How about odometry people can afford a Sick Laser Range
I can buy today which will work with and world maps? Finder or a Kuka LBR3 robotics arm?
your system? But having access to these in our
TT: Odometry is something you simulation tool means everyone can
TT: Because we document (and need some hardware support for. experience what this is like to program
provide tutorials) on how to write a However, what’s cool about our and use these. Of course, simulation
service, there should be no robot on the services architecture is that you create can also be used to streamline the
market that you couldn’t use our plat- simple services that capture the data, development process since you can re-
form with. Of course, it is easier if some- feeding them to higher level services run your code against the simulation
one writes the basic hardware interface that do the odometry processing. robot and discover whether your code
services for you. And, in addition to Again, this means that you can design causes the robot to crash into the wall,
those we provide, other companies are applications that are more portable without destroying your hardware. It
creating services for their hardware. between robots. also means though you could design
With regards to mapping, we robots that don’t yet exist and try them
SERVO: From experience with don’t currently provide any mapping out, even write code for them, before
tinkering around with my own robotic services or formats. However, the you build the physical hardware.
SERVO 10.2006 69
Davis-Interview.qxd 9/7/2006 9:19 PM Page 70

An Interview With Tandy Trower


readers would be interested more advanced, that your PC will use
in knowing? them to sense the environment and
interact with you in a richer way.
TT: I would like to Further, I believe that distribution of
mention the openness of what processing is key for robotics technology
we are doing. We have to succeed. Already our digital lifestyles
worked to make our platform are increasingly dependent on interac-
easy for others to contribute tion between technologies, whether it is
to by documenting the downloading music from websites or
services interfaces and includ- reading our email on our cell phones.
ing tutorials and sample Robots must participate in this digital
sources. By doing this, we ecosystem, as well, and therefore must
hope to provide to the be connected. And being connected
community something anyone allows for richer scenarios.
can contribute to and And that is the one question you
SERVO: How well does the simu- overall expand the accessibility of robot didn’t ask me, which is what do I think
lator work? I mean, can I develop my technology to a larger audience. are the key scenarios for robots. Maybe
robot application using the simulator it is good you didn’t because I don’t
and have it transfer over accurately to SERVO: Where do you see have a good answer for that yet. It is as
the real-world environment? all of this heading, both from hard to predict as it was for PCs in the
a Microsoft point-of-view and for ‘70s, and for them, recipe manage-
TT: For the most part, the answer robotics in general? ment didn’t turn out to be the driving
is yes, since we have integrated in the application.
Ageia PhysX physics engine which pro- TT: I personally believe that robot- However, I will offer that I think
vides emulation of many aspects of ics is the next major evolution of PC remote presence scenarios — where
how objects interact in the real world. technology. It is incredible how the the robot enables you to be some-
Ageia has been a leader in providing robotics industry follows the same where else — may be one of the most
this kind of realism in some of the most trends that the PC industry did. In the important scenarios that I expect to
advanced computer games on the late 1970s at the birth of the PC indus- see robots offer. You can already see
market. They even have a hardware try, there were initially no hardware or this in use with the military, but also
plug-in card which effectively gives you software standards, development was with doctors making their patient
a physics co-processor for your PC. hard, and people asked why you would rounds remotely piloting a robot.
However, there are obvious own a PC. The same is true for where We may still be 5-10 years off
limitations. The real world is full of robotics is today. Similarly, the same before robotics hits the tipping point,
noise (inherent unpredictabilities). The energy, anticipation, and interest but it seems as inevitable as was
physics simulation being a calculated across a diverse community that was the anticipation that PCs would be
reality doesn’t necessarily deliver the present in the early PC industry can be pervasive. Remember, we are 30 years
same kind of variations, so you might found in the robotics community. into the PC evolution, so another 5-10
have to add that (which you could as a Consider, too, the similar rate of years is not that far off, and the signs
service) to get more realism. In progress. When I was a kid, when I that it is coming already surround us in
addition, there are a number of effects built robots, I had to pretend they our cars, appliances, and other forms
in the real world that may be difficult were robots, but my kids grew up of smart technology.
to model. Further, modeling things to tinkering with LEGO Mindstorms and
behave as they do in the real world can Aibos. Just eight years ago, when SERVO: If someone wanted to
sometimes take time. LEGO introduced Mindstorms, it was get started using the Microsoft
So, simulation may not be a per- based on an eight-bit processor and IR Robotics Studio, how would they go
fect substitute for real-world testing, communication. Their new NXT is about it?
but it is a good tool to have. Also, the 32-bit technology with BlueTooth.
distributed nature of this service means Today, our PCs respond to us most- TT: Best way to get started is to
it is easy to allow others to interact with ly through the keyboard and the download it from our website at
you in the simulation. So I can imagine mouse, yet more and more they are www.microsoft.com/robotics. As
all types of interesting collaborative and equipped with other sensors such as mentioned, we include a number of
competitive scenarios between robots microphones and cameras, primarily tutorials and sample code to help get
using our simulation tool. motivated to support person-to-person you started. Thanks for the time to
communication, but it is easy to see share what we are doing with your
SERVO: Tandy, what else would that as these sensors become pervasive readers. We welcome them to try it out
you like to add which you think SERVO and technology to use them becomes and let us know what they think. SV
70 SERVO 10.2006
Full Page.qxd 9/7/2006 1:56 PM Page 71
Smith-Guan.qxd 9/7/2006 9:22 PM Page 72

2006 RFL Nationals


Photos by Sam Kronick, Michael Maudlin, and Pete Smith.
by Pete Smith and Charles Guan
PHOTO 1

This year’s Robot Fighting League’s


(www.botleague.net) National Championships
were held on August 11th in Minneapolis, MN.

he Orange Terror alert and operated heavy hammers in each

T ensuing chaos at the


nation’s airports caused
problems for some entrants. Team
corner which were used in the
lightweight and above fights. The
only possible criticism would be
Ti Joe and their lightweight “Joe that the lighting used caused a lot
2.0” arrived late and Team Wazio of glare for the competitors and
and the number two ranked (see was not really bright enough for
www.botrank.com) 12-lb Bot good photography. The small
“Wedgio” missed the contest arena was perhaps a bit tight for
entirely. Team Logicom had other the beetles, but worked well
air travel problems when Brian enough with its excellent lighting
Nave’s laptop was stolen out and visibility.
of his checked luggage while The venue opened up on
en-route (luckily, the criminals did Friday early to allow safety testing
not know the value of the bot and gave some teams a chance to
parts that were not taken!). reassemble and test their bots
The late choice of venue and after shipment. Robert Woodhead
PHOTO 2 mid-west location may also have of Team Mad Overlord tried out a
reduced the bot numbers in some “persistence of vision” blade on
classes, but there were strong his 30 lb “Totally Offensive” entry
PHOTO 3 fields in the 12 lb, lightweight, (Photo 1) which uses two arrays
and especially in the 30 lb of red and blue LEDS to display
Featherweight class where three writing and simple graphics. The
out of four of the top ranked bots system is not yet tough enough to
were among the entries. Team use in combat, but he’s working
Moon and Team Rolling Thunder on it.
— both from North Carolina — The main competition got
made an especially strong effort started by 11:30 AM on Saturday.
bringing a total of eight bots to The weight classes with only a
the event including two super few entrants used a round-robin
heavyweights! system where each bot had to
The 12 lb up to Super fight every other entry until there
Heavyweight fights were held in was a clear winner. Those classes
the large 40 ft x 40 ft arena with with enough bots, i.e., the 12 lb,
its massive steel bumpers and 1” 30 lb, and Lightweights ran the
thick spaced polycarbonate walls. usual modified double elimination
The 3 lb beetles and 1 lb ant brackets (each bot has to lose
battles were in the small arena twice to be eliminated, except for
that Team Killerbotics had in the final fight where it is
brought on a trailer from sudden death). It was a very
Wisconsin. The big arena is relaxed event where everybody
superb with a reasonably smooth was given plenty of time for
PHOTO 4 steel floor and competitor- repairs and recharging, and only
72 SERVO 10.2006
Smith-Guan.qxd 9/7/2006 9:23 PM Page 73

terminally damaged bots


had to forfeit fights.
It quickly became
apparent that it is very
easy to over-harden (by
accident or design) the
S7 tool steel many use
for weapon blades or
teeth. A beautiful
solid S7 ring on Team PHOTO 6
Moon’s heavyweight
“Eugene” shattered PHOTO 5
completely in an
encounter with Team Logicoms PHOTO 7
ever powerful “Shrederator” PHOTO 8
(see Photos 2 and 3). Totally
Offensive and Relic also
suffered from breaking teeth in
fights with Xhilarating impaX
2.0 and Killabyte.
The Super Heavyweights
class was won by Team
Kontrolled Kaos with
“Psychotic Reaction” who
fended off the frenzied attacks
of Team Moon’s “Starhawk” (Photo 4) Rolling Thunder driving “CheepShot
who had to settle for second. Brian 3.0” (Photo 8) narrowly beat bar
Nave’s “Shrederator” dominated the spinner “Surgical Strike” driven by his
Heavyweights with “Eugene” taking son, Andrew.
the runner-up prize. In the beetles, “Itsa?” beat out
Team Toad’s “Ice Cube” took first “Nuclear Kitten” for first place and in
place with newcomer “Lunatic” (Photo the Ants, “UnderWhere?!” took first westroboticsleague.org), Mechwars
5) coming in second in the with “Pop Quiz” second. (www.tcmechwars.com), and many
Middleweights. Many thanks to everyone at the others for putting on an excellent
The 60 lb Lightweights field was Midwest Robotics League (www.mid event! SV
won by Team Hawg’s Blade spinner
“Son of Whacky Compass” narrowly
beating Team Killerbotics flame throw-
ing “Goosfraba.”
The 30s were probably the
toughest fought weight class. Excellent
newcomer “Relic,” two-time Nationals
winner “Totally Offensive,” and a
tougher than ever “Killabyte” made
this a very tough group. Epic battles
showered brilliant white titanium
sparks in all directions (Photo 6) until
only “Killabyte” and “Xhilarating impaX
2.0” (driven by 12-year-old Andrew
Smith of Team Rolling Thunder); (Photo
7) were left fighting it out. A badly
damaged “Xhilarating impaX” grabbed
the victory as one last big hit broke his
opponent’s radio receiver.
The highlights of the 12 lb class
were attempts at self-immolation by
flame throwing “Kitt” and a father-son
finals battle where Pete Smith of Team
SERVO 10.2006 73
RoboResources.qxd 9/5/2006 7:32 PM Page 74

Tune in each month for a heads-up on


where to get all of your “robotics
resources” for the best prices!

Taking Stock
of Robotic Tanks
S ince World War I, the tank has
become the symbol of military bat-
tles. The hulking mass of iron plowing
jammed. Though there are some
hybrid vehicles that use treads in
addition to wheels, in the typical tank,
tanks is rubber. Rubber has a higher
compliance than metal, and if the
robot is operated over a surface that is
over the Earth, the shrieking sound of locomotion is provided solely by the also fairly compliant, turning may be
metal crushing against the ground, the two tracks. The tracks are kept parallel difficult for the little tank. The contact
blasts of fire from its cannon, all com- to the vehicle by the use of idler rollers of two compliant materials limits the
bine a sense of awe and respect. Little placed along the sides. ability to skid in turns. For this reason,
wonder that the tank design is popular To move forward, both tracks it’s not uncommon to limit the opera-
among robot builders. The same princi- move in the same direction. To reverse, tion of a robot tank to certain surface
ples that make a military tank superior the tracks move in the opposite direc- conditions only. Dirt, concrete, even
for uneven terrain apply to robots, or in tion. To turn, one track moves forward, low-nap carpet are generally preferred
fact, any other type of treaded vehicle. while the other moves backward. This over thick carpet, for example.
A number of robots in science is a form of differential steering — Another potential issue of using a
fiction films run on tracks. There’s steering is accomplished by the rubber tread is static friction, or
Number Five from the movie Short difference in the motion of the tracks so-called stiction. (There may be other
Circuit, Robot B-9 from Lost in Space, relative to one another. frictional components involved, but
and many others. Unlike their walking Because a tank track exposes a we’ll bypass them for this simplified
cousins, these robots actually look fea- considerable amount of its surface discussion.) With stiction, a rubber
sible. Their wide tracks provide a solid onto the ground at any one time, in a tread may have difficulty skidding over
footing over the ground. turn the tracks must actually slip, or a highly polished material, such as a
In this installment of Robotics skid, over the earth. For this reason, glass tabletop or some hardwood
Resources, we’ll look at robots that use tanks are often said to have skid floors.
tank treads for locomotion. We’ll cover steering. The part of the track furthest There are numerous techniques to
some design basics, then discuss where from the mid-point of the tank skids reduce the steering problems inherent
to find suitable treads for your next the most. For the typical military tank, in all treaded vehicles. One is to use a
‘bot creation. tractor, or construction vehicle that less compliant tread material. Not all
uses tracks, this poses no serious rubber compounds are equally elastic.
Getting Tracked problem. These vehicles are primarily A good rubber tread for a tank design
designed to operate over dirt, and the exhibits only limited elasticity (stretch).
Vehicles to Move treads are hard metal. Both track and The surface of the rubber is smooth,
and Steer surface have a relatively low compli- and may have molded-in “cleats” that
ance, which can be described as the reduce the surface area of rubber
All tanks share a similar design. resiliency, or “give,” of the materials. touching the ground at any one time.
Two long, chain-like tracks — also called Turn now to the typical small With less surface area, there is less
treads — are mounted parallel to each robotic tank. These also use tracks rubber to skid.
side of the vehicle. A separate motor mounted parallel to the body of the Another approach is to use a tread
powers the tracks in either direction via vehicle. These also turn by operating made of something other than rubber.
a sprocket; the toothed design of the the tracks in opposite directions. Hard plastic is a valid alternative to
sprocket ensures that the drive mecha- Because of size, cost, and weight con- metal, and plastic treads are found in a
nism doesn’t just spin if the track gets cerns, the track material on most robot number of hobby robot products. The
74 SERVO 10.2006
RoboResources.qxd 9/5/2006 7:33 PM Page 75

VEX Robotics Tank Tread Kit, at about turn. The problem is magni-
$30, is an excellent example of a effec- fied if the tank is loaded
tive tread system made out of plastic. down with weight. The
The kit — which is designed for the VEX heavier the vehicle, the
line of robots but can be adapted to more likely you’ll have a
other applications — consists of a series thrown track. To limit this
of links that you put together. The problem, do the following:
track is powered by a sprocket connect-
ed to a motor; idler rollers keep the • Reduce the weight on
tread aligned onto the robot base. the vehicle.
Another example of hard plastic
tracks come from an outfit called • Make slower turns.
Johnny Robot (named, no doubt, after
the robot character of Short Circuit, • Try to find a rubber tread
which as noted earlier runs around on that doesn’t stretch as
FIGURE 1. A close-up of a drive sprocket and
two tracks). The tracks are also much. The lower the corresponding cogs on a tank tread. The sprocket
available from a number of resellers, elasticity, the less likely the positively engages into the cogs to prevent the drive
including Budget Robotics (my small tread will pop off. from simply spinning if the track gets stuck.
firm), Pololu, and Robotics Connection.
These tracks are composed of ABS • As necessary, tighten the track by more complete list. You can choose
plastic links, connected by stainless adjusting the distance between the from among ready-made tank-style
steel. You connect the links together to drive sprocket on one end, and the bases that come complete with tracks,
make a track any size you want. Plastic idler roller on the opposite end. This or you can purchase just the tracks.
sprockets and idlers are also available limits the track from stretching too Note that each type of track has a
to make a complete tracked system. much more. Avoid over-tightening, different method of engaging with its
If there is a disadvantage to hard which can deform the tread and drive sprocket (see Figure 1), so if
plastic tracks it’s that the plastic may place excessive stress on the drive possible, always purchase a track with
slip over hard surfaces — the exact components. its corresponding sprockets and idlers.
opposite of rubber treads. Depending Otherwise, you will be left having to
on the design of the track, you may be • Decrease the surface area of the fashion something yourself, or settling
able to overcome this by applying small tread on the ground. You may do this for a system that doesn’t work as well
pieces of rubber material over the track by changing the elevation of the idlers as it should.
segments. This provides enough toward the front and back. One of the best sources for
compliancy to improve locomotion and inexpensive rubber tracks is toy tanks.
steering. Lynxmotion recently added • Experiment with the width between These are sold in different scales, from
their own design of track that uses the tracks. Longer, narrower track about 1:64 (miniature) to upwards of
hard plastic, but also incorporates a widths resist turning more than short- 1:10 or even 1:6. (The scale is the ratio
rubber pad for added traction over er, fatter widths. of the size of the model to its original.
smooth surfaces. A scale of 1:24, for example, means
Rubber and plastic (or metal, for • Add “keepers” to the idlers that the model is 1/24 the size of the origi-
that matter) tracks also differ in their don’t touch the ground. The keepers nal. Most toy tanks are in the range of
resistance to detracking — also called are like oversized rims that keep the 1:24 to 1:32 scale, and these sizes are
derailing, or throwing a track. track in place. ideal for small amateur robots.)
Detracking occurs mostly when negoti- Look for a toy where the track is
ating a turn. This is when the frictional By their nature, plastic tracks don’t not too elastic, and where at a mini-
forces acting against the track are at stretch, so assuming they are placed mum, the drive sprocket and idler
their highest. As the vehicle attempts snugly onto the sprocket and idlers, rollers can be removed and placed on
to turn, heavy sideways pressure is detracking is rare. your own custom base. Some toy tanks
exerted at the front and back of the offer easier hacking, where you can
track. If the pressure is great enough, Finding Sources simply remove the turret and top of the
the track may come off its drive sprock- for Tracks vehicle, and replace the electronics
et or guide rollers. with your own microcontroller and
Detracking is the most problematic With the rising popularity of tank H-bridge. You do not need to build
with highly elastic rubber treads. The designs for robotics, more and more a body for your robot. The Sources
more elastic the track material, the online retailers are offering track solu- section lists a few notable finds.
more readily it will stretch during a tions. See the Sources section for a Perhaps the most often used track
SERVO 10.2006 75
RoboResources.qxd 9/5/2006 7:33 PM Page 76

is made by Tamiya, and sold by itself as Parallax, Budget Robotics, and several yours from a reputable dealer who
item number 70100, Tamiya Track and others. These bases are custom designs offers free shipping for the return of
Wheel Set. A number of online that make use of the Tamiya track, defective merchandise. As these are
sources, such as Tower Hobbies drive sprocket, and idlers. The Parallax quite large and heavy, shipping can get
(www.towerhobbies.com) and offering is a retrofit for their Boe-Bot expensive.
Hobbylinc (www.hobbylinc.com), robot chassis. It turns the Boe-Bot, For smaller and more precision
offer this track. The track is also includ- which ordinarily comes with wheels, tracks, plastic scale models are another
ed in a few other Tamiya products, as into a tracked vehicle. source worth looking into. However, be
the Tamiya Tracked Vehicle Chassis Kit If you’re looking to construct a aware of possible sticker shock!
and the Tamiya Remote Control large robot, say about two feet long or Though there are some under $100
Bulldozer Kit. These come with one or more, you’ll want to look for a 1:12 to models with plastic or rubber treads
two motors, respectively. 1:6 scale tank. These are occasionally you can reuse for your robot, the
The Tamiya track is rubber, and available at the larger discount retail- better quality treads are found on kits
comes in segments of various lengths. ers, such as Wal-Mart. The fall and costing upwards of $500, $1,000, even
You put the segments together to build Christmas seasons are ideal times to $2,000. Tamiya, as an example, is a
a track. The segments connect using a find these. The toys are physically large, manufacturer that offers plastic tank
little nub on the edges of the track. and stores may not stock them year kits at all these price points.
Despite how it sounds — or even looks round because of space considerations. Automotive and machine timing
— the tracks are actually quite robust, A relatively new source of tanks in belts are another source of tracks.
and seldom break apart unless forced. this size range are intended for BB and Don’t forget the matching sprockets
In a pinch, you can glue the pieces paintball play, and you can find them at for these belts. The typical timing belt
together with a flexible adhesive, such online retailers specializing in air guns has a cog on one side only. This cog
as silicone caulk. Make sure the adhe- for these sports. Prices vary from about engages with the drive sprocket. Some
sive doesn’t seep into the part of the $50 to over $200, depending on the timing belts are double-sided, and have
track that engages with the sprocket, size, brand, and quality of the tank. All cogs both inside and outside. These are
and that the seam is smooth. Sprocket the tanks are remotely controlled. Note often used in serpentine arrangements
and idler rollers are included, and you that quality varies greatly in this genre, where the front and the back of the
pick out the parts you need. with users sometimes reporting “DOA” belt engage with various mechanical
The same Tamiya track is used in products when they receive them parts. Double-sided timing belts are
robot bases sold by Rogue Robotics, through the mail. Make sure to buy preferred for use as tank tracks,
because they have a cog on the inside
Toys are a good source of tank treads and parts. This hackable tank for engaging with the drive sprocket,
at Budget Robotics is easily modified to a robot base. and a cog on the outside that act as
cleats for enhanced locomotion.
You can find timing belts at
automotive shops, junk yards, and
industrial supply outlets. They come in
various lengths and thicknesses. Most
are fiberglass-reinforced rubber, which
means they are flexible, but they do
not stretch.
Finally, if you have your heart set
on metal treads, check out the tracks
for snowmobiles. Most tracks are sold
for a specific make and model of
snowmobile (use an online search for
‘snowmobile tracks’), but you will find
they are available in all types of lengths
and widths. Expect to pay good money
for a set of snowmobile tracks.

Sources
Google.com or Yahoo.com
search: “airsoft tank”
Use this generic search to locate
76 SERVO 10.2006
RoboResources.qxd 9/5/2006 7:33 PM Page 77

any of several dozen online resellers of The company also sells a robot kit system — and save money. Prices for
remote control tanks for the air- based on the tracks. the drive unit, without electronics, start
powered BB and paintball sports. eBay at about $500.
is another option. Make note that a Parallax
1:16 scale tank is approximately two www.parallax.com Robotics Connection
feet long. Features such as sound Look for their Boe-Bot Tank Tread www.roboticsconnection.com
effects, smoking effects, and so forth Kit, which turns your Boe-Bot robot Offers a treaded vehicle based on
are less critical than the overall quality into a tank. The treads, sprockets, and the Johnny Robot track segments.
of the tank. Be sure to look for and idlers are from the Tamiya Track and
read user comments. Wheel kit. Rogue Robotics
www.roguerobotics.com
Acroname Pololu Robot base built from the Tamiya
www.acroname.com www.pololu.com Track and Wheel set.
Reseller of the Johnny Robot tracks Reseller of the Johnny Robot tracks
and sprockets. The tracks are sold in and sprockets. They sell the track Superdroid Robots
sets of 20 segments and 20 links. segments individually, or as a set of 40. www.superdroidrobots.com
Depending on the length of the track Sprockets are available for Futaba- Reseller of the Johnny Robot
you want, you’ll probably need two compatible servos, as well as small DC tracks, as well as sells other Tamiya
sets to build a tracked vehicle. They sell motors sold by Solarbotics.com and track-based kits.
some alternative colors (at least yellow, others.
when I checked) if you’re not wanting Tamiya
the basic black. RC Armory www.tamiyausa.com
www.rcarmory.com Manufacturer of plastic kits, as
Budget Robotics RC Armory is a manufacturer and well as a line of educational products
www.budgetrobotics.com seller of large (1:8 scale) battle tanks that include the Tamiya Track and
Budget Robotics (my company) with metal tracks. They offer their Wheel kit, used in many third-party
offers a number of tank-style robotics wares in kit form and various options. robots. The company offers some
and track solutions, including ready- Rather than purchase a full tank and online sales, but at full price. You’ll
made robot bases. Sells Tamiya track tear out what you need, you can get probably want to find a local reseller, or
kits, as well as kits with more robust just the parts — such as the drive purchase online through a Tamiya
custom rubber treads. Budget Robotics
resells the Johnny Robot hard plastic RC Armory sells realistic 1:8 scale remote control tanks. You can start
tracks in a “Track Drive” kit, which with a basic motorized platform, and add options.
allow development of a customized
tank robot. Also offers some hackable
toy tanks.

Johnny Robot
www.johnnyrobot.com
Makers of a unique hard plastic
track system. The tracks are individual
segments, connected together with
a stainless steel pin. Tracks of any
length are build by putting the
required number of segments
together. The company sells directly in
quantity, and offers the product
through distributors listed on their
Web page.

Lynxmotion
www.lynxmotion.com
Manufactures and sells a unique
adjustable-length track system. The
links are made of 2” wide hard plastic,
and are capped off with rubber pads.
SERVO 10.2006 77
RoboResources.qxd 9/5/2006 7:34 PM Page 78

dealer, such as Tower Hobbies (www.


towerhobbies.com or Hobbylinc
(www.hobbylinc.com).

VexLabs
www.vexlabs.com
Manufacturer and seller of the
VEX line of robot kits. These kits were
exclusively sold through RadioShack,
but that company has discontinued
carrying the products. The company
sells a track kit that may be used with
other VEX parts, or retrofitted for use
on custom designs. SV

ABOUT THE AUTHOR


Gordon McComb is the author of
the best-selling Robot Builder’s
Bonanza and Electronics for Dummies.
In addition to writing books, he
operates a small manufacturing
company dedicated to low-cost
amateur robotics — www.budgetrobot
The VEX line of educational robotics lives on at Vex Labs. They offer a separate ics.com. He can be reached at
track kit that is useful for both VEX and custom robot designs. robots@robotoid.com.

78 SERVO 10.2006
Rubberbands.qxd 9/5/2006 7:36 PM Page 79

by Jack Buffington

Bar Codes for Robots?


How to Read a Bar Code

Barcodes are typically put onto


products and are something that
that are the actual data in the bar
code. Finally, there is one parity bit.
You might think that you could just aim
your camera at the bar code and find
we usually only associate with You might be wondering why the median value between the black
the checkout counter. They couldn’t there are only six bits of information in and white stripes and simply count
possibly be useful for robotics, right? the bar code. The reason is that it everything brighter than that value as a
Recognizing objects in its environ- allows the bar code to be read at a white stripe and everything darker as a
ment is not an easy task for robots variety of different distances. The Taos black stripe. Unfortunately, that is not
these days. You can make that task TSL3301 image sensor that was used always possible.
much easier by sticking a bar code to read the bar code could read a full Figure 2 shows a brightness graph
onto things that you want your robot eight bits, but the bar code would of what a bar code could look like to
to be able to recognize. You could need to fill more of the image sensor’s the image sensor. Usually bar codes
have your robot fetch items for you field-of-view. (If you are new to SERVO will look better than what is shown in
simply by having it look for the proper Magazine, this column covered how to Figure 2, but when programming, it is
bar code. You wouldn’t even need to read data from the Taos TSL3301 linear best to expect the worst-case situation
put the object in a specific place. It image sensor in the August ‘06 issue.) and then make your program able to
could navigate around until it saw the With the wide field-of-view lens that deal with it.
barcode for that object. Think about was used for this column, bar codes You might be able to tell by
it. Wouldn’t it make navigation so that used 1/4” stripes could be read looking at the grayscale image at the
much easier if you could slap bar from approximately four to 18 inches bottom of Figure 2 that the barcode
codes on the baseboards of your away. With eight bits of data, the near that is being viewed has a value of 52.
home and have a small database of detection distance would have to be Unfortunately, if you were to try to
what direction and how far to drive to farther out. read it with the median value between
get from bar code to bar code? As the brightest and darkest seen values
long as you kept the paths clear Reading Bar Codes
between the bar codes, your robot Figure 2. A bar code as viewed
could get from place to place fairly Let’s look a little more closely at by the image sensor.
easily. how bar codes can be read. This is a bit
trickier than it might initially appear.
It’s All Black-White-
Figure 1. Three bar codes and what they
Black-White represent. Black bars represent 1s.
For the examples in this column, I
used a special type of bar code that
simplifies the process of reading them.
Figure 1 shows three examples of this
type of bar code. As you look at the
bar codes, you’ll see that they always
start with four bars that are black-
white-black-white. These four bars
allow the program to get a good idea
about how wide each bar is as it is
seeing it. After that, there are six bits
SERVO 10.2006 79
Rubberbands.qxd 9/5/2006 7:36 PM Page 80

Rubberbands and Baling Wire

pixel to the median value. When the could afford to disregard bars that
value passes the median value, you will were smaller than a certain number of
have found the edge of a bar in the pixels wide.
barcode. Repeat this process until you Since this sensor only has 104
have scanned through all of the pixels pixels, you will have to test in a
of your image sensor. different way. What you will do instead
is to scan through your list of edges.
Finding the Right Bars For each edge that you test, you will
calculate the distance between that
Okay, so you think you’ve found all edge and the previous one. If you are
of the potential edges of the bar code. using floating point math, you can
You actually don’t know for sure that simply divide this distance by the bar
they are edges. They could be your width that you calculated. Add .5 to
dog, the pizza delivery man, or yester- the result and truncate the decimal
day’s socks. You’ll now need to figure portion by converting it into an integer.
out what is a bar code and what isn’t. This will round the value to the nearest
Figure 3. Graph showing the peaks, To do this, we’ll scan through the array whole number and the result will be
midpoints, and edges. looking for three bars that start with a the number of bar widths that this
black one and are within two pixels of stripe is wide.
as shown with a red line, you wouldn’t each other in width. These are likely to If you are using integer math, you
be able to read it. be the beginning of a bar code. would instead find the distance
Assuming that you orient your bar between this and the previous edge
In a Different Light codes as shown in Figure 1 and you and multiply that value by the same
are using floating point math, you’ll power of two as you multiplied the bar
Because the lighting of a bar code now find the distance between the top width by. Now divide that by your
can’t be anticipated, a different way to of the first black bar and the bottom calculated bar width. Add eight, which
read them is needed. A strategy that of the second black bar and then is equivalent to .5 if you previously
works a lot better is to find the peaks divide by three. If you are running this multiplied by 16. Now divide by your
and troughs in the brightness values on a microcontroller that would choke power of two to get things back into
that the image sensor sees. You can do on floating point math, simply find whole numbers. This will be how many
this by tracking the highest and lowest the same distance, multiply by a power bar widths the current stripe is wide.
values as you scan through the array. of two — such as 16 — and then divide Now that you know how to find
Bar codes alternate between white by three. This will give you four bits the widths of the stripes, you simply
and black so you can make your of decimal precision if you multiplied need to reconstruct the number by
program take advantage of the bar by 16. placing 1s or 0s in a variable, depend-
code’s structure. When you start The result of either the floating ing on how many bar widths each
scanning, you will look for a minimum point or integer calculations will give stripe is. Do this for eight bar widths.
value at each pixel. If that pixel has a you a fairly accurate measure of the You will need to do eight since you
value lower than the previous minimum bar widths. You can now use this never counted the second white stripe
value, then you will make the minimum information to figure out if there is and you will need to detect the parity
be the value of the current pixel and enough room in the image sensor to bit, as well.
then you will flag that pixel as the min- complete the bar code. If there isn’t, With the bars completely detected,
imum. If the value of a pixel reaches a you should keep looking for other black you should take note of what the
certain amount above the minimum, bars that could be a bar code. parity bit is and then divide your result
then you will assume that the bright- register by two to remove the parity
ness is now becoming brighter. Bar Values and Widths bit. The result register now contains
In the code for this column, if the what your program thinks is the value
value was 20 above the minimum, it is Once you have found a suitable of the bar code.
assumed that the values are going up. candidate to be the beginning of a bar You have one last line of defense
Follow the maximum values, and once code, you will now need to figure out against false detections and that is the
the values have dropped below a what the bar values are. Initially, you parity bit. Count up the number of 1s
certain point, you will know that you might think that since you know the in the result and if they are an even
have found your maximum. width of the bars you could just number, the parity bit should be a zero.
At this point, you have a minimum multiply by the bar width for every If there is an odd number of 1s in your
and maximum. Find the median value possible bar and get your result. This result, then the parity bit should be a 1,
between these two. Start back at the would work if you were using an image as well. If the parity bit and what you
minimum value and compare each sensor that had more pixels and you expect match, then you can be reason-
80 SERVO 10.2006
Rubberbands.qxd 9/5/2006 7:37 PM Page 81

Rubberbands and Baling Wire

ably certain that your bar code is valid. bar codes on the floorboards of your material has a slight “Achilles heel” in
To be fully sure though, it wouldn’t house or apartment. This would allow that it stops being retroreflective when
hurt to move your robot a bit and see your robot to navigate from bar code you are at too much of an angle to it.
if you get the same result again. to bar code. That is pretty cool but For only a slightly less retroreflective
consider this: If you put a very narrow material, take a look at Scotchlite
Using the Bars field-of-view lens onto your image 8850, also by 3M. This is an exceeding-
sensor, you could see bar codes from ly bright retroreflective material, as
Well ... you now know how to read longer distances. With a map of X and well, but can reflect light better when
bar codes. Let’s look at what you can Y coordinates for each bar code, your it is held at an angle to the light
do with them. One unusual — yet robot could sweep its image sensor source.
interesting — application is if you were around and figure out where multiple Those two materials can be
trying to detect the position of a bar codes are and triangulate to figure somewhat difficult to come by in
rotating shaft or linear actuator to a out where it was in two dimensions. smaller quantities, so a third final
high level of precision. As long as it It would only need to see two bar option is to go to your local automotive
moved slowly enough, your high codes, but could arrive at a more store and buy some retroreflective tape
precision would be meaningful. What accurate position using three. Using that is typically used to add reflectors
you would need to do is print bar this sort of position detection, it to trailers and other equipment. This
codes onto the moving part that are wouldn’t be restricted in where it could will only be about two-thirds as bright
spaced so that at least one complete go in any way. Of course, finding as the other two, but will likely work
bar code will show up in the field-of- where those bar codes are could be a for you just as well.
view of the image sensor at any given tedious process. Never fear, here is an
position. You can identify the bar code answer for that, too. Closing the Bar
to get a rough idea of where the object Find some retroreflective tape and
is, but you can really narrow it down by draw or print your bar code onto it. If Hopefully, you have learned a
taking into consideration the pixel that you put an ultra bright LED right next thing or two about the image
sees the edge of the first black bar. to your image sensor’s lens, then the processing needed to detect bar codes
If you really want to be precise, bar codes will stick out like a sore from this column. The lowly bar code
you could take into account the gray thumb. Keep in mind that this may not can be quite useful in certain
level of the first non-white pixel of the work at nearer distances due to the situations. Who knows ... with some
bar code. Your position calculation black areas becoming too bright. clever placement of your bar codes,
would be something like bar code num- If you are looking for the brightest you might be able to command your
ber * number of pixels in the sensor + retroreflective material on the market robot to go get you a drink from the
number of pixels seen before the bar today, take a look at 3M’s Diamond fridge. Your bot could actually do
code * number of gray levels + gray grade retroreflective materials. This something useful for a change. SV
level of first non-white pixel.
You could speed up the calculation
a lot for position sensing by changing a
few things. Since you can completely
control the environment of the sensor,
HobbyEngineering
The technology builder's source for kits, components, supplies, tools, books and education.
you could have only one black bar and
one white bar at the beginning of the
bar code since the bar width would Robot Kits For All Skill Levels ICs, Transistors, Project Kits
already be known. You could ditch the
parity bit, as well, since the sensor Motors, Frame Components
and Scratch Builder Supplies.
would be mounted at a fixed distance
from the moving object. You could set
Order by Internet, phone, fax or mail.
up the lighting perfectly, so you could
avoid finding peaks and detect your www.HobbyEngineering.com
edges by just doing value comparisons.
Books and 1-866-ROBOT-50
Reading a bar code under ideal 1-866-762-6850
Educational K 1-650-552-9925
conditions like this could turn out to be
1-650-259-9590 (fax)
a fairly fast calculation. sales@HobbyEngineering.com
180 El Camino Real
Raising the Bars BEAM Kits and Components Millbrae, CA 94030
Visit our store near SFO!
As was mentioned at the begin-
ning of this column, you could place Most orders ship the day received! World-wide shipping. Convenient payment options.

SERVO 10.2006 81
BookstoreOct06.qxd 9/8/2006 2:36 PM Page 82

dy
Mind Cany
For Toda t
Roboticis
’s The SERVO Store
Amphibionics SERVO CD-Rom Electronic Circuits for
by Karl Williams Are you ready for the Evil Genius
This work provides some good news? by Dave Cutcher
the hobbyist with Along with the first Cutcher's 57 lessons
detailed mechanical, 14 issues of SERVO build on each other
electronic, and PIC Magazine, all issues and add up to proj-
microcontroller from the 2005 ects that are fun and
knowledge needed calendar year are practical. The reader
to build and program now available, as gains valuable experi-
a snake, frog, turtle, well. These CDs ence in circuit con-
and alligator robots. include all of struction and design
It focuses on the Volume 1, issues 11-12, Volume 2, issues 1-12, and in learning to
construction of each and Volume 3, issues 1-12, for a total of 26 test, modify, and
robot in detail, and then explores the world issues all together. These CD-ROMs are PC observe results.
of slithering, jumping, swimming, and walk- and Mac compatible. They require Adobe Bonus website www.books.mcgraw-hill.
ing robots, and the artificial intelligence Acrobat Reader version 6 or above. Adobe com/authors/cutcher provides animations,
needed to make these movements happen Acrobat Reader version 7 is included on the answers to worksheet problems, links to
with these platforms. Packed with insight discs. $24.95 – Buy 2 or more at $19.95 other resources, WAV files to be used as fre-
and a wealth of informative illustrations. each! quency generators, and freeware to apply
$19.95 your PC as an oscilloscope. $24.95

The Official Robosapien


Robot Programming Hacker's Guide
by Joe Jones / Daniel Roth by Dave Prochnow Robot Builder's Bonanza
This ingenious The Robosapien robot Third Edition
book/website part- was one of the most by Gordon McComb / Myke Predko
nership teaches the popular hobbyist gifts Everybody's favorite
skills you need to of the 2004 holiday amateur robotics book
program a robot — season, selling approxi- is bolder and better
and gives you a virtual mately 1.5 million units than ever — and now
robot waiting online at major retail outlets. features the field's
to perform your com- The brief manual "grand master" Myke
mands and test your accompanying the Predko as the new
programming expert- robot covered only author! Author duo
ise. You don’t need to basic movements and maneuvers — the McComb and Predko
know robotics or programming to get started! robot's real power and potential remain bring their expertise to
Using an intuitive method, Robot Programming undiscovered by most owners — until now! this fully-illustrated robotics "bible" to
deconstructs robot control into simple and This timely book covers all the possible enhance the already incomparable content
distinct behaviors that are easy to program design additions, programming possibilities, on how to build — and have a universe of
and debug with inexpensive microcontrollers and "hacks" not found anyplace else. $24.95 fun — with robots. Projects vary in complexi-
with little memory. Once you’ve mastered ty so everyone from novices to advanced
programming your online bot, you can easily hobbyists will find something of interest.
adapt your programs for use in physical 50 Model Rocket Projects Among the many new editions, this book
robots. $29.95 for the Evil Genius features 30 completely new projects! $27.95
by Gavin D. J. Harper
Yes, as a matter of fact,
CNC Robotics it IS rocket science!
by Geoff Williams And because this book Robot Companions
CNC Robotics gives is written for the popu- by E. Oliver Severin
you step-by-step, lar Evil Genius format, Inside Robot
illustrated directions it means you can learn Companions, you’ll
for designing, con- about this fascinating find all the details,
structing, and testing and growing hobby plans, and informa-
a fully functional CNC while having run tion you need to
robot that saves you creating 50 great make a robot partner
80 percent of the projects. You will find a part of your daily life,
price of an off-the- detailed list of materials, sources for parts, at a price you can
shelf bot — and that schematics, and lots of clear, well-illustrated afford. Author E.
can be customized instructions. $24.95 Oliver Severin, origi-
to suit your purposes nator of some of the
exactly, because you designed it. Written by technologies that make robots friendly,
an accomplished workshop bot designer/ We accept VISA, MC, AMEX, and DISCOVER useful, and educational, shows you how to
builder, this book gives you all the Prices do not include shipping and find or build your own robot helpmate —
information you’ll need on CNC robotics! may be subject to change. either from commercial kits or an assembly
$34.95 of separate, off-the-shelf parts. $24.95
82 SERVO 10.2006
BookstoreOct06.qxd 9/8/2006 2:37 PM Page 83

To order call 1-800-783-4624 or go to our Mind Cand


For Today y
website at www.servomagazine.com Roboticis ’s
t
Nuts & Volts CD-Rom Teach Yourself Electricity and 123 Robotics Experiments
Here’s some good Electronics — Fourth Edition for the Evil Genius
news for Nuts & by Stan Gibilisco by Myke Predko
Volts readers! Learn the hows and If you enjoy tinkering in
Along with all 12 whys behind basic elec- your workshop and
issues of Nuts & tricity, electronics, and have a fascination for
Volts from the communications with- robotics, you’ll have
2004 calendar out formal training. The hours of fun working
year, the 2005 best combination self- through the 123 experi-
issues are now teaching guide, home ments found in this
available, as well. reference, and class- innovative project
These CDs include all of Volumes 25 and 26, room text on electricity book. More than just
issues 1-12, for a total of 24 issues (12 on and electronics has an enjoyable way to
each CD). These CD-ROMs are PC and Mac been updated to deliver the latest advances. spend time, these
compatible. They require Adobe Acrobat Great for preparing for amateur and com- exciting experiments also provide a solid
Reader version 6 or above. Adobe Acrobat mercial licensing exams, this guide has been grounding in robotics, electronics, and pro-
Reader version 7 is included on the discs. prized by thousands of students and profes- gramming. Each experiment builds on the
$24.95 – Buy 2 or more at $19.95 each! sionals for its uniquely thorough coverage skills acquired in those before it so you devel-
ranging from DC and AC concepts to semi- op a hands-on, nuts-and-bolts understanding
Robot Builder's Sourcebook conductors and integrated circuits. $34.95 of robotics — from the ground up. $25.00
by Gordon McComb
Fascinated by the
world of robotics, PIC Microcontroller Project Book Linux Robotics
but don’t know how by John Iovine by D. Jay Newman
to tap into the incred- The PIC microcontroller is If you want your robot
ible amount of infor- enormously popular both to have more brains
mation available on in the US and abroad. The than microcontrollers
the subject? Clueless first edition of this book can deliver — if you
as to locating specific was a tremendous success want a truly intelligent,
information on robot- because of that. However, high-capability robot —
ics? Want the names, in the four years that have everything you need
addresses, phone passed since the book is right here. Linux
numbers, and websites of companies that was first published, the Robotics gives you
can supply the exact part, plan, kit, building electronics hobbyist market has become step-by-step directions
material, programming language, operating more sophisticated. Many users of the PIC for "Zeppo," a super-smart, single-board-
system, computer system, or publication are now comfortable shelling out the $250 powered robot that can be built by any
you’ve been searching for? Turn to Robot for the price of the Professional version of the hobbyist. You also get complete instructions
Builder’s Sourcebook — a unique clearing- PIC Basic (the regular version sells for $100). for incorporating Linux single boards into
house of information for that will open This new edition is fully updated and revised your own unique robotic designs. No pro-
2,500+ new doors and spark almost as many to include detailed directions on using both gramming experience is required. This book
new ideas. $24.95 versions of the microcontroller, with no- includes access to all the downloadable
nonsense recommendations on which is programs you need, plus complete training
better served in different situations. $29.95 in doing original programming. $34.95
JunkBots, Bugbots, and
Bots on Wheels
by Dave Hrynkiw / Mark W. Tilden
$ 2 0o fe ach
From the publishers f if y o u
1 5 % t w o oror
of BattleBots: The buy
Official Guide comes mo r
or e .
this do-it-yourself
guide to BEAM
(Biology, Electronics,
Aesthetics,
Mechanics) robots.
They're cheap, sim-
ple, and can be built
by beginners in just a
few hours, with help from this expert guide From HomoSapien to RoboSapien Before R2D2 there was R1D1
complete with full-color photos. Get ready
for some dumpster-diving! $24.99 SERVO Magazine T-Shirts
Get your very own limited-edition SERVO Magazine T-shirt. Shirts come
Check out our online bookstore at in sizes S, M, L, and XL, and are available in either black or white.
www.servomagazine.com for a complete
listing of all the books that are available. All shirts are 100% pre shrunk cotton.

SERVO 10.2006 83
Appetizer.qxd 9/8/2006 2:43 PM Page 84

Hotel Earth
Nine Billion Guests and No Elevator?
by Roger G. Gilbertson

F or me, space exploration and robots have always gone


together hand-in-gripper. From the 1960’s Surveyor
robots, whose Moon landings demonstrated that future
and Paul Allen of Microsoft, now joined by Richard Branson
of Virgin everything; Falcon 1 and Falcon 5 from SpaceX,
created by PayPal co-founder Elon Musk; Blue Origin from
manned missions were not doomed to sink into dusty Jeff Bezos, founder and CEO of Amazon.com, and others.
oblivion, to today’s Spirit and Opportunity rovers exploring Just far out dreaming, you say? Look up! Almost daily,
the plains and hills of Mars — the Lewis and Clarke of the Red crossing the sky above your home, you can glimpse the
Planet — our robots lead the way. Genesis I module on its five (or more) year voyage. This
But don’t think that we humans plan on staying behind, prototype blazes the way for a series of inflatable space
watching the action from armchairs. Without a doubt, every- habitats that Robert Bigelow, billionaire Budget Suites hotel
where our robots travel, humans will eventually follow. developer, intends to serve as floating space hotels — natural
As the 38th anniversary of Neil and Buzz standing on the destinations for future space tourists. You can see it in the
surface of our grey neighbor approaches, more and more sky! The new Space Age is upon us!
earthlings impatiently await their chances to fly to space.
Some seek just to visit briefly, to float in zero gravity for a few The Path of Growth
minutes or days. Others have loftier desires: to establish
colonies and start new societies amid the stars.And rather Government funded rockets got us started, and
than just waiting and dreaming, many are doing what privately funded rockets promise to expand our opportunities
humans do best — picking up tools and building solutions. (should the 900 pound NASA gorilla succeed at climbing
off the table, allowing for a more level playing field for
Rockets and Beyond commercial space efforts). Some day, rockets will yield to
an even more amazing technology capable of transporting
Currently, we people of Earth send forth but a few thousands, then millions of people to and from space.
dozen government-funded rockets each year. And, even in Enter space elevators.
a good year, you can count on one hand the launches One day, a ribbon 100,000 kilometers long, as thin as
boosting people into orbit. plastic wrap, and many times stronger than steel will stretch
But as you read this, restless entrepreneurs drill holes, from Earth to outer space. Robotic elevator cars as large as
bend metal, and laminate exotic fibers, making components houses will climb the ribbon, taking humans and everything
that will become the next needed for life into Earth’s orbit and beyond.
generation of space For the history and technologies for building a space
LINKS vehicles. They work, driven by elevator see “Space Elevator — Building a Highway to
For more information a desire to open the gates the Stars” in the November ‘05 issue of SERVO. In short, the
about the October 2006 for scores — and eventually 1991 discovery of carbon nanotubes — long, strong
X Prize Cup, visit: hundreds — of humans to filaments of pure carbon — transformed the space elevator
www.xprizecup.com/ travel where only a few have concept from a wild science-fiction idea into a tantalizing
gone before. engineering possibility.
For more information on The list of efforts inspires: Right now, teams of engineers and experimenters
the NASA Space Elevator SpaceShipTwo, descendent labor fervently to solve the key challenges to a functional
Centennial Challenge of the X Prize winning space elevator system. Slowly and steadily, humanity’s largest
competitions, visit
SpaceShipOne from Burt and most spectacular engineering project departs from the
www.elevator2010.org
Rutan of Scaled Composites station. Care to watch?
84 SERVO 10.2006
Appetizer.qxd 9/8/2006 2:43 PM Page 85

Destination: Spaceport
New Mexico
On October 20 and 21, 2006, the X PRIZE Foundation
and the Spaceward Foundation will present the second
Space Elevator Games — a NASA Centennial Challenge —
as part of the huge 2006 X PRIZE Cup events held at the
Las Cruces International Airport, in Las Cruces, NM.
Against a backdrop of rocket-powered planes, roaring
engine tests, and high-energy space enthusiasm, more
than 20 teams have signed up to compete for $400,000
in NASA prize money. Their beam-powered climbing
robots will strive to take home the cash by driving them-
selves hundreds of feet up into the sky on a narrow ribbon
suspended from a crane. In a second event, researchers
will face off in a high-tech “tractor pull” to determine who
has the strongest ribbon material yet devised.
You’re invited to drive down, fly in, or log on
and witness the demonstrations and head-to-head The University of British Columbia entry makes its way
competitions. Who knows, one of these ingenious, out-of- skyward during NASA’s first Centennial Challenge
this-world designs may ultimately change the course of competition held in October 2005.
Photo by R. Gilbertson.
human history. “And you were there ...”

Some Thoughts on “Why?” Tomorrow Arrives on Time


“Earth is the cradle of humanity, but we cannot live Christopher Columbus did not wait to solve Spain’s
forever in a cradle.” — Konstantin E. Tsiolkovsky, Russian domestic strife before sailing beyond the horizon. Sir
astronautics pioneer, 1911 Walter Raleigh did not wait to fix England’s social and
economic challenges before planting settlements in the
“The growth of the world population accelerated after New World. And we have no reason to wait to “solve” our
1900, with 2.5 billion in 1950 ... 6.1 billion in the year present day problems before venturing beyond our
2000, [and] by 2050 the world is expected to have 8.9 present horizons.
billion people, an increase of nearly half over the 2000 Just as the Transcontinental Railway traversed the
population.” — United Nations Report, “The World at Six North American continent in 1869, and in doing so
Billion,” 1999 reduced the cost, duration, and danger of voyaging from
coast to coast, so too can space elevators bridge the gap
“In order to save the human race, we must develop the from the Earth’s surface to the universe beyond.
technologies that will allow us to live and work on other By venturing out — first via robots and then with
places in the Solar System ... SINGLE PLANET SPECIES DO human explorers — by exploring, by settling new worlds
NOT LAST and we have no idea how much time we have.” and creating new societies, humanity gains unmeasurable
— John Young, former Gemini, Apollo, and Space Shuttle benefits that are shared by all.
astronaut, 2002 As individuals and as a species, our time on
Earth is limited. By accepting these bold adventures,
“[T]he prospect of radical life extension is only a we do indeed risk failure, but by staying home, we
couple of decades away ... The apparent dangers are that guarantee it.
a dramatic reduction in the death rate will create over- The universe calls, and we prepare our answer:
population and thereby strain energy and other resources Ad astra! SV
while exacerbating environmental degradation.” — Ray
Kurzweil, “Ray Kurzweil’s Dangerous Idea” from Edge.org AUTHOR BIO
Futurist Buckminster Fuller challenges us with a bold In 1995, Roger G. Gilbertson launched RobotStore.com, the
vision: “To make the world work for 100% of humanity Internet’s first commercial robotics site. In 2002, he initiated
the Space Elevator Ribbon Climbing Robot Competition for
in the shortest possible time through spontaneous cooper- the San Francisco Robot Games, featuring climbers up to 1
ation without ecological offense or the disadvantage kilogram. After selling RobotStore.com to Jameco Electronics
of anyone.” in 2005, he worked on the documentary “Who Killed the
Electric Car?” from Sony Classics Pictures with directed by
How do we prepare for tomorrow? How can we build Chris Paine, his long time friend and business partner.
and operate a management system for Spaceship Earth Gilbertson is currently producing a documentary about the
that meets the needs of all the guests and not just those the Space Elevator. He lives in Marin County, CA, where
born in the penthouse? humans still do more work than robots.

SERVO 10.2006 85
Page 86.qxd 9/7/2006 9:23 PM Page 86

86 SERVO 10.2006
Then&Now.qxd 9/7/2006 8:58 PM Page 87

Then NOW

a n d
ROBOTS WHO SEE
b y T o m C a r r o l l

M y last article about robots who lis-


ten got a few people who I know
interested in speech recognition, as the
inches long, is bent 45 degrees in the
middle, and has a ball joint on the end.”
Without ever having heard of such
tions, but is no more “true vision” than
a person looking at a photo album and
viewing images received by a camera
technology is pretty much available to a strange tool, much less seen one, we at some previous time.
all of us. When it comes to robots who can quickly go over to the drawer and This, however, was the only way
see, for the longest time we thought of recognize it buried beneath many that experimental robots of four
TV and video technology and went no other similar wrenches, using our decades ago could be controlled by
further. Our robots have used CdS cells human vision and a keen cognitive visual means. These days, CCD and
and phototransistors for years, either to ability. We may pick out the “ball CMOS image sensor video cameras are
sense ambient light or light generated joint,” or “45-degree bend” to clue us quite cheap and are quite useful in
by the robot and reflected from objects. to it. No machine vision computer can teleoperated robot projects. Super
IR and other types of LEDs have been do such a thing ... yet. So, bypassing circuits.com has a camera for less than
used as proximity sensors, and for line such complex object recognition, most $12, plus many other useful types.
and edge detection when coupled with of us concentrate on having our robots Security Cameras Direct at www.
some sort of light sensor. But is this visualize objects, obstacles, and bound- scdlink.com is another vendor I have
vision? What about robots who truly aries to guide them. used for various types of cameras.
see? Do we need to refer to Issac The other method was to have the
Asimov’s robots from his series of short Machine Vision robot sense the scene of interest and
stories — I Robot? Do robot eyes really process that visual information on
glow a deep red like in his stories and In researching this article, it was board in a way that was useful to the
many sci-fi movies? Why would eyes quite interesting to see just how far robot for object and obstacle identifica-
even radiate light rather than receive it? robot vision has progressed — from TV tion, navigation, or other purposes.
systems and bulky computers costing The “process that information” part of
The Human Eye hundreds of thousands of dollars, to this description was the key. This
the several ounce systems of today processing required a computer and
Human eyes are an amazing set of costing less than a hundred dollars. inputs from the sensor that the
organs. Even without the intimate con- There’s really two ways to go with computer could understand.
nection to the brain, the eyes accom- robot vision (or machine vision as it is Back in the 1960s, this was not
plish a lot on their own. Add that sometimes referred to in the industrial possible with the computer technology
capacity to the amazing storehouse of robot business). available to any home experimenters.
images that we’ve collected and stored Robots can use video means to TV cameras used vidicon tubes and
in our brain throughout our lives and “see” objects and transfer those computers weighed hundreds of
we can do a lot with our sight. images via electronic means to a TV pounds, if not room-sized. Machine
Vision is the one sense through screen that is viewed by a human. The vision systems used in conjunction with
which we accomplish the most difficult human then makes sense of what is on industrial robots for parts identification
tasks, and the lack of sight is our the screen and reacts accordingly. or part orientation determination start-
greatest disability. With just a verbal Teleoperator systems use this type of ed to become available in the early
description given to us, we can locate technology as required by the person 70’s. Edge detection algorithms were
the most complex objects. Someone on the other end of the control link. used to isolate a particular image for
can tell us, “I need this special wrench This type of robot vision has been used processing by the computer. Two early,
that’s over in that drawer. It’s about 10 successfully in many “robot” applica- visual scene-processing robots — Hans
SERVO 10.2006 87
Then&Now.qxd 9/7/2006 8:59 PM Page 88

trollers that can literally “run circles”


around the old PDP mini-computers at
less than one percent of their cost.
The Sony Aibo robot series has a
vision system that can track a colored
ball and allow the Aibo to interact with
it by nudging it or kicking it across a
floor. The Aibo also has a facial recogni-
tion feature that allows it to recognize
its owner or other persons. This facial
recognition type of system is a bit too
complex for the average experimenter to
integrate into their home-built machines,
so object, obstacle, and perimeter
recognition capabilities are the most
desired features of a vision system.

Figure 2. Shakey’s cameras.


Carnegie Mellon
University and the
SDS-940 computer with 64K of 24-bit CMUcam
Figure 1. Shakey. word memory — a lot for those days.
Fortran and Lisp were the programs of I’ve talked a bit about some of the
Moravec’s Stanford Cart from the 1967 choice. In 1969, the robot was upgrad- older vision systems and TV links, and a
era was just being thought of and SRI’s ed with links to PDP-10 and PDP-15 mini bit about some of the newer technolo-
Shakey had yet to make the scene. computers with 192K 36-bit words of gies, but let’s look at a few of the
memory. The first program that was systems that robot builders may be
Shakey used with the new computer was interested in. There are many robot
STRIPS that was later replaced with LISP. vision system cameras available to the
Refer to Figure 1. I wrote a bit Shakey had a video system with experimenter these days, but I’m going
about Shakey in the April ’04 issue of visual scene interpretation and obstacle to discuss only two of the more
SERVO without mentioning very much avoidance capabilities. It also had a popular systems. Though alumni of
about the sensor systems. When planning system that both created Harvard and Stanford Universities
several articles about SRI’s amazing plans and then monitored their real- might dispute this, the center of basic
robot made headlines in the New York world execution with a multi-level, robotics research seems to have been
Times, Life Magazine, and National tiered control architecture. at Carnegie Mellon University for sever-
Geographic in 1968 through 1970, Shakey now resides in a glass case al decades. I was fortunate enough to
computer science and AI really caught in the Computer History Museum in be able to visit the robotics research
on with the public. Life Magazine Mountain View, CA. He was also facilities of all three of the above
referred to Shakey as the “first inducted into the Robot Hall of Fame at schools in the ‘80s while researching
electronic person.” Carnegie Mellon along with a few my space-borne robot design work for
A problem-solving computer pro- famous real and movie robots. Shakey NASA. All of the schools, and other
gram called STRIPS controlled Shakey. will be ever known as the first mobile leading universities, excelled in specific
The robot sensed the scene in front of robot that could think independently areas of robotics, but CMU seemed to
it and sent the images back via a radio and interact with its surroundings with top the list in most categories, but that
link to a computer that processed and vision. We can only imagine that he is is strictly this author’s opinion.
analyzed the data using edge process- still looking through the glass case at I was impressed with Raj Reddy,
ing and then planned a course for all the museum’s visitors and marveling professor of Computer Science at CMU,
Shakey to follow. Figure 2 shows the at the vision technology that is avail- who spent quite a bit of time with me
video yoke with several vidicon TV cam- able today. discussing some early vision systems he
eras mounted in it. After a course was These were the ‘60s when only a was applying to his AI mobile
plotted, Shakey moved at the incredi- few lucky university grad students got autonomous robots. Another professor,
ble speed of two meters in an hour. the chance to work with intelligent William “Red” Whittaker, impressed me
The plotting required a synthesis of the robots with vision capabilities. with his motto that “all robots should
processed scene data along with a Affordable computers were just a dream have practical applications.” The
laser range finder (helium neon) and a for would-be robot experimenters. Four ex-Marine who formed CMU’s Field
series of bumper sensors at its base. decades later and we are blessed with Robotics Center was quite distinguished
In 1966, Shakey was fitted with a powerful microprocessors and microcon- in stature and was the driving force
88 SERVO 10.2006
Then&Now.qxd 9/7/2006 8:59 PM Page 89

behind several amazing


robots that used sophis-
ticated vision systems,
the latest being the
2005 DARPA Grand
Challenge’s autonomous
robot vehicle named
H1ghlander (Figure 3).
H1ghlander lost
the race by only four Figure 3. H1ghlander. Figure 4. Back of CMUcam. Figure 5. Front of AVRcam.
minutes due to a Lidar
and engine malfunction after leading track using a directly-connected servo, (including the CMUcam 3) is available
most of the way — not the fault of the dump a complete image over the serial at www.seattlerobotics.com (NOT
basic design. The H1 in the name refers port, and dump a bitmap showing the Seattle Robotics Society), Devantech,
to the huge red Hummer H1 shape of the tracked object.” Acroname, and other suppliers.
(Whittaker had two in the race) that he Using a servo and the CMUcam, it
used as the base vehicle and outfitted is easy to make a robot sensor suite The AVRcam Based
it with numerous vision systems and that pans back and forth to track an
laser range finders, all tied to a GPS object or a wheeled robot that chases on the Atmel
navigation system. a ball around, much like the far more Microcontroller
These two men typify the cutting expensive Aibo. The CMUcam comes in
edge technology that has emerged a kit form or assembled at less than Another popular camera for a
from CMU. It is no surprise that the $100 to about $140. Figure 4 shows robot vision system is the AVRcam (see
CMUcam first developed at CMU has the back side of this amazing camera. Figure 5) developed by John Orlando of
been the most popular of the vision There is a new version of the CMU the Chicago robot group — Chibots. It
systems available to the experimenter. Camera — the CMUcam2 — that incorpo- is also a small, low-cost, real-time
We now have affordable vision systems rates an on-board frame buffer that image-processing engine capable of
that actually have the power within allows much more flexibility in image tracking colorful objects. It is based on
themselves to make decisions on the manipulation, sub-sampling, higher the AVR mega8 processor from Atmel,
perceived images and act upon that frame rates, and contains an SX52 a company that seems to be destroying
information. Previous systems captured microcontroller. This version comes com- itself from within these days. Despite
an image and sent the data to another pletely assembled from Acroname and the squabbles within the company, the
processor to analyze the images and other suppliers for $179 or less. The fol- Atmel series of microcontrollers have
decide on the best action to perform. lowing are some of the improvements of long been a favorite among robot
The CMUcam was designed in the CMUcam2 over the earlier version: designers and the various microcon-
2001 by Anthony Rowe at Carnegie trollers should be available for quite a
Mellon. The CMUcam is a low-cost, • Track user-defined color blobs at up to while. As with the CMUcam2, the
low-power vision system using the 50 frames per second. AVRcam also uses the Omnivision
Omnivision OV6620 color CMOS • Track motion using frame differencing OV6620 imaging sensor.
imaging sensor and is designed for at 26 frames per second. The AVRcam can track eight
mobile robots. The CMUcam can do • Find the center of any tracking data. different objects of eight different
many types of on-board, real-time • Gather mean color and variance data. user-defined colors at 27 frames/
vision processing, thus saving precious • Gather a 28-bit histogram of each color second and can provide real-time
time and memory space on a host channel. tracked object statistics (color, bound-
microcontroller. The CMUcam uses a • Process horizontally edge filtered ing box, center of object, and more)
serial port and can be directly images. through a serial port. It has an image
interfaced to other microcontrollers • Transfer a real-time binary bitmap of resolution of up to 88 x 144 at 27
such as the PIC series and 68HC11-12s. the tracked pixels in an image. frames/second. It has a much lower
The CMUcam is a relatively low- • The camera has arbitrary image power consumption of 5V @ 53 mA or
powered device operating at six volts @ windowing. about a quarter watt, quite a bit lower
200 mA of current draw, or a shade • The camera has image down sampling. than the CMUcam.
over one watt. At 17 frames per • The camera’s image properties can be John feels that his camera has an
second, the CMUcam can “track the adjusted. edge, as it does not rely on proprietary
position and size of a colorful or bright • The user can dump a raw image (single software and hardware (as does the
object, measure the RGB or YUV or multiple channels). CMUcam) and can track more objects
(color) statistics of an image region, • Up to 176 x 255 resolution is available. at a higher frame rate. “One great
and automatically acquire and track the example of this,” he says, “is the
first object it sees. It can also physically Information on the CMUcam series international Robocup robot soccer
SERVO 10.2006 89
Then&Now.qxd 9/7/2006 10:04 PM Page 90

video-camera technology into method that was described by SERVO


LEGO Mindstorm’s Vision author, Jack Buffington in the August
Command product line. The new ’06 issue. It uses a 102 pixel linear array
LEGO Cam with USB connection, — the Taos TSL3301. It must be physical-
construction elements, and ly panned around a room to produce a
advanced vision-recognition soft- usable image — a method that has been
ware sells for $99. successfully used by many planetary
Designed to interface with explorer robot craft for years. It uses a
the Mindstorm Robotics PIC16F873 processor and the software
Invention System, using the is available on the SERVO website.
LEGO Cam, experimenters can For those robots who live with
build and program robots that you, it was neat enough to just provide
Figure 6. LEGO Cam solves Rubik’s Cube. react to their surrounding them with a brain like the scarecrow in
environment, such as seeking the Wizard of Oz. Now you can give
competition held each year.” and following a moving colored ball. them eyes. Go to the Internet and/or
You can purchase an AVRcam The LEGO Cam features a 6’ USB cable Google, and look up “robot vision” and
from the JRobot.net online store, and has up to 30 frames per second at you’ll get millions of links. As with all of
though it does require a bit of solder- a respectable resolution of 352 x 288 my articles, I do not and cannot go into
ing or wire wrapping. The basic kit with pixels for high resolution color imaging. detail on all the many types of technol-
software is $99.95. Though it looks a bit cheap with its ogy available to the experimenter.
bright plastic case, it does have This is the last of my “Robots Who
The LEGO Cam adjustable focus and a built-in micro- ...” series on those special robots that
phone. Figure 6 shows a Rubik’s Cube we feel most comfortable with. It is my
Another experimenter’s camera solving “robot” using the LEGO Cam. hope that you will become interested
for robot use is the new LEGO Cam. I’ve discussed three full-frame enough to go to the many sources avail-
Logitech and LEGO Co. worked togeth- cameras available to the experimenter able and make up your own mind what
er to embed Logitech’s QuickCam PC for robot use, yet, there is another great is best for your robot project. SV

COMPLETE OUR ONLINE READER SURVEY FOR A CHANCE TO


WIN A Hitec Robotics
ROBONOVA-1 KIT
Your input will help us make SERVO Magazine a better
robotics publication. At the end of the survey, you can
$1,000
enter our drawing for a Hitec Robonova kit. VALUE!
Go to www.servomagazine.com now and complete
our Reader Survey for your chance to win!

Advertiser Index
All Electronics Corp. .............................26, 49 Industrial Ventures .......................................38 Pololu Robotics & Electronics .....................78
BEST Robotics Competition ........................71 Jameco Robot Store ................................2, 49 RCATS ............................................................27
BOB’s/invents.net ........................................49 Lorax Works ............................................26, 49 Ridgesoft .......................................................49
Budget Robotics ..........................................73 Lynxmotion, Inc. ...........................................61 RoboteQ .........................................................7
CrustCrawler ...................................................3 Maxbotix .......................................................49 RoboDevelopment Conference .................39
Dimension Engineering ...............................38 Maximum Robotics ................................17, 49 Robot Power ................................................25
DynoMotion .................................................49 MeerKat Systems, Inc. .................................49 Robot Shop ............................................49, 86
Electronics123 ..............................................26 Micromega Corporation .............................49 SchmartBoard ...............................................86
Futurlec .........................................................49 Net Media .....................................................91 Smithy.............................................................26
Hitec ..............................................................13 NU-BOTICS ....................................................26 Solarbotics.....................................................44
Hobby Engineering ......................................81 Ortech Education Systems .........................60 Solutions Cubed ...........................................23
HobbyLab .....................................................26 Parallax, Inc. ...................................Back Cover Technological Arts .......................................49
Homebrewed Robots .................................49 Plantraco .................................................27, 49 Vantec ...........................................................13

90 SERVO 10.2006
CoverInside.qxd 9/7/2006 1:17 PM Page 2

Robotic Kits Components...


The Perfect Summer Projects for Kids of all Ages!
There’s something for everyone…
Robotic kits help you and your child to experience and learn about
perception and control using a variety of sensors and actuators. Challenge
robotic kits yourself with Jameco’s selection of fun and interactive kits! You or your child can
assemble the kits and then enjoy endless hours of discovery.
chassis
Check out our unique selection of Robotic Kits at www.RobotStore.com!
• Robot Insects & Animals • Programmable Robots
servos
• Solar Robots • Educational Kits
• Listening, Touching & Seeing Robots • Legged and Wheeled Platforms
passives
• Hackable Robots • OctoBot Survivor Kit

optos At Jameco’s RobotStore you can get the world’s most complete robotic offering—
all in one place! You’ll find kits for all ages and experience levels along with gear
integrated circuits boxes, servos, and chassis for those who are ready to take on the extreme.

semiconductors
Robotic Kits
and Components
...
The World’s
Most
Complete Off
ering!
muscle wires Enthusiasts,
Star t Dreami
ng...
Gift Givers,
Take Note...

Engineers,
We’ve Got
It All!

connectors

motors I-800-374-5
WWW.ROBOT
764
STORE .COM
CATALOG I62

WWW.ROBOTSTORE.COM/SRB
test equipment
I-800-374-5764 Call for your free catalog today!

software

books
1 0>
$7.00

4
CANADA

74470 58285
$5.50
U.S.

0
Vol. 4 No. 10 SERVO MAGAZINE DIY MARS ROVER • ENERGY MANAGEMENT • MIT MICROBOTS • TANDY TROWER October 2006
Page 84
3:04 PM
9/8/2006
Cover.qxd

You might also like