Closed pedjas closed 5 years ago
Thank you for proposal. However, I think, it is caused that customers use various diodes as D2. It should be a specific diode when manufactured. Flash memory is very short, so there is no room for it. I will not add that feature.
@edy555,
It is my understanding that the NanoVNA LED stops blinking when the battery is fully charged. If the firmware is responsible for the blinking, would it be possible to sample the D2 voltage when the battery is fully charged and use that value instead of manual calibration?
If this approach is possible, it would have several advantages:
NanoVNA-Q 0.4.3 added vbat_offset command (allows to set battery diode offset)
If the firmware is responsible for the blinking
firmware is not responsible for charge diode blinking. It is done inside charge controller IP5303 and don't depends on firmware at all.
It is reported that battery voltage measurement is not precise due to various didoes used to add this feature.
It would be good to have an option to calibrate level measurement by letting user measure actual battery voltage and then set that voltage as calibrated value.
This does not even need graphical interface. Calibrating using console would be ok, as it is needed just once - after diode is installed.