English
Language : 

VCNL4100 Datasheet, PDF (7/17 Pages) Vishay Siliconix – High Sensitivity Long Distance Proximity and Ambient Light Sensor with I2C Interface
www.vishay.com
VCNL4100
Vishay Semiconductors
APPLICATION INFORMATION
Pin Connection with the Host
VCNL4100 is a cost effective solution of a long distance proximity sensor with I2C interface. The standard serial digital interface
easily accesses “light intensity” by using simple calculations.
Application circuitry below shows the added MOSFET which is driven by the ASIC’s pin 2. A 22 k pull-up resistor needs to be
added here. The RLED defines the current through the IRED. A small 0.1 μF is sufficient at VDD for power supply noise rejection,
but a 2.2 μF should be placed at VIRED to provide the energy for the IRED.
For the I2C bus design, the pull-up voltage refers to the I/O specification of the baseband due to its “open drain” design. The
pull-high resistors for the I2C bus lines are recommended to be  2.2 k.
Vpull up
VDD
0.1 μF
VIRED
2.2 μF
2.2 kΩ
SCK
SDA
MCU
INT
2.2 kΩ
10
SSCCLLKK
9
SDAT
3
20 kΩ
VDD
LED 2
CATHODE
S
G
D
PMOS
8.2 kΩ
VCNL4100
8 IINNTT
LED+ 6
LED- 5
GND
1
RLED
2.7 Ω
Fig. 10 - Application Diagram
Notes
• VDD range: 2.5 V to 3.6 V and VIRED is recommended 5.0 V
• Power path of VDD and VIRED should be routed separately up to stable power source.
• The RLED resister value should be evaluated within ready-made application and the current through VCNL4100-internal IRED should not
exceed 800 mA.
Digital Interface
VCNL4100 applies single 8-bit slave address 0xC0 (HEX) following I2C protocol. All operations can be controlled by the
command register. The simple command structure helps users easily program the operation setting and latch the light data from
VCNL4100. As fig. 11 shows, VCNL4100’s I2C command format is simple for read and write operations between VCNL4100
and the host. The white sections indicate host activity and the gray sections indicate VCNL4100’s acknowledgement of the host
access activity. Write word and read word protocols are suitable for accessing registers particularly for 16-bit ALS data and
8-bit PS data. Interrupt can be cleared by reading data out from register: INT_Flag.
Send Byte ɦ Write Command to VCNL4100
1
7
1
1
8
1
8
1
8
1
1
S
Slave Address
Wr A
Command Code
A
Data Byte Low
A
Data Byte High
AP
Receive Byte ɦ Read Data from VCNL4100
1
7
1
1
8
1
1
7
1
1
8
1
8
1
1
S
Slave Address
Wr A
Command Code
AS
Slave Address
Rd A
Data Byte Low
A
Data Byte High
AP
S = start condition
P = stop condition
A = acknowledge
Shaded area = VCNL4100 acknowledge
Fig. 11 - Command Protocol Format
Rev. 1.2, 30-Aug-16
7
Document Number: 84319
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