| The LM317T is
an extremely common positive voltage regulator - many laboratory
supplies and other equipment are based on it. It can produce any
amount between 1.25V and up to 35V by adjusting the resistance
(opposition to current) between its adjustment pin and
There are two important things to keep in mind when working with an LM317T:
First, the internal circuitry of the LM317T can only handle 1.5 A of current as an absolute maximum. More on this below.
Secondly, and this is IMPORTANT, the LM317T is a linear regulator. This means that it dissipates the excess voltage as heat, with more heat produced as the voltage is set lower and lower. You MUST have a heatsink mounted on the regulator that is capable of dissipating the heat produced.
Most fans give their total output in watts - if they give it in amps, multiply that by 12. Your heatsink MUST be capable of dissipating the total wattage of all fans on the regulator safely. Heatsinks can get BIG at the upper wattages. (Be careful with published heatsink ratings; most sinks will say they dissipate 5W, but will heat up to 20 or 30 degrees above ambient at that wattage.)
Here's one last thing to keep in mind; fans pull more amperage when they're run at a lower voltage, on account of having less torque. For example, a Panaflo 120mm H1A pulls 0.6 A at full 12V. However, at 6V, it pulls closer to 0.85 A. You need to account for the highest possible current draw (usually occurs at 6V) from each fan connected to the regulator, and make sure you keep under the 1.5A limit.
If you need more than 1.5A of current, and have a heatsink large enough to handle the wattage (old stereos and amplifiers are great for finding massive heatsinks, btw), you can use an LM350, which is rated up to 3 A and is identical to the LM317 in all other respects. The LM338 is also compatible, and is rated up to 5 A.
you've decided how many fans you're going to run on the regulator,
and how big a heatsink you need, you can start gathering
off, grease up the back of the regulator. It's pretty similar to
greasing a CPU - put on enough to fill up cracks between the
heatsink and regulator, a tiny tiny bit of squeeze-out is fine, but
don't go overkill.|
Then, screw on or clip on the heatsink, and solder it to the board. If your heatsink has pins to solder to the PCB, make sure you use those; you should somehow try to make sure the heatsink is properly supported and doesn't bend or rip out the regulator.
Caveat: The tab is connected to the output voltage pin. DON'T ground the heatsink, unless you enjoy watching a PSU emit blue smoke and/or a regulator crack in half/explode/catch on fire.
bend one of the leads of the resistor over, and back, so it fits in
Mount it directly in front of the regulator. It needs to connect across the voltage out and adjustment pins - these are pins 1 and 2. (If you hold the regulator by the pins with the metal on bottom facing away, the pins from left to right are adjustment, voltage out, and voltage in.)
Draw solder blobs between the regulator pins and resistor pins (along the green lines drawn on the picture above).
attach two wires, which will attach to the
One wire will go to ground, which we attach later. The other wire needs to connect to the adjustment pin, along with the resistor. My suggestion is to put one wire right below the resistor, and put the other wire two holes below.
Extend the solder blob between the adjustment pins and resistor pin to include the potentiometer wire. (See annotated picture above.)
If the potentiometer/rheostat has two leads, use those; most, however, will have three. In this case, use the middle lead and either of the outer ones. (Don't ground or otherwise the leftover connection; I suggest cutting it off and/or taping it over.)
attach the output capacitor. This needs to connect from the output
voltage pin to ground.|
This capacitor is polarized - it has to be oriented correctly. (If inserted the wrong way, it'll not work in best case, and overheat/explode in worst case.) Most polarized capacitors have the negative lead marked on their package/case; that lead should go to ground.
I suggest sticking it right in front, in the middle of the regulator, so that the leads sit exactly parallel with the potentiometer wires.
Draw solder blobs between output voltage pin and capacitor, and connect the ground pin of the capacitor to the potentiometer ground wire. (See annotated picture above.)
| Finally, attach the input
capacitor. This needs to connect from the input voltage pin to
This capacitor is not polarized - it will work no matter which way it's plugged in.
I suggest sticking it on the other side and parallel to the output capacitor, in line with the pin on the regulator.
Draw solder blobs between input voltage pin and capacitor, and extend the ground line to the capacitor. (See annotated picture above.)
last part of construction is to attach molex plugs to the bottom
side of the board for the fan and power supply to plug into. The
power supply 12V line (usually yellow or blue, NEVER red) should
plug into the input pin of the regulator, near the ceramic cap; the
fan output should plug into the output pin in the middle. Both
ground leads (take the middle black wire nearest the 12V wire)
should plug into the ground line at
Finally, trim down the board to an acceptable size, and you're done!