I have started to work on ESP32 chip and in that we have one requirement in which whole system will be operating over battery connected with VDD1 and VDD2 pins which are external power source.
So, how to meause battery voltage over ADC interface?
Let me know if anyone has measures it using ADC reading API and it will be great if provide any sample for that.
- Also what should be reference voltage that I need to consider for that?
And what are the voltage deviders I need to put for that if my battery input will be 4.2 V?
And how to check battery charging status and power good status in some intervals? Any APIs or examples based on ADC readings?