Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
penkia
· 7y ago · 0 comments
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! ;-)
Comments
[–]
opless
7y ago
How do you do the switching? Using a MOSFET or something else?