0

How to Power Your Arduino: USB, Battery & Adapter Options

Your Arduino ran fine on USB — but now you want it to work away from the computer, in a robot or a finished project. How do you power it safely? Here are all the options, and when to use each.

In short: On the bench, power over USB. For a portable project, use a 7–12V source on the barrel jack or VIN pin (a 9V battery or DC adapter). For robots with motors, power the motors from a separate battery pack and share grounds.

The ways to power an Arduino Uno

MethodVoltageBest for
USB cable5VBench work, programming
9V battery + barrel jack9VSimple portable projects
DC adapter (barrel jack)7–12VPermanent desk projects
18650 pack β†’ VIN7–12VRobots, higher current

USB β€” the simple default

While you’re programming and testing, the USB cable both powers the board and carries your code. Nothing else needed. The limitation is the tether to a computer or power bank.

Barrel jack β€” 7 to 12 volts

The round barrel socket takes 7–12V from a 9V battery or a DC adapter. The Uno’s onboard regulator drops it to a clean 5V. This is the easiest way to make a project portable — but don’t go above 12V or the regulator overheats.

VIN pin β€” for robots

You can feed the same 7–12V into the VIN pin instead of the jack — handy in a robot where you’re wiring from an 18650 battery pack. The rules are the same: 7–12V, and never feed 5V into VIN (use the 5V pin for that).

Powering motors: the golden rule

Motors are the number-one power mistake. Never run motors from the Arduino’s 5V pin — they draw too much current and brown out the board, causing random resets. Power motors from their own battery through a motor driver, power the Arduino separately, and join the grounds. If your project resets when a motor or big servo moves, this is why.

Boosting a low voltage

Running from a single cell or a low-voltage source? An MT3608 boost converter steps a low DC voltage up to what your board or module needs — useful for battery projects and DIY power banks.

Frequently asked questions

Can I power the Uno with a 5V phone charger?

Yes — through the USB port. Don’t put 5V on the barrel jack or VIN; those need 7–12V.

How long will a 9V battery last?

For a light circuit, hours; for anything with motors, not long. Use 18650 cells for higher-drain projects.

Why does my Arduino reset randomly?

Almost always a power problem — usually motors or servos drawing current from the board. Give them a separate supply and share grounds.

Related guides

Get power parts

Browse batteries & power9V batteries, 18650 holders, the breadboard power module and the MT3608 boost converter. Visit us at Shaheen Market, DAV College Road, Rawalpindi or order online with COD.

Leave a Reply

Your email address will not be published. Required fields are marked *

Chat with us on WhatsApp