Closed dyln closed 6 years ago
Hi, dyln.
As noted on the product page for our VL53L0X carrier:
The sensor’s 7-bit slave address defaults to 0101001b on power-up. It can be changed to any other value by writing one of the device configuration registers, but the new address only applies until the sensor is reset or powered off. ST provides an application note that describes how to use multiple VL53L0X sensors on the same I²C bus by individually bringing each sensor out of reset and assigning it a unique address.
You might find the code in this older issue and this forum thread useful. If you want additional help, please post on the Pololu forum, as the GitHub issues are intended for keeping track of problems with and changes to the library itself.
Kevin
I am trying to use two ST vl53l0x boards controlled by arduino uno but i am not able to get data , on serial monitor it is printing 65535.please help
@AnudeepNayakAntariksh, please refer to the resources I linked to in the post above yours. If you want additional help, please post on the Pololu forum, as the GitHub issues are intended for keeping track of problems with and changes to the library itself.
Also, please do not ask the same question in multiple GitHub issues.
hello, i don't have much experience with i2c connection.
how can i connect 6 different vl53L0x in one bus?
i have tried to connect all of them parallel; 5V, GND, SDA, SCL. it just shows one address, connected 2.2k resistors between main sda , scl cables and 5v, didn't worked also.
am i doing something wrong?