Difference between revisions of "Color Sensor Module"

From Wiki
Jump to: navigation, search
(Resources)
(Resources)
Line 36: Line 36:
  
 
=='''Resources'''==
 
=='''Resources'''==
[http://www.sunfounder.com/wiki/index.php?title=File:TCS3200_TCS3210_datasheet.pdf TCS3200_TCS3210_datasheet][[File:PDF.jpg]]<br>
+
[http://wiki.sunfounder.cc/index.php?title=File:TCS3200_TCS3210_datasheet.pdf TCS3200_TCS3210_datasheet][[File:PDF.jpg]]<br>
 
[https://www.sunfounder.com/learn/Sensor-Kit-v2-0-for-Arduino/lesson-32-color-detection-sensor-kit-v2-0-for-arduino.html  Color Sensor Experiment for Arduino][[File:LINK.jpg]]
 
[https://www.sunfounder.com/learn/Sensor-Kit-v2-0-for-Arduino/lesson-32-color-detection-sensor-kit-v2-0-for-arduino.html  Color Sensor Experiment for Arduino][[File:LINK.jpg]]

Revision as of 07:30, 20 March 2017

Introduction

The Color Sensor is a complete color detector. It consists of a TAOS TCS3200 RGB sensor chip and 4 white LEDs. It can detect and measure a nearly limitless range of visible colors to a certain degree.
Color1.jpg
Color2.JPG

Principle

The color of an object we can see in fact is the chromatic light the object reflects in the white light (sunlight) after it absorbs the rest ones. The white color is a mixture of various visible colors, which means it includes each colored light like red (R), yellow (Y), green (G), blue (B), and purple (P). Based on the theory of three primary colors, any color is made by mixing the three primary colors (red, green, and blue) in a certain proportion.
Thus, knowing the proportion you can get the color of the tested object. For TCS3200, when a color filter is selected, it only allows a specific primary color to pass through and blocks the other two colors. With the light intensity value of the three primary colors, by analysis we can know the color of light reflected to TCS3200.
The TCS3200 sensor has 4 types of filter: red filter, green filter, blue filter, and clear with no filter. The filter is selected based on the high/low of pin S2 and S3 on the module (see the table below):
Color3.png
The module contains a programmable converter which transforms colorlight to frequency. When the part of RGB colors in the light reflected by the object passes through the filter selected to the TAOS TCS3200 RGB chip, the built-in oscillator outputs square waves. The frequency of the waves is directly proportional to the light intensity – the more intense the light is, the higher is the frequency. Also, the frequency of the OUT pin on the sensor module is proportional to that of the oscillator; the proportion depends on the high/low of pin S0 and S1, as shown in the table.
Color3.png
The schematic diagram of the module:
Color5.png

Features

1) A complete color detector that consists of a TAOS TCS3200 RGB sensor chip and 4 white LEDs. It can detect and measure a nearly limitless range of visible colors to a certain degree
2) TCS3200 uses a 8- pin SOIC surface mount package
3) Working voltage: 3-5V DC; PCB size: 2.4 x 2.8 cm
4) Place the color sensor on the surface of an object and the color value can be displayed in the Serial Monitor.
5) Strong anti-interference ability; the white LED can be controlled on/off.
6) Single-Supply Operation (2.7V to 5.5V)
7) High-Resolution Conversion of Light Intensity to Frequency
8) Programmable Color and Full-Scale Output Frequency
9) Power Down Feature
10) Communicates Directly to Microcontroller
11) Support LED lamp light supplement control

Application

1) Color detection solution
2) Color identification device

TCS3200 Pin Functions

Color6.png
Color7.png

Resources

TCS3200_TCS3210_datasheetPDF.jpg
Color Sensor Experiment for ArduinoLINK.jpg