TCS230 Color Sensor Module User s Guide

Similar documents
TPA3123 Class-D Audio Amplifier Board User s Guide

Intelligent Infrared CO2 Module (Model: MH-Z19)

PAM8803 Class-D Audio Amplifier Board User s Guide

RF1276 Long Distance Transceiver module V2.0

RF7129 Ultra-low power Tranceiver module V2.0

Carbon Dioxide (Tiny CO2) Gas Sensor. Rev TG400 User Manual

2pcs 1.8" 0507 Dot Matrix Display Information Board User s Guide

Low Power with Long Range RF Module DATASHEET Description

DRF7020D13 13dBm ISM RF Transceiver Module

DRF4432D20 20dBm ISM RF Transceiver Module V1.21

Intelligent Infrared Carbon Dioxide Module (Model: MH-Z14)

RF ISM Transparent Transceiver Module V4.0

DRF7020D20 20dBm ISM RF Transceiver Module V1.31

Model : KY202M. Module Features. Heart Rate Variability Processing Module

DRF5150S Wireless Sensor Transmitter Module V1.30

GLOBALSAT GPS Engine Board

RF1212 RF1212 Ultra-low Power ISM Transceiver Module V2.0

DRF5150S Wireless Sensor Transmitter Module V1.20

DRF4463D20 Medium Power ISM RF Transceiver Module V1.21

GPS Demo Board User s Guide

Tri-Linear Series: BMT-2098C-A User Manual

MTS2500 Synthesizer Pinout and Functions

USART Digital Compass Manual

BLE 4.0 Module ZBModule User Manual 1 / 15

DUAL BAND FM WIRELESS TRANSCEIVER RXQ1. Applications

TSYS01-FAMILY Digital Temperature Sensors

GLOBALSAT GPS Engine Board

Engineer-to-Engineer Note

DRF1278F 20dBm LoRa Long Range RF Front-end Module V1.11

Product Specifications. Wireless Communication Module

Catalog

Embedded Radio Data Transceiver SV611

HC-12 Wireless Serial Port Communication Module

MY-ZB010C UART to ZigBee Module

TS100. RTD - PT100 - Temperature Sensor. March, 2017

PM2.5 / PM1.0 Sensor Particulate Matter Sensing Solution

SRWF-1021 Series Low Power Wireless Transceiver Data Module User Manual

Catalog

SNIOT702 Specification. Version number:v 1.0.1

CSR Bluetooth Modules SBC05-AT. Specification. Version July-11

USER MANUAL. Laser Particle Sensor Module PM fan series. Wuhan Cubic Optoelectronics Co.,Ltd. Ver.:

DRA808M 30dBm Wireless Voice Transceiver Module V1.11

GLOBALSAT GPS+BDS Engine Board

Technical Manual. CruizCore R1350N Rev Copyright Microinfinity Co., Ltd.

K-Band Doppler Sensor Module

Four channel wireless switch controller SK108

Intelligent Infrared CO2 Module (Model: MH-Z19B)

2-Way 3 Amps Step-Down DC-DC Regulator User s Guide

USER'S MANUAL. Model : K

HAC-HM Series Data Radios

Catalogue

SA828. SA828 All-in-One walkie-talkie module Description. SA828-U: U band, MHz SA828-V: V band, MHz

Embedded low power radio modem SLR-434M Smart RF modem

SDI-12 and the Sentek Enviroscan Soil Moisture Probe

ELT Sensor Data Sheet for S-300-3V

VT-DTMSA5-433M RF Transceiver Module User s guide

TSYS01 Digital Temperature Sensor

Catalogue 1. Brief Description Product feature Typ. Circuit Block Diagram...

LORA1278F30 Catalogue

LORA1276F30 Catalogue

DOC_ID:SS Introduction sheet. CCD linear scan engine. Product name MDC-100. Issue NO DM DOC_ID SS13070

Amphenol Advanced Sensors. SM-UART-04L PM2.5 + PM10 Particulate Dust Sensor. Application Note. Features. Applications

