How To Connect PixHawk to Raspberry Pi and NVIDIA Jetson

Поділитися
Вставка
  • Опубліковано 18 січ 2025

КОМЕНТАРІ • 93

  • @HoffmanTactical
    @HoffmanTactical 2 роки тому +17

    Keep these videos coming! There is a lack of good CV / AI / UAV content on the internet, and it's a fascinating area.

  • @IamG3X
    @IamG3X 2 роки тому +3

    Man your voice is so soothing to hear. And the editing is perfect to follow. Step by step guide is on point. Really deserve top views and likes for this UA-cam category.

  • @mohamedaminefaiz6378
    @mohamedaminefaiz6378 9 місяців тому +2

    Perfect work! Please continue, you're helping a lot people with these videos!

  • @jnick6
    @jnick6 Рік тому +1

    clear and concise.
    as a newbie, this was really needed. especially when it comes to the running commands and their meaning.. reading code is my second fear, fist is algebra.
    thanks a lot, subbed.

  • @akshaydevanpally3764
    @akshaydevanpally3764 2 роки тому +2

    This video really helped me, thanks for such videos

  • @alexbattikha
    @alexbattikha Рік тому +4

    are there any alternatives to the a203 carrier board? or is it possible to connect a pixhawk to jetson without any external carrier boards?

  • @faraazk.8015
    @faraazk.8015 Рік тому

    just came across this vid, nicely done sir

  • @AndrewBakerEngineer
    @AndrewBakerEngineer 2 роки тому

    Great video. At Honeywell we use the Cube Orange and the Jetson Xavier NX combo. We don't bother with the GPIO header and just go straight from the Jetson's USB to the Cube's microUSB. Works fantastic.

    • @NOVAAlimentos-ux2xw
      @NOVAAlimentos-ux2xw Рік тому

      Hi AerialRobotics, are you have some tutorials you can share us about the communication by Jetson Xavier NX USB and Cube's microUSB?

    • @Film-maker
      @Film-maker 10 місяців тому

      Hi Andrew, I hear many have issues connecting Cube Orange. Is there a way to avoid connection problems?

  • @eminbozkus3896
    @eminbozkus3896 Рік тому +1

    Hi sir, Please give me a feedback. How can I connect my jetson nano with pixhawk cube orange on python scripts, using dronekit ? Actually I know about the software side but I need to help to hardware side.

  • @royjones1053
    @royjones1053 Рік тому

    Thanks again for the quality content

  • @UsForever-you_me
    @UsForever-you_me 5 місяців тому

    Hey, I have an AI model running on raspberry pi 0 2w, and the flight controller I have is the same as pixhawk 2.4.8. What are the benefits if I connect the raspberry pi to pixhawk ? I have seen how to connect, but what I fail to understand is, in my use case scenario will it be beneficial ?

  • @Film-maker
    @Film-maker 10 місяців тому

    Hi Matt, very informative video! Would you know which new flight controllers will work with Jatson boards?

  • @HipHopHanok
    @HipHopHanok 2 місяці тому

    Anyone know where I can find this cable for sale? I don't have the time to cut and solder a couple cables.

  • @abeshifat7707
    @abeshifat7707 2 роки тому +1

    would you please make a video how i can make a indoor flying drone who perform like a flying robot . like if i want i can move a glass of water from one room to another room using this drone and put the glass in another room in accurate position . And what types of hardware is needed to be done to make this. Like Jetson Nano , pixhawk 2.4.8 , GPS and last thing how i can control it auto by using laptop or computers . by the way i cant write English properly so hope you kindly forgive me if i make some mistake to write this . I will be waiting for your video .Carry on brother .

  • @piyushmessi7758
    @piyushmessi7758 5 місяців тому

    How do you power them up when flying with drone? I am having voltage issues

  • @Dragoneer
    @Dragoneer 11 місяців тому

    Great tutorial man, that's gonna really help me out later. I see you cut the 5V wire, but I also would like to know, is the PixHawk capable of supplying the full 20W range specified for the Nano through the telem2 port? That would be really handy as I want to install the board to the drone itself. And I'm not sure that I trust the PixHawk board will permit that power draw...
    Edit: Figured I would use a buck converter from the battery instead, that way I can guarantee that it is capable

  • @danielq1985
    @danielq1985 2 роки тому +2

    First, love the videos. Second, how can I send you a proper set of wire strippers?

    • @akamatchstic
      @akamatchstic  2 роки тому

      Thanks! So wire strippers… I do have one in a box, that is incredibly frustrating to get into 😅 Since I don’t have a PO Box etc, I am pretty uncomfortable giving out my address online, but I *seriously* appreciate the sentiment!

  • @allaboutcontrollers
    @allaboutcontrollers 3 місяці тому

    can i connect to the usb port rather than the gpios of jetson nano

  • @vikaspoddar8443
    @vikaspoddar8443 2 роки тому

    welcome back Matchstic !!! can you do video on ROS2 integration with pix Hawk for robot management and PyTorch for object detection ???

    • @vikramurs9416
      @vikramurs9416 2 роки тому

      Yes, even i was looking for such kind of videos...

    • @akamatchstic
      @akamatchstic  2 роки тому

      I can try - ROS is something I played with last year but didn’t end up using, so will have to learn it myself first 😅

  • @mohammadabdollahi2742
    @mohammadabdollahi2742 Рік тому

    i have quastion for you
    what frame and vehicle do you use on your pixhawk and how do you upload it?
    i use simonhardware and upload it on linux but i didnt get the same result as you for example the AP:... commands
    i get some #%$#EREGF$F and some EPK and GPS ...
    |'ll be glad if you help me

  • @sgan5551
    @sgan5551 7 місяців тому

    Hello Sir, your videos are very useful. Thank you very much
    I am newbie to Drone building DIY. I have Pixhawk 2.4.8 and wanted to use it with 4-in-1 ESC along with Raspberry PI 4 or 5. I watched all the videos out there on this scenario and all of them uses individual ESC's for each motors. I came across encoder to use but surely not understand it. I watched this video about connecting Raspberry PI to Pixhawk so I think I am okay there but not connecting 4-in-1 ESC to Pixhawk. Would you be able to suggest how I can get 4-in-1 ESC connected to Pixhawk? Or if you could do a video on it, would be awesome. Thank you so much for all your help in advance sir.

  • @Perfect_Things22
    @Perfect_Things22 8 місяців тому +1

    Libxslt is not installing

  • @BhomeWai-f1i
    @BhomeWai-f1i Рік тому

    where can I type those command? I have connect pixhawk with resp pi.

  • @DavidGutierrezhi
    @DavidGutierrezhi 11 місяців тому

    bro what i have to do in the px4 im using the cube black, to enable mavlin in telemetry 1 or 2?

  • @olegmikulskiy
    @olegmikulskiy 4 місяці тому

    Hi Mark, thanks for the video. Can you try to connect Raspberry PI to SpeedyBee or other cheap fly controllers?

  • @prathamvjain7569
    @prathamvjain7569 11 місяців тому

    Bro I’m building package pickup drone using ros and jetson nano and using pixhawk for flight control

  • @VitaoHelloWorld
    @VitaoHelloWorld Рік тому

    after install mavproxy i need to install dronekit or with only mavproxy i can send commands for px4?

    • @akamatchstic
      @akamatchstic  Рік тому

      Depends on your goal to be honest. I used DroneKit in a project to send commands from a companion computer over Python. Setup looked like this:
      My Python program -> DroneKit -> MAVProxy running locally -> PixHawk
      If you’re using DroneKit and don’t need MAVProxy to eg also forward data to a ground station, you can actually skip MAVProxy and connect directly to the serial port.
      With MAVProxy on its own, you can connect it up to anything that works with MAVLink data over the network. Eg multiple ground stations
      If used on its own, you’ll still be able to send commands to PX4 on the PixHawk. DroneKit is one source that can send those commands

  • @sairajesh4817
    @sairajesh4817 Рік тому

    hai
    how u connected jetson nano without cable to pc and is there any files how to access jetson and can u sujected me which is better rasberry pi or jetson nano for pixhawk AI control

    • @akamatchstic
      @akamatchstic  Рік тому

      I used SSH to run commands on both the Jetson Nano and Raspberry Pi. If you’re looking for longer flight times, the Raspberry Pi would be preferable due to less power requirements. It’s all down to your project’s requirements really!

    • @sairajesh4817
      @sairajesh4817 Рік тому

      THANKYOU SIR
      @@akamatchstic

  • @MuhammadJunaid-yr8jd
    @MuhammadJunaid-yr8jd Рік тому

    Hey, thank you so much for guiding me just like WOW! I am thinking about how can we connect the companion computer pi or Jetson, with Pixhawk using their micro-USB cable, I have seen a guy who is connecting, can we do it after following all the commands provided by you or there is another configuration need for that...

    • @akamatchstic
      @akamatchstic  Рік тому +1

      You can technically use the micro-USB cable for serial but be aware that it disables some safety checks - for example, ArduPilot will assume it is not connected to a battery when using the USB link, and disables all battery failsafes.

  • @ienMinh
    @ienMinh 2 роки тому

    Hii Matchstic ! Can i connect the F405 mk3 lite filght control (other pikHawk)with Jetson Nano for project like u ?

    • @akamatchstic
      @akamatchstic  2 роки тому +1

      In theory, yes!
      Looking at the documentation (ardupilot.org/plane/docs/common-mamba-basic-mk3.html ), you’ll need to solder the jumper wires directly to the board. I’m not 100% certain of the pins you need to solder to though. That docs page seems to suggest that the RX6 and TX6 pins are available for this, as well as any available Ground pin. As per the video, make sure you connect the soldered RX connection on the board to the TX GPIO pin, and the equivalent for TX to RX GPIO.
      In your autopilot parameters, you may need to update the relevant serial port’s protocol to 2 to get MAVLink messages flowing.

    • @ienMinh
      @ienMinh 2 роки тому

      I looked on the jetso nano forum and someone asked the same question. why are Tx/rx2 and tx/rx4 pins empty but we don't connect them?

  • @alexandergeorgiev2631
    @alexandergeorgiev2631 11 місяців тому

    Can you use ttyTHS2 instead?

  • @denisbrown261
    @denisbrown261 Рік тому

    Hi, when I tried to run this command: sudo pip install PyYAML mavproxy, I got an error that said the SSL Certificate Verify failed. How could I fix this?

    • @LeviDeHaan
      @LeviDeHaan Рік тому

      Youre using anaconda? If so run conda deactivate and then run again.

  • @RacecarJ0hnny
    @RacecarJ0hnny Рік тому

    Why did you choose the carrier board rather than the Nano Dev Kit?

    • @akamatchstic
      @akamatchstic  Рік тому +1

      I’ve used both with a drone, with the carrier board I can just wire up an XT30 connector and not need to power it via GPIO

  • @Sam-iy1kv
    @Sam-iy1kv 2 роки тому

    nice, I used a uart-usb connector connet pxihwak to one usb port, seems using the pins is easiers

  • @DineshKumar-ki2lf
    @DineshKumar-ki2lf Рік тому

    Hey, just a quick question - have you experimented with PX4 firmware ?

    • @akamatchstic
      @akamatchstic  Рік тому

      Not as much as ArduPilot to be honest!

  • @sefaklcr
    @sefaklcr Рік тому

    Hi mr. Matt, I have some questions about coding RP4 with PixHawk. We are trying to making a VTOL UAV and it has a simple task that it will change servo angle at the determined location and altitude. So, I want write a code for RP4 that will get this mission. How can I do that, can u help me? I am an amateur on RP4. Do you have some simple examples about that? :)

  • @DeanBateman
    @DeanBateman Рік тому

    Now that it is connected, would love to see some examples of what you can do with them. Even if they are not fully coded examples

    • @akamatchstic
      @akamatchstic  Рік тому

      I can show you a fully functioning system using this if you wanted! This is the source code for Stanley, an autonomous drone using an RPi for the companion computer: github.com/Matchstic/stanley

  • @philippjansen6079
    @philippjansen6079 Рік тому

    Hi Matt! Great video - do you think it is possible to connect a Orange Pi 5 to a Pixhawk?

    • @akamatchstic
      @akamatchstic  Рік тому +1

      Cheers! I would expect so, just double check the GPIO layout before you do. There may also be a need to enable appropriate hardware like for the Raspberry Pi via a config file

    • @philippjansen6079
      @philippjansen6079 Рік тому

      @@akamatchstic Thanks Matt!

  • @chuck00lin
    @chuck00lin Рік тому

    thanks for sharing, i'm wondering if mavproxy can work on PX4 firmware?

    • @akamatchstic
      @akamatchstic  Рік тому +1

      Yep, should work just fine 👍🏻

    • @chuck00lin
      @chuck00lin Рік тому

      @@akamatchstic thanks for reply, it works. However i have to wire tx rx through usb signal transform device.

  • @HS_COMET
    @HS_COMET 2 роки тому

    Your video is interesting. Let me ask you a question. Does connecting using usb to ttl work in the same way as connecting to gpio pins 8, 9, and 10?

    • @akamatchstic
      @akamatchstic  2 роки тому +2

      It should do yes - the key thing is to ensure a serial device is available to receive/send MAVLink messages

    • @diannajames4453
      @diannajames4453 Рік тому

      @@akamatchstic I too bought a usb to ttl device. But I do see how your way would save the cost and save an additional USB port.

  • @johnmelbolaybolay6725
    @johnmelbolaybolay6725 Рік тому

    Why do I get a permission denied whenever I tried to run mavproxy in serial port ttyTHS1

  • @harmonydevdao55
    @harmonydevdao55 2 роки тому

    great content!

  • @dsyeta174omkshirsgar2
    @dsyeta174omkshirsgar2 9 місяців тому

    jetson says permission denied on THS1 port error 13

  • @ensam9317
    @ensam9317 Рік тому

    But how to power it on the drone

  • @elbhilatel7841
    @elbhilatel7841 2 роки тому

    Welcome, excellent explanation. Can you make a video of orange pi integration with pixhawk???

    • @akamatchstic
      @akamatchstic  2 роки тому +1

      If I had access to one, sure! That said, in theory you can adapt the instructions in this video for the Orange Pi.
      This looks to be the pinout for the Orange 5: www.orangepi.org/img/pi-5-pin-definition.png
      I imagine its a case of ensuring the TX and RX jumper wires of the serial wire I showed to the pins marked UART3 - ensure the TX jumper goes to the RX GPIO!
      In software, it looks like that would map to /dev/ttyS3. See here for where I'm pulling that info (which is for the R1): learn.adafruit.com/circuitpython-on-orangepi-linux/uart-serial#the-hard-way-using-built-in-uart-3010837
      Additionally, you may need to enable UART - see here (again, for the R1): learn.adafruit.com/circuitpython-on-orangepi-linux/orange-pi-r1#enable-uart-i2c-and-spi-3029848
      TLDR; make sure to enable UART if needed, and connect to the relevant GPIO headers with the serial cable I showed in my video

  • @ttaylor9916
    @ttaylor9916 10 місяців тому

    maybe next a simple diagram that shows that you connect rx to tx?

  • @kemaldemir7045
    @kemaldemir7045 2 роки тому

    hello, thanks for this informative video 🙋🏻‍♂️ i need to ask that, can i do the same steps for jetson xavier nx ? and also i need to give the power supply from a lipo batterry how can i do that? does anybody here to help me?

    • @akamatchstic
      @akamatchstic  2 роки тому

      I’d imagine the exact same steps will work for Xavier - just make sure your GPIO connection is correct! For the Lipo battery, I’d recommend looking into using a UBEC to source a good supply of 5V, then power the device from that - this is what I did for my drone using the Jetson Nano

  • @athiganesh6130
    @athiganesh6130 Рік тому

    thanku for helping bro

  • @eminbozkus3896
    @eminbozkus3896 2 роки тому

    I get an error saying MAV > link1 down. Could you help with the solution?

    • @akamatchstic
      @akamatchstic  2 роки тому

      Sounds like one of the following:
      - the RX and TX pins are connected the wrong way around on the GPIO header
      - you’re using the wrong serial port (run the following to see available ones: ls /dev)
      - the cable is not soldered properly
      - the cable is not connected to the right telemetry port on the PixHawk (or equivalent)

    • @eminbozkus3896
      @eminbozkus3896 2 роки тому

      @@akamatchstic There is no problem with any of the steps you mentioned. Could there be another reason?

    • @chiuanshin1987
      @chiuanshin1987 Рік тому

      @@eminbozkus3896 sir,I have the same problem, how did you solve it?

    • @eminbozkus3896
      @eminbozkus3896 Рік тому

      @@chiuanshin1987 Yes, I solved. The problem is depend on the cables of rx,th,ground connection. You should connect the rx to tx, tx to rx and ground to ground, for communication. If your problem will continue I can help you on zoom or any video conference application.

    • @chiuanshin1987
      @chiuanshin1987 Рік тому

      @@eminbozkus3896 Thank you so much, I successfully solved the problem by swapping "tx" and"rx", thank you again~!

  • @tselin7611
    @tselin7611 2 роки тому

    But it doesn't work for PX4 right?

    • @akamatchstic
      @akamatchstic  2 роки тому

      Should work just fine with PX4 too, i just used ArduPilot for demonstration purposes

  • @duanebowman9595
    @duanebowman9595 2 роки тому

    Are you still with US? Hope so. Can you do a more indepth Raspbeery 4??

    • @akamatchstic
      @akamatchstic  2 роки тому

      Yeah I’m still here, just busy IRL! 😅 What do you mean by more in depth Raspberry Pi 4?

    • @duanebowman9595
      @duanebowman9595 2 роки тому

      @@akamatchstic I am A 70+ old fart. and 8min is hard for me to walk through. I need to do long range way points. Might try 4/5g to get what I need.

  • @CM-nq3zu
    @CM-nq3zu 2 роки тому

    Nice

  • @RacecarJ0hnny
    @RacecarJ0hnny Рік тому

    omg this is what im gonna do

  • @NoOneNew-b4c
    @NoOneNew-b4c Місяць тому

    You should buy that decent shampoo.... because your worth it

  • @canadianrepublican1185
    @canadianrepublican1185 Рік тому

    cut ur hair.

    • @akamatchstic
      @akamatchstic  Рік тому

      absolutely not!

    • @canadianrepublican1185
      @canadianrepublican1185 Рік тому

      @@akamatchstic
      I used to have hair just like urs. :)
      So gas generators on bigger drones . Why does this seem uncommon?

  • @박민재-m1s
    @박민재-m1s 2 роки тому

    hi, I'm making a drone. your drone is very awesome
    my project is using jetson. if I have a question about drone, can I email to you?

    • @박민재-m1s
      @박민재-m1s 2 роки тому

      how do you connect jetson nano and pixhawk from a software perspective? something I have to download?