TCS34725 RGB Color Sensor Module

  • TCS34725 sensor – 16-bit RGB + Clear light detection
  • Built-in IR filter – accurate human-eye-like color sensing
  • Onboard white LED – consistent illumination under varying light
  • I2C interface – easy integration with Arduino, Raspberry Pi, ESP32
  • Works with 3.3V & 5V systems
  • Ideal for color recognition, sorting, ambient light sensing
  • Includes INT pin for interrupt-based detection
SKU: EK1731 Categories: , Tags: ,

Apple Shopping Event

Hurry and get discounts on all Apple devices up to 20%

Original price was: 270,00 EGP.Current price is: 250,00 EGP.

7 People watching this product now!

Payment Methods:

Description

The TCS34725 RGB Color Sensor Module is a high-performance color recognition module designed for precise color measurement in a wide range of applications. Featuring an integrated IR blocking filter, it provides accurate RGB and ambient light sensing. With I2C communication, it’s compatible with Arduino, STM32, and other development platforms, making it a versatile tool for DIY electronics projects.

Features:

  • High-Precision Color Detection: Measures RGB values and ambient light with excellent accuracy.
  • Integrated IR Blocking Filter: Ensures accurate color measurement by eliminating IR interference.
  • Wide Compatibility: Works seamlessly with Arduino, STM32, and other microcontroller platforms.
  • I2C Interface: Easy integration with two-wire communication for efficient data transfer.
  • Compact Design: Lightweight and space-saving, perfect for embedded projects.
  • Wide Applications: Ideal for robotics, display calibration, color sorting, and light-sensitive projects.
