Python native implementation of VL53L5CX ultra light driver code
Project description
Driver for VL53L5CX in Python
Python transliteration of VL53L5CX ultra lite driver from C to Python. More precisely, it is implementation from this github repository: https://github.com/thingswebuilt/VL53L5CX/tree/minimal_mods_for_pi
(Thanks Mark for cracking i2c data size and addressing of chunks for Raspberry Pi)
Note: Current implementation is tested on Raspberry Pi with SMBus2 for i2c communication, but in theory it should work on any system that implements SMBus2.
I tried to preserve as much original comments in the code as well.
Examples
Currently there is only one example for simple ranging. To run it on Raspberry Pi:
PYTHONPATH=`pwd` python3 examples/simple_ranging_example.py
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 VL53L5CX-1.0.1.tar.gz
.
File metadata
- Download URL: VL53L5CX-1.0.1.tar.gz
- Upload date:
- Size: 124.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55f342dd498471061f0b811280495653c5a9c473e1600a58e75963675c1cde66 |
|
MD5 | e867d45aa54067f06558dec13168bd23 |
|
BLAKE2b-256 | 4187efc27773cfb2ae606bac0951c2fb59f9c03f1028fef4d34b8deda4df5399 |
File details
Details for the file VL53L5CX-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: VL53L5CX-1.0.1-py3-none-any.whl
- Upload date:
- Size: 131.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.2 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8e11d48470836a4c27c243ae2ba58c0f3ee67ecf2985c0456133eef0cb151dbb |
|
MD5 | 2c1ce763fb3aeb83635ac6b09405a4fb |
|
BLAKE2b-256 | 1a7a81c571da531b39f6d1669a85b34c06c8073c87bbabb92814affd154f7efc |