Shop by category
Shop all components
Color, RGB & Spectral Sensors · Generic
The GY-31 TCS3200 Color Sensor Module is a programmable light-to-frequency converter for precise RGB and clear light detection, compatible with 3.3V/5V microcontrollers like Arduino, Raspberry Pi, and ESP32. It provides digital output for color sorting, ambient light sensing, and material identification applications.
📖Guide for this partColour Sensors→Buy 10 or more to pay ₹626.05 each
Business and institution accounts get extra tier pricing. Sign in for 100+ pieces.
Overview
The GY-31 module integrates the TCS3200 programmable color light-to-frequency converter. The sensor uses an 8×8 array of photodiodes with red, green, blue, and clear filters, whose outputs are combined and converted into a single square wave with a frequency proportional to light intensity. This digital output method provides superior noise immunity compared to analog sensors.
Designed for integration into embedded systems, the module requires an external white LED light source and operates best at a short detection distance of approximately 1cm. Its digital interface allows direct connection to microcontroller I/O pins for frequency measurement, making it suitable for precise color analysis and sorting tasks in automated systems.
| Brand / part no. | Generic |
|---|---|
| Core IC | TCS3200 |
| Category | Color, RGB & Spectral Sensors |
| Interface | I2C-compatible Digital Pins (S0, S1, S2, S3, OUT) |
| Output Type | Digital Frequency (Square Wave) |
| Sensor Model | GY-31 (TCS3200-based) |
| Package Weight | ~0.02 kg |
| Operating Voltage | 3V to 5V DC |
| Detection Principle | 8x8 Photodiode Array with RGB & Clear Filters |
| Light Source Requirement | External Bright White LED |
| Module Dimensions (LxWxH) | Approx. 1.2 x 0.85 x 0.4 cm |
| Optimal Detection Distance | ~1 cm |
Typical values from the manufacturer's datasheet. Confirm the exact variant before you build a product around it.
| S0, S1 | Output frequency scaling |
|---|---|
| S2, S3 | Colour filter select |
| OUT | Frequency output |
| OE | Output enable, active low |
| VCC | Power |
| GND | Ground |
Typical pin names. Boards from different makers can differ, so check the print on your module.
Step-by-step builds that use parts from Color, RGB & Spectral Sensors.
Core IC: TCS3200; Category: Color, RGB & Spectral Sensors; Interface: I2C-compatible Digital Pins (S0, S1, S2, S3, OUT); Output Type: Digital Frequency (Square Wave); Sensor Model: GY-31 (TCS3200-based); Package Weight: ~0.02 kg. The full list is under Specifications.
S0, S1: Output frequency scaling; S2, S3: Colour filter select; OUT: Frequency output; OE: Output enable, active low; VCC: Power; GND: Ground. These are the typical pin names shown under Pinout & wiring. Boards from different makers can differ, so check the print on your module.
Yes. Prices include GST and every order comes with a GST invoice. Add your GSTIN at checkout and we put it on the invoice for input credit.
Delivery is a flat ₹80 anywhere in India, and free on orders over ₹999. We ship from our Bengaluru and Guwahati warehouses, whichever is nearer to you, and the product page shows an estimated delivery date for your PIN code.
Yes, on eligible PIN codes for orders up to ₹5,000. A ₹150 COD charge is added at checkout, and checkout shows whether COD is available for your order. You can also pay by UPI, card or net banking.
Yes, if it arrives damaged, defective or is not what you ordered: tell us within 7 days of delivery and we collect it free and send a replacement or a full refund. We do not take back parts that are not faulty, so check the specs or ask us before you order. You can cancel for free until the order is dispatched.
Yes. The price per unit drops automatically at higher quantities, as shown in the price tiers above. For 100+ pieces or a purchase order, ask for a bulk quote.
Check the specifications for voltage and interface, or ask Geeko AI. It can suggest compatible boards and wiring.
Guides for this part and its category.
All guides →
₹2,368.00
Incl. GST
₹1,409.00
Incl. GST
₹839.00
Incl. GST
₹2,701.00
Incl. GSTNo reviews yet. Bought or built with this? Be the first to review it.