参数资料
型号: TCS3404FN
厂商: AMS-TAOS USA Inc
文件页数: 22/41页
文件大小: 0K
描述: IC COLOR SENSOR DGTL PROGR 6-DFN
标准包装: 1
系列: *
其它名称: TCS3404-FNDKR

TCS3404, TCS3414
DIGITAL COLOR SENSORS
TAOS137A ? APRIL 2011
APPLICATION INFORMATION: SOFTWARE
Basic Operation
After applying V DD , the device will initially be in the power?down state. To operate the device, issue a command
to access the control register followed by the data value 03h to the control register to set ADC_EN and POWER
to power up the device. At this point, all four ADC channels will begin a conversion at the default integration time
of 12 ms. After 12 ms, the conversion results will be available in ADC Channel Data Registers (10h through 17h).
The following pseudo code illustrates a procedure for reading the TCS3404/14 device using Word and Byte
transactions:
// Read ADC Channels Using Read Word Protocol ? RECOMMENDED
Address = 0x39
Command = 0x80
PowerUp = 0x03 //Power Up and Enable ADC
//Wait for integration conversion
//Address the Ch1 lower data register and configure for Read Word
Command = 0xB0 //Set Command bit and Word transaction
//Reads two bytes from sequential registers 10h and 11h
//Results are returned in DataLow and DataHigh variables
ReadWord (Address, Command, DataLow, DataHigh)
Channel1 = 256 * DataHigh + DataLow
//Address the Ch2 lower data register and configure for Read Word
Command = 0xB2 //Set Command bit and Word transaction
//Reads two bytes from sequential registers 12h and 13h
//Results are returned in DataLow and DataHigh variables
ReadWord (Address, Command, DataLow, DataHigh)
Channel2 = 256 * DataHigh + DataLow //Shift DataHigh to upper byte
//Address the Ch3 lower data register and configure for Read Word
Command = 0xB4 //Set Command bit and Word transaction
//Reads two bytes from sequential registers 14h and 15h
//Results are returned in DataLow and DataHigh variables
ReadWord (Address, Command, DataLow, DataHigh)
Channel3 = 256 * DataHigh + DataLow
//Address the Ch4 lower data register and configure for Read Word
Command = 0xB8 //Set Command bit and Word transaction
//Reads two bytes from sequential registers 16h and 17h
//Results are returned in DataLow and DataHigh variables
ReadWord (Address, Command, DataLow, DataHigh)
Channel4 = 256 * DataHigh + DataLow //Shift DataHigh to upper byte
The LUMENOLOGY r Company
r
www.taosinc.com
r
Copyright E 2011, TAOS Inc.
21
相关PDF资料
PDF描述
TC32N3C32K7680 OSCILLATOR 32.7680 KHZ 2.5V SMD
TC32L3C32K7680 OSCILLATOR 32.7680 KHZ 3.3V SMD
72905-0 CLIP LEAD FOR MICRO GRABBER BLK
TC32V3I32K7680 OSCILLATOR 32.7680 KHZ 1.5V SMD
TC32N3I32K7680 OSCILLATOR 32.7680 KHZ 2.5V SMD
相关代理商/技术参数
参数描述
TCS3413 制造商:TAOS 制造商全称:TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS 功能描述:DIGITAL COLOR SENSORS
TCS3413CS 功能描述:光学数位转换器 TriColor Sensor RGB, Clear Ch RoHS:否 制造商:ams 数据总线宽度: 峰值波长:470 nm 最大工作频率: 工作电源电压: 工作电流: 最大工作温度:+ 85 C 最小工作温度:- 40 C 封装 / 箱体:Chipscale-6 封装:Reel
TCS3413FN 功能描述:光学数位转换器 TRI Color Sensor LTD I2C 6 Pin ODFN RoHS:否 制造商:ams 数据总线宽度: 峰值波长:470 nm 最大工作频率: 工作电源电压: 工作电流: 最大工作温度:+ 85 C 最小工作温度:- 40 C 封装 / 箱体:Chipscale-6 封装:Reel
TCS3414 制造商:TAOS 制造商全称:TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS 功能描述:DIGITAL COLOR SENSORS
TCS3414CS 功能描述:光学数位转换器 TriColor Sensor RGB, Clear Ch RoHS:否 制造商:ams 数据总线宽度: 峰值波长:470 nm 最大工作频率: 工作电源电压: 工作电流: 最大工作温度:+ 85 C 最小工作温度:- 40 C 封装 / 箱体:Chipscale-6 封装:Reel