• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Get free circuit help 24/7

  • +1000 Circuits
  • Hobby Circuits
  • Basic Circuits
  • Learn Arduino
  • Logic IC Pinouts
  • Disclaimer
You are here: Home / Electronic Components / IC LM338 Application Circuits

IC LM338 Application Circuits

Last Updated on May 6, 2020 by Swagatam 73 Comments

In this post we will try to analyze a few interesting IC LM338 based power supply circuits and related application circuits which can used by all hobbyists and professional for their day to day electronic circuits and experiments

Introduction

The IC LM338 by TEXAS INSTRUMENTS, is a versatile IC which can be wired in numerous different ways for obtaining high quality power supply circuit configurations.

The following circuit examples simply depict few of the very interesting useful power supply circuits using this IC.

Let's study each circuit diagram in details:

Simple Adjustable Voltage Power Supply Circuit

The first circuit shows the typical wiring format done around the IC. The circuit provides an adjustable output right from 1.25V to the maximum applied input voltage which shouldn't be more than 35 vots.

R2 is used for varying the output voltage continuously.

Simple 5 Amp Regulated Power Supply Circuit

This circuit produces an output that may be equal to the input supply voltage but the current is well regulated and can never exceed the 5 Amp mark. R1 is precisely selected so as to maintain a safe 5 amp maximum current limit that can be withdrawn from the circuit.

15 Amp, Variable Voltage Regulator Circuit

The IC LM 338 alone is specified for handling a maximum of 5 Amp of current, however if the IC is needed to handle higher currents, in the region of 15 amps, it can well be modified to produce that much of current with the appropriate modifications as shown below.

The circuit utilizes three IC LM338 for the intended implementations with output voltage that's adjustable as explained for the first circuit. R8 is used for the voltage adjustment operations.

Digitally Adjustable Power Supply Circuit:

In the above designs, the power supply utilized a pot for implementing the voltage adjustment procedure, the below given design incorporates discrete transistors which can be digitally triggered separately for obtaining the relevant voltage levels at the outputs.

The collector resistance values are chosen in an incremental order so that a correspondingly varying voltages can be selected and becomes available through the external triggers.

Light Controller Circuit

Other than power supplies, LM338 can also be used as a light controller. The circuit shows a very simple design where a phototransistor replaces the resistor which normally acts as the component for adjusting the output voltage.

The light which needs to be controlled is powered by the output of the IC and its light is allowed to fall on this phototransistor.
As the light increases the value of the photo-transistor decreases which in turn pulls the ADJ pin of the IC more toward the ground, forcing the output voltage to decrease which also decreases the light illumination, maintaining a constant glow on the lamp.

Current Controlled Power Supply Circuit:

The next circuit shows a super simple wiring with the IC LM338 whose ADJ pin is connected to the output after a current sensing preset. The value of the preset determines the maximum amount of current that becomes permissible through the IC at the output.

12V Current Controlled Battery Charger Circuit

The circuit below can be used to charge a 12 volt lead acid battery safely. The resistor Rs may be selected appropriately for determining the desired level of current for the connected battery. R2 can be adjusted for obtaining other voltages for charging other categories of batteris.

Slow Turn ON Output Power Supply

Some sensitive electronic circuits require a slow start rather than the usual instant start. The inclusion of C1 makes it sure that the output from the circuit rises gradually to the set maximum level ensuring the intended safety to the connected circuit.

Heater Controller Circuit

IC LM338 can also be configured for controlling temperature of a certain parameter like a heater. Another important IC LM334 is used as the sensor which is connected across the ADJ and ground of the IC LM338. If the heat from the source tends to increase above the predetermined threshold, the sensor lowers its resistance correspondingly, forcing the output voltage of LM338 to fall, subsequently decreasing the voltage to the heater element.

10 Amp Regulated Power Supply Circuit

The following circuit shows another circuit whose current is restricted to 10 amps, that means the output can be made suitable for high current rated loads, the voltage is adjustable as usual via the pot R2.

Adjusting Many LM338 modules via a Single Control

The given circuit shows a simple configuration which can be used for controlling the outputs of many LM338 power supply modules simultaneously though a single pot.

In the above section we learned a few of the important application circuits using the IC LM338, which were basically collected from the datasheet of the IC, if you have more clues regarding such LM338 based circuits, please let us know through the comments below.

SHARING IS CARING!



Previous: How to Make a 25 Amp, 1500 watts Heater Controller Circuit
Next: Designing Simple Power Supply Circuits

About Swagatam

I am an electronic engineer (dipIETE ), hobbyist, inventor, schematic/PCB designer, manufacturer. I am also the founder of the website: https://www.homemade-circuits.com/, where I love sharing my innovative circuit ideas and tutorials.
If you have any circuit related query, you may interact through comments, I'll be most happy to help!

You'll also like:

  • 1.  Understanding IC 4043B, IC 4044B CMOS Quad 3-State R/S Latch – Working and Pinouts
  • 2.  BEL188 Transistor – Specification and Datasheet
  • 3.  SMD Resistors – Introduction and Working
  • 4.  Cheapest SMPS Circuit Using MJE13005
  • 5.  IC 4033 Pinouts, Datasheet, Application
  • 6.  Cree XLamp XM-L LED Datasheet

Please Subscribe (Only if you are Genuinely Interested in our Newsletters)


 

Reader Interactions

