This program use the STM32L152 developement board and the MPU-9250 9-axis InvenSense movement sensor. The communication between both devices is made through I2C serial interface. This algorithm calibrates and reads data from accelerometer, gyroscope, magnetometer and the internal temperature sensor. The lecture is made each time has a new meassured value (both gyro and accel data). A comunication with a computer is made using serial interface. The user can see the data measured with 1 second update rate.
Dependents: 2_MPU9250_attitude
Revisions of main.cpp
Revision | Date | Message | Actions |
---|---|---|---|
0:1a6e8ffa801b | 2015-04-30 | void getCompassOrientation() | File Diff Annotate |