UPDATED PRODUCT – VCNL4010 Proximity/Light sensor
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.
- We have working example code for the VCNL4000 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!
Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.
Join us every Wednesday night at 8pm ET for Ask an Engineer!
Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground” – Adafruit’s Apps!
Maker Business — Lessons Learned Scaling Airbnb 100X
Wearables — Start with a sketch
Electronics — When do I use X10?
Biohacking — What I Learned from Weighing Myself 15 Times in a Day
No comments yet.
Sorry, the comment form is closed at this time.