Looking for Vcnl4040 Sensor? Adafruit VCNL4040 Proximity and Lux Sensor – STEMMA QT/Qwiic is available at Zbotic with fast shipping across India.
The VCNL4040 proximity and lux sensor are capable of adjusting the integration time to set the sensitivity of measurements depending on the lighting conditions. This sensor collects measurements for a short period of time and with an integration time of 80ms, each measurement bit of light represents a larger amount of light. If the integration time is increased, then the sensitivity and resolution within the measurement range also increase.
The VCNL4040 proximity and lux sensor are also capable of changing the current and duty cycle of the IR LED that powers the proximity detection to adjust how sensitive proximity measurements are.
Package Includes:
Datasheet:-
https://cdn-learn.adafruit.com/downloads/pdf/adafruit-vcnl4040-proximity-sensor.pdf
Adafruit VCNL4040 Proximity and Lux Sensor – STEMMA Overview
The Adafruit VCNL4040 Proximity and Lux Sensor – STEMMA QT/Qwiic is a compact breakout board that combines a high-precision proximity detector with an ambient light sensor. It measures object distance from 0 mm to 200 mm and ambient light levels from 0.0125 lux up to 6553 lux, making it ideal for interactive and automation projects.
Key Features of Adafruit VCNL4040 Proximity and Lux Sensor – STEMMA
- Proximity sensing range: 0 mm to 200 mm with infrared LED and photodiode
- Ambient light measurement: 0.0125 lux to 6553 lux; integration times of 80 ms (max range) or 640 ms (max sensitivity)
- I2C interface with SparkFun Qwiic–compatible STEMMA QT connectors for plug-and-play wiring
- Logic-level compatibility: works seamlessly with 3.3 V (Raspberry Pi, Feather) and 5 V (Arduino, Metro) systems
- Pre-mounted breakout board with onboard support circuitry and mounting holes for easy integration
- Genuine Adafruit product, fast shipping from Zbotic across India
Applications and Use Cases
- Automatic backlight adjustment in handheld devices and instrument panels
- Proximity detection for robotics obstacle avoidance and human-machine interfaces
- Ambient light monitoring for energy-efficient smart lighting systems
- Touchless gesture controls in interactive exhibits or kiosks
- Presence sensing in security or access control installations
- Environmental data logging for wearable and IoT prototypes
How to Use Adafruit VCNL4040 Proximity and Lux Sensor – STEMMA
Connect the sensor’s 4-pin STEMMA QT/Qwiic cable to your microcontroller’s I2C port (SDA, SCL, 3.3 V/5 V, GND). Install the Adafruit_VCNL4040 library in your Arduino IDE or CircuitPython bundle, then load the example sketch to begin reading proximity and ambient light data. Adjust integration time via library calls to optimize sensitivity or dynamic range for your application.
Why Buy from Zbotic?
- Genuine Products: All items sourced from authorized distributors
- Fast Shipping: Orders ship within 24 hours with tracking (non backordered products)
- Free Shipping: Free delivery on qualifying orders
- COD Available: Cash on Delivery, UPI, cards, net banking
- Technical Support: Expert help for setup and troubleshooting
- Easy Returns: Hassle-free replacement for defective products
Frequently Asked Questions
What voltage levels does this breakout support?
The VCNL4040 STEMMA QT breakout includes onboard level shifting, allowing direct connection to 3.3 V or 5 V logic systems without additional components.
How do I change the sensor’s integration time?
Use the library’s setIntegrationTime() function to select either 80 ms for maximum lux range (up to 6553 lux) or 640 ms for higher sensitivity down to 0.0125 lux.
Can I use more than one VCNL4040 on the same I2C bus?
This sensor has a fixed I2C address. To use multiple VCNL4040 modules simultaneously, pair them with an I2C multiplexer (e.g., TCA9548A) or choose modules with address-select jumpers.
Technical Specifications
| Brand | Adafruit |
|---|---|
| Model | VCNL4040 |
| SKU | AI1756 |
| Weight | 0.005 kg |
| Availability | Out of Stock |
Applications & Use Cases
The Adafruit VCNL4040 Proximity and Lux Sensor – STEMMA QT/Qwiic is a versatile light/color sensor used across a wide range of applications including electronics projects, DIY builds, prototyping, and educational experiments.
Common use cases:
- Integrating into a custom electronics project
- Learning and experimenting with circuits
- Replacing or upgrading components in existing setups
This product is ideal for electronics enthusiasts, engineers, and students.
Technical Tip: Always verify voltage and current requirements before connecting to your circuit. Check datasheets for detailed specifications and pin configurations.
Shipping & Delivery
- Free shipping on orders above ₹999 across India
- Dispatched within 1-3 business days
- Expected delivery: 3-7 business days depending on location
- Secure packaging to ensure safe transit of electronic components
- Genuine Adafruit product sourced from authorized channels


Eshan Panchal –
Love this Adafruit VCNL4040 Proximity and Lux Sensor. Response time is fast and readings are stable.
Zubin Joshi (verified owner) –
Average Adafruit VCNL4040 Proximity and Lux Sensor. Readings fluctuate a bit. Works for rough measurements.
Priya Mukherjee (verified owner) –
Decent Adafruit VCNL4040 Proximity and Lux Sensor for the price. Requires proper wiring but works well once set up.
Milan Arora (verified owner) –
Decent Adafruit VCNL4040 Proximity and Lux Sensor for the price. Requires proper wiring but works well once set up.
Sonali Chauhan –
Love this Adafruit VCNL4040 Proximity and Lux Sensor. Response time is fast and readings are stable.
Vipin Mehta (verified owner) –
Perfect Adafruit VCNL4040 Proximity and Lux Sensor for my automation project. Integrates seamlessly with my microcontroller.
Sandeep Tiwari (verified owner) –
Love this Adafruit VCNL4040 Proximity and Lux Sensor. Response time is fast and readings are stable.
Aditi Iyer –
Outstanding accuracy from this Adafruit VCNL4040 Proximity and Lux Sensor. Compared with a professional instrument, readings match closely.
Gauri Kulkarni (verified owner) –
Very satisfied with this Adafruit VCNL4040 Proximity and Lux Sensor. Library support is good and it’s easy to interface.
Zara Sharma (verified owner) –
This Adafruit VCNL4040 Proximity and Lux Sensor is excellent for the price. My data logging project is working perfectly now.