Main Content

MPU6050 Gyroscope with Arduino

A small but very optimised 3 axis accelerometer, 3 axis gyroscope having inbuilt temperature sensor. Let’s pair it with Arduino.

Three Axis gyroscope sensors are very useful in making like flight controllers, ship/boat controllers, direction prediction and controlling the Microcontroller accordingly. In today’s tutorial, we will discuss about MPU6050 gyro sensor and make a small project to know the functionality. Which can show Pitch, yaw and roll readings on display.

Gyroscope sensor is a device that can measure and maintain the orientation and angular velocity of an object. These are more advanced than accelerometers. These can measure the tilt and lateral orientation of the object whereas accelerometer can only measure the linear motion.

MPU6050 is a Micro Electro-mechanical system (MEMS), it consists of three-axis accelerometer and three-axis gyroscope. It helps us to measure velocity, orientation, acceleration, displacement and other motion like features. which processes complex 6-axis MotionFusion algorithms. The device can access external magnetometers or other sensors through an auxiliary master I²C bus, allowing the devices to gather a full set of sensor data without intervention from the system processor.

Features:

- 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
- Configurable IIC Address
- In-built Temperature sensor

Measuring Acceleration:
The MPU6050 can measure acceleration using its on-chip accelerometer with four programmable full scale ranges of ±2g, ±4g, ±8g and ±16g.”

Link to article