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

View More
All Categories
Best Seller (30)
New List (30)
Thickened Mobile Phone Waterproof Case, Waterproof Box, Sealed Container, Pressure-Resistant Box, EDC Drop-Proof Storage Box for Outdoor Travel

Thickened Mobile Phone Waterproof Case, Waterproof Box, Sealed Container, Pressure-Resistant Box, EDC Drop-Proof Storage Box for Outdoor Travel

$12.00

Commercial Heated Display Cabinet for Crispy Pork Belly, Roast Chicken, and Cantonese BBQ - Constant Temperature Warmer for Peking Duck

Commercial Heated Display Cabinet for Crispy Pork Belly, Roast Chicken, and Cantonese BBQ - Constant Temperature Warmer for Peking Duck

$1,394.00

Mejiang Baohong Watercolor Line Art for Beginners, Coloring Book with Colored Pencils and Markers, Cat Letter Theme

Mejiang Baohong Watercolor Line Art for Beginners, Coloring Book with Colored Pencils and Markers, Cat Letter Theme

$29.70

Shanghai Huamei Hair Transplant, Solution for Hair Loss, Thinning, and Density Enhancement

Shanghai Huamei Hair Transplant, Solution for Hair Loss, Thinning, and Density Enhancement

$6,750.00

New Direct Sale Nanda Silicone Rubber 704 Battery Fixative Adhesive Panel Light Special Glue Photovoltaic Solar Sealant

New Direct Sale Nanda Silicone Rubber 704 Battery Fixative Adhesive Panel Light Special Glue Photovoltaic Solar Sealant

$25.85

Yonghe Hair Transplant: Top Scalp Density Enhancement (2000+ Units Fixed Price)

Yonghe Hair Transplant: Top Scalp Density Enhancement (2000+ Units Fixed Price)

$33,800.00

No-Drill Bathroom Storage Rack – Toilet Paper Organizer for Dorms and Restrooms

No-Drill Bathroom Storage Rack – Toilet Paper Organizer for Dorms and Restrooms

$22.16

Premium Metallographic Polishing Cloth – White Short-Pile Velvet for Mirror Finish Grinding by Goral

Premium Metallographic Polishing Cloth – White Short-Pile Velvet for Mirror Finish Grinding by Goral

$35.00

Rock Guitar Hell Training: Electric Guitar Textbook and Tutorial by Shinichi Kobayashi, Beginner to Intermediate Chinese Guitar Book and Sheet Music

Rock Guitar Hell Training: Electric Guitar Textbook and Tutorial by Shinichi Kobayashi, Beginner to Intermediate Chinese Guitar Book and Sheet Music

$58.69

Aromatherapy Candle Resin Jelly Wax Strawberry Silicone Mold, Large Squishy Handmade Soap DIY Material

Aromatherapy Candle Resin Jelly Wax Strawberry Silicone Mold, Large Squishy Handmade Soap DIY Material

$1.90

Liboer Drill-Free Security Camera Mount & Router Shelf – Adhesive-Free Wall Bracket for 360 PTZ Cameras and Sockets

Liboer Drill-Free Security Camera Mount & Router Shelf – Adhesive-Free Wall Bracket for 360 PTZ Cameras and Sockets

$21.90

City Hunter Theme Song Mr. Chui Saxophone Three-Piece Precise Transcription Service

City Hunter Theme Song Mr. Chui Saxophone Three-Piece Precise Transcription Service

$16.00

[Deposit Group 12] New Colors: Hugging Bear Matte Low-Mid Heel Lolita Shoes - Sheep Puff with Bear Buckle

[Deposit Group 12] New Colors: Hugging Bear Matte Low-Mid Heel Lolita Shoes - Sheep Puff with Bear Buckle

$38.00

Handcrafted Peach Wood and Brass Baby Rattle - Non-Toxic Paint-Free Teething Toy for Infants

Handcrafted Peach Wood and Brass Baby Rattle - Non-Toxic Paint-Free Teething Toy for Infants

$32.00

Car Tire Stone Removal Hook - Debris Cleaning Tool for Wheels

