Uploading error when MPU6050 is connected

  • 3V3 - VCC (tried 5V too, but then the power led is turning off and the same error occurs)

Unless there is a voltage regulator on the sensor module, it was probably destroyed by applying 5V. Post a link to the exact module.