MPU6050 acceleration output data

Asked by Tu Haifeng

Hello, I bought some MPU6050 some days before. Now I can get the raw data from MPU6050. I made the MPU6050 static on the table and then read the MPU6050 data throught a MCU for a hour. I used the MATLAB to plot the raw data of the MPU6050, and I found all axis of the accelerometer raw data would become big and big with the time. For example, the raw data of the X axis of accelerometer at the begin is 0.23g, and the value became 0.35g at the end. I don't know why. I know you have done a lot work on the MPU6050, do you catch the same problem?

Question information

Language:
English Edit question
Status:
Solved
For:
FreeIMU Edit question
Assignee:
No assignee Edit question
Solved by:
Fabio Varesano
Solved:
Last query:
Last reply:
Revision history for this message
Best Fabio Varesano (fabio-varesano) said :
#1

Yes, MEMS sensors output are affected by temperature. After startup the device gradually eats up and its offsets changes.

Check this out http://code.google.com/p/itg-3200driver/issues/detail?id=9 for some suggestions on fixing it.

Revision history for this message
Tu Haifeng (tuhaifeng) said :
#2

Thanks for your reply. As I know, the MPU6050 has a temperature sensor, that is I need to get the temperature senor raw data, then do temperature compensation in my programme?

Revision history for this message
Fabio Varesano (fabio-varesano) said :
#3

Exactly. the link I posted above has an example of this.