Adafruit has this week announce the arrival of a new product in the form of the Adafruit VCNL4040 Proximity and Lux Sensor – STEMMA QT, which is now available to purchase at an affordable $5.95. The VCNL4040 offers a handy two-in-one sensor, with a proximity sensor that works from 0 to 200mm (about 7.5 inches) and a light sensor offering a range of 0.0125 to 6553 lux. The board measures 25.3mm x 17.8mm x 4.6mm in size and weighs 1.7g.
“”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!”
For full specifications, technical details and to purchase jump over to the official Adafruit online store.
Source: New proximity and Lux sensor arrives at Adafruit