English
Language : 

ALS-PDIC17-79NB-TR8_15 Datasheet, PDF (11/19 Pages) Everlight Electronics Co., Ltd – Digital Ambient Light Sensor
DATASHEET
SMD  I2C Digital Ambient Light Sensor
ALS-PDIC17-79NB/TR8
Device Command
There are eight command codes are provided for I2C master to control the ambient light sensor. The specific
function corresponding to each command code is elaborate in Table 3.
Command
Code
1xxx_xxxx
(binary code)
0x0C
0x04
0x08
0x30
Function
Shut-down mode, this is the default state after applying VDD power to the
device. During shut-down mode, users can do the communication test.
Except the MSB must be logic 1, the value written to the command
register will not change any function and can be read back via the I2C bus
by issuing Receive Byte Protocol.
Activate the ambient light sensor and put the device in [continuous
operation mode], The ADC register will be refreshed every Tint
integration time which is set by an external resistor Rext. See Table 4 for
details.
Activate the ambient light sensor and put the device in [one time
integration mode]. The integration time is controlled by I2C commands,
start and stop integration.
Start integration: This command will reset the ADC register to 0x0000
and begin a new integration in [one time integration mode]. This is an
invalid command in [continuous operation mode].
Stop integration: This command will stop the integration in [one time
integration mode] and set the valid bit ( D[15] ) high. This is an invalid
command in [continuous operation mode].
Table 3 Command Code List
Revi1si1on Copy:rig3ht © 2010, Everlight All Rights Reserved. Release Date : 3.5.2012. Issue No: DRLSe-l0e0a00s0e34Date:2012-03-1w6w1w2.:e0v0e:r3li3g.h0t.com
LifecyclePhase:
Expired Period: Forever