Skip to main content
Home / Sensors / GY-31 TCS230 TCS3200 TCS34725 Color Sensor Color Recognition Color Sensing Module

Attributes

Brand -
Category Robotics / STEM Teaching Tools / Sensors
Origin -
Sensor Model TCS230 / TCS3200
Operating Voltage 2.7V to 5.5V
Interface Type Digital TTL Output
Light Source Integrated White LEDs
Frequency Range 2Hz to 500kHz
PCB Dimensions 24mm x 28mm
Mounting Holes 4 x 3mm diameter
Compatibility Arduino, Raspberry Pi, STM32
Temperature Range -25°C to 70°C
Package Includes 1x Sensor Module, 1x Pin Header

6 reviews

A

Anonymous

Mar 23, 2026

Rating: 5/5

Reliable batch purchase

Ordered ten of these for our makerspace. All units arrived in perfect condition and performed identically. The built-in LEDs provide consistent illumination.

A

Anonymous

Mar 18, 2026

Rating: 4/5

Works well but sensitive to distance

It detects colors accurately, but the distance from the object matters a lot. I had to 3D print a shroud to block ambient light for best results.

A

Anonymous

Mar 12, 2026

Rating: 5/5

Perfect for Arduino color sorting projects

This module worked flawlessly with my Arduino Uno. The library support is excellent, and it accurately distinguishes between primary colors. Great value for the price.

A

Anonymous

Mar 11, 2026

Rating: 5/5

Fast response time

Impressed by how quickly it updates the frequency output. Ideal for conveyor belt applications where speed is necessary. Highly recommended.

A

Anonymous

Mar 04, 2026

Rating: 4/5

Good sensor, needs calibration

The hardware is solid, but you definitely need to spend time calibrating it for your specific lighting conditions. Once set up, it reads RGB values consistently.

A

Anonymous

Mar 01, 2026

Rating: 5/5

Great for learning embedded systems

Bought this for a university project. The documentation online is plentiful, making it easy to get started. The frequency output is easy to read with micros().

5 FAQ

Q: Can this sensor detect transparent objects?

A: This sensor is designed to detect reflected light from opaque surfaces. It cannot reliably detect transparent or highly reflective materials like clear glass or mirrors.

Q: Do I need to solder the pins before using it?

A: The module comes with a separate pin header strip. You will need to solder them onto the PCB yourself unless you choose to use jumper wires temporarily for testing.

Q: Does this module work directly with 3.3V logic boards like ESP32?

A: Yes, the module operates between 2.7V and 5.5V, so it is fully compatible with 3.3V systems like the ESP32 without needing a level shifter.

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

A: For optimal accuracy, the object should be within 3mm to 10mm of the sensor surface. Accuracy decreases significantly beyond this range due to light dispersion.

Q: Is there a library available for MicroPython?

A: While we do not provide an official MicroPython library, several open-source community drivers are available on GitHub that work well with this module.

Explore your interests

View More
All Categories
Best Seller (30)
New List (30)
Zhonglian Hamburger Food Warmer Display Cabinet 1.2m 1.5m 3-in-1 Warmer Double-Layer Display Cabinet Crisp Keeper

Zhonglian Hamburger Food Warmer Display Cabinet 1.2m 1.5m 3-in-1 Warmer Double-Layer Display Cabinet Crisp Keeper

$3,376.00

A3 Watercolor Paper 300g Thickened Cotton Pulp Fine Grain, A4 Medium Grain for Beginners, 4K Wood Pulp Cotton Blank Hand-Painting Paper, Square Art Coloring Paper, Postcard & Bookmark Paper

A3 Watercolor Paper 300g Thickened Cotton Pulp Fine Grain, A4 Medium Grain for Beginners, 4K Wood Pulp Cotton Blank Hand-Painting Paper, Square Art Coloring Paper, Postcard & Bookmark Paper

$18.90

Sketch Gray Tone Pencils for Art Students, Detail Highlight Blending Stumps, Makeup Sponge Pens, Quick Sketch Eraser Pen Sets

Sketch Gray Tone Pencils for Art Students, Detail Highlight Blending Stumps, Makeup Sponge Pens, Quick Sketch Eraser Pen Sets

$6.46

Disposable Vacuum Cleaner Filter Mesh - Non-Woven Dust Bag with Elastic Band for Home Use

Disposable Vacuum Cleaner Filter Mesh - Non-Woven Dust Bag with Elastic Band for Home Use

$4.50

Systematic 3D Painting Learning Package (Includes 100 Lessons)

Systematic 3D Painting Learning Package (Includes 100 Lessons)

$798.00

6/8/12Pcs Silicone Red Wine Glass Identification Marker Char

6/8/12Pcs Silicone Red Wine Glass Identification Marker Char

$27.44

Stainless Steel Sink Drain Basket – Expandable Kitchen Dish and Vegetable Rack

Stainless Steel Sink Drain Basket – Expandable Kitchen Dish and Vegetable Rack

$12.35

Tungsten Carbide Internal Thread Tool Holder – Anti-Vibration CNC Turning Insert for Small Bore Threading (CNR)

Tungsten Carbide Internal Thread Tool Holder – Anti-Vibration CNC Turning Insert for Small Bore Threading (CNR)

$73.02

Henkel Loctite SICOMET 8400 77 99 40 50 Instant Adhesive for Metal and Rubber with BS Accelerator

Henkel Loctite SICOMET 8400 77 99 40 50 Instant Adhesive for Metal and Rubber with BS Accelerator

$69.00

Colored Pencil Set, Basswood Hexagonal Raw Wood Pencils for Painting and Art Coloring

