CircuitPython helper library for the VL53L4CD time of flight distance sensor.
Project description
Introduction
CircuitPython helper library for the VL53L4CD time of flight distance sensor.
Dependencies
This driver depends on:
Please ensure all dependencies are available on the CircuitPython filesystem. This is easily achieved by downloading the Adafruit library and driver bundle or individual libraries can be installed using circup.
Adafruit VL53L4CD Time of Flight Distance Sensor - ~1 to 1300mm - STEMMA QT / Qwiic
Installing from PyPI
On supported GNU/Linux systems like the Raspberry Pi, you can install the driver locally from PyPI. To install for current user:
pip3 install adafruit-circuitpython-vl53l4cd
To install system-wide (this may be required in some cases):
sudo pip3 install adafruit-circuitpython-vl53l4cd
To install in a virtual environment in your current project:
mkdir project-name && cd project-name
python3 -m venv .venv
source .venv/bin/activate
pip3 install adafruit-circuitpython-vl53l4cd
Installing to a Connected CircuitPython Device with Circup
Make sure that you have circup installed in your Python environment. Install it with the following command if necessary:
pip3 install circup
With circup installed and your CircuitPython device connected use the following command to install:
circup install adafruit_vl53l4cd
Or the following command to update an existing version:
circup update
Usage Example
See examples/vl53l4cd_simpletest.py for basic usage example.
Documentation
API documentation for this library can be found on Read the Docs.
For information on building library documentation, please check out this guide.
Contributing
Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file adafruit-circuitpython-vl53l4cd-1.2.2.tar.gz
.
File metadata
- Download URL: adafruit-circuitpython-vl53l4cd-1.2.2.tar.gz
- Upload date:
- Size: 30.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fa1ca39c1e11d8e6d30a2baee3c1431b85ecbd876415708e57e919948078810 |
|
MD5 | f31c3f46cd4a173a9dd64b548ec1a264 |
|
BLAKE2b-256 | d8ce2243d3d0984c53d2513cf87e71543be0d6524140bc39633aa5b49465298e |
File details
Details for the file adafruit_circuitpython_vl53l4cd-1.2.2-py3-none-any.whl
.
File metadata
- Download URL: adafruit_circuitpython_vl53l4cd-1.2.2-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d73ed9c256e31a34f246244058da4b7e1ef31384edccedcc106151abe332d416 |
|
MD5 | 9422e0547a63b197d13a3fdb1e0e5167 |
|
BLAKE2b-256 | 027152eb5f8e891c6de1a34511365dd7243b4becf2c14d6505bef4d89e960610 |