battery 9V

Have you followed the play ground?

http://arduino.cc/playground/Learning/9VBatteryAdapter