Comments

    Your Comments are too Valuable! But please see that they are related to the above article, and are not off-topic! Cancel reply

    Your email address will not be published. Required fields are marked *

  1. Search Related Posts for Commenting

  2. Ron Hall says

    Hi, I am a retired Electronic Engineer but like all engineers we find it hard to give up tinkering, i do enjoy
    looking at your circuits, and i am building your simple ajustable power supply circuit to power my new project

    Reply
    • Swagatam says

      Hi, that’s great, wish you all the best with this simple power supply project!

      Reply
  3. Joshua says

    Halo sir
    May i ask why is the 10AMP regulated power supply limited maximum output of 20v can it go higher?

    Reply
    • Swagatam says

      Hello Joshua, you can increase it by replacing the pot with a 4k7 pot

      Reply
      • Joshua says

        Halo sir
        Thank you for the quick response , let me try to apply the circuit .
        Please can you send me your email so as i can send you images of my finished product and let me know your thoughts .

        Reply
        • Swagatam says

          Thanks Joshua, you can send it through your google drive or microsoft drive links, I’ll be happy to post them in the above article.

          Reply
          • Joshua says

            https://drive.google.com/drive/folders/1ld_qS1tknmIZyV5fzX9Dszrm1FupRiAw

            Reply
            • Swagatam says

              please change to sharing mode so that i can access the link

            • Joshua says

              Sorry for the inconvenience pls try again the link below
              https://drive.google.com/drive/folders/1ld_qS1tknmIZyV5fzX9Dszrm1FupRiAw

            • Swagatam says

              That looks cool, but which circuit did you exactly build? because the 10 amp design explained in the above article does not seem to have so many parts.

            • Joshua says

              Halo sir
              The design has multiple sub circuits but the main circuit is lm338 circuit which has 2 variable resistors to adjust the voltage level, there is the Dual power supply which gives 5v and -5v to power the voltmeter which uses CL7107 ic there is also the sub circuit which provided 5v 1A to with short circuit protection ( it lights red led and buzzer beeps when short is present)which can be used to test digital circuit

            • Swagatam says

              Thanks Joshua, for the clarification!

            • Joshua says

              How is the project finishing ,cable running and case design … what should I improve ??

            • Swagatam says

              All look good to me!

            • Joshua says

              Halo sir please help!

              https://drive.google.com/file/d/1L10NtgJ9LOPnGvGniEpiIQdeHHpxaNCO/view?usp=drivesdkI

            • Swagatam says

              Joshua, I can help only if you provide the complete schematic of your design…and also tell about the issue that you are facing

      • Joshua says

        And also whats the use of the 0.1 ohm resistors ? Is it a must to use them if so what how much wattage should i use ?and can i use any opam instead of the lm107 if not available ?

        Reply
        • Swagatam says

          It can be 0.2 x max voltage. If the max voltage is 30V then the result will be 6 watts and so forth.
          It helps to keep the dissipation uniform across the two ICs, a simpler idea can be to remove the op amp the 0.1 resistors entirely and put the upper IC in parallel with the lower one, and mount both over a single common heatsink

          Reply
      • Kishok says

        What is the value of R2 if the output Voltage is 17 ,15 ,13 ,9 ,22 ?

        Reply
        • Swagatam says

          you can try this software

          https://www.homemade-circuits.com/lm317-lm338-lm396-calculator-software/

          Reply
  4. Geo says

    If I want to make 2.5 Amp Regulated Power Supply Circuit, then I have to change the 0.24 ohm resistor to 0.5 ohm. But I want the input voltage is 26V, is it possible?

    Reply
    • Swagatam says

      Yes you can use 0.24V for getting 2.5 amp limit, it will work for the entire voltage range

      Reply
      • Geo says

        Do You mean 0.24 ohm?
        OK. What is the maximum input voltage? Is It 40V?

        Reply
        • Swagatam says

          Yes, 0.24 ohm, I mistakenly wrote 0.24 V. 35 V is the max input

          Reply
      • Geo says

        I have tried to give 26v for input voltage. but, voltage reference doesn’t 1.24V, it becomes around 15V and the output current is more than 3 amp (I’m using 0.5 ohm to get 2.5 amp). I’m sure that my circuit is right, so what are the problems?

        Reply
        • Swagatam says

          Please check the voltage across the resistor, is it 0.6V? if not increase its value a bit more…

          Reply
          • Geo says

            No, it is not 0.6V. It is more than 15V. I dont know why. If the input voltage is 4V, the voltage across the resistor is already 0.6V, when I give bigger input voltage then the voltage across the resistor is bigger too. It seems impossible to reach 26V input voltage and has 2.6 Amp on the output.

            Or you can suggest me, how to build a constant current source with 26V input voltage and 2.6 Amp output?

            Reply
            • Swagatam says

              That is strange, because anything above 0.6V across base/emitter of the BC547 will cause the BC547 to conduct and ground the ADJ pin of the IC which will in turn shut off the output.
              Alternatively you can try the following options for getting a constant current output

              https://www.homemade-circuits.com/universal-high-watt-led-current-limiter/

  5. Ian Pond says

    I have 6 32 AH 12 VDC batteries in my 200 watt Solar array.

    I have set the charge voltage to 13.7 VDC
    But the amps is more than a LM338 can handle. it also passes through a 3 wire Volt/Apere meter 0-100VDC and 0-50 Amp which is via a shunt in the Negitive line.

    Can I put a transitor or MOsfet accross the LM338 of around 25 Amperes to increase the current.

    If so can you recomend types and circuit mods

    Reply
    • Swag says

      yes that’s definitely possible, you could probably try the concepts explained in the following articles:

      https://www.homemade-circuits.com/lm317-with-outboard-current-boost/

      https://www.homemade-circuits.com/how-to-make-solar-inverter-circuit/

      Reply
  6. Tolu says

    Please what replacement for lm307, it is not available in my area, thanks.

    Reply
    • Swag says

      you can use opamp in that place. If you decide to use IC 741 make sure to add an offset null adjustment to it.

      Reply
      • Tolu says

        Thanks sir, what value of preset is appropriate to use in the 741ic with added null adjustment

        Reply
        • Swag says

          Tolu, please search for “741 null offset” and you will be able to find all the required details

          Reply
  7. Abhishek Kumar says

    Hi Swagatam,
    Say we have a pc smps that supplies 15A at 12v rail,would lm338 current regulator work if a 10W LED requires 12v and I want to drive it at 700mA.Can current be fixed to 700mA using LM338 current regulator?
    If it can be used then R value would be R=(1.25/0.7A)=0.87ohm.Right?
    Whats the power dissipated by resistor and power rating of resistor should be used?

    Following the above can we cascade the above leds in parallel,say 7 (i.e 700mA x7=4.9A),
    so the ckt should pass on 4.9A to the led array.
    Hence R required would be R=1.25/4.9A=0.25 ohm.Am I right?What should be the power rating required by the resistor in that case?

    And if I want to work on above 5A,can LM 196 be used in similar fashion?
    Sorry for asking too many question,Just want to learn and experiment 🙂

    Reply
    • Swagatam says

      Hi Abhishek,

      you can try the following design for achieving any desired current control

      https://homemade-circuits.com/2011/12/make-hundred-watt-led-floodlight.html

      yes your calculations are correct.

      the power rating of the resistor would be

      1.25 x 4.9 = 6.1 watts.

      LM196 can be replaced directly with LM338 for getting 10 amp control

      Reply
    • Alfred says

      Hi. I built the 15A voltage regulator circuit using LM338 (3) and LM307. This was connected to my power supply (home made from computer power supply). I also connected a 3 wire V/A meter.
      Everything seems fine when switched on, but there is no power output.
      What should I look for to find the fault?

      Reply
      • Swag says

        Hi, without knowing about the schematic it can be difficult to understand what exactly you have made, and regarding a possible fault in the design.

        Reply
  8. Swagatam says

    yes it will work, the resistor value would be

    1.25/1 = 1.25 ohms 1/4 watt

    for more info you can refer to the following article

    https://homemade-circuits.com/2013/06/universal-high-watt-led-current-limiter.html

    Reply
  9. Smitpandya Prakashbhai says

    Hey sir.. Smit here
    Sir i m trying to make battery charger and for that I have used lm317 but using this circuit I can charge mobiles upto certain mAh. If I connect mobile which is having higher mAh than mobile is not charging.so give me solution how can I make it useful for all mobiles.
    In my circuit I have used lm317 and and one 10k potentiometer is connected with its adjustable leg and than other all of potentiometer is connected to 180 ohm resistor. Out terminal of lm 317 is connected with that resistor and one more resistor of value 4.7 ohm. And than I have connected one zener diode of 6.2v, 0.5 W,, after that I connect one diode 1 N4007. And this diode is connected to female USB connector help me pls..

    Reply
    • Swagatam says

      Hi Smit,

      a good LM317 would be capable of generating in excess of 1amp which should be sufficient for most cellphones.

      I think the 4.7 ohm could be causing some significant drop in current…. try reducing its value and see the response…and also make sure the LM317 is mounted over a large heatsink and adequately cooled.

      Reply
  10. Gajendra mishra says

    HI SWAGATAM JI
    PLEASE HELP ME I HAVE REQUIRED A 24 VOLT 5 AMP CHARGING CIRCUIT FROM TRANSFORMER POWER SUPPLY WITH PROVISION OF PARALLEL LOAD 1.5A ,AUTO TURN ON BATTERY IN THE ABSENCE OF SUPPLY POWER

    Reply
    • Swagatam says

      Hi Gajendra ji, you can try the last circuit from this article…

      https://homemade-circuits.com/2011/12/how-to-make-simple-low-battery-voltage.html

      Reply
  11. Ashraf Maniyar says

    Sir I want to make a mobile charger out of it can u pls help me by the spec if I want the output as 5v 1.5amp and it should be stable . the input is taken from a bike battery which is about 12v

    Reply
    • Swagatam says

      Ashraf, you can try the following linked circuit:

      https://homemade-circuits.com/2012/04/how-to-make-solar-battery-charger.html

      adjust P1 to get precise 5V at the output and use it for your purpose, also calculate R3 appropriately for limiting current to the desired limit.

      Reply
  12. Hardy Chow says

    Thank you very much sir

    Reply
  13. Hardy Chow says

    Hello sir, i want to build a 5A 12v battery charger, what value should i use for Rs, R1,R2 and what is the resistor watt preferable? Thank you

    Reply
    • Swagatam says

      Hello Hardy, you can keep Rs and R1 as shown in the diagram, R2 can be replaced with a 10k pot and this pot could be adjusted to set 14.3V at the output, for the recommended 12V/5A battery charging

      Reply
  14. Tyler Clanders says

    For the 5amp power regulator you have a resistor set for 2W and .24ohms
    If we use I^2*R=(25amp)*(.24ohm)=6W, So wouldn't the resistor need to be a minimum of 6W?

    Reply
    • Swagatam says

      by using the more general VxI formula and by considering the fixed reference voltage across the resistor = 1.25V, we get P = 1.25 x 5 = 6.25 watts

      yes, you are right, the datasheet's calculation is incorrect, the resistor should be rated at above 6 watts and not 2 watt

      Reply
  15. Jeronimo Murruni says

    Hello sir, I'd like to know how to charge a 12V7Ah lead gel-acid battery, I know that the "slow charge" must me 700mA, so I have to supply the battery with 700mA, and I don't know how to calculate the external components. Thank you very much for the help beforehand

    Reply
    • Swagatam says

      hello Jeronimo, you can build the first circuit from the above article exactly as shown, just replace the pot with a 10k pot…. for setting up the circuit adjust the pot to get around 14V at the output without any battery connected. once this setting is done connect the battery and switch ON power…let it charge for about 8 hours and then you could switch OFF the supply manually, you would find the battery fully charged by this time.

      Reply
    • Swagatam says

      LM317 may be used instead of LM338 to make the circuit cost effective…

      Reply
    • Jeronimo Murruni says

      Ok, thank you very much

      Reply
  16. phoenix....... says

    good morning swagatam
    regarding 12V Current Controlled Battery Charger Circuit
    I have 12v 35Ah battery, 0-12v 5A transformer. Charging current required must be around 3.5A.
    Is ther anything i should modify about
    Rs .1 ohm
    R1 250 ohm
    R2 2k7 ohm

    Reply
    • Swagatam says

      Hi Phoenix, If you have calculated them correctly nothing more needs to be done in the circuit…that's all is needed.

      Reply
    • phoenix....... says

      is Rs .1 ohm appropriate for a 35 Ah battery. I didnt calculate this value. I took it from the image above.

      Reply
    • Swagatam says

      0.6/3.5 = 0.17 ohms is the approximate value

      Reply
    • ashutosh das says

      i want to charge 12v 4.5ah battery form 17v 11 watt solar panel is the value Rs=0.1 is correct for the arrangement ?

      Reply
    • Swagatam says

      I am not quite sure about it, I think the following circuit would be more suitable for you:

      https://homemade-circuits.com/2012/02/how-to-make-current-controlled-12-volt.html

      Reply
    • ashutosh das says

      sir but my input is 17vdc from a solar panel…the link you have provided is for 220ac supply…

      Reply
  17. aashish gupta says

    hello sir
    how to find R1 values(ohms,watts) for current controlled power supply . i am using 12v 80ah battery and need output current : 3.5 amp to drive led array of 30 * 1 watt leds

    Reply
    • Swagatam says

      hello aashish, please go through the following article, it has all the required info in it:

      https://homemade-circuits.com/2013/06/universal-high-watt-led-current-limiter.html

      Reply
    • aashish gupta says

      thank you
      i hav read that article and got the formula R1 = Vref/current,
      1.25/3.5A=0.357 ohms ,4.375watts is it correct

      Reply
    • Swagatam says

      that's correct.

      Reply
  18. Nagy Csaba says

    good day sir. i wat to build a powersupply with lm338 but i want to be able to adjust the curent to not just the voltage i saw a schematic above with a simple curent limiting circuit.but if i make that circuit how can i adjust the voltage not just the curent?

    Reply
    • Swagatam says

      good day,

      please refer to the first diagram in the following link:

      https://homemade-circuits.com/2012/11/3-watt-5-watt-led-dc-to-dc-constant.html

      Replace the transistor with a Darlington pair (two BC547) and replace the base resistor with a 10k pot. The slider arm will go to ground while the two ends across base and 0.6 ohm resistor.

      this pot can be used for setting the current limits.

      Reply
  19. prashantkumar swami says

    sir some times 7805 get short circuits & it gives 12v output how i save my mobile from 12v output
    give your reply

    Reply
    • Swagatam says

      prashant, 78XX ICs are internally short circuit protected, they will never get shorted unless tampered intentionally. Even if this happen, the cell phone is protected against upto 12V supplies and will simply show"not charging"

      Reply
  20. Jhunix says

    good day sir,

    regarding the 12V Current Controlled Battery Charger Circuit, can is use rectified DC from a motorcycle as V_in?

    if possible, what voltage of the capacitor would you recommend? is it ok to use 1/4w for all resisitors?

    thank you.

    Regards

    Reply
    • Swagatam says

      Good day Jhunix, yes you can use the motorcycle alternator input after rectification, but it should not exceed 35V.

      Use 10uF/50V at the input and 100uF/25V at the output of the IC.

      Reply
    • Jhunix says

      Can i use LM317 or any equivalent IC replacing LM338? because I can't find LM338 in any electronic/electrical store here in or place.

      Reply
    • Swagatam says

      317 will charge only upto 10AH batteries not above that.

      Reply