🔌
Pin Connections
1 Table
Pin Connections Table 1
BoardSensor PinConnection
TCS34725VCC/GND/SDA/SCL3.3V / GND / board SDA / board SCL
📟
TCS34725 RGB Color Sensor Module
7 Examples • C/C++ | Boards: Arduino Uno, Arduino Nano, Arduino Mega, ESP32, ESP8266, STM32, Raspberry Pi Pico
TCS34725 RGB Color Sensor Module - Arduino Uno
TCS34725 RGB Color Sensor Module - Arduino Nano
TCS34725 RGB Color Sensor Module - Arduino Mega
TCS34725 RGB Color Sensor Module - ESP32
TCS34725 RGB Color Sensor Module - ESP8266
TCS34725 RGB Color Sensor Module - STM32
TCS34725 RGB Color Sensor Module - Raspberry Pi Pico
📄 File: tcs34725_rgb_color_sensor_module_-_arduino_uno.inoArduino Uno
669 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// I2C wiring for Arduino Uno: A4=SDA, A5=SCL
6#include <Wire.h>
7#include "Adafruit_TCS34725.h"
8
9Adafruit_TCS34725 tcs = Adafruit_TCS34725(TCS34725_INTEGRATIONTIME_50MS, TCS34725_GAIN_4X);
10
11void setup() {
12 Serial.begin(115200);
13 Wire.begin();
14 if (!tcs.begin()) {
15 Serial.println("TCS34725 not found - check wiring!");
16 while (1) delay(10);
17 }
18}
19
20void loop() {
21 uint16_t r, g, b, c;
22 tcs.getRawData(&r, &g, &b, &c);
23
24 Serial.print("R:"); Serial.print(r);
25 Serial.print(" G:"); Serial.print(g);
26 Serial.print(" B:"); Serial.print(b);
27 Serial.print(" Clear:"); Serial.println(c);
28
29 delay(200);
30}
📄 File: tcs34725_rgb_color_sensor_module_-_arduino_nano.inoArduino Nano
670 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// I2C wiring for Arduino Nano: A4=SDA, A5=SCL
6#include <Wire.h>
7#include "Adafruit_TCS34725.h"
8
9Adafruit_TCS34725 tcs = Adafruit_TCS34725(TCS34725_INTEGRATIONTIME_50MS, TCS34725_GAIN_4X);
10
11void setup() {
12 Serial.begin(115200);
13 Wire.begin();
14 if (!tcs.begin()) {
15 Serial.println("TCS34725 not found - check wiring!");
16 while (1) delay(10);
17 }
18}
19
20void loop() {
21 uint16_t r, g, b, c;
22 tcs.getRawData(&r, &g, &b, &c);
23
24 Serial.print("R:"); Serial.print(r);
25 Serial.print(" G:"); Serial.print(g);
26 Serial.print(" B:"); Serial.print(b);
27 Serial.print(" Clear:"); Serial.println(c);
28
29 delay(200);
30}
📄 File: tcs34725_rgb_color_sensor_module_-_arduino_mega.inoArduino Mega
672 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// I2C wiring for Arduino Mega: D20=SDA, D21=SCL
6#include <Wire.h>
7#include "Adafruit_TCS34725.h"
8
9Adafruit_TCS34725 tcs = Adafruit_TCS34725(TCS34725_INTEGRATIONTIME_50MS, TCS34725_GAIN_4X);
10
11void setup() {
12 Serial.begin(115200);
13 Wire.begin();
14 if (!tcs.begin()) {
15 Serial.println("TCS34725 not found - check wiring!");
16 while (1) delay(10);
17 }
18}
19
20void loop() {
21 uint16_t r, g, b, c;
22 tcs.getRawData(&r, &g, &b, &c);
23
24 Serial.print("R:"); Serial.print(r);
25 Serial.print(" G:"); Serial.print(g);
26 Serial.print(" B:"); Serial.print(b);
27 Serial.print(" Clear:"); Serial.println(c);
28
29 delay(200);
30}
📄 File: tcs34725_rgb_color_sensor_module_-_esp32.inoESP32
671 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// I2C wiring for ESP32: GPIO21=SDA, GPIO22=SCL
6#include <Wire.h>
7#include "Adafruit_TCS34725.h"
8
9Adafruit_TCS34725 tcs = Adafruit_TCS34725(TCS34725_INTEGRATIONTIME_50MS, TCS34725_GAIN_4X);
10
11void setup() {
12 Serial.begin(115200);
13 Wire.begin();
14 if (!tcs.begin()) {
15 Serial.println("TCS34725 not found - check wiring!");
16 while (1) delay(10);
17 }
18}
19
20void loop() {
21 uint16_t r, g, b, c;
22 tcs.getRawData(&r, &g, &b, &c);
23
24 Serial.print("R:"); Serial.print(r);
25 Serial.print(" G:"); Serial.print(g);
26 Serial.print(" B:"); Serial.print(b);
27 Serial.print(" Clear:"); Serial.println(c);
28
29 delay(200);
30}
📄 File: tcs34725_rgb_color_sensor_module_-_esp8266.inoESP8266
665 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// I2C wiring for ESP8266: D2=SDA, D1=SCL
6#include <Wire.h>
7#include "Adafruit_TCS34725.h"
8
9Adafruit_TCS34725 tcs = Adafruit_TCS34725(TCS34725_INTEGRATIONTIME_50MS, TCS34725_GAIN_4X);
10
11void setup() {
12 Serial.begin(115200);
13 Wire.begin();
14 if (!tcs.begin()) {
15 Serial.println("TCS34725 not found - check wiring!");
16 while (1) delay(10);
17 }
18}
19
20void loop() {
21 uint16_t r, g, b, c;
22 tcs.getRawData(&r, &g, &b, &c);
23
24 Serial.print("R:"); Serial.print(r);
25 Serial.print(" G:"); Serial.print(g);
26 Serial.print(" B:"); Serial.print(b);
27 Serial.print(" Clear:"); Serial.println(c);
28
29 delay(200);
30}
📄 File: tcs34725_rgb_color_sensor_module_-_stm32.inoSTM32
665 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// I2C wiring for STM32: PB7=SDA, PB6=SCL
6#include <Wire.h>
7#include "Adafruit_TCS34725.h"
8
9Adafruit_TCS34725 tcs = Adafruit_TCS34725(TCS34725_INTEGRATIONTIME_50MS, TCS34725_GAIN_4X);
10
11void setup() {
12 Serial.begin(115200);
13 Wire.begin();
14 if (!tcs.begin()) {
15 Serial.println("TCS34725 not found - check wiring!");
16 while (1) delay(10);
17 }
18}
19
20void loop() {
21 uint16_t r, g, b, c;
22 tcs.getRawData(&r, &g, &b, &c);
23
24 Serial.print("R:"); Serial.print(r);
25 Serial.print(" G:"); Serial.print(g);
26 Serial.print(" B:"); Serial.print(b);
27 Serial.print(" Clear:"); Serial.println(c);
28
29 delay(200);
30}
📄 File: tcs34725_rgb_color_sensor_module_-_raspberry_pi_pico.inoRaspberry Pi Pico
681 characters
1//ekostra.com
2//electronics store in egypt
3//+201008896258
4
5// I2C wiring for Raspberry Pi Pico: GPIO4=SDA, GPIO5=SCL
6#include <Wire.h>
7#include "Adafruit_TCS34725.h"
8
9Adafruit_TCS34725 tcs = Adafruit_TCS34725(TCS34725_INTEGRATIONTIME_50MS, TCS34725_GAIN_4X);
10
11void setup() {
12 Serial.begin(115200);
13 Wire.begin();
14 if (!tcs.begin()) {
15 Serial.println("TCS34725 not found - check wiring!");
16 while (1) delay(10);
17 }
18}
19
20void loop() {
21 uint16_t r, g, b, c;
22 tcs.getRawData(&r, &g, &b, &c);
23
24 Serial.print("R:"); Serial.print(r);
25 Serial.print(" G:"); Serial.print(g);
26 Serial.print(" B:"); Serial.print(b);
27 Serial.print(" Clear:"); Serial.println(c);
28
29 delay(200);
30}
I2C RGB + clear light color sensor - much simpler wiring than the frequency-output TCS230/3200 family.

