
SparkFun SEN-15177 Proximity Sensor Breakout - 20cm, VCNL4040 (Qwiic)
The SparkFun VCNL4040 Proximity Sensor Breakout is a simple, high-performance IR presence and ambient light sensor built around the VCNL4040 from Vishay. It provides qualitative proximity detection up to 20 cm with zero dead zone - unlike many legacy sensors that need an object at least 4 cm away, the VCNL4040 detects objects right up to the face of the sensor, making it ideal for close-range detection and touchless interfaces.
Qualitative, not quantitative: this sensor detects whether an object is present within its 20 cm range and whether it is getting closer or moving farther away. It does not provide a precise millimeter distance reading - for that, use a Time-of-Flight (ToF) sensor. For presence, gesture or collision detection, the VCNL4040 is the right choice. In addition to proximity, the integrated Ambient Light Sensor (ALS) measures lux and environmental lighting conditions, so one board can adjust screen brightness or control automatic night lights. Excellent ambient light suppression keeps readings consistent in fluctuating environments.
Hookup uses the solderless Qwiic Connect System, and the breakout is fully compatible with the SparkFun OpenLog Artemis and DataLogger systems for automatic detection, configuration and logging with no programming required.
Features
- Vishay VCNL4040 with IR emitter (IRED), proximity sensor (PS) and ambient light sensor (ALS)
- Range: approximately 0 to 20 cm (qualitative detection), no dead zone
- Operating voltage: 3.3 V
- I2C interface (Qwiic-enabled), 2 x Qwiic connectors
- I2C address: 0x60 (hardware-fixed; use a multiplexer such as the Qwiic Mux Breakout for multiple sensors on one bus)
- Interrupt pin; excellent ambient light suppression
- Compatible with OpenLog Artemis and DataLogger no-code logging
- Arduino and MicroPython libraries available
Package Includes
- 1 x SparkFun Proximity Sensor Breakout - 20cm, VCNL4040 (Qwiic)
Qwiic cable, headers and microcontroller are not included.