Insights / Hardware & Electronics

Power Supply Options for IoT Devices: Mains, Batteries and Energy Harvesting

Mains, primary cells, rechargeable batteries or harvested energy: how to choose an IoT device's power source from its duty cycle, location and maintenance cost.

Portrait of Ivan Karbovnyk

Ivan Karbovnyk

Chief Technology Officer

Chief Technology Officer, responsible for Indeema's technology strategy, and a professor of radiophysics and computer technologies at Ivan Franko National University of Lviv.

View leadership profile

A pile of assorted batteries of different sizes

The short answer

An IoT device can be powered in four ways: from the mains through a compact AC/DC converter, from primary (single-use) batteries, from rechargeable batteries, or from harvested energy such as light, heat or radio waves stored in a small buffer. Many products combine two, for example mains with a backup battery, or a solar cell charging a lithium-ion cell. The right choice follows from the device's duty cycle and location: how often it wakes, measures and transmits, whether a cable can reach it, and how often anyone can replace a battery.

Start from the power budget, not the battery

Phones and laptops struggle with battery life because their processors run fast and stay busy. Most IoT devices are different. Microcontrollers and radio chips built for connected devices are designed for very low leakage, and in deep sleep they draw almost nothing. A temperature sensor that wakes, measures, transmits and goes back to sleep spends most of its life idle.

So the average current, and therefore the battery size, depends mostly on how often the device wakes and how long the radio stays on, not on the peak consumption in the datasheet. Measuring those currents is a design task in itself: sleep currents in the micro- or nano-ampere range need precise instruments to measure.

Power budget
The device's average energy consumption over a realistic duty cycle (sleep, wake, measure, transmit, retry), set against the energy the source can deliver over the intended life or charge interval.

Mains power and backup

Stationary devices that can reach a socket or wiring, such as routers and gateways, cameras, metering units, lighting and heating controls, usually run from the mains through an AC/DC converter. The requirements are compact size, high efficiency and a stable output voltage and current; for most IoT devices the converter delivers a few watts, rarely more than about 20 W. Off-the-shelf modules cover most needs.

Mains power is usually the cheapest option for the manufacturer, but it can add cost elsewhere: cables, adapters and installation, and an awkward fit in a finished room. A smart switch, for example, has to fit its supply, controller and radio into the same wall box as an ordinary switch.

Video surveillance, access control and alarm systems also need to keep working when the mains fails. Sealed lead-acid batteries are a common backup because they tolerate being kept at full charge for long periods and deliver high peak current.

Batteries: how they work and which chemistry fits

Every electrochemical cell has two electrodes of different materials, a cathode and an anode, separated by an electrolyte in which charges can move. When a load is connected, a chemical reaction between the electrodes and the electrolyte produces an electromotive force. In primary cells the reaction cannot be reversed; in rechargeable cells it can, for a limited number of cycles.

Cutaway of a cylindrical battery cell showing cathode, separator, electrolyte and anode between positive and negative terminals
The parts every battery cell shares: two electrodes, a separator and an electrolyte that lets charge move between them.

The materials define the cell's voltage, energy density, peak current, temperature range and self-discharge, which is the slow loss of charge that happens whether or not the device draws power. For a device meant to run for years, self-discharge can matter as much as the device's own consumption.

Common battery chemistries for connected devices, their characteristics and where they fit.
ChemistryRechargeable?CharacteristicsTypical IoT fit
Zinc-carbonNoLow cost, wide choice of sizes, modest capacityLow-drain, low-cost devices where replacement is easy
Alkaline (zinc / manganese dioxide)NoModerate cost, good capacity, very widely availableRemotes, sensors and controls with user-replaceable cells
Silver oxide (silver / zinc)NoHigh capacity for its size, flat discharge voltageSmall coin-cell devices such as watches and hearing aids
Lithium primaryNoHigh energy density, wide temperature range, long shelf lifeSensors and trackers that must run for years without a visit
Lithium-ion / lithium-polymerYesHigh energy density, flexible shapes, ages with time and cyclesWearables, portable devices, solar-charged outdoor nodes
Lead-acid (sealed)YesHeavy and bulky, high peak current, low cost per watt-hourBackup power for security, access control and gateways

