Color sensor TCS3200 / TCS230
Colour sensor that turns red, green and blue light into a frequency.
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.
An array of photodiodes with red, green, blue and clear filters feeds a light-to-frequency converter.
Key specifications
| Sensor spec | Value |
|---|---|
| Measures | Red, green, blue and clear light |
| Interface | Square wave whose frequency follows light level |
| Supply voltage | 2.7 to 5.5 V |
Pinout
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
Builds that use it
Alternatives
- TCS34725 colour sensorI2C readings and an IR-blocking filter
- APDS-9960 gesture, colour and proximity sensorColour plus gesture and proximity
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.
