TryKeep Battery capacity (mAh) at 2000 and Reading interval (minutes) at 5. Increase the interval and compare the active and sleep contributions.
ObserveThe default schedule takes 288 readings per day. MCU active use is 2.0000 mAh/day, much larger than the sensor active contribution of 0.0600 mAh/day.
ExplainReading interval (minutes) sets the daily reading count; each active duration times its current contributes daily use, and Battery capacity (mAh) divided by the total gives life in days.
Technical boundaries. The estimate assumes constant currents and fully usable stated capacity, without self-discharge or ageing. Both sleep contributions use the same daily sleep duration, calculated by subtracting the longer of the sensor and MCU active totals from a day.
Interactive Battery Life Calculator
Use this calculator to estimate sensor battery life for your own projects. Adjust the parameters to match your sensor’s datasheet values and your sampling requirements.
viewof batteryCapacity = Inputs.range([100,10000], {value:2000,step:100,label:"Battery capacity (mAh)"})viewof activeCurrent = Inputs.range([0.01,50], {value:1.0,step:0.01,label:"Sensor active current (mA)"})viewof activeTime = Inputs.range([0.01,10], {value:0.75,step:0.01,label:"Active time per reading (s)"})viewof sleepCurrent = Inputs.range([0.01,500], {value:1.0,step:0.01,label:"Sensor sleep current (uA)"})viewof readingInterval = Inputs.range([1,1440], {value:5,step:1,label:"Reading interval (minutes)"})viewof mcuActiveCurrent = Inputs.range([1,250], {value:50,step:1,label:"MCU active current (mA)"})viewof mcuActiveTime = Inputs.range([0.01,10], {value:0.5,step:0.01,label:"MCU active time per reading (s)"})viewof mcuSleepCurrent = Inputs.range([0,500], {value:10,step:1,label:"MCU sleep current (uA)"})