Skip to content

sparkfun/Qwiic_Proximity_Sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SparkFun VCNL4040 Proximity Sensor (Qwiic) - VCNL4040

SparkFun Proximity Sensor (Qwiic) - VCNL4040

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

The VCNL4040 is a simple IR presence and ambient light sensor. This sensor is excellent for detecting if something has appeared in front of the sensor. We often see this type of sensor on automatic towel dispensers, automatic faucets, etc. You can detect objects qualitatively up to 20cm away. This means you can detect if something is there, and if it is closer or further away since the last reading, but it's difficult to say it is 7.2cm away. If you need quantitative distance readings (for example sensing that an object is 177mm away) check out the SparkFun Time of Flight (ToF) sensors with mm accuracy.

SparkFun labored with love to create this code. Feel like supporting open source hardware? Buy a breakout board from SparkFun!

Repository Contents

  • /Documents - Datasheets
  • /Hardware - Eagle design files (.brd, .sch)

Library and Hookup Guide

  • Arduino Library - Library for reading proximity, ambient light, and IR values.
  • Hookup Guide - Hookup guide for getting started with the SparkFun VCNL4040 Proximity Sensor.

License Information

This product is open source!

If you have any questions or concerns on licensing, please contact techsupport@sparkfun.com.

Please use, reuse, and modify these files as you see fit. Please maintain attribution to SparkFun Electronics and release any derivative under the same license.

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.

About

The VCNL4040 is a simple IR presence and ambient light sensor.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages