Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Pages: [1]   Go Down
Author Topic: MPU-6050 gyroscope unit convert to degree per second  (Read 2188 times)
0 Members and 1 Guest are viewing this topic.
taiwan
Offline Offline
Newbie
*
Karma: 0
Posts: 1
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I watched the Playground article. http://playground.arduino.cc/Main/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?


Logged

Massachusetts, USA
Offline Offline
Tesla Member
***
Karma: 213
Posts: 9060
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Send Bitcoin tips to: 1L3CTDoTgrXNA5WyF77uWqt4gUdye9mezN
Send Litecoin tips to : LVtpaq6JgJAZwvnVq3ftVeHafWkcpmuR1e

Offline Offline
Edison Member
*
Karma: 9
Posts: 1016
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 35
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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!
Logged

Offline Offline
Faraday Member
**
Karma: 62
Posts: 3085
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It is stated pretty clearly in the datasheet.
Logged

Pages: [1]   Go Up
Arduino Forum upgrade scheduled for Monday, October 20th, 11am-4pm (CEST). Sorry for the inconvenience!
Jump to: