multiple VL53L0X with Arduino

Hi

I’d like to use four VL53L0X with one Arduino.

I understand that my 4 VL53L0X have the same I2C adress so I need to change the adresses to identify.

I tried to use the VL53L0X_SetDeviceAddress from the vl53l0x_api.h but I did’nt find a reliable solution.



The documentation says “Programmable I2C address” so it should be possible to set this address.

(Link to the VL53L0X devices I purchase : <LINK_TEXT text=“http://wiki.seeedstudio.com/Grove-Time_ … r-VL53L0X/”>http://wiki.seeedstudio.com/Grove-Time_of_Flight_Distance_Sensor-VL53L0X/</LINK_TEXT> )

Could you help me set the multiple communication between one Arduino and several VL53L0X?



looking forward to hearing from you

Maëlle

Hi Maëlle,



please use the softwarei2c function as below link. thanks.



<LINK_TEXT text=“http://wiki.seeedstudio.com/Arduino_Sof … ser_guide/”>http://wiki.seeedstudio.com/Arduino_Software_I2C_user_guide/</LINK_TEXT>