Hello. Ich am making small robot. Arduino Mega, 1x MPU6050(Jeff Rolberg library), 2x VL53L0X(adafruit), lition 7.4V 2.5Ah for power all.
Direkt connection: MPU to pins 21,20 , the distance sensors to other SDA and SCL pins. And all sensors get power from the arduino and the arduino from the battery.
And have such problem:
When the all sensors work together in one code , the mpu start slower work and show wrong values and even sometimes just stop measuring.
If they work in different codes work perfect.
May be I make someting wrong with I2C comunication and the program get slower.