Arduino library for the MPU-9250 enabling it's digital motion process (DMP) features.
C C++

README.md

SparkFun MPU-9250 Digital Motion Processor (DMP) Arduino Library

SparkFun MPU-9250

SparkFun MPU-9250 (SEN-13762)

Advanced Arduino library for the Invensense MPU-9250 inertial measurement unit (IMU), which enables the sensor's digital motion processing (DMP) features. Along with configuring and reading from the accelerometer, gyroscope, and magnetometer, this library also supports the chip's DMP features like:

  • Quaternion calculation
  • Pedometer
  • Gyroscope calibration
  • Tap detection
  • Orientation dtection

For help getting started with this library, refer to the Using the MPU-9250 DMP Arduino Library section of the 9DoF Razor IMU M0 Hookup Guide.

Note: This library currently only supports and is tested on SAMD processors. It's a major part of the SparkFun 9DoF Razor IMU M0 firmware.

Repository Contents

  • /examples - Example sketches for the library (.ino). Run these from the Arduino IDE.
  • /src - Source files for the library (.cpp, .h).
    • /src/util - Source and headers for the MPU-9250 driver and dmp configuration. These are available and adapted from Invensene's downloads page.
  • keywords.txt - Keywords from this library that will be highlighted in the Arduino IDE.
  • library.properties - General library properties for the Arduino package manager.

Documentation

Products that use this Library

Version History

License Information

This product is open source!

Please review the LICENSE.md file for license information.

If you have any questions or concerns on licensing, please contact techsupport@sparkfun.com.

Distributed as-is; no warranty is given.

  • Your friends at SparkFun.