Home Robotics - Maker-Inspired Projects For Building Your Own Robots (PDFDrive) PDF
Home Robotics - Maker-Inspired Projects For Building Your Own Robots (PDFDrive) PDF
Daniel Knox
Everyone can enjoy building robots – it’s easy and great fun!
Start with our Basic Bots that use simple components, progress to
and with practice, you’ll soon be building the great Smart Makes
with confidence.
CONTENTS
INTRODUCTION 6
TOOLS GUIDE 10
COMPONENTS GUIDE 12
BASIC TECHNIQUES 15
BRISTLE BOT 18
A battery-powered vibrating motor transforms an everyday
nail brush into a crazy machine that will skitter energetically
around on your table top.
SQUIBBLE BOT 24
By attaching a couple of marker pens to an upturned drinks
cup, we can make a bot that produces mind-blowing scribbles
of its own accord.
BUTTERFLY BOT 30
Building on the techniques we learned in Bristle Bot, two
BASIC BOTS toothbrush heads are turned into a space-age butterfly that
skips along on its own.
PAGE 16
ROBO ROACH 36
Robo Roach is equipped with insect-like feeler sensors that
alert it when it encounters an obstacle and cause it to steer
away from the obstruction.
SPIRO BOT 48
This robot brings the Spirograph toy into the 21st century
as we build a machine that creates psychedelic patterns of
amazing variety.
02
AVATAR 58
This project introduces you to computer programming using
the JavaScript Blocks Editor to control the display on a
BBC micro:bit
SCUTTLE BOT 66
Scuttle Bot transforms a metal tin into a machine that moves
around under the control of a program on your mobile phone.
CATAPULT BOT 78
The Catapult Bot uses an infra-red motion sensor to activate
the catapult’s firing mechanism when movement is detected.
GARDEN GUARDIAN 88
SIMPLE ROBOTS Robotics comes to your aid with this brilliant little machine
that alerts your phone when a pot plant needs to be watered.
PAGE 56
WALKING ROBOT 98
This robot tackles a considerable technical challenge – how to
walk on two legs – and pulls it off with an ingenious solution.
really the only skill that you must have is a passion for making
01
In this book I will show you how to build a
number of different robots; some can walk, Basic Bots
others can draw and a few are inspired by Every roboticist must start
machines that help humans every day. As somewhere and there’s
you build these simple machines, you will no better place than using what’s readily
learn to put together electronic circuits, available around the home. This first chapter
write pieces of software and use various features a series of simple mechanical
tools to assemble the bots. Who knows, once robots that will hone your basic skills. These
you have got a taste for it, you may develop projects include Bristle Bot, Squibble Bot
into one of our star robotics engineers? and Butterfly Bot – a trio of vibration robots
that can skitter about. Robo Roach uses a
readily available chassis that can be adapted
to create an autonomous touch-sensitive
robot that finds its own way around, while
Spiro Bot can create amazing drawings on
its own.
6 HOME ROBOTICS
02 Simple Robots
Many robots use small electronic
devices to imbue them
with intelligence and precision control.
Programming can at first seem a little scary,
but in reality it’s just thinking about the
world in an ordered, systematic way. To
help you take your first steps into the world
of software, I will teach you a graphical
programming language that is simple to
learn. Every piece of software also needs
something to run on and so I have selected
the BBC micro:bit as our embedded platform
of choice. It’s extremely simple to upload
new programs to and has a lot of cool
sensors built in. With these simple programs
and the micro:bit, we will build a variety
of intelligent machines including Walking
Robot and Scuttle Bot that can sense and
interact with their environment.
INTRODUCTION 7
03 Smart Makes
Once you have mastered
the earlier projects, you
important rules to follow, but don’t worry – I
will teach you all you need to know and show
will probably want to take on something a you how to build a simple machine that can
bit more complicated. The three advanced be easily adapted and customized. If you
robots in this book have been designed to have access to a laser cutter, I have designed
give you the flexibility to expand and modify a template to help you get started with your
them as you see fit. They do require a few combat bot. If you don’t have access to one,
more tools and parts than the other robots, don’t worry – stiff cardboard works fine
but don’t worry – there is a simple step-by- too. I have also created a file complete with
step guide to help you build them. a step-by-step guide to help you configure
The first of them is a Robo Warrior your transmitter if you want to change the
designed for combat. Fighting with small robotic way the robot is steered. All the files can be
machines is a popular competitive sport that found and downloaded here: https://github.
is enjoyed around the world. There are a few com/danielknox/Robot_Warrior.
8 HOME ROBOTICS
The second project, CNC Writer, is a The real Mars Rover must rank as the
type of CNC (Computer Numerical Control) ultimate remote-controlled robot. The final
machine. In industry, robots are commonly project in the book shows how to build your
used to perform repetitive tasks over and very own machine that can roam about rough
over again with high precision. Finding the terrain. It is controlled from your mobile
parts for a CNC machine might sound really phone. At its heart, this robot uses a board
expensive, but everyday objects around the based on the popular Arduino platform –
home actually use similar components. So this board can easily be expanded to accept
for this project we will ‘go green’ and recycle additional sensors and there are also many
some old discarded electronics to build popular software libraries available to help
our own mini CNC Writer. This machine add new functionality. Arduino commonly
functions like and understands the same uses a text-based programming language
language (GCode) as its larger counterparts. known as ‘C++’. This programming is too
Like our other advanced projects, I have long and complex to be described in this
prepared the software files for you, so you book, so to keep things easy and fun for you I
just need to build the physical machine. The have already done the hard part!
files that you will need to go with our step- All the software that the robot needs can
by-step guide can be found here: https:// be found here: https://github.com/danielknox/
github.com/danielknox/CNC_Machine. Mars_Rover.
INTRODUCTION 9
Tools guide
Some basic tools and a few household items are all you need to
start building your own robots. Tools are also useful for doing
10 HOME ROBOTICS
Crimping tool Wire stripper Safety glasses
TOOLS GUIDE 11
components guide
Every robot featured in the book has a specific list of required
AAA battery holder with wires AA battery holder with wires Switchable AA battery holder with
wires
AA 4.5-volt battery holder with switch AAA switched battery holder for BBC Modified battery box
micro:bit
12 HOME ROBOTICS
20 AWG and 22 AWG stranded wire Ring electrical crimp terminals Terminal strip
Mobile phone vibrator motor 3-volt motor 6-volt geared robot motors with wheels
COMPONENTS GUIDE 13
DFRobot bipolar stepper controller DFRobot Romeo BLE PIR sensor
Bolts, nuts and washers Screws with nuts (e.g. socket head) 90-degree-angle L brackets
14 HOME ROBOTICS
BASIC TECHNIQUES
Step-by-step guidance is provided to show you how to build
each project in this book, but there are a few basic techniques
1. Plug in and heat up soldering iron 2. Tin the tip with a thin layer of solder 3. Apply tip of hot iron to solder
Rotary tool
1. Insert cutting disc and tighten 2. Grip item securely in vice 3. Cut part at correct angle
GLUE Gun
1. Plug in and heat up glue gun 2. Insert glue stick 3. Dispense hot glue
BASIC TECHNIQUES 15
01
BASIC BOTS
BRISTLE BOT
SQUIBBLE BOT
BUTTERFLY BOT
ROBO ROACH
SPIRO BOT
Start building!
Bristle bot
You don’t need many parts or any specialized tools to make
2 paperclips snapshot
1 nail brush Some Bristle Bots can become quite
1 3-volt motor fancy, with steering controls and
2 googly eyes high-performance brushes taken
1 terminal strip from electric toothbrushes; however,
1 piece of cardboard at their heart, all Bristle Bots are
generally built with the same basic
parts: a brush and a vibrating motor.
So, grab some bits and then let’s get
started with building our first robot.
retractable knife
tools
flat-head screwdriver
marker pen
engineer’s pliers
scissors
hot glue gun
BRISTLE BOT 19
1 Take the AAA battery holder
and wrap the exposed wire ends
around the 3-volt motor’s terminals – they’re
the bits that look like little brass ‘ears’ (A).
These types of motors don’t mind what
way around you wire them, so don’t worry
about which wire goes to each terminal. You
can use a soldering iron to secure the wires
A permanently in place, but twisting the wires
around the terminals works too. If you do
use a soldering iron, be careful as these tools
get very hot.
Take the 2
terminal strip
and use a knife to cut-off a
single segment; be careful as
the knife blade is very sharp.
20 HOME ROBOTICS
To fashion the 4
Bristle Bot’s
eye stalks, unbend one of
the paperclips so that it
is roughly straight. Now
create a small loop at one
end of the paperclip – the
loop does not need to be
perfect. At the opposite end,
form another loop, offset at
roughly 90 degrees to the
first. To neaten it up, use
the cutting edge of a pair of
pliers to remove any excess
wire. Repeat this step for the
second paperclip.
5 Take a sheet of
thin cardboard
and place the nail brush
upside down on top of it.
Hold the nail brush securely
in place while you trace
around it with a thick marker
pen. Lift the nailbrush off the
cardboard. Now use a pair
of scissors to cut around the
shape. The cut-out doesn’t
need to be perfect, but try
to make it roughly the size,
or slightly smaller than the
nailbrush.
BRISTLE BOT 21
6
You now have several parts that As the hot glue hardens quickly, you’ll need
we need to glue together in to work fast – don’t worry about completely
order to assemble the Bristle Bot. For the covering the cardboard with glue, a little bit
next step, it helps to place a large sheet of is fine! Put down the glue gun and press the
cardboard on the table that you are working sticky side of cardboard onto the nail brush.
on, to protect it from any hot glue that may Choose the side with the fewest amount of
drip. Plug in your hot glue gun and wait for bristles for this, otherwise your robot won’t
it to heat up; be careful as hot glue guns get have any legs!
very hot. When it seems to be ready, take a Next take one of the paperclips and using
glue stick and place it in the hole at the end the hot glue gun, attach one of the googly
of the glue gun. Pull the trigger and if the eyes to one of the looped ends, repeat this
glue comes out of the nozzle, you’re ready to step with the second paperclip. We’ve nearly
go. Be very careful as the glue remains very finished constructing the Bristle Bot.
hot for a while after it is dispensed.
Take the cardboard cut-out and using the
hot glue gun, deliver a bead of hot glue to
cover the edge and middle of the cardboard.
22 HOME ROBOTICS
Now take the 7
motor and
battery holder you assembled
earlier and glue these to the
top of the cardboard cut-
out; the terminal segment
should hang off one of the
long sides of the nailbrush A
(A). Place and glue the
AAA battery holder behind
the motor (B). Finally, glue
each of the eye stalks to the
cardboard, one on each side
of the motor.
B
How it Works
Insert an AAA battery into the battery holder and the motor should
begin spinning. When placed on a smooth surface, like a table-top
or tiled floor, the Bristle Bot should shuffle randomly about. Just be
careful that it doesn’t fall off your table. The bristle moves because
the terminal block unbalances the motor’s rotation, which in turn
causes a lot of vibration to be transmitted through the nailbrushes’
bristles. The minimal surface contact of the bristles with the smooth
surface means there is little friction, allowing the Bristle Bot to move
around easily. Normally motors vibrating in this way could pose a
serious problem, but in this case we need this vibration to make our
Bristle Bot move.
BRISTLE BOT 23
Squibble bot
In our last project, we used a vibrating motor to cause our
SQUIBBLE BOT 25
1 Plug in your hot glue gun and
wait for it to heat up. While it
is warming up, bend each pipe cleaner at
one end so that the bend is roughly 2.5cm
(1in) long.
When the glue gun is ready, insert a
glue stick into it. Dispense a small bead of
hot glue onto the back of each googly eye
and then attach the long end of each pipe
cleaner to it. You now have two eye stalks for
your robot.
BRAINWAVE
Protect your work surface by placing
a large sheet of cardboard on the
table that you are working on; this
will help to shield it from any hot
glue that may drip..
26 HOME ROBOTICS
3
B D
C
SQUIBBLE BOT 27
We now have all the parts we 5
need to assemble our robot,
so switch the hot glue gun on again and get
some spare sticks to hand – we are about to
do a fair bit of glueing.
First glue the AAA battery holder onto
the top of the plastic drinks cup; it should fit
neatly between the eye stalks that we stuck
on earlier.
6
How it Works
First place a large sheet of paper on a smooth
surface, such as a tiled kitchen floor. Hold the
robot in the air and insert an AAA battery into the
battery holder – the shaft of the motor should begin
spinning. When placed on the centre of the sheet
of paper the robot should begin to spin and skitter
about; make sure you’re ready to catch it before it
runs off the paper, as you don’t want the robot to
Next, glue the mark the table or floor.
motor onto the The robot moves because the motor is rotating
bottom of the cup. You want counter to the body of the drinks cup, and this
the hot glue stick cut-off causes the cup to begin to rotate. The glue stick acts
that’s on the motor’s shaft like a small wheel, its surface helps to provide grip
to rotate freely below the between the motor and the surface of the paper – it
bottom of the cup. also flexes slightly on the shaft allowing the robot to
It helps to use a small piece skitter around.
of sandpaper to roughen
up one side of the motor –
apply hot glue to the body of
the motor and then press it
onto the drinks cup.
28 HOME ROBOTICS
Finally take the caps off two or three whiteboard
markers and dispense a bead of glue along one side of
the body of each pen. Attach them to the drinks cup at a 45-degree
angle; the tip of each of the pens should come down to roughly the
bottom of our cut-off piece of glue stick. Space the pens evenly
around the body of the drink cup.
SQUIBBLE BOT 29
BUTTERFLY BOT
Our first Bristle Bot was cute, but it’s currently rather lonely. This next
BUTTERFLY BOT 31
1 Once your soldering iron has
reached the right temperature
it’s time to connect the two wires to each of
the terminals on the small phone vibration
motor. First ‘tin’ the exposed wire ends; use
the helping hands to hold the two wires and
then use the soldering iron to melt the solder
onto the exposed wires. Remove the wires
from the helping hands.
Grip the vibration motor in one of the
Plug in your soldering iron – be crocodile clips of the helping hands, so that
very careful as soldering irons you are able to work easily on the two small
get very hot (they need to be able to melt a metal terminals. Touch one of the terminals
soft metal). While it is warming up, use the with the tip of your soldering iron and gently
pliers to cut the wires of the AAA battery press one of your tin wire ends against it (A).
holder to a shorter length, leaving one wire When the solder melts, move your iron away
longer than the other. Strip the insulation to let the solder cool; once it does, you can
off the ends of the wire to expose a small stop pressing the wire against the terminal.
amount of bare wire. Repeat for the second wire.
32 HOME ROBOTICS
Put your battery and motor to 3
one side. Grip a toothbrush in
the drill vice so that the bristles overhang the
end of the vice. Insert a cut-off disc into the
chuck of your rotary tool. Put on your safety
specs and then plug the rotary tool into an
electrical outlet and set it to a high speed.
Cut off the end of the toothbrush using the
rotary cutter. (You don’t need to press down
hard on the toothbrush to make the cut, the
tool will do the work for you.) Repeat for the
second toothbrush.
4
brainwave
How your wings
look is entirely up
to you, so don’t be
afraid to experiment
with different lengths
of wire until you’re
happy with the way
they look.
Put the toothbrushes to one and cut it using the pliers. Form a loop with
side and unplug your rotary the enamelled wire, and twist the ends to
tool. We are now going to make two wings stop it unravelling (B). Cut another length of
for our bristle bot – this same process can wire and form a second smaller loop. Twist
be used to make wings for all sorts of toys. the ends of both loops together, and trim the
Unwind a length of wire from the spool ends with your pliers if that’s needed.
of enamelled craft wire (around 15cm/6in)
BUTTERFLY BOT 33
Use a brush to apply a small 5
amount of PVA glue to the wire
(not too much) and stick it down on a small
sheet of fantasy film – you may need to
press down gently on the wire to make sure it
sticks to the film. Be careful not to move the
wire around too much as the glue will smear
on the surface. Let the glue dry (this will take
a few hours). Once it has dried, use a pair of
scissors to cut around the wings – leave a bit
of excess film on the edges because it will
shrink and harden when it is heated. Repeat
steps 4 and 5 to make a second wing.
34 HOME ROBOTICS
7
We now have
all the parts to
assemble our robot. To do
this, plug your hot glue gun into
an electrical socket and let it heat
up. When it is ready, apply a small
amount of glue along the bottom of the
AAA battery holder. Attach the two toothbrush ends to
one end of the battery holder. Now use a small piece How it Works
of sandpaper to roughen up the flat surface of the Insert an AAA battery into
small mobile phone vibrator (this will help it to stick). the battery holder and the
Dispense a small amount of glue onto this surface and small motor should begin
attach the motor to the bottom of the AAA battery spinning. When placed on
holder (it should sit behind the two toothbrush ends). a smooth surface, such as
Flip the robot over and attach the two wings using a a table-top or tiled floor,
small bead of hot glue; you will have to support them the Butterfly Bot will start
while the glue is cooling. to shuffle randomly about
Finally, apply a small amount of glue to each of the – just be careful that it
two googly eyes and attach them to the front of the doesn’t fall off your table.
robot (away from the motor end!). A small bead can
also be added to give the Butterfly Bot a cute nose!
BUTTERFLY BOT 35
robo roach
Many robots use small computers known as microcontrollers to sense
reactive robot that only uses mechanical parts (so you don’t need to
1 AA battery holder
components
ROBO ROACH 37
1
38 HOME ROBOTICS
2 We are now going to wire the
motors to the battery and the
switches. The next few steps take some time
and are a little complicated, so it is worth
studying the picture on the left to understand
where the wires will be going.
Plug in your soldering iron and allow it
to heat up.
Cut a length of 3
wire, so that it is
long enough to run between
the two motors and expose
a portion of wire using a pair
of wire strippers. Loop the
wire strands around one of the
terminals on each of the two
motors.
Cut and strip another length
of wire, so that it is will reach
from one of the motors to
the front of the plate (around
10cm/4in). Loop its wires
through one of the terminals
that already has wire strands
wrapped through it and then
thread the other end through
a nearby hole in the chassis to
emerge on the front side of the
plastic plate. Solder all of the
wires to their terminals, so that
they are secure.
ROBO ROACH 39
4 Flip the plastic
plate over and
hold your AA battery holder
against it. Wrap the loose
wire end around one of the
positive terminals – this
type of terminal is the one
that looks like a spring. If
you wish you can solder this
wire in place, but be careful
not to melt the plastic. Once
you have done this, put the
plastic plate to one side for
the time being.
40 HOME ROBOTICS
5
ROBO ROACH 41
Look at each switch closely and Use the wire strippers to expose
you should see that each leg has the wires that connect to the
code letters above it: NC (Normally Closed), ‘NC’ terminal on both of switches. Twist
NO (Normally Open) and C (Connected). the two exposed wires together and use the
The reason for these three terminals is that soldering iron to solder the twisted pair of
terminal ‘C’ changes what it is connected wires.
to, depending if the switch is being pressed Flip the plastic chassis plate over and find
down or not. the terminal that is opposite to the one that
Take the wire running from one of the we soldered earlier (a non-sprung terminal).
terminals labelled ‘C’ and use the wire Melt a small amount of solder onto this
strippers to strip the non-exposed end of the terminal, but be careful not to metal the
wire. Loop this end around one of the non- plastic. Now solder the twisted pair of wires
soldered motor terminals. Repeat this step to this.
for the other switch, looping its wire around
the remaining motor terminal. Solder each
of these terminals.
42 HOME ROBOTICS
7 The remaining
wires from the
terminal marked ‘NO’ (A)
should now be stripped and
twisted together.
ROBO ROACH 43
9 Now solder this
A pair of wires
onto the remaining positive
terminal (the spring-like one)
of the AA battery holder (A).
That’s it! We have now
completed all of the solder-
ing. Time to unplug and put
away the soldering iron.
Plug in the 10
hot glue gun
and let it warm up. Flip the
plastic plate back onto its
underside so that you can
see the motors. Gently bend
the wires so that each of
the switches reaches the
curved edge of the motor
plate at the front of the bot.
The highest point of each
of the metal levers should
point towards the side of the
plastic plate that is nearest
to them.
Once the glue gun is
hot, glue each of the two
switches to the plastic plate.
44 HOME ROBOTICS
Flip the plastic plate over 11
and take the risers from
the magician chassis kit – they look
like long hexagonal pieces. Attach
these to the plastic plate, one in the
middle of the chassis and one on each
side – you should be able to imagine
drawing a triangle between these
risers.
12
Unbend each of the paperclips Once the glue has hardened, make sure
and form them so that they are that the switch is still able to toggle on and
shaped like insect feelers. Apply some hot off; if it doesn’t, use a knife to break away
glue to each of the switch levers and attach some of the hardened glue so that it moves
a ‘feeler’ to each one. Press down to make more freely.
sure the feelers are firmly attached.
ROBO ROACH 45
13
Take the wheels from the The remaining plastic plate can
magician chassis kit and slip now be attached to the metal
them onto the plastic mounts of each of the risers. Flip the robot over and place the
motors. You should also have a caster ball plastic plate on top of the risers. Adjust the
wheel in the kit (A); install this onto the back plate so that it is aligned with the bottom
of robot chassis (the end that is opposite the plate and then screw it into place. After all
switches). that hard work, our robot is complete!
46 HOME ROBOTICS
14
How it works
Remove the top plastic plate to insert some batteries into the battery holder – keep
a firm hold of the Robo Roach so that it doesn’t run away. Screw the top plate back
onto the robot. Put the roach onto a smooth floor – if it starts to drive backwards
you may have to swap the motors around! When the roach encounters an obstacle,
one of the motors should stop turning because the paperclip feeler will move and so
flip the switch temporarily to an off position. This causes the roach to turn. Much
like larger, more expensive robots, our roach’s sensor can only ‘see’ certain types of
obstacles; it should be fine when reacting to walls and objects with large surfaces,
but it might get tripped up by smaller thinner items, such as table legs.
ROBO ROACH 47
spiro bot
Our earlier Squibble Bot produced marks on paper, but the results
were fairly random. The robot that we are about to build has much
better drawing skills than our Squibble Bot and is able to replicate the
SPIRO BOT 49
1 We are now going to drill holes
into each of the lollipop stick
bundles, using the marks as guides. First
place one of the lollipop stick bundles into a
drill vice, so that it is held securely in place;
you don’t want to drill into the vice, so let it
overhang a little bit.
Set up the rotary multi-tool with a 1mm
drill bit; to do this, loosen the tool end of the
Take a lollipop stick and using a rotary tool, so that you can insert the drill bit
marker pen draw a small ‘X’ in into the collet (the gizmo that holds the tool
the middle of it. Make two other small marks in place), then retighten the nut. If the drill
at each end – you should leave enough room bit doesn’t fit, you’ll probably have to swap
for the 3mm drill bit to be able to make a the collet for a different sized one.
hole at the centre point of each mark. Take a Put on your safety specs and plug the
second lollipop stick and mark a small ‘X’ at rotary tool into an electrical socket. Set the
each end (no need for a mark in the middle rotary to a relatively fast speed and drill
of this one). into the wooden lollipop stick at one of the
marks – don’t force down hard on the drill
head as these tools are not designed for that
2 kind of use; just gently press down on the
lollipop stick.
When you are through the bundle of
sticks, stop the tool and repeat for the other
marked holes. The holes you have just made
are called ‘pilot’ holes – they help guide
larger drill bits. Once you have drilled the
first set of holes, replace the drill bit with a
Place the first lollipop stick on 3mm sized one. Repeat the process again,
top of two unmarked sticks and drilling each hole out neatly.
wrap some masking tape around them to
secure them tightly together; keep the tape
clear of the marks as you need to be able
see these. Do the same for the other marked
lollipop stick. You should now have two neat
bundles of sticks.
50 HOME ROBOTICS
3 4
SPIRO BOT 51
6
We are now going to make the middle holes should line up with each other.
‘scissor’ mechanism for our Spiro Fasten these together with a bolt, washer,
Bot. Take a 3mm bolt and put a washer on spring washer and a nut. Now attach this
it, then put this bolt through our clothes peg cross shape to the clothes peg mechanism
lollipop stick; start with the hole nearest the that we just made; overlap the holes and
clothes peg. Take another lollipop stick that then put a bolt, washer, spring washer, nut
only has two holes and put the bolt through combination through each of them. We have
one of its holes. Now add a spring washer nearly finished this step.
onto the bolt and finally a nut. Tighten the Finally take the two wheels that we drilled
bolt. The washer allows the mechanism holes into earlier and using a longer bolt
to move smoothly and the spring washer attach each wheel to the remaining holes
prevents the nut from loosening. All of our on our lollipop stick scissor mechanism.
holes will observe this same sequence: bolt, Tighten all of the bolts using a screwdriver.
washer, lollipop stick 1 and 2, spring washer We have now finished assembling the
and a nut. scissor mechanism – nice one!
Take the two lollipop sticks that have three
holes, and make a ‘X’ shape with them – the
52 HOME ROBOTICS
Put the two 7
6-volt motors
onto the edge of the sheet
of wood about 10cm (4in)
apart from one another. With
a marker pen, mark around
the edges of the motors.
SPIRO BOT 53
10 11
You will notice that the motors Reassemble each motor and put
do not lie flat on the wooden them back on the wooden plate.
surface because there is a white wheel mount Line the holes that you made in the board up
coming out of both sides. Although each with the mounting holes of each motor, and
side of the motor looks very similar, they are then put a 40mm bolt through each one and
actually subtly different – one has a small secure it in place with nuts underneath the
raised dome and the other side doesn’t. On board. Tighten these up, so that the motors
the side without a raised dome it is possible are held securely to the wooden board.
to pull the white mount off. Do this to each
of the motors. I find it helpful to take each
motor apart and gently use a screwdriver
to push up on the internal gears – the white
wheel mount should fall off.
How it Works
Put a sheet of A4 paper in front of the robotic arm, and make sure that the tip of
the pen still touches the paper when the arm is fully retracted (you can manually
turn the wheels to do this). Secure the piece of paper to your work surface using a
little bit of tape on each of the corners. Put two fresh batteries into the AA battery
holder and move the switch to its ‘On’ position. The arm will now begin moving
and producing a drawing. When you’re happy, switch off the Spiro Bot. If you wish,
you can move it to a new position on the paper and start it again – this can produce
some really cool-looking patterns.
54 HOME ROBOTICS
Plug in your soldering iron and 12
let it warm up. While it is doing
so, cut a short length of wire with the cutting
edge of the engineer’s pliers – the length
should be enough to stretch between the two
motors. Loop the wire through one of the
terminals on each of the motors and solder
it in place – if the motor terminals are facing
towards the wooden panel, it is possible to
remove the motor from the gearbox and
swap it round. Now take the AA battery box
and solder one lead to each of the remaining
motor terminals. You can now switch off the
soldering iron.
Take the scissor mechanism that you built earlier and slot the
wheels onto the mounting posts of each motor, the mechanism
should hang over the wooden board. Carefully open the jaws of the wooden
peg so that its able to grip a marker pen, adjust the pen’s position so that the
tip of the pen sits just slightly touches your work surface. Job done!
SPIRO BOT 55
02
SIMPLE ROBOTS
AVATAR
SCUTTLE BOT
GARDEN GUARDIAN
CATAPULT BOT
WALKING ROBOT
1 BBC micro:bit
components
snapshot
Microcontrollers give robots more advanced
functionality. They are like small mini computers.
While they’re not very good for familiar tasks like
browsing the internet, they are excellent at doing
or monitoring things repeatedly – they are brilliant
at this because they can perform these tasks
extremely quickly.
AVATAR 59
If you have ever used the programming language ‘Scratch’ at home or
at school, you should feel confident about the programming part of
these projects. If not, don’t worry as this project is all about guiding
you through writing your first program.
60 HOME ROBOTICS
3 4
AVATAR 61
Currently our ‘if true, then, 5
else’ block is incomplete. This
is because it doesn’t know what to check
to see if the statement is true. We want our
program to check whether our happiness
variable is less than ‘0’, which means we
wish to compare the value of happiness to
0. Click the ‘Logic’ tab again and drag in the
block ‘0 < 0’. It should connect to the ‘if ’ part
of our ‘if true, then, else’ block.
62 HOME ROBOTICS
7
brainwave
Our program now knows that we want to do Don’t confuse the A
something whenever we press button A or and B buttons with
button B, but it doesn’t know what. Click on the ‘Variables’ your keyboard letters.
tab again and choose the ‘change item by 1’ block. Drag You need to click on
and connect it beneath our ‘on button A pressed’ block. As the A and B buttons
before we are not interested in changing the value of ‘item’. on the micro:bit
So, click on ‘item’ and instead choose ‘happiness’ from the simulator screen.
dropdown box. Create another one of these blocks and
connect it beneath ‘on button B pressed’.
AVATAR 63
9
Our program is nearly complete. like the micro:bit to display. I went with a
We have a variable called ‘sad’ face. Try the simulator out and you
‘happiness’ that is initially set to 0 when the should find that the happy face changes when
program starts, and this can be changed by you press the button that was associated
pressing either button A or button B. We with the ‘change item by -1’ block; however,
also have a happy face on our micro:bit’s it currently doesn’t change back when we
LED screen. press the other button two times. To fix this,
To finish our program, let’s make just drag another ‘show icon’ block onto
something happen whenever our happiness the screen and attach it to the ‘else’ part
variable is less than ‘0’. To do this, drag a of the ‘if, then else’ block. Change the icon
‘show icon’ block from the ‘Basic’ tab and to anything you like. Now you should find
connect it to the ‘then’ part of the ‘if, then, that the simulator changes between the two
else’ block. Choose an icon that you would pictures when you press the buttons.
64 HOME ROBOTICS
10
How it Works
Congratulations, you have just written your very
first computer program. If you like, download
the program and copy it onto your micro:bit. If
you have a battery pack for the micro:bit you can
plug it in and show your friends away from your
computer. This is because when you download
your program from the Javascript Blocks Editor,
it is turned into something that your micro:bit
can understand and run. Your program gets
stored on a little bit of memory on the micro:bit.
Unless you delete it, it’ll still be there years from
now. Have a go at trying out some of the other
blocks in the Javascript Blocks Editor and watch
their effect on the simulator.
AVATAR 65
scuttle BOT
In this project, we will use some off-the-shelf motors, known
SCUTTLE BOT 67
Motors that are to be controlled from an electronic device
like the BBC micro:bit generally require additional pieces of
electronic circuitry to be able to switch them on and off, and
to change their direction. In this project, we will use a special
type of motor that is capable of precise movements – the
servo motor.
Clamp the
metal tin into
the drilling vice and position A
one of the continuous
rotation servos about a third
from the end (A). Mark the
position of the edges of
the servo on the tin using
a marker pen. Put a cut-off
disc into the rotary multi-
tool and, using the markings
as a guide, cut out a box to
allow the servo to fit into the
metal tin (B). Take care not
to make the cut-out too big
as the ‘wings’ of the servo
will be used to secure the
motor into place. Repeat this
step for the opposite side of
the tin. We also need to make B
a small square-shaped hole
in one of the top sides of the
survival tin – this should be
approximately 1cm (1/3in)
wide.
68 HOME ROBOTICS
2
B
A
SCUTTLE BOT 69
Servos need a 4
comparatively
large amount of current
(more than our BBC micro:bit
can provide) and roughly 5
volts to operate correctly.
We need to modify
a battery box so
that we are able to
run both the servos
and the BBC micro:bit at
the same time. First cut off
the connector from the AAA
battery box and use a pair of
wire strippers to expose a bit
of the bare wire on each of
the wire ends. Thread the
pair of wires
through the hole of the 4.5-
volt AA battery box.
70 HOME ROBOTICS
The remaining black cable needs
to connect to the middle spring
connector. It is possible to raise each of the
metal terminals slightly to allow this cable
to run along the bottom of the battery
compartment. By soldering the black A
cable to this connector, we are
connecting two AA batteries in
series to the power cable for the
BBC micro:bit. AA batteries measure
roughly 1.2 to 1.5 volts each, so two of
these in series will produce approximately
3 volts which is what the micro:bit needs to
operate. The other existing connector will
supply 4.5 volts to our servo motors. Solder
the black cable to the rear of the middle
spring terminal (A). As this has not been
soldered before, you might find it easier to
metal a little bit of solder onto this terminal
first, before trying to solder on the wire. The
finished job should look like this (B).
SCUTTLE BOT 71
8 8
Insert AA batteries into the battery box and close the lid. Now
apply a bit of double-sided adhesive tape to the top of the
metal tin and use this to attach the battery box to the tin. The battery box
wires should thread through the hole that we made earlier in the metal tin.
72 HOME ROBOTICS
Open the 10
lid of the tin
and, using the
crimping tool, crimp a ring
connector onto each of the
exposed wires of the battery
box.
11
SCUTTLE BOT 73
Finally connect each of the orange cables
from the servos to pad ‘0’ and ‘1’ of the
micro:bit respectively.
The hardware for our Scuttle Bot is now complete.
74 HOME ROBOTICS
13
We are now going to write a blocks under each of the ‘on gamepad button
basic program for our Scuttle A …’ blocks. One of the blocks under each
Bot to allow it to be controlled from a of the ‘on gamepad button A …’ needs to be
mobile phone. To enable the Bluetooth changed to P1 – this is because we want to
set of blocks, click on the ‘Add Package’ control both of our servo motors.
tab in the ‘Advanced’ options and choose Finally, we need to adjust the values
‘Devices’, accept the warning that we will of the ‘servo write pin … to 180’ blocks.
have to remove the ‘radio blocks’. Now Continuous rotation servos stop moving
click on the ‘Devices’ tab and drag two ‘on when set to 90; values below this to ‘0’ move
gamepad button A down’ blocks into the the servo in one direction and values above
programming area. Change one of the blocks this to ‘180’ move the servo in the opposite
to ‘on gamepad button A up’. direction. Set the values to ‘0’ and ‘180’ for
Now drag four ‘servo write pin P0 to each block beneath ‘on gamepad button A
180’ from the ‘Pins’ tab and put two of these down’ and set the value of the two blocks
beneath ‘on gamepad button A up’ to ‘90’.
14
SCUTTLE BOT 75
15
16
76 HOME ROBOTICS
How it Works
Unplug your BBC micro:bit from your computer and plug in the battery connections.
To control our Scuttle Bot we need two applications on our tablet or mobile phone –
the official ‘micro:bit’ app and the ‘micro:bit Blue’ app by Martin Woolley. Within the
official ‘micro:bit’ application, follow the instructions to pair your micro:bit with your
mobile phone or tablet. Once you have successfully paired your device, you can
now load the ‘micro:bit Blue’ application and choose the ‘dpad’ application. The left
gamepad should now let you control your Scuttle Bot. And away you go!
SCUTTLE BOT 77
CATApult bot
For this project, we will use an internal feedback loop to control
CATAPULT BOT 79
1
Cross two lollipop sticks to form Using five lollipop sticks, form a
an ‘X’ shape and wrap an elastic square shape (with two lollipop
band around the junction to secure the sticks sticks on one side). Use elastic bands
in place. Repeat this step with a second pair to secure each corner of the square – it
of lollipop sticks. helps to first wrap the elastic band around
each end of the stick and then around both
stick ends.
80 HOME ROBOTICS
Place your pairs of ‘X’ lollipop
sticks on each side of the square
and wrap an elastic band around their ends
to join them as illustrated.
CATAPULT BOT 81
Glue the cap of a plastic drinks bottle onto a lollipop stick to
form a firing arm. Install the firing arm on the catapult – the
bottom part of the lollipop stick needs to be placed in front of the stick
bracing the bottom part of the main frame. The top of the stick, near the
drinks bottle cap, needs to be positioned behind the lollipop stick that braces
the top part of the main frame. Now loop a rubber band around the bottom
of the firing arm and stretch this to the back of the catapult. Glue the entire
frame onto a piece of cardboard.
82 HOME ROBOTICS
Attach the servo to the servo 6
tester and plug the tester into
a 5-volt power source. Select the ‘neutral’
mode on the tester so that the servo’s arm
moves to the ‘90’ position. If you do not
have a servo tester, you can find this position
by rotating the actuator arm to each of its
extremes and then moving the arm to the
middle point.
83
We are now going
E A
to connect the
catapult pieces. Install the
+
PIR sensor into the lid of the
box and thread the battery and
servo cables through the holes
that we just made. Now connect
the red cable from the servo
to the red lead that is coming
in from the 4.5-volt battery
box (A); use a nut and bolt to
secure these in place and wrap B
a bit of electrical insulation C
tape around the connection to
prevent it from touching other D
parts of the robot. 9
Now tie the black and brown cables
from our servo, PIR sensor and battery box
to the ‘GND’ pad on the BBC micro:bit (B).
Connect the power cable (C) from the PIR
to the 3V pad on the BBC Microbit. Finally,
connect the yellow middle cable of the PIR
sensor to pad ‘0’ (D) of the micro:bit and the
orange cable from the servo to pad ‘1’ (E).
KEY
A 4.5v
B GND
C 3V
D PIR Signal
E Servo Signal
10
84 HOME ROBOTICS
11
12
CATAPULT BOT 85
13 Drag an ‘on pin P0
released’ block to
the programming screen (the
block can be found in the ‘Input’,
‘More’ tab). This means when
the state of that pin changes, our
BBC micro:bit will immediately
execute the blocks nested within
that statement.
86 HOME ROBOTICS
14
Brainwave
It’s possible to modify
this program with some
of the blocks we used
for Scuttle Bot. With a
little bit of ingenuity,
you can control the
catapult from your
mobile phone.
CATAPULT BOT 87
GARDEN GUARDIAN
In everyday life I’m not much good at keeping my house plants alive
GARDEN GUARDIAN 89
It’s common to use a variety of sensors to allow a robot
to respond to changes in its local environment. In this
project, we will use a sensor that allows our robot to
detect the amount of moisture that is present in soil –
a hydrometer sensor
90 HOME ROBOTICS
2 Lay the metal tin flat in a drill vice and
ensure that it is held tightly. Insert a cutting
disc attachment into your rotary multi-tool. Put on
your safety spectacles and plug in the rotary tool.
Using the cutting disc, cut a small slot into the
metal tin for each of the legs of the hygrometer
sensor – be extremely careful as cutting discs can
shatter or slip. Don’t put too much pressure on the
tool while it is cutting (lighter passes are better). It
is normal for sparks to be produced while you are
cutting into the metal tin. Once you have made the
holes, use a flat needle file to deburr the edges.
GARDEN GUARDIAN 91
5
While the metal tin
is still secured in
the vice, use the marker pen to
trace around the battery holder’s
power connector – make the
tracing on the opposite side to
the sensor holes.
92 HOME ROBOTICS
A
B
GARDEN GUARDIAN 93
Dismantle both Take the large 10
ballpoint pens toggle switch
to salvage their springs. and glue two googly eyes
Springs are extremely onto the front; hot glue or
useful devices as they can superglue is perfect for this.
apply a constant force to an The googly eyes can be glued
object; however, our Garden however you like; personally
Guardian doesn’t need them I like one of the googly eyes
for that. Instead, gently pull to be smaller than the other.
on each spring to make it a It looks wackier.
little longer. Put the springs
to one side.
11 11
A B
Then glue the toggle switch you trouble, use a little bit of sandpaper to
head to the top of the metal roughen the metal surfaces. Now flip the
tin (on the side opposite the moisture robot over and glue the battery holder onto
sensor). Attach each spring onto the sides its back (B). Our robot is now complete, but
of the metal tin (A). If the parts are giving we still need to program its brain.
94 HOME ROBOTICS
Start a new project in the 12
JavaScript Blocks Editor for
the BBC micro:bit. To start our program,
let’s drag a ‘show icon’ block underneath
the existing ‘on start’ block. The ‘show icon’
block can be found in the ‘Basic’ blocks
tab. Edit the ‘show icon’ block by clicking
on the default dropdown menu and select
whatever image you wish to use. I chose a
heart because I want my micro:bit to give a
representation of my plant’s health.
GARDEN GUARDIAN 95
Currently, our Garden Guardian will 14
display a small heart whenever our
plant needs watering – but what if I then water
my plants? Currently the small heart will remain.
To fix this, drag in a ‘on pin P0 pressed’ block
from ‘Inputs’ tab. This block will execute code
whenever the signal goes high on the pin P0, so
let’s put another ‘show icon’ block underneath this.
We will change its picture, so that it matches the
one that we have under the ‘on start’ block.
The software is now ready for our Garden
Guardian, so download the program that we
have just made onto the micro:bit by clicking
the ‘Download’ button and copying the file onto
it. If you are on a PC, this should be appearing
as a USB mass storage device – if you are on a
different platform, follow the guidance provided
by the BBC micro:bit website on how to do this.
How it Works
Switch on the battery pack and put the Garden Guardian into a plant pot. Open
the front of the tin and use a small flat-head screwdriver to adjust the little dial
(potentiometer) on the hygrometer breakout shield. This dial adjusts the threshold
at which the shield will emit a digital signal; keep adjusting this until the screen
changes from the full heart to the small heart picture. When this happens, irrigate
the soil with a little bit of water – you should find that the alarm stops and the LED
display switches back to the full heart picture.
This happens because the electrical resistance of the probes changes
depending on the amount of moisture in the soil. The small breakout board that is
connected to these probes is looking at the resistance and comparing it against a set
value (selected using the little dial). Depending upon the output of this comparison,
the breakout board may or may not emit a signal on the ‘digital out’ pin.
96 HOME ROBOTICS
Our Garden Guardian is
nearly ready to protect our
plants. So, let’s finish its assembly. Attach
the breakout shield (A) that comes with
the hygrometer sensor to the sensor
probes by using the spare
prototyping cables (it’s the
side with only 2-pin headers). On the other
side, attach a crimped cable to each of
the terminals labelled: VCC, GND (B) and
DO (C). The ring electrical crimp should
be bolted to the micro:bit terminals. VCC
goes to the terminal labelled ‘3V’ (D),
GND goes to the terminal labelled ‘GND’,
and DO goes to the terminal labelled ‘0’
(see diagram below).
Put the micro:bit into the metal tin
and attach the battery power connector
wire to the battery input connector on
the micro:bit (it’s the connector on the
top right). Our robot is now complete and
ready to protect our indoor plants.
B key
A Breakout shield
A B GND wire
C DO
D 3V/VCC wire
C D
GARDEN GUARDIAN 97
Walking robot
For our final intermediate project, we will construct a basic
4 servos
components
WALKING ROBOT 99
1
4
B
4
5
We now need to do the same for our other servo motor. Again,
use a ‘servo write pin P0 to 180’ block and adjust it to refer to
‘P2’. You will notice that instead of ‘90’ I have chosen ‘75’ as the value to
write to the servo. In your case, you might start with the value ‘90’, but if
on start-up you find that your walker immediately tips over, be prepared to
tinker with this value.
Follow this block with a ‘pause’ block and set its value to 5000 – this way
our robot should wait for five seconds before attempting to walk; giving us a
chance to make sure the initial setup of our walker is right.
brainwave
If the walker is really
struggling to maintain
its balance, even
when it’s turned off
and the servos are in
their neutral position,
a small weight on
each foot can help to
counterbalance it.
that contestants would build large fighting robots and let them battle it
out in an arena. This may seem technically very difficult to do, but this
project shows you how to build a robo warrior from simple components.
drill vice
tools
Key
A Continuous rotation servo
B HK-T6A receiver
50mm (2 inches) C NiMh battery
D R/C switch
E Holes for zip ties
We are now going to attach the servos that will provide our robot
with motion. To do this, attach both continuous rotation servos
to the back of the plastic plate (annotated A on the diagram opposite) using
hot glue. The servos should sit on either side of the R/C switch. Continuous
rotation servos are simple to work with, but many more experienced
roboteers use small metal gear motors with higher rpms (they make the
robot move faster).
Channel 2
Channel 3
8
Referring to the diagram on page the continuous rotation servos into channels
114, position the NiMH battery 2 and 3 of the receiver board, the 9g servo
(annotated C) and receiver board (annotated into channel 1 and finally the output of RC/
B) on the plastic base and secure these in switch cable into row 7 – this was labelled
place with zip ties (annotated E). If you are BAT when the casing was in place. Tidy the
using a bit of plastic, you can hot glue the wires up into bundles using zip ties.
receiver and battery pack in place. Now plug
Channel 4
10
120
11
13
How it Works
We are now ready to operate our tiny antweight
robot. First charge the NiMH battery using an
appropriate battery charger. Once charged, plug the
battery into the R/C switch input. When you are
ready to do battle, switch the robot on and turn on
your transmitter. Although our robot moves about
fairly slowly, it can push something quite powerfully
(C). The onboard weapon will help you flip over E
opponents (D), but it takes some skill to self-right
yourself with it if you turn over (E). At the end of
your fight or practice session, don’t forget to switch
off the robot using its R/C switch.
soldering iron
tools
Brainwave
CDROM/DVD drives can be easily
picked up at bootfairs for a few pounds
each; there’s a little bit of variation
between different brands, but all are
basically very similar.
Now that we 4
have identified
the pairs of windings, solder
wires onto each of the
contacts. You can solder
onto the ribbon cable if
you like, or directly onto
the motor solder joints. It
is important that the solder
joints and wires do not We will be assembling the CNC frame using
bridge – this can be a little aluminium extrusion. The particular type used
fiddly and it helps to have here is known as Makerbeam; which gives us a tiny 10mm
pre-tinned wires. Once the x 10mm profile; we will also use special square bolts and a
wires are on, it’s a good idea nut driver to tighten the components. Each CDROM/DVD
to label each cable with the drive is a little different, so you must first look carefully at
motor and pair number. each drive to work out how best and where to mount it to
the extrusion.
First slip two 25mm (1in) square bolts into a groove of a
150mm (6in) piece of extrusion. Secure these bolts in place
with a M3 nut. Repeat this step.
6 7
12
It’s time to install the electronics
into our CNC machine. First
A mount the dual bipolar stepper motor
controller shield onto the Arduino Uno (A).
The sprung terminals should face towards
the USB connector on the Arduino Uno.
135
Attach the motor wires to the that step matters! One pair should go to the
dual bipolar stepper motor terminals marked 1A and 1B and the other
controller; the X axis (top drive) wires pair of wires should go to 2A and 2B. If you
should go to the terminals marked for the get these wrong, the motor will not move.
X axis and the Y axis (bottom drive) wires Never unplug the stepper motors from
should go to the terminals marked for the Y the driver when it is powered, this can
axis. Remember that we marked the pairs of damage the controller board.
windings near the beginning? This is where
18
How it works
Plug the 9-volt power supply into the terminals marked ‘VCC and
GND’ on the motor shield, VCC is for the positive cable and GND is
for the negative lead. You must make sure you get the polarity right
before plugging it into the shield. I like using a multimeter in ‘volts’
mode to confirm this. Put one probe on each wire and read the
voltage on the meter, if there’s a little negative symbol, you probably
have the wires around the wrong way.
Using CNC machines is a bit more complicated than working with
our other robots, so I’ve put together a little guide on the same page
from which you downloaded the software; follow this and before
long you will be confident in CNC control.
tools
6 45-degree-angle MakerBeam bracket lead-free solder
M3 square head set bolts x 6mm (pack of 250) drill vice
M3 square head set bolts x 25mm (pack of 25) snips
4 M3 hex brass standoff spaces 3mm nut driver (5.5)
M3 stainless steel plain nuts (pack of 250) wire strippers
M3 washers (pack of 10) rotary multi-tool
6 MakerBeam – 100mm (4in) long black anodized beam cordless drill with 5mm
2 MakerBeam – 150mm (6in) long black anodized beam and 3mm drill bits
project box (approx 190 x 110 x 60mm/7½ x 4½ x 2½in) marker pen
zip ties mobile phone or tablet
5mm threaded rod – 300mm (12in) length with wifi
6 M5 stainless steel plain nuts superglue
DFRobot Romeo BLE all-in-one microcontroller retractable craft knife
6 6-volt geared robot motors with wheels (only required for
22 AWG spool of stranded wire solar panel)
NiMH 9.6-volt 1800mAh 8 cell AA battery pack
NiMH battery charger with Tamiya mini battery
connector
Tamiya mini battery connector
(see page 150 for solar panel components)
A
B
We are now going to modify (about 15mm/½in away). Drill both holes
the project box to allow us to using a 5mm drill bit in a cordless drill (A).
install the controller board and the rocker- Repeat this step on the opposite side of the
bogies on it. First mark the centre of the box (B). We want the middle holes to be
project box, roughly 10mm (¼in) from the closely aligned as the axle will run through
top. Mark a second hole adjacent to this them.
11
Flip the project box over and place the controller board on top.
Mark out the location of each of the mounting holes onto the
project box. Use the cordless drill and a 3mm drill bit to drill out each of the
mounting holes.
15
Use a rotary multi-tool with a
cut-off blade to trim the excess
threaded rod.
300mm (12in)
cutter, but many school workshops have
one of these!
100mm (4in)
black vinyl (300 x 300mm/12 x 12in
25mm (1in)
sheet)
150mm (6in)
18
21
HOW IT WORKS
We are now ready to power up our Mars Rover robot. First charge the NiMH battery
using an appropriate battery charger. Once it is ready, plug the NiMH battery into
the robot. You should now be able to connect to it using a mobile phone or tablet
device. If you are on an Android device, install the app ‘Bluno Remote’, on IOS
select the ‘GoBLE’ remote controller app.
Once installed, pair your device with the Mars Rover using Bluetooth LE – the
pin is ‘000000’. You should now be able to start the appropriate app and control
your Mars Rover with it. If the wheels are spinning the wrong way (so the robot isn’t
moving), swap the wires around – you want the wheels on each side to rotate in the
same direction.
If you do this, make sure you unplug your robot before swapping around the wires.
You should be able to operate the robot for around 15 minutes; after that (or once
you are finished) unplug the NiMH battery from the robot and recharge it. Don’t
forget it and leave it plugged in or you will drain the battery.
INDEX 159
stepper (see DFRobot) rotary multi-tool 15, 33, 50–53, 68, 83, techniques, basic 15
mobile phone, vibrator 13, 31, 35, 91–92, 116, 151 terminal strip 13, 19, 20, 158
158 rover vehicle 9, 142–157 threaded rod 14, 143, 150–151, 158
multimeter 10, 89, 93, 127, 129, 141 rubber band (see elastic band) toggle switch 89, 94, 158
multi-tool, rotary 11, 31, 49, 50, 53, tools guide 10–11
67–68, 79, 83, 89, 91, 92, 113, 116, S toothbrush 18–23
143, 151 safety glasses 11, 31, 33, 49, 50, 53, 89, transmitter 8, (see also Hobby King)
91–92
N sandpaper 25, 28, 31, 35, 94 U
nail 25, 27, 158 scissors 19, 21, 31, 34 USB cable 59, 113, 121
nail brush 19, 21, 22, 23 screwdriver
needle file 67, 89, 92, cross-head 10, 37, 49, 53 V
NiMH battery and accessories 12, flat-head 10, 19–20, 49, 52, 54, 70, vice, drilling (see drilling vice)
113–114, 118, 125, 143, 157, 158 89, 96, 113, 118, 127 vinyl, sheet 152, 158
nut driver 10, 127, 130, 133, 143, 144 screws 14, 20, 67, 79, 99, 128, 150
nuts 14, 38, 49–50, 52, 54, 67, 73, 79, Scuttle Bot 7, 66–77 W
84, 89, 92, 99, 103, 143, 150–151, 158 servo (see motor) Walking Robot 7, 98–109
servo tester 13, 79, 83, 99–100, 158 washers 14, 49, 52
P Simple Robots 7, 56–109 spring 49, 52
paper 25, 28, 49, 54, 134 Smart Makes 8–9, 110–157 WiFi 143
paperclip 19, 21, 22, 37, 45, 47, 53 snips (see precision snips) wire
pen socket head 14, 67, 79, 99 craft, enamelled 31, 33
ballpoint 89, 94, 134 software 6, 7, 9, 90, 96, 121, 123–124, stranded 20 AWG 36–47, 48–55
marker 10, 19, 21, 25, 29, 49, 50, 138–139, 141, 154–155, 157 stranded 22 AWG 126–141, 142–157
53–55, 67–68, 79, 90–92, 113, soil hygrometer sensor 88–97, 158 wire strippers 11, 31, 37, 42, 67, 69–70,
127, 143 solar panel 143, 152–153 79, 83, 89, 93, 99, 127, 143
pipe cleaners 25, 26 wheels 13, 37–38, 46, 49, 51–55, 113,
PIR sensor 14, 79, 83, 84, 87, 158 soldering iron 11, 15, 20, 27, 31–32, 37, 119, 143, 148, 157, 158
pliers, engineer 10, 19, 21, 31–33, 49, 39, 40, 42–44, 49, 55, 67, 70–71, 127, wood 49, 53–55, 114, 158
55, 89, 93 129, 130, 143, 147, 158
precision snips 10, 83, 127, 143 SPDT momentary switch with long lever
programming 7, 9, 58–65, 67, 75–76, 13, 37, 39, 40, 42–44
85–87, 105–109, 138–141, 154–157 Spiro Bot 6, 48–55
project box 14, 79, 83, 85, 99, 143, Squibble Bot 6, 24–29
150–152, 158
power supply, 9v 26–141 T
Tamiya battery and accessories 143,
R 150, 158
ring electrical crimp terminals 13, 67, tape
69, 73, 79, 83, 89, 93, 99 double-sided adhesive foam 67, 72
Robo Roach 6, 36–47 insulation 73, 79, 84, 92, 99, 104, 158
Robo Warrior 8, 112–125 masking 49, 50, 54