Sunteți pe pagina 1din 18

Food

Living

Outside

Play

Technology

Workshop

Variable Power Supply


by waynesworldcafe on March 8, 2012 Table of Contents Variable Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Intro: Variable Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 1: Tools and Be-Careful . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 2: Bread boarding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Step 3: Primary Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2 2 5 6

Step 4: Assemble Secondary Power Supply . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 Step 5: Wire Ends . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 Step 6: Switches, Gauge and Wiring . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13 Related Instructables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18

http://www.instructables.com/id/Variable-Power-Supply/

Author:waynesworldcafe
Why would i buy something ready made when i can make it myself with half the features for twice the money? DIY!

Intro: Variable Power Supply


This build is for a variable power supply. I have a bench power supply i made from an ATX power supply and it works great but, it is not variable. Sometimes i need 6v or 9v ect. I cant do it with the ATX supply. So i built this one. It has a dedicated 5V dc supply for logic circuits. Plus a 1.3V dc to 22V dc variable supply. My volt meter only goes to 20V dc so at 22V the meter is pegged clear over. The reason some of this is built this way is because i used everything from my parts on hand, except the 1K 2 Watt resistor. That i had to buy for this project. Parts: 1) Lm317 IC 1) .1f cap Mylar number 104 1) 10f cap 16v 1) 1f cap 50v 1) 100 ohm 1/4 Watt resistor Brown Black Brown 1) 220 ohm 1/4 Watt resistor Red Red Brown 1) 1K ohm 2 Watt Resistor Brown Black Red 1) 5K pot. A 2k Would be best 2) 1N4007 Diodes 1) Volt Meter 20V dc 1) DPDT Toggle sw 2) SPST Toggle sw 1) Power Supply or Transformer 24V out 1) Mounting Board or Project Box 4 ) Header Pins ?) Various Screws, Wire ect ? ) Stuff i Forgot to list The LM317 voltage regulator has 3 posts. Looking at it from the front, from left to right its 1 2 3. Post 1 is adjust. Post 2 is V out. Post 3 is ground. Its easy to get them mixed up, so be aware of orientation.

Step 1: Tools and Be-Careful


There are 4 pictures of things you want to use. There are 4 pictures of things you dont want to use. Be-Careful so you can choose the 4 of these you want to use. You wouldn't want to be forced to choose the 4 you dont want to use. !!! KEEP IT SAFE !!!

http://www.instructables.com/id/Variable-Power-Supply/

Image Notes 1. Something you want to use.

Image Notes 1. Want to use.

Image Notes 1. I put a small rear earth magnet on my screwdriver to help hold screws. 2. Want to use.

Image Notes 1. Want to use.

http://www.instructables.com/id/Variable-Power-Supply/

Image Notes 1. Something you dont want to use.

Image Notes 1. Dont want to use.

Image Notes 1. Dont want to use.

http://www.instructables.com/id/Variable-Power-Supply/

Image Notes 1. Dont want to use. 2. Dont want to use.

Step 2: Bread boarding


This is my bread boarded ( second stage i will call it ) power supply. On the lower left is one of my logic probes with pulse injection. Thats another project to finish later. The second stage is based on the popular LM317 voltage regulator. It has input short circuit protection and out put short circuit protection from the capacitor discharge. You can find this schematic and more info at http://www.ladyada.net/library/equipt/diypsupp.html . While my supply is based off of ladyada, it is not entirely the same. I could not get a 10 turn pot so i used a volume control. Not the highest quality, it has skips in the wiper resistance. Mine would not work with the 240 ohm resistor as shown in the schematic, maybe due to the volume control. I ended up using a 100 ohm resistor instead.

http://www.instructables.com/id/Variable-Power-Supply/

Image Notes 1. Power Supply. 2. This is my Logic Probe with pulse injection. Thats a different build. I have been using the logic probe a lot so i haven't removed from here yet.

Step 3: Primary Power Supply


This is the primary power supply ( i will call it ), is from a Canon ink jet printer. Specs: 220v in. It has 2 out voltages. First is 5v dc at .2A, second is 24v dc at .55A I used this because i didnt have a transformer that was close enough for this voltage range. Plus i have several of these types of power supplies. I wanted to use what i had. There is 2 little locating nubs on the bottom, they made it not sit flat on the mounting board. I ground these off. Flat now. After i ground these locating nubs off the holes were fairly big. Bigger than i thought they would be. In hind sight it might of been better to drill the board for the locating nubs and then drilled a small hole for the screws. No going back, its done already. It actually worked out ok. The bigger screws had plenty of clearance for the PCB. I marked and drilled the holes for the primary supply to anchor to. Mounted the lower plastic case. Re installed the PCB making sure everything lines up. Cut and tined the out put wires.

http://www.instructables.com/id/Variable-Power-Supply/

Image Notes 1. Specs of the Canon power supply.

Image Notes 1. The bottom has these locating pins that needed to be removed.

Image Notes 1. Locating pins ground off.

http://www.instructables.com/id/Variable-Power-Supply/

Image Notes 1. Mounting base

Image Notes 1. Primary mounted on base.

Image Notes 1. Checked for clearance. All good.

http://www.instructables.com/id/Variable-Power-Supply/

Image Notes 1. The original plugin. We want to keep it this way.

Image Notes 1. 3 wires for V supply out. Red 24v supply. Blue 5v supply. Brown ground.

