Jump to content
I2Cdevlib Forums

473srikanth

Members
  • Posts

    2
  • Joined

  • Last visited

473srikanth's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. 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 ……
  2. Hello Friends, i'm writing my own code for extracting data from MPU6050. i got the accelerometer values(16 bit High and Low)(XH XL, YH YL,ZH ZL)(Decimal equalents of binary) as shown below MPU6050 X,Y,Z values Accelero XH values=64 Accelero XL values=24 Accelero YH values=255 Accelero YL values=180 Accelero ZH values=0 Accelero ZL values=64 How can i find the x,y,z angle from these values ?? in the data sheet i saw that these are 2's complement value? why they are 2's complement values but not the exact binary? Thanks in advance.
×
×
  • Create New...