Qwiic Proximity Sensor (VCNL4040) Hookup Guide
Contributors:
santaimpersonator,
Englandsaurus
Resources and Going Further
For more information, check out the resources below:
- GitHub Product Repo
- Schematic (PDF)
- Eagle Files (ZIP)
- VCNL4040 Datasheet
- SparkFun VCNL4040 Arduino Library GitHub Repository
- SparkFun VCNL4040 Python Package GitHub Repository
- SFE Product Showcase
Need help getting started with Arduino and I2C? Check out these resources here:
- Arduino I2C Scanner Example
- Arduino Wire Library Reference Page
- Arduino Wire Library (In-Depth) Reference
Need some inspiration for your next project? Check out some of these other Qwiic product tutorials:
Qwiic GRID-Eye Infrared Array (AMG88xx) Hookup Guide
The Panasonic GRID-Eye (AMG88xx) 8x8 thermopile array serves as a functional low-resolution infrared camera. This means you have a square array of 64 pixels each capable of independent temperature detection. It’s like having thermal camera (or Predator’s vision), just in really low resolution.
Raspberry Pi Safe Reboot and Shutdown Button
Safely reboot or shutdown your Raspberry Pi to avoid corrupting the microSD card using the built-in general purpose button on the Qwiic pHAT v2.0!
SparkFun Absolute Digital Barometer - LPS28DFW (Qwiic) Hookup Guide
Get started adding water-resistant pressure sensing using the SparkFun Absolute Digital Barometer - LPS28DFW (Qwiic) following this guide.
Fading with the MOSFET Power Switch and Buck Regulator
In this tutorial, we will slowly turn on the load and then slowly turn it off using the N-channel MOSFET.