In this project, we are going to build a controller for the DJI Tello quadcopter with an Arduino board, MPU-6050 gyroscope module and 6 push buttons. You can see the schematic of the circuit in fritzing software in the image below.
you can see all details about this project in this video.Software
The Arduino communicates with a Python script through serial communication. This Python script controls the quadcopter via WiFi connection and UDP protocol. Before we start programming with Python, we need to install a library called easytello. All codes are at the end of this article.
pip3 install easytello
You can use another library called djitellopy.
Run the program.
pip3 install djitellopy
After completing the program, we turn on the quadcopter and connect the computer WiFi to it. The Arduino must also be connected to the computer via a USB cable. Now we run the program and see that we can control Tello with this controller