IMU 9DOF v2.0 (MPU-9250)
Last updated
Last updated
The IMU 9DOF v2.0 is a high-performance 9-axis motion tracking module based on MPU-9250 and supports both I2C and SPI interface. In this tutorial, you'll learn how to run an application with the I2C interface, which is the default setting of the module. For details, refer to the official WiKi page of this component.
You can see how to download and install the driver by referring to:
After the installation is done, follow the steps below to use this component.
Connect the module to the I2C header of the LinkIt 7697 breakout board.
Select the File / Examples / Grove_IMU_9DOF_9250 / IMU9DOF_Demo_Compass_Calibrated menu.
Click the Upload icon to compile and upload the sketch file to the board.
Open the serial monitor (with baud rate 38,400) and reset the board to execute the application. You should be able to see the output as shown below:
If you're using sources from the repositories of module vendors:
the I2CDev and MPU9250 library (https://github.com/Seeed-Studio/IMU_10DOF).
Please follow the steps to modify the codes for making it available to the LinkIt 7697:
Open the IMU_10DOF-master/MPU9250.h file from the library folder.
Comment out line 41:
Save the file.