How to connect a MPU-6050 to an Arduino that already has a CNC Shield V3 on top of it?
MPU6050 can use only I2C. Those are pins A4 and A5 on an Uno. 5V and ground are 5v and ground, no matter from which pin