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 Adafruit's experimentation Adafruit 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. They also made the board a little more compact. However, the overall proximity functionality is identical.
- Adafruit have working example code for the VCNL4010 version of this breakout, in the form of an Arduino sketch. It is easily adaptable to any microcontroller, check out the github repository to download! Not for use with the VCNL4000!
- If you have the original VCNL4000 version of this breakout, this github repo has an Arduino sketch for it. Not for use with the VCNL4010!
- VCNL4010 Datasheet / App Note / Product Sheet
- EagleCAD PCB files on GitHub
- Fritzing library
- PCB dimensions: 18mm x 16.5mm (0.7" x 0.6")
- Thickness including tallest SMT components: ~3.15mm (0.125")
- Thickness of PCB: 1.75mm / 0.070"
- This board/chip uses I2C 7-bit address 0x13
Datasheets for the VCNL4000 version of this board:
This product is listed in:
Documentation and Resources:
- The Maker Revolution
The Maker Revolution celebrates the creation of new devices and the modification of existing ones - the transition from a consumer buying goods to eventually having a major part in their creation. The Maker Revolution places strong emphasis on free (...
- Getting Hands-on with Sensors
What good is a robot if it can’t interact with the environment around it? Sensors are the backbone of almost every electronics project as they allow your program to make decisions based on external stimuli. We’ve got sensors for all kinds...
- Automatic Bike Indicators
This project uses an Accelerometer to detect when you are leaning left or right. Depending on if/where you are leaning, it will flash LEDs on the right or left of the bike's rear. Powered by an Arduino and a 12v battery pack (my case 8 AA Batteries). I have made a video on it below. Here is the code you'll need to build your own....
- Handheld UV Meter
UV is important to reptiles (and people) in processing vitamin D3 which is needed to absorb calcium. Without it reptiles often suffer from Metabolic Bone Disease (MBD) which leads to weak bones and can be fatal. Thankfully, pet shops have the answer, UV producing globes which can stave off the dreaded MBD. These are in the form of T8 florescent tubes or compact florescent globes and go for $50+ each. And, yeah, they need to be re...
Exact shipping can be calculated on the view cart page (no login required).
We deliver Australia-wide with these options:
- $3 for Small Items (3-7 days, not tracked, only available on selected small items)
- $6.95 for Standard Post (2-4 days, tracked)
- $8.95 for Express Post (Overnight for Australia Post Next Day Network, tracked)
- Pickup - Free! Only available to customers who live in the Newcastle region (only after we email you to notify your order is ready)
International Orders - the following rates are for New Zealand and will vary for other countries:
- $11.49 for Pack and Track (3+ days, tracked)
- $16.50 for Express International (2-5 days, tracked)
If you order lots of gear, the postage amount might increment based on the weight of your order.
Our physical address:
Unit 18, 132 Garden Grove Parade
Please checkout our customer service page if you have other frequently asked questions such as "do we do purchase orders" (yes!) or "are prices GST inclusive" (yes they are!). We're here to help - get in touch with us to talk shop.