Seeed Grove - I2C User Manual

Color sensor

Advertisement

Quick Links

Grove - I2C Color Sensor

User Manual

Release date:
Version:
Wiki:http://www.seeedstudio.com/wiki/index.php?title=Twig_-_I2C_C
olor_Sensor_v0.9b
Bazaar:http://www.seeedstudio.com/depot/Grove-I2C-Color-Sensor-p
-854.html
2015/9/22
1.0
1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Grove - I2C and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Seeed Grove - I2C

  • Page 1: User Manual

    Grove - I2C Color Sensor User Manual Release date: 2015/9/22 Version: Wiki:http://www.seeedstudio.com/wiki/index.php?title=Twig_-_I2C_C olor_Sensor_v0.9b Bazaar:http://www.seeedstudio.com/depot/Grove-I2C-Color-Sensor-p -854.html...
  • Page 2 Document Revision History Revision Date Author Description Sep 22, 2015 jiankai.li Create file...
  • Page 3: Table Of Contents

    Contents 1. Introduction · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · · 2 2.
  • Page 4 Under the supervision of Seeed Technology Inc., this manual has been compiled and published which covered the latest product description and specification. The content of this manual is subject to change without notice.
  • Page 5: Introduction

    Introduction This module is based on the color sensor TCS3414CS with digital output I2C. Based on the 8*2 array of filtered photodiodes and 16-bit analog-to-digital converters, you can measure the color chromaticity of ambient light or the color of objects. Of the 16 photodiodes, 4 have red filters, 4 have green filters, 4 have blue filters and 4 have no filter(clear).
  • Page 6: Specification

    Specification  PCB Size :2.0cm*4.0cm  Interface :2.0mm pitch pin header  IO Structure :SCL,SDA,VCC,GND  ROHS :YES  VCC :3.3 ~6.0 V  Operating Free-air Temperature :-40 ~ 85 ° C...
  • Page 7: Demonstration

    Demonstration This module can be used to detect the color of light source or the color of objects. When used to detect the color of the light source, the led switch should be turned off, and the light source should shine the sensor directly. When used to detect the color of things, the led should be on and you should put the object on the top of the enclosure closely.
  • Page 8: With Arduino/Seeeduino

    Grove products have a eco system and all have a same connector which can plug onto the Base Shield. Connect this module to the I2C port of Base Shield, however, you can also connect Grove - I2C Color Sensor to Arduino without Base Shield by jumper wires. Arduino UNO...
  • Page 9: Color Sensor Examples/Applications

    Serial.println(" )"); colorSensor.clearInterrupt(); Color Sensor Examples/Applications These example are going to show you how to use features of Grove - I2C Color Sensor. And via Chainable RGB LED Grove to display the detected color. Notice: If you haven't download Grove-Chainable RGB LED library to your Arduino IDE before, please download and set up the library first.
  • Page 10 ChainableLED leds(CLK_PIN, DATA_PIN, NUM_LEDS); void setup() Serial.begin(9600); Wire.begin(); void loop() int red, green, blue; GroveColorSensor colorSensor; colorSensor.ledStatus = 1; // When turn on the color sensor LED, ledStatus = 1; When turn off the color sensor LED, ledStatus = 0. while(1) colorSensor.readRGB(&red, &green, &blue);...
  • Page 11: Resources

    Resources  Library Grove - I2C Color Sensor  Grove-I2C Color Sensor Eagle File  TCS3414-A Datasheet...
  • Page 12: Other Reference

    Other Reference This module is based on the color sensor TCS3414CS. The TCS3414CS digital color sensor returns data from four channels: red(R), green(G), blue(B) and clear(C)(non-filtered). The response from the red, green and blue channels (RGB) can be used to determine a particular source’s chromaticity coordinates (x, y).
  • Page 14 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Seeed Studio 101020041...

Table of Contents