TCS3414FN TAOS, TCS3414FN Datasheet - Page 31

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
// Generate an interrupt
The LUMENOLOGY r Company
The following example pseudo code illustrates the configuration of an SMB-Alert style interrupt when the light
intensity changes 20% from the current value, and persists for 2.5 seconds:
In order to generate an interrupt on demand during system test or debug, a test mode (INTR = 11) can be used.
The following example illustrates how to generate an interrupt on demand:
//Assume Interrupt Source as Channel 1
//Read current light level
Address = 0x39
Command = 0xB0
ReadWord (Address, Command, DataLow, DataHigh)
Channel1 = (256 * DataHigh) + DataLow
//Calculate upper and lower thresholds
T_Upper = Channel1 + (0.2 * Channel1)
T_Lower = Channel1 − (0.2 * Channel1)
//Write the lower threshold register
Command = 0xA8
WriteWord (Address, Command, T_Lower.LoByte, T_Lower.HiByte)
//Write the upper threshold register
Command = 0xAA
WriteWord (Address, Command, T_Upper.LoByte, T_Upper.HiByte)
//Enable interrupt
Command = 0x82
Data = 0x24
WriteByte(Address, Command, Data)
Address = 0x39
Command = 0x82
Data = 0x30
WriteByte(Address, Command, Data)
//Interrupt line should now be low
APPLICATION INFORMATION: SOFTWARE
r
www.taosinc.com
//Slave address − alternatively 0x29 or 0x49
//Set Command bit and SMBus Word read
//Address lower threshold register, set Word Bit
//Address upper threshold register, set Word bit
//Address interrupt register
//SMBAlert style, Persist 2.5 seconds
//Slave address alternately 0x29 or 0x49
//Address Interrupt Control Register
//Test interrupt
r
DIGITAL COLOR SENSORS
TCS3404, TCS3414
Copyright E 2011, TAOS Inc.
TAOS137A − APRIL 2011
31

Related parts for TCS3414FN