Arduino playground – 9VBatteryAdapter
2009/01/03/2224RTFA: http://www.arduino.cc/playground/Learning/9VBatter…
With just two parts your Arduino goes portable, powered by a 9V battery. Note that these connections are the same ones you’d use to make a plug to connect to a solar cell array, a car lighter plug or a larger battery.
You’ll need a 9V battery clip, a 2.5mm power plug, a soldering iron and some solder, and optionally a small piece of heat shrink tubing.
Okay – I’m going to stop raving about the Arduino eventually, but right now I wanted to share a picture of my 9v batter adapter. If you’ve been following the exploits of my infrared receiver, then you have watched the project increase in complexity. The software is totally cool, the breadboard has been exchanged with a protoshield, and now I have gotten rid of wired power (no USB cable, no 9v AC/DC adapter).
That’s right – this little computer is totally portable now! w00t! It behaves just like it does when it’s plugged in.

This gives me an idea: now that I can carry this thing with me, what about an arduino tv-b-gone? hmmmmm…
I’ve found this code, but it’s pretty ugly… Maybe that would be worthy follow-up project for my IR decoder.