Chapter 25 Attitude Sensor MPU6050
Component knowledge
MPU6050
MPU6050 is a sensor which integrates 3 axis accelerometer, 3 axes angular accelerometer (called gyroscope)
and 1 digital attitude processor (DMP). The range of accelerometer and gyroscope of MPU6050 can be
changed. A digital temperature sensor with wide range and high precision is integrated within it for
temperature compensation, and the temperature value can be also read out. The MPU6050 module follows
I2C communication protocol and the default address is 0x68.
The port description of the MPU6050 module is as follows:
Positive pole of power supply with voltage 5V
Negative pole of power supply
I2C communication clock pin
I2C communication data pin
I2C host data pin which can be connected to other devices.
I2C host clock pin which can be connected to other devices.
I2C address bit control pin.
Low level: the device address is 0x68
High level: the device address is 0x69
For more detail, please refer to datasheet.
MPU6050 is widely used in the field of balancing vehicles, aircraft and others which need to control the
attitude.