Primary Sidebar

Electronic Projects Categories

  • 3-Phase Power (15)
  • 324 IC Circuits (19)
  • 4017 IC Circuits (51)
  • 4060 IC Circuits (25)
  • 555 IC Circuits (94)
  • 741 IC Circuits (18)
  • Amplifiers (49)
  • Arduino Engineering Projects (82)
  • Audio Projects (85)
  • Battery Chargers (76)
  • Car and Motorcycle (88)
  • Datasheets (45)
  • Decorative Lighting (Diwali, Christmas) (32)
  • DIY LED Projects (82)
  • Electronic Components (97)
  • Electronic Devices and Circuit Theory (35)
  • Electronics Tutorial (99)
  • Fish Aquarium (5)
  • Free Energy (34)
  • Games (2)
  • GSM Projects (9)
  • Health Related (17)
  • Heater Controllers (24)
  • Home Electrical Circuits (98)
  • Incubator Related (6)
  • Industrial Electronics (27)
  • Infrared (IR) (39)
  • Inverter Circuits (94)
  • Laser Projects (10)
  • LM317/LM338 (21)
  • LM3915 IC (24)
  • Meters and Testers (55)
  • Mini Projects (153)
  • Motor Controller (65)
  • MPPT (7)
  • Oscillator Circuits (15)
  • PIR (Passive Infrared) (8)
  • Power Electronics (33)
  • Power Supply Circuits (65)
  • Radio Circuits (9)
  • Remote Control (46)
  • Security and Alarm (56)
  • Sensors and Detectors (116)
  • SG3525 IC (5)
  • Simple Circuits (72)
  • SMPS (29)
  • Solar Controllers (60)
  • Timer and Delay Relay (51)
  • TL494 IC (5)
  • Transformerless Power Supply (8)
  • Transmitter Circuits (39)
  • Ultrasonic Projects (12)
  • Water Level Controller (46)

Follow Homemade Circuits

Facebook
Twitter
YouTube
Instagram
My Facebook-Page
Quora

Feeds

Post RSS
Comment RSS

Circuit Calculators

  • AWG to Millimeter Converter
  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator
  • Privacy Policy
  • About Us
  • Contact
  • Disclaimer
  • Videos – Circuit Test Results

© 2021 · Swagatam Innovations