Introduction: The Arduino AA Undershield

I recently bought an ArduinoDiecimila board. It's awesome and the applications, you can use it for or with is almost unlimited. However there's a problem when you want to use it in portable applications. You can use the Liquidware lithium backpack, which is a good way to power the Arduino. There's a problem with the backpack though, cause when the battery dies, you'll have to find an USB port or another external power source to charge it. You can't just replace the battery. You can also choose to power your arduino with a 9V battery and the built-in regulator of the Arduino board. The problem with this setup is that 9V batteries doesn't have a very high capacity, so they'll die faster.

That's why, I came up with the AA Undershield. It uses 2 AA batteries and boosts the voltage up to 5V, using a MAX756 IC to power the Arduino.

You may ask why I'm not simply using 3 or 4 AA batteries to power the Arduino. The reason why, I'm not using batteries to drive my Arduino directly, is that they're not regulated. Right after, you've recharged your battery, it may supply 1.4V, even though it's rated for 1.2V, so there's a risk of supplying your Arduino with too high or too low voltage.

Here is a video of the Arduino Diecimila and the AdafruitWaveshield attached to the AA Undershield. I've uploaded an example code, that changes the playback speed, when you turn a potentiometer. Other analog sensors will also work.



I apologize for the poor sound quality in this video. The mic in my camera is really bad.

The AA Undershield can also be used with many other 5V devices.

Step 1: Get the Parts

Here is a list of the parts, you'll need to make an AA Undershield.

  • A prototyping PCB that has the same size as your Arduino board.
  • A battery holder.
  • A MAX756 Integrated Circuit. There is a lot of boost converters out there, but I used the MAX756, cause I had a couple of them lying around.
  • A 8 pin IC socket
  • A 22uH coil.
  • A 1N5817 or 1N5818 schottky diode.
  • A 220uF Electrolytic capacitor.
  • A 100uF Electrolytic capacitor.
  • A 100nF Ceramic capacitor.
  • A 100kohm resistor.
  • A 110kohm resistor (I didn't have one, so I connected a 10k and a 100k in series).
  • Two spacers to make space between your Arduino board and your shield.
  • Two screws for the spacers.
  • Two nuts for the spacers.
  • Four spacers to make space between the undershield and the surface, you're placing it on (These are only needed if you choose to mount your battery holder underneath the shield).
  • Four screws for the spacers (These are only needed if you choose to mount your battery holder underneath the shield).
  • An Arduino or Freeduino board. I used a Diecimila, but it should work with the other boards just as well.
  • Two AA batteries.
  • An on/off switch (optional).

Step 2: Drill the Holes in the PCB

In this step, I'll show you where to drill the holes in your PCB. Start by placing your Arduino board on top of your prototyping board. When you buy a new Arduino board, it comes with two mounting holes. mark those holes on your prototyping PCB using a pen or permanent marker. then drill the holes. I used M3 screws (M3 means that they're 3mm in diameter), so I used a 3mm drill.

If you choose to mount the battery holder underneath the shield, you should drill 4 holes in each corner of your PCB for the spacers.

Step 3: Start Soldering

It's time to solder all the components to the PCB. I've included the schematic and some pictures. It's a good idea to start with the 8 pin socket, cause then it's easier to get an idea of where the other component should be mounted. You'll probably have to mount the two electrolytic capacitors and the coil horizontally, so that they're not taller than the spacers, you use to mount your Arduino with.

When you're done soldering, check your your circuit for mistakes. If you didn't find any mistakes, then hook up your circuit up to the batteries and a voltmeter. You should get around 5V and it should not be higher than 5.30 volts or lower than 4.90 volts.

Step 4: Mount the Battery Holder

It's time to mount the battery holder. There are 3 ways of mounting the battery holder. You can choose not to mount it at all and just let it dangle around, you can mount it beside the shield using a popsicle stick (this will of course make it wider) or you can mount it underneath the shield (this will of course make it taller). I chose the last method. You can mount it either with screws or hot glue. When you've mounted it, solder the red and the black wire in the right places (see the schematic in step 3).

Step 5: Mount All the Spacers and Your Arduino Board

