Skip to main content

Multiple VL6180X sensors on the same I2C bus

Introduction

This module allows operating several VL6180X Time Of Flight sensors on the same I2C bus. This is achieved by reallocating each sensor' address. The project is intended to run on RaspberryPi. Specifically, it was tested on RaspberryPi 4 with Python 3.7

Prerequisites

The example below is using Raspberry PI default I2C bus and two GPIOs to control two sensors:

Running the example

  1. Clone the repository:
git clone https://gitlab.com/vitus133/vl6180x_multi && cd vl6180x_multi
  1. Create and activate Python virtual environment, install dependencies:
python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt
  1. Install the package
pip install -e .
  1. Run the example
cd example/
python range.py

Metadata

Release files for vl6180x-multi 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for vl6180x-multi 1.0.2
File Size Uploaded Provenance Actions
vl6180x-multi-1.0.2.tar.gz 3.1 kB Without provenance Details for vl6180x-multi-1.0.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for vl6180x-multi 1.0.2
File Interpreter ABI Platform Actions
vl6180x_multi-1.0.2-py3-none-any.whl Python 3 none any Details for vl6180x_multi-1.0.2-py3-none-any.whl

Total release size: 7.4 kB

Release files / vl6180x-multi-1.0.2.tar.gz

Download URL vl6180x-multi-1.0.2.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
4fa178bac4ce406c022b08e582fb84afd45f4fe84958c08492e7b5b4e01aca76
BLAKE2b-256 checksum
How to use checksums
3b0fbc3c3d0b1485a8f5d222b125b05f024dcbc29a5930ca22c004e74e54ed32
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.3

Release files / vl6180x_multi-1.0.2-py3-none-any.whl

Download URL vl6180x_multi-1.0.2-py3-none-any.whl
Size 4.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f3eea9cadee455950edea1cf8e52565ab9af38be2288468560a148d50bec45d
BLAKE2b-256 checksum
How to use checksums
1785beb9b2e1fb0b34928b1c5de6ff0147b44b2922d02eef05be9e3e82f93d07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.7.3

Security for vl6180x-multi 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page