i have two vl53l0 sensors link by I2C to arduino mini when the device power up it configure the sensor as it please, i want to fix the addresses to their respective chips so when i assemble the device the values wont switch.
one of the sensors vl1 pointed vertically and the other vl2 pointed horizontally and i want them to stay as is.
I think you need to use the sensor modules where the XSHUT pin is available, for at least one of your sensor modules.
Connect the XSHUT pin of one sensor module to an Arduino pin. That way, you can shut one sensor down by setting the Arduino pin to LOW. You can then change the address of the other sensor. One that's done, set the Arduino pin HIGH to bring the second sensor out of shutdown.
1 Like
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.