M5 Uiflow Dji Tello Drone Control 2.0 is #25projectsofchristmas challenge
This project is an evolution of my last project M5 Block DJI Tello Drone Control and just one year ago, M5Stack Tello drone for Santa coded with micropython.
To avoid repeating basis, I invite who interested to read them.
Weight: 80 grams (battery included)
Flight time: about 13 minutes
Let me only say that the concept starts from reading the SDK, the Tello act as Soft AP WI-FI, with the IP address of 192.168.10.1. The M5 Core will act as a station and take the ip 192.168.10.2, on port 8889. All the commands must be sent in UDP format.
Now is very simple to create flight missions for STEM projects thanks third party blocks embedded in the M5Stack UIFlow programming environment.
(Thanks to M5Stack teams to embed my custom blocks into "Tello" third part section!)
You just need to initialize WIFI connection with the SSID of the Tello, and combine whatever flight command (remember to respect sequence Takeoff before! :-) )
But I have a little Christmas gift for you, I added a basic telemetry, very useful to monitor battery status, altitude, yaw, time of flight, drone temperature and so on.
In this brief project i'll show you how to use the M5Stack UIFlow programming environment in order to take your first flight with Tello Drone!
There is the Panic button also, press A button and the drone immediately abort mission gently landing!
Now with just your creativity will'be very easy create mission for STEM project into classroom or simply make a funny use.
Briefly, the code starts with an initalization section to connect the Tello Drone, and prepare UDP server on port 8890 to retrieve continuous telemetry data provided by the drone.
After TakeOff command, (wait one or two second between command) we could use whatever sequence to move forward, backward, up, down, flip etc.
Remember to close mission with LAND command!!!!
Pay attention to the few lines of micropython code embedded to retrieve bulk telemetry datas and format them into representing labels (Battery, Altitude etc)
Field starts from #0 (pitch) es battery status is on postition #10
Panic Button
Every mission is important, Tello DJI is very light (80gr) but is ever a drone, maybe dangerous, so pay attention to safety.
Please Keep away children and animals!
Just in case you decide to abort the mission, press A Button (the first on left) and your drone gently lands.
That's all folk, hope you'll find useful this project for fun with your children, or spread coding for drone control with M5Stack.
For further details I suggest to read my previous projects and to read this tutorial masterfully translated by AJB2K3
Comments
Please log in or sign up to comment.