Jump to content
I2Cdevlib Forums

How to convert MPU6050 gyro values to angles ??


Recommended Posts

Hello Friends,

I am working on designing a drone . i am using gyroscope present in mpu 6050. i configured gyro with 500dps (register 0x1B is loaded with value 0x08 ) and power management register 0x6B is loaded with 0x00(for bringing gyro to on state).

I measured the values of gyro x, y and z (16bit values) . How can i convert these values into yaw,pitch ,roll angles ??

My gyro values(after subtracting the gyro offset values)

New Gyro Values Xnew=1472 Ynew=-19 Znew=299 values

New Gyro Values Xnew=1466 Ynew=-2 Znew=480 values

New Gyro Values Xnew=1416 Ynew=-3 Znew=656 values

New Gyro Values Xnew=1418 Ynew=-28 Znew=910 values

New Gyro Values Xnew=1414 Ynew=-11 Znew=1346 values

New Gyro Values Xnew=1408 Ynew=-19 Znew=1413 values

New Gyro Values Xnew=1396 Ynew=-9 Znew=1543 values

New Gyro Values Xnew=1398 Ynew=-8 Znew=1352 values

Thanks in advance ……

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...