Powering Your Arduino Project
Three ways to power a finished Arduino project, and the one wiring rule that matters whenever more than one power source is involved.
Every earlier lesson powered the Uno over USB from a computer — fine for development, but a finished project usually needs to run on its own. Three common options:
- USB power bank — the simplest option: the same USB cable used for programming, now plugged into a portable battery pack instead of a computer. Works for low-current projects (a handful of LEDs, small sensors).
- Barrel jack / VIN — the Uno's round barrel connector (or its VIN pin directly) accepts a wider voltage range, typically 7–12V, and includes an onboard regulator that steps it down to the 5V the board's logic actually needs — the same regulator concept from Lesson 24, already built into the board.
- Battery pack — a series battery pack (Lesson cb-14) wired into the barrel jack or VIN pin, sized to land within that 7–12V range; too low and the onboard regulator can't maintain a clean 5V, too high risks overheating that regulator.
The rule that matters whenever a project uses a separate supply for a motor, relay, or other high-current load (as mentioned in Lessons ard-14 and ard-16) — even if the Uno itself stays on USB power: that separate supply's ground must still connect to the Uno's GND, creating one shared reference point between the two, even though their positive supplies stay completely separate. Without that shared ground, the Uno's signals have no reliable 0V reference the other circuit can measure against, and behavior becomes unpredictable.