CRSF Serial Pins
RX pin Pin used to receive CRSF signal from the handset
TX pin Pin used to transmit CRSF telemetry to the handset (may be the same as the RX PIN)
Serial2 Pins
RX pin Serial2 RX - ESP32 targets only
TX pin Serial2 TX - ESP32 targets only
Radio Chip Pins & Options
BUSY pin GPIO Input connected to SX128x busy pin
DIO0 pin Unused on SX128x, Interrupt pin for SX127x
DIO1 pin Interrupt pin for SX128x
MISO pin MISO connected to (possibly) multiple SX1280/127x
MOSI pin MOSI connected to (possibly) multiple SX1280/127x
NSS pin Chip select pin for first SX1280/127x
RST pin Reset pin connected to (possibly) multiple SX1280/127x
SCK pin Clock pin connected to (possibly) multiple SX1280/127x
BUSY_2 pin Busy pin for second SX1280
DIO0_2 pin Interrupt pin for second SX127x
DIO1_2 pin Interrupt pin for second SX1280
NSS_2 pin Chip select pin for second SX1280
RST_2 pin Reset pin connected to second SX1280/127x
DCDC enabled Use the SX1280 DC-DC converter rather than LDO voltage regulator (15uH inductor must be present)
RFO_HF enabled SX127x PA to use, either the RFO_HF or PA_BOOST (depends on circuit design)
LR1121 RF Switch Controls Comma-separated list of 8 values used for setting the LR1121 RF switch controls
Radio Antenna
CTRL pin Pin connected to Antenna select pin on power amplifier
CTRL_COMPL pin Inverted CTRL for devices using antenna selectors that need separate pins for A/B selection
Radio Power
PA enable pin Enable the power amplifier (active high)
APC2 pin Power amplifier control voltage
RXEN pin Enable RX mode LNA (active high)
TXEN pin Enable TX mode PA (active high)
RXEN_2 pin Enable RX mode LNA on second SX1280 (active high)
TXEN_2 pin Enable TX mode PA on second SX1280 (active high)
Min Power
10mW
25mW
50mW
100mW
250mW
500mW
1000mW
2000mW
Minimum selectable power output
High Power
10mW
25mW
50mW
100mW
250mW
500mW
1000mW
2000mW
Highest selectable power output (if option for higher power is NOT enabled)
Max Power
10mW
25mW
50mW
100mW
250mW
500mW
1000mW
2000mW
Absolute maximum selectable power output (only available if 'higher power' option is enabled)
Default Power
10mW
25mW
50mW
100mW
250mW
500mW
1000mW
2000mW
Default power output when resetting or first flashing a module
Power Level control
via SEMTECH
via ESP DACWRITE
How the power level is set
Power Value(s) Comma-separated list of values that set the power output (if using a DAC these are the DAC values)
Secondary Power Value(s) Comma-separated list of values that set the power output (if using a DAC then these set the Semtech power output)
Dual Power Value(s) Comma-separated list of values that set the higher frequency power output of a dual band Tx/Rx
PA LNA Gain The amount of dB gain provided by the LNA
Radio Power Detection
PDET pin Analog input (up to 1.1V) connected to 'power detect' pin on PA for adjustment of the power output
Intercept Intercept and Slope are used together to calculate the dBm from the measured mV on the PDET pin
Slope dBm = mV * slope + intercept, this is then used to adjust the actual output power accordingly
@@if isTX:
Analog Joystick
ADC pin Analog Input (3.3V max) use to read joystick direction using a resistor network
Values Comma-separated list of ADC values (12-bit) for UP, DOWN, LEFT, RIGHT, ENTER, IDLE
Digital Joystick
Pin 1 These 3 pins create a binary value for the joystick direction
Pin 2 7 = IDLE, 6 = OK, 5 = DOWN
Pin 3 4 = RIGHT, 3 = UP, 2 = LEFT
@@end
Mood Lighting
RGB LED pin Signal pin for WS2812 RGB LED or LED strip
RGB LED is GRB Most WS2812 RGB LEDs are actually GRB
RGB indexes for Status Indexes into the "string" of RGB LEDs (if empty then only LED at 0 is used)
@@if not isTX:
RGB indexes for VTX Status Indexes into the "string" of RGB LEDs (if empty then no VTX status)
@@end
RGB indexes for Boot animation Indexes into the "string" of RGB LEDs (if empty status indexes are used)
LED pin Only use when only a single LED is used
Red LED pin If there are multiple LEDs, then this is the pin for the RED LED
Red LED inverted LEDs are active LOW unless this is checked
Green LED pin If there is a GREEN LED as well as RED above
Green LED inverted Check if the LED is active HIGH
Blue LED pin Pin for a 3rd, BLUE, LED!
Blue LED inverted Check if the LED is active HIGH
Button(s)
Button 1 pin Single/first (active low) button
Button 1 RGB Index Index of button LED in RGB string, leave empty for no RGB LED
Button 2 pin Second (active low) button
Button 2 RGB Index Index of button LED in RGB string, leave empty for no RGB LED
@@if isTX:
OLED/TFT (Crotch TV)
Screen type
None
I2C OLED (SSD1306 128x64)
SPI OLED (SSD1306 128x64)
SPI OLED (small SSD1306 128x32)
SPI TFT (ST7735 160x80)
Type of OLED connected
180 rotation Select to rotate the display 180 degrees
CS pin Chip Select (if using SPI)
DC pin Data/Command Select (if using SPI)
MOSI pin Data (if using SPI)
RST pin Reset
SCK pin Clock (either SPI or I2C)
SDA pin Data (I2C)
BL pin Backlight
Backpack / Logging
Enable Backpack If a TX backpack is connected
Baud Rate Baud rate used to communicate to the backpack (normally 460800)
RX pin Connected to TX pin on backpack
TX pin Connected to RX pin on backpack
BOOT pin Pin connected to GPIO0 pin on backpack ESP8285, allows passthrough flashing
EN pin Pin connected to EN pin on backpack ESP8285, allows passthrough flashing
Passthrough baud Baud rate to flash the backpack ESP8285 (default is to use the baud rate above)
I2C & Misc Devices
SCL pin I2C clock pin used to communicate with I2C devices (may be the same as OLED I2C)
SDA pin I2C data pin used to communicate with I2C devices (may be the same as OLED I2C)
Fan enable pin Pin used to enable a cooling FAN (active HIGH)
Fan PWM pin If the fan is controlled by PWM
Fan PWM output values If the fan is PWM controlled, then this is the list of values for the PWM output for the matching power output levels
Fan TACHO pin If the fan has a "tachometer" interrupt pin
Has STK8xxx G-sensor Checked if there is a STK8xxx g-sensor on the I2C bus
G-sensor interrupt pin Pin connected the STK8xxx g-sensor for interrupts
Has LM75A Thermal sensor Checked if there is a LM75A thermal sensor on the I2C bus
@@end
@@if not isTX:
PWM
PWM output pins Comma-separated list of pins used for PWM output
VBat
VBat pin Analog input pin for reading VBAT voltage (1V max on 8285, 3.3V max on ESP32)
VBat offset Offset and scale are used together with the analog pin to calculate the voltage
VBat scale voltage = (analog - offset) / scale
VBat attenuation
Default
0 dB
2.5 dB
6 dB
11 dB
0 dB + calibration
2.5 dB + calibration
6 dB + calibration
11 dB + calibration
ADC pin attenuation (ESP32) and optional efuse-based calibration adjustment
SPI VTX
RF amp PWM pin Set the power output level of the VTX PA (value is calculated based on power and frequency using VPD interpolation values)
RF amp VPD pin Analog input for VPD (power detect) from VTX PA
RF amp VREF pin Active high enable pin the the VTX PA VREF (voltage reference)
SPI NSS pin Chip select for RTC6705 VTx (leave undefined if sharing Radio SPI bus)
SPI SCK pin Clock pin on RTC6705 VTx (leave undefined if sharing Radio SPI bus)
SPI MISO pin MISO pin on RTC6705 VTx (leave undefined if sharing Radio SPI bus)
SPI MOSI pin MOSI pin on RTC6705 VTx (leave undefined if sharing Radio SPI bus)
25mW VPD interpolation values 4 values for 5650, 5750, 5850, 5950 frequencies at 25mW
100mW VPD interpolation values 4 values for 5650, 5750, 5850, 5950 frequencies at 100mW
25mW PWM interpolation values 4 values for 5650, 5750, 5850, 5950 frequencies at 25mW
100mW PWM interpolation values 4 values for 5650, 5750, 5850, 5950 frequencies at 100mW
I2C
SCL pin I2C clock pin used to communicate with I2C devices
SDA pin I2C data pin used to communicate with I2C devices
@@end