2020-11-23 02:35 AM
I have 6 VL53L3CX sensors connected via the same I²C bus. For this reason, the I²C address of each sensor must be changed as described in the UM2778 User's Guide.
Does this procedure have to be carried out each time the device is restarted or disconnected from the power supply, or will the new address of the sensor be permanently saved?
Many thanks in advance.
Solved! Go to Solution.
2020-11-23 06:54 AM
There is no programmable ROM inside the sensor - so yes - you must change the addresses every time you boot if you have more than one sensor.
I know it's kind of a pain, but you only have to write the code once.
Sorry about that.
2020-11-23 03:16 AM
Hi,
If it is not included in the datasheet, just perform a fast test. Set address for one sensons, turn off the device. Then load new code without address initialization and try to talk with the sensor.
You can also write some precedure that starts at the beginnig of the code executions. It should try to talk with sensors for example get some values. If you can't get data, or data will be not received from some sensor, it means you have to perform initialization.
Regards
2020-11-23 04:00 AM
Hi,
thank you very much for your quick response.
The problem is that the sensors are SMD components and the circuit board to which they are soldered is not yet finished.
Therefore tests as you have described them are not possible at the moment. I will see if I can organize a breakout board to test them as you have described.
Regards
2020-11-23 06:54 AM
There is no programmable ROM inside the sensor - so yes - you must change the addresses every time you boot if you have more than one sensor.
I know it's kind of a pain, but you only have to write the code once.
Sorry about that.
2020-12-08 05:48 AM
Are you using the expansion board?