Introduction: The Ultimate USB Backup Pack

Picture of The Ultimate USB Backup Pack

Need to keep your phone charged for a fortnight?

Commercially available USB battery packs are usually less than 10Ah capacity. This is fine if you need juice for a few days but what if you need it for a few weeks? In this instructable I describe how to build a 40.6Ah battery backup with dual USB outputs and voltage meter.

Step 1: Materials and Tools

Picture of Materials and Tools


  • Lithium Ion cells, I used 7 5.8Ah cells in parallel to give a total of 40.6Ah
  • Fuses, I used a 1A fuse for each cell and a 5A for the whole lot
  • USB / solar / DC Lithium Ion charger from Adafruit
  • 10k NTC thermistor
  • A switch, I used this one
  • A P- Channel Logic Level MOSFET I used a NDP6020P
  • Two 3V to 5V 1A boost converters, mine were off eBay
  • A double stacked USB header
  • A LED bar graph mine had red, yellow and green bars and was a HDSP-4832
  • A LM3914
  • A 1k and a 2k trimpot
  • 3 10k resistors
  • A 1k resistor
  • a piece of strip board PCB
  • Some red and black wire
  • Assorted tape, heat shrink and glue
  • A case of some sort, I used an old leather writing case


  • General electronic tools, soldering iron, wire strippers, ect
  • General mechanical tools, screwdriver, craft knife, scissors, ect
  • Multimeter
  • Sewing needle and thread
  • Lighter for heat shrink
  • A adjustable power supply, I used a LM2596 adjustable step down converter

Step 2: The Case

Picture of The Case

I used an old leather writing case. In order to prepare it for its upgrade I unpicked the stitching holding in the inside flap and the "pen holder" strip, leaving a blank inside.

Step 3: The Cells

Picture of The Cells

Your cells can be as large or as small as you like. Mine are each 5.8Ah. They must however be rated for a 4.2v max voltage to be compatible with the charger.

Lithium ion cells are dangerous because they are full of nasty chemicals and can catch fire if you mistreat them. These cells are 25c rated meaning they can each discharge (25 * 5.8)145A - no problem. if you manage to short circuit one it will discharge even more. Once all 7 packs are in parallel the battery will be able to discharge 1015A, which is why fuses are required, 1A for each cell and 5A for the whole pack.

My Cells didn't have the polarity labeled so I used my multimeter to identify the positive pin and marked them with a red sharpie.

I then soldered on a positive and negative lead with a 1A fuse inline. To start with I had great trouble getting the battery tabs hot enough to solder due to the battery dissipating the heat, I found that if I cut a strip most of the way off, the reduced area allowed me to solder on the wire more easily.

I put a length of heat shrink over each fuse for insulation.

I then put tape over the ends to insulate the cells and taped round them and the wires for strain relief.

To fit them in to the case I laid them out and drew round them, and then cut through the cardboard "structure" of the case to provide a recess. The case had foam which I left intact.

I used tape to hold the cells in place

Step 4: The Ada Fruit Lipo Charger

Picture of The Ada Fruit Lipo Charger

Adafruit has an extremely good tutorial on using this charger here

The steps I took to prepare the charger were:


  1. Desolder the PROG and THERM SMD resistors.
  2. Solder the 1k resistor in the PROG space. This sets the charging current to 1A rather than the 0.5A default.
  3. Solder the 10k NTC thermistor to the THERM pins, which needs to measure the temperature of your Lipo cell/cells so you may have to extend it a bit. I put some heat shrink on the leads to allow them to be bent over to the nearest cell.
  4. Solder the provided capacitor in place. I bent mine over because of the confined space it would have to fit into.
  5. After a test fit I decided to de-solder the DC barrel jack. I discovered you have to solder a jumper on the pads along the right hand side of the jack to charge from using the USB port.
  6. Solder the provided connector to the battery with the 5A fuse in line.


  1. Do a test fit to work out where your going to locate the charger.
  2. Like I did for the cells I cut a recess in the case and taped the board down.
  3. Make sure your thermistor is in contact with a cell.

Test it, the charger should now charge. Plug in the battery and a USB cable and the power LED and the charging or done LED should light

Step 5: Voltage Meter Prototype

Picture of Voltage Meter Prototype

If you just want to build it and don't care how it works skip this step.

The voltage meter is a fairly simple LM3914 circuit. The LM3914 drives 10 on/off outputs as a voltage sense pin varies between two voltages.

Dave Jones has done a tutorial on using the LM3914 for almost the same purpose (a 2 cell pack rather than our single cell) I recommend you watch it.

After watching Dave's tutorial, I decided on some specs, 4.20v max voltage to 3.7v minimum with about 10ma LED current. I then followed through Dave's maths and came up with some resistor values(see second pic), assuming a divide by 2 resistor divider between the battery voltage and the sense pin.

I then built this up on a bread board, and tested it with a tiny lipo cell. I discovered the RH and RL voltages were a bit off due to the resister and chip tolerances. After some fiddling about I decided it would be easier to use a couple of trimmer pots.

