Free shipping on orders over Rs 10000.00 | Support: +977-9856066112
TCS34725 RGB sensor
Readers/scanners SKU: TCS34725 RGB sensor

TCS34725 RGB sensor

Rs700.00 Rs800.00 Save 12%

Low Stock - Only 2 left
Genuine
Fast Delivery
Easy Returns

The TCS34725 is a digital color light sensor that can detect:

✅ Red
✅ Green
✅ Blue
✅ Clear (total light / brightness)

It includes an IR blocking filter + on-board white LED illumination, which makes color readings much more accurate than basic LDRs or photoresistors.

It communicates using I²C, so it only needs 2 data pins — super easy for microcontrollers.

✨ Key Features

✅ RGB + Clear light sensing
✅ Built-in IR filter (better color accuracy)
✅ I²C interface (SDA/SCL)
✅ Onboard white LED for illumination
✅ 16-bit resolution
✅ Adjustable gain & integration time
✅ Low power consumption
✅ Works with Arduino, ESP32, Raspberry Pi

📊 Electrical Specifications (Typical)
Parameter Value
Operating voltage 3.3 V – 5 V
Logic interface I²C
I²C address 0x29
ADC resolution 16-bit
Channels Red, Green, Blue, Clear
Integration time 2.4 ms – 700 ms
Gain settings 1×, 4×, 16×, 60×
Current consumption ~200–300 µA (sensor only)
LED current ~10–20 mA
Operating temp -30 °C to 85 °C
🔌 Pin Configuration (Typical Breakout)
Pin Function
VIN / VCC 3.3–5 V power
GND Ground
SDA I²C data
SCL I²C clock
INT Interrupt (optional)
LED LED enable (some boards)

💡 Most boards already include pull-up resistors for I²C.

⚙️ How It Works (Simple Idea)

Inside the chip:

📸 Light hits photodiodes
→ filtered into R/G/B/C channels
→ converted to digital values
→ sent over I²C

So you get numbers like:

Red = 2450
Green = 1800
Blue = 900
Clear = 4000

Then you calculate color or lux in software.

🛠️ What You Can Detect

You can measure:

✔ Object color
✔ Light intensity (lux)
✔ White balance
✔ Color matching
✔ Sorting objects by color

For example:

Red object → high Red value

Blue object → high Blue value

Dark → low Clear value

🔧 Typical Wiring (Arduino/ESP32)
I²C Connection
Sensor Arduino
------- --------
VCC → 5V or 3.3V
GND → GND
SDA → A4 (or SDA)
SCL → A5 (or SCL)

ESP32:

SDA → GPIO21
SCL → GPIO22

💻 Example Arduino Code

Using Adafruit library:

#include <Wire.h>
#include "Adafruit_TCS34725.h"

Adafruit_TCS34725 tcs = Adafruit_TCS34725();

void setup() {
Serial.begin(9600);
tcs.begin();
}

void loop() {
uint16_t r, g, b, c;
tcs.getRawData(&r, &g, &b, &c);

Serial.print("R: "); Serial.print(r);
Serial.print(" G: "); Serial.print(g);
Serial.print(" B: "); Serial.print(b);
Serial.print(" C: "); Serial.println(c);

delay(500);
}

Super easy 👍

🛠️ Common Applications

🎨 Color sorting robots
📦 Packaging inspection
🌱 Plant/lighting analysis
🧃 Smart vending machines
🤖 Line/color following robots
🖨️ Color matching systems
💡 Ambient light sensing

💡 Design Tips
✅ Use the onboard LED

Gives consistent lighting → better readings.

✅ Keep distance constant

2–3 cm from object is ideal.

✅ Shield from ambient light

External light can affect readings.

✅ Calibrate

Take baseline readings for white/black.

✅ Quick Summary

TCS34725 = digital RGB + light sensor with I²C

Perfect when you want:
✔ Accurate color detection
✔ Brightness measurement
✔ Easy 4-wire wiring
✔ Robotics / IoT color sensing

No specifications available.

0.0

Based on 0 reviews

No reviews yet. Be the first to review this product!

Login to write a review.