So i have my MeshPocket and the ADC override is causing me some confusion.
Most nodes I see are considered fully charged when they are something like 4.21 volts.
If I set the ADC high enough to show 4.21 volts when it is done charging, then it doesn’t actually show the battery icon for something like an hour and a half after I unplug it from the charger. It shows as though it’s still connected to AC power.
It begins showing the battery icon at something like 4.11 volts, and if I set the ADC to the point where the battery icon shows as soon as I unplug it from the wall outlet, then the maximum it gets to while plugged in shows as 4.13 volts.
So should I lock the ADC at the higher value so that it shows 4.21 volts when it’s finished charging? Or should I lock it to the lower value where it says it’s at 4.13 volts when it’s finished charging? But immediately shows the battery icon when unplugged from the wall.
Are you setting the multiplier value to the voltage? If so, that’s not correct. It’s not a literal value but a ratio.
On my Heltec V3s, I have been fine with the default firmware values (they’re on the linked page below).
ADC Multiplier Override
Ratio of voltage divider for battery pin e.g. 3.20 (R1=100k, R2=220k)
Overrides the ADC_MULTIPLIER defined in the firmware device variant file for battery voltage calculation.
Should be set to floating point value between 2 and 6
Calibration Process
- Install the rechargeable battery.
- Charge the battery until full. Indication of this state may vary depending on device. At this point, the battery voltage should be 4.2V ±1%.
- Input the “Battery Charge Percent” displayed on the screen or in your connected app into the calculator below.
- If “Battery Charge Percent” (e.g., B 3.82V 60%) is not displayed on the screen, it means that the default value of “Operative Adc Multiplier” is too high. Lower the “Operative Adc Multiplier” to a smaller number (it is recommended to decrease by 0.1) until the screen displays “Battery Charge Percent”. Enter the current “Operative Adc Multiplier” in use into the “Operative Adc Multiplier” field in the calculator. Also, input the “Battery Charge Percent” displayed on the screen into the calculator.
- Click the “Calculate” button to compute the “Calculated New Operative Adc Multiplier”, and set it as the new “Operative Adc Multiplier” for the device.
The calculator is below that on the doc page: https://meshtastic.org/docs/configuration/radio/power/
So as I change the value in the app, it changes what is displayed on the screen, for example, I know for a fact that the battery is fully charged right now because I have it sitting beside me connected to the power, but if I set it to, for example, 4, then it shows that it’s at 3.7 volts and like 57% and it shows that in the app and on the battery screen, when I know that to be untrue.
According to that blurb you pasted from above, which I did see, that would mean the battery should be anywhere between 4.15 volts at 99% of 4.2 and 4.24 volts at 101% of 4.2
There is no way to adjust the operative ADC multiplier they talk about.