OPENHD with ardupilot multi vehicles link review


here is a post to share the progress of setup 5 pairs OPENHD both video and mavlink telemetry in same LAN

Hardware Prepare

  1. OPENDHD Ground (RPI 4B with a 4.3 inch screen, RTL8812eu as RF adapter, screen is not necessary here, but helpful for debugging, need proper heatsink, use simple custom PCB here)
  2. OPENHD Air(Pi zero 2W + RPI camera V3, RTL8812eu as RF adapter, need proper heatsink,use simple custom PCB here)
  3. 8 port 1 Gbps Switch and cables
  4. 5 group of ArduCopter setup(with SYSID from 1 to 5, Telem port connect to OPENHD air with mavlink protocol)

*RTL8812eu module doesn’t have FCC and CE certification

Issue to solve

  1. release RTL8812eu driver not support scaning all 5.8G channel, thanks OPENHD team solved it during the progress
  2. default OPENHD Ground only stream UDP H264 video on port 5600, mavlink UDP on port 14450(no need to change here) no params to change it, so have to build from source and add this feature

OPENHD development setup

  1. use a x86 ubuntu 22.04 mini PC( security boot disabled on bios), not recommand to use your currently working ubuntu, I will use a plain new system here, I am mac user anyway
  2. OpenHD has dep install script, so it’s quite easy to setup the build env, I will still coding on my mac and run gdbserver on ubuntu, so I can set breakpoints on my mac vscode
  3. QOPENHD can be easliy install using apt install (pretty awesome), change RDP port in the gui for video display

    4.Wireshark with mavlink lua plugin to debugging network layer

After success add the port configure feature, compile it again in RPI platform and add below params inside /boot/openhd/hardware.config

NW_FORWARDING_VIDEO_PORT = 5600
NW_FORWARDING_TELEMETRY_PORT = 14550
#5610 for sysid 1, 5620 for sysid 2 etc

Issue to worry

  1. signal interference
  • PlanA just to use OHD1-5(total 7 in OPENHD link) for each pair
  • PlanB base on PlanA, use left/right spiral antenna pair(not verified yet, Plan A works)

Setup
5 ground and 1 PC will both connected to the same switch, I use my mac here and setup network share, so it will be 192.168.2.1 and also provide a dhcp server, all ground will screaming to 192.168.2.1, OPENHD ground need to setup Ethernet to “FORWARD + INTERNET”, using 5 gst-launch to display the video and qgc to connect the mavlink UDP, it works!

gst-launch-1.0 udpsrc port=5610 ! application/x-rtp,media=video,clock-rate=90000,encoding-name=H264 ! rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! autovideosink sync=false


Links

8 Likes

Interesting setup.

Which hardware did you use for the transmitter and receiver?

Do you know of any high power 2.4ghz transmitters?

I would like to use the same link of OPEHHD(5.8G) and do mavlink RC, but not easy to find a RC style USB joystick, ELRS TX RC can do that role, but at this point adding another tiny ELRS RX to the drone make more sense, so the RC is ELRS with backpack, you can put another backpack TX to the drone and act as RX for “high power”

it will be solve if you can get steamdeck

btw, will the wfb-ng on TX side compatible with OpenHD ground station? if so i want to try it

1 Like

The hardware architecture should be the same, For RTL8812AU driver I remember is from the same fork, OPENHD modified a lot

But what exact hardware do you use on the UAV/drone?

Jumper T Pro, backpack and RX

And the opnhd/wifi hardware we can see here: https://discuss.ardupilot.org/uploads/default/optimized/3X/4/e/4e481b45cebff41761240b1ad7d343b483e9526b_2_333x250.jpeg

What is it?

Raspberry pi zero2 w stack with RTL8812EU module (usb connection between)

do you mean this module? I cant find your specific RTL8812EU module. Can you please link it?

Yes, same 8812EU module shows in OPENHD docs

Hi! That is nice!

Do have a preffered vendor or a link for the wifi module?
cheers

check this https://www.lb-link.com/M8812EU2-2T2R-802-11a-n-ac-WiFi-Module-pd548696668.html?searchValue=M8812EU2%202T2R%20802.11a%2Fn%2Fac%20WiFi%20Module

I made my own PCB base board to solder it on and make it easy to mount the heatsink and wiring

2 Likes

Is the PCB open source? I think this would make live lot easier to integrate it into actual drones.

wow yes i can confirm it just working straight forward no need setting anything

my setup
OpenIPC with wfb-ng (wifibroadcast)
H256

but the problem is, the image only showed once (at startup) and then freeze, any idea why? btw i use OpenHD (android version)

1 Like

it’s just an empty pinout board to hold the module and heatsink

this is how the PCB looks like, if necessary I can share the KiCAD project, but just very simple PCB,air side shape to fit a pi zero stack, you don’t even need them if you can wire and install the module properly