28.01.2013 Views

Build Your Own Combat Robot

Build Your Own Combat Robot

Build Your Own Combat Robot

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

FIGURE 13-7<br />

Mini sumo body<br />

assembly<br />

Chapter 13: <strong>Robot</strong> Sumo 287<br />

receives, at least until it is fully saturated. Because different colors absorb different<br />

amounts of infrared light, different colors will reflect different amounts of infrared<br />

light (surface texture will affect the amount of reflected light, and some materials<br />

allow infrared light to pass through).<br />

By placing an infrared detector pair near a surface, the infrared light from the<br />

infrared LED will reflect off the surface toward the infrared phototransistor. Because<br />

the amount of current that flows through the phototransistor is a function<br />

of the amount of infrared light it receives (reflected infrared light from the surface),<br />

this type of arrangement can be used to detect surface color changes. Figure 13-8<br />

shows you a simple schematic of this type of sensor. This circuit was first demonstrated<br />

in a mini sumo by Bill Harrison of Sine<strong>Robot</strong>ics.<br />

When the detector pair is over the black portion of the sumo ring, the signal out<br />

from the sensor is high. This is due to the 10 kΩ pull-up resistor and that the transistor<br />

is not conducting any current. When the sensor passes over the white sumo ring<br />

edge, the output signal from the detector pair will go low because the transistor is<br />

not conducting the current straight to ground. The potentiometer is used to adjust<br />

the intensity of the infrared LED, adjusting the sensitivity of the detector pair.<br />

The relative distances between the infrared LED, the phototransistor, and the<br />

surface will have an effect on the sensitivity of this circuit. The reflective sensors<br />

from Optek P/N OPB706A and QT Optoelectronics P/N QRD-1114 have both the<br />

infrared LED and infrared phototransistor built into a single small package. Both of<br />

these sensors operate well at distances from 0.04 to 0.20 inches from the surface.

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

Saved successfully!

Ooh no, something went wrong!