You are on page 1of 84

Vol. 4 No.

11 SERVO MAGAZINE WELDING • RTOS TO THE RESCUE • CORDLESS DRILL MOTORS • XPORT BOTBALL CONTROLLER November 2006
Page 84
1:46 PM
10/5/2006
Cover.qxd
CoverInside.qxd 10/4/2006 1:55 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 5/10/2006 12:37 PM Page 3
TOC Nov06.qxd 10/5/2006 2:31 PM Page 4

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

10 GeerHead by David Geer 07 Bio-Feedback


Battery Operated Smart Servants
30 New Products
14 Twin Tweaks
68
by Bryce and Evan Woolley
Only You Can Prevent Prehistoric Events Calendar
Forest Fires

20 Ask Mr. Roboto by Pete Miles 68 Robotics Showcase


Your Problems Solved Here

24 Programmable Logic 73 Robo-Links


by Gerard Fonte
Counters 74 SERVO Bookstore
70 Robotics Resources
76 Brain Matrix
by Gordon McComb
Finding and Entering Robot
Competitions
82 Advertiser’s Index
78 Appetizer by Dr. George Blanks
with Steve Marum and Ted Mahler
Why It’s Great to be the BEST

79 Then and Now by Tom Carroll


Robot Vacuum Cleaners and
Lawn Mowers

ENTER WITH CAUTION!

32 The Combat Zone


Weld, Weld, Weld!

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 11.2006
TOC Nov06.qxd 10/5/2006 2:32 PM Page 5

11.2006 VOL. 4 NO. 11

Page 14 Page 62

Features & Projects


44 XPort Botball Controller 54 Real Time Operating
Gives Good Game Systems to the Rescue
by Jenny Grigsby, Jorge Villatoro, by Phil Davis
and Matthew Oelke A review of FreeRTOS.org and what
Botball’s primary processor makes a it can do for you.
team’s task easier.
60 How to Convert Cordless
47 Omnidirectional Drill Motors for Use in
Robot Vision Robot Drives
by Bryan Bergeron by Peter Smith
An exploration of omnidirectional Step-by-step instructions for
robot vision options and the this simple “operation.”
construction of an inexpensive
mirror system for autonomous and 62 ROBOGames Prep
tele-autonomous robots. by Dave Calkins
This month: Androids!

SERVO 11.2006 5
Mind-FeedNov06.qxd 10/5/2006 10:50 AM 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
Outside US 1-818-487-4545
by Evan Woolley ΠP.O. Box 15277
North Hollywood, CA 91615

Donning the Mentor Hat on, and as a result I attributed success PUBLISHER
in a match to the area of my focus. As Larry Lemieux
Mentoring is an important aspect a mentor, I was detached enough from publisher@servomagazine.com
of the field of robotics. Robotics can be the initial design process so that I was ASSOCIATE PUBLISHER/
an intimidating field, especially to really able to appreciate how creative VP OF SALES/MARKETING
young students considering study and a everyone else really was, and I was Robin Lemieux
career in science and technology. really able to appreciate the display@servomagazine.com
Having the guidance of a mentor can contributions that everyone made to CONTRIBUTING EDITORS
really be the deciding factor that gives a the project. I find this funny because it Jeff Eckert Tom Carroll
student the confidence and inspiration was only after leaving the team that I Pete Miles David Geer
that they need to make the choice to realized how important the team as a Jenny Grigsby R. Steven Rainwater
Gordon McComb Jorge Villatoro
become an engineer. I know personally whole was. I think my appreciation of Kevin Berry Ted Mahler
that my mentors have meant a lot to the effectiveness of the team was really Dave Calkins Phil Davis
me, so I jumped at the chance to help one of the main benefits I derived as a Bryan Bergeron Matthew Oelke
others in that same way. mentor. Pete Smith Evan Woolley
Bryce Wooley Gerard Fonte
After spending three years on a And I think this appreciation and Charles Guan Bill Bottenberg
FIRST robotics team, it seemed like the awareness led me to seek out more Steven Kirk Nelson Paul Reese
natural next step to return in opportunities to mentor, and it just Jeff Vasquez George Blanks
subsequent years as a college mentor. seemed like another natural Steve Marum Robert Wilburn
And it seemed easy enough to step into progression. Many of the students on
the role of "mentor" — I just tried to my high school FIRST team were also CIRCULATION DIRECTOR
emulate what my mentors had done for members of the solar boat race team. I Tracy Kerley
me. And after donning the mentor hat, had never really been involved on the subscribe@servomagazine.com
I really realized that giving team during my high school years (too
WEB CONTENT/STORE
encouragement and dispelling doubt busy with robots), but I found myself Michael Kaudze
were as much of the process of involved as a mentor. Of course, I did sales@servomagazine.com
mentoring as technical instruction. I learn a few more things about solar
also discovered that helping someone power than I did before, but what really PRODUCTION/GRAPHICS
Shannon Lemieux
else bring their idea to fruition was just drew me in was not only the thrill of
as rewarding as seeing my own come to achieving a goal, but the thrill of ADMINISTRATIVE ASSISTANT
life. helping others achieve something. That Debbie Stauffacher
It's kind of funny. While I was might sound like a wallflower's vicarious
Copyright 2006 by
actually on my high school's FIRST thrill, but it's quite the contrary. T & L Publications, Inc.
team, I don't think that I ever Whenever I was on a robot team, it All Rights Reserved
formulated a really good idea of how really felt great to do well in
creative everyone else on the team was. competition. What I usually focused on, All advertising is subject to publisher’s approval.
We are not responsible for mistakes, misprints,
I was focused more on my own ideas, though, was how my contribution was or typographical errors. SERVO Magazine
and though I tried to be receptive to a part of the victory. Again, I think this assumes no responsibility for the availability or
what the others had to say, I still think I is natural, albeit a bit selfish. As a condition of advertised items or for the honesty
was a bit biased toward my own ideas, mentor, I found myself really able to of the advertiser.The publisher makes no claims
for the legality of any item advertised in SERVO.
and I think that is a natural tendency. appreciate the victory of the team — it This is the sole responsibility of the advertiser.
When I witnessed our robot perform was a selfless thrill. Selfless in that I was Advertisers and their agencies agree to
well in competition, I naturally focused able to really appreciate how everyone indemnify and protect the publisher from any
on the aspects of the design I worked had a hand in the victory. Not only 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 11.2006
Mind-FeedNov06.qxd 10/5/2006 8:53 AM Page 7

Dear SERVO:
Wood — it's what my robots are made of. It's snubbed
by most builders of robots. So I was pleased to see Robotics
Resources recommend it. However, I am a little disappointed
that McComb did not place more emphasis on gluing. The
ease of making strong glue joints is an important advantage
that wood has over metal and most plastics. Well-designed
glue joints are the key to high strength to weight wood
structures. Wood airplanes — and that includes some World
War II fighters — are glued together.
By the way, ANC — 18 bulletin, Design of Wood Aircraft
Structures, June 1951, contains a lot of information useful to
builders of wood robots. Unfortunately, I have no idea where
you can get a copy.
Also, I would like to point out that thin (1/64" to 1/2")
birch plywood is available mail-order at about half the
hobby shop price. One such source is: Lone Star Models,
www.lonestar-models.com
William J. Kuhnle
Lavon, TX

Did you know that if you’re a paid subscriber


to SERVO Magazine, you can get the online
version for FREE?
Go to www.servomagazine.com STEER WINNING ROBOTS
could I experience my enjoyment, but the whole team's WITHOUT SERVOS!
enjoyment.
But, of course, a mentor gets a lot more out of the
experience than the vicarious enjoyment of other people's
projects. You hear it all the time, but the mentored give just
as much back to the mentor. It might not necessarily be in
technical knowledge (though high school students can surely
have surprising insights), but they certainly return inspiration
twofold. When you realize that you've given at least one
person confidence, that is a huge thing. It goes beyond the
victory in a single competition. It encompasses academic
victories and professional victories and personal victories,
because you've helped steer someone on a path that they will
find exciting and rewarding.
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
Of course, my model of transition from team member to with our mixing RDFR dual speed control. Used in many
team mentor wouldn't work for everyone. Many of the successful competitive robots. Single joystick operation: up
mentors in organizations like FIRST didn't have the benefit of goes straight ahead, down is reverse. Pure right or left twirls
being on the team first, and many possible mentors out there vehicle as motors turn opposite directions. In between stick
in the world didn't either. The good news is that it is very easy positions completely proportional. Plugs in like a servo to
your Futaba, JR, Hitec, or similar radio. Compatible with gyro
to become a mentor, especially in the fields of science and
steering stabilization. Various volt and amp sizes available.
engineering. FIRST teams are everywhere nowadays, as are The RDFR47E 55V 75A per motor unit pictured above.
LEGO League teams, BEST teams, and now there are www.vantec.com
emerging Vex Challenge teams. There are groups everywhere
in need of mentors. The only requirement is the will to inspire Order at
and to be inspired. SV
(888) 929-5055
SERVO 11.2006 7
Robytes.qxd 10/3/2006 4:57 PM Page 8

Robytes by Jeff Eckert

re you an avid Internet surfer flight refueling and munitions dispense leader in the technology by 2022.
A who came across something
cool that we all need to see? Are
testing. The vehicle is the result of a joint
effort by EDO Corporation (www.edo
The consortium includes such
companies as BAE Systems, EADS,
you on an interesting R&D group corp.com), which funded development Agent Oriented Software, Flight
and want to share what you’re of the composite airframe, and Boeing’s Refuelling, QinetiQ, Rolls-Royce, and
developing? Then send me an Integrated Defense Systems division. Thales UK, plus renowned research and
email! To submit related press academic bodies and other small and
medium-sized enterprises. BAE Systems
releases and news items, please
(which is Europe’s largest defense
visit www.jkeckert.com Consortium Looks at company) already has considerable
— Jeff Eckert Civil UAVs experience in the field (see photos).
Will the civilian skies soon be
swarming with unmanned police
Military UAV Achieves planes? Will pizza be delivered by small
Autonomy autonomous dirigibles? Stay tuned.

Robot With Taste?

The ASTRAEA program is aimed at


enabling common-place civil use
of UAVs developed from current
models such as the Herti 1A and
Boeing’s PMTD UAV during a test the IAV2 vertical takeoff and landing
flight. Photo by Peter George, (VTOL) vehicle. Photos courtesy
courtesy of Boeing. of BAE Systems.

In a recent test flight from the Most of the focus of UAV develop-
Vandalia Municipal Airport in Illinois, ment is aimed at military applications,
Boeing’s (www.boeing.com) Persistent but that may change in coming This robot, developed by NEC and
Mie University, is billed as a partner
Munition Technology Demonstrator years. Britain’s Autonomous Systems robot with a sense of taste. Photo
(PMTD) flew autonomously for the Technology Related Airborne courtesy of NEC System Technologies.
first time, navigating to 14 pro- Evaluation and Assessment (ASTRAEA)
grammed locations accurately, chang- program (www.astraeaproject.com) One interesting bot that may have
ing altitudes at four different points, is a £32 million (~$60 million) effort to escaped your attention is the food
and operating at various preplanned open up opportunities for routine civil tasting robot developed by NEC System
speeds. The 60-lb vehicle, with a use of UAVs in segregated and nonseg- Technologies and Mie University,
wingspan of 12 feet, was created to regated airspace for such purposes as dubbed by some as the “winebot”
demonstrate emerging technologies environmental monitoring and security. because of its ability to identify
via incremental upgrades and various Projects encompass key technolo- different types of wine. However, in
demonstration phases and to serve as gies and considerations including demonstrations, it has also successfully
a test bed for future small UAVs. It is collision avoidance systems, communi- identified several types of cheese, meat
designed for extended loiter times and cations, flight control, propulsion, products, and bread, often without even
can be air or surface launched. autonomous decision making, health opening the package. You may have
In the test, the PMTD took off and monitoring, and affordability. Whereas already noticed that the little guy doesn’t
landed under remote control, but the ASTRAEA specifically focuses on the have a mouth, which would seem to
flight itself was conducted without any technologies, systems, facilities, and make tasting things difficult. And, in
human intervention. Having completed procedures that will allow uninhabited fact, it does not have a sense of taste in
this first phase of development, the com- vehicles to operate safely and routinely any normal meaning of the word.
pany’s future plans include sensor inte- in the UK, it has obvious long-term What it actually does is employ an
gration and a demonstration of weapon implications elsewhere, and a stated infrared spectrometer, mounted on its
terminal guidance, as well as possible in- goal is to position the UK as the world’s left arm, to analyze the food, providing

8 SERVO 11.2006
Robytes.qxd 10/5/2006 8:13 AM Page 9

Robytes

not only identification but also quantity take approximately three minutes. The moving around on its own, the concept
estimates of components such as sugar battery-powered 3.7 meter long vehicle should have been obvious. But it took
and fat. Observers have noted that the will carry up to four people, assuming until 2003 for a research scientist at
technology still needs some refinement. their total weight doesn’t exceed 500 kg Norway’s SINTEF Group to think of build-
One reporter was identified by the (~1,100 lb), and heat and air condition- ing a self-propelled fire hose that can
robot as prosciutto, and another ing can be provided where required. enter a burning building on its own and
individual was deemed to be bacon. If All of this sounds like a modest put out the fire without risking human
the technology were adapted to a start, but CityMobil envisages much life. Hence the Snakefighter project.
robotic chef, the results could be both larger driverless public transport sys- This year, it bore fruit in the form
tragic and unappetizing. tems that take you virtually anywhere of (someone just couldn’t resist) “Anna
you want to go. For more details, visit Konda,” a 3 meter, 70 kg snakebot
www.citymobil-project.eu. that uses hydraulic valves and
actuators to slither like a snake. The bot
EU to Eliminate Drivers cleverly taps into 100-bar water pressure
that already exists in the attached fire
Snakebot to Fight Fires hose, and that provides it with enough
power to raise its head and aim the
spray, climb stairs, lift heavy objects, and
even break through a wall.
Other potential applications
include subsea maintenance of oil and
gas installations — anything that
A new EU project called CityMobil requires snake-like action. (Well, not
seeks to improve driving conditions anything.) The company is looking
using autonomous vehicles such as the
“ULTra®,” built by Britain’s ATS Ltd. for collaborative partners to help with
Photo courtesy of ATS. SINTEF’s Snakefighter project has continuing development of the sys-
resulted in a hydraulic snakebot tem, so if you are interested, stop by
designed to fight fires and
If you have developed an aversion dispense various liquids. their website. The English version is at
to the attitude and occasional aroma of Photo courtesy of SINTEF. www.sintef.no/default____490.asp
taxi drivers, you will take heart at a x (that’s a quadruple underline). SV
recently announced project sponsored If you have ever seen a garden hose
by the European Union (EU). The
CityMobil concept — which has been
funded to the tune of 40 million Euros
and involves 28 partners in 10 coun-
tries — is aimed at replacing human
drivers with autonomous vehicles
wherever feasible. In fact, one of
three trial sites is London’s Heathrow
airport. (The others are the town of
Castellón, Spain, and an exhibition
center in Rome.) By 2008, Heathrow
will incorporate a route that covers
4.2 km of track, including station
loops, and 18 of the ULTra Personal
Rapid Transit (PRT) vehicles provided
by ATS Ltd. (www.atsltd.co.uk).
The “rapid” part is a relative term,
as it has a maximum speed on level
ground of 11 m/s (24.6 mph), which
isn’t bad for buzzing around the
airport. A typical one-mile journey will

SERVO 11.2006 9
Geerhead.qxd 10/3/2006 5:19 PM Page 10

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

Battery Operated Smart Servants


Know You’re the BOSS!

Robotic Assistance is in the Basket


Humble Beginnings; left untouched for easy welding to
the cart.
Keeping the BOSS
Hey, Add a Motor to BOSS employs Denso 12-volt DC Under Control
Me, Will You? motors. These geared, right angle The motors are controlled by an H-
DC motors produce greater torque, bridge motor controller — the Tecel
Starting from a “standard, small suitable for those ‘high-test’ applica- model D200 — which is compatible
frame” shopping cart, the Battery tions. “The worm gear [used in these with motors requiring up to 60 amps of
Operated Smart Servant (BOSS) motors] translates the rotational effort current. The controller also uses four
creator Greg Garcia — graduate of the motor about an axis perpendicu- 110 amp MOSFETs (metal-oxide semi-
research assistant in the center for lar to the motor; this keeps the conductor field-effect transistor).
intelligent machines and robotics, the motors in profile along the vehicle,” The controller blocks, allows, and
University of Florida — modified the says Garcia. directs current using gates or switches
future BOSS robot’s wheels and These motors can turn at 150 rev- in order to switch the motors on and
chassis by removing the default olutions per minute. Together with the off and to guide the motor’s rotation
wheels using a “4.5 inch angle eight-inch tires that Garcia specified, directions. You control the H-bridge by
grinder with cutoff wheel.” this enables BOSS to move fast enough sending pulse width modulated signals
Then, on a newly fabricated L to keep up with most people. that set the motor duty cycles (speed);
bracket, Garcia mounted the robot-to- The motors are powered by a motor direction is set by sending digital
be’s motors, having traced out and series of four 12-volt batteries wired in signals that express the selected direc-
drilled bolt holes in a pattern matching parallel in order to form one larger 12- tion that the motors — and ultimately
the holes in the motors’ base. He also volt battery (to wire them in parallel, all BOSS — should travel.
drilled a clearance hole for the motor the negative terminals are connected The primary data in/out for BOSS
shaft to traverse. The remaining, each one to the next, and likewise with is controlled by a MAVRIC IIB microcon-
opposite surface of the L bracket was the positive terminals). troller board. The board employs an

BOSS at the beginning — just a This is BOSS’ preliminary structural Deciding where to put the
simple shopping cart. design for placement of the battery. electronics enclosure.

10 SERVO 11.2006
Geerhead.qxd 10/3/2006 5:19 PM Page 11

GEERHEAD

Drive motors with noise At this stage, BOSS’ battery is


reduction circuitry. mounted and secured. The battery secured.

Atmega128 MCU (microcontroller Intel’s OpenCV (open source computer computer. This vision functionality is a
unit). The MAVRIC was chosen for its vision) libraries,” says Garcia. very primitive solution to a complicated
versatility when applied to multiple problem,” says Garcia.
sensors and input and output data. An The BOSS Can See You BOSS uses its vision facility to track
analog-to-digital converter converts objects based on color recognition. By
analog data from three infrared The BOSS’ vision program pulls adding other functionalities, Garcia was
distance-measuring sensors to a digital video input from a Logitech USB quick able to make this simple tracking modal-
signal the controller can understand. cam. Garcia used his own image pro- ity much more robust. Extraneous
Digital I/O also delivers signals cessing algorithm runs in order to cre- factors like lighting and shadowing
between the sonar sensor and the ate the proper reactive control action affect the quality of color recognition
warning buzzer. The signals traverse a and send it to the microcontroller. “This that can be performed. To offset this,
coil relay to turn the buzzer on; I/O level of processor computation is too Garcia gave BOSS a training function
also sends data to the LCD. RS232 great for the microcontroller to handle, and built tolerances into his algorithm,
serial connections are used so that so it is outsourced to a higher power to allow for variances after the training
the microcontroller can talk to the
image-processing computer. LESSONS LEARNED ABOUT CABLING
The microcontroller programming
During the creation of BOSS, Garcia are many simple ways to filter out this
can be coded using a variety of
learned that noise has a highly detrimen- noise using a combination of capacitors
programming languages. “I used a soft- tal effect on sensor information. He also and resistors. For example, on my drive
ware package called CodeVision, which learned how to avoid it: motors I used some 10 microfarad
consists of a number of C libraries that ceramic capacitors to reduce the noise
contain function calls designed to • Use good shield wiring. output. One capacitor was bridged
interface with the ATmega128. The across the positive and negative voltage
programming of the vision algorithm • Run power lines separate from data leads, while two more were ran from the
was also done using the C program- lines whenever possible. positive lead to the motor case ground
ming language. It was accomplished and the negative lead to the same motor
using Microsoft Visual Studio 6 and • Mitigate noise from DC motors. “There case ground,” says Garcia.

Motor controller housing unit. BOSS with battery kill switch. BOSS side view, early stages.

SERVO 11.2006 11
Geerhead.qxd 10/3/2006 5:20 PM Page 12

GEERHEAD

Here the warning light has BOSS computer brains, open and BOSS front view; IR sensors
been mounted. ready for inspection. have been mounted.

phase of color-based object recognition. values to mitigate minor lighting if it is too close it will slow down or
When the vision program begins, a changes. If BOSS can’t gather enough stop. But, it will stop close enough to
prompt asks the user to select the color color information based on the image you to not hit you and yet allow you to
she/he is wearing from a list of avail- for the algorithm to make a decision, put things in the cart,” says Garcia.
able colors. The user must then obscure the robot will stop and sound its buzzer The sonar is a Devantech SRF 05
the camera’s view with what they are to let the user know there is a problem. ranger. It works by transmitting ultrason-
wearing. “This allows the computer to ic pulses. It counts the time between
know its color under the given lighting Makes Sense to sending the pulse and hearing its echo to
conditions,” says Garcia. Tolerances are Follow Along determine distance, as sonars generally
built into the Red-Blue-Green color do. The sonar’s pulse can’t be detected
More than a shopping cart with a by the human ear. This particular sonar
BROADER LESSONS LEARNED brain and sensors, BOSS homes in on has a range of up to four meters.
its master’s image to follow and deliver The IR sensors are Sharp GPD 12s.
“Nothing is as it seems,” says
its cargo. These are mounted close to the
Garcia, to borrow an old adage. Greg
learned that actions and motions like BOSS uses both IR and sonar rang- ground. The mounting allows BOSS to
pushing a shopping cart or following ing sensors for positioning. In this way, see in front of itself and to each side.
someone become very difficult when BOSS can know its relative distance These sensors locate minor obstacles in
you try to reproduce them in machines from objects in it environment and BOSS’ path. They are limited in range,
alone. It requires “incredible” computer know its own positioning. The sonar which is sufficient for their task. These
power and sensing. These behaviors itself is specifically for ranging the sensors can sense up to 30 centimeters.
are easy for us because we recognize distance between BOSS and its master. “When an obstacle is detected, the
not only color but also shape and other
characteristics. “We don’t have to pull “This sensor is mounted inline with cart will stop and sound an audible
out a tape measure and check each the camera so it measures the distance tone alerting the user that the path is
doorway, we glance at it and know to whatever the camera is pointing at. blocked. These sensors are currently
whether we can pass or not. We can This sensor controls the cart’s following used to prevent the cart from having a
also step over small boxes which a behavior. If the cart is too far away from collision. Based on empirical tests, it
wheeled robot cannot do,” says Garcia. the target, it will speed up. Conversely, has been shown that if the user follows
a clear path, that the cart too will
A rear view of BOSS’ This is BOSS’ motor actuation box. follow said path,” says Garcia.
electronics enclosure.
Why, BOSS?
Garcia is most frequently asked
why he built BOSS and how he got
the idea. It was mostly to satisfy
a class requirement (EEL 5666c
Intelligent Machines Design
Laboratory). The freedom to design
and create what he wanted — with-
in the class requirements — was a
factor in his enthusiasm for the job.
12 SERVO 11.2006
Geerhead.qxd 10/3/2006 5:21 PM Page 13

GEERHEAD
Industrial
BOSS GETS AROUND
No, the BOSS wasn’t invited to join
Strength
the Beach Boys, but it does “get
around” in a really cool way. The BOSS
uses skid steering to move and groove. Motor Control
for All
This means that two front caster
wheels and two rear multidirectional
orientation wheels are employed.
By telling the rear wheels to spin at
varying speeds or opposite directions, AX2550
BOSS can make zero turn radius turns, AX2850
according to Garcia. BOSS doesn’t do
At this stage of the build, the reverse yet, as there are no sensors in
warning light has been repositioned. the rear to guide it.

AX1500
“I believe that robots should be get them. That’s how Garcia arrived at
used primarily to save human lives the solution he calls BOSS.
where at all possible. But, if that is not Beyond this, Garcia sees the possibil-
an option, they should at least be able ity that a smart servant could help the
to enhance our quality of living,” says disabled. “The same day the AP story
Garcia. It was the latter motivation that broke about our robots, I got an email
lead Garcia to come up with plans for from a woman who is disabled. She has
BOSS. People can easily get caught up limited use of one arm and suffers AX3500
in the drudgery of every day chores and intense pain when having to single-hand-
tasks, for example, when Garcia had to edly push a shopping cart. She requested
Get the DC Motor Controllers
go along to the grocery store as a kid. that I keep her up to date on the devel- that are at the heart of many of today’s
“You see, I have an older sister. We opment of this technology,” adds Garcia. world’s most demanding Industrial,
always wanted something to do in the Military and Research Robots, and other
store while we were with our mother Conclusion innovative Motion Control applications.
so we would ask to push the cart. I
guess she really didn’t like doing it Garcia simply added eyes, brains, - RS232, RC, or Analog input
because she would always agree. and mobility to a shopping cart. And, - Speed or Position Mode
Anyway, my sister would somehow yet, it’s clearly one more step toward - Dual channel output up to 140A
always find a way to “accidentally” the close proximity we will all share - Optical Encoder Inputs
bump into me. So I started thinking of one day with the many servant and - Intelligent Current Limiting
how to avoid this,” explains Garcia. co-worker robots to come! SV - Thermally Protected
- Field Upgradable Firmware
The more Garcia pondered the
- Enclosed and Board-Level versions
problem and those memories, the RESOURCES - and many more advanced features ...
more he remembered the nuisances
The BOSS at home on its
of using a shopping cart. Sometimes Web-based crib
people forget where they’ve left their Model Amps Features Price
http://grove.ufl.edu/~garcia/
carts. Then, they have to go back and AX1500 2x30A B $275
BOSS in action. Catch the video here: AX3500 2x60A O-R-B $395
NOVA 7896 SBC with CIMAR PS, http://grove.ufl.edu/~garcia/BOSS_ AX2550 2x120A A $495
MAVRIC IIB, and LCD all mounted internet.wmv AX2550HE 2x140A A $645
and powered in box. AX2850 2x120A O-A $620
Tecel motor driver board AX2850HE 2x140A O-A $770
www.tecel.com/d200 A=Aluminum Extrusion, B=Board-Level, O=Optical Encoder In,
R= RC outputs. Qty1 price. Contact us for OEM Qty prices

MAVRIC controller board


www.bdmicro.com/mavric-iib

Logitech
www.logitech.com 8180 E.Del Plomo Dr.
Scottsdale AZ USA 85258
Devantech (602) 617-3931 - info@roboteq.com
www.robot-electronics.co.uk/a www.roboteq.com
SERVO 11.2006 13
TwinTweaks.qxd 10/3/2006 5:23 PM Page 14

THIS MONTH:

Only You
Can Prevent
Prehistoric
Forest Fires

