VL53L0X time of flight crashing code on I2C

Hi!

For a project I am creating, I am using the VL53L0x time of flight sensor. It is randomly timing out, causing the code to crash, and I have been troubleshooting for a few hours, unable to determine the root cause. Ocasionally, when calling I2C, more than one connected device shows up on the bus (despite there only being the VL53L0x on it).

Does anyone know what could be causing this? Thanks!

Hello.

I moved your post to the sensors category.

Can you post some pictures of your setup that show all of your connections along with more details about how you are using the VL53L0X? For example, what microcontroller are you using with the sensor, and can you post the simplest program where you experience the issues?

- Patrick