TSL2561T TAOS, TSL2561T Datasheet - Page 22

Light to Digital Converters Light to Digital with I2C

TSL2561T

Manufacturer Part Number
TSL2561T
Description
Light to Digital Converters Light to Digital with I2C
Manufacturer
TAOS
Datasheets

Specifications of TSL2561T

Maximum Operating Temperature
+ 70 C
Minimum Operating Temperature
- 30 C
Mounting Style
SMD/SMT
Package / Case
TMB
Response Time
400ms
Output Current
6mA
Supply Voltage Range Dc
2.7V To 3.6V
Supply Current
0.6mA
Operating Temperature Range
-30°C To +70°C
Operating Temperature Min
-30°C
Rohs Compliant
Yes
Operating Temperature Max
70°C
Sensor Output
I2C
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TSL2561T
Manufacturer:
IR
Quantity:
836
Part Number:
TSL2561T
Manufacturer:
AMS
Quantity:
20 000
Part Number:
TSL2561T
0
TSL2560, TSL2561
LIGHT-TO-DIGITAL CONVERTER
TAOS059N − MARCH 2009
// Read current light level
// Generate an interrupt
22
Copyright E 2009, TAOS Inc.
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 3 conversion cycles:
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:
Address = 0x39
Command = 0xAC
ReadWord (Address, Command, DataLow, DataHigh)
Channel0 = (256 * DataHigh) + DataLow
//Calculate upper and lower thresholds
T_Upper = Channel0 + (0.2 * Channel0)
T_Lower = Channel0 – (0.2 * Channel0)
//Write the lower threshold register
Command = 0xA2
WriteWord (Address, Command, T_Lower.LoByte, T_Lower.HiByte)
//Write the upper threshold register
Command = 0xA4
WriteWord (Address, Command, T_Upper.LoByte, T_Upper.HiByte)
//Enable interrupt
Command = 0x86
Data = 0x23
WriteByte(Address, Command, Data)
Address = 0x39
Command = 0x86
Data = 0x30
WriteByte(Address, Command, Data)
//Interrupt line should now be low
APPLICATION INFORMATION: SOFTWARE
r
www.taosinc.com
//Slave addr also 0x29 or 0x49
//Set Command bit and Word bit
//Addr lower threshold reg, set Word Bit
//Addr upper threshold reg, set Word bit
//Address interrupt register
//SMBAlert style, PERSIST = 3
//Slave addr also 0x29 or 0x49
//Address Interrupt register
//Test interrupt
r
The LUMENOLOGY r Company

Related parts for TSL2561T