I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
Features
• Close to the human eye's response
• 15 bit effective resolution
• 50Hz/60Hz rejection
• Low sensitivity variation across various light sources
• Operating temperature performance, -40oC to 85oC
• Wide supply voltage range, 2.7V to 5.5V
• Low power consumption, less than 2mW while operating
• Shut-down mode, current consumption less than 0.1uA
• I2C serial port communication: (1) Standard 100kHz, (2) Fast 400kHz
• High dynamic sensing range from 0 to 88,000 Lux
• Dimension: 2.0mm(L)x2.0mm(W)x0.6mm(H)
• RoHS compliant and Pb Free
• Compliance with EU REACH.
Description
2
The EAALSDIC2012A1 is a digital-output light sensor with a two-wire, I C serial interface that is compatible with
SMBus operating at 100 KHz serial clock frequency. It combines a photodiode and an analog-to-digital converter
(ADC) on a single CMOS integrated circuit to provide light measurements over an effective 15-bit dynamic range.
Provided with constantly refreshing ADC. The integrating conversion technique used by EAALSDIC2012A1 effectively
eliminates the effect of flicker from AC-powered lamps, increasing the stability of the measurement.
EAALSDIC2012A1 is very close to human-eye vision, having very low response to non-visible light, such as infrared
and ultra-violet light.
Applications
• Detection of ambient light to control display backlighting
Mobile devices – Mobile phones, PDAs, Table PC and GPS
Computing device – TFT LCD monitor
Consumer device – TFT LCD TV, Plasma TV, Video camera, Digital camera, Toys
• Detection of ambient light for controlling the backlighting of TFT LCD display
1
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com
DATASHEET
I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
• Automatic residential and commercial lighting management
• Automatic contrast enhancement for electronic signboard
• Ambient light monitoring device for daylight and artificial light
Package Dimensions
Note: Tolerances unless mentioned ±0.2mm. Unit = mm
2
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com
DATASHEET
I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
Absolute Maximum Ratings (Ta=25℃
℃)
Parameter
Symbol
Rating
Unit
Supply Voltage
VCC
-0.3 ~ 6
V
Digital Output Voltage
VO
-0.3 ~ 6
V
Digital Output Current
IO
-10 ~ 10
mA
Storage Temperature
Tstg
-40 ~ +100
Operating Temperature
Topr
-40 ~ +85
ESD
ESDHBM
≧2000
℃
℃
V
Block Diagram & Pad Descriptions
Figure 1. EAALSDIC2012A1 Functional Block Diagram
3
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com
DATASHEET
I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
Electro-Optical Characteristics (Ta=25℃
℃)
Parameter
Symbol
Min.
Typ.
Max.
Unit
Supply Current
IDD
-----
0.4
0.53
mA
VDD=3.3V
IDDQ
-----
-----
0.1
µA
VDD=3.3V
VOL
-----
-----
0.4
V
IO = 4mA
Detection Full Counts
-----
-----
32767
Counts
Detection Limit
-----
44200
-----
Lux
-----
580
-----
nm
Power-Down Mode
Supply Current
2
I C output low voltage
Peak Sensitivity Wavelength
λP
Response in Dark Environment
Rdark
-----
-----
1
Counts
Rfrst
44
73
102
Counts
Ricd
65
108
151
Counts
Response in Fluorescent Light
[Note 1]
Response in Fluorescent Light
[Note 2]
Condition
TINT=100 ms
VDD=3.3V
EV=0Lux
TINT=100 ms
VDD=3.3V
EV=100Lux
TINT=100 ms
VDD=3.3V
EV=100Lux
TINT=100 ms
Note:
1. White Fluorescent light (Color Temperature = 6500K) is used as light source. However, White LED is substituted in mass
production.
2. Illuminance by CIE standard illuminant-A / 2856K, incandescent lamp.
DC Characteristics of I2C Signals in Standard and Fast Mode
Standard Mode
Parameter
Fast Mode
Symbol
Unit
Min.
Max.
Min.
Max
Power Supply Voltage (Recommend)
VDD
2.7
5.5
2.7
5.5
V
Low Level Input Voltage
VIL
-0.5
1.0
-0.5
1.0
V
High Level Input Voltage
VIH
-----
VDD*0.6
V
VDD*0.6
-----
[Note3]
Hysteresis of Schmitt trigger inputs (VDD > 2V)
Low level output voltage (open drain) at 3mA
sink current (VDD > 2V)
Output fall time from VIHMIN to VILMAX with a bus
capacitance from 10pF to 400pF
Input current of each IO pins with an input
voltage between 0.1VDD and 0.9VDD
Capacitance for each IO pin
4
[Note3]
Vhys
0.05*VDD
-----
0.05*VDD
-----
V
VOL1
0
0.4
0
0.4
V
Tof
-----
250
20+0.1Cb
250
[Note2]
[Note1]
[Note2]
nS
II/P
-10
10
-10
10
µA
CI
-----
10
-----
10
pF
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com
DATASHEET
I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
Notes:
1. Cb = capacitance of one bus line in pF
2
2. The maximum Tof for the I C data and clock bus lines quoted in the AC table is longer than the specified maximum Tof for the output
2
stages (250nS). This allows series protection resistors (RS) to be connected between I2C data / clock pins and the I C data / clock bus
lines without exceeding the maximum specified tof.
2
3. The I C bus operation voltage is 1.8V, The EAALSDIC2012A1 supply voltage must 3V (3Vx0.6=1.8V)
≦
AC Characteristics of I2C Signals in Standard and Fast Mode
Standard Mode
Parameter
2
Fast Mode
Symbol
I C clock frequency
Hold time (repeated) START condition. After
this period, the first clock pulse is generated.
2
Low period of I C clock
2
High period of I C clock
Set-up time for a repeated START condition
2
Data hold time for I C-bus devices
Data set-up time
2
Rise time of both I C data and clock signal’s
2
Fall time of both I C data and clock signal’s
Set-up time for STOP condition
Bus free time between STOP and START
condition
Capacitive load for each bus line
Unit
Min.
Max.
Min.
Max
fSCL
0
100
0
400
KHz
tHD;STA
4.0
-----
0.6
-----
µs
tLOW
tHIGH
tSU;STA
tHD;DAT
tSU;DAT
tr
tf
tSU;STO
4.7
4.0
4.7
0
250
--------4.0
------------3.45
----1000
300
-----
1.3
0.6
0.6
0
100
5
0.1
0.6
------------0.9
----300
300
-----
µs
µs
µs
µs
ns
ns
ns
µs
tBUF
4.7
-----
1.3
-----
µs
Cb
-----
400
-----
400
pF
2
Figure 2. I C Timing Diagram
5
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com
DATASHEET
I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
Typical Electro-Optical Characteristics Curves
6
Fig 3. Light Output vs. Illuminance
Fig 4. Current Consumption vs. Illuminance
Fig 5. Current Consumption vs. Supply Voltage
Fig 6. Dark Output vs. Supply Voltage
Fig 7. Light Output vs. Supply Voltage
Fig 8. Current Consumption vs. Temperature
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com
DATASHEET
I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
Fig 9. Dark Output vs. Temperature
Fig 10. Light Output vs. Temperature
Fig 11. Spectrum
Fig 12. Relative Sensitivity vs. Angle
EAALSDIC2012A1
Human Eye
7
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com
DATASHEET
I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
Communication Protocol
2
EAALSDIC2012A1 contains an 8-bit command register that can be written and read via the I C bus. The command
register controls the overall operation of the device. There is a two-byte word read-only register that contains the latest
2
converted value of A/D converter. The I C slave address is hardwired internally as 0101001 (0x29, MSB to LSB, A6 to
A0). All the Send Byte protocol, the Receive Byte protocol and Receive Word protocol are implemented in
EAALSDIC2012A1.
The Send Byte protocol allows single byte of data to be written to the device (see Figure 13-a). The written byte is
called the COMMAND byte. The Receive Byte protocol allows one-byte data to be read from the device (see Figure
13-b). Two-byte data can be read by following the Receive Word Protocol shown in Figure 13-c. In Figure 13, the clear
area represents data sent by the host (master) and the shaded area represents data returned by the ambient light
sensor (slave device).
1
S
7
Slave Address
1
WR
0
1
A
0
8
Command Byte
1
A
0
1
RD
1
1
A
0
8
Data
1
NA
1
1
RD
1
1
A
0
8
LS byte of ADC
1
A
0
1
P
(a) Send byte protocol
1
S
7
Slave Address
1
P
(b) Receive byte protocol
1
S
7
Slave Address
8
MS byte of ADC
1
NA
1
1
P
(c) Receive word (two bytes) protocol
S = start condition
P = stop condition
Shaded = slave transmission
A = acknowledge
NA = not acknowledge
WR = write
RD= read
Figure 13. Communication Protocol
8
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com
DATASHEET
I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
Communication Format
2
2
EAALSDIC2012A1 is capable of working as an I C slave. Address of this device on I C bus is always 0x29 (hexadecimal
2
number 29). Registers of the slave device can be programmed by sending commands over I C bus.
2
Figure 14 shows an I C write operation. To write to an internal register of the slave device a command must be sent by
2
2
an I C master. As illustrated in Figure 14, the I C write command begins with a start condition. After the start condition,
seven bits of address are sent with MSB going first. RD / WRn (=Low) command bit follows the address bits. Upon
2
receiving a valid address the slave device responds by driving SDA low for an ACK. After receiving an ACK, I C master
2
sends eight bits of data with MSB first. Upon receiving eight bits of data the slave device generates an ACK. I C master
terminates this write command with a stop condition.
2
Figure 14. I C Timing Diagram for Send Byte Format
2
2
Figure 15 shows an I C read command sent by the master to the slave device. I C read command begins with a start
condition. After the start condition seven bits of address are sent by the master with MSB going first. After the address bits,
RD / WRn command bit is sent. For a read command the RD / WRn bits is high. Upon receiving the address bits and RD /
WRn command bits the slave device responds with an ACK. After sending an ACK, the slave device sends eight bits of
2
data with MSB going first. After receiving the one byte data, the I C master terminates this transaction by issuing a NACK
command to indicate that the master only wanted to read one byte from the device. The master generates a stop condition
to end this transaction.
2
Figure 15. I C Timing Diagram for Receive Byte Format
9
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com
DATASHEET
I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
Ambient light intensity count value can be obtained by reading registers of this device. Ambient light intensity count is a
15-bit wide number plus a valid bit and hence word (two bytes) read operation is needed, as shown in Figure 16. After
2
receiving the two byte data, the I C master terminates this transaction by issuing a NACK command to indicate that the
master only wanted to read two bytes from the device. The master generates a stop condition to end this transaction.
2
Figure 16. I C Timing Diagram for Receive Word Format
10
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com
DATASHEET
I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
Theory of Operation
The photocurrent, generated by the built-in photodiode while being illuminated, is proportionally converted to frequency;
the digital frequency signal is then integrated by a 15-bit counter for a predetermined period of time (Tint). This period of
time is called integration time which can be adjusted by changing the nominal value of the resistor between the RINT and
2
GND terminals. The converted data are read out through a two-wire, I C Interface bus. Since the photodiode has been
specially processed to suppress the spectral response in infrared region, the readout is very close to the photopic transfer
function, v(λ), which is the mathematic expression of human-eye's response to ambient light.
Address Option for I2C
The device address is 0x29.
ADC Register
The ADC register contains 16 bits with a 15-bit wide data from D0 to D14 and a valid bit D15. The register is divided into
two groups; D[15..8] is the most significant (MS) byte and D[7..0] is the least significant (LS) byte. See Table 2 for details.
Valid Bit
D15
Data Bits
D13 ~ D8
D7~D1
D14
MSB
Most Significant (MS) byte
D0
LSB
Least Significant (LS) byte
Table 1 ADC. Register Structure
11
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com
DATASHEET
I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
Device Command
2
There are three command codes are provided for I C master to control the ambient light sensor. The specific function
corresponding to each command code is elaborate in Table 2.
Command
Code
Function
Shut-down mode, this is the default state after applying VDD power to the device.
1xxx_xxxx
(binary code)
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
2
function and can be read back via the I C bus by issuing Receive Byte Protocol.
2
0x04
0x08
0x30
Activate the ambient light sensor. The integration time is controlled by I C
commands, start and stop integration.
Start integration: This command will reset the ADC register to 0x0000 and begin a
new integration.
Stop integration: This command will stop the integration and set the valid bit (D[15])
high.
Table 2. Command Code List
12
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com
DATASHEET
I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
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.
2
(3). I C 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.
2
(4). After a period of user defined integration time, I C 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)
13
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com
DATASHEET
I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
Noise Rejection and Integration Time
In general, integrating type ADC’s have an excellent noise rejection characteristics for periodic noise sources whose
frequency is an integer multiple of the integration time. For instance, a 60Hz AC unwanted signal’s sum from 0ms to
n*16.66ms (n = 1, 2...ni) is zero. Similarly, setting the EAALSDIC2012A1 integration time to an integer multiple of periodic
noise signal greatly improves the light sensor output signal in the presence of noise. The integration time, Tint, of the
EAALSDIC2012A1 is set by an external resistor Rext. The maximum detection range is inversely proportional to the
integration time; that means the longer integration time the lower detection range.
Integration time ( mS )
50
100
200
300
400
Detection range
( Lux )
88,400
44,200
22,200
14,500
11,100
Resolution
( Lux / Count )
2.7
1.35
0.68
0.45
0.34
Table 3. Detection Range Guide
In order to achieve both 120Hz and 100Hz AC rejection, the integration time needs to be adjusted to coincide with an
integer multiple of the AC noise cycle times. To determine a suitable integration time, tint, that will ignore the presence of
both 120Hz and 100Hz noise, users can use the formula:
tint = n(1/120Hz) = m(1/100Hz), where n and m are integers.
n/m = 120Hz/100Hz = 6/5.
The first instance of integer values at which tint rejects both 120Hz and 10Hz is when m = 5, and n = 6, thus,
tint = 6(1/120Hz) = 5(1/100Hz) = 50ms
14
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com
DATASHEET
I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
Power Supply Decoupling and Layout
The power supply lines must be decoupled with capacitors, 4.7uF and 0.1uF, placed as close to the device package as
possible. The bypass capacitor should have low effective series resistance (ESR) and effective series inductance (ESI),
such as the common ceramic types, which provide a low impedance path to ground at high frequencies to handle transient
2
currents caused by internal logic switching. EAALSDIC2012A is relatively insensitive to layout. Like other I C devices, it is
intended to provide excellent performance even in significantly noisy environments. There are only a few considerations
2
that will ensure best performance. Route the supply and I C traces as far as possible from all sources of noise. The pull up
resister of two line serial bus “SCL” and “SDA” are recommended to be around 4.7Kohm,
EAALSDIC2012A
Figure 17. Application Circuit
15
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com
DATASHEET
I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
Recommended method of storage
1. Do not open moisture proof bag before devices are ready to use.
2. Shelf life in sealed bag from the bag seal date:
18 months at 10°C~30°C and < 90% RH.
°
°
3. After opening the package, the devices must be stored at 10 C~30 C and 60%RH, and used within 168 hours (floor
life).
4. If the moisture absorbent material (desiccant material) has faded or unopened bag has exceeded the shelf life or
devices (out of bag) have exceeded the floor life, baking treatment is required.
5. If baking is required, refer to IPC/JEDEC J-STD-033 for bake procedure or recommend the following conditions:
312 hours at 40°C and < 5 % RH (reeled/tubed/loose units) or
33 hours at 90°C and < 5 % RH (reeled/tubed/loose units) or
9 hours at 125°C, not suitable for reel or tubes.
Recommended Solder Profile
Notice:
(1) Reflow soldering should not be done more than two times.
(2) When soldering, do not put stress on the devices during heating.
(3) After soldering, do not warp the circuit board.
16
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com
DATASHEET
I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
Soldering Iron
℃
Each terminal is to go to the tip of soldering iron temperature less than 350 for 3 seconds within once in less than the
soldering iron capacity 25W. Leave two seconds and more intervals, and do soldering of each terminal. Be careful
because the damage of the product is often started at the time of the hand solder.
Repairing
Repair should not be done after the device have been soldered. When repairing is unavoidable, a double-head
soldering iron should be used (as below figure). It should be confirmed beforehand whether the characteristics of the
device will or will not be damaged by repairing.
17
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com
DATASHEET
I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
Package Quantity Specification
2000 PCS/ 1 Reel
Label Format
‧CPN: Customer’s Product Number
‧P/N: Product Number
‧QTY: Packing Quantity
‧CAT: Luminous Intensity Rank
‧HUE: Dom. Wavelength Rank
‧REF: Forward Voltage Rank
‧LOT No: Lot Number
‧MADE IN TAIWAN: Production Place
Reel Dimensions
18
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com
DATASHEET
I2C Digital Ambient Light Sensor – Surface Mount
EAALSDIC2012A1
Tape Dimensions
Unit: mm
W
E
F
D0
D1
P0
8.00±0.2
1.75±0.1
3.50±0.05
1.50+0.1/-0
1.00±0.1
4.00±0.05
P1
P2
t
A0
B0
K0
4.00±0.1
2.00±0.05
0.23±0.05
2.15±0.05
2.15±0.05
0.95±0.05
Note:
1.
Above specification may be changed without notice. Everlight Americas will reserve authority on material change for above
specification.
2.
When using this product, please observe the absolute maximum ratings and the instructions for using outlined in these specification
sheets. Everlight Americas assumes no responsibility for any damage resulting from use of the product which does not comply with
the absolute maximum ratings and the instructions included in these specification sheets.
3.
These specification sheets include materials protected under copyright of Everlight Americas Inc. Please don’t reproduce or cause
anyone to reproduce them without Everlight Americas’s consent.
19
Copyright © 2010, Everlight Americas Inc. All Rights Reserved. Release Date : 05.27.2013. Issue No: 1
www.everlightamericas.com