This project contains a small Arduino program that is used to read data from a MPU 9250 sensor and send it through the serial port. The official Data Sheet is available in the repository.
The following example can be used to communicate with the sensor using the I2C protocol.
Compiling this file needs an external library: https://github.com/bolderflight/MPU9250
To install it:
- Open Arduino IDE
- Click
Sketch -> Include Library -> Manage Libraries...
- Search for
mpu9250
- Install the
Bolder Flight Systems MPU9250 by Bryan Taylor
After this you can compile and upload this sketch as usual.