VCNL4020C
www.vishay.com
Vishay Semiconductors
Rev. 1.0, 12-Jul-16
4
Document Number: 84350
For technical questions, contact: sensorstechsupport@vishay.com
THIS DOCUMENT IS SUBJECT TO CHANGE WITHOUT NOTICE. THE PRODUCTS DESCRIBED HEREIN AND THIS DOCUMENT
ARE SUBJECT TO SPECIFIC DISCLAIMERS, SET FORTH AT www.vishay.com/doc?91000
Fig. 5 - Relative Radiant Intensity vs. Wavelength
Fig. 6 - Relative Radiant Intensity vs. Angular Displacement
Fig. 7 - Relative Spectral Sensitivity vs. Wavelength
(Biosensor)
Fig. 8 - Relative Radiant Sensitivity vs. Angular Displacement
(Proximity Sensor)
Fig. 9 - Ambient Light Value vs. Illuminance
Fig. 10 - Relative Spectral Sensitivity vs. Wavelength
(Ambient Light Sensor)
1.1
0
0.2
0.4
0.6
0.8
0.9
1.0
0.1
0.3
0.5
0.7
1050750
800
850 900 950 1000
I
e, rel
- Relative Radiant Intensity
λ - Wavelength (nm)
22305
I
F
= 100 mA
20°
40°
60°
80°
0.6
0.7
0.8
0.9
1.0
00.10.20.30.40.5
I
rel
- Relative Radiant Intensity
22306
ϕ - Angular Displacement
0
0.1
0.2
0.3
0.4
0.5
0.6
0.7
0.8
0.9
1.0
1.1
400 500 600 700 800 900 1000 1100
S(λ)
rel
- Relative Spectral Sensitivity
λ - Wavelength (nm)
20°
40°
60°
80°
0.6
0.7
0.8
0.9
1.0
00.10.20.30.40.5
S
rel
- Relative Sensitivity
22308
ϕ - Angular Displacement
100 000
1
100
1000
10 000
10
Ambient Light Signal (cts)
E
V
- Illuminance (lx)
0.1 1 10 100 1000 10 000
0
0.2
0.4
0.6
0.8
1.0
1100400
500
600 700 800 900 1000
S(λ)
rel
- Relative Spectral Sensitivity
λ - Wavelength (nm)
VCNL4020C
Human eye
VCNL4020C
www.vishay.com
Vishay Semiconductors
Rev. 1.0, 12-Jul-16
5
Document Number: 84350
For technical questions, contact: sensorstechsupport@vishay.com
THIS DOCUMENT IS SUBJECT TO CHANGE WITHOUT NOTICE. THE PRODUCTS DESCRIBED HEREIN AND THIS DOCUMENT
ARE SUBJECT TO SPECIFIC DISCLAIMERS, SET FORTH AT www.vishay.com/doc?91000
Fig. 11 - Relative Radiant Sensitivity vs. Angular Displacement
(Ambient Light Sensor)
APPLICATION INFORMATION
The digital biosensor VCNL4020C needs just one decoupling-C at V
DD
if connected to a regulated power supply.
IR cathode needs no external connection as the connection to the driver is done internally, but this allows also for adding
external LEDs / IREDs to the driver.
1. Application Circuit
Fig. 12 - Application Circuit
(x) = Pin Number
Note
The interrupt pin is an open drain output. The needed pull-up resistor may be connected to the same supply voltage as the application
controller and the pull-up resistors at SDA / SCL. Proposed value R2 should be >1 kΩ , e.g. 10 kΩ to 100 kΩ.
Proposed value for R3 and R4, e.g. 2.2 kΩ to 4.7 kΩ, depend also on the I
2
C bus speed.
For detailed description about set-up and use of the interrupt as well as more application related information see AN: “Designing
VCNL4020C into an Application”.
20°
40°
60°
80°
0.6
0.7
0.8
0.9
1.0
00.10.20.30.40.5
S
rel
- Relative Sensitivity
22311
Vertical
Horizontal
ϕ - Angular Displacement
INT (3)
SCL (4)
SDA (2)
GND (8, 9)
V
DD
(5)
IR anode (1)
C1
470 nF
VCNL4020C
I
2
C bus clock SCL
I
2
C bus data SDA
INT (3)
SCL (4)
SDA (2)
GND (8, 9)
V
DD
(5)
IR anode (1)
C1 C2
C3C4
R1
100 nF
100 nF10 μF
22 μF
10R
GPIO
2.5 V
to
5.0 V
1.7 V
to
5.0 V
R2 R3 R4
IR cathode (10)
VSMD66694
IR
RED
(4)
(1)
(2)
(3)
VCNL4020C
Host
Micro Controller
2.5 V
to
3.6 V
2.5 V
to
3.6 V
VCNL4020C
www.vishay.com
Vishay Semiconductors
Rev. 1.0, 12-Jul-16
6
Document Number: 84350
For technical questions, contact: sensorstechsupport@vishay.com
THIS DOCUMENT IS SUBJECT TO CHANGE WITHOUT NOTICE. THE PRODUCTS DESCRIBED HEREIN AND THIS DOCUMENT
ARE SUBJECT TO SPECIFIC DISCLAIMERS, SET FORTH AT www.vishay.com/doc?91000
2. I
2
C Interface
The VCNL4020C contains seventeen 8 bit registers for operation control, parameter setup and result buffering. All registers are
accessible via I
2
C communication. Figure 13 shows the basic I
2
C communication with VCNL4020C.
The built in I
2
C interface is compatible with all I
2
C modes (standard, fast and high speed).
I
2
C H-level range = 1.7 V to 5 V.
Please refer to the I
2
C specification from NXP for details.
Fig. 13 - Send Byte/Receive Byte Protocol
Device Address
The VCNL4020C has a fix slave address for the host
programming and accessing selection. The predefined 7 bit
I
2
C bus address is set to 0010 011 = 13h. The least
significant bit (LSB) defines read or write mode. Accordingly
the bus address is set to 0010 011x = 26h for write, 27h for
read.
Register Addresses
VCNL4020C has seventeen user accessible 8 bit registers.
The register addresses are 80h (register #0) to 90h
(register #16).
REGISTER FUNCTIONS
Register #0 Command Register
Register address = 80h
The register #0 is for starting ambient light or biosensor measurements. This register contains 2 flag bits for data ready
indication.
Note
With setting bit 3 and bit 4 at the same write command, a simultaneously measurement of ambient light and biosensor is done. Beside als_en
and / or bs_en first selftimed_en needs to be set. On-demand measurement modes are disabled if selftimed_en bit is set. For the
selftimed_en mode changes in reading rates (reg #4 and reg #2) can be made only when b0 (selftimed_en bit) = 0. For the als_od mode
changes to the reg #4 can be made only when b4 (als_od bit) = 0; this is to avoid synchronization problems and undefined states between
the clock domains. In effect this means that it is only reasonable to change rates while no selftimed conversion is ongoing.
S
Slave address
Rd
Receive byte Read data from VCNL4020C
A
Register address
A
Wr
P
S
Slave address
PA
A
Data byte
Send byte Write command to VCNL4020C
S = start condition
P = stop condition
A = acknowledge
Host action
VCNL4020C response
S
Slave address
A Register address
A
Wr
P
Data byte
A
TABLE 1 - COMMAND REGISTER #0
Bit 7Bit 6Bit 5Bit 4Bit 3Bit 2Bit 1Bit 0
config_lock als_data_rdy bs_data_rdy als_od bs_od als_en bs_en selftimed_en
Description
config_lock Read only bit. Value = 1
als_data_rdy
Read only bit. Value = 1 when ambient light measurement data is available in the result registers. This bit
will be reset when one of the corresponding result registers (reg #5, reg #6) is read.
bs_data_rdy
Read only bit. Value = 1 when biosensor measurement data is available in the result registers. This bit
will be reset when one of the corresponding result registers (reg #7, reg #8) is read.
als_od
R/W bit. Starts a single on-demand measurement for ambient light. If averaging is enabled, starts a
sequence of readings and stores the averaged result. Result is available at the end of conversion for
reading in the registers #5(HB) and #6(LB).
bs_od
R/W bit. Starts a single on-demand measurement for biosensor.
Result is available at the end of conversion for reading in the registers #7(HB) and #8(LB).
als_en R/W bit. Enables periodic als measurement
bs_en R/W bit. Enables periodic biosensor measurement
selftimed_en
R/W bit. Enables state machine and LP oscillator for self timed measurements; no measurement is
performed until the corresponding bit is set

VCNL4020C-GS08

Mfr. #:
Manufacturer:
Description:
Ambient Light and Proximity Sensor 10-Pin SMD T/R
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union

Products related to this Datasheet