Introduction - If you have any usage issues, please Google them yourself
Use singlechip to read mpu6050 data. The angle of the X and Y axes is calculated by the output data of the acceleration value, and the rotation angle is integrated with the angular velocity output from the gyro. Then fusion accelerometer and gyroscope data, and finally filtering, get better results.