index

MAVProxy on Raspberry Pi

Hardware

  • Raspberry Pi (tested on a Raspberry Pi Zero 2 W)

Software

  • Raspberry Pi OS (tested on Raspberry Pi OS Lite 64-bit)

Update and Upgrade

sudo apt-get -y update && sudo apt-get -y upgrade

Enable Serial Interface

  1. Open raspi-config
sudo raspi-config
  1. Select Interface Options

  2. Select Serial Port

  3. Say No for Login Shell

  4. Say Yes to enable Serial Hardware

Install Dependencies

sudo apt-get install python3-dev python3-opencv python3-future python3-pip python3-matplotlib python3-lxml python3-pygame

Install MAVProxy

python3 -m pip install PyYAML mavproxy --user --break-system-packages
echo 'export PATH="$PATH:$HOME/.local/bin"' >> ~/.bashrc

Add User to Dialout Group

sudo usermod -a -G dialout $USER

Reboot

sudo reboot