Roll and Pitch Data received from the MPU6050 sensor is visualized on the GUI

Arduino Uno:- It is an Open source microcontroller board based on the ATmega328P microcontroller. The board is equipped with sets of digital and analog input/output (I/O) pins that may be interfaced to various expansion boards (shields) and other circuits.

MPU6050 sensor:- It is an Inertial Measurement Unit(IMU). This sensor combines 3-axis gyroscope and 3-axis accelerometer on the same silicon die, with an onboard Digital Motion Processor™ (DMP™), which processes complex 6-axis MotionFusion algorithms. For datasheet, go to the link (

The MPU6050 is interfaced with the Arduino according to the given schematic. There is a serial I2C communication between the two, with Arduino as Master and MPU6050 as slave.

The Arduino is programmed to receive the Roll and Pitch data. The received data is first visualized on the serial monitor feature of Arduino IDE. Then I wanted to view the data on a GUI, which is generally used in the aviation industry to roll and pitch the aircraft.

The GUI was build using Tkinter(, which is a python package for GUI designing. Once the GUI was designed the data was imported serially on real time. The video shown below shows the working.”