loading
Picture of Make A Breadboard Power Supply
This was a weekend project that I did so I can use a breadboard and get power to it. Some of my projects involve using 5V for a logic supply, while for others I may need a higher voltage. In this instructable I'll show how you can use a fixed voltage regulator as a adjustable one. The advantage of this is method is that your minimum output voltage isnt 2V, such as in the LM317T, but your minimum is what ever voltage regulator you used. For example, in this project I use a LM7805 as a adjustable Regulator, It gave an adjustable Voltage from (Vin-2) to 5V. I say Vin-2, since there is about a 2V drop across the regulator.

The Main reason for making this is because I wanted to make a portable breadboard with a Power supply in case I was bored at someones house, had a circuit with me, and wanted to play with stuff. This orignally stemmed from me salvaging a BUNCH of Mosfets/Transistors and not being able to test them when I was away for a weekend. Thus, this thing is powered from a wallwart or anything that has a 2.5 mm Plug
 
Remove these adsRemove these ads by Signing Up

Step 1: The Design

Picture of The Design
I needed a PSU that gave both 5V and was adjustable in case I needed 12V. Granted, I could have used a LM317 AND an LM7805, but because Of board space, I couldn't use both. I could have used Just a LM317 Adjustable Voltage regulator, But I didnt feel like breaking out my volt meter if I needed Just 5V.

Then I looked around the web and found that a Fixed voltage regulator can be used as an adjustable version. The reason why this works is that it makes ground "float". By adjusting the pot, your adjusting the ground point seen by the regulator.

The switch shown in the schematic is optional. I removed it from the final design (but its still on the PCB). I later figured I can just remove the power Plug and use that as my switch.

Step 2: The Board

Picture of The Board
board.jpg
Believe it or not, but the board was the hardest part. Why? I had a major size restriction on purpose. The two connectors at top fit exactly into the top two rails of my breadboard. Those parts Couldnt move at all, and the size restriction was based on the scrap PCB I had lying around from other projects, since I try to use Every Small piece of PCB that Ive cut.

Now, if you use a different design, yours may be different. Note that the PCB didnt come out so well. Ive been having really bad lucky lately with making stuff, and failed 3 times before this before I got it right. Normally Im pretty good at making PCBs with Staple Photo paper and a Laser jet, but this one just kept slipping whenever I applied the iron (Even with tape!). Most of the traces came Out OK, except for the bigger traces on the top and bottom of the board.

When your done making the board, I HIGHLY recommend applying a thick coat of clear coat. This is to protect the copper and to prevent shorts during soldering. You can probably use a thin coat of color if you wanted to and get the same effect. I didnt coat this board with CC (clear coat) because its raining out.

After that Check the board for shorts where there shouldnt be shorts. Take note of opens, as these can be fixed during soldering. If you find a unwanted short, use a exacto knife. These things are thin enough to get between even the smallest traces and sharp enough to get rid of extra copper-BUT be careful, cuts from a exacto hurt like a paper cut.

Step 3: The Parts

Picture of The Parts
Here are the parts per the schematic

1 LM7805 5V regulator (blue box)
1 1k Resistor - this is for the feedback (green box)
1 182 Ohm resistor -this is for the LED (green box)
1 1k Pot - The adjustable resistor used for setting the voltage (red box)
1 LED - any color that isnt too bright
1 680uF 16V Capacitor -(Optional)-Used because the source is more than 6 inches away from the regulator (purple box)
1 1uF 16V Capacitor (optional also) - Same reason, used to help regulation. (purple box)
2 2.54 mm Headers I salvaged from a Old motherboard- These are used to plug in to the board
1 2.5mm Plug. I also salvaged this part, but got it from a old Speaker power supply (the grey box).

Also optional is a small TO-220 heatsink. I added this on for the hell of it since its adjustable (a bit of insurance). If you dont have a heatsink the LM78xx series will shutdown if it gets too hot or if you short the output. You can also use a screw and a peice of aluminum (not aluminum foil!-its too thin) or extra Copper PCB as a heatsink. The heat transfer may not be as good, but its better than nothing.

Step 4: Putting it all together/Getting it to work

Picture of Putting it all together/Getting it to work
final.jpg
I usually solder the smallest parts to the biggest parts, from smallest height to tallest. This usually works best but even then parts can get in the way of each other. To get the headers like I did, I had to do a little finagling. Place the headers in their designated place, and apply heat to the base of the board closest to where you want it soldered. You will melt some of the black plastic stuff, but thats OK. as long as you get it soldered relatively neatly your OK.

Once you get all your parts soldered, Once again, CHECK FOR SHORTS! Opens arent a problem since those should have been taken care of when you soldered. One Short can Ruin your whole project and you'll look at it for hours wondering whats up with it. Use the Continuity function on your meter so you can probe around. Having the schematic nearby is also handy to have, but usually common sense says that Power and ground shouldn't be shorted together. Remember KISS- Keep it stupidly simple.

However, Unless your caps are bad Thats the only problem you should encounter. If the output is shorted the IC shuts down and you get 0 volts on the output. If the input shorts Out you also get nothing on the input BUT your Wall wart voltage drops (which is what I am powering this from).

Now once all THAT is settled, plug in power (if you havent already done so to trouble shoot) and your LED should turn on. Oh, One more thing. If your LED isnt connected it wont light up. Its intensity will vary when you vary the voltage. Now behold, your completed breadboard Portable Power Supply

Step 5: Cost

