MPU-6050 gyroscope unit convert to degree per second

I watched the Playground article. Arduino Playground - MPU-6050
I tried to write a sketch, but i don't know the gyroscope unit.
i put MPU-6050 on the table, I got some data such as gyro x,y,z : 367, 220, -812
Can i converted the data into degree per second?

The "ZRO" (Zero Rate Output) on the 6050 is +/-20 degrees per second. At highest sensitivity, one degree per second is a value of 131 so the zero rotation value can be +/-2620. Looks like your zero is well within spec.

To find your zero, take a long-term average.

The example shows the raw values. They are not offset compensated.
So you need to compensate the offset, and after that convert them to degrees per second.

Krodal:
The example shows the raw values. They are not offset compensated.
So you need to compensate the offset, and after that convert them to degrees per second.

hi guy,
could you tell me the unit of raw data MPU6050?
and how to convert raw data into coordinate ?
Thanks!

It is stated pretty clearly in the datasheet.

Opening this up again.
I've been through the InvenSense Prod Specs for this device and the documentation is 56 pages long.
when I search on "degree", i get 1 find and that basically shows that the gyro sensors can be "digitally programmed to +-250, +-500,..." "Degrees per second".
this, I grant you tells me the sensitivity of the device, but this, along with a lot of information i read through trying to look for the conversion, is by no means

"stated pretty clearly in the data sheet."

with your knowledge of MPU's, maybe this conversion information is uber-simple for you to discern, but for others, who may be LEARNING about the meaning of angular motion and how it is applied in programming, it may be a very "cloudy-murky" area.

"It is stated pretty clearly in the datasheet" came across as, I don't know... MAYBE you were suggesting that the person should read the datasheet... and MAYBE you're reading a different datasheet than I am reading... but couldn't you have just used your words to aim the reader(readers) to a particular Page, Section & Subsection (they ARE clearly stated in the PDF specs), so that the reader could home in on the clearly stated information rather than having to look through 56 pages of information that much may be over their (... our) heads and which is not necessary to the information needed?
I'm jus' sayin'...

Russ from Coral Springs, Fl.

2 Likes

Hey, i am new to the arduino world, too.
i have my own problems with the MPU6050, but if i understand the datasheet correctly (which is not guaranteed!!!) this is what he meant:
Page 31/46

4.19 Registers 67 to 72 – Gyroscope Measurements
GYRO_XOUT_H, GYRO_XOUT_L, GYRO_YOUT_H, GYRO_YOUT_L, GYRO_ZOUT_H, and
GYRO_ZOUT_L

[...]

FS_SEL Full Scale Range LSB Sensitivity
0 ± 250 °/s 131 LSB/°/s
1 ± 500 °/s 65.5 LSB/°/s
2 ± 1000 °/s 32.8 LSB/°/s
3 ± 2000 °/s 16.4 LSB/°/s

so far as i read this, the answer for the conversion is "it depends"
for a max readout of 250°/s it would be 131 equals 1°.
so max (250) would be 32750
for a readout of up to 500°/s 65.5 would equal 1° and the maximum (unconverted readout) would still be 32750.

thats how i understand it. as i said, i am a total newbie, but if i am wrong, please correct me, so i dont f**k my projects up :slight_smile:

thx