| RSS Web Feed for Renewable Energy UK |  | REUK Shop | Directory | About Us  

Using The LM317T To Regulate Voltage



Using The LM317T To Regulate Voltage

Use an LM317T to regulate voltage in renewable energy projects

electric circuit | electronics
  Printer Friendly Version Print Article     

LM317T Voltage Regulator Chip used to regulate Voltage.
The LM317T Voltage Regulator is an integrated circuit which is very useful in many renewable energy applications. It can be used to regulate current - for example to regulate the current in a string of LEDs - or it can be used to provide a stable fixed voltage output.

* We have LM317T integrated circuits available in the REUK Shop.

Regulating Voltage with an LM317T


LM317T Voltage Regulation Circuit

R1 is typically a 240 Ohm resisitor and should be in the range of 100-1000 Ohms. The voltage across R1 is 1.25 volts - the reference voltage from the ADJ leg of the LM317T - and so there is a 1.25/240 = 5 milliamp load. Using a 120 Ohm resistor for R1 would give the regulator a load of 10 milliamps which helps to give slightly better accuracy.

The value of R2 is used to set the output voltage of the circuit according to the following equation:
VOUT = 1.25 * ( 1 + R2/R1 )

which can be rearranged to give:
R2 = R1 * ( (VOUT/1.25) -1 )

NEW We now have a handy LM317 Voltage Calculator which calculates R2 for any given value of R1 and desired output voltage. On the same page are two comprehensive tables (one grid, and one sorted list) presenting the output voltages given by different combinations of the most commonly found stock resistors.

Example - Recharging a Mobile Phone Battery from a 12V Battery Bank with an LM317T

Therefore, if for example you decide to recharge your mobile phone battery directly from a 12 Volt (nominally) battery bank you would typically need a voltage output of around 5 volts, and an output current of around 500ma. The LM317T can handle average currents of up to 1.5 Amps so it will work well in this situation.

Assuming that a standard 240 Ohm resistor is used as R1 all we have left to do is calculate the value of R2 with a target output voltage of 5V:
R2 = 240 * ( (5/1.25) -1 ) = 720

Therefore since no-one manufactures 720 Ohm resistors, use the next larger available size - a 750 Ohm resistor.

LM317T Voltage Regulation Accuracy

In all these calculations it is important to remember that typical resistors have error ranges of up to 5%, and that the reference voltage of the LM317T can vary from 1.2 to 1.3 Volts - another 5% of error. Therefore if you cannot afford for the output voltage to be as much as ±10% away from the required voltage - an adjustable trimming potentiometer should be used for all or part of R2 enabling you to adjust the value of R2 until the output voltage is the chosen value.



Article Last Modified: 15:04, 7th Mar 2008

Comment on this Article

If you have any comments on this article, please email them to neil@reuk.co.uk.


Recommended Related Articles

People who read this article also enjoyed the following articles:

LM317 Voltage Calculator
A handy online output voltage calculator for the LM317, LM338, and other linear voltage regulators
Article Last Modified: 11:29, 17th Aug 2010
electric circuit | electronics | general

LM317T Voltage Regulator Chip
Learn about the LM317T and its uses in renewable energy projects
Article Last Modified: 13:35, 9th Sep 2008
electronics | electric circuit

Solar Battery Charger With LM317T
Find out how to make a current controlled solar battery charger using an LM317T
Article Last Modified: 08:34, 30th Mar 2007
solar | education | electric circuit

Using The LM317T With LED Lighting
Use an LM317T to regulate the current in LED lighting projects
Article Last Modified: 12:47, 12th Mar 2008
lighting | electric circuit

LM317 High Current Voltage Regulator
Find out how to build an LM317T based high current voltage regulator
Article Last Modified: 11:29, 17th Aug 2010
electric circuit | electronics | general | education

LM317 Current Calculator
A handy online output current calculator for the LM317, LM338, and other linear voltage regulators
Article Last Modified: 12:47, 12th Mar 2008
electric circuit | electronics | general

LM2940 12V 1A Low Dropout Regulator
Find out how to use an LM2940 to efficiently regulate voltage
Article Last Modified: 09:07, 30th Jan 2010
electric circuit | storage | general | lighting

Solar iPod Charger
Find out how to make a solar powered charger for your iPod
Article Last Modified: 10:00, 20th Jul 2007
solar | general

Make a Simple Battery Status Monitor
Monitor battery status with this easy electric circuit project - no skill required!
Article Last Modified: 12:33, 16th Mar 2007
storage | electric circuit

Basic 4 AA Solar Battery Charger Plans
Make a simple solar charger for 4 AA rechargeable batteries
Article Last Modified: 08:43, 30th Jul 2007
solar | education

© 2006-2012 REUK - All Rights Reserved
Page Last Updated on 31st January 2012 at 01:50:15pm

Latest
Articles


Make a Still
Find out how to make your own still for distilling ethanol fuel
biomass
13:49, 31st Jan 2012

UK Feed in Tariff to be Cut by 50 Percent
UK government announces 50% cut in feed in tariff payable on new solar PV installations
solar
13:20, 30th Jan 2012

PICAXE Microcontrollers
Find out about PICAXE microcontrollers and their use in renewable energy projects
electronics
13:12, 30th Jan 2012

Make a PICAXE Repeating Timer
Make your own repeating timer with our automatic PICAXE Basic code generator
education
12:42, 30th Jan 2012

Rainbow Power 300W Hydro Generator
300 Watt 12/24 Volt hydro power generators from Rainbow Power
hydro
12:44, 27th Jan 2012

Solar Tracker
Set up solar panels to track the motion of the sun across the sky to maximise power output
solar
10:46, 27th Jan 2012

Light Dark Dawn Dusk Relay Controller
Find out about the REUK Super LDR light/dark dawn/dusk relay controller
electric circuit
16:48, 24th Jan 2012

Karasouli SCC 20 Wind Turbine Charge Controller
Find out more about the SCC-20 wind turbine charge controller and dump load controller
wind
12:46, 20th Jan 2012



REUK Shop

Popular Items


REUK SUPER LDR DUSK DAWN RELAY CONTROLLER
Multi-function light detector triggered light/dark dawn/dusk relay controller
£18.95 each.
Complete Circuits



KARASOULI SCC 20 CHARGE CONTROLLER
20A rated wind turbine charge controller and dump load controller with blocking diode and heatsink
£43.95 each.
Renewable Energy System Parts



SOLAR PUMP CONTROLLER WITH RELAY
Solar water heating system microprocessor controlled circuit with fitted 10A relay
£25.99 each.
Complete Circuits



REUK SUPER POULTRY LIGHTING CONTROLLER
Control up to 8 Watts of LED spotlights to stimulate egg production in birds
£29.99 each.
Complete Circuits



REUK SUPER TIMER 2
User programmable 12VDC powered 16A rated repeating relay timer. 1 second to 99 hours ON and OFF times
£23.99 each.
Complete Circuits



300 WATT POWER INVERTER
Convert 12V DC battery power into 230 AC to power portable televisions, computers, video recorders etc. 300 Watt power rating - peak power 600 Watts
£29.99 each.
Renewable Energy System Parts



CONVERTED PROGRAMMABLE DIGITAL TIMER RELAY
Mains powered programmable timer converted to low voltage with relay board
£21.99 each.
Renewable Energy System Parts



12 VOLT REGULATOR
Supply a fixed 12.0 Volt DC to your devices (up to 1 Amp output)
£4.99 each.
Complete Circuits



MR16 CERAMIC BULB HOLDER
Bulb holder for 12 Volt LED spotlight bulbs
£1.39 each.
Energy Efficient Lighting