Free YouTube views likes and subscribers? Easily!
Get Free YouTube Subscribers, Views and Likes

How To Connect PixHawk to Raspberry Pi and NVIDIA Jetson

Follow
aka: Matchstic

Preflight checklist: companion computer ✅

In this tutorial, I show you how to connect your PixHawk to both the Raspberry Pi, and an NVIDIA Jetson (a Nano in this case). This includes:

Soldering a serial cable that connects to the telemetry port (TELEM2)
Which GPIO pins you need to use
How to setup MAVProxy and its dependencies

The steps shown should also work for newer models of the PixHawk (eg, Pix32v5, Pixracer, Hex Cube). Just make sure to pay attention to the cable soldering everything else should remain the same.

A203 Carrier Board Seeed Studio
https://www.seeedstudio.com/A203Carr...

↓ Scroll down for the terminal commands ↓

Special appearance: Sasha Walters (dog)
Thanks to: Seeed Studio (https://www.seeedstudio.com/)

Chapters
00:00 Introduction
00:49 Serial cable for PixHawk
02:21 Software setup
02:42 Jetson Nano GPIO to PixHawk
03:41 MAVProxy installation (Jetson Nano)
04:54 Raspberry Pi GPIO to PixHawk
05:41 MAVProxy installation (Raspberry Pi)
08:28 Wrapping up

Social Stuff

Twitter:   / akamatchstic  
Patreon:   / akamatchstic  

⚙ Commands

(copy/paste without the $)

Jetson Nano:

$ sudo aptget update
$ sudo aptget install pythonpip python3pip
$ sudo aptget install python3dev python3opencv python3wxgtk4.0 python3matplotlib python3lxml libxml2dev libxsltdev
$ sudo pip install PyYAML mavproxy
$ sudo mavproxy.py master=/dev/ttyTHS1

Raspberry Pi:

$ sudo raspiconfig
$ sudo nano /boot/config.txt
$ sudo reboot
$ sudo aptget update
$ sudo aptget install python3pip
$ sudo aptget install python3dev python3opencv python3wxgtk4.0 python3matplotlib python3lxml libxml2dev libxsltdev
$ sudo pip install PyYAML mavproxy
$ sudo mavproxy.py master=/dev/ttyAMA0

Links

MAVProxy with systemd
https://github.com/Matchstic/MAVProxy...

Music

BVG x møndberg insomnia
Listen:    • BVG x møndberg – insomnia  

BVG x møndberg The World At Night
Listen:    • BVG x møndberg – The World at Night  

Kanisan x no one's perfect Gentle Wind
Listen:    • no one's perfect x Kanisan – Gentle Wind  

BVG x møndberg Fireplace
Listen:    • BVG x møndberg – Fireplace  

Keywords: NVIDIA Jetson Nano, Raspberry Pi, PixHawk, MAVProxy, serial

posted by papatkiti