Battery has two little wires coming out, yes? Solder those 2 wire to two pins that you can plug into your breadboard. I have lots of male breakaway headers around, I personally would use two pins from those.http://www.dipmicro.com/store/HEADS40GI can't tell from this thread which Arduino you have. If you have a 3.3V 8MHz Promini for instance, which will run nicely on a cell phone battery, you connect the battery to the Vcc/GND pin. The math - it was just an example.Say you had a 1000mAH LiPo battery.And say you were powering 4 LEDs full on, at 20mA each. They will be consuming 100mA while on. The Promini will be consuming lets say 20mA. So while running, you are drawing 100mA.So your battery with 1000mAH capacity could theoretically support a 100mA load for 10 hours. 1000mAH/100mA = 10 Hours.
Uno is set to run from >=3.8V for 16 MHz operation.You'd have to connect LiPo battery to the USB input connector so you're not losing voltage across the regulator.If you had 2 cells in series to make >7.4V then you could connect to the barrel jack connector, or to Vin on the power header.
"The Promini will be consuming lets say 20mA. "Don't forget the Arduino itself draws some current. How much depends on the sketch, how busy it is.
Sure, current varies with how much is being switched, that's the beauty of CMOS.Put it into the various phases of sleep mode, turn off ADC, etc, save some current.Well yea, but the arduino platform doesn't directly support sleep modes and turning off ADC, etc, that would require user written or 3rd party library functions to be included into a sketch, not a typical arduino users requirement. The AVR is simply clocking away at 16mhz at all times, so the board's steady current consumption (independent of external loads wired to the board and use of pin 13 led) is going to be pretty constant in my opinion, regardless of the sketches contents or 'how busy it is', because it's always busy at 16 Mhz. Perhaps active serial communications might add a ma or 2 but I would think the steady on-board consumption of around 70-80 millis (or whatever it is) could be considered a constant value. Again I'm just responding to your specific statement: QuoteDon't forget the Arduino itself draws some current. How much depends on the sketch, how busy it is.Where I don't feel the sketch contents or 'how busy' the board is has an effect on board overhead current consumption, but rather that it can be considered a fixed constant value.LeftyFor this discussion of current load & driving LEDs, & battery life, just pick a number & go with it.
Don't forget the Arduino itself draws some current. How much depends on the sketch, how busy it is.