A Wireless Mesh IoT sensor system FEATURES DESCRIPTION. Vicotee Njord series Nodes

ELT Sensor Data Sheet for C2H4-D3

LoRa1276 Catalogue

AO-1505-THM ZigBee Temperature and Humidity Sensor

FC-703C Wireless M-bus Module DATA SHEET

C-Band VSAT Block Up Converters

Features Ÿ Ÿ Ÿ Ÿ Ÿ Ÿ Ÿ Ÿ Ÿ

CBM7021 Capacitive Touch Sensor Controller Datasheet Chipsbank Microelectronics Co., Ltd.

SV-MESH Mesh network series Catalogue

3V TRANSCEIVER 2.4GHz BAND

YDLIDAR G4 DATASHEET. Doc#: 文档编码 :

LASER. Analog Laser Displacement Transducer. LAM Series. Key-Features: Content:

Parallel Input/Output. Microcomputer Architecture and Interfacing Colorado School of Mines Professor William Hoff

CSR Bluetooth Modules MB-C05-A2DP MB-C05-AT

SPECIFICATION. Product Name: Dust Sensor DS1705A. Product Data Sheet. Review Check Approve. Technology Quality Supplier

LM3647 Universal Battery Charger for Li-Ion, Ni-MH and Ni-Cd Batteries

DMR818 Catalogue

Pololu TReX Jr Firmware Version 1.2: Configuration Parameter Documentation

Ku-Band VSAT Block Up Converters

Modulo User Guide. Part Number: AFERO-BL24-01 Rev: 1.0

I2C Encoder. HW v1.2

Citrus Circuits Fall Workshop Series. Roborio and Sensors. Paul Ngo and Ellie Hass

TR-72D. Data Sheet. Transceiver Module MICRORISC s.r.o. Datasheet_TR-72D_ Page 1

Adding Heart to Your Technology

1 What s in the shipping package?

RF4432 wireless transceiver module

ES86 Series Closed-loop Stepper Drive + Motor System (Drive+ Motor/Encoder)

The PmodIA is an impedance analyzer built around the Analog Devices AD bit Impedance Converter Network Analyzer.

Multi-channel DC power digital isolation transducer manual CE-AD81-34MN3-0.5

GLOBALSAT GPS Engine Board

KAPPA M. Radio Modem Module. Features. Applications

DC/DC Converter VRA_ZP-6WR3 & VRB_ZP-6WR3 Series

Color TFT Liquid Crystal Display Module + Arduino Shield

I-7088, I-7088D, M-7088 and M-7088D User Manual

E3A EVAL BOARD USER'S GUIDE for use with QT300 and QT301 QProx sensor ICs

PRELIMINARY. Unless otherwise specified, all limits ensured for T a =+25 C, VDD=3.3V, GND=0V PARAMETER SYMBOL TEST CONDITION MIN. TYP. MAX.

(DC)TR-72D. Data Sheet. Transceiver Module MICRORISC s.r.o. Datasheet_TR-72D_ Page 1

CONDOR C1216 GPS RECEIVER MODULE technical notes ZELIA INTEGRATES ANTENNA, GPS RECEIVER, RTC AND LNA

Transcription:

TCS230 Color Sensor Module User s Guide DC-SS501_Ver1.0

TCS230 COLOR SENSOR MODULE USER S GUIDE Table of Contents Chapter 1. Overview...1 1.1 Overview... 1 1.2 Features... 1 1.3 Applications... 1 1.4 Pin Descriptions... 2 Chapter 2. Hardware Detail...3 2.1 Absolute Maximum Ratings... 3 2.2 Operating Ratings... 3 2.3 Color Characteristics... 3 2.4 Interface Characteristics... 3 2.4.1 Digital Interface Characteristics... 3 2.4.2 Analog Interface Characteristics... 5 Chapter 3. Application Notes...7 3.1 Principle of How TCS230 Identifies Different Colors... 7 3.2 White Balance... 7 3.3 Test Mode and Normal Mode... 7 Chapter 4. Mechanical Drawing...8 Chapter 5. Contact Us...9 DC-SS501_Ver1.0_Page i

