There are no products in your shopping cart.
I2C-It IR Rangefinder
The Sharp GP2D12 is an excellent, well proven sensor. Its analog output makes it reliable and inexpensive, but a bit processor-intensive to use with a microcontroller. The DIRRS+ fixes this by letting you poll it for digital output in any of 3 methods.
But when you're using multiple sensors, you can quickly run out of I/O lines, or code-space to handle all the different sensors. Enter the I2C-It, a slave-mode I2C device!
The I2C-It lets you use the popular I2C / TWI (Two-Wire interface) to string up to 8 sensors on a single I/O line! And by simply changing the device address in your code, you can change which sensor you're asking data from.
Check below for code examples on how to use the I2C-It with your microcontroller.
Technical Data
| Parameter | Symbol | Rating | Unit |
|---|---|---|---|
| Operating Voltage | Vcc | 4.5 to 5.5 | V |
| Operating Temperature | Topr | -10 to +40 | C |
| Maximum Cable Length | CLmax | 35/14 | cm/in |
| I2C Clock Frequency | SCL | 100 | kHz |
| Bus pull-up Resistance | Rline | 1.2k to 10k | ohms |
| Required Current | Icc | 35 to 55 | mA |
Addresses
You can select any of 8 addresses on the I2C-It with simple solder-jumpers.
| Device Address | JP1 | JP2 | JP3 |
|---|---|---|---|
| 0x20 | 0 | 0 | 0 |
| 0x22 | 0 | 0 | 1 |
| 0x24 | 0 | 1 | 0 |
| 0x26 | 0 | 1 | 1 |
| 0x28 | 1 | 0 | 0 |
| 0x2A | 1 | 0 | 1 |
| 0x2C | 1 | 1 | 0 |
| 0x2E | 1 | 1 | 1 |

The I2C-It is configured to only read a single distance sample and return that result to you - it is not spending time watching multiple samples to average out the distance to the object. It is generally a good idea to request multiple samples from the I2C-It to make sure you're seeing what you think you're seeing, but that has been left up to you to decide. The I2C-It has been designed to give you back a single measurement, as quick as it can!
I2C-It Atmel C Code Example 16KB
I2C-It PIC-C Code Example 1.6MB
I2C-It PICAxe Basic Code Example 2KB
I2C-It Arduino/Freeduino SB Code Example 1KB
I2C-It BS2 Code Example 276KB
I2C-It Datacard (PDF) 141KB
I2C-IT Manual (.pdf) 135KB
.png)

