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

All Categories
Best Seller (30)
New List (30)
Yonghe Hair Transplant: Shaved Method for Large-Area Top Density Enhancement - Unlimited Grafts by Director Team

Yonghe Hair Transplant: Shaved Method for Large-Area Top Density Enhancement - Unlimited Grafts by Director Team

$19,800.00

Long Rectangular Self-Watering White Planter for Narrow Window Sills and Balconies

Long Rectangular Self-Watering White Planter for Narrow Window Sills and Balconies

$12.90

[In Stock] Maihe BOXFUN Rilakkuma Watch Blind Box - Gulu Gulu Moment Series Wristwatch, Gift for Girls

[In Stock] Maihe BOXFUN Rilakkuma Watch Blind Box - Gulu Gulu Moment Series Wristwatch, Gift for Girls

$29.00

6-Cavity Tulip Flower Handmade Soap Mold - DIY Silicone Mold for Soap and Baking

6-Cavity Tulip Flower Handmade Soap Mold - DIY Silicone Mold for Soap and Baking

$11.87

TILTA Video Transmission Heat Sink Cooling Fan Compatible with DJI Transmission

TILTA Video Transmission Heat Sink Cooling Fan Compatible with DJI Transmission

$298.75

CNC External Thread Tool Holder SER2020K16/2525M16, 22 Positive/Negative External Turning Lathe Bar

CNC External Thread Tool Holder SER2020K16/2525M16, 22 Positive/Negative External Turning Lathe Bar

$15.92

Drive Board JINT-E1C for ABB ACS850 Inverter

Drive Board JINT-E1C for ABB ACS850 Inverter

$4,100.00

Retainer Storage Case - Portable Magnetic Box for Invisalign, Dentures, and Children's Braces

Retainer Storage Case - Portable Magnetic Box for Invisalign, Dentures, and Children's Braces

$17.80

High-Quality Natural Wood Pencils - Non-Toxic HB and 2B for Grades 1-2 Writing, Exams, Drawing, and Sketching

High-Quality Natural Wood Pencils - Non-Toxic HB and 2B for Grades 1-2 Writing, Exams, Drawing, and Sketching

$4.02

Wen Zhengming Small Regular Script 'Caotang Shizhi, Xue Fu, Yue Fu' Close-Up Tracing Cards Calligraphy Copybook

Wen Zhengming Small Regular Script 'Caotang Shizhi, Xue Fu, Yue Fu' Close-Up Tracing Cards Calligraphy Copybook

$10.00

Inverter Power Board SINT4610C

Inverter Power Board SINT4610C

$3,072.00

Freestanding Bathroom Toilet Storage Rack, Multi-Tier Organizer for Above-Toilet Space

Freestanding Bathroom Toilet Storage Rack, Multi-Tier Organizer for Above-Toilet Space

$92.80

VP39-2/J30-18 Transmission Bearing Size 30X62X20 Original Japan Import

VP39-2/J30-18 Transmission Bearing Size 30X62X20 Original Japan Import

$402.00

Marie's Art Exam Sketch Blending Stump Set - Dual-Head Gray Surface Blending Pen, Full Kit with Soft-Tip Paper Stumps (2-Pack) for Professional Art Students

Marie's Art Exam Sketch Blending Stump Set - Dual-Head Gray Surface Blending Pen, Full Kit with Soft-Tip Paper Stumps (2-Pack) for Professional Art Students

$5.80

G80 Manganese Steel Lifting Chain Rigging - Hooks, Links, and Rings for Crane Hoisting and Mold Handling

G80 Manganese Steel Lifting Chain Rigging - Hooks, Links, and Rings for Crane Hoisting and Mold Handling

$96.00

K2E200-AH20-05 Rittal Cabinet Cooling Fan, German ebmpapst Fan, 230V 70W

K2E200-AH20-05 Rittal Cabinet Cooling Fan, German ebmpapst Fan, 230V 70W

$2,394.00

Double-Layer Stainless Steel Reactor – Lab Atmospheric/High-Pressure/Negative Pressure Stirred Kettle for Distillation, Hydrogenation, Polymerization, Polyester

