cancel
Showing results for 
Search instead for 
Did you mean: 

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

Eleon BORLINI
ST Employee

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:

1 REPLY 1
Eleon BORLINI
ST Employee

0690X000009YlgmQAC.png