28.01.2013 Views

Build Your Own Combat Robot

Build Your Own Combat Robot

Build Your Own Combat Robot

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

286 <strong>Build</strong> <strong>Your</strong> <strong>Own</strong> <strong>Combat</strong> <strong>Robot</strong><br />

left or right, an elevon/v-tail mixer can be placed between the R/C receiver and the<br />

R/C servos. The mixer can be obtained at most hobby stores.<br />

At this point, you will be ready to compete in any remote-control mini sumo<br />

contest. An interesting thing to note: the bot you’ve just built is functionally the<br />

same as a two-wheeled BattleBots-type machine. The mini sumo is just a micro<br />

version of a two-wheeled BattleBot, and it will drive the same way.<br />

Autonomous Mini Sumo<br />

Edge Detector<br />

Autonomous mini sumos are probably the most exciting ones to make. The primary<br />

difference between the autonomous mini sumo and the remote-control mini<br />

sumo is that the autonomous mini sumo runs completely on its own. How well it<br />

performs depends on how well the software is written, how well the sensors work,<br />

and how well your opponent’s autonomous bot works.<br />

The main component of an autonomous mini sumo is the microcontroller<br />

that is used for the bot’s “brain.” The next question that comes up is which<br />

microcontroller to use. The fastest way to start a microcontroller holy war is to<br />

ask a room full of bot builders, “What’s the best microcontroller?” You will get<br />

as many different answers as there are people in the room. There really is no best<br />

microcontroller, because they will all work. They all have their advantages and<br />

disadvantages. In our opinion, the best microcontroller is the one that you are<br />

most comfortable with. The examples in the following sections will use a Basic<br />

Stamp 1 from Parallax, Inc. (www.parallaxinc.com). The Basic Stamp 1 was selected<br />

because it’s a good microcontroller; it is relatively easy to learn how to<br />

use; and, most of all, it has been proven to be an effective microcontroller on<br />

champion mini sumos.<br />

The absolute minimum capability that an autonomous mini sumo needs is the<br />

ability to detect the edge of the sumo ring so that it doesn’t run out of the ring on its<br />

own. There are many different ways to detect the edge of the sumo ring. The two<br />

more common ways are to use either mechanical contact switches or optical<br />

color-detection switches. If the switches and software work correctly, there really<br />

is no advantage to using one or the other. Some mini sumos use a combination of<br />

both mechanical and optical switches. This section will talk about how to implement<br />

an optical-edge-detection switch.<br />

One method that can be used to detect the edge of a sumo ring is to use an infrared<br />

detector pair. This consists of using an infrared phototransistor and an infrared<br />

light emitting diode (LED). Because the edge of the sumo ring has a white band<br />

around the perimeter, the infrared detector pair can be used to detect the color<br />

change as the sensor passes over from the black surface to the white surface.<br />

The basic theory behind this approach is that the amount of current that flows<br />

through an infrared phototransistor is a function of how much infrared light it

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!