http://www.instructables.com/id/Variable-Power-Supply/

Step 4: Assemble Secondary Power Supply


I soldered the heat-sink to the board also to give it more strength. Assembled all the components as per the schematic. I used small screws as stand offs, marked and drilled the base with 7/64 holes. They were just the right size so the screws would thread them selves into the wood, keeping the perf board up enough so nothing touches underneath. I used the nut as kind of jam nuts so everything stays in place.

Image Notes 1. The heat sink is soldered in place.

Image Notes 1. I am not good at making everything look pretty under here, but i get by.

Image Notes 1. The 7/64 holes for the perf board standoff to screw into.

http://www.instructables.com/id/Variable-Power-Supply/

Image Notes 1. All components soldered in place. Red and black wires are for the variable supply. The blue and red wires in the back is for the 5v supply.

Image Notes 1. Perf board in place. You can see the large gap between it and the wood base.

http://www.instructables.com/id/Variable-Power-Supply/

Image Notes 1. Not very pretty under here but i get by.

Image Notes 1. Mounting of components completed.

Step 5: Wire Ends


I cut a block of 2 header pins. Soldered the out put leads to it, one leed to one pin then the other leed to the other pin of the same header. Then used individual heat shrink for each wire then one bigger heat shrink to cover it completely, including the plastic part of the header pin. Red and black is used for the variable 24v side, then blue and red for the 5v side. This way i can plug direct into the bread board.

http://www.instructables.com/id/Variable-Power-Supply/

Step 6: Switches, Gauge and Wiring


First we want to remove the mains plugin from the primary supply . Then bend the lugs up on the plugin so they dont go through the PCB any more. Soldier wires to the lugs and also soldier wires to the previous spot on the PCB where the lugs used to go through. Drill a hole in the back of the primary power supply box and route all 4 wires through there. Those wires will hook to a DPDT SW, now we can control the mains on and off instead of having to plug and unplug the cord every time. I used some lock clips from the backs of computers. Soldiers 2 together as in the picture. Make 3 of them. These are the sw holders. Use the same lock clip and flatten one out. Then re bend it so it will fit on the 5K pot and also locate on the bottom of the perf board. Soldier it there. This will help to keep the POT from bending at the tabs Take 2 PC case block out plates. They are the plates you put on to block the slot in the lower back of the case if you are not using a video card or some other plugin card. Then cut them down so they will fit around the sides of the volt meter, secure with washers and nuts. I chose to mount the gauge where you see it. In front and at a slight angle back for easy viewing. The switch operation goes as follows: Left switch operates the main power. The middle switch operates the 5v supply. The right switch operates the variable supply. The LED indication goes as follows: The left LED ( green ) is main power at the secondary supply indicator, which is 22V dc. The right LED ( yellow ) is 5v supply indicator, The variable supply has no LED. You will know if its on by the volt meter The green LED takes a 1k 2 watt resistor. The yellow LED takes a 220 ohm 1/4 watt resistor. I used this calculator for the resistors. http://led.linear1.org/1led.wiz You can see the big 2 watt resistor compared to the 1/4 watt resistor. Not very common for me. I had to make a special trip just to buy this one. The last picture shows everything on and working. Thats it. Not very professional looking, but it suites me just fine. Also its mine not store bought. I hope i explained everything well enough for you to understand. If i didn't please ask and i will do my best to clear things up.

http://www.instructables.com/id/Variable-Power-Supply/

Image Notes 1. The AC plug removed so wires can be soldered to it and to the PCB where the lugs used to connect at. Then the AC plug is re soldered to the PCB in its original spot. That way we can use the plug as originally intended. The soldered in wires will go to a sw to operate the mains on and off.

Image Notes 1. Mains plug is soldered back in. It looks like original but actually has wires soldered in the lug spot now.

Image Notes 1. The mains plug with the lugs bent up and wires soldered on them. The lower red and black wires are soldered in the PCB where the lugs used to be. The wires go out the back to the sw.

http://www.instructables.com/id/Variable-Power-Supply/

Image Notes 1. Case locking tab from back of a computer.

Image Notes 1. Lock tabs soldered together.

Image Notes 1. The soldered lock tabs are now sw holders.

Image Notes 1. Case locking tab from back of a computer.

Image Notes 1. Re bend one of the pc lock clips like this then solder it to the board as shown in the next picture.

http://www.instructables.com/id/Variable-Power-Supply/

Image Notes 1. View from the back.

Image Notes 1. At 6v.

Image Notes 1. At 12v.

http://www.instructables.com/id/Variable-Power-Supply/

Image Notes 1. At 20v.

Image Notes 1. Size comparison. The 2 watt resistor is a 1K and is used for the main power on LED.

Image Notes 1. Hard to tell the colors but the left LED is green and indicates main power on. The right LED is yellow and indicates the 5v supply is on. You can also see the volt meter is at 10V dc.

http://www.instructables.com/id/Variable-Power-Supply/

Related Instructables

Power supply (+-5vconst & 0+-12v variable) (Photos) by usbg3rd

Variable DC Power Supply for <$15 by icinnamon

Power supplies tutorial by Orbitalgun

Variable AC Power Supply With A Twist: by drbill

Variable Voltage Regulator Filtered Linear Power Supply by Poent

DC Rectified Power Supply V1 (video) by Mudbud

http://www.instructables.com/id/Variable-Power-Supply/

S-ar putea să vă placă și