Double-Layer Stainless Steel Reactor – Lab Atmospheric/High-Pressure/Negative Pressure Stirred Kettle for Distillation, Hydrogenation, Polymerization, Polyester

$7,500.00

Thickened Felt Calligraphy Mat - Specialized Cloth for Brush Writing, Chinese Painting Practice, and Grid Desk Padding

Thickened Felt Calligraphy Mat - Specialized Cloth for Brush Writing, Chinese Painting Practice, and Grid Desk Padding

$5.61

Dashan Colored Paper Calligraphy Felt Mat Traditional Chinese Painting Practice Mat for Beginners Ancient Style Desk Pad

Dashan Colored Paper Calligraphy Felt Mat Traditional Chinese Painting Practice Mat for Beginners Ancient Style Desk Pad

$15.78

MAIKE Outdoor Waterproof Dry Bag - Foldable Bucket Pack for Diving, Snorkeling, Swimming, Rafting, and Surfing

MAIKE Outdoor Waterproof Dry Bag - Foldable Bucket Pack for Diving, Snorkeling, Swimming, Rafting, and Surfing

$10.90

Cinnabar Liquid Rooster Comb Blood Daoist Bletilla Natural Raw Ore Water-Floated Cinnabar Powder Ink for Calligraphy and Painting

Cinnabar Liquid Rooster Comb Blood Daoist Bletilla Natural Raw Ore Water-Floated Cinnabar Powder Ink for Calligraphy and Painting

$4.53

Goat Hair Flat Wash Brush Background Wash Brush for Fine Line Traditional Chinese Painting Base Color Background Wool Brush Gouache Watercolor Oil Painting Soft Bristle Row Brush

Goat Hair Flat Wash Brush Background Wash Brush for Fine Line Traditional Chinese Painting Base Color Background Wool Brush Gouache Watercolor Oil Painting Soft Bristle Row Brush

$4.25

Pre-sale Litin The Husky and His White Cat Shizun: Past and Present Life Badge & Colored Paper Set (Mo Ran & Chu Wanning)

Pre-sale Litin The Husky and His White Cat Shizun: Past and Present Life Badge & Colored Paper Set (Mo Ran & Chu Wanning)

$24.00

Hot-Selling Street Fair and Temple Fair Toy Source - Wooden Puppet Rattle Drums, Cartoon Wooden Man Shakers

Hot-Selling Street Fair and Temple Fair Toy Source - Wooden Puppet Rattle Drums, Cartoon Wooden Man Shakers

$1.50

Air Source Heat Pump Water Heater for Commercial and Home Heating by AMA Shengneng

Air Source Heat Pump Water Heater for Commercial and Home Heating by AMA Shengneng

$8,400.00

Waterproof Dry Bag for Outdoor Rafting and River Trekking - Wet/Dry Separation Storage for Swimming, Fitness, Beach, and Sand Activities

Waterproof Dry Bag for Outdoor Rafting and River Trekking - Wet/Dry Separation Storage for Swimming, Fitness, Beach, and Sand Activities

$8.42

Maichuang Continuous Peanut Roasting Machine - Electromagnetic Drum Roaster for Soybeans, Large-Scale Production Line Equipment

Maichuang Continuous Peanut Roasting Machine - Electromagnetic Drum Roaster for Soybeans, Large-Scale Production Line Equipment

$2,356.00

Free Shipping: Colorful Cartoon Hand-Crank Drum Puppet Toy for Kids – Perfect for Street Markets and Temple Fairs

Free Shipping: Colorful Cartoon Hand-Crank Drum Puppet Toy for Kids – Perfect for Street Markets and Temple Fairs

$64.00

Flower Doctor Balcony Vegetable Growing Box - Family Vegetable & Strawberry Planter, Rooftop Rectangular Plastic Flower Pot

Flower Doctor Balcony Vegetable Growing Box - Family Vegetable & Strawberry Planter, Rooftop Rectangular Plastic Flower Pot

$38.09

Miracle-Gro Organic Potting Soil for Balcony Gardens, Vegetables, Green Plants, Flowers, and General Home Gardening, 40L

Miracle-Gro Organic Potting Soil for Balcony Gardens, Vegetables, Green Plants, Flowers, and General Home Gardening, 40L

$195.98