Skip to main content
ST Employee
July 15, 2019
Question

AppMEMS#8: The X-CUBE-MEMS1 libraries in detail - MotionEC application

  • July 15, 2019
  • 1 reply
  • 661 views

Among the wide portfolio of ST sensors, the E-Compass is a proof of a well-done sensor integration. This library acquires data from the accelerometer and magnetometer and provides information about the device orientation and movement status based on data from a device, merging the contribution of the magnetometer (i.e. the orientation with respect to the Earth's magnetic field) and the object movement detected by the accelerometer. Both sensors are physically in the same package.

In more details, MotionEC algorithm provides the following outputs:

  • device orientation (quaternions, Euler angles);
  • device rotation (virtual gyroscope functionality);
  • gravity vector and linear acceleration.

Next post will deal with the e-compass algorithm with some high-level function explanation :soon_arrow:

    This topic has been closed for replies.

    1 reply

    ST Employee
    July 15, 2019

    0690X000009YlgmQAC.png