{"product_id":"adafruit-vcnl4030-proximity-and-lux-sensor-stemma-qt-qwiic","title":"Adafruit VCNL4030 Proximity and Lux Sensor - STEMMA QT \/ Qwiic","description":"\u003cp\u003eThe VCNL4030 is a handy two-in-one sensor, with a proximity sensor that works from\u003cstrong\u003e\u003cspan\u003e \u003c\/span\u003e0 to 300mm\u003c\/strong\u003e\u003cspan\u003e \u003c\/span\u003e(about 12 inches) and light sensor with range of\u003cstrong\u003e\u003cspan\u003e \u003c\/span\u003e0.004 to 16,768 lux\u003c\/strong\u003e.\u003c\/p\u003e\n\u003cp\u003eWe've all been there. That thing is \u003cem\u003eclose\u003c\/em\u003e but \u003cem\u003ehow close?\u003c\/em\u003e When you need to measure a small distance with reasonable accuracy, such as the rough height of particularly calm bumble bee, the VCNL4030 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 VCNL4030 can do that too (bumble bee not included, we tried putting it in the anti-static bag but it started buzzing in a threatening manner)\u003c\/p\u003e\n\u003cp\u003e\u003cstrong\u003eNote there's quite a few chips in the VCNL4xxx series, with varying ranges and prices.\u003cspan\u003e \u003c\/span\u003e\u003c\/strong\u003eWhile the sensors look and sound similar, the firmware for these chips is not identical, so you cannot swap the VCNL4030 for VCNL4040 or others without recompiling with the respective libraries!\u003c\/p\u003e\n\u003cp\u003eThe VCNL4030 has a nice set of configuration knobs that let you tweak both the proximity sensor (PS) and light sensor (ALS) - for example integration time, dynamic range and sensitivity. Higher integration times mean slower conversion but you can measure dimmer light more precisely. Conversely shorter times mean fast conversion, and can measure brighter lights without oversaturating the sensor. For proximity you can also set up the duty cycle and built-in IR LED current. This lets you balance conversion speed, measurement range, precision and power usage as necessary.\u003c\/p\u003e\n\u003cp\u003eTo make life easier so you can focus on your important work, we've taken the VCNL4030 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 \u003ca href=\"https:\/\/www.sparkfun.com\/qwiic\"\u003eSparkFun qwiic\u003c\/a\u003e compatible\u003cstrong\u003e \u003ca rel=\"noopener\" href=\"https:\/\/learn.adafruit.com\/introducing-adafruit-stemma-qt\" target=\"_blank\"\u003eSTEMMA QT\u003c\/a\u003e\u003c\/strong\u003e connectors for the I2C bus so \u003cstrong\u003eyou don't even need to solder!\u003c\/strong\u003e \u003ca href=\"https:\/\/github.com\/adafruit\/?q=vcnl4030\u0026amp;type=all\u0026amp;language=\u0026amp;sort=\"\u003eJust wire up to your favorite micro and you can use our CircuitPython\/Python or Arduino drivers to easily interface with the VCNL4030\u003cspan\u003e \u003c\/span\u003e\u003c\/a\u003eand make approximate approximations of proximity in no time! \u003ca href=\"\/en-us\/products\/jst-sh-cable-qwiic-stemma-qt-compatible\" target=\"_blank\" rel=\"noopener\"\u003e\u003cstrong\u003eQT Cable is not included\u003c\/strong\u003e, but we have a variety in the shop\u003c\/a\u003e. \u003c\/p\u003e\n\u003cdiv class=\"row-fluid build-text\"\u003e\n\u003cdiv class=\"row-fluid build-text\"\u003e\u003c\/div\u003e\n\u003c\/div\u003e\n\u003ch2\u003eTechnical Details\u003c\/h2\u003e\n\u003cp\u003eProduct Dimensions: 25.5mm x 17.7mm x 4.7mm \/ 1.0\" x 0.7\" x 0.2\"\u003c\/p\u003e\n\u003cp\u003eProduct Weight: 1.7g \/ 0.1oz\u003c\/p\u003e\n\u003cp\u003e\u003cimg src=\"https:\/\/www.adafruit.com\/includes\/templates\/shop2019\/images\/RoHS2_2011_65_EU.svg\" alt=\"RoHS 2 2011 65 EU Compliant\" width=\"145\" height=\"80\"\u003e\u003c\/p\u003e\n\u003cdiv class=\"col-lg-2 col-md-3 col-sm-3 col-xs-4\"\u003e\n\u003cimg src=\"https:\/\/www.adafruit.com\/includes\/templates\/shop2019\/images\/RoHS2_2015_863_EU.svg\" alt=\"RoHS 2 2015 863 EU Compliant\" width=\"145\" height=\"80\"\u003e\n\u003ch2\u003eLearn\u003c\/h2\u003e\n\u003cul\u003e\n\u003cli\u003e\n\u003cmeta charset=\"utf-8\"\u003e \u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-max44009-lux-light-sensor\"\u003e\u003c\/a\u003e\n\u003cdiv class=\"product-learn-guide-title\"\u003e\n\u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-max44009-lux-light-sensor\"\u003e\u003c\/a\u003e\n\u003cdiv\u003e\n\u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-max44009-lux-light-sensor\"\u003e\u003c\/a\u003e\u003cmeta charset=\"utf-8\"\u003e\n\u003cdiv class=\"product-learn-guide-title\"\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-vcnl4030-proximity-and-lux-sensor\"\u003ePrimary Guide: Adafruit VCNL4030 Proximity and Lux Sensor\u003c\/a\u003e\u003c\/div\u003e\n\u003cdiv class=\"product-learn-guide-tagline\"\u003eThe VCNL4030 is a handy two-in-one sensor, with a proximity sensor that works from 0 to 300mm (about 12 inches) and light sensor with range of 0.004 to 16,768 lux.\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/div\u003e\n\u003c\/li\u003e\n\u003cli\u003e\u003ca href=\"https:\/\/learn.adafruit.com\/products\/6491\/guides\" rel=\"noopener\" target=\"_blank\"\u003eSee All Guides\u003c\/a\u003e\u003c\/li\u003e\n\u003c\/ul\u003e\n\u003c\/div\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":57562981761397,"sku":"ADA6491","price":4.75,"currency_code":"GBP","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0389\/1025\/files\/6491-00.png?v=1789039256","url":"https:\/\/wholesale.pimoroni.com\/en-us\/products\/adafruit-vcnl4030-proximity-and-lux-sensor-stemma-qt-qwiic","provider":"Pimoroni Wholesale","version":"1.0","type":"link"}