Jump to content
I2Cdevlib Forums
Sign in to follow this  
ngatesh

Yaw Pitch Roll Range Limited to +/- 84 Degrees

Recommended Posts

I am having issues with the Arduino sketch: MPU6050_DMP6. As I rotate the mpu, the angle readings never go beyond about +/-84 degrees. What I mean is that if I rotate the mpu to a 90 degree position, I get a reading of 84 degrees, and if I continue to rotate, the angle starts to decrease again.

You can imagine the graph of y = 84 sin([PI * X] / 180) to model my situation, where x is the actual angle of the mpu and y is the value read by it.

My MPU6050 never used to do this. Is it possible it's gotten old and broken?

Share this post


Link to post
Share on other sites

Try this: first of all when you start the connection let the mpu6050 be at rest for about 15 seconds. Now, it's true that if you are using your hand to rotate it it will go to only about 84-86 degrees, BUT if you take it to 2 surfaces that you are sure they made 90 degrees with each other just align the mpu with one surface and then align with the other surface and actually it will show a difference of approximately 90 degrees. I don't know why xD

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×