Power systems
Build a battery pack, choose a voltage regulator and connect loads. The lab works out voltage, current, heat and runtime and points out mistakes.
Battery
Series raises the voltage; parallel raises capacity and current.
Regulator
Simple and cheap. Extra voltage becomes heat: (Vin − 5 V) × I. Needs at least 2 V headroom, up to 1 A.
Loads
- Arduino Uno4.5–5.5 V · 50/80 mA
- Arduino Nano4.5–5.5 V · 20/40 mA
- ESP32 module3–3.6 V · 80/350 mA
- LED (20 mA)4.5–5.5 V · 20/20 mA
- HC-SR04 distance sensor4.5–5.5 V · 15/15 mA
- SG90 servo4.8–6 V · 200/650 mA
- TT gear motor3–6.5 V · 250/1,200 mA
- Relay module4.5–5.5 V · 70/70 mA
- OLED 0.96″ display3–5.5 V · 20/30 mA
- NEO-6M GPS3–5.5 V · 45/67 mA
- LoRa Ra-02 (SX1278)1.8–3.7 V · 12/120 mA
- SIM800L GSM module3.4–4.4 V · 80/2,000 mA
Each row: allowed voltage range and average/peak current.
Results
- Pack
- 2S1P · 7.2 V (6–8.4 V)
- Capacity and energy
- 2,600 mAh · 18.7 Wh
- Peak battery current / allowed
- 0.13 / 5 A
- Load current
- 0.09 A · peak 0.12 A
- Regulator output
- 5 V · η 66 %
- Heat
- 0.23 W → 37 °C (limit 100 °C)
- Estimated runtime
- 21.9 h
Charging
About 3.1 h (CC/CV)
Checks
Voltage runs short near the end of discharge
Exercises
Load a task and its loads are set for you. Then choose the battery and regulator so that no warnings remain and the runtime is long enough. The result is checked as you go.
1. Arduino for a full day
An Arduino Uno with a distance sensor and two LEDs must run on its own for 24 hours.
1× Arduino Uno · 1× HC-SR04 distance sensor · 2× LED (20 mA)
Goal: at least 24 h, no warnings.
2. Two-servo arm
Servos draw a large current when they start moving. The supply has to handle the peak too.
1× Arduino Uno · 2× SG90 servo
Goal: at least 3 h, no warnings.
3. LoRa sensor node
The ESP32, OLED display and LoRa module run on 3.3 V. The node must last two days.
1× ESP32 module · 1× OLED 0.96″ display · 1× LoRa Ra-02 (SX1278)
Goal: at least 48 h, no warnings.
4. GSM-GPS tracker
The SIM800L runs on 3.4–4.4 V and draws up to 2 A while joining the network. Which supply suits it?
1× SIM800L GSM module · 1× NEO-6M GPS
Goal: at least 12 h, no warnings.
Exercise results are not saved and do not count towards rankings: for now they are checked on this page only.
Values are typical datasheet figures, rounded. Efficiency, temperature and runtime are estimates: 25 °C ambient, 80 % of the battery energy used. Check every part's datasheet before building real hardware.