Previous in Forum: Substation Transformer Modeling   Next in Forum: Converting a Ceiling Fan into a Generator
Close
Close
Close
12 comments
Rate Comments: Nested
Active Contributor

Join Date: Jan 2010
Location: Toledo Bend area in Texas.
Posts: 12

Wiring a Linear Pot for a Power Supply

01/25/2010 9:44 PM

Hello. I am in the process of trying to build my first power supply using an LM317. I would like some instruction on the proper way to connect a linear potentiometer into the schematic, ie: where do I connect terminals 1,2 and 3? Thanks for any help.

Kind regards.

Register to Reply
Pathfinder Tags: LINEAR POTENTIOMETER WIRING
Interested in this topic? By joining CR4 you can "subscribe" to
this discussion and receive notification when new comments are added.

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Power-User
Australia - Member - Igor...pull the switch!!!

Join Date: Apr 2009
Location: Australia, sunny North Queensland
Posts: 380
Good Answers: 12
#1

Re: WIRING A LINEAR POT FOR A POWER SUPPLY

01/25/2010 10:41 PM

Use pin 1 and 2 OR pin 2 and 3. The other pin not in use for either configuration is not connected. Fiddle with the potentiometer to get desired resistance once connected.

Two seconds on Google got me this LINK

__________________
CraziestOzzy
Register to Reply Score 1 for Good Answer
Active Contributor

Join Date: Jan 2010
Location: Toledo Bend area in Texas.
Posts: 12
#8
In reply to #1

Re: WIRING A LINEAR POT FOR A POWER SUPPLY

01/30/2010 7:25 PM

I want to thank you for your excellent answer which allowed me to make my first power supply project a complete success. Your answer was easy for me to grasp and the link was also useful. Thanks again.

Register to Reply
Power-User
Australia - Member - Igor...pull the switch!!!

Join Date: Apr 2009
Location: Australia, sunny North Queensland
Posts: 380
Good Answers: 12
#9
In reply to #8

Re: WIRING A LINEAR POT FOR A POWER SUPPLY

01/31/2010 12:46 AM

Cheers, glad it worked...I too was in your shoes once :)

__________________
CraziestOzzy
Register to Reply
Active Contributor

Join Date: Jan 2010
Location: Toledo Bend area in Texas.
Posts: 12
#10
In reply to #9

Re: WIRING A LINEAR POT FOR A POWER SUPPLY

01/31/2010 5:21 PM

Well, I guess I spoke too soon. It seems I have a problem somewhere so I'll try to explain it and maybe you can help. The supply works as it should at first but after a while of testing, the solder trace on the voltage out leg, right under the capacitor begins to get hot...hot enough to melt the solder. In fact, I let the first one burn so I could maybe find the fault. At first I thought it was the cap so I built another one only to have the same thing start to happen.

What could be causing this? Here is what I am using: For the transformer I am using a 1 amp wall wart. I built the board using using a 100 ohm resistor across adjust/out legs, a 4.7uf polarized cap from the out leg to ground with the + side toward the LM317, and a .01uf cap from the input leg to ground. I have a 1k pot that attaches from the output leg at the + side of the cap to ground and then the feed and output voltage wires. The max voltage out is 12.6 volts. Again, it works right for a while but if I turn the voltage down with the pot is when things start to go south.

Register to Reply
Active Contributor

Join Date: Jan 2010
Location: Toledo Bend area in Texas.
Posts: 12
#11
In reply to #9

Re: WIRING A LINEAR POT FOR A POWER SUPPLY

01/31/2010 5:58 PM

I should have had this posted with the other but here is a picture of the transformer. R1 was not there when I opened up the transformer but there is solder on the trace side of the board. Also, are those diodes the rectifier or should I build one for it? Thanks.

Register to Reply
Power-User
Australia - Member - Igor...pull the switch!!!

Join Date: Apr 2009
Location: Australia, sunny North Queensland
Posts: 380
Good Answers: 12
#12
In reply to #11

Re: WIRING A LINEAR POT FOR A POWER SUPPLY

01/31/2010 11:13 PM

The dismembered wall-wart has two diodes, suggesting that the single phase input from your mains supply is converted to DC on output after passing through the diodes. I say this, as after enhancing the image you provide, I see the transformer is center-tapped, with a transformer not center-tapped, you will need to have four diodes. Which is not the case here. The resistor absent (R1) is at a guess, a current limit...not needed, therefore a solder trace has replaced it. Do place the hacked wall-wart into a container or pack it somewhere safe

Above photo, I have shown the center tap I refer to...I believe this is used (well assume really) to allow a rough DC out using only 2 diodes.

...MODIFY YOUR CIRCUIT...to the one above. That way you keep it simple...you can add extras later. Also, You can use an old computer power supply (ATX OR WHATEVER) for a clean and "safer" DC power supply.

