Your electronics can now see in dazzling color with this lovely color light sensor. Adafruit found the best color sensor on the market, the TCS34725, which has RGB and Clear light sensing elements. An IR blocking filter, integrated on-chip and localized to the color sensing photodiodes, minimizes the IR spectral component of the incoming light and allows color measurements to be made accurately. The filter means you'll get much truer color than most sensors, since humans don't see IR. The sensor also has an incredible 3,800,000:1 dynamic range with adjustable integration time and gain so it is suited for use behind darkened glass.
Adafruit add supporting circuitry as well, such as a 3.3V regulator so you can power the breakout with 3-5VDC safely and level shifting for the I2C pins so they can be used with 3.3V or 5V logic. Finally, Adafruit specified a nice neutral 4150°K temperature LED with a MOSFET driver onboard to illuminate what you're trying to sense. The LED can be easily turned on or off by any logic level output.
Connect to any microcontroller with I2C and Adafruit's example code will quickly get you going with 4 channel readings. Adafruit include some example code to detect light lux and temperature that Adafruit snagged from the eval board software.
A detailed tutorial is here, check out Adafruit's Arduino library and follow Adafruit's tutorial to install. Wire up the sensor by connecting VDD to 3-5VDC, Ground to common ground, SCL to I2C Clock and SDA to I2C Data on your Arduino. Restart the IDE and select the example sketch and start putting all your favorite fruit next to the sensor element!
RGB Color Sensor with IR filter - TCS34725 (19:36)
- Weight: 3.23g
- Dimensions: 20.44mm / 0.8" x 20.28mm / 0.79"
- This board/chip uses I2C 7-bit address 0x29.
This product is listed in:
Documentation and Resources:
We deliver Australia-wide with these options:
- $3 for Small Items (4-6 days, not tracked, only available on selected small items)
- $6.95 for Standard Post (2-4 days, tracked)
- $8.32 for Express Post (1-2 days, tracked)
- Pickup - Free! Only available to customers who live in the Newcastle region
International Orders - the following rates are for New Zealand and will vary for other countries:
- $5.78 for Air Mail (3+ days, not tracked)
- $11.49 for Pack and Track (3+ days, tracked)
- $16.50 for Express International (2-5 days, tracked)
If you order lots of gear, the postage amount might increment based on the weight of your order.
Our physical address:
Unit 18, 132 Garden Grove Parade
Please checkout our customer service page if you have other frequently asked questions such as "do we do purchase orders" (yes!) or "are prices GST inclusive" (yes they are!). We're here to help - get in touch with us to talk shop.