TCS230 Color Sensor Module NOTES: Product Version : Ver 1.0 Document Version : Ver 1.0 DC-SS501_Ver1.0_Page ii 2004-2009 Sure Electronics Inc

TCS230 COLOR SENSOR MODULE USER S GUIDE Chapter 1. Overview 1.1 Overview 1.2 Features Welcome to use TCS230 Color Sensor Module by Sure Electronics. Employing TCS230 of TAOS as the signal acquisition chip, this module is quite available in color detection and sorting operations. It is also useful by providing both digital and analog signal outputs. DC: 3.3V to 5V Fast response time Supplied 6mm lens with an IR filters Analog & digital output Analog: RGB voltage signal linear output Digital: UART half duplex, SPI slave mode DIP-like packaging, which facilitates system integration FIGURE 1-1 OVERVIEW 1.3 Applications Portable color identification system Color monitor to color printing Process control to printed materials LED testing Other occasions requiring color detection and sorting operations DC-SS501_Ver1.0_Page 1

TCS230 Color Sensor Module 1.4 Pin Descriptions FIGURE 1-2 BACK VIEW TABLE 1-1 PIN DESCRIPTION Label Pin Function Label Pin Function S1 1 Analog output control terminal 1 VCC 2 Power input S2 3 Analog output control terminal 2 VCC 4 Power input RXD 5 UART Received Data GND 6 Ground TXD 7 UART Transmitted Data GND 8 Ground /CS 9 SPI enable. Vref 10 Reference voltage output SCK 11 SPI clock GND 12 Ground SDO 13 SPI data output Vcolor 14 Color voltage output SDI 15 SPI data input GND 16 Ground DC-SS501_Ver1.0_Page 2 2004-2009 Sure Electronics Inc

TCS230 COLOR SENSOR MODULE USER S GUIDE Chapter 2. Hardware Detail 2.1 Absolute Maximum Ratings Storage temperature:-20 to 85 C Storage humidity range: 0 to 90 % RH Supply voltage: DC 5.5 V 2.2 Operating Ratings Temperature operating range:-15 to 60 C Humidity operating range: 0 to 85% RH Supply voltage: DC 3.3V to 5V 2.3 Color Characteristics TABLE 2-1 COLOR CHARACTERISTICS Parameter Min. Typ. Max. Unit. Color measuring range 350 / 750 nm Luminance range 100 / / lux Response time / 500 / ms Note: You can refer to TCS230 datasheet for more information about Color Characteristics. 2.4 Interface Characteristics 2.4.1 Digital Interface Characteristics D-1.Digital Interface I/O Electrical Characteristics : Vin=3.3V to 5.0V TABLE 2-2 DIGITAL INTERFACE CHARACTERISTICS Parameter Min. Typ. Max. Units Input low voltage / / 0.2Vin V Input high voltage 0.8Vin / / V Output low voltage / / 0.6 V Output high voltage Vin 0.9 / / V D-2. UART Interface: DC-SS501 has an UART interface and is able to communicate with any host that has an UART interface. 1 UART Properties: Baud rate: 9600bps Start bit: 1bit Data bit: 8bits Parity bit: 0bit Stop bit: 1bit 2 UART Command: DC-SS501_Ver1.0_Page 3

TCS230 Color Sensor Module TABLE 2-3 UART COMMAND Command Function wb Start white balance tm Enter test mode nm Enter normal mode r Access current Red value g Access current Green value b Access current Blue value Note: 1. All UART commands shall start with $sure and followed by a space (0x20) and end with enter (0x0d, 0x0a). 2. All UART commands shall be expressed in ASCII. 3. All UART commands are not case-sensitive. 3 Examples: 1. Start white balance 2. Access current Red value 3. Enter test mode 4. Enter normal mode 5. Prompt of bad commands Unrecognized guide word, returns Bad command! Unknown command! Incorrect command returns Unknown command! D-3.SPI Interface: DC-SS501 has a SPI interface (Slave Mode), which can be used conveniently for the communication with any host that has SPI interface. 1 SPI Command: DC-SS501_Ver1.0_Page 4 2004-2009 Sure Electronics Inc

