C12 Embedded systems in MicroPython and C · Practice
Power budgets and sleep
Problems dealt one at a time, with new numbers every time. The kinds you miss come back more often, and you can keep going as long as you like.
Check
A device draws 2 mA awake and 0.05 mA asleep, and it's awake 10% of the time. What's its average current?
Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.
Check
A 1000 mAh battery supplies an average of 0.05 mA. How many days does it last?
Check
An LED drawing 3.9 mA flashes for 5 ms every 10 s. What does it add to the average current?
Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.
Check
The ADC draws an extra 0.6 mA for each 10 µs conversion, and the program converts 100 times a second. What does that add to the average current?
Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.
Check
A device wakes 10 times a second and is awake 0.5 ms each time. What fraction of the time is it awake?
Check
A 1000 mAh battery powers a load averaging 0.052 mA.
(a)
How long does it last?
(b)
In days?
Check
A device sleeps at 0.052 mA and wakes to 2.05 mA for 50 ms every 10 s.
(a)
What is its average current?
Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.
(b)
What share of the average comes from waking?
Check
Average of 3 mA awake 5% of the time and 0.01 mA asleep?
Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.
Check
Days from 600 mAh at 0.1 mA?
Check
Added by a 2 mA, 10 ms flash every 60 s?
Write units the way you normally would: 1.5 mA, 1500 µA and 0.0015 A are the same answer.
A kind of problem counts as solid once you've got it right on the first try twice in a row. Back to the lesson · Practice every topic in C12