MPU6050 Acceleration Detection

No, the principle is not sound, for several reasons.

  1. accelerometer noise
  2. moving in a straight line at constant velocity == no acceleration
  3. the method assumes that the accelerometer Z axis is pointing perfectly parallel to the force of gravity