brtaylor
Well-known member
Hello all,
I created an Arduino library for the InvenSense MPU-9250 with support for all Teensy 3.x and LC devices:
https://github.com/bolderflight/MPU9250
This library supports I2C and SPI communication with the MPU-9250 sensor. It also enables easy setup of the MPU-9250 Digital Low Pass Filters (DLPF), output data rate, and interrupt settings. Data is collected using multi-byte reads, eliminating potential time skew in the results, and results are converted to SI units and rotated to a common axis system so they can be immediately used. A variety of functions are given to provide different combinations of the accelerometer, gyroscope, magnetometer and temperature data. I think the library provides access to the most used functionality of the MPU-9250, is easy to use, and has great performance. I hope it is of use to the community and I'd love any feedback or suggestions.
Best!
Brian
I created an Arduino library for the InvenSense MPU-9250 with support for all Teensy 3.x and LC devices:
https://github.com/bolderflight/MPU9250
This library supports I2C and SPI communication with the MPU-9250 sensor. It also enables easy setup of the MPU-9250 Digital Low Pass Filters (DLPF), output data rate, and interrupt settings. Data is collected using multi-byte reads, eliminating potential time skew in the results, and results are converted to SI units and rotated to a common axis system so they can be immediately used. A variety of functions are given to provide different combinations of the accelerometer, gyroscope, magnetometer and temperature data. I think the library provides access to the most used functionality of the MPU-9250, is easy to use, and has great performance. I hope it is of use to the community and I'd love any feedback or suggestions.
Best!
Brian