cancel
Showing results for 
Search instead for 
Did you mean: 

VL53L1X SetAddress after device disconnected

OTELL.1
Associate

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.

1 REPLY 1
ACHOU.18
ST Employee

Hi,

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