Description
Give your hardware the ability to “see” and differentiate colors with the GY-31 TCS3200 Color Recognition Sensor Module. Built around the highly accurate TAOS TCS3200 RGB sensor chip, this module acts as a complete color detector by converting light intensity directly into a readable square-wave frequency. It features an 8×8 array of filtered photodiodes and four onboard bright white LEDs to illuminate the target object, ensuring reliable readings regardless of ambient lighting conditions. Because it outputs a simple digital frequency, it interfaces seamlessly with any standard microcontroller—like an Arduino or ESP32—making it the perfect addition to automated color sorting machines, environmental monitoring nodes, or interactive robotic systems.
Key Features
-
Accurate Color Detection: Utilizes an integrated array of 64 photodiodes (16 Red, 16 Green, 16 Blue, and 16 Clear) to accurately measure and separate the RGB components of reflected light.
-
Direct Frequency Output: Converts detected light intensity directly into a high-resolution square-wave frequency, allowing for easy reading via standard microcontroller digital pins without needing an analog-to-digital converter (ADC).
-
Programmable Scaling: Features selectable output frequency scaling (2%, 20%, or 100%) via the S0 and S1 pins, allowing you to optimize the module for different processor speeds and timing requirements.
-
Integrated Lighting: Includes 4 bright white LEDs to provide a consistent light source for the object being measured, effectively neutralizing the impact of external room lighting.
-
Microcontroller Ready: Operates on standard logic levels and voltages (2.7V to 5.5V), making it immediately plug-and-play compatible with 3.3V and 5V development boards.
Technical Specifications
| Specification | Detail |
| Sensor Chip | TAOS TCS3200 |
| Operating Voltage (VCC) | 2.7V – 5.5V DC |
| Output Type | Digital Square Wave (Frequency directly proportional to light intensity) |
| Photodiode Filters | Red, Green, Blue, Clear (Selectable via S2 & S3 pins) |
| Frequency Scaling | Power Down, 2%, 20%, 100% (Selectable via S0 & S1 pins) |
| Optimal Sensing Distance | ~10 mm (1 cm) |
| Temperature Coefficient | Stable at 200 ppm/°C |
| Dimensions |
~33.2 mm × 33.2 mm × 25 mm |
Pinout Configuration
-
VCC: Power Supply (2.7V – 5.5V)
-
GND: Ground
-
OE: Output Enable (Active Low)
-
OUT: Frequency Output Signal
-
S0, S1: Output Frequency Scaling Selection Inputs
-
S2, S3: Photodiode Type (Color Filter) Selection Inputs
-
LED: Onboard LED Control (High = On, Low = Off)
Specification
General
| WeightWeight | 0,0000 g |
|---|---|
| Sensor | TCS3200 |
| Function | Color Recognition / Color Sensing |
| Output | Frequency output corresponding to color intensity |
| Interface | Digital pins (S0–S4) |
| Operating Voltage | 3.3V–5V |
| Material | PCB with electronic components |
| Usage | Color detection projects, robotics, automated sorting, DIY electronics |

