Hello Instructables Community!

Before we get started, let me tell you a little about this kit.  I have a digital DC-DC power suppy that I use daily.  However, it cost a bunch of money that I didn't want to spend and it is limited to an output current of 500mA. This supply has a current limit of 1.5A, as that is what the LM317 IC is designed to output.  I decided that while I'll stick with my current power supply, there may be people out there who are looking for a simple and practical solution for their Arduino projects and such.   I hope you all enjoy this instructable!  If you have any questions, I'll do my very best to help!  I'm also going to offer hardware kits for this project, so read on to find out where they can be found!

This circuit is made to work with a wall transformer or a battery.  You can use either.  There is no on-board AC-DC rectification, so don't apply 120VAC to the input by mistake!  The power supply for the digital voltage display should be kept under 18v.  If you're going to use a wall wart AC-Dc transformer, I suggest a 12v-14v @ 1A transformer.   You can use a 9v battery if you'd like =)  We will talk more about that in a while.

When you feed DC voltage to the input terminal block, it acts to supply power to the digital voltage display, as well as the variable DC voltage LM317 regulator circuit.  The LM317 is the key behind this device.  The LM317 is a 3-pin chip that acts to offer a variable DC voltage based on the resistance of the on-board variable resistor.  The voltage at the output terminal block is variable and is displayed for you on the 4-digit 0-20VDC digital display.   Please note that this design has limitations.  Mainly that the output is not protected from shorts.  If you short your output pins together for a short time, the circuit will likely be okay.  However, this can cause permanent damage to the LM317, in which case you'd need to replace it.  Be very careful not to short the output pins.  If you can get your hands on a fuse, you can easily protect your supply.  Place the fuse in series with the positive lead on the input DC line of the device.  Otherwise, be careful.  As well, this supply does not read out load current.  On top of that, the kit does not come with banana wires.  The neat thing about this project is that you can customize it to your liking.  We do sell parts and a kit for this project in our hobby electronic stores that can be found here: http://www.electroniclessons.com  and http://www.engineeringshock.com

Here is a video that gives you a demonstration:

This video is for our new kit that is based on this instructable:

Step 1: What You'll Need!


1x 0-20VDC Digital Voltage Display Module
1x LM317 Voltage Regulator IC
1x On/Off Switch (Included in http://www.engineeringshock.com kit, but not seen in image)
2x Terminal Blocks
1x Heat Sink for LM317
1x 5k Ohm Variable Resistor
2x 200 Ohm Resistor
2x 100uf Electrolytic Capacitors (Rated for 20v or higher)
2x 0.1uf  Ceramic Capacitors (Rated for 20v or higher)
1x 7cm-9cm PCB
1x DC Power Source (Battery of Wall Transformer) - Not included in http://www.engineeringshock.com kit.


1) Soldering Iron
2)  Lead Solder
3) A Hand Drill
4) A Drill Bit (I used 1/16)
5) About two hours of time, give or take.  This is based on your electronic background, and soldering experience.
6) A Multimeter to troubleshoot, in case you have any problems along the way =)

