Skip to main content
Home / Sensors / GY-33 GY-31 TCS3200D TCS34725 Color Sensor Color Recognition Color Induction Module

Attributes

Brand -
Category Robotics / STEM Teaching Tools / Sensors
Origin -
Model Number GY-33 / GY-31
Sensor Type TCS3200D / TCS34725 RGB Color Sensor
Interface I2C / UART / TTL Serial
Operating Voltage 3.3V - 5V DC
Detection Range 0mm - 10mm (Optimal)
Output Data RGB Values, Hue, Saturation, Temperature
PCB Dimensions 22mm x 18mm x 4mm
Compatibility Arduino, Raspberry Pi, STM32, ESP32
LED Indicator White LED for Illumination
Application Color Sorting, Robotics, DIY Electronics

6 reviews

A

Anonymous

Mar 29, 2026

Rating: 5/5

Great upgrade from older models

Switched from an older photoresistor setup to this TCS34725 module. The difference in precision is night and day. It easily detects subtle shade differences.

A

Anonymous

Mar 26, 2026

Rating: 5/5

Perfect for my sorting robot project

This sensor module is incredibly accurate for distinguishing between different colored blocks. The I2C interface made integration with my Arduino Uno very straightforward. Highly recommended for hobbyists.

A

Anonymous

Mar 18, 2026

Rating: 4/5

Compact and easy to wire

The pinout is clearly labeled which saved me a lot of guessing. It fits perfectly into small enclosures. Only wish the cable was included, but that's a minor issue.

A

Anonymous

Mar 15, 2026

Rating: 5/5

Exceeded expectations

Fast response time and very stable output. I am using this for a line-following robot that needs to identify colored zones, and it performs flawlessly every time.

A

Anonymous

Mar 10, 2026

Rating: 5/5

Reliable and consistent readings

We bought ten of these for our workshop. They provide consistent RGB data and the build quality is solid. The white LED helps significantly when testing in dim environments.

A

Anonymous

Mar 03, 2026

Rating: 4/5

Good value but needs calibration

Works well once you spend time calibrating it for your specific lighting conditions. The documentation could be better, but there are plenty of tutorials online to help get started.

5 FAQ

Q: Can this sensor detect transparent objects?

A: No, this optical sensor relies on reflected light to determine color. Transparent or highly reflective mirror-like surfaces will not yield accurate color data.

Q: Does this module work directly with 5V Arduino boards without a logic level converter?

A: Yes, the GY-33/GY-31 modules typically support 3.3V to 5V input directly, making them compatible with 5V Arduino boards like the Uno without needing extra converters.

Q: What is the maximum distance for accurate color detection?

A: For the most accurate results, the sensor should be placed between 2mm to 10mm away from the object. Distances greater than 15mm may result in unreliable readings due to ambient light interference.

Q: How do I calibrate the sensor for white balance?

A: Place the sensor over a standard white reference tile and run the calibration function in the library. This adjusts the gain and integration time to normalize the RGB values.

Q: Is sample code available for Raspberry Pi?

A: Yes, we provide Python libraries and example scripts for Raspberry Pi on our GitHub repository. You can find the link in the product manual or contact us for direct access.

Explore your interests

All Categories
Best Seller (30)
New List (30)
Outdoor Waterproof Backpack Camouflage Dry Bag with Wet/Dry Separation for Swimming, Rafting, and Trekking

Outdoor Waterproof Backpack Camouflage Dry Bag with Wet/Dry Separation for Swimming, Rafting, and Trekking

$8.42

[Save $50 on Order] Bundle: 5 Notebooks + 2 Pens + 20 Refills + 2 Grip Correctors

[Save $50 on Order] Bundle: 5 Notebooks + 2 Pens + 20 Refills + 2 Grip Correctors

$39.90

Sketching Tool Set for Art Students - Includes Blending Stumps, Tortillons, Paper Stumps, Sponge Balls, Cotton Swabs, Highlight Pens, Gray Tone Tools, Insert Knives, Smudging Knives, Scrapers, and Blending Cotton

