TCS34725 with VL53L0X problem

Hi,

I have a robot with two Tcs34725 color sensors, the i2c address is 0x29. But I use a TCA9548A i2c multiplexer. So I can seperate the two color sensors. Moreover, I want to use six VL53L0X (TOF) sensors in <VL53L0X.h> library, not the adafruit vl53l0x library. Because it is the fastest library in this sensors. I can address the six VL53L0X sensors 0x30,0x31,0x32,0x33,0x34,0x35. The color sensors and the six vl53l0x sensors works well. But by the time the color sensors values are 0. Both r, g, b and the others. There are vl53l0x sensors which shut down and not work (value is 8191 when the real distance is in the range, example 100mm). Is it possible the color sensors and vl53l0x stuck?

Thank you in advance!

For informed help, please read and follow the instructions in the "How to get the best out of this forum" post, linked at the head of every forum category.

Helpers need to see the code, posted using code tags, schematics, etc.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.