It's time to mount all the spacers to the shield and mount the shield and the Arduino. Start mounting the spacers that is placed between the shield and the surface, you're placing it on. You should also solder two wires from the output of the shield (I recommend, that you use a red and a black wire to avoid confusion). When you've soldered the wires in the right places, use a voltmeter again to check the voltage.

Then mount the two spacers for the Arduino board.

After you've done that, it's time for mounting the Arduino board on top of the shield using two screws.

Then insert the positive wire (in my case the red one) into the place in the power header that is marked "5V". Insert the negative wire (in my case the black one) into the place in the power header that is marked "Gnd".

Step 6: You're Done

Congratulations. You've just made an Arduino AA Undershield.

Comments

author
wdieck (author)2014-09-27

Nice...this one does the same thing...just on top http://www.fundamentalz.co/aa-arduino-power-shield/

author
nerd7473 (author)2012-06-30

this is so cool

author
wamj (author)2010-09-24

Is it possible to use two ''banks'' of batteries so that its possible to power the arduino for a longer period by switching between banks but keeping the same circuit

author
wamj (author)wamj2010-10-09

or would "D" battries last longer?

author
lloydrmc (author)wamj2012-05-28

D batteries would last WAY longer, though you can get 3000mAh AA's are easy to find cheap.

That being said, you could dispense with the switch and just wire the battery packs in parallel (plus to plus, minus to minus)

author
Chowmix12 (author)2010-07-05

can you hook up two max756s to have 400mA output? becuse im using motors... they will be better off with 400mA than 200mA

author
Chowmix12 (author)Chowmix122010-07-05

in parallel...

author
lloydrmc (author)Chowmix122012-05-28

There are a LOT of similar chips available, even from Maxim, current capacity is up to 2A, some of which are even programmable for a lower current output.

I beg to differ on the minty boost LT chip, as availability is spotty at best.

author

Although I haven't tried it, I don't think you can. Instead you might be better off by using a newer regulator with a higher output current, such as the LT1302 which is the same one as the one used in the mintyboost USB Charger: http://www.ladyada.net/make/mintyboost/index.html

author

is there any that i can get from Maxim? I prefer them, and they generous with samples.

author

Another user, who said he was working for Maxim, said that there was a newer and more efficient regulator. He mentioned the MAX1674/MAX1675. By quckly looking over the datasheet, it seems that the MAX1674 is capable of up to 1A, while the MAX1675 is capable of delivering 500mA.

author

Did you use the mintyboost 1.2 schematic as a guide for this? Because the two resistors aren't necessary unless you are using an led for low battery signal on pin 4, which in your schematic isn't used.

author
scottinnh (author)Chowmix122010-12-25

The Linear chip is wayy nicer than the Maxim...

author
stratohellsing (author)2011-11-19

Hello there, is it any compatible IC available for the maxim? Because i can not find it in my country ...

Thank you in advance.

author
Cello62 (author)2011-09-26

  Done!! works fine. Thanks for this instructables.

DSC_0003.JPGDSC_0004.JPGDSC_0005.JPG
author
Cello62 (author)2011-09-07

Nice project
You have a personal message. Help request.
Thanks

author
robot797 (author)2010-06-06

you sayd in the intro that you cant use 4 batery's but you can the arduinio has a 5 volt regulator build into it so it will be powered if the voltage is higher that 5 volts

author

I didn't say that you couldn't use 4 AA batteries to power your Arduino. All I said was that I don't recommend it and it's inefficient. The regulator on the Arduino board has a dropout voltage of 2Volts, which means that the input voltage has to be 2 Volts higher than the output. Since the output is 5V, the input must be 7V. Although you might be able to run your Arduino on 4 batteries with the built-in regulator it will be unstable and inefficient.

author
raditya_3005 (author)2010-04-19

 is it possible to use IC 7805 instead of MAX 756??

author
amando96 (author)raditya_30052010-05-06

 no, the 7805 needs at least 6v to start working, 7 is better,  the arduino already has a small 7805 on the board, linear voltage regulators like the 7805 waste energy, others, like the max756 save energy, so the batteries last longer, and you can use lower voltages, to achieve higher voltages!

2 x 1,5 = 3v

