My Raspberry Pi drone: the story so far

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 มิ.ย. 2024
  • 3 years. A university degree. A rediscovery. This is the story (so far) of my Raspberry Pi powered drone.
    This project is a monster. I started it in late 2017 for my university degree, aiming to create a drone that maps indoor spaces using photogrammetry. I've covered everything done from that time through to 2021 in this video!
    Very much looking forward to where I take this project next!
    00:00 - Intro
    01:10 - Build (v1.0)
    02:10 - Flight software
    03:17 - Indoor Positioning
    05:01 - Photogrammetry
    06:28 - Testing
    07:53 - Analysis
    09:16 - Rediscovery
    09:47 - Fixes
    10:54 - Build (v2.0)
    12:04 - Hello, world
    13:39 - What's next?
    🌐 Links
    Dissertation: akamatchstic.com/files/disser...
    Computerphile: / computerphile
    ℹ️ Attributions
    | Music
    Music: www.bensound.com
    Music: www.purple-planet.com
    | Sound Effects
    Rewind FX
    freesound.org/people/Tasmania...
    | Iconography
    bqlqn from Flaticon
    www.flaticon.com/authors/bqlqn
    Freepik from Flaticon
    www.freepik.com
    Twemoji
    twemoji.
    | Video
    Photogrammetry 2 - 3D scanning with just PHONE/CAMERA simpler, better than ever!
    Prusa 3D by Josef Prusa
    • Photogrammetry 2 - 3D ...
    ORB-SLAM2: an Open-Source SLAM for Monocular, Stereo and RGB-D Cameras
    Raúl Mur Artal
    • ORB-SLAM2: an Open-Sou...
    ArduCopter Release V3 - The "expensive multirotor flight system" killer!
    Marco Robustini
    • ArduCopter Release V3 ...
    Video by Mikhail Nilov from Pexels
    www.pexels.com/video/close-up...
    Video by RODNAE Productions from Pexels
    www.pexels.com/video/teacher-...
    💡 Research Papers
    OpenMVS: Multi-View Stereo Reconstruction Library. (2020). Cernea, Dan.
    Available: cdcseacave.github.io/openMVS
    Structure-from-Motion Revisited. (2016). Schönberger, Johannes Lutz and Frahm, Jan-Michael
    Conference on Computer Vision and Pattern Recognition (CVPR).
    Pixelwise View Selection for Unstructured Multi-View Stereo. (2016). Schönberger, Johannes Lutz and Zheng, Enliang and Pollefeys, Marc and Frahm, Jan-Michael.
    European Conference on Computer Vision (ECCV)
    ⚙️ Drone Hardware
    - Raspberry Pi Zero W
    - Raspberry Pi Camera Module
    - Erle Robotics PXFmini (no longer available)
    - Erle Robotics Power Module (no longer available)
    - Martian II 250 frame
    - Battery (LiPo, 3S, 2200mAh, 40C)
    - 4x Racerstar RS30A V2 30A (ESCs)
    - 2x MultiStar V-Spec 2205 CW (Motors)
    - 2x MultiStar V-Spec 2205 CCW (Motors)
    - 4x Gemfan Multirotor CRP Propeller 6x4.5 (CCW and CW)
    🧐 Social Stuff
    Twitter: / akamatchstic
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 101

  • @joflo5950
    @joflo5950 2 ปีที่แล้ว +7

    What an amazingly high quality for the channel size. Good luck!

  • @nacorti
    @nacorti ปีที่แล้ว +5

    Really respect you putting your failures out there - I went through similar struggles in my first few builds, and also just came out of a similar break from drone building like you. Great perseverance, and excited to see what you build next.

  • @danielq1985
    @danielq1985 ปีที่แล้ว +4

    That moment at the end when the drone finally works was awesome. I know that feeling all so well and it makes all the hard work totally worth it. I am currently working on a similar project but on a rover chassis. Good luck!

  • @foolwise4703
    @foolwise4703 ปีที่แล้ว +3

    Thank you for sharing this project! It really gets across how big of an undertaking this is. I had some similar ideas - so far only got to a fairly regular fpv drone to show for. That is lots of fun to fly, but nothing special yet. I'll see how far I get in the years to come, but stories like yours are very helpful to decide which directions to take!

  • @urielsambiani7305
    @urielsambiani7305 2 ปีที่แล้ว

    Was really impressed!! I’m still in process of thinking what my dissertation is gonna be about but your work really inspired me ! Thank you and congratulations!!

  • @cxosposync9937
    @cxosposync9937 2 ปีที่แล้ว

    Awsome Prj!!!

  • @GulamMustafa148
    @GulamMustafa148 2 ปีที่แล้ว +1

    Hard work never fails, congratulations 🎊 👏

  • @user-xe8oi5oq6c
    @user-xe8oi5oq6c 11 หลายเดือนก่อน

    You did awesome work!

  • @MrTombraider69
    @MrTombraider69 9 หลายเดือนก่อน

    Great vid!

  • @tmf-stevelewis
    @tmf-stevelewis 2 ปีที่แล้ว

    This is awesome, such a lot of information and really well presented, cheers for the channel

  • @keshav2136
    @keshav2136 ปีที่แล้ว

    That's a great project. Thnx for showing us.

  • @tymscar
    @tymscar 2 ปีที่แล้ว +3

    Super interesting! Love the photogrammetry part the most! I wanted to work on something similar for a very long time now!

    • @akamatchstic
      @akamatchstic  2 ปีที่แล้ว +1

      Thanks! It’s probably good for me to mention that my pipeline was created in early 2018 - there’s likely better approaches nowadays 😅. The general principle is the same though!
      There’s some great comparisons between different photogrammetry packages here: peterfalkingham.com/2020/07/10/free-and-commercial-photogrammetry-software-review-2020/

  • @BenAllwoodtheGreat
    @BenAllwoodtheGreat 10 หลายเดือนก่อน

    Matt, you are fantastic. A great presenter with great projects. I truly hope to see more projects from you.

    • @akamatchstic
      @akamatchstic  10 หลายเดือนก่อน

      I’m currently editing a new video! Hopefully will be done soon

  • @--Tanjumul
    @--Tanjumul 2 ปีที่แล้ว +1

    This is awesome

  • @offensivebias3965
    @offensivebias3965 2 ปีที่แล้ว +2

    Very informative video , Thank you

  • @danw050
    @danw050 2 ปีที่แล้ว +4

    Superb work, Matt! You're off and running! This project is the COOLEST thing ever... and I look forward to more installments!!

  • @mimotiti5176
    @mimotiti5176 2 ปีที่แล้ว +1

    Good job mate

  • @sandeshdesai1638
    @sandeshdesai1638 2 ปีที่แล้ว

    Great video. Very enjoyable and interesting

  • @duanebowman9595
    @duanebowman9595 2 ปีที่แล้ว +1

    hope to see more

  • @seanhill8943
    @seanhill8943 9 หลายเดือนก่อน

    Both your hair and your mind are majestic af! Good on ya mate

  • @gtrfx
    @gtrfx 2 ปีที่แล้ว +3

    I also used PXFmini to build a drone for my final project at the university. It was always a challenge to make it fly correctly and I only did it once. The PXFmini was not discontinued by chance. Pixhaws is definitely the way to go. That Photogrammetry stuff is awesome, hope you continue to work on that.

    • @akamatchstic
      @akamatchstic  2 ปีที่แล้ว +1

      “A challenge to make it fly” is definitely an understatement, that’s for sure…! Looking now at pairing a PixHawk with the Jetson Nano or a Pi 4, though space limitations on the drone means that I’m likely going to have to rebuild with a new frame. Should make a good video, at least! 😅

    • @kevshow
      @kevshow 2 ปีที่แล้ว

      @@akamatchstic I had been working on a build a while back but got caught up with work and life and such, using the raspi 3 and navio2,. I have that operational once again, as I have no found significant time to focus on a smaller drone version that is 3d printed among other cool features, that are all relative to your goals. First off awesome work. Second off, why are you using PixHawk and other autopilot hats instead of a flight controller that supports inav or betaflight and then connects to raspi? Also super open to talking and collabing on work. I have a TON of drone ideas that I am finally trying to spend more time getting involved in. I have noticed a TON of flaws in the embedded systems community especially around drones too. Maybe not flaws but lack of standards, frameworks, modular adaptability, and among other things software choices. So please feel free to pm me on this topic as well.

  • @gadgetmanmac
    @gadgetmanmac 2 ปีที่แล้ว +1

    awesome video my son is studying computer science @college

  • @Nomoreidsleft
    @Nomoreidsleft 8 หลายเดือนก่อน

    I was going to do this for a Master's thesis in 2014. Had the same idea about streaming video to a GPU ground station for recognition.
    Needless to say, I also had to switch me topic.
    If I were doing it today, I would use the PixHawk in combination with a Nividia Nano.
    But as if 2023 this problem has been solved. You can buy a drone made in China for under $200 that does it very well.

  • @miguelacosta808
    @miguelacosta808 2 ปีที่แล้ว +5

    Great stuff man! I am also working on an autonomous drone build using raspberry pi and Pixhawk for my Senior Design project at my university. I look forward to more videos like these showing your progress. Keep it up!

    • @adekunleafolabi1040
      @adekunleafolabi1040 2 ปีที่แล้ว

      Same here, we're using arduino for flight control tho, cos a pixhawk is expensive

  • @CucamongaGuy
    @CucamongaGuy 2 ปีที่แล้ว

    most excellent

  • @EndyMuhardin
    @EndyMuhardin 2 ปีที่แล้ว +3

    Nice work getting the raspi up in the air. I don't know how things were going at 2017, but nowadays in 2021 you can get a dedicated flight controller with gyro built-in for the price of a raspi alone. From the video, I infer your original goals is the 3d mapping stuff. Why don't you use a prebuilt flight controller which already handle the heavylifting of flying stuff so that you can focus on the 3d mapping thing?
    Not meant to be fussy about it, just curious. Maybe you'd like to learn about the flying mechanism?
    Great work, I am looking forward to see where this will go. Good luck 👍🏻

    • @akamatchstic
      @akamatchstic  2 ปีที่แล้ว +2

      From memory, going for the Raspberry Pi was a case of it could run Linux for doing stuff onboard the drone, and with the right hardware could also run ArduPilot.
      You’re absolutely right though - a pre-built flight controller would have been a much better idea! Many times I wish I’d just gone with a PixHawk or something similar… oh well!

  • @zappy9880
    @zappy9880 ปีที่แล้ว

    Nice one bro! how long does its battery last while flying? and what's the model of the rotors?

  • @Rani-wm1qq
    @Rani-wm1qq 2 ปีที่แล้ว +2

    What a story, well done. I couldn't find your research paper though

    • @akamatchstic
      @akamatchstic  2 ปีที่แล้ว +2

      Thanks! I had the paper listed as “dissertation”, here’s a direct link; incendo.ws/files/dissertation-mclarke-2018.pdf

  • @avichalsharma3856
    @avichalsharma3856 2 ปีที่แล้ว

    I was just thinking about doing same stuff... using pi zero to do everything. After watching your video, I think I shall get a separate flight controller for basic functions.

    • @akamatchstic
      @akamatchstic  2 ปีที่แล้ว

      It’s definitely the way to go I think, with a separate flight controller. Off-loading that side of control makes a major difference in the compute resources you then have access to 👍

  • @cuongnguyenuc1776
    @cuongnguyenuc1776 ปีที่แล้ว

    nice vid!! Now i want to use Raspberry Pi to Image-processing so does the Pi 3 strong enough to do that?

  • @lealemtaye
    @lealemtaye 2 ปีที่แล้ว

    cool

  • @felixquehl
    @felixquehl หลายเดือนก่อน

    I had some problem controlling the ESC from a RPI5, at the moment my guess is that the PWM signal is 3.3v logic which is to week for my particular ESC. Did you specifically use ESC that run with 3.3v PWM logical voltage?

  • @vikaspoddar9456
    @vikaspoddar9456 ปีที่แล้ว

    Hey, I want to know, Weather you ever considered using ROS2, Microros for this development. btw your project is great

  • @zhefanx2783
    @zhefanx2783 2 ปีที่แล้ว

    Nice work. I am also working on the same thing

  • @timkebienda1809
    @timkebienda1809 2 ปีที่แล้ว

    Have you tried having all the computing power from your pc, having your pc process all the inputs from the drone ?

  • @AnanthuSN
    @AnanthuSN 9 หลายเดือนก่อน

    This is really an interesting project, would love to recreate it. Sadly, the link to your dissertation can be reached. Is there an alternate link that you could share?

  • @pathfinder.george
    @pathfinder.george 5 วันที่ผ่านมา

    I lost it at 11:55 😆

  • @yakacm
    @yakacm 2 หลายเดือนก่อน

    You got a big enough soldering iron there fella? I think that model is meant for plumbers to braze copper pipes, lol. Joking aside what a great video, I wish you lots of luck for the future.

  • @suranjanchakraborty4833
    @suranjanchakraborty4833 ปีที่แล้ว

    Brother Please Suggest me which course should I follow to make this drone.

  • @abdirahmann
    @abdirahmann 2 ปีที่แล้ว +1

    200th subscriber 😌

    • @akamatchstic
      @akamatchstic  2 ปีที่แล้ว +1

      Thank you! It’s crazy to see how much the channel has grown from this one video 😊

    • @abdirahmann
      @abdirahmann 2 ปีที่แล้ว +1

      @@akamatchstic i forgot to say... You editing skills are amazing. Congratulations too 🤝😊

  • @monireol
    @monireol หลายเดือนก่อน

  • @julianssonko6022
    @julianssonko6022 2 ปีที่แล้ว

    Hey this is awesome, one question, you used the raspberry pi as a flight controller?

    • @akamatchstic
      @akamatchstic  2 ปีที่แล้ว +1

      More or less, yeah! I’m running ArduPilot under Linux on the Raspberry Pi, which sends data out to the ESCs via the PXFmini. That board also provides IMU, barometer etc data for ArduPilot.

  • @mazotti
    @mazotti 2 ปีที่แล้ว

    Nice work. I never heard about this rpi hat/shield. Is available to buy? Where?

    • @akamatchstic
      @akamatchstic  2 ปีที่แล้ว

      Unfortunately Earle Robotics who make the HAT went out of business a year or so ago - it’s not available for purchase any longer. If you’re looking to do this yourself, you probably will get better results using a PixHawk 4 and then pair it over a serial link to a Raspberry Pi etc!

  • @marie8872
    @marie8872 ปีที่แล้ว

    So nice - good work - please dont fly evening in bat areas

  • @luizcarlosf2
    @luizcarlosf2 2 ปีที่แล้ว

    Mate, how about to use the new radaxa zero ? same form factor and way more powerfull !!! Good luck. I'm a subscriber now !

    • @akamatchstic
      @akamatchstic  2 ปีที่แล้ว

      Thanks!! I'll have to check that out, wasn't aware it had been released

  • @melkerforslund2130
    @melkerforslund2130 2 ปีที่แล้ว +1

    "being a student i was broke"
    *has an apple watch*

    • @akamatchstic
      @akamatchstic  2 ปีที่แล้ว +4

      Funny story actually about that. I took on a short term contract in my final year, to do some research on the heart rate sensor on the Apple Watch - this was to try and get some money coming in. The company paid for me to get a Series 3 so I could do the work!

  • @CARLOSDGAME
    @CARLOSDGAME 9 หลายเดือนก่อน

    Hi bro, the dissertation link doesn't work :( I would like to read it

  • @terryterry1655
    @terryterry1655 ปีที่แล้ว

    can i use raspberry pi 4( 2Gb). triple challenge ..build robotic arm to be a robotic barista.

  • @chrisalexthomas
    @chrisalexthomas ปีที่แล้ว +1

    what about multiple cpus for dedicated tasks instead of using one single computer to do everything?

    • @akamatchstic
      @akamatchstic  ปีที่แล้ว +1

      That’s effectively what I ended up doing on the second build in this project: the camera itself has onboard hardware for neural nets which runs YOLOv4-tiny, and a Jetson Nano for control (and eventually other onboard vision processing)

  • @jaydenrareproto
    @jaydenrareproto 2 ปีที่แล้ว

    Drones = masochism. But it seems we're both hooked!

  • @NotgamerGOD5781
    @NotgamerGOD5781 2 ปีที่แล้ว +1

    going to follow you for that AI drone, thanks a lot

  • @creatortrainer9305
    @creatortrainer9305 ปีที่แล้ว

    Dear I have just a question I need to create a drone delivery short distance with autopilot but it carrying weight between 5kg and 10 kg is it possible to create like this drone ?

    • @akamatchstic
      @akamatchstic  ปีที่แล้ว

      As long as you spec your power source and propulsion to handle that weight, that would be possible. You are definitely looking at a *much* larger drone than in this video.
      I’d recommend going for a 6-propeller design at minimum for that, which gives you redundancy if a motor fails during flight. You’ll likely have to design your own airframe too at the size you’ll need

  • @MANOJ-kv7mo
    @MANOJ-kv7mo ปีที่แล้ว

    6:47 how to cope with failures 😂

  • @camaleon465
    @camaleon465 2 ปีที่แล้ว

    so what was the total costs at the end?

  • @mkayeka
    @mkayeka 2 ปีที่แล้ว

    Hey, is the PXF mini board really available
    and where can I get it?

    • @akamatchstic
      @akamatchstic  2 ปีที่แล้ว

      Unfortunately not, the company who built it appears to now be shut down. From my experience, I would seriously recommend looking at PixHawk for a flight controller. It’s been miles better than the Pi Zero setup I used on my first drone shown in this video.

    • @mkayeka
      @mkayeka 2 ปีที่แล้ว

      Thank you so much! My drone journey begins.

  • @imadoulhou7854
    @imadoulhou7854 ปีที่แล้ว

    what kind of rc used? and what is the range of it!
    cheers

    • @akamatchstic
      @akamatchstic  ปีที่แล้ว

      I’m using a Spektrum DX7 transmitter with a LemonRX receiver - protocol is DSM2 I think? I haven’t tested the range to be honest, so can’t give an accurate answer unfortunately for that

  • @dubber889
    @dubber889 2 ปีที่แล้ว

    did you run ROS under Mavlink Mavros protocol ?

    • @akamatchstic
      @akamatchstic  2 ปีที่แล้ว

      That’s the plan yeah. I haven’t looked much into it other than the surface level of “this thing exists”, but I aim to also tie in MAVProxy in there for ground telemetry over WiFi

  • @dvsmotions
    @dvsmotions 2 ปีที่แล้ว

    Soooo, all you needed to do was change the color of the props and it flies perfect? I think some information was withheld.

    • @akamatchstic
      @akamatchstic  2 ปีที่แล้ว +1

      Haha yes, I did gloss over this a little. The changes were;
      - Changed propellers
      - Re-calibrated the ESCs
      - Re-calibrated IMU and compass
      - Tweaked the offsets for the IMU and compass to better account for the Raspberry Pi being mounted slightly out-of-true
      - Dialled down the responsiveness to controller input, so that it was easier to fly
      - Removed a killswitch from 2018 that I added, which would cause ArduPilot to be restarted completely if connection to a ground station was lost then re-connected (mega dumb, don’t know why I added it originally) - this must have caused at least half of my “wtf” crashes

  • @pantherwhisky370
    @pantherwhisky370 2 ปีที่แล้ว

    Man i want to learn AI but but don't know where to start, Can you will guide me

  • @NyneIX9
    @NyneIX9 ปีที่แล้ว

    Did you ever figure out why Minecraft was stuffed into that OS for the PXFmini?

    • @akamatchstic
      @akamatchstic  ปีที่แล้ว

      If I had to guess, they just took a base Raspbian image that included it, added in all the necessary packages, and simply popped it back into an ISO 😅

  • @Jimmy_Neutron
    @Jimmy_Neutron ปีที่แล้ว

    How did you control your drone ?
    with remote or your laptop?

    • @akamatchstic
      @akamatchstic  ปีที่แล้ว +1

      In 2017 it was an Xbox 360 controller via WiFi (bad idea!), then moved to a Spektrum DX 7 transmitter and lemonRX receiver

    • @Jimmy_Neutron
      @Jimmy_Neutron ปีที่แล้ว

      @@akamatchstic which flight controller did you use ?

    • @akamatchstic
      @akamatchstic  ปีที่แล้ว

      @@Jimmy_Neutron A PXFmini with a Pi Zero W - this is now discontinued. See 0:49 in the video 👍

  • @amazlin8271
    @amazlin8271 ปีที่แล้ว

    the dissertation link doesn't work

    • @akamatchstic
      @akamatchstic  ปีที่แล้ว

      Should be sorted now - for some reason CloudFlare dropped the A record for my domain again 😔

  • @toukasnikos7219
    @toukasnikos7219 2 ปีที่แล้ว +1

    Very well done..not like most of us who pay thousands euros to DJI..😂🤪

    • @akamatchstic
      @akamatchstic  2 ปีที่แล้ว

      Aha, I think so far I’ve put about £300 into this? That’s not including the 3D printer though for some of the extra parts I added on, and doesn’t include the Jetson Nano + stereo camera I bought a few days ago!

  • @tariqshaw6791
    @tariqshaw6791 ปีที่แล้ว

    Did you worked in scooby dooby do? 🤭😂
    Just asking 💀

  • @cvetelingeorgiev1527
    @cvetelingeorgiev1527 10 หลายเดือนก่อน

    Wow, this was as if was watching a theater drama where every word and gesture is exaggerated. Me don't like. Apart from that, I'm interested in the matter being discussed.

  • @PrinzMidas
    @PrinzMidas 2 ปีที่แล้ว

    Broke but a iWatch. ;-D
    His long fingernails fits super to his long hair... ;-D

  • @jeremygalloway1348
    @jeremygalloway1348 ปีที่แล้ว

    Lmao...trying to be BBC news

    • @akamatchstic
      @akamatchstic  ปีที่แล้ว

      This is the news at 10. Coming up on the program: …