MPU6050 Acceleration units

Hello everyone,

I was wondering, for those who have worked with the MPU6050 sensor, what are the units of the data returned by the "mpu.dmpGetLinearAccelInWorld()" function and how do I convert it to m/s2 ?

It seems like the sensitivity of the accelerometer is +- 2g in any case if you use the DMP functions (correct?) , and therefore that the scale factor is 16'384.

Having these information, I thought that by writting the following line, I would get the correct acceleration, but I'm not sure it is correct.

xAcc = (float)aaWorld.x / 16834.0f ;

Any thoughts ?

The device data sheet explains the units. It is your best and most reliable source of information.

What value are you getting with the sensor stationary? That's by definition 1g (assuming you live
on earth!)