Colored Pencil Set, Basswood Hexagonal Raw Wood Pencils for Painting and Art Coloring

$21.68

Small Ceramic Herb Jar – Imperial Yellow Hexagonal Double-Layer Container for Angong Niuhuang Wan Pills

Small Ceramic Herb Jar – Imperial Yellow Hexagonal Double-Layer Container for Angong Niuhuang Wan Pills

$8.80

Spanish Brush Master ESCODA PERLA Pearl White Toray Nylon Round Watercolor Brush, Short Handle 1430

Spanish Brush Master ESCODA PERLA Pearl White Toray Nylon Round Watercolor Brush, Short Handle 1430

$44.20

Qiwei COD Rapid Detector QW-COD-T/B - Chemical Oxygen Demand Tester with Potassium Dichromate Digestion for Wastewater

Qiwei COD Rapid Detector QW-COD-T/B - Chemical Oxygen Demand Tester with Potassium Dichromate Digestion for Wastewater

$3,330.16

Natural Wheat Straw Baby Rattle - Children's Musical Instrument Toy, Maraca, Shaker Bell for Newborns - Orff Music Instrument

Natural Wheat Straw Baby Rattle - Children's Musical Instrument Toy, Maraca, Shaker Bell for Newborns - Orff Music Instrument

$10.80

CANDLE.LAB | 100% Cotton Unwaxed Candle Wick Roll - Thin Stem Chandelier Candle Making Supplies #31

CANDLE.LAB | 100% Cotton Unwaxed Candle Wick Roll - Thin Stem Chandelier Candle Making Supplies #31

$25.00

Pneumatic Rotary Vibrator - Feiyu GT25 Pneumatic Vibrator - Quality Guaranteed

Pneumatic Rotary Vibrator - Feiyu GT25 Pneumatic Vibrator - Quality Guaranteed

$997.00

Quick-Frozen Vegetable Deodorizing Sterilization Washer IRW Zhongfang Ready-to-Cook Vegetable Production Washing Line Semi-Finished Vegetable Processing Oxygen Equipment

Quick-Frozen Vegetable Deodorizing Sterilization Washer IRW Zhongfang Ready-to-Cook Vegetable Production Washing Line Semi-Finished Vegetable Processing Oxygen Equipment

$27,000.00

KETELES 105R7120 Carbon Fiber Road Bike - Lightweight Racing Bicycle with Gear Shifter

KETELES 105R7120 Carbon Fiber Road Bike - Lightweight Racing Bicycle with Gear Shifter

$11,339.00

Natural White Crystal Sugar Cube DIY Crystal Jewelry Accessories Materials Irregular White Crystal Blocks

Natural White Crystal Sugar Cube DIY Crystal Jewelry Accessories Materials Irregular White Crystal Blocks

$2.50

Foldable Silicone Brush Washing Bucket - Portable Water Container for Calligraphy and Painting Students

Foldable Silicone Brush Washing Bucket - Portable Water Container for Calligraphy and Painting Students

$8.42

Cute Cartoon Bird Ceramic Brush Washer - Decorative Pen Cleaning Cup and Photo Prop

Cute Cartoon Bird Ceramic Brush Washer - Decorative Pen Cleaning Cup and Photo Prop

$12.60

Kitchen Storage Rack with Drainage Tray – Organizer for Dishcloths, Faucets, Sink Areas, and Dishwashing Supplies

Kitchen Storage Rack with Drainage Tray – Organizer for Dishcloths, Faucets, Sink Areas, and Dishwashing Supplies

$4.15

Sheng Y Graffiti Paint Brush Set, Children's Stationery Kit with Art Watercolor Pens, Factory Direct Gift Supplies

Sheng Y Graffiti Paint Brush Set, Children's Stationery Kit with Art Watercolor Pens, Factory Direct Gift Supplies

$49.10

Ningbo Manufacturer Display and Storage Rack, Wall-Mounted Tire Storage for Home Garage, Customizable Wall Tire Rack

Ningbo Manufacturer Display and Storage Rack, Wall-Mounted Tire Storage for Home Garage, Customizable Wall Tire Rack

$237.60

Universal Low-Temperature 3D Printing Pen Filament PCL, Eco-Friendly Material Wire 1.75mm Compatible with Deli Pens, 40 Color Options

Universal Low-Temperature 3D Printing Pen Filament PCL, Eco-Friendly Material Wire 1.75mm Compatible with Deli Pens, 40 Color Options

$3.80

Automatic Feeder - Stainless Steel Food Machinery Accessory Equipment

Automatic Feeder - Stainless Steel Food Machinery Accessory Equipment

$20,150.00

Henkel Loctite Super Glue Series: 401, 406, 460, 480, 495, 4011, 4161, 496, 382, 410

Henkel Loctite Super Glue Series: 401, 406, 460, 480, 495, 4011, 4161, 496, 382, 410

$28.00

Over-Toilet Storage Rack with Tissue Organizer for Bathroom, Vanity, and Shower Gel - Multi-Use Bathroom Shelf

Over-Toilet Storage Rack with Tissue Organizer for Bathroom, Vanity, and Shower Gel - Multi-Use Bathroom Shelf

$27.66

15-inch Carbon Fiber FPV Drone Frame - High-Strength Quadcopter Aerial Photography Chassis Direct Sale

15-inch Carbon Fiber FPV Drone Frame - High-Strength Quadcopter Aerial Photography Chassis Direct Sale

$396.44

Petal-Shaped Ceramic Tea Scoop and Holder for Gongfu Tea Ceremony

Petal-Shaped Ceramic Tea Scoop and Holder for Gongfu Tea Ceremony

$97.00