1. Introduction. The purpose of this blog is to explain everything that is needed in order to connect tello drone to micro bit. It will cover wiring, javascript code behind custom created tello extension and how to use this extension to connect and drive tello via microbit. 2. Wiring. Since tello drone creates its own wi-fi hotspot, additional wi-fi module is required in order to establish wireless connection between micro bit and tello. ESP8266 will be used to connect micro bit to tello wi-fi hotspot and also to establsih UDP communications between micro bit and drone. The pinout of the ESP8266 chip is shown below. ESP8266 chip pinout. Receiving port (Rx) is connected to transmitting port of the micro bit (pin 2) and transmitting port (Tx) of the ESP8266 is connected to receiving port of the micro bit (pin 1). 3.3 volts power supply should be provided both to micro bit and ESP8266 chip. Chip enable port is also connected to 3.3v power supply. ESP8266 plus microbi...
Introduction: This blog post is a tutorial intended to give you everything you need in order to start streaming the camera feed from a Tello drone and get this stream into RoboRealm. All of the necessary files are included in this repository: https://github.com/jackpender/TelloToRoboRealm I have detailed the steps but I suggest also taking a look at the repository as you go, especially the python file if you aren't familiar with OpenCV. Python File: · The first step is to import all the libraries that we will use. · We will be livestreaming the tello camera feed to the localhost using flask, so we now initialize this flask app. · We also open up the connection to the drone; me = Tello(), setting its name to “me”. · We then create a function called “gen_frames” to continuously grab the image that t...
Introduction: As part of this project, the Tello drone is intended to locate anyone in danger in the water and transmit this location for the USV to travel to so it can perform a rescue. Having accessed the camera feed from the Tello and displaying it where it can be monitored, the next step was to have it implement some form of tracking. For test purposes it was decided to detect the colour green. OpenCV: The colour tracking was to be implemented in OpenCV and so I simply had to edit the python file that was running the livestream. The first step of this was to import the numpy library as this would be used to calculate the area of the detected green object. This library would also allow me to set the range of colours that the Tello was to detect. It does so by creating an array of RBG values ([22,60,200] and [60,255,255] in my case) that OpenCV can use to detect these specific colours and everything that falls in between. Here I am using these values as the brightest and ...
Comments
Post a Comment