> **Source:** Core Electronics is an Australian maker-electronics retailer and manufacturer based in Newcastle, NSW, run by a team of makers and educators. We design and manufacture our own product lines (PiicoDev, CE originals) and are official retailers for iconic maker and industrial brands including Raspberry Pi, Arduino, Adafruit, SparkFun and DFRobot. Orders ship Australia-wide from our Newcastle warehouse. Prices are in AUD and include GST. Pricing, stock and dispatch on this page are generated from the store's live catalog. Full machine-readable index: https://core-electronics.com.au/llms.txt

# SparkFun Proximity Sensor Breakout - 20cm, VCNL4040 (Qwiic)

**Type:** Product page · **SKU:** SEN-15177 · **Brand:** [Sparkfun](https://core-electronics.com.au/brands/sparkfun-australia)
**Page:** https://core-electronics.com.au/sparkfun-proximity-sensor-breakout-20cm-vcnl4040-qwiic.html ([markdown](https://core-electronics.com.au/sparkfun-proximity-sensor-breakout-20cm-vcnl4040-qwiic.html.md))

The SparkFun Proximity Sensor Breakout is a simple IR presence and ambient light sensor utilizing the VCNL4040. This type of sensor is often seen in automatic towel...

## Pricing

- **Price:** $14.25 (inc GST) — $12.95 AUD, exc GST
- **Quantity discounts:** 5+ $12.56 (exc GST) · 25+ $12.31 (exc GST) · 100+ $11.79 (exc GST)

## Availability & dispatch

- Available with a lead time — expect dispatch between Aug 25 and Aug 31.

## How to buy

- **Build a cart:** compose `https://core-electronics.com.au/cart/link?items=SEN-15177:1` (comma-separated SKU:qty pairs) and share the link. Opening it shows a confirmation page with live pricing and stock before anything is added to the cart.
- **Verify the cart first:** fetch `https://core-electronics.com.au/cart/link/SEN-15177:1.md` for live line prices (inc & exc GST, quantity discounts applied), stock and dispatch estimates, and totals. Append `/to/{AU-postcode}` (or `/to/{country-code}:{postcode}`) before `.md` for delivery options and prices to that destination. Unknown, retired, or out-of-stock SKUs are flagged. (Query form `cart/link.md?items=...` also works but some robots parsers refuse query strings here.)
- **Checkout** is completed on-site and includes a captcha at the payment step. Share the cart link; checkout takes it from there.
- **Search the catalogue:** `https://core-electronics.com.au/search/{query}.md` (URL-encode the query; pages 2-3 at `search/{query}/{page}.md`; `search.md?q=` also works)
- **Payment methods, purchase orders, policies and contact details:** https://core-electronics.com.au/llms.txt
## Description

The SparkFun Proximity Sensor Breakout is a simple IR presence and ambient light sensor utilizing the VCNL4040. This type of sensor is often seen in automatic towel and soap dispensers or automatic faucets. With the ability to detect objects qualitatively up to 20cm away, you will be able to detect if something is there and if it is closer or further away since the last reading. Utilizing our handy Qwiic system, no soldering is required to connect it to the rest of your system. However, Sparkfun still have broken out 0.1"-spaced pins in case you prefer to use a breadboard.

The SparkFun Proximity Sensor Breakout is a great digital alternative to the popular analog based Sharp sensors. The VCNL4040 has no dead zone and can read all the way up to the face of the sensor. This sensor also has an ambient light sensor built it which is excellent if you need a digital light sensor for your next glitter cannon. If you need quantitative distance readings (for example sensing that an object is 177mm away) check out the SparkFun [2 meter](https://core-electronics.com.au/search/?q=14539) and [4 meter](https://core-electronics.com.au/search/?q=14667) Time of Flight (ToF) sensors with mm accuracy.

We've written an Arduino library to flex every feature of this sensor. You can grab it from the Arduino Library Manager or from the [SparkFun repo](https://github.com/sparkfun/SparkFun_VCNL4040_Arduino_Library).

*The SparkFun Qwiic Connect System is an ecosystem of I2C sensors, actuators, shields and cables that make prototyping faster and less prone to error. All Qwiic-enabled boards use a common 1mm pitch, 4-pin JST connector. This reduces the amount of required PCB space, and polarized connections mean you can't hook it up wrong.*

 [Get Started With the SparkFun Qwiic Proximity Sensor Guide](https://learn.sparkfun.com/tutorials/qwiic-proximity-sensor-vcnl4040-hookup-guide)**Features**

- Qualitative Detection Range: 20cm
- Integrated Modules: Infrared Emitter (IRED), Ambient Light Sensor (ALS), Proximity Sensor (PS)
- Operates ALS and PS in Parallel Structure
- No Dead Zone
- Operating Voltage: 3.3V
- I2C Address: 0x60
- 2x Qwiic Connectors

**Documents**

- [Schematic](https://core-electronics.com.au/attachments/localcontent/Qwiic_Proximity_Sensor_1817360e8bd.pdf)
- [Eagle Files](https://core-electronics.com.au/attachments/localcontent/Qwiic_Proximity_Sensor_1384195f196.zip)
- [Hookup Guide](https://learn.sparkfun.com/tutorials/qwiic-proximity-sensor-vcnl4040-hookup-guide)
- [Datasheet](https://core-electronics.com.au/attachments/localcontent/VCNL4040_Datasheet_50154871eba.pdf) (VCNL4040)
- [Arduino Library](https://github.com/sparkfun/SparkFun_VCNL4040_Arduino_Library)
- [GitHub](https://github.com/sparkfun/Qwiic_Proximity_Sensor)

## Images

- [Product image 1](https://core-electronics.com.au/media/catalog/product/1/5/15177-sparkfun_proximity_sensor_breakout_-_20cm__vcnl4040__qwiic_-01.jpg)