نظرة عامة ومواصفات المنتج — بالعربية

TCS34725 RGB Color Sensor Module متوفر الآن في متجر إكوسترا للإلكترونيات، ضمن قسم Light/Color Sensor وSensors، بسعر 250,00 EGP. كود المنتج لدينا: EK1731. المنتج غير متوفر حالياً — تواصل معنا عبر واتساب لمعرفة موعد توفره القادم.

أهم المواصفات الفنية:

  • Sensor Type: RGB Color Sensor with IR Filter
  • الموديل: TCS34725
  • Operating Voltage: 3.3V – 5V DC
  • Communication Interface: I2C (SDA, SCL)
  • Resolution: 16-bit ADC per channel
  • Sensitivity: Red, Green, Blue, Clear Channels
  • Ir Filter: Integrated to reduce IR interference
  • Light Source: White LED for illumination

هذا المنتج مناسب لمشاريع الأردوينو (Arduino) و ESP32 و Raspberry Pi، ومشاريع الروبوتات وإنترنت الأشياء والتعليم الهندسي. جميع القطع مفحوصة قبل الشحن.

تصفّح المزيد من Light/Color Sensor في إكوسترا.

Specification

Specification

WeightWeight6 g
Dimensions2,8 × 2 × 1 cm
Sensor TypeRGB Color Sensor with IR Filter
ModelTCS34725
Operating Voltage3.3V – 5V DC
Communication InterfaceI2C (SDA, SCL)
Resolution16-bit ADC per channel
SensitivityRed, Green, Blue, Clear Channels
IR FilterIntegrated to reduce IR interference
Light SourceWhite LED for illumination
Operating Temperature-40°C to +85°C
ApplicationsColor Detection, Color Sorting, Ambient Light Sensing, Arduino / Raspberry Pi Projects
Package Contents1× TCS34725 RGB Color Sensor Module

Customer Reviews