Determining battery capacity for your project
For portable project choosing the right battery is not always easy. There are many choices e.g. alkaline batteries (AA, AAA, 9V, etc.), lead acid, li-ion, etc. With all different characteristics, different voltage, capacity, weight, size etc. This tutorial will guide you to choose a battery in 4 steps and will end with an example.
Step 1: determining voltage of your project e.g. 3.3V, 5V, 12V or a combination of these.
Step 2: measure current. You can use the variably power supply on a desk of the E-lab. When using this power supply you can see the current being drawn by your circuit. At the tutorial ‘how to use a DC supply’ you can find more info how to use this supply.
Step 3: Now the needed battery capacity can be calculated by multiplying the amount of current being drawn with the hours you need your circuit to function e.g. 0.45 A equal to 450mA multiplied by 10 hours gives 4500mAh(mili-amperehours) or 4.5 Ah(ampere-hours). The capacity of rechargeable batteries is mostly given on the battery itself. See some links for the capacity of Alkaline batteries.
Step 4: choose your battery and battery configuration. You can add batteries in series. Adding them in series adds up the voltage. It is not a good idea do add different types of batteries in series.
Here is an example for the case in step 3: Say we got a motor that draws 0.45A of current and works at 12V and we want to run it for the duration of 1 hr. We can use different battery configurations. Let’s take a standard AA alkaline battery. The nominal voltage of this battery is 1.5V and the capacity around 1500mAh. So to create a 12V battery we need 12/1.5=8 cells in series. For the capacity of 4500mAh we need 4500/1500=3 cells in parallel. To create this battery we need 8*3=24 cells in total with the configuration described in fig x. Another option is to buy a 12V lead acid battery with a capacity of 5Ah.
Your final pick of a battery depends on your project and must be a trade of between battery capacity, cost and size/weight.
In case you need a 5volt supply, consider the use of a USB power bank. These are available in many different capacities. Charging and discharging is controlled via an internal circuit, improving safety.