11 2003 PDF
11 2003 PDF
11 2003 PDF
Vol. 1 No. 1
SERVO MAGAZINE
LIGHTS, SOUND, ACTUATION Robots In The Movies
November 2003
Circle #106 on the Reader Service Card. Circle #32 on the Reader Service Card.
SERVO 11.2003 79
CoverInside.qxd 10/13/2003 12:54 PM Page 2
With
ServoPod™!
ServoPod™, you can do many things at the same time.
You can control a LCD, keypad; and 16 analog rangers and 25 servos, at once;
or instead 16 analog rangers 6 axes of quadrature encoded servo motors; or 16 motors with channels of
analog feedback. ServoPod™ handles them all with ease. The innovative operating system/language,
IsoMax™, is interactive and inherently multitasking, and makes a “Virtually Parallel Machine
Architecture™”. New Micros, Inc. applied 20 years experience designing embedded microcontrollers,
to perfected this powerful 2.3” x 3” board, with a feature-rich 80MHz DSP processor including:
2 S C I , S P I , C A N , 1 6 A / D , 1 2 P W M , 1 6 M u l t i m o d e Tim e r s , G P I O . . .
ServoPod™ with IsoMax(TM) is only available from New Micros, Inc. Kit $199
Circle #60 on the Reader Service Card.
If you’re serious about robotics and motion control, you must have a ServoPod™
To order, or for more info on the ServoPod ™, Visit us at www.newmicros.com, or call 214-339-2204
Circle #32 on the Reader Service Card.
SERVO 11.2003 79
Full Page.qxd 10/7/2003 10:32 AM Page 3
toc.qxd 10/10/2003 3:45 PM Page 4
features
11.2003
8 STARS OF THE
Photo by Giles Keyte SILVER SILKSCREEN
16 ALWAYS ON ROBOTICS
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 PENDING AT CORONA, CA AND AT ADDITIONAL MAILING OFFICES. POSTMASTER: Send address changes to SERVO Magazine, 430 Princeland
Court, Corona, CA 92879-1300 or Station A, P.O. Box 54, Windsor ON N9A 6J5.
4 SERVO 11.2003
toc.qxd 10/10/2003 3:46 PM Page 5
Robosaurus
SERVO 11.2003 5
Page6.qxd 10/9/2003 2:33 PM Page 6
Published Monthly By
The TechTrax Group — A Division Of
T & L Publications, Inc.
430 Princeland Court
Corona, CA 92879-1300
(909) 371-8497
FAX (909) 371-3052
www.servomagazine.com
M
y friend Dave has an Email inspire arguments at your next
tagline that makes me robotics club meeting, and fill you ASSOCIATE PUBLISHER/
laugh every time I read it: with the unspoken optimism that VP OF ADVERTISING SALES
"The revolution will be digitized." technology promises. Robin Lemieux
It is both superficially funny, as I have an A-Team of writers. [email protected]
well as secretly sublime. As an From Forth evangelists to
engineer, I know that once I researchers in cognitive MANAGING/TECHNICAL EDITOR
digitize a sample from the heuristics, there is no facet of Dan Danknick
continuum, I can filter, convolve, robotics that will escape our [email protected]
store, and express it according to collective gaze. I am as
CIRCULATION DIRECTOR
my desire. Although I don't have comfortable publishing the
Mary Gamar
control over the fields of nature, I details of CANBUS identifier
[email protected]
get to choose how I extract acceptance registers as I am with
information. Q-learning algorithms and the WEB CONTENT/STORE
And that is exactly what motion control system in R2D2 Michael Kaudze
SERVO Magazine is all about — (see page 14). [email protected]
separating raw data from Our currency is ideas.
meaning. Whether they originate from an PRODUCTION/GRAPHICS
Although we started working electronics inventor in New Rosa Gutierrez
full-time on this many months Zealand, a C++ programmer in Shannon Lemieux
ago, the foundation was laid last high school, or an MIT professor
year when the first Amateur working in the private sector — DATA ENTRY
Robotics Supplement showed up we are striving to become the Karla Thompson
with the June issue of Nuts & Federal Reserve Bank of the Dixie Moshy
Volts Magazine. It wasn't that we robotics movement. Every project
produced it — but rather that you, presents an obvious benefit in OUR PET ROBOTS
the hobbyist and technologist, addition to a covert one. We only Guido
consumed it. So like the skips of a ask that you show up with a Mifune
stone upon water that grow willingness to think.
closer, our publication dates But if you wish to interact, we Copyright 2003 by
contracted to a monthly interval. welcome that too — check out T & L Publications, Inc.
And now there are many ripples. the Mr. Roboto Q&A column All Rights Reserved
This magazine spans the (page 21) and the Menagerie,
Gaussian curve, from recreational where you can share your All advertising is subject to publisher's approval.
reading to homework creation with our readership We are not responsible for mistakes, misprints,
assignment. I expect it to be as (page 29). The conduit moves or typographical errors. SERVO Magazine
much at home on a coffee table information both ways. assumes no responsibility for the availability or
as getting splattered with flux And if you act today, you'll condition of advertised items or for the honesty
remover and tapping fluid on the even get to choose which side of of the advertiser.The publisher makes no claims
workbench. I want it to consume the A/D converter you wish to be for the legality of any item advertised in SERVO.
your thoughts on the drive home, on during the revolution. This is the sole responsibility of the advertiser.
Advertisers and their agencies agree to
indemnify and protect the publisher from any
and all claims, action, or expense arising from
advertising placed in SERVO. Please send all
subscription orders, correspondence, UPS,
overnight mail, and artwork to: 430 Princeland
Court, Corona, CA 92879.
6 SERVO 11.2003
ServoHouseNov03Ad.qxd 10/9/2003 10:47 AM Page 7
SUBSCRIBE NOW!
12 issues for $24.95
www.servomagazine.com or
call toll free 1-800-783-4624
robotsinmovies.qxd 10/6/2003 5:26 PM Page 8
by Ed Driscoll, Jr.
he movie industry has long author of Hal's Legacy (MIT Press, the end of Forbidden Planet, as he
SERVO 11.2003 9
robotsinmovies.qxd 10/9/2003 6:37 AM Page 10
10 SERVO 11.2003
robotsinmovies.qxd 10/9/2003 6:57 AM Page 11
R2 and C-3P0, and their audience 1751, and is based on the Greek word
acceptance: the heroic, brave “Artoo,” androeides, which means, not surpris-
who constantly saves the day in the Star ingly, “manlike.”
Wars films (even getting "killed" and In the 1980s, man-like androids
rebuilt at the end of Episode IV) is far were featured in the first three Alien
more popular than the prissy, cowardly films, the 1983 cult classic Blade
C-3P0, even though C-3P0 has an obvi- Runner, The Terminator films, and on
ously human shape, and can speak TV, with Mr. Data in Star Trek: The Next
English. And the sprightly Huey, Dewey, Generation, who later made the jump
and Louie steal Silent Running right out to the movies, along with the rest of
from Bruce Dern's morose character. the Next Generation cast.
It's probably not a coincidence that
The 1980s: The these androids became popular just as
the postmodern crowd began asking
Decade of the what exactly man was — did he have a
Android soul? Or was he merely a machine him-
self?
Inspired by the success of the first Of course, fans of movie special
Star Wars trilogy, the 1980s sparked an effects would argue that these androids
explosion of science fiction in the began appearing in the movies not
movies and on TV, and with it, came because of trendy po-mo philosophiz-
several interesting robotic characters. ing, but because movie special effects
In contrast to the non-human robot- became sophisticated enough to create
ic stars of the 1970s, the 1980s saw a effects such as the metallic skeleton
trend of robots designed to pass for underneath Arnold Schwarzenegger's
humans. In other words — androids. Terminator character, and the even
In the Star Wars films, the word more impressive liquid metal of the
“droid,” an abbreviation of android, is
used to refer to all of the robots
onscreen, no matter what their form.
But according to Webster's dictionary,
the word “android” dates back even
further than the word “robot,” to circa
SERVO 11.2003 11
robotsinmovies.qxd 10/6/2003 5:37 PM Page 12
shape shifting terminators played by up with the name Data, despite the fact
Robert Patrick in T2 and the beautiful that just about everybody else hated it.”
Kristanna Loken in T3. Fortunately, the audience didn't seem
Perhaps the most beloved android is to mind Data's name. And like Spock,
Star Trek: The Next Generation's Mr. Data because Data allows us to see mankind
who, like HAL, is an intelligent, sentient from an outsider's viewpoint, Data
machine. But unlike HAL and the became a science fiction superstar — even
Terminator robots who apparently feel if he never did quite become a man.
they are superior beings, Data, like
Pinocchio, wants to be human. At first The 1990s: Is Life But a
glance, Data's Pinocchio-like quest appears
to be a Blade Runner homage. But David Dream?
Gerrold (www.gerrold.com), the science The postmodernists of the 1980s
fiction author who created the much-loved debated “what is man” with android char-
tribbles for the original Star Trek, and acters like Data. Movie postmodernists of
helped develop The Next Generation, says the 1990s could argue, "what is reality?"
that “The most likely antecedent was because by the late 1990s, digital special
Gene's show, The Questor Tapes,” a failed effects radically changed the scope of
TV pilot written by Star Trek's creator Gene what movies could present.
Roddenberry in the mid-1970s. The Matrix trilogy takes 2001's theme
Gerrold, who has two books, The Man of living in a spaceship controlled by a
Who Folded Himself and The Martian Child computer to its ultimate conclusion: What
(both recently released in trade paperback) if your very existence is an illusion created
says, “We wanted a character who would by a computer? The result is a wild ride, as
take on the responsibilities of Spock, but inside the Matrix, the human characters
we didn't want another Vulcan. So we such as Neo, Morpheus, and Trinity fight
decided to do the opposite of Spock-an holographic androids in the form of Agent
android who would be like Pinocchio. He Smith and his cohorts. And outside the
Photo by Sue Adler wants to become a 'real boy.' Gene came Matrix, our intrepid trio fights the evil-look-
12 SERVO 11.2003
robotsinmovies.qxd 10/6/2003 5:38 PM Page 13
ing robotic Sentinels. All of which are of years in the future, after mankind
controlled by a central computer, is extinct. Of course, our current level
which uses humans as “living batter- of technology is nowhere near David,
ies.” (Or at least that's what we know Hal, R2, or the Matrix (I think … say,
from the first two movies. The last who was that fellow in the black suit
film in the trilogy, Matrix Revolutions, and tie clip following me last night??)
hasn't been released at the time this But robots, as this new magazine
article is being written, and promises demonstrates, are increasingly all
additional mind-blowing plot twists.) around us. And artificial intelligence
will be a reality as well — someday.
The Evolution But as David Stork notes, “It's going
to be many, many decades. Or as
Continues John McCarthy said, it will either be
Based on a concept developed within four, or four hundred years,
by Stanley Kubrick, Steven Spielberg's and it depends on getting two
A.I. is a maddeningly inconsistent Einsteins and three Von Neumanns-
film, but it shows a world in which you can't predict it; it could be soon,
robots are evolving far faster than or might not be.”
man is. David, the Pinocchio-like boy In any case, the movies have given
played by the charismatic young us a wonderful sneak preview into
actor Haley Joel Osment, is years our biomechanical future. S
beyond our current technology. But
by the end of the film, he meets up (c) Lucasfilm & TM. All rights reserved.
with even more advanced robots, Digital work by Industrial Light & Magic.
which control planet Earth thousands
SERVO 11.2003 13
robotsinmovies.qxd 10/6/2003 5:38 PM Page 14
14 SERVO 11.2003
robotsinmovies.qxd 10/9/2003 7:51 AM Page 15
Wars films, back when movie special cent of R2's character comes out of the needed a two-legged R2 for a shot, it
effects were far less sophisticated. sounds that they put in later, so you get all would typically be me just hiding behind,
While R2's basic shape came from the those movements in with the bleep or the or underneath it wiggling it around when
seminal illustrations that George Lucas had sad whistle or whatever.” necessary, with a radio-controlled head
painted by industrial artist Ralph McQuarrie, that we put on it, so that it could turn its
his design was finalized by John Stears, who The Man Inside Artoo head back and forth.”
headed the British on-stage special effects Of course, R2 has another handler — Bies says that it was out of courtesy to
department of Star Wars' original sound- since the mid-1970s, three foot, eight inch Baker that Lucas allowed him to control R2
stage — EMI's Elstree studios. tall Kenny Baker (www.kennybaker.co.uk) for one shot in Episode II. And Bies is sure
The many documentaries made dur- has often been inside of him. In the origi- Baker will be inside R2 for a shot or two in
ing the shooting of those first Star Wars nal films, in most shots where R2 was Episode III, as well. The films just wouldn't
films featured numerous shots of radio shown waddling on two legs, Baker was look right without Baker getting a screen
controlled R2s crashing into walls, or sim- inside. For George Lucas and the rest of the credit for portraying R2.
ply refusing to move on cue. Bies admits original Star Wars production team, having And digital effects are reducing Bies's
that the original R2s “had a lot of prob- an actor inside of Artoo was often far more role with R2, as well. “On Episode II, some-
lems, because the R/C technology at the reliable than the R/C controls of the time. body did a shot count, and there were
time was pretty much in its infancy. But For better or worse, technology has something like 96 R2 shots in the film, and
since then, the radio control units them- rendered Baker increasingly superfluous to 14 of them were digital R2s, there was one
selves have become very, very stable.” the latest trilogy. “Kenny's been used less Kenny shot, and then the rest were me
The stability of those controls allows and less,” according to Bies, “partially with the radio controlled units. With
Bies to effectively think like an actor when because of the stability and the reliability Episode III, it's too early to tell, but R2 has
he's on set, “to a certain extent. I don't of the R2 units, and partially because R2 is a bigger role in the film, and has more
want to sound like I'm doing brain surgery going more in the digital route. In Episode action sequences, so there will probably
or anything,” because R2 is “so limited in I, Kenny was in the film a fair amount, end up being more digital shots of R2 in
what it can do — the head can turn, and whenever there's a two-legged version. In the picture.”
we have the little holographic eye that Episode II, we didn't use Kenny at all in Of course, whether he's radio con-
moves up and down, so you can get a lit- Australia — we were able to do everything trolled, actor controlled, or digital, R2 will
tle motion out of that. I think that 90 per- with the radio-controlled units. And if we always be a hero to movie fans.
Power Challenges
In “Always On”
Robotics
by Roger Gilbertson
16 SERVO 11.2003
Gilbertson.qxd 10/8/2003 10:36 PM Page 17
Path 3 — Do Your Thing, Then Call 911 Unfortunately, only a very small percentage of contem-
As this kind of robot loses its charge, falling power lev- porary robots have the ability to tend to their own recharg-
els can dramatically affect its performance, causing slowed ing. Some home, entertainment, and garden robots can,
motions, delayed responses, and endangering its circuitry, but they all carry prices well over $1,000.00. High perform-
its memory, and even nearby life forms. ance seems to carry a high price.
To protect the robot itself from dangerous "brown out" Given the low cost of powerful microprocessors, and
conditions, as well as anything in the nearby environment the wide availability of functional robot platforms, how can
(including robot inventors) from spastic or intermittent we create a self-charging robot system priced within reach
behaviors, microprocessor controlled circuits often include of hobbyists and experimenters?
low-voltage detectors that shut the machine down before This observation prompted my associates and I to
processing errors can occur. develop and produce the OctoBot Survivor, the first self-
All Path 3 robots monitor their own power levels, and recharging robot kit for hobbyists and experimenters
then modify their behaviors to conserve energy, compen- priced at under $200.00.
sate for slowed motors, etc. When voltages become too
low to operate properly, the robot may sound an alert, The OctoBot Survivor Story
light an LED, or ask for assistance in some other way. Then,
a human must step in and either provide power or return Starting in the fall of 2002, the design team from
the robot to an appropriate charging station. Mondo-tronics and I began exploring the options available
Many "home and garden" robots such as vacuum for building a self-charging robot so that students, hobby-
cleaners and lawn mowers indicate their power levels via ists, and experimenters could begin testing the boundaries
colored LEDs. Then they "rely on the kindness of strangers" of self-charging robots. For convenience and familiarity, we
to assist in their recharging process. started our project with many parts literally "off the shelf"
While this kind of robot offers better performance from our RobotStore.com warehouse. Items such as the
than those having no means to compensate for declining Twin Motor Gearbox and wide rubber tires from Tamiya,
power reserves, a robot that monitors its own power levels the Mini Dual H-bridge Driver Circuit, the Infrared Proximity
still depends on a human being in the life support cycle. Detector circuit, and others proved handy in creating work-
Nonetheless, such robots have some awareness of their
own condition, and that puts them just a step away from
autonomously caring for their own needs.
SERVO 11.2003 17
Gilbertson.qxd 10/8/2003 10:36 PM Page 18
Creature Features
As hobbyists ourselves, we wanted to include a great
deal of expandability into the OctoBot. First of all, we
added a 24-pin DIP socket for a Stamp 2 processor and
included connections from it to all of the sensors, and a
Opening the top reveals NiMH batteries direct line to the OctoBot's PIC brain. On start up, the PIC
(green) and 20-pin expansion header. briefly "listens" to the socket, and if a Stamp responds, the
PIC defers to the Stamp for commands. In this mode, the
ing prototypes to test our initial concepts. PIC remains very active, performing "low level" tasks such as
Once we had a basic system working, our long time movements, seeking the charger, reporting on the battery
collaborator and experimenter extraordinaire, Zach condition and such, thus freeing up the Stamp program for
Radding, began writing the software routines. The outline bigger tasks.
for the brain's function went as follows: The OctoBot also has two expansion ports to support
On a full charge, the OctoBot will select one of two user-added circuitry. A 20-pin header rests at the center of
modes: phototropic mode (active / "happy"), or photopho- the robot, and follows the Stamp Expansion Header format
bic (not as active / "sad"). On a battery low condition, the from Parallax, Inc., makers of the BASIC Stamp processors.
OctoBot will seek the charging station, stop when it makes This header gives easy access to all the sensor signals and
contact with the station, and leave the station when the the PIC processor, so that add-on boards can take control (in
batteries are charged. the same way as the Stamp 2 socket), or can carry out other
Initially, the design called for two LEDs as the only out- functions.
put indicators, but Zach pushed for the addition of a small The second, smaller expansion port on the bottom side
speaker as a way to "bring a little more life into the bot." provides power, ground, and four of the unassigned
We agreed to that, as long as the noises sounded pleasant input/output lines. This port makes it easy to add circuits for
rather than annoying. line following, edge detection, shaft encoders, and more.
During the "happy" and "sad" modes, we wanted the For our own development purposes, we first added an LCD
robot to exhibit a variety of behaviors such as object avoid- display to the 20-pin header, so that our programs could
ance, light seeking, dark seeking, wall following, and ran- report on their conditions. We've since added RF modems,
dom wandering. Zach created routines for making "emo- sonar boards, and a variety of other sensors. These projects
tive" tones that indicate the general state of the robot may make their way into future articles.
(without being annoying).
A PIC 16F876 microprocessor serves as the brain of OctoBot Challenges
the OctoBot. The robot carries six AA-size nickel metal
hydride (NiMH) cells and the Dallas Semiconductor DS2436 Just as a fish finds itself well-adapted for life in water,
but operates poorly on land, a robot's features
and abilities must also match its intended envi-
Block Diagram ronment.
of OctoBot.
The OctoBot lives best in a fairly "safe" envi-
ronment — with clearly visible walls, no sudden
drop-offs, no water hazards or sand traps, and
no narrow objects like chair legs. But the
OctoBot welcomes other obstacles in its envi-
ronment. The IR proximity sensors can detect
nearly anything that reflects infrared light —
cardboard boxes, wood blocks, sheets of paper,
shoes — and experimenters can build their own
complex and interesting environments for their
OctoBot, including light sources, areas of dark
(caves for when exhibiting photophobic behav-
18 SERVO 11.2003
Gilbertson.qxd 10/8/2003 10:37 PM Page 19
SERVO 11.2003 19
Gilbertson.qxd 10/8/2003 10:39 PM Page 20
20 SERVO 11.2003
roboto.qxd 10/9/2003 1:53 PM Page 21
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?
[email protected]
Our resident expert on all things robotic, is merely an Email away.
D
Ν1 = —2 Ν 2
in Equation 5.
SERVO 11.2003 21
roboto.qxd 10/13/2003 2:21 PM Page 22
The challenge to making a robot if a small mistake is made. A 100 Figure 2. Servo position vs. time
like this work properly is finding the pound go-kart can also cause a signif- due to a trapezoid velocity profile.
right combination of sprockets and icant amount of damage if something
goes wrong. So starting small is the
s2 = D2
—
right way to get rolling. 1200
0
wheels that will have the same ratios. Technology) team, or getting involved
1
6
11
16
21
26
31
Depending on the sizes of the wheels with building combat robots like the
36
41
46
51
56
61
66
71
76
you want to use, you may have to ones shown on TV, such as Robot
build a sprocket and chain based gear Wars and BattleBots. Both of these
box between your front and rear areas involve building large radio con-
wheels so that you can use the same
motor to drive both wheels with the
same linear velocity. Q Q Q Q Q
trolled robots with a heavy emphasis
on safety. And what you learn in
building them can be applied to build-
ing the radio controlled automobile.
A. The rack and pinion and the
ball screw systems are two of
the best ways to convert
rotary motion into uniform linear
Q.
More information about FIRST can motion. The linear position and velocity
I am new to robotics and I be found at www.usfirst.org There is are uniformly proportional to the rota-
would like to get into it. a lot of information about building tional position and velocity of the drive
What I would like to do is combat robots that can be found on servo.
take a car (full size automobile) and the Internet and there are several Another popular method is to use
make it radio controlled. I would most books that have been published on cams to move a sliding bar. Both posi-
likely start with lawn mowers and go- this topic. But the best place to learn tion and velocity profiles as a function
karts. Now, I don't really know where about combat robots is to actually of the servo motion can be tuned for
to start, but I am guessing the Robot build them and participate in a local long uniform velocity motions with a
Builder's Sourcebook would be good. contest. A good place to learn about short and fast return motion. Two other
Could you point me in some direction? the many different combat robot popular methods for converting rotary
— Joseph Whitney events is at the Robot Fighting motion into linear motion are called the
via Email League's website four bar linkage and the slider crank
www.botleague.com mechanism. The advantage to the lat-
Q.
This may sound silly, but the radio An excellent source for different types
controlled gasoline cars you can get at I am using an R/C servo to of mechanisms is the four volume set
the hobby store will show you how to create linear motion but Ingenious Mechanisms by Jones and
get started. Most of the technology my design prevents the Horton. But since you have a design
that makes the car radio controlled will use of a rack and pinion setup. So, I constraint that does not allow a rack
be very similar to what you will need am using a standard servo horn with a and pinion solution, you may not have
to do to make the automobile radio ball joint and some threaded rod. The the room to implement one of these
controlled. They are the best place to problem is that the travel is uneven, clever kinematic solutions. Thus, you
get started, and taking them apart being faster in the middle than at the may have to use an electronic and/or
and modifying them to work better is ends. software solution.
where you will learn a lot about how Is there a clever mechanism I can R/C servos make excellent servo
to remotely control an automobile. use to "linearize" this motion? Or, since motors when controlling position is the
The three most important things I am using a BX-24 to drive the servo, main goal. A servo is designed to move
you need to keep in mind when doing is there a quick way to do this in at its maximum speed to get to its com-
something like this is safety, safety, software? manded position, and they only slow
and safety. A 3,000 pound car can — Anonymous down when it gets very near the com-
cause a lot of damage, or even death, via Internet manded position. Controlling the veloc-
22 SERVO 11.2003
roboto.qxd 10/13/2003 2:21 PM Page 23
1-877-7-POLOLU
PAUSE 20
NEXT ity and motion control profile you
www.pololu.com
GOTO Main ' Restart the motion sequence want, you may want to use a dedicat-
END ed microcontroller to control the servo.
S
Q Q Q Q Q 3714 E. Harmon Ave., Las Vegas, NV 89121
Circle #125 on the Reader Service Card.
23
Geer.qxd 10/10/2003 6:20 AM Page 24
GeerHead
by David Geer
[email protected]
T
he world is an ocean of parts. Junkyards and hard-
Shakes Walker ware stores stand among the dozens of spawning
“Shakes,” a three-servo hexapod walker, hand grounds for your next creation. But finding 'bot
sculpted and soldered together out of copper
plated TIG welding rod.
construction materials is not as head spinning as knowing
what to look for.
24 SERVO 11.2003
Geer.qxd 10/8/2003 6:02 PM Page 25
Steels, plastics, brass and copper, a good weight-to-strength ratio. ets. It has moderate strength, welds
bronze, aluminum, woods, and com- “PVC is relatively heavy, not as easily, and machines well, too. Mild
posites — these are the best. Factors strong, and deforms, but it's useful in steel specs into the neighborhood of
like availability, cost, strength, and prototyping chassis and support struc- a 1015. (The 15 tells you how much
ease of use will influence your choice. tures,” says Dr. Alan N. Federman, a carbon it has, says H. Ben Brown, Jr.,
“Availability and ease of use are the senior NASA engineer. Aluminum Project Scientist, The Robotics
most crucial,” says Roger G. extrusion is pricey, but very boss for Institute, Carnegie-Mellon University.)
Gilbertson, President of Mondo-tron- protos. As carbon content increases, so does
ics, Inc., and The Robot Store. It can be worked like a giant erec- strength, but at the expense of work-
tor set. Cardboard, foamcore, and ability. "Take a walk on the mild side"
Proto Parts Primer Styrofoam help with correct sizing and when strength is less important than
proto-making. cost. Parts like fasteners come in mild
Want a 'bot to be proud of? Make steel (also in high strength steels, alu-
your mistakes on a prototype first. Heavy Metal Rave — minums, and even titanium).
Some materials are specially suit- on the Mild Side
ed to prototypes. Polyvinyl chloride High Carbon
(PVC) and plywood are cheap, easy to Mild steel is common in cars and
find, and easy to work. Plywood boxes appliances. Useful in many areas of High carbon steels are in the vicin-
and I-beams are very strong and have robotics, it's a favorite for low budg- ity of a 1030 or 1040 (see AlloyInfo
Reports at All Metals & Forge
Information Resources, free registra-
tion required). The more carbon, the
more heat treatable and the harder it
is. It can be precast or you can shape
it yourself.
Music wire (piano wire) — made
of hardened high carbon steel — is
available in several diameters. Piano
wire is good where you need a hard
steel rod.
Drill rod works well where you
need a shaft of a precise diameter and
a certain hardness. Dowel pins are
also examples of very hard steel in
exact sizes, though in shorter lengths.
Chromoly Alloys
(Chrome Moly)
Chromoly is a steel alloyed
Photo courtesy of
Dr. Alan N. Federman, NASA.
SERVO 11.2003 25
Geer.qxd 10/8/2003 6:03 PM Page 26
The Gyrover
Gyrover is a gyroscopically stabilized, single-wheel
robot built inside a 16” lightweight bicycle wheel.
The domes on each side are made of polycarbonate
sheet which provides transparency with good
strength and impact resistance. The main platform is
fabricated from a sandwich structure of two layers of
1/16” aircraft plywood with balsa wood between —
this is lightweight and strong, and allows easy
mounting of components. Other major mechanical
parts are of 6061-T6 aluminum, which has good
strength, and is low in cost and easy to fabricate.
(mixed) with molybdenum and chromi- found parts and adapt them to new machines pretty well and can be weld-
um. Chromoly tubing can be welded uses. For example, an ABS electrical ed. It's available in many shapes like
into strong, light frames. As with race- box cover plate can become the base bar stock, beams, channels, and flat
cars, it's good for robots that will be for a robot,” says John Kittelsrud, sheets. “That's what we use most gen-
doing some traveling (under their own President, PAReX (Phoenix Area erally,” says Mr. Brown.
power). Robotics eXperimenters). 7075 T-6 is stronger than 6061
Suppliers abound on the Internet due to the additional alloying compo-
Other Steel Formats — Tap Plastics, Lowes, Menards, and nents: copper, zinc, and titanium. The
GE Plastics are good places to start Robotics Institute uses that to meet
“For robots that need to be light looking. Sheet plastic can be had from high strength requirements. It's more
and strong, I like TIG rod (steel rods plastics dealers and hobby shops. expensive and not available in as many
coated with copper used for welding). form factors.
These are inexpensive, strong, and you Brass, Copper, and Alloy 2024 T-4 has a strength
can solder them together with a Bronze 75% greater than 6061. "There's a
plumbing-soldering gun. It's easy to number called yield strength that's
get really creative!” says Mr. Brass machines and solders well. important. That's the stress level at
Gilbertson. Its moderate strength is comparable to which the material permanently
mild steel, though it is denser and not deforms. You usually want to stay well
Suppliers as stiff. "There is a property called below that," says Mr. Brown. Alloy
Young's Modulous (the modulous of 2024 has a 47 kPSI (thousands of
Places to locate these and other elasticity) that tells you the stiffness of pounds per square inch) yield
parts and materials include McMaster- the material as differentiated from its strength. The 6061 T-6 is 40 kPSI and
Carr, All Metals and Forge, the Human strength. This tells you how much it the 7075 is 73 kPSI. All aluminums will
Power Source Guide, surplus outlets, will deflect under a certain load," says have about the same weight or stiff-
and hardware stores. Mr. Brown. For parts where strength is ness, but differing strengths.
not as important as machining and Steel is about three times as
The Wrap on Plastics soldering, brass is worth considering, dense as aluminum and about three
as well. times as stiff. Though the two metals
High Density Polyethylene (HDPE) Copper is good for electrical and seem equal in this respect, aluminum
resists impact, corrosion, and abra- thermal conductivity. It's used for is often the better choice. Given two
sion. Polycarbonate resists impact and wiring and can be easily soldered. large structures of the same weight,
is good for structural and gearbox Phosphor bronzes are used in springs an aluminum one can be stiffer than
housings. Acrylic can be used for where toughness and elasticity are steel.
optics and can be made impact resist- required.
ant. Delrin is strong, chemical resist- Carbon Fiber
ant, and has low moisture absorption. Aluminum Alloys
It's used for bushings and bearings. Among Kevlar, carbon fiber, and
Nylon absorbs moisture. Aluminum alloys can be heat- fiberglass, carbon has the highest stiff-
“I use some plastics, like poly- treated to varying hardness. 6061 T-6 ness-to-weight ratio, and a fairly high
styrene, ABS, and PVC. I use lots of is a very good general-purpose alloy. It strength-to-weight ratio. With com-
26 SERVO 11.2003
Geer.qxd 10/8/2003 6:03 PM Page 27
posite materials, you can direct the with glue, hand tools, and drywall steel hardware.
fibers according to where you want screws. “Plywood is a sophisticated,
the strength. For example, if you want laminated wood product that can also Don't Dive in
a beam to resist bending, you'll want be used to add strength to sheet
the fibers aligned lengthwise. metal components,” says Dr.
Empty-handed
Fiberglass is of lower cost, lower Federman. “You don't have to have a full-on
strength, and not surprisingly, more According to Mr. Kittelsrud, Computer Numerically Controlled
frequently used. Kevlar, on the other hobby packs of pre-cut 1/4-inch x (CNC) mill set up at home or a degree
hand, is as strong but not as stiff as 1/4-inch hardwoods (available at in mechanical engineering to build a
carbon. You can buy composite mate- hobby stores) are great to work with robot,” says Mr. Kittelsrud. Small
rials in rods, square bar, or sheet stock. (think “wooden LEGOS”). “I use power tools and hand tools will bring
You can also buy raw fibers or cloth them because I don't have a big shop most materials into submission.
and add the resin yourself to cure it to rip lumber down to smaller A drill press and power sander are
into a structure of your choice. pieces,” says Mr. Kittelsrud. These are recommended for large or heavy
handy for body frames and mounts woods and plastics. “If you use steel
Wood for electronics. or heavy aluminum, you will need
some serious metal working equip-
“Wood is low in cost and density, Extra Stuff, Notes, ment — a mill, lathe, welder, cutters,
light in weight, and easy to cut and and bits,” says Mr. Gilbertson.
drill. It's something we use a lot for and Pointers
larger structures,” says Mr. Brown. Do Most Home
Spruce — once used in small aircraft — Additional Materials Roboticists Prefer Raw
is good for structures. Pine is also a Sources
good structural material. Plywood —
Materials to Kits?
layers of wood laminated so the grains Check the computer junkyard for “This is a darn good question. In
are at different angles for strength — modular steel and aluminum shelving all of the contests I have been to, the
is good for stable construction that units with pre-drilled L and square scratch-builts have always outnum-
won't warp. beams. A hacksaw will do for cutting bered the kits. I think it's part of the
“Plywood (1/2-inch thick birch) is them to size. The Home Depot also whole DIY robot thing,” says Mr.
a great prototyping material,” says Dr. carries myriad construction materials Kittelsrud. Precast parts that just go
Federman. Light and easy to machine, on the cheap — electrical conduit together are often too easy, like
it can be formed into I-beams or boxes tubes, aluminum fence posts, and painting by numbers. S
Resources
Killer Bee
Killer Bee, 500-gram mini sumo
robot.
Photo courtesy of
John Kittelsrud.
SERVO 11.2003 27
Geer.qxd 10/8/2003 6:08 PM Page 28
Resources
¾¾¾ The Robot Store
www.robotstore.com
McMaster-Carr
www.mcmaster.com
¾¾¾
The Human Power Source Guide
www.ihpva.org/SourceGuide
¾¾¾
Tap Plastics
¿ www.tapplastics.com
¿
¿ ¾¾¾ Lowes
www.lowes.com
Menards
www.menards.com/nindex.html
¾¾¾
Orb of Doom GE Plastics
www.geplastics.com
“The Orb of Doom” is a radio-controlled “hamster ¾¾¾
ball” robot with a shell of carbon-Kevlar over a The Home Depot
foam core form. It met its own, personal doom at www.homedepot.com
the Second Robot Wars event in 1995. ¾¾¾
Photo courtesy of Roger G Gilbertson,
RobotStore.com ¾¾¾
28 SERVO 11.2003
menagerie.qxd 10/13/2003 2:25 PM Page 29
Dexter
Steve Benkovick, Northridge, CA
GTRBOT666
JBOT, San Francisco, CA
SERVO 11.2003 29
NovNewProducts.qxd 10/8/2003 11:44 AM Page 30
New Products
New Products
ers, multiposition chargers, custom battery assemblies,
ACCESSORIES power supplies, and analyzers.
For further information, please contact:
Multi-Position Chargers Cell-Con
305 Commerce Dr., #300
Exton, PA 19341
C ell-Con Incorporated
announces the
availability of its cus-
Incorporated Tel: 610•280•7630
Fax: 610•280•7685
Email: [email protected]
Website: www.cell-con.com
tom, multi-position Circle #111 on the Reader Service Card.
chargers. Multi-position
chargers are available
for simultaneous
charging of multiple
CONTROLLERS & PROCESSORS
battery packs assembled
from one of the following chemistries: Servio™ — The New R/C Servo and
lithium ion, NiMH, NiCd, or sealed lead acid.
These chargers are based on existing designs and
I/O Slave Controller
technology that is easily adaptable to specific customer
requirements. Fast project turn around time (30-180 days)
and a minimal financial investment are typical. Small and
P icoBytes, Inc., a leading
innovator of robotics and
automation controllers, has
large volumes accepted. released its new serial R/C
Customer specified options such as charging method servo and I/O slave controller
(constant current/constant voltage, smart, constant cur- — Servio™ . It is an intelligent
rent, overnight, and float), open frame, and battery serial R/C servo and I/O slave
refresh capabilities are available. controller capable of control-
Prices range from a few hundred dollars to a few ling up to 20 R/C servos with 16-bit resolution and 256-
thousand dollars depending upon the complexity of the speed settings. It also has eight A/D converter ports capa-
charger and its volume. ble of 10-bit resolution at 40 samples/second, with two
Cell-Con Incorporated is a US-based manufacturer of PWM signal generators capable of up to 10-bit resolution
custom power systems consisting of single position charg- with direction control for H-Bridge connections and two-
New Products
channel R/C decoder with differential steering override. SM3416 is exceptional, producing more than 1 NM of
Unused A/D and servo ports can be configured as digital torque at an unprecedented low cost.
I/O. Those who love the benefits of integrated servo
Powerful features such as monitoring, servo sweep, motors have been clamoring for a low cost product in the
and sequence functions offload the burden of constant NEMA 34 size and torque range. While it sets a new prece-
polling and control from the master CPU. Unlike other dent in low cost integrated motion control, the SM3416
products, there are no complicated languages to learn. All has all the features you've come to expect from
this power is available by sending simple serial command SmartMotors — a true departure from the wiry mess of
at rates of up to 115,200 bps, which can be accomplished the traditional component solutions.
with any computer or MCU. In 1994, when Animatics released the world's first line
A comprehensive user and technical manual explains of fully integrated servos, with all of the positioning elec-
all aspects of operation with many code examples. tronics, driver circuits, and the encoder built into a single
Servio consumes less than 14 mA and weighs only small unit, the industry was slow to accept the radical
0.8 ounces (22 grams) in a 2.5" x 2.5" (63mm x 63mm) departure from conventional motion control. Today, that
footprint, which makes it ideal for battery and mobile fear is gone, the technology is proven, and the integrated
operations. servo market is touted by independent studies as the
For further information, please contact: fastest growing market within the motion control industry.
The SM3416 is a SmartMotor in a familiar package.
PicoBytes, 10674 Chinon Cir. Based on Animatics' patented, award winning design, the
Incorporated San Diego, CA 92126
Tel: 858•549•7394 Fax: 858•581•3375 SM3416 is the final chapter of the highly successful line of
Email: [email protected] OEM series SmartMotors. Comprised of both NEMA 23
Website: www.picobytes.com
and NEMA 34 size SmartMotors, the OEM Series delivers
Circle #112 on the Reader Service Card. competitively priced integrated motion control to the high
volume OEM and integrated markets.
Animatics Corporation is the world leader in integrat-
ed motion control. Animatics is located in the heart of
MOTORS Silicon Valley and designs, manufactures, and markets
motion control products for industries ranging from semi-
SM3416 conductor, nuclear, automotive, and machine tool to tradi-
tional industries such as CNC. Animatics' strength lies in
SmartMotor™ — A using technological innovation to meet complete solutions
NEMA 34 Size Low- for motion control. For further information, please contact:
Cost Integrated
Animatics 3050 Tasman Dr.
Servo Motor Corporation Santa Clara, CA 95054
Tel: 408•748•8721
Out
Check bsite!
e
Ou robotics.com
r W
npc
www.
NPC Robotics, Inc. • 4851 Shoreline Drive • PO Box 118 • Mound MN • 55364 • 800-444-3528 • Fax: 800-323-4445 • E-mail: [email protected]
SERVO 11.2003 31
NovNewProducts.qxd 10/8/2003 11:45 AM Page 32
New Products
PO Box 818
ROBOT KITS Lynxmotion
Incorporated
Pekin, IL 61555
Tel: 866•512•1024
Fax: 309•382•1254
Email: [email protected]
Hexapod Walker Kit Website: www.lynxmotion.com
L
Circle #114 on the Reader Service Card.
ynxmotion has introduced their
totally redesigned Hexapod
1 Walker kit. This walker uses
the traditional three servo WEASEL — A Touching and
design with a twist. Seeing Robot Kit
Lynxmotion has implemented a paral-
lelogram on the lifting legs to eliminate
friction. This makes the walker much more
O WI introduces the Weasel —
a tenacious little robot
warrior that embodies two
efficient than other designs. The walker is sensors that allow it to "see" a
made from precision laser-cut Lexan (polycarbonate) mate- line or "feel" its way along
rial. The assembly is easy using common hand tools. The walls and around corners. The two motors and contact
all “nuts and bolts” construction means there is no glue or sensor activate the wall sensing micro switch to control
tape. All of the legs are actuated by quality ball links for the motor’s on/off operation that determines the path of
reliable operation. The kit uses powerful Hitec HS-422 ser- a wall. It is the classic robot design using the "Left Hand
vos. There are optional "punch-outs" to add either a stan- Rule" to escape mazes.
dard or a micro-size servo to the front. This makes adding With OWI's continued pursuit in making robots
a pan and tilt camera mount or panning ultrasonic sensor "smart," they have added an additional feature to this little
very easy. The chassis will accept either our Next Step car- bundle of energy … a sonic tracking system. Beneath
rier or an OOPic-R microcontroller. The Next Step can use Weasel's sturdy plastic base, you will discover photo-
the BS-2, the BASIC Atom, or the OOPic-C microcontroller. transistors that enable it to detect and follow a black line.
The microcontroller can be mounted on top the robot, or The Weasel also boasts a three-speed gearbox which will
inside to provide room for additional peripherals. help navigate at the velocity you determine. Quick and
The robot is available as a bare chassis (including ser- easy to assemble, this is a beginner robot that makes great
vos) for those who want to roll their own electronics. It is entries for robotic competitions, robotic workshops, after-
also available in several combo kits which include everything school programs, special events, gifts, science enrichment
needed to get the robot up and running right away. With camps, and classroom activities. It has a suggested selling
the addition of the optional “Pan & Tilt” camera mount, a price of $24.95. For further information, please contact:
Hitec remote control set, and a camera and video transmit-
ter, the robot can be configured as a remote piloted rover. OWI 17141 Kingsview Ave.
Incorporated Carson, CA 90746
Prices start at $99.95 for a truly affordable robot experimen- Tel: 310•515•1900 Fax: 310•515•1606
tation platform. Stop by the Lynxmotion website to see the Email: [email protected]
Website: www.robotikitsdirect.com
assembly guide, video of the robot in action, and much
more. For further information, please contact: Circle #115 on the Reader Service Card.
Mind C
For Todandy
The SERVO Bookstore
To order call 1-800-783-4624 or go to our website at www.servomagazine.com
Roboti ay’s
cist
Applied Robotics II Building Robot Drive Trains Anatomy of a Robot
by Edwin Wise by Dennis Clark / Michael Owings by Charles Bergren
Instructive illustrations, This essential title in This work looks under the
schematics, part numbers McGraw-Hill’s Robot DNA hood of all robotic proj-
and sources are also pro- Series is just what robotics ects, stimulating teachers,
vided, making this book hobbyists need to build an students, and hobbyists to
a “must” for advanced effective drive train using learn more about the
builders with a keen inexpensive, off-the-shelf gamut of areas associated
interest in moving from parts. Leaving heavy-duty with control systems and
simple reflexes to “tech speak” behind, the robotics. It offers a unique
autonomous, AI-based authors focus on the actual presentation in providing both theory and
robots. Create larger and more useful mobile concepts and applications necessary to philosophy in a technical yet entertaining
robots! Ideal for serious hobbyists, Applied build — and understand — these critical force- way. $29.95
Robotics II begins by discussing PMDC motor conveying systems. If you’re hooked on
operation and criteria for selecting drive, arm, amateur robotics and want a clear, straight- CNC Robotics
hand and neck motors. $41.95 forward guide to the nuts-and-bolts of drive by Geoff Williams
trains, this is the way to go. $24.95 Now for the first time you
JunkBots, Bugbots, and Bots on can get complete direc-
Wheels: Building Simple Robots Constructing Robot Bases tions for building a CNC
With BEAM Technology by Gordon McComb workshop bot for a total
by David Hrynkiw / Mark Tilden Here is the first title in the cost of around $1,500.00!
Ever wonder what to do innovative new Robot DNA CNC Robotics gives you
with those discarded items Series from McGraw-Hill, step-by-step, illustrated
in your junk drawer? Now the premiere publisher of directions for designing,
you can use electronic references for the robotics constructing, and testing a
parts from old Walkmans, hobbyist. Author Gordon fully functional CNC robot that saves you 80
spare remote controls, McComb focuses on the percent of the price of an off-the-shelf bot —
even paper clips to build basic concepts and specif- and that can be customized to suit your pur-
your very own ic applications you need to poses exactly, because you designed it.
autonomous robots and gizmos. Get step- build efficient robot bases – and have a $34.95
by-step instructions from the Junkbot mas- great time in the process. In the clear, easy-
ters for creating simple and fun self-guiding to-follow style that has made him a favorite PIC Robotics: A Beginner's
robots safely and easily using common and among robotics fans, Gordon tells you how Guide to Robotics Projects
not-so-common objects from around the to get things up and running using only inex- Using the PIC Micro
house. Using BEAM technology, ordinary pensive, easily-obtained parts and simple by John Iovine
tools, salvaged electronic bits, and the occa- testing equipment. Detailed enough to get Here’s everything the
sional dead toy, construct a solar-powered the job done, but written with the amateur robotics hobbyist needs
obstacle-avoiding device, a mini-sumo- hobbyist in mind, Constructing Robot Bases to harness the power of
wrestling robot, a motorized walking robot is your first point of reference when design- the PICMicro MCU!
bug, and more. Grab your screwdriver and ing and building this essential subsystem. In this heavily-illustrated
join the robot-building revolution! $24.99 $24.95 resource, author John
Iovine provides plans and
Programming Robot Controllers complete parts lists for 11
Concise Encyclopedia of by Myke Predko easy-to-build robots each with a PICMicro
Robotics In this innovative addition to brain. The expertly written coverage of the
by Stan Gibilisco the Robot DNA Series, PIC Basic Computer makes programming a
This handy collection of author Myke Predko demon- snap — and lots of fun. $19.95
straightforward, to-the- strates how robot controllers
point definitions is exactly are programmed using the Robot Mechanisms and
what robotics and artificial versatile Microchip PICmicro Mechanical Devices Illustrated
intelligence hobbyists Microcontroller. The focus of by Paul Sandin
need to get and stay up to the book is on the least Both hobbyists and profes-
speed with all new terms understood aspect of robot sionals will treasure this
that have recently design: integrating multiple sensors and unique and distinctive
emerged in robotics and peripherals software that will work coopera- sourcebook — the most
artificial intelligence. tively and allow for a simple high-level con- thorough and thoroughly
Written by an award-winning electronics trol application. To explain the concepts pre- explained — compendium
author, the Concise Encyclopedia of sented in the book, Myke uses off-the-shelf of robot mechanisms and
Robotics delivers 400 up-to-date, easy-to- parts and a “C” programming language com- devices ever assembled.
read definitions that make even complex piler that is included on the CD-ROM. $24.95 Written and illustrated specifically for people
concepts understandable. Over 150 illustra- fascinated with mobile robots, Robot
tions make the information accessible at a We accept VISA, MC, AMEX, DISCOVER Mechanisms and Mechanical Devices
glance and extensive cross-referencing and a Prices do not include shipping and Illustrated offers a one-stop source for every-
comprehensive bibliography facilitate further may be subject to change. thing needed for the mechanical design of
research. $19.95 state-of-the-art mobile ‘bots. $39.95
SERVO 11.2003 33
soundsensor.qxd 10/8/2003 3:16 PM Page 34
by Paul Badger
Art by Bryce Kho
soundsensor.qxd 10/8/2003 3:41 PM Page 35
Figure 1
This small sound sensor — which to pull the softest signals out of the in that you can easily re-purpose the sen-
runs on 3-15 volts and features both noise is another story. sor for a higher voltage output if a lower
analog and digital outputs — was voltage regulator is on the board. The
designed for my classes in physical com- The Gory Details microphone element can be any inex-
puting at an art school. It introduces stu- pensive electret microphone element. I
dents to the usefulness of op-amps and Referring to the left side of Figure 1, had originally used a higher gain three
illustrates several op-amp configurations. U1 is an optional 78L05 regulator. When lead mic that I found at Hosfelt
My students have found many uses for a signal is being amplified by a factor of Electronics. Just jumper the positive and
the sensor including directly driving high 100,000 it only takes a small noise com- signal pads for the more common two
efficiency LEGO motors, controlling ponent in a power supply line to serious- lead types. R1 and the zener voltage ref-
sound activated sculptures, sound-mod- ly degrade the desired signal. DC moto s erence IC lock the microphone bias to
ulated lighting projects, as well as sound are often the prime offenders in this 2.5 volts. This IC can easily be replaced
inputs for microcontrollers and robots. regard with their brushes, inductive by a 3 to 9 volt zener if you have one on
loads, and heavy current draw, which hand. Besides providing a noise-free
How it Works supply to the mic, the zener's other job
is to keep the mic voltage below 10
The sensor uses a cheap electret volts, in case a higher supply voltage is
microphone element to sense and ampli- being used.
fy sounds. This signal is then rectified by The voltage at the non-inverting
a peak detector which converts the input of A1 (pin 12), is set by R2 and R4
sound signal into a ground referenced at slightly above the negative rail and
DC voltage, holds this signal, and then also serves as the reference voltage for
lets it sink back to ground level as slow- amplifiers A2 and A3. The capacitors
ly as desired. across the microphone bias voltage
A quad op-amp does all the signal divider (C8) and the reference voltage
processing. The first two op-amps are divider (C9) are bypass capacitors that
used to amplify and find the peak of the form low pass filters. Again, the goal is
audio signal. The third op-amp buffers to prevent variations in the power sup-
the voltage across the holding capacitor ply from appearing as a signal. The elec-
and supplies an analog output signal. tret microphone's signal is coupled
The final op-amp is used as a compara- through capacitor C1 into the inverting
tor to produce a digital on/off output input of op-amp A1, that is set up as an
signal from the smoothly varying analog inverting amplifier, the gain of which is
signal. often seem to radiate low level grunge set by the input and feedback resistors
Many of the sound sensor circuits I back along the power lines. One of the by the formula: Gain = Rf / Rin. A slight
have seen using a single op-amp to best ways to deal with this noise is to complication here is that the input resis-
amplify microphone signals are less than provide a separate battery or power sup- tor is made up of R3 plus any resistance
optimal because the open-loop gain of ply. (Don't forget to tie the grounds that is to the "left" (in the sense of the
most op-amps is just barely adequate to together at a "star" point.) This is not schematic not the actual part) of the
amplify an audio signal from standard always practical so a local regulator with potentiometer wiper. The feedback
electret microphone elements to a use- bypass capacitors is another cheap and resistance is made up of any resistance
ful level. I have chosen to provide three effective cure. to the "right" of the pot wiper. This ratio
stages to insure that there is enough If you don't use the regulator, just sets the maximum gain at 250K/2K =
gain (audio sensitivity) for even the soft- jumper the input pad to the output pad 125 and the minimum gain at the lower
est signals. Now whether your microcon- on the board and omit C1. There is also limit of the pot, essentially zero, allow-
troller can be programmed well enough an advantage in not using the regulator, ing the pot to have a larger control
SERVO 11.2003 35
soundsensor.qxd 10/8/2003 3:17 PM Page 36
36 SERVO 11.2003
soundsensor.qxd 10/8/2003 3:18 PM Page 37
where the input signal can vary without to provide a cheap and easy sound-
switching the output. activated lighting system. When using a
5 volt input, the best results are obtained
Odds and Ends by reducing the size of the optocoupler
input resistor.
I have specified two different op- The sensor can easily function as a
amps and each have pros and cons. The sound-operated motor control, either by
LMC6484 op amp is a “rail-to-rail using the analog output with an emitter
input/output” CMOS device whose inputs follower transistor or by using the digital
and outputs both include the supply rails, output with a switching transistor (Figure
which is especially important with sensors 2). With a microcontroller or BASIC
running in the 2 to 5 volt range. The Stamp, the sensor can provide input via an
LM324 alternative is dirt cheap and ubiq- ADC, or directly from the digital output to
uitous, but can only swing its output to a microcontroller pin. Another idea that I
within 1.5 volts of the positive supply rail. have used in conjunction with microcon-
The LM324 also has about 20 milliamps trollers is to use a sensor as a kind of sonic
more output drive, which is useful if you memory, so that the micro can hang out
plan to drive a small relay or motor direct- in a low power sleep cycle and once every
ly from the sensor. 10 seconds or so wake up and check to
see if anything is happening. If a high level
Circuit Construction sound has been sensed then the micro
wakes up and does something.
The resistors and capacitors are all When done, it resets the sensor by
non-critical, so don't hesitate to use slight- asserting a pin high that is wired to the
ly different values if you want to build bleeder MOSFET's gate and then sets this
from parts on hand. This is a high gain cir- pin back to the high impedance “input”
cuit so a printed circuit board with a large state. Another idea for using the sensor is
ground plane is recommended. It is cer- in the area of frequency sensing — this will
tainly possible to build the circuit on a perf be covered in a future article along with
board with neat construction with the some BASIC Stamp code examples.
shortest practical leads being a good idea. An editable schematic is available on
There are numerous uses for the sensor, the Servo website, www.servomaga-
both on robots as well as in general gen- zine.com. I'll post any relevant revisions or
eral tinkering.The analog output of the reader feedback on my website at
sensor can be directly interfaced to a www.paulbadger.org and you can
Velleman DC controlled light dimmer kit reach me at [email protected] S
TM & © MMIII Mondo-tronics, Inc.
TM
UPDATE: EED OF
A NEW BRAGENT
ROBOTIC al
1) Perfor ms “speci ing,
MISSION: s” li ke wa ll follow ding,
robot opeking, object avoi - 2) it ging
light se an d th en
nder, eks out its char !
random wa lly se s itself. Unique
automatica recharge it with
stat ion &
amp 2 socket (control
o add-on ch ports, St
OPTIONS:n Tw mu more. keeps
your ow code ) & strives to
kit thatto ➔
ed robo t day!
advanc s into acti
on
DATION: An
RECOMMEN“a ➔ Send your
li ve!”
itself
few things in ing and programming effort is but would work. One flaw was that it
electronics seem so simple in appear- required. would only measure battery dis-
ance, yet in actual implementation One has to determine and program charge, such that the battery had to
such a difficult task, as the means to battery coefficients like self discharge be fully discharged and then
determine the total available energy in characteristics, temperature coeffi- recharged for the reading to be accu-
a rechargeable battery. cients, charge/discharge efficiency rate. What if I wished to partially
Measure the battery voltage? Well, ratios, and other such things. This is charge the battery, and then continue
not quite. For starters, the measure- way too much effort for a simple proj- with the discharge? You know, like
ment requires to be open-circuit volt- ect. Still, if you are curious, visit the one always does with a vehicle, par-
age — something that it is not feasible Battery Management link at their tially filling your fuel tank.
in most applications. Then there is the website, www.power.ti.com After some thinking, I came up with
fact that different battery chemistries I, however, was interested in a cir- even more circuit requirements: an
have very different discharge charac- cuit which would provide an improve- absolute value circuit previous to the
teristics. For instance, nicads have a ment over the simple open circuit volt- V/F converter, a comparator to detect
fairly flat voltage vs. charge character- age reading, without the complexity the current polarity, a negative supply
istic, whereas lead-acid suffer a sub- to allow the operational amplifiers to
stantial drop in voltage. Then there is swing to a negative voltage, counters
the temperature coefficient of the with up/down capabilities,
battery voltage itself. The list goes on overcoming their short count
and on. sequences, etc. Suddenly the circuit
An accurate battery fuel gauge, as was not simple anymore!
these circuits are called in reference to I built a prototype, but it just was not
the familiar automotive gas gauges, elegant. It did work, but it was way too
are in reality quite challenging cir- intricate. There must be a better way!
cuits. These are usually customized I knew I could use a microcontroller
for the application. As shown in Photo 1 for the up/down counters and the
Photo 1, a commercial version of Battery Pack display, but the rest of the circuitry
the circuit is fairly complex, and was still too complicated. Without
thus, it is no wonder that “smart” any further recourse, I allowed the
battery packs can cost $50.00 or and sophistication of the TI devices. project to whither for a while.
more. This particular device came In a battery, this means measuring Then I found a marvelous circuit from
from a camcorder, but cell phones, its charge, or amp-hours. Therefore, Analog Devices. This device, designed
PDAs, and laptop computers have sim- one would only require a current sam- to be a self contained watt-hour meter,
ilarly complex devices. pling resistor, an amplifier to convert has all the circuit functions that I would
On the other end of the spectrum, that miniscule resistor voltage to a require. It amplifies and conditions the
there are companies which make spe- useful level, then to a voltage to fre- voltage and current samples, multiplies
cialized fuel gauge monitors. Texas quency converter, and finally to a them, determines the resultant polari-
Instruments offers a large portfolio of bunch of cascaded counters and a dis- ty, and converts it to a frequency pro-
devices, which are very powerful and play driver. portional to watts — all with crystal-
have many features. But to operate The result was a straightforward cir- controlled digital accuracy and only
them properly, substantial engineer- cuit that was not very sophisticated, requiring a single positive supply. The
38 SERVO 11.2003
batteryfuelgage.qxd 10/9/2003 7:04 AM Page 39
Figure 1
pulses can then be fed to the microcon- The device is crystal controlled for The reason for doing so is that it takes
troller, which will accumulate and dis- great accuracy. X1 is a common more charging energy to recover what
play them. This is the solution I was 3.5795 MHz, “color burst” crystal, the was lost during discharge. To account
looking for! same frequency is used to drive the for that, we must have a longer count
Of course, when one is counting microprocessor. After performing all during the charge period. I have experi-
watt-hours, one is counting energy, the internal computations digitally, U1 mentally determined that for a sealed
whereas when one is counting amp- then converts them to a variable fre- lead-acid battery this amounts to about
hours, one is counting charge — quite a quency which is proportional to the a 25% loss, which more or less agrees
different thing. The trick to make the computed value times a ratio of the with the battery manufacturer's specifi-
thing work is to feed in a very accurate clock frequency. cation of 30%. Of course, you may
voltage, which then becomes just The value of this ratio is set digitally change this ratio easily by adjusting the
another constant factor in the device's via pins S1 and S0. In this instance, the microcontroller's code. (Both the ASM
voltage to frequency conversion ratio. circuit values and the frequency divider source code and the compiled HEX
By carefully selecting this factor and are set such that 2,560 pulses are out- image may be downloaded from the
adjusting the count ratio by the micro- put, for a full-capacity battery dis- SERVO MAGAZINE website, www.
controller, I had achieved my intended charge. This is what is known in battery servomagazine.com).
result. parlance as "1C" — one unit of battery The display business of the project is
capacity. These pulses are then fed a 10-LED bargraph, which is driven
Circuit Description from U1's pin 24 to a port in the micro- directly by the microprocessor, and cur-
controller, which counts them and rent limited by resistor networks R11
As shown in the schematic of Figure advances an LED every 256 pulses. U1's and R12. Each LED segment will light
1, the battery current is sampled with a pin 22 is an output which produces a up sequentially, as the battery is
low value shunt resistor, Rsh. More on frequency 16 times faster than that of charged or discharged.
how to choose the value of Rsh later. pin 24. It is useful to monitor battery If the supply voltage is interrupted,
After some filtering via R1, R2, C1, and activity. the battery state information could be
C2, the voltage is applied to the current Another important signal comes out lost. Therefore, it is imperative that the
sense input pins of U1. from U1's pin 20 to the microcontroller. last state is stored in the microproces-
The voltage sense inputs are “fooled” It indicates the battery's current flow sor's internal nonvolatile EEPROM.
with a constant voltage developed by polarity, or whether it is discharging or Input port RB0 is configured as an
the ratio of R4 to R9. An adjustable charging. This is important because it input which is flagged by the voltage
voltage reference device, U2, is used to not only tells the microcontroller to regulator's reset output. In addition,
feed both the divider resistor and U1's count down or to count up, but also, this reset flag enables or disables Q1, a
reference voltage input. The voltage is when counting up, that 320 pulses, Darlington transistor. This feeds the
adjusted to exactly 2.600 volts via P1, instead of 256, are required to advance positive voltage to the LED display.
R7, and R8. an LED count. When the reset flag is low, the transis-
SERVO 11.2003 39
batteryfuelgage.qxd 10/8/2003 3:28 PM Page 40
SERVO 11.2003 41
nightofthelivinghexapod.qxd 10/8/2003 4:31 PM Page 42
Part 1
nightofthelivinghexapod.qxd 10/8/2003 4:38 PM Page 43
nightofthelivinghexapod.qxd 10/8/2003 4:48 PM Page 44
WALKING ROBOTS:
THEY ARE ONE OF THE MOST INTERESTING RESULTS OF TODAY'S ADVANCED TECHNOLOGY.
WITH THE POPULARITY OF MICROCHIP PIC MICROCONTROLLERS AND THE DEVELOPMENT OF COMPILERS
TO SUPPORT THEM, BUILDING MOBILE ROBOTS WITH “BRAINS ON BOARD” HAS NEVER BEEN EASIER.
by Karl Williams
44 SERVO 11.2003
nightofthelivinghexapod.qxd 10/9/2003 7:06 AM Page 45
MECHANICAL CONSTRUCTION
THE CHASSIS
Step 1. Cut Out Base
The first step in creating the robot is to con-
struct the aluminum base to which the legs,
electronics, gearmotors, batteries, and the
controller circuit board will be fastened.
This will require the use of a hacksaw
(or a band saw with a metal cutting
blade), a power drill, table vise and a
metal file. Cut and drill a piece of
1/16-inch thick flat aluminum (4-1/2
inches wide x 6 inches long) to the
dimensions shown in Figure 2.
Figure 2
Body chassis cutting and bending diagram.
Figure 3
Body chassis drilling diagram.
SERVO 11.2003 45
nightofthelivinghexapod.qxd 10/8/2003 4:49 PM Page 46
Fig. 5
46 SERVO 11.2003
nightofthelivinghexapod.qxd 10/8/2003 4:50 PM Page 47
Figure 8
Potentiometers with connector wires attached.
SERVO 11.2003 47
nightofthelivinghexapod.qxd 10/9/2003 7:10 AM Page 48
Figure 10
Twin motor gearbox and potentiometers
Step 8. Build Up the Chassis attached to the chassis.
Figure 11
Cutting and drilling guide for the leg
and linkage pieces.
48 SERVO 11.2003
nightofthelivinghexapod.qxd 10/8/2003 4:52 PM Page 49
Figure 12
Motor shaft mount and potentiometer shaft
mount fabrication diagram.
ASSEMBLING
THE LEGS
Now that the individual pieces for the legs and linkages have been constructed, it’s time to put them all
together to form the mechanical part of the walking machine. Refer to Figures 14 and 15 when assembling
the legs.
Step 11. Start by attaching Step 13. On the same shaft mount F to the potentiome-
one of the motor shaft mount machine screw, place another ter shaft, but do not fasten the set
pieces labeled E to the shaft of the washer, then linkage piece B, then screw at this time.
right motor with the flat edge fac- a washer, and then another link-
ing away from the motor. age piece B. Step 16. Attach linkage piece
Make sure that the end of the Secure all of the pieces togeth- D to piece F by placing a #6 nylon
shaft is flush with the face of the er with a 6-32 locking nut. washer between the pieces and
motor linkage and secure it in secure with a 6-32 x 1-inch
place by tightening the set screw. Step 14. Attach two leg pieces machine screw and locking nut.
A and linkage piece C to the chas-
Step 12. Attach piece A to the sis at the locations shown in Step 17. Starting from the
motor mount with a 6-32 x 1-inch Figures 14 and 15. front of the robot, attach leg piece
machine screw with a nylon wash- A to linkage B with a 6-32 x 1-inch
er separating the two. Step 15. Attach potentiometer machine screw and locking nut.
SERVO 11.2003 49
nightofthelivinghexapod.qxd 10/9/2003 7:11 AM Page 50
Separate the pieces with a 6-32 x with enough pressure to hold the Step 21. Tighten the set screw
5/16-inch plastic spacer. parts in place, but still allow them on both of the potentiometer shaft
Do the same with middle leg to move freely without any resist- mount pieces F. If you suspect
piece A and linkage piece C but ance. that the potentiometer shafts have
add two nylon washers along with been moved from their middle
the 6-32 x 5/16-inch plastic spacer. Step 19. Perform the above positions, then re-calibrate each
procedure for the left side of the one before tightening the set
Step 18. Attach the back leg robot. screw (refer to Step 7).
piece A to pieces D and B, with a When the mechanics are com-
Step 20. When everything is in plete, add a rubber foot to the end
6-32 x 5/16-inch plastic spacer place, use your finger to manually of each leg. This will give the feet
between pieces A and D and a rotate the gearboxes so that the more friction and help to grip
nylon washer between pieces D middle leg on each side is in the when the robot is walking on slip-
and B. downward position and perpendi- pery or uneven surfaces.
Tighten all of the locking nuts cular to the chassis.
Figure 17
Finished mechanical assembly of the robot.
50 SERVO 11.2003
nightofthelivinghexapod.qxd 10/9/2003 7:11 AM Page 51
Build A One-Pound
Fighting Robot
PA R T 2
Put the Finishing Touches on Your Mini Robot!
by Patrick Campbell
P
art 1 of my article ran in the fighting machine, which I named PARTS LIST
Amateur Robotics Supplement Demonic. ITEM QTY PART NUMBER DESCRIPTION
1 2 SOZBOTS P/N BM3MM Dual Bearing Mount
#2, back in August of 2002, Figure 1 shows an exploded view 2 2 SOZBOTS P/N MMGH01 Motor Mount
where I explained how to design a of the design and attached is a rough 3
4
1
1
SOZBOTS P/N SOZDSC-M
Custom Fabrication
SOZBOT Speed Controller
Bottom Chassis
SOZBOT — from laying out the drive- parts list. With all the purchased parts 5 1 SOZBOTS P/N RCRXFM5 Radio Receiver
6 1 Custom Fabrication Top Chassis
train to architecting an effective in hand, I only need to make a few 7 1 SOZBOTS Weapon Motor
weapon. This part finishes off the proj- parts — the chassis top and bottom 8
9
1
2
10 Tooth Gear
7.2V 1000 mAhr
Weapon Drive Pinion
LiPoly Battery
ect and brings all the subsystems out of carbon fiber sheet, the weapon 10 1 50 Tooth Gear Weapon Disc Gear
11 1 Custom Fabrication Weapon Left Mount
together to form a fierce 16 ounce blade and two mounting plates for 12 2 SOZBOTS P/N BE3MMF Flanged 3mm Bearing
parts. 18
19
2
4
SOZBOTS P/N GH27MOT
SOZBOTS P/N CHS16HEX
Gearmotor
Chain Sprocket
52 SERVO 11.2003
SOZBOTS.qxd 10/8/2003 10:45 PM Page 53
SERVO 11.2003 53
SOZBOTS.qxd 10/8/2003 10:46 PM Page 54
54 SERVO 11.2003
SOZBOTS.qxd 10/8/2003 10:46 PM Page 55
means that if you keep the robot on Demonic has entered four compe-
charge between matches, one battery titions since being built, and has won S ixt een OZ ro BO T S !
should last you for the day. But, always 7 matches out of 15. Not quite 50%,
To learn more about these SOZBOTS
have backups as parts can easily get but future improvements will give it a
and their fighting events, visit
damaged in a match. better chance.
A couple of improvements include www.sozbots.com
www.sozbots.com .
Motors replacing the aluminum blade with
titanium and adding a wedge in the around. Good luck with your one-
To help eliminate motor noise, it's front to keep other robots from get- pounder and see you at the next
best to solder three 0.01 µF capacitors ting underneath and pushing him SOZBOTS event! S
on the motors — from each brush of
the motor to the motor body and
between each brush. This is very
important on cheap toy motors, but
not always necessary on good quality
motors. Remember to keep the motor
leads as short as possible.
Conclusion
SOZBOTS are an excellent way to
get into the sport of fighting robots.
Half the fun of competing is designing
and building your own robot, using
your own designs.
The other half is the actual com-
peting. It's a great way to challenge
yourself to come up with a solution
that is better than the other guy’s as
well as challenge your ability to build a
durable robot that can handle the rig-
ors of battle. And because the robots
can only weigh up to one pound, the
cost of building a robot and compet-
ing is far less than any other weight
class.
SERVO 11.2003 55
Tracker.qxd 10/8/2003 12:58 AM Page 56
A
s I write, a prototype of "The shadow sensors, will track shoppers charge (that is, the potential) at the
Tracker" watches my every move through a store-front window or detect comparator's inverting input exceeds
with attention as keen as that of "thermally neutral" motion, such as that at the non-inverting input and the
a dog expecting a treat — and every luggage moving on a conveyer belt. comparator's output goes low, thus
time I leave my seat, it turns its head These features are described in greater triggering a monostable timer. The
to follow my movements around detail below. effect is that the eye compares light
the room. level over time.
The Tracker is a robotic head which Block Diagram One of the toughest problems to
employs two electronic "eyes," each of crack with the present circuit was that
which is extremely sensitive to moving The block diagram in Figure 1 of the eye's response under AC light-
shadows. By adding some simple logic gives a simplified representation of ing. This is because the circuit needs to
to the eyes, and a "power section" with how one of The Tracker's eyes works. distinguish between quick and subtle
a robust DC motor, The Tracker will Note that several components are shifts in light level on the one hand,
turn a head to track the motion of a omitted from this diagram. and the flicker of AC lighting on the
person walking by. A light dependent resistor (LDR) other. This problem was effectively
Sophisticated circuitry is normally forms the lower arm of a potential solved for incandescent lighting,
used to track motion in this way. The divider, and this presents a potential at although harsher lighting (i.e., sodium
Tracker, however, uses cheap and com- point X of approximately half the sup- lamps) could negatively affect sensitiv-
mon components throughout, in what ply voltage. This potential fluctuates ity.
is a relatively simple circuit. If its left with changing light levels (i.e., shad- The core of the solution lies in a
eye detects motion, its head rotates ows in clothing). carefully chosen capacitor (Figure 1)
left. If its right eye detects motion, The potential at point X is then wired in parallel with the LDR, which
its head rotates right. If both eyes presented simultaneously to the inputs smoothes out ripples at point X. While
detect motion simultaneously, it simply of two bilateral switches. An astable this reduces the overall sensitivity of
"stays put." oscillator with an integral divider alter- the eye by about one-third, it also
nately switches the bilateral switches reduces AC ripple by about 90%. In
The Eyes at several Hertz, so that the two capac- conjunction with other select compo-
itors at the inputs are alternately nent values in the "eyes section," this
The success of The Tracker as a charged. brings about a very significant improve-
design comes down, in the final analy- Since the resistance of the bilateral ment in response.
sis, to its eyes. These need to meet two switches in the off state is very high and The "sure bet" range of The Tracker
important criteria. the input impedance of the op-amp under AC incandescent lighting should
First, they need to be very respon- comparator is very high, the charge on be more than eight feet — and about
sive if they are to pick up moving shad- the capacitors is "trapped" in the twice this under natural lighting.
ows at any distance. Second, they need spaces between the bilateral switches However, with careful adjustment and
to auto-adjust to ambient light, so as to and the comparator. These are referred tweaking, as described below, it should
respond to a fairly wide range of light- to as sample-and-hold circuits. be possible to extend this to the full
ing conditions as they scan a scene. As the light level rises and falls, the potential range of the eyes. These are
On the second count, The Tracker
uses what is called a "passive" detec- .:. Figure 1 .:.
tion system. This means that it does
not use a fixed light source which is
integral to the design, but responds to
relative fluctuations in light level.
I chose "shadow sensors" for the
eyes (sometimes called "light sen-
tinels"), since in certain situations
these have important advantages over
infrared or ultrasound.
First, both infrared and ultrasound
are unable to sense motion through
glass. Second, infrared is unable to
sense objects which are thermally
indistinguishable from their back-
ground. The Tracker, through its use of
SERVO 11.2003 57
Tracker.qxd 10/9/2003 7:01 AM Page 58
the tracker
eral switches U2a to U2d alternately.
U4 and U5 were chosen particular-
ly for their high input impedances,
which are necessary so that C4 to C7
will retain their charge. Also, they were
chosen specifically for their provision of
an offset-null adjustment, which is
used to balance the differential input
stage so that the inverting input is nor-
mally higher than the non-inverting
input. Failing this, the potentials at
the two inputs would be too close for
comfort, and might or might not trigger
the ICs.
While LDRs have slower response
times than other light sensitive devices,
two LDRs were chosen for this circuit
because they are common devices,
.:. Figure 2 .:. and may easily be interchanged with
similar devices of the same family. This
capable of spotting a person walking Second, if both monostable timers is not always the case with photo-tran-
under natural lighting at 60 feet, or trigger simultaneously (which is AND), sistors or photo-diodes, which have
under AC incandescent lighting at 20 both timers are instantly reset. This some awkward relatives. Note that if
feet, without lenses. removes any conflict between the two photo-diodes are used, the cathodes
eyes (and thus any conflict at the would normally be wired to points A
Motor “Blanking” motor), and causes The Tracker to and C in the circuit. An LDR is com-
wait for the next trigger pulse from pletely non-polar.
The block diagram in Figure 2 either eye. The first stages of the circuit espe-
gives a more simplified overview of cially require quietness to function
The Tracker's logic, or brain. Circuit Detail properly. Therefore, no LED is used to
The Tracker's brain is small, per- display the switching action of U1,
forming only an AND operation and an Much of this circuit (see Figure 3) although this might be helpful. Also, no
OR operation on the two monostable represents standard electronics, and LED is used to show the state of the
timer's outputs, with the help of four requires little explanation. At the same output of either U4 or U5. Where an
bilateral switches. time, there are a few critical features LED is indeed essential in the first
If either eye triggers individually which I shall highlight here. stages (LED1), this uses a high value
(which is OR), the other eye is instant- Most importantly, the circuit needs ballast resistor (R6). Therefore, an
ly disabled. In fact, both eyes are dis- to combine the extreme sensitivity of ultrabright or high efficiency LED is
abled to prevent any interference from the eyes with the heavy switching of used in this position.
the power section and motor, which the power section and motor. A special problem presents itself in
draw a heavy current and send ripples Therefore it uses supply decoupling the form of the power section (U7 and
throughout the circuit. The eyes are capacitors throughout. (In the interest its surrounding components) and
disabled as long as the motor is ener- of simplicity, these are not reflected in motor M1. This has already been
gized, and continue to be disabled for the full circuit diagram). described in brief.
as long as a timing capacitor deter- The circuit also uses small value Taking the example of U7a, when
mines (C12 in the full circuit diagram). capacitors — in particular C1 and C12 — the output of U7a goes high, capacitor
This "blanks" the action of the motor, and high value resistors — in particular C12 is charged, and bilateral switch
and gives the circuit sufficient time to R1, R6, and R13. C12 dispenses with a U6c conducts. This means that the
compose itself after each movement of good practice parallel resistor for the potential at the junction of R11 and
The Tracker's neck. sake of further discouraging ripples on U6c goes high. Therefore, with trigger
This blanking has more than one the supply. Also note capacitors C8- pin 6 being held high, this is disabled
purpose. First, if there was no blanking, C11, which help to stabilize the two for a moment, giving the circuit time
the eyes would see motion all the time eyes. These in particular need time to to settle after the motor has been
as The Tracker turned its neck. The cir- settle at switch-on. energized.
cuit blanks out the motion of a spin- The 4047B CMOS oscillator (U1) LED2 and LED3 are included in the
ning world around it, as well as any provides — through an internal divider blanking described. As small as their
physical vibrations that might be — a near perfect mark-space ratio at its power consumption is, these alone
caused by the turning of its neck. output pins 10 and 11, to switch bilat- would be capable of significantly desta-
58 SERVO 11.2003
Tracker.qxd 10/9/2003 7:02 AM Page 59
the tracker
bilizing the circuit during switching. are required for the construction of the tors, then add the LDRs — leaving long
Finally, a power MOSFET H-bridge neck, which in the prototype has free enough legs for these to be "splayed"
is used to turn the motor either clock- 360° rotation. PCB patterns are avail- (see below).
wise or counterclockwise in response able for download on the SERVO When an LDR is in its "naked"
to pulses from IC7 ouput pins 5 and 9. website (www.servomagazine.com). state, it has a very wide viewing angle,
The specified MOSFETs will turn any An early prototype used an umbilical and its sensitivity is dull. The sensitivity
small motor without the need for heat cord between PCB 1 (the body) and may be greatly increased by making it
sinks, yet remain generously within PCB 2 (the head), which on one occa- "look" down the length of a narrow,
their limits. D4 and C15 are included to sion led to complete self-strangulation! black tube. In this case, three-inch long
suppress back-EMF. The upper plate makes contact with black tubes are recommended. For
Current consumption of The the lower plate through three sprung maximum range, try longer tubes —
Tracker is less than 10 mA on standby, wires (or brushes) as shown in the however, this reduces the field of
so that operation off a 12 volt 7 Ah bat- photographs. vision, which can be self-defeating in
tery is feasible, and would likely carry Note that U1, U2, U6, and U7 are some lighting situations. The tubes
the circuit through a few days of con- CMOS devices, and require care when are later fixed to the head assembly,
tinuous use in a store-front window handling (first discharge your body to so that vibration is reduced to a
before requiring a recharge. ground). Because PCB 1 is not small, I minimum.
Finally, it would be a fairly simple would recommend the use of dual-in- Once soldering is complete, insert
matter to add speech to The Tracker. As line pin (DIP) sockets throughout. the ICs in the DIP sockets, observing
an example, an ISD1400-series single- Starting with PCB 1, begin by sol- the correct orientation, and mount
chip record and playback device would dering the solder pins, the seven DIP potentiometers VR1-VR3, LED1-LED3,
provide a simple option if suitable trig- sockets, and 32 jumper wires. Then and S1 and the DC power socket on
ger inputs were arranged. Since these solder the resistors, the diodes, the the case.
devices have versatile addressing capa- potentiometers, the capacitors, and the
bility, various spoken messages could power MOSFETs, finishing with the Mechanical Construction
be incorporated in the circuit. LEDs (these should have suitably long
Comprehensive data is available at legs for mounting on the case — and The motor is mounted firmly on
www.isd.com note orientation). Use suitable lengths the top of the case, with its "face"
of connecting wire to connect S1 and being flat horizontal. This is a 12 volt
Electronic Construction the DC power socket (points F and G in DC bidirectional motor with fairly low
Figure 3). The three solder pins near revs (650 RPM in the prototype), and
The Tracker is built on two PCBs, potentiometer VR1 are taken to the good torque. The circuit allows for
one each for the processing and sens- lower plate of the neck as shown, with more than a little latitude when it
ing circuitry. Two further PCBs (an suitable lengths of connecting wire. comes to the motor's speed, so that
upper and a lower plate, consisting of Turning to PCB 2 (the smaller various, similar DC motors may be
three concentric circles of copper track) PCB), solder the resistors and capaci- tried.
SERVO 11.2003 59
Tracker.qxd 10/8/2003 1:01 AM Page 60
the tracker
Resistors All 1/4W, 5% unless noted Semiconductors .:. Parts List .:.
R1 470 K D1-D3
R2, R5 33 K 1N4148
R3, R4 39 K D4 1N4001
R6 22 K D5 1N5400 (or to suit motor)
R7, R8, R13 220 K LED1-LED3 5 mm ultrabright red LED
R9, R10, R14-R17 1K TR1-TR4 IRF510 power MOSFET
R11, R12 47 K U1 4047B CMOS oscillator
LDR1, LDR2 NORP-12 U2 TL072CN dual JFET op-amp
VR1, VR3 Dual gang 100 K linear pot U3, U6 4016 CMOS quad bilateral switch
VR2 Dual gang 47 K linear pot U4, U5 TL071 JFET op-amp
U7 ICM7556IPD dual CMOS timer
Capacitors
C1, C15 100 nF Miscellaneous
C2, C3 1 µF electrolytic 16 V M1 12 volt DC gearhead motor
C4-C11 47 nF (All Electronics CAT # DCM-208)
C12 680 pF S1 On-off switch rated 1A
C13, C14 470 nF PS1 (optional) 12 volts DC 1 amp power supply
C16-C21 100 µF electrolytic 16 V <30 mV ripple
C22 1000 µF electrolytic 16 V SK1 DC power socket to suit PS1
Wire up the bottom neck plate, three potentiometers, plug 12 volts one or the other LED will blink ran-
mounting it on the face of the motor. DC into The Tracker's DC power domly. If the head is properly con-
Solder sprung wires (brushes) to the socket (center pin positive), then nected, it will now twitch both clock-
upper neck plate, and fix this on the switch on. If a 115 volt AC to 12 volt wise and counterclockwise when it
motor's shaft, ensuring that all the DC wall pack is used, this should be senses motion before the eyes.
brushes make good contact with the rated 1 amp with 30 mV RMS ripple We now require more decisive
circular copper tracks on the bottom or less, otherwise the circuit's sensi- motion of the neck. For this purpose,
plate, and that the upper plate is flat tivity could be compromised. In dual potentiometer VR3 is turned up
parallel with the bottom plate. Wipe other words, a high quality regulated (clockwise) until the neck turns
both plates with alcohol or methylated wall pack is required. through a suitable arc to effectively
solvent before securing them, since At this point, The Tracker's head track a person walking by. The set-
residues from their manufacture might should not be moving, except per- ting of VR3 will vary according to the
dirty the brushes. haps for one or two twitches at motor used, and the distance and
Construct a central cylinder which switch-on. The circuit takes a minute speed of people walking by. The
will enable the upper plate to fit tightly or more to fully settle, and may motor should turn the neck so that
onto the motor's shaft. I did this with exhibit unexpected behavior before the eye which is triggered advances
soft copper plate which I wrapped this. its position ahead of the motion it
tightly round the shaft, then soldered Turn up (clockwise) dual poten- has detected (i.e., ahead of a per-
rigidly into place. The upper plate tiometer VR1 until LED1 illuminates. son's path), while not advancing the
should then slide tightly on and off the If this does not illuminate, the light other eye too far. Each time the neck
motor's shaft. If this proves not to be level might be out of range. Unless it turns, the head should more or less
sturdy enough, epoxy glue is suggest- is far out of range, this should not turn to face you directly. If the head
ed. A head is then built onto the upper present a problem — simply turn the
plate. For this I used stiff card stock, potentiometer to the brightest
and added some sparse "decoration" (clockwise) or dimmest (counter-
as seen in the photographs. The head clockwise) light setting. LED1 might
construction also serves to support the blink on and off during operation,
eye-tubes. depending on the light level per-
The eye-tubes were splayed at 65° ceived by the circuit at each turn of
in the prototype. If this angle is the neck.
reduced, The Tracker may lose you too Next, turn up (clockwise) dual
easily as you walk past. potentiometer VR2 until LED2 and
LED3 blink when there is motion
Set-up and before the eyes. If you turn this up
Troubleshooting too far, the AND logic described
above will kick in and tend to cancel
Turn back (counterclockwise) all out the response of both eyes — or .:. Main processing PCB .:.
60 SERVO 11.2003
Tracker.qxd 10/8/2003 1:01 AM Page 61
the tracker
might lie in interference between
the two eyes. If a hand is moved in
front of one eye and the LED of the
opposite eye flashes also, then there
is interference.
Assuming that the circuit has
been given ample time to settle, try
turning back VR2. If this leads to
poor sensitivity, a poor quality power
supply would be the No.1 suspect.
The perfect solution in this case
.:. Sensor PCB .:. would be a 12V battery. Interference
from the motor or physical vibration
turns the wrong way, simply reverse of the head should be the next sus-
the leads of the motor. pects. The solution in this case
If the circuit does not work as would lie in a longer blanking peri- .:. Head scaffold with neck
described, switch off and carefully od, by increasing the value of C12. I plates and sprung wires .:.
re-check. Ensure that there are no myself needed to add 470 pF in par-
solder bridges on the PCB, that all allel with C12 after I added a head to chrome" and dark or light patches
components are inserted correctly, the "head scaffold," due to increased might obscure shadows. Uniform
and that all inter-wiring is correct. vibration and momentum with the brightness in a room will work best.
Simple trouble-shooting of the added weight. Make sure that all If The Tracker is to be used in bright
circuit may be done with an LED and parts of the head are well secured. daylight or sunlight, the values of
a 1K series resistor, with the LED's Another potential problem would be VR1 and R7-R10 should be adjusted
cathode being wired to ground. particularly bad lighting conditions to give a potential of about half the
Touch the resistor to pin 10, then to (i.e., sodium lamps). In this case, supply voltage at point X.
pin 11 of U1. The LED should flash "easier" lighting would be recom- With some experimentation, The
both times. Touch it to U4 pin 6, mended, although an increase to the Tracker may be set to transition
then to U5 pin 6. With the correct values of C2 and C3 might help. The seamlessly from natural to AC light-
setting of VR2, the LED should blink Tracker will work best in situations of ing — but this, unfortunately, will not
both times when a hand is moved in good contrast (i.e., shadows on a occur at maximum sensitivity for
front of the corresponding eye. All white wall). If a room has large, dark both. If maximum sensitivity under
being well at this stage, any further areas on the one hand, or especially natural lighting triggers the circuit
problems will lie in U6, U7, or the bright areas on the other (such as under AC, then adjust for maximum
power MOSFETs. U2 is incidental to wall lamps) The Tracker might sensitivity under AC — and vice versa.
the circuit, and is unlikely to cause become confused — due partly to The author may be contacted at
any problems. A further problem the fact that it sees "in mono- [email protected] S
SERVO 11.2003 61
Robyte.qxd 10/9/2003 2:38 PM Page 62
Robytes
elcome to Robytes, SERVO's
Robytes
themselves a lot of time if they'd called Nanorobots to Swim Through the To the Moon, Alice!
Gavin Miller first. Bloodstream
http://robotics-society.org/servo/004 The European
As a boy, I Space agency
remember launched its first
Korean Industry Works to Develop watching the lunar robot probe
Service Robots old movie Sept. 28th from Photo courtesy
of ESA
"Fantastic French Guiana (erm,
Home robots have long escaped our Voyage" (later robots, space missions, and French
dreams of an in-house service bot that remade as "Innerspace") about a Guiana? Where do I apply?) The probe,
will do our laundry, dishes, and take the miniaturized submarine that cruises SMART-1 (Small Missions for Advanced
dog for a walk. But the International through a man’s body in order to per- Research in Technology), is the first of
Federation of Robotics is hoping that in- form microscopic surgery, and think- ESA’s Small Missions for Advanced
home service robots will soon be as ing "No way could they do that! Cool Research in Technology. Carrying sever-
prevalent as cars — growing from a $400 movie though." I've learned a lot in al miniaturized instruments, it's en
million dollar industry in 2003 to a $2.2 my old age. One thing is never to say route to the moon using solar-electric
billion dollar industry by 2005 — and as "No way they could do that." propulsion and a spiffy new ion engine.
much as $70 billion by 2010. The Well, Rutgers University is build- These incredible ion engines work simi-
Koreans, hoping to capitalize on the ing robots that someday will travel larly to rockets, but they fire out a pro-
explosive growth, are focusing their ener- your bloodstream to repair damaged pellant gas much faster than the jet of
gy on creating everything from vacuum cells, tissues, and DNA. a chemical rocket — delivering about 10
bots to cleaning bots. With heavy hitters A prototype of their Nano Motor times as much thrust per kilo of propel-
such as Samsung and Hyundai leading is expected to be unveiled in 2007, lant. Electric guns fire out charged
the way, better bots are within our gen- with research and development atoms, which is what gives the engine
eration. I just hope that my future butler funded by a four-year its "ion" name. SMART-1 will make the
bot has as cool a voice as B-9 did in $1,050,017.00 grant from the first comprehensive inventory of key
"Lost in Space." National Science Foundation and its chemical elements on the lunar surface,
http://robotics-society.org/servo/005 Nanoscale Science and Engineering and investigate the theory that the
program. Moon was formed following the violent
These motors — 1/50,000th the collision of a smaller planet with Earth.
New Walking Robots for Under width of a human hair — will truly It will also search for ice — something
$100.00 revolutionize how we look at medi- everyone hopes to find on the moon, as
cine and the body. So long as you it is the key to colonizing the moon. I
Mark Tilden, don't sneeze them out ... guess Norton will have to start packing.
the famous inventor http://robotics-society.org/servo/007 http://robotics-society.org/servo/008
of BEAM robotics
and annoyer of gen-
erals everywhere, is
coming out with
walking robots
which will give
ASIMO a "run" for its money. Spurned
by the success of BIO bugs, and on loan
TEXAS ART ROBOTS
from NASA (until they stop crashing his H A N D M A D E I N T E L L I G E N C E
robots into mars), he's introducing a
new robot — the "RoboSapien" — a full
function, fast moving robot minion suit- CUSTOM SOFTWARE DEVELOPMENT
able for all your world domination ROBOTICS & EMBEDDED SYSTEMS
needs. It features real multi-speed fast
dynamic walking, running, and turning, AI, speech, vision, sonar, navigation/mapping, teams,
67 pre-programmed functions including
pick-up, throw, kick, sweep, dance, fart, motion control, sensors, arms, legs, grippers, power mgmt,
belch, rap, and half-a-dozen different motors, steppers, servos, A/D, D/A, interrupts, threads,
kung-fu moves. And it even speaks flu- PIC, Atmel, Intel, Motorola, asm, C, C++, Java, Lisp, Basic,
ent international "caveman." All this
Windows, Mac, Linux, DOS, any RTOS, PalmOS, kernel,
without a computer. The big question,
of course, is will it take my Aibo for a 30 years experience, one-man shop, any size project, fast.
walk, or try to steal its lunch money.
http://robotics-society.org/servo/006 S COT T @ A RT BOTS . CO M
SERVO 11.2003 63
Events.qxd 10/9/2003 10:54 AM Page 64
courtesy of
ovember is a busy month for robot competitors — with 20-22 Texas BEST Competition
N the 24th annual All Japan MicroMouse Contest being the
biggest event of the lot. There are also contests being held by
Texas A & M University, College Station, TX — If
your school doesn't have a team, check the web
several of the major robot clubs in the US including CIRC site to find out how to get one started.
and ChiBots in Illinois, and the DPRG in Texas. And once www.texasbest.org or www.bestinc.org
again, Texas A & M University will be hosting the annual
state championship for the BEST competition. 21-23All Japan MicroMouse Contest
The first quarter of a new year is usually a bit slow but The Panasonic Center, Tokyo, Japan — This is the
there are some notable exceptions this year with the APEC 24th annual contest; 24 years of optimization have
MicroMouse Contest scheduled for February in CA and the produced robots that can solve these mazes in 10
much anticipated DARPA Grand Challenge coming in seconds instead of the original 10 minutes.
March. With a one million dollar prize, the DARPA event is www.bekkoame.ne.jp/~ntf/mouse/taikai/taikai.html
shaping up to be one of the highest profile events ever for
autonomous mobile robots. December 2003
— R. Steven Rainwater
6 Boonshoft Museum LEGO Mindstorms
N ov e m b e r 2 0 0 3 Robotics Competition
Boonshoft Museum, Dayton, OH — Local
8 CIRC Autonomous Sumo Robot Competition competition for the FIRST LEGO League. Winners
Peoria, IL — This Central Illinois Robotics Club move on to the state competition.
event will include an R/C robotic combat event in www.boonshoftmuseum.org/special_events.php3
addition to autonomous sumo.
www.circ.mtco.com/competitions/2003/sumorules.htm 6 Penn State Abington Robo-Hoops
Penn State Abington, Abington, PA — Yes, this is
8-9 Olimpiada Robotica autonomous robot basketball. Each robot has 60
Commercial Center Vizcaya de Medellin, Columbia seconds to make up to four baskets by shooting
— An annual maze-running contest. or dunking.
www.upb.edu.co/automatica/olimpiada/olimpiada.html www.ecsel.psu.edu/~avanzato/robots/robohoops.htm
15 DPRG Table-Top Robot Contest and Talent Show 15-16 Eastern Canadian Robot Games
Dallas, TX — The last DPRG Talent Show was in Ontario Science Centre, Ontario Canada — In
1999 — they don't happen often enough to miss! addition to the expected BEAM events, there's
www.dprg.org/competitions also a regional for the Trinity Fire-Fighting con-
tests and autonomous sumo.
22 PAReX Autonomous Robotics Competition www.robotgames.ca
Challenger Learning Center, Phoenix, AZ —
Autonomous Mini Sumo and Maze Solving. Mr. Januar y 2004
Ball is lost in the land of snakes and scorpions.
Can your robot find him in time? 24-26 Yantriki TECHFEST 2004, IIT
www.parex.org/autoevent1.shtml Bombay, India — This is a huge technical festival
64 SERVO 11.2003
Events.qxd 10/9/2003 11:24 AM Page 65
PWR
GND
Serial I/O PartyBus™
+5VDC
across India. There are a lot Use PartyBus™ with a laptop PC,
desktop PC, or serial-enabled µC. Have fun, and
of other technical contests gain experience programming in Java or C/C++.
in addition to the robotics Starter Kit Software for
events. Windows® 98SE – XP
www.me.iitb.ernet.in/yantriki or j Free Java IDE (netBeans IDE + J2SE SDK)
www.techfest.org j Java classes for PartyBus™, text-to-speech
output, and image acquisition from PC cameras
j C++ source code to access PartyBus™
j PartyTalk and PartyControl utilities
F e b ru a r y 2 0 0 4 Linux
j C source code to access PartyBus™
j PartyTalk utility
22-26 APEC MicroMouse Contest
The Disneyland Hotel, Would a flexible control network simplify
Anaheim, CA — If you can't your next project? Visit us online today.
catch the Japanese Micro- Micros Made Easy
Mouse event, this one Shrewsbury, MA, USA
March 2004
13 DARPA Grand Challenge
Los Angeles, CA — The
autonomous LA to Vegas THOUSANDS OF ELECTRONIC
cross-country, off-road, race PA R T S A N D S U P P L I E S
for a one million dollar VISIT OUR ONLINE STORE AT
prize. Not your average www.allelectronics.com
robot contest.
www.darpa.mil/grandchallenge WALL TRANSFORMERS, ALARMS,
FUSES, CABLE TIES, RELAYS, OPTO
ELECTRONICS, KNOBS, VIDEO
28 University of Florida ACCESSORIES, SIRENS, SOLDER
Student Robotic ACCESSORIES, MOTORS, DIODES,
Competition HEAT SINKS, CAPACITORS, CHOKES,
Univ. of FL Conference TOOLS, FASTENERS, TERMINAL
Center, Gainesville, FL — STRIPS, CRIMP CONNECTORS,
This is the only robot con- L.E.D.S., DISPLAYS, FANS, BREAD-
BOARDS, RESISTORS, SOLAR CELLS,
test you'll see where the
BUZZERS, BATTERIES, MAGNETS,
robots are required to obey CAMERAS, DC-DC CONVERTERS,
Asimov's three laws as part HEADPHONES, LAMPS, PANEL
of the rules! METERS, SWITCHES, SPEAKERS,
plaza.ufl.edu/niezreck/Robots_ PELTIER DEVICES, and much more....
Competition_2004.html
O R D E R TO L L F R E E
1-800-826-5432
Ask for our FREE 96 page catalog
lighting effects.qxd 10/8/2003 10:58 PM Page 66
Robotics Resources:
Lighting Effects
o, you have this great robot that can follow a black line instance, a 4,500 mcd LED produces 4.5 candles — that's
66 SERVO 11.2003
lighting effects.qxd 10/8/2003 10:58 PM Page 67
For Robotics
Cold Cathode way to dip your toes into the exciting world of electrolumi-
Fluorescent Tubes nescent panels. The kit includes an inverter, color filters, and
a 3.75-inch by 1.7-inch EL strip that provides multiple connec-
Cold cathode fluorescent lamp (CCFL) tubes are com- tion points. The strip can be cut into smaller pieces. The
monly used to “hop-up” personal computers with glow inverter can power up to five separate strips, and provides 32
effects. The light consists of the tube itself, plus a high volt- pre-programmed lighting sequences.
age inverter. Inside the tube is a coating that causes it to
glow in any of several striking colors, as well as white and Elec troluminescent Wire
ultraviolet. (Be careful of the ultraviolet tubes unless you
know it's safe — short wave ultraviolet can cause sunburn and Imagine a flexible neon sign — that's what EL wire is. EL
blindness.) The inverter steps up the 5 to 12 volt battery volt- wire looks a lot like small plastic tubing, but when electricity
age to 100 or more volts, to light the tube. is applied, it glows in a rainbow of colors. Here's how it
CCFL tubes are available in different lengths. For robotics works: At the center is a solid copper conductor. This conduc-
applications, the shorter 100 mm (about four inches) length is tor is coated with an electroluminescent phosphor. To excite
about right. Another common length is 300 mm (about 12 the phosphor, two very fine wires are wrapped around the
inches). If the tube is “bare,” you'll want to place it in a clear, center conductor. Covering this whole arrangement is a clear
rigid protective tube. You can purchase these at some home plastic sheath, which also protects everything inside.
improvement stores, as well as specialty plastics outlets. The Apply current to the wires and the phosphor lights up.
tube helps prevent breakage and the possibility of small shards Different colors are produced by varying the chemical make-
of glass flying everywhere. If a rigid tube is not practical, clear up of the phosphor, altering the tinting of the plastic protec-
flexible hosing, available at any pet shop that sells aquarium tive sheath, varying the voltage, and/or varying the frequen-
supplies, is the next best choice. The tube may still break if cy of the current driving the wire. The end result is a bright-
something strikes it, but the glass will remain inside the hose. ly colored glowing wire. EL wire has several uses in robotics.
Use caution when handling the tube and inverter. Though Here are just some of them:
the current produced by an inverter is low, the shock is
unpleasant, and it may cause you to recoil and drop the tube. •First and foremost, it looks cool! Wrap some EL wire of
different colors around the periphery of your robot to give it
Elec troluminescent P anels some pizzazz.
•Small strips of EL wire, of a certain color, can be used
Electroluminescent (EL) panels are used in products rang- to identify robots in a competition. If the robots are equipped
ing from nightlights to LCD backlights. The typical color is a with filtered light sensors, they can even differentiate friend
soft green, but other colors are possible, including reds, from foe on the battlefield.
oranges, and blues. Overlay filters can be used to alter the •EL wire can provide illumination for the robot for use in
color, but the choices are limited. Electroluminescent panels object detection. When used in conjunction with cadmium
require a high voltage (90 volts or higher), and like the CCFL sulfide (CdS) cells, the reflected glow of the EL wire can be
products, this is accomplished with an inverter. The inverter detected and used for proximity sensing. (In addition, many
steps up the battery voltage to 90-120 VAC. red colored phosphors will emit a certain amount of near-
You can purchase EL panels as surplus, and experiment infrared light, which is detectable with ordinary infrared
with them. Look for panels with solid leads already attached; photo-transistors.)
you can solder wires to the leads. Less useful are panels that •A strip of EL wire on the floor can be used for a line
require a pressure connection to make electrical contact. tracking robot. On the underside of the robot, affix sensors
These are harder to solder to. to detect the glow of the wire.
The chaser panel kits sold by All Electronics offer a great •Strips of EL wire can be placed around the periphery of
by Gordon McComb
SERVO 11.2003 67
lighting effects.qxd 10/8/2003 10:59 PM Page 68
C h r i s t m a s D e c o ra t i o n s
Christmas is one of the best times to find unique lighting
systems for your robot. An increasing number of products are
designed to run off low-voltage DC, so they're suitable for
battery-operated robots. Examples I've seen recently: mistle-
S OURCES
toe that lights up when someone stands under it, a glowing
Santa that speaks when someone approaches the front door,
and chaser-light tree ornaments operated by two AA batter-
ies.
Wait until after December 25th to get the good deals.
AND S IDEBARS
Stores routinely offer unsold Christmas decorations at 50%
off, or more. Same goes for the days right after Halloween.
Though most Halloween lighting is in oranges and reds,
they're a cheap source of LEDs, incandescent lights (strip off
the colored gel filters), and glowsticks.
Fiber Optics
Fiber optics is an old technology, and
it's easy to forget when planning light
effects for your robot. But there's still plen-
ty of life left in good ol' fiber optic lighting,
and new technologies make it even more
exciting. Case in point: so-called “side
glow” fibers emit light over the length of
the strand, not just the end. They look
more like electroluminescent wire, but can
be made to glow any color, even alternate
colors.
Surprisingly, fiber optic strands suitable
for lighting effects can be hard to find.
Most fiber optics sold these days are for
data transmission — expensive. Rather, you
want cheap fiber optic strands used to
make “fountain lamps” popular in the early
1970s. Fortunately, a few retailers such as
Target and Spencer Gifts sell low-cost
reproductions of these lamps. You can yank
Fiber Optic Products offers side glow fiber optic cable, similar in off the fiber and use it in your robot proj-
functionality to electroluminescent wire. ects. If you need longer lengths or a partic-
ular style or type of fiber, check out Fiber
Optic Products, listed in the Sources sec-
Sources tion. They offer end glow and side glow
* All Elec tronics
fibers, lamps, bundles, fluorescent fiber
optics, and associated products.
www.allelectronics.com
All Electronics (local stores in Los Angeles, CA, cata-
log mail order elsewhere) offers high brightness LEDs, About the Author
electroluminescent panel kits (cut out shapes to make Gordon McComb is the author of the best-selling
your own), CCFL lights, and high voltage inverters.
Robot Builder's Bonanza and the Robot Builder's
Sourcebook, both from Tab/McGraw-Hill. In addition
AS&C CooLight to writing books, he operates a small manufacturing
www.coolight.com
company dedicated to low-cost amateur robotics,
Electroluminescent wire, inverters, and sequencers.
www.budgetrobotics.com He can also be reached at
Products can be purchased through their web page.
[email protected]
SERVO 11.2003 69
lighting effects.qxd 10/8/2003 10:59 PM Page 70
* SBlack
ources continued...
Feather Elec tronics Olmec A dvanced Mat er ials, Ltd.
www.blkfeather.com www.olmec.co.uk
A cornucopia of unique electronics items: connectors Resellers and fabricators of specialty materials, includ-
and cords, audio, gadgets, laser pointers, mini-cams, sol- ing Surelight electroluminescent wire.
dering, parts and switches, power, test equipment, kits,
tools, video; high-brightness LEDs, and electroluminescent RepairFAQ: Sam's L aser FAQ
wire. www.repairfaq.org/sam/lasersam.htm
From Sam Goldwasser's RepairFAQ: Using and abusing
Cool Neon/F unhouse Produc tions (how not to) lasers. Includes a good section on safety.
www.coolneon.com
Cool Neon sells electroluminescent (EL) wire — a wire Spencer Gi f ts, Inc.
that glows when subjected to high frequency supply volt- www.spencergifts.com
ages. Select colors and thicknesses, add a driver/inverter, Spencer Gifts is a retailer of the unusual, including gag
and you're all set to go. Website includes some details on cards, joke gifts, adult novelties, and unusual lighting
soldering EL wire. effects (such as UV, fiber optics, and electroluminescent).
You can order online, or visit a store near you. Most
Don Klipst ein's LED and L aser Spencer Gift stores are in fashion shopping malls.
Inf or mation
http://misty.com/people/don Super Br ight LEDs
Everything you ever wanted to know about lamps, www.superbrightleds.com
LEDs, lasers, and strobe lights. Super Bright LEDs offers a wide assortment of high
brightness LEDs in a multitude of colors. Datasheets are
EL AM Elec troluminescent Industr ies, provided for all products. They also sell LED lamp products
Ltd. such as car running lights and “glow tubes.” Many of these
www.elamusainc.com are applicable as attention-getters on robots, as well.
ELAM is the manufacturer of many of the electrolumi-
nescent wires sold under varying trade names (such as Surelight
Neon Rim, Cool Wire, Live Wire, and Cool Neon). ELAM's www.surelight.com
name for the stuff is LyTec. The company provides techni- Surelight sells electroluminescent (EL) wire in various
cal details and specification sheets on the wire and invert- colors and thicknesses, as well as EL drivers, light sticks,
er/driver products. and other specialty lighting goods.
70 SERVO 11.2003
neuronsforrobots.qxd 10/10/2003 6:16 AM Page 71
NEURONS
FOR
ROBOTS
by Harold Reed
edited by Chris Hannold
SERVO 11.2003 71
neuronsforrobots.qxd 10/9/2003 3:14 PM Page 72
Table 4
72 SERVO 11.2003
neuronsforrobots.qxd 10/14/2003 11:02 AM Page 73
Here is some pseudocode for a -> Motor. The data stream cable can
Of course, there is more to this — sensor: have any name. We say ThisMotor =
several books more, but like every- ThatSensor. That means ThisMotor is
thing, it starts simply. Your brain can pasted on the motor input I, and
grow as the complexity of your robot ThatSensor is pasted on the sensor out-
grows. Since code must be easily mod- put header O. Anywhere there is a
ified, I would also make the hardware header, a data stream socket can con-
easy to modify by providing easy con- nect. Data streams carry information.
nections with headers and sockets. This month, you were introduced
We can make nodes of sensors Sensor: to Hal Algebra as a way to design neu-
and motors. Let I, R, and O be headers Read a property of nature rons for robots. Neurons are simply
on the nodes. Convert it ; Light intensity to number functions that can be modeled by
Carry the data flow on cables Write to O mathematics. I gave several examples
with plugs that plug into the headers, Go to Sensor: ; Do this forever of simple neurons and showed how
and you have the machinery of the they can be used to describe the
data flow captured. Nature plugs into Here, the motor reads a data actions between sensors, motors, and
sensors, which plug into a brain, stream and writes to nature: the robot's environment.
which plugs into motors, which move In a future article, we'll cover a few
nature. Any computable equation or Input -> Action more functions and start combining
function can be made into hardware Definition: Motor reads a data them into HalTrees. Finally, we'll put all
this way. stream. this knowledge to use by designing a
From now on, when you see an brain for a simple microbe living in a
equation, also see the inputs, output, pond.
the program, and the connections.
• -, +, o, a, >, <, is, g, l, z S
are operators
• Not, n, d and i are functions
• <- is a data flow indicator
(here from right to left) I -> Nature ; is the equation
• = is the transfer operator (it
may be read as "becomes") Here is some pseudocode for a
• ; is a comment delimiter motor:
SERVO 11.2003 73
Gailey.qxd 10/7/2003 11:25 AM Page 74
What Would
You Trust A
by Jeannine Gailey
74 SERVO 11.2003
Gailey.qxd 10/7/2003 11:27 AM Page 75
Robot To Do?
graduate
industrial
spent
and
20
and
undergraduate
?
On any given Saturday this summer at the University of Cincinnati,
you will find Dr. Ernest L. Hall, Director of the Robotics Center, in
the robotics laboratory with a dozen or so students, eating pizza and
comparing ideas for their robot, the Bearcat (named after University
of Cincinnati's team
electrical
years
mascot),
giving
which
programs
engineering,
will
Intelligent Ground Vehicle Competition in 2004. The students are from
as
diverse
competing
computer
opportunity
theory they learn in his classes by designing and building a robot that
is capable of guiding itself through an obstacle course.
as
science,
to
in
mechanical,
apply
the
and
the
SERVO 11.2003 75
Gailey.qxd 10/7/2003 12:13 PM Page 76
76 SERVO 11.2003
Gailey.qxd 10/7/2003 12:19 PM Page 77
JG:
JG How does the robot you are working on display decision-
making abilities?
Dr.
Dr. Hall:
Hall The robot's program employs decision making Mobile Robots:
logic. It starts by following a line on the ground. If an obsta- Inspiration to
Implementation
cle is encountered, it must go around, and then return to line by Joseph L. Jones
following. If the line disappears, it looks on the other side of and Anita M. Flynn
the path for it.
JG:
JG So, which type of creative learning or machine intelli-
gence does the robot you take to the contest display? And
what makes your robot different or more intelligent than, say,
Check out these cool books to learn more about intelligent robots!
the robotic vacuum cleaner that's now commercially available?
Dr.
Dr. Hall:
Hall The type of machine intelligence programmed into Mobile Robotics: A
Practical Introduction
our robot for the contest is goal accomplishment with adap- by Ulrich Nehmzow
tation. That is, during the line following (autonomous chal-
lenge) part of the contest, the robot's goal is clear: go the
longest distance in the shortest time. It is even given lines to
follow. However, along the way there are obstacles to avoid,
a hill to climb, a sand trap, an asphalt section where the lines
change colors and portions where the lines become dashed
and disappear. Adapting in real time to all these changing
environmental conditions displays one form of machine intel- Artificial Intelligence:
ligence. In the navigation part of the contest, the robot is Modern Approach
given waypoints that mark locations on a map. However, it by Stuart J. Russell and
Peter Norvig
must first determine which waypoint to go to and still avoid
obstacles along the way.
Finally, in the follow-the-leader part of the contest, the
robot must follow a human driven vehicle at a given distance
even when the leader vehicle turns, speeds up and slows down.
Each of these adaptive behaviors show a little intelligence.
Atificial Intelligence and
Certainly, the exploration into intelligent robots that Mobile Robots: Case
University of Cincinnati's Dr. Hall and his team exemplify what is Studies of Successful
happening at other colleges in the United States, from MIT and Robot Systems
Edited by David
CMU to the more far-flung reaches of Japan, Wales, and Kortenkamp, R. Peter
Finland. With increased interest and funding, and more every- Bonasso, and Robin
day applications being solved, these programs will soon be the Murphy
birth place of the next generation of decision making robots. S
AUTHOR BIO Sensors for Mobile
Jeannine Gailey, who has worked at Microsoft, IBM, and AT&T, is Robots: Theory and
Application
currently a consultant and writer whose book on XML Web by H.R. Everett
Services is debuting this fall from Microsoft press. You can learn
more about her work at www.w
www.webbish6.com
ebbish6.com, and she can be
reached at [email protected].
page78.qxd 10/14/2003 9:38 AM Page 78
APPETIZE R
A numeric crossword! Do you really need a calculator?
Æ π
78 SERVO 11.2003
CoverInside.qxd 10/13/2003 12:54 PM Page 2
With
ServoPod™!
ServoPod™, you can do many things at the same time.
You can control a LCD, keypad; and 16 analog rangers and 25 servos, at once;
or instead 16 analog rangers 6 axes of quadrature encoded servo motors; or 16 motors with channels of
analog feedback. ServoPod™ handles them all with ease. The innovative operating system/language,
IsoMax™, is interactive and inherently multitasking, and makes a “Virtually Parallel Machine
Architecture™”. New Micros, Inc. applied 20 years experience designing embedded microcontrollers,
to perfected this powerful 2.3” x 3” board, with a feature-rich 80MHz DSP processor including:
2 S C I , S P I , C A N , 1 6 A / D , 1 2 P W M , 1 6 M u l t i m o d e Tim e r s , G P I O . . .
ServoPod™ with IsoMax(TM) is only available from New Micros, Inc. Kit $199
Circle #60 on the Reader Service Card.
If you’re serious about robotics and motion control, you must have a ServoPod™
To order, or for more info on the ServoPod ™, Visit us at www.newmicros.com, or call 214-339-2204
Circle #32 on the Reader Service Card.
SERVO 11.2003 79
Cover.qxd 10/10/2003 4:09 PM Page 2
Vol. 1 No. 1
SERVO MAGAZINE
LIGHTS, SOUND, ACTUATION Robots In The Movies
November 2003
Circle #106 on the Reader Service Card. Circle #32 on the Reader Service Card.
0 74470 58285 4
SERVO 11.2003 79