Power, Energy and Working Safely
How much heat and work a circuit produces: power, P = V × I and its variants, resistor power ratings and derating, battery capacity and runtime, energy in watt-hours, and the safety habits for batteries, soldering, static and mains electricity.
1. What power means
Power is the rate at which energy is used or turned into heat, light or motion. It is measured in watts (W). In a circuit:
P = V × I
Combine it with Ohm’s law and you get two more forms, which are useful when you know a different pair of quantities:
| You know | Use | Example |
|---|---|---|
| Voltage and current | P = V × I | 12 V × 2 A = 24 W |
| Current and resistance | P = I² × R | (0.5 A)² × 10 Ω = 2.5 W |
| Voltage and resistance | P = V² / R | (5 V)² / 100 Ω = 0.25 W |
All of that power becomes heat in a resistor. Too much heat burns the part, melts the board, or starts a fire.
2. Power ratings and derating
Every component has a maximum power it can dissipate. Common through-hole resistors are rated 0.125 W, 0.25 W, 0.5 W, 1 W and higher. Do the calculation for the worst case:
- A 100 Ω resistor across 5 V dissipates 5² / 100 = 0.25 W. A 0.25 W resistor would run at its absolute limit and get very hot.
- Pick a rating of at least twice the calculated power (derating), so a 0.5 W resistor at least.
Rules of thumb:
- Keep resistors at 50 percent or less of their rating in normal use.
- Parts get less power capacity as the temperature rises, so enclosures and hot rooms matter.
- Power scales with the square of voltage or current: doubling the current makes four times the heat.
3. Batteries: capacity, runtime and energy
Battery capacity is quoted in milliamp-hours (mAh): how many milliamps it can supply for how many hours.
runtime (hours) ≈ capacity (mAh) / load current (mA)
energy (Wh) = voltage (V) × capacity (mAh) / 1000
A 2000 mAh battery powering a 25 mA load gives about 80 hours. A 3.7 V, 2000 mAh lithium cell stores 3.7 × 2000 / 1000 = 7.4 Wh.
These are estimates: capacity drops with age, low temperature and high current, and many circuits stop working before the battery is truly empty. For critical designs leave 20 to 30 percent margin and test with a real load.
4. Working safely
Electronics is safe when you respect three things: energy, heat and static.
Batteries and supplies
- Never short a battery or a supply. Lithium-ion and lithium-polymer cells can overheat, vent or catch fire. Use protected cells and chargers made for them, never charge unattended, and never puncture or crush them.
- Use a bench supply with a current limit set low first, then raise it as needed.
- Disconnect power before you change wiring.
Mains electricity (100 to 240 V)
- Mains can kill. Do not build or open mains-powered equipment while you are learning, and do not probe inside a plugged-in power supply or appliance.
- Use certified, enclosed power adapters, fused plugs and, where required, an isolating transformer or a residual-current device. Mains work belongs to qualified people and local regulations apply.
- Capacitors in power supplies can hold a dangerous charge after unplugging.
Heat and tools
- A soldering iron reaches 300 °C and above. Use a stand, never leave it on unattended, work with ventilation (fumes from flux) and wear safety glasses, because solder and cut leads can fly.
- Hot components can burn: let power parts cool before touching.
Static (ESD)
- Static from your body can destroy sensitive chips without any visible sign. Touch a grounded metal object before handling boards, use an anti-static wrist strap and mat when you can, and store parts in anti-static bags.
General habits
- Keep the bench tidy and dry, and know where the fuses and the power switch are.
- Have a second person nearby for higher-power work, and know basic first aid.
- When in doubt, stop and ask.
5. On your bench
- Pick a 220 Ω resistor and a 5 V supply. Calculate the power: P = 5² / 220 = 0.114 W. Is a 0.25 W resistor within its 50 percent limit? (Yes, 0.114 W is below 0.125 W.)
- Put a 100 Ω, 0.25 W resistor across 5 V for a few seconds only and feel whether it warms up (use the back of a finger, only briefly, and stop at once if it is hot). It dissipates 0.25 W, right at the limit.
- Estimate the runtime of a small project: look up the battery’s mAh, measure the circuit’s current with a multimeter in series, and divide.
- Write your own bench safety checklist of five lines and keep it where you work.
6. Hands-on lab: power and battery calculations
7. Common mistakes
| Mistake | Better |
|---|---|
| Running a resistor at its full rating | Keep it at half or less |
| Forgetting that power grows with the square | Recalculate whenever voltage or current changes |
| Trusting the battery label for runtime | Measure the real current and keep a margin |
| Working on live mains | Use low voltage; leave mains to qualified people |
| Handling chips without any static precautions | Ground yourself and use anti-static storage |
8. Key takeaways
- P = V × I, also I² × R and V² / R; power in a resistor becomes heat.
- Derate: choose a rating at least twice the calculated power.
- Runtime ≈ mAh / mA; energy (Wh) = V × mAh / 1000; leave a margin.
- Use low voltage and current limits while learning, never short batteries, never work on live mains, and protect parts from static.
A 150 Ω resistor sits across a 9 V battery. How much power does it dissipate, and what minimum rating would you choose?
P = V² / R = 81 / 150 = 0.54 W. With a 100 percent margin you need at least 1.08 W, so choose a 2 W resistor (the next standard rating above 1.08 W). A 0.5 W part would be overloaded.
Can You Explain It?
Close the lesson and answer these without looking back. The goal isn't the wording — it's whether you've formed a usable mental model.
- Explain the three forms of the power formula and when you would use each.
- Describe derating and how you would apply it to a resistor.
- List the safety rules you would follow for batteries, soldering and static.
🧪 Want to practise this on your own computer? See how to set up your lab →