Make Your Own Pixhawk Raspberry Pi Drone in 36 Minutes (2020) | The Ultimate Project Drone
Vložit
- čas přidán 8. 12. 2020
- Raspberry Pi drones are an amazing platform for tinkerers who want to get their ideas into the world. But they need a flight controller in order to work.
In this video we walk through how to set up a drone with the very popular pixhawk flight controller! These little boards are a little old, but are super cheap, still advanced, and very reliable (even more reliable than Navio2 raspberry pi drones).
--
-------------------
--------------------------------------------------------
Here is the link to build this drone: dojofordrones.com/raspberry-p...
USE THE COUPON CODE 4G FOR $100 OFF!!
ONLY 9 COUPONS LEFT!!!
--------------------------------------------------------
-------------------
--
Here, we'll show you how to:
- Set up the Raspberry Pi+Pixhawk hardware
- Wire the RPI and Pixhawk together via a UART connection
- Flash ArduPilot firmware to the Pixhawk
- Set up the RPI SD card and dependencies
- Set up RPI OS to allow communication via UART
- Control the Pixhawk drone from the Raspberry Pi with MAVProxy AND a simple Dronekit Python script
3D Printable Parts Referenced in the Video:
- Vibration Plates:
github.com/emlid/hardware/blo...
github.com/emlid/hardware/blo...
- RPI Pixhawk Platform: drive.google.com/file/d/1N8qF... - Jak na to + styl
Always keeping at least one eye open all the time, is a sign of a good pilot.
Hahahah I knew there had to be a good reason for my one eye blinking XD
This is masterpiece ! Have been searching on internet , trying to find ways to communicate to my omnibus f4 v2 pro via raspberry pi . Now I have some lead . Thanks man !
REALLY appreciate the way you have walked me throught this somewhat complex subject. So many tubers just whip through connections as if it is nothing and you spent time going through each connection in detail - many thanks. Definitely following your posts and I like the way you present your subjects. - Peter
Such a nice and clean explanation, even going through the code.
Glad you found the video useful, Rotorhead FPV!
I literally don't know how to say thanks to this person.
I was looking for a proper video in CZcams about how to make my own drone and program it by python using raspberry Pi but i didn't find any proper video. But this man is legend. Lot's of love for you brother .
Hey guys support this man , talents like this deserves a lot more from us .
Love you 3000 ♥️
💯👍👍
I like and appreciate your videos. Very informative. One suggestion - when plugging in the Dupont connectors if you leave the metal clip part facing out it makes it easier if you ever have to diagnose pins. Gives access for meter to connect into to confirm voltage or signal
Thank you for the Headless Raspberry Pi tutorial (about 19:00) amongst the other great stuff shown here. Excellent video, excellent craftsmanship!
No problem @Richard Vasquez! Glad you got some value out of this!
Great explanation, keep going up and don't stop successful, great work 👍👍👍
Give this man an Award!!!
I will gladly accept the highly desired Nwanze award!!
I have so many people to thank. Of course my mother, the beautiful substance of caffeine, and so so many others.
Thank you, thank you!
Awesome blinking brilliant thanks for your kind stictoitivness....
@@thedronedojoyou forgot to thank Scott. Remember, if he hadn’t punched you in the back of the head that time in 4th grade you would have never got the firmware update with the drone interest script included. If that didn’t happen you’d probably be a run of the milll D14 v3 and you’d be doing what all the v3 D14’s are doing. Which is working as droid cops for the CCP.
Great video, and extremely helpful! I do believe that the wiring diagram of the rasp and pixhawk has the tx and rx wires reversed as to where they go. Thank you again!
Blinks with both eyes... see I’m human :) love the tutorial man!
Glad I didn't blow my cover... ;) Hahah glad you enjoyed it!!
^ See even my emojis can only blink with one eye
You crack me up!
Good video as usual sir!
Love the video. So well explained!
Thanks! Superb demo.
Great video, I have been actually researching info on this subject, your video is great and extremely helpful
Hi there Anarchy FPV! Really glad this video helped you out!! It's a great drone to build for sure.
Nice Video... Really good video to start working
Dude, You have got my attention :-) Amazing project !
Thanks so much Ruud! Glad you enjoyed the project!!!
Pixhawk videoo. I've been waiting for a long time. Finallyy :))
Glad we could come through for you Emin!!! :)
Dude, this is slick as s...
Also, awesome video.
Also, once you pointed out your odd blinking habits they were super apparent in the extro. But again, loved the video and excellent job presenting the info!
Thanks so much Super SLo!!! Glad you enjoyed the video. Just checking out of blinking both eyes rehab and they completely failed me ;)
P.S.... For Pixhawk 4 users... With all my peripherals, my pixhawk didn't have enough 5v current left to power my 4gb pi 4 (needs lots of power). I powered it via the same pins but directly from a 5v pad on the pdb... Worked great.
fab project, i have all the hardware lying around so good to give this a go. thanks
Very nice!! Hope it goes well!
Hi could you plx help me in my project?
Absolutely outstanding video, thank you. Just one small note - as at October 2021 - the Raspberry Pi headless operating system has SSH disabled by default, so the Putty session gets rejected. In case anyone else is having this problem, the solution is to add an empty text file called "ssh" (no extension) in the root of the SD card.
To clarify: I connected the Raspberry Pi via ethernet cable rather than wifi. This might make a difference(?)
Ooooo pixhawk!!!! Very nice!
Thank you!!!
Men, Thank you so much, you really are the goat, very helpful and inspiring!
Thanks @leo Bringer for that compliment! Glad you got some value out of this!
I really liked the way you presented this. I am an amateur, and have my own commercial drones. But the commercial drones don't have some features I would like. So, how many kinds of "gee whiz" stuff can be programmed into these homemade drones? Is it possible to make one of these that rival the best of DJI, or Skydio drones? Also, would I be able to extend the flight times with better batteries? The commercial battery packs are limited to their own platforms, but something like this means I will always have access to battery power because these drones use off-the-shelf batteries. What kind of flight times have you been seeing?
What an excellent step-by-step guide.
I'd love your next video to cover video streaming from the Pi.
Glad you enjoyed it Sarah! Thank you for the suggestion as well!
Yep I too want low latency video streaming....
Go job...I'll check out your listing B.O.M...also nice to see a fellow Packers fan...GO PACK GO! ALL THE WAY TO SUPERBOWL!!! :)
Thanks, Todd! Also, sad face on the packers.... I'm getting tired of saying there's always next year!! Still salty about that one haha
Great video, thanks!!. I would like to know if Pixhawk is the only flight controller suitable for such application or the system can be interfaced with other flight controllers too.
Super Video !!! I learned a lot and touched nice botton softly .
Glad you enjoyed it Tadashi!! Also, thanks for being kind and respectful to the like button XD
Drone Dojo Guy you rock!
Hello, Thank you for educational videos.
In the mission planner platform options there's no Pixhawk 2 and I am using it, so would be a problem if I select Pixhawk 1 ?
Also I got errors when trying to install the different sudo kits like sudo pip install future...etc... could you please tell me what might be the issue ?
thanks in advance
Keep up the good work man👍👍
Thanks for the tutorial! Is taping the components (and such large pieces for that matter) reliable enough? I would never think it was. And at 10:31 you can see through how much of that tape is idle and unused, actually
hey man i really love this series. do these packages work with RC airplanes as well over quadcopters?
Thank U so much for clean tutorial
Fantastic info and details!
Glad you got some value out of this video!
Please make more this is great!
How long will the drone's battery last when using? And with this build, is it possible to upgrade to a higher capacity?
Hi, I am trying to create a similar configuration except I have a Pixhawk 4 Mini. I connected the pixhawk with the raspberry pi using the Telemetry port 1 on the pixhawk. The rest of the configuration was kept similar to what you have. While running the script, I am getting a “Connection to ground station lost” error. Is there any suggestion?
You're amazing man...
Thank you Dhanushka!!! Hope you find this video helpful!
Thank you for your tutorials., I am using Pixhawk 4 and Raspberry Pi 3. Is it the same for connection? I mean we just only use 4 wires from the telem port 2 (5V, GND, Tx and Rx) ?
Just curious, is this possible on other flight controllers? There are tons of other mini flight controllers that use ardupilot and with uart connections. Thanks
Hey great video! Does the flight controller need to be pixhawk or navio2 to make a rb pi 4 drone?
Nice video!👏
Working on a USV for our organisation "Missing People Sweden" that can scan our lakes or ocean for lost people in water.
Hopefully i get this working in a few months.
Possible to transfer a video stream, when it's flying?
Thanks for the tutorial and I have a question: how could I access my raspberrypi to run the dronekit script before the drone takes off?
You are the most humane I have ever seen, don't worry about that. I know people are different and I fully accept those conditions. It is not a crime to be different.
Thanks for the kind words, Frosts Maker!!!!
Love your videos man. I appreciate you breaking it down for me. Basically changed my life. Been trying to figure this out for a long time. Only thing I ask is if you can wear a better colored beanie for visual purposes. Maybe try a purple and gold? Thanx, much love.
This video is indeed life changing, my young Padawan. Glad it could help. As for your beanie request, I have a personal policy where I only endorse greatness- and I can't seem to remember a single super bowl that purple and gold colored teams have won?
This is awesome and so are you.
Thank you so much ninline2000
I know its been a little over a year now but I'm curious as to which Pi image you actually used for this project. I noticed your file name that you flashed to your sd card did not match the pi.img file you pulled from raspbians website. The video cuts when your preparing to flash the sd card and I noticed the image name began with Emlid. I'm familure with emlid and their line of products. Did you have to use their image to get this to work? thank you.
can I use other uarts pins to connect the pixhawk? instead of 14 -15 i want to use 8-9
where did you get the 6 pin df13 cable to the separate 1 pin cables
Thanks for a great video!!!! One question, when picking the Pixhawk hardware I heard there is a difference between the pixhawk 4 and pixhawk 2.1 (Cube) regarding computing capacity. What are your thoughts on them if I were to pick one?
In my opinion their use as a flight control is very similar. The big difference is the 2.1 comes with a 'carrier' board that also may have a companion computer. In this video, the companion computer is the raspberry pi. So the 2.1 may have a raspberry pi type companion computer built in (depending on the carrier board for the cube module). Differences in computing power for the companion computers could drastically effect the complexity of functions your drone is able to perform (computer vision / AI for example).
So beyond the most recent video (which led me to this one) why would you use a pin when the FC does everything you need bari g a radio controller?
33:10 I hate it when they say “smash”. Thank you for being different. Subscribed.
Thank you for being gentle to the subscribe button XD
Does this work with other ardupilot microcontrollers like omnibus f4 pro or is it limited to the pixhawk?
Dude! You are my hero!
Hahah glad to help, Angelo!
Quick Question, will this method work using my raspberry pi model 2B ??
Your videos are awesome dude !!! Am I concern what is the max flight time and distance it can be on Air?
26:37 what if we had some other flight controller is there any other command for other Flight controllers ?
Would I be able to like this so I can manually control it like with a flight stick?
Hello bro, is there any way to connect the pi to pixhawk via USB directly? without the telem cable?
Hey, the vibration dampener plate is made of what material?
i have a question in order to upload a mission into the raspberry pi you need to ssh into it right and from the execute the mission... therefore you need internet, you cant ssh into it via telemetry am i correct ? i am asking you this because i want to go test on the field, i will appreciate you can help thank you
fantastic presentation
dojoooooo!!!!!!!
we need a flight video of this project and a tutorial
Great video!! - I have a large all weather RC Sailboat - I'd love to install this into the boat as there is ample room inside the hull... How do you guys think it would go? I'm only using 3 channels, 1) for rudder, 2) Boom and Jib in and out (Sail Winch) 3) External 360 winch Servo for GoPro 8 FPV (Look Around). I live on the coast in Australia with 4G coverage in some very cool areas that even ELRS may not reach. Would this work? Thanks and take care.
Great video, nice project :-)
Thank you! Glad you found the video useful! :)
How would I go about doing this with a Pi 0? I prefer that system as it has a lower power draw - vital for solar
Nice job on your videos! Is there a limit on how fast can i send commands to the Pixhawk from the raspberry? Will the Pixhawk bottleneck the system?
Hi sure
I have questions i run python tale of command
And i face this error
Prearm:AHRS EK3 source requires optical flow
I want run my drone through python scripting indoor please help
Man that`s very good I hope there will be a second part abaut the transport mission ,,,,,, (Like)
Glad you enjoyed the video!
Would love to see some OpenCV / Vision application on top of the flight control stack!
I will be getting my Pixhawk into rover mode for UGV, can afford to crash my camera(s).
Hi there Mr. Spacely! We have a few videos on incorporating computer vision for precision landing, but will definitely consider some more OpenCV / Vision applications. Thanks for the suggestion!
@@thedronedojo it should be very good if you do more videos about open CV
I am using the pixracer mini and when I get too close to the pi, I get a strong magnetic error. Is it the pi or the GPS module?
Sub'd, nice tut. Especially liked the blinking section, although maybe a small suggestion. A separate camera showing you blinking at all times cuz when you're doing sections with only your hands on camera, we need to see that you're still blinking, with both eyes.
No cause then my single eye blinking will be further exposed!!!
will Rush ESC and SOLO vtx work with this system? will be pushing 5008 340kv
Ok I'm beyond stoked to find this as I'm learning python (career related), bought my first 3d printer recently, and? I'm insanely interested in creating my own drones. You got mad game but, what freaks me out about this and my "low low budget" is sticky tape? Anyway, thanks so much, for ALL OF THIS.
Wow Jack, so this is the ultimate cross section of interests for you!! Awesome. Appreciate the compliments. I can see why some would be scared of the sticky tape mounting method, but that stuff is actually really robust- and best of all really fast to implement! Depending on what type of stick tape you use of course. I totally get those who would prefer more permanent methods however- especially if this was for an industrial application.
Do you know where can I find the (active track parallel mode) code of DJI drone, I would like to program my drone in the same way but make it line of interest instead of point of interest.
therefore, I need a similar python script, thank you in advance.
Thank you for the perfect explanation.
Can u please let me know the other commands to control the drone?
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 ?
hey ... I'm getting Frame: UNSUPPORTED ... when I expect something like Frame: HEXA ... what can that be? Could you please help?
Hi,very nice project!I have a very stupid question, What exactly I need to control the dron by wire instead of remote control,I´m saying because my intention is to build drone big enough to seat on it and have the same controls but communicate by wire with the drone hardware.I know you have out there many remote controls with 15-20 command buttons etc.I would like to build the same but communicate by wire
Thanks for this video. Can we use USB micro port of Pixhawk and connect it to RPI USB port and control the drone...
You're a legend
That was super clear bro. thank you for that, I am working on bonding pixhawk with nvidia jetson it will be a great thing if u made a video about that too, anyways thank you ♥
Glad you found the video useful, Muhammad Tarek! Bonding the pixhawk with the jetson would be very powerful! The principles should be the same as outlined in this video. Best of luck!!
Just a quick one. Did you use the usb cable at any point?
how about using NAVIO2 instead of pixhawk the coding and software used is it the same also...???
Really helpful video
Glad you found it useful!!
Hey man is this pixhawk radiolink? Or pixhawk 4? Is there a link that i can buy it from need to make sure i get the right one
Hi, buddy. Is there a way to use computer mouse to control the JR module? I m studying on a keyboard mouse method to fly FPV drone. The keyboard is very special designed by me with range. I test it on liftoff. With 0 experience and only 25 hours practice I break in world 23 on a track. So I really wanna apply this range keyboard + mouse method on real Drone. I just need the mouse output to the JR module now.
Where can we see the payment page for autonomous drone delivery system
youre best dude thanks
Great video
can we make our own transmitter and receiver using LoRa module and connect it with flight controller ?@drone dojo
Just discovered this channel and is great, congrats!
What about the drone design videos?
I'm interested to know what method you use for weight estimation.
Cheers.
Glad you like it, aldohz! The basic system for me is to start with the frame selection, then that narrows down the spectrum of other parts you're able to use. Like for the F450 frame, 920 - 1100 KV motors is probably the range that would work, so I'd select a motor in that range and find it's weight.
Can we supply PWM separetely to each BLDC motor using Rpi?
In case I dont have Pi and only need to do this using pixhawk controller, how would I manage to do that
Thanks in advance
can we control that pixhawk without arm, just code? it tell me have to calibrate arm
Hello i already start to build my drone, but if the raspberry pi is use only for python, is it possible to use a pi zero? Ty for the video
Halo The Drone Dojo..
I have a problem when the run syntax "mavproxy.py --master=/dev/ttyAMA0"
After MODE STABILIZE, the command is error..
Can you help me to solve the problem..
Thank you..