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

Adjusted adc_multiplier for heltec2.1 and added adc_mulitplier_override #1183

Merged
merged 4 commits into from
Feb 9, 2022

Conversation

thebentern
Copy link
Contributor

@thebentern thebentern commented Feb 3, 2022

PLEASE DO NOT MERGE YET.

Given that there seems to be no silver bullet to fix #769, this change should be considered a tool in the toolbox for dealing with the inconsistency of ADC measurements in the Heltec devices.

I'd like to get some sample data or feedback from other Heltec V2.1 users, because this gave a fairly accurate VBatt on my device, but I suspect there are some differences or quality control issues with the voltage divider circuit production that are causing different devices to be incompatible with the same ADC_MULTIPLIER value.

Here's how you can confirm that your device is indeed the Heltec v2.1
image

@thebentern
Copy link
Contributor Author

Pretty close in my local testing
image
image

@garthvh garthvh linked an issue Feb 3, 2022 that may be closed by this pull request
@thebentern thebentern added the enhancement New feature or request label Feb 3, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Feb 7, 2022

🤖 Pull request artifacts

file commit
pr1183-firmware-1.2.53.856f2f9.zip e9a9d39

github-actions bot added a commit that referenced this pull request Feb 7, 2022
github-actions bot added a commit that referenced this pull request Feb 8, 2022
@thebentern thebentern merged commit c867af8 into master Feb 9, 2022
@thebentern thebentern deleted the heltec2.1-adc-mulitplier-override-pref branch February 9, 2022 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Full battery test timeline for my Heltec board No battery detection in heltec devices
1 participant