Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

LM337 Digital Inputs

Status
Not open for further replies.

Suraj143

Active Member
I need to change the adjustable resistor with a transistor in LM337 voltage regulator.

I did that in LM317 but this time I need to apply that to LM337 but its a negative voltage regulator so the transistor won't bias.
 
Attached is a level shifter circuit that converts a positive going digital signal into the control of a P-MOSFET that switches the resistors which determine the negative output voltage of the LM337.

Note that if the negative supply voltage is greater than the maximum gate-source voltage for the P-MOSFET (typically 20V) then you will need to add another gate resistor to form a voltage divider that will limit the maximum gate voltage.

Also note that the input has inverted logic. A logic high (+5V) turns the P-MOSFET off and a logic low (0V) turns the P-MOSFET on.

View attachment 63298
 
Last edited:
Duplicate deleted.
 
Last edited:
Ok Crutshow you got it.That's the circuit I needed.

Can I replace P channel MOSFET with a PNP transistor with a 1K base resistor?

Thanks for the support?
 
You can replace the MOSFET with a PNP but all the current carried by the base resistor must go through the collector and emitter of the first transistor when you want to turn it off, and thus must be supplied by the input driver. So it depends upon how much current your input driver can provide. Note that the input current is Vin/Rin and that must be equal to or greater than V-/Rb (Rb is base resistor).

It's for that reason that I used a MOSFET since the gate resistor can be large and thus so can the input resistor.

What is the value of the minus voltage you will be connecting to the base resistor?
 
Last edited:
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top