cesimkaol
Junior Member level 2
Dear friends , I am confused with that draw battery life on lcd.
For example gues my battery supply 20000 mAh and I use it in order to supply microcontroller and a few component.Microcontroller will be sleepin mode and it will wake up twice in a day.
Assuming that in every waking up it consume 10mA and 20mA( values are random now it will be calculated later ) for every day.
According do assume 20000/20= 2000 days / 365 = 5.4 year battery life.
In every wake up I want to draw a simple shape on graphic lcd.So where should I keep values (on eeprom) and how should I keep values.
Can you recommended me optimum algorthym or if you think what will you do for such a kind of problem.
For example gues my battery supply 20000 mAh and I use it in order to supply microcontroller and a few component.Microcontroller will be sleepin mode and it will wake up twice in a day.
Assuming that in every waking up it consume 10mA and 20mA( values are random now it will be calculated later ) for every day.
According do assume 20000/20= 2000 days / 365 = 5.4 year battery life.
In every wake up I want to draw a simple shape on graphic lcd.So where should I keep values (on eeprom) and how should I keep values.
Can you recommended me optimum algorthym or if you think what will you do for such a kind of problem.