Site icon 14core.com

Wiring the VCNL4200 Infrared Proximity / Ambient Light Sensor

This is the VCNL4200 a highly sensitive long distance proximity IR and ambient light sensor (ALS) on i2C designed by VISHAY SEMICONDUCTORS. This device is pack into package that combined IRED and ALS Photodiodes, amplifiers, and analog to digital converting circuit into a single CMPS process. This device integrates 16bit high resolution ALS offers excellent sensing capabilities with sufficient selections to fulfill most applications whether a dark or high transparency lens design.

The VCNL4200 offers individual programmable high or low threshold interrupt features for the best utilization of resources and power saving on the microcontroller. For the 12bit and 16bit proximity sensing function this device has a built in smart cancellation scheme that eliminates background light issues and prevents false sensing of proximity due to ambient light noise the adaption of the FILTRON technology achieves the closest ambient light spectral sensitivity to real human eye responses.

VCNL4200 provides excellent temperature compensation for keeping the output stable. ALS (Ambient Light Sensor) and PS (Proximity Sensor) functions are both operated via i2C protocol and range of detection up to 1.5 meter & runs at 2.5v to 3.6v. The ALS (Ambient Light Sensor) has a selectable maximum detection range of 137/393/786 / 1573 LUX with a highest sensitivity of 0.003 LUX/STEP.

The VCNL4200 can be used in human presence detection, home and office appliance like printers, lightning, photocopier, robotics, collision detection, public buildings, home automation, building automation, automotive, parking space, clinical and laboratory appliances. Etc. Below example uses Arduino NANO. However it supports ESP8266, STM32, and AVR. For further readings please refer to datasheet bellow.

Required Components

Wiring Guide

Source Code

[crayon-67c6acf349032910071640/]

Downloads

Wiring the VCNL4200 Infrared Proximity / Ambient Light Sensor
Exit mobile version