MPU6050 Pinout, Configuration, Features, Arduino Interfacing & Datasheet
MPU6050 Pinout, Configuration, Features, Arduino Interfacing & Datasheet
circuit schematics
mpu6050 datasheet
1 Vcc Provides power for the module, can be +3V to +5V. Typically +5V is used
3 Serial Clock (SCL) Used for providing clock pulse for I2C Communication
4 Serial Data (SDA) Used for transferring Data through I2C communication
5 Auxiliary Serial Data (XDA) Can be used to interface other I2C modules with MPU6050. It is optional
6 Auxiliary Serial Clock (XCL) Can be used to interface other I2C modules with MPU6050. It is optional
7 AD0 If more than one MPU6050 is used a single MCU, then this pin can be used to vary the address
8 Interrupt (INT) Interrupt pin to indicate that data is available for MCU to read.
MPU6050 Features
https://components101.com/sensors/mpu6050-module 1/8
8/5/2019 MPU6050 Pinout, Configuration, Features, Arduino Interfacing & Datasheet
MEMS 3-aixs accelerometer and 3-axis gyroscope values combined
Power Supply: 3-5V (/)
Communication : I2C protocol
Built-in 16-bit ADC provides high accuracy
Built-in DMP provides high computational power
Can be used to interface with other IIC devices like magnetometer
Con gurable IIC Address
In-built Temperature sensor
199
Alternative for MPU6050
Likes
OPEN
The module also have two auxiliary pins which can be used to interface external IIC modules like an magnetometer, however it is optional. Since the IIC address
of the module is con gurable more than one MPU6050 sensor can be interfaced to a Microcontroller using the AD0 pin. This module also has well documented
and revised libraries available hence it’s very easy to use with famous platforms like Arduino. So if you are looking for a sensor to control motion for your RC Car,
Drone, Self balancing Robot, Humanoid, Biped or something like that then this sensor might be the right choice for you.
The hardware of the module is very simple, it actually comprises of the MPU6050 as the main components as shown above. Since the module works on 3.3V, a
voltage regulator is also used. The IIC lines are pulled high using a 4.7k resistor and the interrupt pin is pulled down using another 4.7k resistor.
The MPU6050 module allows us to read data from it through the IIC bus. Any change in motion will be re ected on the mechanical system which will in turn vary
the voltage. Then the IC has a 16-bit ADC which it uses to accurately read these changes in voltage and stores it in the FIFO bu er and makes the INT (interrupt)
pin to go high. This means that the data is ready to be read, so we use a MCU to read the data from this FIFO bu er through IIC communication. As easy as it
might sound, you may face some problem while actually trying to make sense of the data. However there are lots of platforms like Arduino using which you can
start using this module in no time by utilizing the readily available libraries explained below.
Once you have added this library to you Arduino IDE, follow the below schematics to establish an IIC connection between your Arduino and MPU6050.
https://components101.com/sensors/mpu6050-module 2/8
8/5/2019 MPU6050 Pinout, Configuration, Features, Arduino Interfacing & Datasheet
(/)
199
Likes
The library provides two example programs, which can be found at File -> Examples -> MPU6050. In these two examples one will give raw values while the other
will give optimised values using the DMP. The following data values can be obtained using this example program.
Quaternion Components [w, x, y, z]
Euler angles
Yaw, Pitch, Roll
Real world Acceleration
World frame acceleration
Teapot invent sense Values
Out of all these data, the Yaw, Pitch, Roll us commonly used. However the library is capable of performing more than that and can be used for di erent purposes.
Once the program is uploaded, open serial monitor and set it to 115200 baud rate and you should see the data being printed on the screen.
Applications
Used for IMU measurement
Drones / Quad copters
Self balancing robots
Robotic arm controls
Humanoid robots
Tilt sensor
Orientation / Rotation Detector
2D Model of MPU6050
https://components101.com/sensors/mpu6050-module 3/8
8/5/2019 MPU6050 Pinout, Configuration, Features, Arduino Interfacing & Datasheet
(/)
199
Likes
Component Datasheet
MPU6050 Datasheet (https://components101.com/sites/default/ les/component_datasheet/MPU6050-
DataSheet.pdf)
Tags
MIPI I3C specification - GY-BMP280 Module Reliable Hardware And SIM900A GMS Module
For mobile, IOT, & Pinout, Features & Software Pinout, Features &
automotive Datasheet Datasheet
ICM-20608-G Motion Arduino Uno Pin 433 MHz RF Receiver 16x2 LCD Module:
Tracking Device Details Diagram, Specifications, Module Pinout, Pinout, Diagrams,
& Datasheet Pin Configuration &... Specifications,... Description & Datasheet
https://components101.com/sensors/mpu6050-module 4/8
8/5/2019 MPU6050 Pinout, Configuration, Features, Arduino Interfacing & Datasheet
(/)
199
Likes
LATEST POSTS
(/articles/how-to-use-tvs-diodes-for-transient-voltage-suppression)
https://components101.com/sensors/mpu6050-module 5/8
8/5/2019 MPU6050 Pinout, Configuration, Features, Arduino Interfacing & Datasheet
(/)
199
Likes
(/diodes/sd103-small-signal-schottky-diode)
(/news/viper-converter-features-high-mosfet-breakdown-voltage-1050v-robust-and-reliable-power-supplies)
https://components101.com/sensors/mpu6050-module 6/8
8/5/2019 MPU6050 Pinout, Configuration, Features, Arduino Interfacing & Datasheet
199
Likes
(/sensors/vl53l0x-lidar-distance-sensor)
Components101 is a resource dedicated for electronics design engineers, covering product news, analysis and articles on latest electronics components.
IMPORTANT LINKS
Contact
Advertise
Privacy Policy
Cookie Policy
POPULAR TAGS
https://components101.com/sensors/mpu6050-module 7/8
8/5/2019 MPU6050 Pinout, Configuration, Features, Arduino Interfacing & Datasheet
Automotive (/tags/automotive)
(/)
SUBSCRIBE TO OUR NEWSLETTER
email address
Subscribe
199
Likes
https://components101.com/sensors/mpu6050-module 8/8