Skip to content

Latest commit

 

History

History
525 lines (364 loc) · 9.34 KB

settings.md

File metadata and controls

525 lines (364 loc) · 9.34 KB

Configuration options

ADC settings

ADCREF

Source of the ADC reference voltage. Make sure that ADCUREF value is correct.

Type Size
enum 1 byte
Value Source
0 AREF
1 AVCC
3 Internal 1.1V

ADCUREF

ADC reference voltage, volts.

Type Size
float 4 bytes

MAX7456 settings

VMODE

OSD composite video mode. Used only when jumper "PAL" on MinimOSD is not closed. Value will be applied after OSD reboot.

Type Size
enum 1 byte
Value Video mode
0 PAL
1 NTSC

VBRIGHT

OSD character brightness in % of OSD white level. Value will be applied after OSD reboot.

Type Size
enum 1 byte
Value White Black
0 120% 0%
1 100% 0%
2 90% 0%
3 80% 0%
4 120% 10%
5 100% 10%
6 90% 10%
7 80% 10%
8 120% 20%
9 100% 20%
10 90% 20%
11 80% 20%
12 120% 30%
13 100% 30%
14 90% 30%
15 80% 30%

OSD settings

SCREENS

Usable screens count, 1..8

Type Size
uint8 1 byte

SWM

Screen switch mode.

  • Selector - Range of the input channel (SELMAX - SELMIN) divided by screens count SCREENS. Current screen selected by input channel value.
  • Toggle - Cycle through the screens when the input channel value is crossing threshold TGTRESH.
Type Size
enum 1 byte
Value Mode
0 Selector mode
1 Toggle mode

SWCH

Input channel used for screens switching.

Type Size
uint8 1 byte

SELMIN

Minimal pulse width of the input channel (usually 1000). Used in Selector mode.

Type Size
uint16 2 bytes

SELMAX

Maximal pulse width of the input channel (usually 2000). Used in Selector mode.

Type Size
uint16 2 bytes

TGTRESH

Screen switch threshold, microseconds. Used in Toggle mode. Recommended value is in range 1200 .. 1600.

Type Size
uint16 2 bytes

Telemetry settings

MINCV

Minimal cell voltage (dead battery), volts. Typical value for LiPo battery is 3.2.

Type Size
float 4 bytes

NOMCV

Nominal cell voltage, volts. Typical value for LiPo battery is 3.7.

Type Size
float 4 bytes

MAXCV

Maximal cell voltage, volts. Typical value for LiPo battery is 4.2.

Type Size
float 4 bytes

LOWCV

Warning threshold, volts. Typical value for LiPo battery is about 3.5.

Type Size
float 4 bytes

RLT

RSSI low threshold, %

Type Size
uint8 1 byte

CSIGN

Callsign text, 8 chars max.

Type Size
str 9 bytes

ADCBattery module settings

ABINT

Update interval, ms.

Type Size
uint16 2 bytes

ABU1CH

ATmega328p ADC channel for voltage sensor of the flight battery.

Type Size
enum 1 byte
Value ADC Channel ATMega pin
0 0 23
1 1 24
2 2 25
3 3 26
4 4 27
5 5 28
6 6 19
7 7 22

ABU2CH

ATmega328p ADC channel for voltage sensor of the secondary battery.

Type Size
enum 1 byte
Value ADC Channel ATMega pin
0 0 23
1 1 24
2 2 25
3 3 26
4 4 27
5 5 28
6 6 19
7 7 22

ABI1CH

ATmega328p ADC channel for current sensor of the flight battery.

Type Size
enum 1 byte
Value ADC Channel ATMega pin
0 0 23
1 1 24
2 2 25
3 3 26
4 4 27
5 5 28
6 6 19
7 7 22

ABI2CH

ATmega328p ADC channel for current sensor of the secondary battery.

Type Size
enum 1 byte
Value ADC Channel ATMega pin
0 0 23
1 1 24
2 2 25
3 3 26
4 4 27
5 5 28
6 6 19
7 7 22

ABU1F

Voltage factor = Umax / ADCUREF for flight battery.

