Estimating power consumption

Posted on Dec 28, 2024

I’ve been trying to estimate the power consumption for Aqla. I’d like to order parts so I can start building a prototype. There are some expensive parts that needs dimensioning; the battery and the solar panel. The closer I can get a good estimate for these parts, the more likely it is I can reuse them to build the final device. And since it is a hobby project, I don’t want to splurge needlessly.

There are three design parameters to consider for powering the system:

  1. Time spent in different modes (how often the sensor is sampled and how often data is uploaded to the cloud)
  2. How large battery is needed (needs to run on battery of a given amount of time without recharge from solar)
  3. How large solar panel is used (determines how fast the battery can be recharged)

There will be two tasks that will draw power; measuring and uploading. (Idle will be any time not spent executing the tasks) How often they are active determines how much power will be required.

Mode Seconds / 60 min Sensor Microcontroller 1 Total per hour
measuring 2 20 mA 40 mA 0.4 mAh
uploading 30 0uA 60 mA 0.5 mAh
idle the rest 0 uA 2.4 mA 2.4 mAh

From the table we can see that the current consumption is about 3 mA on average. At 3.3 V voltage supply, the power consumption is around 10 mW. The battery will need to last at least 5 days without charging, in case of bad weather. 2 That gives a capacity of ≥1.2 Wh. The battery should recharge within 2-3 hours (0.5C), so the solar panel should be about 2W.

The time spent for each task is not fixed. This allows for some wiggle room to adjust the average power consumption, if it is found that the hardware won’t support it sufficiently. It can also be acceptable with reduced performance; maybe 100% of the samples doesn’t need to be captured. Maybe we can drop 10% and still have a useful system. Or the 5 days on battery power is overly harsh; maybe it only occurs once per season and then its fine to loose some data.

Once the prototype is assembled, it will be very interesting to see how these estimates plays out.


  1. I couldn’t find reliable numbers for this, especially with the Embassy framework, and I don’t have the means to measure it either. When idle the Embassy framework will put the MCU in sleep mode, but I haven’t dug deep enough to find out which sleep mode it will use. These numbers are based on the cyw4344 datasheet that suggests 1.05 mA in one of its power saving modes, and the Pico datasheet that suggests 1.3 mA in sleep mode. (Interestingly, the Pico W datasheet is missing the power consumption section) Another resource pegs the sleep current to 16 mA, WiFi to 60 mA and active to ~40 mA. (Using MicroPython) ↩︎

  2. I don’t know how much power you will get from the solar panels on a bad weather day. I think 0 power for 5 consecutive days is very conservative, but it will be interesting to find out. ↩︎