3v -> [MAX756] -> 5v
much better

author
appsman (author)2009-06-28

Let me start by saying I work at Maxim. Thanks for using our part. The MAX756 is fine for this, but you might be happier with a newer device like the MAX1675. it has a synchronous rectifier built-in (so no diode is needed), and better efficiency (about 93% instead of 86% at 100mA out). I probably shouldn't say this here ;-) but they (we) are pretty liberal with samples.

author
helloworld1 (author)appsman2009-11-10

hi, for the newer max chip, could you use the exact same components? (apart from the chip ofcourse)

author

It looks like it. This chip might have another pinout though. Check out the datasheet. It has some example schematics: datasheets.maxim-ic.com/en/ds/MAX1674-MAX1676.pdf.

author

Sorry, I forgot to say the pinout of the MAX1675 is different from the MAX756.

author
helloworld1 (author)appsman2009-11-21

so, when you say a different pinout you mean the order of the pins? but otherwise this would still work?

author
appsman (author)helloworld12009-11-21

Yes, the same parts will work, though you could get away with lower value caps if you want.

author

Thank you very much for the tip. I purchased the MAX756 at an online store along with some other parts, without doing any research on the efficiency of the different boost regulators.

author
andrew101 (author)2009-08-15

how did you get arduino to play music? ive been looking on how to make it play a wav file, but everywhere says to buy the wav sheild or something dumb like that

author
andrew101 (author)andrew1012009-08-15

is that what ur using?

author

Yes. I'm using the waveshield.

author
raykholo (author)2009-05-20

this seems to be a more customized towards arduino version of the mintyboost 5v usb power supply by ladyada on other thoughts, nice idea and adaptation

author
JAK101 (author)2009-03-16

How much does all of this cost??? JW

author
james.mcglashan (author)JAK1012009-04-04

yeah how much did it cost it is a good idear bit y not just get 2 of the arduino batteryholders in paralel so it does no halm to the arduino and plug it in the bottom of the arduions batery plug lol that would last longer with the same voltage and a usb plug so u can charge the batterys with a chargeing curcit so when u plug in the usb cable in u will charge the batterys for the arduino. lol that would be so good and easer to fit with an arduino mega as long as it doesnt need evan more power...

author
blalor (author)2008-12-15

Do you happen to have a link or part number for that protoboard you're using? I'm looking for something similar, but searching Jameco and Mouser for that kind of thing is a lesson in frustration. It's exactly what I'm looking for. Great idea, by the way. I have a small sample of these chips and the required components, but got hung up on the circuit board layout. One of the other benefits of using AA or AAA batteries is their ubiquity and that they're easily found as rechargeables. Most common solutions use 9v batteries, but they don't last terribly long, and very few chargers support them.

author

I bought the protoboard at a local electronics part store, where they sell Velleman kits and parts, so it's a bit expensive there, but this is the board that I used.

author
jeff-o (author)2008-12-15

Cool idea. You could use board-mounted AA holders and mount them directly to the PCB, so that you don't have an external battery pack dangling off the side.

author
Cartermarquis (author)2008-12-13

Looks like a good idea. Have you thought about putting a 2.5mm plug on the power lines, so that it just plugs right into the Arduino external power jack? That way you don't have to plug it into the top shield(if you use more than 1, for example). I guess you would need to add more batteries to it to get the to 9-12v recommended voltage. Its a good idea, and I might to do something similar with my arduino.

author
blalor (author)Cartermarquis2008-12-15

You don't want to feed this sort of power supply back through a regulator. The MAX756 is outputting a regulated 5v in this case. The barrel connector is for power supplies generating 5v and up (to maybe 12v?). The USB port on the Arduino would take 5v (no further regulation is needed), but why add the extra parts to the "undershield" if it's not necessary?

author

Instead of using the 2.1mm "barrel jack", you could add a usb plug to the output and plug that in.

About This Instructable

35,486views

98favorites

License:

Bio: Hi all, I'm a college student in the copenhagen technical college. I'm currently working with 3D printers and I'm building my own ...
More by Artificial Intelligence:DIY Copper Style LED Painting IlluminatorThe Arduino AA UndershieldLED Parachuties
Add instructable to: