Components / Sensors / Color sensor TCS3200 / TCS230

Color sensor TCS3200 / TCS230

Colour sensor that turns red, green and blue light into a frequency.

MeasuresRed, green, blue and clear light
InterfaceSquare wave whose frequency follows light level
Supply voltage2.7 to 5.5 V
SensorsReviewedMPN TCS3200Used in 2 projects
TCS3200
In short

What is the Color sensor TCS3200 / TCS230 and what is it used for?

Colour sensor that turns red, green and blue light into a frequency. Makers use it for colour sorting machines.

How it works

An array of photodiodes with red, green, blue and clear filters feeds a light-to-frequency converter.

Key specifications

Sensor specValue
MeasuresRed, green, blue and clear light
InterfaceSquare wave whose frequency follows light level
Supply voltage2.7 to 5.5 V

Pinout

VCC2.7 to 5.5 V
GNDGround
S0 and S1Output frequency scaling
S2 and S3Colour filter select
OUTSquare wave whose frequency rises with light
OEOutput enable, active low

How to use it

Set S0 HIGH and S1 LOW for 20 % scaling, then select red, green, blue and clear filters in turn with S2 and S3 and measure the pulse width with pulseIn(). Calibrate against white and black cards in the same light.

Applications

Alternatives

Buy at

Common questions

What is the Color sensor TCS3200 / TCS230 used for?

In maker projects: colour sorting machines.

How does the Color sensor TCS3200 / TCS230 work?

An array of photodiodes with red, green, blue and clear filters feeds a light-to-frequency converter.

What voltage does the Color sensor TCS3200 / TCS230 need?

2.7 to 5.5 V.

How do I connect the Color sensor TCS3200 / TCS230 to an Arduino or ESP32?

Square wave whose frequency follows light level. Pins: VCC (2.7 to 5.5 V), GND (Ground), S0 and S1 (Output frequency scaling), S2 and S3 (Colour filter select), OUT (Square wave whose frequency rises with light), OE (Output enable, active low).

What can I use instead of the Color sensor TCS3200 / TCS230?

TCS34725 colour sensor and APDS-9960 gesture, colour and proximity sensor.