TCS3414CS TAOS, TCS3414CS Datasheet - Page 31

Photodiodes TriColor Sensor RGB, Clear Ch

TCS3414CS

Manufacturer Part Number
TCS3414CS
Description
Photodiodes TriColor Sensor RGB, Clear Ch
Manufacturer
TAOS
Type
Digital Color Light Sensorr
Datasheet

Specifications of TCS3414CS

Peak Wavelength
470 nm
Maximum Rise Time
300 ns
Maximum Fall Time
300 ns
Package / Case
Chipscale-6
Maximum Operating Temperature
+ 85 C
Minimum Operating Temperature
- 40 C
Mounting Style
SMD/SMT
Product
Ambient Light Sensor
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TCS3414CS
Manufacturer:
OMRON
Quantity:
12 000
Part Number:
TCS3414CS
Manufacturer:
AMS
Quantity:
600
Part Number:
TCS3414CS
Manufacturer:
AMS
Quantity:
600
// 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
DIGITAL COLOR LIGHT SENSORS
r
TCS3404CS, TCS3414CS
TAOS068 − FEBRUARY 2009
Copyright E 2009, TAOS Inc.
31

Related parts for TCS3414CS