Skip to content

Fix Heltec Wireless Paper voltage#1584

Open
pki791 wants to merge 1 commit intomeshcore-dev:mainfrom
pki791:HeltecWirelessPaper-Fix-BatteryVoltage
Open

Fix Heltec Wireless Paper voltage#1584
pki791 wants to merge 1 commit intomeshcore-dev:mainfrom
pki791:HeltecWirelessPaper-Fix-BatteryVoltage

Conversation

@pki791
Copy link

@pki791 pki791 commented Feb 3, 2026

Added ADC_MULTIPLIER (default=1) to v3 board.
Added correct multiplier to ini of WP.

I think this is the easiest fix for the Heltec Wireless Paper not showing correct voltage.

Added ADC_MULTIPLIER (default=1) to v3 board. Added correct multiplier to ini of WP.
@RichardPar
Copy link

RichardPar commented Feb 3, 2026

Added ADC_MULTIPLIER (default=1) to v3 board. Added correct multiplier to ini of WP.

I think this is the easiest fix for the Heltec Wireless Paper not showing correct voltage.

seconded

Copy link
Contributor

@oltaco oltaco left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it would be cleaner to change

return (5.42 * (3.3 / 1024.0) * raw) * 1000; to return (ADC_MULTIPLIER * (3.3 / 1024.0) * raw) * 1000;

And add -D ADC_MULTIPLIER=5.42 to the other variants which use this board (heltec_v3 and heltec_tracker), and then you can use the true multiplier of 8.4 for the heltec wireless paper.

@ripplebiz
Copy link
Collaborator

Please change base branch to 'dev'

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.

4 participants