This is an arduino IDE library to control and read from the MPU-9250. It provides access to accelerometer, gyroscope, and magnetometer sensor readings. It should be compatible with any Arduino-compatible development board. It has been thoroughly tested with Arduino Pro Mini.
If you're looking for a more advanced library, which takes advantage of the MPU-9250's digital motion processing (DMP) features (tap-detection, pedometer, orientation, quaternion-calculation), and if you have a more advanced Arduino development board (e.g. Arduino Zero, SparkFun SAMD21 Breakout), check out the SparkFun MPU-9250 DMP Library.
- /examples — Example sketch for the library (.ino). Run this from the Arduino IDE.
- /src — Source files for the library (.cpp, .h).
- keywords.txt — Keywords from this library that will be highlighted in the Arduino IDE.
- library.properties — General library properties for the Arduino package manager.
- MPU9250BasicAHRS — Prints out sensor data with some sane default configuration parameters
- Installing an Arduino Library Guide — Basic information on how to install an Arduino library.
- Product Repository — Main repository (including hardware files) for the MPU-9250 Breakout.
- Datasheet — Datasheet containing part of the product documentation.
- Register map — Register map containing the rest of the product documentation.
- Hookup Guide — Basic hookup guide for the MPU-9250 Breakout.
- SEN-13762 — MPU-9250 Breakout board
- V 1.0.0 — Initial commit of Arduino 1.5+ compatible library.
This product is open source!
Code is a lightly modified version of Kris Winer's code which was licensed as Beerware. It's unclear the license of the code in quaternionFilters.ino.
If you have any questions or concerns on licensing, please contact [email protected].
Distributed as-is; no warranty is given.
- Your friends at SparkFun.