T
his month, we have the pleasure King of the Dinosaurs When we first read about the feed-
of presenting the newest addition ing behavior, we were a bit curious
to the WowWee Toys robotics But before an epic showdown, we about what was meant when it was
family — the Roboreptile. The needed to know what the Roboreptile said that the reptile wouldn’t calm
Roboreptile is the new version of the was capable of. The Roboreptile — like down until fed. The Roboreptile comes
Roboraptor, and this new generation is other WowWee products — is operable with a hood that, when worn, will
sleeker, faster, and even more preco- right out of the box after the procure- effectively tranquilize the robot dino by
cious, if that is at all possible. The only ment of a few AA batteries. The devil- stopping it in its tracks. But if you try to
other member of the WowWee family ish dino is ready to play immediately — put the dino’s hood on before it has
that we’ve had major experience with it comes with three preprogrammed been fed, it will vehemently shake the
is the classic Robosapien and, given the behaviors. The first behavior the hood off — if the Robosapien family
Robosapien’s reputation for expand- Roboreptile exhibits is the “feed” mode. boasts a fusion of technology and
ability and experimentation, we had While feeding, the Roboreptile will personality, then the Roboreptile is
high hopes for the Roboreptile. Will prowl around, reacting to its environ- definitely the maladjusted teenager of
this new lizard on the block be the king ment via sound and infrared sensors. the group. That’s not to say that it isn’t
of the dinosaurs, or will it be at the The reptile will not calm down until it is entertaining; quite the contrary.
bottom of the food chain? There was a “fed,” which can be achieved by press- We both loved to play with
quick way to find out ... ing the “feed” button on the remote. dinosaur toys when we were kids, and
even with just the feeding mode the
WOWWEE COMPARISON. REMOTE ADDITION. Roboreptile would have been the
coolest toy ever. In addition to the
basic feeding behavior, the Roboreptile
can also simply “roam,” using sensors
to avoid obstacles, and “guard,” where
the dino crouches on its hind legs and
waits until it is provoked, after which it
will lunge at the offending sound or
motion. In addition to the prepro-
grammed modes, the Roboreptile can
be controlled via individual commands
given by the infrared remote.
Besides the modes that come pre-
14 SERVO 11.2006
TwinTweaks.qxd 10/3/2006 5:24 PM Page 15

Only You Can Prevent Prehistoric Forest Fires

programmed, the Roboreptile exhibits entertaining, but is that


several “moods.” The feeding behavior enough to make it the
is characteristic of the “hungry” mood. king of the dinosaurs?
While hungry, the reptile is the most
aggressive, even chasing after the Stomping
remote control if the user taunts it with Grounds
the feed button too much. Once fed
via the button on the remote, the Argus is our German
Roboreptile displays the “satisfied” Shepherd dog. If the
mood, where it moves more slowly and Roboreptile could hold its
is more amenable to being “hooded.” own against such a fear-
“Hooded” is the last mood, where some adversary, then
the Roboreptile’s sensors are inactive. surely its dominance
If left hooded for long enough, the would go unquestioned
Roboreptile will eventually fall asleep thereafter. Unfortunately, KING OF THE DINOSAURS! GRRRRR!
and power down. The Roboreptile’s even the Roboreptile’s
moods certainly make it an interactive fearsome lunges and roars stood no needed to be addressed was to
and entertaining toy, and there are chance against Argus’ jaws. What become acquainted with the
many more positive traits it exhibits could be done to help the Roboreptile Roboreptile’s insides. The Roboreptile
beyond personality. reassert its dominance? An early idea has a much more compact board than
The Roboreptile is advertised as was to emulate the mythological drag- its distant cousin, the Robosapien,
much faster than its predecessor, and the ons of yore and give the Roboreptile though such is to be expected with the
feisty dino certainly makes good on this the ability to breath fire, but that smaller lizard. As was the case with the
claim. The Roboreptile can scoot around project presented the risk of a melted Robosapien, all of the wires that
at an impressive speed by using its stub- plastic dinosaur if things went awry. connect to the board do so through
by front arms as skids of sorts. The rep- Everyone has heard of a fire- sockets, and this feature makes it easy
tile’s waving tail and swaying head really breathing dragon anyway, and we are to flip over or remove.
create a realistic motion as the creature never ones to fall back on tired clichés. Removing the board is the only
prowls around, and the bot is hugely We came up with the more construc- way to get a deeper look into the
entertaining even in demo mode. tive idea of making the Roboreptile Roboreptile, and the backside of the
In addition to the fluid move- breath smoke — carbon dioxide gas. PCB. An inspection of the PCB’s
ments, the Roboreptile can create a This way, the Roboreptile could put out backside reveals that all of the pins are
variety of sounds, ranging from ragged fires instead of start them. Such protec- conveniently labeled by their function
breathing to beastly roaring — perfect tive tendencies would certainly make a — everything from leg and tail motor
for terrorizing housepets. Granted less Machiavellian king of dinosaurs, ports to test pads. A look at the
we’ve never seen real dinosaurs in and the ability to put out fires would mechanical workings of the dinosaur
action, but if we ever come across one, make the Roboreptile a great role reveals that the Roboreptile abides by
we’re sure it would saunter around and model for kids if anything unfortunate the same principles of reflexive motion
sound a lot like the Roboreptile. should happen to Smoky the Bear. as the Robosapien, so just by taking a
Beyond all of the mayhem the look inside anyone can learn a thing or
Roboreptile is capable of simply with its Back From Extinction two about efficient engineering.
preprogrammed behaviors, the bot also The Roboreptile uses very few
has the ability to be programmed by The first order of business that servo motors to achieve its wide range
the user. The user can enter a sequence
of up to 20 moves through the remote. REPTILE VS. ARGUS ... THE FIRE EXTINGUISHER.
The Roboreptile comes with a veritable
plethora of possible moves, including a
“tail strike,” “bite,” “shake,” and even
one called “dizzy.” Such variety means
tons of possible 20 move sequences —
definitely more than enough to keep
even the most jaded dinosaur expert
entertained for hours on end.
The Roboreptile certainly makes a
good first impression with its overflow-
ing personality and lifelike movements.
The robotic dinosaur is unquestionably
SERVO 11.2006 15
TwinTweaks.qxd 10/3/2006 5:24 PM Page 16

Twin Tweaks ...

CHECK OUT THE DINO GUTS! EW, MORE INSIDES! THE REPTILE SKULL.

of movements. A great example is the discovered that the dino’s skull was not to find something a little more scaled
decidedly reptilian waving of the bot’s meant to be breached. down. As it turns out, the Roboreptile
tail. At first glance, the movement of After dismantling all of the neck is of similar proportions to a paintball
the segmented tail seems to be a com- segments, the only dismantling that gun. The tiny CO2 cylinders used for
plicated motion — such graceful kinet- can be done to the head is the removal paintball guns would be a perfect fit
ics seem like they should be achieved of a small part at the base of the skull for the robotic dinosaur, and we could
by complicated mechanisms. But such — the jaws cannot even be split apart. scavenge the valve from a paintball
is not the case — the tail mechanism is So, it is our recommendation that the gun to ensure a controllable release of
simply a single servo motor that moves only way one should attempt to get the gas. So we bought a paintball gun,
the base of the tail back and forth. The inside the head of the Roboreptile is after which we did what we think
ingeniously designed segments of the through a series of clever mind games. should be done to all paintball guns —
tail are made in such a way as to create we dismantled it so the parts could be
a smooth motion with no further Feeding the used in far more useful applications. In
locomotion. Similar graceful minimal- Roboreptile this case, that application would be a
ism is to be found throughout the fire extinguishing dinosaur.
entire robot. Just because the Roboreptile is After dismantling the paintball
In various ways, however, the resistant to major surgery, that doesn’t gun, we discovered that the mecha-
Roboreptile is a lot less intuitive for mean we can’t get started on its nism we needed was housed in a large
hackers than its humanoid progenitor. firefighting modification. Our initial and unwieldy casing. All we wanted
One glaring example of this literally vision was to give the dino the ability to was the portion that punctured the
glares at you — the head of the spew compressed CO2, perhaps even cylinder seal, so we cautiously dissect-
Roboreptile, with those beady little through a tube snaking through the ed the spring loaded casing. Much to
eyes, is a lot more difficult to get into bot’s neck. Our idea was that if the our pleasant surprise, the desired piece
than the Robosapien’s dome. First of tube had a small enough opening, could easily be unscrewed from the
all, the Roboreptile’s head cannot be the expelled gas would look like a puff open casing. Unfortunately, by taking
accessed until all of the neck segments of smoke. only the part we wanted from the
have been removed. This should Normal-sized pneumatic parts paintball gun, we lost the ability to
have been a clue, because once we were too big to turn the Roboreptile hold the cylinder in place. Fortunately,
finally worked our way to the head, we into a small fire extinguisher, so we had the tiny cylinders happened to fit per-
fectly into some PVC pipe, and a screw-
THE NECK. LOADING THE CYLINDER. on cap provided the perfect method to
press the cylinder onto the pin.
The other element we needed for
our smoke-breathing Roboreptile was a
way to control our hacked addition. We
had some leftover pneumatic solenoids
from FIRST robot kits, and we also
scavenged a remote radio control to
turn our mechanism on and off. We
are sure clever hackers could devise a
way to operate additional mechanisms
via the original remote, but we wanted
to do things as easily as possible.
16 SERVO 11.2006
TwinTweaks.qxd 10/3/2006 5:25 PM Page 17

Only You Can Prevent Prehistoric Forest Fires

Our plan to give


the Roboreptile smoky
breath was to bodge
together a mechanism
that would consist of
the PVC pipe to hold
a CO2 cylinder, con-
nected via a tube to
a pneumatic solenoid
that could regulate the
exhaust. The solenoid
could ideally be
powered by the exist- THE REPTILE AND THE TANK. THE REPTILE PCB.
ing power supply of
the Roboreptile, which is also how we But the multi-layered PCB appar- volts, but the most we could squeeze
planned to power the receiver for our ently splits the voltage between the out of the dinosaur was six volts. And
radio control. All that was left would layers — three volts for one layer and six even if we could wire all that to the
be one last tube connecting to the for the other. Because of the voltage bot, its compact design would force us
solenoid. It sounds simple enough schism, we couldn’t easily attach two to attach everything to the outside of
in concept, but convincing the more batteries. We tried to find the the dino. The prospect of bodging a
Roboreptile to adopt its extra equip- nine volts coming directly from the solenoid, radio receiver, and extra bat-
ment proved to be rather difficult. battery pack before the split, but even teries onto the shell of the Roboreptile
after a thorough investigation of was not a very intuitive solution. But
Stratigraphic the PCB with a multimeter, the nine we were determined to make the
Shenanigans volt source eluded us. Were that Roboreptile breath smoke, so we
somewhere in the depths of the began to consider a more mechanical
In our attempts to hack pneumatic Roboreptile’s innards there existed a solution.
solenoids onto the Roboreptile’s PCB, nine volt source, but we were unwilling The minimum that we would need
we came across several difficulties that to dissect the bot that extensively. to make the dinosaur breath smoke
indicate the bot should only act as an The Roboreptile is so compact in would be our custom PVC pipe, a CO2
expandable platform for serious its assembly that any major dissection cylinder, and a short length of pneu-
tinkerers with a bit of an electronics would involve the excavation of layers matic tubing. The mechanism would
background. The Roboreptile has a PCB and layers of casings and mechanical be purely mechanical in this sense,
similar to the sedimentary layers that bits. In this sense, the Roboreptile is because all that would be required for
buried its prehistoric ancestors — in rather unfriendly to hackers. Were that activation would be to screw on the
other words, a multi-layer PCB. there are plenty of bits that determined end cap that would puncture the
The Roboreptile operates on six hackers could badge on that would cylinder seal on the pin. Then, all of the
AA batteries — nine volts. The pneu- only need six volts, but the limitation is gas would be exhausted at once, but
matic solenoids at our disposal were certainly disheartening. Another caveat we were pretty confident that would
intended for a 12 volt system, as was deserves to be mentioned here — the create the effect we were hoping for.
the radio control. We did test the Roboretile’s rambunctious nature After being frustrated by the
solenoids and the radio control at nine drains the batteries at an alarming rate, unfriendliness of the Roboreptile’s elec-
volts and both of the devices actually and after a few hours, the dino will tronics, we were certainly ready to try
worked. It looked like we were in the begin to slow down. Any hacked addi- the mechanical solution. After attach-
clear, but our initial test of the sole- tions would add even more of a power ing the firefighting apparatus to the
noids was not done under pressure. demand on the reptile’s batteries, so dinosaur’s back, we were ready to test.
When we tested the solenoids under hackers beware. But even at full power, Our first test was, well, quick. Once the
pressure using an air compressor, we with a maximum of six volts at our dis- cylinder was punctured, the C02 did
discovered that nine volts would not posal, it looked like our dreams of a indeed whoosh out in an instant, even
provide the requisite power. We solenoid controlled fire extinguisher creating a visible cloud. The problem
thought an easy solution would be to were going up in smoke. was that the mechanical nature of the
add two more AA batteries in series to execution did not lend itself well to
give us the last three volts we needed. Smoke and Mirrors being captured on film. We also only
We could also use some diodes in the had a limited number of cylinders, and
circuit to ensure that the rest of We were in a bit of a hard place we didn’t want slow shutters to foil our
the dino’s electronics would remain with the Roboreptile. Our solenoids quest for proof of hack. Thankfully,
unaffected by our thirst for power. and our receiver all depended on 12 digital cameras nowadays come with
SERVO 11.2006 17
TwinTweaks.qxd 10/3/2006 5:25 PM Page 18

Twin Tweaks ...


Recommended Websites lifelike with its reptilian prowl than the
Robosapien was with its lumbering
Such demands can only be
realistically made of a demographic
For more information on the gait. In this sense, we think it plays to more experienced with electronics than
Roboreptile, go to its target audience a lot more effective- the kids that will get the Roboreptile as
www.roboreptileonline.com ly. But what about the other possible a toy. Perhaps we’re being a bit
www.wowwee.com target audience — the tenacious tinker- quixotic, but what we might have liked
ers, eager to capitalize on the potential to see would have been a platform that
movie filming capability, and we were expandability of the reptile? was a bit more accessible to the
at least able to capture the Perhaps our greatest criticism of younger group, one that could have
Roboreptile’s best impression of the the Roboreptile is the disconnect initially appealed as a toy, but once
Big Bad Wolf on video. between the audience it targets as a opened up, could easily introduce even
toy and the audience it targets as novice tinkerers to simple electronics
Reverse Evolution an expandable platform. Surely the experimentation.
Roboreptile could be entertaining for Our investigation of the
So, what has been gained by the all ages, but the target demographic Roboreptile has led us to believe that
reverse evolution of the humanoid for the toy half of the dino is certainly WowWee made the decision to appeal
Robosapien to the reptilian of the younger set. As for the other to casual fun seekers and serious
Roboreptile? We think the most demographic, the Roboreptile is really electronics buffs separately, but this
apparent improvement is in the move- only suitable as an expandable should still be an effective strategy if
ment of the precocious dinosaur. The platform for those with some tinkering the success enjoyed by the Robosapien
Robosapien was impressive with its two knowledge under their belts. With no in both groups is any indication. At any
legged walking capability, but we think easy free ports to use, hackers must go rate, the overall intention behind
that the difficulty of achieving this to great lengths that including the Roboreptile seems to have been
motion is lost on many of the kids that soldering on their own pins to the “make an entertaining toy,” and
get the Robosapien simply as a toy. The board if they want to add any serious WowWee has certainly succeeded in
Roboreptile is fast, vocal, and more extra abilities to the Roboreptile. that department. SV

18 SERVO 11.2006
Full Page.qxd 10/4/2006 2:02 PM Page 19

SERVO 11.2006 19
MrRoboto.qxd 10/3/2006 5:33 PM Page 20

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 . I have been a subscriber since


the beginning and have built
several small robots, but don’t
recall ever seeing any info on a stall
sensor for robots. I note that the
though the power to the motor has
been turned on. Stalling a motor is the
worst-case situation for a motor, and will
result in permanent damage to the
motor if it is stalled for too long of a
current sensor are essentially the same
thing (unless the sensor uses some sort
of a mechanical or optical sensing
element that is monitoring the wheel’s
actual physical motion). Some sensors
Scribbler has one and wonder how it is period. How much time until failure are binary, i.e., they will output a high
implemented. occurs really depends on the motor and signal if the current draw is too high
— Ted Poulos the applied voltage. Also, overworking a (like the one in the Scribbler robot).
motor for a long period of time will Others are analog, and will output a

A . First off, let’s start with a little


background on what a stall sensor
is for those who don’t know. A
stall sensor is a sensor that monitors the
current draw from the motors of a robot
slowly overheat the motor, drain the
batteries faster, and overheat the motor
controller, which will eventually lead to
permanent damage to the motors and
motor controller. To protect these
voltage that is proportional to the cur-
rent going through the sensor/motor.
Since I personally don’t own a
Scribbler robot (www.scribbler.com), I
don’t have any actual hands-on experi-
so that the main microcontroller can components, you will want to make sure ence with the robot and can’t tell you
turn the motors off to ensure that they that the current draw isn’t too high for exactly how it works. So, I contacted
are not damaged if they become stalled, too long of a time period. Parallax (www.parallax.com) to get
or overheated. By definition, a stalled In order to monitor this, a current some specific information about how
motor is a motor that is not turning even sensor is needed. A stall sensor and a the sensor works, and they put me in

Figure 1. Simple stall sensor circuit.


+V +5V

R3

1K ohm
+V MOTOR
R1 LED
STALL D1
VREF
RSENSE RUNNING 2 6
_
VOLTAGE
5
LM386
3 SIGNAL OUT
+
RSENSE 4
SIGNAL OUT
R2

20 SERVO 11.2006
MrRoboto.qxd 10/3/2006 5:33 PM Page 21

contact with one of the members of


the robot’s design and development CARRIER WAVE
team at Element Products, Inc. (www.
elementinc.com). After a couple
discussions with them, it turns out that
SIGNAL TO BE
their stall sensor is a lot more compli- TRANSMITTED
cated than I originally thought it was.
In a nutshell, their stall sensor uses
a Sonix SN8P1602 (www.sonix.
com.tw) eight bit microcontroller
AMPLITUDE MODULATED
along with a 1.0 ohm resistor WAVE
connected to a comparator to estab-
lish a trip detection level referenced
to Vcc through a voltage divider.
Then, using some special algorithms Figure 2. AM radio transmission signals.
(written in assembly language),
calculations are made based on the resistor was not present. In essence, systems use radio frequency waves to
magnitude of the current draw from this will act like a voltage divider. transmit information through the air.
the motors. Then, comparing the pulse R1 and R2 are wired as a voltage The difference between the two is how
width of the measured current draw divider to establish a reference voltage. this radio frequency wave encodes the
with the PWM pulse that drives the This reference voltage is the trigger information being transmitted. Both
motors and correcting these calcula- point that tells you that the motor has systems transmit a basic constant
tions against the battery voltage, a stall stalled. These values are chosen based amplitude and constant frequency carri-
current trip signal is generated. on what the voltage across the RSENSE er wave that is at the characteristic fre-
As you can see from this descrip- resistor is when the motor is near the quency of the radio. For example, 27
tion, the stall sensor that the Scribbler stall condition. Usually R1 > R2. When MHz for most AM radios, 72 MHz for
robot uses is a fairly advanced circuit. the RSENSE voltage exceeds the aircraft using FM radios, and 75 MHz
For a commercial product, a stall sen- reference voltage, the LED will light for ground vehicles using FM radios.
sor should be fairly robust and be able indicating that the motor has stalled. AM radios use what is called an
to account for current draw variations The output voltage will then drop from Amplitude Modulation technique to
due to terrain variations (such as car- the five-volt state to a less-than-one-volt transmit information. Here, the ampli-
pet, hardwood floors, sand, etc.), hills, state. A microcontroller can be tude of the carrier wave is increased
sticks, potholes, and walls. In addition, attached to the output signal line to when information is being transmitted,
a good stall sensor needs to take into monitor the state of the motor. then drops back to normal when no
account the state of the battery. As the Hopefully, this will help point you information is being transmitted. To
battery drains, the available voltage to in the right direction of how basic stall illustrate this, the top of Figure 2 shows
the motors begins to drop. As the sensors work. If you want to know the a simple characteristic radio frequency
voltage drops, the amount of torque subtle details of how the stall sensor on being transmitted through the air. The
needed to stall a motor decreases. A the Scribbler robot works, you might amplitude and frequency is constant in
stall sensor that doesn’t take into want to buy one and take it apart. They this radio wave. The middle line shows a
account the voltage state of the batter- are fairly inexpensive, so it would be a square wave representing some data
ies may indicate that the motors are fun way to learn how they work and that needs to be transmitted. This infor-
still turning because the current draw is have a robot to play with. mation is simply transmitted by increas-
less than a preset threshold, when, in ing the amplitude of the carrier wave
fact, the motors are actually stalled due when the data is in a high state, and
to the lower applied voltage.
Figure 1 shows a schematic for a
simple stall sensor. RSENSE is the current-
sensing resistor. As a general rule, the
value of this resistor should be less than
Q . I am thinking about making a
radio-controlled robot. What’s
the difference between AM
and FM RC systems? Why does
everyone say an FM radio is better than
dropping back to normal when the data
is in a low state. Hence, amplitude mod-
ulation. This is illustrated with the AM
wave shown at the bottom of Figure 2.
FM radios work in much the same
1/10 the resistance of the motor. If the an AM radio? way. Instead of amplitude of the carrier
value is greater than this, then the resis- — Joanna Mills wave changing, the frequency is
tor will start slowing the motor speed. changed. To illustrate this (as in Figure
For example, if the RSENSE resistor had
the same resistance as the internal
resistance of the motor, then the
maximum speed of the motor will be
half the maximum speed if the RSENSE
A . Other than the electronics inside
the transmitter and receiver,
the main difference is in how
the commands are transmitted from
the transmitter to the receiver. Both
2), the top of Figure 3 shows a simple
characteristic radio frequency being
transmitted through the air, and the mid-
dle of the Figure shows a square wave
representing some data that is being
SERVO 11.2006 21
MrRoboto.qxd 10/3/2006 5:34 PM Page 22

the advanced FM radio systems that


CARRIER WAVE
use Pulse Code Modulation (PCM) to
transmit the data.
A PCM radio converts the pulse
width data into binary data, adds a
checksum value, and transmits a
TRANSMITTED square wave similar to what is shown
in Figure 3. The receiver takes the
binary data and compares it with the
checksum value, and if any radio
FREQUENCY MODULATED interference causes the data not to
WAVE
match up with the checksum value,
the data is ignored. This way, the
Figure 3. FM radio transmission signals. receiver won’t respond to bad data
like the other systems do. It is better
transmitted. What is different here, is third channel is transmitted, the signal for a robot not to respond to bad data
that when the data is in a high state, the goes low until a total time of 20 ms has than having it do unexpected things if
frequency of the carrier wave is elapsed, and the transmit cycle is it received a bad signal.
increased, and when the data is in a low repeated again. An FM system works
state, the frequency returns to its normal the same way except that the frequen-
characteristic frequency. Hence, frequen-
cy modulation, which is illustrated with
the FM wave at the bottom of Figure 3.
Both of these systems transmit the
servo position information the same
cy is changed instead of the amplitude.
When there is no source of radio
interference, both AM and FM systems
work quite well. However, since AM sys-
tems interpret data based on the ampli-
Q . How do you make a light
sensor work?

— Janet Kawalski

way. Instead of changing the magni-


tude of the amplitude in AM systems or
varying the frequency in FM systems to
be proportional to the desired position
of the servo, the duration of the ampli-
tude of the signal, the distance between
the transmitter and receiver, obstacles
between them, and electrical noise inter-
ference can alter the transmitted signal.
This will cause the receiver to respond to
a
A . Probably the easiest way to do
this is to use a Cadmium Sulfide
(CdS) cell, which is also known as
photoresistor or photocell.
Photoresistors are an optical version of
tude/frequency change determines the the signal differently than expected. a potentiometer. Instead of mechani-
position of the servo. This is known as FM systems are not immune to cally turning a knob to change the
Pulse Position Modulation, or PPM. electrical noise interference, but they resistance in a potentiometer, chang-
Figure 4 illustrates a simple three- are not as sensitive to electrical interfer- ing the light intensity changes the
channel AM transmitter (not drawn to ence as AM systems. When it comes to resistance in a photoresistor. The pho-
scale). The three channels are transmit- having a reliable radio communication tocell’s resistance is inversely propor-
ted sequentially. The pulse width for link between the transmitter and the tional to the light intensity, where the
each channel varies between 1.0 and robot, a FM radio system is more reli- resistance is at the maximum value in
2.0 ms, and there is about a 0.5 ms able than an AM radio system. When total darkness and rapidly drops down
delay between each channel. After the even more reliability is needed, look at to less than 50 ohms in direct sunlight.
Depending on which
Figure 4. Pulse position modulation of an AM radio transmission signal (PPM Signal). CdS cell part number
you have, the maxi-
mum resistance can
range from 100K to as
high as 20 megohms.
Photoresistors are
typically wired into a
voltage divider circuit
so that as the resist-
ance of the photocell
changes, the output
1.5 2.0 ms 1.0 1.3
voltage will change
0.5 0.5 SYNC TIME proportionally. Figure
5A shows a simple
20 ms schematic that illus-
CHANNEL CHANNEL CHANNEL CHANNEL
1 2 3 1 trates how the sensor
is wired. The value of
22 SERVO 11.2006
MrRoboto.qxd 10/3/2006 5:34 PM Page 23

resistor R1 is arbitrary since it depends +5V


+5V
on the resistance range of the CdS
cell, what is the typical variation of
the light intensity the sensor is
attempting to monitor, and what is
CdS Cell (PHOTOCELL) PHOTOCELL
the voltage range your electronics
can monitor. Generally, the best resis-
tor value will be one that gives the VOLTAGE OUT VOLTAGE OUT

greatest voltage swing for the normal


range of the light intensity changes R1 R2 10k ohm
that the photocell will be monitoring.
The easiest way to determine an
appropriate value for R1 is to use the
calibration circuit shown in Figure 5B.
With this circuit, the voltage is A) GENERAL PURPOSE CIRCUIT B) CALIBRATION CIRCUIT
inversely proportional to the light
intensity. In other words, the voltage Figure 5. Simple photocell wiring setup.
will decrease as the light intensity
increases. To use this circuit, lower the one volt. This brackets the resistor value the proper R1 resistance can be meas-
light intensity to its normal darkness, range for your setup. Then, repeat this ured, then the final circuit can be made.
and adjust the potentiometer until the process a few more times, but don’t These sensors are inexpensive and
voltage is within about half a volt from adjust the resistor as much each time. can detect a wide variation of light
the supply voltage. Then raise the light At some point, you will find a poten- changes, so using a lot of these sensors
intensity to its normal maximum value tiometer position that will give you the at one time will provide a lot of sensor
(sometimes this requires moving the biggest voltage swing to the different data on the various intensities of the
sensor to the light source). Adjust the lighting condition changes. Once this light, and be able to locate the bright-
potentiometer to some low setting, say, potentiometer position is found, then est and darkest areas. SV

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 11.2006 23
ProgrammableLogic.qxd 10/3/2006 4:52 PM Page 24

Programmable
✓ The goal
of this
bimonthly
column is to
provide a basic
understanding
of the various
Logic:
Counters
by Gerard Fonte

programmable his installment on programmable The simplest counter is a one-bit

logic techniques. T logic concerns counters. There


are different types of counters
that you can choose for your design.
counter, shown in Figure 1. It has two
states: low and high. As a counter,
these two states typically represent
Knowing the characteristics, strengths, zero and one, but this is arbitrary. Note
There are a lot and weaknesses of these counters is
important in using them properly.
that the input does not have to be a
nice, regular signal. This counter reacts
of powerful While this article is geared towards to the negative going edge of the input
programmable logic, many of the signal and ignores everything else
low-cost ideas are directly applicable to discrete (other counters may react to the posi-
components digital design. tive going edge). Every standard count-
er is sensitive to the edge of a signal
available today Counter Basics rather than to a steady-state logic level.
Note that the output is fed back
that are rarely A counter is basically a finite state into the input. Feedback of some sort
considered by machine. This is a complicated way of
saying that a counter has a memory of
is normally necessary for every type of
counter. This feedback determines the
hobbyists — and what has happened in the past and will maximum counting speed of the
act accordingly in the future. For counter. No digital switch can act
even some example, it knows that the last count instantaneously. Therefore, there will
engineers — was seven and the next count should be
eight. This is very different from an AND
be a small delay from when the input
edge is presented to the counter and
because of gate which only reacts to the values when it appears at the output. The
presented at its inputs at the moment. same is true for the inverter.
unfamiliarity. Additionally, there is
some small time
required for the flip-flip
You have to be to accept a change at
the Data input. This is
comfortable called “set-up time.”
with the idea Let’s suppose that
all of these times
and concepts of
FIGURE 1. The circuit for a
programmable simple one-bit counter. It
is sensitive to the clock
logic before you edge rather than to its
steady-state value. Also,
will be likely to the input signal does not
have to have evenly-
employ them. spaced edges. The feed-
back is an important con-
sideration for all counters.

24 SERVO 11.2006
ProgrammableLogic.qxd 10/3/2006 4:52 PM Page 25

e summed together equal 50 nS. This


means that the counter will not count
properly if two negative going edges
occur within 50 nS. This is another way
of saying that the maximum counting
and supply voltage. This is not useful.

Counter vs. Divider


Counting speed is usually meas-
er is synchronous or asynchronous is to
examine how the bits are clocked. If all
the bits are clocked with the same sig-
nal, then the counter is synchronous. If
different signals clock different bits,
speed is 20 MHz. This idea of feedback ured by the time it takes from applying then the counter is asynchronous.
delay is an important concept that will an input edge until all of the counter Since the outputs of an asynchro-
be revisited often. It is the main speed outputs are stable. So it’s important to nous counter change at slightly
limiting factor in counter design. note that while the multi-bit counter different times, serious glitches can be
Figure 2 shows three simple, one- above will operate properly at 20 MHz, created when trying to decode particu-
bit counters connected in series. This it can’t be read at that rate. This lar states. For example, suppose you
configuration is called an asynchronous defines the difference between a are decoding the zero-state (000) of a
ripple counter because the output from divider and a counter. A divider reduces three-bit counter like the one shown in
one one-bit counter ripples on down an input frequency by some factor. Figure 2. Presume that the counter is at
the line of counters. Note that the In most instances, the delay is not 001 and another clock is detected. The
output of the three counters together important. Counter ICs are often used low-order bit will change first, causing
creates the standard binary counting as dividers as well as counters. In fact, the output to go to 000 until the next
sequence. This is very useful. This also the circuits can be identical. flip-flip can respond. After a few
means that the maximum possible However, the counter function nanoseconds, the next bit will change
number of states is created with presents a value associated with the creating the proper value of 010.
this counter. This is also useful. (The number of input edges detected. A These few nanoseconds can cause a
maximum number of states is 2^N counter must be read whereas a devastating effect on your system by
where N is the number of bits used.) divider isn’t read. This reading of the making it think it’s at state 000 when it’s
It’s asynchronous because the out- counter value is why the outputs of the not. Additionally, finding this glitch of a
puts change at different times. There’s counter need to be stable. An unstable few nanoseconds is not always easy. In
a slight delay from the falling edge to value is not readable or useable. For short, be extremely careful when decod-
the output of “A.” Then, there’s anoth- the rest of this article, we will examine ing the output states of any type of
er delay for “B” and another for “C.” only counters. (There’s a future article asynchronous counter. They bite.
These delays may be short, but they are on dividers and timers.) There is an interesting property of
very troublesome. If you want to read counters that use a binary sequence. If
the counter, you will have to wait until Asynchronous vs. you invert the outputs, the counting
the count ripples all the way through Synchronous Counters sequence is reversed. That is, they
the last bit. For a counter of 20 bits, this
means perhaps 600 nS or a maximum As shown in Figure 2, an asynchro- FIGURE 2. Three simple counters are
counting frequency of 1.6 MHz. This nous counter’s bits change at slightly cascaded to create a three-bit ripple
counter. The timing diagram illustrates
is very different from the 20 MHz different times. A synchronous counter the binary pattern that is generated
counting rate above. Additionally, these changes all of its bits at the same time. which is a very useful feature. This is an
delays vary according to temperature A simple way of determining if a count- asynchronous counter because different
clock signals are used for different bits.

SERVO 11.2006 25
ProgrammableLogic.qxd 10/3/2006 4:52 PM Page 26

