tinyGS icon indicating copy to clipboard operation
tinyGS copied to clipboard

Add battery voltage monitoring feature

Open mdkendall opened this issue 3 years ago • 0 comments

This PR adds a battery monitoring feature to the TinyGS firmware.

The board config has two new values that describe the GPIO pin that the battery voltage is connected to, and the potential divider ratio that it is connected via. These values can be set in the predefined board templates or through new custom board template fields VBAT and VBATX.

The battery voltage is shown on the dashboard and OLED. Screenshots attached below.

TinyGS-VBat-Dashboard

TinyGS-VBat-OLED

Partially fixes #158.

mdkendall avatar Aug 04 '22 03:08 mdkendall