Data Sheet

Core Spartan Documentation Modern Robotics, Inc
Version 3.0.3 Page 49
9.5. IR Locator 360 (45-2009)
The IR Locator 360 is a 360° infrared detecting sensor. There are 4 IR photo diodes that
are arranged to provide an accurate reading of the IR source. The sensor provides 600Hz
and 1200Hz readings that produce results at a resolution of 5°. The frequencies are
channels that the IR Locator 360 uses to tell the difference between IR emitting sensors.
The IR Locator 360 has a range out to 10 feet (3m). Refer to the IR Locator 360 example
folder for more information on different implementation methods.
http://modernroboticsinc.com/ir-locator-360
Default I2C Address = 0x1C
Arduino I2C Address = 0x0E
IR Locator 360 functions:
CORE_LOCATOR_360(int address)
int getHeading(int setting)
int getIntensity(int setting)
CORE_LOCATOR_360(int address)
Save the I2C address for future reads and
writes. This must be done before setup().
CORE_LOCATOR_360 locator;
…or…
CORE_LOCATOR_360 locator(0x0E);
int getHeading(int setting)
Return the location of the IR source in 5° increments with zero being the
opposite direction of the I2C cable. The parameter setting refers to the
frequency at which the user wants to read. The user can enter 6 or 600 for
600Hz and 12 or 1200 for 1200Hz.
int value;
value = locator.getHeading();
…or…
Serial.print(locator.getHeading();