Hardware Detail TABLE 2-4 SPI COMMAND Command Function 0x c0 Return current Red value (0~255) 0x c1 Return current Green value (0~255) 0x c2 Return current Blue value (0~225) 2 Examples: TABLE 2-5 EXAMPLES Received command Return value Descriptions 0xc0 0xF5 The current Red value is 245 0xc1 0x10 The current Green value is 16 0xc2 0x3D The current Blue value is 61 3 SPI Timing: FIGURE 2-1 SPI TIMING Note: 1. The SCK frequency of SPI interface shall be in a range from 3 khz to 2MHz. 2. /CS is in low level only when SPI interface communication is in progress and shall be in high level in any other situations. 3. The interval of two successive commands shall be greater than 0.2s. 4. SPI interface in this version doesn t have the function of white balance. UART interface must be used. 5. SPI in this version is not available in the test mode. 2.4.2 Analog Interface Characteristics DC-SS501 is integrated with an analog output set, which can work only in the normal mode. A-1. Analog Output Selection Control The analog output of DC-SS501 controls the type of Color output via two selection terminals: TABLE 2-6 SELECTION TERMINALS S1 S2 Color output 0 0 Red 0 1 Green 1 0 Blue 1 1 Off A-2.Color Output Typical Characteristics DC-SS501_Ver1.0_Page 5

TCS230 Color Sensor Module TABLE 2-7 COLOR OUTPUT LOOK-UP TABLE DC-SS501_Ver1.0_Page 6 2004-2009 Sure Electronics Inc

TCS230 COLOR SENSOR MODULE USER S GUIDE Chapter 3. Application Notes 3.1 Principle of How TCS230 Identifies Different Colors According to the induction principle of the three primary colors which create various other colors in nature, once the value of the three primary colors is confirmed, the color of the tested object is known. When a color filter is selected, TCS230 just allows the corresponding color to pass. E.g. when the red filter is selected, only red light can pass through it and the red light intensity can be obtained. So is the green and blue filter. Knowing the value of RGB helps people gain the color of the light which is projected onto TCS230 since each color corresponds to only one value of RGB. 3.2 White Balance Simply speaking, White Balance is to tell the system what white is. In theory, white is a mixture of red, green and blue which are equivalent. Actually, the three primary colors are not in the absolutely equivalent value and TCS230 senses differently to the three basic colors so that RGB outputs are not equal. Hence white balance should be adjusted before test to enable TCS230 get the equivalent value of RGB of white which will be tested. If TCS230 is used for the first or to identify the restart of the module and light replacement, white balance should be adjusted for the follow-up color identification. 3.3 Test Mode and Normal Mode Test mode and normal mode are set to meet different customers need. In test mode, it will be slow that UART interface outputs the value of RGB frequency outputted by TCS230 (The specific meaning of RGB frequency can be read in TCS230 Data Sheet). In addition, neither SPI nor analog interface is available. In normal mode, UART interface outputs the value of RGB (0~255) which is calibrated by White Balance and both SPI interface and analog interface works. DC-SS501_Ver1.0_Page 7

TCS230 COLOR SENSOR MODULE USER S GUIDE Chapter 4. Mechanical Drawing FIGURE 4-1 MECHANICAL DRAWING DC-SS501_Ver1.0_Page 8

TCS230 COLOR SENSOR MODULE USER S GUIDE Chapter 5. Contact Us Sure Electronics Co., Ltd. 5F, Zone A, Qinhuai Technology Innovation Center 105-2 DaMing Rd (ZIP:210022) Nanjing P.R.China Tel: +86-13601408832 (For technical questions only) +86-25-66606340 (English service, from GMT1-10AM) Fax: +86-25- 66606341-866 Website: www.sure-electronics.com www.sure-electronics.net DC-SS501_Ver1.0_Page 9