I have been given the following scenario:
LED output:
• assume 200 communication codes per 24hrs, and that each of those LED code words take 20msec of processor time to communicate
BLE:
• connect to devices and then only communicate when it is time to send LED codes.
• use a menu traversal to re-start the link, BLE communicates the data to pass on the LED and when done LED comms to pass acknowledgement back to Smart Device.
Idle Current Active Current On-Time (per day)
LED 0 30ma 200 uses @ 20msec
BLE 0 20ma 201 uses @ 50msec
Processor 100uA 130ma all the time
processor is 3v input
Battery should last 15days
Since rechargeables have approx. 80% capacity end of life and 80% capacity at -20oC.
Therefore take Estimated battery as 60% of its rated value.
I am abit stuck in how I would calculate the estimated battery size in mAh, since the duty cycle is not given.
The duty cycle fomrula im am using is:
duty cycle% = (Ton/(Ton+Toff)) *100
duty c= (200*20e-3 + 201*50e-3)/ ((200*20e-3 + 201*50e-3)+86400secs) *100
I'm getting a value of 0.46% which I'm not sure is right.