Powering an Arduino

There are 3 ways to power an Arduino; through USB, the barrel jack, or directly into the VIN pin. Each option has pros and cons and the method used depends on the project the Arduino is a part of.

Powering an Arduino from a USB is the way used by most people. When an Arduino is connected to a computer to load code, it also provides power for testing. If a project involves interaction with the USB port, in order to send or receive serial data for example, the USB is an easy, no hassle method. However, if a project is mobile or not in close proximity to a computer, a different power option will need to be considered.

Barrel Jack
The Arduino Uno, Mega and Ethernet (as well as the many of the older boards) have a standard 2.1mm center positive barrel jack connector. This jack has a diode to protect the Arduino from reversed polarity. This allows the Arduino to be easily connected to an AC-to-DC adapter or a battery pack. The recommended input voltage for this jack is 7 to 12 volts.

Stationary projects that will be near a wall outlet can be powered with a 9v or 12v wall wart power supply rated at either 1amp or 500ma.

For a mobile project, batteries can also be plugged into the barrel jack. The most basic option is to create a 9v battery adapter. There is a simple tutorial on Arduino’s webpage. To power a project with standard 1.5 volt alkaline AA and AAA batteries requires at least a 6x battery holder. If using rechargeable batteries remember that they provide different voltages, NiMH for example is only 1.2 volts. If the power supplied to the Arduino drops below 7v the output of the 5v pin may not be a full 5 volts and the board may become unstable.

The VIN pin on Arduino boards can be used to tap into the power source plugged into the barrel jack. Some shields will use this as their power source. The VIN pin is after the polarity protection diode so keep in mind that the output will be about .6 to .7 volts less than the input voltage.

This pin can also be used as an input for power. The only difference between the barrel jack and the VIN pin is that the VIN pin is after the polarity protection diode. This means 2 things: first if the power is connected with polarity reversed it will destroy the Arduino and second the power used by the Arduino will be slightly less, leading to longer life if powered from a battery. Once again the type of project and components will determine if this is the best route.

These are the 3 most common ways to power up an Arduino, however keep in mind that not all Arduino boards are exactly alike. The more specialized boards like the Lilypad, Fio and Pro have different power requirements. The new Arduino Ethernet also has an optional Power over Ethernet (PoE) option. Just keep in mind the type of project you are working on and keep experimenting!

5 thoughts on “Powering an Arduino

  1. Pingback: Darryl Lai » Blog Archive » Motorized IGUS Slider – control box

  2. Pingback: mois-Blog - Bienenwaage: Todo

  3. Pingback: How much current can flow through Vin? | Arduino Patio

  4. So if I need to power a GSM module that requires up to 2A peak power (bursts) with a MEGA and an external 4xAA battery pack, I should connect the battery pack to the barrel jack but then the gsm module to the Vin & GND instead of the 5V & GND?

    Can i still leave the USB cable plugged in from my computer in order to read the serial monitor?

Leave a Reply