{"product_id":"adafruit-vcnl4030-proximity-and-lux-sensor-stemma-qt-qwiic-ada6491","title":"Adafruit VCNL4030 Proximity and Lux Sensor - STEMMA QT \/ Qwiic","description":"\u003cstyle type=\"text\/css\"\u003e.product-info-tutorial{margin-bottom:20px;}.product-tutorial-img-container{width:20%;}.product-tutorial-img-container img{margin:0;}\u003c\/style\u003e\u003c?xml version=\"1.0\" standalone=\"yes\"?\u003e\n\n\u003csection id=\"description\" class=\"prod-accordion-content prod-accordion-content-description mobile-text-wrapper\" aria-labelledby=\"tab-description-heading\"\u003e\u003cdiv class=\"tab-heading-row\"\u003e\n\t\t\t\t\u003ch2 id=\"tab-description-heading\"\u003e\n\t\t\t\t\t\t\t\t\t\t\tDescription\t\t\t\t\t\t\t\t\t\u003c\/h2\u003e\n\t\t\t\u003c\/div\u003e\n\t\t\t\u003cdiv id=\"tab-description-content\" class=\"panel-collapse collapse in\"\u003e\n\t\t\t\t\u003cp\u003eThe VCNL4030 is a handy two-in-one sensor, with a proximity sensor that works from\u003cstrong\u003e 0 to 300mm\u003c\/strong\u003e (about 12 inches) and light sensor with range of\u003cstrong\u003e 0.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. \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 target=\"_blank\" rel=\"noopener\" href=\"https:\/\/learn.adafruit.com\/introducing-adafruit-stemma-qt\"\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 \u003c\/a\u003eand make approximate approximations of proximity in no time! \u003ca href=\"https:\/\/www.adafruit.com\/?q=stemma+qt+cable\u0026amp;sort=BestMatch\"\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\u003cp\u003e \u003c\/p\u003e\t\t\t\u003c\/div\u003e\n\t\t\u003c\/section\u003e\u003cbr\u003e\u003cbr\u003e\u003csection id=\"technical-details\" class=\"prod-accordion-content prod-accordion-content-technical-details mobile-text-wrapper\" aria-labelledby=\"tab-technical-details-heading\"\u003e\u003cdiv class=\"tab-heading-row\"\u003e\n\t\t\t\t\u003ch2 id=\"tab-technical-details-heading\"\u003e\n\t\t\t\t\t\t\t\t\t\t\tTechnical Details\t\t\t\t\t\t\t\t\t\u003c\/h2\u003e\n\t\t\t\u003c\/div\u003e\n\t\t\t\u003cdiv id=\"tab-technical-details-content\" class=\"panel-collapse collapse in\"\u003e\n\t\t\t\t\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\t\t\t\u003c\/div\u003e\n\t\t\u003c\/section\u003e\u003cbr\u003e\u003cbr\u003e\n","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":42338576793682,"sku":"ADA6491","price":12.48,"currency_code":"AUD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0735\/0383\/files\/6491-00.jpg?v=1773930174","url":"https:\/\/www.pakronics.com.au\/products\/adafruit-vcnl4030-proximity-and-lux-sensor-stemma-qt-qwiic-ada6491","provider":"Pakronics®","version":"1.0","type":"link"}