<p>Funny the things that appear when you type in LM317 on Google. Thanks a million for the how to, I have several home built power supply's, but I am getting old and forgetful. Here this afternoon I found a package of 10 LM317's and sort of forgot why I ordered them awhile ago. This gave me several ideas. I had planned on building a power supply out of an old AT computer power supply laying in the back room, and using one of these to make a variable output on the supply in addition to the standard 12v and 5V as well as the wonderful 3.3V. However since that time, I have been tearing down old laptop batteries and reviving the 18650's to use in portable power supplies (we do a lot of camping now in our old age!) This will make a nice build for using 3 18650's in a small box for an adjustable to use. I already have some built with some of the cheap DC-DC power converters available on Ebay, some boost, some buck and they work OK but it would be nice to have one that I built the whole thing by hand instead of relying on the junk you get from over there. (well some of it is junk, I have found some very nice items from over there as well, from Banggood and a few other good sellers on ebay, just have to be careful who you order from.)</p>
<p>where can i get the display at?</p>
<p>my only question is where did you get the display from?</p>
<p>also how many pins does it have and how aare they hooked up?</p>
<p>I built it!! Keeps blowing the LM317 after using it a few times. Going to try the circuit with a couple of diodes to protect the IC.</p>
<p>Thats very strange schematics file...</p><p>First - You have to use LM317T in such connection, but in picture we have LM7805. Thats wrong 7805 - doesn't have any adjustments (with resistors like here). 7805 produces 5V fixed regulated voltage, thats what it is designed for. For novices - LM317 and 7805 looks almost the same, but they are completely different devices.</p><p>Second - why 100uF and 0.1uF capacitors are connected in parallel ? In the result they will sum as 100.1uF capacitor... Of course it will work, but what's the point ? In reference designs from official LM317 datasheet 0.1 uF is on the input and 1uF or 10uF on the output.</p>
<p>It is an LM317, but I accidentally labelled it 7805. It is the correct schematic otherwise. The 100uf capacitor is a smoothing cap that acts to compensate for any low frequency spikes on the supply line. The 0.1uf capacitor is a decoupling capacitor that acts to eliminate higher frequency noise. It is common practice. If the output of the LM317 was supplying power to a few different chips, it would be in good practice to have 0,1uf decoupling caps near the power supply to each chip. From a schematic perspective, all of said caps are in parallel with one another.</p><p>Common practice. </p>
Thank You for info about capacitors!<br>
It is mentioned LM7805 in the schematic, does LM317 and LM7805 are same, or the author has made a mistake? <br> <br>Anyway tnx very helpful and awesome project!
The LM7805 and LM317 are not the same. Although they do share some similar features. They come in the same style package, and have the same number of leads. Oh, both of their names start with LM (stands for Linear Monolithic I think) too. But after that all similarities end. Plug either in where the other belongs and boom! 3 terminal voltage regulators blow up sweet. Don't ask me how I know that ...
very intresting project.thanx.
Awesome project! I was planning on making something very similar to this, but without the display. Do you know where I could order a voltage display module?
Can i use any voltage display(7-segments) for this one?
Could I add a fuse for short circuit protection? <br> <br>if so, what type of fuse would I need and where would I need to install it?
I wish there was a bigger version of that schematic!
Ask &amp; You Shall Receive, lol<br> <br> <strong><a href="https://www.instructables.com/files/orig/FS7/BOBD/GP7IF65L/FS7BOBDGP7IF65L.png" rel="nofollow">Full Page Schematic !!!</a></strong><br> <br> {P.S - To enlarge <strong>ANY</strong> picture <strong>anyone</strong> has uploaded here on instructables, just click on the<strong> 'i' </strong>square button on the Top-Left of every single picture, then simply click on what size picture you want displayed from the <strong>&quot;Available Sizes&quot;</strong> box on the left hand side of the page that opens-up as soon as you have clicked the square<strong> &quot;i&quot; </strong>button on the picture!!!}<br> <br> hope that helps!!!
Hi there. Is there a way to put a digital ammeter also? I'm totally new with electronics and trying to build a bench supply. thanks
Hi <br>Yes, very easily. You can place it directly on the output. <br> <br>Thanks <br>Pat
where could i get a digital voltage display module?
Is it possible to change the LM 317 for a LM 150 to supply a higher current output? Just in case my project is pushing 1.5A+
awesome thanks for replying, nice instructable by the way
just wondering could you use capacitor with more than 100 UF or less cause that's all I have available
Yes, that is fine =)
I was also thinking that if the display dosn`t have a separate source of power or the power consumption is not subtracted out of it the reading would be inaccurate.
Hi Patrick, love your videos. <br><br>Is this the same as the kit on your website?<br>I want to biuld one for a project using two 3000mAH batteries at 3.7v each, connected in series for 7.4v and be able to vary output from 3 to 5v.<br><br>I have most of these parts already.
Patrick, All your instructables are very educational, enjoyable-great work.<br> My question about super capacitor is how large do they get and do you carry them?
I Would HIGHLY RECOMMEND Patrick's E/bay store as I have purchased 4 Kits from him and all 4 kits worked when completed,,,,and some of the Instructions were even in Chinese!!! Do you have any ideal how much a Store Bought Variable Power Supply Costs????Like a Horror Movie,,,Very Very Scary!!!
Very nice!!!!!!!<br>
nice instructable!

About This Instructable




Bio: Hi there! My name is Patrick, and I am an electronics engineering technician who works full time as a lab tech, and part time as ... More »
More by EngineeringShock:The Viciously Simple Clap-ON Clap-OFF Circuit For Arduino The Multi-Program Laser Tripwire Set - Video User Manual! Creating A Resistor Based Keypad & Interface With Arduino! 
Add instructable to: