# Adafruit VCNL4020 Proximity and Light Sensor - STEMMA QT / Qwiic

**Type:** Product page · **SKU:** ADA5810 · **Brand:** [Adafruit](https://core-electronics.com.au/brands/adafruit-australia)
**Page:** https://core-electronics.com.au/adafruit-vcnl4020-proximity-and-light-sensor-stemma-qt-qwiic.html ([markdown](https://core-electronics.com.au/adafruit-vcnl4020-proximity-and-light-sensor-stemma-qt-qwiic.html.md))

The VCNL4020 is a handy two-in-one sensor, with a proximity sensor that works from 0 to 200mm (about 7.5 inches) and light sensor with range of 0.26 to...

## Pricing

- **Price:** $10.50 (inc GST) — $9.55 AUD, exc GST
- **Quantity discounts:** 10+ $9.25 (exc GST) · 50+ $9.07 (exc GST)

## Availability & dispatch

- Available with a lead time — expect dispatch between Aug 20 and Aug 24.

## Description

The VCNL4020 is a handy two-in-one sensor, with a proximity sensor that works from 0 to 200mm (about 7.5 inches) and light sensor with range of 0.26 to 16,000 lux.

Adafruit have all been there. That thing is *close* but *how close?* When you need to measure a small distance with reasonable accuracy, such as the rough height of particularly calm bumble bee, the VCNL4020 Proximity Sensor from Vishay can do that for you. If perchance you also needed to measure the amount of light at the same time, perhaps to let the bee to know if it's time for bed, you're in luck! The VCNL4020 can do that too (bumble bee not included, Adafruit tried putting it in the anti-static bag but it started buzzing in a threatening manner)

[This sensor is similar to the VCNL4040](https://core-electronics.com.au/adafruit-vcnl4040-proximity-and-lux-sensor-stemma-qt.html) but with a wider light sensor range, up to 16000 lux!

As with all of Adafruit's new I2C sensors, Adafruit have taken the VCNL4020 and put it onto a breakout PCB along with support circuitry to let you use this little wonder with 3.3V (Feather/Raspberry Pi) or 5V (Arduino/ Metro328) logic levels. Since it speaks I2C you can easily connect it up with two wires (plus power and ground!). Adafruit have even included [SparkFun qwiic](https://core-electronics.com.au/catalogsearch/result/?q=qwiic) compatible **[STEMMA QT](https://learn.adafruit.com/introducing-adafruit-stemma-qt)** connectors for the I2C bus so **you don't even need to solder!** Just wire up to your favorite micro and you can use Adafruit's Arduino drivers to easily interface with the VCNL4020 and make approximate approximations of proximity in no time! [**QT Cable is not included**, but Adafruit have a variety in the shop](https://core-electronics.com.au/search?q=stemma+qt+cable).

The VCNL4020 comes with a variety of knobs you can tweak, such as how many samples per second (a.k.a the integration time between measurements) - more samples per second means faster results but not as good at measuring low level light. With 16-bit light level reports, and 0.25 lux per bit, you can measure from 0.25 to 16,000 lux! And various averaging filters can do your low-pass filtering for you so you get less spiky results. However, there is no other sensitivity/integration time controls.

## Technical Details 

Product Dimensions: 25.3mm x 17.8mm x 4.6mm / 1.0" x 0.7" x 0.2"

Product Weight: 1.7g / 0.1oz

![RoHS 2 2011 65 EU Compliant](https://core-electronics.com.au/attachments/localcontent/RoHS2_2011_65_EU_7356c5574c.svg)![RoHS 2 2015 863 EU Compliant](https://core-electronics.com.au/attachments/localcontent/RoHS2_2015_863_EU_86773f57f9.svg)

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/A/D/ADA5810-1.jpg)
