Wish List 0

Rgb Color Sensor With Ir Filter And White Led Tcs34725

Rs. 284.00 Rs. 327.00

  • Brand: https://ams.com/tcs34725
  • Product Code: SEN-COLOR
  • SKU - SE-1536
  • Availability: 2-3 Days
  • Price in reward points: 4
  • For Bulk Order 9962060070
    Quick support on WhatsApp (+919962060070) only between morning 11am-4pm, no call will be answered
>   The TCS34725, which has RGB and Clear mild sensing elements. An IR blocking filter, included on-chip and localized to the color sensing photo diodes, minimizes the IR spectral factor of the incoming mild and allows color measurements to be made appropriately. The filter out approach you may get a whole lot truer colour than maximum sensors, on account that humans do not see IR. The sensor additionally has an amazing 3,800,000:1 dynamic variety with adjustable integration time and advantage so it's far acceptable for use in the back of darkened glass.

SPECIFICATIONS:

    Supply Voltage [V]            :2.7 - 3.6

    Interface                            :VDD

    Color Sensor Channels   :RGBC

    IR Blocking Filter              :Yes

    Temperature Range [°C  :-40 to 85

    Packages                           :FN

    Programmable

OVERVIEW:

     -Integrated IR blocking filter

     -3.8M:1 dynamic range

     -Four independent analog-to-digital converters

     -A reference channel for color analysis (clear channel photodiode)

PACKAGE INCLUDES:

    1 PCS x Tcs34725 Rgb Color Sensor




//SOURCE CODE TAKEN FROM BELOW LIN

//http://arduinolearning.com/code/arduino-tcs34725-color-sensor.php


#include <Wire.h>

#include "Adafruit_TCS34725.h"

 

/* Example code for the Adafruit TCS34725 breakout library */

 

/* Connect SCL to analog 5

Connect SDA to analog 4

Connect VDD to 3.3V DC

Connect GROUND to common ground */

 

/* Initialise with default values (int time = 2.4ms, gain = 1x) */

// Adafruit_TCS34725 tcs = Adafruit_TCS34725();

 

/* Initialise with specific int time and gain values */

Adafruit_TCS34725 tcs = Adafruit_TCS34725(TCS34725_INTEGRATIONTIME_700MS, TCS34725_GAIN_1X);

 

void setup(void) {

Serial.begin(9600);

 

if (tcs.begin()) {

Serial.println("Found sensor");

} else {

Serial.println("No TCS34725 found ... check your connections");

while (1);

}

 

// Now we're ready to get readings!

}

 

void loop(void) {

uint16_t r, g, b, c, colorTemp, lux;

 

tcs.getRawData(&r, &g, &b, &c);

colorTemp = tcs.calculateColorTemperature(r, g, b);

lux = tcs.calculateLux(r, g, b);

 

Serial.print("Color Temp: "); Serial.print(colorTemp, DEC); Serial.print(" K - ");

Serial.print("Lux: "); Serial.print(lux, DEC); Serial.print(" - ");

Serial.print("R: "); Serial.print(r, DEC); Serial.print(" ");

Serial.print("G: "); Serial.print(g, DEC); Serial.print(" ");

Serial.print("B: "); Serial.print(b, DEC); Serial.print(" ");

Serial.print("C: "); Serial.print(c, DEC); Serial.print(" ");

Serial.println(" ");

}

15 DAYS

Write a review

Please login or register to review