Загрузка страницы

Calibrating your BetaFlight OSD battery voltage display

In this video I'll show you how to calibrate the battery voltage shown in your BetaFlight OSD. Getting the voltage monitor calibrated in BetFlight is essential if you want the voltage alarms to work properly. And it'll show you the correct battery voltage on your main battery display.

Configuring this is quick and simple and is required because each flight controller is slightly different. You just need a quad, a battery and a multimeter and you'll have it setup in a couple of minutes. It could save your bacon.

Betaflight voltage monitor: https://github.com/betaflight/betaflight/blob/master/docs/Battery.md

Here's how the Scale, Voltage Multiplier and Divide Multiplier are used.
VBAT_SCALE = 110 // This is the default scale and also the one shown in the BFC GUI
VBAT_DIVIDER = 10 // This is the default divider value and also the one shown in the BFC GUI
VBAT_MULTIPLIER = 1 // This is the default multiplier value and also the one shown in the BFC GUI
ADC_VOLTAGE_REFERENCE_MV = 3300 // This is the ADC reference voltage which is generally calculated at 3.3 volts
ADC_RESOLUTION_MAX = 4095 // 4095 (0xfff) is the maximum value for a 12-bit digital value which is what the ADC uses
ADC_MAX = 0xfff

RESULT = (((ADC_SOURCE_VALUE * VBAT_SCALE * ADC_VOLTAGE_REFERENCE_MV / 100 + (ADC_RESOLUTION_MAX * 5)) / (ADC_RESOLUTION_MAX * VBAT_DIVIDER)) / VBAT_MULTIPLIER)

If you want to see the BetaFlight code that does this, have a look at the voltageAdcToVoltage function (around line 158) in the BetaFlight src that calculates the display voltage from the input source voltage in /src/main/sensors/voltage.c

╔════╡My Gear╞════════════════════════╡
║ ► HD Goggles - FatShark HDO: http://bit.ly/2VYgjmX
║ ► Regular Goggles - FatShark Dominator V3: http://bit.ly/2YKTHmW
║ ► VRX Module - OwlRX: http://bit.ly/2wjIehD
║ ► Radio - Taranis X9D: http://bit.ly/2WZPzyC
║ ► Portable Battery Charger - ToolKitRC M8: http://bit.ly/2VJPE8c
║ ► Workshop Battery Charger - iCharger 406 Duo: http://bit.ly/2VDMG5m
║ ► Soldering Workstation - Saike-909: http://bit.ly/2JAr9Jc
╚══════════════════════════════════╡

► Facebook - https://www.facebook.com/whirlybloke/
► Twitter - https://www.twitter.com/whirlybloke/
► Instagram - https://www.instagram.com/whirlybloke/

#whirlybloke #betaflight #toptip

Видео Calibrating your BetaFlight OSD battery voltage display канала Whirly Bloke
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
10 июня 2019 г. 18:53:47
00:05:08
Яндекс.Метрика