{"product_id":"adafruit-vcnl4200-long-distance-ir-proximity-and-light-sensor-stemma-qt-qwiic","title":"Adafruit VCNL4200 Long Distance IR Proximity and Light Sensor - STEMMA QT \/ Qwiic","description":"\u003cp\u003eWe've all been there. That thing is close but how close? When you need to measure a meter or so distance with reasonable accuracy, the VCNL4200 Long-Distance Proximity Sensor from Vishay can do that for you. It's excellent for robotic or motion-detection situations. And. if perchance you also needed to measure the amount of light at the same time, you're in luck! The VCNL4200 can do that too, with its built-in ambient light sensor (ALS)\u003c\/p\u003e \u003cp\u003eThe VCNL4200 is a powerful two-in-one sensor, with a proximity sensor that works from 0 to 1.5m (59 inches) and a light sensor with a range of 0.003 to 1570 lux. It's the longest-range IR distance sensor we've seen other than the \u003ca href=\"\/nl\/products\/ir-distance-sensor-includes-cable-20cm-150cm\"\u003eSharp Analog distance sensors\u003c\/a\u003e and at a great price with an I2C interface. Note that while the chip itself is specced for 1.5-meter distance measurements, that depends a bit on optimal lighting situations and high power configuration. We've found that 50-100cm is a good range to expect, and you won't get a lot of accuracy\/precision as the detection object gets farther away. We normally suggest \u003ca href=\"\/nl\/search?q=time+of+flight+distance+sensor\u0026amp;narrow_by=\u0026amp;sort_by=relevency\u0026amp;page=1\"\u003eToF sensors\u003c\/a\u003e for long precision measurements, but sometimes you want the low cost and simplicity of infrared. Also, you get a 'free' light sensor which ToF sensors don't contain.\u003c\/p\u003e \u003cp\u003e\"OK, finally I can get started on my proximity and light sensing project, but how do I use it?\" you say. To make life easier so you can focus on your important work, we've taken the VCNL4200 and put it onto a breakout PCB along with support circuitry to let you use this little wonder with 3.3V (\u003ca href=\"\/nl\/collections\/adafruit-feather\"\u003eFeather\u003c\/a\u003e\/\u003ca href=\"\/nl\/collections\/raspberry-pi-store\"\u003eRaspberry Pi\u003c\/a\u003e) or 5V (\u003ca href=\"\/nl\/collections\/arduino-store\"\u003eArduino\u003c\/a\u003e\/ 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 SparkFun qwiic compatible STEMMA QT connectors for the I2C bus so you don't even need to solder! Just wire up to your favourite micro and you can use our CircuitPython\/Python or Arduino drivers to easily interface with the VCNL4200 and make approximate approximations of proximity in no time! \u003cstrong\u003eQT Cable is NOT included\u003c\/strong\u003e, but we have a \u003ca href=\"\/nl\/search?q=stemma+qt+cable\u0026amp;narrow_by=\u0026amp;sort_by=relevency\u0026amp;page=1\"\u003evariety in the shop\u003c\/a\u003e.\u003c\/p\u003e \u003cp\u003eTo give you some ability to tune your measurements for your situation, the VCNL4200 lets you adjust the integration time for both light sensing and proximity, IR LED power, duty cycle, multi-pulse, and sunlight-immunity. There's also interrupt output support for light or proximity measurement thresholds.\u003c\/p\u003e \u003ch2\u003eSpecifications\u003c\/h2\u003e \u003cp\u003e\u003cstrong\u003eVCNL4200 Specifications:\u003c\/strong\u003e\u003c\/p\u003e \u003cul\u003e \u003cli\u003eProximity Function \u003cul\u003e \u003cli\u003eImmunity to red glow (940 nm IRED)\u003c\/li\u003e \u003cli\u003eIntelligent background light cancellation\u003c\/li\u003e \u003cli\u003eSmart persistence scheme to reduce PS response time\u003c\/li\u003e \u003cli\u003eProximity distance up to 1.5 m\u003c\/li\u003e \u003c\/ul\u003e \u003c\/li\u003e \u003cli\u003eAmbient Light Function \u003cul\u003e \u003cli\u003eFluorescent light flicker immunity\u003c\/li\u003e \u003cli\u003eSpectrum close to real human eye responses\u003c\/li\u003e \u003cli\u003eSelectable maximum detection range (197 \/ 393 \/ 786 \/ 1573) lux with the highest sensitivity of 0.003 lux\/step\u003c\/li\u003e \u003c\/ul\u003e \u003c\/li\u003e \u003cli\u003eInterrupt \u003cul\u003e \u003cli\u003eProgrammable interrupt function for ALS and PS with upper and lower thresholds\u003c\/li\u003e \u003cli\u003eAdjustable persistence to prevent false triggers for ALS and PS\u003c\/li\u003e \u003c\/ul\u003e \u003c\/li\u003e \u003cli\u003eDimensions\/Weight \u003cul\u003e \u003cli\u003e\u003cspan\u003eDimensions: 25.6mm x 17.7mm x 4.8mm\u003c\/span\u003e\u003c\/li\u003e \u003cli\u003e\u003cspan\u003eWeight: 1.9g\u003c\/span\u003e\u003c\/li\u003e \u003c\/ul\u003e \u003c\/li\u003e \u003c\/ul\u003e","brand":"Adafruit","offers":[{"title":"Default Title","offer_id":50847177179409,"sku":"ADA6064","price":6.7,"currency_code":"USD","in_stock":false}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0901\/6285\/6209\/files\/adafruit-vcnl4200-long-distance-ir-proximity-and-light-sensor-stemma-qt-qwiic-adafruit-ada6064-71338102129025.jpg?v=1735207878","url":"https:\/\/abcd3032.myshopify.com\/nl\/products\/adafruit-vcnl4200-long-distance-ir-proximity-and-light-sensor-stemma-qt-qwiic","provider":"Tayyab Zak","version":"1.0","type":"link"}