Now you might be wondering, What if I didnt have all these parts? Well sir (or madam) you need to get a blow torch and start salvaging! But before you do that, go to your favorite supplier and order the parts from the parts List. My favorite distributor is Mouser or Digikey, but I usually order in Odd or even amounts, usually rounding UP. For example, if I need 3 of one part, I'll order 5 in case some break or if I need more.

But for the sake of example, I'll order 1 of each. I am also leaving the capacitors, headers and LED out, since you should have the LED and caps are optional. The caps and Headers are salvageable from old electronics

LM7805
http://mouser.com/Search/ProductDetail.aspx?qs=VOMQJJE%252bBNlQknJDd4ZVLg%3d%3d
Price: $0.26 Each
There is no doubt in my mind you'll use more of these, so order 3 or more.

1k Resistor
http://mouser.com/Search/ProductDetail.aspx?qs=fc8fDdkqkU9Oquprk5glgw%3d%3d
Price $0.02 each
Freaken Cheap. 1% Resistor. 2 cents each, order 50 Of these as you'll use them also.

Acceptable replacements for the 182 Ohm resistor are 180 to 220. These will cost the same as the 1k,

1k Pot
http://mouser.com/Search/ProductDetail.aspx?qs=ifmdR88tEJ%2fqAwsbWNJBJQ%3d%3d
Price: $0.82
A bit expensive but I couldnt find the same type of pot I used.

2.5mm Plug
http://www.mouser.com/Search/ProductDetail.aspx?qs=8xMK%252bwDsXhdbvGfNGg4kjA%3d%3d
Price: $0.64

Total Price $1.82!!

Even if we included the Headers + capacitor, The total wouldnt be more than $2. For a linear Breadboard PSU, I call think this is pretty dam cheap considering Ive seen others being sold for $30

Step 6: Schematic/PCB

Here are the schematic and PCB files for use in Eagle PCB
PSU.sch243 KB
PSU.brd13 KB
russ_hensel4 months ago

Just a note to let you know I have added this ( a year ago ) to the instructable:

Comprehensive Guide to Electronic Breadboards: A Meta Instructable

>> http://www.instructables.com/id/Comprehensive-Gui...

Take a look at a bunch of project involving breadboards.

Nerdz (author)  russ_hensel4 months ago

Thanks! :)

Olivierh1 year ago

if you don't want to build it yourself, there is cheap power supplies on the internet and I think that would be cheaper

http://voltatek.com/en/home/27-breadboard-power-su...

rwaqar4 years ago
how van i use it to give me -10v ??
could you use a perfboard
Jodex5 years ago
Resistors in my local electronics store are so freaking expensive; Almost two euros each! Witch is about 2.8$ !  Once I planned making a guitar distortion pedal and just to spend time I counted how much the resistors will cost on that one and I got about 37€!
knektek Jodex5 years ago
well what i do is get a schematic of what you are doing and show it to your IT teacher. just say that i need the parts but i dont have them. i got a load of battery holders, caps and pots!
oli1122 knektek5 years ago
 Lol iv done that to tis easy make friends with ur DT or IT teacher and say its a project and hes like here's the key to the parts room take what u like LOL XD
knektek oli11225 years ago
now im at a place where i can spend £50 on electronics! cool
i'm lucky, in the philippines, i know a supplier just 5 minute travel by jeepney and walking. Their resistor costs .25 pesos, about .005 dollars, and well, their breadboard is 120 pesos, or frickin 1 dollar 40 cents
online bullshit cant beat these prices...
BTW, if you do live in the philippines, name is wiltron general merchandise, tel # 8821886 AND i am not advertising them, just for FYI's sake...
phillyj6 years ago
When I try to download the schematics, the .sch file is saved as F03P09IFN82TDBA.tmp I just wanted to see it so I'm using Eagle 5.6.0 Light freeware. First time using Eagle also. Any ideas?
Nerdz (author)  phillyj6 years ago
Instructables did something to the file (for whatever reason). Just rename it to what it shows (PSU.Sch and PSU.brd). It works for me using this method.
Nerdz (author) 6 years ago
Id like to add Ive been using this module for a couple months now, and Ive noticed there are some problems;
  • While plugging in and taking out the adapter, the PSU might come out of the board, so to prevent this, you have to hold it down
  • While doing so, you might accidentally increase the voltage. Not good for TTL/PICs/AVRs :(
  • The Regulator gets a bit warm, although this isnt a bad thing and is to be expected.
frollard6 years ago
Good job on hitting hackaday! Anyhoo, great project - looks like it could be easily laid out on veroboard as well! I need exactly one of these.
Nerdz (author)  frollard6 years ago
I Hit Hackaday? =D =D =D

I also in the process of designing A SMPS version of this board, but it will be fully adjustable, since I dont know if the same trick will work with SMPS. But this may not be built because of lack of funds. It will Be SMD and I'll try to get it to fit on the same board-which is a challenge.

I could have made it 3.3V, But I dont need myself ever needing that voltage-unless I start getting into dsPICs or SD card communication.
Nerdz (author)  Nerdz6 years ago
And heres the link for those who are curious:
http://hackaday.com/2008/11/08/adjustable-breadboard-power-supply/
nice project!
for people like me w/o mad pcb making skillz, sparkfun sells a kit like this
http://www.sparkfun.com/commerce/product_info.php?products_id=114

http://www.curiousinventor.com/kits/bread_power
gmoon6 years ago
Great! Simple, inexpensive and utilitarian (I'd be surprised if commercial versions don't turn up soon.)

BTW, the Instructables interface includes drawing "highlight" boxes overlaying your images. Each box has a mouse-over text box you can customize....