Components / Sensors / MPU9250 9-axis IMU

MPU9250 9-axis IMU

Accelerometer, gyroscope and magnetometer in one. End-of-life but still sold on modules.

MeasuresAcceleration, rotation, magnetic field
InterfaceI2C or SPI
I2C address0x68 or 0x69
Supply voltage2.4 to 3.6 V
SensorsReviewedMPN MPU-9250Used in 2 projects
MPU9250
In short

What is the MPU9250 9-axis IMU and what is it used for?

Accelerometer, gyroscope and magnetometer in one. End-of-life but still sold on modules. Makers use it for drones, orientation tracking.

How it works

A MEMS accelerometer and gyroscope with an AK8963 magnetometer in the same package.

Key specifications

Sensor specValue
MeasuresAcceleration, rotation, magnetic field
InterfaceI2C or SPI
I2C address0x68 or 0x69
Supply voltage2.4 to 3.6 V

Pinout

VCC3.3 V (many modules accept 5 V)
GNDGround
SCLI2C or SPI clock
SDAI2C data or SPI MOSI
EDA and ECLAuxiliary I2C
AD0Address 0x68 or 0x69, or SPI MISO
INTInterrupt
NCSSPI chip select
FSYNCFrame sync, tie to ground

How to use it

Use the Bolder Flight or SparkFun MPU9250 library. Many boards sold as MPU9250 carry an MPU6500 without the magnetometer; check the WHO_AM_I register. Calibrate the magnetometer by rotating it in all directions.

Applications

Alternatives

Buy at

Common questions

What is the MPU9250 9-axis IMU used for?

In maker projects: drones, orientation tracking.

How does the MPU9250 9-axis IMU work?

A MEMS accelerometer and gyroscope with an AK8963 magnetometer in the same package.

What voltage does the MPU9250 9-axis IMU need?

2.4 to 3.6 V.

How do I connect the MPU9250 9-axis IMU to an Arduino or ESP32?

I2C or SPI. Pins: VCC (3.3 V (many modules accept 5 V)), GND (Ground), SCL (I2C or SPI clock), SDA (I2C data or SPI MOSI), EDA and ECL (Auxiliary I2C), AD0 (Address 0x68 or 0x69, or SPI MISO).

What can I use instead of the MPU9250 9-axis IMU?

ICM-20948 9-axis IMU and BNO055 absolute orientation sensor.