Lithium-ion cells can be made thin and in many shapes, which suits compact devices, but they cost more than alkaline cells and lose capacity as they age. Lead-acid cells are cheap and robust but their weight and size rule them out of most devices other than fixed installations.

Energy harvesting

Harvesting sources deliver little power, but for a device that sleeps most of the time, little can be enough. Each one needs a storage element, a rechargeable cell or a capacitor, to cover the moments when the device is awake and the source is weak.

Energy-harvesting sources for IoT devices, how they work and their main limitation.
SourceHow it worksWhere it fitsMain limitation
Solar (photovoltaic)Light frees electrons in a semiconductor, producing currentOutdoor sensors, well-lit indoor devicesOutput depends on light level and spectrum; nothing in the dark
ThermoelectricA temperature difference across a junction produces a voltage (Seebeck effect)Devices on warm pipes or machinery, or worn against the bodyNeeds a sustained temperature difference
Radio frequencyAn antenna converts a surrounding electromagnetic field into current, as in passive RFID tagsTags and sensors near a reader or a strong transmitterOnly useful where the field is strong; unsuitable for general outdoor use
Radioisotope (betavoltaic)Decay of a radioactive isotope generates a very small, continuous currentNiche, very long-life applicationsTiny current, so a buffer battery is required; regulatory constraints

The choice is about fit as much as physics. A watch that harvests heat from the wearer's skin works because it is always in contact with a heat source; a solar-charged watch would stop when covered by a sleeve.

Matching the power source to the device

Typical power choices for common types of connected device.
Device typeDuty cycleUsual power choice
Energy management, metering and lighting controlsAlways on, fixed locationMains through an AC/DC converter
Cameras, access control and alarm panelsAlways on; must survive outagesMains plus a backup battery, often sealed lead-acid
Environmental sensors (temperature, humidity)Wake, measure, transmit, sleep; slow updates are finePrimary cells, practical even across wide areas
Motion and light sensorsAlways listening, must react quicklyLarger battery, or solar charging a lithium-ion cell outdoors
Item trackers and tagsRare, short transmissions over a long lifeA replaceable coin cell; building in a rechargeable cell would add cost for little gain
WearablesFrequent sensing, daily useRechargeable lithium-ion or lithium-polymer

The engineering implication: power sets the product's limits

However capable the device, it stops when the energy runs out. The power decision fixes the enclosure size, the radio you can afford to use, how often data can be sent and what a year of operation costs in battery replacements or site visits. It is also hard to change after launch, because the battery compartment, charging circuit and certification are built around it.

How to choose a power source for an IoT device

Work through these in order

  • Write down the duty cycle: how often the device wakes, measures and transmits, and for how long.
  • Measure sleep and active currents on a prototype, including radio join time and retries.
  • Decide where the device lives: can a cable reach it, and who can replace or charge a battery, how often?
  • Set the target life or charge interval and check self-discharge and temperature range against it.
  • If mains-powered, decide what must keep working during an outage and size the backup.
  • Consider harvesting only where the source is reliable at the installation, and size the buffer for the worst day.
  • Weigh size, cost, user convenience and disposal together; the cheapest cell is not always the cheapest product.

Was this useful?

Where this shows up in our work

ExpertiseHardware and electronics engineering for connected productsMeasuring real duty cycles, sizing the battery or supply and designing the power path and charging circuit is hardware and electronics work we own with the firmware team that sets the sleep behaviour.

Where devices live in homes, battery changes and wall-box space are product decisions as much as electrical ones. See Smart Home & Consumer IoT.

First published

Apply this to your product

Talk through your device architecture

Talk through your device architecture