A source of electricity is any device or system that converts stored chemical, mechanical, or radiant energy into electrical potential (voltage) to drive current through a closed circuit. In a real installation, your chosen source dictates the continuous current ceiling, voltage stability under transient loads (sag), and the high-frequency noise injected into your signal lines. Hobbyists commonly confuse a power source (the raw energy reservoir, like a lithium cell or solar panel) with a power supply (the regulating circuitry, like a buck converter or AC-DC brick that conditions the source for your load).

The Core Types of Electrical Sources

At the circuit and project level, we categorize sources by their transduction method. Grid-level generation (coal, nuclear, hydro) matters to the utility, but on your workbench, you are dealing with three primary categories:

Electrochemical (Galvanic Cells): Convert chemical potential to DC voltage. Nominal outputs range from 1.2V (NiMH) to 3.7V (Li-ion) to 12.8V (4-cell LiFePO4 packs). They provide the cleanest DC baseline but are limited by internal resistance and finite capacity.

Electromechanical (Generators/Alternators): Convert kinetic energy to AC or DC via Faraday's law of induction. In DIY applications, this usually means a small wind turbine or a backup gas inverter-generator. These sources inherently produce voltage ripple and require heavy rectification and filtering before they are safe for sensitive microcontrollers.

Photoelectric (Solar PV): Convert photon energy directly into DC current. A '12V' nominal solar panel actually produces an open-circuit voltage (Voc) of roughly 21V to 22V. They are strictly current-limited sources; if your load demands more current than the irradiance can provide, the voltage collapses entirely.

Worked Numeric Example: Sizing a Source for an IoT Node

Let's size a source for an off-grid ESP32-based weather station that transmits via WiFi. We need it to survive 14 days of total darkness (no solar) without a brownout.

  • Load: ESP32 averaging 80mA at 5V (accounting for deep sleep and brief TX spikes).
  • Power Draw: P = V × I = 5V × 0.08A = 0.4W.
  • Total Energy Required: 0.4W × 24 hours × 14 days = 134.4 Watt-hours (Wh).

We cannot just buy a 135Wh battery. We must apply a 20% derating factor to account for the inefficiency of the 5V buck converter (~85% efficient) and to prevent deep-discharging the battery below its safe Depth of Discharge (DoD) limit.

Pro-Tip on Derating: Always multiply your raw Wh calculation by 1.25 for lithium chemistries, and by 2.0 for lead-acid batteries (which should never be discharged below 50%).

Adjusted Requirement: 134.4Wh × 1.25 = 168Wh.
If we select a 12V nominal LiFePO4 battery, the required Amp-hour (Ah) rating is 168Wh / 12.8V = 13.1Ah.

The Concrete Pick: A 12V 20Ah LiFePO4 battery (such as the Ampere Time 12V 20Ah) paired with a DROK 12V-to-5V 3A buck converter. This provides a 256Wh reservoir, giving you a comfortable 5-day buffer beyond your 14-day requirement.

Where You Meet This in Practice: Internal Resistance and Sag

Theory tells us a 9V alkaline battery and a 3.7V 18650 Li-ion cell can both power a 5V circuit (via a boost or buck converter). Practice tells us only one will actually work if your circuit has transient loads.

Every real-world power source has Equivalent Series Resistance (ESR). Think of internal resistance like a kink in a garden hose; the wider you open the nozzle (draw more current), the more the pressure (voltage) drops at the source.

Suppose your circuit includes a SIM800L GSM module. When it registers on the network, it draws a 2A spike for 500ms.

  • 9V Alkaline ESR: ~1.5 ohms. Voltage drop = I × R = 2A × 1.5Ω = 3.0V. Your 9V battery instantly sags to 6V under load, your boost converter drops out, and the ESP32 resets.
  • 18650 Li-ion ESR: ~0.05 ohms. Voltage drop = 2A × 0.05Ω = 0.1V. The battery holds steady at 3.6V, the boost converter maintains 5V, and the transmission succeeds.

This is why source selection is never just about matching voltage; it is about matching the dynamic impedance of the source to the transient profile of your load.

