Warning: This is a 3.3V sensor. DO NOT connect DIRECTLY to 5V system!
The I2C color level sensor is a 5 pin CMOS device that provides accurate, reliable and fast color sensing. Gives 16-BIG intensity data on red, green, blue, and clear channels. The only connections that are needed are SDA, SCL, VCC, and ground. Using the SYNC pin to externally trigger the unit is optional. An interrupt pin is a programmable interrupt function with user-defined upper and lower threshold settings. The lower voltage use, coupled with the low energy dissipation makes this an ideal solution for mobile color level sensing applications where battery life is a concern.
This product has uses in many different fields:
• Digital photography
• Medical instrumentation
• Consumer toys
• Industrial/Commercial lighting
• Industrial process control
There are many features that set this product apart from the competition: this board works with 3V, meaning low power consumption; utilizing the TCS3414FN series IC, this board dissipates a very small amount of power (1 - 20 milliAmps); convenient I2C bus protocol; 16-bit resolution; analog-digital converters integrated into the chip; 400 KHz maximum frequency; internal or external triggering of unit via the SYNC pin settings; includes all pull-up resistors - no extra components needed.
• Breadboard compatible.
• Small form factor, 0.7" tall x 0.7" wide x 0.1" thick.
• 16-BIT resolution.
• Programmable Interrupt.
• SYNC Input Synchronizes Integration Cycle to Modulated Light Sources.
• 16 photodiodes, 4 have red filters, 4 have green filters, 4 have blue filters, and 4 have no filter (clear)
• Easy to use I2C interface.
• Low power dissipation for mobile applications.
• On board pull-up resistors.
• Low voltage (3V).
• 4 parallel Analog - Digital converters included in chip.
• 400 KHz maximum frequency.
• RGB channels can be read in one cycle, saving processor cycles.
• Power indicator LED.
• High quality, two layer PCB.
• Attractive blue PCB.
• Easy to read silkscreen.
Arduino example code:
Just connect this sensor to your Arduino or other microcontroller, making sure to use a 5V / 3.3V level shifter like I2C-TRN-V2
, if your controller only supplies 5V.For 5V Arduino, connect the following:
• 5V => 5V power side of level shifter (PIN8 on I2C-TRN-V2)
• GND from Arduino => GND on level shifter (PIN4 on I2C-TRN-V2); GND from Arduino => GND on I2C-COLOR (PIN6)
• A4 on Arduino => SDA on 5V side of level shifter (PIN6 on I2C-TRN-V2)
• A5 on Arduino => SCL on 5V side of level shifter (PIN7 on I2C-TRN-V2)
• SDA on 3.3V side of level shifter (PIN3 on I2C-TRN-V2) => SDA on I2C-COLOR (PIN3)
• SCL of 3.3V side of level shifter (PIN2 on I2C-TRN-V2) => SCL on I2C-COLOR (PIN1)
• 3.3V output from level shifter (PIN6 on I2C-TRN-V2) => 3.3V input on I2C-COLOR (PIN5)