Skip to main content

TCS34725 Color Sensor

The TCS34725 is a digital Light-To-Digital converter, meaning it converts light from the visible spectrum to a digital signal that is read by an external microcontroller. It has internal sensors for red, green, blue and clear channels and communicates using the I2C protocol.


TCS34725 Pinout Configuration

Pin Number

Pin Name




Supply voltage



I2C clock input



IC ground reference



Do not connect



Interrupt output, open drain



I2C serial data output


Features and Specifications

  • 3.3V typical operating voltage, 3.8V max.
  • Red, green, blue and clear light sensing with IR filter
  • Programmable gain and integration time
  • I2C fast mode compatible
  • DFN-6 package


Note: Complete technical details can be found in the TCS34725 datasheet given at the end of this page.


TCS34725 Equivalent

TCS3x71 series

Other Colour Sensors



How To Use TCS34725

The TCS34725 is an I2C colour-to-digital converter that converts red, green, blue, and clear (ambient light) to a 16 bit digital value. The IC has internal 16-bit integrating ADCs to convert the raw data to a digital code. The ADC has a variable integration time. The chip is controlled internally by a state machine and has an I2C interface to talk to external microcontrollers, with the address 0x29. It also has a maskable interrupt feature, which can be used to tell the microcontroller when a colour conversion is finished.

The internal diagram of the TCS34725 is shown below.

TCS34725 Internal Circuit Diagram

The various I2C registers that control the chip can be found in the datasheet. Data is written in an 8 bit format, which contains control information of a 5 bit register address.



  • RGB LED backlight control
  • Light colour temperature measurement
  • Fluid and gas analysis
  • Ambient light sensing
  • Consumer and commercial printing


2D Model and Dimensions

If you are designing a PCB or Perf board with this component then the following picture from the Datasheet will be useful to know its package type and dimensions.

TCS34725 2D Model and Dimensions

Component Datasheet

Related Post

Join 20K+subscribers

We will never spam you.

* indicates required

Be a part of our ever growing community.