 No, no, you can just yeah. Thank you. Okay. Hi everyone. My name is Max Golubov and Today I would like to present you my little project. I was working for oops okay, and a little intro since childhood I was fascinated by aircrafts and Especially model aircrafts and I wanted to fly one, but it didn't really turn out to be my hobby I started programming and recently as the drone movement start to emerge I've had a chance to To buy this this little guy I can show it here. It's it's a little foldable Chinese drone It's very cheap, but it has a camera and it's also has an altitude control built built in and What's most exciting for me is that it's Wi-Fi drone it actually starts an access Wi-Fi access point and If you connect to it you can control well, basically basically it comes with With an application for for Ios and Android But I wondered how How can how can it be that it's Wi-Fi and it can be controlled from like laptop or another computer? so I Digged a little bit. I started I Have connected to the drone network with my computer and Intercepted a protocol with the with tools like probably probably now of our shark decrypted it some basic stuff to control like throttle that goes up and down you to rotate pitch and roll and I Wrote a little script for to control the drone I also initially started with keyboard, but It has some drawbacks because you can simultaneously press more than three keys on a keyboard and also it's binary you either press or You are you release the key? So I found I Have looked at my old USB controller. It's it has two joysticks That's access so they produce values from one to zero minus one to one and Put them Raspberry Pi I'll show you on the slide Raspberry Pi power bank that's a little bit too much but it's okay and Wi-Fi adapter and connected it together to create a controller Yeah, this sounds it looks weird, but it works so at first when I was Developing software on the computer I have created a simple script that I that allows to control with with this joystick and I also this is the first time I Like concisely used curses. It's actually very nice if you want to Debug the values You have something like going on a screen and you don't want printing it line by line so I Have created the scripts and then I have Flashed it on a Raspberry Pi. That's the same script, but it doesn't show This this interface because it runs as a demon in Supervisor so It uses spy game and Python curses you can also if you want to conquer code and see my project So I think it's it's it's a time for a little demo Need to turn my Raspberry Pi it will boot up for a moment So wish me luck because it's it's not just software demo. It's hardware demo. It will take some time to connect Meanwhile, I can say that I'm really excited that I was I'm able to create such controller without any soldering. It's just put The Wi-Fi adapter put the joystick and you're done I also have my my power bank is for about 8,000 milliamps that's that's a little bit too much. You can you can make it much smaller For about 10,000 milliamps that would be about two hours and This is fun. Oh, I think this is connected so Oh No, no, I forgot to Oops, oops. Oh, yeah, but I can have a video signal. I would if you don't mind I would start a video It's unfortunately It uses some Row H H 264 video stream so I wasn't able to properly decode it and like full-fissured video yet But I think I will work on it Still I have this this little application on my phone As you can see there are people it sees the people So I can still There are actually two servers running on this this little guy the one The one is a TCP server that produces TCP Video stream and the second one is UDP server that accepts UDP packets That's actually what my controller sends. It's just the comments to for the moderates like pitch roll yo throttle and all of this stuff So it's recording I will start it again Hey Smile that's okay. That's okay That's that's emergency landing. I think it's will be fine. Okay So that's Basically what I did About drone safety. I was wondering how it how is how is it easy to hug the drone because it's so cheap It's so small and it may be primitive. I turned out. It's not it's not that bad While while you see the leads are elite it means It has a connection it it receives UDP packets from my controller and you and no other controller can connect even okay, even the application controller so You can only actually intercept when it's searching for a controller, but you know Practical work around it's just hold it in hand while it's searching for a controller So next thing I'd like to talk. Yeah, I have some something nice things left like headless mode calibration for for position I Planned to do this some some time There's also a project. I have found by the guy who has very similar drone like the identical one It helped me a lot. So I like to give credits to him also How how many of you? Know have read actual Canada regulations for drones, please raise hands Okay, well, if you don't please you surely need to do this because I think they are Unfair compare in comparison to United States and United Kingdom They're not really well-defined and I would be glad if you will sign a petition to the Margarineau the the head of the transport Minister to transport to Canada To change the law. I also I'm available for hiring I Didn't do I also do web development. I also do love your codes as you can see So if you want to join me on some crazy Python project, please drop me a line Thank you resistant That that's okay for him. I actually dropped it from I usually fly it In a park with the grass and drop it from maybe 10 years 20. So it's it's very durable. I also I even Changed the gear once but it's not it's very minor change, you know the gear that's from the mother to the propeller so pretty durable For that for the price. That's that's excellent other questions Okay Yeah, it is no. Well, it's not that possible You have to send a magic word to the server and then it will start to stream the H 246 stream for the 80. Oh, sorry. I forgot. Well You can save it as a file Decaches you can even play it with the while see if you specify like explicitly codec You can play the file but to you have to connect it you have to Translate that file into edit at the video container to it So it would be a proper video file that you can play on on on on your laptop on your phone That's it. Okay. Thank you