Skip to main content
Ushar.11
Associate
March 6, 2020
Question

can we change the VL53l1x address?

  • March 6, 2020
  • 2 replies
  • 1385 views

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

This topic has been closed for replies.

2 replies

Julien NGUYEN
ST Employee
March 6, 2020

​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
March 6, 2020

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.
Ushar.11
Ushar.11Author
Associate
May 22, 2020

thanks sir