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)
CANDLE.LAB | DIY Aromatherapy Candle Supplies, Natural Refined White Beeswax Pellets, Handmade Soap Materials #27

CANDLE.LAB | DIY Aromatherapy Candle Supplies, Natural Refined White Beeswax Pellets, Handmade Soap Materials #27

$9.00

No-Shave Hair Transplant by Yongxiang Dean Team [Premium Customization], Unlimited Graft Count, Pain Management for Transplant Area

No-Shave Hair Transplant by Yongxiang Dean Team [Premium Customization], Unlimited Graft Count, Pain Management for Transplant Area

$200,000.00

Kitchen Sink Drainage Mat - Sloped Countertop Drying Pad with Foldable Narrow Edges, Faucet Splash Guard, Storage Mat

Kitchen Sink Drainage Mat - Sloped Countertop Drying Pad with Foldable Narrow Edges, Faucet Splash Guard, Storage Mat

$3.57

UE5 Unreal Engine 5.2-5.7 Physical Assembly System Physics Plugin

UE5 Unreal Engine 5.2-5.7 Physical Assembly System Physics Plugin

$0.50

[Damai Holds Micro-Needle Hair Transplant Patent] Female Hairline | Non-Shaven Transplant 1000 Units | Forehead

[Damai Holds Micro-Needle Hair Transplant Patent] Female Hairline | Non-Shaven Transplant 1000 Units | Forehead

$17,000.00

Air Baffle for ABB ACS550-X2 R8 IP21 VFD

Air Baffle for ABB ACS550-X2 R8 IP21 VFD

$3,450.00

Outdoor Waterproof Shockproof EDC Storage Box, Sealed Gear Case for Small Items

Outdoor Waterproof Shockproof EDC Storage Box, Sealed Gear Case for Small Items

$5.10

Zhizhi Lin Zexu Small Regular Script Diamond Character Card Kaishu Copybook Porcelain Blue Gold Characters Brush Calligraphy Practice Folding Card

Zhizhi Lin Zexu Small Regular Script Diamond Character Card Kaishu Copybook Porcelain Blue Gold Characters Brush Calligraphy Practice Folding Card

$68.00

Maotaizi Dual-Tip Dual-Color Glitter Markers for Kids - Non-Toxic Soft Tip Colored Pens for Elementary Art

Maotaizi Dual-Tip Dual-Color Glitter Markers for Kids - Non-Toxic Soft Tip Colored Pens for Elementary Art

$16.90

Tire Removal Socket Wrench and Spare Tire Tool Kit for Zhengzhou Nissan Paladin, Aoting, and Dongfeng Ruiqi Pickup Trucks

Tire Removal Socket Wrench and Spare Tire Tool Kit for Zhengzhou Nissan Paladin, Aoting, and Dongfeng Ruiqi Pickup Trucks

$16.90

Zhimo Ke Xingkai Technique Calligraphy Copybook - Upgraded Edition with Text, Images, and Video Tutorials for Beginners

Zhimo Ke Xingkai Technique Calligraphy Copybook - Upgraded Edition with Text, Images, and Video Tutorials for Beginners

$30.60

Small-Scale Yogurt Processing Production Line, Blended Yogurt Fermentation Equipment, Organic Milk Filling Machine

Small-Scale Yogurt Processing Production Line, Blended Yogurt Fermentation Equipment, Organic Milk Filling Machine

$115,920.00

Compact Manual Hot Stamping Machine for Logos, Business Cards, Leather Wallets, Plastic, and Wood - Heat Embossing and Branding Tool

Compact Manual Hot Stamping Machine for Logos, Business Cards, Leather Wallets, Plastic, and Wood - Heat Embossing and Branding Tool

$500.76

DIY Handmade Soap Mold – Single Square Silicone Mold for Homemade Soap

DIY Handmade Soap Mold – Single Square Silicone Mold for Homemade Soap

$1.96

Wall-Mounted Facial Towel Dispenser Transparent Upside-Down Design

Wall-Mounted Facial Towel Dispenser Transparent Upside-Down Design

$4.50

Colorful Ground Thread Inserts 16ER/IR1.0/2.0/3.0/3.5 ISO AG55/60 for High-Hardness Quenched Steel

