TSL2561CL TAOS, TSL2561CL Datasheet - Page 20

Light to Digital Converters Ambient Light Sensor Light to Digital

TSL2561CL

Manufacturer Part Number
TSL2561CL
Description
Light to Digital Converters Ambient Light Sensor Light to Digital
Manufacturer
TAOS
Datasheet

Specifications of TSL2561CL

Data Bus Width
20 bit
Peak Wavelength
640 nm, 940 nm
Maximum Operating Frequency
780 KHz
Operating Supply Voltage
2.7 V to 3.6 V
Operating Current
0.6 mA to 15 uA
Maximum Operating Temperature
+ 70 C
Minimum Operating Temperature
- 30 C
Interface Type
I2C
Maximum Fall Time
300 ns
Maximum Rise Time
300 ns
Mounting Style
SMD/SMT
Resolution
16 bit
Package / Case
Chip LED
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
TSL2560, TSL2561
LIGHT-TO-DIGITAL CONVERTER
TAOS059N − MARCH 2009
Configuring the Timing Register
// Set up Timing Register
//Read data registers (see Basic Operation example)
//Perform Manual Integration
//Read data registers (see Basic Operation example)
20
Copyright E 2009, TAOS Inc.
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 402ms (default value)
Address = 0x39
Command = 0x81
Data = 0x02
WriteByte(Address, Command, Data)
//Low Gain (1x), integration time of 101ms
Data = 0x01
WriteByte(Address, Command, Data)
//Low Gain (1x), integration time of 13.7ms
Data = 0x00
WriteByte(Address, Command, Data)
//High Gain (16x), integration time of 101ms
Data = 0x11
WriteByte(Address, Command, Data)
//Set up for manual integration with Gain of 1x
Data = 0x03
//Set manual integration mode – device stops converting
WriteByte(Address, Command, Data)
//Begin integration period
Data = 0x0B
WriteByte(Address, Command, Data)
//Integrate for 50ms
Sleep (50)
//Stop integrating
Data = 0x03
WriteByte(Address, Command, Data)
APPLICATION INFORMATION: SOFTWARE
r
www.taosinc.com
//Wait for 50ms
r
The LUMENOLOGY r Company

Related parts for TSL2561CL