10 years, 11 months ago.

how to configure the accelerometer?

Hi,

i am testing your code to learn about the MPU-9150. all the outputs seem correct except for the accelerometer with and without gravity. all ACCEL values are zero. i have shaken the MPU9150 to try and get anything other than zero.

are there any parameters i need to configure for the accelerometer to work?

Question relating to:

1 Answer

9 years, 8 months ago.

Hi jonathan liu

Firstly, I'm feeling sorry for the delay in replying to you.

I made a project of MPU9150. In this project, I'm getting raw values from the sensor. Please try this. https://developer.mbed.org/users/syundo0730/code/MPU9150_Example/ I could get accelerometer's output with this program.