参数资料
型号: TCS3404FN
厂商: AMS-TAOS USA Inc
文件页数: 24/41页
文件大小: 0K
描述: IC COLOR SENSOR DGTL PROGR 6-DFN
标准包装: 1
系列: *
其它名称: TCS3404-FNDKR
TCS3404, TCS3414
DIGITAL COLOR SENSORS
TAOS137A ? APRIL 2011
APPLICATION INFORMATION: SOFTWARE
Configuring the Timing Register
The command, timing, and control registers are initialized to default values on power up. Setting these registers
to the desired values would be part of a normal initialization or setup procedure. In addition, to maximize the
performance of the device under various conditions, the integration time and gain may be changed often during
operation. The following pseudo code illustrates a procedure for setting up the timing register for various
options.
// Set up Timing Register
//Low Gain (1x), integration time of 12ms (default value)
Address = 0x39
Command = 0x81 //Timing Register
Data = 0x02
WriteByte(Address, Command, Data)
//Low Gain (1x), integration time of 101ms
Command = 0x81 //Timing Register
Data = 0x01
WriteByte(Address, Command, Data)
//Low Gain (1x), integration time of 12ms
Data = 0x00
WriteByte(Address, Command, Data)
//High Gain (16x), integration time of 101ms
Command = 0x81 //Timing Register
Data = 0x01
WriteByte(Address, Command, Data)
Command = 0x87 //Gain Control Register
Data = 0x20
WriteByte(Address, Command, Data)
//Read data registers (see Basic Operation example)
//Perform Manual Integration of 50 us
//Set up for manual integration
Command = 0x80
Data = 0x01
WriteByte(Address, Command, Data)
Command = 0x81
Data = 0x10
WriteByte(Address, Command, Data)
Command = 0x80
Data = 0x03
WriteByte(Address, Command, Data)
//Integrate for 50ms
Sleep (50)
//Stop integrating
Command 0x80
Data = 0x01
//Disable ADC_EN
//Set manual integration
//Enable ADC_EN and begin integration
//Wait for 50ms
//Disable ADC_EN and stop integration
WriteByte(Address, Command, Data)
//Read data registers (see Basic Operation example)
The LUMENOLOGY r Company
r
www.taosinc.com
r
Copyright E 2011, TAOS Inc.
23
相关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