Remove these ads by
Signing UpStep 1: The Parts
1 LM317T Adjustable Voltage Regulator - 276-1778
This is the adjustable voltage regulator. It takes input from two resistors (R1 and R2) and then ratchets the voltage down accordingly. I recommend you take a look at the datasheet if you want to learn more about this part.
1 0-5K Linear Potentiometer - 271-1714
This is R2, and will allow us to control the voltage output.
1 560 Ohm Resistor - 271-1116
This is R1.
2 1N4001 Diodes - 276-1101
There are two diodes to protect against short circuits. D1 will protect the regulator from the capacitors discharging if the input power is short circuited. D2 will protect the regulator from the capacitors discharging if the output power is short circuited.
1 .1 uf Capacitor - 272-135
This capacitor (C1) acts as a smoothing capacitor. It should be only a ceramic disk capacitor.
1 10 uf Capacitor - 272-1013'
This capacitor (C2) improves the transient response of the regulator. It should be electrolytic.
1 PCB mount SPST switch - 275-645
Allows you to turn the power on and off without unplugging the wall-wart.
1 PCB mount terminal strip - 276-1388
This is mounted directly to the PC board and is an easy way to connect your power supply to many different circuits and components.
1 12v Wall-Wart
Provides the power to the circuit. RadioShack has a nice selection, but I recommend salvaging your own as I did. Anything will work as long as the output current is no more than an amp. I choose one that has an 800mA output, but anything over 500mA should cover most basic electronics projects.
1 Small Perfboard - 276-148
This particular board is the perfect size for this circuit, and my layout is based on it. This is a perfboard, but if you wanted to make your own PCB, feel free to use the attached EagleCAD schematic to generate your own layout.
1 Heat Sink - 276-1368
A good precaution. The regulator has built in protection to prevent it from burning itself up, but it does that by limiting current. If you didn't have a heat sink, you might find that you have less current output than you expected. Any piece of metal will work as long as you can attach it metal-to-metal on the tab. Even a large alligator clip will provide decent heat dissipation.
bench psu.sch217 KB










































Visit Our Store »
Go Pro Today »




Thanks for your help.
. The output range is 1,5V to 29V - 1500mA
thanks,
Oh, then stick it all in a box :)
I have tested to find ground. Then I tested to find voltage. Hooked up the (-) and (+) to find nothing. Just a bunch of zero's. When I connected ground to (-) I got the 19.8 volts.
MAIN QUESTION ( Is this safe to have the (-) and GND connected together? Also is the voltage normal when it says on the black box that the cord runs out of say's 19.5?
Anyone want to check my math? I was an English major, after all. :-)
i want to use a 200/9V transformer, but i don't know if i need to convert it before or after the rectifier??
If it doesn't by some chance have it, you can test the voltage with a multimeter, ac voltage has an average voltage of zero, so if it tests zero on the dc range of the multimeter then its ac voltage.
Thanks
With a 12V wall-wart I am good, but with a 16V wart, anything above 10.5 just bounces all over.
Do I need different capacitors and/or resistors to use the higher voltages? The LM317 data sheet says it can go up to 37V.
Thanks! Really appreciate you posting this.
http://www.radioshack.com/product/index.jsp?productId=2102789
I am attempting to build this and I can not find a 12v 800mA, I was wondering if I can use a 12v 700mA power adapter?
Thanks!
Please help.
You can even connect this device up to digital control and those circuits are common and schematics are obtainable.
In the end a potentiometer and a meter is the simplest and most flexible configuration so I tend to use it the most. Anything else is much higher parts count and more work to build, while netting less fine control.
But yeah the uses the LM317 has been put to are virtually endless. The circuit here is excellent.
BEWARE!! CORRECT PINOUT IS : 1 ADJ, 2 VOUT ,3VIN .
I strongly suggest you fix your instructable, which otherwise is great.
Bear in mind I was a little kid and in my bedroom doing this at 2:30 in the morning. The device completely exploded all that remained was the center leg that is attached to the back tab sticking out of the board I had it soldered to. The rest completely vaporized.
The one that let go on me was a 7812 or some other fixed regulator. This is going back a number of years now so I cannot remember exactly. What I do remember is that thing was loud! I kept on waiting for my Mom to come into my room to see why I was lighting off fireworks in there but thankfully she must have slept through it or something I don't know.
I was pretty peeved too because I checked my work and it was "right" as per the data I used for the device. Just that information was wrong. So yeah it does happen. Even from sources you don't expect it to!
Just tried this on a breadboard as described above, and I thought the amperage was very low. Enough for a couple of LEDs.. But forget it for a motor. I was getting about 1ma from a 12 volt 1 amp wart.
Found the data sheet, and changed it like you said. Works great with even a 9 volt rechargeable battery.
Thankfully no magic smoke was released. So I'm a happy little solder monkey.
Will be soldering it up and making pretty in a day or two.
The way it is in the diagram, pin 2(out)->pin 3(ground)->rest of circuit.
When you said reverse it did you mean, pin 3->pin 2->rest of the circuit?
Thanks.
There is no direct ground conection from this component to ground, as no pin is called ground.
I repeat pin 1 adjustment, pin 2 voltage out, pin 3 voltage in.
If you did it with the mistake in this page. all you'd have to do is reverse the lm317. so that pin 1 is in the place of pin 3 and viceversa. pin 2 as it`s the center remains the same. Is it any clearer now?
other thing i don`t understand is why the author changed the resistor from 240 Ohms to 560 ohms ?
Thank you very much for this instructable. You were great walking me through all the steps. This was my first project, and now I'm a full-on EE hobbyist.
Also -- anyone who is into programming would probably love this hobby. Once I got into it I found myself uttering the phrase, "this is basically programming with hardware". It's extremely fun! Just watch a few (or a very good one) videos about soldering, and you will probably lose any qualms you have about it!
Some really helpful youtube users I've found on this topic are:
CuriousInventor
Afrotechmods
EEVblog
There are probably more, that I haven't found yet.