![]() |
![]() |
![]() |
|
|
|||||||
| Notices |
| Electronic Projects A collection of small electronic circuits and projects you can build. |
|
|
Thread Tools | Display Modes |
|
|
(permalink) |
|
Hi all,
PLEASE SEE BOTTOM OF PAGE FOR FINAL PROJECT PICTURES Here is a small power supply project that I would like to share with all the members of this forum. The project is centered on the LM317T regulation chip: http://www.national.com/pf/LM/LM317.html NOTE: The supply can be configured to any voltage between 1.2 to 37V. My reason for building this circuit: In need of a QUIET 9V power supply to power 3 guitar pedals. Each pedal is rated @ 250mA making a total load of .75A. The LM317t is rated at 1.5A w/ heat sink - making it an ideal choice! Please refer to the picture 1-13 as they are called: PIC #xx: Ok, Lets get started! NOTE: Please understand that I have only been practicing electronics for only one year and may do things that other, more knowledgeable, members may see as wrong. This project is for anyone – I have tried my best to make it as simple as possible. Please be SAFE! Pic#1: Here is the project schematic we will be referencing to Tools needed: -A ruler, pencil and paper -A black sharpie marker -Hammer -A small punch -A drill or DRILL PRESS -A set of metal drill bits 5/64 - 1/2" -A ziplock baggy or plastic dish -A Soldering iron < 35W PIC #2: Special Supplies -Ferric Chloride Etchant -Isopropanol (Rubbing Alcohol) - (1) 2 1/2" X 4" blank copper clad board -Iron Wool PIC#3 Components Component List: Resistors (1/4 watt rating) 1 - 270 2 - 2k 1 - 6k8 Capacitors (minimum rating 35 volts) 2 - 0.1uF 1 - 10uF 1 - 470uF 1 - 1000uF Regulator (As requested by Hero) 1 - LM317 Other 1 - 120vac/12.6vac step down transformer http://www.radioshack.com/product/in...entPage=family 1 - power cord 1 - on/off switch (optional) SPST rated at 3A or higher 1 - Transistor socket (optional) 1 - Full Wave 4A Bridge Rectifier 2 - 1N4002 diodes 1 - Heat sink for the LM317 3 - coax power jacks 22 gauge stranded wire Metal Enclosure Ok, so we've got all of our materials... lets begin! Printed Circuit Board Planning: I feel planning is one of the most important processes to consider when creating a circuit.. no matter how simple it may be. Using the schematic, visualize what the circuit will look like on the PCB. (Printed Circuit Board) Take into account the SIZE of every component especially larger components such as heat sinks and capacitors. Make a few rough drafts of the layout you want for the circuit. Something’s to consider: -Since the GND of most circuits is the most heavily populated - Border the PCB with the GND track. -Always draw to exact scale... even in the rough draft -Use the actual components when making the spacing on paper Ok, so we have our rough PCB design completed! PIC# 4 My Rough PCB Design Draft Transferring the rough design to the blank copper-clad board: First we MUST clean the board.. Using the Iron Wool, scour each side of the board.. making the surface rough. (30 seconds per side) Next, using an all-purpose cleaner - such as comet - lather and rinse the board to ensure it is free of dust and grease. The purpose of cleaning the board is to ensure good contact between the ink of the anti-etchant sharpie marker and the copper of the board. Now we are going to actually hand draw our rough draft on to the copper board... If this is your first time attempting this I highly recommend you make your tracks as wide as possible to unsure no line breaks when etching (As you can see in MINE) Also, as pointed out by other members, you can use other, more costly, methods to transfer the design to the PCB. PIC# 5: Here is my board with the ink design. Now then! We can etch the board Be warned this can get VERY messy and you will most likely loath Ferric Chloride afterwards. PIC# 6 My preferred etching setup. My method: I place the designed and soon to be PCB into a ziplock bag. Then, using a hook I attach the bag to the wall and add approximately 200ml of Ferric Chloride. I then use tape to add pressure to the bag raising the Ferric Chloride over the highest point of the board. The reason I like to do this vertically is because - FOR ME - it is faster. It is faster because the copper sediment falls downwards once dissolved (Compared to horizontal laying in a tray). Please do this which ever way you prefer! PIC# 7: Here is my etched board You will now see that the black marker ink is still over the copper, don't worry that is a good thing! You will now need to use a small amount of rubbing alcohol to.. well RUB off the ink! PIC# 8: My cleaned board PIC# 9: Punch and Drill Now it is time to punch and drill the board. Punching is not required but it does make the drilling process MUCH easier, especially if you do not own a DRILL PRESS. Using your rough draft, punch the necessary holes. PIC# 10: Drill Press Using a 5/64" drill bit, drill each hole you have punched. Once you have drilled the holes you will notice that the exit hole of the drill bit has caused the plastic to protrude out. This can be smoothed out by taking a larger drill bit (I use a 1/4" bit) with your hand and simply turning the head of the bit over the protruding surface. The excess plastic will fall right off if done correctly. This is called deburring, thanks HERO. The PCB is now completely etched, drilled and ready to go... but first... Using my rough draft and a pencil, I like to label where each component goes on the PCB. These label go on the top side.. WHICH IS NOW THE SIDE WHICH HAS NO COPPER.. I say the side with no copper is the top because this is where the components will be sticking out. I use labels to decrease confusion since the PCB is now reversed (when looking at it from the top) PIC# 11: Here is my labeled PCB ready to be populated with components. Now for the best part! Populating the board! Gotta love the smell of solder When soldering I make the connections in this order: 1) Resistors (Since they are smallest) 2) Diodes (same reason) 3) Bridge Rectifier 4) LED wires 6) Capacitors (Since they are so large and raise the board) 7) LM317T (Transistors, ICs and regulators are not heat friendly! When soldering these always make the solders FAST and wait at least 20 seconds between solders! Use a heat sink if part is expensive) 8)Transformer leads 9) Using wire nuts attach a power cord to the PRIMARY 120VAC leads of the transformer. PIC# 12: Here is my populated board w/ LED and Transformer Before plugging the unit in for the first time: -120VAC is EXTREMELY dangerous! Make sure, at all times, you know where the wire nuts between the mains and the transformer are! -The wire nuts are for test purposes ONLY! -When I make the circuit pretty and assembly it into the metal enclosure I will be using shrink-wrap to ensure the transformer connections are safe! -I will also be using a grounded cord, OF COURSE. PIC# 13: Here is the power supply plugged in. The LED indicates the circuit is working. The voltage read out is 9.34V.. exactly as planned! The heat sink is also seen in this picture (Big Black Thing) - You will see that I have added a fuse on my board. This is not required because the LM317t is thermally protected. - LED ADDITION: I have added an ON/OFF green LED indicator which is not on the schematic provided. Simply add a 1000 Thanks for reading through my project and I hope you try it out! What’s next? From here you can either add the coax DC jacks in the 3 open +9 and GND spaces and use the supply. OR place the circuit into a metal box and then add the coax Jacks I will finish this project later this week by assembling it into a metal case and making it pretty and such. I will update the thread when I am finished the project. Constructive feedback is always welcome.. no matter how MEAN it may be Peter W March 25, 2007
__________________
"Stick around" - Arnold Schwarzenegger in The Predator after impaling a soldier to a wood post 9vDC Guitar Pedal PSU PIC16F84a Game Module Last edited by Peter_wadley; 7th April 2007 at 12:09 AM. Reason: Grammar and Corrections made by other members. |
|
|
|
|
|
|
(permalink) |
|
Way to much reading :P
__________________
Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net |
|
|
|
|
|
|
(permalink) |
|
But great detail - guess thats what the "Projects" section is for
__________________
Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net |
|
|
|
|
|
|
(permalink) | ||||||||||||||
|
Quote:
Quote:
The RMS input current is just under Quote:
Quote:
You only need one on the input to the transformer (the LM317 is short circuit proof) it should be slow blow and rated for at least: Quote:
Did you know that you can transfer designs from your computer to the PCB by printing them out onto special paper using a laser printer, ironing them onto the board, washing the paper off them etching it? Its called the transfer process and is a lot more easier and accurate than messing around with etch resistant pens. You can buy special paper or you can experiment with magazine paper or photo glossy paper. There's also the photo method which involves printing the design on a transparency or tracing paper, putting on top of pre-sensitised board, exposing it to UV light, developing it using hydrogen peroxide then etching it. It's probably the most accurate but you need special sensitised board and a UV lamp box (don't worry you can make this using insect killer or blacklight tubes). Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
I'm joking of cours always be careful of AC voltages above 25V (yes you can also recieve a small shock from the secondary of the transformer) and DC voltages above 60V. Quote:
Remember the voltage across the capacitor is Quote:
Quote:
Another thing is r1 needs to be <120
__________________
I also post at the following sites: http://www.stop-microsoft.org http://www.heated-debates.com Screen name: Aloone_Jonez Last edited by Hero999; 27th March 2007 at 10:25 AM. |
|||||||||||||||
|
|
|
|
|
(permalink) |
|
critic.com
must be a boring day over there hero999
__________________
Spency. PIC Micro's - Your mind is the limit PIC's and interfacing with other devices - a PIC Basic Guide @ digital-diy.net |
|
|
|
|
|
|
(permalink) |
|
Hero, I will make my reply later in the day... I must take a long nap first :P
__________________
"Stick around" - Arnold Schwarzenegger in The Predator after impaling a soldier to a wood post 9vDC Guitar Pedal PSU PIC16F84a Game Module |
|
|
|
|
|
|
(permalink) | |||||||||
|
Ok nap time is over!
Quote:
Quote:
Where are you getting these formulas! I want em! Hero, are you an electronic engineer? The LM317 IS getting HOT without the heatsink... do you think If I use the 12.6v (the transfomer is center tapped) secondary I will still get clean 9VDC but without this much heat on the LM317. Also instead of the 2K resistors I used 1.5Ks -- Could this potiential be the cause of the heat? Quote:
Quote:
Quote:
I know of the two methods you speak of.. but I wanted this project to be for begineers... plus its more fun drawing it out, and besides do the components care if they are sitting on an ugly board? No one will see it except me.. its going where the sun dont shine Quote:
Quote:
Quote:
Quote:
Who said anything about short circuits? I wanted the fuse to protect incase I had too many guitar pedals to the PSU. WOW!! explosions = bad All my caps are rated 35v! Dont tell me I need to redo them! Do you think it would be in my best intrest to change the secondary to 12.6v?? Please let me know ASAP Thanks, and please, bust my chops anytime Hero Peter W
__________________
"Stick around" - Arnold Schwarzenegger in The Predator after impaling a soldier to a wood post 9vDC Guitar Pedal PSU PIC16F84a Game Module |
||||||||||
|
|
|
|
|
(permalink) | ||||||||||
|
Quote:
It's the peak AC voltage that does the same work as a DC votlage, 12VRMS will do generate 12W in a 1 Quote:
Quote:
Quote:
Then there's thermal resistance between the semiconductor junction and the package and the package to the heatsink, this is also measured in °C/W you simply add this all on to the °C/W rating ambient and the heatsink. Always size your heatsink so the semiconductor junction doesn't get hotter than the maximum temperature rating when it's dissipating the most power and is in the hottest environment you're designing it to work in. Lots of information can be found from Google. http://www.google.com/search?num=100...al&btnG=Search Quote:
Quote:
Quote:
Going back to my point about RMS, this depends on the size of your filter capacitor but if it's large enought to reduce the ripple enough the RMS input current to the rectifier is just under root 2 times the output current. Quote:
Quote:
Quote:
There appear to be a few things you may have missed from my previous post, no offence intended but please read it again. I know there's a lot to take in and I did ramble on quite a bit.
__________________
I also post at the following sites: http://www.stop-microsoft.org http://www.heated-debates.com Screen name: Aloone_Jonez Last edited by Hero999; 26th March 2007 at 08:33 PM. |
|||||||||||
|
|
|
|
|
(permalink) | ||||
|
Quote:
Quote:
Ok this circuit is almost done... last Q's 1) Now that I have changed the to 12.6vAC the fuse blows after about 10 seconds (it is Fast Blow) also.. Quote:
2) I will be using a 3A 120vac SPST for power on and off.. with changing to 12.6v will this switch be OK to use? 3) Last question: Quote:
Thanks again for helping me out Hero
__________________
"Stick around" - Arnold Schwarzenegger in The Predator after impaling a soldier to a wood post 9vDC Guitar Pedal PSU PIC16F84a Game Module |
|||||
|
|
|
|
|
(permalink) |
|
A suggestion: If the project is to go into an enclosure, you should begin there. It's easier to change the parts locations on the board before you etch it.
|
|
|
|
|
|
|
(permalink) | |||||
|
Quote:
Quote:
Quote:
Quote:
Quote:
All a heatsink does is help transfer the unwanted heat to the surrounding air.
__________________
I also post at the following sites: http://www.stop-microsoft.org http://www.heated-debates.com Screen name: Aloone_Jonez |
||||||
|
|
|
|
|
(permalink) | |
|
Quote:
I will now read through all the link you have posted as your probably getting sick of these questions Peter W
__________________
"Stick around" - Arnold Schwarzenegger in The Predator after impaling a soldier to a wood post 9vDC Guitar Pedal PSU PIC16F84a Game Module |
||
|
|
|
|
|
(permalink) |
|
I'm glad it works for you.
As you're using a centre tapped transformer why not make full use of it and try building a bipolar power supply which can be used to power things like op-amps. Check out the bipolar power supply I made for ideas. Note, please read the whole thread in detail before you start anything because it still needs a bit of tweakking. Also note that you won't be able to get +/-15V from your transformer, you'll be able to manage +/-12V on light loads and +/-10V at full load.
__________________
I also post at the following sites: http://www.stop-microsoft.org http://www.heated-debates.com Screen name: Aloone_Jonez |
|
|
|
|
|
|
(permalink) | |
|
Quote:
Thanks for the suggestion and I will check out your thread now.
__________________
"Stick around" - Arnold Schwarzenegger in The Predator after impaling a soldier to a wood post 9vDC Guitar Pedal PSU PIC16F84a Game Module |
||
|
|
|
|
|
(permalink) |
|
I’ve finally got around to assembling the enclosure..
Note: changed LED resistor to 1000k for a better green coloring. PIC# 1 Here is the aluminum box I bought. PIC# 2 Here is the box after I have drilled all the holes and painted it gloss black. (2 Coats) PIC# 3 Top view PIC# 4 Bottom half is on the left.. It contains the transformer and PCB. Top half is on the right.. as you can see 4 screws attach the fan, the red button will be used to turn the fan on and off.. will talk about the reasoning later.. You can also see the SPST on/off toggle switched used to cut the mains when the PS is not in use. A small grommet is also seen which will house the green LED. PIC# 5 Coaxial DC jacks mounted and wired up.. PIC# 6 Better View.. PIC# 7 In this blurry picture you can see how I have kept the PCB tracks from shorting out on the aluminum box.. (2 nuts used to raise the board) PIC# 8 One Main wire connected to the SPST PIC# 9 Other main is connected to transformer.. shrink wrap is used to insulate the solder points Before I get a back lash of hate messages.. I will be replacing the white extension cord with a grounded cord for safety.. Sorry, I couldn’t wait any longer to play guitar! PIC# 10 The perforated holes in the back is to supply air flow for the fan. PIC# 11 Bye bye wires. PIC# 12 Rubber feet.. to stop sliding and raise the transformer and PCB screw heads off the ground. PIC# 13 Rubber feet ON! PIC# 14 The finished back.. again the cord will be changed. PIC# 15 The finished front. PIC# 16 PS powering a guitar pedal.. - LED working, check - Fan working, check - Fan toggle switch working, check - mains switch working, check - House does not blow up on power up, check PIC# 17 By the way, for those wondering, this guitar pedal was my first electronic project... as for the name, what can I say.. Arnold is the man. PIC# 18 It is an octave ringer.. sounds great. PIC# 19 Power supply powering the three pedals: - My pedal - Boss metal zone - and CryBaby wah.. Black paint turned out very sharp PIC# 20 Paint matches my AXE You can always add labels if your feeling saucy... the dollar store usually has blank white sticker paper which bonds to metal very well. Things I learned making this project: - Don’t give your father the chance to say 'I told you so' by spray painting in the laundry room - big mess - For that matter don’t use spray paint at all.. I recommend liquid rust paint. - Experiment with different LED resistor values until you find one which gives a good color.. Originally I had used 330 The reason for adding the fan was to elminate the heatsink.. & The reason for adding the fan on/off switch is because when my homemade guitar pedal, which does not have adequate filtering, is turned on you can slightly hear the oscillating of the fan. That’s all folks, Peter Wadley
__________________
"Stick around" - Arnold Schwarzenegger in The Predator after impaling a soldier to a wood post 9vDC Guitar Pedal PSU PIC16F84a Game Module Last edited by Peter_wadley; 7th April 2007 at 12:10 AM. |
|
|
|
|