I then added a P channel logic level mosfet and a pull-up resistor so that when the final line of the bar graph went out the mosfet was disabled, thereby acting as a low voltage cut off.

Step 6: Final Voltage Meter Circuit Construction

Picture of Final Voltage Meter Circuit Construction

The circuit is extremely simple with only 1 chip, a LED bar graph, a mosfet, 2 trimmers and 3 resistors. I built it up on a piece of strip board PCB.

In order to get the red LED's at the bottom of the scale and the green at the top I had to put the LM3914 upside down on the bottom of the PCB. This in itself is not too tricky as long as you remember to cut the traces under it before you solder it in place.

Once the circuit is built you need to "tune" it. First power it from a 4.20v supply (I used an adjustable step down converter) and adjust the 2k trimmer(the bottom one in my pictures), which controls the offset from 0v of the scale, so that the top green LED just comes on.

Next set the input voltage to 3.8v and adjust the 1k trimmer, which is the range of the scale, so that the bottom red LED just goes off.

You may have to repeat the trimming several times as adjusting one pot affects the other slightly.

Step 7: Fitting Voltage Monitor and Switch

Picture of Fitting Voltage Monitor and Switch

To fit the voltage monitor I cut a recess in the cardboard of the case as I did for the cells. I marked out the location of the LED bar and cut the foam away and sliced an X corner to corner in the leather.

This allowed me to push the display through with the flaps tucked back inside, I secured it with super glue.

I could then wire the switch, - as it has an LED it requires both a positive and negative lead. The wiring is very simple as one side of the switch goes to the positive load output on the Lipo charger and the other goes to the positive input of the voltage monitor and the LED. I then put a piece of heat shrink round the whole thing to insulate it.

Then connect the negative LED terminal of the switch and the negative wire from the voltage monitor to the negative load terminal of the Lipo charger.

You can now test that the LED bar graph and the LED inside the switch come on when you turn it on.

I then used a needle and thread to hold the switch in place.

Step 8: USB Output

Picture of USB Output

I had planned to use a single DC-DC converter capable of stepping 3.8v-4.2v up to 5v at 2A (1A for each USB port). However, I couldn't find a low profile one so I ended up using two 1A converters.

I cut a hole for the USB port and cut through the cardboard and foam and cut an X in the leather and super glued it in place, as I had for the LED bar graph.

It was then a case of wiring up a DC-DC converter to each port. My converters were designed for USB so they had the resistors required to trick phones, (my android anyway Iphones might be more tricky), into thinking they are a wall adapter rather than a PC, thus enabling a faster charge.

The positive and negative leads coming from the voltage meter board can then be soldered to the positive and negative pads of the DC-DC converters.

Step 9: Finishing Off

Picture of Finishing Off

I put a layer of tape over everything to hold it all in place.

I then packed out the case with some foam to stop things coming loose.

Step 10: USE IT!

Picture of USE IT!

This should keep my phone charged for at-least a fortnight, (I haven't been using it that long yet), and is fully solar capable. Just add a dc input port to the case and plug in a 6v panel to keep it topped up. Its probably not a good idea to leave the battery pack in direct sunlight as they don't like getting hot.

The only thing I would change is to use a thicker gauge wire. This is because drawing 1A gives a voltage drop over the wire of a few tenths of a volt and as the scale is a range of 0.5V (3.7v-4.2v) this can make the pack look flatter than it is until you stop drawing current.


ZHKBLue (author)2016-07-26

Can i use car charger for it.

hirogarden (author)2016-03-20

where would I look for the power cells? I am not even sure what exactly to type to look for it. Or maybe I should just use 26650 type batteries.

OculumForamen (author)2015-08-08

I really want to build this thing! I have a few ideas of my own as to the configuration and such, but I was wondering what are a few good sources of these kinds of batteries? Used batteries are what I really want to focus on. Old Laptop Batteries? Also, I kind of wanted you to explain the LM3914 a little better. Basically I want to be able to hack old electronics for as much of these parts as I can, except the fuses and resistors. Any sources for these parts would be cool, any ideas? Anyone?

Rand0mUser (author)2015-05-22

Err... seven unprotected LiPo cells, parallelled... good way to start a fire. Best to avoid that unless you happen to have the equipment to do this properly.

Grisling (author)2015-02-05

well documented instrutables, great job!

This is actually very simple, and a great beginner project if you are new to electronics.

SparkySolar (author)2014-10-19

I like your Instructable

Thank you so much for sharing


landonfox00 (author)2014-08-19

Would it be possible to move the usb output elsewhere, instead of sticking out on the front?

MimiShell (author)2014-08-19

Holy... ahem... Great! Simply Great!

muy (author)2014-07-17

it was cool power bank..

devans37 (author)2014-07-17

Awesome tyvm

cybergod (author)2014-07-15

Love this. Would be ideal for camping. Alas, I do not possess the soldering/electrical knowledge skills. Pity. Great idea, great instruct able. Well done.

chifin (author)2014-07-15

I don't know the tech involved to do this, but liked the big battery idea :-) Thought the USB connector might move a bit with the leather outer shell on hanging cables like your main picture? Maybe you could do a small 3D printed panel to hold the LED bar and USB connector, and this would look nice on the outer cover as well as provide some stability? Well done, good notes & pics.

gadgetmakerx (author)2014-07-15

Thank You for the instructions . I watch the Dave's video on the lm3914 last year but I still couldn't figure out how to use the single cell 3.7 instead of the dual cell . Thanks for the knowledge : )

