> **Sokil documentation pack**
> Language: English
> Station software: 20261126_usb_cameras
> UI build: c6b2dc620
> Generated: 2026-11-26
> Generated by the Sokil ground station UI from the documentation it ships. Download it again after every software update - the pack describes the version it was generated from.

<a id="camera-ipc-usb"></a>

# IPC camera with a thermal or USB camera

**Summary:** Add a USB camera to an IPC board, switch between the two pictures or transmit both, over WiFi with a powered USB hub or over Ethernet and ZeroTier.

**Audience:** field integrators

Open in the UI: http://10.1.1.30/help/guides/camera-ipc-usb

Keep the IPC's built-in camera and add a **USB UVC camera**: a thermal camera, a visible-light
camera, or a compatible USB capture device. This guide starts with **one picture at a time**, selected
by a switch on the handset, then shows how to send both pictures together.

The USB connection is on the aircraft. The link to the ground can be **WiFi**, **Ethernet/fiber** or
**ZeroTier**; that choice changes the wiring and link settings, but not how you select the USB camera.

<a id="camera-ipc-usb--before-you-start"></a>

### Before you start

- Get the IPC's built-in camera working over your chosen link first. Use the
  [IPC WiFi guide](camera-wifi-ssc338q.md#camera-wifi-ssc338q),
  [Ethernet/fiber guide](camera-ethernet-fiber.md#camera-ethernet-fiber) or
  [ZeroTier guide](camera-starlink-zerotier.md#camera-starlink-zerotier) for the initial setup and binding.
- Use admin access to the IPC's **Hardware**, **VTX settings** and **Control** pages. Select the
  aircraft camera you are configuring, not the station or radio head.
- Have the USB camera, a short shielded USB lead, and a 5V supply sized for the camera and hub.
  For WiFi, use the **USB hub expansion module**, article `USB-HUB`, listed under
  [Supported hardware](supported-hardware.md#supported-hardware).

**Check the camera's output format before choosing it.** A USB connector alone does not make a
camera compatible. On an IPC, use a camera offering **YUYV/YUY2**; UYVY is also supported for
compatible capture devices. The stock IPC build does not decode MJPEG, and a UVC camera offering
only H.264 is not a supported input. See
[USB camera compatibility](camera-compatibility.md#camera-compatibility--usb-cameras-uvc).

A 640 thermal camera may offer **640x512 at 30 fps in YUY2**. Use that only when your device
reports it; other thermal models and visible-light cameras have their own modes. The recorded
SSC338Q dual-camera test used its built-in camera at 1080p alongside a USB camera at 480p.
That is not a promise that an arbitrary HD USB camera or every IPC revision will work at full rate.

<a id="camera-ipc-usb--choose-the-wiring"></a>

### Choose the wiring

| Ground link | IPC USB connection | IPC network connection |
| --- | --- | --- |
| WiFi radio | IPC USB host -> powered hub -> USB camera and WiFi card | not needed for the video link |
| Ethernet/fiber | IPC USB host -> USB camera; a hub is needed only for additional USB devices | native Ethernet -> cable or fiber converter -> ground |
| ZeroTier | IPC USB host -> USB camera; a hub is needed only for additional USB devices | native Ethernet -> router or Starlink network -> ZeroTier |

The Ethernet and ZeroTier paths here use the IPC's **native Ethernet**. If your network connection
itself uses a USB adapter, it also needs space on the hub.

<a id="camera-ipc-usb--wifi-the-radio-and-usb-camera-share-a-hub"></a>

#### WiFi: the radio and USB camera share a hub

1. Disconnect power. Locate the board's USB **D+**, **D-** and **GND** using the
   [IPC board wiring](camera-wifi-ssc338q.md#camera-wifi-ssc338q--wiring). Board revisions have different pads;
   do not infer a pad's voltage from its position or an old silk label.
2. Connect the IPC USB data pair and ground to the hub's **upstream/host** connection.
   Connect the USB camera to a downstream port.
3. Move the WiFi card's **D+**, **D-** and **GND** to another downstream port. Keep its power
   on its separate feed; do not connect that feed to the hub's 5V rail.
4. Feed the hub **5V from a BEC**. The USB camera takes its 5V from that powered hub.
   Leave the power/VCC wire between the hub and IPC disconnected so the hub does not back-feed
   the IPC's USB power rail. Keep the data ground connected.
5. Keep the thermal camera's lead short and shielded. Twist the radio's D+ / D- pair and keep
   its USB run under 50 cm. Fit the radio's antennas or required terminators before applying power.

The built-in MIPI camera stays connected to the IPC as before. There is only one USB host port;
the hub is what lets the USB camera and radio use it together.

<a id="camera-ipc-usb--ethernet-or-zerotier-the-usb-port-is-available"></a>

#### Ethernet or ZeroTier: the USB port is available

1. Disconnect power. Connect the USB camera's **D+**, **D-** and **GND** to the IPC USB host
   connection identified in the same [board wiring guide](camera-wifi-ssc338q.md#camera-wifi-ssc338q--wiring).
2. Supply the USB camera with **5V from its BEC**, keeping ground common with the IPC. Do not
   connect the camera's 5V to an IPC USB power pad of a different voltage. A powered USB hub may
   also provide this connection; wire its upstream data and power isolation as above.
3. Connect the IPC's native Ethernet to the fiber converter, wired network or router used by
   ZeroTier. Follow that link's guide for its Ethernet connector and network settings.

No WiFi radio is needed for this path. A USB serial adapter or another USB peripheral still requires
a hub when it shares the IPC's USB port with the camera.

<a id="camera-ipc-usb--power-the-three-loads-correctly"></a>

### Power the three loads correctly

For a **12V IPC build**, the IPC and USB side need **two BECs**, even without a WiFi card:

| Load | Supply | Where it goes |
| --- | --- | --- |
| 12V IPC camera board | 12V BEC | the board's rated power input |
| USB hub and USB camera | separate 5V BEC | hub power input, then the camera's USB supply; directly to the USB camera if no hub is used |
| Compatible high-power WiFi card, battery up to 6S | separate battery feed, only within the card's rated input range at full charge | the card's power input; only data and GND go to the hub |
| Compatible high-power WiFi card, battery 8-12S | its own 12V BEC | the card's power input; only data and GND go to the hub |

On 8-12S that WiFi build therefore has **three BECs**. A 5V-only WiFi card always needs its own
5V supply; the direct-battery and 12V options are only for cards rated for them. Do not take the
card's power through the flight controller's battery pads or the ESC rail.

**MINIIPC is the 5V exception.** It must not receive 12V. Its board, hub and USB camera may share
one suitably sized 5V BEC; the radio keeps its separate feed. Check the
[IPC power table](camera-wifi-ssc338q.md#camera-wifi-ssc338q--power) for the exact board, including RunCam and Wyvern.

All USB data connections need a common **GND**, even when the positive supplies are separate.
A BEC's voltage-selection pads select its single output; they are not separate 5V and 12V outputs.
See [Power and the BEC](power-bec.md#power-bec) for regulator settings and current ratings.

<a id="camera-ipc-usb--select-and-configure-the-usb-camera"></a>

### Select and configure the USB camera

Power the assembly and open the IPC's [Hardware page](http://10.1.1.30/cam/hardware). Confirm that **USB devices**
lists the camera and, on WiFi, the hub and radio. Identify the camera's capture device by its name.
Prefer a stable `/dev/v4l/by-id/...` path when available; `/dev/video0` is not a permanent identity.

In [VTX settings](http://10.1.1.30/cam/vtx-settings), open **Streamers > Streams**:

1. Keep **Main video** (parameter `vtx_presets_streamer`) on **Sokil Eye**, the working built-in camera.
2. Click **Add a switched camera** and pick **Sokil Eye 2** for
   **Alternate camera** (parameter `vtx_presets_streamera`). Keep **Second video** (parameter `vtx_presets_streamer2`)
   at **None** for this switching setup.
3. Expand **Alternate camera**. In **Pipeline > Source**, set **Source type** (parameter `vtx_eye2_source`)
   to **V4L2**, then select the USB camera's capture path in **Device** (parameter `vtx_eye2_device`).
   Set **Input format** (parameter `vtx_eye2_input_format`) to `yuyv` for a YUYV/YUY2 camera.
4. In **Codec**, set **Resolution** (parameter `vtx_eye2_res`) and **FPS** (parameter `vtx_eye2_fps`) to a mode
   the camera offers in that format. For a matching 640 thermal, use `640x512` and `30`.
   Set **Codec** (parameter `vtx_eye2_codec`) to H.265.
5. Set **Rate control** (parameter `vtx_eye2_rc_mode`) to **CBR (constant)** for WiFi, or
   **AVBR (capped average)** for Ethernet/ZeroTier, matching the link's setup guide.
6. Click **Apply changes** on this page before opening Control.

Picking the slot sets its destination port for you. Both **Main video** and **Alternate camera**
show `5600` because only one will transmit at a time. Leave the alternate off until the switch
selects it; do not manually enable both cameras on that port.

<a id="camera-ipc-usb--switch-between-the-pictures"></a>

### Switch between the pictures

1. Open **Control > RC Actions** on the IPC and assign **Alternate camera switch** (parameter `rc_act_vtx_streamer_sw`)
   to the handset channel you want to use. Choose a channel that is not already needed for another
   action. Use this action, not **Camera switch** (parameter `rc_act_vtx_cam_sw`).
2. Apply the settings. Verify that moving the handset switch changes that channel on the IPC's
   RC display; a working video link alone does not prove the IPC receives the switch channel.
3. Open the pilot laptop's **Fly** view. Move the switch through both positions: the same main
   video pane should show the built-in camera in one position and the USB camera in the other.
   In **Streams**, the two cameras should show **On air** (parameters `vtx_eye_enc`, `vtx_eye2_enc`)
   by turns, never together.

On a WiFi aircraft, follow the existing [handset/FC wiring](channels-switches.md#channels-switches) so the
IPC receives those RC channels. On Ethernet or ZeroTier, use the RC path configured for that link.

The alternate camera shares the main preset's **bitrate**, but keeps its own **resolution and FPS**.
Keep the built-in camera as Main and the thermal as Alternate, so changing a video preset does not
replace the thermal camera's capture mode. A bitrate entered directly on the alternate is not an
independent fixed thermal bitrate: presets and Adaptive Link can change it.

At power-on without an RC signal, the main camera is selected. If the RC signal disappears after
a camera has been selected, that picture stays selected. Check switching again after a full restart.

<a id="camera-ipc-usb--send-both-pictures-at-once"></a>

### Send both pictures at once

Use this when you want both views available on the ground continuously and the link has enough
capacity for both. The hardware wiring stays the same.

1. Select the built-in camera with the handset switch first. In **Control > RC Actions**, clear
   **Alternate camera switch** (parameter `rc_act_vtx_streamer_sw`) to `0` (unassigned) and click
   **Apply changes** before returning to VTX settings.
2. In **Streamers > Streams**, set **Alternate camera** (parameter `vtx_presets_streamera`) to **None**,
   then select **Sokil Eye 2** for **Second video** (parameter `vtx_presets_streamer2`) before applying.
   The picker cannot put the same camera in two slots. Keep **Main video** on **Sokil Eye**.
3. Check the displayed ports: Main is `5600`, Second video is `5610`. The USB camera keeps the
   source, device, format, resolution and FPS you configured above. Apply the complete change.
4. Review the second video's bitrate in **VTX settings > Presets**. It uses the preset's
   **Bitrate 2** (parameter `vtx_presets_0_bitrate2`), while its resolution and FPS stay in Eye 2's
   **Codec** tab. A second-video preset bitrate of `0` leaves its bitrate unchanged; configure the
   intended value instead of assuming that `0` stops the stream. Both streams share the available
   link capacity; apply and test the presets you intend to use.
5. Both rows should now show **On air**. In **Fly**, use **Columns**, **Rows** or **Float** to
   show the main and second video panes together. See [Fly view](fly-view.md#fly-view--three-panes-four-layouts).

For WiFi, check both pictures at the intended radio settings and with the transmitter under load.
For Ethernet/ZeroTier, keep the transport settings from the corresponding link guide; changing the
USB slot does not configure or bind the network link.

<a id="camera-ipc-usb--checks-before-flight"></a>

### Checks before flight

1. After a full power cycle, the USB camera is still detected and its selected device path is correct.
2. In switching mode, each switch position gives a live picture; in simultaneous mode, both panes
   show live video. Check motion in each view, not just a frozen last frame.
3. Try every video preset you plan to use. The thermal/USB camera keeps its supported resolution
   and FPS, and the link carries the selected picture or both pictures without persistent stalls.
4. Check video, telemetry and RC together with the radio transmitting, then use the
   [first-flight checklist](first-flight.md#first-flight).

For a missing USB camera, a camera that freezes or a radio that disconnects under load, use
[Camera troubleshooting](troubleshooting-camera.md#troubleshooting-camera) and
[Power troubleshooting](troubleshooting-power.md#troubleshooting-power). The IPC cannot recover every USB fault by
itself; a persistent camera stall may need the USB camera's power cycled after the wiring is checked.

<a id="camera-ipc-usb--related-guides"></a>

### Related guides

- [IPC board wiring and pinouts](camera-wifi-ssc338q.md#camera-wifi-ssc338q)
- [Camera compatibility and thermal cameras](camera-compatibility.md#camera-compatibility)
- [Ethernet/fiber camera](camera-ethernet-fiber.md#camera-ethernet-fiber)
- [Starlink/ZeroTier camera](camera-starlink-zerotier.md#camera-starlink-zerotier)
- [Power and the BEC](power-bec.md#power-bec)
- [RC channels and switches](channels-switches.md#channels-switches)
