MPU6050. Connection and task
MPU6050 Sensor¶
The MPU6050 sensor is an accelerometer and gyroscope that can provide acceleration and tilt in the three axes of space. It is connected via an I2C bus port to one of the 4 ports with male pins on the board. To know more about this sensor we can see its description in the Keyestudio wiki.
Wiring¶
In our case, simply connect the GND, VCC, SDA and SCL pins to the corresponding pins on one of the male I2C connectors (4) on the board.
Task. Measurement of accelerations¶
It correctly connects the OLED display to the MPU6050 sensor and displays the acceleration values in all three axes every second in a readable and orderly manner on the display.


