Skip to main content

vl53l1x distance sensor driver for Raspberry Pi

Project description

# vl53l1x-python

Python library for the VL53L1X Laser Ranger.

# Installing

```
sudo pip install smbus2
sudo pip install vl53l1x
```

# Usage

```python
import VL53L1X

tof = VL53L1X.VL53L1X(i2c_bus=1, i2c_address=0x29)
tof.open() # Initialise the i2c bus and configure the sensor
tof.start_ranging(1) # Start ranging, 1 = Short Range, 2 = Medium Range, 3 = Long Range
distance_in_mm = tof.get_distance() # Grab the range in mm
tof.stop_ranging() # Stop ranging
```

See examples for more advanced usage.

0.0.2
-----

* Improved search for .so file to pick up arch-specific files

0.0.1
-----

* Initial release


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

VL53L1X-0.0.2-cp35-cp35m-linux_armv7l.whl (128.8 kB view details)

Uploaded CPython 3.5m

VL53L1X-0.0.2-cp35-cp35m-linux_armv6l.whl (116.7 kB view details)

Uploaded CPython 3.5m

VL53L1X-0.0.2-cp34-cp34m-linux_armv7l.whl (128.8 kB view details)

Uploaded CPython 3.4m

VL53L1X-0.0.2-cp34-cp34m-linux_armv6l.whl (127.0 kB view details)

Uploaded CPython 3.4m

VL53L1X-0.0.2-cp27-none-linux_armv6l.whl (126.8 kB view details)

Uploaded CPython 2.7

VL53L1X-0.0.2-cp27-cp27mu-linux_armv7l.whl (128.6 kB view details)

Uploaded CPython 2.7mu

File details

Details for the file VL53L1X-0.0.2-cp35-cp35m-linux_armv7l.whl.

File metadata

  • Download URL: VL53L1X-0.0.2-cp35-cp35m-linux_armv7l.whl
  • Upload date:
  • Size: 128.8 kB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.13

File hashes

Hashes for VL53L1X-0.0.2-cp35-cp35m-linux_armv7l.whl
Algorithm Hash digest
SHA256 7708ae288d5dfd18f6cb58830e3718dc8b6931e501dee53aa7de7767720f0971
MD5 02e542fb6078094ffee495f1801ee809
BLAKE2b-256 5b29098d68971e3425e6d6f78a0561aa419928c45f84d30f73239b4bde51c444

See more details on using hashes here.

File details

Details for the file VL53L1X-0.0.2-cp35-cp35m-linux_armv6l.whl.

File metadata

  • Download URL: VL53L1X-0.0.2-cp35-cp35m-linux_armv6l.whl
  • Upload date:
  • Size: 116.7 kB
  • Tags: CPython 3.5m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/5.5.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.9

File hashes

Hashes for VL53L1X-0.0.2-cp35-cp35m-linux_armv6l.whl
Algorithm Hash digest
SHA256 f7af6f38f3c67ac71dd4dd522f14bdf9c57868c91786f7ae735c156e81cd747b
MD5 6da934de74aa40043b4743bd88a97489
BLAKE2b-256 7b744163d48080d1de4866c44f6cf1fd73619c64c936b54dd3be07b706c696e8

See more details on using hashes here.

File details

Details for the file VL53L1X-0.0.2-cp34-cp34m-linux_armv7l.whl.

File metadata

  • Download URL: VL53L1X-0.0.2-cp34-cp34m-linux_armv7l.whl
  • Upload date:
  • Size: 128.8 kB
  • Tags: CPython 3.4m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.13

File hashes

Hashes for VL53L1X-0.0.2-cp34-cp34m-linux_armv7l.whl
Algorithm Hash digest
SHA256 bc95963ce63bc72046450149dd21f0223daedddcca8c9d8930302ffedf9c9460
MD5 c494ef7889eaa88d9c54244918135472
BLAKE2b-256 a0638b1adf2d079da0fa4dda547f5e8891f843f7eaf8ca5226a09bc0b132f628

See more details on using hashes here.

File details

Details for the file VL53L1X-0.0.2-cp34-cp34m-linux_armv6l.whl.

File metadata

  • Download URL: VL53L1X-0.0.2-cp34-cp34m-linux_armv6l.whl
  • Upload date:
  • Size: 127.0 kB
  • Tags: CPython 3.4m
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/5.5.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.9

File hashes

Hashes for VL53L1X-0.0.2-cp34-cp34m-linux_armv6l.whl
Algorithm Hash digest
SHA256 3ef7afef47170f3465aac66da3aa37ffb8cb91ec96022877c81f661cfb8071a4
MD5 cff16d8a5715302739547d86937e9ebe
BLAKE2b-256 bbaf93a554e488f8d8a28ed92b1df27663d1aa4dc9965eb365daf8f2ff77106b

See more details on using hashes here.

File details

Details for the file VL53L1X-0.0.2-cp27-none-linux_armv6l.whl.

File metadata

  • Download URL: VL53L1X-0.0.2-cp27-none-linux_armv6l.whl
  • Upload date:
  • Size: 126.8 kB
  • Tags: CPython 2.7
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/5.5.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.9

File hashes

Hashes for VL53L1X-0.0.2-cp27-none-linux_armv6l.whl
Algorithm Hash digest
SHA256 f96abcf30989a28d8a601935001dcfbd9eaaaf53ab30da303d05345516ae7225
MD5 8a7755cbbb70fa40e18ba7702080a6e2
BLAKE2b-256 5e8f2cebfa7a7ed8cb60d88aa4c3da1400306830fb612062ad67e73faa1eaddc

See more details on using hashes here.

File details

Details for the file VL53L1X-0.0.2-cp27-cp27mu-linux_armv7l.whl.

File metadata

  • Download URL: VL53L1X-0.0.2-cp27-cp27mu-linux_armv7l.whl
  • Upload date:
  • Size: 128.6 kB
  • Tags: CPython 2.7mu
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/2.7.13

File hashes

Hashes for VL53L1X-0.0.2-cp27-cp27mu-linux_armv7l.whl
Algorithm Hash digest
SHA256 1e265e1a7f1a459ba0748c906fb67b8368bcd73d93f988ede0e7807588ae97e1
MD5 9ca2690aa17c4ee6487a791aedd9de5b
BLAKE2b-256 5f7bc4ff0368c866a94e92225dce025a2ab4d0d3a6d426ac3c6e7592c129afd2

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page