0
Offline
Newbie
Karma: 0
Posts: 27
Arduino rocks
|
 |
« on: May 24, 2011, 11:51:15 am » |
Hello again  I will be making an Arduino fan controller which will regulate the voltage on the fan with the help of the LM317 Voltage Regulator, now I have made a schematic and I have a question: The input voltage will be 12V from a PC PSU, will the LM317 be able to give 12V output? 
|
|
|
|
|
Logged
|
Ordinary people pursue order, Ingenuous people rule chaos.
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 274
Posts: 25481
Solder is electric glue
|
 |
« Reply #1 on: May 24, 2011, 11:58:38 am » |
The input voltage will be 12V from a PC PSU, will the LM317 be able to give 12V output? No. You need a voltage greater than 12V say 14V to get 12V out. Also you have no input or output capacitors and have you allowed for the Vssat voltage between collector and emitter when the transistor is on? You also need resistors in the base of the transistors to limit current flow.
|
|
|
|
|
Logged
|
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15314
Measurement changes behavior
|
 |
« Reply #2 on: May 24, 2011, 12:00:55 pm » |
The input voltage will be 12V from a PC PSU, will the LM317 be able to give 12V output? No, the chip has a regulator drop out voltage specification. It's dependent on how much current is being drawn from the regulator and is about 2 volts at 1 amp drop, so plan on around a 10vdc max output for the regulator if being supplied with +12vdc. Also be sure to add series current limiting resistors going to the base of those switching transistors. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 27
Arduino rocks
|
 |
« Reply #3 on: May 24, 2011, 12:05:35 pm » |
Thanks for the replies guys  Any idea on how I would get more than 12V with a PC PSU?
|
|
|
|
|
Logged
|
Ordinary people pursue order, Ingenuous people rule chaos.
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 274
Posts: 25481
Solder is electric glue
|
 |
« Reply #4 on: May 24, 2011, 12:09:20 pm » |
I will be making an Arduino fan controller which will regulate the voltage on the fan I am assuming the fan is 12V, the simple answer is not to use a regulator circuit like this but to use a FET driver in the continuous (non switched) mode.
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Online
Brattain Member
Karma: 137
Posts: 19025
I don't think you connected the grounds, Dave.
|
 |
« Reply #5 on: May 24, 2011, 12:14:00 pm » |
Any idea on how I would get more than 12V with a PC PSU? I assume PC supplies still have -12V outputs. -12 to +12 is 24 volts.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15314
Measurement changes behavior
|
 |
« Reply #6 on: May 24, 2011, 12:23:26 pm » |
Any idea on how I would get more than 12V with a PC PSU? I assume PC supplies still have -12V outputs. -12 to +12 is 24 volts. Not really usable that way in a common grounded system. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
Global Moderator
UK
Online
Brattain Member
Karma: 137
Posts: 19025
I don't think you connected the grounds, Dave.
|
 |
« Reply #7 on: May 24, 2011, 12:26:35 pm » |
Depends what you declare "ground" to be.
|
|
|
|
|
Logged
|
Pete, it's a fool looks for logic in the chambers of the human heart.
|
|
|
|
Left Coast, CA (USA)
Offline
Brattain Member
Karma: 279
Posts: 15314
Measurement changes behavior
|
 |
« Reply #8 on: May 24, 2011, 12:29:29 pm » |
Depends what you declare "ground" to be.
Correct, we would need to know if he is using the PC supply for any other loads, or desires to. Lefty
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 27
Arduino rocks
|
 |
« Reply #9 on: May 24, 2011, 12:48:34 pm » |
I'll be using the same PSU for: Pumps (Water Cooling), Micro Controllers, Fans
|
|
|
|
|
Logged
|
Ordinary people pursue order, Ingenuous people rule chaos.
|
|
|
|
Red Sea, Saudi Arabia
Offline
God Member
Karma: 11
Posts: 579
..On The Red Sea
|
 |
« Reply #10 on: May 24, 2011, 02:25:51 pm » |
Mike has the best solution; use a single power FET and control it with a PWM output from Arduino. And it (could) handle a lot more current than an LM317T. Nothing against the LM317T. I once bought a barrel of 14,000 of them for $55 from a junkyard near IBM  I'll send 5 to anyone who'll send a SASE... I still have about 500 left. --------------------------------------------------------------------- UPDATE: Sorry! I'm always criticizing Acronyms... Self-Addressed-Stamped-Envelope (sent to me, will return 5 LM317t's..) Terry King 152 Colby Road West Topsham, VT 05086 But: 3 weeks till I get there from the Middle East...
|
|
|
|
« Last Edit: May 25, 2011, 08:13:47 am by Terry King »
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 27
Arduino rocks
|
 |
« Reply #11 on: May 25, 2011, 08:10:31 am » |
Can you give me more info on using FET's with Arduino? Schematic(s), Maybe even some example code 
|
|
|
|
|
Logged
|
Ordinary people pursue order, Ingenuous people rule chaos.
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 274
Posts: 25481
Solder is electric glue
|
 |
« Reply #12 on: May 25, 2011, 08:48:05 am » |
Maybe even some example code analogWrite(pin, value); Schematic(s) use the PWM output filtered and into the gate http://www.thebox.myzen.co.uk/Tutorial/PWM.html
|
|
|
|
|
Logged
|
|
|
|
|
0
Offline
Newbie
Karma: 0
Posts: 27
Arduino rocks
|
 |
« Reply #13 on: May 25, 2011, 09:21:13 am » |
So I use Frequency dependent potential divider with low pass filter connected to a FET, and the divider is hooked up to Arduino PWM output pin? And if so, which FET should I use?
|
|
|
|
|
Logged
|
Ordinary people pursue order, Ingenuous people rule chaos.
|
|
|
|
Manchester (England England)
Offline
Brattain Member
Karma: 274
Posts: 25481
Solder is electric glue
|
 |
« Reply #14 on: May 25, 2011, 11:43:53 am » |
Frequency dependent potential divider with low pass filter close:- Frequency dependent potential divider AS low pass filter. which FET should I use? Any one that will take at least 200mA (most will) and is a logic level FET. The FET will get hot because you are burning the excess voltage off inside it when it is not full on. The power dissipated will be with half the voltage dropped across it at what ever current the motor runs with only half the voltage across it. You might need a heat sink.
|
|
|
|
|
Logged
|
|
|
|
|
|