Microcontroller › PIC › display the charge percentage of power bank on LCD › give voltage output of power
February 22, 2016 at 11:02 am
#13724
Participant
give voltage output of power bank as an input to internal ADC of ATmega16 micro controller. convert value in %
as if power bank max output is 5 V
read the value of digital output as = digital output *5 / 1024
% charging = value*100 / 5