The TCS34725 Color Recognition Sensor Module (Square Black Version) is a high-precision, digital color detection board designed for Arduino UNO, STM32, ESP32, Raspberry Pi, and other microcontroller projects. Built around the AMS TCS34725 RGB color sensor IC, this module provides accurate RGB and clear-light measurements through a simple I²C interface, eliminating the need for complex frequency counting or external ADCs. The distinctive square black PCB offers a compact, professional appearance and easy identification in your project.
At the heart of the module is the TCS34725, a 4-channel digital color sensor that combines red, green, blue, and clear (unfiltered) photodiodes in a single package. The integrated IR blocking filter is a key advantage over older sensors like the TCS230/TCS3200: it minimizes the infrared component of ambient light, which would otherwise distort color readings and cause inaccurate results under incandescent or sunlight illumination. This makes the TCS34725 far more accurate and reliable in real-world lighting conditions.
The module features a high-precision 16-bit analog-to-digital converter for each channel, providing high sensitivity and a wide dynamic range across varying light conditions. It communicates via a standard I²C interface (fast mode, 400kHz) with a default I²C address of 0x29, allowing direct connection to most microcontrollers. The onboard 3.3V regulator and level shifter ensure compatibility with both 3.3V and 5V logic systems, making the module directly compatible with Arduino UNO (5V) and STM32 (3.3V) without additional components.
The Square Black Version features a compact square PCB with a 4-pin interface (VCC, GND, SDA, SCL) for straightforward wiring. The module includes onboard I²C pull-up resistors and is ready for immediate use. The programmable integration time and gain settings allow you to optimize the sensor for different lighting conditions, from dim indoor environments to bright outdoor settings.
The module outputs raw RGBC data (Red, Green, Blue, Clear), along with calculated color temperature (CCT) and lux values via the sensor’s integrated algorithms. This makes it ideal for color temperature measurement, ambient light sensing, display backlight adjustment, and color identification applications.
The TCS34725 is widely used in color sorting systems, RGB LED control and calibration, ambient light sensing, display color management, product inspection, plant growth monitoring, and educational STEM projects. It is also popular in smart home devices, mobile phone camera accessories, and wearable technology where accurate color sensing is required.
Important Note: The TCS34725 uses I²C communication, so it is not a direct pin-compatible drop-in for TCS230/TCS3200 frequency-output modules — you must use the TCS34725 library and I²C protocol. The sensor measures reflected light, so sensing distance and illumination affect readings. For best results, maintain a fixed distance (typically 1–3cm) and use the onboard LEDs (if equipped) for consistent illumination. The IR filter reduces but does not eliminate infrared interference in very bright sunlight. The module is not waterproof and should be kept dry.
Whether you are building a color sorting machine, an RGB LED controller, or an ambient light sensing device, the TCS34725 Color Recognition Sensor Module (Square Black Version) provides a reliable, accurate solution with the convenience of I²C communication and on-chip IR filtering. It is suitable for individual makers, students, and businesses purchasing in bulk for product development or educational programs.
Features
-
TCS34725 RGB color sensor IC — 4-channel RGBC photodiode array
-
Integrated IR blocking filter — Reduces infrared interference for accurate color readings
-
High-precision 16-bit ADC — High sensitivity and wide dynamic range per channel
-
I²C digital interface — Standard I²C communication (0x29), no ADC or frequency counting required
-
Onboard 3.3V regulator and level shifter — Compatible with both 3.3V and 5V microcontrollers
-
Programmable integration time and gain — Optimize for different lighting conditions
-
Onboard I²C pull-up resistors — Ready for direct connection
-
Square black PCB — Compact, professional appearance with easy identification
-
4-pin interface — VCC, GND, SDA, SCL for simple connection
-
Wide application range — Color sorting, RGB LED control, ambient light sensing, product inspection
Technical Specifications
| # | Parameter | Specification |
|---|---|---|
| 1 | Sensor IC | AMS TCS34725 |
| 2 | Channels | Red, Green, Blue, Clear (RGBC) |
| 3 | ADC Resolution | 16-bit per channel |
| 4 | Interface | I²C (default address 0x29) |
| 5 | IR Blocking Filter | Integrated |
| 6 | Operating Voltage | 3.3V – 5V DC (onboard regulator) |
| 7 | Programmable Gain | 1x, 4x, 16x, 60x |
| 8 | Pin Count | 4 pins (VCC, GND, SDA, SCL) |