FIGURE 3. This is a four-bit synchronous counter (all is distinctly inferior to Figure 2.)
the bits are clocked with the same signal). This is An important point to note is that
still a ripple counter because AND-gate “C” must the signal needed to allow a flip-flop to
wait until all of the preceding gates and flip-flops
have settled before it can provide the proper signal toggle is the same as the “carry” signal
to the last flip-flop. Note that “toggle” flip-flips have in the standard binary counting
internal feedback that is not shown. sequence. For example, the third bit
changes on the count after 0011 (0011
count down rather than up. If both to 0100). Thus, Figure 3 is sometimes
the inverted outputs and non-inverted called a “ripple carry” counter.
outputs are used, the up/down count There is a partial solution to the rip-
relationships are locked as complimen- ple problem. This is the “Look Ahead”
tary values (always summing to all counter. Instead of waiting for the AND
ones). This feature can be very useful. gates and previous flip-flops to settle,
As noted previously, Figure 2 is an the idea is to predict when a flip-flop
asynchronous ripple counter. Figure 3 will change and anticipate it, or look
shows a synchronous ripple counter. ahead in the count. So, if the first two
Note that there is only a single clock bits are high, then on the next count,
signal going to all the flip-flips. (This the third flip-flop should change. This
toggle flip-flop will change state on the look-ahead method allows a full clock
falling clock edge only if the enable period for the counter to settle.
signal is high.) This means that there is Fundamentally, this involves decod-
a very small delay between when ing the previous state of the counter
the counter is clocked and when the (this was detailed in an earlier article).
outputs become stable. Additionally, The problem is that every preceding bit
this delay is virtually identical for each of the counter must be decoded in
bit. That is, all the bits change synchro- order to provide a proper signal to the
nously or at the same time. working bit. This is workable for a few
However, the maximum speed is bits. But when the counter is 20 or 30
not much better than Figure 2. This is bits long, this approach is usually not
because there is still a signal that has to practical. Most typically, long binary
ripple down through a number of counters are made up of a series of
flip-flops and gates. This is the enable look-ahead counters of eight bits or
signal to the last flip-flip. It must wait less. This is a compromise between
for every gate and flip-flip preceding it complexity and speed.
to become stable. This is evident
through the series-connected AND Johnson Counters
gates. So while this approach provides
an easy-to-read counter, it does little to A Johnson counter — also known as
improve the useable speed of the a ring counter — is a synchronous
counter. (Note as a divider, this design counter with a non-binary sequence. It’s
basically a shift register with feedback
TABLE 1. The counting sequence for a as shown in Figure 4. Johnson counters
four-bit Johnson counter. Only eight of have a lot of nice features. The first
the 16 possible states are used. Note feature has already been noted — it’s
that each output has the same pattern
but the pattern is delayed relative to synchronous. This is seen by the
other bits. This is a useful feature. common clock line. The second is that

COUNT OUTPUT A OUTPUT B OUTPUT C OUTPUT D


0 0 0 0 0
1 1 0 0 0
2 1 1 0 0
3 1 1 1 0
4 1 1 1 1
5 0 1 1 1
6 0 0 1 1
7 0 0 0 1
0 (INITIAL STATE) 0 0 0 0

26 SERVO 11.2006
ProgrammableLogic.qxd 10/3/2006 4:52 PM Page 27

FIGURE 4. A four-bit Johnson counter, or


ring counter, is synchronous, simple, and
it’s very fast. There is no ripple charac- depends upon the number of bits in fast. It doesn’t count in a binary pattern
teristic. The single feedback inverter is the counter and which output-bit is (see Table 1) and uses only a fraction of
actually very similar to a one-bit counter used. A three-bit Johnson counter can all the possible binary states. It is very
useful for controlling state machines
(Figure 1). The counting sequence automatically create three-phase and/or motors.
(shown in Table 1) only changes one bit signals similar to a three-phase power
at a time. This is useful because fewer line. Multiple-pole motor signals can be refuses to function. In Figure 5, the
transitions means less power and less generated very easily. And the motor stuck state is all zeros. Should this state
power-supply noise generation. This speed can be controlled by simply be encountered, the counter will main-
sequence also allows a simple two-input changing the input frequency. tain the all zero state forever. Note if an
gate to decode any particular state, XNOR gate is used instead of the XOR
regardless of the length of the counter. The Linear Feedback gate in Figure 5, the stuck state is all
The bad news is that it only counts Shift Register ones. In normal operation, the LSFR
a fraction of all possible states. automatically skips the stuck state.
Specifically, it can only count to 2N states The Linear Feedback Shift Register Figure 5 shows a single gate feed-
(where N is the number of bits). So it you (LFSR) is a poorly known type of count- back. For longer counters, a number of
want to count up to 1,000, you will need er. It has many good qualities and one bits must be XORed (or XNORed)
500 flip-flops. Clearly, this is not practical large bad feature. As shown in Figure together. But this number is small. For
for large counters. Additionally, if some- 5, the LSFR appears to be very similar counter lengths up to 40 bits: 23 use
thing should happen and a flip-flop to the Johnson counter. Like a Johnson two bits for feedback (like Figure 5), 14
change inappropriately (due to noise, for counter, it’s extremely fast with a sim- require four bits, and only one employs
example), that change can be propagat- ple feedback path (no ripple), it’s syn- six bits (that’s the 37-bit counter).
ed forever. It just keeps on going around chronous, it can be arbitrarily long with Unfortunately, there is no easy way to
and around and around ... no loss in performance, and it changes identify exactly what bits should be
However, Johnson counters are only one bit at a time. Unlike a Johnson used for the feedback. If the wrong
extremely useful for controlling state counter, it produces nearly a full com- ones are chosen, the counter may not
machines or sequential operations. plement of binary states. Specifically, it
Additionally, their outputs show a can produce (2^N)-1 counts (where N FIGURE 5. The four-bit LSFR counter
constant relationship to each other. is the number of bits). This is exactly is synchronous, simple, and fast.
This relationship can be defined as a one less than the complete binary set. It incorporates all the binary states
except one “stuck state.” In this case, the
phase angle since each output is Thus, an eight-bit LSFR counter has 255 stuck state is 0000. For larger counters,
actually the same but delayed by some states rather than the 256 states for a its operation is not obvious and the
amount (relative to each other). binary counter. The one state missing is feedback choices are not intuitive. It
The amount of phase delay the “stuck state” where the counter counts in a pseudo-random pattern.
However, this can be very useful for
encryption and decryption.

SERVO 11.2006 27
ProgrammableLogic.qxd 10/5/2006 8:07 AM Page 28

FEEDBACK FEEDBACK TABLE 2. The feedback bits for numbers are useful. This is seen in data
SIZE (N) SIZE (N)
BITS BITS various-length LSFR counters. encryption and decryption, for example.
3 3, 2 22 22, 21 This assumes that an XNOR You can buy all sorts of binary
feedback gate is used. Also, the
4 4, 3 23 23, 18 bit number starts at 1 (rather counters. There are a number of
5 5, 3 24 24, 23, 22, 17
than 0). Johnson counters available. However,
there are no LSFR counters that I am
6 6, 5 25 25, 22
sequences are completely aware of. This doesn’t mean that they
7 7, 6 26 26, 6, 2, 1
different. Table 2 shows the aren’t important or useful. The LSFR
8 8, 6, 5, 4 27 27, 5, 2, 1 XNOR feedback bits for has unique properties and it’s easy to
9 9, 5 28 28, 25 counters of three bits to 40 implement (even in software ... how
10 10, 7 29 29, 27 bits (from the Xilinx 1994 about a white noise generator for your
11 11, 9 30 30, 6, 4, 1 data book). Additional LSFR micro?). While the LSFR is uncommon,
references are provided at understanding it and knowing when to
12 12, 6, 4, 1 31 31, 28
the end of the article. apply it is useful.
13 13, 4, 3, 1 32 32, 22, 2, 1 The bad feature is that
14 14, 5, 3, 1 33 33, 20 the counter has a non-binary Conclusion
15 15, 14 34 34, 27, 2, 1 counting sequence. Worse,
16 16, 15, 13, 4 35 35, 33 the sequence can appear to be This has been a brief discussion on
17 17, 14 36 36, 25 completely random and is not various counter types. Many details and
at all predictable. Different topics have been omitted because of
18 18, 11 37 37, 5, 4, 3, 2, 1
feedback choices yield differ- space. Additionally, there are many
19 19, 6, 2, 1 38 38, 6, 5, 1 ent counting patterns. XOR methods to deal with the problems of
20 20, 17 39 39, 35 and XNOR feedback also various counters that are not discussed.
21 21, 19 40 40, 5, 4, 3 results in different counting Nevertheless, counters are required in
sequences. Nor is there any the vast majority of digital designs. Being
produce the full complement of states. obvious relationship between the count- able to choose a proper counter can be
Sometimes there is more than one ing patterns of short LSFR counters ver- critical in making a successful design.
set that will produce the maximum sus long LSFR counters. However, there Conversely, using the wrong counter can
number of states. But the counting are many applications where random create all sorts of problems. SV

D e s k to p C N C S o lu tio n s
PROTOTYPE
D e s k C N C
CIRCUIT BOARDS
im s r v .c o m
v e c to r
3 D C A D /C A M
U two 2.25" sq.
S
S e r v o 2-layer boards

C N C R o u te r Shipped NEXT BUSINESS DAY


$ 1 9 9 5 if data is received by
1:00 pm
EASTERN

I M S e r v ic e
P .O . B o x 1 4 2 , N e w H u d s o n , M I 4 8 1 6 5
www.apcircuits.com
V o ic e : 8 8 8 -4 5 1 -1 6 7 0
o r : 2 4 8 -4 8 6 -3 6 0 0
AP Circuits
(403) 250-3406
staff@apcircuits.com

28 SERVO 11.2006
Full Page.qxd 10/4/2006 2:09 PM Page 29
Nov06NewProd.qxd 10/5/2006 2:34 PM Page 30

New Products

N E W P RO D U C T S
capability to rotating shafts up
MECHANICS to 10” diameter are available from
Stafford Manufacturing Corp. of
Wilmington, MA.
New, Combined Radial and Axial Stafford custom rotary encoder
Bearings for High Loads collars feature steel targets on the
face or O.D. to provide pickup signals

M ove over 41,000 lbs smoothly


with MAX RAIL Combined
Bearings from LM76. A complete linear
for variable reluctance sensors and
can add speed sensing capability to
any rotating shaft. Offered in custom sizes to fit shafts
bearing system including integrated two from 1/2” up to 10” O.D., they can be made in one- or
axis bearings, bearing flange plates, rails, two-piece clamp-type styles and incorporate a wide range
and rail clamps in 11 sizes is available. MAX RAIL combined of target patterns.
linear bearings are ideal for industrial equipment (assembly Suitable for use with all popular sensors, Stafford cus-
lines, overhead cranes, etc.), recreational vehicles (room and tom rotary encoder collars are machined from aluminum
generator slideouts), OEM machinery (fork lifts and palletiz- and can incorporate round, square, or threaded bores and
ers), medical equipment (MRIs, CTs, and X-ray gantries), food, can be anodized to match existing equipment. Designed
beverage, manufacturing, and mining applications. to operate in the presence of oils and coolants, they can
The MAX RAIL combined bearings are available in 11 also be supplied with sensor mounting assemblies to
sizes beginning with the MX-53 bearing which has a match application requirements.
maximum dynamic load rating of 5395 lbf radial and Stafford custom rotary encoder collars are priced
2,248 lbf axial to the MX-63 bearings with a maximum according to configuration and quantity. A standard
dynamic load rating of 41,140 lbf radial and 18,434 lbf encoder product line featuring 11 common sizes is also
axial. Bearing rails are available in lengths to 19.7 feet. offered. Literature and pricing are available upon request.
Adjustable rail mounts and bearing flanges are available For further information, please contact:
from LM76 to simplify integration into new and existing PO Box 277
applications. Custom machining of bearing rails, clamps, Stafford North Reading, MA 01864-0277
Manufacturing Tel: 800•695•5551 Fax: 978•657•4731
bearing flanges, and welding of bearings to flanges can be Corporation Email: jswiezynski@staffordmfg.com
specified, also eccentric, adjustable bearings are available. Website: www.staffordmfg.com
The bearings are protected from contaminates by a
steel labyrinth and rubber seals, and are supplied
lubricated with grade 3 grease. All but the two smallest
bearings have Zerk fittings for easy relubrication. The wide SOFTWARE
operating temperature range of 14°F through 176°F
allows for use in the extreme conditions of shipyards, steel Run Many GPS Applications
and paper mills, and mines.
For further information, please contact:
Using One GPS
LM76
(Mike Quinn)
140 Industrial Dr.
E. Longmeadow, MA 01028
Tel: 413•525•4166 Fax: 413•525•3735
F ranson Technology has released Franson GpsGate 2.0,
a Windows and PocketPC utility that lets you run
several GPS applications using a single GPS. New features
Email: mquinn@lm76.com
Website: www.lm76.com in GpsGate 2.0 are the ability to share a GPS over
ActiveSync or Bluetooth. There is support for Garmin
software and GPS receivers. GpsGate 2.0 will let you
SENSORS connect Google Earth to a normal GPS, something that
otherwise isn’t possible.
Serious GPS users often have several applications
Rotary Encoder Collars that they want to run simultaneously. It’s usually
necessary to shut down one application before beginning

C ustom manufactured rotary encoder collars with


targets on the face or O.D. for adding speed sensing
another. With Franson GpsGate, you can share one
GPS among several applications. Simply create additional

30 SERVO 11.2006
Nov06NewProd.qxd 10/5/2006 2:35 PM Page 31

Extreme Robot Speed Control!


virtual serial ports, and any GPS applications can connect 6 14V - 50V
6 Dual 80A H-bridges 150A+ Peak!
to them. 6 Adjustable current limiting
With Franson GpsGate, power boaters and sailors can 6 Adjustable speed slew rate
6 Temperature limiting
access their navigation systems and, at the same time, use 6 Three R/C inputs - serial option
6 Many mixing options
other GPS software. Car drivers will benefit by being able 6 Flipped Bot Input
6 Rugged extruded Aluminum case
to switch between their route-planning software and 6 4.25" x 3.23" x 1.1” - Only 365g
driver’s journal. Amateur pilots can simultaneously access $399
their flight plans and weather data.
Franson GpsGate has a built-in simulator. Define a set
of waypoints and Franson GpsGate will simulate a GPS
traveling between those waypoints.
Franson GpsGate also has a built-in logger. It’s easy to $79.99
$29.99 $119.99
log and play back real-time GPS data. You can save real- Scorpion Mini Scorpion HX
time scenarios, and use them for analysis, demonstration, 6 2.5A (6A pk) H-bridge 6 Dual 2.5A (6A pk) H-bridges
Scorpion XL
6 6 Dual 13A H-bridge 45A Peak!
5V - 18V 6 Plus 12A fwd-only channel
or software development back in the office. 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”
Control like a servo 6 1.6“ x 1.6” x 0.5”
In addition to sharing, simulating, and logging GPS 6 Optional screw term. 6 Four R/C inputs 6 Three R/C inputs - serial option
6 6 Mixing, Flipped Bot Input
functions, Franson GpsGate can be used to perform a Only 5.5g 6 Mixing, Flipped Bot Input
6 Only 28g
6 Only 22g
number of specialized GPS-related functions. For example,
many NMEA GPS applications cannot communicate with OSMC - Monster Power H-bridge
6 14V - 50V and 160A over 400A peak!
the Garmin GPS 18 because it is a USB device. Franson $199 6 3.15“ x 4.5” x 1.5”
6 Control with Stamp or other Micro
GpsGate lets you connect your USB hardware and GPS 6 3 wire interface
software. Franson GpsGate can be used by people on 6 R/C interface available

a LAN, with several mobile Windows computers and a MADE IN


All Robot Power electronic
single GPS device.
products are proudly
Every month, more and more GPS applications are THE USA

being released for both the Windows and PocketPC


platforms. With Franson GpsGate, you can assign each Introducing Dalf
application to a virtual serial port and run them simultane- Advanced dual motor
ously, using a single GPS. drive with closed-loop
Franson GpsGate Standard for Windows or for control functions
PocketPC costs $29.95(US) for a single-user license.
Franson GpsGate Express, a light version of Franson Only $250
GpsGate Standard, is available for $9.95(US) for either Embedded Electronics, LLC along with our exclusive reseller Robot Power are
platform. You can download free 14-day trial versions. proud to introduce a feature rich, customizable Dual Motor Controller: Dalf.
An OEM version of Franson GpsGate Express is 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
available. The OEM kit allows software and hardware full-closed-loop motion control. Just take a look at these features!
developers to make their offerings more valuable by Motion Control Functions Application Support
Drives all sign-magnitude brushed DC motor 6 PIC18F6722 CPU running at 40MHz
letting other GPS applications coexist with mapping drives such as the OSMC 6 60k+ FLASH available
software. Developers can extend GpsGate using the new 6 Serial bootloader, no programmer needed
Closed-Loop Features 6 Serial command/monitor in both terminal
GpsGate SDK. 6 Closed-loop control of two motors and high-speed binary API mode
6 Full PID position loop 6 I2C slave command interface
For further information, please contact: 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
Arkovagen 45 6 Non-volatile storage of PID parameters provided free
Franson Johanneshov 121 55 6 Step-Response PID motor tuning support 6 Linkable device driver function library
Technology Stockholm
6 Quadrature encoder support for each motor provided for building custom applications
6 Terminal mode for interactive tuning and 6 Extensive documentation with Owner’s
SWEDEN debugging Manual and Getting Started Manual
Tel: +46 8 612 50 70 6 Windows GUI under development provided on CD
Email: support@franson.com 6 Custom code development services
Website: http://franson.com/gpsgate Open-Loop Features available (contact EE)
6 Two R/C command modes (3 input
channels)
6 Two open-loop pot control modes
I/O Connections

Show Us What You’ve Got! 6 Interactive terminal control of motors 6 Two RS-232 serial ports
6 Adjustable slew rate 6 36 GPIO
6 I2C master and slave ports (2 ports)
6 Two motor drive outputs
Is your product innovative, less expensive, more functional, 6 Two quadrature encoder inputs
For more Dalf information visit 6 Two Hall-effect current sensors inputs
or just plain cool? If you have a new product that you www.embeddedelectronics.net 6 Six 10-bit A/D
would like us to run in our New Products section, please 6 Two channels of cooling fan control
6 Standard ICD connector
email a short description (300-500 words) and a photo of
your product to: Also from Robot Power
Kits, parts, schematics
newproducts@servomagazine.com Planetary gearmotors
www.robotpower.com
Phone: 253-843-2504  sales@robotpower.com

SERVO 11.2006 31
CombatZone.qxd 10/5/2006 7:31 AM Page 32

E d iti on
e ld i n g
i a l W
Spec
Featured This Month
32 What Happened to the
Combat Zone?

33 Event Results
33 Robot Battles at Dragon*Con
2006 — Results by Charles Guan WHAT HAPPENED
34 Welding for Real Beginners
by Bill Bottenberg TO THE C MBAT
36 Welding Titanium
by Paul Reese and Robert Wilburn ZONE?
39 Welding Tools and
Accessories by Jeff Vasquez C limb back down off the ceiling, faithful readers. Next month, the
usual format for Combat Zone will return. And, rest assured, this
isn’t just a case of “change for change’s sake.” For the September
Product Reviews 2006 issue, I put out a call to the combat community for an article on
welding safety, which Steven Nelson quickly produced. However, for the
39 Lincoln SP-125 Plus MIG first time since SERVO started Combat Zone, we were deluged with
Welder by Jeff Vasquez requests for articles. All on welding. We reserved the November
Combat Zone (just in time for Christmas lists) for a special edition on
40 Lincoln Precision TIG-185 welding. Welding is a basic shop skill for building bots, like soldering
Welder by Jeff Vasquez and using machine tools. The community appears to be hungry for
advice on techniques and equipment. So we put out a more general call
for articles.
Some of the best welders in our game responded with a range of
articles, for welders ranging from complete newbies (like yours truly) to
veterans wanting to expand their skills. Since my own experience was
gained on a farm, using a rusty arc welder and clothes hanger wire,
gobbing and dripping wads onto even rustier equipment, you’ll notice I
didn’t contribute anything to this issue!
Builders and lovers of robot combat, the Combat Zone is your
resource. If there are other topics you’d like to see discussed, please
email them to SERVO. We’ll try to accommodate any reasonable
requests and, let’s face it, the unreasonable ones are always good for
a laugh! (Not that we would, of course. Well, not much anyway. We
are human, evidence to the contrary not withstanding.)

— Kevin Berry

32 SERVO 11.2006
CombatZone.qxd 10/5/2006 7:31 AM Page 33

EVENTS
RESULTS — August 14 - September 11

S aturday Night
Fights 2.1 was
held in Pasadena,
spinner, Diginati; 3rd: “TRIPolar,” full
body spinner, Brain Damage. ● Antweight — Dark Pounder,
spinner, Dark Forces.
CA on August
26th. All bots
were antweights.
H ouse of
S l a c ke r s
was held in
● Beetleweight — DM-E, spinner,
Discover Magnetics.
Results are as Glen Rock, NJ on September 2nd.
follows: Twenty-two bots participated. ● Hobbyweight — Scoopula, wedge,
Results are as follows: Slaughterhouse.
● 1st: “Unblinking Eye,” spinner,
Hammer Bros; 2nd: “Corrosive,” ● Antweights — 1st: “Sweet ● Lightweight — Spinner Bait Jr,
spinner, Think Tank; 3rd: “VDD-kit,” Revenge,” spinner, Slackers United; wedge, Teamxd.
spinner, Think Tank. 2nd: “Yelo,” drum, Pinq; 3rd: “Box
#5,” spinner, Danger Zone. ● Middleweight — Sub Zero, flipper,
Hammertime. SV
P ound of Pain
11, House of
Pop was held in
● Beetleweights — 1st: ”Primus,”
beater, Danger Zone; 2nd: ”D12,”
Nashua, NH on wedge, Headbangers; 3rd: ”Dancer,”
August 19th. Twenty- drum, Crazy Dad.
one bots were
registered. Results are as follows: ● Hobbyweights — 1st: “Rants Pants,” In perhaps the most
wedge, Not-So-Boring Robots; 2nd: unusual matchup in
recent Robot Combat
● Beetleweights — 1st: “Ripblade,” “George,” wedge, George Hotz; 3rd: history, a biplane
flown by Kyle Rickaway
spinner, Sawzall; 2nd: “Pressure “Ray,” wedge, Ray Barsa. fights a mock battle LW
Point,” claw, JandA; 3rd: “Scrambled flamethrower Texas Heat.

Eggs Revenge,” spinner, Timber


Wolf. T he Texas Cup
was held on
September 9 in
Destruction at Robot Battles: Nuclear
Kitten sends Lollerskates back to the pits
as a “robot kit.”

● Hobbyweights — 1st: “Darkblade,” Carrolton, TX.


spinner, Sawzall; 2nd: “LTFD,” Forty-five bots
wedge, Red Dawn; 3rd: “Acute Pain,” were registered. Results are as
wedge, Ministry of Bad Ideas. follows (only first place listed):

● Featherweights — 1st: “DE Ripper,” ● UK Ant — DM-150, spinner,


drum, JandA; 2nd: “Oni Goroshi,” Discover Magnetics.

Robot Battles at Dragon*Con 2006 — Results


● by Charles Guan

Over Labor Day


weekend, the
place to party if
more show than hardcore tourna-
ment, and the event is a blend of
arena full-weapon destruction and
Hobbyweight Test Bot 4 goes on a short flight
after contacting the flywheel-driven flipper of
Omegaforce 2.0.

you’re a botter is an elevated-stage sumo contest


at the Robot where innovation and driving skill
Battles event, dominate. This year’s results are as
held annually follows:
alongside the Dragon*Con sci-fi and
comic convention in downtown ● Antweights — 1st: “Lab Rat,”
Atlanta, GA. Here, the competition is pneumatic flipper, Lab Rat Revolt;

SERVO 11.2006 33
CombatZone.qxd 10/5/2006 7:32 AM Page 34

2nd: “Emoticon,” lifter, Hockeyrunner 2nd: “Dagger” articulated pusher, ● Featherweight Rumble —
Robotics. Blade Robotics. “Stewiebot,” hammer, Hockeyrunner
Robotics.
● Beetleweights — 1st: “Chisel,” ● Featherweights — 1st: “iRobob,”
pusher, Blade Robotics; 2nd: pusher, Wave Racing; 2nd: “Scimitar,” Mark your calendars for next
“Nuclear Kitten.” vertical disc, Team flywheel flipper, Blade Robotics. year, because the Robot Battles
Test Bot. event is now headed for its 18th
● Hobbyweight Rumble — year in 2007 and is only getting
● Hobbyweights — 1st: “Probulator,” “Omegaforce 2,” flywheel flipper, bigger. Check out the website at
pneumatic ram, Evil Robots, Inc.; Dale’s Homemade Robots. www.robotbattles.com. SV

WELDING F R REAL
BEGINNERS
● by Bill Bottenberg

W hen I first started building


robots, the only tools I owned
were basic hand tools. At some
220V. The switch incorporates a
locking feature such that it cannot be
switched to a different voltage. The
as discussed later.

Safety Gear
point, it became apparent that large knob in the center allows you to
welding would be a handy capabili- adjust the output current. At 110V, The Hobby Arc comes with a
ty for my bot building efforts. The max is 70A and that’s what mine is handheld welding shield. Save
following gives my experiences in set to most of the time. The indicator yourself the frustration and get a real
learning to weld as a low budget, window on the top gives the welding welding helmet. As you can see in
low tech garage (bedroom actually) rod diameter based on output Figure 1, this is a bottom of the line
builder. current setting. Again, at 70A, the HF auto-darkening solar powered
It’s been a couple of years and machine says to use a 5/64 inch rod welding helmet. Mine still works fine.
my welding equipment hasn’t really and that’s what I use. At 220V, you It’s showing some wear and tear
changed — just added a few things can use up to a 3/32 inch rod. but considering the abuse it takes,
along the way. This article includes Arc welders of this type may also nothing that wouldn’t be expected.
discussion of the Harbor Freight (HF) be referred to as stick welders and The solar power is used to lighten the
Hobby Arc 110 welder, HF auto- buzz boxes. mask so if it stays dark after welding,
darkening helmet, other related try wiping off the faceplate. Looking
safety gear, and consumables. Setup into a bright light can also cause it to
darken (makes sense). Also in Figure
Description Circuit breakers and extension 1, you can see some HF welding
cords can be an issue with this gloves. I wear cotton clothing to
Figure 1 shows a picture of the welder. I had my electrician install a avoid melting anything into my skin.
Hobby Arc 110. The selector switch in dedicated 20A circuit because 15A My apron’s got a couple of small
the upper left corner allows you to breakers will open under extended holes but nothing has gotten
select input voltages of 110V or use and any significant length of through to me yet.
extension cord can make it difficult
FIGURE 1. Hobby Arc to strike an arc (tough enough for a
110 and other welding Other Helpful Items
equipment. beginner). Other things that can
help make your job easier are a A slag chipping hammer is
bucket of water for cooling hot handy and a serviceable one comes
work pieces (put it outside the with the Hobby Arc. It’s also a
reach of your welder electrodes), a combination steel wire brush. Real
chemical fire extinguisher (welding welders tell me an air tight storage
sparks seem to have an incredible container for storing welding rods is
attraction to flammable materials), a good idea. A set of welding Vice
and other personal safety gear Grips (or equivalent) is pretty much a

34 SERVO 11.2006
CombatZone.qxd 10/5/2006 7:32 AM Page 35

necessity. Heavy duty side cutters are FIGURE 2. Rough weld


showing flux and spatter.
good for snipping off bad pieces of
welding rod.

Operation
Cool. You’ve got your welder,
your flaming paint job welding mask,
a nice place to weld, and you’re
FIGURE 3. Weld after chipping
ready to try things out. Your Hobby hammer and wire brush.
Arc has a ground clamp and an
electrode holder. Welding doesn’t container we mentioned earlier?). Many will tell you, and rightly so,
work without a complete circuit, so In Figures 2 and 3, note the that for proper welding you need to
clamp your ground clamp to your slightly beveled edges in the joint. spend some money on a bigger MIG
work piece, preferably in an out-of- This helps get penetration through wire feed welder. I have neither the
the-way position. Put a welding rod the work piece. In my humble money, space, or power capability in
in your holder (bare wire end goes in opinion, it also helps to keep me on my garage to handle one of these. I
the holder). Check that your work track when welding. It’s not real love building robots but sometimes
area is clear of flammable objects. obvious in these pictures, but after compromises have to be made. I
With the electrode holder in your grinding the bevels, I used my wire think the Hobby Arc 110 is well
hand, turn on the welder. Use a fair- brush to clean all the scale and rust worth the money invested. It’s saved
ly shallow angle and drag the tip of from the work area. Shiny metal is me many times the original cost in
your electrode across the work piece best and easiest to weld. hiring a welding shop for small
to start an arc. If you were successful The example in Figure 3 is a projects. For big stuff, I use the
in “striking” an arc, you’re now classic butt joint. Two pieces of metal Hobby Arc to tack things together
welding. Try to keep the tip of the butted together at the edges and and then take the job to a proper
electrode submerged in the molten welded. You will commonly find welding shop for the finish welds.
pool and use small circular motions to yourself welding two pieces at right As far as welders go, this unit is
move across your work piece. You’ll angles to each other. This is a little bit small and lightweight. I take it to
want to move the rod to a more verti- trickier but not too bad. You need to all events now because it’s no real
cal position when actually welding. add a little more of a sweeping trouble to drag around and finding
If everything went according to motion to get better penetration of adequate power is usually not an
plan, you should now have some- the vertical piece. As with most issue. At our last event, we used it to
thing that looks like Figure 2. The things, it’s always good to practice a attach some makeshift wedge skirts
black crud is the slag from the bit on some scrap material to see to a front end reinforcement angle
welding rod flux. Use your chipping how things are going to go. Probably (darned spinner still got a wheel).
hammer to knock that off and with a welding thin material to thicker Broken off screw? Just put a spot
bit of wire brush work, you should material is most difficult. This will weld on it. You can grind it off the
have a product similar to that shown take some practice. Don’t think that’s weld almost as fast as removing a
in Figure 3. Even more cool, you just specific to stick welding screw. Once your welder becomes a
welded two pieces of steel together! There are many kinds of welding familiar tool, I’m sure you’ll find
There’s probably a good chance rods. If you’re using a Hobby Arc, use many ways to make use of it.
all did not go well the first time. If the amp guide to get the right diam-
you welded the welding rod to your eter rod. I use a 6013 rod, but 6011 Cost
work piece, use your side cutters to will work fine, if not better. There are
cut it off and start over. The flux is other options. The folks at your local So what’s this all going to cost?
brittle so you need to be careful not welding supply can probably give you Using current prices from the Harbor
to knock it all off when you’re cutting some idea of the best material for Freight website (www.harbor
the rod. In my first attempts, I man- your welder and for the job you need freight.com), the Hobby Arc 110 is
aged to create lots of sparks but not to do. The 6013 was recommended going for $129.99 (mine cost $99.99
much actual welding. Keep trying. It because of the relatively thin gauge on sale). A solar-powered auto-
doesn’t take long to get the hang of (0.065) steel I was planning to weld. darkening mask is $69.99 (on sale at
striking an arc reliably. I’m told that As with many other materials, if the time of this writing for $49.99).
difficulty striking an arc can some- you’re planning on hardening the Welding rods can usually be
times be attributed to damp welding work piece, weld it first and harden purchased by the pound at a local
rods (remember that watertight it later. welding shop. I buy a good handful

SERVO 11.2006 35
CombatZone.qxd 10/5/2006 7:32 AM Page 36

which is about five pounds at $2-$3 $210 at Harbor Freight as an initial are considering this welder because
a pound. McMaster Carr (www.mc equipment investment. Another $10 of cost, go ahead and get it. It’s
master.com) also sells welding rods for welding rods (a few come simple, it’s cheap, and it works. You
if you do any bot business with them. with the welder but not enough to might need a little more time to
Harbor Freight welding gloves are actually accomplish anything) and develop the necessary skills, but
currently $9.99 and perfectly use- you’re good to go! if I can do it, anybody can. Let the
able. That adds up to approximately For you beginning builders who welding begin! SV

WELDING TITANIUM
● by Paul Reese and Robert Wilburn

Titanium can be successfully performed at added to the puddle and is generally


home with the proper equipment a similar composition to the parent
The use of titanium in today’s and techniques. It can be cheaper in metal. Techniques for TIG welding
combat robots is more of a rule than the long run than outsourcing the titanium differ from those of steel
an exception. While there are still job and nothing can replace the primarily in the shielding gas and
excellent examples of winning robots convenience of being able to weld cleanliness requirements.
that do not employ titanium compo- components “on-the-fly” whenever
nents, the vast majority of builders the necessity arises. Shielding Gas
have come to realize the significant
advantages this metal offers. It The TIG Process When TIG welding steel or
exhibits high strength with a density aluminum, the gas supplied by the
just over one-half that of steel. Still, TIG — or Tungsten Inert Gas — is torch provides adequate protection
fabrication techniques such as weld- also called Gas Tungsten Arc from atmospheric contamination. A
ing and machining often present Welding (GTAW) and is sometimes typical flow rate for 1/4” steel might
challenges to teams considering its referred to as Heliarc. It is the most be 13 cubic feet per hour (CFH or
use. Frequently, the simplest solution prevalent process for permanently ft3/hr), whereas titanium will require
is to farm this work out to a machine joining titanium. A torch with a tung- upwards of 25 CFH or more. Hot tita-
shop with an established reputation sten electrode is connected to a nium has an affinity for gases such as
in working with titanium. Team power source and shielding-gas sup- oxygen, nitrogen, and hydrogen and
Whyachi Robotics in Dorchester, WI ply, usually argon. The material to be will readily absorb these gases from
is an excellent example of such a welded, or work, is grounded to the the atmosphere unless precautions
resource. power source. An arc is initiated are taken. This is true not only for the
However, building a combat between the tungsten and the work, molten puddle, but for any part of
robot at home and performing most, providing sufficient heat to melt the the material above 900°F. Impurities
if not all, of the work in the garage work material. The shielding gas caused by these gases will result in
still holds a certain fascination to flows from the torch, around the embrittlement and the weld will be
many people and speaks to the roots tungsten, and bathes the molten prone to cracking. The combat arena
of this sport. Many teams routinely puddle in a protective blanket is no place to discover a brittle
weld steel and aluminum using both of inert gas which prevents contami- weld that was compromised due to
the MIG and TIG process. Welding nation from the atmosphere. insufficient shielding.
titanium is another operation that Additional filler material can then be For the ultimate in protection,

Argon bottle with “tee” and dual regulators. Torch with 3/32” tungsten, large Welds in a titanium attachment for 60 lb Ground
gas lens, and #12 ceramic cup. Zero made from 1/4” 6AL-4V alloy.

36 SERVO 11.2006
CombatZone.qxd 10/5/2006 7:33 AM Page 37

Titanium tooth bolted and clamped in One of Ground Zero’s completed Variety of interchangeable titanium teeth for
preparation for welding. titanium teeth with S7 steel cutters. Ground Zero (60 lbs) and KillJoy (120 lbs).

inert gas welding chambers are employed. As its name implies, this initiating the arc to rid the lines of any
sometimes utilized where the entire device attaches to the torch and trails atmosphere. An argon blanket
project is contained in a rigid box or behind the puddle for several inches should be covering the work before
flexible “tent” which is filled with as you weld. A back-up gas supply is welding begins. Many welders have
argon. Although effective, they can connected to the trailing shield, pre-flow and post-flow settings that
be somewhat cumbersome and flooding the heat-affected-zone with can automatically start argon flow to
are usually unnecessary. Sufficient argon until the material is no longer the torch prior to arc start and contin-
shielding can be provided by more susceptible to the absorption of ue flowing gas for a set period after
conventional means. atmospheric gases. The argon flow the arc is extinguished. Post-flow
For example, you should equip rate to the trailing shield depends on should be no less than 10 seconds to
your torch with the largest possible many factors, but it is usually signifi- protect the hot titanium. The auxiliary
cup size (#12 = 12/16 = 3/4”) to cantly higher than that of the torch; gas sources must be controlled
allow the gas the widest possible 40+ CFH is not uncommon. manually. Adequate ventilation is
area of coverage around the puddle. Trailing shields are commercially important for safety but you should
A gas lens can provide for a less available, but they can also be fabri- avoid welding where drafts are
turbulent flow and reduce the cated from aluminum or copper. present, if possible. This includes
chance of atmosphere mixing with These materials are easy to form and outdoors or in your garage with the
the argon. Keep the tungsten close withstand the heat generated by the door up. It isn’t worth risking an inop-
to the puddle because a long arc welding process. A short section of 2” portune breeze at the wrong moment
length promotes turbulent flow. As diameter copper pipe cut length-wise blowing away your shielding gas.
you move the torch forward, the will result in two half-pipes that can
just-welded area behind the torch is be used as the basis for an improvised Surface Preparation
still extremely hot and needs to be trailing shield. Multiple gas fittings
protected by shielding gas. along the length will improve the Cleanliness is also critical to reli-
Depending on the thickness of dispersion characteristics. If a team- able titanium welding, as even small
the titanium, the underside of the mate is available during the welding amounts of impurities will result in
weld may need protection, as well. A process, he or she can manually posi- brittle welds. The area to be welded
secondary supply of argon is required tion the trailing shield independently and the filler material should be thor-
to provide these auxiliary sources of and “chase” the torch as you weld oughly cleaned with a lint-free cloth
shielding gas. Tapping off of the instead of attaching it to the torch. and acetone or isopropyl alcohol.
main torch regulator is not The underside of the weld can “Pickling” of titanium in nitric acid is
recommended. However, a “tee” can also be protected by similar devices. sometimes mentioned in literature to
be used on the output of the argon A grooved backing bar or half-pipe remove scale. This is difficult, danger-
bottle to feed two independent can be used for this purpose. ous, and is often not required for
regulators: one for the torch gas Alternatively, metallic foils or tapes most titanium with a decent surface
supply and one for the auxiliary or may be shaped into a canopy and finish. Plasma or torch cutting titani-
“back-up” supplies. affixed to the bottom side of the um will leave an edge with significant
titanium and flooded with argon. All impurities that must be dressed by
Trailing Shield of this can drain a 125 cubic foot grinding and cleaning prior to weld-
argon bottle rapidly. ing. Edges resulting from water-jet
To provide adequate argon In all cases, the gas lines feeding cutting require minimal attention.
coverage of the hot titanium behind the torch, trailing shield, and backside Grinding wheels or stainless-steel
the torch, a trailing shield can be cover should be purged prior to wire brushes can be used to prepare

SERVO 11.2006 37
CombatZone.qxd 10/5/2006 7:33 AM Page 38

Titanium Tooth with S7 steel cutters for A 3/4” custom-made titainum bolt Welding the head onto a custom-made
KillJoy; weight = 2 lbs, 11.4 oz. ready to weld. 3/4” titainum bolt.

surfaces for welding, but they should in the torch will often be the same A high quality name brand ~200 amp
not be used on other metals to avoid size as the filler rod, but the smallest AC/DC Inverter welder will run
the transfer of foreign material onto tungsten that will carry the required $2,000 to $3,000 or more. Like most
the titanium. current provides better arc control. things, you usually get what you pay
Thoriated tungsten (2%) should be for. The Lincoln Invertec V205-T, the
Filler Material used for titanium. Miller Dynasty 200 SD/DX, the Esab
Handy TIG 180, and the Thermal Arc
It goes without saying that the Post Weld Examination Pro Wave 185TSW are just a few
titanium used in most combat robots examples of quality AC/DC inverter
is almost exclusively 6Al-4V grade 5 The color of the weld can welders. All are capable of welding
alloy. It is roughly twice as strong provide clues to the amount of up to 5/16” titanium and steel, as
as commercially pure (CP) grade 2 atmospheric contamination in the well as 3/16” aluminum. They are
titanium with the same weight. shielding gas or reveal insufficient ideal for building combat robots and
Conventional wisdom is that the filler coverage. A relatively shiny bead can easily be transported due to their
material should normally match the with a silver to straw color indicates sub-50 lb heft. Some will even run on
composition of the parent metal. successful shielding with minimal 110 VAC in a pinch, but all require a
However, many experts recommend impurities. Light blue, gray, or white 220 VAC source for serious work.
the use of CP rod (ERTi-2) with 6Al- is indicative of increased contamina- Likewise, a water-cooled torch isn’t
4V parent metal to produce welds tion and will result in a brittle weld. necessary for occasional light duty
with lower hardness, higher ductility, Interpreting weld quality solely from use, but will be required for extend-
and reduced brittleness. These color can be challenging even to ed operation at high current.
characteristics are often more desir- experienced welders. Deposits or
able than ultimate tensile strength, build-up near the tip of the tungsten Summary
especially where extreme impacts electrode are another indicator of
and high shock loads will be encoun- atmospheric intrusion into the argon. Welding titanium is not difficult.
tered. Moreover, when the 6Al-4V X-Ray inspection, hardness testing, There is nothing mysterious or exotic
parent material melts and combines and dye penetrant examination are about it. It can be performed at
with the CP rod, the puddle is other techniques for evaluating weld home with readily-available materials
effectively alloyed to some degree by quality, but are somewhat impracti- and equipment. With careful
the parent material. cal for home use. planning and proper attention to
Although there is no substitute shielding and cleanliness, it is as easy
for proper shielding gas, the use of Welder Selection to weld as mild steel. By most
CP rod can provide a higher degree accounts, aluminum is considerably
of tolerance for a limited amount of TIG welders vary widely in price more difficult. Whether you are an
atmospheric contamination while still and offer different capabilities. experienced TIG welder or new to
producing a weld with reasonable Transformer based machines are the process, there is no reason to shy
ductility. It takes practice, but the hot large and heavy while inverter based away from the advantages titanium
end of the filler rod should not be welders are smaller and lighter. A can bring to your design. SV
removed from the argon shield while DC-only unit can be used to weld
welding to prevent oxidation of the titanium and steel, but not Paul Reese and Robert Wilburn are Team
tip. Rods 3/32” in diameter work aluminum; aluminum requires AC O-Town Robotics (www.teamotown.com).
well for 1/4” titanium while other output. Harbor Freight Tools offers Paul can be reached atnitro_rat@hotmail.com.
For more information, contact the Titanium
diameters are available to suit various an inexpensive 130 amp DC inverter- Information Group (www.titaniuminfo
applications. The tungsten electrode based TIG welder for less than $300. group.co.uk/).

38 SERVO 11.2006
CombatZone.qxd 10/5/2006 7:34 AM Page 39

WELDING TOOLS AND


ACCESS RIES
● by Jeff Vasquez

O kay, so now you have this cool


welder. Now what? As always,
there is more stuff to buy!
electric grinder, stainless steel wire
brushes, and a helmet. Get the best
helmet you can afford — preferably
least, get yourself a copy of The
Welder’s Handbook by Richard Finch.
It is full of useful information and
To start with, you’ll need some an “adjustable auto darkening” one. explanations with a lot of pictures
type of table to weld on. I bought a Auto darkening makes it much easier and diagrams. I refer to it constantly.
piece of 24” by 30” steel plate that is to weld as you can have the helmet You can never have too many
1/4” thick. Then I welded a scrap down and see through the glass, but clamps! Get yourself a good selec-
piece of tube to the bottom so my “B as soon as there is a spark, the tion of “ViceGrip” type clamps of all
& D Workmate” would have some- helmet darkens to protect your sizes and types. You will be surprised
thing to grab onto. I also drilled and eyes. You don’t get second chances by how much you use them. Another
tapped some strategically-placed with your eyesight so take care of useful accessory are magnetic right
holes so that I can bolt down jigs and your eyes! angles. They can be used to hold, line
clamps. I simply place the plate on I emphasize “stainless” wire up, and square up pieces of metal.
the Workmate and tighten the brushes because they don’t contami- You will find that along with the
clamps. This gives me a strong nate the areas that you are cleaning clamps, corner jigs or straight jigs are
portable table to work on. as cheap wire brushes would. Also, very useful. Simply stated, these jigs
Some of the other accessories mark the brushes “steel,” “alum,” in conjunction with the clamps hold
and tools that you will need include etc., so you don’t cross-contaminate the metal so you can weld the pieces
welding gloves, welder’s pliers, an one with the other. Last, but not accurately and safely. SV
Regardless of the type of welding that you do, These are just a few of the “must have” I needed something for the “WorkMate” to
these clamps and jigs will come in handy. I accessories you will need to start welding grab onto, so I welded a piece of scrape
drilled and taped some holes in the table top to safely. Get the best helmet you can afford — square tube to the bottom.
secure the jigs and screw-down type clamps. preferably with an adjustable “auto darkening”
lense. MIG, TIG, GAS, etc., all put out different
amounts of light and require different
amounts of darkening.

PR DUCT REVIEWS
Lincoln SP-125 Plus MIG Welder
● by Jeff Vasquez

I am going to tell you what you


want to know right at the start.
The Lincoln SP-125 Plus and its newer
to anyone looking for a versatile,
high-quality MIG welder that is
affordable. When I was looking to
into exactly what I would need and
came to the conclusion that a small
110 volt MIG welder would be
brother the SP-135 Plus are awesome buy a MIG welder to start building sufficient to get me going building
machines that I would recommend for Battlebots, I did a lot of research frames and such. After checking

SERVO 11.2006 39
CombatZone.qxd 10/5/2006 7:34 AM Page 40

You can’t start them too young — with adult My SP-125 Plus with the cart. As you can
supervision, of course! My son Matthew (Got What is MIG welding you ask? see, the cart comes in handy for storage and
Robots? shirt) and his friend Dillon take a holds a bottle of shielding gas quite nicely.
break from restoring Dillon’s dad’s old MIG welding or “wire feed welding”
Mustang. Dillon’s dad bought his SP-135 on
my recomendation! is an ingenious way to make welding The upside to the latter is you don’t
fast and simple. To weld, you simply need shielding gas as the flux is
online and at the local welding place the gun over the work with already in the wire.
supply, I decided on the Lincoln about 0.375 inches between the tip The only complaint that I have
SP-125. The newest version of the and the spot you want to weld. When with the unit is that the dials to
SP-125 is the SP-135. Everything you pull the trigger on the gun, it adjust the wire feed speed and
about it is the same except it now activates the positively-charged wire voltage move too easily. It is easy to
puts out 135 amps. electrode and the shielding gas. The accidentally change the settings by
As supplied from the box, the wire feeds out of the gun and either moving the machine or
Lincoln comes with everything you’ll contacts the metal to be welded inadvertently brushing them with a
need to weld with flux core wire and which, in turn, causes a short circuit welding glove. A little more tension
with gas shielding. The only thing and an “arc.” Shielding gas keeps on these dials would be helpful.
you’ll need to buy is a tank of impurities out of the weld while the With tools and equipment, I
shielding gas as the regulator and wire electrode melts onto the base have always found that you get what
hoses for the gas are included. I metal and the whole process starts you pay for and the Lincoln is no
would highly recommend buying the over, about 60 times per second. This exception. The list price for the
“Plus” model as it includes the cart is very simplistic but it works! SP-135 Plus is about $800, but I’ve
which makes moving the rig and This unit allows you to weld with found it for much less on the
handling the gas bottle and tool either solid wire and gas (as Internet. Speaking of the Internet,
storage a cinch. With this little gem described above) which makes really for more info, look at www.
you’ll be able to weld all kinds of steel nice and neat welds or with “gasless, Lincolnelectric.com. If you want a
and even aluminum with the optional flux cored wire” which is effective for high quality, 110 volt MIG welder,
aluminum welding kit, although I thicker metals but far more messy you won’t be disappointed with this
welded aluminum without it. (and the welds are not as attractive). unit! SV

Lincoln Precision TIG-185 Welder


● by Jeff Vasquez

T he Lincoln Precision TIG 185


comes with everything needed to
start TIG welding (tungsten inert gas
but I bought mine new online for
much less money with the cart!
One thing to remember about this
sheet” which I’ve found to be invalu-
able. Simply find the kind (butt, lap,
fillet, etc.) of weld you want and the
welding) except for a bottle of shield- machine is that it runs on 220 volts as type and thickness of the metal, and
ing gas (argon usually), welding most TIG welders do. You will need at the magic card tells you the type
gloves, helmet, welding rods, etc. I least a 50 amp circuit. Adding this (DC+, DC-, or AC) of current, amount
would highly recommend getting the circuit to your home is an expense of current, cup orifice, filler rod diam-
optional cart as it makes life much which must be taken into account. eter, tungsten electrode diameter, etc.
easier. The unit lists for about $2,300, The unit also comes with a “cheat While this info is very helpful,

40 SERVO 11.2006
CombatZone.qxd 10/5/2006 7:35 AM Page 41

TIG welding is not for beginners. TIG The Lincoln Precision TIG-185 in all its glory.
The optional cart comes in handy to hold the
welding is analogous to gas welding. amptrol pedal, the ground cable, etc. The torch
hangs on the side. The black “cup holder” on
It is said by the experts that if you the top flips up for electrode storage. As you
can weld with gas, you can weld can see, everything is clearly laid out for ease
of operation.
with anything and it is true. Not so
much because it’s difficult but more since I had experience with a MIG
so because of the skills and tech- welder, I was able to have a friend of
nique involved. With gas welding mine who knew how to TIG weld
(oxy/acetylene, etc.), you are using a pretty well get me started with some
hot flame to heat the metal. With basic demonstrations and info.
TIG welding, the principle is the same Back to the machine! My
except you are using electricity. Precision TIG-185 has been flawless lay down some nice beads. Some of
Basically, you are passing a current and done everything I have asked of the features include “high frequen-
though the tungsten electrode in the it. I have welded mild steel, cy” for an easy starting arc and post
“torch” to a base metal. The result is chromemoly, aluminum, and titani- flow control which lets the gas flow
much like a “spark plug” in an engine um up to about .250 inch. Thicker for a set time after you stop welding.
and heat is produced. You then feed metals will require more power than This aids in minimizing weld contam-
the welding rod into the molten this machine can offer; 99% of the ination. The “Pulse TIG Control” puls-
metal puddle and you have a weld. time the SP-185 is powerful enough es the current which is useful when
To weld with a TIG machine you will for everything that I want to do. It is working on thin metals. These are
have the torch in one hand, the weld- a truly versatile machine that has just a few of the features of the 185.
ing rod in another, and one foot on given me years of flawless service. It The Lincoln Precision TIG-185 is
the “amptrol” pedal. This pedal has enough bells and whistles to a great machine that I would
allows you to vary the current (up to satisfy expert welders doing compli- recommend to anyone who needs a
the set maximum) during the weld- cated welds on difficult metals, yet is TIG welder. For more info, see
ing process. You can see why TIG is easy enough to use with the basic the Lincoln Electric website at www.
not for beginners! That being said, controls that even a hack like me can Lincolnelectric.com. SV

SERVO 11.2006 41
Page42.qxd 10/5/2006 2:36 PM Page 42

42 SERVO 11.2006
Full Page.qxd 10/4/2006 2:30 PM Page 43

Discover Why the Brightest Minds Think Edmund...


Products That Inspire Science Exploration
For Over 50 Years, Scientifics has been proud to provide you
with the latest and best selling, unique science-related items
available. From unusual gift ideas, to items you just won't
find anywhere else–we have something to make you smile…
and think.Whether you are a teacher, scientist, hobbyist – or
just love exploring the world around you, our unique collec-
tion offers a refreshing alternative.

NEW! Deflexion
• Strategy at the speed of light.
Combine classic strategy with the physics of lasers and optics to master
this game of skill. Egyptian themed pieces with one, two, or no mirrored
surfaces move about the game board in any number of directions, includ-
ing rotation by 1/4 twists. Each turn ends by firing a laser beam built into
the board which bounces from mirror to mirror on a series of pieces. When
it finally lands on a non-mirrored surface, that piece is removed from play.
In maneuvering each piece, the aim is to illuminate your opponent's
pharaoh and eliminate them from the game, while shielding your own
pharaoh from harm. Designed for two players ages nine and up, the game
comes with required batteries.
#P30830-59 $44.95

The IFO 3000 - Magnetic Floating Display


The IFO 3000 takes levitation to new heights. From the impressive floating
gap to the aesthetically pleasing frame design, the IFO 3000 will grace any
home or office. The uniqueness of the Floating Ideas Magnetic Display
makes it the perfect gift. The product is easy to use – the patent pending
technology and the spacer training aid that comes with each kit make sure
that even a complete novice will be floating straight out of the box. The
objects rotate serenely in the magnetic field in either direction. At the flick
of a switch and a flick and a gentle push of the object, watch as the object
slowly rotates forever. The IFO 3000 is supplied with an Earth Globe float-
ing object as standard. Other floating objects are sold separately.
Globe with base #P30369-82 $99.95
Space Shuttle (without base) #P30369-84 $19.95

Nature's Fire™
• Brilliant Moving Sculpture
Created by Physicists
NEW! Celestron SkyScout The dynamics of bringing earth,
• Puts the Knowledge of an Expert Astronomer in the Palm of fire and water together are
Your Hand! reflected in this amazing kinetic
The SkyScout is a revolutionary handheld device that uses advanced GPS sculpture. Bejeweled lava con-
technology with point and click convenience to instantly identify thou- tinuously erupts from the under-
sands of stars, planets, constellations and more. Simply point the SkyScout water volcano and soft, hypnot-
at any star in the sky and click the "target" button–the SkyScout will ic lights enhance the lava's
instantly tell you what object you are looking at. To locate a star or plan- movement in multi-colored pat-
et, select the object's name from the menu and follow the directional terns. Lighting is provided by
arrows through the viewfinder. SkyScout tells you when you are on target. LED, so there are no bulbs to
It's that easy! Once you have targeted an object the real fun begins. The replace. It measures 9.7" L x 7.3"
SkyScout includes entertaining and educational audio and text informa- W x 2.5" D and includes a 120V
tion, including facts, trivia, history and mythology about our most popular or 220V power adapter.
celestial objects. #P31025-28 $34.95
#P30373-97 $399.95

Contact Us Today For A Free Catalog

Over 2,000 Items For Science Gift Giving!


Reference Code
CO69-WW12

1-800-728-6999 • www.scientificsonline.com
Grigsby.qxd 10/3/2006 5:28 PM Page 44

XPort Botball Controller


Gives Good Game

by JennyGrigsby, JorgeVillatoro, and MatthewOelke

T
o a novice, the world of robotics can be a bit overwhelming. The
processors, the building equipment, and the potential programming
involved can send a new user screaming into the night. The Xport
Botball Controller and its kit would be pretty intimidating, too — if it didn’t
have the familiar elements of a Game Boy and LEGO bricks.

We Got Game (Boy) environment. Interactive C is widely classrooms. The students take over
used today by robotics professionals, from there — designing, building, and
The XBC uses a Game Boy (GB) as hobbyists, educators, and students. programming original autonomous
the main processor. Why? Because of its robots that compete across the country
low price, ease of use, color LCD, and a The Xport Botball in regional Botball tournaments.
powerful ARM 7 processor. The element Controller Because Botball is a task game, the
of cool it adds doesn’t hurt either. The XBC is starting to get noticed. The XBC
GB isn’t ‘hacked’ or modified. In a way, The Xport Botball Controller comes allows middle school and high school stu-
the GB thinks the Xport board is a game by its name because it was primarily dents to create incredibly smart and capa-
when it is plugged into the cartridge designed for the Botball Educational ble robots. A student-built Botball robot
slot. A user can unplug the Xport, pop Robotics Program. For the past two can sort different colored objects into var-
in Mario, and concentrate on saving the years, it is the only processor that the ious scoring positions using color tracking
princess. When the Xport — consisting national robotics program has used. and vision the same way many industrial
primarily of a FPGA and Flash memory The XBC is distributed to teachers every assembly processes work. A student-built
— is plugged into the GB, the result year in the standardized Botball kit. The Botball robot that can maneuver
yields a powerful robotic processor that teachers, in turn, implement the kit autonomously on the game board mimics
uses the Interactive C programming and the Botball challenge into their robot systems like the Roomba and MER
44 SERVO 11.2006
Grigsby.qxd 10/3/2006 5:28 PM Page 45

The bot going


over the ball.

Introducing ...
the ‘bots.

rovers with servos and gear motors. measured in ‘ticks,’ or parts of a rota- the blob, and the locations of the
The XBC is currently gaining tion of a motor. Ticks can be converted major and minor axis of the blob.
national and international attention in to common measurements by dividing The user interface is very simple.
the Botball Program and through its use by the number of ticks in a revolution During a Regional Botball Workshop
in the NASA Robotics Alliance Project of a motor and multiplying by the cir- (each regional program begins with a
annual summer robotics web course. cumference of the wheel. When armed two-day professional development work-
University programs are utilizing the with that information, it becomes shop where educators and students
XBC for classroom, research, and com- possible to specify the distance and are taught how to use the equipment)
petition activities. The XBC was used to velocity for a motor to turn, thus middle school students, high school
run the Core Sample Handling System creating an incredibly accurate robot. students, and their teachers are able to
for the Mars Astrobiology Research and instruct their robots how to play ‘Red
Technology Experiment (MARTE). The Vision and Color light, Green light’ within a few hours.
MARTE project developed drilling Tracking
equipment and programming to extract In the Works —
and interpret the data from rock In order to keep Botball game Bluetooth
samples drilled from Mars’ surface. development up-to-date with current
robotic technologies, a vision system Bluetooth is a technology that is
Back-EMF Motor had to be developed that gave the gaining popularity among small device
Control robot the ability to see and track users, because it allows the user to
objects during the game without easily connect their devices together, or
The XBC uses closed-loop motor con- raising the overhead cost. connect to a computer. This makes
trol that makes use of motion feedback. The XBC can see and track up to Bluetooth perfect for robotic communi-
Back-EMF provides motion feedback to three different colors at one time. It cation applications over short
the XBC without incurring extra cost and does this by using lookup tables inside distances. The Bluetooth chip that is
mechanical complexity, like encoders, or the FPGA to carry out color pixel available for the XBC allows it to
the programming complexity and unrelia- filtering. Each selected color uses its connect wirelessly to any computer
bility of dead reckoning with time. The own lookup table. This provides the with a Bluetooth chip, and future plans
Back-EMF is based on the electromotive maximum amount of flexibility when include direct communication between
force that occurs in electric motors and selecting color models. The user can XBC units. This connectivity allows for
some generators and is in direct propor- select a color with a narrow hue range many new applications that may
tion to its velocity. It is easily measurable and designate a broad luminance require more than one processor, or
by simply cutting power to the motor range. As a result, the color models are more than one set of wheels. An exam-
and measuring the voltage with an strong even with changes to lighting. ple might be a robot that offloads the
analog-to-digital converter. Another useful vision feature is entire heavy processing work to a
Since the XBC can measure the the built-in blob tracking. The XBC is remote brain, while maintaining control
back-EMF as well as the amount of capable of tracking blobs of color and over the more primitive functions such
time a motor has been running, it can returning information on them. Some as navigation and obstacle detection.
simply integrate the velocity and divide of the values returned are X coordinate While the current release of
by time to find the distance traveled. In of the center of the blob, Y coordinate Interactive C does not support
Interactive C, the distance traveled is of the center of the blob, the area of Bluetooth, the soon-to-be-released Beta
SERVO 11.2006 45
Grigsby.qxd 10/3/2006 5:29 PM Page 46

Get ready
to fight!

Everyone, take
your starting
positions ...

7.0.l release will. Users will be able to Kits and Equipment pieces, and a CD with step-by-step
connect their XBC through Bluetooth instructions on how to build a working
to a desktop and write code to use the There are several choices to make autonomous robot.
Bluetooth chip as a serial communica- when purchasing the XBC. You can get LEGO Technic allows the builder
tions port. just the controller, the controller with the ability to make mistakes that
the camera, or the controller aren’t permanent. All you have to do
Grab it! with the camera and GB. Each when you encounter a structural
processor comes with the built in problem is take your robot apart and
NiMH battery pack, serial cable, start over. That, of course, is half
and an AC adapter. the fun!
Different kits are also
available that include the XBC. What’s to Come?
The XBC Robot Starter Kit is the
most popular (and the one Short term — Botballers can expect
being used for the NASA robot- another Botball season to use the XBC,
ics course). It includes all the and more home users and academic
electronics, LEGO Technic programs will incorporate it into their
hobbies and experiments.
Long term — As middle school
and high school students continue to
HobbyEngineering study robotics and the wide range of
practical applications it uses — science,
The technology builder's source for kits, components, supplies, tools, books and education.
technology, engineering, math,
project management, and leadership
Robot Kits For All Skill Levels ICs, Transistors, Project Kits — their ability in these areas when
they reach college and beyond will be
Motors, Frame Components as highly developed as their Botball
and Scratch Builder Supplies.
robots. SV
Order by Internet, phone, fax or mail.
www.HobbyEngineering.com
BASIC AND ADVANCED
FEATURES
Books and 1-866-ROBOT-50
1-866-762-6850 • Four motor ports
Educational K 1-650-552-9925 • Four servo ports
1-650-259-9590 (fax) • Eight analog ports
sales@HobbyEngineering.com
• 16 digital ports
180 El Camino Real
BEAM Kits and Components Millbrae, CA 94030 • One camera port
Visit our store near SFO! • Onboard power
• Back-EMF PID motor control
Most orders ship the day received! World-wide shipping. Convenient payment options. • Vision system with blob tracking

46 SERVO 11.2006
Bergeron.qxd 10/3/2006 5:00 PM Page 47

by Bryan Bergeron

ur eyes, optic nerves, and optic lobes constitute the most developed

O and information-dense human sensory system. Even so, there are other
life forms with superior acuity, field-of-view, or spectral sensitivity.
Articulated, single-lens eyes endow birds of prey with phenomenal visual
acuity and field-of-view, and fixed, compound eyes provide many insects
with omnidirectional vision that extends into the UV spectrum.

Robot vision has benefitted from tele-autonomous robot with remote vision. The PC option, while more com-
biological inspiration, including this imaging capabilities. The technology plex and expensive, enables a robot to
biodiversity. For example, the anatomy that makes this possible is the CCD leverage processing power beyond
of robot imaging systems ranges from or Charge Coupled Device, such as what can be supported by onboard
cameras with limited field-of-view the OV6620 Omnivision CCD in the computers.
mounted on pan-tilt mechanisms (see popular CMUCam (see Figure 2). The The typical field-of-view supported
Figure 1), to fixed cameras combined CMUCam, which uses a glass lens by small CCD cameras, such as the
with a fisheye lens, catadioptric omnidi- instead of an inferior pinhole, captures CMUCam, approximates the human
rectional mirror, or even lens clusters 16.7 frames per second at 80 x 143 field-of-view — about 40 degrees. As
patterned after insect eyes [1]. resolution. such, it’s common to mount a small
Although the image processing capabil- Images are captured by a CCD and CCD camera on a tilt-pan head. This
ities of the most advanced robots can’t can be transmitted to a monitor and solution is straightforward, but it incurs
yet compete with those of a common used as a visual navigation aid, a space, weight, and power penalty for
housefly, powerful CCD and frame processed with machine vision
grabber technologies are affordable algorithms locally, or processed by FIGURE 1. The CMUCam2+ on a
enough for developers to add rudimen- algorithms executing on a PC. Local pan-tilt head — a popular and
affordable robot vision
tary vision capabilities to virtually any processing, such as the option for autonomous
robot platform. This article explores color tracking and servo and tele-autonomous
omnidirectional robot vision options control supported by robots.
and describes the construction of the CMUCam2+ (see
an inexpensive omnidirectional mirror Figure 3), provides a
system for autonomous and tele- low-cost introduction
autonomous robots. to autonomous robot

Robot
Vision
A miniature,
wireless pinhole
camera, a 9V
battery, and a dab
of adhesive can
transform a remote-
FIGURE 2. CCD element used
controlled carpet in the CMUCam. The circuit
roamer into a board measures 28 x 41 mm.
SERVO 11.2006 47
Bergeron.qxd 10/3/2006 5:01 PM Page 48

Omnidirectional Robot Vision


FIGURE 3. CMUCam2+ circuit better solution. The lens is designed
board showing onboard image for Nikon digital SLRs and can be
processing hardware.
combined with a mega pixel CCD to
include multiple fixed cameras, create a high-resolution, omnidirection-
upward-pointing fisheye lens- al image capture system.
es, and fixed omnidirectional Readers interested in photography
mirrors. Rotating mirrors, might consider purchasing a fisheye
which are used successfully lens that can serve their photographic
with IR laser rangefinders, are and robotics needs. However, for every-
expensive and impractical for one else, the fisheye lens has several
small robots. limitations that should be considered.
Aside from the monetary investment, a
Multiple Cameras limitation of the fisheye is that the
Multiple cameras, each majority of picture elements are typical-
assigned a particular field-of- ly wasted imaging the ceiling or sky.
view, offer the benefit of quiet Obstacles, targets, and other interest-
operation and high resolution, ing detail along the horizon are
at the expense of often compressed along the periphery of the
the supporting structure, servos, considerable computational overhead. image. Furthermore, because the
and controller circuitry. Moreover, A workable option is to use an inexpen- lens points upward, the robot body
while vision systems with this configu- sive multi-channel onboard frame obstructs the view of floor conditions
ration may be useful for relatively slow grabber, such as the uCFG from Digital and obstacles near the robot that may
crawlers and carpet roamers, they are Creation Labs ($100), and four CCD be problematic.
ill-suited for applications requiring cameras outfitted with wide angle
speed and stealth. In addition, because lenses. The major challenge is how to Mirrors
of the physical limitations imposed by switch between or merge the four Mirror-based omnidirectional
wiring and servo construction, tilt-pan video channels with the limited compu- imaging is increasingly popular among
heads typically provide significantly less tational resources available on most roboticists because it’s a relatively
than 360-degree horizontal coverage. robot platforms. inexpensive, lightweight, and powerful
Consider the robot shown in option. The basis of operation is simple
Figure 1, which is an early version of a Fisheye Lenses enough — if you’ve ever used one of
robot designed to play laser tag against Fisheye lenses — wide-angle lenses the convex mirrors commonly placed
humans. Despite a capable CMUCam on steroids — are compact, readily- above pinch points in store isles,
2+ and lightweight CrustCrawler tilt- available, and (for someone versed in building corridors, or parking garages,
pan head powered by a pair of high- optics) relatively easy to configure. you’ve experienced mirror-based
velocity Airtronics 94358Z servos, the Simply mount the lens on the camera omnidirectional vision first-hand.
robot was easily defeated. The noise or CCD assembly perpendicular to the Construction is also straightforward —
generated by the servos and obvious ground and high enough above the simply mount the mirror an appropriate
direction of the video camera were eas- robot body to avoid visual obstructions. distance above the lens of an upward-
ily read by the opponents. The solution The Nikon FC-E9 lens converter ($260), pointing camera.
was to replace the mechanical, designed for the Nikon Coolpix, The omnidirectional properties of
directional vision system with a system provides a field-of-view of 190 degrees. a mirror-based system are a function of
based on a non-mechanical omnidirec- This and other fisheye lenses require mirror geometry. Spherical, semi-
tional design. appropriate mounting and optical spherical, parabaloid, hyperboloid, and
adapters for use with a CMUCam or conical geometries are the most popu-
Omnidirectional similar camera. lar in robotics (see Figure 4). Spherical
For low light conditions and and semi-spherical mirrors are useful
Vision Technologies greater resolution, a more capable when it’s important to image the
Robot omnidirectional (360 fisheye lens, such as the AF DX Fisheye- immediate vicinity of the robot in great
degree horizontal) vision options Nikkor 10.5 mm f/2.8G ED ($540) is a detail, such as when a crawler must
navigate unknown ter-
rain. Conical mirrors, which
FIGURE 4. Spine view of
popular mirror geometries, from
left to right: Spherical; Semi-
Spherical; Parabaloid; Hyperboloid;
and Conical.
48 SERVO 11.2006
Bergeron.qxd 10/3/2006 5:01 PM Page 49

Omnidirectional Robot Vision


FIGURE 6. Original image captured from
the 39 mm parabaloid mirror (left) and
unwarped image reprojected onto a
cylindrical surface (right).

provide virtually no close-range


imagery and instead emphasize rel-
images on the horizon, are more ative to the FIGURE 5. Chrome-
appropriate for wheeled robots that original scene, but the plated 39 mm
operate on level terrain with obstacles image is distributed over relatively few parabaloid mirror
mounted in a two-
on the horizon. Parabaloid mirrors pixels on the CCD. Conversely, the inch Plexiglas tube.
devote pixels to both the immediate image reflected from the area near the
vicinity and the horizon, and can be base of the cone is stretched, and the and size, mirror
used with virtually any robot platform. pixel-to-image ratio is relatively high. As height, and
Parabaloid mirrors (see Figure 5) a result, horizontal resolution and robot platform
produce images with less extreme varia- image quality are best from the area size are all critical, interrelated
tions in near to far image resolution near the base of a conical mirror. Note variables. A first-surface glass mirror
than either conical or spherical mirrors. that the resolution along the vertical will reflect more light than a mirror of
Even so, the raw image is much more axis — from base to apex — is constant stainless steel, while the reflectivity of
distorted than the image produced by a with a conical mirror. This is not true of a chrome-plated aluminum mirror is
typical semi-spherical security mirror. parabolic and hyperbolic mirrors. somewhere between the two. As a
This isn’t a problem if the goal is, for As noted earlier, mirror geometry result, an omnidirectional image sys-
example, to identify the direction and defines the field-of-view. Furthermore, tem built around a stainless steel mirror
distance to a target of a specified color. there can be significant variations in will require greater ambient light levels.
However, if the aim is to employ the field-of-view within a given A camera lens with a shorter focal
machine vision algorithms to identify mirror geometry. For example, Figure 8 length will allow a closer mirror-lens
recognizable features in the environ- illustrates the effect of conical mirror distance, which makes for a more
ment, then the image should first be geometry on the resulting field-of-view. compact, sturdy camera system.
unwarped and projected onto a virtual The squatter the cone, the more the However, a wide robot body generally
cylindrical surface, as shown in Figure 6. mirror approximates a flat mirror, and requires a greater camera-mirror
There is a variety of unwarping the area surrounding the robot is distance to show the area in the
software available for real-time robotics imaged. Similarly, the more acute the vicinity of a robot, especially with a
navigation and offline applications. The cone angle, the more the field-of-vision spherical or semi-spherical mirror.
software used to create Figure 6 is a encompasses the area at and above The basic photographic principles
Photoshop Action that can be down- the horizon. of minimal working distance and
loaded from 0-360.com. The software Beyond the basics of mirror geom- depth-of-field apply to imaging the
is designed for their proprietary etry, there are several more variables mirror surface. Depth-of-field, which
parabaloid mirror ($595), but it works related to the mirror and camera that
reasonably well with any Parabaloid should be considered. CCD resolution,
surface. For example, the chrome- camera lens aperture and field-of-view,
plated mirror used in Figures 5 and 6 is mirror-lens distance, mirror reflectivity
sold on Amazon as a “silver
chime egg” ($5/pair).
Regardless of the mirror
geometry, the unwarping
operation is a straightforward
mapping process, as illustrated
in the unwarping of the image
from a conical mirror in Figure
7. The image reflected from
the area near the apex of the
cone is not only compressed
FIGURE 7. Unwarping an image
from a conical mirror (top left) FIGURE 8. Field-
can be visualized as mapping of-view (FOV)
raw triangular slices onto as a function of
rectangular slices on a cone geometry.
cylindrical panoramic surface.
SERVO 11.2006 49
Bergeron.qxd 10/3/2006 5:02 PM Page 50

Omnidirectional Robot Vision


FIGURE 10. Raw mate-
rials for a lightweight
cone mirror — silver
Duralar and a 65 mm
diameter plastic funnel.

pattern to the back


of the Duralar and
cut to size. Be
careful not to
scratch the Duralar
camera can add omnidirectional vision surface during handling.
capabilities to their robot by creating a Apply a thin coat of rubber
conical mirror assembly (see Figure 9) adhesive to a few points on the funnel
for about $10 in supplies — a tennis and corresponding points on the back
ball container, plastic funnel, and sheet of the Duralar. Mate the points after
of Duralar — and a few hours at the five minutes. Use the minimum amount
bench. The following discussion of glue possible to avoid staining or
assumes a CMUCam2+, but cameras crinkling the Duralar. It’s a good idea to
such as the CMUCam or a miniature test the effect of the adhesive on a
FIGURE 9. Omnidirectional cone imaging pinhole camera work with minor piece of scrap Duralar before gluing.
system installed on the robot. modifications. An alternative approach is to use
The raw materials required for the double-sided tape. Whatever method
should be sufficient to capture the cone mirror are a sheet of silver Duralar you use, make the overlap area as
image from the full surface of the and a small plastic funnel. Duralar or smooth as possible. If you’re handy
mirror, can be increased by stepping comparable paper-backed mirrored with a blade, do away with the overlap
down the lens aperture. Unfortunately, surface can be found at most art altogether and butt the edges of the
the CMUCam and CMUCam2+ have supply stores, and plastic funnels of Duralar prior to gluing.
fixed aperture lenses. However, unlike various sizes and shapes are available Create a 70 mm disc out of 3/4”
a simple pinhole camera, working at cooking supply and hardware stores. (20 mm) packing foam or other
distance (close focus) can be adjusted Look for a funnel with a 65 mm diam- low-density spacer material and glue it
by rotating the lens. eter rim — the diameter of a tennis ball. to the base of the cone mirror. The pur-
If you can’t find one this small, you can pose of the disc is to push the mirror
Conical Mirror cut down a larger funnel. from the tube distortion near the cap
Prepare the funnel by removing end of the tennis ball tube (see Figure
Omnidirectional the pouring spout from the funnel and, 9). Set the mirror assembly aside to dry.
Vision System using medium-grit sandpaper, remove The next step is to mount the cam-
the small ribs, mold lines, or other era and create a supporting structure
Readers with a miniature CCD imperfections on the surface of the for the mirror. A CD-ROM happens to
funnel. Clean the funnel surface and fit the CMUCam2+ lens snugly, and
set it aside. mounting the camera board on the
The Duralar has to be glued or disc requires only four quick holes and
taped to the funnel, creating a silver 1/4” standoff hardware. With camera
cone. Using the template available mounted, you’ll need a clear, colorless
on the SERVO website support tube. A clear tennis ball con-
(www.servomagazine.com; tainer will accommodate the funnel
see Figure 11), print out the and is lightweight. Using a sharp blade,
cone overlay on plain paper and cut the pressurized container cleanly
cut out the pattern. Try it out about 115 mm from the cap end. Keep
for size on the prepared funnel. the peel-off lid intact. The metal lid
Adjust the print size and wedge helps maintain the rigidity of the tube.
angle so that the cone comes to Place the mirror and tube assembly
a clean point with about 1/4” over the camera lens. Using the
overlap at the seam. When you’re constant streaming function of the
satisfied with the fit, tape the paper CMUCam2+, adjust the focus so that
FIGURE 11. A 125 mm diameter Duralar most of the mirror is in focus. You
template. Duralar limits are in blue. should see something like the image in
50 SERVO 11.2006
Bergeron.qxd 10/3/2006 5:02 PM Page 51

Omnidirectional Robot Vision


Figure 12. Objects will be distorted and FIGURE 12. Original image from CMUCam2+
stretched toward the periphery of and Duralar cone. Note target in red shirt,
about six feet from the robot. The Duralar
the image. seam is at eight o’clock.
Because the CCD element is rectan-
gular, there is an unavoidable waste of more stable camera-mirror placement.
pixels if the entire mirror is imaged. The Plexiglas tubing is also more likely to
field-of-view in Figure 12 sacrifices part withstand inevitable crashes.
of the mirror surface in exchange for Borosilicate glass tubes — available
higher resolution image on the area of through science supply houses —
the mirror that is imaged. To image provide superior optical properties,
more of the mirror imaged, cut the sup- although they are less resilient and
port tube at 120 mm or use thinner heavier than Plexiglas. mirror. As a point of reference,
backing material. Secure the base of My current omnidirectional robot Neovision sells the H3S — a 200 g, 28
the tube to the CD-ROM or other vision system is based on the mm hyperbolic stainless steel mirror for
mount. The aluminum base of a lamp CMUCam2+, a 2” o.d. borosilicate about 850 Euros. Seiwapro offers a
assembly is used for the lower attach- tube, and a chrome-plated aluminum variety of similarly priced precision
ment in Figure 9. A second tennis con- cone mirror. The mirror, which is sold spherical and hyperbolic silvered glass
tainer cap bolted or glued to a CD-ROM as a motorcycle bar end ($40/pair), is mirrors with Sony camera mounts.
also makes a sturdy, lightweight base. perfect for imaging human targets six The H3S and Seiwapro mirrors are
to 20 feet from the robot base. popular among robot vision researchers
Variations The real fun begins when you because the mirror surface equations
Components other than a integrate the omnidirectional vision are published. For example, Neovision
CMUCam2+, 67 mm funnel, and 20 system with your autonomous or lists the H3S surface equation as:
mm foam backing for the mirror will tele-autonomous robot. The conical
z2 x2 + y 2
probably require a different tube imaging system works as-is with the − =1
length. Fortunately, the real-time CMUCam2+ color tracking software. 789,3274 789,3274
imaging available with a CCD camera Instead of directing the tilt/pan head,
supports interactive experimentation. use the servo signals to drive the drive
Feel free to try different materials, servos or H-bridge, depending on your
REFERENCES
mirror geometries, and support robot design. Full documentation on • [1] Franceschini, N., Pichon, J., and C.
structures. Christmas tree baubles and the CMUCam2+ color tracking routines Blanes, From insect vision to robot
chrome-plated cabinet pulls (see is available from Seattle Robotics (see vision. 1992. Philosophical Transactions
of the Royal Society of London B(337):
Figure 13) provide an inexpensive and Resources sidebar). p. 283-94.
workable introduction to mirror-based A tele-autonomous robot with a
omnidirectional robotic vision. wireless pinhole camera and conical • [2] Zivkovic, Z. and O. Booij, How
Experiment with different shapes, fin- mirror is also a reasonable experimen- did we build our hyperbolic mirror omni-
ishes, and materials until you get a feel tal system for a tele-autonomous robot. directional camera — practical issue and
for the features associated with each. After a few minutes of working with basic geometry. 2005, University of
At only 33 g, the Duralar cone the raw omnidirectional view, most Amsterdam, Intelligent Autonomous
assembly is light enough to be used readers will find the distorted view easy Systems, IAS-UVA-05-04.
with virtually any robot base. The to interpret without unwarping
downside of Duralar is lower reflectivi- software.
ty relative to chrome or silvered glass.
Chrome-plated metal, while less reflec- From Here
tive than mirrored glass, can withstand
the hazards of mobile robot activity. Readers with deep pockets
There is a modest weight penalty, might consider replacing the
however. For example, the 108 g affordable but limited
chrome egg shown in Figure 5 requires CMUCam 2+ with a mega
relatively heavy Plexiglas tubing for pixel, large aperture video cam-
support; 3” o.d., 0.1” thick Plexiglas era and a specially fabricated
tubing incurs a weight penalty of 19 g metal or first-surface glass
per inch, while 2” o.d. tubing is a little
less burdensome at 13 g per inch. FIGURE 13. A chrome-plated
An advantage of rigid Plexiglas cabinet pull makes an
inexpensive, high-reflectivity
over thin-walled plastic container is semi-spherical mirror.
SERVO 11.2006 51
Bergeron.qxd 10/3/2006 5:02 PM Page 52

Omnidirectional Robot Vision


can also be used to create a virtual
RESOURCES mirror t within a 3D rendering package,
• Seattle Robotics • Precision parabolic/hyperbolic mirrors such as AutoCAD, for testing room
www.seattlerobotics.com and camera assemblies: coverage at different mirror heights
CMUCam and wide angle lenses – Neovision Industrial Vision Systems
www.neovision.cz
and mirror-camera distances. Of course,
• Acroname – 0-360.com the surface equations for a conical or
www.acroname.com http://0-360.com spherical mirror are easily defined.
CMUCam2+ – Kaidan, Inc. Readers interested in machine
www.kaidan.com vision can experiment with the
• LP Music Collection 360 OneVR Photoshop Actions software discussed
wwww.lpmusic.com – Neuronics
earlier. Owners of Matlab can explore
Silver Chime Eggs; LPM324; Garfield www.neuronics.ch
NJ 07026. Also available through V-Cam360, the listing provided by the Intelligent
Amazon.com Panorama Eye, Seiwapro Co., LTD. Autonomous Systems of University of
www.accowle.com/english/index.html Amsterdam [2]. A wealth of unwarping
• JDA Custom software and omnidirectional imaging
www.jdacustom.com • Digital Creation Labs, Inc. systems are described on “The Page of
Chrome-plated aluminum cone bar www.digitalcreationlabs.com/uCFG Omnidirectional Vision,” which is
ends .htm
uCFG Microcontroller Frame Grabber hosted by the GRASP Laboratory at the
• 0-360.com University of Pennsylvania.
http://0-360.com • eStreetPlatics Furthermore, robotic omnidirec-
Photo Unwrapping Action for eStreetPlastics.com tional vision isn’t an either-or proposi-
Photoshop and Photoshop Elements 2” and 3” Plexiglas Tubes tion. It’s a simple matter to add an
omnidirectional mirror and inexpensive
Unwarping software written for can be shared among researchers using pinhole camera to enhance an existing
HS3 hyperbolic surface, for example, the mirror. Published surface equations robot design based on a normal lens
and tilt/pan head. The omnidirectional
camera can act as an early warning sys-
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

tem of sorts, giving you time to swing


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

the tilt/pan head around to a potential


Elexol 3rd Generation Low Cost threat or obstacle. Whatever your final
USB Data I/O Module configuration, once you experience
omnidirectional vision, you’ll find it dif-
Need to get data into or out of a USB port? Here’s what you need...
ficult to go back to the visual confines
• 24 independently programmable Input/Output pins grouped into 3 ports.
of a standard imaging system. SV
• Single module high-speed digital Input/Output solution.
• Up to 128 modules can be connected to a single PC with capabilities of
further expansion. FURTHER READING
• Easy to connect by 0.1" pitch headers to suit standard IDC connectors.
• Horn, B., Robot Vision. 1986,
• Integrated Type-B USB connector.
Cambridge: MIT Press.
• On-board unique serial number in EEPROM and custom programmable
FLASH microcontroller.
• Shih-Schon, L. and R. Bajcsy, Single-
• Both USB enumeration information and microcontroller can be re-
View-Point Omnidirectional Catadioptric
programmed to suit customer needs.
Cone Mirror Imager. IEEE Transactions
• Module powered by the USB from the PC.
on Pattern Analysis and Machine
Just some of our range of USB and MP3 modules... Intelligence, 2006. 28(5): p. 840-5.

• Center for Machine Perception,


Czech Technical University Prague.
cmp.felk.cvut.cz/demos/Omnidirecti
USB MOD3 - USB MOD4 - USB MOD5 - MP3 MOD4 - onalVision.html
USB Plug and Play Serial USB Plug and Play Parallel Integrated module based on the FTDI VS1001 chip. Converts
Development Module (2nd 8-bit FIFO Development Module FT2232C Dual Channel USB UART / clocked serial data (MP3) to
Gen). 1000k baud (RS232) and (2nd Gen). Up to 8 Million bits FIFO IC. Features two Multi-purpose stereo audio out. Suitable for • Chahl, J. and M. Srinivasan,
3000k baud. (RS422 / RS485) (1Megabyte) per second. controllers that can be configured in driving headphones.
several different modes.
Reflective surfaces for panoramic
imaging. Applied Optics, 1997. 36(31):
Visit our website www.orteches.com p. 8275-85.
Ortech Education Systems
1119 - 9th Ave. S. • Moorhead, MN 56560 • The Page of Omnidirectional Vision.
218.287.1379 www.cis.upenn.edu/~kostas/omni
www.orteches.com www.orteches.com www.orteches.com www.orteches.com www.orteches.com www.orteches.com
.html

52 SERVO 11.2006
Full Page.qxd 10/5/2006 9:33 AM Page 53

SERVO 11.2006 53
Davis.qxd 10/5/2006 7:44 AM Page 54

Real Time Operating Systems


TO THE RESCUE
A Review of FreeRTOS.org
by Phil Davis

A
couple of months ago, I wrote the ubiquitous Microsoft Windows. For example, controlling the speed
an article for the Appetizer sec- There is a reason why these OSs and direction of the motors requires
tion of SERVO and there I talked exist and why they continue to evolve; periodic processing at known intervals,
at length about the need for better and because they lift our programming while responding to collision avoidance
more sophisticated tools when it comes above the hardware and provide a level sensors and radio communications
to architecting your robot program. of abstraction for us to program in. requires a fast response to events that
Most of us take our BASIC Stamps or Consequently, we can write more scal- can occur at any time.
even Atmel Mega32s and hope to able, complex, and ‘able’ programs. How might the software for this
crank out some ‘basic’ or ‘C’ code with So, it is with all this in mind that I system be designed?
the idea of breathing Artificial Life into wanted to talk further about
our bots. It’s true! We have these FreeRTOS.org — a small, tight, and fast The Super Loop Solution
grandiose ideas about the end state of Real Time Operating System from The super loop is the most basic
our machine: it will avoid all obstacles, www.FreeRTOS.org. You may have potential solution and is demonstrated
climb stairs, obey voice commands and, noticed that part of the name has the in Listing 1. In this solution, the
of course, recognize all by facial image. word ‘free,’ yes; this super OS is, in program is split into functional blocks
The desire to have all of these fact, free. — each of which is allocated to a
features in our bots is admirable, but Let’s dig into this OS in depth subroutine. The microcontroller simply
like anything else, we need the tools to through the presentation of a hypo- loops around continuously, processing
achieve this. thetical example: each subroutine in turn.
You see, the ‘big guys’ building the This type of design can work for
mainframe computers and the super The Problem small systems, and indeed many small
mini computers have known this for a Consider a simple robot that is embedded software programs are
long time. They started out just like us, designed to move around a space, written in exactly this manner.
in that they would write code directly avoiding obstacles that are placed There are, however, several short-
on top of the hardware, but over time, randomly in the same arena. The robot comings. In particular, the variation in
they realized that to do more they is connected via a radio link to a the time it takes to execute one cycle of
needed a better tool set underlying the base station which can update the the loop can be the source of many
code they wrote. So, primitive operat- control parameters used by the robot problems. This variation occurs when
ing systems were born. Of course, over (maximum speed, etc.), and ask the different paths are taken through the
the years these have evolved to become robot to send it status information. subroutines. As a consequence:
very sophisticated, like the well-known The software required to operate
UNIX or LINUX operating systems or this robot has several characteristics. • The time taken between an input
changing and the software reacting to
main() LISTING 2. the change will vary. Worse still, the
main()
{ { Calling a variation range will change if the
InitializeHardware(); InitializeHardware(); subroutine software is modified. In the worst case,
twice a momentary change in a sensor input
/* Loop forever. */ within the
/* Loop forever. */ may go unseen.
for( ;; ) same loop.
for( ;; )
{
{
ControlMotors(); • Code cannot rely on a fixed execution
ControlMotors(); ProcessCollisionSensors();
ProcessCollisionSensors(); ProcessRadioComms(); period. Many algorithms — such as the
ProcessRadioComms(); ProcessCollisionSensors(); digital filters that are often used in
} }
} motor control applications — will rely
LISTING 1. A basic super loop. }
on a fixed execution period.
54 SERVO 11.2006
Davis.qxd 10/5/2006 7:45 AM Page 55

void ProcessRadioComms( ...... )


• Subroutines that handle events will be executed whether {
or not the event occurred — wasting processing time and /* Has any data been received from the radio link? */
if ( IsDataAvailable() )
therefore power. {
/* Data is available, so process it. */
These all mean the design will not scale well should the DecodeReceivedData();
LISTING 3. vProcessRadio
ProcessDecodedMessage();
scope of the application be increased, but simple modifica- } Comms() organized as a
tions can be introduced to alleviate these issues. To give } subroutine.
some examples:
/* What was a subroutine is now a program that never exits. */
• Interrupts (an automatic program jump to a special void RadioCommsTask( ...... )
subroutine that is triggered by a change in an input {
state) can be used to ensure momentary changes in /* Loop forever. */
for( ;; )
inputs are not missed. {
/* Has any data been received from the radio link? */
• A timer can be used to make the loop execute with a if( IsDataAvailable() )
{
fixed frequency. /* Data is available, so process it. */
DecodeReceivedData();
• The order and frequency with which each subroutine is ProcessDecodedMessage();
} LISTING 4. ProcessRadio
executed can be changed. For example, Listing 2 } Comms() reorganized as
shows ProcessCollisionSensors() being called twice } a mini program.
within the loop. Executing ProcessCollisionSensors()
more frequently in this manner might prevent it from int main( void )
missing a momentary input. LISTING 5. Creating the tasks
{ and starting the real time kernel.
InitializeHardware();
/* Create each task using the functions provided
While these solutions are simple and sufficient for by the FreeRTOS.org kernel. */
small systems, they will ultimately suffer from the same vTaskCreate( ControlMotorsTask );
shortcomings when used within a more complex or vTaskCreate( RadioCommsTask );
expanding application. A more scalable solution would vTaskCreate( CollisionSensorsTask );
permit the timing and sequencing information to be /* Once all the tasks have been created, the FreeRTOS.org
abstracted out of the application software — which is kernel can be started. */
where the use of a real time kernel such as vTaskStartScheduler();
FreeRTOS.org can assist. /* Once the scheduler has been started the tasks will be
executing, so the program will never reach here. */
An Alternative Approach — }

Using FreeRTOS.org
by rapidly switching each task on to and off of the processor.
As an alternative solution, each subroutine presented in Figure 1 demonstrates this concept. In this diagram, time
Listing 1 is changed into a mini program in its own right. moves from left to right, with the task that is executing at
Each mini program is structured so that it never exits. For any given time being highlighted by the color of the line. For
example, ProcessRadioComms() might have taken the form example, the RadioCommsTask is executing between times t1
depicted in Listing 3 when originally written as a subroutine, and t2, a so-called time slice.
but be converted to the form depicted in
Listing 4 once rewritten as mini program. All available tasks appear to be executing ...
The application functionality is now split
into a set of independent mini programs. To ControlMotorsTask
achieve all the functionality at once, each RadioCommsTask
mini program will have to execute simultane-
ously — which is what FreeRTOS.org allows
t1 t2 Time tn
you to do. Each mini program is called a task,
and executes under the control of the
… but only one task is ever executing at any time.
FreeRTOS.org kernel as in Listing 5.
A standard microcontroller is only capable ControlMotorsTask
of executing a single program at any one time.
RadioCommsTask
The separate tasks are therefore not really
executing simultaneously. The FIGURE 1. Providing the
FreeRTOS.org kernel provides the illusion of simultaneous t1 t2 Time tn
illusion of simultaneous execution execution.
SERVO 11.2006 55
Davis.qxd 10/5/2006 7:45 AM Page 56

FIGURE 2. The highest priority task is


starving the lower priority tasks of
ControlMotorsTask
processing time.
RadioCommsTask
occur sporadically.
CollisionSensorsTask

t1 t2 Time tn 2. The collision sensors task must


react very quickly to any change in
input conditions as a collision could
int main( void ) abstraction we set
LISTING 6. Assigning a priority be imminent.
{ out to achieve. We
to each task as it is created.
InitializeHardware();
must first introduce 3. The motor control task requires
/* This time a priority is assigned to each task prioritization. periodic processing at an accurate and
as it is created. */ Each task is constant frequency.
vTaskCreate( ControlMotorsTask, MediumPriority ); assigned a priority.
vTaskCreate( RadioCommsTask, LowPriority );
vTaskCreate( CollisionSensorsTask, HighPriority );
The FreeRTOS.org Given these assumptions, it would
kernel will not seem prudent to assign priorities as
vTaskStartScheduler(); execute a task if depicted in Listing 6.
} another task has a
higher priority and So far, I have only hinted that a
Prioritization is also able to execute. In other words, task can exist in more than one state:
a low priority task will never prevent a “The FreeRTOS.org kernel will not
So far, organizing our program as higher priority task from executing. execute a task if another task has a
a set of separate tasks has allowed a The priority assigned to a task higher priority and is also able to
higher level of abstraction to be used in becomes an important design decision execute.” Why would we want to make
the program design. and directly affects the execution pat- a task unable to execute?
tern of the tasks — but the execution If a task was always able to
• Partitioning the software into a set pattern is now the responsibility of the execute, then only the highest priority
of separate tasks allows the software FreeRTOS.org kernel. It has been task would ever run. In our case, the
to be more modular with fewer abstracted away from the application CollisionSensorsTask would execute
interdependencies. code itself and therefore, to some permanently to the detriment of the
extent, the application designer. This ControlMotorsTask and RadioComms
• Time slicing has made the execution results in a simplified and more scala- Task (Figure 2).
a degree more predictable — for ble software design. FreeRTOS.org allows a task to exist
example, the CollisionSensorsTask is FreeRTOS.org does not place any in one of the four states — demonstrat-
guaranteed to execute every third time practical limits on the number of differ- ed by Figure 3.
slice, no matter what the other tasks ent priorities that can be used within So far, we have seen the Running
are doing. an application, or the number of tasks state (when the task is actually execut-
that can share the same priority. This ing) and the Ready state (where the
However, we have not yet makes it a very flexible system. Figure 1 task is able to execute, but is not
obtained the timing and sequencing depicts the execution pattern that currently executing). For our applica-
would be obtained if each task tion to execute efficiently, we need to
were assigned the same priority. introduce the Blocked state. (See the
The assignment of priorities to FreeRTOS.org website for information
Suspended
tasks will be dependent on the sys- on the Suspended state.)
tem requirements, input/output While in the Blocked state, a task is
characteristics, and hardware archi- waiting for something to happen. That
tecture. For our example, let us something could be:
make some assumptions about the
Ready Running
behavior we require: • Waiting for a fixed time period to
elapse. The FreeRTOS.org function
1. The radio communications task vTaskDelay() can be used for this purpose.
must respond sufficiently fast to
ensure the buffers used to store • Waiting for an absolute time. The
received data do not become full, FreeRTOS.org function vTaskDelayUntil()
Blocked but the buffers are can be used in this case.
FIGURE 3. Task states quite large and com-
and possible transitions. munications events • Waiting for a queue or semaphore
56 SERVO 11.2006
Davis.qxd 10/5/2006 7:45 AM Page 57

event. Queues and semaphores are void RadioCommsTask( ...... )


mechanisms that permit communica- {
tion with a task. Buffer ReceivedData;

/* Loop forever. */
By way of demonstration, let’s for( ;; )
revisit our task RadioCommsTask, this {
time placing the task into the Blocked /* Read received radio data from a queue. The task will
enter the Blocked state if no data is available. */
state when there is no processing to if( xQueueReceive( RadioQueue, ReceivedData, MAX_DELAY ) )
perform. {
In Listing 7, the task indicates that DecodeReceivedData();
ProcessDecodedMessage(); LISTING 7. RadioCommsTask()
it wants to wait for a period of } transitioning to the Blocked
MAX_DELAY for data to arrive on the } state when no processing is
queue named RadioQueue. If no data } necessary.
is available, it will enter the Blocked
state. When the task leaves the void ControlMotorsTask( ...... ) LISTING 8. ControlMotorsTask()
Blocked state, the received data will { transitioning to the Blocked
have been placed in the ReceivedData Buffer ReceivedData; state when no processing is
buffer. necessary.
/* Loop forever. */
An interrupt routine is used to for( ;; )
automatically place data into {
/* Delay until it is time for the next control cycle. */
RadioQueue as it arrives. This is all the vTaskDelayUntil( LastExecutionTime + 20 );
interrupt has to do, so it is very short.
By the time the interrupt has complet- /* When execution reaches here the task will have transitioned from
the Blocked state first to the Ready and then the Running state
ed, RadioCommsTask will have transi- because the time at which we asked to unblock has been reached. */
tioned from the Blocked state to the PerformMotorControlFunction();
Ready state — and will execute immedi- }
ately if no tasks of higher priority are }
able to do so (Listing 7).
Modifying ControlMotorsTask so it one complete cycle. No other tasks exe- causing RadioCommsTask to leave the
blocks too results in a very simple struc- cute within the same time period. Once Blocked state. It starts to process the
ture. It simply blocks until an absolute it has completed one cycle, it enters the data, but this time ...
time is reached — the time at which it Blocked state again to wait for the time
should start its next execution cycle. at which it should once again execute. • ... at time t6, ControlMotorsTask
See the comments within Listing 8 wants to start its next execution cycle.
for details. • At time t3, some data is received Now both ControlMotorsTask and
Ideally, the CollisionSensorsTask from the radio link — causing the RadioCommsTask want to execute.
will take a similar structure to Listing 7 RadioCommsTask to leave the blocked ControlMotorsTask has the higher
— blocking waiting for a sensor input to state so that it can process the data. At priority, so preempts RadioCommsTask
change. If the hardware does not t4, all the data is processed and there and starts executing immediately.
permit the sensor inputs to generate is nothing for RadioCommsTask to do,
interrupts, it can instead take the so it blocks. • ControlMotorsTask eventually com-
structure of Listing 8, but using a very pletes the processing necessary for that
short delay period to ensure it scans its So far, the execution pattern has control cycle and again enters the
inputs frequently. been simple. Only one task has ever Blocked state — t7. RadioCommsTask is
wanted to be executing at any given once again the highest priority task
Results time. What happens when this is not that wants to execute and completes
the case? its processing before it too blocks at t8.
So how might our program now
execute? Figure 4 demonstrates a possi- • At time t5, more radio data arrives — This demonstrates how the
ble execution pattern. In Figure
4, 13 points in time are high-
lighted and labeled t1 to t13: ControlMotorstask

RadioCommsTask
• Between times t1 and t2,
ControlMotorsTask executes CollisionSensorsTask
t1 t2 t3 t4 t5 t6 t7 t8 t9 t11 t13
FIGURE 4. Sample execution pattern of t10 t12
blocking prioritized tasks.

SERVO 11.2006 57
Davis.qxd 10/5/2006 7:45 AM Page 58

FreeRTOS.org kernel controls the that want to execute — they are all in from www.FreeRTOS.org for inclusion
execution pattern to guarantee the the Blocked state. During these peri- in your software. These source files
timing of the higher priority task. The ods, the FreeRTOS.org kernel can be define a rich set of subroutines — some
lower priority RadioCommsTask was configured to place the microcontroller of which we have used in this example:
forced to wait until ControlMotorsTask into a power down (sleeping) state, vTaskCreate(), vTaskDelayUntil(), and
had Blocked. ControlMotorsTask can saving valuable battery power. xQueueReceive(). These and many
itself be forced to wait for others are documented on the
CollisionSensorsTask, as shown Getting Started With FreeRTOS.org website.
between times t9 and t13. FreeRTOS.org Each type of microcontroller
Figure 4 highlights one other supported by FreeRTOS.org (there are
consequence of this scheme. For large FreeRTOS.org is provided as a set of many) comes with an example
periods of time, there are not tasks C source files that can be downloaded application. An easy way to start with
FreeRTOS.org is to first experiment
with one of these examples, then
modify the example to take out the

Tough Enough for Varsity example code and replace it with your
application code. This way, you start
with something that is already
Engineering Games working. You may want to consider
additional tools such as the GNU GCC
compiler for C which is also available
free-of-charge.
GEARS-IDS™™ More information, tutorials, and
source code can be found at
www.FreeRTOS.org.
One of the great things about
FreeRTOS.org is that it’s free, with sup-
port being provided by users through a
support forum. However, for those of
you who may be interested in incorpo-
rating FreeRTOS.org into your own
commercial product, Wittenstein is
offering a fully supported version along
Vexed by the Limitations of your Robot Kit? with licensing: www.highintegrity
systems.com/freertospro.html
Go with the original GEARS Invention & Design System,
designed by an educator for teachers and students. Conclusion
Only GEARS includes free educational resources that relate to
classroom-tested, industry-grade engineering components: Using FreeRTOS.org enabled us to
✸ All-metal gear head motors: Five times the speed, ten times the power and organize our application as a set of
hundreds of times the expected life cycle of plastic servomotors. prioritized separate tasks. This provided
✸ Pneumatics: Powerful and safe short-stroke cylinder, precision controlled pressure a greater level of abstraction and
relieving regulator with gauge, electronic solenoid, shut off valve and reservoir. removed the necessity for the applica-
✸ Round Stainless Steel Axles, bronze bearings, #25 pitch sprockets and chain, tion to directly concern itself with
Delrin gears, precision-machined aluminum wheels and stainless steel hub adapters. sequencing and timing. Prioritization
✸ 12-Volt Power: Rechargeable battery and commercial grade charger. provided a degree of determinism in
✸ Hard wearing .090 aluminum and .062 stainless structural components for building the execution pattern of the software
robust mechanisms. Easy to assemble #10 fasteners. components to which we assigned a
The GEARS-IDS open platform gives you the power to choose! high priority.
Select additional mechanical, electrical and pneumatic components from any source. If I can find the time, in future
Embrace various microprocessor architectures including Parallax BASIC Stamp. articles, I would like to give some
Utilize salvaged or surplus motors using GEARS supplied motor mounts. practical examples of simple programs
Add your own sensors, cameras, electronics and GPS systems to our sturdy platform.
performing some well-known functions
Approved by high schools and colleges across the country. such as obstacle avoidance or Mini
Sumo wrestling. So, stay tuned. SV
Gears Educational Systems, LLC
105 Webster Street, Hanover, MA 02339 FreeRTOS™ and FreeRTOS.org™ are
781.878.1512 • www.gearseds.com trademarks of Richard Barry.

58 SERVO 11.2006
Full Page.qxd 10/4/2006 2:53 PM Page 59

Producedby Founding Sponsor

Premier Media Sponsor

Premier Association Sponsor

Corporate Sponsors

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 Media Co-Sponsors

www.robodevelopment.com

Association Co-Sponsors
Smith.qxd 10/3/2006 5:36 PM Page 60

How to
Convert Cordless
Drill Motors for Use
in Robot Drives
by Peter Smith
M any robots use small DC motors
and a gearbox to reduce the RPM
and to increase torque. One popular
freight.com) and Homier (www.homir.
com). Harbor Freights Model 91396
and Homier 02899 are suitable. Avoid chuck from the drill (see Photo 2)
way of doing this is to use the combined drills that have “hammer” features and before disassembling the rest. The
gearbox and motor from a cordless drill. remember, the cheaper the better. It chuck is locked in place by a small, left-
These typically have a 12V-18V motor should not be necessary to pay more hand threaded, screw inside the chuck
attached to a 36:1 planetary gearbox. than about $25 per drill. Various voltages itself (see Photo 3). If you are really
There are two main sources for suit- are available but the drills tend to use lucky, you can remove this Phillips #2
able drills. Harbor Freight (www.harbor standard 550-sized motors, so even if the screw using a screwdriver (remember
voltage of the one you get is not to turn clockwise to loosen a left-hand
PHOTO 1 really suitable, the motor can be thread), but they are usually too tight.
replaced by another more suited There are two methods which will
to your application. work to remove it. The first is to use
Output speed is usually another drill to start drilling out the
about 500 RPM at the rated screw. The heat and torque applied by
voltage. They are powerful the drill bit will loosen the screw and it
enough for a pair to run a 12 will come out rather than be bored out
lb combat robot (the robots by the drill. The downside of this
that took the first three places approach is that you need a second drill
in the 12 lb class in the 2006 and that the screw itself will be dam-
RFL National Championship all aged. The second method — and the
used cordless drill parts). one that I use — is to get an “impact
The drill used in this article driver.” The driver must be able to
is the Harbor Freight 91396 (see loosen or tighten screws (many of the
Photo 1) set which came with an cheaper ones only loosen right-hand
18V battery, a small flashlight, thread screws and will only make the
plus some assorted drill bits and left-hand threaded screw on the drill
screwdriver bits. The first thing even tighter!) McMaster Carr part
to do is charge the battery per 5610A2 (www.mcmaster.com) will
the manufacturers instructions. do the job. I needed to use a 1/4” sock-
You’ll need to remove the et and an extension piece to get it to be

PHOTO 2 PHOTO 3 PHOTO 4

60 SERVO 11.2006
Smith.qxd 10/3/2006 5:37 PM Page 61

PHOTO 5 PHOTO 7

PHOTO 6 PHOTO 8

able to reach the screw (see Photo 4.) cut and everything else (apart from
Set the driver to turn clockwise and that left-hand screw) can be discarded.
with the chuck held securely in a vice, There are eight openings around
give the back of the driver a sharp tap (or the front face of the gearbox (see Photo
two) with a hammer and the screw will 10). These are used by the torque
be loose enough to easily remove. Keep adjustment mechanism and we will
the screw (see Photo 5) for later use. now use them to lock the outer ring of
The chuck is threaded onto the the gearbox. The outer ring (see Photo
gearbox using a conventional right- 11) has a series of bumps around one
hand thread. This will usually be too end. If you look into the holes at the PHOTO 9
tight to remove by hand, but there is end of the gearbox and slowly rotate
an easy way to remove it. Fit the newly the shaft, you can see them pass by.
charged battery into the drill and place To allow the gearbox to transmit
a large hex key (see Photo 6) in the power from the motor to the output
chuck. Set the drill in reverse, spin it up, shaft, it is necessary to stop the outer
and then allow the end of the hex key ring from moving. This is done by adding
to strike a solid object (like a vice or 10-24 by 3/16” setscrews (see Photo 12)
workbench). The shock will loosen the into every second opening (see Photo PHOTO 10
chuck and it will come off easily. 13). The setscrews self-tap into the holes
I would advise the use of safety and you should ensure that they engage
glasses and an absence of spectators the gaps between the bumps on the
for the above procedure and don’t do outer ring. Do not over-tighten the
it next to anything breakable! screws as you are likely to distort the
There are two screws on the front gearbox and cause premature wear or
face of the drill under where the chuck failure. All that is required is that the
was attached. Remove these screws outer ring is stopped from rotating.
and then the adjustable torque mecha- The motor/gearbox is now ready for
nism can be removed (see Photo 7). use in your robot. It can easily be mount- PHOTO 11
The device varies on the make and ed by cutting a hole in the side wall of
model of drill, but all the parts can be you chassis that matches the front block
discarded. Next, remove the screws of the gearbox and a support that fits
that hold the two halves of the drill around the motor itself (see Photo 14).
together and lift off the top half (see You can get wheels that fit directly onto
Photo 8). The motor and gearbox (see the shafts from www.cncbotparts.com
Photo 9) can then be lifted out of the (look under Handihubs) and are secured
other half of the case. The wires can be by the left-hand threaded screw. SV

PHOTO 13

PHOTO 14 PHOTO 12

SERVO 11.2006 61
Calkins.qxd 10/5/2006 2:38 PM Page 62

by Dave Calkins

ROBOGAMES
PREP:
Androids!
L
et’s face it. When people think But before you start, you’ve got a The other major event in RoboOne
robots, they think androids. Even few decisions to make: is demonstration. This is the ballet of
we jaded robot builders who robotics. You program your android to
have homes, offices, and garages filled • First, are you going to buy an android, make the best moves possible. I’ve
with motors, wheels, platforms, or make your own? seen RoboOne’s spin on their heads
microchips, and sensors — even we want • Second, in which events will you like break-dancers, do cartwheels,
an android for a robot far more than a compete? complex dance routines — you name it.
wheeled platform. It’s just ... cooler. And that’s the goal of this event — you
Well camper, if it’s an android you Let’s start with the second decision. get to write the rules. You can make
want, get off your duff and build one! That may seem odd, but it’s very impor- your robot do whatever tricks you
Or at least buy one and get modding. tant. You need to decide what events want. Just make sure that your moves
There are now tens of thousands of you really want to compete in first. are better than everyone else’s. This
humanoid robots walking around this event is really the premier showcase
planet, and you don’t need to have Events event at ROBOGames. If you want to
Honda’s budget to afford one. You now show off, this is the best place to do it.
can have a working humanoid robot for RoboOne Other RoboOne events include the
under a thousand bucks. Heck, my first This is what started it all. Terukazu toss (throwing a ball at a target and see-
two-wheeled sumo cost as much as a Nishimura started Robo-One in 2002. ing how close you can get to the center),
low-end android costs these days! The name is a play on the kickboxing the eagle — which is a James Bond style
If you’re patient and willing to fail style K-1 (I guess R-1 was a little too obstacle course, and the stairs, which is
a few times before you succeed, you oblique). In the beginning, the robots the third most popular event after
can build any robot. All robot builders were prone to falling over and very wrestling and demonstration. All you
fail a few times. If you’re patient, have shaky (it seemed like every ‘bot had have to do is climb up and down six stairs.
built a few servo-based robots, are Parkinson’s disease). Nowadays, the
willing to fail a lot, and want to really robots can do cartwheels, toss balls and HuroSot
impress every person you meet, you’re books around a table, and are efficient HuroSot stands for HUmanoid
ready to move up to androids. enough to last for almost an hour before RObot SOccer Tournament, which is a
the batteries need to be replaced. division of FIRA — the Federation of
RoboOne events have evolved International Robot-soccer Association
SPECIAL OFFER quite a bit since they began. In the (a play of FIFA.) Of the three android
Special offer to all SERVO readers: beginning, there was just wrestling. events, HuroSot is the only fully
If you’re reading this, you can get This is still the mainstay of RoboOne. autonomous event, and certainly the
Kondo KHR-2HV for $950 or the Hitec It’s certainly incredibly fun. If you like most difficult. There are four sub events
RoboNova for only $900! That’s $100 combat robots, RoboOne takes the within HuroSot: the robot dash, in which
off the normal price. This is your wheels off and makes the whole sport the bots must run forward about three
chance to buy a biped today and start even more enjoyable. The basic feet, stop, and run backwards to the
preparing to win some medals! Go to concept is very much like boxing — a starting line; the obstacle run, where
http://robolympics.net/servo to get three-minute match, trying to knock robots have to run around a small
your special price. the other guy down for 10 seconds. maze-like course; the penalty kick, which
62 SERVO 11.2006
Calkins.qxd 10/5/2006 2:39 PM Page 63

[ “

]
Well camper, if it’s
an android you want,
get off your duff and
build one! Or at least
buy one and get
modding.
” Photo 1

Photo 2

Photo 3 Photo 4

Photo 5 Photo 6 Photo 7

PHOTO 1. GOOOOOOOOOOOOOOOOOOOAAAAAAL! your android.

PHOTO 2. Building a working android is quite possibly the PHOTO 5. I can’t stand on my head, how does the Pirkus do it?
proudest thing you can do!
PHOTO 6. The android soccer match is way better than
PHOTO 3. A HuroSot free kick match. Look, the goalie has Nintendo or X-Box.
a real tough job.
PHOTO 7. This little guy is controlled with a cell phone! The
PHOTO 4. A little tip: PDAs make for excellent brains for things they come up with these days ...

SERVO 11.2006 63
Calkins.qxd 10/5/2006 2:39 PM Page 64

ROBOGAMES Prep
is one-on-one robot soccer (you must compete in, it’s time to decide what greatly improve the ability to communi-
play both goalie and kicker); and the lift robot to use. There are excellent robots cate with the robots — and if you’re
and carry which tests how much weight available on the market. The RoboNova, robot isn’t getting your commands, it
your robot can hold without falling over. Pirkus, Plen, KHR-1, KHR-2, HRP-2m, doesn’t matter how powerful it is.
Manoi, and others can all be purchased The other option is, of course, to
Android Soccer on-line. Some come assembled, some build your own android from scratch. If
Android soccer was invented for are kits, some are as cheap as $850. All you want to go this route — good for
those control freaks (such as myself), of these are competitive out of the box. you! This is the best way to learn, and
who don’t want to wait for the robots Which isn’t to say that they can’t be you’ll certainly be cooler than all the
to perform autonomously. You want the made significantly more competitive by people who bought kits. Before you
robot to be remote controlled, and do modding them. Matt Bauer, Tony Ohm, start building your robot, here are some
as it’s told, dammit! Just like real soccer, Dan Albert, and I all significantly modi- tips on building successful androids:
there are high points and low points. fied our RoboNovas before last year’s
Having four or five robots surround the event. Matt added gripper hands, a cam- • Focus on perfecting the robot’s walk-
goal and try to make a play is incredibly era, swiveling hips and more batteries in ing ability. Your robot should be able to
exciting and tense — the crowd really the feet (which also lowered the bot’s walk four feet or 10 steps without
gets charged up! And just like real center of gravity and improved its falling down. Nothing else matters if
soccer, more often than not, the goalie walking ability). Tony had the biggest you can’t do this.
makes the save or the kicker misses the changes, adding eight servos total, to his
net, and no one scores. But when some- hips, thighs, and wrists. Dan and I both • The more you can spend on servos,
one does score, the crowd goes wild. converted ours from infrared (which is the better. The $10 HS-300s won’t work.
It is, of course, possible to really ineffective for most robots) to They’ll strip and you’ll have to throw
compete in all three competitions. No Zigbee wireless for communications and them out. Get the highest torque servos
one has ever done it, but you could used Sony Playstation controllers for you can possibly afford for the legs, and
certainly be the first! control. This didn’t make the robots any the second best for the arms. The newer
Once you know which events you’ll stronger or more articulate, but we did digital servos can give you as much as
333 ounces of torque per square inch at
six volts (but the 125 oz/in digital servos
ANDROID EVENTS RULES SUMMARY will work). Saving money on cheap ser-
HuroSot three, but practically, it’s easier to have vos will end up costing you more money
• Robot must be fully autonomous. one human per robot. when all the servos die and you have to
throw them out and buy new ones.
● Robots are grouped into three sizes: ● Robots must follow human soccer
small (up to 50 cm/19-3/4” tall with a rules — no hitting, and certainly no • Use aluminum for the frame, unless
14 cm/5-1/2” foot); medium (80 flopping. you can afford titanium and know how
cm/31-1/2” tall, with a 20 cm/7-3/4” to bend it. Steel is too heavy, and
foot); and large (150 cm/59” x 35 RoboOne almost any plastic (include polycarbon-
cm/13-3/4”). ● Robots can be autonomous or R/C.
Like soccer, you can use almost any ate) isn’t strong enough to withstand
● Robots may have sensors, but all freq to control. the forces on it.
sensing must be human equivalent
(for example, vision is okay, but sonar ● Robot maximum height is 37 cm/15”. • Make the foot as long and wide as
is not.). the rules will allow. Generally, that
● Robot’s feet length can be no means the foot length is 60% of the
● Humans may not touch the robots greater than 60% of leg height, and leg length or 30% of the body length.
during play. foot width can be no more than 40% It’s certainly possible to make it smaller
of leg height. (including eliminating the foot entirely
Android Soccer and balancing on a single point), but
● Robots are R/C. You can use 75 ● Wrestling is won by one robot
MHz, WiFi, IR, or Bluetooth. You can knocking the other off its feet for 10 it’s generally easiest to have a big foot.
use any kind of controller (Playstation, seconds. If your robot falls down by
PC, joystick, etc.). itself, it is not considered knocked out. • Once you’ve perfected your robot’s
ability to walk and balance without
● Robot maximum height is 37 cm/15”. The above are rule summaries. falling down, work on increasing the
Complete rules for all events are at speed. If you can move even a little
● 3-on-3 competition — You get a total http://robolympics.net/events — you faster than the other robots, you’re at
of three robots to play. You can, in should check each rule set for exact a huge advantage. This is immediately
theory, have one person controlling all details.
negated the second you fall down.
64 SERVO 11.2006
Calkins.qxd 10/5/2006 2:39 PM Page 65

Photo 8 Photo 9

PHOTO 8. Some HuroSot


builders and their androids.

PHOTO 9. Winning a medal at


ROBOGames is the ultimate glory.

PHOTO 10. Modifying a


RoboNova makes for an excellent
fighter (note the extended legs,
hips, and arms).

Photo 10 Photo 11 PHOTO 11. Italy better watch out.

• Get good gyros or accelerometers, modifying a kit isn’t required, but it other robot builders, but it will also
and make your robot able to constant- will make your robot much more force you to improve your android well
ly maintain its balance (this is called competitive. beyond what you’d do if you were just
proprioception or kinesthesia). Many Androids are some of the most working against yourself. If you want
androids don’t have a sense of “up” or challenging and rewarding robotics to see robotics grow to its full poten-
“falling” and will often “walk” while projects out there. Going to a robot tial, there’s nothing like an android to
laying flat on their backs (thus, going competition not only lets you meet push you beyond your limits. SV
nowhere). Give your robot a cochlea!

• Be able to self-right. Make your robot


self-aware so that it can stand up again
immediately when it does fall down.

• Use an electronic compass in-line


with your walking program to keep a
constant bearing so you’re not drifting
off course.

• If you buy a robot platform (e.g., a


RoboNova), all of the above advice still
applies.

So how do you proceed? Well, first


figure out what both your time and
money budgets are. If you’re an experi-
enced robot builder, you can probably
go ahead and build one from scratch. If
you haven’t built many robots, or you
don’t have a lot of time, you should
start with a kit and modify it. Again,
SERVO 11.2006 65
SERVO Xmas AD Nov06.qxd 10/5/2006 2: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 free)
____________________________________________
❑Visa/MC/Amex/DiscoverCard
City _________________________________________________ 818-487-4545 (outside US)
State ___________ Zip ________________________________ __________________________________ www.servomagazine.com
Card # Exp. Date
Phone ______________________________________________
__________________________________ When ordering, use promotion
Email ________________________________________________ Name on card code Y6EXMS
Full Page.qxd 10/4/2006 2:55 PM Page 67
Events.qxd 10/5/2006 7:26 AM Page 68

Send updates, new listings, corrections, complaints, and suggestions to:


steve@ncc.com or FAX 972-404-0269

Only 10 more robot competitions 18-19 Eastern Canadian Robot


on the calendar for 2006! They’re Games
spread out all over the world, so you Ontario Science Centre,
shouldn’t have any trouble finding one Ontario, Canada
nearby to attend. November and Multiple events including fire-
December bring events in Alabama, fighting robots, sumo, BEAM
Hawaii, Nevada, Pennsylvania, and photovore, BEAM solaroller, a
Texas, as well as in Austria, Canada, walker triathalon, and art
Japan, and Spain. robots.
Of particular interest in November www.robotgames.ca
is the All Japan MicroMouse Contest. If
you have a chance to catch this one, 24-25 Hawaii Underwater Robot
you’ll be amazed at these speedy little Challenge
maze-solving robots. Seafloor Mapping Lab,
Know of any robot competitions University of Hawaii,
I’ve missed? Is your local school or Manoa, HI
robot group planning a contest? Send ROVs built by university and
an email to steve@ncc.com and tell me high-school students compete
about it. Be sure to include the date in this event, which is part of
and location of your contest. If you the MATE (Marine Advanced
have a website with contest info, send Technology Education) series
along the URL as well, so we can tell of contests.
everyone else about it www.mpcfaculty.net/jill_
For last-minute updates and zande/HURC_contest.htm
changes, you can always find the
most recent version of the Robot 24-26 All Japan MicroMouse
Competition FAQ at Robots.net: Contest
http://robots.net/rcfaq.html Nagai City, Yamagata, Japan
Includes Micromouse,
— R. Steven Rainwater Micromouse Expert level, and
Micro Clipper events.
N ov e m b e r www.robomedia.org/direc
tory/jp/game/mm_japan.
12 AESS National Robotics html
Contest
Barcelona, Spain
Sumo, mini sumo, and other December
events for autonomous mobile
robots. 1-2 Texas BEST Competition
http://aess.upc.es/cosurs Moody Coliseum, SMU,
robot Dallas, TX
In the Texas BEST
18 DPRG RoboRama Competition, students and
The Science Place, Dallas, TX corporate sponsors build
Events include Quick-Trip, robots from standardized kits
line-following, wall-following, and compete in a challenge
T-Time, and Can-Can. that is different each year.
www.dprg.org/competitions www.texasbest.org

68 SERVO 11.2006
Events.qxd 10/5/2006 7:28 AM Page 69

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
SERVO 11.2006 69
RoboResources.qxd 10/3/2006 4:55 PM Page 70

Tune in each month for a heads-up on


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

Finding and Entering


Robot Competitions
Y ou may remember the combat
robot craze a few years ago. At one
time, there were three TV programs
else’s can help you improve your
design, skill, and knowledge.
Most non-builders associate com-
course, or confuses the relay lines, it’s
disqualified. A variation on the theme
popular with the group is T-Time, which
broadcasting the mayhem from battles bat fights as robotic competition but, in has a more complicated path to follow.
around the world. Combat competition fact, there are far more non-destructive
was one of the fastest robotics genres, programs out there. Some — like the • Line-Following. One of the easier
and looked unstoppable. But if you go Trinity Firefighting contest held each challenges in its simple forms, line-
by the TV shows alone — none of which year in the spring in Hartford, CT — are following demonstrates the ability of a
are still on the air except in reruns — you world famous. But most are ad hoc robot to identify a contrasting line on
might think this whole notion of games set up by local robotics user the floor, and trace it from start to end.
battling bots has gone the way of the groups. The competitions/challenges Generally, the robot that can complete
Pet Rock. To the casual observer, robot are varied, and often reflect the the course in the fastest time possible,
competitions have all but ended. personalities and skill levels of the group without losing the line completely,
That, of course, is far from the members. The Dallas Personal Robotics wins. This is a great competition for any
truth. Television has a way of altering Group, which meets weekly in Dallas, group because the complexity of the
our perception of reality. Though the TX, is one of the more active groups test area can be changed to enhance
fad of the televised robot war-style bat- that regularly holds competitions. A run- the challenge for more experienced
tles has come and gone, competitions down of their events are good examples builders. Some groups have pre-marked
are alive and well, from the lowly line- of what you might find elsewhere: tiles they lay down on the ground, so
follower to the smash ‘em, crush ‘em that the course changes each time.
fights of remotely-controlled stainless • Mini Sumo. Robots that fit a certain
steel ‘bots. Just because it’s not on TV weight and size standard (must fit in a • Wall-Following. Another navigation
doesn’t mean it’s disappeared! 100 mm square) face off in a miniature competition, using sensors of some
circular sumo arena. The idea is simple: kind to detect walls. The goal is to get
Examples of Robotics Your robot must push the other robot the robot to travel from point A to point
out of the arena. Sounds simple B by using the physical wall of a room.
Competitions enough maybe, but this isn’t a remote
Before looking at some of the controlled event like most robot • Can Retrieval. The robot must locate
more popular robot competitions (or combat. Your bot must identify the and retrieve one or more empty 12-
challenges, as they are often referred opponent, work to push the opponent ounce beverage cans.
to when in an academic setting), let’s off the area, while at the same time
explore a few reasons why you’d want know not to cross outside the bound- Additional competitions that are
to bother in the first place. Basically, it aries, or else it will be disqualified. fairly common include mazes, where a
all comes down to applying robotics robot must successfully solve a maze;
technology and programming to • Quick Trip. A variation of the path ball collecting, wherein the robot finds
achieve a stated goal, while at the navigation problem, where a robot a pool, tennis, or ping pong ball and
same time having a little bit of fun. must travel within a preset area. The brings it back; and soccer, where a fully
Building a robot tends to be an open- path is a simplified straight line back autonomous robot plays traditional
ended effort, and pitting the current and forth, but don’t be so quick to soccer (football for outside the US).
version of your robot against someone think this is easy. If the robot veers off Some of competitions are group
70 SERVO 11.2006
RoboResources.qxd 10/3/2006 4:55 PM Page 71

sports, where a team of robots is convenient. At my local user group in effort to promote, educate, explore, and
compete against another team. San Diego, CA, we’ve sometimes met compete in the field of hobby robotics.
at a nearby electronics store when our The club is located in the greater Peoria
Finding a Competition regular meeting place has been area and meets monthly.”
unavailable. Once the group is formed,
As already noted, most robotics you can create competitions, and invite Chicago Area Robotics Group
competitions are sponsored by local user other members to participate. www.chibots.org
groups. There are other choices if you’re Illinois, Chicago
a student in school. A nationwide (and Sources Very active slate of competitions.
international) event called FIRST (For
Inspiration and Recognition of Science Here is a list of many national and Connecticut Robotics Society
and Technoogy), brings school groups international competitions, including www.ctrobots.org
together to compete in general robotics those that are only open to full-time Connecticut, Hartford
and LEGO-based challenges. Many students. I’ve also thrown in a number As per the website: “We are a
colleges and universities that offer a of local user groups. Web pages or unique group of friends, experimenters,
robotics or mechanical engineering pro- message boards for the local groups are and mad scientists who meet monthly
gram support their own competitions, provided, along with their general in Hartford, Connecticut ... Our
and sometimes work with sister schools location. Do note that user group home interests are in electronics, mechanics,
to put on major events. You’ll want pages can change fairly frequently, fun, and the sciences involved in
to talk with your faculty advisor to especially if the group doesn’t have its automation and homebuilt robots.”
determine if your school offers a formal own unique domain name. If a group’s
robotics competition program. If they page is no longer available, you may still DARPA Grand Challenge
don’t, consider helping them start one. be able to find it using a Google search. www.darpa.mil/grandchallenge
In many urban areas of the coun- Major US-sponsored competition
try, you can find at least one robotics Art & Robotics Group (ARG) that involves a serious quest to demon-
user group, and these groups are the www.interaccess.org/arg strate a fully autonomous outdoor vehi-
natural springboards for competitions. Canada, Ontario, Toronto cle that can travel hundreds of miles.
Many group meetings are held in User group, discussion board, and
business parks, school auditoriums, or latest news on the artistic side of Dallas Personal Robotics Group
someone’s home. Monthly meetings robotics. (DPRG)
are the most common, and they tend www.dprg.org
to be informal, with show-and-tell and Atlanta Hobby Robot Club Texas, Dallas
member presentations, along with www.botlanta.org Projects, tutorials, articles. The
occasional announced competitions. Georgia, Atlanta DPRG also sponsors the well-received
Once you’ve found a group, you can RoboRama competitions. Events
determine which competitions they regu- Battlebots include line-following, sumo, fire-
larly support. If one interests you, be sure www.battlebots.com fighting, and others. See www.
to get a list of the competition rules, so Just to show combat robotics is dprg.org/dprg_contests.html.
that if you enter your ‘bot, it won’t be not dead!
immediately disqualified if it weighs too Denver Area Robotics Club
much, is too large, or has some other Botball www.ranchbots.com
feature that isn’t allowed. Talk with other www.botball.org Colorado, Denver
members about the competition, and ask Regional competitions, which also
for pointers and feedback. Though it is a include a workshop and construction HomeBrew Robotics Club
competition, most user group members seminars. The specific challenges vary www.hbrobotics.org
are there to share ideas, and are more each season. California, San Jose
than willing to help out a potential win-
ner in the next challenge. Only the most Carnegie Mellon Robotics Club KISS Institute for Practical
hardcore of competitors keep the secrets www.roboticsclub.org Robotics (KIPR)
to themselves, and you can usually Carnegie Mellon University www.kipr.org
identify those fairly quickly. Let them In the words of the website: “KISS
have their fun while you have yours. Central Illinois Robotics Club Institute for Practical Robotics (KIPR) is
If there’s no user group near you, circ.mtco.com a private non-profit, community-based
consider starting it yourself. All it takes Illinois, Peoria organization that works with all ages
is a desire and at least one other mem- Says the site: “The Central Illinois to provide improved learning and skills
ber. Meetings can be held wherever it Robotics Club was founded ... in an development through the application
SERVO 11.2006 71
RoboResources.qxd 10/3/2006 4:55 PM Page 72

of technology, particularly robotics. Robot Competition Wiki robotics enthusiasts. Visit to get ideas
We do this primarily by providing en.wikipedia.org/wiki/Robot_ about competitions, and to help find
supplementary, extra-curricular, and competition local groups.
professional development classes and General page on various robotic
activities. KISS Institute’s activities competitions. Regularly updated. Titan Robotics Club
began in 1993.” KIPR also sponsors the www.titanrobotics.net
annual Bot Ball tournament for middle Robotics Society of Southern International School Robotics
and high school students. California Club. This is for high-schoolers and
www.rssc.org middle-schoolers who are interested in
Nashua Robot Club California, Fullerton robotics.
nashuarobotbuilders.org
New Hampshire, Nashua San Diego Robotics Society Triangle Amateur Robotics
www.sdrobotics.org triangleamateurrobotics.org
Phoenix Area Robot California, San Diego North Carolina, Raleigh
Experimenters
www.parex.org San Francisco Robotics Society Trinity Firefighting Content
Arizona, Phoenix of America www.trincoll.edu/events/robot
www.robots.org The Trinity Firefighting Contest is
Portland Area Robotics Society California, San Francisco an annual national event that tests
www.portlandrobotics.org The San Francisco Robotics Society the skill of robots to locate and put out
Oregon, Portland of America also sponsors the annual the fire of a small candle in a model of
From the site: “The Portland Area Robot Sumo conference. a building.
Robotics Society is a club formed to help
those interested in learning about and Seattle Robotics Society Twin Cities Robotics Group
building robots. The club involves pro- www.seattlerobotics.org www.tcrobots.org
fessionals, amateurs, students, college Washington, Seattle Minnesota, St. Paul
professors, engineers, artists, hobbyists, SRS has a major presence on the Twin Citites Robotics Group is
and tinkerers. PARTS will help explore all Internet, and publishes the Encoder, an self-described as “a loose affiliation of
aspects of robotics for its members, and online technical journal on amateur people interested in robots, located in
work toward expanding communication robot building. the Twin Cities metro area.” The site
between robot enthusiasts. PARTS hosts a number of useful resource
members share ideas, experience, and Southern Oregon Robotics Club pages, includes articles (identified by
enthusiasm for building robots.” www.sobotics.org skill level), useful links, and colorful
Southern Oregon photos of the monthly meeting show-
Robocup Sponsors RoboMaxx and other ing people and robots in action.
www.robocup.org competition events.
Robotics soccer. So far, there are Union College Robotics Club
no Beckhams in the robotics field, but The Robot Group www.vu.union.edu/~robot
they’re getting close! www.robotgroup.org New York, Schenectady
Texas, Austin
Robot Competititon FAQ From the website: “The Robot US FIRST
robots.net/rcfaq.html Group was founded in the spring of www.usfirst.org
Useful generic information on all 1989 by a small group of Austin, TX Parent site to FIRST, “For
types of robot competitions. artists and engineers who shared a Inspiration and Recognition of Science
common vision: utilizing technology to and Technology.” Supports numerous
RobotBuilders.Net provide and explore new mediums for competitions and challenges across the
www.robotbuilders.net art. Through the synergy of fusing art country. FIRST and FIRST LEGO
Umbrella website for various and technology, The Robot Group has Leagues are both international events
specialty Internet-based robot building stimulated the public into a playful (www.firstlegoleague.org).
clubs. Some competition events are interest in high technology, and art now
supported. has new vehicles for effecting culture.” Vancouver Island Robotics
www.vancouverislandrobotics.
• B-9 Club The Robotics Club of Yahoo (TRCY) org
• Robot Club groups.yahoo.com/group/the Canada, Vancouver Island
• R2-D2 Builder’s Club roboticsclub Vancouver Island Robotics spon-
• The Drone Room (Silent Running) Major Internet-based group of sors workshops and day camps. SV
72 SERVO 11.2006
RobolinksNov06.qxd 10/5/2006 2:33 PM Page 73

Electronic Parts & Supplies


Since 1967

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 11.2006 73
BookstoreNov06.qxd 10/5/2006 7:40 AM Page 74

dy
Mind Cany
For Toda t
Roboticis
’s The SERVO Store
Amphibionics SERVO CD-Rom 123 PIC Microcontroller
by Karl Williams Are you ready for Experiments for the Evil Genius
This work provides some good news? by Myke Predko
the hobbyist with Along with the first Microchip continually
detailed mechanical, 14 issues of SERVO updates its product
electronic, and PIC Magazine, all issues line with more capable
microcontroller from the 2005 and lower cost prod-
knowledge needed calendar year are ucts. They also provide
to build and program now available, as excellent development
!
a snake, frog, turtle, well. These CDs NEW tools. Few books take
and alligator robots. include all of advantage of all the
It focuses on the Volume 1, issues 11-12, Volume 2, issues 1-12, work done by
construction of each and Volume 3, issues 1-12, for a total of 26 Microchip. 123 PIC
robot in detail, and then explores the world issues all together. These CD-ROMs are PC Microcontroller
of slithering, jumping, swimming, and walk- and Mac compatible. They require Adobe Experiments for the Evil Genius uses the
ing robots, and the artificial intelligence Acrobat Reader version 6 or above. Adobe best parts, and does not become depend-
needed to make these movements happen Acrobat Reader version 7 is included on the ent on one tool type or version, to accom-
with these platforms. Packed with insight discs. $24.95 – Buy 2 or more at $19.95 modate the widest audience possible.
and a wealth of informative illustrations. each! Building on the success of 123 Robotics
$19.95 Experiments for the Evil Genius, as well as
the unbelievable sales history of
The Official Robosapien Programming and Customizing the PIC
Robot Builder's Bonanza Hacker's Guide Microcontroller, this book will combine the
Third Edition by Dave Prochnow format of the evil genius title with the follow-
The Robosapien robot ing of the microcontroller audience for a
by Gordon McComb / Myke Predko
was one of the most sure-fire hit. $24.95
Everybody's favorite
popular hobbyist gifts
amateur robotics book
is bolder and better
of the 2004 holiday PIC Basic Projects
season, selling approxi- by Dogan Ibrahim
than ever — and now
mately 1.5 million units Covering the PIC
features the field's !
"grand master" Myke
at major retail outlets. BASIC and PIC BASIC NEW
The brief manual PRO compilers, PIC
Predko as the new
accompanying the Basic Projects pro-
author! Author duo
robot covered only vides an easy-to-use
McComb and Predko
basic movements and maneuvers — the toolkit for developing
bring their expertise to
robot's real power and potential remain applications with PIC
this fully-illustrated robotics "bible" to
undiscovered by most owners — until now! BASIC. Numerous
enhance the already incomparable content
This timely book covers all the possible simple projects give
on how to build — and have a universe of
design additions, programming possibilities, clear and concrete
fun — with robots. Projects vary in complexi-
and "hacks" not found anyplace else. $24.95 examples of how PIC
ty so everyone from novices to advanced
hobbyists will find something of interest. BASIC can be used
Among the many new editions, this book to develop electronics applications, while
features 30 completely new projects! $27.95 50 Model Rocket Projects larger and more advanced projects describe
for the Evil Genius program operation in detail and give useful
by Gavin D. J. Harper insights into developing more involved
Yes, as a matter of fact, microcontroller applications. $29.95
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
74 SERVO 11.2006
BookstoreNov06.qxd 10/5/2006 7:40 AM Page 75

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 N E W ! 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 11.2006 75
BrainMatrix.qxd 10/5/2006 2:30 PM Page 76

12 SERVO HEXAPOD KITS


WITH TWO DOF LEGS

Sp
ee
W
G

Pa t w ctro ce (

d
ei e ear
ro

on
yl /o n
gh le an n.)
un

oa b ic n.)

