This is a Python driver for the VL53L4CX time of flight range sensor, based on veloyage's fork of the Adafruit VL53L4CD driver.
Adafruit has not released a Python driver for the VL53L4CX, so this fork is necessary to use the VL53L4CX with Python on a Raspberry Pi. veloyage's changes enable the driver to read the distances up to 250 cm, which is still not the full range of the sensor.
This fork simply renames the driver to adafruit_vl53l4cx to match the sensor name.
- Comment thread discussing VL53L4CX support
- Adafruit VL53L4CD driver
- veloyage's fork of the Adafruit VL53L4CD driver
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 usi circup.
Adafruit VL53L4CX Time of Flight Distance Sensor - ~1 to 6000mm - STEMMA QT / Qwiic
Purchase one from the Adafruit shop
To install, clone this repo and install with pip:
See examples/vl53l4cx_simpletest.py for basic usage example.