Step 1: What You Need
To make a power supply you will need the following:
-wood glue or other PVA based glue
-(black) spray paint
-old newspaper or equivalent
-wire with jst female connector (for power supply)
-wire with jst male connector (for in breadboard or electronics project)
-heat shrink tubing
-a fresh 9-Volt battery
-a not so fresh 9-Volt battery
-low drop voltage regulator, i used LM2931AZ5 (check the datasheet)
-2 ceramic capacitors 100nF (check the datasheet)
-1 electrolytic capactitor at least 100uF, is used an old 470uF (check the datasheet)
-pin layout: since you're checking the datasheet anyway, make notes of the pin layout.
note: the datasheet of my regulator said the ESR value of the output capacitor is critical. From my personal experience, you need two 100nF capacitors and one electrolytic capacitor, or else it will oscillate audible!
-multimeter to test the circuit
-pliers to open the battery
optional: a breadboard circuit in need op juice.
-handling a soldering iron
If you already have a 9-Volt battery clip, you can skip step 2.
If you don't want to paint the power supply, you can skip step 11.
Step 2: Getting a Free 9-Volt Battery Clip
Mine had some paper near the clip. Just remove that.
Cut off the connector. By doing it the wrong way, like i did, you will temporarily short the battery. If the battery is dead flat then it probably won't hurt, but be carefull!
Dispose of the battery cells properly.
Step 3: Place the Components
Step 4: Solder Step 0
Pre-tube the wire.
Step 5: Solder Step 1
Step 6: Solder Step 2
Solder the electrolytic capacitor. Watch the polarity!
Step 7: Test the Output
Step 8: Shrink the Tube
Step 9: Apply First Layer of Toilet Paper
Cut out a little square of toilet paper. It should fit around the connector. You want a bit to stick out on the bottom. Apply some glue to the square and smear it out.
Apply the toiltet paper and gently press it.
Step 10: Apply Final Layer
Cut of some excess paper.
Carefully wipe the surface with your finger to make everything fit nice.
Clean up the mess and set the power supply away.
Step 11: Finishing Touches
Get some old newspaper and go to a well ventilated area.
Spray one or two layers of paint on your power supply.
Now you just need a electronics project to use it with...
Note that after a week or so the glue will be completely set.