TSL2562, TSL2563
LOW-VOLTAGE
LIGHT-TO-DIGITAL CONVERTER
TAOS066J − MAY 2007
#define B2T 0x0214
#define M2T 0x02d1
// 0.0325 * 2^LUX_SCALE
// 0.0440 * 2^LUX_SCALE
#define K3T 0x00c0
#define B3T 0x023f
#define M3T 0x037b
// 0.375 * 2^RATIO_SCALE
// 0.0351 * 2^LUX_SCALE
// 0.0544 * 2^LUX_SCALE
#define K4T 0x0100
#define B4T 0x0270
#define M4T 0x03fe
#define K5T 0x0138
#define B5T 0x016f
#define M5T 0x01fc
// 0.50 * 2^RATIO_SCALE
// 0.0381 * 2^LUX_SCALE
// 0.0624 * 2^LUX_SCALE
// 0.61 * 2^RATIO_SCALE
// 0.0224 * 2^LUX_SCALE
// 0.0310 * 2^LUX_SCALE
#define K6T 0x019a
#define B6T 0x00d2
#define M6T 0x00fb
// 0.80 * 2^RATIO_SCALE
// 0.0128 * 2^LUX_SCALE
// 0.0153 * 2^LUX_SCALE
#define K7T 0x029a
#define B7T 0x0018
#define M7T 0x0012
// 1.3 * 2^RATIO_SCALE
// 0.00146 * 2^LUX_SCALE
// 0.00112 * 2^LUX_SCALE
#define K8T 0x029a
#define B8T 0x0000
#define M8T 0x0000
// 1.3 * 2^RATIO_SCALE
// 0.000 * 2^LUX_SCALE
// 0.000 * 2^LUX_SCALE
//−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
// CS package coefficients
//−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
// For 0 <= Ch1/Ch0 <= 0.52
//
//
//
//
//
//
//
//
//
//
Lux/Ch0 = 0.0315−0.0593*((Ch1/Ch0)^1.4)
piecewise approximation
For 0 <= Ch1/Ch0 <= 0.13
Lux/Ch0 = 0.0315−0.0262*(Ch1/Ch0)
For 0.13 <= Ch1/Ch0 <= 0.26
Lux/Ch0 = 0.0337−0.0430*(Ch1/Ch0)
For 0.26 <= Ch1/Ch0 <= 0.39
Lux/Ch0 = 0.0363−0.0529*(Ch1/Ch0)
For 0.39 <= Ch1/Ch0 <= 0.52
Lux/Ch0 = 0.0392−0.0605*(Ch1/Ch0)
// For 0.52 < Ch1/Ch0 <= 0.65
// Lux/Ch0 = 0.0229−0.0291*(Ch1/Ch0)
// For 0.65 < Ch1/Ch0 <= 0.80
// Lux/Ch0 = 0.00157−0.00180*(Ch1/Ch0)
// For 0.80 < Ch1/Ch0 <= 1.30
// Lux/Ch0 = 0.00338−0.00260*(Ch1/Ch0)
// For Ch1/Ch0 > 1.30
// Lux = 0
//−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−−
#define K1C 0x0043 // 0.130 * 2^RATIO_SCALE
#define B1C 0x0204 // 0.0315 * 2^LUX_SCALE
#define M1C 0x01ad // 0.0262 * 2^LUX_SCALE
#define K2C 0x0085 // 0.260 * 2^RATIO_SCALE
#define B2C 0x0228 // 0.0337 * 2^LUX_SCALE
#define M2C 0x02c1 // 0.0430 * 2^LUX_SCALE
#define K3C 0x00c8 // 0.390 * 2^RATIO_SCALE
#define B3C 0x0253 // 0.0363 * 2^LUX_SCALE
#define M3C 0x0363 // 0.0529 * 2^LUX_SCALE
Copyright E 2007, TAOS Inc.
The LUMENOLOGY r Company
r
r
24
www.taosinc.com