MPU6050 3-Axis Accelerometer and Gyroscope Module

4,491 views

If you are searching for a sensor that can control the motion of your Robot, Drone, RC car, or some other things like that then this sensor might be the right choice for you. Because, this sensor encourages to measure displacement, velocity, acceleration, orientation, and some other motion-related parameters of the device. Inside a module, there is a Digital Motion Processor which is adequate to perform complex calculations or computations.

An Overview of MPU6050

The MPU-6050 is the 3 axis gyroscope and 3 axis accelerometer. The gyroscope estimates the rotational gravity. While the accelerometer gauges gravitational creation. Thus, it calculates the acceleration over the X, Y, and Z-axis. Using the values of the accelerometer of this sensor, one can calculate the angles by trying trigonometry. The sensor used the idea of Coriolis force Primarily; the sensor converts the rotational rate into an electrical signal. Further, it senses the angular velocity. Also, it detects the angular velocity generated by the sensor’s movement. It detects the vibration that is generated by any external elements and converts it into electrical signals

Working of Accelerometer

By measuring the gravity, the accelerometer comprehends which direction is down towards the Earth or how speedily the board is speeding up in three-dimensional space. The accelerometer measures the vibration of any object. Practically, the vibrations of any object cause the piezoelectric effect. Thus, t converts these mechanical motions into an electrical signal. An accelerometer converts mechanical energy into electrical energy.

How Gyroscope Works?

The gyroscope controls the twist and space A gyroscope is used to measure the rotation of any particular axis. It comprises the drive arm which is attached to the sensing element. The arm creates the motion in the sensing element which produces the angular velocity. It then converted this angular velocity into electrical signals. Hence gyroscope detects and estimates the motion of the objects.

MPU6050 Features

  • MEMS 3-axis 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
  • Configurable IIC Address
  • In-built Temperature sensor

Pinouts of MPU6050

VCCProvides power for the module. We use typically +5V but can be from #V to 5V.
GNDCommon ground.
SCLIt’s an I2C clock pin that provides clock pulse and which you connect to your microcontrollers I2C clock line.
SDAIt’s an I2C data pin for transferring data that you can connect to your microcontroller’s I2C data line.
XDAAuxiliary Serial Data pin that can interface other I2C modules with MPU6050.
XCLAuxiliary Serial Clock pin. Can interface other I2C modules with MPU6050. It is optional
AD0When over one MPU6050 is used a single MCU, then this pin can is used to vary the address.
INTInterrupt pin to show that data is available for MCU to read.

Applications of MPU6050

Self Balancing Robots

For the navigation of self-balancing Robots. The sensor determines the exact location of the robot in three-dimensional space. And, by combining the values of accelerometer and gyroscope data, one can obtain very specific information defining the orientation of the sensor.

Navigation Control of Drone

The MPU6050 gyroscope connects when interfaced with the microcontroller or microprocessor of the drone, it will read and filter to get an accurate angle. The
results of the angle used as commands to move the drone.

Humanoid Robot Control System

MPU6050 sensor transmits the data serially. The microcontroller note and stores this data, which then gives the corresponding data to the transceiver of the robot, depending on the orientation of the MPU6050 sensor.

.