Sketching Tool Set for Art Students - Includes Blending Stumps, Tortillons, Paper Stumps, Sponge Balls, Cotton Swabs, Highlight Pens, Gray Tone Tools, Insert Knives, Smudging Knives, Scrapers, and Blending Cotton

$7.65

Suede Rope Korean Velvet Rope DIY Aromatherapy Candle Plaster Tag Hanging Cord Packaging Gift Box Ribbon Decorative Leather Rope

Suede Rope Korean Velvet Rope DIY Aromatherapy Candle Plaster Tag Hanging Cord Packaging Gift Box Ribbon Decorative Leather Rope

$0.85

[Damai Holds Microneedle Hair Transplant Patent] Hair Collagen | Improves Hair Loss, Nourishes Dermis and Follicles

[Damai Holds Microneedle Hair Transplant Patent] Hair Collagen | Improves Hair Loss, Nourishes Dermis and Follicles

$1,980.00

Selected Factory Low-Temperature 3D Printing Pen for Kids, Children's 3D Printing Pen Set, 3D Drawing Pen

Selected Factory Low-Temperature 3D Printing Pen for Kids, Children's 3D Printing Pen Set, 3D Drawing Pen

$100.02

Milk Pasteurization Line - Small-Scale Yogurt Production Machine for Liquid Yogurt and Pasteurized Milk

Milk Pasteurization Line - Small-Scale Yogurt Production Machine for Liquid Yogurt and Pasteurized Milk

$8,148.00

Commercial Small Heating Warmer Cabinet, Glass Constant-Temperature Countertop Display Case for Egg Tarts, Burgers, and Fried Chicken

Commercial Small Heating Warmer Cabinet, Glass Constant-Temperature Countertop Display Case for Egg Tarts, Burgers, and Fried Chicken

$884.00

Custom Seal Stamp Engraving Personal Name Phone Number Private Chop

Custom Seal Stamp Engraving Personal Name Phone Number Private Chop

$5.89

Commercial Food Warmer Cabinet for Milk, Soy Milk, Burgers, Egg Tarts, Fried Chicken, Pies, Youtiao, and Bread Display

Commercial Food Warmer Cabinet for Milk, Soy Milk, Burgers, Egg Tarts, Fried Chicken, Pies, Youtiao, and Bread Display

$1,355.00

PJ0040 Rose Embossed Cross Silicone Mold - For Candles, Aromatherapy, Soap, Plaster, and DIY Crafts

PJ0040 Rose Embossed Cross Silicone Mold - For Candles, Aromatherapy, Soap, Plaster, and DIY Crafts

$11.20

Yuwell Oxygen Concentrator Control Board Motherboard 8F-3AW/8F-5AW/9F-5BW

Yuwell Oxygen Concentrator Control Board Motherboard 8F-3AW/8F-5AW/9F-5BW

$120.00

Leyingfang Floating Pen for Kids and Students - Water-Based Non-Toxic Erasable Whiteboard Pen for Drawing in Water, Large Capacity Suspension Pen

Leyingfang Floating Pen for Kids and Students - Water-Based Non-Toxic Erasable Whiteboard Pen for Drawing in Water, Large Capacity Suspension Pen

$18.00

Car Wheel Lug Nut Covers - Colorful Silicone Dust-Proof and Rust-Proof Caps for Tire Bolt Protection and Exterior Styling

Car Wheel Lug Nut Covers - Colorful Silicone Dust-Proof and Rust-Proof Caps for Tire Bolt Protection and Exterior Styling

$8.80

Automatic Stainless Steel Vegetable Slicer for Ginger, Potatoes, Carrots, Onions, and Cabbage - Commercial Dicing Machine

Automatic Stainless Steel Vegetable Slicer for Ginger, Potatoes, Carrots, Onions, and Cabbage - Commercial Dicing Machine

$3,951.36

[Damai Holds Micro-Needle Hair Transplant Patent] Top Thinning Hair Transplant | Micro-Needle Density Enhancement (500 Units)

[Damai Holds Micro-Needle Hair Transplant Patent] Top Thinning Hair Transplant | Micro-Needle Density Enhancement (500 Units)

$7,000.00

