Battery

Basics
Many electronic devices run off batteries as their energy source. The ideal battery is a source of voltage, when connections are made to it current will flow, the amount depending on the connections. For the ideal battery the voltage will not fall when current is drawn, or time goes by. For real batteries none of this is true, but may be useful approximations. An improved model of a battery is that it is an ideal voltage source in series with an ideal resistor ( known as the internal resistance of the battery ). A battery is a collection of cells so a single cell battery is really just a cell, not a battery.

Some of the most important characteristics of batteries:
 * Voltage
 * Internal Resistance
 * Energy content ( often indirectly measured by amp hours or mAh )
 * Rechargeable? Primary ( not rechargeable ); Secondary ( rechargeable )
 * Size
 * Weight
 * Chemistry ( lead-acid, NiCd, NiMH, Lithium, etc ...... )

Uses
 * Provides power to circuits. At any time the power is equal to the voltage of the battery times the current. When the battery is not connected, the current and the power are 0.
 * We will often use a wall-powered power supply in place of a battery.

There are a surprising number of myths and urban legends about batteries (such as the "memory effect" near-myth and various ways of "fixing" it). Also the process of charging them up. Is it true that "almost all batteries don't perform to optimum until after 10 or so full charging cycles"?

battery holder
With many modern electronic devices, the battery is often the single heaviest component, and one of the largest parts. Also, it is often the only part designed to be replaced periodically.


 * coin cell battery holder: Are you designing or soldering a PCB and you need battery backup? PG31 GPS USB Dev Board has a few tips. The µWatch uWatch takes a completely different approach to connecting coin cells to its PCB.
 * 9 V battery holder: ... any tips?
 * AA battery holder: ... any tips?
 * What kind of battery and holder is appropriate for powering a sewn-on LilyPad Arduino or wearable LED display or other sewn-on wearable electronics?

battery test jig
I wish someone would design an open-hardware battery test jig. One I could program with various recharge protocols, to see which protocol is *really* the best for recharging secondary batteries. And one that anyone could build to repeat the experiment. Such a jig could conclusively prove or disprove the many myths and urban legends about batteries.


 * Can I do that with the Smart Battery Charger with Graphical Data Logger ?


 * Can I do that with the Ardustat ?


 * * Yes, yes you can. DS


 * "Team Toad: Battery Tests": empirical tests of real batteries with real motors.

DIY UPS
The biggest batteries in my house are inside my UPSes. Alas, sometimes I think they are not quite big enough. Here are some links to people building custom UPS with bigger batteries than most off-the-shelf UPSes:


 * Mike Howes. "Beating brownouts: building a super UPS". 2007.
 * "The DIY (or, if you must, "Ghetto") UPS" via  "even though it makes rain look really cool, please do not stand in the rain holding the strobe."
 * 
 * "max". "DIY HACK – How to make your own UPS for your computer and other peripherals during power outage". 2008.
 * "12V DC micro UPS system": DC input (up to 18 VDC), 12 V battery charger, and DC output (connected to either the input or the battery). ,
 * BenjaminNelson. "48V UPS for DIY Solar PV System"
 * "jacquesl". "DIY UPS, completed".