GY-521 MPU-6050 3-Axis Gyroscope & Accelerometer Module
6-DOF Motion Tracking with I2C Interface
The MPU-6050 packs two separate MEMS (micro-electro-mechanical system) sensors into one chip. The accelerometer works by measuring the tiny deflection of a microscopic proof mass suspended on springs etched directly into silicon - as the chip tilts or accelerates, that mass shifts fractions of a micrometer, and the change in capacitance between it and fixed electrodes around it is converted into a digital acceleration value on each of the three axes. The gyroscope uses a related MEMS structure that exploits the Coriolis effect: a mass is kept vibrating at a fixed rate, and when the chip rotates, that rotation deflects the vibrating mass sideways in proportion to the rotation rate, which is again read out capacitively. Both raw signals are digitized by 16-bit ADCs and, crucially, fed into an onboard Digital Motion Processor that can fuse the drift-prone gyro data with the noise-prone accelerometer data into a stable orientation estimate in hardware - work that would otherwise have to run as a Kalman or complementary filter on your own microcontroller. It has been the go-to inertial measurement unit for hobbyist robotics and flight controllers for years thanks to its low cost, solid documentation, and mature library support; the GY-521 breakout adds a voltage regulator and I2C pull-ups so it can be wired directly to 5V boards like an Arduino Uno.
Key features
Onboard Digital Motion Processor
A built-in DMP can perform sensor fusion in hardware, offloading complex motion-tracking math from your microcontroller.
Selectable Gyro Range
Programmable full-scale range of ±250/500/1000/2000°/s to trade off sensitivity against maximum measurable rotation speed.
Selectable Accelerometer Range
Programmable full-scale range of ±2/4/8/16g for anything from gentle tilt sensing to high-impact motion capture.
Auxiliary I2C Bus
A secondary I2C port can host an external magnetometer for a full 9-axis solution without extra microcontroller pins.
Built-In Temperature Sensor
An onboard die temperature reading is available alongside the motion data at no extra cost.
5V-Tolerant Breakout
The GY-521 module's onboard regulator and level shifting let it connect directly to 5V logic boards.


