The color sensor module is based on the TCS34725 chip.
TCS34725 M5STACKDescription
Color is a color recognition unit based on the integrated TCS3472 chip.
Color identification principle:
The TCS3472 integrates a 3x4 array of filtered photodiodes and a 16-bit analog-to-digital converter. Of the 12 photodiodes, 3 have red filters, 3 have green filters, 3 have blue filters and 3 have no filter (clear).
M5Stack TCS34725
The TCS3472 integrates a 3x4 array of filtered photodiodes and a 16-bit analog-to-digital converter. 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, the TCS3472 returns data from four channels: Red (R), Green (G), Blue (B), and Clear (C) (unfiltered). The response of the Red, Green, and Blue (RGB) channels can be used to determine the chromaticity coordinates of a particular source (x, y).
Overview of the chromaticity calculation process:
When we receive the coordinates (x, y), please refer to the figure below to obtain the recommended color.
This unit communicates with the M5Core via the GROVE A interface. The I2C address is 0x29.
Features
# Detection range: -40 ℃ ~ 85 ℃
# Grove interface, supports UIFlow and Arduino
# Two output channels (switch and PWM)
# Power supply: 3.3V
The color sensor module is based on the TCS34725 chip.
TCS34725 M5STACKDescription
Color is a color recognition unit based on the integrated TCS3472 chip.
Color identification principle:
The TCS3472 integrates a 3x4 array of filtered photodiodes and a 16-bit analog-to-digital converter. Of the 12 photodiodes, 3 have red filters, 3 have green filters, 3 have blue filters and 3 have no filter (clear).
check_circle
check_circle