Heltec / lora-32 USB power sensing fixed

oh sorry! I just noticed this crucial comment here:

Additional context
Manufacturer did not documented battery recognition mechanism. After search and test here what we have:
battery_pin = GPIO37
ratio of voltage divider = 3.20 (R1=100k, R2=220k)

Which I bet explains the problem you are seeing on your board. I think I’ll have to make a HELTEC_V2 hwmodel and use different R scalings (and different GPIO) for the board you have.

1 Like