pimoroni / pimoroni/vl53l1x-python
Distance output stay 5mm when multiple I2C devices connected
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
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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