ho
d

St

Se 6
d att s (

riz
c

Bo

an

rv V (
ca er oz
l

Le
on
Le

dy

da

o oz
pa ie .)
W

g
ta
ei

to .-
ng

rd
ci s &
id

m
gh

lg

rq in
ty
th
th

at

at

se
M

ro
t

ue .)
(o

er

er
od

rv
(in

(i
(in

un
i
MANUFACTURER

z.

ia

ia

at
os
el

.)
.)

d
)

l
HexCrawler 19.56 15.75 6 3.5 64 120 6 in/sec 5052 6062 HS-322HD 51
Aluminum Aluminum
Crustcrawler
www.crustcrawler.com
5052 6062
HexRod HD 16 13 6.25 2.75 55.2 120 6 in/sec Aluminum HS-322HD 51
Aluminum

Joinmax Hexapod
19.57 9.04 6.73 3.54 33.9 97.7 2 in/sec ABS Plastic ABS Plastic JM-CB-1000 3.0Kgf.cm
www.mciirobot.com Monster

Lexan/
EH2C-KT 13 16 5.5 3 48 32 12 in/sec Lexan Anodized HS-422 57
Aluminum

Mini Hexapod 10.5 12.5 5 2.5 40 16 9 in/sec Aluminum Aluminum HS-422 57


Project
Lynxmotion
www.lynxmotion.com
AH2C-KT 13 13 7.5 5 52 32 7 in/sec Aluminum Aluminum HS-422 57

Walking Stick 20 15 7.5 5 50 40 8 in/sec Aluminum Aluminum HS-475 76


Project

Supertec S03
Milford Instruments Ltd. Hextor 18 13.5 9.5 3 56 53 6 in/sec Expanded Expanded – hips, 56 – hips,
www.milinst.com P/N 5-780 PVC PVC Supertec S06 111 – knees
– knees

HexCrawler HexRod HD Hexpod Monster

EH2C-KT

76 SERVO 11.2006
BrainMatrix.qxd 10/5/2006 2:30 PM Page 77

by Pete Miles

Upcoming topics include SBCs and H-bridges, sensors, kits, and actuators. If you’re a manufacturer of one of these items, please send your
product information to: BrainMatrix@servomagazine.com Disclaimer: Pete Miles and the publishers strive to present the most accurate
data possible in this comparison chart. Neither is responsible for errors or omissions. In the spirit of this information reference, we encourage
readers to check with manufacturers for the latest product specs and pricing before proceeding with a design. In addition, readers should not
interpret the printing order as any form of preference; products may be listed randomly or alphabetically by either company or product name.

co mo
re
St

St

nt te
an

Re
an

ro c
Re r tr
of

ad
da

da

co t

lle on
Pr ion (s

co or l o
di
co
rd

m yp
rd

St
ot a qu
Se

m au p
t
nt

f
m e

an e
ot l e ar
se (
rv se

m to er
ro

en fo
yp lec e
r

da lec
ic
o c

en n at
vo inc

lla

o
ro

de r s
sp /60

in tr in.

rd tr
de om ion
bl
co lud

g on )

Li
co

d er
ee d

d ou

in on
e

ar ic

st
ba vo
nt ed

nt
d eg

cl ics
C
m s
se

ea s
ro )

Pr
ro

tt s
at

ud
ol
ic /
rv

er

or
lle

lle

ic
ro
fo

ed
6V

os

e
y

s
r
r

-
r

Parallax BS2 — 7.2V 3,000 mAh Graphite- Parallax USB Board of


0.15 Servo 16 282 Any $695
Included NiMH Black Education
Controller
Parallax Parallax USB Board of
7.2V 3,000 mAh
0.15 Servo 16 BS2 84 Any Blue-Black $559 Education,
NiMH
Controller LCD App Mod.

0.18 JM-CB-1000 16 ATMEGA16L 20 1.5V AA (NiCd) PC Tether Yellow-Grey $390 Optional


Qty 5
Black,White,
6.0V 1,600 mAh
Basic Atom Yellow,
0.16 SSC-32 32 48 or 7.2 VDC 2,800 Atom 28 Tinted, or $470.70 Bot Board
28 mAh NiMH Clear Lexan
Black
6.0V 1,600 mAh
Basic Atom or 7.2 VDC 2,800 Atom 28 Anodized or $486.88
0.16 SSC-32 32 6 Bot Board
28 Brushed
mAh NiMH Aluminum
Black
Basic Atom 6.0V 1,600 mAh Anodized or $597.13
0.16 SSC-32 32 48 or 7.2 VDC 2,800 Atom 28 Bot Board
28 Brushed
mAh NiMH Aluminum
Black
6.0V 1,600 mAh
Basic Atom or 7.2 VDC 2,800 Atom 28 Anodized or $784.43
0.18 SSC-32 32 30 Bot Board
28 Brushed
mAh NiMH Aluminum
Milford Walking co-processor,
intelligent ultrasound scanning
0.23 hips, Expansion 7.2V 2,000 mAh
three-servo 16 BS2sx Any Red-Black £499.00 head, teaching LCD
0.33 knees Port NiCd
controllers, pendant, IR remote
Qty 5 control, touch sensors

Hextor P/N 5-780

Mini Hexapod Project AH2C-KT Walking Stick Project

SERVO 11.2006 77
Appetizer.qxd 10/3/2006 4:51 PM Page 78

Why It’s Great to


be the BEST
by Dr. George Blanks, with Steve Marum and Ted Mahler

F or six years now, I have volun-


teered my time with a non-profit
robotics competition based in Dallas,
One answer can be seen in a small
piece of the event that often goes
unnoticed. In this tiny slice of time, a
who can’t. Each year, BEST helps
students push through that barrier.
Life is a set of problems. A broken
TX called BEST Robotics, Inc. It’s an student’s actions become a microcosm water heater, a flat tire, a tax form to
all-volunteer group of hundreds of folks of the entire reason for BEST. It hap- fill out, a jammed manipulator arm on
at 31 competition sites (“hubs”) in 14 pens only in the frantic few minutes a robot driving on the surface of Mars,
states ... and growing. This fall, aroundbefore a round of competition starts. two nations on the brink of war — they
675 schools — over 11,000 students — Those final few seconds when all eyes are all problems. Once the problem
will participate in the six-week-long are on them, the crowd noise is barrier is broken, problems are
competition, which is underway. deafening, and the time pressure is replaced with process.
I thought the “BEST” way to mounting. It happens when that BEST changes mindsets. BEST
present what this competition is all student makes the sudden realization places students in a situation that
about was to submit a welcome letter that their robot is not working. conditions their mind. It is a situation
that appears in the front of our annual What happens then reflects every- that flows from concept, to physical
report, which can be downloaded at thing that student has learned in BEST. structure, and finally to operational
www.bestinc.org ... In that pressure cooker environment, use. Using robot design and competi-
young students walk through a tion, BEST presents an opportunity for
Why Do We Do cognitive detective process worthy of students to break the problem barrier.
Our BEST? any NASA mission controller. Without BEST appears first as an almost
their adult mentors to help, under time insurmountable problem and ends with
Why do we do this? Why do teach- pressure and under emotional strain, the accomplishment of a solution; in
ers, mentors, and hundreds of BEST vol- they encounter a remarkable 60- the middle, a process. That process is
unteers devote countless hours of their second life lesson. the key. Somewhere in that process the
personal time to this program? What is Most push through. They do it problem barrier is broken and, in
it about BEST that is worth the effort? because in the proceeding six weeks of these young minds, the perception of a
design, test, and problem is changed.
Steve Marum and Ted Mahler — redesign, they have Our country, our world, needs
Co-founders of BEST Robotics, Inc. learned a skill. They these changed young minds. Young
have learned how minds that understand problems are
to break the problem not endpoints, but undiscovered
barrier. answers waiting for the correct
Breaking the prob- process. That’s why we
lem barrier is the realiza- do this. That’s why we
tion that a problem is continue to do our
not an endpoint, but BEST. SV
only an answer not yet
found. Being able to
break the problem
barrier divides students
who can from those
78 SERVO 11.2006
Then&Now.qxd 10/5/2006 7:41 AM Page 79

Then NOW

a n d
ROBOT VACUUM CLEANERS
AND LAWN MOWERS
b y T o m C a r r o l l

I t’s Saturday morning and you’ve


slept in. The bed is soft and cozy
when you are awakened to the whir of
mounted to a mobile robot base. These
early machines were more of an
experiment in functionality than actual
tiful machine may not have been able to
snake its way under a low coffee table,
but it was one of the most stunningly-
a motor off in the distance. You look at usefulness. It did not take experi- built robots that I had ever seen.
your alarm clock and see the blue menters long to discover that a vacuum Today’s robot vacuum cleaner
“8:00” shining back at you. Oh, yeah, cleaner’s cleaning power was not just a designers have been “backed into a
it’s time for my robot vacuum cleaner result of the vacuum level attained in corner” of sorts as they soon realized
to begin its daily ritual. Then, suddenly, ”inches of water,” but also the volume that greater cleaning ability required a
you hear a louder whirring noise of air moved in cubic feet per minute at larger motor. A larger motor required a
outside your window as your robot that lowered pressure. We’ve all seen larger battery. Longer operating time
lawn mower begins it weekly chore. the TV ad where the hand-held vacuum also required a larger battery. A small-
“Dang,” you mutter to yourself, “I’ve cleaner is attached to a large funnel er, practical size was certainly more
got to re-program those things to start and the spokesperson sucks a bowling desirable for a typical homemaker. All
later on Saturday; I need my sleep.” ball onto the funnel and lifts it up. This of these requirements were hard to
Ahh, the ubiquitous labor-saving in no way demonstrates the cleaning meet in a mobile robot. What was the
tools of the modern age! These two ability of a vacuum cleaner as we could designer to do?
appliances are the epitome of a robot easily do the same thing sucking with The first step was to reduce the
experimenter’s goal. Every homeowner our mouth. If the funnel had an effec- motor’s power requirements, thus
would like a lawnmower that can tive area of only 20 square inches reducing the battery size and, there-
decide when the grass needs to be touching the 16-pound ball, less than fore, the overall machine’s size and
mowed, have it exit from its storage one pound per square inch (or two
area, and mow the lawn completely inches of mercury) of vacuum (out of Figure 1. This is Frank Jenkins’
without a person’s involvement. It 14.7 PSI) suction with your mouth home-built robot.
must safely perform this task effective- could allow you to lift the ball. Vacuum
ly in the midst of people, obstacles, cleaner design is a bit more complex
children’s toys, and pets. Today’s than just raw suction.
homemaker wants the same thing in a Figure 1 shows an early home-built
vacuum cleaner for carpets and floors, robot vacuum cleaner that was a work
but operating within the ever-changing of art, though a bit tall to clean under
environment of a home. Tall orders? most furniture. Frank Jenkins of the
Possibly — several decades ago. Robotics Society of California demon-
strated his home vac for our group 15
Robot Vacuum years ago. At 23 inches high and 44
pounds, HomeR was a bit larger than
Cleaners Design today’s machines, but contained over
Dilemma 80 sensors. It used an Ampro 386SX
board computer with four megabytes of
The first experimenter-built robot memory. It also had a Black and Decker
vacuum cleaners that I remember all hand vacuum system built in for the
used a “Dust Buster” type of battery- sweeping function and could find its
operated, hand-held vacuum cleaner way back to a charging dock. This beau-
SERVO 11.2006 79
Then&Now.qxd 10/5/2006 7:42 AM Page 80

weight. Now, with less effective suc- other design issues. a ‘cool’ factor; he wanted as machine
tion and “cleaning power,” the design- that would do a job well. Jones — the
er was left with slowing the robot vac- The iRobot Roomba lead designer for the Roomba —
uum’s speed down to have the nozzle designed it with an undercarriage
over a given area for a longer period of There is no doubt to all of us that containing the dirt collection pan and
time, or, devising an overall better the iRobot Roomba is the run-away the revolving brushes that rise or lower
nozzle arrangement augmented with best selling “home robot” ever, with according to the floor type. You may
rotating brushes or similar devices. over two million sold and counting, remember him as the co-author of the
The designers of the best-selling after its September 2002 debut. Back great book Mobile Robots —
robot vacuum cleaners actually took then, everyone was talking about Dean Inspiration to Implementation.
many more design aspects into consider- Kamen’s Segway Transporter, as this When Roomba encounters friction-
ation such as height above the carpet or other small New England company causing surfaces such as carpet, the
floor, number and location of “nozzles;” quietly designed and produced what torque derived from the friction on the
shape of the air flow channels; shape, many say is the first truly useful brushes causes the assembly to rise a
speed, and location of brushes; number consumer robot. This amazing product bit, thus lessening the load torque.
of passes over an area, and many more that people have called a ‘low-flying fly- When the load lessens — such as on a
aspects. Then comes the navigation and ing saucer,’ a “Frisbee on steroids,’ and hard floor — the brush assembly low-
steering of the robot cleaner. Do you even a ‘bathroom scale that walks’ is in ers. This seemingly complex action is
just allow the machine to bump into millions of homes around the world. created by a simple string and friction
walls, reverse, and then go off in anoth- The overall design and basic shape clutch arrangement to keep the cost
er direction like a sheep randomly eating and size were not iRobot’s biggest down. A single motor is used for the
grass in a meadow? Eventually, the hurdle; their problem was how to make brush assembly and the lifting/lower-
machine finally covers the entire carpet the robot vacuum affordable to be able ing system. Roomba utilizes a spinning
in a given room — or does it? to be sold through major retail chains. side brush to push dirt from edges into
Does it keep bumping into the There were already some capable — but the path of the main cleaning head
same chair and table legs, only to miss very expensive — robot vacuum clean- (see Figures 2 and 3).
many areas of the carpet? Does the ers on the market. In the beginning, The next generation of Roombas
designer need to add optical or they decided that they needed a simple uses the C programming language and
ultrasonic sensors to allow the robot to eight-bit processor and a small number is compiled with commercially available
travel parallel to a wall without touch- of parts that could be easily machined software. A 16-bit Freescale
ing it? Does one need to add a higher- or molded, much like toy manufacturers Semiconductor MC9S12 processor
level processor to bit-map a room? Do who create amazing devices for using only 2K bytes of RAM executes
you need to add sensors to detect child-sized budgets. Uniquely enough, the algorithms. Several years ago, they
what parts of the carpet the machine iRobot did have experience with toy came out with the Roomba Pro and Pro
has covered by detecting carpet fibers manufacturing — their disastrous My Elite. The Roomba Pro Elite model
brushed in a specific direction? How Real Baby, a robot doll that failed included a remote control that allowed
does the robot regain its original path miserably in the toy market. users to navigate the robot vacuum
once it detects an obstacle and goes around a room, set cleaning options,
around it? Detecting a full dirt bin, Roomba Design and turn the Pro Elite on or off with the
orientation, low batteries, dangerous Constraints touch of a button. The Roomba Pro
overhangs, and getting permanently Elite also featured a “MAX” cleaning
stuck were other designer problem iRobot wanted the Roomba to be mode for multi-room cleaning or high-
areas. Today’s robot vacuum manufac- effective on both carpeted and hard traffic areas. The software featured
turers have solved these and many floors. Designer Joe Jones wasn’t after one or two virtual walls and a “cliff-
avoidance” detector that prevented the
Figure 2. The inside of the Roomba. Figure 3. The bottom of the Roomba. robot from falling down stairs. “These
newer generations are able to deter-
mine how large the room is and plot
the most effective cleaning tactic
based on the room’s layout,” says Colin
Angle, iRobot’s CEO.
The current cheapest model —
Roomba Red — costs $150, though I’ve
seen it on closeout sales for less than
$75. The Roomba Sage model has a
longer-lasting battery that charges
faster, for an additional $50. Roomba
Discovery goes for $250, has auto
80 SERVO 11.2006
Then&Now.qxd 10/5/2006 7:42 AM Page 81

charging ability, and a larger trash bin, Scooba actually sucks up the dirty blade (and engine) when the handle is
or, for $50 more, it can charge while water from the first cycles and deposits released. This certainly does not stop
hanging on the wall. Toss in an addi- it in another separate container that the operator from running over a pile
tional $30 ($330) for the Scheduler is emptied later. Figure 5 shows the of small pebbles that can be slung in all
and you get the ultimate Roomba — interior of a Scooba. directions. So, keeping in mind the
one that you can schedule for the “stupid factor,” the manufacturers
whole week’s worth of cleaning. Mowing the Lawn carefully evaluated the robot mower
Buyers must remember that the on Autopilot design process.
Roomba is not a deep-cleaning
machine, just a daily ‘touch up’ device The desire for a robotic lawnmow- The RoboMower from
to keep your house presentable. You er has been around about as long as Friendly Robotics
need to use a more powerful upright the early vacuum cleaner ideas. Back in
for deep cleaning and shag carpeting. the mid ‘80s at a Robot Institute of Lawn-tool company, Toro, markets
Keep in mind also, that the Roomba is America (RI/SME) conference, I took a Robomower under the brand name
not pet-friendly. It won’t attack your this photo of a robot lawnmower that iMow. Husqvarna — a division of a
cat or dog, but it’s a pretty sure thing was a bit more remote controlled than Swedish vacuum cleaner company,
that Fluffy will place it at the top of his computer controlled (see Figure 6). Electrolux — also sells a robotic lawn
enemy list. Notice the toothed belt steering the mower, the Auto Mower. But it is the
four wheels to make it move in all direc- Israeli company, Friendly Robotics, that
The iRobot Scooba tions like a crab, yet still be facing the leads the pack and has sold over
same direction. It drew a substantial 50,000 RoboMowers since 1998. Udi
iRobot’s success with the Roomba crowd of onlookers; pretty good from Peless and Shai Abramson — two
made the step to the floor-scrubbing a bunch of industrial robot engineers. Israelis with technical backgrounds —
Scooba a natural direction to go. The joined forces to produce the lawnmow-
Roomba did a good job of removing Robot Lawn Mower er back in 1995. Peless had already
dust and dirt that was just lying on the Design Issues enjoyed quite a bit of success with a
surface of a hard floor, but most dirt medical equipment start-up company
adheres to floors and needs to be Designers of robot mowers face and used his knowledge of navigation
scrubbed off. This scrubbing action some hurdles that aren’t encountered by and control systems and Abramson’s
required a totally different type of clean- designers of robot vacuum cleaners. The software background to start the
ing system. As the company says: “Meet number one issue is safety. Cutting grass company in a garage.
the Scooba Floor Washing Robot ... the is much more energy-intensive than They were a bit overconfident in
world’s first floor-washing robot for the sucking dirt off a carpet’s surface, even their ultimate success, but several
home that preps, washes, scrubs, and with revolving brushes to assist in the million dollars and years later, they had
dries your floor — all by itself. task. Add to this many more square feet a gasoline-powered “Lawn-Keeper”
Unlike mop and bucket methods of grass in the typical yard than indoor prototype in 1998. The first machine
that just spread dirty water around carpeting and you have a need for a lot they had for sale used a 16-bit, 20 MHz
your floor, Scooba uses a fresh Clorox more energy on board a mower. Hitachi HS8 microcontroller to weigh
Scooba cleaning solution from start to Build a machine with one to three inputs from various sensors and send
finish. Figure 4 shows a diagram of spinning metal blades designed to cut controlling signals to the 150W drive
how the solution is dispensed and things and you have a potential hazard wheel motors and a 750W cutter
sucked up after it’s dirty. With the press to humans, animals, and property. motor. They managed to sell 4,000 of
of a button, the robot will leave your Mowers have already been labeled haz- these mowers by 2001. Later models
floors clean, dry, and ready to walk on. ardous machines by many government changed the single cutter motor to
Scooba is simple to use, and safe on all agencies and are required to have a three 150W motors, thus saving 300
sealed hardwood, tile, and linoleum “dead man’s switch” that stops the watts. As any robot experimenter can
flooring.” What impressed me is the
Figure 5. The inside of the Scooba. Figure 6. An early robot lawnmower.
Figure 4. Scooba cleaning illustration.

SERVO 11.2006 81
Then&Now.qxd 10/5/2006 7:42 AM Page 82

Triple-Chamber-
Mulching system
and the 5800-
RPM blade speed
— double that of
a typical gas
mower. Grass is
cut into very small
clippings that are
Figure 7. The RL1000 RoboMower buried in the
and its dock. Figure 8. Mower blades. Figure 9. The RoboMower RL850. roots of the lawn,
where they
attest to, it was the development of and slopes of the garden, obstacles, decompose and act like a natural fertiliz-
the software that offered them the and type of lawn,” says Dunigan. It er. This results in a healthier and better
greatest challenge, not the hardware. features a three blade, 53 cm (21 inch) looking lawn, and eliminates the need to
Friendly Robotics credits the powerful cutting system (see Figure 8). collect and remove the clippings,”
Roomba for boosting interest in its It is kept within a specific lawn area by according to Dunigan. Figure 9 shows
robotic lawn mowers. “Roomba has using buried and electromagnetic field- the less-expensive RoboMower RL850 —
given us a lot of forward momentum,” emitting “Perimeter Switch” wires as a mower system that does not have
said Mike Dunigan, vice president of an invisible fence, much like dog the automatic task time programming,
sales at Friendly Robotics, USA. He says fences. When the RoboMower returns auto-return to a docking station, and the
that dogs, cats, and kids are safe to the docking station, the perimeter intelligent perimeter switch system.
around the Robomower. “Dogs bark at switch turns itself off. You can obtain information for
it about an hour before they finally give “RoboMower is a dedicated the robot vacuums and lawn mowers
up on it,” he said. “Cats hide.” A slight mulching mower that mulches better at either www.irobot.com or www.
pressure on any side of the than a traditional mower thanks to its friendlyrobotics.com. SV
Robomower will cause it to turn
THE OWNERSHIP, MANAGEMENT, AND CIRCULATION STATEMENT OF SERVO MAGAZINE, Publication Number: 1546-0592
around, and the mower’s blades shut is published monthly. Subscription price is $24.95. 7. The complete mailing address of known office of Publication is T&L
Publications, Inc., 430 Princeland Ct., Corona,Riverside County, CA 92879-1300. Contact Person: Tracy Kerley. Telephone: (951)
off in less than a second if the machine 371-8497. 8. Complete Mailing address of Headquarters or General Business Office of Publisher is T&L Publications, Inc., 430
Princeland Ct, Corona, CA 92879. 9. The names and addresses of the Publisher, and Associate Publisher are: Publisher, Larry
is lifted off the ground. Lemieux, 430 Princeland Ct., Corona, CA. 92879; Associate Publisher, Robin Lemieux, 430 Princeland Ct., Corona, CA 92879. 10.
The names and addresses of stockholders holding one percent or more of the total amount of stock are: Jack Lemieux, 430
The RL1000 RoboMower is the Princeland Ct., Corona, CA 92879; Larry Lemieux, 430 Princeland Ct., Corona, CA 92879; Audrey Lemieux, 430 Princeland Ct.,
Corona, CA 92879; Robin Lemieux, 430 Princeland Ct, Corona, CA 92879. 11. Known Bondholders, Morgagees, and other securi-
top-of-the-line and retails for about ty holders: None. 12. Tax Status: Has not changed during preceding 12 months. 13. Publication Title: SERVO Magazine 14. Issue
Date for Circulation Data: October 2005-September 2006. 15. The average number of copies of each issue during the proceeding
$1,800. It is designed to mow a lawn twelve months is: A) Total number of copies printed (net press run); 12,472 B) Paid/Requested Circulation (1) Mailed Outside
County subscriptions: 6,336 (2) Mailed In-County subscriptions: 0 (3) Paid Distribution Outside the Mail including Sales through
all by itself (Figure 7). The mower dealers and carriers, street vendor, and counter sales and other paid distribution outside USPS: 1,811 (4) Paid Distribution by other
classes of mail through the USPS: 0; C) Total Paid Distribution: 8,147; D) Free or Nominal Rate Distribution by mail and outside the
begins its chores automatically and mail (1) Free or Nominal Rate Outside-County Copies: 106 (2) Free or Nominal Rate In-County Copies: 0 (3) Free or Nominal Rate
then navigates back to its docking Copies Mailed at other classes through the USPS: 0 (4) Free or Nominal Rate Distribution Outside the mail: 1,180; E) Total Free
or Nominal Rate Distribution: 1,286; F) Total Distribution: 9,433; G) Copies not distributed: 3,039; H) Total: 12,472; Percent paid cir-
station when it needs recharging. culation: 86.37%. Actual number of copies of the single issue published nearest the filing date is September 2006; A) Total number
of copies printed (net press run) 13,377; B) Paid/Requested Circulation (1) Mailed Outside County subscriptions: 6,329 (2) Mailed
“Designed for domestic lawns and gar- In-County subscriptions: 0 (3) Paid Distribution Outside the Mail including Sales through dealers and carriers, street vendor, and
counter sales and other paid distribution outside USPS: 1,842 (4) Paid Distribution by other classes of mail through the USPS: 0;
dens, it can handle any mowing task C) Total Paid Distribution: 8,171; D) Free or Nominal Rate Distribution by mail and outside the mail (1) Free or Nominal Rate
Outside-County Copies: 128 (2) Free or Nominal Rate In-County Copies: 0 (3) Free or Nominal Rate Copies Mailed at other class-
that a traditional gas or electric mower es through the USPS: 0 (4) Free or Nominal Rate Distribution Outside the mail: 1,700; E) Total Free or Nominal Rate Distribution:
1,828; F) Total Distribution: 9,999; G) Copies not distributed: 3,378; H) Total: 13,377; Percent paid circulation: 81.72%. I certify that
can handle, irrespective of the shape these statements are correct and complete. Larry Lemieux, Publisher - 9/27/06.

