4
FN6221.0
December 21, 2006
Principles of Operation
Photodiodes
The ISL29004 contain two photodiodes. Diode1 is sensitive
to both visible and intrared light, while Diode2 is mostly
sensitive to infrared light. The spectral response of the two
diodes are independent from one another. See Figure
Spectral Response vs Wavelength in the performance curves
section. The photodiodes convert light to current. Then, the
diodes’ current outputs are converted to digital by a single
built-in integrating type 16-bit Analog-to-Digital Converter
(ADC). An
I
2
C command mode determines which photodiode
will be converted to a digital signal. Mode0 is Diode1 only.
Mode1 is Diode2 only. Mode3 is a sequential Mode0 and
Mode1 with an internal subtract function (Diode1 - Diode2).
Analog-to-Digital Converter.
The converter is a charge-balancing integrating type 16-bit
ADC. The chosen method for conversion is best for
converting small current signals in the presense of an AC
periodic noise. A 100ms integration time, for instance, highly
rejects 50Hz and 60Hz power line noise simultaneously. See
Integration Time and Noise Rejection section.
The built-in ADC offers user flexibility in integration time or
conversion time. Two timing modes are available. Internal
Timing Mode and External Timing Mode. In Internal Timing
Mode, integration time is determined by an internal dual speed
oscillator (fosc), and the n-bit (n = 4, 8, 12,16) counter inside the
ADC. In External Timing Mode, integration time is determined
by the time between two consecutive I
2
C External Timing Mode
commands. See External Timing Mode example. A good
balancing act of integration time and resolution depending on
the application is required for optimal results.
The ADC has four I
2
C programmable range select to
dynamically accomodate various lighting conditions. For
very dim conditions, the ADC can be configured at its lowest
range. For very bright conditions, the ADC can be configured
at its highest range.
Interrupt Function
The active low interrupt pin is an open drain pull-down
configuration. The interrput pin serves as an alarm or
monitoring function to determine whether the ambient light
exceeds the upper threshold or goes below the lower
threshold. The user can also configure the persistency of the
interrupt pin. This eliminates any false triggers such as noise
or sudden spikes in ambient light conditions. An unexpected
camera flash for example can be ignored by setting the
persistency to 8 integration cycles.
I
2
C Interface
There are eight (8) 8-bit registers available inside the
ISL29004. The command and control registers define the
operation of the device. The command and control registers do
not change until the registers are overwritten.There are two 8-
bit registers that set the high and low interrupt thresholds. There
are four 8-bit data Read Only registers. Two bytes for the
sensor reading and another two bytes for the timer counts. The
data registers contain the ADC's latest digital output, and the
number of clock cycles in the previous integration period.
The ISL29004’s I
2
C interface slave address is pin-selectable
by pins A0 and A1. These pins can be tied or driven either
high or low. They comprise the least-significant two bits of
the I
2
C address, while the 5 most-significant bits are
hardwired as 100001{A1}{A0}. The four possible addresses
are therefore 44(hex) through 47(hex).
The ISL29003’s I
2
C interface slave address is hardwired
internally as 44(hex).
Figure 1 shows a sample one-byte read. Figure 2 shows a
sample one-byte write. Figure 3 shows a sync_iic timing
diagram sample for externally controlled integration time.
The I
2
C bus master always drives the SCL (clock) line, while
either the master or the slave can drive the SDA (data) line.
Every I
2
C transaction begins with the master asserting a
start condition (SDA falling while SCL remains high). The
following byte is driven by the master, and includes the slave
address and read/write bit. The receiving device is
responsible for pulling SDA low during the
acknowledgement period.
Every I
2
C transaction ends with the master asserting a stop
condition (SDA rising while SCL remains high).
For more information about the I
2
C standard, please consult
the Philips
®
I
2
C specification documents.
ISL29004
5
FN6221.0
December 21, 2006
FIGURE 1. I
2
C READ TIMING DIAGRAM SAMPLE
Start W AA AA
A6 A5 A4 A3 A2 A1 A0 W A R7 R6 R5 R4 R3 R2 R1 R0 A A6 A5 A4 A3 A2 A1 A0 W A
A A A D7D6D5D4D3D2D1D0 A
123456789123456789 123456789123456789
I
2
C SDA
In
SDA DRIVEN BY MASTER
REGISTER ADDRESS
I
2
C SDA
Out
DEVICE ADDRESS
I
2
C DATA
SDA DRIVEN BY MASTER
I
2
C CLK
STOP
STOP START
SDA DRIVEN BY MASTER
DEVICE ADDRESS
SDA DRIVEN BY ISL29003
DATA BYTE0
NAK
FIGURE 2. I
2
C WRITE TIMING DIAGRAM SAMPLE
Start
W
AAA
A6 A5 A4 A3 A2 A1 A0 W A R7 R6 R5 R4 R3 R2 R1 R0 A B7 B6 B5 B4 B3 B2 B1 B0 A
AAA
123456789123456789123456789
STOP
SDA DRIVEN BY MASTER
FUNCTIONSREGISTER ADDRESSDEVICE ADDRESS
I
2
C DATA
SDA DRIVEN BY MASTER SDA DRIVEN BY MASTER
I
2
C SDA In
I
2
C CLK In
I
2
C SDA Out
FIGURE 3. I
2
C sync_iic TIMING DIAGRAM SAMPLE
Start
W
AAStop
A6 A5 A4 A3 A2 A1 A0 W A R7 R6 R5 R4 R3 R2 R1 R0 A
AA
123456789123456789
I
2
C SDA In
I
2
C CLK In
SDA DRIVEN BY MASTER
I
2
C SDA Out
DEVICE ADDRESS
I
2
C DATA
REGISTER ADDRESS
SDA DRIVEN BY MASTER
ISL29004
6
FN6221.0
December 21, 2006
Register Set
There are eight registers that are available in the ISL29004.
Table 1 summarizes the available registers and their
functions.
TABLE 1. REGISTER SET
ADDR
(HEX)
REGISTER
NAME Bit(s) FUNCTION NAME FUNCTIONS/DESCRIPTION
00 Command 7 enable 0: disable adc-core
1: enable adc-core
6 adcPD 0: Normal operation
1: Power Down Mode
5 Timing_Mode 0: Integration is internally timed
1: Integration is externally sync/controlled by I
2
C host
4 reserved
3:2 mode<1:0> Selects ADC work mode
0: Diode1’s current to unsigned 16-bit data
1: Diode2’s current to unsigned 16-bit data
2: Difference between diodes (I1 - I2) to signed 15-bit data
3: reserved
1:0 width<1:0> number of clock cycles; n-bit resolution
0: 2
16
cycles
1: 2
12
cycles
2: 2
8
cycles
3: 2
4
cycles
01 Control 7 ext_mode Always set to logic 0. Factory use only.
6 test_mode Always set to logic 0
5 int_flag 0: Interrupt is cleared or not yet triggered
1: Interrupt is triggered
4 reserved Always set to logic 0. Factory use only.
3:2 gain<1:0> Selects the gain so range is
0: 0 - 1000Lux
1: 0 - 4000Lux
2: 0 - 16000Lux
3: 0 - 64000Lux
1:0 int_persist
<1:0>
Interrupt is triggered after
0: 1 integration cycle
1: 4 integration cycles
2: 8 integration cycles
3: 16 integration cycles
02 Interrupt threshold
HI
7:0 Interrupt threshold
HI
High byte of HI interrupt threshold. Default is 0xFF
03 Interrupt threshold
LO
7:0 Interrupt threshold
LO
High byte of the LO interrupt threshold. Default is 0x00
04 LSB_sensor 7:0 LSB_sensor Read-Only data register that contains the least significant byte of the
latest sensor reading
05 MSB_sensor 7:0 MSB_sensor Read-Only data register that contains the most significant byte of the
latest sensor reading
06 LSB_timer 7:0 LSB_timer Read-Only data register that contains the least significant byte of the
timer counter value corresponding to the latest sensor reading.
07 MSB_timer 7:0 MSB_timer Read-Only data register that contains the most significant byte of the
timer counter value corresponding to the latest sensor reading.
ISL29004

ISL29004IROZ-T7

Mfr. #:
Manufacturer:
Renesas / Intersil
Description:
SENSOR OPT 550NM AMBIENT 8ODFN
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet