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:
SparkFun GPS-RTK Dead Reckoning ZED-F9R Hookup Guide
The u-blox ZED-F9R is a powerful GPS-RTK unit that uses a fusion of IMU, wheel ticks, a vehicle dynamics model, correction data, and GNSS measurements to provide highly accurate and continuous position for navigation in the difficult conditions. We will quickly get you set up using the Qwiic ecosystem through Arduino and Python so that you can start reading the output!
Triple Axis Accelerometer Breakout - KX13x (Qwiic) Hookup Guide
Get started measuring acceleration and vibration using the Triple Axis Accelerometer Breakout - KX134 (Qwiic) & KX132 (Qwiic) following this Hookup Guide.
Qwiic Haptic Driver DA7280 Hookup Guide
The Qwiic Haptic Driver includes an itty-bitty, Linear Resonant Actuator (LRA) vibration motor and Dialog Semiconductor's DA7280 motor driver IC for applications that require haptic feedback.
Qwiic Speaker Amp (TPA2016D2) Hookup Guide
The SparkFun Qwiic Speaker Amp includes the Texas Instruments TPA2016D2 stereo, filter-free class-D audio power amplifier. This tutorial will help you get started and configure the amplifer settings using an Arduino microcontroller.