davis65536 (author)2014-07-15


Nicely built and packaged, but I've got to point out (along with verence) there's a fairly big danger with just connecting Lithium cells in parallel without carefully matching the internal resistance and capacity - Adafruit says as much in her intro to Lithium batteries (start at page 14)



iampete (author)davis655362014-07-15


Many hobbyists actually recommend parallel charging,

I can't see any problem at the current draw, relative to the (5.8*25*7) 1015A this parallel pack could produce. If for example the circuit was drawing 5A (shouldn't be over 3A without a fault) this would be about 0.5% of the rated current draw and the effective load resistance (3.8v/5A) of 0.76ohms is still two orders of magnitude more than the internal resistance of the battery (worst case esr of 10milli ohms), the length of the connecting wire or the difference in resistance of the fuses would have a larger affect.

I think you would have trouble upsetting a 5.8Ah cell by either drawing or feeding in less than one amp provided you stay with in the rated voltage.

I wouldn't put cells in parallel without a fuse on each cell or drawing high currents.

Ideal you could have a charger for each cell and hook them all up in series, but in reality I have confidence that the cells will cope just fine.

verence (author)2014-07-14

7 parallel lithium cells without a load balancer? A disaster waiting to happen. Otherwise a nice build and well written Instructable.

iampete (author)verence2014-07-14

thanks, I thought the resistance of the fuses would go a good way to balancing the current draw, is there a better way to do it?

dasimpson1981 (author)iampete2014-07-15

they are fine in parallel only in series do they need to be balanced

tigerbomb8 (author)iampete2014-07-15

If I recall correctly Li-Po batteries are balance by checking the voltage of each call and then discharging individual cells to the same voltage as the lowest and then charged as normal..

Also if you are going for long term storage you would have been better off with Li-Fe batteries.. They can be left charged without the risk of puffing and fire..

nqtronix (author)iampete2014-07-15

7 cells in parallel is indeed risky, especially with the high capacity they have. There might be a few charging controllers which can handle 7 cells in series (only makes sense when a "high" voltage source is available), but not which can control 7 cells in parallel.

If you want to keep the concept (I assume you do) you should consider to only connect one cell to the charging circuit and another to the output. Of course this needs additional circuitry, but should be possible an atmega. Per cell you'd need:

1 P-Channel Mosfet to connect the cell to the USB module (or 2 Mosfets, if you want to be able to connect each module individually)

1 OPAMP + shunt to measue the current flow

1 temperature sensor for overtemperature shutdown

1 switch to connect the cell to the charger (a p-channel mosfet won't work, it allow current flow backwards)

This means you'd need a microcontroller with at least 28 I/Os, 14 of which have to be ADC inputs. Most atmega only have 8 ADC channels, so you could either use an analoge multiplexer to use that much channels or you could use the atmega640, 1280 or 2560, they have 16 channels build-in but also only come in a 100 -pin SMD package.

The microcontroller needs to watch the voltage, current and temperature of each cell to ensure safe operating conditions, switch inteligent the cells to the charger or the output and display the remaining charge. It could also store how many times the cells have been charged, calculate the remaining capacity of each cell and balance things out.

However this isn't easy at all and will take a long time to design, build and code, which properbly isn't worth it. If I were you I wouldn't change a thing. It works well enough and didn't blew up yet. That's a good sign ;) Just don't get crazy and try to get out several amps at once. Check the temperature of the cells after a while in use, if one cell feels significant hotter than the others you should consider to give the charger a break.

Don't get me wrong, I like the idea and the design, this charger can be pretty handy on a camping trip or as an emergency power source during a blackout. :)

Quadrat (author)2014-07-14

I would like to see you get on a plane with that beauty :)

Aleator777 (author)2014-07-14

More power to you, and me, and everyone really...this thing will never run out! Great battery pack. So many watts...

mkowalski8 (author)2014-07-14

Where did you acquire these cells?

iampete (author)mkowalski82014-07-14

I liberated them from a 8 cell pack from hobbyking, I thought it best not to show how as it's bit dodgy, you can by single cells from hobbyking, adafruit, sparkfun ect. Its just you can get them cheaper if you spit a larger pack.

baecker03 (author)2014-07-14

I would like to note that there are better boost converters made by companies such as linear technologies, Texas instruments, Maxim, etc....

About This Instructable




More by iampete:The Ultimate USB Backup PackPower/Effort Saving PC Extension Lead
Add instructable to: