MPU-6050 Datasheet Explained: Pinout and I2C Setup

Share
Tweet
Pin
LinkedIn
3D rendering of the MPU-6050 microelectromechanical systems (MEMS) motion sensor

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

ParameterValue
VDD supply voltage2.375 V to 3.46 V
VLOGIC supply voltage1.71 V to VDD
Analog-to-digital converter (ADC) resolution16-bit
Maximum I2C clock speed400 kHz
FIFO size1024 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

PinPin NameFunctionDescription
1CLKINExternal Clock InputOptional external reference clock input. Connect to GND if unused.
2, 3, 4, 5NCNo ConnectNot internally connected. May be used for trace routing.
6AUX_DAAuxiliary I2C DataSerial data line for the auxiliary I2C interface, used to connect external sensors.
7AUX_CLAuxiliary I2C ClockSerial clock line for the auxiliary I2C interface.
8VLOGICDigital I/O SupplySets the logic level for the digital interface.
9AD0Address SelectSelects between the two available MPU-6050 I2C addresses.
10REGOUTRegulator Filter Capacitor ConnectionConnects to the filter capacitor specified in the datasheet.
11FSYNCFrame SynchronizationOptional digital input for synchronizing sensor data with an external signal. Connect to GND if unused.
12INTInterruptProvides configurable interrupt signals such as Data Ready.
13VDDPowerMain device supply input.
14, 15, 16, 17NCNo ConnectNot internally connected. May be used for trace routing.
18GNDGroundGround reference for the device.
19RESVReservedReserved. Do not connect.
20CPOUTCharge PumpConnects to the external capacitor specified in the datasheet.
21, 22RESVReservedReserved. Do not connect.
23SCLI2C ClockSerial clock (SCL) input for the primary I2C interface.
24SDAI2C DataSerial 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.

MPU-6050 typical operating circuit showing VDD, VLOGIC, SDA, SCL, AD0, INT, ground, and external capacitors

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_SELGyroscope RangeSensitivity, Least Significant Bit (LSB)/(°/s)
00±250 °/s131 LSB/(°/s)
01±500 °/s65.5 LSB/(°/s)
10±1000 °/s32.8 LSB/(°/s)
11±2000 °/s16.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_SELAccelerometer RangeSensitivity
00±2 g16,384 LSB/g
01±4 g8,192 LSB/g
10±8 g4,096 LSB/g
11±16 g2,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

FeatureMPU-6050ICM-42670-PICM-42688-P
TDK statusObsoleteProductionProduction
Package24-pin, 4 mm × 4 mm QFN14-pin, 2.5 mm × 3 mm LGA14-pin, 2.5 mm × 3 mm LGA
Host interfacesI2CI2C, SPI, and I3CI2C, SPI, and I3C
Full-scale rangeGyroscope up to ±2000 °/s, accelerometer up to ±16 gGyroscope up to ±2000 °/s, accelerometer up to ±16 gGyroscope up to ±2000 °/s, accelerometer up to ±16 g
Gyroscope noise density0.005 °/s/√Hzverify against DS-0004510.0028 °/s/√Hz
Supply voltage (VDD)2.375 V to 3.46 V1.71 V to 3.6 V1.71 V to 3.6 V
Best fitExisting designs, development boards, and educational projectsDirect TDK-recommended replacement; low-power wearables and hearablesNew 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.

UL-Icon.png

The Ultra Librarian Team

Ultra Librarian offers the world’s largest PCB CAD library, putting cutting-edge materials at your fingertips so you can build better products faster—all for free.

Join Our Newsletter

Subscribe to our newsletter to receive the latest news, and important updates

Name(Required)

Related Posts

If you’re looking for any of our component footprints or models, we have readily available and free options for you and your design team. Search our library for the solution you’ve been looking for.

IC Manufacturers

Working with us allows you to target the right audience for your component, provide content to nurture them along their design process, and analyze how your parts are being received and used.

How do manufacturers help shape the pcb design engineer’s journey?

Download now to discover how manufacturers support PCB design with data, tools, models and more.

Free Design Resources

Ultra Librarian is the worlds largest online – and always free – PCB CAD library. Build products better, faster, and more accurately with easy access to vendor-verified symbols, footprints, and 3D models. Register today to start searching the right components for your next design.

Recommended

Search Our Blog

Categories