
Every drone, wearable, and robot needs to know which way is up. The TDK InvenSense MPU-6050 is a 6-axis inertial measurement unit (IMU) with a 3-axis gyroscope and a 3-axis accelerometer in one package. Whether you are moving from a breakout board to your first custom printed circuit board (PCB) or maintaining an existing design, the MPU-6050 datasheet holds the details you need for stable motion data.
This guide covers the pinout, Inter-Integrated Circuit (I2C) setup, register basics, and layout tips, so you can get it right on the first board spin.
Note: TDK’s product status field lists the MPU-6050 as Obsolete, and TDK names the ICM-42670-P as its recommended alternate. The MPU-6050 remains common on breakout boards and in existing products, but new designs should start with a current part.
Reviewing the MPU-6050 Datasheet and Key Specifications
Inside the package, the MPU-6050 pairs both sensors with a Digital Motion Processor (DMP). The DMP handles motion-processing and sensor-fusion math inside the sensor, so your host microcontroller unit (MCU) can stay focused on communications, control loops, and other time-sensitive tasks.
DMP results come out through the first-in, first-out (FIFO) buffer. The DMP firmware is proprietary and loaded by the host at startup, so high-level orientation values are not available from the standard sensor registers without extra configuration.
The MPU-6050 communicates with the host over I2C and adds an auxiliary I2C interface for external sensors such as a magnetometer.
MPU-6050 Key Specifications
| Parameter | Value |
| VDD supply voltage | 2.375 V to 3.46 V |
| VLOGIC supply voltage | 1.71 V to VDD |
| Analog-to-digital converter (ADC) resolution | 16-bit |
| Maximum I2C clock speed | 400 kHz |
| FIFO size | 1024 bytes |
| Operating temperature | -40 °C to +85 °C |
Understanding the MPU-6050 Pinout and Package
The MPU-6050 uses a 24-pin, 4 mm × 4 mm quad flat no-lead (QFN) package. Correctly mapping the MPU-6050 pinout is important because the pins support power regulation, communication, interrupt signaling, and internal circuitry.
Key MPU-6050 Pin, Function, and Description
| Pin | Pin Name | Function | Description |
| 1 | CLKIN | External Clock Input | Optional external reference clock input. Connect to GND if unused. |
| 2, 3, 4, 5 | NC | No Connect | Not internally connected. May be used for trace routing. |
| 6 | AUX_DA | Auxiliary I2C Data | Serial data line for the auxiliary I2C interface, used to connect external sensors. |
| 7 | AUX_CL | Auxiliary I2C Clock | Serial clock line for the auxiliary I2C interface. |
| 8 | VLOGIC | Digital I/O Supply | Sets the logic level for the digital interface. |
| 9 | AD0 | Address Select | Selects between the two available MPU-6050 I2C addresses. |
| 10 | REGOUT | Regulator Filter Capacitor Connection | Connects to the filter capacitor specified in the datasheet. |
| 11 | FSYNC | Frame Synchronization | Optional digital input for synchronizing sensor data with an external signal. Connect to GND if unused. |
| 12 | INT | Interrupt | Provides configurable interrupt signals such as Data Ready. |
| 13 | VDD | Power | Main device supply input. |
| 14, 15, 16, 17 | NC | No Connect | Not internally connected. May be used for trace routing. |
| 18 | GND | Ground | Ground reference for the device. |
| 19 | RESV | Reserved | Reserved. Do not connect. |
| 20 | CPOUT | Charge Pump | Connects to the external capacitor specified in the datasheet. |
| 21, 22 | RESV | Reserved | Reserved. Do not connect. |
| 23 | SCL | I2C Clock | Serial clock (SCL) input for the primary I2C interface. |
| 24 | SDA | I2C Data | Serial data (SDA) line for the primary I2C interface. |
Follow the datasheet connection notes for every pin, including the no-connect and reserved pads, when you build your schematic and PCB footprint. Drawing 24 pads by hand is busy work, and one misplaced pad can sink a board spin, so start with a validated MPU-6050 footprint instead.
Configuring the MPU-6050 I2C Address and Wiring
The MPU-6050 talks to the host MCU over I2C. SDA and SCL are open-drain, so each line needs a pull-up resistor to the logic supply. Start with 4.7 kΩ, then adjust for your bus capacitance, supply voltage, and I2C clock speed.
The MPU-6050 I2C address is selected with the AD0 pin:
- AD0 low: 0x68
- AD0 high: 0x69
These 7-bit addresses let two MPU-6050 devices share one I2C bus. Check both addresses against every other peripheral on the bus before you finalize the schematic. If another device needs the same fixed address, put it on a separate I2C bus or add an I2C multiplexer.
Connect the INT pin to a general-purpose input/output (GPIO) pin on your MCU. Once you enable the Data Ready interrupt in the interrupt enable register, the pin signals each new sample, so firmware can read data on demand instead of polling the sensor.

Setting Up MPU-6050 Registers and Full-Scale Ranges
The MPU-6050 datasheet register map is long, but you only need a few registers to get your first readings. Start with PWR_MGMT_1 at address 0x6B. The MPU-6050 wakes up in sleep mode, so firmware must clear the SLEEP bit before measurements begin. This register also selects the clock source, and the datasheet recommends a gyroscope reference over the internal oscillator for better stability. Both full-scale ranges default to the smallest setting, ±250 °/s and ±2 g, so change them only if your application needs more headroom. Select the gyroscope range in GYRO_CONFIG at address 0x1B.
MPU-6050 Gyroscope Full-Scale Configuration
| FS_SEL | Gyroscope Range | Sensitivity, Least Significant Bit (LSB)/(°/s) |
| 00 | ±250 °/s | 131 LSB/(°/s) |
| 01 | ±500 °/s | 65.5 LSB/(°/s) |
| 10 | ±1000 °/s | 32.8 LSB/(°/s) |
| 11 | ±2000 °/s | 16.4 LSB/(°/s) |
Select the accelerometer range in ACCEL_CONFIG at address 0x1C. To confirm your I2C connection, read the WHO_AM_I register at address 0x75. It returns 0x68 regardless of the AD0 setting, and the sensor data registers start at 0x3B.
MPU-6050 Accelerometer Full-Scale Configuration
| AFS_SEL | Accelerometer Range | Sensitivity |
| 00 | ±2 g | 16,384 LSB/g |
| 01 | ±4 g | 8,192 LSB/g |
| 10 | ±8 g | 4,096 LSB/g |
| 11 | ±16 g | 2,048 LSB/g |
Pick the smallest range your product’s motion will never exceed.
Avoiding Common IMU Integration Challenges
Power Supply Decoupling
Supply noise shows up as jitter in your sensor readings. Place the ceramic decoupling capacitors from the typical operating circuit as close as possible to the VDD, VLOGIC, REGOUT, and CPOUT pins, with short return paths to ground.
Mounting Orientation
The physical orientation of the QFN package determines how the sensor’s X, Y, and Z axes correspond to the finished product.
Match the pin-1 indicator to the datasheet axis diagram, then align the footprint with the coordinate system your mechanical design and firmware expect. If you rotate the part on the PCB, firmware can transform the axes, but note the rotation on the layout so calibration and software work stay simple.
Check pin-1 orientation across your symbol, footprint, and 3D model too, because a mismatch between them is a classic way to end up with swapped axes and a wasted board spin. Validated Ultra Librarian models are checked across computer-aided design (CAD) tools, so the symbol, footprint, and model all line up.
Comparing the MPU-6050 vs. ICM-42688-P and ICM-42670-P for New Designs
The MPU-6050 is still everywhere in existing products, development boards, and classroom projects. If you are starting a new motion-sensing design, take a look at TDK’s newer IMUs. TDK’s official recommended alternate is the ICM-42670-P. The ICM-42688-P is a newer 6-axis gyroscope and accelerometer with lower noise and more interface options, so it is worth comparing when noise performance is a priority.
The table below compares all three.
MPU-6050 vs. ICM-42670-P vs. ICM-42688-P
| Feature | MPU-6050 | ICM-42670-P | ICM-42688-P |
| TDK status | Obsolete | Production | Production |
| Package | 24-pin, 4 mm × 4 mm QFN | 14-pin, 2.5 mm × 3 mm LGA | 14-pin, 2.5 mm × 3 mm LGA |
| Host interfaces | I2C | I2C, SPI, and I3C | I2C, SPI, and I3C |
| Full-scale range | Gyroscope up to ±2000 °/s, accelerometer up to ±16 g | Gyroscope up to ±2000 °/s, accelerometer up to ±16 g | Gyroscope up to ±2000 °/s, accelerometer up to ±16 g |
| Gyroscope noise density | 0.005 °/s/√Hz | verify against DS-000451 | 0.0028 °/s/√Hz |
| Supply voltage (VDD) | 2.375 V to 3.46 V | 1.71 V to 3.6 V | 1.71 V to 3.6 V |
| Best fit | Existing designs, development boards, and educational projects | Direct TDK-recommended replacement; low-power wearables and hearables | New designs needing lower noise and more interface options |
Neither part is a pin-compatible replacement for the MPU-6050, and TDK notes that interchangeability with its recommended alternate, the ICM-42670-P, is not guaranteed. Moving to either device requires checking its package, power requirements, register map, interfaces, and firmware configuration.
Putting the MPU-6050 Datasheet to Work in Your PCB Design
Reading the MPU-6050 datasheet closely, from the AD0 address pin to the QFN pin-1 orientation, keeps your motion data clean and your board spins to a minimum. A mismatched footprint or 3D model can waste upwards of $10,000 in product, so verify the land pattern and mechanical fit before releasing for fabrication.
Ready to put the MPU-6050 datasheet to work? Ultra Librarian gives PCB designers free, validated symbols, footprints, and 3D models, so register today and skip the copy-paste.
Frequently Asked Questions
What is the MPU-6050 I2C address?
The 7-bit address is 0x68 when AD0 is low and 0x69 when AD0 is high.
How do I change the gyroscope and accelerometer ranges?
Set the FS_SEL field in the GYRO_CONFIG register (0x1B) to choose ±250 °/s, ±500 °/s, ±1000 °/s, or ±2000 °/s. Set the AFS_SEL field in the ACCEL_CONFIG register (0x1C) to choose ±2 g, ±4 g, ±8 g, or ±16 g.
Why should an engineer use the INT pin?
The INT pin can notify the host when events such as new sensor data occur, allowing interrupt-driven sampling instead of continuous I2C polling.
What is a newer alternative to the MPU-6050?
TDK lists the ICM-42670-P as the recommended alternate for the obsolete MPU-6050. The ICM-42688-P is another newer 6-axis TDK IMU worth considering for designs needing lower noise or more interface options. Neither is a drop-in replacement, so verify the footprint, interfaces, and firmware before switching.
