Skip to content
Tips & Tricks
4 min read
October 17, 2026

Arduino Uno Power Options: USB, Battery, and Barrel Jack

USB, barrel jack, Vin, or the 5V pin -- how each of the Arduino Uno's power paths actually works, which battery choices hold up under real load, and the mistakes that damage boards once USB is out of the picture.

Arduino Uno Power Options: USB, Battery, and Barrel Jack

An Arduino Uno tethered to a laptop over USB is the easiest way to develop a project and the least useful way to actually deploy one. Sooner or later, most projects need to run untethered -- and that means picking the right one of the Uno's three power paths, understanding what each one actually does to the board, and avoiding the handful of mistakes that show up almost exclusively once USB is no longer in the picture.

Image pending: Arduino Uno board with its USB port, barrel jack, and Vin/5V header pins labeled

The Three Paths, Side by Side

MethodInput voltageWhat it feedsNotes
USB5V (fixed)Board's 5V rail directlySimplest, but limited to what a USB port/power bank can supply
Barrel jack7-12V recommended (6-20V absolute range)Onboard voltage regulator, which outputs 5VMost common way to run from a battery pack or wall adapter
Vin pinSame as barrel jackSame onboard regulator, just a header pin instead of the jackUseful when a barrel plug isn't practical
5V pin5V (must already be regulated)Board's 5V rail directly, bypassing the regulator entirelyHigher risk -- no protection if the input isn't clean, regulated 5V

The barrel jack and the Vin pin are electrically the same path -- both feed the onboard linear regulator, which is what actually produces the clean 5V the ATmega328P needs. The 5V pin is fundamentally different: it skips that regulator entirely, so anything wired there needs to already be a well-regulated 5V, or it goes straight to the chip unprotected.

Choosing a Battery

A 9V PP3 battery via the barrel jack is the classic first choice, and also a common source of disappointment -- these batteries have a small capacity (typically 500-600 mAh) and a fairly high internal resistance, so they drain quickly under any real load, especially a motor or servo. They're fine for a low-draw sensor project running briefly, and a poor match for anything power-hungry.

A 2-cell LiPo (7.4V nominal) through the barrel jack is a much better match for the regulator's input range and holds up far better under load than a 9V battery, at the cost of needing a charger and basic LiPo safety awareness.

4×AA batteries (6V) sit right at the low edge of the recommended barrel-jack range -- workable, but leaves little headroom as the batteries discharge and their voltage sags below 6V.

A USB power bank is the simplest option for anything that doesn't need a motor or other heavy load -- it feeds the board exactly the way a laptop's USB port does, with no regulator involved at all.

Image pending: Arduino Uno running from a 2-cell LiPo battery pack through the barrel jack

Barrel Jack Specifics

The standard Arduino-compatible barrel jack is 2.1mm, center-positive -- plugging in a center-negative supply by mistake is a real risk with generic power adapters, though most Uno boards include reverse-polarity protection on this input specifically. That protection generally does not extend to the 5V or Vin pins, which is one more reason the barrel jack or Vin pin, not the 5V pin, is the safer default for anything other than a known-clean 5V source.

Current, Heat, and Why Input Voltage Matters

The onboard regulator is a linear regulator -- it doesn't convert voltage efficiently, it burns off the difference between input and output as heat. Feeding it 12V to get a 5V output means it's dissipating roughly 7V worth of the current draw as heat; feeding it 7-9V leaves a smaller gap and less wasted heat. On a lightly loaded board this rarely matters, but a project drawing meaningful current (several sensors, a display, anything approaching the regulator's limit) run from 12V can genuinely get warm enough to affect reliability, particularly on cheaper Uno clones with a smaller regulator package. Staying in the 7-9V range when there's a choice gives the regulator more headroom without unnecessary waste.

Common Mistakes

Feeding an unregulated source into the 5V pin. This is the single most damage-prone mistake on this list -- the 5V pin has no regulator and minimal protection, so anything other than clean, correct 5V risks the chip directly.

Expecting a 9V battery to last. Its small capacity and high internal resistance make it a poor fit for anything beyond a brief, low-draw project -- a common source of "my project worked on the bench and died in the field" reports.

Wrong barrel plug polarity or size. Most Arduino boards protect against reverse polarity on this specific input, but a wrong-size plug (not the standard 2.1mm) simply won't make contact at all.

Exceeding the 20V absolute maximum via the barrel jack. Comfortably above the recommended 7-12V range, but a real risk with the wrong wall adapter -- this can destroy the regulator outright.

Forgetting a common ground with an externally powered load. If a motor or relay is powered from a separate supply, that supply's ground must connect to the Arduino's ground, or signals between them won't behave predictably -- a mistake that shows up as "nothing works" far more often than a clear error.

Where to Go Next

Once power is sorted, Getting Started with Arduino Uno R3 covers the fundamentals this guide assumes, and Mastering PWM on Arduino is directly relevant for anyone planning to add a motor, since motors are exactly the kind of load that exposes a marginal power setup.

Signal In

Built from what makers search for

The lookups piling up in SolderHub's search bar every day shape what we publish next — new component pages, board guides, and firmware notes, sent out as they go live.

By subscribing you agree to our Privacy Policy. Unsubscribe anytime.