Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add battery voltage monitoring feature #177

Open
wants to merge 4 commits into
base: beta
Choose a base branch
from

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