10 years, 1 month 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:

Example to use MPU6050 library. This project contains usage of DMP and way to get raw values from the sensor. I ported here from this arduino's project https://github.com/jrowberg/i2cdevlib/tree/master/Arduino/MPU6050/Examples. See here … MPU-6050, MPU6050, MPU6050-DMP

1 Answer

8 years, 10 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.