Store

Adafruit

$15.06 |
In stock at supplier
No reviews yet

The VCNL4010 sensor is a nice way to add a small-distance proximity sensor to your microcontroller project. For longer distances (in the range of cm, you ...

Estimated Delivery
Arrives
Disclaimer
View Markdown
Secure checkout

The VCNL4010 sensor is a nice way to add a small-distance proximity sensor to your microcontroller project. For longer distances (in the range of cm, you can use a SHARP IR distance sensor, but those are only good if the object is over 10 cm away. The VCNL4010 is designed for much shorter distances, no more than 200mm (about 7.5") and under our experimentation we found it worked best at distances of about 10-150mm. It would be good for say detecting when a hand moved nearby, or before a robot smacks into a wall. The sensor also has an ambient light sensor built in.

This sensor is easy to use with any microcontroller that has i2c capability. It is 5 volt compliant so you can use it with 3.3V or 5V logic with no risk of damage. There is an onboard 3.3V ultra low dropout regulator so you can power it with 3.3 to 5.0V. However, if you can give it 5.0V that is ideal since the VIN voltage powers the IR LED and the higher the voltage you can give it, the more powerful it is.

New! As of Sept 23, 2015 we are now shipping this breakout with the updated VCNL4010 - the library has changed and the chip is slightly different in that it now supports interrupts. We also made the board a little more compact. However, the overall proximity functionality is identical.

Check out our tutorial guide for all the details on how to use the VCNL4010 in both Arduino and CircuitPython. We have wiring diagrams, code, examples, datasheets and more!

 

Jargon buster

Plain-language definitions for the technical terms used above.

Ambient light sensor
A sensor that measures the general brightness of light falling on it, similar to how a device can adjust screen brightness automatically. It matters when you want a project to react to room lighting, daylight, shadows, or covered/uncovered conditions.
breakout
A breakout is a small circuit board that makes a tiny or hard-to-solder component easier to connect to with standard pins. It matters because this OLED module can be wired into a microcontroller project without needing to solder directly to the display’s fine contacts.
I2C
I2C is a two-wire communication bus used by many sensors and small modules. It matters because several I2C devices can share the same two wires, but each device needs a compatible address and your controller must support I2C.
LED
A light-emitting diode is a small electronic component that lights up when current flows through it in the correct direction. In this kit, LEDs create the flashing effect, so polarity and correct soldering matter for the project to work.
low dropout regulator
A voltage regulator that can keep a steady output voltage even when the input voltage is only slightly higher. On this module it helps the sensor run from a wider supply range, such as 3–5 V, without needing a separate regulator in many projects.
microcontroller
A microcontroller is a small computer on a chip that runs your program and controls connected inputs and outputs. For this product, it is the part that reads buttons and sensors, drives the display and speaker, and communicates over Bluetooth.
Proximity sensor
A sensor that detects when an object is nearby without needing physical contact. For this product it matters because the useful detection range is short, up to about 200 mm, so it suits touch-free triggers and close object detection rather than long-distance measuring.
Stella
Stella Expert

Ask me anything about this product

Maddy, co-founder of Little Bird

Need help? We're here for you!

Hi, I'm Maddy. My team and I are ready to help with your order or any questions.