tockn / MPU6050_tockn

Arduino library for easy communication with MPU6050

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Value by getangleZ() keeps on increasing with time. Even the sensor is still.

MuhamdShahab opened this issue · comments

Hello there,
I have tested the library for MPU6050 on three different sensors. I have faced a common issue where the angle given by getangleZ() kept on increasing after decimals which eventually generates a bigger difference. This is a kind of cumulative error.

For sure gravity val effects the precision but the noise is cumulative. In case of drift there must b a random behaiviour.

Hello, has this problem been solved? I found another problem similar to this problem. When x axis and Y axis obtain a certain Angle value, irregular jump will occur, and the Angle value can reach 600+

Yes, I have tried to find a solution for this which can be seen in my github repo.
The other issue which you have mentioned exists.
I have com to the conculsion that IMU BNO 055 must be used in place of MPU 6050 if you want your orientation angle. For Roll and Pitch only MPU is fine.