[Solved] MPU9250 and VL53L0X initialisation failure!

Hi Leo,

Sorry to hear that you still have problems with accommodating distance sensors into your project. Mind that we really want to help you troubleshoot this.

First of all please tell me what kind of carrier board for VL53L01X do you use? Do you use Pololu’s one?

I consulted the CORE2 PCB designer and there was indeed a minor hardware change in the board that is required for I2C communication to work with multiple sensors on a single bus. New batches of board have this change, so it is possible that your board is not affected. Please check these resistor arrays:

If you find different values there, that means you have board from the older batch. To make the sensors work you would need to replace these two elements with YC164-JR-0722RL YAGEO | Resistors | DigiKey or similar resistor arrays. Required resistance is between 2.2R - 22R. You will need to use hot air gun for this.

If it comes to wiring up single sensor at a time, it won’t work. At the moment firmware initializes sensors just after power cycle/reset and each four of them have to pass the procedure. Otherwise the program won’t proceed with further setup and no measurement will be done. This behavior might be changed in future releases.

Regards,
Szymon