Car Tire Stone Removal Hook - Debris Cleaning Tool for Wheels

$6.19

Ceramic Rabbit Egg Holder – Creative Irregular Egg Stand for Breakfast or as a Decorative Gift

Ceramic Rabbit Egg Holder – Creative Irregular Egg Stand for Breakfast or as a Decorative Gift

$33.82

Toilet Tank Side Shelf Bathroom Storage Rack No-Drill Organizer for Bathroom Essentials

Toilet Tank Side Shelf Bathroom Storage Rack No-Drill Organizer for Bathroom Essentials

$10.40

No-Drill Over-Toilet Storage Rack for Bathroom Restroom Organizer

No-Drill Over-Toilet Storage Rack for Bathroom Restroom Organizer

$8.90

Artsneak Blending Stump for Oil Pastels, Dual-Tip Sponge Brush Art Student Painting Tool Set, Washable and Crumb-Free

Artsneak Blending Stump for Oil Pastels, Dual-Tip Sponge Brush Art Student Painting Tool Set, Washable and Crumb-Free

$14.20

75X100 Imitation Inkjet Transfer Steel Plate for Date Coding - Custom Logo and Trademark Available

75X100 Imitation Inkjet Transfer Steel Plate for Date Coding - Custom Logo and Trademark Available

$38.00

Lint-Free Cloth 1009DLE/SLE - Straight/Net Weave for UV Printhead, Screen, Lens Cleaning, Industrial Wiping Cloth

Lint-Free Cloth 1009DLE/SLE - Straight/Net Weave for UV Printhead, Screen, Lens Cleaning, Industrial Wiping Cloth

$10.80

Pirelli PZ4 Tires, Sizes 235/245/255/265/285/40/45/50/55 R19/R20/R21/R22

Pirelli PZ4 Tires, Sizes 235/245/255/265/285/40/45/50/55 R19/R20/R21/R22

$350.00

Wooden Plaque Carved Signboard for Business Opening, Antique-Style Shop Entrance Header, Custom Engraved Solid Wood Couplets MWU

Wooden Plaque Carved Signboard for Business Opening, Antique-Style Shop Entrance Header, Custom Engraved Solid Wood Couplets MWU

$182.96

Kumho ES01 Car Tires: Sizes 155/165/175/185/205 with Aspect Ratios 55/60/69 and Rim Diameters 14/15/16/17

Kumho ES01 Car Tires: Sizes 155/165/175/185/205 with Aspect Ratios 55/60/69 and Rim Diameters 14/15/16/17

$458.00

Mont Marte Paint Brushes, Creative Children's Painting Brush Set (3 Pieces), Tempera Brush Kit for Kids

Mont Marte Paint Brushes, Creative Children's Painting Brush Set (3 Pieces), Tempera Brush Kit for Kids

$6.50

Baohong Watercolor Paper 300g 8K/4K - Wood Pulp A1/A3/K3 350g Fine/Coarse Grain for Watercolor and Oil Pastels 4K

Baohong Watercolor Paper 300g 8K/4K - Wood Pulp A1/A3/K3 350g Fine/Coarse Grain for Watercolor and Oil Pastels 4K

$4.00

Imported IK7 Linear Bearing LM 162837 203242 254059 304564 3552O0 UU

Imported IK7 Linear Bearing LM 162837 203242 254059 304564 3552O0 UU

$96.00

Used Car Tires Auto Salvage Tires 155 165 175 185 195 205 215 1U3 14 15 16

Used Car Tires Auto Salvage Tires 155 165 175 185 195 205 215 1U3 14 15 16

$202.00

Magnetic Charging Stand for MIJIA Smart Audio Glasses (Enjoyment Edition) & Jiehuan AI Glasses – Wireless Installation for Type 86 Box

Magnetic Charging Stand for MIJIA Smart Audio Glasses (Enjoyment Edition) & Jiehuan AI Glasses – Wireless Installation for Type 86 Box

$84.10

Premium DIY Succulent Sand Painting Scented Candle Kit for Holidays and Team Building

Premium DIY Succulent Sand Painting Scented Candle Kit for Holidays and Team Building

$21.20