MPU9250 9-axis IMU
Accelerometer, gyroscope and magnetometer in one. End-of-life but still sold on modules.
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.
A MEMS accelerometer and gyroscope with an AK8963 magnetometer in the same package.
Key specifications
| Sensor spec | Value |
|---|---|
| Measures | Acceleration, rotation, magnetic field |
| Interface | I2C or SPI |
| I2C address | 0x68 or 0x69 |
| Supply voltage | 2.4 to 3.6 V |
Pinout
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
Builds that use it
Alternatives
- ICM-20948 9-axis IMUThe current replacement
- BNO055 absolute orientation sensorDoes fusion on the chip
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.
