How to set voltage on LM317 adjustable voltage regulator?

How do you set the voltage regulation on an LM317 to 5 volts?

sort by: active | newest | oldest
AndyGadget4 years ago

You can work it out yourself from the formulas in the datasheet but the easy way is to use an online LM317calculator
Alternatively, you could use an LM323 fixed 5V regulator.
Xixfas (author)  AndyGadget4 years ago
How do i actually do it.(sorry if i sound mean)
Xixfas (author)  Xixfas4 years ago
i guess you could say mechanically.
You make up the circuit I've linked in the answer above with an LM317, a 0.1uF and a 1uF capacitor and 2 resistors. If you make R1 = 270R and R2 = 820R, that will give you an output of 5.05V which is close enough.
The input voltage must be at least 7.5V for this circuit to work - A 12VDC wall-wart would be fine.
You could make up this circuit on stripboard quite easily. Look HERE for some LM317 project ideas.
Xixfas (author)  AndyGadget4 years ago
oh i get nowww...
framistan4 years ago
when mounting the heatsink tab on the LM317, be sure to keep the metal tab "isolated" from touching chassis ground (metal). this is because on most other regulators such as the 7805 or the 7812 regulators, the metal tab is OK to touch chassis ground. but the LM317 metal tab is NOT like other regulators. You must put insulators on the regulator tab to ALLOW heat dissipation.... and also simultaneously.... to not electrically touch metal ground. (chassis negative). if you neglect this precaution, then your regulator will short to ground and not work.