pimoroni / pimoroni/vl53l1x-python

Changing the address

Open
#14 27 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

I'm working on detecting the distance of the placed object using VL53L1X, for the enhancement of the angle of coverage, I'm using two sensors as show in the image
Rpi-VL53L1X, but if I run i2cdetect -y 0 it shows as shown in the picture,
Screenshot from 2019-03-19 12-52-34 for the both sensors.

After the usage details from pololu (https://forum.pololu.com/t/using-multiple-vl53l1x-with-raspberry-pi/16651/7) I have tried to change the address of the single sensor using the python script address_change_new.txt attached but the error occurred as
Screenshot from 2019-03-19 12-58-39 shown in the picture

Kindly help me to get rid of it. Or suggest me a way to change the address of VL53L1X using python script.

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 reviewing the attached address_change_new.txt script, the VL53L1X usage details, and the reported i2cdetect -y 0 output. Reproduce the address-change error with a single sensor on Raspberry Pi, then verify that two sensors appear at distinct addresses and that the Python script completes successfully.

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.