g i n e e r i n g
En
Since 1983, Hitec has designed,
developed and manufactured servo
technologies that push the boundaries of
imagination and innovation. Consider, for
example, our EMI-shielded case, giant
scale duo: the HS-1005SGT, with its
specially-handmade cored motor and
steel gears or our HS-1100WP, with robust
torque and an IP-67 waterproof rating.
Their unrivaled reliability, strength and
durability deliver expert performance for
your most challenging and demanding
industrial and commercial applications.
HS-1005SGT
Amplier Type High Response Digital MOSFET
Motor Type 5 Pole Cored Carbon Brush
Operating Voltage Range 11.1 ~ 14.8 Volts DC
HS-1100WP
No Load Speed Range 0.19 - 0.26 Sec @ 60
Operating Voltage Range 11.1 ~ 14.8 Volts DC
84.0 - 110.0 kg-cm
Peak Torque Range No Load Speed Range 0.19 - 0.26 Sec @ 60
1166 - 1528 oz-in
RCD USA, Inc. | 12115 Paine St. | Poway, CA 92064 | [858] 748-6948 | www.hitecrcd.com
24 Bots in Brief
Swarms Folding Departments
Push-ups? No Sweat!
This Buds for Otto 06 Mind/Iron 26 Showcase
3D Printing: Too Good? 45 RoboLinks
22 New Products 52 SERVO Webstore
27 MaxRoboTech Comics 23 Events Calendar
Remote Controlled Robotics 65 Advertisers Index
SERVO Magazine (ISSN 1546-0592/CDN Pub Agree#40702530) is published monthly for $26.95 per year by T & L Publications, Inc., 430 Princeland Court, Corona, CA 92879.
PERIODICALS POSTAGE PAID AT CORONA, CA AND AT ADDITIONAL ENTRY MAILING OFFICES. POSTMASTER: Send address changes to SERVO Magazine, P.O. Box
15277, North Hollywood, CA 91615 or Station A, P.O. Box 54, Windsor ON N9A 6J5; cpcreturns@servomagazine.com
4 SERVO 12.2016
TOC - Dec 16_TOC SV Mar 15.qxd 11/1/2016 6:59 PM Page 5
PAGE 46
PAGE 34
SERVO 12.2016 5
Bergeron - Mind-Iron - Dec 16_Mind-Iron - Feb15.qxd 11/1/2016 6:59 PM Page 6
ERVO
FOR THE
Mind / Iron
by Bryan Bergeron, Editor
ROBOT
INNOVATOR
Published Monthly By
T & L Publications, Inc.
430 Princeland Ct., Corona, CA 92879-1300
(951) 371-8497
3D Printing: Too Good? FAX (951) 371-3052
Webstore Only 1-800-783-4624
www.servomagazine.com
ince purchasing my first 3D substance that can create the
S printer nearly a decade ago, Ive
contributed several hundred pounds
equivalent of disposable plastic
plates, cups, and eating utensils,
Subscriptions
Toll Free 1-877-525-2539
Outside US 1-818-487-4545
of ABS and PLA plastic to landfills. with the caveat that the plates, cups, P.O. Box 15277, N. Hollywood, CA 91615
Sure, its great to crank out and spoons can be recycled by the PUBLISHER
prototypes of parts that Ill printer. Ideally, you could simply Larry Lemieux
eventually send out to be fabricated stuff the printed plastic objects into publisher@servomagazine.com
in metal or solid ABS, but Ive found your printers input port akin to ASSOCIATE PUBLISHER/
the practice leads to a lot of wasted the reactor in Back to the Future. ADVERTISING SALES
plastic. Imperfectly printed plastic Sure, there have been shredders Robin Lemieux
robin@servomagazine.com
parts dont lend themselves to and solvent-based systems developed
repurposing. Plus, its easy to amass for repurposing plastic, but none of EDITOR
Bryan Bergeron
a collection of empty filament spools these technologies have proven techedit-servo@yahoo.com
unless you purchase plastic filament simple and economical enough for
VP of OPERATIONS
in bulk rolls. widespread adoption. Vern Graner
The root of the problem is that Whatever the technology, the vern@servomagazine.com
3D printing is simply too good in recycling like the 3D printing
that the printed prototypes outlive should be local and under direct CONTRIBUTING EDITORS
Tom Carroll Kevin Berry
their usefulness. Most of my 3D user control. So, what will it take to R. Steven Rainwater Michael Simpson
printed plastic prototypes serve their get to this 3D nirvana? I think that Steve Koci John Leeman
purpose for perhaps five minutes. the first step is to stop focusing Bryce Woolley Evan Woolley
However, ABS plastic and even so- solely on the quality and speed of Jeff Eckert Jenn Eckert
called biodegradable polylactic acid 3D printing, and look at the William Henning Joseph Kugelmass
John Blankenship Mike Jeffries
(PLA) will probably survive decades recycling possibilities. We should also Earl Pancoast
in the environment. focus on printing classes of objects
PLA can potentially biodegrade that might be normally considered CIRCULATION DEPARTMENT
in as little as two or three months, disposable subscribe@servomagazine.com
but thats only under ideal Sure, there are valid reasons to WEBSTORE MARKETING
conditions, including exposure to use a 3D printer. The technology COVER GRAPHICS
lots of sunlight. When buried in a saves time, money, and ultimately Brian Kirkpatrick
sales@servomagazine.com
landfill, widgets printed with PLA (at least in theory) provides a higher
can last as long as those made of quality final product. With a 3D WEBSTORE MANAGER/
PRODUCTION
ABS plastic. printer and a good grasp of 3D Sean Lemieux
As an analogy, I recall when PCs drawing software, you can go sean@servomagazine.com
first appeared on the marketplace. places. With a little effort and ADMINISTRATIVE STAFF
These early computers were built like investment, you can do so without Re Gandara
tanks, with thick metal construction, leaving a huge footprint. SV Copyright 2016 by
ample RFI shielding, and huge power T & L Publications, Inc.
supplies. In short, they were built to All Rights Reserved
All advertising is subject to publishers approval.
last decades. Who knew Moores We are not responsible for mistakes, misprints,
Law would reduce the half-life for a or typographical errors. SERVO Magazine assumes
PC to only a year or two? no responsibility for the availability or condition of
These same PCs are now either advertised items or for the honesty of the
advertiser. The publisher makes no claims for the
in computer museums or a landfill. legality of any item advertised in SERVO. This is the
Manufacturers eventually learned to sole responsibility of the advertiser. Advertisers and
use lightweight plastics and cost- their agencies agree to indemnify and protect the
saving designs that led to virtually publisher from any and all claims, action, or expense
arising from advertising placed in SERVO. Please send
disposable computing platforms. all editorial correspondence, UPS, overnight mail,
What the world needs is an and artwork to: 430 Princeland Court, Corona,
affordable 3D printer that extrudes a CA 92879.
6 SERVO 12.2016
Eckert - Robytes - Dec 16_Robytes - Sep 15.qxd 11/1/2016 5:55 PM Page 7
Robytes
by Jeff and Jenn Eckert
Patching Pinholes with SPIDERs
Enthusiasm for lighter-than-air vehicles was highly
diminished by that little oops with the Hindenburg in
1937, and crashes of other commercial and military
blimps up through the 1940s contributed to the decline
of airship travel. However, a long-predicted resurgence
seems to be in the works in the form of Lockheed
Martins LMH-1: a scaled-up version of its P-791
technology demonstrator. The LMH-1 will carry 19
passengers and 20,000 kg of cargo over distances up to
2,500 km with a cruise speed of 60 knots. (For some of
us, that means 22 tons, 1,500 miles, and 69 MPH.) The
LMH-1 is actually a hybrid airship, meaning that it uses a
combination of lighter-than-air and heavier-than-air SPIDER robots crawl the surface of a Lockheed Martin
technology to generate lift. airship, patching pinholes.
It was recently announced that the companys exclusive
airship reseller, Hybrid Enterprises (hybridhe.com) has and the 91 m (300 ft) long vehicle has about 80,000
closed a $480 million contract to build a dozen of them for square feet of envelope, it takes human beings about 10
Straightline Aviation (www.straightlineaviation.com), so days to inspect one. Instead, Lockheed has developed Self-
now Lockheed has to actually build them. One of the Propelled Instruments for Damage Evaluation and Repair
challenges is to make sure the envelope (i.e., the skin that (SPIDERs) to do the job. Five or six of the maintenance bots
covers the tri-lobed hull) is free of pinholes that would allow can locate the holes and apply patches in roughly half the
the helium to leak out. time. SPIDERs will be used for both manufacturing and
Because the pinholes are very small and hard to locate, maintenance chores.
SERVO 12.2016 7
Eckert - Robytes - Dec 16_Robytes - Sep 15.qxd 11/1/2016 5:55 PM Page 8
8 SERVO 12.2016
Eckert - Robytes - Dec 16_Robytes - Sep 15.qxd 11/1/2016 5:56 PM Page 9
Bovine Backscratcher
Last and probably least, we have Luna from dairy farm equipment purveyor,
Lely (www.lelyna.com). Apparently, cows have very itchy backs, and that
condition makes them
extremely unhappy.
Unhappy cows
produce less milk, so
this is a problem.
Fortunately, the Luna
robotic backscratcher
saves the day.
All a critter has to
do is walk under it,
and the large roller
brush starts spinning
on demand, taking
her to moo-cow
nirvana.
According to the
company, The Luna is
hugely popular with
cows. This brush is
MAKE YOUR MACHINE
MOVE
great against the Bessie enjoys a good robotic backscratch.
itching (useful if you
have no hands!). Additionally, the ladies are elegant looking after using it.
Too bad they dont offer a human version. SV
MICRO LINEAR
Personal CNC Mills
ACTUATORS
for RC devices
Shown below is an articulated humanoid
Shown here with
optional stand robot leg, built by researchers at the
and accessories.
Drexel Autonomous System Lab (DASL)
with a Tormach PCNC 1100 milling
10mm-200mm sstroke
troke
www.tormach.com/servo
SERVO 12.2016 9
Simpson - CNC - Tuning - Dec 16_Blank Rough SV.qxd 11/1/2016 5:47 PM Page 10
KReduCNC
and/or downloads at
www.servomagazine.com/index.
php/magazine/article/December
2016_Build-CNC_Tuning-Break-In.
Y Carriage Tuning
Start the Y carriage tuning process by moving the Y
carriage shown in Figure 1 back and forth several times.
Move it back to the center, and using a Phillips screwdriver
and 3/8 wrench, tighten the two screws (Figure 2) Figure 2
holding the Y drive nut in place. Tighten all the screws
securing the carriage to the bearing trucks. Once tightened,
move the carriage back and forth a few more times to
Figure 1
Figure 3
10 SERVO 12.2016
Simpson - CNC - Tuning - Dec 16_Blank Rough SV.qxd 11/1/2016 5:47 PM Page 11
Figure 5
Figure 4
Figure 7
Figure 6
Figure 9
Figure 10
Z Carriage Tuning
Move the Z carriage shown in Figure
9 up and down several times. Move it to
the top, and using a Phillips screwdriver
and 3/8 wrench, tighten the two screws
(Figure 10) holding the Z drive nut in
place. Tighten all the screws securing the
carriage to the bearing trucks. Once
tightened, move the carriage up and down
a few more times to make sure it does not
bind. Tighten all the screws on the Z motor
mount and run the Z carriage up and
Figure 13 down one more time. If it binds, loosen
the screws and repeat the process.
Figure 12
Break-in
Its time to run some G-code and put your machine
through its paces. This will break-in the machine and show
any failure points before you add more components to it. I
do this procedure to all my CNC machines. From the
smallest CNC router to the largest CNC plasma, they all are
broken in this way. Before starting, you need to set the
machines home position. This is done by placing the X, Y,
and Z in predetermined positions and zeroing out each axis
in Mach3.
Zero X
To zero the X axis, jog (move) the X carriage all the
12 SERVO 12.2016
Simpson - CNC - Tuning - Dec 16_Blank Rough SV.qxd 11/1/2016 5:47 PM Page 13
Figure 17
Figure 14
Figure 16
Figure 15
Zero Y
To zero the Y axis, jog the Y carriage all the way to the
rear until it is near the rear shaft supports (but again not
touching) as shown in Figure 13. Hit the Zero Y button
shown in Figure 14. The Y axis is now zeroed.
Zero Z
To zero the Z axis, jog the Z carriage all the way to the
bottom until it is near the lower shaft supports (but not
way to the left until it is near the left shaft supports but touching) as shown in Figure 15. Hit the Zero Z button
not touching as shown in Figure 11. Hit the Zero X shown in Figure 16. Your machine is now set to position
button shown in Figure 12. This effectively sets the X axis 0,0,0 and should
look like what you
Figure 19 see in Figure 17.
It is important
Figure 18 that you understand
how to zero your
machine, as this is a
common practice
before running any
job. A set of
homing switches
can make this task
as easy as hitting a
button. There are
also times when you
will set the machine
up on the corner or
SERVO 12.2016 13
Simpson - CNC - Tuning - Dec 16_Blank Rough SV.qxd 11/1/2016 5:48 PM Page 14
FREE
you stop the program by hitting the
stop button.
Let this program run for a couple
of hours. If your machine is losing
steps, eventually one of the axis will
PCB Layout Software & start banging against something. If
PCB Schematic Software this happens, stop the program, and
go back to the appropriate tuning
section and repeat the process.
If everything seems okay, you can
stop the program and load the G-
code file labeled KReduCNC fasttest
10x8.txt and run it. This program
runs about four times faster. Let it
run for a couple of hours as well.
Important!
When running the tests, make
sure the wires going to the stepper
motors are clear to move without
rubbing. The X and Y axis motors are
stationary, so they dont present
much of an issue. The Z axis,
3 PCBs 3 PCBs 3 PCBs however, is another matter. It will
$
41 $
61 $
81
have a tendency to rub against the
+ shipping + shipping + shipping upper frame brace. Over time, you
could rub the insulation off the wire.
2-layer 2-layer 4-layer There are a couple ways to
MiniBoard MiniBoardPro MiniBoardPro prevent this from happening. You
(Shipped in 1 business day) (Shipped in 2 business days) (Shipped in 3 business days)
can support the wires from
overhead, or you can put some sort
of sleeve over the wire. Split loom
tubing works well for this and is
1 DOWNLOAD our free CAD software available at most home centers in the
Now Offering electrical section.
2 DESIGN your 2 or 4-layer PCB
DIY Animatronics
Puppeteering Animatronic
Characters By Steve Koci
The ultimate compliment you can pay an animatronic character creator is to say that
you at least temporarily believed his creation was alive! We strive to incorporate the
lifelike movements that simulate a living and breathing creature. The suspension of
disbelief is a necessary factor. It allows us to establish an environment where our
audience is able to immerse themselves completely in our scene. With the advancement
and accessibility of technology to the garage builder, we continue to narrow the gap
that separates us from the professional prop shops. As we near the uncanny valley,
care will need to be taken that our creations do not cross the line of causing our
audience to become uncomfortable in the presence of our creations. Unless, of course,
that is your intention!
Choices, Choices, Choices axis servo movements required for an animated talking
head I was working on. I found that the systems efficiency
Constructing the mechanical assemblies which allow could be greatly enhanced by adding a supplemental
our characters to move is a big part of the design process. software program available from MonkeyBasic. Their
However, without the requisite control required to move TrackSkull program allows you to utilize a joystick or TrackIR
them in our desired sequences, they are simply an headset to help record the necessary head movements (see
interesting collection of nuts, bolts, and structural Resources). One major drawback of using VSA was that it
components. This complimentary side of the design required you to keep your computer connected to your
equation is just as important in order to bring our ideas to character in order to play back your show. Brookshire
fruition. Software has created the RAPU controller to eliminate this
There are a variety of methods available to control our need, but it lists for $329.95 which puts it out of my price
creations which allow them to replay our scripted range especially considering the number of controllers my
performances. I will primarily focus on the system we display would require.
currently use when we design a scene which includes at least If you are willing to do live puppeteering of your
one animated character. However, I will also cover a few of performance, you can utilize an RC transmitter and receiver
the alternate choices that you may want to check out. to deliver your commands to the servos (see Resources).
We have explored many systems in our quest to find While I do use this method for several characters (see the
the proper method to suit our needs. When I first started September 2015 and September 2016 issues of SERVO
designing animated characters, I hard coded all the Magazine), this is much too cumbersome a method to
movements. Although this did command the mechanisms employ for such a complicated scene as this. It would take
to move from point to point, the movements were anything several puppeteers to control all the mechanisms this scene
but smooth and lifelike. The process was also extremely entails. While that may be fine for Hollywood, it will not
time-consuming as each movement had to be individually work for me!
programmed. I never was happy with the robotic feel my We have found that for our purposes, the most
characters portrayed using this method. advantageous method is to employ a system that allows us
After doing some research, I discovered the Virtual to puppeteer our characters and record the session for later
Show Animation (VSA) program from Brookshire Software. playback. In order to accomplish this, we use the Propeller
I took the leap and purchased it and started examining its Activity Board (PAB) from Parallax (see Resources) which
many features. I began by attempting to program the three- utilizes custom software.
16 SERVO 12.2016
Koci - Animatronics - Dec 16_Steve Koci Animatronics #1 Parrot.qxd 11/1/2016 5:18 PM Page 17
DIY Animatronics
Post comments on this section and find any associated files and/or downloads at
www.servomagazine.com/index.php/magazine/article/December2016_Animatronics_Puppeteering-Characters.
DIY Animatronics
Figure 2. The
booster circuit
makes it work.
DIY Animatronics
This setup was already responsible for triggering my Papa system is also responsible for directing the 16 RGBW (red,
Voodoo character (see the October 2014 issue of SERVO), green, blue, and white) LED floodlights used in the
and we decided to synchronize this scene with it. In this cemetery scene, as well as the six lights for the witch and
way, we could be assured that both scenes would never be skeleton scene. Incandescent bulbs are used for the witch
running at the same time. scene as they fade in and out well. These were installed in
We wanted our audience to be able to focus on each inexpensive clamp lights which provide convenient
display without the distraction of the other scene being mounting options. The six scene lighting features consist of
active. I use the free software program, Vixen (see the witchs body, skeleton body, cauldron, spell book,
Resources) to run my show. It packs plenty of firepower lightning bolts, and finally one for the cat.
and does everything I need it to do. Plus, the price is The triggering for the scene is accomplished using an
certainly right! AC relay which triggers all four boards simultaneously. The
In order to cut down on wiring, we needed to add an timing for each board is so accurate that they operate in
additional controller to the system. By doing so, we could perfect harmony!
connect the auxiliary box with a single Cat6 cable next to When the scene is in idle mode, the witchs head will
the scene and run all the new scenes components from still be calmly moving and scanning the guests. Nothing too
there (see Figure 5). For this, I used a DIY board: the dramatic, but we do want her to look alive as she searches
Renard SS16 (see Resources). I was first introduced to for new victims!
these controllers by the Christmas lighting crowd and have
been very pleased with their easy construction, Making It All Move with AMS
documentation, and reliability.
In addition to triggering the two primary scenes, this In order to smoothly and easily program our routines,
34
PICAXE Code for Switch 35 'symbol xxx = C.0 ' Serial Out - Do not use
36 symbol new_out = C.1 ' Converted Output On or
01 ' Program: PWM to On-Off1.bas ' Off
02 37 'symbol xxx = C.2 ' Spare
03 ' Status: Good 38 symbol PWM_Input = C.3 ' PWM signal to be
04 '
05 ' Description: Program to convert an standard ' converted INPUT ONLY
' servo PWM command to an on/off state. It is 39 'symbol xxx = C.4 ' Spare INPUT or OUTPUT
' to be used when 40 'symbol xxx - C.5 ' Serial In - Do not use
06 ' servo commands are the only available output 41
' and need to be converted to a simple 42
07 ' on or off state (e.g.,relay control). Standard 43 symbol pulse_read = w2 ' Variable to read pulse
' PWM range is 500ms to 2500ms with an update ' counts in 10us
08 ' period of ~20ms to 40ms (50Hz to 25Hz). ' increments
09 ' 44
10 ' Ouput PICAXE port will be as follows based on 45
' PWM input: 46
11 ' 500 ms to 1500ms input pulse = OFF (logical 0 47 '---------- Initialize -------------------------
' 0r 0VDC) 48 init:
12 ' 1501ms to 2500ms input pulse = ON (Logical 1 49 low new_out 'Initialize output pin to low (or
' or 5VDC) 'OFF)
13 ' 50
14 ' Employs the Pulsin command that measures pulse
' widths in 10 us increments. 51 '---------- Main Code --------------------------
15 ' If no pulse is detected within a 0.635 seconds 52
' period, it will output a "0". 53 main:
16 ' This would imply the code logic would set the 54
' ouput port to OFF (logical 0 or 0VDC). 55 pulsin PWM_Input,1,pulse_read
17 ' ' record the length of a pulse on C.3
18 ' Runs on 08M2 project board using 3 AA ' into w2 in 10us increments (or counts)
' batteries; Default 4 MHz clock 56 ' for example 500us = 50 counts, 1500us
' = 150 counts, 2500us - 250 counts
19 ' Servopos (75 to 225)is the expanded range of 57
' typical servo motor 58 if pulse_read > 150 then
20 ' 'If pulse that was read is bigger than
21 ' '150 counts (or 1500us) then set output pin
22 ' Author: Brian Lincoln 'high
23 ' Date: 6/6/16 Original 59 high new_out
24 60 else
25 ' Updates:
26 ' 6/6/16 BTL Original Code 61 low new_out 'If pulse that was read is smaller
27 'than 150 counts (or 1500us) then
28 ' 'set output pin low
29 62 endif 'Note: If pulse is not detected at all,
30 ' 'it will record a "0" which defaults to
31 'this "OFF" state.
32 '---------- Declarations ----------------------- 63
33 #Picaxe 08M2 ' Default PICAXE 08m2+ running at 64
' 4 MHz 65 goto main ' loop back to start
SERVO 12.2016 19
Koci - Animatronics - Dec 16_Steve Koci Animatronics #1 Parrot.qxd 11/1/2016 5:36 PM Page 20
DIY Animatronics
different setup
in order to get
the most
realistic motions
possible. You
Figure 6. can see from
Body AMS the pictures that
for shoulders each of the
and elbows.
designs is very
specialized and
relates as closely
as possible to
Figure 8. Skeleton the actual
AMS for the arms
and legs. movements of
each
component.
We have discussed
designing a complete
body unit that you wear
which would allow you to
Brian constructed three separate articulated move your body in
models with sensors (AMS for short). These exactly the way that you
combined multiple potentiometers will transfer want the character to
our desired motions into commands for the PABs respond.
through the four A/D and D/A converters. This system would
These convert the sensed signal to digital provide the ultimate in
data that is then processed by the C code in the precision control, but the
Propeller chip, and stored on the SD card for actual unit is still on the
later playback on the servo ports. For reference, drawing board.
the code for the player is servo recorder playback
60B beta1.C. Completing
There is one AMS for the witchs body, a
separate unit for programming the heads, and a
Figure 7. AMS
for the three- the Wiring
third for the skeletons body (see Figure 6, axis head
movements.
and Labeling
Figure 7, and Figure 8). Each feature requires a Once all the
the ME Labs Tutorial and Trainer Board
Learn to write code and program PIC microcon- Special Price of $149.99
Use Coupon Code SM1216 at checkout
trollers with one of the most complete program-
Valid only until January 31, 2017
ming tutorials available! (Retail price $189.99 )
Learn the fundamental concepts of programming, Academic and bulk pricing available
binary manipulation, device-to-device communica-
tion, user interface design, in-circuit debugging, and
more!
If youve dabbled with other languages and want
to fully learn the extensive capabilities of PBP in a
wide range of applications, this is for you!
14 Lessons use a building-block approach with www.melabs.com
Check out our other popular products for PIC developers
topic. including:
U2 Programmer
PBP3
PICBASIC PRO Compiler
PICBASIC PRO is a trademark of Microchip Technology Inc. in the USA and other countries.
PIC is a registered trademark of Microchip Technology Inc. in the USA and other countries.
PBP 3.0 Compiler
Prototyping Boards
Experimenter Boards
Contact us at info@melabs.com or go to www.melabs.com
20 SERVO 12.2016
Koci - Animatronics - Dec 16_Steve Koci Animatronics #1 Parrot.qxd 11/1/2016 5:19 PM Page 21
DIY Animatronics
Figure 10.
Tying it all
together.
Seeing the joy in our guests faces makes all the time, effort,
Figure 9. Nice and neat installation.
and expense worthwhile!
With this challenge being achieved, it is now time to
programming was completed to our satisfaction, there was start brainstorming our next project.
still the arduous task of installing all the boards in If you cannot wait until next month for your next
protective enclosures. The plastic project boxes from All animatronics fix, be sure to join in the conversation on the
Electronics (see Resources) fit the bill perfectly. They were DIY Animatronics forum at http://tinyurl.com/qjeehjs.
easily drilled for wire access, and all the cables were Check in to see what others are doing, get help, or show
attached using pigtails (when necessary) and securely off your projects.
anchored to prevent them from coming loose. May the passion to build be with you! SV
The actuator driver circuits were installed on the lid of
the project box which enabled us to combine all the
BOTKITS.COM
necessary components into one clean assembly. Chassis
mount power coax connectors were added to each of the
four boxes to ease the hookup chores (see Figure 9 and
Figure 10).
The access ports on the boxes were labeled as well as
all the cables. Since this scene will not be permanent and
needs to be broken down for storage, it is paramount that
all connections be clearly labeled to aid in speedy
reassembly.
We used separate power strips with integrated on/off
switches for the servos to reduce any extreme movements
on startup.
D2
This scene will make its debut at our Halloween parties
prior to the holiday itself. This will give us the opportunity
to work out any kinks and be ready for the big night. I COMBAT
expect a large turnout of expectant trick or treaters looking
to see what new creation we have come up with this year. I
am sure there will be plenty of excitement and maybe even
ROBOTS
a few screams! You will be able to view the scene yourself Beetleweight domination
by checking out the video on my YouTube channel (see at 2016 RoboGames!
Resources).
+ Battle-tested motors
As the complexity of our scenes continues to expand, + Spare parts
the importance of having a team of knowledgeable and + Electronics
creative builders to collaborate with becomes increasingly + Hardware
important. I am so grateful to work with individuals such as
Brian who are as passionate about this hobby as I am. + Arduino educational and R&D chassis kits
SERVO 12.2016 21
New Products - Dec 16_Mar15 - NewProd.qxd 11/1/2016 7:01 PM Page 22
NEW PRODUCTS
Multi-Chemistry Battery
Charging Unit
H itecs new X1 Nano multi-chemistry
battery charging unit is an economical
battery charging companion for all
hobbyists. Simply plug in the AC power cord
to a standard 100-240 volt outlet and you
are ready to successfully charge all popular
battery chemistries in a snap. With a charge
circuit power of 50 watts, this mini charging
unit is easy to operate, compact, and
efficient. Select your battery type and
choose from four charge current settings
with the press of a button. LED indicators
show the charge status of your battery and
make. The estimated retail price is $24.99.
Charging specifications include:
AC Input: 100-240 volts AC
Battery Type/Cell Count: LiPo, LiFe, and
LiHV: 2-4 cell; NiMH: 6-8 cell.
Charge Circuit Power: 50 watts
Selectable Charge Currents: 1, 2, 3, or 4
amps 10%
Current Drain for LiPo Balancing: 300 mA
per cell For further information, please contact:
Cell Termination Voltage
LiPo: 4.2V/LiFe: 3.6V; and LiHV: 4.35V (0.02V)
NiMH: Delta Peak Voltage Hitec www.hitecrcd.com
Net Weight: 6.6 oz (188g)
Dimensions: 2.7 x 4.3 x 1.6 in (69.4 x 110.7 x 40.5 mm)
Actuonix www.actuonix.com
Motion Devices
22 SERVO 12.2016
Rainwater - Events - Dec 16_Events - Aug 15.qxd 11/1/2016 7:14 PM Page 23
DECEMBER
EVENTS www.roboexotica.org
SERVO 12.2016 23
Bots in Brief - Dec 16_Bots in Brief Mar15.qxd 11/1/2016 7:17 PM Page 24
bots
IN BRIEF
SWARMS
FOLDING
O ne of the biggest
challenges with
swarms of robots is
manufacturing and
deploying the swarm itself.
Even if the robots are
relatively small and simple,
youre still dealing with a
whole bunch of them, and
every step in building the
robots or letting them center, sandwiched
loose is multiplied over the entire number of bots in the between layers of copper All images courtesy of
swarm. If youve got more than a few robots to handle, it Wyss Institute/Harvard.
circuits etched into polyimide
starts to get crazy. sheets, with paper substrates
The dream for swarm robotics is to be able to do away for support. The PSPS is where the magic happens.
with all of that, and just push a button and have your swarm When heated above 100C (which can be done by
somehow magically appear. Were not quite there yet, but running a 2.5 ampere current through the copper circuitry), it
getting awful close. shrinks, which is what powers the robots self-folding
Researchers from the Wyss Institute for Biologically behaviors.
Inspired Engineering at Harvard presented a paper recently Otherwise, each robot consists of some discrete
demonstrating an autonomous collective robotic swarm that electrical components that have to be placed by hand, but
can be manufactured in a single flat composite sheet. On according to co-author, Michael Tolley, We foresee
command, theyll rip themselves apart from each other, fold straightforward ways to automate these steps.
themselves up into origami structures, and head off on a Self-folding robots that use shape-memory polymers have
mission en masse. been done before, but the challenge with them is to
The sheet itself consists of six layers, which are all accurately control the folding. To address that issue, the
automatically laser machined. A pre-stretched polystyrene (or Harvard researchers came up with a clever feedback-
PSPS) layer (a kind of shape-memory polymer) is in the controlled assembly technique by using
phototransistors and infrared LEDs to precisely
measure the fold angles, greatly improving the
repeatability of self-folding, explained Tolley, who now
leads UC San Diegos Bioinspired Robotics and Design
Lab.
The final thing that sets these self-folding bots
apart is their ability to go from a single continuous
sheet to a swarm of discrete robots. Self-folding joints
that are designed to prevent folding causes the PSPS
to instead rip itself apart allowing each robot to split
off by itself, where its vibration motors can help it
buzz along flat surfaces seeking sources of light.
24 SERVO 12.2016
Bots in Brief - Dec 16_Bots in Brief Mar15.qxd 11/1/2016 7:17 PM Page 25
The Easiest
The Easiest W
Way
ay
to Design
esign Custom
Custom
Front Panels
Panels &
Enclosures
ures
s
You design it
to your specications using
our FREE CAD software,
Image courtesy of JSK Lab/University of Tokyo. Front Panel Designer
SERVO 12.2016 25
Bots in Brief - Dec 16_Bots in Brief Mar15.qxd 11/1/2016 7:17 PM Page 26
One-Stop Shop
for Mechatronic
Components
Explore | Design | Buy Online
Over 100,000
small mechanical parts
www.sdp-si.com
no minimum requirement
26 SERVO 12.2016
Gross - Robot Cartoon - Dec 16_Robot cartoon - Feb15.qxd 11/1/2016 7:21 PM Page 27
SERVO 12.2016 27
Combat Zone - Dec 16_Combat Zone - Aug 15.qxd 11/1/2016 6:04 PM Page 28
Mechanical 1/8 flat steel for the motors and sprockets and chain to transmit the
The frame is 1 square tube with bearings to bolt to. I cut it out with a power to all four wheels. It has tank
chop saw and welded with a MIG steering, so each side turned with its
welder. Steel tube was the cheapest own motor.
Featured and easiest material for me to work
with.
I used four bolt bearings (one on
each side of the steel plate) to
This Month: For the motors, I found a Jazzy
scooter in the bulk trash. They can be
support and locate the 3/4 inch keyed
shaft. The tires are on keyed rims that
$50-$100 not working; all you need fit the 3/4 inch shaft. The weapon
28 Low Money 220 are the motors. I didnt use the motor was a surplus truck tarp roller.
control box. I put a #40 sprocket on the gear
by Earl Pancoast III
You need to remove the brake motor shaft; through a chain, it is
mechanism that is actuated any time connected to a one inch shaft. The
31 EVENT REPORT: there is not power applied. The shaft is supported on four bolt flange
Robot Battles 60 at motors have a 17 millimeter shaft and bearings to make a lifter arm. I used
a metric key. I had a set of sprockets square tube and set it up like a
Dragon Con and step keys machined at a local receiver hitch so that I could change
by Mike Jeffries shop for a cost of $200. I used #40 weapons out easily depending on my
28 SERVO 12.2016
Combat Zone - Dec 16_Combat Zone - Aug 15.qxd 11/1/2016 6:04 PM Page 29
www.servomagazine.com/index.php/magazine/article/December2016_Low-Cost-Heavyweight-Robot.
SERVO 12.2016 29
Combat Zone - Dec 16_Combat Zone - Aug 15.qxd 11/1/2016 6:04 PM Page 30
30 SERVO 12.2016
Combat Zone - Dec 16_Combat Zone - Aug 15.qxd 11/1/2016 6:05 PM Page 31
www.servomagazine.com/index.php/magazine/article/December2016_Robot-Battles-Dragon-Con.
Slicer,
Klazo,
Reptar,
and
Minion
Green
Reaper
SERVO 12.2016 31
Combat Zone - Dec 16_Combat Zone - Aug 15.qxd 11/1/2016 6:05 PM Page 32
In the finals, Black Adder sucked in one of the latex traction designed as a pusher) having a good
dominated early on, sending Noodles rings on Noodles wheels, stalling the deal of success shoving Black Adder
bouncing around the box but not weapon. around. The fight went the full three
doing much damage. Near the middle The remainder of the fight was a minutes and the judges rendered a
of the fight, Black Adders weapon shoving match with Noodles (being split decision for Noodles.
Wizzlfuts
Micro Nightmare
Kitbot and Shazbot
Wedgee
Doomba
The
Hammer VF
Noodles DK Jr Flippy
32 SERVO 12.2016
Combat Zone - Dec 16_Combat Zone - Aug 15.qxd 11/1/2016 6:05 PM Page 33
In the 3 lb rumble, DK Jr, Mobile Puck out-muscled Aluminum Box, and MikeReauxbot with a dead motor on
Chernobyl, Too Big To Flail, Black Dingleframus sent Liftlord off the a chain; and Styx did its best
Adder, Flippy, and Fodder v1.5 stage. impression of a battering ram against
survived to the finish. In the finals, Wheres The Puck Stick a Fork In It.
The 12 lb and 30 lb portion of overpowered Dingleframus taking the In the semi-finals, Nyx suplexed
Robot Battles 60 featured 33 entries 12 lb championship. Sabretooth off the stage and Styx out-
across the two classes. Two 12 lb rumbles took place wedged Product Placement.
The top eight 12 lb bots were: with Furbot winning the first and In the finals, Nyx kept Styx off
Wheres The Puck, Atomic Wedgie, Liftlord winning the second. balance and took the 30 lb
Aluminum Box, Busted 2.0, The top eight 30 lb bots were: championship.
Dingleframus, Furbot, Liftlord, and T- Sabretooth, Pinocchio, Nyx, Pusheen, Two 30 lb rumbles took place
Boner. Product Placement, MikeReauxbot, with Styx winning the first rumble and
In the quarter-finals, Wheres The Styx, and Stick a Fork In It. Pinocchio winning the second.
Puck defeated Atomic Wedgie; In the quarter-finals, Sabretooth Links to the video from Robot
Aluminum Box took out Busted 2.0; quickly disposed of the unorthodox Battles 60 along with information on
Dingleframus eliminated Furbot; and Pinocchio (Dingleframus with some rules and future events can be found
Liftlord made short work of a extra stuff on it); Nyx juggled Pusheen at robotbattles.com. SV
malfunctioning T-Boner. around a bit before sending it off the
In the semi-finals, Wheres The stage; Product Placement pounded
Aluminum Box
Atomic
Wedgie
Furbot
Dingleframus T-Boner
Wheres
The Puck Pusheen
SERVO 12.2016 33
Kugelmass - HackerLab Intro - Dec 16_Blank Rough SV.qxd 11/1/2016 6:09 PM Page 34
WHAT'S A
HACKER LAB?
A
maker space is essentially a communal shop other materials she could find, she began designing and
where members get access to training, tools, and creating furniture for her new home. Most of whats in her
equipment. In many cases, the community itself is house now was once scrap; at HackerLab, Lujan
34 SERVO 12.2016
Kugelmass - HackerLab Intro - Dec 16_Blank Rough SV.qxd 11/1/2016 6:09 PM Page 35
INTRODUCING
SACRAMENTOS
PIONEERING MAKER SPACE
transformed that junk into raw the fall. It is free to Sierra College
materials for living. students, who can purchase a
Her resurrected home is typical HackerLab membership for just
of the hacking that HackerLab $12.50 per month.
members love to do. A hack, in At Startup Hustle, Sierra
this sense, is a creative solution to College students work alongside a
a common problem for example, diverse group of experts and
finding the ingredients you need to artisans to apply and hone the
build something. Earlier, I skills theyve learned in the
mentioned the fifth graders who classroom. When its all over in
visited HackerLab; in addition to addition to their academic training
laser cutting, they got to challenge in engineering and design the
each other using remote-controlled participants can add practical
combat robots. The bots were experience with coding, virtual
designed by students and built reality, and 3D printing to their
with scavenged re-purposed parts. resumes.
Nile Mittow, the event coordinator, Hill first joined HackerLab to
explained this kind of hacking to use the CNC and laser cutter; he
his awed visitors once the Gina Lujan and a partner wanted to try out
gladiatorial contests were finished. designs for a new kind of smart
I have a pink Barbie car, a little toy car, that can go 15 home automation system. Hill developed new skills while
miles per hour, he said. I found the car in a dumpster, creating his prototype at HackerLab. I had no idea how to
took it apart, and made it into a racing machine. Thats make a printed circuit board, he said, when the college
hacking seeing the value of something others might even asked him to describe what he learned at HackerLab. But
throw away. after three weeks of practice at HackerLab, I could make a
In addition to giving school tours, HackerLab offers perfect board from scratch.
intensive educational workshops for young makers. For Hill and his partner applied to Startup Hustle once they
several weeks during the summer, full classes of interested were ready to create a business plan. They received expert
students come and learn the basics of starting a new coaching from industry leaders. The mentors were genius,
business. Others build and program a VEX IQ robot from a said Hill. They were more than technical experts; they
starter kit, taking on the formidable collaborated with us to think through
VEX Robotics Challenge with help sales and marketing.
from Dave Parker, professor of There were aspects to this that
Computer Science at Sierra College had never occurred to the young
in Rocklin, CA. There is a fully engineers. When I started, I had no
functional HackerLab location in idea how to pursue a realistic viable
Rocklin which has joined forces with business, Hill commented. For
Sierra College to support design example, one of the assignments
projects and commercial startups was to pinpoint the exact type of
headed up by Sierra students and customers we were going for to sell
other members of the local our product. Theyd been so busy
community. inventing that they hadnt stopped to
Tyler Hill, a Mechanical consider who, exactly, was going to
Engineering major from Lincoln, CA, buy their smart home system.
was hired as an engineer at NCR Thanks to his mentors, Hill now
Corporation in part because of his understood the planning his team
participation in HackerLabs Startup had to do if they wanted to have a
Hustle. A more advanced intensive successful product launch.
version of the Labs summer business In addition to working one-on-
course, Startup Hustle is a boot one with their mentors, the teams
camp for entrepreneurs that attended weekly training sessions led
Nile Mittow
HackerLab offers each year during by successful entrepreneurs. At one
SERVO 12.2016 35
Kugelmass - HackerLab Intro - Dec 16_Blank Rough SV.qxd 11/1/2016 6:09 PM Page 36
36 SERVO 12.2016
Kugelmass - HackerLab Intro - Dec 16_Blank Rough SV.qxd 11/1/2016 6:09 PM Page 37
For a limited time, SERVO readers can get a free one-month pass to HackerLab.
Use the code SERVOMAG. Find out more at www.hackerlab.org.
2015 interview. (Internet of Things) data and manage it via the cloud.
Pepper-Kittredges comments help to place Hills story Participants received Intels brand new Edison module
in the larger context of HackerLabs educational mission. (designed to be a primary component of new smart
HackerLab provides a unique environment where students devices, such as wearable tech) and a Groove Starter kit;
can mix with people from various industries, and this their work had the potential to take them all the way to
network accelerates their career path as well as [their] Intels own Developer Forum. Opportunities like this are
entrepreneurial endeavors, she said. Startup Hustle almost daily occurrences at HackerLab, whose other
delivers real world experiences to students; it validates the sponsors include Consolidated Communications (who
skills theyve developed on campus, and prepares them for provide HackerLabs super high speed Wi-Fi) and the optics
science, technology, engineering, and math STEM giant, VSP Global.
careers. On the webpage announcing HackerLabs IoT
In less than a year, the partnership between HackerLab workshop, Nile Mattow wrote that HackerLab staff
and Sierra College delivered an off-campus location in encourage interesting uses/misuses of technology. I want
Rocklin, filled with cutting-edge equipment. The new site to believe him, but after being a part of the HackerLab
attracted 140 members half of them students and community for a month now, I have yet to see anyone
boasted over 1,000 attendees in its first year of classes and misusing technology. Rather, HackerLab is manifestly a place
events. where technology comes into its own, as something
HackerLabs collaboration with Sierra College is only accessible, limitless, and personal all at once. It is a space
one example of the successful partnerships that the Lab has that empowers members to go the full distance from an
initiated to expand its offerings and member services. Intel idea (A pineapple!) to a complete creation.
Corporation has been an enthusiastic sponsor and partner I originally wrote to a complete polished creation, but
of HackerLab for several years now. Thanks to Intel, thats inaccurate. After all, sometimes the first stab at new
HackerLab was able to offer an incubatory hackathon tech is distinctly un-polished. Theres room for such ugly
thats maker for workshop targeted at businesses ducklings at HackerLab. There is space enough here to
both new and old who were looking to collect IoT innovate. SV
Extreme Robot
Motor Control
www.robotpower.com
MEGAMOTO GT Shield
Software and
plug compatible
New with our
MegaMoto
shield
The Hydra
6 7V - 28V
6 Triple 6.5A / 8.0A Peak H-Bridges
6 Current/Temp limiting
6 R/C inputs w/mixing
6 Limit switches on one channel
6 2.0" x 2.1" x .5"
The Vyper
6 120A+ H-Bridge - 200A Peak!
6 8V - 42V
6 Overload protected
Big Bots! 6 RC and Analog Pot input
Big Power! 6 Supports 8 AWG wires!
Big Motors! 6 2.85 x 2.25 x 1.75
Self-Diagnostics
Have you ever packed up your robot and taken it to a club meeting with the
intent of demonstrating all your work to a room full of hobbyists only to find
that a loose connection made both you and your robot look, not just
unprepared, but totally inept? If your robot had an internal self-testing
program, it could have saved the day for you. Read on to discover some
concepts to help you develop such a program for your robot.
D
uring a recent discussion with fellow robot compass, a beacon detector, and nine perimeter-mounted
enthusiast, Steven Canning, we explored the idea proximity sensors. The availability of so many sensors makes
that a proper robot should be able to perform an it easy to create meaningful demonstrations. The second
internal self-diagnostic routine to verify its operational reason is the simulation itself.
status. My first thoughts were somewhat negative. Lets Since RobotBASIC is free for everyone (download it
look at an example to help clarify my initial concerns. from www.RobotBASIC.org), it provides an easy-to-use
Assume your robot has a compass to determine its common platform for testing a variety of ideas before
orientation and wheel encoders to measure the movement implementing them on your own robot using your own
of its wheels. You could attempt to check the compass by programming tools and sensors. Finally, if your robot is built
using the wheel encoders to turn the robot 90 and then using the RobotBASIC Robot Operating System (RROS),
verify that the compass readings reflect that movement. If then programs developed on the simulator can be used to
the readings are wrong though, the error might not be the control your real robot with minor modifications. Even if
compass fault because it is possible that the robot is not your robot is based on an entirely different platform,
making the 90 turn due to problems with its wheel RobotBASICs simple BASIC syntax (which is very much like
encoding sensors (or even with the motors themselves). Of its own pseudo code) makes it easy to translate algorithms
course, you could personally move the robot 90, but that to your language of choice.
defeats the purpose of having the robot perform a self-test. The goal of this article is to present a program that can
In general, in order to test any of its sensors, a robot test many of the simulator sensors listed above. Ideally, the
has to perform some action that alters the sensors state in program will demonstrate principles that will inspire others
a predicted way. When the test fails, the question becomes, to create similar functionality for their own robots. To that
how do we know if the sensor is failing, or if the robot is end, lets examine what is needed to write such a program.
not performing the action (or at least not performing it As mentioned earlier, it can be difficult if not
accurately)? impossible to determine if various sensors are working
This could be an unsurmountable problem unless you properly unless we have at least one sensor (or sensor
know, or can verify, that one of your robots sensors is, in subsystem) that we know is working correctly. After
fact, working correctly. If we knew in the previous example, considering ways of testing each of the simulators sensors,
for instance, that the wheel encoders produced accurate it occurred to me that the line sensors might be testable
movements, then it would be easy to test the compass. If a without using any of the other sensors, as long as it can be
robot has numerous sensors, this technique can be even assumed the robot can perform basic movements (even if
more effective. You could use one working sensor to verify such movements are not perfectly accurate). If this could be
that a second works then use either or both of those done, the line sensors can be used to test other sensors as
sensors to check the operation of a third sensor. At that described earlier. Lets see how the line sensors could be
point, you would have three sensors to check the operation autonomously tested.
of a fourth. The more sensors your robot has, the more
options you have when creating a diagnostic routine. The Testing Environment
Using a Robot Simulator We will assume that the robot to be tested is placed in
a known test environment. One of the properties of this
The RobotBASIC simulated robot is a great way to environment is that it will have a line on the floor that is
experiment with this idea for several reasons. First, the just wide enough to trigger all three of the line sensors. It
simulation has numerous sensors including wheel encoders, will also be assumed that at the start of the test, the robot
a turret-mounted ranging sensor, three line sensors, a will be placed on this line with all three line sensors
38 SERVO 12.2016
Blankenship - Self-Diagnostics - Dec 16_Blank Rough SV.qxd 11/1/2016 6:11 PM Page 39
positioned over it. The test software composed of two lines on the floor that
Figure 1
should display the sensor readings so intersect at right angles. There is also a
you can ensure that the robot is wall at the top of the figure and a
correctly centered on the line. beacon on the right. The robots
Some of the tests for other sensors starting position should be centered on
(as you will see) will need a second intersecting line. In the intersecting lines with all of the line sensors (which are
addition, we will need a wall for testing the ranging sensors on the front edge of the simulated robot) on the line
and a beacon for testing the beacon sensors. Figure 1 directed toward the wall. Notice the simulated robot in the
shows the test environment I used for the simulator. It is figure is placed in this position.
xyString 350,335,"TEST RESULTS"
The environment
// verify all the sensors are ON for a real robot might
// note: rSense() returns the three line sensor readings as a 3-bit value be lines composed of
if rSense() <> 7
xyString 5,355,"The line sensors should be all on (assuming you setup the robot properly)." black electrical tape
xyString 5,375,"They are reporting a ",rSense()," so they have failed." on a white poster
xyString 5,395,"Fix the problem and rerun the test."
gosub StopTesting board that is placed
endif Figure 2 against a wall in your
// test to see if the sensors will turn OFF
rTurn -45 home. Of course, the
gosub ShowSensors environment you use
if rSense()=0
xyString 5,355,"The line sensors seem to be working properly." will be unique for
xyString 5,375,"All sensors will turn on and off." your robot and the
else
xyString 5,355,"If the robot has turned away from the line, the line sensors are not" sensors it uses. It is
xyString 5,375,"working properly. Currently they should be all off, but they read ",rSense(),"." unlikely that your
xyString 5,400,"Fix the line sensors and rerun this test program." robot will have the
xyString 5,420,"NOTE: If the robot has not moved away from the line, then the motors"
xyString 5,440," must be fixed before the tests can continue." same sensors as the
gosub StopTesting simulator and even if
endif
rTurn 45 it does, differences in
gosub ShowSensors the mounting
// now move robot back to setup position
if rSense() = 0 // not even close to line configurations could
xyString 5,395,"The robot however, could not find the line again. Perhaps there" force your testing
xyString 5,415,"is a problem with the encoders. The robot must be able to move"
xyString 5,435,"reasonably accuratley to run the tests." procedures to be
xyString 5,455,"Fix the problem and rerun this test program." different from any
gosub StopTesting
endif shown here. Ideally
// some of the line sensors are on the line though, the principles
// make tiny movements to get all sensors back on the line
LT = 0 and concepts
num = 0 // count the number of tries it takes to find the line again demonstrated by the
for i=1 to 20 simulator test
if rSense() = 0 then rTurn LT\LT=0 // reverse movement if line lost
if rSense() = 1 then rTurn 1\LT=-1 program will help you
if rSense() = 3 then rTurn 1\LT=-1 create something
if rSense() = 6 then rTurn -1\LT=1
if rSense() = 4 then rTurn -1\LT=1 that meets your
gosub ShowSensors needs.
num++
if rSense()=7 then break
next
// check ability to find the line again
Testing the
if num>5 // some problem is likely if more than 5 tries are needed
xyString 5,395,"The robot, however, took too long to find the line again."
Line
xyString 5,415,"Perhaps the motors are too fast or too slow."
xyString 5,435,"The robot must be able to move reasonably"
Sensors
xyString 5,455,"accuratley to run the test. " Lets look at one
xyString 5,475,"Fix the problem rerun this test program."
gosub StopTesting example of how we
else might verify the
// complete the report that the line sensors appear to be working correctly operation of the
xyString 295,375," and they were used to find the line again."
endif simulators line
SERVO 12.2016 39
Blankenship - Self-Diagnostics - Dec 16_Blank Rough SV.qxd 11/1/2016 6:11 PM Page 40
Serving Raspberry Pi #8
Post comments on this section and find any associated files and/or downloads at
www.servomagazine.com/index.php/magazine/article/December2016_RaspPi-Robots_Indoor-Positioning.
By William Henning
https://raw.githubusercontent.com/pimoroni/adxl345- compensation_ADXL345/HMC5883L_compensation_AD
python/master/adxl345.py. XL345.ino.
The ADXL345 module I used had an onboard 3.3V
regulator, but ran at 3.3V. Tilt and declination compensated heading function from
I connected the ADXL345 module to the Pi I2C header compass.py:
on RoboPi as follows:
def heading(decl):
Compass GND to pin 4 of the I C header (GND)
2
axes = adxl.getAxes(True)
Compass SDA to pin 2 of the I2C header (SDA)
x = axes[x]
Compass SCL to pin 3 of the I2C header (SCL) y = axes[y]
z = axes[z]
I also connected the modules Vcc to pin 2 on the
roll = math.asin( axes[y])
Raspberry Pi GPIO header to power it. pitch = math.asin(-axes[x])
If you dont have a RoboPi or PiDroidAlpha, you can
connect the ADXL345 module directly to the corresponding if ((roll>0.78) or (roll<-0.78) or
(pitch>0.78) or (pitch<-0.78)):
Raspberry Pi GPIO pins as follows: print Pitch/Roll error
return -1000
Compass Vcc to pin 2 of the Pi GPIO header (5V) scale = 1.0
Compass GND to pin 6 of the Pi GPIO header (GND)
Compass SDA to pin 3 of the Pi GPIO header (SDA) x = read_signed_word(3) * scale - 2
# use calibrate.py to compute the x/y
Compass SCL to pin 5 of the Pi GPIO header (SCL) # calibration
y = read_signed_word(7) * scale + 115
z = read_signed_word(5) * scale
I got readings from the module right away. However,
the Z axis results never changed, and were way off! After xh = x * math.cos(pitch) + z *
some more Googling, I found that this was a known math.sin(pitch)
yh = x * math.sin(roll) * math.sin(pitch) +
problem with the 2G and 4G sensitivity modes, and that y * math.cos(roll) - z * math.sin(roll) *
switching to 8G or 16G modes would fix it. math.cos(pitch)
It did. heading = math.atan2(yh, xh)
Looking at the results, it was obvious that my desk
(where I tested the module) was not perfectly level, and it if (heading < 0):
heading = heading + 2*3.141529
is pretty much a given that any floor my bots travel over will
not be perfectly flat either. I decided that there was no return (math.degrees(heading) + 360 - decl)
point in trying to calibrate the ADXL345 to any great % 360
precision, so I decided that all I needed was to calibrate the
module at the position it will be attached to Berry on my I made two modifications to the ADXL345.py library:
desk.
First, I had to make a navigation deck for Berry. I 1. To calibrate the compass, I just gathered 600
used one of my EZasBone prototyping boards as the samples while the module was in the correct position, and
platform for the HMC5883L and ADXL345 modules. It was calculated the minimum and maximum X, Y, and Z readings
handy, and it had mounting holes I could use to attach it in the main execute if not used as a library code. Dont
on the Dagu chassis. forget to set xoffs/yoffs/zoffs to zero before calibrating!
I found some C code for modifications needed for the 2. I calculated the average X/Y/Z offsets, and
tilt compensation at https://github.com/jarzebski/ subtracted that from the subsequent readings returned
Arduino-HMC5883L/blob/master/HMC5883L_ when the library was used.
dir = compass.heading(my
declination)
# replace mydeclination with your
# magnetic declination
44 SERVO 12.2016
Henning - Serving RaspPi 8 - Dec 16_Blank Rough SV.qxd 11/1/2016 6:37 PM Page 45
Mission
Accomplished
In the next column, I will:
COMPON
COMPONENT
MPONENT & PRE
PRE-WIRED
IRED LED
LEDS
EDS LED
ED D BULBS
BU
ULBS LED
ED LIGHT
LI EN
ENGIN
ENGINES
NES
NES
Robo-Links.
)
SERVO 12.2016 45
Leeman - Multi-Rotor Hobbyist - Dec 16_Blank Rough SV.qxd 11/1/2016 6:42 PM Page 46
Hobbyist
and/or downloads at
www.servomagazine.com/
index.php/magazine/article/
December2016_MultiRotorHobbyist_
Understanding-Balancing-Propellers.
46 SERVO 12.2016
Leeman - Multi-Rotor Hobbyist - Dec 16_Blank Rough SV.qxd 11/1/2016 6:42 PM Page 47
take too long to change speed, the flight control system will
have a very difficult time, and you could end up with a poorly
controlled and sluggish quad. I think that for many hobby-
sized multi-rotors, this is not a huge concern, but could
certainly become an issue at the larger end.
Pitch
The pitch of the propeller is a more complex concept.
Pitch is the second number in the propeller specification; 4.5
in our example. The larger the pitch, the more aggressive
the propeller is and the more steeply the blades will be
inclined to the plane of the propeller.
Imagine that we had a way to slowly rotate the propeller
into a block of soft foam. The propeller would screw into the
foam much like a screw would into a piece of wood. If we
traced out the path of the propeller in 3D, we would see a
helical path that looks very similar to a screw thread. Suppose
we made a mark at the tip of a blade when the propeller was
vertical, then rotated it one complete turn and marked the Figure 3: Following the tips of a propeller through three
position of that same blade tip. We would have two marks at complete revolutions, we can see the spacing between each
the same angular position, but offset in the direction of spiral is equal to the pitch of the propeller.
motion by some amount. That amount is the pitch of the
propeller how far it would move in a solid media in one There are further complications as well that are beyond
complete revolution (Figure 3). For model airplanes, people the scope of what we want to do here. Some of the other
often use the mental model of how far the airplane is features youll observe on the propellers are designed to
screwed through the air for each turn of the propeller, direct their thrust towards the center so that the thrust is
though this breaks down somewhat as the air is not a solid concentrated just behind the propeller instead of in a flat
media but a compressible gas. sheet. This is effectively like ducting the propeller!
You might wonder why we dont specify the pitch of a Lets consider two propellers: a 6x3 and 6x4.5. The
propeller in terms of degrees. Take a propeller and literally or propellers are both 6 in diameter, but have a pitch difference
mentally attach a pen to the tip of one blade and to the of 1.5. The propeller with the smaller pitch will be easier to
middle of the same blade. Rotate the propeller though a full spin through the air and will require less current flowing to
turn. Youll see that the outside pen travelled a much greater the motor to maintain a given speed. It will also produce less
distance than the inner pen. For a rotating solid body, we turbulence and utilize the torque peak operating range of
know that every point on the your motor. For multi-rotors that are
propeller will have the same angular designed to be aerial video platforms, we
speed (the center and tip both go generally use lower pitch propellers. For
through 360 in the same amount multi-rotors that need high speed capability
of time). The tangential speed of like racing quads higher pitch
the propeller must vary with propellers are often used.
distance from the center of the
propeller because the tip at radius r2
has much farther to travel than the
Bore
middle of the propeller at r1 (Figure The bore of the propeller describes the
4). If we do the math, we can plot diameter of the hole used to mount it to
the tangential velocity of the the motor (Figure 7). Many multi-rotor
propeller along its length (Figure 5). propellers are cast with a pretty large bore
A consequence of this is that the and come with a set of hard rubber
angle of the propeller blades must bushings to reduce that bore to the
change along the length of the common motor shaft diameters (Figure 8).
propeller to have a roughly constant Figure 4: At two different radii, the Never use a propeller with an incorrectly
thrust along its length. Look at your same solid propeller has to travel much sized bore. The chances of being able to
propellers closely and youll see the different distances. The circumference mount it so that it is centered on the axis
angle becomes much more shallow of the circles traced is linearly of rotation are virtually non-existent. That
proportional to the radius of the
towards the tip (Figure 6). propeller at that point. means the system will be wildly out of
SERVO 12.2016 47
Leeman - Multi-Rotor Hobbyist - Dec 16_Blank Rough SV.qxd 11/1/2016 6:42 PM Page 48
Figure 8: Bushings are often included with model aircraft Figure 10: Weights such as these are clamped onto your
propellers to make the same propeller fit a variety of motors cars wheels to balance the wheel/tire assembly. We do
and vehicles. Be sure you pick the bushing that snugly fits the same thing with our model propellers, but with
your motors output shaft. much smaller masses.
Figure 15: Weight can be added to Figure 16: Adding bits of cellophane
Figure 14: Most the propeller by applying a thin tape is another way to add weight to
propellers will very layer of gel-type Super Glue, and the light blade. This is the quickest
quickly settle with either waiting for it to dry or by way to balance propellers, but is not
one blade hanging using an accelerator to instantly as permanent of a solution.
down. This is the cure the glue.
heavy blade. We can
add weight to the
light blade, or
carefully sand
weight off the heavy
blade to balance the
propeller.
from the heavy blade (usually from position at which you place it, without
the underside). Try to evenly remove any blade always falling to the bottom
material so that the propeller does (Figure 18). With practice, youll be
not become imbalanced from the tip able to balance a propeller in a few
to the tail of the blade (Figure 17). If minutes. I can balance a set for my
you use this technique, be sure to re- quad in less than half an hour, and that
check the balance often because if is time very well spent.
you remove too much, you will either
need to sand the opposite blade
removing more material than
Closing Thoughts
amount of gel-type Super Glue in a necessary or add mass back into the We didnt have time to get into
thin layer on the underside of the light blade you over-sanded. The removal how to choose the proper motor
blade at the tip (Figure 15). Using an method does have the advantage that /propeller combination, but I suspect
accelerator spray to instantly cure the there is no glue or tape to accidentally that will be coming soon as I look at
glue is advisable. An even quicker abrade away or come off and upgrades to our homemade quad and
solution is to place a small bit of unbalance things again. the possibility of building larger and
cellophane tape on the underside of After adjusting the mass of the smaller vehicles. Dont be afraid to pick
the propeller (Figure 16). The tape can blade, put the propeller back on the up several sets of different propellers
be trimmed and easily removed, stand and see how you did. Maybe next time you are at the hobby store or
making it a good choice for beginners. youll need to remove more mass, add ordering something from Amazon.
If youd like to remove weight from more tape, or otherwise play with the Experimenting with them could
one side of the propeller, you can use a balance. After a few tries, the propeller lead to performance gains on your
fine grit sandpaper; 220 works well. should be getting close to balanced. multi-rotor for your particular
Sand off a small amount of material When balanced, it will sit in any application. SV
SERVO 12.2016 51
SV Webstore - Dec16 working_SV Webstore May 16 working.qxd 11/1/2016 7:23 PM Page 52
ROBOTICS
Arduino Robot Bonanza Making Things Move: Build Your Own Teams of
by Gordon McComb DIY Mechanisms for Inventors, Robots with LEGO
Create high-tech Hobbyists, and Artists MINDSTORMS NXT and
walking, talking, and by Dustyn Roberts Bluetooth
thinking robots. Plan, design, assemble,
"McComb hasnt In Making Things Move: and program robot
missed a beat. Its an DIY Mechanisms for squads that
absolute winner!" Inventors, Hobbyists, communicate and
and Artists, you'll learn
how to successfully build cooperate with each
Breathe life into the moving mechanisms other to accomplish
robots of your dreams through non-technical together what they cant
without advanced explanations, examples, do individually. Inside
electronics or programming skills. Arduino and do-it-yourself the authors show you
Robot Bonanza shows you how to build projects from kinetic
art installations to how to construct a team capability matrix
autonomous robots using ordinary tools and creative toys to energy-harvesting devices. (TCM) and use the Bluetooth Robotic-
common parts. Learn how to wire things up, Photographs, illustrations, screenshots, Oriented Network (BRON) so your robot
program your robot's brain, and add your and images of 3D models are included for teams can share sensors, actuators, end effec-
own unique flair. each project. tors, motor power, and programs.$30.00
$29.95 $29.95
Robotics Demystified
Build Your Own by Edwin Wise
Robot Builder's Sourcebook Humanoid Robots YOU DON'T NEED ARTIFICIAL INTELLIGENCE
Fascinated by the world of robotics TO LEARN ROBOTICS!
but dont know how to tap into the by Karl Williams Now anyone with an
incredible amount of information GREAT 'DROIDS, INDEED! interest in robotics
available on the This unique guide to can gain a deeper
subject? Want the sophisticated robotics understanding
names, addresses, projects brings without formal training,
phone numbers, humanoid robot
and web sites of unlimited time, or a
construction home to genius IQ. In Robotics
companies that the hobbyist. Written by
can supply the Demystified, expert
a well-known figure in robot builder and
exact part, plan,
the robotics community, author Edwin Wise provides an effective
kit, building
material, Build Your Own and totally painless way to learn about the
programming Humanoid Robots pro- technologies used to build robots! $19.95
language, operating system & vides step-by-step directions for six exciting
computer system? Robot Buiders projects, each costing less than $300.
Sourcebook is just what youve been Together, they form the essential ingredients To Order Call 800 783-4624
looking for! for making your own humanoid robot.
or visit our webstore
$36.00 $24.95
52 SERVO 12.2016
SV Webstore - Dec16 working_SV Webstore May 16 working.qxd 11/1/2016 7:23 PM Page 53
Order online
www.servomagazine.com
SPECIAL OFFERS
Build Your Own Quadcopter:
Power Up Your Designs with the
Parallax Elev-8
by Donald Norris
Build a custom
multirotor aircraft!
Build and customize
radio-controlled
quadcopters that take
off, land, hover, and
soar. Build Your Own
Quadcopter: Power Up
Your Designs with the
Parallax Elev-8 features step-by-step assembly
plans and experiments that will have you
launching fully functioning
quadcopters in no time.
Reg $50.00 Sale Price $39.95
PROJECTS
The SERVO Buddy Kit 3D LED Cube Kit PS2 Servomotor Controller Kit
From the
article Build
the 3D LED
Matrix Cube
as seen in the
August 2011
issue of
Nuts & Volts Magazine.
An inexpensive circuit you can build to This kit accompanied with your own
control a servo without a microcontroller. This kit shows you how to build a really PlayStation controller will allow you to
cool 3D cube with a 4 x 4 x 4 control up to six servomotors.
For more information, monochromatic LED matrix which has a Includes all components and
please check out the total of 64 LEDs. The preprogrammed instruction manual.
May 2008 issue microcontroller that includes 29 patterns For more information, please see the
or go to the that will automatically play with a runtime February 2011
SERVO webstore. of approximately 6-1/2 minutes. edition of SERVO Magazine.
Colors available: Green, Red, Yellow & Blue. Assembled units available!
Jig and plastic cases also available.
Includes an article reprint. $79.95
$39.55 $57.95
SERVO 12.2016 53
Woolleys - Twin Tweaks - Dec 16_TwinTweaks - Aug 15.qxd 11/1/2016 6:48 PM Page 54
Twin Tweaks
by Bryce Woolley and Evan Woolley
Go to www.servomagazine.com
/index.php/magazine/article/December2016
All I Want
_TwinTweaks_High-Pressure-Nitrogen-
Cannon to comment on this article.
for Christmas is a
High Pressure
Nitrogen Cannon
W
e know what you might be thinking all I
want for Christmas is a Twin Tweaks article
on something other than a pneumatic
punkin chunker. We hear you. Well make it
a New Years resolution. Yes, this is another
pneumatic cannon project, but its different
from our previous efforts by at least an order of
magnitude of awesome. Its like the end of a
Mythbusters episode, where if they cant get the
Christmas tree to ignite from its lights or clean out a
cement truck with dynamite, they strap copious
amounts of C-4 to everything and blow it to kingdom
come.
Here, however, our goal is sort of the opposite MERRY BOT-MAS!
we want to push the limits of our pneumatic air
cannon punkin chunker design, but we did not want to significantly save on the weight of our chunker while still
blow ourselves up. As we alluded to last time, high pressure allowing for good performance.
large-scale projects come with their own unique set of As detailed back in the October 2015 issue, we created
design considerations, and they require specialized parts an isothermal model of cannon muzzle speed to better
that we couldnt simply scrounge up from the garage. The understand the impact of various design considerations on
weeks leading up to our big build day felt like the 12 Days the performance of the cannon. Our chief performance
of Bot-mas, with boxes full of heavy steel goodness objective was maximizing muzzle speed we figured that
showing up on our doorstep almost every day. Would Santa was a good proxy for chunked punkin distance. We
bring us what we needed for our cannon? Or, did our determined that having a tank volume to barrel volume
single-minded focus on building a better punkin chunker ratio of at least 2:1 for a given pressure ensured that we
relegate us to the naughty list? didnt leave too much muzzle speed on the table (tank to
barrel volume ratios above two gave diminishing returns).
On the First Day of Bot-mas, A larger barrel diameter than tank diameter would, of
McMaster Brought to Me ... course, decrease our tank to barrel volume ratio, but by
messing with the isothermal model we discovered that
As we alluded to, we wanted to build a high pressure giving up a little on the volume ratio allowed us to gain a
version of our PVC punkin chunker because it would be lot more in other areas. A bigger barrel would better allow
awesome and it would be a good way to explore the us to accommodate a bigger projectile (punkin), and a
special challenges of an extreme project. We were sticking bigger heavier projectile would actually have significantly
with the tried and true trident design of our PVC chunkers, higher impact force than a smaller lighter one. That would
but scaled down slightly. Instead of 4 diameter tanks and make for a more spectacularly exploding punkin, and just
barrel, we opted for 2.5 tanks and a 3 barrel. This would like the Mythbusters loading up a cement truck with high
54 SERVO 12.2016
Woolleys - Twin Tweaks - Dec 16_TwinTweaks - Aug 15.qxd 11/1/2016 6:48 PM Page 55
Twin brothers hack whatevers put in front of them, then tell you about it.
58 SERVO 12.2016
Woolleys - Twin Tweaks - Dec 16_TwinTweaks - Aug 15.qxd 11/1/2016 9:17 PM Page 59
this year). Add in the pipes and other fixings, and the
cannon tipped the scales at just under 120 pounds.
We primed the threads, applied the sealant, and
twisted the fittings together. We started with the tee
and completed the barrel assembly first. A large vice
and a pipe wrench helped us get the fittings
tightened down nicely. As we moved to the first of
the tanks, the cannon was becoming a bit more
challenging to handle. It was definitely a team effort.
The second and final tank was appropriately the most
challenging, but once it was done we felt like how
Santas Elves must feel after getting the last toy out
the door and into Santas sleigh.
Once we put the cannon on Protobot, it will
officially be the heaviest robot weve ever built
heavier than the FIRST robots from Team 1079, and
heavier than any of the other bots weve worked on
throughout the years. Theres a special sense of
accomplishment that comes with pulling off a large WERE GONNA NEED A BIGGER CHRISTMAS TREE.
scale project. As anyone thats attended a
heavyweight combat robotics competition or a FIRST team efforts, and the shared sweat really solidifies your
regional can attest to, there is something uniquely awe- relationship with both the bot and your teammates.
inspiring about big robots. Large scale bots are necessarily As we also learned throughout the 12 Days of Bot-mas,
having team members to help you
track down the specialized parts
THE OWNERSHIP, MANAGEMENT, AND CIRCULATION STATEMENT OF SERVO MAGAZINE, Publication Number: 1546-0592 is
published monthly. Subscription price is $26.95. 7. The complete mailing address of known office of Publication is T&L needed for a big project is just as
Publications, Inc., 430 Princeland Ct., Corona, Riverside County, CA 92879-1300. Contact Person: Larry Lemieux. Telephone: (951)
371-8497. 8. Complete Mailing address of Headquarters or General Business Office of Publisher is T&L Publications, Inc., 430 essential as having them there on build
Princeland Ct, Corona, CA 92879. 9. The names and addresses of the Publisher, and Associate Publisher are: Publisher, Larry day. After weeks of researching and
Lemieux, 430 Princeland Ct., Corona, CA. 92879; Associate Publisher, Robin Lemieux, 430 Princeland Ct., Corona, CA 92879. 10.
The names and addresses of stockholders holding one percent or more of the total amount of stock are: John Lemieux, 430 ordering parts, and having them
Princeland Ct., Corona, CA 92879; Lawrence Lemieux, 430 Princeland Ct., Corona, CA 92879; Audrey Lemieux, 430 Princeland Ct.,
Corona, CA 92879. 11. Known Bondholders, Mortgagees, and other security holders: None. 12. Tax Status: Has not changed appear at our doorstep one by one,
during preceding 12 months. 13. Publication Title: SERVO Magazine 14. Issue Date for Circulation Data: October 2015-September
2016. 15. The average number of copies of each issue during the proceeding twelve months is: A) Total number of copies printed our big build day really did carry all of
(net press run); 8569 B) Paid/Requested Circulation (1) Mailed Outside County subscriptions: 3592 (2) Mailed In-County
subscriptions: 0 (3) Paid Distribution Outside the Mail including Sales through dealers and carriers, street vendor, and counter the anticipation and excitement of
sales and other paid distribution outside USPS: 1797 (4) Paid Distribution by other classes of mail through the USPS: 0; C) Total Christmas morning.
Paid Distribution: 5390; D) Free or Nominal Rate Distribution by mail and outside the mail (1) Free or Nominal Rate Outside-
County Copies: 0 (2) Free or Nominal Rate In-County Copies: 0 (3) Free or Nominal Rate Copies Mailed at other classes through We got just what we wanted: a
the USPS: 0 (4) Free or Nominal Rate Distribution Outside the mail: 1317; E) Total Free or Nominal Rate Distribution: 1317; F) Total
Distribution: 6707; G) Copies not distributed: 1863; H) Total: 8569; Percent paid circulation: 80.37%. Actual number of copies of the high pressure nitrogen cannon thats
single issue published nearest the filing date is September 2016; A) Total number of copies printed (net press run) 9079; B)
Paid/Requested Circulation (1) Mailed Outside County subscriptions: 3462 (2) Mailed In-County subscriptions: 0 (3) Paid (almost) ready to chunk punkins into
Distribution Outside the Mail including Sales through dealers and carriers, street vendor, and counter sales and other paid
distribution outside USPS: 2983 (4) Paid Distribution by other classes of mail through the USPS: 0; C) Total Paid Distribution: 6445; oblivion. SV
D) Free or Nominal Rate Distribution by mail and outside the mail (1) Free or Nominal Rate Outside-County Copies: 0 (2) Free or
Nominal Rate In-County Copies: 0 (3) Free or Nominal Rate Copies Mailed at other classes through the USPS: 0 (4) Free or
Nominal Rate Distribution Outside the mail: 800; E) Total Free or Nominal Rate Distribution: 800; F) Total Distribution: 7245; G)
Copies not distributed: 1834; H) Total: 9079; Percent paid circulation: 88.96%. I certify that these statements are correct and
complete. Lawrence Lemieux, Publisher - 10/31/2016.
www.mcmaster.com
www.tottentubes.com
SERVO 12.2016 59
Carroll - Then & Now - Dec 16_Then & Now - Sep15.qxd 11/1/2016 6:55 PM Page 60
g{x Now
a n d
by Tom Carroll
TWCarroll@aol.com
hen youre thinking of robots in notice that you are in a wooded area. the voice that you downloaded and
W the future, the first type that
probably comes to mind is a bipedal
Is the sky above you open for the
drone that is coming your way? You
viewed the instruction video when you
received the app, so you feel
humanoid servant robot, similar to look up and reply, Yes, it is about 25 comfortable using the drones AED.
what weve seen in the movies for meters open at the tree tops but the You soon hear the buzzing of the
many decades. Step aside from a path is only a meter or two wide with drone as it slowly lands on the clear
whimsical wish of a home robot and brush on both sides. That is no pathway. The graph in Figure 2
imagine this scenario. Youre on a hike problem, sir. The AED drone will soon shows just how critical it is to rapidly
in the woods outside of your city and be there. Keep your phone on and begin the defibrillation process,
are hiking on a one meter wide path hold it above your head. The drone though few of us will be lucky enough
with a friend. Your friend suddenly will land near you. You then inform to be near an AED if a heart attack
tells you that he doesnt feel well, and occurs. A voice emanates from the
grabs his chest and struggles to sit drone and you realize that the voice is
down and recline against a tree. For a a real person. This is Jackie from Fire
second, you dont know what to do. Station number 12. Move the drone
Then, you remember that you over by the patient; the props will not
downloaded an app on your phone move. Is the patient breathing?
called Drone-Delivered AED. You No, you say, but Ive been
finger through your apps and come to performing CPR on him. That is
that particular one and hit the good. Do you detect a heartbeat? I
emergency button image. dont think so, but Im not sure. No
An AED (Automated External problem, sir. Did you view the
Defibrillator) is a portable electronic instruction video that comes with the
device shown in use in Figure 1 that Figure 1. An AED defibrillator. Electrodes applied app? Yes, you tell her.
and hands away from the patient.
automatically diagnoses the Great. I will instruct you
life-threatening cardiac on how to pull out the
arrhythmias of ventricular electrodes and where to place
fibrillation and tachycardia in a them. Quickly remove the
patient, and then is able to clothing from the patients
treat them through chest. Pull out the two
defibrillation (the application of electrodes and remove the
electrical shocks sent through red-tabbed plastic covering
the skin to stop the from one electrode and stick it
arrhythmia), allowing the heart firmly about three centimeters
to reestablish an effective or one inch above the
rhythm. patients right nipple. Remove
A few moments later, you the plastic from the second
Figure 2. Ambulance drone responds to an emergency cardiac
hear a voice on your phone, I arrest call. electrode and place it the
60 SERVO 12.2016
Carroll - Then & Now - Dec 16_Then & Now - Sep15.qxd 11/1/2016 6:55 PM Page 61
Figure 7.
Dominos
pizza
delivery
vehicle.
Figure 5.
Dominos
drone
delivers pizza
in the UK.
Figure 6. Dominos
DomiNoDriver self-driving
pizza delivery scooter. theyd prefer a human delivery person
Drones will to a delivery drone. However, in the
Soon Deliver 18-34 age bracket, this group trusted
Packages robot delivery of a pizza more than
the rest of those surveyed.
Aerial drone package
and fast food delivery has CyPhy Works Teams
been a main topic of
robotics news for a while Up with UPS
doctors office, a block from the fire now. Dominos Pizza has tested aerial A recent drone delivery test was
department, and two blocks from our drone and wheeled mobile drone performed this past September in
home. AEDs had not been invented robot delivery of their products as Massachusetts by the delivery giant,
yet. It would have been wonderful Figures 5-7 indicate. The octo-copter UPS with the drone shown in Figure
had an Ambulance Drone AED been drone in Figure 5 looks to be the 8 that it purchased from Helen
available nearby for use by a wave of the future in the United Greiners CyPhy Works. It turned out
professional. As a kid who loved to Kingdom, as is the DomiNoDriver to be an eight minute life-saving
build robots, I had never dreamed of a scooter in Figure 6. Dominos in event. The 42 inch/10 pound drone
flying robot to save people. Australia has tried out the mobile delivered an asthma inhaler to a child
The American Heart and Stroke ground vehicle shown in Figure 7, at a YMCA camp on Childrens Island
Association has these facts stated on which is a bit more practical in my off the coast of Beverly, MA three
their site that stress the importance of opinion. Ive always loved new miles away.
close proximity to an AED. Each year concepts that make use of robotics, Delivery drones have taken
in the US, there are approximately but just like a lot of other folks Im another step in proving they can safely
359,400 assessed Emergency Medical concerned about drones either deliver urgent medicine to hard-to-
Services (EMS) cardiac arrests outside smashing a pizza when its dropped reach locations, wrote Steve Crowe
of a hospital setting and on average, off at a customers home or the pizzas on Robotics Trends website. The island
less than 10% of victims survive. being cold because it took too long for is only accessible by boat, and then
Cardiac arrest affects people of all the drone to reach the customer. only for a walk-on passenger (not
ages, but occurs more commonly in According to a recent YouGov cars). The drone took about eight
adults with prior heart disease. It will poll, only 37 percent of Americans minutes, flying at about 22 MPH to
only become more common as believe pizza delivery drones would reach the camp versus the normal 30
Americans age. drop off their order undamaged. Only minute boat ride.
In fact, early defibrillation along a third of those surveyed trust that a Remote locations such as this
with CPR is the only way to restore drone-delivered pizza would arrive at have long been critical concerns for
the victims heart rhythm to normal in the right temperature. Ive wondered medical and emergency situations on
a lot of cases of cardiac arrest. For exactly how an aerial drone would inaccessible islands. I know this first
every minute that passes without CPR remove a hot pizza from an expensive hand, having lived on Orcas Island off
and defibrillation, however, the insulated carrier box without the coast of Washington for a number
chances of survival decrease by something going wrong. of years. Neither Orcas Island or any
710%. Two-thirds of those polled said of the four main islands and many
62 SERVO 12.2016
Carroll - Then & Now - Dec 16_Then & Now - Sep15.qxd 11/1/2016 6:56 PM Page 63
smaller of the San Juan Islands have considered the use of trucks or busses develop agreements with
any bridges for mainland access. We to assist their drones to increase the transportation and shipping
had to rely on Med Flight insurance to delivery range as a recent patent filing companies that could include
be helicoptered off island in indicates. Tests that began over a year compensation in exchange for
emergencies. ago show a prototype Amazon drone permission to land drones on vehicles.
Non-insured flights would have actually delivering a shoebox to Drones can use identifying markings
been in the $35,000 category. someones backyard as seen in Figure and GPS coordinates to find vehicles
However, drone flights in the near 9. The four-prop quad appears to also to land upon.
future might be able to supply on- have a pusher prop in the back. Amazon sends a message to a
island doctors with specialized As part of the patent filing, they driver when it wants to land a drone
medications, transfer of critical blood also want to have the option of on a vehicle and the driver gives
tests, and even unique medical landing their drones on a truck or bus permission for the landing and
instruments. for a portion of the delivery route. The confirms that the drone successfully
drone will then depart the vehicle at docked with the vehicle. If a drones
Are Delivery Drones the nearest point of the route to the battery is about to die or some other
customers house. Since most present malfunction occurs, the company
Safe from Hijacking? day drones have a limited range, this would plan for the aircraft to land on
Another issue that has bothered a will not only save energy but quicken the first available vehicle, and then
lot of robot experimenters is what if delivery times. It will also allow drones Amazon personnel could set up a
one of these drones gets captured with dwindling battery power or with meeting with the driver to retrieve it
while on a delivery run and sold to an possible technical problems to land at a set location.The FAA did drop a
unscrupulous buyer. For the price of a back on one of the systems trucks in bombshell when it changed drone
pizza or something inexpensive on emergencies. operation rules to allow only line-of-
Amazon, using a stolen credit card, a As Amazon executives have sight drone control, but Amazon feels
bad guy could toss a net over a UAV stated, There are a variety of that it can prove the safety of its
drone or just scoop up a mobile factors when deciding whether or not intended services.
version and put it into the back of a to land a drone on an eligible vehicle,
van, then quickly take it out of town including: vehicle travel path in Mercedes Vans and
while an accomplice in the back of the relation to the package destination;
van disables the power and removes timing of routes versus delivery Starship Technologies
any tracking devices. The future will timeframe; and travel speed of Robot Deliveries
offer us a lot of neat things, but along possible landing vehicles. Amazon will Mercedes Benzs Delivery Van
with the future, we will Division recently began
continue to have dishonest working with a robot
people. company, Starship
Technologies to develop a
Drones relationship that uses the
car companys vans as
Hitching Rides motherships to bring
to Increase Starships small mobile
Range robots (shown in Figure
10) closer to a local delivery
Amazon has Figure 10. Mercedes Benz and Starship Technologies delivery robots. area. The companies strive
SERVO 12.2016 63
Carroll - Then & Now - Dec 16_Then & Now - Sep15.qxd 11/1/2016 6:56 PM Page 64
to cut down street traffic congestion, as a few wound care supplies such as
create efficient delivery of an order, bandages, splints, and topical
and cut down on exhaust emissions. antiseptics (maybe even an EpiPen as
We see a huge potential for robotic seen in Figure 11; an epinephrine
delivery systems in the future, and by injection device is typically carried by
combining our vans and the robots, those who have severe allergies for
we call it the mothership concept, life-critical allergic reactions).
says Volker Mornhinweg, Head of Is this just a dream of the future
Mercedes-Benz Vans. The small Figure 11. An EpiPen is definitely small enough
or could it be implemented with
robotic vehicles can carry up to 40 to ride on a drone to a person in need. todays technology? It is possible, and
pounds and complete deliveries within one of you could be the force behind
a three mile radius. They move at the point that many local police and the implementation process.
pedestrian speeds and can maneuver government vehicles have an
around obstacles and people. ambulance drone in the trunk. The A Useful Assistant
Navigation is via GPS and multiple drone is safely tucked in a plastic case
cameras are used to map the vehicles with a cable running from the cars 12 for Humans
intended path. The packages are volt system to a charger built into the Notice that I used the word useful
securely locked within the cargo bay case to keep the drones and AEDs in the title above. As I have
and can only be opened by the batteries fully charged. All of the local mentioned many times over the years,
intended recipient. systems and fire department vehicles well-meaning designers have tried to
Starship Technologies has also are continually tracked via GPS and develop a robotic caregiver that would
partnered with Switzerlands postal locations are updated on an area map be the all-in-one device to care for
service, Swiss Post to test the delivery in a central computer. seniors and hospitalized persons.
robots in three locations across the When an emergency call comes When benevolent thoughts of
country including the capital, Bern. into 911 or the apps control center, developing a caregiver robot arise,
They want to see how effective the the central computer decides which people first think of help for disabled
robots can be at carrying goods over vehicle is closest to the site of the or hospitalized people and not for
the last mile of the delivery route. emergency and informs an operator to seniors living on their own.
call the vehicles driver. The driver then However, when a prospective
Combining Truck stops at a clear location, removes the designer begins to analyze the needs
drone from the enclosure, and allows that all disabled persons may require,
Delivery Drones it to take off and go to the site of the they quickly realize that no single
After studying Amazon and emergency whether that be an design can meet the unique needs of
Starships plans of increasing drone inaccessible area or just a rural or all disabled persons. On the other
range with the use of vans or buses urban home or work site. hand, a quick analysis will show that
and the CyPhy Works experiment, I I am envisioning a larger drone most seniors have all their functional
think it makes a lot of sense to use that might carry a small oxygen bottle physical capabilities, its just that these
the same technology with AED drone or a chemical oxygen generator and functions do not work as well as they
shipments. Of course, on-time delivery mask in addition to the AED, as well once did. This very large group of
of standard packages and pizzas is people needs physical assistance in
important, but not nearly as critical as daily living.
sending a life-saving AED to a remote With the best intentions in mind,
location. As Ive stated before, todays the best robot product results so far
drones have a critical endurance have been a passive robot that can
limitation due to battery capacity. If perform two-way communications
you increase the batterys capacity, with a doctor or other persons, and
the weight is increased and the deliver needed food, and medical
carrying capacity of the drone is supplies and/or medicine. The RP-Vita
reduced proportionally. So, absolutely, telepresence robot from iRobot and
one of the answers to this dilemma is InTouch Health shown in Figure 12 is
to shorten the drones travel distance a great example of a robot that has
by having another vehicle carry the proven its usefulness as a nurse or
drone to a point as close to the final doctors assistant in hospital
destination as possible. environments.
Lets suppose that the 911 Figure 12. Telepresence robot from InTouch Hospitals are very busy work
Health and iRobot gives doctors access to
emergency network has matured to remote patients. environments where any reliable
64 SERVO 12.2016
Carroll - Then & Now - Dec 16_Then & Now - Sep15.qxd 11/1/2016 6:56 PM Page 65
SERVO 12.2016 65
Nov16 Xmas 2for1.indd 66 10/3/2016 8:01:01 PM
WAVEFORM
ENGINEERING
ON YOUR DESKTOP
PicoScope PC oscilloscopes deliver the functionality of six traditional instruments in an all-inclusive package at a price
you can afford.