Decision Tree: Picking Your Exact Power Source

Use this matrix to terminate your design process with a specific part number or chemistry. Do not overcomplicate the source if your environment fits a standard profile.

If your project environment is...And your load profile is...Then select this source architectureConcrete Part / Value Pick
Indoor, Mains AC availableClean 5V or 12V DC, < 5A continuousEnclosed AC-DC Switching SupplyMean Well LRS-35-5 (5V 7A)
Portable, wearable, or handheldLow draw (< 500mA), space-constrainedSingle-cell Li-Po or Li-ion with USB chargingAdafruit 354 (2500mAh Li-Po) + TP4056 board
Off-grid, outdoor, solar-chargedContinuous 12V loads, high surge tolerance4-Cell LiFePO4 with BMSTalentCell 12V 100Ah LiFePO4 (PB12100)
High-current motor control (Robotics)Bursts > 30A, strict weight limitsHigh C-Rating LiPo (3S or 4S)Zeee 11.1V 5200mAh 100C LiPo
Default RecommendationGeneral DIY / Maker / Off-grid IoT12V LiFePO4 + Buck Converter12V 20Ah LiFePO4 + DROK 5V 3A Buck

If you are paralyzed by choice and your project doesn't strictly require wearable dimensions or extreme motor bursts, default to the 12V LiFePO4 architecture. It is inherently safe (no thermal runaway), tolerates 100% Depth of Discharge, and provides a robust 12V bus that can easily be stepped down to 5V or 3.3V.

Common Confusions and Mistakes to Avoid

Confusion 1: Capacity (Ah) vs. Peak Delivery (C-Rating)
A 12V 100Ah Lead-Acid battery holds massive energy, but its Peukert effect and high ESR mean it might voltage-sag if you try to pull 50A continuously to run a large inverter. Conversely, a tiny 1500mAh RC LiPo battery can deliver 50A for short bursts because of its 50C discharge rating. Always check the maximum continuous discharge current, not just the Amp-hour rating.

Confusion 2: Solar Panel '12V' Nominal vs. Actual Voltage
Beginners frequently wire a '12V' solar panel directly to a '12V' battery and wonder why it never charges. A photovoltaic module labeled 12V nominal actually operates at a maximum power point (Vmp) of around 17V to 18V, with an open-circuit voltage (Voc) of 21V. You must use a charge controller (PWM or MPPT) to step this down to the 13.6V - 14.4V required to push current into a 12V battery.

Confusion 3: Mixing Chemistries in Parallel
Never parallel a Li-ion cell with a LiFePO4 cell, or even two Li-ion cells of different ages and internal resistances, without individual cell balancing. The cell with the higher voltage will force current backward into the lower voltage cell, bypassing the chemistry's safe charge limits and risking a thermal event.

FAQ: Source Selection Edge Cases

Q: Can I use a standard USB power bank as a source for an ESP32 IoT sensor?
A: Usually, no. Most commercial USB power banks feature an auto-shutoff circuit that turns the bank off if the load drops below 50mA. Because the ESP32 draws only ~10μA in deep sleep, the power bank will shut down and fail to wake the circuit. You must use a 'dumb' lithium cell with a dedicated DC-DC converter, or a power bank specifically advertised as having 'always-on' or 'low-current' mode.

Q: Why does my multimeter read 14V on my car battery, but my 12V inverter throws a low-voltage alarm?
A: Your multimeter measures open-circuit voltage (no load). When the inverter pulls 1000W (roughly 85A at 12V), the voltage drops across the battery's internal resistance and the thin, undersized copper cables connecting them. If you are using 10 AWG wire for an 85A load, the wire itself is acting as a massive resistor. Upgrade your cabling to 2/0 AWG for high-current inverter runs to eliminate the voltage drop.

Q: Is a supercapacitor a valid source of electricity?
A: Only for micro-second to second-level bridging. Supercapacitors have incredibly high power density (can dump current instantly) but abysmal energy density (total Wh). Use them in parallel with a battery to handle extreme transient spikes (like a motor starting), but never rely on them as the primary energy reservoir for continuous operation.