- Tue Jul 01, 2008 7:42 pm
#51115
Hi,
I am working on a battery powered project based on the ATmega168 and planning on using one of Sparkfun's LiPo batteries to power it. How can I monitor the remaining charge in the battery? I'm not sure how I will tell the user that the battery is low, but it would be cool if an LCD could display the percentage remaining. Is monitoring the voltage from the battery with one of the ATmega's ADC pins the way to do it?
Thanks!
I am working on a battery powered project based on the ATmega168 and planning on using one of Sparkfun's LiPo batteries to power it. How can I monitor the remaining charge in the battery? I'm not sure how I will tell the user that the battery is low, but it would be cool if an LCD could display the percentage remaining. Is monitoring the voltage from the battery with one of the ATmega's ADC pins the way to do it?
Thanks!