pimoroni / pimoroni/vl53l1x-python

Distance output stay 5mm when multiple I2C devices connected

Open
#58 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
106
Forks
58
Avg merge
1h 17m
Merged PRs (30d)
1

Description

Hi,

I got a VL53l1x tof sensor that works without any problem when connected to a Raspi Pi 3B+. However, when another device on this bus, in my case, an adafruirt servo driver, my output stuck at 5mm. I am assuming that this is somewhat the minimum value. Is there any way that I can see any status code of the sensor, and it the traffic on the I2C bus influencing the measuring result?

Thanks
Yikai

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the VL53L1X reading on a Raspberry Pi with only the sensor, then with the Adafruit servo driver connected to the same I2C bus. Inspect the available sensor status and I2C traffic to determine whether the shared bus causes the persistent 5mm result; done means the cause and a reproducible diagnostic are documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, raspberry-pi
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.