> **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="handset-crsf"></a>

# Handset, CRSF adapter and transmitter modules

**Summary:** How the pilot's radio reaches Sokil - the ESP32 adapter on USB, the USB-joystick path, the transmitter modules, and the baud rates that are not the same number.

**Audience:** pilots and field integrators

Open in the UI: http://10.1.1.30/help/guides/handset-crsf

The ground station never reads a bare CRSF wire from your radio. Between the handset and it sits
a small **ESP32 / ESP32-C3 adapter** running Sokil's crsf_inverted_reader firmware: it plugs into
USB on one side and into the radio's module bay on the other. From there the sticks travel as CRSF
over UDP to whichever box has to act on them.

**A radio that speaks MAVLink is a different path and is not on this page.** Skyline LRS, ELRS in
MAVLink mode and SineLink hand the station the channels as MAVLink rather than as CRSF, with no
adapter anywhere - [a radio that speaks MAVLink](mavlink-radio.md#mavlink-radio) is that one. Everything
below assumes CRSF.

<a id="handset-crsf--the-two-topologies"></a>

### The two topologies

**The adapter plugs into the pilot's laptop.** That is the one rule to carry through this page: the
laptop running Sokil reads the handset, and a Raspberry Pi or Radxa station is never switched over
to read it. A station box's job is the radio, not the sticks. Set the laptop up first -
[Sokil on the pilot's laptop](pilot-laptop.md#pilot-laptop) - and plug the adapter in there. (The one
exception is a MAVLink radio, which a radio head can read over the network itself.)

**The standard WiFi kit routes control through the ground equipment.** The path is handset →
ESP adapter in its JR module bay → USB to the laptop → CRSF over UDP to the selected WiFi ground
station → ELRS transmitter in that station's JR bay → ELRS receiver on the aircraft → flight
controller. The camera reads the FC's RC channels over MAVLink for its own switches; flight control
uses the ELRS radio hop rather than the WiFi video hop.

The laptop's CRSF **Input** is _Serial (UART)_ on the USB adapter's **Serial port** (parameter `rc_crsf_serial`), and its
**Output** is _Send RC over UDP_ to the selected device (parameter `rc_ip`), port 14540. The WiFi station receives those channels
and forwards them to its ELRS transmitter. It also reads the channel switch (CH10 by default) so
its WiFi receiver changes frequency with the camera. The adapter, transmitter-module and radio-head
sections below all apply to this route.

**The active vehicle selects the RC destination too.** Switching away stops the CRSF feed to the
previous WiFi station. Its ELRS transmitter then has no channel input, so the aircraft's receiver
reports RC loss and the FC enters its configured RC failsafe. The separate ELRS radio hop does not
make this route independent of the laptop's selection. A separately configured, direct
handset-to-aircraft ELRS link is a different topology; verify your actual wiring before assuming it.

The CRSF card named below lives on the **RC Wiring** tab of [Control](http://10.1.1.30/gs/control-settings), which
only an admin sees; a pilot reads this page to know what is plugged where, and leaves the rows to
the admin who set the station up.

**Sokil drives a flight controller.** On an Ethernet or Starlink aircraft the RC arrives over IP
instead, on the CRSF card's **Listen address (in)** (parameter `rc_crsf_in_addr`). Setup runs it into the
FC as MAVLink RC overrides: the **RC to VTX MAVLink** group on the RC outputs card is switched
on (parameter `vtx_crsf_enabled`) with its **Input** (parameter `vtx_crsf_source`) on _Main RC_ - the channels the
CRSF card has just received (older software has no **Input** row and reads an empty **CRSF listen
address** (parameter `vtx_crsf_in_addr`) the same way). The
card can also put real CRSF back on a wire - **Output** _Serial (UART)_, that UART on the FC's CRSF /
RC pad, the FC's serial RX protocol set to CRSF.

When the sticks stop reaching Sokil, it stops sending them to the flight controller and the flight
controller's own failsafe takes over - expected, and a little later than with a receiver wired
straight to the FC (up to about a second on Sokil's Betaflight build). Set that failsafe in the FC
as usual; [The failsafe starts later when Sokil sends the sticks over
MAVLink](troubleshooting-flight-controller.md#troubleshooting-flight-controller--the-failsafe-starts-later-when-sokil-sends-the-sticks-over-mavlink)
has the detail.

![The handset reaches Sokil through a USB adapter, then travels as CRSF over UDP](../img/handset-crsf.svg)

Diagram: The handset reaches Sokil through a USB adapter, then travels as CRSF over UDP - img/handset-crsf.svg (vector: img/handset-crsf.svg)

<a id="handset-crsf--the-baud-rates"></a>

### The baud rates

The module bay, USB adapter and direct receiver UART use different rates. Match each serial
input to the device driving it; an adapter's USB rate is not its module-bay rate.

| Where                                          | Value                       | Set by                                           |
| ---------------------------------------------- | --------------------------- | ------------------------------------------------ |
| Adapter to Sokil, over USB                     | **Baudrate** (parameter `rc_crsf_baud`) = **460800** | the CRSF card; setup writes it on every ground station |
| Radio to adapter, the inverted CRSF line       | **400000** or **115200** | the radio's external RF menu, set to the rate **Adapter firmware** (parameter `rc_crsf_module_baud`) shows - 400000 on the shipped adapters |
| A WiFi-out repeater's UART on the ELRS TX line | **Baudrate** (parameter `rc_crsf_baud`) = **400000** | setup writes it; repeater RX and TX are configured for this rate |
| Stock ELRS receiver wired directly to a station UART | **Baudrate** (parameter `rc_crsf_baud`) = **420000** | receiver's UART setting; no ESP adapter |

**Baudrate** (parameter `rc_crsf_baud`) is the **Sokil-to-adapter** speed, so leave it at 460800 wherever an adapter is in
the picture. Set the radio's module bay to the rate the CRSF card's **Adapter firmware**
row (parameter `rc_crsf_module_baud`) shows - **400000** on the shipped adapters, 115200 on a `_115k` build.
The module-bay setting and USB baud are different interfaces.

The exception is a repeater whose output is WiFi: there is no USB adapter on that box at all, and
its header UART's RX pin is wired straight onto the ELRS receiver's CRSF line. In this repeater
configuration the receiver and the directly fed ELRS transmitter are both configured for 400000. A ZeroTier-out repeater drives a module over USB like a station
does and keeps 460800.

Board picture: Radxa ZERO 3E. The tables below carry the same pins, sockets and power inputs.

#### Radxa ZERO 3E (RK3566, Gigabit Ethernet)

- Reported by the device as dev_board: radxa3e
- Board size: 65 x 30 mm
- Highlighted on the picture: UART3 (/dev/ttyS3), UART5 (/dev/ttyS5), UART9 (/dev/ttyS9).

##### Connectors and sockets

| Connector | Kind | Edge | USB port path | Note |
| --- | --- | --- | --- | --- |
| RK3566 | chip |  |  |  |
| RAM | chip |  |  |  |
| USB-C OTG / 5V in | usb-c | bottom | 1-1 |  |
| USB-C 3.0 host | usb-c | bottom | 6-1, 7-1 |  |
| micro HDMI | hdmi | bottom |  |  |
| microSD | sd | right |  | on the back of the board |
| MASKROM | button |  |  | on the back of the board |
| Ethernet | eth | left |  |  |
| CSI | csi |  |  | on the back of the board |
| PoE | pads |  |  |  |

##### Header pins: GPIO

| Pin | Label | Type | Function here |
| --- | --- | --- | --- |
| 1 | 3V3 | 3v3 |  |
| 2 | 5V | 5v | Header 5V |
| 3 | GPIO1_A0 | uart | UART3 RX |
| 4 | 5V | 5v |  |
| 5 | GPIO1_A1 | uart | UART3 TX |
| 6 | GND | gnd | UART3 Ground; UART2 console (pins 8/10) Ground; Header 5V Ground |
| 7 | GPIO3_C4 | pwm | PWM14_M0 |
| 8 | GPIO0_D1 | uart | UART2 console (pins 8/10) TX |
| 9 | GND | gnd | UART3 Ground; UART2 console (pins 8/10) Ground |
| 10 | GPIO0_D0 | uart | UART2 console (pins 8/10) RX |
| 11 | GPIO3_A1 | gpio |  |
| 12 | GPIO3_A3 | gpio | I2S3_SCLK_M0 |
| 13 | GPIO3_A2 | gpio | I2S3_MCLK_M0 |
| 14 | GND | gnd | UART4 Ground |
| 15 | GPIO3_B0 | gpio |  |
| 16 | GPIO3_B1 | uart | UART4 RX |
| 17 | 3V3 | 3v3 |  |
| 18 | GPIO3_B2 | uart | UART4 TX |
| 19 | GPIO4_C3 | spi | SPI3_MOSI_M1, I2S3_SCLK_M1, PWM15_IR_M1 |
| 20 | GND | gnd | UART4 Ground; UART9 Ground |
| 21 | GPIO4_C5 | uart | UART9 TX |
| 22 | GPIO3_C1 | gpio | I2S1_SDO2_M2 |
| 23 | GPIO4_C2 | spi | SPI3_CLK_M1, I2S3_MCLK_M1, PWM14_M1 |
| 24 | GPIO4_C6 | uart | UART9 RX |
| 25 | GND | gnd | UART9 Ground |
| 26 | GPIO4_D1 | spi | SPI3_CS1_M1 (NC on some revisions) |
| 27 | GPIO4_B2 | i2c | I2C4_SDA_M0 (pull-up) |
| 28 | GPIO4_B3 | i2c | I2C4_SCL_M0 (pull-up) |
| 29 | GPIO3_B3 | gpio |  |
| 30 | GND | gnd | UART5 Ground |
| 31 | GPIO3_B4 | gpio |  |
| 32 | GPIO3_C2 | uart | UART5 TX |
| 33 | GPIO3_C3 | uart | UART5 RX |
| 34 | GND | gnd | UART5 Ground |
| 35 | GPIO3_A4 | gpio | I2S3_LRCK_M0 |
| 36 | GPIO3_A7 | gpio |  |
| 37 | GPIO1_A4 | gpio | I2S1_SCLK_RX_M0 |
| 38 | GPIO3_A6 | gpio | I2S3_SDI_M0 |
| 39 | GND | gnd |  |
| 40 | GPIO3_A5 | gpio | I2S3_SDO_M0 |

##### Pads: PoE

| Pin | Label | Type | Function here |
| --- | --- | --- | --- |
| 1 | POE12 | other |  |
| 2 | POE34 | other |  |

##### Serial ports (UARTs)

| UART | Device node | TX | RX | Ground | Note |
| --- | --- | --- | --- | --- | --- |
| **UART3** | /dev/ttyS3 | Pin 5 (GPIO) | Pin 3 (GPIO) | Pin 6 (GPIO), Pin 9 (GPIO) | Enabled by an rk3568-uartN overlay in armbianEnv.txt - absent from the list until then. |
| UART4 | /dev/ttyS4 | Pin 18 (GPIO) | Pin 16 (GPIO) | Pin 14 (GPIO), Pin 20 (GPIO) | Enabled by an rk3568-uartN overlay in armbianEnv.txt - absent from the list until then. |
| **UART5** | /dev/ttyS5 | Pin 32 (GPIO) | Pin 33 (GPIO) | Pin 30 (GPIO), Pin 34 (GPIO) | Enabled by an rk3568-uartN overlay in armbianEnv.txt - absent from the list until then. |
| **UART9** | /dev/ttyS9 | Pin 21 (GPIO) | Pin 24 (GPIO) | Pin 20 (GPIO), Pin 25 (GPIO) | Enabled by an rk3568-uartN overlay in armbianEnv.txt - absent from the list until then. |
| UART2 console (pins 8/10) | /dev/ttyFIQ0 | Pin 8 (GPIO) | Pin 10 (GPIO) | Pin 6 (GPIO), Pin 9 (GPIO) | the system console - a getty is already talking on it - System console at 1.5 Mbaud, held by the kernel debugger - not a usable serial port. |

##### Power inputs

| Input | Voltage | Current | Where | Note |
| --- | --- | --- | --- | --- |
| Header 5V | 5V | 3A | Pin 2 (GPIO), Ground Pin 6 (GPIO) | the feed a Sokil install uses - Use a 5V/3A supply. Operators observed occasional hangs or reboots with 2A supplies; the tested setups worked reliably with 3A supplies. Header pins 2 and 4 are a documented power input; the BEC's ground goes to pin 6. |
| USB-C OTG | 5V | 3A | USB-C OTG / 5V in | The OTG socket is the power one - the host USB-C next to it does not feed the board. |

##### Notes

- Pins 8/10 carry the 1.5 Mbaud system console (/dev/ttyFIQ0) - it never appears as a ttyS port and should not be used for a receiver or flight controller.
- wfb0 / wfb1 are the names the station gives a WiFi card by the socket it is in - the same card is wfb0 in one socket and wfb1 in another. Sockets marked ? have not been measured on a real board.

*Figure: On a Radxa ZERO 3 the flight controller already owns UART4, so a wired CRSF tap takes one of the other three: UART3 on pins 5 and 3, UART5 on 32 and 33, UART9 on 21 and 24. Pin 1 is at the micro-HDMI and Ethernet end.*

**There are three adapter boards, each released in two builds.** The firmware builds for an
ESP32 DevKit with CRSF on GPIO 13, and ESP32-C3 / ESP32-S3 SuperMini boards with CRSF on GPIO 5.
Each comes as a `_400k` and a `_115k` build - the module-bay wire runs at 400000 or 115200 - while
USB stays at 460800 on every board. The shipped adapters are the 400000 build. The adapter announces
its build's module-bay rate on the **Adapter firmware** row (parameter `rc_crsf_module_baud`), and the pin
it listens on, which no screen shows (an expert can read it on the params
page) (parameter `rc_crsf_module_gpio`). An update from the UI keeps the build's rate.

**420000 belongs to a different connection:** a stock ELRS receiver's UART wired directly to a
Pi or another station's UART, without an ESP adapter. It is also the CRSF wire rate used at the
Betaflight or INAV FC input. It is not the handset module-bay rate.

One of the boards matters in the field: the small ESP32-C3 build reading an ELRS 4.x, MilELRS or
SineLink module can lose the module bay's speed for a moment and drop control until it re-syncs.
**The only reliable fix is the full ESP32 build** - changing the module's baud does not cure it.
Sokil ships ESP32 adapters for that reason, and the C3 is legacy: if you are holding one and it
drops control against those modules, replace the adapter rather than trying to tune around it.

<a id="handset-crsf--an-elrs-receiver-instead-of-the-adapter"></a>

### An ELRS receiver instead of the adapter

A station can read the sticks from an ELRS receiver soldered inside it, the way a repeater does,
and that needs no adapter: the receiver emits ordinary CRSF. Wire its TX to the RX pin of a free
header UART plus ground, set the CRSF row's Input to _Serial (UART)_ on that port at the receiver's
default 420000 baud, and the Output to whatever the box has to do with the sticks. This stock receiver setting differs from the explicitly configured 400000 repeater path above. Match the receiver's actual UART setting if it has been changed. The port picker marks the system console in amber but still allows selecting it; check that the chosen UART is free before using it.

<a id="handset-crsf--plugging-in-the-adapter"></a>

### Plugging in the adapter

Steps 3 and 4 are on the **RC Wiring** tab, which only an admin sees, as is the port row in step 1;
a pilot does the plugging in steps 1 and 2 and the check in step 5, and leaves the rows to an admin.

1. Plug the adapter into USB. The CRSF card's default **Serial port** (parameter `rc_crsf_serial`) on a
   board set up as a ground station is `/dev/ttyUSB0`, and the port is meant to be changed - setup
   puts the second radio, the **Repeater RC** one, on `/dev/ttyUSB1` (the **Serial
   port** (parameter `rc2_crsf_serial`) inside that card's **CRSF adapter** row, which appears once its
   **Input** or **Output** is _Serial (UART)_). If the adapter came up somewhere else, an admin points the row at
   the port it is on rather
   than replugging until it moves. Those numbers are handed out in plug order, so on a station with
   two adapters pin each one to a stable path instead: the picker offers `/dev/serial/by-id/...`
   (follows the adapter) and `/dev/serial/by-path/...` (pins the socket, and the only one that tells
   two identical adapters apart) as chips on the port's row - see
   [The pilot's laptop station](gs-laptop.md#gs-laptop).
2. Put the input adapter in the handset's external JR module bay, select **CRSF** on the handset
   and set the module-bay baud to the rate the **Adapter firmware** row shows (400000 on the
   shipped adapters). The WiFi kit's ELRS transmitter is separate: the **WiFi ground station body has a JR module bay** wired to the adapter internally, so
   an ELRS TX - or any CRSF transmitter - goes straight into it with nothing to wire. The bay powers
   the module, but a **2 W or larger module should be powered externally**, exactly as it would be in
   a radio's own JR bay.
3. On [Control](http://10.1.1.30/gs/control-settings), **RC Wiring** tab (admin), the CRSF (ELRS) row's **Input**
   must be _Serial (UART)_ on the port you used (parameter `rc_crsf_serial`). **The pilot's laptop comes up that way and needs no
   change.** Do not switch a Raspberry Pi or Radxa station over to read the adapter: core and setup
   give a station box the radio-head wiring on purpose - _Receive RC over UDP_ with the adapter's
   port as the **output**, which drives a transmitter module rather than reading a handset - and
   that is the correct configuration for it.
4. Check the RC source (the first row of the **RC input** card on the same tab). Setup pins a
   station with a WiFi card to **CRSF (ELRS)** (parameter `rc_ch_source`), so its receiver's channel switch
   follows the handset alone; other stations stay on **Any input** on purpose. Pin CRSF yourself on
   any box that also feeds a flight controller, or the FC's own RC echo loops back through Sokil.
5. Push the sticks: on [Status](http://10.1.1.30/gs/status) the **RC control** stream's **RC control
   channels** (parameters `rc_channels`, `rc_ch_1`, `rc_ch_4`) show the first four channels moving between 1000
   and 2000 (a station on firmware older than 2026-09-15 reports them channel by channel, and the
   page reads either). An admin sees the same channels under **Channel state** on the RC input card,
   and the CRSF row stops saying _not started_ once the reader runs (parameter `rc_crsf_running`).

If the adapter answers nothing, flash its **capture** build, open a serial monitor and plug into the
radio: `PING`, then `DEVICE_INFO`, then `RC_CHANNELS` appear as the link comes up - that tests the
adapter with Sokil out of the picture.

<a id="handset-crsf--updating-the-adapter-firmware"></a>

### Updating the adapter firmware

Every station image carries the current adapter firmware, so this needs no PC. The rows are on
the CRSF card of the admin-only **RC Wiring** tab, so an admin runs the update, and they appear only for a ground station whose port is a `/dev/ttyUSB*` or `/dev/ttyACM*` - a
built-in UART is never an adapter and is never offered a reflash. A port pinned to a
`/dev/serial/by-id/...` or `/dev/serial/by-path/...` path hides the rows too: point the row back at
the `/dev/ttyUSB*` name for the update, then pin it again. A station you reach through another
station (picked in the device selector) shows the same rows and is flashed through that station.

1. Read **Adapter firmware**. A build that announces itself shows its version, its chip and the
   radio-side baud it expects; an old one shows _unknown (legacy)_ and always counts as outdated.
   An **Update available** badge on that row means the bundled build is a different one.
2. The **Available update** row carries the bundled version and the button. Save any pending edits
   first - the flasher uses the **saved** serial port, not the one still in the editor.
3. Press **Update module** and confirm. Sokil pauses the reader to free the port (parameter `rc_crsf_pause`),
   and RC stops coming through for about a minute. Do it on the ground, nothing armed.

⚠ **The button flashes the main RC adapter only.** It reads the port off the CRSF card's **Serial
port** (parameter `rc_crsf_serial`) (or its expert-only **Backup port** (parameter `rc_crsf_serial2`)) and pauses
that reader, so the adapter on the **Serial port** (parameter `rc2_crsf_serial`) of the **Repeater RC**
card's **CRSF adapter** row is
not the one it reaches. The simple way to update that one is to unplug it and put it on the main RC port
for the flash, then move it back. The two adapters run the same firmware, so use the same build for both RC inputs.

<a id="handset-crsf--the-handset-as-a-usb-joystick"></a>

### The handset as a USB joystick

An EdgeTX radio in **USB Joystick** mode needs no adapter and no RF module: plug the radio into the
station over USB and Sokil reads it as an input device. Core knows the EdgeTX USB identity
`1209:4f54`, so the USB joystick fold's **Device** (parameter `rc_joy_device`) can stay empty and auto-detect - a Radiomaster Boxer arrives as
_EdgeTX Radiomaster Boxer Joystick_ with its serial number. The input exists on a ground station
only: a camera or an aircraft board never has a handset plugged into it, so its RC input card
lists Any input, CRSF and MAVLink alone - and **MAVLink** there means the flight controller's own
channels arriving over telemetry, not the pilot's MAVLink radio, which is a ground-station input
with a card of its own.

- The joystick rows are on the **RC input** card of the admin-only **RC Wiring** tab, so an admin
  turns it on with the **USB joystick** row's switch (parameter `rc_joy_enabled`); the row then reads
  _connected_ (parameter `rc_joy_running`), and the **RC control** stream on Status names the radio (parameter `rc_joy_name`).
- Channel _i_ follows the radio's axis _i-1_, matching EdgeTX's own channel-order layout. Override
  one channel at a time under **Channel mapping** if yours differs (**Channel 5** (parameter `rc_joy_ch_5`)
  and its siblings).
- Declare any 3-position switch, pot or slider as an **Axis** on the radio. A channel declared as a
  button only ever arrives as 1000 or 2000.
- **Classic joystick mode gives only eight axes.** In EdgeTX's _Classic_ USB joystick mode channels
  1 to 8 are axes with full resolution and every channel from 9 up is a button - on or off, nothing
  in between. Put the sticks and anything else that needs smooth travel on channels 1 to 8, or switch
  the radio's USB joystick mode to _Advanced_ and declare each channel as an axis there.
- **On the pilot's laptop, setup does all of it**: answer _USB joystick_ for the handset on the
  wizard's **Control** step and it turns the joystick on, pins the RC input to it, sets the CRSF
  card to generate and clears its serial port -
  [Laptop pilot station](gs-laptop.md#gs-laptop) lists the writes. The next two points are the
  same changes by hand.
- The RC source must let it in. Setup pins a station with a WiFi card to **CRSF (ELRS)** on the RC
  input card (parameter `rc_ch_source`), which drops every joystick channel, so on that station pick **USB
  joystick** there even when the radio is only there for Sokil's switches.
- To fly with it, set the CRSF card's **Input** to _Generate from RC input_ with a **CRSF rate
  (Hz)** (parameter `rc_crsf_gen`) (50 is a good default) and pin the RC input card to **USB
  joystick** (parameter `rc_ch_source`). Sokil builds CRSF out of the live channels and sends it out the
  CRSF card's **Serial port** (parameter `rc_crsf_serial`) if that port is set and present, else to its
  **Send address (out)** (parameter `rc_crsf_out_addr`).
- Unplugging the radio stops the channels within a frame, so the flight controller sees a normal RC
  failsafe.
- **Repeater RC takes a joystick too**, and separately: the **Repeater RC** card has its own **USB
  joystick** row (parameter `rc2_joy_enabled`), **Device** (parameter `rc2_joy_device`) and **Channel mapping**
  (**Channel 1** to **Channel 16** (parameters `rc2_joy_ch_1`, `rc2_joy_ch_16`)), read into that input's own
  channels rather than into the station's. Its **CRSF adapter** row opens the same form as the main
  CRSF card, one port along: set its **Input** to _Generate from RC input_ with a **CRSF rate
  (Hz)** (parameter `rc2_crsf_gen`), and the sticks leave as CRSF the same way the main card's
  do (parameter `rc_crsf_gen`) - to port 14541. A joystick switched on with that **Input** left on the adapter
  sends nothing, and the card says so under its list of inputs. Left empty,
  the station's own RC takes the first EdgeTX radio Sokil finds on USB, and Repeater RC the first one
  that joystick is not using: the first radio while the station's **USB joystick** row is off, the
  second while it is on - and nothing, when it is on and only one radio is plugged in. With **two
  radios plugged into one station, name both devices explicitly** to be sure which radio flies which
  aircraft. Software older than 2026-09-18 always gave Repeater RC the second radio, so on it a single
  radio meant for Repeater RC has to be named.

<a id="handset-crsf--transmitter-modules-at-the-far-end"></a>

### Transmitter modules at the far end

On a split kit the pilot's station holds the handset and the **radio head** holds the transmitters.
The head's CRSF card takes the sticks with an **Input** (parameter `rc_crsf_in_addr`) of _Receive RC over
UDP_, which listens on `0.0.0.0:14540`, and pushes them out with an **Output** of _Serial (UART)_ on
its **Serial port** (parameter `rc_crsf_serial`), into a module over USB; the **Repeater RC** card's **CRSF
adapter** row is the same pair one service later - **Input** (parameter `rc2_crsf_in_addr`) _Receive RC over
UDP_ on `0.0.0.0:14541`, **Output** (parameter `rc2_crsf_out_addr`) _Serial (UART)_ on its **Serial
port** (parameter `rc2_crsf_serial`). A Starlink repeater that flies its own flight controller over MAVLink
keeps only the **Input** half, with no serial port and no output: there **RC to VTX MAVLink** reads
the Repeater RC channels (**Input** _Repeater RC_) and hands them to that flight controller
([Repeater RC](repeater-rc.md#repeater-rc--starlink-repeater-the-host-flight-controller)).

A reference ground station carries two modules - an **EMax TX900 OLED** as the primary ELRS
transmitter and a **Radiomaster Ranger 2.4G 2W** as the backup - each on its own USB cable and its
own switched feed. **Each module gets its own BEC**: a BEC has one output, and an ELRS
transmitter is electrically noisy enough that it must not share one with the WiFi card or with the
other module ([Power and the BEC](power-bec.md#power-bec)).

The CRSF card's **Replace with RX packets** (parameter `rc_crsf_out_as_rx`) switch tells the output what is on the far end: re-marking frames as coming from a
receiver is what a flight controller expects, and a transmitter module does not want it.

**Sokil ships custom firmware for these modules**, built for the module's frequency range and
carrying the pilot's own binding phrase. The phrase is the pilot's to choose, so there is no list of
them to look up - it belongs with the aircraft it binds.

That firmware is also why the head can put each module on a plain USB cable with nothing in between:
a module built with the `USB_CRSF` option takes CRSF straight over its USB pins. A module left on
stock firmware cannot, and needs a Sokil CRSF adapter in its ground-station-to-module mode instead,
driving the module on the adapter's CRSF pin. Check which of the two the module in your hand is
running before you flash it or wire it.

**A transmitter module above 500 mW gets a patch antenna, 20 cm or more from the Sokil box that drives it.** A module
of that power (ELRS 2 W, SineLink 2 W, Skyline and the like) on a dipole closer than 20 cm to the
WiFi card, its USB cable or the board knocks the card off USB, at random or for good, and can kill
it. Fit the module a patch antenna at least 20 cm from the Sokil hardware and not aimed at it - the
[antenna rule](antennas.md#antennas--rules-that-do-not-bend) and
[the symptoms](troubleshooting-radio.md#troubleshooting-radio--a-card-drops-off-usb-or-dies-beside-a-high-power-rc-transmitter).

<a id="handset-crsf--what-setup-writes"></a>

### What setup writes

Setup asks a hardware question, not a parameter one. The **Control** step says either _"This board
is the pilot's own station: it reads the handset over USB and sends the sticks onward"_ or _"This
board is the radio head: it receives the sticks from the pilot's station and drives the transmitter
modules"_ - derived from the board Sokil detected (the **Board** on the wizard's Start
step (parameter `dev_board`)), not asked. What each handset is plugged in with IS asked, and
**MAVLink radio** is one of the answers on both boxes - it is in testing and may not be offered on
every station yet; [a radio that speaks MAVLink](mavlink-radio.md#mavlink-radio) has what it
writes. A laptop is the pilot's station and **every
Raspberry Pi or Radxa station is the radio head**. Keep that wiring: the laptop reads the
handset, and the radio head drives the transmitter. Step 3 of
[Plugging in the adapter](handset-crsf.md#handset-crsf--plugging-in-the-adapter) explains how to check the laptop input.

| Setting (RC Wiring tab)                                                                                 | Pilot station                                                               | Radio head                                                                             |
| ------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| RC outputs **Send to** (admin) (parameter `rc_ip`)                                                            | its default after **Apply** (`10.1.1.30`, the radio head, on an x86 laptop), then the device you pick | its default after **Apply** (`10.1.1.40`), then the camera you pick |
| CRSF (ELRS) **Baudrate** (parameter `rc_crsf_baud`)                                                            | `460800`                                                                    | `460800`                                                                               |
| **RC input** source (parameter `rc_ch_source`)                                                                 | not written (Any input), **CRSF (ELRS)** with a WiFi card of its own        | **CRSF (ELRS)** on a WiFi station, else not written (Any input)                        |
| CRSF (ELRS) **Input** (parameter `rc_crsf_in_addr`)                                                            | _Serial (UART)_ - it reads the handset adapter                              | _Receive RC over UDP_, listening on `0.0.0.0:14540` (core's default)                   |
| CRSF (ELRS) **Output** (parameter `rc_crsf_out_addr`)                                                          | _Send RC over UDP_, to `{{rc_ip}}:14540` (core's default)                   | _Serial (UART)_ - it drives the transmitter module                                     |
| **Repeater RC** switch (parameter `rc2_enabled`)                                                               | on by default; off with **None** | on                                                                                     |
| Repeater RC's **CRSF adapter** row: **Serial port** / **Baudrate** (parameters `rc2_crsf_serial`, `rc2_crsf_baud`) | `/dev/ttyUSB1`, `460800`                                                    | `/dev/ttyUSB1`, `460800`                                                               |
| that row's **Input** (parameter `rc2_crsf_in_addr`) / **Output** (parameter `rc2_crsf_out_addr`)                      | _Serial (UART)_ / _Send RC over UDP_, to `{{rc_ip}}:14541` (core's default) | _Receive RC over UDP_, listening on `0.0.0.0:14541` (core's default) / _Serial (UART)_ |

**Send to** (parameter `rc_ip`) is not set by setup on purpose: picking a device in the camera switcher writes its address -
so do **Control** on a camera's Status page and a completed bind - and the sticks follow the device you selected.
**Apply** returns it to the kit's stock camera, `10.1.1.40` - or `10.1.1.30`, the radio head, on an x86 laptop - so
pick your camera afterwards.

⚠ **Repeater RC is on by default and says nothing until a repeater is connected.**
A station with one adapter has no `/dev/ttyUSB1` to open, and that raises no finding, no overlay
alert and no missing-port mark: the whole input waits for a repeater to be on the air, which the
station reads off the second telemetry stream arriving - the Repeater RC card then says _A repeater
is connected_ (parameter `rc2_in_use`). On the pilot laptop, choose **None** for Repeater RC
in the Control step to leave this input off. On a radio head it remains on by default.
The **Repeater RC** card on the Control settings page carries its switch after setup. If either input ends up armed with no port at all,
setup says so before you apply: _"CRSF is armed with no serial port. This box's CRSF ends on a wire:
the handset adapter on the pilot's station, the TX module on the radio head, or the flight
controller's Serial RX pad on a camera that gives it RC as CRSF."_ and, for the second one,
_"Repeater RC is on with no serial port set. This input ends on a wire too: the second handset's
adapter on the pilot's station, the second TX module on the radio head, or the repeater's own flight
controller Serial RX pad."_

<a id="handset-crsf--link-quality-and-packet-rate"></a>

### Link quality and packet rate

The link quality (0 to 100), RSSI, SNR, transmit power and RF mode the adapter reports
back (parameters `rc_crsf_lq`, `rc_crsf_rssi`, `rc_crsf_snr`, `rc_crsf_txpow`, `rc_crsf_mode`) are the ELRS link's
statistics for the **transmitter to receiver** path - which is
why RC range and video range are diagnosed separately. **The transmitter's CRSF telemetry comes
back** - on the standard route from the WiFi station's ELRS module, through the station and the
adapter - so you get those statistics in three places at once: the fly view's overlay, the radio's
own screen, and the CRSF (ELRS) card below. Flying on a **USB joystick
provides no CRSF link telemetry over USB** - it carries the sticks and nothing else, so that station has no link
statistics of its own to show. On Control > RC Wiring (admin) the **CRSF (ELRS)** card shows them as
one line - LQ, RSSI, SNR, TxP and the RF mode - while a module is answering, LQ, RSSI and SNR tinted on
the same scale as the map's heatmap; with nothing attached the line stays hidden. The packet rate is different: the RC frames per second arriving here, the title of
the RC input card's **Live health** strip (parameter `rc_crsf_rate`). The CRSF card's **Max radio packet
rate (Hz)** (parameter `rc_crsf_max_rate`) is the ceiling this box asks the radio for - _Off / no limit_ by
default; with nothing asking, a radio free-runs
at 250 Hz. Set it and the radio slows to that rate. On a chain of Sokil boxes the lowest setting wins,
and it never goes below 25 Hz.

<a id="handset-crsf--switches"></a>

### Switches

Which channel does what is a separate subject: the handset only has to put the right switch on the
right channel. The defaults are zoom on 8 (the camera's **Absolute zoom** row on the **RC
Actions** tab (parameter `rc_act_vtx_zoom_sw`), which a pilot can change), preset on 9, WiFi channel on 10
and TX power on 12 - where they apply: setup clears a switch the box cannot use, so a non-WiFi kit
has no channel or power switch bound and a relay repeater no camera ones.
See [Channels and switches](channels-switches.md#channels-switches) for the roster,
the multi-position switch trick and the channel hop lists.

<a id="handset-crsf--related-guides"></a>

### Related guides

- [A radio that speaks MAVLink](mavlink-radio.md#mavlink-radio) - the other way in, for a radio that
  hands over the sticks as MAVLink instead of CRSF.
- [Laptop pilot station](gs-laptop.md#gs-laptop) - the box the handset normally plugs into.
- [Radxa Zero 3 as a radio head](gs-radxa-radio-head.md#gs-radxa-radio-head) - the other end of a split
  station.
- [Ground station on Raspberry Pi 5](gs-rpi5.md#gs-rpi5) - the Pi 5 station and where it sits
  in the control chain.
- [Channels and switches](channels-switches.md#channels-switches) - the roster, the hop lists and the
  multi-position switch trick.
- [WiFi repeater](repeater-wifi.md#repeater-wifi) - the box where CRSF is a wire at 400000.
- [Flight controller](flight-controller.md#flight-controller) - what the FC needs on its side.
- [Repeater RC](repeater-rc.md#repeater-rc) - the second adapter or joystick, end to end.
