Camera on Orange Pi 5 Pro
Forfield integrators
The Orange Pi 5 Pro is an RK3588S board, 89 x 56 mm, with a 40-pin header, four USB sockets, two MIPI camera connectors and 8 cores - the fastest board on the bench. It runs the same Sokil software as a ground-station board, so as a camera it takes a USB camera on one socket and the 5.8 GHz radio on another.
What you need
- The board, and a 5V 5A feed from its own BEC (see Power).
- A USB (UVC) camera - read Camera in before you plan any other kind.
- A WiFi card for the 5.8 GHz link, in one of the USB sockets.
- Three wires to the flight controller: TX, RX and GND.
- A microSD card with Armbian noble on it, and the Sokil installer (see Getting Sokil onto the board).
Getting Sokil onto the board
There is no Sokil image of its own for this board: Sokil installs on top of Armbian noble. The
installer is the installation/ directory inside the Ubuntu installer zip - unpack it on the board,
run installation.sh with no argument as root, and it detects the Orange Pi 5 Pro from the device
tree and runs its profile: packages, the Rockchip video stack, the WiFi drivers, ZeroTier and the
Sokil payload. Reboot afterwards and check that the web UI answers.
The UARTs are not part of that profile. Enable them yourself with armbian-config, which writes
the overlay list in /boot/armbianEnv.txt; the board on the bench carries
rk3588-uart0-m2 rk3588-uart4-m0 rk3588-uart6-m1 rk3588-uart7-m2. A UART with no overlay is not a
port at all, and setup's Hardware step says so rather than letting you pick it.
What the station calls this board
Core recognizes the Orange Pi 5 Pro from 2026-08-19 and reports its Board (parameter dev_board) as opi5pro; the bench box
answers exactly that on core 26.8.19. Then the Hardware page and every serial-port picker draw the
real board, with pins.
On older firmware the board reports arm64 instead, and that is a silhouette rather than a
drawing: no header and no UARTs, an on-board UART listed as a plain port under the picture, and USB
sockets filled in list order - so the picture says what is plugged in and that it has a socket, not
which one. Nothing is broken; you are just wiring from the vendor's pinout instead of from the page.
Update the device first.
Wiring
Kit picture: Camera on Orange Pi 5 Pro. The parts list below carries the same wiring.
Camera on Orange Pi 5 Pro
- Board: Orange Pi 5 Pro (RK3588S)
Parts
| Part | What it is | Attaches to | Link | Note |
|---|---|---|---|---|
| Flight controller | Flight controller | on UART4 (M0) (/dev/ttyS4) | TX/RX pair | comes up as /dev/ttyS4 - named by parameter vtx_mavfwd_serial |
| USB (UVC) camera | USB camera | on socket USB 2.0 under USB 3.1 | ||
| USB WiFi card | WiFi card | on socket USB 3.1 |
Power feeds
| Load | Voltage | BEC output (solder pads) | Note |
|---|---|---|---|
| Orange Pi 5 Pro - Header 5V | 5V | Matek BEC12S Pro - 5V, nothing bridged (factory default) | |
| USB WiFi card | ~14V | Matek BEC12S Pro - ~14V, 8V and 12V pads both bridged | sensitive - its own BEC |
Parameters the setup wizard writes for this kit
| Parameter | Value |
|---|---|
| vtx_mavfwd_enabled | 1 |
| vtx_eye_enabled | 1 |
Figure: The whole camera unit: UART4 on the M0 pins to the flight controller (TX pin 5, RX pin 3, ground on 6 or 9), the UVC camera on a USB 2.0 socket, the radio in the USB 3.1 socket, and a BEC each for the board and the card. Pin 1 is at the WiFi-module end of the header, on the row further from the board edge.
| UART | Port | TX pin | RX pin | GND | Use |
|---|---|---|---|---|---|
| UART4 (M0) | /dev/ttyS4 |
5 | 3 | 6 or 9 | core's default MAVLink Serial port (parameter vtx_mavfwd_serial) on this board |
| UART6 (M1) | /dev/ttyS6 |
16 | 18 | 14 or 20 | free |
| UART7 (M2) | /dev/ttyS7 |
26 | 24 | 25 or 20 | free |
| UART0 (M2) | /dev/ttyS0 |
36 | 38 | 34 or 39 | free |
| UART3 (M2) | /dev/ttyS3 |
40 | 37 | 39 or 34 | on the header, no overlay on the bench board |
| UART2 console | /dev/ttyFIQ0 |
8 | 10 | 6 or 9 | the 1.5 Mbaud system console - never a receiver or an FC |
Four things this board does that the others do not:
- A UART exists only when its overlay is on. The overlays are the
overlays=line in/boot/armbianEnv.txt, and a UART without one is absent from the port list entirely. The board on the bench carriesrk3588-uart0-m2 rk3588-uart4-m0 rk3588-uart6-m1 rk3588-uart7-m2and reports exactly those four plus the Bluetooth port. - The M suffix is a pin group, not a port number. UART4 comes out on pins 5 / 3 (M0) as drawn, and the same UART can be muxed to pins 23 / 19 (M2) instead. Wire the pair the overlay names, not whichever pins the silk suggests.
- The console is not a
ttySport. Pins 8 / 10 are/dev/ttyFIQ0, held by the kernel debugger, and never offered as a usable port. /dev/ttyS9is the on-board Bluetooth link. It is in the port list, has no header pins, and is drawn nowhere. Do not pick it.
Cross TX and RX to the flight controller - this board's TX to the FC's RX, RX to TX - and run the ground wire even when the two boxes are on different feeds.
Camera in
The board has four USB sockets down the left edge - one USB 3.1 and three USB 2.0, two of them behind an on-board hub - plus CAM1 and CAM2 MIPI connectors on the underside. Each socket carries its wfb0 / wfb1 tag on the picture: that is the name the station gives a radio by the socket it is in. The bench unit's own card sits in the USB 3.1 one.
A USB camera is the ordinary build: plug it in, and the Camera step's Device row opens the picker
with the camera on its socket. A pick writes the stable by-path link (the USB socket) when available, otherwise the reported
/dev/videoN node. Recheck a numbered node after devices are re-enumerated.
The CAM1 / CAM2 connectors are not a camera input for Sokil on this board. Sokil Eye reads a
CSI sensor only on the builds that report one - the IPC and the Luckfox, whose Sokil Eye form shows a
Sensor (parameter vtx_eye_sensor) or a Sensor native width (parameter vtx_eye_mipi_native_width) row - and
the build this board runs reports neither. So the camera picker offers no MIPI row here, and there
is nothing to switch the eye's Source type (parameter vtx_eye_source) to.
Plan a USB camera.
Capture on this board is proven in production: Orange Pi 5 Pro kits fly with a USB camera. The
bench unit has none, which is why the Hardware page (on the station: Hardware) names no camera there (parameter dev_video_info) - a fact about that one box, not about the board.
One trap the bench already hit: the box was found with the eye's Source type (parameter vtx_eye_source) on
testsrc, the pattern generator. Setup will not carry that forward, because a plan that produced color bars would look
like a success - but check the source if the board was configured by hand.
Power
5V 5A into header pin 2, ground on pin 6, from the board's own BEC. Orange Pi documents header powering with the note to switch back to Type-C if it is unstable; the USB-C socket is fixed 5V with no PD, so it needs a 5V 5A supply rather than a laptop charger. Nothing on a Sokil kit is powered from another board's rails - the full rule and the BEC settings are in Power and the BEC.
What setup asks and writes
Run Setup (on the station) against the camera. The normal sequence is Start, Role, Link, Link settings, Camera, Control, Switches, Hardware, Review. If the selected role needs activation, Activation appears after Role; a Board step follows when the device reports multiple board layouts. Pick Camera on Role and the transport on Link. The planned settings are written when you press Apply on Review. Activation, file imports, binding and software updates take effect separately and can change the device before Apply.
For a camera on the 5.8 GHz radio, setup's own writes are:
| Setting (VTX settings unless named) | Value | Why |
|---|---|---|
Streamers > Sokil Eye (parameter vtx_eye_enabled) |
on | the capture this board runs |
each eye's Codec > Rate control (parameters vtx_eye_rc_mode, vtx_eye2_rc_mode, vtx_eye3_rc_mode) |
cbr |
reduces bitrate bursts on a radio link with limited capacity |
Streamers > VTX IP (parameter vtx_ip) |
127.0.0.1 |
frames go to this box's own sender, which puts them on the link |
Connection > Radio (parameter vtx_ufec_wifi) |
UFEC | the WiFi transport |
Connection > UFEC streams: MAVLink FEC / Second MAVLink FEC (parameters vtx_ufec3_fec, vtx_ufec4_fec) |
4:2 |
parity on both MAVLink streams |
the same streams' Mode (parameters vtx_ufec3_mode, vtx_ufec4_mode) |
Low latency | how both MAVLink streams are sent - core's default, stated because a wired link differs |
Telemetry > MAVLink > Listen address (parameter vtx_mavfwd_in_addr) |
(empty) | the tunnel replies to whoever sent to it |
Telemetry > MAVLink > Send address (parameter vtx_mavfwd_out_addr) |
127.0.0.1:14550 |
telemetry off loopback |
Control > RC Wiring > RC input (parameter rc_ch_source) |
MAVLink | Sokil reads the sticks out of the flight controller's own MAVLink - there is no CRSF input on this box |
Streamers > Main video camera (parameter vtx_presets_streamer) |
Sokil Eye | the presets drive Sokil Eye |
It also switches the command streamers off (CMD Streamer and CMD
Streamer 2 (parameters vtx_cmd_enabled, vtx_cmd2_enabled)) and fills the four upper preset rungs - rungs 3 to
6 of VTX settings > Presets, their Picture column (parameters vtx_presets_2_res, vtx_presets_3_res, vtx_presets_4_res, vtx_presets_5_res, vtx_presets_2_fps, vtx_presets_3_fps, vtx_presets_4_fps, vtx_presets_5_fps) - at
1920x1080 30 fps.
Everything else comes from core's own defaults for this board, read off the device at the start of
the run. On the bench unit those defaults put the FC MAVLink port on /dev/ttyS4 at 115200, the
radio on wfb0, and the capture on v4l2 at 1280x720.
Setup writes the same rows on every full Linux board - a Raspberry Pi 5 and a Radxa Zero 3E get exactly this table too, because on such a board setup's own writes do not depend on the board. What does depend on the board is the baseline underneath them, and that is read off the device.
Flight controller side
The Sokil end is UART4 at 115200 unless you change it, and on a WiFi kit that link carries MAVLink
telemetry: the aircraft keeps its own RC receiver, and Sokil reads the sticks back out of the
MAVLink stream rather than injecting them. Set MAVLink 2 at 115200 on the FC's port, with
SYSID_MYGCS matching the camera's GCS SysId for UAV (parameter vtx_mav_gcs_sysid) (an expert-only row
on VTX settings > Telemetry > MAVLink); the rows for every firmware are in
Flight controller.
The rows that make the FC take its RC from this link - ArduPilot's RC_OPTIONS bit 0, Betaflight's
MAVLINK Serial RX (2025.12 or later), INAV's MAVLINK provider - belong to the kits where the sticks
ride it, which is RC to VTX MAVLink (parameter vtx_crsf_enabled) switched on with the RC input (parameter rc_ch_source)
on CRSF (ELRS), both on Control > RC Wiring: the Ethernet and Starlink cameras, not this one. Flight controller has them.
SERIALn / UARTn is the flight controller's own UART number, from its pinout - not this board's.
The Hardware page (on the station: Hardware) prints whichever rows your own configuration calls for.
First checks after Apply
- On Hardware (on the station), the FC port should be green. Amber "nothing heard" means a dead RX wire, TX and RX swapped, the wrong baud or a box that is off; "FC does not hear us" means our own TX side. The byte counters under the row say whether anything ever moved.
- The camera should appear under USB devices, on the socket you plugged it into.
- Diagnostics (on the station) lists what the device itself found wrong.
- Then bind the camera to its ground station and run the checks in After Apply.
Related guides
- Choose a board - what this board gives you against the others.
- How setup works - the diff, the version lock, what it never writes.
- Flight controller - every link Sokil presents to an FC.
- Binding - pairing this camera to its ground station.
- After Apply - the checks to run before the first flight.
- Power and the BEC - one BEC per box, and the jumper table.