Sections
MD

IPC camera with a thermal or USB camera

Forfield integrators

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.

Before you start

  • Get the IPC's built-in camera working over your chosen link first. Use the IPC WiFi guide, Ethernet/fiber guide or ZeroTier guide 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.

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.

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.

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.

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. 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.

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.
  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.

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 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 for regulator settings and current ratings.

Select and configure the USB camera

Power the assembly and open the IPC's Hardware page (on the station: 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 (on the station), 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.

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 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.

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.

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.

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.

For a missing USB camera, a camera that freezes or a radio that disconnects under load, use Camera troubleshooting and Power troubleshooting. 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.

On this page

Search the documentation

Start typing. The up and down arrows choose, Enter opens, Esc closes.