TSL2561FN TAOS, TSL2561FN Datasheet - Page 27

Light to Digital Converters Light to Digital Sensor

TSL2561FN

Manufacturer Part Number
TSL2561FN
Description
Light to Digital Converters Light to Digital Sensor
Manufacturer
TAOS
Datasheet

Specifications of TSL2561FN

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

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TSL2561FN
Manufacturer:
AMS
Quantity:
201
The LUMENOLOGY r Company
}
// scale if gain is NOT 16X
if (!iGain) chScale = chScale << 4;
// scale the channel values
channel0 = (ch0 * chScale) >> CH_SCALE;
channel1 = (ch1 * chScale) >> CH_SCALE;
//−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
// find the ratio of the channel values (Channel1/Channel0)
// protect against divide by zero
unsigned long ratio1 = 0;
if (channel0 != 0) ratio1 = (channel1 << (RATIO_SCALE+1)) / channel0;
// round the ratio value
unsigned long ratio = (ratio1 + 1) >> 1;
// is ratio <= eachBreak ?
unsigned int b, m;
switch (iType)
{
case 0: // T, FN and CL package
case 1:// CS package
break;
if ((ratio >= 0) && (ratio <= K1T))
else if (ratio <= K2T)
else if (ratio <= K3T)
else if (ratio <= K4T)
else if (ratio <= K5T)
else if (ratio <= K6T)
else if (ratio <= K7T)
else if (ratio > K8T)
break;
if ((ratio >= 0) && (ratio <= K1C))
else if (ratio <= K2C)
else if (ratio <= K3C)
else if (ratio <= K4C)
else if (ratio <= K5C)
else if (ratio <= K6C)
else if (ratio <= K7C)
{b=B1T; m=M1T;}
{b=B2T; m=M2T;}
{b=B3T; m=M3T;}
{b=B4T; m=M4T;}
{b=B5T; m=M5T;}
{b=B6T; m=M6T;}
{b=B7T; m=M7T;}
{b=B8T; m=M8T;}
{b=B1C; m=M1C;}
{b=B2C; m=M2C;}
{b=B3C; m=M3C;}
{b=B4C; m=M4C;}
{b=B5C; m=M5C;}
{b=B6C; m=M6C;}
{b=B7C; m=M7C;}
r
www.taosinc.com
// scale 1X to 16X
LIGHT-TO-DIGITAL CONVERTER
r
TSL2560, TSL2561
Copyright E 2009, TAOS Inc.
TAOS059N − MARCH 2009
27

Related parts for TSL2561FN