For example, Umax = 16.8V, ADCUREF = 5.1V, ABU1F = 16.8 / 5.1 = 3.294

Type Size
float 4 bytes

ABU2F

Voltage factor = Umax / ADCUREF for secondary battery.

Type Size
float 4 bytes

ABI1F

Current factor = Imax / ADCUREF for flight batetry.

For example, Imax = 90A, ADCUREF = 5.1V, ABI1F = 90 / 5.1 = 17.647

Type Size
float 4 bytes

ABI2F

Current factor = Imax / ADCUREF for secondary batetry.

Type Size
float 4 bytes

ADCRSSI module settings

ARCH

ATmega328p ADC channel for RSSI.

Type Size
enum 1 byte
Value ADC Channel ATMega pin
0 0 23
1 1 24
2 2 25
3 3 26
4 4 27
5 5 28
6 6 19
7 7 22

ARINT

Interval between RSSI updates, ms. 200 is good enough.

Type Size
uint16 2 bytes

ARF

RSSI multiplier = 100 / Umax, where Umax <= ADCUREF.

For example, Umax = 5V, ADCUREF = 5.1, ARF = 100 / 5.0 = 20.0

Type Size
float 4 bytes

UAVTalk module settings

UTBR

UART bitrate to communicate with FC. Typically is 3 (57600).

Type Size
enum 1 byte
Value Bitrate
0 9600
1 19200
2 38400
3 57600
4 115200

UTREL

UAVTalk version release.

Please pay attention to this parameter! Most of the glitches or freezes caused by incorrect UTREL value.

Type Size
enum 1 byte
Value Firmware Version
0 OpenPilot 15.02.02
1 OpenPilot 15.05.02
2 LibrePilot 15.09
3 TauLabs 20151123
4 LibrePilot 16.09-RC1
5 dRonin 2017-02-13.1 "Artifice"
6 dRonin 2017-07-17 "Neat"

UTIHC

Calculate home position by OSD if 1. Useful with CC3D/Atom. If 0, flight controller defines home position.

Type Size
bool 1 byte

UTER

Emulate RSSI value based on the receiver connection state.

Type Size
bool 1 byte

UTAH

Calculate heading based on the flight controller attitude. Set it to 0 if you want to use mag sensors ot GNSS data.

Type Size
bool 1 byte

MAVLink module settings

MLBR

UART bitrate to communicate with FC. Typically is 57600.

Type Size
enum 1 byte
Value Bitrate
0 9600
1 19200
2 38400
3 57600
4 115200

MLFC

Flight controller type. Useful with Cleanflight MAVLink telemetry: set it to 3 (APM) for correct display of the current flight mode.

Type Size
enum 1 byte
Value FC type
0 Autodetect
3 APM
9 Paparazzi
12 PX4

MLIBL

Calculate battery level by OSD, not by flight controller if set to 1. Setting this option to 1 can improve accuracy of the battery level calculation.

Type Size
bool 1 byte

MLBLT

Battery level warning threshold, percents. Used when MLIBL is 0.

Type Size
uint8 1 byte

MLER

Emulate RSSI level by receiver input channel value. Useful when receiver has no RSSI level output. RSSI low level warning will be set if value of the input channel defined by MLERC becomes lower than MLERT.

Type Size
bool 1 byte

MLERC

Receiver channel for RSSI emulation. Used when MLER is 1.

Type Size
enum 1 byte
Value Input channel
0 Channel 1 (Roll)
1 Channel 2 (Pitch)
2 Channel 3 (Throttle)
3 Channel 4 (Yaw)
4 Channel 5
5 Channel 6
6 Channel 7
7 Channel 8

MLERT

RSSI emulation threshold (minimal pulse width of the input channel), microseconds. Used when MLERT = 1. Typical value is about 900.

Type Size
uint16 2 bytes

UBX module settings

UBXBR

UART bitrate to communicate with U-BLOX GPS module.

Type Size
enum 1 byte
Value Bitrate
0 9600
1 19200
2 38400
3 57600
4 115200

UBXTO

Connection timeout, ms. Recommended value is 1000.

Type Size
uint16 2 bytes