
This is a book about creating robots with the LEGO
MINDSTORMS
Robotic Invention System (RIS)
. If you've always dreamed of building and programming your own robots, this is your
big chance—the RIS set makes it easy to get started. There are a lot of enthusiastic RIS owners out there already: other people have built robots that pick up empty soda cans; robots that seek light;
robots that play tag; walking robots with two, four, six, or even eight legs; robots that can be controlled over the Internet; working computer peripherals like a plotter and an optical scanner; and
robots that simulate a Tsunami and a tornado.
∗
You can build anything you can imaging. RIS gives you a chance to breathe life into LEGO creations, making them move and respond to their
surroundings. You can create a tank that scurries into the dark, or a monorail car that traverses your living room on a string. You can create robots that hop, walk, and drive around with a mind of
their own.
Furthermore, by owning the RIS set, you become part of a worldwide community of enthusiasts. The RIS set is a common ground for building robots; if you build something cool, other people
will be able to build it too. Similarly, you can build and modify other people's creations. LEGO bricks, therefore, are a kind of
lingua franca
for mechanical design.
You have many options when it comes to building and programming robots. LEGO bricks, of course, can be assembled in many different ways. Part of this book is about building robots; it
includes five projects that you can build yourself. But you also have lots of options for programming your robot. Aside from the "official" software that comes with RIS, the inventive
MINDSTORMS community
∗
Internet links to pictures of some of these robots are included in the "Online Resources" section at the end of this chapter.
Page 2
has produced a bevy of other options. The most important ones are described in this book.
This chapter describes the basic concepts of robotics and creates a backdrop for the MINDSTORMS product line. I'll also cover different approaches to programming mobile robotics. Finally, I'll
describe the RIS set itself. If you're in a hurry to start building something, skip ahead to Chapter 2,
Hank, the Bumper Tank.
What Is a Robot?
A robot is a machine whose behavior can be programmed. This is a broad definition—it includes things like VCRs and microwave ovens, a far cry from the talking androids you might be thinking
of. Robots have five fundamental components:
1. A
brain
controls the robot's actions and responds to sensory input. Usually the brain is a computer of some kind.
2. A robot's
body
is simply the physical chassis that holds the other pieces of the robot together.
3.
Actuators
allow the robot to move. These are usually motors, although there are many other possibilities, such as hydraulic pistons.
4.
Sensors
give a robot information about its environment. A touch sensor, for example, can tell a robot that it has come in contact with something else.
The last component is not always obvious:
5. A
power source
supplies the juice needed to run the brain, actuators, and sensors.
For example, think about a robot that spraypaints cars in a factory. Its brain is probably a garden-variety desktop computer. The body is a big arm with a paint sprayer at the end. The actuators are
motors or pneumatic pistons that move the arm around. Position and rotation sensors are used so the robot knows where the sprayer is and what direction it's pointing. The whole thing is plugged
into a wall socket for power.
Mobile Robots
Mobile
robots present special challenges. These robots can move their bodies around from place to place. Why is this capability difficult? Many more things can go wrong if your robot is free to
move around rather than being bolted to one place. Being mobile multiplies the number of situations your robot needs to be able to handle.
Summary of Contents for MINDSTORMS Robots
Page 22: ...Page 18 The back tread wheels are anchored to the shafts with the 16t gears ...
Page 23: ...Page 19 Page 20 Next start building support for the drive motors ...
Page 26: ...Page 23 The touch sensors are attached only by the shaft that runs through them ...
Page 41: ...Page 41 ...
Page 43: ...Next build the support for the light sensor ...
Page 80: ...Page 85 Make sure the bump on the long pin is up against the 4u beam ...
Page 82: ......
Page 84: ...Page 89 ...
Page 85: ...Step 14 is similar to Step 11 take a deep breath and go slowly ...
Page 87: ...Page 91 ...
Page 88: ...Page 92 Make sure that the two sides are at the same angle They should mirror each other ...
Page 89: ...Page 93 Page 94 ...
Page 90: ...Structural Support Page 95 ...
Page 91: ...Idler Wheel Page 96 ...
Page 92: ...Page 97 Drive Motor ...
Page 93: ...While you re putting the motor in hold on to the worm gear so it doesn t slip off Page 98 ...
Page 94: ...Grabber Arm Motor ...
Page 95: ...Page 99 ...
Page 96: ...Page 100 RCX Attach the RCX on both sides as shown Page 101 ...
Page 158: ......
Page 159: ...Page 175 The 16t gears are nestled inside the tread wheels ...
Page 160: ...Page 176 ...
Page 161: ...Page 177 Attach the motors to output A and output C as shown Page 178 ...