Color light sensor for accurate RGB measurements with I2C, suitable for 3.3V and 5V logic.
SKU: OT3509 Article number: NB072 EAN: 8720618827012 Location: F08.05
Alternative
Color sensor TCS3200
€ 8,85
View this alternative
From now on, your electronics will see dazzling colors with this beautiful color light sensor.
This is the best color sensor on the market, the TCS34725, which has RGB and Clear light detection elements.
An IR blocking filter enables accurate color measurements, giving you a much more true-to-life color than most sensors, because people do not see IR.
Suitable for use behind tinted glass thanks to the incredible dynamic range of 3.800.000:1 with adjustable integration time and gain.
With a 3.3V regulator, so you can safely power the breakout with 3-5VDC and level shifting for the I2C pins, so they can be used with 3.3V or 5V logic.
In addition, a nice neutral 4150°K temperature LED with a MOSFET driver on board to illuminate what you are trying to sense. The LED can easily be switched on or off by a logic-level output.
Connect to any microcontroller with I2C and the example code will quickly get you started with 4-channel readings.
Connect the sensor by connecting VDD to 3-5VDC, ground to common ground, SCL to I2C Clock and SDA to I2C data on your Arduino. Restart the IDE and select the example sketch and place all your favorite fruit next to the sensor element!
Main features:
PACKAGE CONSISTS OF:
TCS34725 RGB color sensor module
Male header
The sensor works by shining white light on an object and measuring the amount of red, green, blue and white light reflected by the surface of that object.
The measurements are made using a 3 x 4 matrix of sensors with red/green/blue color filters in front of them. It also measures the overall intensity of the reflected light using a clear filter over three of the sensors. The entire sensor array has an IR filter over it that minimizes the effect of IR light on the measurements.
The analog sensor outputs are converted to 16-bit digital values using 4 integrating ADCs. These digital sensor values are then available to the MCU via the I2C bus.
There are 2 main settings that can be configured to influence the readings and optimize them for a particular application.
Gain Setting: The gain setting can be set to 1X, 4X, 16X or 60X. Higher gain settings can help read the color correctly in low light, but it can also increase the noise level of the measurement.
Integration time: The integration time is the length of time used to take the sample. Longer integration times can provide better accuracy in some applications. The integration time TCS34725 Module Schematisch can be set to 2.4 mS, 24 mS, 50 mS, 101 mS, 154 mS or 700 mS.
If the interrupt is enabled and the measured values exceed an upper or lower limit value set for the interrupt, the open-collector output is driven LOW. Because it is an open-collector output, a pull-up resistor is required on the INT line to pull it HIGH when it is not being driven LOW. This can usually be implemented by enabling an internal pull-up on the uC data pin.
The built-in white LED is used to illuminate the object being measured and can be controlled via the LED pin on the module. If the pin is floating, the LED turns on. If it is desired to keep it permanently off, the pin can be grounded. The pin can also be connected to a digital output on the MCU and switched on/off when samples are taken.
I2C interface
The module communicates via a standard I2C interface. The I2C address is fixed at address 0x29.
The module contains MOSFETs and pull-up resistors for level shifting of the I2C SDA and SCL lines, so they work correctly with both 3.3 and 5V MCUs.
Powering the module
The module can be powered by an input of 5 V or 3.3 V on the VIN pin on the module.
The TCS34725 sensor operates at 3.3 V, so a built-in 3.3 V regulator lowers the higher voltages to 3.3 V required for the sensor.
A 3V3 pin on the module provides access to the 3.3V output of the regulator if needed.
Module connections
LED = LED control input. Leave floating for LED always on. Pull LOW to turn off the LED
INT = Interrupt output active LOW. Output is open-collector so requires pull-up resistor. Connects to an interrupt input on the MCU, if used.
SDA = I2C SDA line. Connects to SDA on MCU
SCL = I2C SCL line. Connects to SCL on MCU
3V3 = 3.3V output of the built-in 3.3V regulator
GND = ground connects to ground on the MCU
VIN = Input power. Connects to 3.3 V or 5 V on the MCU
Module mounting
The module comes with the male header loose. This allows the header to be soldered to the top or bottom of the module depending on the intended use, or wires can be used to make the connections.
For breadboard use, we place the headers on the bottom. Soldering is easiest if the header is inserted into a breadboard to hold it in place during the soldering process.
| Supply voltage | 3.3 V or 5 V |
|---|---|
| Gain | 1X, 4X, 16X or 60X |
| I2C address | 0x29 |
| 3.800.000 | 1 dynamic range |
| Integration time | 2.4 mS, 24 mS, 50 mS, 101 mS, 154 mS or 700 mS |
No reviews yet.
RGB Sensor Module TCS34725