https://robu.in/mpu6050-with-arduino/
How to Interface MPU6050 with the Arduino