In January of this year we reviewed Texas Advanced Optoelectronic Solutions' (TAOS) Type TSL2550 sensor, an SMBus-equipped chip that could accurately measure ambient light. Since then, the company has rolled out its Type TCS230 RGB converter.
Somewhat like its predecessor, the power-managed TCS230 color light-to-frequency converter comes in a surface-mount package, and carries an industrial temperature-range rating. It combines configurable silicon photodiodes and a current-to-frequency converterall on one CMOS die.
In operation, the sensor's light-to-frequency converter reads an 8 × 8 array of on-chip photodiodes. Sixteen of these diodes have blue filters, 16 have green, 16 have red, and 16 are clear. All 16 photodiodes of the same color are connected in parallel. In use, the four colors are interdigitated to minimize the effects of the nonuniformity of incident light.
Pin-Selectable Diodes
Which type of photodiode the device uses during an application is also pin-selectable. In any case, on the sensor's output you get a 50 percent duty-cycle square wave whose frequency is directly proportional to the light intensity.
The relative frequency values of the sensor's divided outputs are 100 percent, 20 percent, and 2 percent, as stated in TAOS's press release. With division of the output frequency accomplished by counting internal pulses, the final output period represents an average of the multiple periods of the principle frequency.
The sensor's output frequency can also be rapidly scaled by one of three preset values via logic-level control pins. Fast scaling is a significant attribute of this device. It's accomplished by internally connecting the pulse-train output of the converter to a series of frequency dividers.
Rapid Scaling
The fact that you can do a fast frequency scaling is a nifty feature. It permits the device's output range to be optimized for different measurement techniques. For example, scaled-down outputs can be used where only a slower frequency counter is available, or where an inexpensive slow microcontroller is used, or where period-measurement techniques are taken rather than frequency.
The sensor's CMOS/TTL-compatible I/O also mean that you can interface this device directly to your controller or external logic. The device's Output Enable (OE) pin can also place the sensor's output in a high-impedance state (three-state) so that you can share a microcontroller's input line. Here's an example schematic of the TCS230 with the sensor module circuitry as implemented on the upcoming evaluation board.

click for full-size schematic
When I spoke with TAOS director of new product development Jack Berline, he indicated that the evaluation board that's mentioned in the press release was slightly delayed, as the company wants to put some finishing touches on it.
Slated to sell for about $150, the eval board will be equipped with a lens that will establish a field of view and depth of field for the sensor. The board will also include white LEDs as a light source.

Berline says the eval board will be bundled with a Board of Education BASIC Stamp board from Parallax, Inc. Note that TAOS has a working technology partnership with Parallax. "Several TAOS parts were good candidates to work with Parallax products," explains Berline. "When used with a BASIC Stamp, the TCS230's output frequency can be read using a Stamp's BASIC Count statement, for example."
Berline explains that the Parallax prototyping board will plug into a Parallax processor board, and thence into a PC's serial port. Host software will be provided to decipher the TCS230 sensor's RGB output, and then display the sensed color on a PC's screen. Most of the TCS230 chip's data and control lines will be accessible directly via BASIC Stamp port pins through a supplied AppMod adapter board. An exception is the sensor's active-low Output Enable line, which is decoded separately.
This system will be able to detect and measure a nearly limitless range of visible colors. "Applications include color edge-following robots, sorting by color, and color matching, to name just a few," says Berline.
Sound exciting? For more details, contact Berline at