Also have a look at LINK

__________________
CraziestOzzy
Register to Reply
3
Guru

Join Date: Oct 2008
Location: Deepest Darkest Rutherford Oz
Posts: 951
Good Answers: 145
#2

Re: WIRING A LINEAR POT FOR A POWER SUPPLY

01/25/2010 11:54 PM

Connect pins 2 & 3 together. Connect pin 1 to ground, and connect pin 2 to the Adjust pin of the LM317. Usually you would use a potentiometer of 5kohms in this application. Having used this circuit many times, it does work well. Ensure that you place the bypass capacitors(0.1uF) nice and close to the LM317.

You could just use pin 2 connected to the adjust leg and pin 3 or 1 to ground. It depends on what value your potentiometer is.

__________________
There are two reasons for a man to do a thing, One that sounds good, and the real one...
Register to Reply Good Answer (Score 3)
Guru

Join Date: Jul 2007
Posts: 4448
Good Answers: 143
#3
In reply to #2

Re: WIRING A LINEAR POT FOR A POWER SUPPLY

01/26/2010 6:52 AM

Yep, tie the wiper to one end. A GA for you. 99% of the time, that hanging pin causes no problem, but then....

__________________
"Well, I've wrestled with reality for 35 years, Doctor, and I'm happy to state I finally won out over it." Elwood P. Dowd
Register to Reply
Participant

Join Date: Nov 2009
Posts: 2
Good Answers: 1
#4

Re: Wiring a Linear Pot for a Power Supply

01/27/2010 12:18 AM

Connect the PIN 1 to ground. PIN 3 to Vcc. THen use PIN 2 (+Ve) and 3 (Gnd) for the variable voltage source.

So that Always the load (Linear POT) is connected across the power supply. According to the POT adjustment you will get 0 to Vcc supply.

This will not be harmful for the circuit.

Register to Reply
Guru

Join Date: Oct 2008
Location: Deepest Darkest Rutherford Oz
Posts: 951
Good Answers: 145
#5
In reply to #4

Re: Wiring a Linear Pot for a Power Supply

01/27/2010 2:31 AM

Except you'll have one smoked Potentiometer quick time. Bearing in mind you have very limited current carrying ability of the average carbon track potentiometer. Not to mention that if the Potentiometer is of a low value(1kohm) and the feed voltage of the transformer/rectifier/filter capacitor is high (in dc terms anything over 9v is high) then Ohms law dictates that the potentiometer will draw significant current and turn that current into heat. Perhaps even flames (seen that happen). That's without asking it to provide power through the wiper contact (pin2).

Using the LM317 you will be able to deliver up to 1 amp of current at the desired voltage output. Note that the output voltage will be dependant on the input voltage from the transformer/rectifier/filter capacitor.

Ideally if you want a power supply to deliver 12Vdc then you should provide around 14Vdc at the input of the LM317.

The purpose of the potentiometer in this particular circuit is to adjust the reference voltage setpoint. The potentiometer does not carry any of the delivered current.

If you have any problems download the National Semiconductor datasheet for the LM317, preferably from the National Semiconductor website.

__________________
There are two reasons for a man to do a thing, One that sounds good, and the real one...
Register to Reply
Guru

Join Date: Feb 2006
Posts: 1758
Good Answers: 6
#6

Re: Wiring a Linear Pot for a Power Supply

01/27/2010 1:07 PM

Is the drawing showing Knob-side view of pot?

If so then connect 1 7 2 together & 3 to Ground .

When you will see it from the front the the arrow will be reversed.

See the direction of rotation from front.

Regards

Register to Reply
Power-User

Join Date: Jun 2009
Location: New Zealand
Posts: 403
Good Answers: 5
#7

Re: Wiring a Linear Pot for a Power Supply

01/27/2010 11:03 PM

Hi, connect pins 1 & 2 to Gnd and connect pin 3 to the LM317, if the pot and voltage work the wrong way round, IE on CW rotation of the pot, output voltage reduces, then connect Pins 3 & 2 to Gnd and connect Pin 1 to the LM317.

Try it

Cheers

Register to Reply
Register to Reply 12 comments

Good Answers:

These comments received enough positive votes to make them "good answers".

"Almost" Good Answers:

Check out these comments that don't yet have enough votes to be "official" good answers and, if you agree with them, vote them!
Copy to Clipboard

Users who posted comments:

CraziestOzzy (3); Haajee (1); Joe Sparky (1); longbow243 (3); murugan.ramasamy (1); Tobugrynbak (2); TVP45 (1)

Previous in Forum: Substation Transformer Modeling   Next in Forum: Converting a Ceiling Fan into a Generator

Advertisement