TSL2560FN TAOS, TSL2560FN Datasheet - Page 24

Light to Digital Converters Ambient Light Sensor SMBus

TSL2560FN

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

Specifications of TSL2560FN

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
DFN-6
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
TSL2560, TSL2561
LIGHT-TO-DIGITAL CONVERTER
TAOS059N − MARCH 2009
//****************************************************************************
//
//
//
//
//
//
//
//
//
//
//
//****************************************************************************
#define LUX_SCALE
#define RATIO_SCALE 9
//−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
// Integration time scaling factors
//−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
#define CH_SCALE
#define CHSCALE_TINT0
#define CHSCALE_TINT1
//−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
// T, FN, and CL Package coefficients
//−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
// For Ch1/Ch0=0.00 to 0.50
//
//
//
//
//
//
//
//
//
//
//
//
//
//
// For Ch1/Ch0=0.50 to 0.61:
//
//
// For Ch1/Ch0=0.61 to 0.80:
//
//
// For Ch1/Ch0=0.80 to 1.30:
//
//
// For Ch1/Ch0>1.3:
//
//−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
#define K1T
#define B1T
#define M1T
#define K2T
24
Copyright E 2009, TAOS Inc.
Copyright E 2004−2005 TAOS, Inc.
THIS CODE AND INFORMATION IS PROVIDED ”AS IS” WITHOUT WARRANTY OF ANY
KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A PARTICULAR
PURPOSE.
Module Name:
lux.cpp
Lux/Ch0=0.0304−0.062*((Ch1/Ch0)^1.4)
piecewise approximation
Lux/Ch0=0.0224−0.031*(Ch1/Ch0)
Lux/Ch0=0.0128−0.0153*(Ch1/Ch0)
Lux/Ch0=0.00146−0.00112*(Ch1/Ch0)
Lux/Ch0=0
0x0040
0x01f2
0x01be
0x0080
14
For Ch1/Ch0=0.00 to 0.125:
For Ch1/Ch0=0.125 to 0.250:
For Ch1/Ch0=0.250 to 0.375:
For Ch1/Ch0=0.375 to 0.50:
// scale by 2^14
// scale ratio by 2^9
10
0x7517 // 322/11 * 2^CH_SCALE
0x0fe7 // 322/81 * 2^CH_SCALE
Lux/Ch0=0.0304−0.0272*(Ch1/Ch0)
Lux/Ch0=0.0325−0.0440*(Ch1/Ch0)
Lux/Ch0=0.0351−0.0544*(Ch1/Ch0)
Lux/Ch0=0.0381−0.0624*(Ch1/Ch0)
// 0.125 * 2^RATIO_SCALE
// 0.0304 * 2^LUX_SCALE
// 0.0272 * 2^LUX_SCALE
// 0.250 * 2^RATIO_SCALE
// scale channel values by 2^10
r
www.taosinc.com
r
The LUMENOLOGY r Company

Related parts for TSL2560FN