GY-9150 MPU-9150 9-axis Attitude Three-axis Electronic Compass Acceleration Gyroscope Module

SKU: FA2014
Sensor Chip

MPU-9150 (Integrated MPU-6050 + AK8975)

Degrees of Freedom (DOF)

9 DOF

Supply Voltage

3.0V – 5.0V DC (via onboard regulator)

Communication Interface

I2C Digital Interface (400kHz max)

Resolution

16-bit ADC for all 9 axes

I2C Address

0x68 (Default), 0x69 (selectable via AD0 pin)

The GY-9150 MPU-9150 9-Axis IMU Module is a high-integration motion tracking solution that combines a 3-axis gyroscope, a 3-axis accelerometer, and a 3-axis magnetometer (electronic compass) into a single compact board. This module provides a complete 9-Degrees of Freedom (9-DOF) sensing capability, allowing for precise tracking of orientation, motion, and heading relative to magnetic North.
Product Description
The GY-9150 Module is built around the authentic InvenSense MPU-9150 System in Package (SiP), which integrates three distinct micro-electro-mechanical systems (MEMS) sensors: an accelerometer, a gyroscope, and an AK8975 3-axis electronic compass. This high level of integration dramatically simplifies hardware design and PCB footprint for complex applications such as full-featured drone flight controllers, augmented reality devices, and advanced human-machine interfaces.
By providing 9-DOF data, the module can execute complex “sensor fusion” algorithms (often using its internal Digital Motion Processor, or DMP) to deliver highly stable, drift-compensated orientation data (Quaternions or Euler angles). It operates via a standard I2C communication interface and includes an onboard voltage regulator, making it compatible with both 3.3V and 5V microcontrollers like Arduino, Raspberry Pi, and industrial PLCs. The GY-9150 is the ideal solution for projects requiring absolute orientation awareness in a three-dimensional space.
Key Features
  • True 9-Axis Sensing: Combines accelerometer, gyroscope, and magnetometer in a single module.
  • Digital Motion Processor (DMP): Onboard processing engine offloads sensor fusion calculations from the host MCU.
  • Auxiliary I2C Bus: Can connect external sensors to the internal I2C bus for enhanced system integration.
  • Wide Voltage Compatibility: Onboard regulator allows operation from 3V to 5V DC power supplies.
  • High Resolution: 16-bit Analog-to-Digital Converters (ADCs) for all 9 channels capture detailed motion data.
  • Standard I2C Communication: Simple 2-wire digital interface for seamless integration.
  • Integrated Temperature Sensor: Provides ambient temperature data.
Usage
The GY-9150 is used in professional and advanced DIY applications that require full orientation tracking:
  1. Drone/UAV Flight Control: The essential sensor for stable flight, including yaw (heading) control.
  2. Augmented Reality (AR): Head tracking and motion input devices.
  3. Robotic Navigation: Providing precise heading and pitch/roll data for autonomous mobile robots.
  4. Marine/Automotive: Orientation sensing and dead reckoning systems
Q: What is the main advantage of 9-axis over 6-axis sensing?

A 9-axis sensor includes a magnetometer (compass), which allows the system to determine absolute heading (yaw). 6-axis sensors can only track pitch and roll relative to gravity and cannot determine a stable North direction.

Q: Do I need separate libraries for the accelerometer/gyro and the compass?

No, the MPU-9150 handles all sensors internally. Standard libraries like the Adafruit MPU9150 library manage all three sensors through a single interface.

Q: Is the compass data accurate immediately?

The magnetometer will need calibration to compensate for magnetic interference from nearby components (motors, batteries, power wires). Calibration routines are standard practice for this module.

Q: How do I power this module? Is it 5V safe?

Yes, the onboard voltage regulator accepts power input from 3V to 5V. The I2C logic pins are also 5V tolerant.

Q: Can I use two of these modules on the same I2C bus?

Yes, by toggling the state of the AD0 pin (connected to VCC), you can change the module’s I2C address between 0x68 and 0x69