English
Language : 

ALS-PDIC17-57B-TR8_15 Datasheet, PDF (14/21 Pages) Everlight Electronics Co., Ltd – Digital Ambient Light Sensor
DATASHEET
SMD  I2C Digital Ambient Light Sensor
ALS-PDIC17-57B/TR8
Programming Sequence
External integration timing
(1). After being powered on, the device will initially be in the shut-down mode (default setting).
(2). To operate the device, issue an Send Byte protocol (see Figure 13-a) with the device address 0x29 followed by a
command byte of 0x04 to activate the ambient light sensor.
(3). I2C master sends a "start integration command" to the slave device by issuing Send Byte protocol with the device
address 0x29 followed by a command byte of 0x08.
(4). After a period of user defined integration time, I2C master sends a "stop integration command" to the slave device
by issuing Send Byte protocol with the device address 0x29 followed by a command byte of 0x30.
(5). To read the ADC conversion result, issue an Receive Word protocol (see Figure 13-c) with the device address
0x29 followed by two-byte reading procedures.
(6). If the stop integration command is not received by the device, the valid bit (D[15]) will be “0” to indicate that the
data is not valid. If there is a valid conversion result available, the valid bit (D[15]) will be set logic high, and the
remaining 15 bits will represent valid data from the ADC register.
(7). Data may be read repeatedly from the ADC register, and although it will remain valid,
the ADC register will not be updated until a new complete integration cycle has been carried out. In this cases, the
power consumption of the device can be reduced by issue a send Byte protocol with the device address 0x29
followed by a data byte of 1xxx_xxxx.(Binary code)
Revi1si4on Copy:rig2ht © 2010, Everlight All Rights Reserved. Release Date : 5.27.2013. Issue No:RDLeSl-e0a00s0e04D9 atRe:e2v.2013-06-0w4w0w8.:e0v6e:r0li7g.h0t.com
LifecyclePhase:
Expired Period: Forever