Motion sensing with NXP FXOS8700 Accelerometer & Magnetometer and NXP FXAS21002 Gyroscope.
Provides access 9DOF motion sensing, with calibration to correct for presence of fixed magnetic fields and "soft iron" distortion. NXP's advanced sensor fusion algorithm can be used on faster boards (Teensy 3.2, Arduino Due, etc) or the simpler Madgwick & Manony filters can be used, for combining the sensor data into reliable absolute orientation readings.

Author: Paul Stoffregen

Maintainer: Paul Stoffregen

Read the documentation


This library is compatible with all architectures so you should be able to use it on all the Arduino boards.


To use this library, open the Library Manager in the Arduino IDE and install it from there.