[Solved] MPU9250 and VL53L0X initialisation failure!

Hi Szymon,

Once again, Thank You very much for the reply!

You are right, I was using logic and wiring diagram from older documentation trying to “translate” it for new Mbed environment. Right now I am not trying to develop custom framework, my current goal is to get sensors, RPlidar and motors working within existing firmware with very minimal or no modifications, so I can use it as a working base. I checked documentation you mentioned few days ago and there are pins definitions which is very valuable for future reference, however I could not find wiring diagram or wiring instructions for 4 VL53L0X sensors. As far as understand from rosbot-firmware-new/rosbot_sensors.h at master · husarion/rosbot-firmware-new · GitHub all 4 XSHUT pins connected to SENSE6 (hSensor 6) PIN1,2,3,4, but I could not find wiring information about all 4 VL53L0X I2C pins SCL and SDA. I understand that I2C bus protocol and devices could be connected to one instance, but what is actual physical connection of those pins is unclear, since all functionality and logic of physical ports controls by your software :slight_smile:

I think, it will be ideal, if we can just get wiring diagram similar to the one described in ROSbot_assembly_instruction.pdf or it’s online version but with latest changes. This current wiring diagram has old IR sensors SHARP GP2Y0A41SK0F, but we need new VL53L0X.

Much appreciated and thanks again,
Leo