adafruit_vl53l0x
¶
CircuitPython driver for the VL53L0X distance sensor. This code is adapted from the pololu driver here: https://github.com/pololu/vl53l0x-arduino
See usage in the examples/vl53l0x_simpletest.py file.
- Author(s): Tony DiCola
Implementation Notes¶
Hardware:
- Adafruit VL53L0X Time of Flight Distance Sensor - ~30 to 1000mm (Product ID: 3317)
Software and Dependencies:
- Adafruit CircuitPython firmware for the ESP8622 and M0-based boards: https://github.com/adafruit/circuitpython/releases
- Adafruit’s Bus Device library: https://github.com/adafruit/Adafruit_CircuitPython_BusDevice
-
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.
-