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-10<br />

Infrared object<br />

detector schematic<br />

drawing.<br />

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

A simple infrared object detector consists of two infrared LEDs, a 40-kHz frequency<br />

generator, and a 40-kHz infrared receiver module. For robotic object detection<br />

applications, a modulated LED is mounted on both sides of the receiver<br />

module pointing slightly away from the receiver module. By alternating which<br />

side of the LED is active, you can determine which side the object is on.<br />

The schematic shown in Figure 13-10 is for a simple infrared object detector using<br />

a few common components. This circuit uses a single 74HC04 CMOS hex inverter<br />

to generate the 40-kHz modulated signal, and act as switches to turn on/off<br />

the modulated infrared LEDs. The potentiometer R1 is used to adjust the modulated<br />

frequency. When selecting the infrared LEDs and the infrared receiver module,<br />

make sure that they are both sensitive to the same wavelength.<br />

The two most common wavelengths are 880nm and 940nm. For the Sharp detectors<br />

that come inside a metal can, the metal case must be grounded to the rest of the<br />

circuit. Resistors R4 and R5 can be decreased in value to increase the range of the detector.<br />

To turn on the infrared LED, apply 5 volts to the particular LED signal line.<br />

To turn it off, ground the signal line. The output of the infrared receiver module is<br />

normally high at 5 volts. When it detects the proper modulated infrared light, the<br />

output voltage will drop to zero.<br />

The Sharp G1U52X and GP1U581Y series infrared receiver modules are the<br />

most common, and the Panasonic PNA4602M series infrared receiver modules<br />

are becoming more popular since they are less sensitive to visible light than the<br />

Sharp detectors, and they are less than half the size of the Sharp detectors.

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

Saved successfully!

Ooh no, something went wrong!