3 ms·
We're using the MCU to swtich power source between USB charging or battery, using it's ADC to serve as a voltage divider to get actual AD value from the battery
by penkia 7y ago
We're using the MCU to swtich power source between USB charging or battery, using it's ADC to serve as a voltage divider to get actual AD value from the battery, and a MP2636GR chip for charging and voltage step-up.
So yay battery percentage! ;-)
- opless 7y agoHow do you do the switching? Using a MOSFET or something else?