TCS3414FN TAOS, TCS3414FN Datasheet - Page 23

Photodiodes TRI Color Sensor LTD I2C 6 Pin ODFN

TCS3414FN

Manufacturer Part Number
TCS3414FN
Description
Photodiodes TRI Color Sensor LTD I2C 6 Pin ODFN
Manufacturer
TAOS
Type
Digital Color Sensorr
Datasheet

Specifications of TCS3414FN

Photodiode Material
InGaN
Peak Wavelength
640 nm
Maximum Rise Time
300 ns
Maximum Fall Time
300 ns
Package / Case
DFN-6
Mounting Style
SMD/SMT
Product
Ambient Light Sensor
Lead Free Status / Rohs Status
 Details

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TCS3414FN
Manufacturer:
NSC
Quantity:
430
Configuring the Timing Register
// Set up Timing Register
//Read data registers (see Basic Operation example)
//Perform Manual Integration of 50 us
//Read data registers (see Basic Operation example)
The LUMENOLOGY r Company
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.
//Low Gain (1x), integration time of 12ms (default value)
Address = 0x39
Command = 0x81
Data = 0x02
WriteByte(Address, Command, Data)
//Low Gain (1x), integration time of 101ms
Command = 0x81
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
Data = 0x01
WriteByte(Address, Command, Data)
Command = 0x87
Data = 0x20
WriteByte(Address, Command, Data)
//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
WriteByte(Address, Command, Data)
APPLICATION INFORMATION: SOFTWARE
r
www.taosinc.com
//Timing Register
//Timing Register
//Timing Register
//Gain Control Register
//Disable ADC_EN
//Set manual integration
//Enable ADC_EN and begin integration
//Wait for 50ms
//Disable ADC_EN and stop integration
r
DIGITAL COLOR SENSORS
TCS3404, TCS3414
Copyright E 2011, TAOS Inc.
TAOS137A − APRIL 2011
23

Related parts for TCS3414FN