Materials

  • Companion computer:Rasp Pi 2, Rasp Pi 3 B, Rasp Pi 3 B+

  • Flight controller: Pixhawk

  • Micro SD card: Minium 8 GB, and Class 10

  • Camera: Pi Cam V1, Pi Cam V2, Logitech camera ( C270, C310, C510, C720, C920 etc...) and others CSI, USB camera.

  • D-Com or Wifi usb devices: E3372 (Tested) or others (autoconnect are recommended)

  • UBEC: HobbyKing™ HKU5 5V/5A UBEC or more, you must minium 5V-3A

  • Direct Cable or USB USART for connecting ( companion computer - flight controller )

With Rasp Pi 2, 3 B, 3 B+ you have many option for buid:
  • Connect Rasp Pi to Pixhawk via Direct Cable or USB USART

  • Choose USB camera or CSI camera

Configuring Pixhawk Autopilot

The baudrate on companion computer must same the baudrate (telemery2) on Pixhawk

  • With PX4: SER_TEL2_BAUD (Default 921600), you should change 57600 for stable and save data

  • With ArduPilot: SERIAL2_BAUD (Default 57, it means 57600), SERIAL2_PROTOCOL: 2 (MAVLink 2)

Telemetry Connection

For connect pi to Pixhawk, you have 2 method
  • Method Direct Cable: Connect the Pixhawk’s TELEM2 port to the RPi’s Ground, TX and RX pins as shown in the image

  • Do not connect VCC-Pixhawk to 5V-RaspPi

  • Method USB USART( CP2102, PL2303 or others ): Connect the Pixhawk’s TELEM2 port to the USB USART’s Ground, TX and RX pins as shown in the image

  • Do not connect VCC-Pixhawk to 5V-USB USART