TSL2561CL TAOS, TSL2561CL Datasheet - Page 19

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
Basic Operation
// Read ADC Channels Using Read Word Protocol − RECOMMENDED
// Read ADC Channels Using Read Byte Protocol
The LUMENOLOGY r Company
After applying V
to access the CONTROL register followed by the data value 03h to power up the device. At this point, both ADC
channels will begin a conversion at the default integration time of 400 ms. After 400 ms, the conversion results
will be available in the DATA0 and DATA1 registers. Use the following pseudo code to read the data registers:
Address = 0x39
//Address the Ch0 lower data register and configure for Read Word
Command = 0xAC
//Reads two bytes from sequential registers 0x0C and 0x0D
//Results are returned in DataLow and DataHigh variables
ReadWord (Address, Command, DataLow, DataHigh)
Channel0 = 256 * DataHigh + DataLow
//Address the Ch1 lower data register and configure for Read Word
Command = 0xAE
//Reads two bytes from sequential registers 0x0E and 0x0F
//Results are returned in DataLow and DataHigh variables
ReadWord (Address, Command, DataLow, DataHigh)
Channel1 = 256 * DataHigh + DataLow
Address = 0x39
Command = 0x8C
ReadByte (Address, Command, DataLow)
Command = 0x8D
ReadByte (Address, Command, DataHigh)
Channel0 = 256 * DataHigh + DataLow
Command = 0x8E
ReadByte (Address, Command, DataLow)
Command = 0x8F
ReadByte (Address, Command, DataHigh)
Channel1 = 256 * DataHigh + DataLow
DD
, the device will initially be in the power-down state. To operate the device, issue a command
APPLICATION INFORMATION: SOFTWARE
r
www.taosinc.com
//Slave addr – also 0x29 or 0x49
//Set Command bit and Word bit
//Set bit fields 7 and 5
//Shift DataHigh to upper byte
//Slave addr − also 0x29 or 0x49
//Address the Ch0 lower data register
//Result returned in DataLow
//Address the Ch0 upper data register
//Result returned in DataHigh
//Shift DataHigh to upper byte
//Address the Ch1 lower data register
//Result returned in DataLow
//Address the Ch1 upper data register
//Result returned in DataHigh
//Shift DataHigh to upper byte
LIGHT-TO-DIGITAL CONVERTER
r
TSL2560, TSL2561
Copyright E 2009, TAOS Inc.
TAOS059N − MARCH 2009
19

Related parts for TSL2561CL