cancel
Showing results for 
Search instead for 
Did you mean: 

can we change the VL53l1x address?

Ushar.11
Associate

I want to use multiple VL53L1x sensor with same I2c bus so can we change sensors address

3 REPLIES 3
Julien NGUYEN
ST Employee

​Hi,

You may check out the guide made for the VL53L0X AN4846: Using multiple VL53L0X in a single design from ST.COM. The same principle is applicable for the VL53L1X.

Thanks,

Julien


In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
John E KVAM
ST Employee

I don't want to disparage an ST document, but that one goes a little far.

Here is what you do:

Attach each sensor's 'shutdown' pin to GPIO's on your host.

At boot, put them all in reset.

Bring them out one at a time.

Use the Address Change I2C command to change the addresses.

Repeat for each chip.

And even though it's not strictly required, consider changing the address for all the sensors - even the last one.

That way if you ever get a glitch and a sensor resets, it will start responding on the initial address.


If this or any post solves your issue, please mark them as 'Accept as Solution' It really helps. And if you notice anything wrong do not hesitate to 'Report Inappropriate Content'. Someone will review it.

thanks sir