Skip to main content
Visitor II
November 15, 2020
Question

VL53L1X SetAddress after device disconnected

  • November 15, 2020
  • 1 reply
  • 901 views

Hi,

I use 4 VL53L1X sensor with an arduino and ULD API. I set the address on 0x31, 0x33, 0x35 and 0x37..

I try to prevent a critical case which appear when one or more device are lost (timeout or hardware disconnection).

To do so, I intercept the lost of the device(s) and I reset all the address of the TOF without rebooting the Arduino with exactly the same process that was working during the first init of the ToF. But I just can see 1 device set on the address (0x29).

I have tried to restart the I2C bus with this

Someone could please let me know what to do to succeed ?

Regards,

Olivier.

    This topic has been closed for replies.

    1 reply

    ST Employee
    April 12, 2021

    Hi,

    There is a multi sensor ranging example in released Firmware which handles 3 sensors. Please refer it.