Skip to content

Add battery voltage monitoring feature#177

Open
mdkendall wants to merge 4 commits intoG4lile0:betafrom
mdkendall:wip-vbat
Open

Add battery voltage monitoring feature#177
mdkendall wants to merge 4 commits intoG4lile0:betafrom
mdkendall:wip-vbat

Conversation

@mdkendall
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant