参数资料
型号: TCS3416FN
厂商: AMS-TAOS USA Inc
文件页数: 24/41页
文件大小: 0K
描述: IC COLOR SENSOR DGTL PROGR 6-DFN
标准包装: 1
系列: *
其它名称: TCS3416-FNDKR
TCS3416-FNDKR-ND
TCS3416FNDKR
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描述
TC32V3C32K7680 OSCILLATOR 32.7680 KHZ 1.5V SMD
6263-0 ADAPTER IC PROBE TIP BLACK
TCS3415FN IC COLOR SENSOR DGTL PROGR 6-DFN
TC32M3C32K7680 OSCILLATOR 32.7680 KHZ 1.8V SMD
TCS3414FN IC COLOR SENSOR DGTL PROGR 6-DFN
相关代理商/技术参数
参数描述
TCS3471 制造商:TAOS 制造商全称:TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS 功能描述:COLOR LIGHT-TO-DIGITAL CONVERTER
TCS34711 制造商:TAOS 制造商全称:TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS 功能描述:COLOR LIGHT-TO-DIGITAL CONVERTER
TCS34711FN 制造商:ams 功能描述:
TCS34713 制造商:TAOS 制造商全称:TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS 功能描述:COLOR LIGHT-TO-DIGITAL CONVERTER
TCS34715 制造商:TAOS 制造商全称:TEXAS ADVANCED OPTOELECTRONIC SOLUTIONS 功能描述:COLOR LIGHT-TO-DIGITAL CONVERTER