Skip to product information
1 of 7

Keszoox

TCS34725 / TCS3200 / TCS230 Color Sensor Module — GY-31/GY-33, I²C/Frequency, Arduino

TCS34725 / TCS3200 / TCS230 Color Sensor Module GY-31/GY-33, I²C/Frequency, Arduino

Regular price $15.76 USD
Sale price $15.76 USD
Save Liquid error (snippets/price line 138): divided by 0% Sold out
Taxes included. Shipping calculated at checkout.
Color

TCS34725 / TCS3200 / TCS230 RGB Color Sensor Module — GY-31 / GY-33, Arduino

This listing covers the popular RGB color sensor modules based on TCS34725 (I²C, GY-33) and TCS3200/TCS230 (frequency output, GY-31). Both detect the color of objects by measuring reflected red, green, and blue light intensity, enabling Arduino-based color sorting, calibration, and detection applications.

Module Variants

Module Sensor IC Interface Supply
GY-33 TCS34725 I²C (SDA/SCL) 3.3V – 5V
GY-31 TCS3200 / TCS230 Frequency output 3V – 5V

TCS34725 (GY-33) Specifications

Parameter Value
Interface I²C (address 0x29)
ADC Resolution 16-bit per channel (R, G, B, Clear)
Integration Time 2.4ms – 700ms (programmable)
Gain 1×, 4×, 16×, 60× (programmable)
IR Filter Built-in (improves color accuracy)
Supply Voltage 3.3V – 5V

TCS3200/TCS230 (GY-31) Specifications

Parameter Value
Interface Frequency output (pulseIn() or interrupt)
Color Selection S2/S3 pins select R/G/B/Clear filter
Frequency Scaling 2%, 20%, 100% (S0/S1 pins)
Supply Voltage 3V – 5V

Why Choose These Color Sensors?

  • TCS34725 (GY-33) — 16-bit I²C output, built-in IR filter, best color accuracy; ideal for precise color matching
  • TCS3200 (GY-31) — Frequency output, no library needed for basic use; ideal for line-following and color sorting
  • White LED Illumination — Onboard LEDs provide consistent illumination for repeatable readings
  • Arduino Library Support — Adafruit TCS34725 library (I²C) and TCS3200 library available

Typical Applications

  • Color sorting conveyor (detect red/green/blue objects)
  • Line-following robot color line detection
  • Paint color matching and verification
  • Food quality inspection by color
  • LED color calibration and white balance
  • Colorimetry in laboratory instruments

Arduino Library & Setup

TCS34725 (GY-33): Install “Adafruit TCS34725” library. Connect SDA→A4, SCL→A5. Use tcs.getRawData(&r, &g, &b, &c).
TCS3200 (GY-31): Connect S0→HIGH, S1→HIGH (100% scaling), S2/S3 to digital pins. Use pulseIn(OUT, LOW) to measure frequency for each color.

FAQ

Q: Which module is more accurate, GY-31 or GY-33?
A: GY-33 (TCS34725) is significantly more accurate due to 16-bit ADC, built-in IR filter, and programmable gain. GY-31 is simpler but less precise.

Q: How close should the sensor be to the object?
A: 5–10mm is optimal for both modules. Closer gives stronger signal; farther reduces accuracy due to ambient light interference.

Package Contents

  • 1× Color Sensor Module (GY-31 or GY-33 — per selected variant)
visa
View full details
Quality Guarantee Certified components
100% Safe Checkout SSL encrypted payment
Fast Shipping Worldwide delivery
90-Day Returns Hassle-free policy