{"id":6849552351350,"title":"Adafruit VCNL4040 Proximity and Lux Sensor - Stemma QT\/Qwiic Ada 4161","handle":"vcnl4040-proximity-and-lux-sensor-stemma-qt-qwiic-ada-4161","description":"\u003cp\u003eThe VCNL4040 is a handy two-in-one sensor, with a proximity sensor that works from 0 to 200mm (about 7.5 inches) and light sensor with range of 0.0125 to 6553 lux.\u003c\/p\u003e\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 VCNL4040 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 VCNL4040 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\u003cp\u003e\"OK, \u003cem\u003efinally\u003c\/em\u003e I can get started on my bee measuring and light sensing project, but \u003cem\u003ehow do I use it?\"\u003c\/em\u003e you say. To make life easier so you can focus on your important work, we've taken the VCNL4040 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\" target=\"_blank\"\u003eSparkFun qwiic\u003c\/a\u003e compatible \u003ca href=\"https:\/\/learn.adafruit.com\/introducing-adafruit-stemma-qt\" target=\"_blank\"\u003eSTEMMA QT\u003c\/a\u003e connectors for the I2C bus so you don't even need to solder! \u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-vcnl4040-proximity-sensor\/\" target=\"_blank\"\u003eJust wire up to your favorite micro and you can use our CircuitPython\/Python or Arduino drivers to easily interface with the VCNL4040 and make approximate approximations of proximity in no time!\u003c\/a\u003e \u003ca href=\"https:\/\/www.adafruit.com\/?q=stemma+qt+cable\u0026amp;sort=BestMatch\" target=\"_blank\"\u003eQT Cable is not included, but we have a variety in the shop\u003c\/a\u003e. \u003c\/p\u003e\u003cp\u003eTo give you some ability to tune your measurements for your situation, the VCNL4040 lets you adjust the integration time (how long light is being measured) to set the sensitivity of your measurements depending on the lighting conditions. With an integration time of 80ms, since the sensor is only collecting measurements for a short period of time, each measured bit of light represents a larger amount of light. For this reason, the maximum range in lux for the 80ms integration time is 6553.5 lux.\u003c\/p\u003e\u003cp\u003eIf you use a longer integration time and get the same amount of light measurements \"events\", you know that there is comparatively less light because we're waiting around longer for light to show up and getting the same number, meaning the rate of light events is lower. For this reason, at the maximum integration time of 640ms the VCNL4040 will only measure up to 819.2 lux.\u003c\/p\u003e\u003cp\u003eIt is also worth keeping in mind that as you increase the integration time you are also increasing the sensitivity and resolution within the measurement range\u003c\/p\u003e\u003cp\u003eIn addition to adjusting the sensitivity of light measurements, you can change the current and duty cycle of the IR LED that powers the proximity detection to adjust how sensitive proximity measurements are.\u003c\/p\u003e","published_at":"2023-03-12T14:28:44-04:00","created_at":"2023-03-12T14:27:13-04:00","vendor":"kjdElectronics","type":"","tags":[],"price":595,"price_min":595,"price_max":595,"available":true,"price_varies":false,"compare_at_price":595,"compare_at_price_min":595,"compare_at_price_max":595,"compare_at_price_varies":false,"variants":[{"id":40026977108086,"title":"Default Title","option1":"Default Title","option2":null,"option3":null,"sku":"K817","requires_shipping":true,"taxable":true,"featured_image":null,"available":true,"name":"Adafruit VCNL4040 Proximity and Lux Sensor - Stemma QT\/Qwiic Ada 4161","public_title":null,"options":["Default Title"],"price":595,"weight":0,"compare_at_price":595,"inventory_quantity":0,"inventory_management":"shopify","inventory_policy":"continue","barcode":"","requires_selling_plan":false,"selling_plan_allocations":[],"quantity_rule":{"min":1,"max":null,"increment":1}}],"images":["\/\/cdn.shopify.com\/s\/files\/1\/1749\/9663\/products\/4161-07.jpg?v=1678645690","\/\/cdn.shopify.com\/s\/files\/1\/1749\/9663\/products\/4161-06.jpg?v=1678645696","\/\/cdn.shopify.com\/s\/files\/1\/1749\/9663\/products\/4161-08.jpg?v=1678645703","\/\/cdn.shopify.com\/s\/files\/1\/1749\/9663\/products\/4161-04.jpg?v=1678645709"],"featured_image":"\/\/cdn.shopify.com\/s\/files\/1\/1749\/9663\/products\/4161-07.jpg?v=1678645690","options":["Title"],"media":[{"alt":null,"id":22741612724342,"position":1,"preview_image":{"aspect_ratio":1.332,"height":728,"width":970,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1749\/9663\/products\/4161-07.jpg?v=1678645690"},"aspect_ratio":1.332,"height":728,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1749\/9663\/products\/4161-07.jpg?v=1678645690","width":970},{"alt":null,"id":22741612757110,"position":2,"preview_image":{"aspect_ratio":1.332,"height":728,"width":970,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1749\/9663\/products\/4161-06.jpg?v=1678645696"},"aspect_ratio":1.332,"height":728,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1749\/9663\/products\/4161-06.jpg?v=1678645696","width":970},{"alt":null,"id":22741612822646,"position":3,"preview_image":{"aspect_ratio":1.332,"height":728,"width":970,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1749\/9663\/products\/4161-08.jpg?v=1678645703"},"aspect_ratio":1.332,"height":728,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1749\/9663\/products\/4161-08.jpg?v=1678645703","width":970},{"alt":null,"id":22741612888182,"position":4,"preview_image":{"aspect_ratio":1.332,"height":728,"width":970,"src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1749\/9663\/products\/4161-04.jpg?v=1678645709"},"aspect_ratio":1.332,"height":728,"media_type":"image","src":"https:\/\/cdn.shopify.com\/s\/files\/1\/1749\/9663\/products\/4161-04.jpg?v=1678645709","width":970}],"requires_selling_plan":false,"selling_plan_groups":[],"content":"\u003cp\u003eThe VCNL4040 is a handy two-in-one sensor, with a proximity sensor that works from 0 to 200mm (about 7.5 inches) and light sensor with range of 0.0125 to 6553 lux.\u003c\/p\u003e\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 VCNL4040 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 VCNL4040 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\u003cp\u003e\"OK, \u003cem\u003efinally\u003c\/em\u003e I can get started on my bee measuring and light sensing project, but \u003cem\u003ehow do I use it?\"\u003c\/em\u003e you say. To make life easier so you can focus on your important work, we've taken the VCNL4040 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\" target=\"_blank\"\u003eSparkFun qwiic\u003c\/a\u003e compatible \u003ca href=\"https:\/\/learn.adafruit.com\/introducing-adafruit-stemma-qt\" target=\"_blank\"\u003eSTEMMA QT\u003c\/a\u003e connectors for the I2C bus so you don't even need to solder! \u003ca href=\"https:\/\/learn.adafruit.com\/adafruit-vcnl4040-proximity-sensor\/\" target=\"_blank\"\u003eJust wire up to your favorite micro and you can use our CircuitPython\/Python or Arduino drivers to easily interface with the VCNL4040 and make approximate approximations of proximity in no time!\u003c\/a\u003e \u003ca href=\"https:\/\/www.adafruit.com\/?q=stemma+qt+cable\u0026amp;sort=BestMatch\" target=\"_blank\"\u003eQT Cable is not included, but we have a variety in the shop\u003c\/a\u003e. \u003c\/p\u003e\u003cp\u003eTo give you some ability to tune your measurements for your situation, the VCNL4040 lets you adjust the integration time (how long light is being measured) to set the sensitivity of your measurements depending on the lighting conditions. With an integration time of 80ms, since the sensor is only collecting measurements for a short period of time, each measured bit of light represents a larger amount of light. For this reason, the maximum range in lux for the 80ms integration time is 6553.5 lux.\u003c\/p\u003e\u003cp\u003eIf you use a longer integration time and get the same amount of light measurements \"events\", you know that there is comparatively less light because we're waiting around longer for light to show up and getting the same number, meaning the rate of light events is lower. For this reason, at the maximum integration time of 640ms the VCNL4040 will only measure up to 819.2 lux.\u003c\/p\u003e\u003cp\u003eIt is also worth keeping in mind that as you increase the integration time you are also increasing the sensitivity and resolution within the measurement range\u003c\/p\u003e\u003cp\u003eIn addition to adjusting the sensitivity of light measurements, you can change the current and duty cycle of the IR LED that powers the proximity detection to adjust how sensitive proximity measurements are.\u003c\/p\u003e"}

Adafruit VCNL4040 Proximity and Lux Sensor - Stemma QT/Qwiic Ada 4161

Product Description

The VCNL4040 is a handy two-in-one sensor, with a proximity sensor that works from 0 to 200mm (about 7.5 inches) and light sensor with range of 0.0125 to 6553 lux.

We've all been there. That thing is close but how close? When you need to measure a small distance with reasonable accuracy, such as the rough height of particularly calm bumble bee, the VCNL4040 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 VCNL4040 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)

"OK, finally I can get started on my bee measuring 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 VCNL4040 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 SparkFun qwiic compatible STEMMA QT connectors for the I2C bus so you don't even need to solder! Just wire up to your favorite micro and you can use our CircuitPython/Python or Arduino drivers to easily interface with the VCNL4040 and make approximate approximations of proximity in no time! QT Cable is not included, but we have a variety in the shop

To give you some ability to tune your measurements for your situation, the VCNL4040 lets you adjust the integration time (how long light is being measured) to set the sensitivity of your measurements depending on the lighting conditions. With an integration time of 80ms, since the sensor is only collecting measurements for a short period of time, each measured bit of light represents a larger amount of light. For this reason, the maximum range in lux for the 80ms integration time is 6553.5 lux.

If you use a longer integration time and get the same amount of light measurements "events", you know that there is comparatively less light because we're waiting around longer for light to show up and getting the same number, meaning the rate of light events is lower. For this reason, at the maximum integration time of 640ms the VCNL4040 will only measure up to 819.2 lux.

It is also worth keeping in mind that as you increase the integration time you are also increasing the sensitivity and resolution within the measurement range

In addition to adjusting the sensitivity of light measurements, you can change the current and duty cycle of the IR LED that powers the proximity detection to adjust how sensitive proximity measurements are.

SKU: K817
Avaliability: This item will ship within 5-10+ business days. This item is popular and we are awaiting more inventory. Please Contact Us for an estimate on avalaiblity.
$5.95
Maximum quantity available reached.