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 voltage offset #134

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add voltage offset #134

wants to merge 1 commit into from

Conversation

ShadedSelf
Copy link
Contributor

@ShadedSelf ShadedSelf commented Jul 11, 2023

The PCB seems to read the battery voltage around 0.6 volts lower than it actually is, this PR adds a define to correct that.

@ShadedSelf
Copy link
Contributor Author

I did a bit more research on this, seems like this could be down to the internal voltage refence not being exactly 3.3 volts.
Changing the IOREF define to 3.35 gave me a lot better readings.

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