Introduction

Documentation Status Discord

CircuitPython driver for the VL53L0X 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.

Usage Example

See usage in the examples/simpletest.py file.

Contributing

Contributions are welcome! Please read our Code of Conduct before contributing to help this project stay welcoming.

API Reference

adafruit_vl53l0x

CircuitPython driver for the VL53L0X distance sensor. This code is adapted from the pololu driver here:

See usage in the examples/simpletest.py file.

  • Author(s): Tony DiCola
class adafruit_vl53l0x.VL53L0X(i2c, address=41, io_timeout_s=0)[source]

Driver for the VL53L0X distance sensor.

measurement_timing_budget

The measurement timing budget in microseconds.

range

Perform a single reading of the range for an object in front of the sensor and return the distance in millimeters.

signal_rate_limit

The signal rate limit in mega counts per second.