TSL2561T TAOS, TSL2561T Datasheet - Page 27

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
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 TSL2561T