Pololu's new IR beacon (infrared beacon) is an updated version of their original IR beacon. Like the original unit, the devices are transceivers meant to be used in pairs to give robots a simple means for detecting each other. You can use the beacons to build pairs of robots that interact or chase one another, or to make a robot that can identify and return to a home base. For example, you could build a "cat robot" and "mouse robot" that each have an IR beacon, where the cat chases the mouse and the mouse runs away from the cat. The beacons are ideal for autonomous robot contests in which robots compete in pairs.
The new IR beacons feature round PCBs with six wide-angle emitters to provide uniform broadcasting in all directions. The operating voltage range has increased to 6 - 16 V, and on-board voltage monitoring enables a more consistent output brightness over the voltage range. Most components are pre-assembled, so all you need to solder is the capacitor, connectors, and sensors (make sure you solder them in from the bottom of the PCB!).
Note: The Pololu IR beacon is a kit; before using it, you need to assemble the beacon by soldering its components onto its circuit board. To use the kit in robotics projects, you need to connect it to your own robot controller. Please note that the IR beacons only work in pairs and that certain kinds of artificial lighting (e.g. some fluorescent lights) can interfere with the sensors.
- PCB size: 1.35" circle
- IR modulation frequency: 56 kHz
- Output refresh rate 20 Hz
- Detection range: 6 inches to 20 feet
- Supply voltage: 6-16 V
- Data voltage: 5 V
- Number of IR detectors: 4
How the IR Beacons Work:
(The following animations show the old IR beacon, but the operating principle is the same in the new, round units.)
The beacons work by transmitting and detecting infrared light, much like a television remote control. Each beacon has four IR emitters and four IR detectors. The beacons alternate between transmitting and receiving so that they never get confused by reflections of their own transmissions.
The transmit and detect cycle is carried out more than one thousand times per second, and a small microcontroller monitors all four detectors to decide the direction to the other beacon. The beacons have four red LEDs that indicate the direction to the other beacon; if you take two beacons and rotate them, the LEDs will always keep lighting up in the direction of the other beacon.
Interfacing to the beacon is simple - it has four digital outputs that indicate which of its four sides detects the other beacon the strongest. You can establish the direction to another beacon to within a few degrees by rotating the beacon back and forth and noting the point where the output switches from one side to another. An enable input lets you select between active mode and a low-power mode.
IR Beacon Development Kit (Transmit-Only Beacon):
In response to customer requests, the IR beacon is available as just an assembled PCB with no IR sensors or firmware. This item is intended for advanced users who want to customize their IR beacon functionality by writing their own firmware. The main processor is a Microchip PIC16F630, and the PCB includes a footprint for a 5-pin header compatible with the PIC kit 2 programmer. The schematic is shown below and is the only documentation shipped with this IR Beacon Development kit:
It is important to note that the IR beacon achieves its brighness by pulsing the IR LEDs with very high currents; turning on the IR LEDs continuously will burn them out. When testing the IR beacon, a digital camera can be useful in determining whether the IR LEDs are on. However, some cameras (usually more expensive ones) have better filters that block IR. In the picture below, a point-and-shoot camera shows the IR LEDs shining (in purple) but the DSLR with which the picture is taken does not show the LEDs.
- Do the IR beacons work outside? Not really. Because the IR beacons are based on light, brighter ambient conditions will result in a lower operating range. Outdoor applications also usually require longer ranges, and the maximum range of these IR beacons is about 20 feet (indoors).
- Can I add IR filters to prevent interference from fluorescent lights? The IR sensor modules already include IR filters. The problem is that some types of fluorescent lights emit the same kind of IR as the beacons use (same light wavelength, same modulation frequency), so there's not much you can do about it. Sometimes, shielding the sensors from direct view of the lights can be enough to make things work (that's why they are on the bottom of the PCB).