Advertiser Index
All Electronics Corp. .............................69, 73 IMService ......................................................28 Pololu Robotics & Electronics .....................41
AP Circuits .....................................................28 Industrial Ventures .......................................65 RoboteQ .......................................................13
BEST Robotics Competition ........................67 Jameco Robot Store ................................2, 73 RoboDevelopment Conference .................59
BOB’s/invents.net ........................................73 Lorax Works ............................................68, 73 Robot Power .................................................31
COMBOTS .....................................................53 Lynxmotion, Inc. ...........................................29 Robot Shop ............................................42, 73
CrustCrawler .................................................19 Maxbotix .......................................................73 SchmartBoard ...............................................42
DynoMotion .................................................73 SCIENTIFICS ...................................................43
Maximum Robotics ................................18, 73
Electronics123 ..............................................69 Scon Technologies........................................69
Futurlec .........................................................73 Net Media .....................................................83 Snail Instruments...........................................73
Gears Educational Systems, LLC .................58 NU-BOTICS ....................................................69 Solarbotics.......................................................9
Graymark .........................................................7 Oricom ..........................................................73 Solutions Cubed ...........................................23
Hitec ................................................................3 Ortech Education Systems .........................52 Technological Arts .......................................73
Hobby Engineering .....................................46 Parallax, Inc. ...................................Back Cover Vantec .............................................................7
HobbyLab .....................................................69 Plantraco .................................................69, 73 WiBotics ........................................................73

82 SERVO 11.2006
CoverInside.qxd 10/4/2006 1:55 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 1>
$7.00

4
CANADA

74470 58285
$5.50
U.S.

0
Vol. 4 No. 11 SERVO MAGAZINE WELDING • RTOS TO THE RESCUE • CORDLESS DRILL MOTORS • XPORT BOTBALL CONTROLLER November 2006
Page 84
1:46 PM
10/5/2006
Cover.qxd

You might also like