GY-31 TCS3200 Pre-Soldered RGB Color Recognition Sensor for Arduino & ESP32

$8.99 USD Shipping & tax calculated at checkout
In stock· Order by 3pm ET and it ships today

GY-31 TCS3200 RGB sensor for Arduino projects features a filtered photodiode array and light-to-frequency output, delivering precise digital color data for integration into microcontroller systems.

  • Free Ground Shipping U.S. orders $35+
  • Ships from USA Domestic fulfillment
  • 30-day returns Free defect replacement
  • 7-day support Fast email replies
Frequently bought together
Close-up of ShillehTek GY-31 TCS3200 RGB Color Recognition Sensor with LEDs GY-31 TCS3200 Pre-Soldered RGB Color Recognition Sensor for Arduino & ESP32No reviews yet $8.99 This item
Total for 4 items
$29.86

Products related to this item

Product Overview

Teach your machine to detect specific hues with the GY-31 TCS3200: unlike basic light sensors that only measure brightness, this module uses a filtered photodiode array (a grid with Red, Green, Blue, and Clear filters) to break down an object’s color into RGB components, then converts that light information into a clean frequency-based square-wave output you can read with simple digital timing (no ADC needed); it also includes four bright white onboard LEDs to illuminate the target for consistent readings, supports selectable output scaling (2%, 20%, or 100%) to match your processor speed or maximize resolution, enables non-contact color checking for tasks like sorting candy, reading labels, or estimating ripeness, and runs on 2.7V to 5.5V logic so it works directly with both 3.3V boards like ESP32 and 5V microcontrollers without level shifting. The header pins ship pre-soldered, so it works out of the box with no soldering required.

Frequently asked questions

The GY-31 TCS3200 works with Arduino, ESP32, Raspberry Pi, and other controllers that can read a digital square-wave signal. Its 2.7V to 5.5V logic range supports both 3.3V and 5V systems without level shifting.
This module is designed for simple hookup to a microcontroller and does not require an analog input. Read the sensor by timing its frequency output while selecting the red, green, blue, or clear photodiode filters in your code.
The TCS3200 outputs color information as a frequency-based square wave, not an I2C, SPI, or analog signal. It also supports selectable output scaling of 2%, 20%, or 100% to match controller timing capability or resolution needs.
It is commonly used for non-contact color checking, such as sorting candy, reading colored labels, or estimating fruit ripeness. The onboard white LEDs help illuminate the target so readings are more consistent than ambient-light-only sensing.
If color readings seem inconsistent, keep the sensing distance and lighting conditions stable, and use the onboard LEDs for repeatable illumination. Calibrating against known color samples in the final enclosure or mounting position usually improves classification accuracy.

Have other questions?

Chat with our US-based team — we usually reply fast.

Features & Specs

RGB Detection Color detection: Measures Red, Green, and Blue components for precise hue identification.

Photodiode Array High-resolution sensor: Uses a 64-bit filtered photodiode matrix for granular color analysis.

Frequency Output Light-to-frequency signal: Outputs a square wave proportional to light intensity for easy digital reading.

Onboard Lighting Integrated white LEDs: Four bright LEDs provide neutral illumination for consistent measurements.

Output Scaling Selectable scaling: Choose 2%, 20%, or 100% output frequency to match processor speed and resolution needs.

Non-Contact Use Short-range sensing: Reads color without contact for sorting, ripeness checks, or label verification.

Voltage Compatibility Wide logic range: Operates from 2.7V to 5.5V for direct use with 3.3V and 5V microcontrollers.

Documents

Full Product Manual ShillehTek GY-31 TCS3200 RGB Color Recognition Sensor for Arduino Projects | ShillehTek Product Manual In-depth setup guide with wiring, code examples, and troubleshooting.

Related Tutorials

Related Videos

Customer Reviews