TSL4531
DIGITAL AMBIENT LIGHT SENSOR
TAOS112 − OCTOBER 2011
10
r
r
Copyright E 2011, TAOS Inc.
The LUMENOLOGY r Company
www.taosinc.com
ALS Data Registers (0x04 − 0x05)
The ADC data is expressed as a 16-bit word stored in two 8-bit registers. The read-only ADC data registers
DATALOW and DATAHIGH provide the low and high bytes, respectively, of the 16-bit ADC conversion value.
The conversion value translates directly to units of lux.
Table 5. ALS Data Registers
REGISTER ADDRESS BITS DESCRIPTION
DATALOW 0x04 7:0 ADC conversion low byte
DATAHIGH 0x05 7:0 ADC conversion high byte
ID Register (0x0A)
The ID register is a read-only register that provides the value for the part number. The PARTNO field indicates
the part number of each device given in the Available Options section and will remain constant.
Table 6. ID Register
67542310
CONTROL
Reset
ID
PARTNO Reserved
FIELD BITS DESCRIPTION
FIELD VALUE DEVICE PART NUMBER
1000 TSL45317
PARTNO 7:4
1001 TSL45313
1010
TSL45315
1011
TSL45311
Reserved 3:0 Reserved
The ID register is useful for validating the device type and for verifying the functionality of the interface. When
used for this purpose, it is recommended that the Reserved field be masked out as follows:
Value = ID AND 0xF0, where AND represents a bit-wise AND function