Colorful Ground Thread Inserts 16ER/IR1.0/2.0/3.0/3.5 ISO AG55/60 for High-Hardness Quenched Steel

$19.80

Jiuzheng Tongming Submerged Solenoid Pulse Valve TMF-Y-25/40/50/62/76S, Dust Removal Pulse Blowing Valve

Jiuzheng Tongming Submerged Solenoid Pulse Valve TMF-Y-25/40/50/62/76S, Dust Removal Pulse Blowing Valve

$150.00

Large Water Bucket Stand – Storage Rack for Office Purified Water Dispensers and Mineral Water Containers

Large Water Bucket Stand – Storage Rack for Office Purified Water Dispensers and Mineral Water Containers

$282.56

Double Loop Chain Lifting Sling, Manganese Steel Double-End Ring Hoisting Chain, G80 Manganese Steel Lifting Rigging 1/2/3/5T

Double Loop Chain Lifting Sling, Manganese Steel Double-End Ring Hoisting Chain, G80 Manganese Steel Lifting Rigging 1/2/3/5T

$98.00

Hesdige JG-376 Portable Stone Removal Hook - Multi-Function Tool for Cleaning Gravel from Car Tire Treads

Hesdige JG-376 Portable Stone Removal Hook - Multi-Function Tool for Cleaning Gravel from Car Tire Treads

$16.91

Used 90% Condition Removed Car Tires 165 175 185 195 205 215 225 235/50 55 60 65 R13 14 15 16 17

Used 90% Condition Removed Car Tires 165 175 185 195 205 215 225 235/50 55 60 65 R13 14 15 16 17

$68.00

Blower Assembly AC Motor Fan for Changan CS75, Raeton CC, Oshan A800, and CS35 - Original Equipment

Blower Assembly AC Motor Fan for Changan CS75, Raeton CC, Oshan A800, and CS35 - Original Equipment

$427.73

Professional Sketch Blending Knife - Gray Tone Sponge Blender for Details and Highlights - Art Exam Tool

Professional Sketch Blending Knife - Gray Tone Sponge Blender for Details and Highlights - Art Exam Tool

$2.90

Yuanzhi Water Bucket Rack 3/4/5 Tier Single Row with Board V-Shaped Water/Paper Cup Pure Mineral Water Bucket Storage Stand

Yuanzhi Water Bucket Rack 3/4/5 Tier Single Row with Board V-Shaped Water/Paper Cup Pure Mineral Water Bucket Storage Stand

$143.00

Rubber Wheel Chock 460x180x160 Anti-Slip Triangular Wedge

Rubber Wheel Chock 460x180x160 Anti-Slip Triangular Wedge

$354.33

Household Small Range Hood Portable USB Desktop Smoke Extractor for Living Room Hot Pot BBQ Odor Removal Mini Fume Extractor

Household Small Range Hood Portable USB Desktop Smoke Extractor for Living Room Hot Pot BBQ Odor Removal Mini Fume Extractor

$39.00

Household Water Dispenser Stand - Multi-Tier Floor Rack for Bottled Pure Water and Mineral Water in Offices

Household Water Dispenser Stand - Multi-Tier Floor Rack for Bottled Pure Water and Mineral Water in Offices

$129.74

WYPALL* Microfiber Cleaning Cloths Yellow 83610, 6 Sheets/Pack * 4 Packs/Case

WYPALL* Microfiber Cleaning Cloths Yellow 83610, 6 Sheets/Pack * 4 Packs/Case

$132.76

Ceramic Ink Dish, Water Dish, Brush Rest, Ice-Crack Ink Box, Multi-Function Brush Washer, Ink Stone, Brush Holder, and Kung Fu Tea Cup

Ceramic Ink Dish, Water Dish, Brush Rest, Ice-Crack Ink Box, Multi-Function Brush Washer, Ink Stone, Brush Holder, and Kung Fu Tea Cup

$1.90

Car Tire Stone Removal Hook, Foldable and Extendable Tool for Extracting Pebbles from Treads

Car Tire Stone Removal Hook, Foldable and Extendable Tool for Extracting Pebbles from Treads

$2.07