Adafruit VCNL4200 Long Distance IR Proximity and Light Sensor - STEMMA QT / Qwiic

AdafruitSKU: ADA6064
Price:
Sale price £6.70
incl. VAT
excl. VAT
Stock:
Coming Soon
Notify me

Awesome Extras

STEMMA QT / Qwiic Compatible JST-SH 4-Pin Cable (50mm) - The Pi HutSTEMMA QT / Qwiic Compatible JST-SH 4-Pin Cable (50mm) - The Pi Hut
Half-Size Breadboard - WhiteHalf-Size Breadboard - White
The Pi HutHalf-Size Breadboard - White
Sale price £3 incl. VAT excl. VAT
Raspberry Pi 5 - The Pi HutRaspberry Pi 5 - The Pi Hut
Raspberry PiRaspberry Pi 5
Sale priceFrom £46.50 incl. VAT excl. VAT

We've all been there. That thing is close but how close? When you need to measure a meter or so distance with reasonable accuracy, the VCNL4200 Long-Distance Proximity Sensor from Vishay can do that for you. It's excellent for robotic or motion-detection situations. And. if perchance you also needed to measure the amount of light at the same time, you're in luck! The VCNL4200 can do that too, with its built-in ambient light sensor (ALS)

The VCNL4200 is a powerful two-in-one sensor, with a proximity sensor that works from 0 to 1.5m (59 inches) and a light sensor with a range of 0.003 to 1570 lux. It's the longest-range IR distance sensor we've seen other than the Sharp Analog distance sensors and at a great price with an I2C interface. Note that while the chip itself is specced for 1.5-meter distance measurements, that depends a bit on optimal lighting situations and high power configuration. We've found that 50-100cm is a good range to expect, and you won't get a lot of accuracy/precision as the detection object gets farther away. We normally suggest ToF sensors for long precision measurements, but sometimes you want the low cost and simplicity of infrared. Also, you get a 'free' light sensor which ToF sensors don't contain.

"OK, finally I can get started on my proximity and light sensing project, but how do I use it?" you say. To make life easier so you can focus on your important work, we've taken the VCNL4200 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. Additionally, since it speaks I2C you can easily connect it up with two wires (plus power and ground!). We've even included SparkFun qwiic compatible STEMMA QT connectors for the I2C bus so you don't even need to solder! Just wire up to your favourite micro and you can use our CircuitPython/Python or Arduino drivers to easily interface with the VCNL4200 and make approximate approximations of proximity in no time! QT Cable is NOT included, but we have a variety in the shop.

To give you some ability to tune your measurements for your situation, the VCNL4200 lets you adjust the integration time for both light sensing and proximity, IR LED power, duty cycle, multi-pulse, and sunlight-immunity. There's also interrupt output support for light or proximity measurement thresholds.

Specifications

VCNL4200 Specifications:

  • Proximity Function
    • Immunity to red glow (940 nm IRED)
    • Intelligent background light cancellation
    • Smart persistence scheme to reduce PS response time
    • Proximity distance up to 1.5 m
  • Ambient Light Function
    • Fluorescent light flicker immunity
    • Spectrum close to real human eye responses
    • Selectable maximum detection range (197 / 393 / 786 / 1573) lux with the highest sensitivity of 0.003 lux/step
  • Interrupt
    • Programmable interrupt function for ALS and PS with upper and lower thresholds
    • Adjustable persistence to prevent false triggers for ALS and PS
  • Dimensions/Weight
    • Dimensions: 25.6mm x 17.7mm x 4.8mm
    • Weight: 1.9g

Payment & Accreditations

Payment methods
Visa Mastercard Maestro PayPal Amazon Klarna

Your payment information is processed securely. We do not store credit card details nor have access to your credit card information.

Accreditations