TCS34725 colour sensor
Digital RGB and clear light sensor with an IR filter.
What is the TCS34725 colour sensor and what is it used for?
Digital RGB and clear light sensor with an IR filter. Makers use it for colour matching.
An array of red, green, blue and clear photodiodes behind an IR-blocking filter, with a 16-bit ADC per channel.
Key specifications
| Sensor spec | Value |
|---|---|
| Measures | Red, green, blue and clear light |
| Interface | I2C |
| I2C address | 0x29 |
| Supply voltage | 2.7 to 3.6 V (modules take 5 V) |
Pinout
How to use it
Use the Adafruit TCS34725 library. Shade it from room light and hold the object at a fixed distance under the white LED, then calibrate with white and black samples.
Applications
Builds that use it
Colour reader and matcher
Fruit ripeness colour checker
Colour identifier for colour-blind users
Escape room puzzle box
ESP32 colour name reader
Colour-sorting pick-and-place arm
Colour announcer for the visually impaired
Candy colour sorter
Alternatives
- Color sensor TCS3200 / TCS230Cheaper frequency-output sensor
- AS7341 11-channel spectral sensorMore colour bands
Common questions
What is the TCS34725 colour sensor used for?
In maker projects: colour matching.
How does the TCS34725 colour sensor work?
An array of red, green, blue and clear photodiodes behind an IR-blocking filter, with a 16-bit ADC per channel.
What voltage does the TCS34725 colour sensor need?
2.7 to 3.6 V (modules take 5 V).
How do I connect the TCS34725 colour sensor to an Arduino or ESP32?
I2C. Pins: VIN (3.3 to 5 V on modules), GND (Ground), 3V3 (Regulator output), SCL (I2C clock), SDA (I2C data), INT (Interrupt).
What can I use instead of the TCS34725 colour sensor?
Color sensor TCS3200 / TCS230 and AS7341 11-channel spectral sensor.
