2019 Issue-1
2019 Issue-1
2019 Issue-1
Hitec servos have been delivering the STAR power you demand since 1983.
Whether you require the pint-sized proficiency of a micro, the steadfast performance of a standard
sport, the efficiency of a brushless digital or the IP-67-rating of a waterproof giant, our top-level
engineering, design and technology goes into everything we manufacture. For generations,
Hitec’s talented team of R & D professionals have committed to building the
highest quality of servos on the market, giving you the power to be your best.
Be STAR POWERED with Hitec!
Hitec RCD USA, Inc. | 12760 Danielson Court, Unit E | Poway, CA 92064 | (858) 748-6948 | www.hitecrcd.com |
01/02.2019 VOLUME 17 • NO. 01
Subscription Information
SERVO Magazine — PO Box 15277
North Hollywood, CA 91615-9218
Call 877-525-2539 or go to www.servomagazine.com
Subscribe • Gift • Renewal • Change of Info
16 Bots in Brief
• Ginger, Bread Please
• Bone to Pick
• Creepy, Crawly SkinBot
• Scorpion King
• Voyaging Velox
• 32-Legged Freak
• Serve at Your Service
• You’re an ANYmal
• (Mini)RHex on Whegs
• Cyber Plants?
• Affordable 3D Perception
• Game of Throne-Cleaning
• Bye, Bye Breazeal
Page 32
• Chocolate Aibos
• “ElliQ”uent Social Robot for
Older Adults
Departments
06 Mind/Iron
Combat Zone
Mass Customization:
Why Aren’t We There Yet?
14 New Products
49 SERVO Webstore
81 Advertiser’s Index
82 GEARBOX
24 BUILD REPORT: Grater Good
26 Maximizing Strength for
Printing Combat Robots with a SERVO Magazine (ISSN 1546-0592/CDN Pub
Budget 3D Printer
Agree#40702530) is published bi-monthly for $26.95 per year
by T & L Publications, Inc., 2279 Eagle Glen Parkway, #112-
4 SERVO 01/02.2019
50 Using a Servo with the TS-7180
SBC
by Michael Peters
Whether building a balancing robot, keeping a toddler
out of daddy’s special stash, or designing the next great
braking system for your soap box racer, servos are an
essential component in any hobbyist’s or embedded systems
engineer’s toolbox. See how the TS-7180 SBC (single-board
computer) from Technologic Systems makes a conveniently
apt servo controller.
N
early two decades ago, I visited the Other than the occasional separate Outside US: (818) 487-4545
Levi Strauss store in San Francisco, suit jacket/pants available at the malls, it’s P.O. Box 15277
CA to witness a full-body 3D laser impossible for me to find a suit that fits North Hollywood, CA 91615
scanner take a person’s measurements for (think orangutan torso with chimp legs). subscribe@servomagazine.com
a pair of custom jeans. The process was So, I spend money on custom suits. I’ve
quick and painless, and the resulting jeans tried the online versions where you enter PUBLISHER
were reasonably priced, given the promise your measurements and a package arrives Larry Lemieux
of a truly custom fit (about $100). in a month. No good. The only thing publisher@servomagazine.com
True, anyone could have bought a that works, so far, is the old-fashioned
pair of off-the-rack no-name jeans and handmade suit. ASSOCIATE PUBLISHER/
had them tailored the old-fashioned way In talking with my tailor, he says that ADVERTISING SALES
for less money, but who in the technology the canvas fabric in a suit coat can’t float Robin Lemieux
field wants shears and needles over sexy between the outside and the inner lining if robin@servomagazine.com
laser scanners and digital imaging — it’s machine sewn. Apparently, the looping
especially when scanners theoretically hand stitch — which is sometimes taunt EXECUTIVE DIRECTOR/
scale, ultimately bringing customization to and sometimes lax, depending on the area
the masses? of the jacket, the curvature of the person’s
PRODUCTION
Sean Lemieux
Well, that was two decades ago, and body part, and the tailor’s sense of what’s
sean@servomagazine.com
the scan-based custom jean service has right — results in a suit that feels like a pair
long since ended. There have been similar of pajamas.
startups and failures around other apparel It’s that last part — the tailor’s sense EDITOR
and accessories. Perhaps the greatest of how to stitch a given area given his Bryan Bergeron
success in matching customers with sense of what’s right — that has yet to be techedit-servo@yahoo.com
existing products has been around virtual captured in software. That sense seems
fitting, such as the ability to virtually try on equally important whether it’s a tailor CONTRIBUTING EDITORS
glasses online (glassesusa.com). However, sewing a sheet of wool or a surgeon Tom Carroll Kevin Berry
this is a long way from the promise of joining the ends of a severed artery or Bryce Woolley Evan Woolley
mass customization, where we can get length of bowel. Jim Newman John Blankenship
clothing or other products that fit our So, how do we quantify and ultimately Bill Donofrio Michael Peters
exact specifications in about the same time replicate the “sense” and the associated Scott Supeck Matthew Smith
it takes to acquire an off-the-shelf product. action? I’m sure it’s domain dependent, Nate Franklin Ryan Clingman
So, what happened? Why aren’t we as most things are in AI. I suppose the
there yet? What happened to the universal validation — at least in a non-critical task WEBSTORE MARKETING/
3D printer that can produce custom shoes, such as creating custom clothes — is in the COVER GRAPHICS
clothing, and (eventually) food at the touch product, i.e., the proof is in the pudding. Brian Kirkpatrick
of a button? What about critical tasks such as brian@servomagazine.com
One issue is, of course, capability automated custom surgery? I suppose
vs. cost. Keeping with the theme of there are animals that could be sacrificed Copyright © 2019 by T & L Publications, Inc.
clothing, there are companies that use in the name of commerce and science. All Rights Reserved
expensive room-sized 3D printers in-house Simulations are the ultimate answer All advertising is subject to publisher’s approval.
to create clothing (ministryofsupply. to validation, but — as with mass We are not responsible for mistakes, misprints,
com), but these are relegated to cranking customization — we’re not there yet. or typographical errors. SERVO Magazine
out standard sizes that appeal to (or at So, other than identifying temporary assumes no responsibility for the availability
least fit) the masses. There simply aren’t roadblocks to mass customization, or condition of advertised items or for the
honesty of the advertiser. The publisher makes
any 3D printers/weaving machines that what’s the takeaway? It’s just that.
no claims for the legality of any item advertised
are affordable to the common consumer. These roadblocks to mass customization
in SERVO. This is the sole responsibility of the
It’s like the days before sewing machines are temporary, in that they are massive advertiser. Advertisers and their agencies agree
became household items — only one opportunities for you to exercise your to indemnify and protect the publisher from
professional seamstress in town owned a robotics skills, including sensor and any and all claims, action, or expense arising
machine. simulation technologies. from advertising placed in SERVO. Please send all
Another issue is more subtle, and has Who says there’s nothing left to editorial correspondence, UPS, overnight mail,
to do with the AI on the production end. invent? SV and artwork to: 2279 Eagle Glen Pkwy #112-
Let me explain. 481, Corona, CA 92883.
6 SERVO 01/02.2019
Mad Science
BioFeedback and students again have to shift their engineering. Parents who haven’t
Bryan Bergeron made some foundational views of math, science, been exposed to ham radio clubs,
excellent points in his Developing or “history.” electronics experiments, or basic
Perspectives editorial in the November- We can debate the reasons for the chemistry or physics can’t encourage
December 2018 issue, and I’d like to shift all day long, but the fact remains their child to explore an area they
respond. that we our failing our children with know nothing about.
chaos and inconsistencies. My dad used an IBM 370 with
1. Depth of knowledge in high Cogo (coordinate geometry program)
school students. 2. Parental involvement. at his office. He didn’t understand
When you constantly change the A parent cannot even begin microprocessors, but he did
foundation, any building is going to to help their child with the “new” understand how to think logically —
fail. We didn’t start tinkering with math until they have gone back and and taught me to do the same.
social engineering of education until studied the book, worked through
the ‘60s. Prior to that, a student from examples, and asked for clarification 3. Critical thinking.
1920 or 1950 had a fundamental from the teacher (who may not even Heaven forbid if your child
grasp of math and basic science. understand it themselves). questions the teacher’s theories or
My high school experience in the My mom was a whiz at math, assumptions today. They will be
mid ‘70s was one of extremes. My worked in a bank, and understood labeled with “authority defiance
physics teacher was old school, and numbers; ditto for my dad, who was disorder” for disrupting the class.
my algebra teacher was new age. I an architect and bombardier in the Teachers in public education are
earned an “A” in physics because our war. Neither of them could grasp the not taught how to think critically or
instructor engaged us and kept us “new math” and so could not offer logically, so how can they teach those
on our toes while making sure we any assistance. skills to our children?
discovered underlying concepts. He Prior to 1960, most parents
did this right after lunch, when most could help with homework if their 4. Six figure incomes.
students were nodding off. child needed it. Today, parents have a A child today being raised in the
If he caught you snoozing, a monumental task ahead if they want home of a doctor or lawyer may see
chalk eraser would be launched into to help their kids. extremes. There are more than a few
your chest and you would wake up Most parents of school age struggling baristas who thought a law
coughing from chalk dust (I’m sure children today are themselves a
that would be a lawsuit today, but it product of this educational social Continued on page 71
was highly effective at keeping you
awake).
My other instructor was tasked
with teaching new math. I was a
challenging student (I’m sure!) as I
Make Precision
asked repeatedly “Why?” He couldn’t Metal Projects
answer basic foundational questions
about why these algebraic steps were
taken. It made no sense to me, and I User-friendly, budget-friendly,
used rational thought to work out the making-things-happen-friendly.
answers, showing my work. The compact Tormach PCNC 440
Because I didn’t use “new math” runs on single-phase power and
even though I showed my work and fits just about anywhere.
got correct answers, I was given an
“F.” When the teacher can’t grasp and Delivered* and ready to rumble
explain the method but is telling the for under $8500.
students to “trust the process,” it is a
Get started at tormach.com/440.
recipe for failure.
Our educational system has been
overrun with social engineering (I
*Standard shipping included in the continental USA.
hate that term, as it is anything BUT
engineering). Every five years, a new TORMACH.COM/440
“improved” method is introduced,
SERVO 01/02.2019 7
3D Printing
for Robotic
Projects By John Blankenship
sensor, imagine making one that looks like a unique head figure is the feet.
with the transducers positioned to look like eyes. Rather than create movements using a series of poses
(as most humanoid projects do), I want to experiment with
TinkerCad accelerometers for balancing.
My algorithms for controlling movements require that I
Creating custom parts was not nearly as difficult as I can tell when and where the feet are contacting the floor,
expected it to be. I’m sure I could benefit from one of the so I want three contact switches on each foot: one at the
more expensive CAD programs, but I tried TinkerCAD and front and two in the back corners.
could not be happier. Not only is it free, it was extremely One option, of course, is to just disassemble the feet
easy to learn and had all the features I needed to design and attach limit switches similar to the one shown in Figure
everything discussed in this article. 4. While it’s possible to just bolt the switches directly to
the feet, both the front and rear edges are tilted inward; it
Bigger Projects might be better to have a vertical mounting surface.
Figure 5.
More Sophistication
Even though individual wedges are
probably an excellent choice, I would be
remiss if I didn’t mention more sophisticated
options. One such solution is to simply create
an entirely new shell in TinkerCAD as shown
in Figure 6. This was possible because
EZ-Robot (as well as a growing number of
other companies) provide the STL CAD files
Figure 6.
for many of their parts. Even the relatively
primitive TinkerCAD allowed me to modify
the original files and add vertical surfaces to both
the front and back edges (the back is shown in
the figure).
The printed object along with the original
foot shell are shown Figure 7. Notice the sloped
edge on the toe of the factory-made foot in the
rear of the figure. Compare that to the toe of
the newly designed and printed shell in the front.
The vertical front edge is subtle and blends in
nicely with the original design. The quality of the
printed shell speaks well for the Mooz printer (the
object shown is as printed with no sanding or
polishing).
Figure 9.
Figure 11.
Printer Considerations
I’m very happy with my Mooz-2 printer. It comes
in two models (Mooz-1 and Mooz-2), but either should
produce the quality prints shown in this article.
The Mooz-2 has one extra motor to handle the extra
weight and torque needed for an optional CNC carving
attachment. It’s considerably more expensive than many
Figure 10. models and less expensive than some.
When evaluating printers, I found the review
12 SERVO 01/02.2019
comments on printers sold through Amazon to be very
helpful. To post comments on this article and find any associated
files and/or downloads, go to www.servomagazine.com/
Anyone thinking of adding 3D printing to their robotics
magazine/issue/2019/01.
workshop should consider many things, with the volume
of the available print area being high on the list. The Mooz
area is approximately 13 cm cubed which was just barely
able to print the robot foot in Figure 7.
For the projects I have in mind, this is an acceptable
limitation, but consider your needs
when selecting a printer.
Print speed and quality can
certainly vary, but most any
printer should provide acceptable
performance in these areas —
especially for hobby use.
wSupport from the manufacturer,
on the other hand, seems to vary
considerably. This is to be expected
since many 3D printers are made in
China and that alone can easily add
communication problems when you
need help.
It was obvious to me that
Mooz support has tried to provide
appropriate documentation (including
numerous YouTube videos), but those
totally new to 3D printing should
be prepared to take their time and
research anything about which they
have questions — no matter what
printer you choose.
Hopefully, all foreign 3D printer
manufacturers will spend more
time in the future translating their
documentation to English.
Conclusion
For many hobbyists, 3D printing
is still a luxury. It seems obvious to
me though, that it’s going to become
commonplace in the not-to-distant
future.
I’ve tried to share some project-
based ideas and demonstrate that
customization is far easier than you
might imagine.
Now that I’ve become immersed
in 3D printing, I think new ideas and
project options will become a natural
part of my robot building process.
If you try it, I suspect it will be the
same for you. SV
SERVO 01/02.2019 13
NEW PRODUCTS
DYNAMIXEL Pro Plus H Series
Second Generation Motor detection, more accurate speed control at low tachometer
frequencies than their predecessors, and VIN measurement
Controllers with Feedback capability which allows monitoring of the battery or power
supply. Five versions are available, with prices ranging
from $49.95 for the tiny Jrk G2 21v3 (4.5V to 28V, 2.6A
continuous) to $149.95 each for the high-power Jrk G2
18v27 (6.5V to 30V, 27A continuous) and Jrk G2 24v21
(6.5V to 40V, 21A continuous).
16 SERVO 01/02.2019
bots
IN BRIEF
Creepy, Crawly SkinBot
R earchers from the Massachusetts Institute of Technology
(MIT) Media Lab have been working on the next iteration
of smart artificial intelligence assistants tech: a palm-sized
personal robot that is designed to literally crawl over your
body. Called Skinbot, it carries out this movement using
suction-cup feet that are modeled after the adhesive abilities
of leeches or cephalopods.
“The idea is making wearable robots that move around
your body, kind of like small robotic companions that help
you,” Artem Dementyev, a Ph.D. student in the MIT Media
Lab’s Responsive Environments Group, stated recently. “We
see this kind of relationship in nature already. The goal is to
look at new ways at wearable devices, as not just static devices
such as watches. The ‘epidermal robots’ attach directly to
the skin using suction cups, kind of like the suction cups for
massage. It is the first robot that can climb on the skin. We robot can have a microscope that looks at the skin. [It] can
already have robots that autonomously explore Mars, so why crawl thoroughly and inspect the skin for signs of cancer
not have robots that can explore ourselves?” or other skin problems, perhaps while you sleep. The robot
In theory, such robots could function as robo-pets, but knows the precise locations and can record changes over time.
Dementyev said that a more compelling use case would This would be impossible with current technology, as it would
involve medical applications. require to look at the skin with a microscope.”
“I see the robots as tiny physicians that you can order Skinbot could also be used to precisely map the
on demand in a small box to your house,” he continued. “The mechanical properties of the body by walking around and
physically pushing on the skin to
determine how hard it is in various
places. In addition, SkinBot’s suction
cups have metal rings that can pick
up biopotential signals such as heart
rate and muscle activity.
Dementyev commented
that currently, the robot is still
exploratory and preliminary work,
and any commercialization is likely
at least half a decade away. To get
there, the team needs to solve
technical challenges such as removing
the wires and making the robot
autonomous in order to make it
more practical.
No hurry ... we can wait on this
one.
SERVO 01/02.2019 17
Scorpion King
Voyaging Velox
18 SERVO 01/02.2019
32-Legged Freak
SERVO 01/02.2019 19
Serve at Your Service
You’re an ANYmal
Q uadruped robots like Boston Dynamics’ various
canine-inspired units have been wowing folks
for years. So far, though, they have mostly remained
confined to the lab or to limited outdoor tests.
However, one quadruped robot in particular is already
proving its worth in a real world commercially useful
setting, as demonstrated by ANYbotics: a Swiss
robotics startup that spun off from ETH Zurich’s
Robotic Systems Lab.
The company’s autonomous ANYmal quadruped
robot recently underwent a one week trial carrying
out inspection tasks on one of the world’s largest
offshore power-distribution platforms in the North
Sea. This involved covering a total of 16 inspection
points, including checking gauges, levers, oil and water
levels, and assorted other visual and thermal measurements.
ANYmal showed impressive maneuvering abilities. It climbed up and down stairs, as well
as over obstacles, and crawled through narrow spaces, giving it an advantage over wheeled or
tracked robots. The robot is also impressively tough, with a rugged waterproof design and a
dock that allows for automatic recharging without human intervention.
20 SERVO 01/02.2019
Photo: CMU.
(Mini)RHex on Whegs
SERVO 01/02.2019 21
Image: Harpreet Sareen/Elbert Tiao.
Cyber Plants?
Photos: Occipital
Structure Core sensors on a drone.
22 SERVO 01/02.2019
Game of Throne-Cleaning
I n some very sad news, The Robot Report announced that Jibo, Inc.,
completed the sale of its assets and intellectual property to a New York
based investment management firm, which probably is not going to be
using Jibo’s IP to build robots.
We’ve known for a while that Jibo (the company) was having some
challenges both in selling robots and meeting expectations. Layoffs
followed, and back in June 2018, a Boston Globe reporter stopped by Jibo’s
Boston office to find it deserted and full of packing material and sold
furniture.
Continued on page 48
SERVO 01/02.2019 23
BUILD REPORT: By Matthew Smith
Grater Good
(a150 gram Combat Robot)
A
lthough I’m something
of a veteran builder now, Grater Good, before its
assisting new prospective first fight.
builders with their
machines and having a
couple of trophies on my desk, I think
it’d be best to start my roboteering
story from the beginning.
I’ve got no higher education,
fancy machine shop, or specialized
knowledge that gives me an edge
when building robots; just an active
mind and a distinct lack of care for
how badly some of my ideas turn out
in the box.
Although I was a fan of
BattleBots™ as a kid, it took the
reboot (and the adult privilege of two-wheeled wedge. strong but heavy materials to meet the
disposable income) for me to really get Rather than trying to design an weight limit.
involved and build something to throw elegant chassis, I went out to Safeway Driving Grater Good was a pair of
into a life-or-death contest between and bought an ordinary cheese grater Solarbotics GM7 gear motors. These
two home-built mechanical gladiators. for around twenty bucks. I figured are very low cost/high gear reduction
For a first robot, it’s always good thin steel wouldn’t shatter like plastics motors that are designed to provide
to start simple. Every builder probably might, and that it already was full of high torque at very low voltages. For a
was given that advice at some point. speed holes. robot whose only means of attacking
So, naturally, I went with the simplest Having built Sumo bots in my was pushing, it seemed like a good
design you can do in robot combat: a youth, the old weight-loss answer of choice.
“just drill holes in it” was well-ingrained High reduction means low speed,
in my head as an easy answer to get so I went with relatively large-diameter
FEATURED THIS
MONTH Close-up of
the rear of
Grater Good.
24 BUILD REPORT:
Grater Good
26 Maximizing Strength
for Printing Combat
Robots with a Budget 3D
Printer
29 EVENT REPORT: PCT
SWORD Fall Fights 2018
24 SERVO 01/02.2019
To post comments on this article
and find any associated files
and/or downloads, go to www.
servomagazine.com/magazine/
issue/2019/01.
SERVO 01/02.2019 25
failure, I felt that a ground-up redesign
Turns out, would result in a much better robot for
Beetleweights hurt! the next event (because, if you hadn’t
guessed, I was absolutely hooked).
Every match — win or lose — was a
learning experience.
Against fellow wedge Chicken
Little, it was the importance of having
the lowest wedge. Versus shell spinner
Cracker Jack, the inadequacies of
a 24 hour set time for replacing
motors nearly knocked me out of
the tournament, despite winning the
match.
Getting knocked out by
Troubleshooter showed that strong
armor alone isn’t enough to fight
spinners. You need enough speed to
keep that armor where it needs to be.
of Gorilla glue proved unacceptable much less emphasis on drive power. Most importantly, my loss to
in the frantic 20 minute repair times The low speed of the robot Pumpkin Queen showed that making
allotted, meaning Grater Good had (thanks to its high gear reduction) also sure everything works as it should
to fight several fights with motors meant it struggled to keep pace with after a repair is essential, rather than
secured only via tape. some of its faster-moving opponents. just assuming that everything is fixed
The lesson here is clear: Design In the end, Grater Good ended the because you replaced one part that
with repairs in mind from the outset. event with two wins and two losses, broke.
The foam aircraft wheels also and was entered into the Beetleweight
had a very thin contact point, and up rumble to ensure that it would get Grater Good might have been an
against robots running thick wheels, completely destroyed and require a full ugly duckling, but every lesson learned
Grater Good had very little traction rebuild. Needless to say, Scary Thing and every improvement made gets me
and struggled to push its opponents did a pretty good job of that. one step closer to building a swan.
around — even against opponents with Although it hadn’t been a total SV
T
he rise of affordable 3D seldom fare well when matched settings, and overall design to make a
printers has made it easy against steel or titanium spinning at printed chassis as durable as possible.
for builders to come high speed. One of the most obvious places to
up with a design for an Budget 3D printers can be used start is with the printing material itself.
Insectweight bot and to print some remarkably durable Nylon is one of the toughest plastics
have the frame printed in one simple parts which can withstand the trials of printable on budget 3D printers and
operation. However, the materials robot combat, but it takes some care tends to bend and deform rather than
typically used by 3D printing hobbyists in the selection of the materials, print break when it’s hit. The downsides
26 SERVO 01/02.2019
for nylon are that it has a tendency to
warp even more than ABS and it’s not
a very stiff plastic by itself.
Nylon also absorbs water from
the air around it, which then turns
to steam when it gets heated in the
nozzle, and results in a print that is not
as strong or solid as it’s meant to be.
Because of this, nylon must be dried
with an oven or a food dehydrator and
then stored in an airtight dry container
to keep it in a usable state. Comparison of the gaps left in 3D printed material based on the layer
Nylon composite filaments with height-nozzle width ratio.
carbon fiber mixed into the plastic
are a new development, resulting in the parts to slowly cool down to room a part that has a small gap of air left
a material that is stronger, stiffer, and temperature (rigid.ink has a nice between the lines. Because the layer
less prone to warping while printing. guide on this). The result is a part that lines are often the weakest area of a
These CF-nylon filaments can create is a bit stronger than one straight out printed part, we want them as strong
some very rigid and durable parts, but of the printer. as possible.
they have a few significant downsides One of the most important things Printing thinner layers at a lower
in that they cost about 6x as much to recognize about the strength of 3D speed and at the high end of the
as a standard PLA filament and they printed parts is that they are stronger material’s temperature range allows
are quite abrasive to the print nozzle, in some directions and weaker in more heat to transfer from the
wearing out brass nozzles or requiring others; the trick is minimizing these extruder nozzle to heat the previous
a hardened steel nozzle to withstand weaknesses and making the best layer which, in turn, allows the new
the constant grinding. use of the strengths. Printed plastic layer to form a stronger bond with the
As a final word on the plastic is generally strongest in the direction previous layer.
itself, there is one more thing that you that a line is printed, while being Decreasing the layer height also
can do with your printed part to make weakest at the interface between makes the extruded lines flatter and
it stronger: annealing. layers and between adjacent lines. less round, leaving less space for air
Annealing involves placing a The first — and simplest — between adjacent lines and increasing
printed part into the oven and heating recommendation is to ensure that the contact area between layers. This
it just enough that the polymer chains your extrusion settings are properly results in better bonding.
in the plastic can relax a bit from the calibrated for the filament you’re Because of this, you want to have
stresses of uneven cooling during using. your layer height as low as possible,
printing, but not enough for the part A printed part that has every and always have the layer height
to deform. extruded line nicely touching and below 50% of the nozzle width. While
Then, after a few hours, allow bonded to the adjacent line is going to printing with a lower layer height
be much stronger than is good for layer bonding strength,
SERVO 01/02.2019 27
infill options that are now available.
While making a 3D printed
bot that can stand up to blows
from opponents can be challenging
enough, trying to print a bot with a
spinning weapon can make it equally
challenging to withstand the force of
your own weapon.
For printing holes that will be
seeing impact loads (for example,
holes supporting a weapon axle or
motor), the orientation of the part in
the printer matters a LOT. If the hole
is printed horizontally, it gets all of
the weaknesses of the multiple layer
lines to concentrate the stresses and
increase the likelihood of breaking.
If the same part is printed with the
hole pointing up, it’s much stronger
due to being able to have solid lines of
plastic surrounding the hole and more
evenly distributing the forces.
Another complementary strategy
for strongly supporting your weapon
axle is to add a bushing to support it
instead of simply relying on the plastic
Mostly Harmless is my 3D printed Beetleweight bot made using the frame alone, spreading the force of
principles laid out in this guide. impacts out over a larger area and
decreasing the likelihood of ripping
higher layer height is good for tensile between infill percentage and strength your own weapon off.
strength in the direction of the is not linear. The same idea can be applied
extruded lines. Increasing the infill on a part from defensively by including armor to take
These two factors wind up 25% to 50% will give you just a 25% the worst of an impact and spreading
working against each other, and the increase in strength, and increasing it out over your 3D printed frame.
simplest way to find a happy medium from 50% to 75% will only add 10% My 3D printed Beetleweight bot,
for strength is to go to a larger to the strength of the part. Mostly Harmless, has a strip of UHMW
diameter nozzle. Rather than increasing infill, what armor that wraps around the back
While it isn’t the best for fine tends to give more strength to a part of the bot because that is where the
details, a larger nozzle diameter allows is increasing the number of outer frame is most likely to suffer a direct
you to print at a higher layer height walls that are printed with each layer. strike from an opponent.
while still maintaining a low height- If your design has large areas that By just putting a little extra
width ratio. This helps maximize the would require infill, a good option to consideration into your process for
strength in both directions. increase the strength could be to add designing and printing your parts,
A larger nozzle also reduces the strategically placed pockets or trusses. you can print bots that are more than
risk of having the nozzle clog which By combining these two capable of withstanding the trials
can be a more common occurrence techniques, you can wind up with of combat, even with a budget level
when printing with composite designs that have solid trusses that are printer. SV
filaments. both more durable and lighter than a
A common misconception solid part with infill.
about 3D printing is that in order to Where you still do need infill,
increase the strength of a printed plain old rectangular and triangular
part, you simply need to increase the infill patterns tend to be the strongest
infill percentage, but the relationship choice instead of some of the fancier
28 SERVO 01/02.2019
EVENT REPORT:
PCT SWORD Fall
Fights 2018 By Nate Franklin
N
ovember 17, 2018 spinners, Cenobite and Kit-E-Cat who Team Already Broke the top three
marked another Insect started off their tournament runs spots in the Antweight class.
event at the Pennsylvania with ease. They eventually met in the Twenty-seven Beetleweights
College of Technology. third round, where horizontal spinner fought in a two-stage tournament. The
The Student Wildcats of Kit-E-Cat managed to beat the current first stage consisted of three rounds
Robot Design (SWORD) club hosted Bot Blast champion, sending it to the of three-way rumbles. The winner of
the event with president Stanley loser’s bracket. each rumble got three points, plus one
Bohenek at the helm. Forty robots Meanwhile, ForkLift managed bonus point per knockout, as well as
from the school and as far away as to flip its way into the semi-finals by the other bots receiving a single point
Indiana competed in the Antweight beating Fragment, Scarry Larry, and for showing up. The top 12 bots would
and Beetleweight classes. FireArrow. Despite losing in round one, then advance to a single-elimination
Like previous SWORD events, the the fast wedge Rainbow Kitty won knock-out tournament, which would
bots fought in Kyle Singer’s 8x8 arena four straight fights with great driving end in a three-way rumble to decide
that featured a single push-out hazard. in the loser’s bracket in order to meet the top three spots.
Singer served as the box loader and teammate ForkLift, who was beaten by The Beetleweight event featured
handled safety checks, while Bohenek their other teammate, Kit-E-Cat. many competitive bots, like club
handled running the brackets, judging, ForkLift managed
and announcing. to stack Rainbow
Thirteen Antweights fought in a Kitty against the wall,
double-elimination bracket, featuring advancing to the final.
wedges, spinners, and lifters alike. The Kit-E-Cat had no trouble
competition began with heavy hitting taking the final, giving
SERVO 01/02.2019 29
Shrapnel.
Scrappy.
Ryan
Farabaugh
with
SpiderBot.
30 SERVO 01/02.2019
Photos by Ken Franklin.
PBP3
was the first to fall after losing its U2 Programmer
weapon assembly and suffering from PBP3 Compiler
drive issues. Thunder Child tanked hit Prototyping Boards
PICBASIC PRO™ Compiler Experimenter Boards
after hit from Scrappy but refused to www.melabs.com
give up, even after getting thrown into Contact us at info@melabs.com
SERVO 01/02.2019 31
A Quick
Experimenter’s
Guide to
Servomotors
By Bill Donofrio
If
you’ve ever taken one apart, you’ll find it
to consist of a gear motor, potentiometer,
and control electronics. Figure 1 is an
example of a home-built servomotor
without the electronics. As you can
see, the motor is connected to the
potentiometer through a series of gears.
Small DC motors run very fast, but have very little
32 SERVO 01/02.2019
A Quick Experimenter’s Guide to Servomotors
ACTUONIX . COM
SERVO 01/02.2019 33
A Quick Experimenter’s Guide to Servomotors
If you
add an arm to
potentiometer
P1, you can make
a rudimentary
joystick that can
manually control
a robot arm very
effectively. Since
there aren’t any
mechanical stops
and the gear ratio
can be optimized
for any application,
movement from
0 to 360 degrees
is possible. Most
toy servomotors
have mechanical
stops at 0 and 180
degrees to prevent
damage to the
gears.
If you build
Figure 2. this circuit and
are sure that
your wiring is
correct but find
the circuit doesn’t
work properly,
reverse the plus
and minus leads
on the servomotor
potentiometer or
motor leads. This
circuit is polarity
sensitive.
The motor
potentiometer
and the motor
must run in the
correct direction
relative to the input
potentiometer. If it
configuration which provides a bit of slop, or a deadband doesn’t, the voltage drop across the potentiometer may go
around the null point. Near the null point, both comparators up when it should go down or vice versa. The comparator
stay low in a specified voltage range, preventing the motor will receive the wrong information and the circuit will work
from oscillating. incorrectly, causing the motor to slam the potentiometer
R2, R3, and P1 provide the window. R3 can be into the extreme left or right position.
anywhere between 150-330 ohms and is somewhat
dependent on your application. By decreasing the value,
you will decrease the size of the window and stiffen the
Building the PWM Infrared Transmitter
motor’s reaction time, though too low a value can cause it While this simple circuit is useful, you can go one step
to oscillate. farther and control your servomotor with a pulse width
34 SERVO 01/02.2019
A Quick Experimenter’s Guide to Servomotors
modulated (PWM)
signal; refer to
Figure 3. For a
standard hobby
servomotor, a 1.5
ms signal with
a period of 20
ms moves the
servomotor to the
center position,
while a 1 ms
signal moves it
90 degrees from
center, and a 2.0
ms signal moves it
90 degrees from
center in the other
direction. With a
1 to 2 ms signal,
0-180 degrees of
movement can be
achieved.
The transmitter
operates by
modulating a
PWM signal with
a 38 kHz carrier. This signal is then Figure 3.
demodulated by the infrared receiver
module mentioned later in this
article.
I used a 555 timer to generate
the PWM signal. To do this, the
charge and discharge times need
to be designed independent of
each other. This is made possible by
the 1N914 diode. With the diode
in parallel with the 100K resistor,
capacitor C4 can only be charged
through the 3.3K resistor/5K
potentiometer combination.
By varying the resistance of the
potentiometer, the length of the
pulse can be varied from 1 to 2 ms.
Since C4 can only be discharged
through the 100K resistor, the off
time is fixed at approximately 18
ms. By varying the value of C4 from
.3 µF to .4 µF you can control the
rotation of the servomotor from 90
to 180 degrees.
The output of the PWM is
then fed to the 2N3904 transistor
and modulated by the other 555
timer configured as an astable
SERVO 01/02.2019 35
A Quick Experimenter’s Guide to Servomotors
Scope
pattern
showing the
conversion
of PWM
signal to Ramp generated at C1
linear ramp.
36 SERVO 01/02.2019
A Quick Experimenter’s Guide to Servomotors
Building the
Infrared
Receiver
The receiver
circuit consists
of an infrared
receiver module
that amplifies
and demodulates
the transmitted
signal, and a
PWM to voltage
converter
that feeds the Figure 5:
servomotor Sample and hold
comparator circuit.
circuit.
Most any
IR receiver
module will
work; I’ve used
discarded TV,
VCR, and even
IR helicopter
modules as long as they can receive a 38 kHz carrier and a to a linear ramp as shown in Figure 4.
continuous signal. A low pulse from the IR receiver to pin 13 of the 4066
You may also have noticed I used Ni-MH rechargeable Quad Bilateral switch forces it to open, allowing .1 µF
batteries to run these circuits instead of alkaline. Alkaline capacitor to charge through the 680K resistor, producing a
versions have a higher operating voltage which might linear ramp.
damage the IR receiver module. The longer the pulse, the longer the .1 µF capacitor will
For clarity, I broke up the circuits into parts. After the IR charge through the 680K resistor and the higher the voltage
receiver module demodulates the PWM signal, it’s converted across the capacitor. This will continue until the pulse goes
SERVO 01/02.2019 37
A Quick Experimenter’s Guide to Servomotors
high, discharging the capacitor. varies proportionally with the width to the PWM input.
A non-inverting amplifier with a gain of 20 amplifies The conditioned signal is then fed into the servo circuit as
the ramping voltage to a useful level. To convert the ramp described back in Figure 3.
to steady DC voltage, the peak voltage must be stored for For such a simple circuit (Figure 6), it performed
a short period of time. A ramping voltage would cause the admirably when tested next to a commercial unit. The
circuit to oscillate. mechanical aspects of the servomotor were tough and
To do this, a simple sample and hold circuit was used as reliable.
shown in Figure 5. I hope this article serves you well. SV
A sample and hold circuit is used to catch a brief input
voltage and store it until the next sample cycle. The circuit
consists of a high impedance op-amp and a CMOS switch. To post comments on this article and find any associated
When the switch closes, the capacitor rapidly charges to a files and/or downloads, go to www.servomagazine.com/
new voltage. magazine/issue/2019/01.
Opening the switch captures this voltage and the high
impedance of the op-amp keeps this voltage from decaying
during 18 to 19 ms between pulses.
To remove the slight spike caused during the charging
of C3, capacitor C4 was placed at the output of the op-
amp. This produced a relatively smooth DC output that
38 SERVO 01/02.2019
New Products Continued from page 15
modes based on the actual motor current, providing higher active channels and the sampling rate.
efficiency and smoother steps at high speed than you get This is possible due to an embedded 2 Gb memory that
with traditional timing-based mixed decay. buffers the captured signals before sending to the attached
Two carrier boards are available for each driver chip: a PC. Powerful trigger options are provided including: edge
larger module that provides access to all of the integrated trigger; logic change on one or various channels; trigger
circuit’s pins so you can test all the features it offers; and on timed logic signals sequence; trigger on protocol word
a compact carrier in the popular 16-pin 0.6” x 0.8” Pololu or event (e.g., serial word or I2C address acknowledge);
form factor, which makes it easy to use the new drivers on external trigger input; etc. The SP2 series makes it easy to
RAMPS-type 3D printer controllers that have the compatible analyze CMOS logic signals and industrial busses. The series
sockets. consists of two devices: the SP209 ($399) is the standard
Both the TB67S249FTG and TB67S279FTG have the edition; and the SP209i ($519) is an industrial version with
same wide operating voltage range of 10V to 47V, and on specialized receivers for most common industrial busses like
the compact carrier boards, they can respectively deliver RS-485, RS-232, or CAN.
continuous currents up to 1.7A and 1.2A per phase (4.5A The Trigger-in and Trigger-out SMA connectors allow
and 2A peak) without additional cooling. users to synchronize the SP209 to other lab equipment,
The maximum current is slightly higher on the larger building highly sophisticated test setups. The Spartan
carriers because of the better heat dissipation due to the 6 FPGA design provides the processing power required
increased board size. The drivers feature a built-in regulator and can easily be firmware-updated. The SP2 series logic
so no external logic voltage supply is needed, and they can analyzers use the supplied ScanaStudio software (Windows,
interface directly with 3.3V and 5V systems. Mac, and Linux) to capture, display, analyze, and decode
The compact carriers have single-piece pricing signals. Most industry standard protocols can be decoded,
starting at $9.95 for the TB67S249FTG and $7.75 for the including: SPI, I2C, USART, 1-Wire, CAN, LIN, RS-232, RS-485,
TB67S279FTG, and they are available with or without header TWI, and more.
pins soldered. The larger full breakout versions are $11.95 The software allows users to capture very long
and $9.75 each in single-unit quantities. sequences of logic signals (up to 2 Tera samples), or view
For further information, contact: decoded signals in various levels of abstraction (packets
or detailed bits and bytes). It also enables targeting very
Pololu specific events due to the versatile multi-stage trigger
www.pololu.com system.
The SP2 series logic analyzers compress and stream
Ultra-Compact Logic Analyzers captured signals via USB 2.0 to an attached Windows, Linux,
SERVO 01/02.2019 39
Hands-
Free Robot
Control
By Jim Newman
Ever since I first saw the Leap Motion hand tracking controller,
I’ve been fascinated by the potential of what can be done with this
amazing device. Leap Motion has not only developed a device that
can track your hands, but through their software, they can tell you
every characteristic about your hands. With great accuracy, they
can tell you every aspect of your left, right, or both hands; they can
tell you the pitch, roll, and yaw of the palm of your hand; they can
tell you how many fingers you have extended, along with the length
and direction of each segment of each finger on each hand (including
your thumb). With this device and its accompanying software, you
can use your hands as input devices to control any aspect that is
controllable through your computer. The potential of this device is
limitless!
With this in mind, I wanted to start with a simple device that can
be controlled with just hand gestures. I’m doing this both to become
more familiar with the use of the Leap Motion controller along with
its software, and to just have some fun. What I came up with is the
software that allows you to control a SparkFun RedBot robot with
just your hands in free space.
40 SERVO 01/02.2019
Figure 1 - Leap Motion controller.
T
control.
he RedBot robot is a basic platform
that has two wheels where each
one is driven independently, along
with a third pivot point. So, in
order to control this robot, you’ll
need throttle control for forward
and reverse along with directional
control for straight, left, or right.
I decided to use a single hand to
control the device with the pitch
of the palm to control the throttle and roll for directional
Microsoft
Windows 10
I guess that I should
start with the basics. All
development was done using
Windows 10. It should be
SERVO 01/02.2019 43
https://visualstudio.
microsoft.com/vs/
community. Once you’ve
downloaded the installer,
you’ll need to execute it to
install Visual Studio on your
system.
git
You first need to
install git. git is required
in order to clone the
various repositories that
are required to build the
firmware for the RedBot
and to build the application
program. To help you out,
Figure 5 - Leap Motion go to https://git-scm.com
control panel. for links to everything that
you’ll need to get going.
I’m a big fan of
configuration management,
so I consider learning
git to be very important
in anyone’s growth as a
software engineer.
1(:39-U
roll = get_roll(vector);
roll *= GAIN * (float)0.5;
// calculate values for left and right
// motors
int32_t left_motor = (int32_t)(pitch -
roll);
int32_t right_motor = (int32_t)(-1.f *
(pitch + roll));
0LQL&LUFXLW%RDUG+ROGHU
sprintf(str, “%8d %8d\r\n”, left_motor,
right_motor);
WriteFile(uart,str,(DWORD)strlen(str)
}
,&num_written,NULL); '(6,*1('
}
}
)25 29(5
} //ctrl-c to exit
7+(('*(
This just scratches the surface of what you can do with
the Leap Motion controller. The library not only provides &20321(17
%2$5'6
data about the palm of your hand, it can also tell you about
each finger, such as length and direction of each segment
and for both left and right hands. The possibilities are Model
endless. 220
Conclusion Innovative H
Holding
olldi
o din
ngg SSolutions
olutio
olutiio
ut ons
n
Intuition Robotics has been working on its ElliQ “proactive social robot for older
adults” for only a few years. The company — founded in 2016 — has managed
to secure funding from Toyota AI Ventures, Samsung, and iRobot, among others.
For nearly a year, Intuition has been beta testing ElliQ in the homes of people
aged 62-97 in the San Francisco Bay area, and things have apparently gone well
enough that they’ve decided the robot’s ready to go on sale.
ElliQ can be pre-ordered for $1,500 and should ship this summer. To bribe
potential buyers, pre-orders include $600 worth of waived subscription fees,
which are normally between $35 to $50 per month, “depending on the tier of
service chosen by the customer.”
Generally, the subscription covers “unlimited access to a library of
curated content, software updates, phone support, and wellness monitoring features in the
accompanying app.”
48 SERVO 01/02.2019
To Order Visit www.servomagazine.com
or call 1-800-783-4624
Some Of Our Most Popular Books On Robotics
Arduino Robot Robot Building Robot Programmer’s The Ultimate Guide
Bonanza for Dummies Bonanza To DIY Animatronics
SERVO 01/02.2019 49
Using a Servo with
the TS-7180 SBC
By Michael Peters
Embedded Systems Software Engineer
50 SERVO 01/02.2019
Servos are a ubiquitous and versatile part of
everyday electronic gadgetry. From unlocking
doors to controlling a robot’s movements,
nearly anywhere a “computer” needs motion
you will probably find a servo. Servo control is
an important trick in any embedded systems
software engineer’s or robot builder’s
repertoire.
T
he TS-7180 SBC (single-board computer) from hobby servo like the one in the included photos.
Technologic Systems (www.embeddedarm.com) In this article, we’ll explore just two types of servo; both
makes a conveniently apt servo controller. However, of them fall fairly readily into the familiar “hobby servo”
there are some caveats that might surprise the category.
uninitiated.
Software Setup
With the wiring completed, it’s time
to set up some prerequisites. For the
curious, you may have already checked
the OFF-BD-5V signal and found it isn’t
outputting anything! That’s actually okay.
That signal is designed for intrinsic safety,
which means it starts out OFF. So, there
are two main registers we need to set up
54 SERVO 01/02.2019
What this means is the PWM on DIO 1 is LOW on 100% That should center the servo. From this point, you can
duty cycle! Instead of giving the duty-cycle time in 1-2 ms vary the duty cycle between ~20500000 and ~22400000 to
with a ~20 ms gap, the duty cycle must be expressed in find the true center and full effective sweep of the servo.
terms of 22.5 ms because the servo will be expecting a For the C-savvy programmer, each of the above echo
high-time of ~1-2 ms. (Again, with some variation. I suggest targets are file handles and can be opened in your program
giving an extra 0.5 ms gap to ensure any potential jitter for manipulation with a simple write() call.
stays out of your 20 ms minimum low time.)
The math to choose your full period therefore is:
Wrap-Up
period = 20 ms + maximum sweep in ms Whether building a balancing robot, keeping a toddler
out of daddy’s special stash, or designing the next great
One servo we tested actually had 0.6 ms to 2.4 ms full braking system for your soap box racer, servos are an
sweep. So, in the case of this project, my full PWM period essential component in any hobbyist’s or engineer’s toolbox.
is 22.5 ms. Try this to center the servo (pulse width set to With a little luck and a bit of exploration, hopefully this
about 1.5 ms): article has helped add a servo control trick or two to your
embedded systems repertoire. SV
echo 0 > /sys/class/pwm/pwmchip4/export
echo 22500000 > /sys/class/pwm/pwmchip4/pwm0/
period echo 21500000 > /sys/class/pwm/pwmchip4/ To post comments on this article and find any associated
pwm0/duty_cycle echo 1 > /sys/class/pwm/pwmchip4/ files and/or downloads, go to www.servomagazine.com/
pwm0/enable magazine/issue/2019/01.
www.embeddedARM.com
TS-7180
Single Board Computer
SERVO 01/02.2019 55
By Scott Supeck
56 SERVO 01/02.2019
Fun with
Subroutines
Let’s face it, when it comes to designing
and building a cool microcontroller
project, coding is rarely on top of the
“fun part” list. This article introduces
the coding concept of subroutines
to programmers and makers looking
for creative ways of dealing with
programming their microcontrollers.
It’s a very useful techniqueW for servo
control, animation, or any program that
requires multiple actions to be called
upon at various times within the loop.
M
ost of my Arduino sketches involve real time control of outputs like
servos, sound FX, and relays. I usually accomplish this using either
remote control “model airplane” style controllers or variable resistance
joysticks like repurposed video game controllers. Those sketches
involve pretty straightforward “if-then” type programming.
I recently finished an animatronic project where a different
functionality was desired: a self- running program that — while still
a loop — gave the appearance of random actions. It was during the
programming process that I really began to take advantage of the
subroutine.
SERVO 01/02.2019 57
I
n computer programming, a be repeated in the loop. In this case, that would be anything
subroutine is a sequence of program from a head turn to a wing flap or eye blink.
instructions that performs a specific These subroutines are then called one by one by
task, packaged as a unit. This unit can the loop with any necessary delays or other directions in
then be used in programs wherever between to form a complete show. My subroutines for the
that particular task should be bird project were used mostly to control servo movements,
performed. although some just controlled LEDs.
Subroutines may be defined
The Idea
positions for each. The letter/number combination under
each arrow refers to the name of the subroutine that moves
the bird’s head over that distance/position. The numbers
The idea was not to control it like a puppet, but to in between are the degree used by the servo to hold that
have the robot mimic lifelike motions on its own when position.
activated. There are two key programming
techniques that allow this action: random
delays and subroutines.
In the Arduino programming
language — as in C++ — a subroutine
is just another function. Because the
function does not have any return
information, it’s known as a void function.
The syntax for a void function is:
void routinename () {
action to be taken Figure 1. Head
}
movement
These pieces of code are then called chart.
to action by the loop function. The
concept is simple: Write a bit of code that
creates a portion of the program that will
58 SERVO 01/02.2019
So, for instance, if the head is turned to the left 20 I ended up writing 17 different
degrees, it would be at the 110 degree position (90 being routines: eight for the head turns;
straight on). To write a turn to the right 20 degrees from two for wing flaps; two for wing
there, the subroutine would read: extension; four for steam pipe valve/
whistle SFX; and one for eye blink.
void headright2(){ In the process of writing these
for (pos = 110; pos > 90; pos -=1) { subroutines, I found it very useful to
headservo.write(pos); create a completely different sketch
delay (5); for testing their timing and positions.
} This test sketch was completely identical to the one I
would use for the final code except that the loop was blank.
These subroutines live in the sketch right below the This allowed me to put in just one routine (the one I was
main loop. They are written as little bits of code and listed working on at the time) followed by a delay.
in no particular order, waiting to be called by the main loop. When I loaded and ran the test code, the loop would
They become the building blocks of the loop and when used run a particular routine over and over while I would stop,
in conjunction with random delays in between, can give the tweak the routine, and retest until I was happy with the
appearance of random actions — which is exactly what I was results. Once all of the subroutines were tested and adjusted
after for my robot bird’s performance. this way, I was ready to program the show!
Animatronic
Steampunk Bird
on hand for my one-off projects and this build enough outputs for this project. The process of
was no exception. Coat hangers, plumbing programming was made simpler with the use
parts, old fabric belts, and even a ball point of subroutines.
pen tube all made their way into this one. The main article goes into what those are,
I used an Arduino Pro Mini to program how I used them, and how you can implement
the animation and eyes. I used the Mini them to free yourself up a little when
because it’s cheap, small, and had more that programming your own creative projects.
60 SERVO 01/02.2019
Monocle is
3D printed
with hot
melt glue
for lens.
SERVO 01/02.2019 61
Assembling
the painted
body parts.
Scott Supeck is an
artist and maker from
Clermont, FL. When he’s
not maintaining the world
class attractions at the
Walt Disney World Resort,
he is busy in his home
shop creating projects
that combine his many
interests.
Proto board used for mounting and wiring Arduino and sound module.
62 SERVO 01/02.2019
To post comments on this article and find any associated files and/or downloads, go to
www.servomagazine.com/magazine/issue/2019/01.
The Show
I thought. At times, I found myself
acting out the movements and
analyzing the order and timing of my
The show consists of a loop that calls the subroutine performance to translate to the loop.
actions in some order with delays in between each action. It was a lot of fun, but what
Think of it as the storyboard of actions used to create a made it so enjoyable was the fact
realistic performance for the animatronic. that I could focus on the performance
I had been looking forward to this part of the because the work of programming the
process. After all the designing, building, painting, and actions had been done. Be sure and
troubleshooting, it was going to be very rewarding to sit check out my code in the article downloads.
down with the finished robot bird and make it come alive. Think of subroutines as a helpful tool to free up your
That process — it turns out — required almost as much trial programs; to allow creativity without getting bogged down
and error as the rest of the project up till this point. in the technical aspects of programming servos. That’s the
Putting the subroutines together in a way that was fun real advantage of the subroutine.
and entertaining to watch was more of a challenge than Happy programming! SV
SERVO 01/02.2019 63
Reach Out and
Build Robots
By Bryce and Evan Woolley
R
robots play a large role in all of our lives.
egardless of their increasing ubiquity, the They can entail different sets of tools, hardware, and
world of robotics often seems opaque and techniques, and there’s often limited compatibility between
intimidating to the uninitiated. Fortunately, the parts. So, what if it didn’t have to be that way? What if
a profusion of great robotics kits exists out the cool new kit on the block could work just as well with
there, and now there’s a new breed of the previous generation you’ve grown to love?
kit aimed at makers of all stripes — from We picked up some new linear motion kits from
FIRST competitors to animatronics artists to ServoCity to find out. These products promise a robust
cosplayers. The broad focus and accessibility of a particular solution to linear motion with lead screws and racks and
kit is expressed in the name of the system itself: goBILDA. pinions — exactly the kind of tasks one might use the FTC-
All that’s missing to go build a robot (or anything else) is legal goBILDA system for.
you. How easy would it be to make a cool mechanism from
At first glance, the kit is similar in general appearance scratch? What’s the longest reach we could give a VEX
to the Actobotics kits that we’ve grown to know and love robot? Could this all work just as well with goBILDA as it
through projects like our can crusher (March 2018 issue) and does with Actobotics? The only way to find out was to start
mini tank, Nominal Damages (April 2016 issue). Our comfort building.
and facility with Actobotics highlights one of the challenges
of launching a new robotics system: switching kits can be a
pain.
goBILDA Robot
The basis of the goBILDA
system is a metric hole pattern, so
meticulously designed around 4 mm
holes and spacing multiples of four
that when you look closely, a sort
of divine pattern emerges. It’s so
elegant it would feel right at home
as the centerpiece of a mystery in a
Dan Brown novel.
The basic 4 mm mounting
holes sit on an 8 mm grid. A 14 mm
bearing hole occupies the center of
the grip — the veritable sun of this
organized constellation. Finally, all
the holes encircling the bearing hole
are slotted to allow for adjustability
64 SERVO 01/02.2019
Twin brothers hack whatever’s put in front of them,
then tell you about it. Twin Tweaks
and to allow mounting at a 45 degree angle
from the grid.
That grid pattern is regularly repeated
over all the structural channels of the
goBILDA system, and is also found on gears,
clamps, bearing blocks, and pretty much
everything you would want to attach to the
structural bones of your project.
The goal with this kind of setup is to take
the guesswork out of structural design. No
matter what kind of mechanism you want
to make, there will pretty much always be
an easy way to connect things together. No
more meticulous sketching and measuring
things with calipers; all of the mounting
points you could possibly need are already
there.
goBILDA is so much more than just a
clever hole pattern on structural bits. It’s a
full-on robotics system complete with motors,
servos, motor controllers, batteries, and all
sorts of specialized mechanical systems to
help bring all your wildest designs to life. Assembling the dual perpendicular gear rack kit.
The recommended motor controllers are
the two-channel Roboclaws from Basicmicro,
which come in a variety of flavors ranging mechanisms: linear motion. We’ve worked with various
from one to two channel and from 7.5A to 60A continuous linear motion solutions, from VEX rack and pinion kits (all
duty. The system even includes sprockets and chain and the way back in the September 2007 issue) to the Mighty
linear motion systems. Zap linear actuators (October 2017 issue). Those solutions
The whole system feels like a real professional grade, are fine for what they target (like a torquey plug and play
high quality robotics system — so much more than a simple solution with the Mighty Zaps), but we’ve yet to see a kit
kit for students and the like. that jives with our recent affinity for very large scale robots
If you’re a fan of kits like Actobotics (as we very much and provides a huge range of motion.
are), the foregoing might make you a bit trepidatious. If the That’s where the Actobotics gear rack kit and linear
heart of the goBILDA system is an 8 mm grid and 4 mm actuator kit come in. Both products promise a surprisingly
hole pattern, wouldn’t that not play nicely with Actobotics large range of motion: almost 20” of total travel from the
and its 0.77” hole pattern on its structural components? gear rack kit, and a 7.4” stroke length on the linear actuator.
Fortunately, the Actobotics system includes various First up for assembly was the 785 gear rack kit. One
pattern adapters that allow you to fasten the goBILDA parts thing we like about the Actobotics kits is the absence of
to the Actobotics parts. They look
like innocuous hubs and are only 3
mm thick, so they won’t add a lot
of clunkiness to your Frankensteined
designs — which is good news for
our plans to incorporate Actobotics
mechanisms into future goBILDA
projects.
SERVO 01/02.2019 71
Large Robots Over
the Years
Large and small robots have been around for decades, but it’s usually the larger
robots that capture the attention and imagination of the public. Largeness is
sometimes equated with power and the ability to accomplish a monumental task.
Long before computers and modern control systems were available outside the
laboratory environment, robot experimenters were turning to systems such as
hydraulic cylinders that could exert many thousands of pounds of force and
yet have a very small form factor. The downside of hydraulic power is that the
cylinders needed very high-pressure hydraulic fluid that required leaky hoses
from an external pump system. Equivalent electric motors were larger for the
same power output but didn’t require leaky liquid.
The General Electric The operator sat in a booth at the located nearby and the compressed
top of the machine as seen in Figure fluid was supplied via hoses to
Walking Truck 2 and controlled the robot’s motions the robot. As with many hydraulic
Back in the mid ‘60s, I remember via hand- and foot-operated hydraulic machines, this robot leaked a lot of
my awe as I watched a news segment valves. The hydraulic pump was fluid — like 50 gallons an hour.
about an amazing robot Today’s large
built by General Electric excavators are operated
for the US Army. At the in a similar fashion with
time, it was referred to an operator that sits in a
as a “walking truck” or cab and operates hydraulic
a “cybernetic walking foot and hand valves to
machine.” swing the machine’s arm
The Army had long around a horizontal plane
realized that travel over to position the shovel, and
uneven terrain could not other joysticks and controls
always be accomplished to manipulate the shovel
by wheeled vehicles, so GE to scoop dirt and move it
won an Army contract to to a pile or into a waiting
develop a walking truck. An truck. Back in those days,
early concept is shown in hydraulic valves were not as
Figure 1. smooth and required lots of
It was designed by force for actuation.
Ralph Mosher and was The walking truck’s
built to assist infantry operator could only control
personnel in transporting the robot for short periods
materials over rough terrain. of time due to the complex
Weighing in at over 3,000 and forceful series of
pounds, the hydraulically- motions required to move
operated robot could walk the many pedals and hand
at speeds up to 5 MPH. Figure 1. GE’s quadruped walking truck. controls.
72 SERVO 01/02.2019
Then NOW
and
Advances in robots and robotics over the years.
By Tom Carroll
TWCarroll@aol.com
Figure 2.
Ralph
Mosher’s
walking
truck in
action.
Figure 4.
Boston
Dynamics’
BigDog.
SERVO 01/02.2019 73
“There were four reasons When I first saw a
to build a 3D machine video, I was amazed at its
with only one leg. First, walking ability but taken
it’s simpler to study back with the sound of
balance on a machine the whining two-cycle
with one leg because it gas engine that drives
eliminates the difficult the hydraulic system and
task of coupling the a generator for electrical
behavior of several legs. power. It sounded like
Second, it forces one to a weed-whacker and I
focus on balance because assumed that enemy
a one-legged system has troops might hear it
no other way to stand coming from a mile
up. Third, the behavior away. Military personnel
and control of a one- wondered about the
legged device could be same thing.
used as the cornerstone
for each leg of multi-
legged systems. Fourth, a
Figure 6. Parts diagram of the BigDog robot.
Robot Power
one-legged system has the minimum military certainly realize that the need Systems
equipment. Less equipment means is ongoing for carrying supplies and Let’s step aside now on the
less construction time, less down time ammunition across difficult terrain discussion of the BigDog and look
due to mechanical failure, and more during warfare. at what is required to power large
reliable operation.” robots. Boston Dynamics chose a
“Experiments with the 3D One-Leg gas engine since its power density
Hopper showed that balance can be BigDog is quite high compared with typical
achieved with a simple control system. Let’s get back to BigDog that electric motors and chemical batteries.
The control system has three separate made its debut back in 2005. The Modern brushless electric motors and
parts: one controlling forward running robot was financed in part by NASA rare earth magnet fields are quite
speed; one controlling body attitude; JPL, Foster-Miller, and Harvard powerful for their size and weight,
and one controlling hopping height. University. I’m sure that most of you but even lithium-ion batteries don’t
The 3D One-Leg Hopper hopped in readers were just blown away when have the power density for a large
place, travelled at a specified rate, you saw the first YouTube and news robot traversing rough terrain for many
followed simple paths, and maintained videos of this amazing robot military miles.
balance when disturbed. Top recorded pack mule (refer back to Figure 4) and Elon Musk proved to the world
running speed was 2.2 m/sec (4.8 hopefully you’ve been enlightened a that an all-electric automobile could
MPH). The 3D control algorithms were bit. However, let’s take a closer look travel several hundred miles on a single
generalizations of those used earlier in at this robot. When I first saw the charge, but applying that technology
2D, with little additional complication.” initial BigDog robot in photos and and power longevity in difficult
especially in videos, it reminded me of battlefield conditions is another story.
I’ve elaborated on Raibert’s early two skinny sumo wrestlers facing each I do believe that electric robots with
experiments because they formed the other, arms locked together, with a high power density batteries is on the
basis from which most walking robots cover sheltering the tops of both their near horizon, however.
have developed stability. Obviously, a bodies.
single-legged robot cannot ‘walk’ and The robot is just under three feet
must hop, but the sensor technology tall and weighs about 240 pounds. The LS3: Legged
that he and his team used is applied Powered by a gasoline engine driving Squad Support
today — over three decades later. Low a hydraulic pump which, in turn,
cost accelerometers, gyros, and other drives each of the 16 joint’s hydraulic Systems Robot
motion sensors have become available cylinders, it can carry 45 kg or about At the end of 2009, DARPA and
to all robot experimenters, and this 100 pounds of payload up a 35 degree the US Marine Corps gave Boston
has allowed many mobile robots (even slope at up to 6 MPH. The photo Dynamics a contract to develop ‘a
wheeled ones) to traverse all types of in Figure 6 shows the parts of the legged robot which could function
terrain. The different branches of the BigDog. autonomously as a packhorse for
74 SERVO 01/02.2019
a squad of soldiers or
Marines.’ Like BigDog (its
quadruped predecessor),
the LS3 was ruggedized
for military use, with
the ability to operate
in hot, cold, wet, and
dirty environments. This
new robot followed
on the development of
BigDog to ‘Go where
dismounts go, do what
dismounts do, work
among dismounts, carry
400 pounds (180 kg) of
squad equipment, sense
and negotiate terrain,
maneuver nimbly, and
operate quietly when
required.’
In the old days, when
a mounted soldier got off
his horse, he was called
a ‘dismount;’ basically a
foot soldier. The LS3 is
shown in Figure 7. Figure 7. Boston Dynamics’ LS3 evolutionary robot.
Figure 8. ATLAS: the agile
The LS3 is 1.7 meters
anthropomorphic robot.
tall, weighs 590 kg, carries a payload Agile Anthropomorphic Robot shown
of 182 kg, and can travel 32 km on in Figure 8 that was being provided as
a 24 hour mission. Also powered by government furnished equipment for
a gasoline or diesel engine, it uses each of the DARPA Robotics Challenge
hydraulic actuation, has 12 leg joints, program Track B teams.
and sophisticated LIDAR and intelligent It was an upgraded modification
stereo camera vision to follow a of BD’s PETMAN. This robot was
human leader through rough terrain. developed to test suits worn during
This newer robot could travel over hazardous chemical spills. It balanced
rough rocky terrain at 1-3 MPH, easily itself and moved freely — walking,
transition to a 5 MPH trot, and go flat bending, and doing a variety of suit-
out at 7 MPH on a level surface. stressing movements during exposure
At the end of 2015, the Marines to chemical warfare agents. Its
placed LS3 into storage as it had too ‘offspring,’ Atlas was one of the better
many limitations and the loud noise DRC competitors, but still tripped and
factor was not acceptable in a wartime fell with the best of them.
scenario. Shortly after the DRC
competitions, Boston Dynamics
completed the development of a new
Atlas Atlas (shown in Figure 9) that was a
Back in the early DARPA Robotics major improvement over the original.
Challenge (DRC) days, few robots Shorter at about five feet, it was also
were able to accomplish the required much lighter at 165 pounds and much
tasks in the disaster scenarios. In more agile than its larger brethren.
August 2012, DARPA worked with Battery powered with hydraulic
Boston Dynamics with a $10.9 million actuation, it had 28 joints and stereo
contract to develop the ATLAS: the computer vision with an additional Figure 9. Boston Dynamics’ new Atlas.
SERVO 01/02.2019 75
LIDAR system. on Earth with a cable
In all the videos hanging from a pulley
that I saw of this robot, on the end of a long
it was so much more boom.
able to traverse uneven After aero-
terrain that would be braking with the heat
found at a disaster site. shield and parachute
It might have won the deployment of the
earlier DRC competition spacecraft that slows
hands down (or should the descent from 1
I say claws down) if it km per second to 100
had been available. meters per second, the
parachute is jettisoned
and the craft goes into
Rovers to a powered descent
Mars mode with the firing
Let’s switch now of four solid rocket
from the battlefield Figure 10. NASA’s Curiosity. motors for the last two
to deep space. Many kilometers.
of us have followed The ‘scary part’
the travels of the occurred at about
huge Martian robot 20 meters from the
rover, NASA’s Curiosity surface as the sky crane
(shown in Figure 10) method deployed the
since it landed on the lander from the craft
red planet back in and the four firing
2012. The size and motors lowered the
weight of a small car, rover to the surface.
it has traveled over 10 Upon landing, the rover
miles on the dusty soil severed the cables
many millions of miles and the sky crane/
from Earth. It was so spacecraft shell flew
large that it couldn’t be away to the side to
landed on the surface crash.
of the planet in the way Curiosity was
that all the previous immediately ready for
rovers had been. action and began her
After entering mission. I remember
the thin Martian atmosphere and That’s okay for a tiny 23 pound that hot August night as I was
using a heat shield to slow down as Sojourner rover in 1996, or even the watching Curiosity’s landing at a bit
they closed in on the surface, large much larger 408 pound Spirit and after 8:00 at night when the word
balloon ‘airbag’ clusters containing Opportunity rovers that both landed came on the NASA feed, “She’s down
the previous three landers deployed on Mars in January of 2004. Curiosity and safe.”
and inflated just prior to landing. that landed on Mars in 2012, however, The Curiosity rover has an RTG
These huge balloon clusters landed was almost a ton in weight at 1,982 (radioisotope thermoelectric generator)
like beach balls and slowly deflated pounds and could not be landed via that converts the 2,000 watts of heat
after bouncing a bit, uncovering the an inflatable balloon cluster. Another emitted by the decay of the 4.8 kg
contained landed rovers. ‘Petals’ approach was needed. of plutonium-238 dioxide at its heart
protectively surrounding the rover Realizing that Curiosity couldn’t to produce 125W of electric power.
inside the balloon opened and pushed be landed via an inflatable balloon Excess heat is piped to sensitive areas
away the deflated balloons, serving cluster, NASA-JPL decided to use a ‘sky that need warmth during cold Martian
as a flat surface for the rover to cross crane’ shown operating in an artist’s nights. That big $1.8 billion nuclear-
the balloon’s deflated edges and alight depiction in Figure 11. Of course, this powered robot is still trudging across
upon the surface of Mars. is unlike any crane that you might see the alien soil, gathering very valuable
76 SERVO 01/02.2019
Figure 12. Evolution of the Mars rovers
with Earth people for scale. disabled and could no longer move
or charge itself, Opportunity is still
Mars 2020 Rover
information about the makeup of operating and had traveled over 28 With the success of the Mars
Mars. miles as of June 10, 2018. Mockups Science Laboratory and Curiosity,
Even though Spirit finally became of the Sojourner, Spirit/Opportunity, NASA is looking forward to 2020 and
and Curiosity are shown together in an improved rover. NASA informed
Figure 12 with two humans for size Congress that it would use the same
comparison. form and size of the initial Curiosity
SERVO 01/02.2019 77
to save money as it had many of the mission (an artist’s concept is shown payloads based on scientific objectives
spare parts and could use a proven in Figure 13) will look for signs of past set a year earlier. However, as always,
design with newer array science life, cache rock samples, and prepare the mission is contingent on receiving
experiments. The Mars 2020 rover’s the way for human exploration. adequate funding. The exact mission
NASA JPL details will be determined by the
will manage mission’s Science Definition Team.
the mission. There are distinct differences
The payload in the two rovers. The six wheels
and science are quite a bit different since
instruments Curiosity’s wheels have suffered some
for the mission considerable damage from striking
were selected pointed rocks bound tightly into
in July 2014 compact soil.
after an open The original tests on Earth used
competition similar rocks lying in loose sand that
for science were pushed down, so designers
didn’t anticipate sharp points striking
the surface of the wheels. Engineers
Figure 14. changed the design to give the one-
NASA’s
Spidernaut. ton vehicle’s wheels a tougher surface
to withstand striking any sharp objects
on the ground.
You can see that the ChemCam
structure is different, as is the front
section of payload instruments. The
rocker-bogie wheel assembly seems
similar, though. The rover mission and
launch is estimated to cost about $2.1
billion, unlike its predecessor that cost
$2.5 billion back in 2012. Using the
spare parts will make the new rover
somewhat more affordable. Curiosity’s
engineering team is also involved in
the new rover’s design.
NASA Spidernaut
NASA has long looked at ways to
assist astronauts in space missions —
especially where extravehicular activity
is required. Exposure to the vacuum,
extreme temperature variations, and
other hazards of space can kill a
human.
It’s always best to limit having
astronauts being directly exposed
to space. A great alternative to
accomplishing physical activities
outside the safe environment of a
spacecraft or space station is to use
robots for the necessary tasks.
Back around 2006, I had heard
of a unique project sponsored by
NASA to build a Spidernaut robot to
78 SERVO 01/02.2019
assist astronauts in various space
tasks and to handle payloads and
similar functions (Figure 14). The
project had piqued my interest as I
had earlier headed a design team at
Rockwell to develop a similar robot
for NASA.
A NASA article best described
Figure 15. Northrop-Grumman mobile transporter railway system on the space station.
the work that Purdue University
and General Motors did as “Robotic
space research steps into the Rockwell’s
new age of exploration at Purdue
University with Spidernaut.”
Mobile Remote
Their design goal was to Manipulator System
develop a 600 pound “arachnid-
like Spidernaut that will be able to As I mentioned earlier, I had
assist astronauts with planetary the pleasure of working on a
construction and maintenance.” similar robot platform project to
Planetary space exploration assist astronauts in space. The
with the use of robotics normally system our group developed
means treads or wheels. utilized a platform to which the
Purdue researchers felt that Canadarm was attached, also
the spider configuration on the known as the Shuttle Remote
Spidernaut could create a mobility Manipulator System (SRMS). It
platform where the load of the was built by Spar Aerospace, then
system was constantly and equally based in Toronto.
distributed. It was the pride of Canadian
The reason why this was of aerospace as the red maple leaf
great importance to not only the was so visible in all the televised
researchers creating Spidernaut shuttle missions where the 50 foot
but eventually the astronauts up in long robot arm deftly handled so
space, revolved around usurping many payloads and spacecraft. It
as much of a weight load as was a natural choice for Rockwell
possible while in a non-gravitational to use for our space station bid.
environment. The many space station
Purdue had developed such a Figure 16. Space station MRMS robot crawler. configurations all used similar
robot and this project was “leaping structural beam systems to which
forward and going where no robot has a human down to the ground with were attached different modules and
ever gone before.” restricted mobility and counter- the large rotating solar panels for
weight balancing issues. Not so with station power needs.
“Spidernaut is a large robot the Spidernaut. The robot could Our team developed a mobile
designed to service spacecraft in the distribute weight evenly over its eight transporter (Figure 15) for the mobile
planetary environment. The sense legs to avoid damaging the skin of remote manipulator system (MRMS);
of the meaning of this research into the spacecraft or for scurrying across I’m holding a mockup model of it in
robots and man in outer space is not delicate solar panels. Purdue was even Figure 16 that used the Canadarm
a new concept. For decades, we have looking into a “web” deployment for the main manipulative tasks and
been tantalized with robots working system for the robot, in which case, a platform that climbed about the
right along astronauts in deep space. there would not only be one or two outsides of all the structural beams to
Purdue took the visuals of trashcan-like Spidies up in space, but a host of reach all parts of the space station.
robots tweeting and chirping about in these high tech robots.” I wanted to minimize structural
space to the second highest level.” additions to the space station, so
“Spidernaut was no lightweight, There remains a single working our Rockwell design used doorknob-
weighing in at an impressive 600 prototype of Spidernaut at Houston sized pins at major nodes of the
pounds. All that weight would pin JSC. structure rather than a railway system.
SERVO 01/02.2019 79
An artist’s concept in Figure 17
shows the MRMS at the left of the
photo traversing the space station’s
structure carrying an astronaut at
the end of the Canadarm.
Carrying the Canadarm with
an attached payload, the fore and
aft sections of the 45 foot long
platform moved successively in
and out, grasping on the attached
nodes at all corners of the structure
as if it were climbing a ladder.
It would slide along on two ‘C’
shaped hollow rails that enclosed
the pins and could turn corners and
directions when needed on other
faces of the structure. I still have
that mockup shown in the photo.
The present mobile transporter
built by Northrop-Grumman weighs
almost a ton and was delivered to
the space station in 2002. It uses a
rail system and the new Canadarm 2
robot arm.
Figure 17. Space station MRMS robot (at left) traversing nodes with an astronaut payload.
Large Home Built
Figure 18. Owens’ big robot in the frosty Alaskan woods.
Robot in Alaska
Let’s get back down to earth,
and as an interesting
aside, briefly discuss a very
large robot built in Alaska
— a state noted for big
mountains and other large
things. The Juneau Empire
newspaper reported back in
2005 that Wasilla resident,
Carlos Owens Jr. “has taken
it upon himself to construct
80 SERVO 01/02.2019
an 18 foot high motorized killing offering 46 possible movements. building a large robot. They really
machine with the capability of firing “Chillingly, Owens says of his creation: don’t cost that much more than
nine inch nails from its hydraulically- “I’m 110 percent positive this will smaller creations and there is a certain
powered shoulders and is further work. Failure is not an option. I have enjoyment that many people receive
armed with flamethrowers.” The no choice but to do this. If I don’t do from standing next to their large
photos in Figure 18 show the creation it, I will explode.” automaton that is close to their own
with Carlos standing in his robot. size or bigger.
Not too many of us have a beautiful Yes, some of the larger robots can
backdrop of snow-covered pines in our Final Thoughts cost in the billions, but I don’t think
workshops as he does in. Every so often, I enjoy writing that I will get another opportunity to
As the apprentice (at the time) about large robots — a style I have design a robot for space. However, I’m
ironworker, Owens put it: “You’ve got always loved building since I was quite sure one of you might have that
to have flame-throwers.” a child. If you recall from previous chance. Go for it! SV
Owens had been working on his columns, I was first inspired by
“Mecha” since 2001 and had spent another kid who built a robot named
$20k on the project by 2005. The gas- Gismo and had a write-up in Boys Life To post comments on this article and find
any associated files and/or downloads, go
engine-driven cybernetic exoskeleton Magazine.
to www.servomagazine.com/magazine/
is controlled from within by Owens I always encourage readers and issue/2019/01.
himself via 23 hydraulic cylinders listeners who attend my talks to try
Real Time Streaming from Devices Initial State uses AWS infrastructure and enterprise-
SERVO 01/02.2019 81
GearBox setting your ideas into
MOTION
Use Small Mechanical
Components from
SDP/SI
START CREATING!
www.sdp-si.com 516-328-3300
82 SERVO 01/02.2019
Jrk G2
Motor Controller
with Feedback
Maestro Servo
Controller
Simple Motor
Controller G2
Tic Stepper
Motor Controller
CO N T R O L I N T E R FAC E S
Analog Rotary
USB TTL serial I2C voltage RC encoder Scripting
Jrk G2 Motor Controllers
with Feedback