Little Leather Paper Strip Music Box (30-Note) Sheet Music - Contact Before Ordering; Specify Song Email for Digital Score Delivery

Little Leather Paper Strip Music Box (30-Note) Sheet Music - Contact Before Ordering; Specify Song Email for Digital Score Delivery

$1.00

Kitchen Sink Strainer Basket Push-Type Food Residue Separator Filter Hanging Storage Rack

Kitchen Sink Strainer Basket Push-Type Food Residue Separator Filter Hanging Storage Rack

$3.80

Heavy-Duty Heat-Treated CV Joint Puller Tool - Axle Ball Cage Removal and Installation Device for Automotive Repair

Heavy-Duty Heat-Treated CV Joint Puller Tool - Axle Ball Cage Removal and Installation Device for Automotive Repair

$66.00

Mobile Integrated Waste Transfer Station - 17 Cubic Meters Movable Compression Container

Mobile Integrated Waste Transfer Station - 17 Cubic Meters Movable Compression Container

$159,443.00

Antique Glaze White Ceramic Brush Washer Large Brush Washer Water Pot Ink Stone Washing Calligraphy Painting Brush Washing Basin Four Treasures of the Study

Antique Glaze White Ceramic Brush Washer Large Brush Washer Water Pot Ink Stone Washing Calligraphy Painting Brush Washing Basin Four Treasures of the Study

$16.80

Authentic Chinese Philosophy Classics: Di Tian Sui, Qiong Tong Bao Jian, San Ming Tong Hui - Annotated & Illustrated Edition

Authentic Chinese Philosophy Classics: Di Tian Sui, Qiong Tong Bao Jian, San Ming Tong Hui - Annotated & Illustrated Edition

$29.90

Household Disposable Kitchen Sink Garbage Filter Mesh Drain Pool Dishwashing Basin Strainer Vegetable Bowl Leftover Sink

Household Disposable Kitchen Sink Garbage Filter Mesh Drain Pool Dishwashing Basin Strainer Vegetable Bowl Leftover Sink

$3.51

Continental Run-Flat Tires: 225/235/245/255/265 45/50/55 R17/R18/R19/R20/R21/R22

Continental Run-Flat Tires: 225/235/245/255/265 45/50/55 R17/R18/R19/R20/R21/R22

$357.00

Foldable Steel Tire Stone Removal Hook - Multi-Tool for Tire Repair, Stone Picking, and Emergency Window Breaking with Storage Bag

Foldable Steel Tire Stone Removal Hook - Multi-Tool for Tire Repair, Stone Picking, and Emergency Window Breaking with Storage Bag

$11.70

Integrated Catalytic Combustion Unit RCO Furnace - Exhaust Gas Treatment System with Activated Carbon Adsorption-Desorption and Catalytic Combustion

Integrated Catalytic Combustion Unit RCO Furnace - Exhaust Gas Treatment System with Activated Carbon Adsorption-Desorption and Catalytic Combustion

$231,249.00

Universal Waterproof and Sunproof Cover for E-Bike Charger with Outdoor Storage Box

Universal Waterproof and Sunproof Cover for E-Bike Charger with Outdoor Storage Box

$11.85

Baohong Paper Brick Watercolor Paper Pad, Medium/Coarse Texture, Square/Round Shapes for Painting, Sketching, and Cotton Pulp Practice

Baohong Paper Brick Watercolor Paper Pad, Medium/Coarse Texture, Square/Round Shapes for Painting, Sketching, and Cotton Pulp Practice

$28.00

Commercial Food Warmer Cabinet for Pies, Youtiao, Burgers, Egg Tarts, and Fried Chicken, Heating and Temperature-Controlled Display Case

Commercial Food Warmer Cabinet for Pies, Youtiao, Burgers, Egg Tarts, and Fried Chicken, Heating and Temperature-Controlled Display Case

$977.00

Masking Tape Spray Paint Shielding Paper for Art Students and Sketching - Non-bleeding, Residue-free, Hand-tearable, Shoe-safe

Masking Tape Spray Paint Shielding Paper for Art Students and Sketching - Non-bleeding, Residue-free, Hand-tearable, Shoe-safe

$1.00