Skip to content

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

License

Notifications You must be signed in to change notification settings

lebarsfa/SparkFun_MPU-9250-DMP_Arduino_Library

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

If you're looking for an AVR-compatible (Arduino Uno, SparkFun RedBoard, etc.) library, check out the SparkFun MPU-9250 Breakout Library, which provides access to all standard MPU-9250 sensor-readings.

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 84.9%
  • C++ 15.1%