本帖最后由 fryefryefrye 于 2021-2-8 10:06 编辑
给电源线串一个采样电阻,然后接示波器,就能算出取样那一瞬间消耗多少电量。可以用来估算电池寿命。
以下是我在github上一个项目的例子。
The above picture is Current sampling with a 47 Ohm resistor.
For every time of transmit. Power consumption can be estimated as:
0.7v*47Ohm = 32.9mA
Duration for 0.3ms
Capacity of a CR2032 battery is 200 mAh.
In This example, data was transmit 3 times in every second.
Estimated life days = (200/(32.9*(0.0003/3600)))/3/3600/24 = 281 days
|