Powering the Arduino Mega With a Lithium Battery




Introduction: Powering the Arduino Mega With a Lithium Battery

This is a small and short tutorial that explains step by step how to connect the Mega Lithium Backpack open source hardware shield to the Arduino Mega, to give it battery life, and allow the Mega to be untethered from the computer.

The parts were all taken from the liquidware shop, and the antipastohw.blogspot.com blog.

Step 1: Collect All the Parts

For this step, you'll need an Arduino Mega, a Lithium Backpack, two short wires, and about 5 minutes. Technically, 5 minutes isn't a part, but it's worth something nonetheless, and it shouldn't take longer than that no matter what.

Step 2: Connect the Wires Into the Lithium Backpack

At the top of the Lithium Backpack is a 4-pin female header. On the back of the Lithium Backpack is 4 small markings that tell you what pin is what. There's a 5 volt pin, a 3.3 volt pin, a ground pin, and a status pin. The status pin outputs a 0-5 volt signal, where 5 volts means the battery is fully charged.

Connect one of the two wires you have into the ground pin (in the picture, the blue wire), and the other wire into the +5 volt pin (the red wire).

Step 3: Connect the Backpack to the Arduino Mega

There are holes on the Arduino Mega, and corresponding holes on the Mega Backpack. The Mega backpack has two black screws and standoffs that are lined up for connecting to the Arduino Mega. In the picture, the screw closest to the silver USB port, and the screw in the upper right, and both used to connect the Mega to the Mega Backpack.

Step 4: Connect the Wires Into the Arduino Mega

Now, connect the ground and power wires from the Mega backpack into the Arduino Mega. The ground wire (blue in the picture) should be inserted into the Arduino Mega's GND pin on the upper right row of headers, and the +5 volt wire (red in the picture) should be connected to the Arduino Mega's 5V pin.

Step 5: Scrunch the Wires Down to Make Room for Your Circuit or Shields

The wires will usually stick up a little, and so scrunch them down to make room for whatever circuit or shield you'll want to build on top of the Arduino Mega, like the pictures show.

Voila, done!

Not terribly complicated, but I've gotten lots of emails about it from people who just want to make sure they're doing everything by the book!

To charge the Mega Lithium BackPack, place the switch in the CHRG - for "Charge" - position, and then connect the USB power port to the computer or a USB outlet charger. To use the power in the battery, put the switch to the other position, the "Batt" position.

Be the First to Share


    • Rice & Grains Challenge

      Rice & Grains Challenge
    • Puzzles Challenge

      Puzzles Challenge
    • Lamps Challenge

      Lamps Challenge



    3 years ago

    you can now purchase a buck/boost module and a much larger lithium battery mine is 3.7vdc@8000ma...set it all up wring wise charge up the battery and now you can run the arduino while charging the battery...no more connecting and disconnecting ..just rem to set the output to 5-6 vdc


    can i use lithium battery to power up femtoduino (the smallest arduino clone)?


    10 years ago on Introduction

    did you get the mega to read the SD card on the touch shield and display the images on the screen? i am asking because i have that problem. my touch shield same as yours only displays images from the SD card on my duemilanove.

    Any advice would be appreciated.


    Reply 13 years ago on Introduction

    i think the mega's a fine version of the arduino... although personalyl i haven't found a use for all those pins yet. i still use my duemilanove more, probably because i have more shields for it...

    Callum Snowden
    Callum Snowden

    Reply 12 years ago on Introduction

    Yeah, they should do because it is just like a diecimila / duemelove but with more IO pins on it :)