Using Jeff Rowberg's code and the Sparkfun MPU6050 hooked up to an Arduino Uno, I revceive raw real acceleration values of below. My mpu is mounted vertically with the sensor facing horizontally and to the right.
8287 1627 -3915
However, when I rotate the accelerometer by 90 degrees around the x-axis I receive the below:
8272 -5688 5351
utilizing the below bit of code:
#ifdef OUTPUT_READABLE_RAWACCEL
// display real acceleration, adjusted to remove gravity
mpu.dmpGetQuaternion(&q, fifoBuffer);
mpu.dmpGetAccel(&aa, fifoBuffer);
mpu.dmpGetGravity(&gravity, &q);
mpu.dmpGetLinearAccel(&aaReal, &aa, &gravity);
// Serial.print("areal\t");
Serial.print(aa.x);
Serial.print("\t");
Serial.print(aa.y);
Serial.print("\t");
Serial.println(aa.z);
Serial.print("\t");
#endif
This leads me think that the sensitivity of the MPU6050 reads at 8192 bits and not 16834 (i.e. 5351 + 3915) = 9266, roughly 13% off from 1g . Is this correct?
Thanks
Conrad