shizi599 / MPU9150

Arduino sketch for MPU9150 9DoF with AHRS sensor fusion

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MPU-9150

Arduino sketch for MPU-9150 9DoF sensor with AHRS sensor fusion

Demonstrate MPU-9150 basic functionality including parameterizing the register addresses, initializing the sensor, getting properly scaled accelerometer, gyroscope, and magnetometer data out, calibration of sensors. Added display functions to allow display to on breadboard monitor. Addition of 9 DoF sensor fusion using open source Madgwick and Mahony filter algorithms. Sketch runs on the 3.3 V 8 MHz Pro Mini and the Teensy 3.1.

Simplified sketch by among other things breaking out the quaternion sensor fusion filter algorithms to a separate file.

A discussion of the use and limitations of this sensor and sensor fusion in general is found here: https://github.com/kriswiner/MPU-6050/wiki/Affordable-9-DoF-Sensor-Fusion.

About

Arduino sketch for MPU9150 9DoF with AHRS sensor fusion


Languages

Language:C++ 100.0%