VCNL4040 근접 및 조도 센서
(Adafruit VCNL4040 Proximity and Lux Sensor - STEMMA QT / Qwiic)
개요
- 본 제품은 VCNL4040 근접 및 조도센서입니다.
- 0-200mm 거리의 근접 센싱이 가능하며, 0.0125 - 6553 lux의 조도 센싱이 가능합니다.
- 20cm 이내의 잛은 거리에서 적당한 수준의 정확도로 물체의 거리를 측정하고자 할때 적당한 제품입니다.
- 3.3V 및 5V 로직 레벨에서 사용이 가능하며, I2C 인터페이스를 가지고 있습니다.
특징
-
Diagrams, libraries, code examples, datasheets, and more are all in the learning tutorial
Product Dimensions: 25.3mm x 17.8mm x 4.6mm / 1.0" x 0.7" x 0.2"
Product Weight: 1.7g / 0.1oz
-
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