COLOR is color recognition unit integrated TCS3472. Like its namesake, COLOR is able to detect color value and return RGB data to the host.
Identify color principle:
In the TCS3472, a 3*4 array of filtered photodiodes and a 16 bit analog-to-digital converters are embedded. Of the 12 photodiodes, 3 have red filters, 3 have green filters, 3 have blue filters and 3 have no filter(clear).
When detecting the color of an object, TCS3472 returns data from four channels: red(R), green(G), blue(B) and clear(C)(non-filtered). The response from the red, green and blue channels (RGB) can be used to determine a particular source’s chromaticity coordinates (x, y).
This Unit communicates with the M5Core via the GROVE A interface(I2C). Address is 0x29.