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)
408 Fast-Drying Glue - Strong Low-Whitening Instant Adhesive for Metal and Plastic, Heat Resistant

408 Fast-Drying Glue - Strong Low-Whitening Instant Adhesive for Metal and Plastic, Heat Resistant

$53.12

UE5.1-5.7 Ancient Sci-Fi Gate Model Instrument Consultation

UE5.1-5.7 Ancient Sci-Fi Gate Model Instrument Consultation

$2.00

Biliansheng Hair Transplant - Non-Shave Female Hairline Restoration & Density Enhancement

Biliansheng Hair Transplant - Non-Shave Female Hairline Restoration & Density Enhancement

$19,999.00

Water Brush Pen Set Large Capacity Beginner Gouache Solid Watercolor Paint Brush Tools Line Drawing Art Student

Water Brush Pen Set Large Capacity Beginner Gouache Solid Watercolor Paint Brush Tools Line Drawing Art Student

$32.00

Beginner Watercolor Painting Line Art Coloring Book, Hua Meng Lv Ren by Stan, Fine Texture, 2-Pack Free Shipping

Beginner Watercolor Painting Line Art Coloring Book, Hua Meng Lv Ren by Stan, Fine Texture, 2-Pack Free Shipping

$10.60

New Wanli Tire 265/45R21 SU306+ - Compatible with AITO M7, BYD Tang, Range Rover, Li Auto, and NIO

New Wanli Tire 265/45R21 SU306+ - Compatible with AITO M7, BYD Tang, Range Rover, Li Auto, and NIO

$528.00

Suzhou Factory Wholesale Chain Store Logo - RGB Illuminated Letters, Acrylic Neon Signs for Window and Counter Display

Suzhou Factory Wholesale Chain Store Logo - RGB Illuminated Letters, Acrylic Neon Signs for Window and Counter Display

$1,911.00

RoHS 1.0 Environmental Tester for Alloy Analysis and Heavy Metal Detection in Plastic Toys

RoHS 1.0 Environmental Tester for Alloy Analysis and Heavy Metal Detection in Plastic Toys

$15.30

Mont Marte Long-Handle Bristle Brush – Professional Art Brush for Acrylics, Oil Painting, and Flat Wash Techniques

Mont Marte Long-Handle Bristle Brush – Professional Art Brush for Acrylics, Oil Painting, and Flat Wash Techniques

$37,500.00

Portable Plastic Backpack Fertilizer Bucket for Manual Fruit Picking, Seed Feeding, and PPC Fertilization

Portable Plastic Backpack Fertilizer Bucket for Manual Fruit Picking, Seed Feeding, and PPC Fertilization

$9.50

Chinese-Style Hand-Drawn Plant Line Art Coloring Book on 100% Cotton Watercolor Paper

Chinese-Style Hand-Drawn Plant Line Art Coloring Book on 100% Cotton Watercolor Paper

$15.80

Eagle Brand 99021 Industrial Scouring Pads, Cleaning Cloths, and Polishing Pads Supply

Eagle Brand 99021 Industrial Scouring Pads, Cleaning Cloths, and Polishing Pads Supply

$666.00

Pad Printing Machine Parts - Zhongke 4-Inch Blade Clamp, Blade Holder, and Doctor Blade Frame (In Stock)

Pad Printing Machine Parts - Zhongke 4-Inch Blade Clamp, Blade Holder, and Doctor Blade Frame (In Stock)

$4.50

Pneumatic Throttle Valve Quick Connect Fitting SL4-01/4-02/4-03 Air Pressure Regulator Flow Control Valve

Pneumatic Throttle Valve Quick Connect Fitting SL4-01/4-02/4-03 Air Pressure Regulator Flow Control Valve

$8.60

Pad Printing Silicone Rubber Heads Electric Long Round Square Durable Customizable 30-Year Established Store

Pad Printing Silicone Rubber Heads Electric Long Round Square Durable Customizable 30-Year Established Store

$3.00

Specialized Vegetable Growing Box - Foam Balcony Planter, Rectangular Plastic Pot for Home Gardening

Specialized Vegetable Growing Box - Foam Balcony Planter, Rectangular Plastic Pot for Home Gardening

$41.70

Candy Naoko Gujima Mr. Saxophone City Pop Sheet Music with Accompaniment Demo

Candy Naoko Gujima Mr. Saxophone City Pop Sheet Music with Accompaniment Demo

$37.00

Multi-Color Detachable Water Bucket Stand - Office Purified Water Dispenser Holder (Inverted)

Multi-Color Detachable Water Bucket Stand - Office Purified Water Dispenser Holder (Inverted)

$60.95

Oil-Based Original Strong Fast-Drying Adhesive for Metal, Plastic, Rubber, Ceramics, and Wood, Multi-Purpose Transparent Glue (Not 502)

Oil-Based Original Strong Fast-Drying Adhesive for Metal, Plastic, Rubber, Ceramics, and Wood, Multi-Purpose Transparent Glue (Not 502)

$21.60

Jay Chou - Feng BROTHER_CHAO Piano Accompaniment Sheet Music

Jay Chou - Feng BROTHER_CHAO Piano Accompaniment Sheet Music

$50.00

Toplip Automatic Retractable Air Hose Reel, Water Drum, High-Pressure Foam Drum for Pneumatic Tools and Auto Repair

Toplip Automatic Retractable Air Hose Reel, Water Drum, High-Pressure Foam Drum for Pneumatic Tools and Auto Repair

$118.00

500L Yogurt Production Line - Stand-Up Pouch Filling Machine with Complete Dairy Processing Equipment and Fermentation Tank

500L Yogurt Production Line - Stand-Up Pouch Filling Machine with Complete Dairy Processing Equipment and Fermentation Tank

$13,720.00

5A Grade Uruguay Natural Deep Purple Amethyst Loose Beads DIY Crystal Accessories Amethyst Loose Round Beads Semi-Finished

5A Grade Uruguay Natural Deep Purple Amethyst Loose Beads DIY Crystal Accessories Amethyst Loose Round Beads Semi-Finished

$1.20

Car Vacuum Cleaner - High Suction, Compact, Silent, and High-Power

Car Vacuum Cleaner - High Suction, Compact, Silent, and High-Power

$68.89

Fifty Seven-Character Quatrains in Wang Xizhi's Running Script Calligraphy

Fifty Seven-Character Quatrains in Wang Xizhi's Running Script Calligraphy

$67.00

Food-Grade Square Retainer Storage Case for Orthodontic Aligners and Dentures

Food-Grade Square Retainer Storage Case for Orthodontic Aligners and Dentures

$6.72

365-Day Electric Guitarist Training Plan by Toshiro Miyako – Rock Electric Guitar Chinese Tutorial

365-Day Electric Guitarist Training Plan by Toshiro Miyako – Rock Electric Guitar Chinese Tutorial

$53.00

Portable Invisible Aligner Case - Compact Breathable Box for Orthodontic Retainers, Dentures, and Cleaning Storage

Portable Invisible Aligner Case - Compact Breathable Box for Orthodontic Retainers, Dentures, and Cleaning Storage

$18.80

Makeup Room Shelf Triangle Bathroom Corner Storage Rack No-Drill Wall-Mounted Vanity Organizer

Makeup Room Shelf Triangle Bathroom Corner Storage Rack No-Drill Wall-Mounted Vanity Organizer

$23.82

Stainless Steel Sink Organizer for Sponges and Steel Wool - Drill-Free Dishwashing Pad Rack with Drainage

Stainless Steel Sink Organizer for Sponges and Steel Wool - Drill-Free Dishwashing Pad Rack with Drainage

$9.50