Making a 9v Battery DC power supply

Rather than use the USB to power my Arduino board with a handy trip to the electronics store with some more knowledgeable people than I, I have constructed a 9Volt DC power supply.

Taking a 9 volt battery, a 9v battery holder and a 2.1mm coaxial DC jack (positive tip) I have quickly soldered a portable power supply and better yet it works! (You will also need solder and a soldering iron).

DC Power Supply Components

2.1 mm coaxial DC jack
PP3 9Volt battery
PP3 9Volt Connector / 9Volt battery holder

arduino-9v-battery-plug

Step 1:

Trim the wires on the battery box and make sure that theres at least 5-10mm of exposed wire. Unscrew the jack, take the housing and thread the wires through.

Step 2:

Connect to positive (red) wire to the base of the pin and solder, connect the negative/ground (black) wire to the tall pin and solder. Making sure that there is no connection between the two.

Step 3:

Wrap some electrical tape around the connection and screw on the housing unless like me you forgot to thread the wires through it which, in that case, means having to unsolder your connections and start again. Tape up the flex wire and you’re done.

Thats it, plop in the battery and jab the connection to your DC jack on the board and you should get power. If you don’t either your battery box has an on/off switch, you got the pins wired wrong or your soldering is shit.

This content is published under the Attribution-Noncommercial-Share Alike 3.0 Unported license.

Technorati Tags: , , , ,

  1. 3 LED Crossfade with PWM and Arduino
  2. Arduino – Modifying a Robot Arm
  3. Arduino + Processing: Make a Radar Screen to Visualise Sensor Data from SRF-05 – Part 2: Visualising the Data
  4. Arduino + Processing – Make a Radar Screen to Visualise Sensor Data from SRF-05 – Part 1: Setting up the Circuit and Outputting Values
  5. Arduino – Basic Theremin meets Processing!
  6. Arduino – Basic Persistance of Vision
  7. larryBot – Arduino robot versions 0.1 to 0.5 lessons learned
  8. Arduino – (Very) Basic motion tracking with 2 PIR sensors
  9. Arduino – Sonic range finder with SRF05
  10. Arduino – Redefining the TV Remote

2 Responses to Making a 9v Battery DC power supply

  1. bluebo says:

    How long do you think the battery will last having a piezo playing a tune?

    • larry says:

      Well I’ve not changed my battery since I made this and its powered the Arduino board for a long time! I guess you’re going to be using the Arduino to control the piezo speaker? the average 9v battery will have about 300mAh when fully charged. Each of the Arduino pins use up to 40mA and then you’ve got to factor in your code running – how much its using the chip, sending instructions etc… if the piezo is playing constantly and so on. So you should get maybe 2-3 hours if its running constantly I reckon maybe more depending on what you do. If you want it running for much longer than ge some AA batterys and solder a battery pack as you’ll be able to get 2-3000 mAh, then your Arduino will run for days. There’s some interesting work here similar to this topic at: http://interface.khm.de/index.php/lab/experiments/sleep_watchdog_battery/

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">