Professional Documents
Culture Documents
Vol. 3 No. 5
SERVO MAGAZINE
ROBOTS TO THE RESCUE
MAY 2005
U.S.
Remember when...
...electronics stores were stocked to the rafters
Circle #35 on
the Reader Service Card.
TOCMay05.qxd 4/7/2005 2:33 PM Page 4
SERVO
Features & Projects
28 Trust in Their ... Programming
Five Robots That Can Save Your Life
56 Visions of Boe-Bots
48
Add an LCD to Your Boe-Bot
On The Cover
22
ROBONAUT — One of the
five robots covered in this
issue that is helping to keep
humans out of harm’s way.
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. APPLICATION TO MAIL AT PERIODICALS POSTAGE RATE IS PENDING AT CORONA, CA AND AT
ADDITIONAL ENTRY MAILING OFFICES. POSTMASTER: Send address changes to SERVO Magazine, P.O. Box 16826, North
Hollywood, CA 91615-9213 or Station A, P.O. Box 54,Windsor ON N9A 6J5; cpcreturns@servomagazine.com
TOCMay05.qxd 4/7/2005 2:34 PM Page 5
Departments Columns
6 Mind/Iron 12 Robytes
The Philosophy behind Tetsujin 2005 News from the Robotics World
7 Bio-Feedback 14 GeerHead
Where You Have a Voice The RoboX Tour Guide
8 New Products 18 Rubberbands
The Latest Development Software Charging Ni-Cd and NIMH Batteries
55 Robotics Showcase 22 Twin Tweaks
Get What You Need Quick Prepare For the (Robosapien) Swarm
62 SERVO Bookstore 64 Robotics Resources
Feed Your Brain All About Gears
72 Brain Matrix 74 Ask Mr. Roboto
Reversible Electronic Speed Controllers Your Problems Solved Here
78 Events Calendar 79 Appetizer
Find a Show Near You It All Starts With a Bright Idea
80 Robo-Links 82 Then and Now
Your Link to Parts and Services A Look Back at the Tomy Omnibot
81 Advertiser’s Index
A List of Supporting Advertisers
Coming 6.2005
Published Monthly By
The TechTrax Group — A Division Of
T & L Publications, Inc.
430 Princeland Court
Corona, CA 92879-1300
(951) 371-8497
FAX (951) 371-3052
Mind / Iron Product Order Line 1-800-783-4624
www.servomagazine.com
6 SERVO 05.2005
Mind-FeedbMay05.qxd 4/7/2005 3:29 PM Page 7
New Products
New Products
DEVELOPMENT SOFTWARE PIC Programming Made Easy
8 SERVO 05.2005
Full Page.qxd 4/5/2005 3:09 PM Page 9
A $19.99
FREE ColdHeat™ Soldering Tool Value
With purchase of $20 or more of component parts, One coupon
soldering equipment, test equipment or Kronus™ Tools. per customer.
®
VISIT RADIOSHACK.COM OR CALL 1-800-THE-SHACK
California residents: WARNING: These products contain, or when used for soldering and similar applications produce, chemicals known to the State
of California to cause cancer and birth defects (or other reproductive harm).
10 SERVO 05.2005
Tetsujin2005Ad.qxd 4/7/2005 3:36 PM Page 11
challenge 1:
Weightlifting. Ascend stairs in your suit to the lifting
platform and lift a load of from 100 to 1,000 lbs* from a
squatting position to a height of at least 24 inches*, return
the load to the ground in a controlled manner, and
descend the stairs. Stair-climbing may be unpowered. The
winner is the competitor who lifts the most weight.
challenge 2:
Dexterity. Stack nine concrete cylinders weighing about
70 pounds each in a 4-3-2 vertical arrangement, but don't
knock them over as the pyramid grows! The winner is the
competitor who arranges the cylinders in the shortest
time.
challenge 3:
Walking Race. Walk the 100 foot* long U-shaped
challenge course, stepping over a small obstacle at the
half-way point.The shortest time wins, with a time bonus
being granted based on any auxillary load carried.Walking
must be powered.
12 SERVO 05.2005
Robytes.qxd 4/5/2005 8:58 AM Page 13
Robytes
SERVO 05.2005 13
Geerhead.qxd 4/5/2005 8:50 AM Page 14
The robot’s friendly appearance, mimicked facial responses, and intuitive behavior set
Expo visitors quickly at ease, but RoboX creators were uncertain how attendees might
react to their jovial metallic ambassador. In addition to considering the safety of
patrons, the robot’s durability against unwelcome responses also had to be weighed.
ot your average bag of bolts, full production. Expo visitors quickly at ease. In addition
N RoboX is yet another great exam-
ple of robotics designed for intimate
As with the RoboCoaster featured
on these pages in the previous issue,
to considering the safety of patrons,
the robot’s own safety and durability
interaction with you and me. RoboX’s safety and reliability had to be against unwelcome responses had to
As a totally autonomous, magnifi- assured to receive approval for use with be weighed.
cently mobile, and social robot, RoboX the public.
is well suited to its primary task, having At the Expo, the robot responded Standards
first appeared as a tour guide for the to crowds in the hundreds and in close
Expo 02 robot exhibition held in proximity. For many attendees, this Most mobile robots that work in
Switzerland. was their first encounter with any close quarters with people only need
The Autonomous Systems Lab of robot, let alone one so advanced and to meet the standards set for a tempo-
the Swiss Federal Institute of human-like. rary, limited-demonstration robot. The
Technology, in conjunction with a RoboX creators were uncertain RoboX project had to be proven to the
spin-off company, BlueBotics SA, devel- how people would react to their jovial industry and had to meet top
oped RoboX. BlueBotics is in charge of metallic ambassador, but the robot’s standards so that it could work the
friendly appearance, mimicked facial 12-hour days the Expo would require
The X displayed by the LED matrix responses, and intuitive behavior set of it. On top of that, it had to be
in RoboX’s right eye, in combination functional every single day for a full
with the positioning of his eyebrow,
help communicate what his creators By displaying a question mark in his five months!
at BlueBotics refer to as an LED matrix eye, RoboX creates an
expression of surprise.
“angry yet nice” emotion.
Dimensions
RoboX stands 1.65 meters in
height, which equates to about five-
and-a-half-feet tall, and is 0.90 meters
in diameter, or about three feet
around. It weighs about 250 pounds.
GEERHEAD
SERVO 05.2005 15
Geerhead.qxd 4/5/2005 8:55 AM Page 16
GEERHEAD
RESOURCES
RoboX Home Page
www.bluebotics.com/entertainment/
RoboX
$295
Capture digital signals down to 25nS
with arbitrary trigger patterns.
See the spectrum and waveform of analog
signals simultaneously and in real-time Pocket Analyzer combines a high speed sample-synchronized storage scope
and logic analyzer with a programmable waveform and logic pattern generator.
Also included is an integrated real-time spectrum analyzer and powered "Smart
Waveform Generator POD" expansion interface so you've got all bases covered!
Load up to 32K arbitrary waveform and replay
via the onboard DAC (10MS/s) or a digital About the same size and weight as a Pocket PC, this USB powered BitScope
pattern from the POD (40MS/s) needs no bulky accessories. It's the perfect low cost "go anywhere" test and
debug solution.
Standard 1M/20pF BNC Input BitScope "Smart POD" Connector BUS Powered USB 2.0 Device External/Passthru Power Supply
200uV-20V/div with x10 probe 8 logic channels, 2 analog channels Single USB cable to your PC Auto senses an external supply -
S/W select AC/DC coupling Dual channel capture from POD A/B Compressed data transmission removes power load from USB
S/W select 50ohm termination Async serial I/O for external control Simple ASCII control protocol for use with unpowered hubs.
Arbitrary Waveform Generator Logic Pattern generator 32K 40MS/s BitScope Scripting Language Supplies up to 500mA via POD
• R&D
• Education
• Robotics
• Lab Scope
• Fast DAQ
• Service
• Debug
by Jack Buffington
Ifwhile,
you have been playing around with hobby robotics for a
you’ve probably noticed that you tend to go
because of its high-energy density. Lithium polymer is an
exciting battery technology due to its high-energy density, its
through batteries fairly often. If that’s true, now might be light weight, and its ability to supply high currents. This
the time to think about using rechargeable batteries in your column will focus on Ni-Cd and NIMH batteries because they
projects. In the past, rechargeable batteries were poor sub- are readily available at local stores, and they charge in a
stitutes for alkaline batteries. A reason for this was that similar manner.
rechargeable batteries had only a fraction of the capacity of Please note that the other rechargeable battery types do
alkaline batteries. These days, rechargeable batteries that not charge by the same methods, and you should not
are packaged in standard sizes, such as AA or C sizes, are attempt to charge them using the method described here.
still not up to the capacity of alkaline batteries, but they are While alkaline batteries supply roughly 1.5 volts when
pretty close. they are new, Ni-Cd and NIMH batteries will supply around
Rechargeable batteries used to have a “memory effect,” 1.2 volts when they are freshly charged. Sometimes this pre-
where they would lose capacity if they were not completely vents them from being a direct substitute for alkaline batter-
drained before recharging. Modern rechargeable batteries ies, but in most cases, the voltage difference won’t matter.
don’t have this problem, so you have a lot more flexibility to Another interesting thing about Ni-Cd and NIMH batteries is
charge them when you want/need to. that, after an initial drop in their voltage when they are first
There are several types of rechargeable battery, such as used, they remain relatively stable until they finally have a
lithium ion, lithium polymer, nickel cadmium (Ni-Cd), nickel steep drop in voltage at the end of their life. By comparison,
metal hydride (NIMH), and lead acid. Lead acid technology alkaline batteries steadily drop in voltage as they are being
has been around for decades and is a reliable and easy-to-use used. Figure 1 and Figure 2 show discharge graphs for these
battery. Lithium ion is used in many cell phones and laptops batteries.
Charging NIMH and Ni-Cd batteries is fairly easy.
Figure 1. Discharge graph of an alkaline battery. There are a few strategies that manufacturers take to
charge them. The first way that is used is to simply
connect the battery to a wall adapter and instruct the
user to remove the battery after a certain length of time.
This is probably the most common method used for
low-end products, because it also happens to be the
least expensive.
There are a few problems with this method.
The first is that it can reduce the battery life if the
user leaves the battery connected too long. The second
reason is that this charge method cannot be very fast.
The manufacturer has to keep the charge current low so
that if the user leaves the battery on the charger for a
long time, it might go bad but it won’t leak fluids or
overheat. To partially prevent these problems, some
chargers incorporate a timer that will stop the charge
cycle after a certain amount of time has elapsed. This is
also a minimal cost solution but provides a safer method
of charging batteries.
18 SERVO 05.2005
Rubberbands.qxd 4/5/2005 8:44 AM Page 19
SERVO 05.2005 19
Rubberbands.qxd 4/5/2005 8:46 AM Page 20
Figure 7. A thermistor/resistor
voltage divider.
THIS MONTH:
The
Robosapien
Swarm
Cometh
proved effective, and soon the RS plex (and therefore more expen-
Swarm had no problem letting out a sive) single robots. Who knows,
deafening roar on cue. in the future, a swarm of
Robosapiens could supplant the
Judgement Honda Asimo as far as some
humanoid functions go. A
Earlier we said that our RS Swarm Robosapien swarm would cer-
would adequately model a real swarm, tainly not thin out your wallet as
so how close did we really get? A good much as the taller humanoid,
way to find out would be to see how and a Robosapien swarm could
well we met all of the defining param- certainly do things like plant a
eters of a robotic swarm. The parame- flag in a hole like the Asimo
ters we stated before are: cost efficien- does in the commercial for the
cy, robustness, scalability, and self- Honda Classic Golf Tournament.
organization. As far as cost efficiency Another parameter is The bundles taped together.
goes, the RS Swarm does pretty well. robustness. Even though swarms
From what we hear, Robosapiens are are composed of many small robots, robustness to consider is the goal of
down to about $75.00 a pop, which is they still need to complete their tasks swarms to be able to either repair or
not bad for individual members of a without breaking down. Robustness is abandon broken modules or individu-
swarm. Other swarm robots that per- particularly important in such trying als. That would be difficult with our
haps like to use nice servos for locomo- tasks as urban search and rescue, toxic tethered RS Swarm, but our
tion are looking at figures of up to waste cleanup, and minesweeping. The Robosapiens have more of the “never
$115.00 per servo, which makes the RS Robosapien as a unit is adequately leave a man behind” mentality anyway.
look more inexpensive. robust — robust enough so that the The next parameter is scalability.
Also, one of the purposes of potential jostling in a large swarm won’t Scalability refers to the ease with which
swarms is to replace larger, more com- cause it to fall apart. Another aspect of the swarm could be expanded or com-
Check it Out
Check out these websites if you are an intrepid hacker
who wants to learn more about swarm and modular robotics:
www2.parc.com/spl/projects/modrobots
www.swarm-bots.org/
26 SERVO 05.2005
TwinTweaks.qxd 4/5/2005 9:13 AM Page 27
Motor Speed
Control
PID Motor
Position
Control
Solutions Cubed
3
Phone 530-891-8045
www.solutions-cubed.com Solutions
Circle #75 on the Reader Service Card.
SERVO 05.2005 27
Five.qxd 4/5/2005 10:22 AM Page 28
R
O R
B I O
O N L
T C E
S R
E
I
A
A N
S
R
I
E O
N
G U
P L R
L Y
A S
Y O
V
I C
I
N I
T
G E
A
L T
A Y
N
Five.qxd 4/5/2005 10:24 AM Page 29
30 SERVO 05.2005
Five.qxd 4/5/2005 10:28 AM Page 31
Dr. Robot
he Johns Hopkins Hospital has a new doctor, a robotic doctor ... so
T does Hackensack University Medical Center, UCLA, Chicago Hospital,
and many other medical institutions. Developed by InTouch Health, Inc.
(www.intouch-health.com), and called Dr. Robot, Mr. Rounder, or Dr.
RP-6 (depending on where you are),
these robotic doctors provide remote
access to a real, human doctor through
a wireless audio-video teleconferenc-
ing link that directly connects the
doctor to the patient over the Internet.
The robots are able to move
around the patient during an exami-
nation, and their movements are con-
trolled remotely by the human doctor
and a joystick.
The patient sees the human
doctor via a flat-screen display (the
“head” of the robot) and is able to talk to the doctor via a microphone. A video
camera allows the human doctor to see the patient and examine hospital-
related websites for information on proper healing, scan X-rays, and view
charts. The robotic doctor is popular with its patients, who say they prefer a
virtual visit from their own doctor to an office visit
with a different doctor.
SERVO 05.2005 31
Five.qxd 4/5/2005 10:30 AM Page 32
PackBot
housands of people are killed every year by land mines, even those
T trained to retrieve and dispose of them. It is an unfortunate fact that
current and past wars have led to millions of hidden and buried land mines
just waiting for someone to tred on them. Combine that threat with those
posed by house-to-house combat in unfamiliar locations, and you have a
recipe for disaster for both military personnel and civilians.
The PackBot series of robots from the US government and the Industrial
Robotics Division of iRobot (www.irobot.com) are designed to go into
harm’s way. For example, the PackBot Explorer is used to provide soldiers
on the battlefield with real-time surveillance of dangerous areas, while the
PackBot EOD is used to gather and dispose of explosive ordinance.
The PackBot design has proven itself in Afghanistan and Iraq, with its
on-board robotic control system controlled by a Pentium processor.
iRobot is performing research on the SwarmBot and SwarmOS (Swarm Operating System), where 10 to
10,000 SwarmBots may be controlled in unison. This research pushes the boundaries of algorithms, hardware,
and user-interface design to develop swarms of robots that exhibit useful group behavior, such as meeting at a
point of interest, exploring a building, or navigating over long distances.
32 SERVO 05.2005
Five.qxd 4/5/2005 10:34 AM Page 33
Robonaut
n December 1999, astronauts Steven Smith and John Grunsfeld from
Ithe Space Shuttle Discovery spent over eight hours in a spacewalk
to replace gyroscopes on the Hubble Space Telescope. During the
spacewalk, the temperature cycled between plus and minus 250
degrees Fahrenheit. And, of course, there is no air to breathe in outer
space, so there are a few good reasons to want to stay inside the
spaceship.
Robonaut, developed by NASA and DARPA, is designed to assist
(and/or replace) human astronauts in many extravehicular activities
like spacewalks. Human astronauts require consumable resources
while in space (power and life-support) that limit their time and ability to perform duties. Robonaut is designed
to perform such mundane, yet dangerous, tasks as inspection and maintenance outside the space vehicle.
Robonaut looks remarkably like a human astronaut. It does not have the typical robot-style grippers, but very
articulate fingers, wrists, and arms instead. Through a process called telepresence, a human operator controls
Robonaut’s 47 individual degrees of freedom through hand gloves and a visual helmet.
Robonaut has the biological equivalent of a central nervous system, with a Versa Module Europa (VME)
backplane used for input/output and PowerPC processors to do the number crunching for the VxWorks real-time
operating system that controls Robonaut.
The control system architecture of Robonaut must meet several requirements:
VideoRay
s any scuba diver knows, the underwater world is both
A an amazing and scary place. The wonder and beauty of
the deep are tempered by the fact that humans are merely
guests, visiting for a short while at the mercy of the remain-
ing oxygen in their tanks (or other gas, depending on the
depth). Accidents happen underwater just as they do on
land, without warning, and with the added punch of drown-
ing thrown in. Even routine underwater activities such as
inspection and maintenance can turn deadly when some-
thing unforeseen happens. Fortunately, help is available.
The VideoRay line of remotely operated vehicles (ROV) is
designed for underwater surveillance, inspection, and res-
cue. They operate at depths of up to 1,000 feet, providing visual feedback from a color camera, as well as depth
and heading information. Each VideoRay system is dive-ready and can be controlled via a joystick (with more
advanced models utilizing wireless control from a laptop). All models use 300 watts of 10 to 240 volts AC power,
with the VideoRay submersible fed with 48 volts DC through its tether (much lower than the 360 volts DC used
by other ROVs).
With the weight of the VideoRay packages ranging from 70 to 165 pounds, transportation and setup of each
device can be done by only one or two individuals. VideoRays are used all over the world, in crystal-clear as well
as polluted water, from the tropics to the Artic.
Rated
Model Standard Features Price
Depth
Two 20-watt halogen lights, 420-line color camera, five-inch color LCD display
Scout 300 feet $5,995.00
monitor, 131-foot tether
Two 20-watt halogen lights, 570-line color camera, camera tilt and focus controls,
Explorer five-inch color LCD display monitor, depth gauge, heading, and cumulative time 300 feet $9,995.00
shown on display, 250-foot tether
Two 20-watt halogen lights, 570-line color front camera, camera tilt and focus
controls, 430-line resolution B&W rear camera, five-inch color LCD display monitor,
Pro III 500 feet $19,995.00
depth gauge, heading, and cumulative time shown on display, 250-foot tether, tether
deployment system, PC remote control software
Two 20-watt halogen lights, 570-line color front camera, camera tilt and focus con-
trols, 430-line resolution B&W rear camera, five-inch color LCD display monitor, depth
Deep Blue 1,000 feet $46,500.00
gauge, heading, and cumulative time shown on display, SeaSprite scanning sonar
system, 1,000-foot tether, tether deployment system, PC remote control software
Conclusion
On the operating table, on land, in the air, and even underwater, somewhere a robot is
lurking, ready to assist in saving a life or performing a hazardous job. Right now, a human
controls the robot for the most part, but sometime soon, the application of artificial intelligence
will perhaps provide robots with an autonomous behavior. Then, we truly will see robots running
through the streets with our inhalers. SV
34 SERVO 05.2005
Five.qxd 4/5/2005 11:02 AM Page 35
Not Done Yet — Some Juicy Tidbits to Feed Your Appetite for Info!
L ast month, we discussed several problems and errors that a beginner can experience while
designing a new robot. We discussed where to begin and some of the many skills to be
learned. In this article, we will continue with more problems you may run into, programming
errors, and a list of helpful notes for any beginner. In addition, you will find many useful circuits
to use in your designs. There are many pitfalls to be avoided, but the rewards are great. We feel
the ultimate goal for any beginner should be personal satisfaction. As mentioned in the last
article, design and build in a way that you can easily understand. Use a program language and
chassis design that you can easily work on. When you design your second, third, and fourth
robots, you can begin to branch out by adding more complicated skills to your arsenal. I hope
these primers will assist you, as well as guide you to a rewarding experience with robotics.
36 SERVO 05.2005
Barlow2.qxd 4/5/2005 9:29 AM Page 37
processors, Vin is unregulated, Vdd is • Wiring — Double and triple check a wire had never been soldered to my
regulated. your wiring before you power on. Ask circuit board; it was only poking
a qualified friend to also check it if you through the solder hole! This loose wire
• Pins — Unused pins should be set to are unclear. I once burned out two PIR worked fine for over a year and then
Output. sensors at $50.00 each because the quit one day, making me think I had a
manufacturer’s wiring schematic was software problem. I made this mistake,
• LED pins — + Anode is the long lead, less than intuitive. and have since repaired over a dozen
while cathode is the flat side. commercial electronic products with
• Sockets — Use sockets for any IC or the same problem: a bad solder joint.
• Basic Atom will not program in Board CPU in your design. Use sockets for any-
of Education. The capacitors on Parallax thing that you may change frequently. • White baseboards will mess up a
Stamp serial pins must be removed. light sensor.
• Use a socket for a fixed resistor that
• Sharp GP2D02 outputs at values you may occasionally change. • Motor Leads — Twist the wires of
from 35,000 to 50,000. The higher the your motor leads together. This forces
value, the closer the object. • Printout — Physically print out a the magnetic fields to cancel each
To convert to a usable value: hardcopy of your program no matter other out.
how long it is. It is much easier to
Val02 = Val02/100 max 255 debug a program when you can hold • Mix sensor types for robust object
Range = 255 to val02 the entire program in your hands detection. You can never have too
Range = Range/4 (in inches) rather than scrolling up and down a many sensors.
window, looking for mistakes.
The above gives a rough measurement, • Use both high µF capacitors for
in inches, that is returned in the Range • If you get in over your head and can- power-spike filtering and low µF for
variable. not find the error in your code, go back high-frequency spikes across the CPU
a major revision or two and make sure power input; 1000 µF and 0.1 µF.
• GP2D02 will output a maximum your robot is still working. It is possible
value when an object is closer than its you don’t have a software error, but • Separate battery packs are recom-
minimum range of detection. have developed a hardware error. I mended for noise filter problems.
went through five major revisions and
• Bumper switches are a necessary evil. scores of minor changes, and all of a • Use stranded wire for anything that
Even your best remote sensor design is sudden, my robot quit turning one moves. Solid-core wire can break easily.
going to fail in some situation? In this direction. I went nuts going over the
case, a mechanical bumper switch may software, trying to find what the latest • Keep high-power and low-power
save you endless grief. error was I had made. It turned out that wire circuits separated, if possible.
Run Cool.
• Beauty — The overall look of your • Heat Shrink — Use quality heat • Place yourself in your robot’s shoes.
robot should be the last item to worry shrink. Bargin store-type heat shrink You cannot expect to program your
robot to do better with sensor informa-
tion than you can. If your robot only
RESOURCES returns a single ping in a certain situa-
• Seattle Robotics Encoder: www.seat Subsumption.htm tion, what would you do if that was all
tlerobotics.org/encoder/index.html you knew?
• SuperDroid Robot Kits:
• Battery Bus Supply: Keith Payea www.superdroidrobots.com/index.htm • Expect your robot to fail at another
www.seattlerobotics.org/encoder/ person’s house. I can almost guaran-
feb97/powerup.html • Tracy Allen’s BASIC Stamp Application
tee it will not perform like it does at
Notes:
your home. This may be caused by
• Acroname: Good source of robot www.emesystems.com/BS2index.htm
parts and sensors. lighting, floor material, or color of
www.acroname.com • Zagros Robotics: cabinets, etc.
www.zagrosrobotics.com
• Atom Microprocessor: • Display the output from your sensors
www.basicmicro.com • IC Master: http://icmaster.com on your robot’s LCD screen. You can
watch the output values and see why a
• Sensors: Brooke’s Sensors Page. • Online Conversions: robot may not detect an object.
www.pacificsites.com/~brooke/Sensor www.sciencemadesimple.com/conver
s.shtml#Compass sions.html • Early in your design, try not to waste
I/O ports. I/O ports are to be hoarded
• Subsumption Architecture: • Seetron LCD Displays and Electronics: at all times. If you plan for it, you can
www.restena.lu/convict/Jeunes/ www.seetron.com use a multiplex circuit.
40 SERVO 05.2005
Barlow2.qxd 4/5/2005 9:33 AM Page 41
• Do not waste memory or stack noise, use three 0.1-µF capacitors 11. Pull-up and Pull-down Circuits
space. Do not use a word declaration across motor leads. Tie one capacitor
when a byte will do the same job. across both leads and attach the 12. 4051 Multiplex — Add additional
second and third capacitor from I/O ports to a CPU using this chip.
• Multiple Sensors and Types — One each terminal to the metal case of
thing that all roboticists find out in the the motor. 13. 4052 Multiplex — Dual-channel
long run is that the more sensors you multiplex for SRF04 Sonar.
have, the better your crash avoidance 3. Battery Bus Supply — Separate
will be. These sensors should be of battery packs are recommended but I hope this has not overwhelmed
mixed types, as well. not always necessary. There is a very you with the many problems that may
On my latest robot, I used four good article online at Seattle Robotics develop during a robot build.
SRF04 sonars, one GP2D02 IR range (www.seattleroboics.org) called Perseverance is one of the most useful
sensor, six IR edge sensors, and three “Power Grounding and Noise Problems skills a roboticist may have. Use this
light sensors. The combination of all of in Mobile Robots,” by Keith Payea. article as a guide for your designs that
these sensors makes a very robust plat- you can build on.
form. I also have a light sensor and a 4. IR 555 timer circuit — This gener- Always remember, it is just as use-
GP2D02 mounted on a rotating servo ates 38 kHz for infrared. ful to record your errors as it is to
head. I can swivel this head to look for record your working designs. Mark
objects around the robot. Trying to 5. I/O PIN Sharing — Always share I/O articles in SERVO with sticky notes so
make your robot crash free with a sin- pins with two sensors. you can find them in the future. Visit
gle sensor is a fruitless endeavor. websites and read about other
6. IR Detection Tool Schematic — people’s designs.
Useful Circuits This is useful to see if your IR generator Your friends and other builders can
is outputting a waveform. supply many more tips, as well. I
Over the years, I have collected encourage you to keep a list of all of
these circuits from various sources. I 7. CDS Cell — This connects to an A/D these hints and record them in a note-
have found them to be very handy for port on your CPU. book. Above all, do not become dis-
design and testing purposes. couraged by this challenge. Thousands
8. Servo Test Circuit — This is useful of people every day around the world
1. LM2940 Voltage Regulator — To for testing servos. are designing robots, and so can you.
run from a six-volt-battery pack, you The robot community is always willing
must use a LM2940 voltage regulator, 9. H-bridge Circuit — These chips may to offer you advice and design tips. I
as a 7805 drops too much voltage. be stacked for additional amperage. encourage you to be willing to ask
many questions of others, but above
2. Motor Noise — To prevent motor 10. LED Circuit all, have fun. SV
SERVO 05.2005 41
Grau4.qxd 4/5/2005 9:38 AM Page 42
by Steve Grau
PART 4
library, which comes with the IntelliBrain™-Bot, Quantity Description Part Number Source
already provides a BehaviorArbiter class and a
2 Sharp IR range sensor GP2D12 www.junun.org
behavior interface. We will build upon these and
the classes we created in the previous articles to 2 Three-pin JST cable www.junun.org
implement the class diagram shown in Figure 1. 2 Three-circuit housing WM2801-ND www.digikey.com
This will require building three new behavior class- 6 Crimp terminals WM2555-ND www.digikey.com
es: AvoidBehavior, ReturnHomeBehavior, and
1 Universal crimp tool WM9999-ND www.digikey.com
GoToBehavior. These classes will implement the
behavior interface so we can use them with the 1 Wire stripper Hardware store
BehaviorArbiter. We will also need to create a 1 Phillips head screwdriver Hardware store
new class that we will name “vacation” that will 2 One-inch corner braces Hardware store
initialize everything and plug into the function
selection mechanism we created in the first article 4 4/40 1/4-inch screw Hardware store
in this series. 4 4/40 washer Hardware store
4 4/40 nut Hardware store
Avoiding Collisions Table 2. Range Sensor Parts and Tools.
Crash, bang! Our robot has just had another
“fender bender,” this time with Johnny’s backpack that he By selecting the “Do Nothing” function we created in a
dropped on the floor, as he made a beeline from the front previous article and turning the thumbwheel to view the
door to the cookie jar. With all the effort we’ve put into build- range finder screen, we can view the sensor readings while
ing our object-oriented, Java-programmed, multi-threaded, the robot (you guessed it!) does nothing other than periodi-
re-usable software, our robot still can’t help but crash into cally updating the user interface. By moving an object in
anything dropped in its path. front of each sensor, we see that the sensors produce the
Imagine leaving on a vacation in your brand new car highest reading (around 500) when the object is about three
with the latest top-of-the-line navigation system. No matter inches away. The reading drops as we move the object fur-
how carefully you stare at the navigator’s display and follow ther away from the sensor. The sensor reading drops to its
its verbal instructions, it’s not likely you’ll get very far if you minimum value, near zero, once the object is about 30 inch-
don’t look out the window to avoid objects — other cars and es away. We can also move the object from side to side to
pedestrians — the navigation system doesn’t know about. determine the field of view of each sensor.
Similarly, our robot isn’t going to be able to avoid crashing
into things if it doesn’t look where it is going and steer AvoidBehavior Class
around obstacles in its path.
We will solve this problem by adding two Sharp GP2D12 Now that our robot can see when it’s about to collide
infrared range sensors to our robot to enable it to see obsta- with something, we need to add software that will allow it
cles. Table 2 lists the parts and tools we’ll need to add the to react quickly to avoid a collision. The AvoidBehavior class
sensors. They are shown in Figure 2, while Figure 3 shows the
IntelliBrain-Bot with the sensors attached. Figure 2. Range Sensor Parts.
SERVO 05.2005 43
Grau4.qxd 4/5/2005 9:41 AM Page 44
if (wantControl) {
// object ahead, turn away
Pose pose = mLocalizer.getPose();
if (leftValue > rightValue)
mHeading = pose.theta - mTurnAmount;
else
mHeading = pose.theta + mTurnAmount;
mNavigator.go(mHeading);
mHoldUntil = System.currentTimeMillis() + mHoldTime;
}
else if (System.currentTimeMillis() < mHoldUntil) {
// object out of view, continue driving away
wantControl = true;
mNavigator.go(mHeading);
}
else
mNavigator.stop();
44 SERVO 05.2005
Grau4.qxd 4/5/2005 9:42 AM Page 45
PART 4
The “this” parameter in the call to moveTo tells the navi- objects get created and the BehaviorArbiter object gets
gator that the object calling the moveTo method — an initialized:
instance of the GoToBehavior class — is the object whose
navigationOperationTerminated method should be called public Vacation(Localizer localizer, Navigator navigator,
AnalogInput leftRange, AnalogInput rightRange,
when the operation completes or is cancelled. int priority) {
PART 4
with WheelWatcher encoders (see Part 2 of this series) basic behavior-based controls to our robot. By developing
significantly improves the accuracy with which it follows a few simple behaviors, we were able to program the robot
the plan. to carry out its previously planned vacation while avoiding
When unforeseen obstacles appear in the robot’s path, obstacles that were not included in the plan. These
as depicted in Figure 6, it is highly effective at avoiding them. classes are not tied to the specific mechanical characteristics
However, the robot does tend to drift further from its of the robot and therefore can be re-used to control other
planned course with the addition of more obstacles it has robots.
to avoid. In addition, we were able to make use of several
Adding more obstacles also makes it more difficult for pre-existing re-usable software components — Behavior and
the robot to find an unobstructed path through them. The BehaviorArbiter — from the class library included with the
placements of multiple objects, as well as the threshold IntelliBrain robotics controller.
and hold-time parameters to the AvoidBehavior, affect the The behavior-based control system will enable us, in
robot’s ability to find the shortest path to its next vacation the end, to create a more sophisticated overall behavior
destination. for our robot by adding more sensors and more behaviors.
Setting the object detection threshold too low causes So, stay tuned, as we will continue to build upon the founda-
the robot to be hyper-sensitive, which will make it react to tion of re-usable software that we have developed thus
objects that are far away. This makes it more difficult for the far ... SV
robot to find the gaps between obstacles and successfully
navigate through them. If there are multiple obstacles in
close proximity, the robot is more likely to take a circuitous ABOUT THE AUTHOR
path around them rather than a shorter path going between
them. Steve Grau has been developing software for over
20 years. He is the founder of RidgeSoft, LLC, and
Conclusion the author of the RoboJDE, a Java-enabled robotics
software development environment.
We have developed several new Java classes that added
www.RobotStore.com
Robotic Arm Kit
(No. 4-523)
or call
1.800.374.5764
Twin Motor Gearbox Kit
(No. 3-709) ...and see what’s changed!
THE LOW-DOWN:
WEIGHT:
85 to 120 pounds
by David Geer
MAXIMUM SPEED:
5.2 mph SWORDS (Special Weapons Observation Reconnaissance
MAXIMUM RUN TIME: Direct-action System) come with M16s, M240s, M249s, Barrett
4 hours 50 calibers, 40 mm grenade launchers, or M202 anti-tank rocket
REMOTE OPERATING systems. Grenade launchers come with six barrels. The bots can
DISTANCE: also be armored and equipped with sensors for heat, gas,
Up to 1/2 mile chemicals, and radiation to know when they are in environments
that might be a danger to others or even themselves.
1. Zoom camera
2. Microphone
3. Night-vision camera
4. Lithium-ion battery
5. Antennas
6. Machine gun
7. Gunsight camera
8. Ammo can
9. Rear camera
10. Heavy-duty tracks
48 SERVO 05.2005
Geer.qxd 4/5/2005 11:41 AM Page 49
U
S troops will carry, wield, and con- technology like the SWORD so that a duty tracks and a lithium-ion battery
trol these SWORDs as the soldiers full third of our ground combat vehicles for power come standard.
of old did with their less technical will be unmanned as early as 2015, a
weaponry, insinuating them into tight mere 10 years away. Arsenal
spots with the finesse of a master fenc- As we’ll see with the SWORD —
ing instructor. That’s about as much as just one of the iterations of the TALON SWORDS come with M16s,
they have in common with their fencing line of robots — not all UMVs are big. M240s, M249s, Barrett 50 calibers, 40
counterpart. These SWORDs are small But, if we were to judge military fitness mm grenade launchers, or M202 anti-
tank-like robotic defenders with more and tenacity based on size alone, nei- tank rocket systems. Grenade launch-
than one cutting edge. ther the SWORD nor any of the ers come with six barrels for six times
The SWORD robot is one of the lat- TALONs would qualify. In some cases, the effectiveness. The bots can also be
est offspring of the TALON military, the SWORD wouldn’t even make the armored and equipped with sensors for
police, and emergency rescue robot fighting weight at 85 to 120 pounds. heat, gas, chemicals, and radiation.
line of products developed by Foster- But like the law in Walking Tall, it’s This allows them to know when they
Miller, in Waltham, MA. really the size of the stick and the force are in environments that might be a
SERVO 05.2005 49
Geer.qxd 4/5/2005 11:42 AM Page 50
Resources
1. Foster-Miller, SWORD vendor
www.foster-miller.com/
Last month, I left off with the CNC machine mostly assembled but not
moving under any type of control. This month, I’ll talk about the steps
needed to cut out a simple part. This will include the electronics needed to
interface the steppers to the computer and the software to drive them.
he cutting tool you decide to use will depend on the PC and uses a little logic and some flip flops to turn
T how fast you want to cut, how tough the material is
that you want to cut (i.e., plastic or metal), and how
on the transistors for the steppers. I’m using Uni-polar
stepper motors, which means that the current only trav-
much you want to spend. Several options are a Dremel els in one direction. As a result, I only need four transis-
tool, a RotoZip tool, or a Porter Cable motor. I’m start- tors for each stepper. Bi-polar steppers change the
ing off with a Dremel because it is the easiest, cheapest, direction of the current in a push-pull fashion. This gives
and available everywhere. I made a couple brackets to them more torque but makes them a little more compli-
hold the Dremel as shown in Figure 1. The top hole was cated to control. One thing to mention is that the four
cut to fit exactly, and the bottom hole was slightly larg- transistors are turned on in a sequence. If the wires
er to allow the tool to be easily inserted. The bracket is from the steppers are in the incorrect order, the step-
then tightened to hold the tool securely.
When it comes to interfacing steppers, there are FIGURE 1. Closeup of machine cutting.
a lot of options. You can buy controller boards from
many sites on the Web, you can build your own board
using a stepper motor controller chip, or you can build
one out of various parts. Since the purpose of build-
ing this CNC machine was to do it all myself, I decid-
ed to go for the last option and build the board out of
various parts. While I was doing some research on the
Web, I found a forum on CNCZone.com, which turned
out to be a great source of info on boards, as well as
what software to start with.
Since I’m a fan of Eagle (www.Cadsoftusa.com)
for board schematics and layout, I looked for boards
that have already been designed. I found one and
downloaded the file. The file is called OSuni-3(317).sch,
and if you find the designer, thank him for me.
A picture of the completed board is shown in
Figure 2, while the schematic is shown in Figure 3. As
you can see, the schematic is not very complicated.
The printer port takes step and direction signals from
SERVO 05.2005 51
Davis2.qxd 4/7/2005 8:43 AM Page 52
IRFZ44
R4
IC3B 6 S Q 1
R10
VDD 5
IC3D
Ik
GND S6-2
GND Q10
IRFZ44
GND VDD
IC8B
IC3A 8 S Q 13
1
R3
VDD
VDD
VDD
VDD
VDD
VDD
S6-1
VCC
330
e
R11
3 9 D
14
14
14
14
14
14
14
1k
2 11 CLK Q9
GND 5V IC1P IC7P IC5P IC8P IC3P IC4P IC6P XSTEP IC1E 4030N IRFZ44
10k
LED1
PWR
3 4 10 R Q\ 12
GND
VSS
VSS
VSS
VSS
VSS
VSS
R6
7
7
7
74HC14N 4013N
C4
220p GND
GND VDD GND
VDD GND S3-2
IC5A Q4
47k
VDD 6 S IRFZ44
R1
120K 5 IC4B Q 1
R12
IC4D
1k
10K
14
15
1
2 220p Dir 9 e 10
GND Y Axis
Logic Probe 16 3 XSTEP 4030N
17 4
D5 D2
GND S2-2
LED2
18 5 YDIR YSTEP Q2
PWR
25 12
S2-1
1k
13 2 11 CLK Q1
10k IC1A 4030N
VDD 13 12 10 R Q\ 12 IRFZ44
GND JP4
R17 1 R8
R18 74HC14N 4013N
R19 1k 2 C9 VDD GND
1k R20 3
1k R21 4 220p GND
R22 1k 5 VDD
6 S5-2
1k R23 7 GND IC7A Q8
47k
1k R24 6 S IRFZ44
Q 1
R2
R25 1k 8 IC6B
5
R14
1k 9
IC6D
e
1k
1k 10 12 4 5 D
ZDIR 10k 5
IC1F
6 JP2 13 e 11 6
4030N
3 CLK
R9 4030N 4 R Q\ 2 S5-1
GND 74HC14N 1 Q7
Limit Switches C10 2 8 IC6C 4013N IRFZ44
220p Dir 9 e 10
GND Z Axis
4030N
GND S4-2
GND Q6
IRFZ44
VDD
IC7B
1 IC6A 8 S Q 13
e
R15
3 9 D S4-1
1k
2 11 CLK Q5
ZSTEP IC1C 4030N
10k 9 8 10 IRFZ44
R Q\ 12
R16
74HC14N 4013N
C12
A larger, printable, PDF copy of this schematic can be 220p GND
GND
found on our website at www.servomagazine.com GND
52 SERVO 05.2005
Davis2.qxd 4/5/2005 9:50 AM Page 53
PART 2
SERVO 05.2005 53
Davis2.qxd 4/5/2005 9:51 AM Page 54
FIGURE 6. Cutting the part. FIGURE 7. After the cuts. FIGURE 8. The finished part.
cles, and whatever else you need. After you draw some- and he gave me a file for a part used on his R1 robots. I
thing, you can select a part of the drawing and click the imported the G-Code into Mach 2 and could see the tool path
icon to generate the G-Code. You will see a list of the code on the screen. A screenshot is shown in Figure 5.
generated, and there is an example of the BobCad screen This is neat because you can see if the tool is going to
in Figure 4. After the G-Code is generated in Bobcad, you cut exactly what you want. I decided to try out the
can then load it into Mach2 and start the cutting process. machine by cutting a piece of expanded PVC. I first mount-
I wanted to make sure the part came out correctly, so ed a piece of high-density fiberboard to the machine as a
instead of using something I just drew, I used a drawing backing board and then the PVC on top of that. The rea-
from an existing product. son for this is so, when the cutter goes through the mate-
I contacted Jason from www.RoboticsConnection.com rial, it does not cut into the machine. I jogged the cutter to
the center of my material and used the “zero axis” button
to set everything at zero. Then I started the program and
D e s k to p C N C S o lu tio n s
watched the magic happen.
The material I used was fairly thin, so it bounced a little.
I held it down while it cut to smooth it out. I would not rec-
ommend doing this, as the cutter could easily slice a finger,
D e s k C N C
X T
but I really wanted to get a good first cut (see Figure 6). The
v e c to r cutting was slow because of my five-volt supply, but after a
few minutes the process was done. The part came out really
3 D C A D /C A M nice for a first try, and you can see where it cut into the back-
im s r v .c o m
ing board in Figure 7. The final part is shown in Figure 8.
So that is the complete story of my first CNC part.
There are several things I still need to do. I need to get a
S te p a n d d ire c tio n s e rv o d riv e s , 5 a m p 3 0 v d c higher voltage supply and a chopper controller board, so I
G lo b e p m d c s e rv o m o to rs w ith e n c o d e r s can use a higher feed rate to get things cut quicker. I also
D e s k C N C c o n tro lle r a n d s o ftw a re , (M S -W in d o w s ) need to decide how I will fasten down the material and
C N C C o m p o n e n t k its a n d a s s e m b le d sy s te m s backing board to the machine for future parts.
S u rfa c e s c a n n in g p ro b e a n d P o w e r s u p p ly k its For this first experiment, you can see that I used the
old standby, duct tape. I think, in the future, the backing
I M S e r v ic e
material will bolt onto the machine, and the material to be
cut will clamp onto the backing board.
P .O . B o x 1 4 2 , N e w H u d s o n , M I 4 8 1 6 5 A light built into the machine and a blower or vacuum
V o ic e : 8 8 8 -4 5 1 -1 6 7 0 will also make life easier. For making prototype parts,
engraving, or hobby stuff, this machine will work great. It
o r : 2 4 8 -4 8 6 -3 6 0 0
is probably not stiff enough for production runs, but then
again, it is made of plastic.
The schematics for the stepper controller are available
on the SERVO website (www.servomagazine.com) in
both Eagle and PDF formats.
Good luck and have fun. SV
54 SERVO 05.2005
ShowcaseMay05.qxd 4/5/2005 11:28 AM Page 55
Building Blocks
for Robotics
THOUSANDS OF ELECTRONIC
PA R T S A N D S U P P L I E S
VISIT OUR ONLINE STORE AT
www.allelectronics.com
WALL TRANSFORMERS, ALARMS,
FUSES, CABLE TIES, RELAYS, OPTO
ELECTRONICS, KNOBS, VIDEO
ACCESSORIES, SIRENS, SOLDER
ACCESSORIES, MOTORS, DIODES,
HEAT SINKS, CAPACITORS, CHOKES,
TOOLS, FASTENERS, TERMINAL
STRIPS, CRIMP CONNECTORS,
L.E.D.S., DISPLAYS, FANS, BREAD-
BOARDS, RESISTORS, SOLAR CELLS,
BUZZERS, BATTERIES, MAGNETS,
CAMERAS, DC-DC CONVERTERS,
HEADPHONES, LAMPS, PANEL • unique smart servos
METERS, SWITCHES, SPEAKERS, • controllers & software
PELTIER DEVICES, and much more....
• sensors
O R D E R TO L L F R E E Complete kits starting at $70
1-800-826-5432 www.garage-technologies.com
Ask for our FREE 96 page catalog
Robotics Showcase
Machine It Yourself &
Save...Guaranteed! 8lÛCYklÛCgoÛ[gklÛ
Tired of PAYING for Machining?
Put a COMPLETE
]f[g\]jkÛ^gjÛ
MACHINE
SHOP
eglgjkÛ¬Ûk]jngk
on Your
Bench Top!
Now 7
Models!
1-80 0-476-4849
Ask for operator SER ooofmZgla[k[ge
SERVO 05.2005 55
Prochnow.qxd 4/5/2005 10:49 AM Page 56
FIGURE 4. Only three wires are needed for FIGURE 5. Running the sample distance program with the variable’s
connecting the LCDBug to the Boe-Bot. output displayed on the LCDBug.
x 1/2-inch machine screws and nuts) and hobby centers pair of needle-nose pliers makes this job a snap. You will also
like Hobby Lobby (e.g., small sawtooth picture hangers have to ream out the holes on the ends of each hanger for
with nails). accommodating a 4-40 machine screw. A handheld,
portable, battery-powered drill with a 7/64-inch drill bit can
Step 2. Bend It But Don’t Break It. The small sawtooth pic- be used for enlarging these holes.
ture hangers are used for holding the breadboard upright.
Begin by bending the two hangers into 90-degree angles. A Step 3. Bolt ‘er Down. Remove the two pan-head screws
from the standoffs along the front (i.e., the edge nearest
the breadboard) of the Boe-Bot. Hold one of the angle
hangers that you fabricated in Step 2 over the mounting
hole in the BOE and forward standoff. Next, slip one of
the removed pan-head screws through the reamed hole of
the hanger and reattach the BOE to the standoff. Repeat
this same procedure for the other forward standoff. You
can refer to page 100 of the Robotics with the Boe-Bot
manual (included with the kit) for additional information
for reattaching the BOE to the front-end standoffs. Finally,
attach the breadboard billboard to the angle hangers with
the 4-40 machine screws and nuts. We added a second
pair of machine screws and nuts to the two remaining
empty mounting holes on the breadboard for visual
esthetics.
the LCDBug.
The Minds Behind the LCDBug
Step 6. Serialize, Seriously. The final connection between the After a close inspection of the LCDBug’s underside,
Boe-Bot and the LCDBug is for a serial data input line. This
two names figure very prominently in the design and
connection corresponds to one of the BASIC Stamp I/O pins.
Since our Boe-Bot is already using several of these lines for assembly of this display unit. The most visible of these
navigation inputs, we connected the LCDBug to I/O Pin P7. two names is Hantronix. Anyone who has experimented
Any pin that you have open will work just fine, however. with LCDs knows that Hantronix is a major manufacturer
Just run a jumper wire from Pin 9 of the LCDBug and connect of display modules (e.g., HDM08216H-3 is the module
it to I/O Pin P7 (or, your alternately selected I/O pin) of the used with the LCDBug; you can find ample technical doc-
Boe-Bot.
umentation on the Hantronix website at www.hantronix
Step 7. One Line Wonder. Once you’ve completed all of the .com/2_2.html). The other name, Dale Wheat, is a little
hardware connections for the LCDBug, only one PBASIC com- more difficult to figure out. Thankfully, Mr. Wheat has his
mand is needed to drive output to the LCD. Use SEROUT for URL printed on the ‘Bug’s underside. It turns out that
sending text to the LCDBug. For example: Dale Wheat is the inventive mind behind the LCDBug.
SEROUT 7, 84, [“SERVO”] Please visit his website (www.dalewheat.com) for more
information about the LCDBug, as well as some of his
where,
other projects.
SEROUT = PBASIC command for serial output
7 = Tpin; the I/O pin we used in
= Step 6 Step 8. You Snooze or You Lose. During power-up initial-
84 = Baudmode; baud rate for ization (or following a Clear Screen command), the
= LCDBug; 9600, 8-bit, no- LCDBug clears the screen, sets the default cursor style
= parity, true
[“SERVO”] = OutputData; the text for display (i.e., blinking underline), and positions the cursor in the
= on the LCDBug upper left corner. This initialization can result in a slight
Bug versus Butterfly Having mastered the hardware and software aspects of
If you’re an avid robot builder and you don’t know displaying short informative messages onboard the Boe-Bot, you
about the Atmel AVR Butterfly, then you’re missing out on can now make the LCDBug a permanent fixture in all of your
future Parallax robot experiments. SV
one of the great bargains in microcontroller develop-
ment tools. For less than 20 bucks, you get a powerful
Atmel ATmega169 processor, a discrete one-line, six-char- About the Author
acter LCD display, a “joystick” input control, light and tem-
Dave Prochnow is a frequent contributor to Nuts &
perature sensors, a piezo speaker, and a three-volt but-
Volts and SERVO Magazine, as well as the author of 25
ton-cell-battery power source. Oh, and did we say that
nonfiction books including the best selling
you can type your name into the Butterfly, clip in on your
Experiments with EPROMs. Dave also won the 2001
shirt, and wear it like a high-tech name tag? The AVR
Butterfly can be purchased from Digi-Key (www. Maggie Award for the best “how-to” article in a
digikey.com). consumer magazine. He is currently assembling an
You can review the significant features of the LCDBug enormous selection of robot tips, programs, and hacks
and the AVR Butterfly with our side-by-side comparison into his forthcoming book, The Official Robosapien
in Table 1. Hacker’s Guide (TAB Electronics, 2005).
60 SERVO 05.2005
ServoHouseNov03Ad.qxd 4/7/2005 12:37 PM Page 61
SUBSCRIBE NOW!
12 issues for $24.95
www.servomagazine.com or
call toll free 1-877-525-2539
BookstoreMay05.qxd 4/5/2005 11:33 AM Page 62
andy
Mind Cday’s
For To ticist
Robo
The SERVO Bookstore
ROBOT DNA SERIES OOP Demystified Build Your Own Electronics
Three Volume Pack by James Keogh / Mario Giannini Workshop
Learn object-oriented by Thomas Petruzzellis
programming in no time The Electronics
with help from this easy- Workshop was written
to-understand guide, ideal to assist the newcomer
for novice and expert to the field of practical
programmers alike. electronics through the
Discover why objects are creation of a personal
!
NEW
so successful as the electronics workbench.
model for this type of This is a place specially
Everything you need to program your programming and how objects are classified. designed so that read-
robot controller: Distinguish between how people see the ers can go there to
• Microcontrollers in Robots world and how computers “see” it. Learn work on an electronic project, such as test-
• Software Development about attributes and methods, inheritance, ing components, troubleshooting a device,
• The Microchip PICmicro Microcontroller polymorphism, real-world and case model- or building a new project. This book
• Microcontroller Connections ing, object-oriented programming languages, includes invaluable information, such as
• Designing the Robot System and much more. Each chapter ends with a whether to buy or build test equipment,
• Going Forward quiz, culminating in a final exam at the end how to solder, how to make circuit boards,
of the book to test your knowledge. $19.95 how to begin to troubleshoot, how to test
Everything you need to build your own components and systems, and how to build
robot drive train: your own test equipment, complete with
• The Basics of Robot Locomotion JunkBots, Bugbots, and Bots on appendix and resources, etc. This is THE
• Motor Types: An Overview Wheels: Building Simple Robots book for anyone entering the field or hobby
• Using DC Motors With BEAM Technology of electronics. $29.95
• Using RC Servo Motors by Dave Hrynkiw / Mark W. Tilden
• Using Stepper Motors From the publishers of
• Motor Mounting Electronics Demystified
BattleBots: The Official by Stan Gibilisco
• Motor Control Guide comes this do-it-
• Electronics Interfacing Now anyone with an
yourself guide to BEAM interest in electronics
• Wheels and Treads (Biology, Electronics,
• Locomotion for Multipods can master it by reading
Aesthetics, Mechanics) this book. In Electronics
robots. They're cheap, Demystified, best-selling
All the data you need to build your own simple, and can be built
robot base: science and math writer
by beginners in just a few Stan Gibilisco provides
• Mechanical Construction hours, with help from this expert guide
• Electrical Construction an effective and pain-
complete with full-color photos. Get ready less way to understand
• Operating Power for some dumpster-diving! $24.99
• Robot Designs the electronics that
• Constructing a Two-Wheeled Rover Robot power so much of modern life. With
• Selecting the Right Materials Electronic Circuits for the Electronics Demystified, you master the sub-
• Glossary of Terms Evil Genius ject one simple step at a time — at your own
• Tables, Formulas, and Constants by Dave Cutcher speed. This unique self-teaching guide offers
Cutcher's 57 lessons problems at the end of each chapter, a
Subscribers: $21.95 each book build on each other and section to pinpoint weaknesses, and a 70-
Non-subscribers: $24.95 each book add up to projects that question final exam to reinforce the entire
are fun and practical. book. If you want to build or refresh your
The reader gains valu- understanding of electronics, here’s a fast
able experience in cir- and entertaining self-teaching course that’s
Electronic Gadgets for the cuit construction and completely current. $19.95
Evil Genius design and in learning to
by Robert Iannini test, modify, and
The do-it-yourself Build Your Own Humanoid
observe results. Bonus Robots
hobbyist market — website www.books.mcgraw-hill
particularly in the area by Karl Williams
com/authors/cutcher provides anima- Build Your Own
of electronics — is tions, answers to worksheet problems, links
hotter than ever. This Humanoid Robots
to other resources, WAV files to be used as provides step-by-step
book gives the “evil frequency generators, and freeware to apply
genius” loads of directions for six exciting
your PC as an oscilloscope $24.95 projects — each costing
projects to delve into,
from an ultrasonic less than $300.00.
microphone to a body We accept VISA, MC, AMEX, and DISCOVER Together, they form the
heat detector, all the way to a Star Wars Prices do not include shipping and essential ingredients for
Light Saber. This book makes creating these making your own
may be subject to change. humanoid robot. $24.95
devices fun, inexpensive, and easy. $24.95
62 SERVO 05.2005
BookstoreMay05.qxd 4/5/2005 11:35 AM Page 63
ower is the thing that makes your tion but are designed so that no reduc- expressed as pitch, which is roughly cal-
P robots move. Transmitting that
power from a motor to a wheel,
tion takes place.
Spur, bevel, and miter gears are
culated by counting the number of
teeth on the gear and dividing it by the
leg, or track is the job of power reversible — the gear train can be diameter of the gear. Common pitches
transmission components. Among the turned from either the drive or the are 12 (large), 24, 32, 48, and 64.
most common power transmission driven end. Conversely, worm- and Odd-size pitches exist of course, as do
components for robots are gears, lead-screw gears transmit power metric sizes.
sprockets and chains, timing belts, perpendicularly and are not usually
and bearings. reversible. The lead screw resembles a • Pressure Angle — The degree of
In this month’s installment of threaded rod. slope of the face of each tooth is called
Robotics Resources, we’ll take a look at Rack gears are like spur gears the pressure angle. The most common
these and several other useful parts unrolled into a flat rod. They are prima- pressure angle is 20 degrees, although
used in power transmissions and where rily intended to transmit rotational some gears, particularly high-quality
to find them. motion to linear motion. worms and racks, have a 14.5-degree
When gears are used to reduce the pressure angle.
Understanding Gears output speed of a mechanism — say a
motor — the torque at the output is • Tooth Geometry — The orientation of
Gears are used for two purposes: increased. Gears are basically a form of the teeth on the gear can differ. The
to transfer power or motion from one lever; power can be increased by teeth on most spur gears are perpendi-
mechanism to another and to reduce changing the ratio of the lever over the cular to the edges of the gear. But the
or increase the speed of the motion fulcrum. Substituting the fulcrum in a teeth can also be angled, in which case
between two linked mechanisms. The gear system is the number of teeth on it is called a helical gear. There are a
simplest gear systems use just two each gear. number of other unusual tooth geome-
gears: a drive gear and a driven (or out- Gear reduction is accomplished by tries in use, including double-teeth and
put) gear. More sophisticated gear changing the ratio of teeth of two or herringbone.
systems, referred to as gear trains, gear more mating gears: a two-gear system
boxes, or transmissions, may contain with a 100-tooth gear and a 50-tooth Where to Find Gears
dozens or even hundreds of gears. gear is said to have a 2:1 reduction.
Motors with attached gearboxes are With such a system, output speed is Of course, you can always buy
said to be gearbox motors. reduced by 50 percent and torque is gears from Gears R Us. (Okay, most
Gears are specified not only by roughly doubled. go by far more mundane names like
their physical size, but also by the num- Boston Gear, Small Parts, W.M. Berg,
ber of teeth around their circumfer- Common Gear Terms and Stock Drive.) You’ll get just what
ence. Spur gears are most common you’re looking for from these
and are used when the drive and driv- and Specifications sources, but it’ll cost you. The
en shafts are parallel. Bevel gears have Here are some common gear average machined one-inch-diameter
teeth on the surface of the circle, terms and specifications to keep you aluminum gear can cost $20.00 to
rather than the edge. They are used warm at night. $30.00.
to transmit power to perpendicular As long as your requirements
shafts. Miter gears serve a similar func- • Pitch — The size of the gear teeth is aren’t too unusual, you may be able to
64 SERVO 05.2005
RoboResources.qxd 4/5/2005 9:57 AM Page 65
locate the gears you want from other thrift stores and garage sales and look idler wheels) or with press-on or set-
products and sources. for old food mixers, electric knives, screw shafts for attaching to motors
even electric can openers. Unlike toys, and other devices.
• Toy Construction Sets — Don’t laugh! kitchen appliances commonly use
Toys from LEGO and Erector come with metal gears, or at the least, very strong V-belts
gears you can use in your robotics proj- plastic gears. V-belts have a taper V shape and
ects. Most are on the large size and are are used to transfer motion and
made of plastic. More Power power from a motor to an output
when synchronization of that motion
• Hobby and Specialty Retailers — Transmission is not critical (because the belt could
Next time you’re at the hobby store, Components slip). V-belts, which are often made
look for replacement gear sets for with metal- or fiberglass-reinforced
servos and drive motors for R/C cars Gears aren’t the only power rubber, are used with V-grooved
and airplanes. Some are plastic, others transmission components you’ll pulleys.
are metal (usually either aluminum or encounter. There are literally hun- By changing the diameter of the
brass). dreds of others, but the following pulleys, it’s possible to alter the speed
Typically, you’ll have to buy the comprise the most commonly used and torque of the output shaft in rela-
whole set of replacement gears for and the most critical. tion to the drive shaft. The same
whatever motor or servo the set is for, physics that apply to gears and gear
but in other cases, you can purchase Timing Belts sizes apply to V-belt pulleys, as well.
just one gear at a time. Some online Also called synchronization belts.
retailers, such as ServoCity.com and Typical timing belts for small mecha- Endless Round Belts
Jameco.com, sell gears specifically for nisms range from 1/8- to 5/18-inch in Endless round belts are used to
hobby applications (like robots). The width and sizes from just a few inches transfer low-torque motion. The belt
prices are reasonable. in diameter to several feet in diameter. looks like an overgrown O-ring and, in
Material is usually neoprene, with fact, is often manufactured in the same
• Surplus Catalogs — New gears can metal or fiberglass reinforcement. Belts manner.
be expensive, but surplus gears can be are rated by the pitch between “nubs,” Other endless round belts are
quite affordable. You can often find or “cogs,” which are located on the made by fusing the ends of rounded
new gears, plastic or metal, for about inside of the belt. rubber (usually neoprene). Some belt
10 cents on the dollar. The only prob- Timing belts are used with match- makers provide splicing kits so you can
lem: selection can be limited, and it can ing timing belt pulleys, which come make custom belts of any length.
be hard to match gear sizes and pitch- with either ball-bearing shafts (used for Grooved pulleys are used with round
es even when buying gears from the
same outlet.
SERVO 05.2005 65
RoboResources.qxd 4/5/2005 9:58 AM Page 66
belts. With V-belt pulleys, the diameter can be added or removed. Many are more “forgiving” of errors in
of the ground belt pulley can be altered types of metal chains are pre-fabricat- alignment.
to change the torque and speed of the ed using hydraulic presses and require Rigid couplers can be made using
output. the use of “master links” to make metal or plastic tubing, selected for
a loop. its inside diameter. You can purchase
Ladder Chain suitable tubing at a hobby or hard-
Ladder chain resembles the links Idlers ware store. Cut the tubing to length,
of a ladder and is used for fairly low- Idlers (also called idler pulleys or then drill two small holes at both
torque and slow-speed operations. idler wheels) take up slack in belt- and ends for set screws. Use a tap to
Movement of a robotic arm or shoul- chain-driven mechanisms. The idler is thread the hole for the size of
der is a good application for ladder placed along the length of the belt or set screws you wish to use — 4/40
chain. With most chains, links can be chain and is positioned so that any is a good all-around size for most
removed and added using a pair of slack is pulled away from the belt or applications.
pliers. Special toothed sprockets, chain loop. Steel tubing provides the most
engineered to match the pitch Not only does this allow more lati- strength but is harder to cut, drill, and
(distance from link-to-link) of the chain, tude in design, it also quiets the mech- tap. If the thickness of the tubing is
are used. anism. The bores of the idlers are fit- sufficient, aluminum will work well for
ted with appropriate bearings or bush- most low-torque applications. Brass
Roller Chain ings. and bronze should be avoided
Roller chain is exactly the same because these metals are too soft. For
kind used with bicycles, but for most Couplers very low-torque jobs, plastic or even
small-scale machinery, the chain isn’t as Couplers come in two styles: rigid rubber tubing will work. Select the
big. Roller chain is available in minia- and flexible, and are used to directly rubber tubing so that it is just slightly
ture sizes down to 0.1227-inch pitch connect two shafts together. A com- smaller than the motor shaft and axle
(distance between the links). More mon application is to use a coupler to you are using, and press it on for a
common is the #25 roller chain which connect the drive shaft of a motor good fit.
has a 0.250-inch pitch. with the axle of a wheel. Connectors There are many types of rigid and
For reference, most bicycle chain can be rigid or flexible as well. Rigid flexible couplers commercially avail-
is #50, or 0.50-inch pitch. Sprockets couplers are best used when the able, and cost varies from under a dol-
with matching pitches are used on the torque of the motor is low, as it lar to well over $50.00, depending on
drive and driven components. Roller would be in a small tabletop robot. materials and sizes. Common flexible
chain comes in metal or plastic; plastic Flexible couplers are advised for couplers include helical, universal joint
chain is easier to work with, and links higher torque applications, as they (similar to the U-joint in the drive shafts
of older cars), and three-piece jaw
(more about the latter in a bit). The
couplers attach to the shafts either
with a press fit, by a clamping action,
by set screws, or by a keyway. Press fit
and clamp are common on smaller cou-
plers for low-torque applications; set
screws and keyways are used on larger
couplers.
Three-piece jaw couplers, like
those made by Lovejoy, consist of two
metal or plastic pieces that fit over the
shafts. These are the “jaws.”
A third piece, which is called the
spider, fits between the jaws and acts
as a flexible cushion. One advantage of
three-piece couplers is that you can
readily “mix and match” shaft sizes
because each piece of the jaw is sold
separately.
For example, you can purchase
one jaw for a 1/4-inch shaft and
another for a 3/8-inch shaft. Both
66 SERVO 05.2005
RoboResources.qxd 4/5/2005 9:59 AM Page 67
Flexible Linkages
Flexible linkages allow mechanical
power or movement to be transferred
from one place to another, using some
form of bendable material. Examples
are:
SERVO 05.2005 67
RoboResources.qxd 4/5/2005 10:01 AM Page 68
Boston Gear
www.bostongear.com
Boston Gear offers gears, yes, but
also bearings, transmissions, clutches,
pneumatics, and many assorted other
power transmission and actuation
products. The company also offers
free literature, maintenance manuals,
and operating instructions for their
products.
BRECOflex Co.
www.brecoflex.com
BRECOflex is a manufacturer of
belts: timing belts, profiled belts, flat
FIGURE 2. Gates Corp. at www.gates.com belts, pulleys, belt tensioners, and slid-
er beds.
just that — belts — and not the kind you Boca Bearing
wear. BCA offers timing belts, woven www.bocabearings.com Drives, Inc.
endless belts (can be useful to con- Boca specializes in small and minia- www.drivesinc.com
struct robot tank treads), natural rub- ture bearings for such applications as Drives, Inc., makes and sells roller
ber and neoprene stretch belts, and radio control vehicles, inline skates, chain and “attachment products,” as
endless round belts. power tools, small appliances, fishing well as chain for conveyors. The chain
is available in sizes from #35 (slightly
FIGURE 3. Power transmission components at Manufacturer’s Supply. smaller than bicycle chain) on up to
A2060, which has a pitch of 1-1/2 inch-
es. So-called attachments include
mechanical clips that seat into the
chain — ideal for making heavy-duty
tracked robots.
Dura-Belt, Inc.
www.durabelt.com
Dura-Belt, Inc. is a maker and
seller of round urethane endless belts
(O-rings), quick-disconnected twisted
belts, flat belts (in different thickness-
es and widths), groove sleeves for
round belts, idlers, and belt splicing
kits.
SERVO 05.2005 69
RoboResources.qxd 4/5/2005 10:04 AM Page 70
NEW, ULTRA MINI, LIPSTICK CAMERA, MINI CCD CAM is SUPER RUGGED.
UN-LTD.
UN-LTD. (not for underwater
use) Adjustable tilt /
swivel mounting
bracket. Specifications: 1/3" SONY SUPER HAD CCD,
metal ) Removeable mounting bracket
included as well as an 8", plug in cable
with BNC video & DC power jack for, no
sweat hook up. Why fool around with an
SURVEILLANCE OPTICS ELECTRONICS
400 Lines Resolution, SUPER 0.01 Lux sensitivity, AGC, Auto Shutter, open P.C. board? Now you can have the
ORDERS. 800.810.4070 (1/60 to 1/100,000) Power from regulated 12VDC @100mA, Super GM210 for the same price as a simple board camera • 1/3" •
3.6mm, 900 FOV real glass lens, NTSC video. Extra IR SENSITIVE. 420 Lines • 0.3 Lux • AGC • Auto Shutter • Power, 12V
Tech 603.668.2499 Size: 0.735"D X 2.15"L 50mm, 36" cable with BNC video & DC @100mA • 270k pixels • Standard 4 mm, 780 FOV lens •
fax 603.644.7825 barrel jack. Weight: 65g Superior quality at an affordable price. Focus from 10mm to infinity • NTSC video • 2 ounces • Size:
Limited qty. Regulated power adapter available for $6.95ea. 1.8" Square x 1.3" deep, including lens. Limited quantity.
WWW.RESUNLTD4U.COM SPECIAL, GM-L250.............$59ea. SPECIAL, GM-210...................$45ea.
HEAVY DUTY, HIGH TORQUE, BOSCH, DRILL MOTOR and GEAR DRIVE ASSEMBLY
METAL CONTRUCTION. with CUSTOM SURFACE MOUNTING BRACKET!
These are brand new, very rugged, These beauties have all the torque you could want....
right angle drive, gearmotors Brand new in mfgrs boxes, These assemblies normally provide the
originally intended for an automotive rotary motion for a quality Bosch 12V V (in) I (nl) Mtr RPM Out RPM
application. They are very substantial, drill/driver. The assembly consists of 3 3.5A 3400 242
weighing over 2 pounds each! They offer a 0.9" a 17000RPM drive motor and a 14:1 6 5.0A 8000 571
diameter x 0.3"H, 9 tooth steel gear drive, located planetary gear head with variable 9 5.7A 12500 893
centered between three 0.32" diameter cast clutch. The motor operates from 3 to 12 6.0A 17200 1228
aluminum "spider" mounting points on a diameter of 12VDC. Measured data in table.
3". Overall size: 1.9"W x 7.1"L x 4"H (including the gear) A unique, custom, glass filled plastic cradle mount is included for easy
with std. automotive style 2 pin connector. Motor will surface mounting. Overall size is 7.4"L x 2.4" diam. (3.3"W in the cradle)
operate with strong torque with as little as 3VDC, Hand Threaded output shaft is 0.048"diam. Fifteen torque setting plus locked.
twisting torque at 12VDC. Current is 3.2A no load and about 6A We have a limited supply of these fantastic robotic drive motors. Order
loaded. RPM of 84/minute. Reversible. Heavy duty platic coupler now, avoid disappointment. Mtr # 2606200917, Drive # 2607022890
included. WINMTR248...........$20ea. 4 for $69 DRILL DRIVE.......$39set, Motor & Cradle 2 sets for $69
SONY EX-VIEW CCD for the best ASTRONOMICAL DC MOTOR drives FLEXIBLE SHAFT with LEAD SCREW and "NUT"
PERFORMANCE available in an affordable camera! New, 18" L flex shaft enclosed in a 3/8"D protective sheath. V (in) I (nl) Out RPM
With 600 Lines Resolution. NEW! 0.00005 Lux, One end "Plugs" into the motors right angle drive which 3 1.1A 133
The most sensitive, uncooled, 1/2" CCD camera available. outputs the flex rotation by turning of a 1/2" diam. x 7"L, 10 TPI 6 1.4A 295
Black and white, state of the Art lead screw upon which rides a 1" x1" 2"L "nut /carriage" with 9 1.6A 468
Video, Our GMV-EX-6K, Takes the two 1/4 x 20 threaded holes spaced 1" apart on the long axis. 12 1.8A 642
Prize. For covert, military & scientific Flex shafts have a 0.14" x 0.14" square drive end. You receive
applications, this is it. Unbelievable one motor/shaft set. They were originally designed to move power seats. Heavy duty.
0.00005Lux @ f0.8 performance is . FLEX-DRIVE KIT.......$24 2 for $40
enhanced through low speed
BOSCH, REVERSIBLE, HIGH
electronic shuttering, digital frame
integration and advanced DSP. Auto sensitivity mode starts as it becomes dark. WE W ANT TO BUY
WANT TORQUE, DC GEARMOTOR,
With 2.4"LONG STEEL SHAFT.
ESOTERIC and
24 hour surveillance is possible with the optional f1.2 auto iris lens shown
These are brand new, very rugged, right angle
below. Seven Gain/Shutter modes are user selectable. Normal, X4, X8, X16,
drive, gear motors originally intended for an
X24, X32, X64 X128. Frame rates of 60, 15, 8, 4, 3, 2,1 and 0.5 per second.
Auto/off BLC, S/N >52dB, Mirror on/off, Gain on/
off, auto electronic shutter 1/60 to 1/120,000 sec.,
UNUSU
UNUSUALAL MA TERIAL
MATERIAL automotive application. They are very substantial,
weighing over 2 pounds each! They offer a 0.44"
diam. x 2.4"L steel drive shaft located centered
Alum. housing, dual 1/4x20 mtg. Specs: 1/2" CCD,
768(H) X 494(V), with 380K pixels, 12VDC LASER SCANNER, GSI LUMONICS, M SERIES, between three 0.45" diameter cast aluminum "spider"
±1V@200mA, S-VIDEO on 4pin DIN connector. CLOSED LOOP, MOVING MAGNET MOTOR threaded mounting points. Each offset 120o and on a
Std. video out on BNC. Size: 51mm x 51mm with capacitive position sensor. Speed & Accuracy! diameter of 2.75". Overall size: 5"H x 7.5"L x 2.7"W
Brand new, GSI Model: 3008522 mirror scanner. Motor will operates with wrist
x115mm long. Regulated power supply incl. All
functions externally controlled. C-mount lens not M-series optical scanners are the first in GSI product twisting torque. As little as
included. We have the best price available for to use moving magnet technology. This robust 3VDC lights it up, nominal is
the 12V1E-EX CAMERA. VERY LIMITED QUANTITY design combines the sub-millisecond speed with 12VDC. Draws about 4.5 A
AVAILABLE. DON'T BE FOOLED by 1/3", NON - EXVIEW, LOOK ALIKES! the micro-radian accuracy second generation under load. All metal construction.
Also it is of course, reversible.
GMV-EX6K...$449 Super, 6mm, f1.2 Manual Iris Lens...$69 capacitive position detector. Excellent drift, noise,
linearity and dynamic performance optimized to V (in) I (nl) RPM
TWO LITTLE GEMS, MINI and MICRO, REVERSIBLE, HIGH position mirrors between 9 and 20mm clear 3 2.7A 16
TORQUE, DC GEARMOTORS. End effector or beam robot. aperture. M2 scanners deliver the performance 6 3.1A 39
These precision motors were removed from new needed in most of today’s beam and image 9 3.3A 63
optical assemblies. They were intended steering applications. 12 3.5A 88
to provide focus and aperture
control for a large zoom lens. Specifications RA DRIVE with SHAFT......$24ea.
Parameter M2 Units SPECIAL....................2 for $39
The mini model (shown left)
Max Scan Angle ±30° degrees,optical
is from SAYAMA, # 43060300,
Non-linearity (max) 0.1 % over ±20° optical REVERSIBLE, HIGH TORQUE,
size is 0.78"Diam. X 2.5"L with a
Offset Drift (max) 30/10 µ radians/°C AC GEARMOTOR, ORIENTAL MOTOR,
1.6"W mounting flange. Shaft is 0.155"
Gain Drift (max) 100/20 ppm/°C MODEL, 2RK6GN/2GN15KA
Diam. The micro model (shown right) A super nice, matched, 1450 RPM,
Operating Temperature 0-50 °C
is from NAMIKI, PN 1D, size is o.47" 1/125HP motor & 15:1 gearbox
Optimal mirror size 9-20 mm, clear aperture
Diam X 1.875"L with a 0.078"D shaft. provide 100rpm at the 0.3" diam. x
Bandwidth (typ) >2000 Hz
A nice torque limiting drive gear is 1.1"L out-put shaft. Shaft rota-tion is
attached to each motor. (Can be Small Step Response (typ) <400 µS
ms the same as the motor shaft.
easily removed) Motor specs are Full Step Response (typ) <2
Instantly reversible capacitor start
shown in tables below. GSI SCANNER.............$149ea. LIMITED QUANTITY motor. (Cap. supplied) operates
SAYAMA MINI......$15ea. from 115VAC @ 0.19A. Torque is
SPECIAL......4 for...$49 POWERFUL, "KIDs CAR" DRIVE MOTOR. 4.4Lb in. Regular $135 each. Limited
NAMIKI MICRO...$20ea. MASSIVE GEAR REDUCTION for BIG TORQUE. quantity. Overall size is: 2.4" X 2.4" x
New, right angle drive system intended for use in a childs motorized
SPECIAL......2 for...$35 4.25"Long. Weight 1.5lbs.
vehicle. A powerful 12VDC motor drives the attached gearbox to
V (in) I (nl) Out RPM V (in) I (nl) Out RPM provide final drive through a 1.75" diam. splined
OM-2GN15K......$20 or 3 for $49
GEAR RATIOS
3 32mA 6
MINI MICRO
3 4.0mA 22 drive shaft. The 2.7" diam.male mating hub, LIKE THIS STUFF? SEE MORE
5 34mA 11 5 4.4mA 36 included. (black piece in photo). This
7 34mA 16 300:1 150:1 7 5.0mA 60 terminates in a 3.9" diam. flange eith
ON-LINE at OUR WEB STORE.
9 35mA 24 9 5.3mA 78 notches for bolts. There is also a 2005 our 14th Year!
12 35mA 33 12 6.0mA 104 0.43"Diam through hole in the center of
the hub. Nice for a large platform.
VIDEO TIME and DATE GENERATOR, NEW!
This simple device solves the problem of time stamping & V (in) I (nl) RPM Amps
identifying any video. Camera ID up to 20 characters, ID & 3 900mA 26 Loaded
Time on/off, ID at top center of screen & time on the 6 1.0A 57 5A
bottom. Format: YR/MO/DAY and HR/MIN/SEC/ 24hour Std. 9 1.1A 89
RCA video in & out. 9VDC, AC adpter incl. Three button operation. Rugged case. 12 1.2A 117
Size: 3.5"L x 2.6"W x 1.25" H. SPECIAL..........$55ea. CAR DRIVE FP....$20ea. 2 for $35 ENCODERS MAXI FUSE BLOCK
Circle #34 on the Reader Service Card.
SERVO 05.2005 71
BrainMatrix.qxd 4/5/2005 10:16 AM Page 72
reversible r/c-style
electronic speed controllers (escs)
Pe
ax C
ak
Re
im u
Fo T
PW
C
sis
um re
In ce
rw im
Vo
ur
ta
M
te (
re
r
ar e
lta
n
rn oh
Fr
on (am
nt
d/ De
ge
al m
eq
Re la
t
M
tin p
(a
Ra
(F s)
Br
ue
od
ve y
m
uo s)
ET
ng
SUPPLIER
ak
nc
ps
rs
ul
us
e
e
e
y
)
)
Astro Flight Harbor Master 6 to 8 30 35 0.010 2.5 kHz Yes No
www.astroflight.com
Kyosho Perfex KA-6 7.2 to 8.4 32 280* 0.006 1 kHz Yes Yes
www.kyosho.com
LRP Electronic LRP Runner Plus Reverse 4.8 to 8.4 20 80 0.017 1.3 kHz Yes Yes
www.lrp-electronic.de
Team Novak Super Duty XR High Voltage 7.2 to 16.8 180* 400* 0.0011 proprietary Yes Yes
www.teamnovak.com
XRS Sport 4.8 to 8.4 40* 40* 0.0055 1 kHz Yes Yes
72 SERVO 05.2005
BrainMatrix.qxd 4/5/2005 10:17 AM Page 73
by Pete Miles
Upcoming topics include SBCs and H-bridges, sensors, kits, and actuators. If you’re a manufacturer of one of these items, please send your
product information to: BrainMatrix@servomagazine.com Disclaimer: Pete Miles and the publishers strive to present the most accurate
data possible in this comparison chart. Neither is responsible for errors or omissions. In the spirit of this information reference, we encourage
readers to check with manufacturers for the latest product specs and pricing before proceeding with a design. In addition, readers should not
interpret the printing order as any form of preference; products may be listed randomly or alphabetically by either company or product name.
* Special Notes
W
Pr
ei
Si
og
gh
w
ze
C (am
ra
t(
er
Li
on all ESCs that are specifically designed for
m
C p
(in
ou
st
Sw
ur s)
ch
nc
Pr
R/C cars. Their continuous and peak current
re
ab
itc
es
es
ic
nt
le
e
)
SERVO 05.2005 73
MrRoboto.qxd 4/5/2005 10:07 AM Page 74
Tap into the sum of all human knowledge and get your questions answered here!
From software algorithms to material selection, Mr. Roboto strives to meet you
where you are — and what more would you expect from a complex service droid?
by
Pete Miles
— Tina Ayling
via Internet
anthropomorphic mechanical being built to do routine man-
ual work for human beings or a mechanical device operating
automatically, especially by remote control, to perform in a
seemingly human way.” The Robot Institute of America
defines a robot as, “a reprogrammable, multifunctional
manipulator designed to move material, parts, tools, or
T1
and a BASIC Stamp. I have been wondering if this might be
related to static electricity, because it usually happens when
it is running on the carpet.
— Louis Sharp
Culver City, CA
SERVO 05.2005 75
MrRoboto.qxd 4/5/2005 10:09 AM Page 76
X-AXIS
es, the input sees zero
+5V volts. Hence, the pull-up
term comes from the fact
that the voltage is pulled up
MEMSIC 2125 to five volts when the
Y-AXIS
1 6 switch is open. These two
T-OUT configurations ensure that
2 5 the input voltage states are
Y-OUT (TO P1 ON STAMP) X-OUT (TO P0 ON STAMP) always known. Hopefully
3 4 this will help solve your
problem.
aaxis = 8 ( T1
T2
- 0.5 )
Take a look at Figure 4. It shows a simple schematic for
hooking one of these sensors to a BASIC Stamp, and the
source code shown below is a simple program that illustrates
how to use the sensor and output its results to a debug
window.
Circle #122 on the Reader Service Card.
76 SERVO 05.2005
MrRoboto.qxd 4/5/2005 10:10 AM Page 77
w
e
N
KHR-1 Robo-One Robot Kit
These awesome kits are the latest craze in Japan.
Robot has 17 motors for fluid movements.
Programed and Controlled via PC.
Upgradable to Bluetooth wireless.
Send updates, new listings, corrections, complaints, and suggestions to: steve@ncc.com or FAX 972-404-0269
I've been asked for some tips for new robot clubs Includes several events related to the Eurobot
planning their first contest. Well, I aim to please. Here are a program.
few pointers. www.depeca.uah.es/alcabot
Take a look at what other clubs are doing. It's much
easier to adopt or adapt a proven contest format than 6 TEAMS (Technology Education Alliance with
invent something totally new. Middle Schools)
Start simple. A simple contest in which a lot of Applied Physics Lab, Johns Hopkins University,
members can participate and complete is better than an Laurel, MD
overly-complex contest that no one is able to complete. You TEAMS looks like a new group trying to get in on
can always add a more complex contest later. the FIRST/BEST action. Like those more familiar
One model of gradually increasing complexity is provid- events, TEAMS consists of mentors helping groups
ed by the Dallas Personal Robotics Group. They start with of students build robots that compete against each
"Quick-Trip," which involves the simplest navigation problem other. So far, it looks like TEAMS participation is
of moving from point A to point B and back again. The chal- limited to Maryland.
lenges involved in such basic navigation skills come as a www.theodysseyschool.org/~teams
surprise to many first time robot builders. After completing
Quick-Trip, DPRG robots graduate to T-Time which involves 11 Micro-Rato
a T-shaped course with three points: A, B, and C. University of Aveiro, Aveiro, Portugal
From there, the addition of a gripper allows robots to enter Micro-rats are similar to the more familiar micro-
"Can-Can," in which they must locate and retrieve soda cans. mouse, just a bit larger.
Where do you go from there? How about the Seattle http://microrato.ua.pt
Robotics Society Robo-Magellan. It requires all the skills
developed in the above contests but also relies heavily on 14 Historical Electronics Museum Robot Festival
vision processing, obstacle avoidance, and waypoint Historical Electronics Museum, Linthicum, MD
navigation. Several robot groups have started holding This local event is new to the robot competition
Robo-Magellan contests and they are proving to be very list but it's actually their sixth year to hold the
challenging. If you can complete this one, you're probably Robot Festival. They have a wide range of events
ready to move on to the DARPA Grand Challenge. including: Sumo, Fire-fighting robots, FIRST, LEGO
One last suggestion for anyone working on new contest Mindstorms, and even some "robot" combat for
ideas: make the goals as general as possible. Contests with those who like to see radio-controlled vehicles crash
very specific goals and complex rules result in robots that into each other.
can only do one thing well. It's better to use general goals www.robotfest.com
and minimal rules to guide the robot builder toward a more
creative and general-purpose robot that may be useful in the 14 LVBOTS CHALLENGE
real world. Rancho High School, Las Vegas, NV
— R. Steven Rainwater Events include line following, line maze solving, and
mini Sumo.
For last-minute updates and changes, you can always find www.lvbots.org
the most recent version of the Robot Competition FAQ at
Robots.net: http://robots.net/rcfaq.html 14 Western Canadian Robot Games
Southern Alberta Institute of Technology, Alberta,
Canada
M ay 2 0 0 5 This will be the 15th annual event for one of the
longest running robotics competitions in North
6 Alcabot America.
University of Alcala, Madrid, Spain www.robotgames.net/robot_society.htm
78 SERVO 05.2005
Appetizer.qxd 4/6/2005 1:46 PM Page 79
having written books on many dif- find work at three different video game
ferent technical subjects. I was arcades, fixing pinball machines and
lucky to have Alan while I was a video games. Even though I got fired
student and then to be able to for allowing my friends to play for free,
work with him later as a colleague. it was fun being around all that elec-
Alan contributed heavily to my tronic technology.
training as a faculty member. If I At some point, it became apparent
gained anything from my years to me that the light flashing could be
of working by his side, it was that accomplished through a dedicated
you should think big and make it hardware circuit or through a simple
interesting. hardware interface and a computer
My teenage world of video program.
games included games like “Space Assembly language, Basic, C, and
Invaders,” “Asteroids,” “Donkey other languages became part of my
Kong,” and “Tempest.” Like any toolbox, as I began to use software to
because I told him I had built my own good geek, I sent away for the control my hardware. I also realized
8080-based S-100 computer in my schematics of the game, having con- that the core of my fixation with flash-
basement. Those of you old enough to vinced the supply company I was an ing lights was something much simpler,
know what I just said will understand authorized service technician. I studied and that is my need to know how
that Alan’s course on 8080 assembly those game schematics for hours, things work. I just like to know.
language and digital electronics was learning many things about processor Lots of times, when I see some
right up my alley. After earning an A interfacing, video generation, and interesting electronic gizmo, I try to
that semester, I finally had something sound processing. There was some- design and build one myself (after
no other college course had given me: thing exciting about looking at the cir- peeking under the hood, if I can). This
confidence. Two years later, I graduat- cuit board for a new video game, as interest in reverse engineering and cre-
ed from Alan’s department and head- they were as large as baking sheets ating things that do not exist extended
ed to RIT to work on my BSEE. Right back then and crammed with a couple itself into the areas of speech synthesis,
before I left, I said to Alan, “Hey, do hundred integrated circuits. data compression, error detection and
you want to write a book?” Now, it can all be done on the PC correction, computer networking,
Now, 21 years later, I am a profes- with clever software and built-in sound image processing, and many other
sor, teaching in Alan’s old department, and video. But back then, I managed to areas that fascinate me.
80 SERVO 05.2005
Appetizer.qxd 4/6/2005 1:47 PM Page 81
Once, during a student trip to the module, and Ken wrote a simple calling it the “head” of my new robot.
Boston Museum of Science, I saw a TCP/IP application to flash numbers on I was five years old. A television car-
human reaction time circuit. I thought the display. toon called “8th Man,” and another
it was interesting, so I went back to my Ken and I trade program revisions called “Gigantor” (TV from the 1960s),
college and built one with a student. back and forth, making the Internet- got me really interested in robots as a
Students still play with it every day as it based flashing circuit do some new child. Of course, the inside of the robot
is mounted in the hallway on our floor trick each time. Right now, we have it was more interesting than the outside,
right next to the water fountain. programmed to flash the IP address of so that led to the investigation of
I spent over 15 years working part- Ken’s game server to both of our hous- electronic brains.
time on a Ph.D. in computer science (I es every few minutes. As I wrote this Can you imagine how lucky I felt
am not finished yet), taking courses, article, the display flashed silently when I scored a tour at a local IBM
performing research, learning more above me several times. facility and actually touched and
about computers than I ever imagined, If I am successful at designing and programmed an IBM 360? Pure geek,
and being exposed to many things not building something, the results are, at but firmly on course for a future in
in the orbit of an electrical engineer. least, partially due to the fact that I like electronics.
I put in this time voluntarily, as my challenges and do not like to quit work- After 28 years of evolution, post
job does not require it. I did it for the ing on a problem until I solve it. Alan high school, what am I now, ? An elec-
fun of it, because I was interested in Dixon challenged me constantly, both trical engineer? A computer scientist?
the new material. I used my new as a student and fellow faculty mem- A professor? A designer? A program-
knowledge from my Ph.D. courses to ber. He would get a twinkle in his eye mer? I think I am all of these things,
add content to several of my college when we were discussing something and more, because I also like to hike,
courses, and wrote several books with new, and he would say, “That is proba- read, watch sci-fi movies, play with my
it, as well. bly too hard for you, Jamie,” or “I’ll bet children and friends, and talk to my
In addition to Alan Dixon (whom I you can’t do that, Jamie.” Naturally, I wife about things above my head.
wrote my first book with) is my other had to work night and day building a Will I continue trying to come up
co-author, Kenneth Mansfield. Ken and new circuit or writing a new program with new ways to flash the lights? You
I have challenged each other greatly to show him I could do it. bet I will. I owe my way of life to my
over the years, beginning as student A sample of some of my designs pursuit of flashing lights and all the
lab partners, working on our two-year can be found at http://web.suny wonder behind why we choose to
degrees, and continuing to this day as broome.edu/~antonakos_j/projects/ make them flash. SV
professors in the same department. You will notice that there are plen-
My interest in flashing lights has ty of lights involved in the projects and AUTHOR BIO
evolved to the point where the flashing almost all of them are built by or with
is controlled over the Internet by a students. Most of the projects allow James Antonakos is a Professor in
TCP/IP application and a small embed- you to see the electronic innards that the Departments of Electrical
ded Web server module. Ken found the make them work. Engineering Technology and Computer
Web server modules and ordered a few Have I been a freak all my life? A Studies at Broome Community College.
to play with (he likes to experiment hopeless electronic and computer You may reach him at antonakos_j@sun
ybroome.edu or visit his website at
with new gizmos, too). We interfaced a geek? I think so, from a very early age.
www.sunybroome.edu/~antonakos_j
single seven-segment display to the I remember making a small box and
Advertiser Index
Abacom Technologies .........................31 IMService ..............................................54 R4 Systems, Inc......................................33
All Electronics Corp. ............................55 Jameco ............................................47, 83 RadioShack .............................................9
AnyChip ................................................16 Labjack ..................................................35 Resources Un-Ltd. .................................71
AREXX Engineering ..............................21 Lemon Studios .....................................35 Robotics Group, Inc..............................25
BitScope ................................................17 Lynxmotion, Inc. ...................................69 RobotShop ...........................................66
Cook’s Institute .....................................76 Madell Technology ..............................23 Smithy.....................................................55
CrustCrawler ...........................................7 Net Media ...............................................2 Solutions Cubed....................................27
Electronic Goldmine ............................50 NUBOTICS .............................................55 Sozbots..................................................77
Enigma Industries .................................55 Parallax, Inc. ...........................Back Cover Technological Arts ...............................41
Garage Technologies ...........................55 PCB123/PCBexpress ...............................3 Tetsujin 2005 ..........................................11
HiTec ......................................................59 PCB Fab Express ...................................58 Vantec ...................................................57
Hobby Engineering ..............................65 Pololu Robotics & Electronics .............39 Zagros Robotics ...................................55
SERVO 05.2005 81
ThenAndNow.qxd 4/6/2005 1:57 PM Page 82
Imendirector
1984, Lou Gostinger, marketing
for Tomy Corporation, called
about a new line of robots that his
of our members quickly did some
measurements and determined that a
small 6502 processor board would
company was developing. They had neatly fit into the base.
marketed several “robot” toys prior to We didn’t have to wait long before
that but were now interested in pro- Tomy brought out an experimenter’s
moting a real robot that adults would base called Homer.
find interesting and useful. The $495.00 Omnibot 2000 was a
They had a series of unique toys, great improvement over the original
such as a robot owl called “Hootbot” Omnibot. It stood quite a bit taller and
and a rather cute dog robot called seemed closer to a more useful person-
“Spotbot” that really didn’t do a lot. al robot than the previous models. The
Later came the “Verbot” talking robot best part — as far as we experimenters
that began to pique the interests of felt — was its three-axis arm (only the
serious robot experimenters. The right arm was motorized) that could
Omnibot arrived on the scene in 1984. grasp a soda can and pour it into a
At a price of $250.00, it was their first cup. If you had attached the motorized
attempt at a serious home robot. tray to the robot’s front, the tray could
During the conversation, I could move several cups in an oval pattern.
sense that Lou wanted our Robotics This was all accomplished by home.” I saw what I think were proto-
Society of Southern California group to remote control, but hackers soon had types but never saw them in produc-
see and evaluate their latest and best, the arm under control of a John Bell tion. TTC also had a B&W TV camera
the Omnibot 2000. (Remember when 6502 microprocessor board and pro- attachment that could be used on the
the year 2000 was the future?) He grams that could be stored on the built- Homer or Hearoid at $350.00.
brought several to one of our meet- in tape deck. Sometime around 1986, I got a
ings. It was an instant hit with the Tomy Koygo Co., the Japanese par- call from Mary Woodworth of Tomy,
members, but in later conversations, ent of Tomy, was trying to pull away asking if our robotics group would be
we all agreed that the attraction was from the “toy” image of its robot prod- interested in buying off some of their
for its ability to be hacked rather than ucts with another robot called stock of robots, as they were no
for its out-of-the-box usefulness. One “Hearoid” from a Tomy offshoot com- longer selling that well. I could hardly
pany called TTC, Tomy Technical get the word “yes” out of my mouth,
Corporation. This cute little robot made as saliva was dripping onto the phone.
its debut in mid 1985 and was similar At their Wilmington warehouse, I
to the original Omnibot. The $395.00 managed to stuff six Hearoids, two
Hearoid could be controlled by the Omnibot 2000s, some miscellaneous
user’s voice and also had a grasping robots, and robot parts into my car
hand, a removable carrying tray, and a without sounding too greedy. Hey, I’m
built-in tape deck. Voice controls could sure she saw right through me when
operate all the movements, lights, and they only cost me $5.00 each, plus
tape deck. several free broken 2000 motorized
One of the most interesting prod- arms. Others of our group bought all
ucts to me was the Homer robot proj- they could haul home. I managed to
ect base. At about the size of a fat use several of mine as “action props”
bathroom scale, the $150.00 base was in the movie Automatic and as still
an experimenter’s ideal platform. With props in I Robot.
six driven wheels, an ultrasonic con- I’ve seen the Tomy robots on eBay
troller (remember when TV controllers and all over the Internet. I highly rec-
were ultrasonic and not IR?) that could ommend them as an easily hackable
make it go forward and reverse, turn robot, as well as an amazing toy of
right or left, and even “return to yesteryear. SV
82 SERVO 05.2005
CoverInside.qxd 4/5/2005 7:55 PM Page 2
Remember when...
...electronics stores were stocked to the rafters
Vol. 3 No. 5
SERVO MAGAZINE
ROBOTS TO THE RESCUE
MAY 2005
0 74470 58285 4
Circle #40 on the Reader Service Card.