techPowerUp! Forums

Go Back   techPowerUp! Forums > Hardware > Cases, Modding & Electronics

Reply
 
Thread Tools
Old Feb 21, 2013, 08:32 AM   #1
SaiZo
200 Posts
 
SaiZo's Avatar
 
Join Date: Apr 2011
Location: Hesperus IV
Posts: 366 (0.48/day)
Thanks: 546
Thanked 42 Times in 34 Posts

System Specs

Question about switches and 12v leads.

My electronics is a bit rusty, but what I'm trying to do is to connect an SPDT switch (a three-way switch infact..) to act as an on/off for my fans.

The fans are not powered by the system anymore, but an external source, since I only have 1 PWM header and to that one another fan is already connected.

Ok, so to the question: Should I use the positive or the negative lead connected to the switch, I just can't remember how to connect them.


Thanks
SaiZo is offline  
Reply With Quote
Old Feb 21, 2013, 08:52 AM   #2
Geofrancis
500 Posts
 
Geofrancis's Avatar
 
Join Date: Mar 2009
Location: SCOTLAND!
Posts: 919 (0.60/day)
Thanks: 91
Thanked 137 Times in 106 Posts

System Specs

it shouldnt matter but i think the positive lead is the usual standard.
__________________
machine XI Phenom II 965 Black @3.8ghz, 8Gb XMS3 1600, Asus M4A88TD-M EVO/USB3, HD5970, 128gb sandisk SSD, mcubed t-balancer
HP EliteBook 2530p SL9400 Core 2 Duo ULV @ 0.9v, 4Gb ddr2, 80Gb Intel X-18m G2, 64Gb express card SSD, Ubiquiti SR71-E 400mw wifi, 21mb HSPA+
ESXI Server Phenom II 1155T, MSI 890FXA-GD70, 12Gb ddr3, IBM M1015 sas, Dell sas 6i, 10 drive 8tb UNRAID array.
Old Builds :watercooled matx rig|Water Cooled ITX rig |EeePC 701 7" netbook | ITX Gaming raid build
Geofrancis is offline  
Reply With Quote
The Following User Says Thank You to Geofrancis For This Useful Post:
Old Feb 21, 2013, 08:56 AM   #3
Aquinus
3500 Posts
 
Aquinus's Avatar
 
Join Date: Jan 2012
Location: Dover, New Hampshire, USA
Posts: 4,242 (8.85/day)
Thanks: 1,265
Thanked 1,322 Times in 981 Posts

System Specs

Your common should be your circuit, make L1 +12v, and ground L2. So when it's off, both ends of the circuit are grounded leaving zero potential and little resistance. Then when you turn it on, it will switch from ground to on. I just recommend using a small cap and inductor to smooth the output voltage and current. When you first turn a SPDT switch on or off, it "bounces" due to the mechanical nature of the switch. I'm sure it won't hurt the fan to just run it right off, but it doesn't hurt since there a short period of transience induced by the switch when the state changes.
__________________
MyHeat
Aquinus is offline  
Crunching for Team TPU
Reply With Quote
The Following User Says Thank You to Aquinus For This Useful Post:
Old Feb 21, 2013, 09:22 AM   #4
Frick
Fishfaced Nincompoop
 
Frick's Avatar
 
Join Date: Feb 2006
Location: Sweden
Posts: 7,876 (2.98/day)
Thanks: 1,076
Thanked 1,443 Times in 1,149 Posts

System Specs

Fans are usually sturdy, jumps in the switch probably won't hurt them. Still a good idea with the cap/inductor (which incidentally is a filter, I don't remember exactly what that kind of filter does though :P).
__________________
Typemachine: Acer Aspire One D250 | Atom N280 1.6 Ghz | 1GB DDR2 | 160GB SATA | 10.1' 1024 x 600 | Lubuntu 12.10
Oldbox: HP D530 | Pentium 4 2.8 Ghz | 1GB DDR | 40GB | Windows XP
"The 'gentle biker' look is overdone. I'm going for 'psycho hillbilly.' "
Frick is offline  
Reply With Quote
The Following User Says Thank You to Frick For This Useful Post:
Old Feb 21, 2013, 09:35 AM   #5
Aquinus
3500 Posts
 
Aquinus's Avatar
 
Join Date: Jan 2012
Location: Dover, New Hampshire, USA
Posts: 4,242 (8.85/day)
Thanks: 1,265
Thanked 1,322 Times in 981 Posts

System Specs

Quote:
Originally Posted by Frick View Post
Still a good idea with the cap/inductor (which incidentally is a filter, I don't remember exactly what that kind of filter does though :P).
The cap smooths fluctuation in voltage and the inductor smooths the current. Just be careful where you put that cap because you may introduce resonance between the cap and the inductor. Your best option would probably be to ignore the inductor just go with a small 20-30v cap. I suspect current smoothing won't be necessary. Nothing too big for the cap though, keep in mind that cap has to charge when it's switched on. All in all, you're driving fans, not circuitry so it probably isn't necessary.
__________________
MyHeat
Aquinus is offline  
Crunching for Team TPU
Reply With Quote
The Following User Says Thank You to Aquinus For This Useful Post:
Old Feb 21, 2013, 09:40 AM   #6
SaiZo
200 Posts
 
SaiZo's Avatar
 
Join Date: Apr 2011
Location: Hesperus IV
Posts: 366 (0.48/day)
Thanks: 546
Thanked 42 Times in 34 Posts

System Specs

Thanks for the replies. I forgot to mention it is an ON-OFF-ON switch, and what I was trying to do, is that in one position fan #1 is on, and in the other position fan #1 and fan #2 is on.
Sad part is that they are single pole. Good part is that I have 4 identical.

When the switch is in the mid position, well then both fans are off. I need to a small experiment PCB for this to work (I guess).

I think I could manage this on my own, otherwise I'll come back here. I tried to google my "thinking" but it was hard to find a correct answer.

Was speaking earlier with the people at our local electrical shop, they sell that Arduino Uno, and said that it could be programmed to control fans if you want to (yes, I'll have to program it myself..)

Is there anything else I should know of before starting to conduct my experiment?


EDIT: Ok, so let's just say I have soldered two PWM headers to the PCB, I have the input from the external source being 12v. Now, when I throw the switch in one direction, only one fan will get power, and in the other direction both fans get power. And in the middle position it is OFF. Would this work in reality, or will I destroy anything?? Should I let Electronics Workbench print the schematic for soldering (so I'll get everything in the right direction)?

Also, I do have some caps around here, but only one is rated 35v & 10 microfarad. Other than that I have some 50v, 16v caps. I think I need some new ones.


Thanks everyone for the replies.


EDIT: Forgot to mention, I actually have two 12v AC adaptors and one 7v. However, one of the 12v adapters actually gives as much as 14v. I think it was for charging something. I also have a small 12v to 9v transformer, that can be surface mounted. I do not know it's condition right now (have to test it first). Going tomorrow to buy usefull hardware. Just keep the idéas coming!

Last edited by SaiZo; Feb 21, 2013 at 10:20 AM.
SaiZo is offline  
Reply With Quote
Old Feb 21, 2013, 09:59 AM   #7
1freedude
200 Posts
 
1freedude's Avatar
 
Join Date: Nov 2007
Posts: 452 (0.22/day)
Thanks: 207
Thanked 120 Times in 90 Posts

System Specs

would a diode work for this?

1freedude is offline  
Reply With Quote
The Following User Says Thank You to 1freedude For This Useful Post:
Old Feb 21, 2013, 10:11 AM   #8
Aquinus
3500 Posts
 
Aquinus's Avatar
 
Join Date: Jan 2012
Location: Dover, New Hampshire, USA
Posts: 4,242 (8.85/day)
Thanks: 1,265
Thanked 1,322 Times in 981 Posts

System Specs

Quote:
Originally Posted by 1freedude View Post
would a diode work for this?
Won't the diode drop the voltage by a couple volts or so because of the forward bias in the diode? I think he would like to hold on to 12v if at all possible.
__________________
MyHeat
Aquinus is offline  
Crunching for Team TPU
Reply With Quote
The Following User Says Thank You to Aquinus For This Useful Post:
Old Feb 21, 2013, 10:13 AM   #9
1freedude
200 Posts
 
1freedude's Avatar
 
Join Date: Nov 2007
Posts: 452 (0.22/day)
Thanks: 207
Thanked 120 Times in 90 Posts

System Specs

dont know, it was a question on my part, too.
1freedude is offline  
Reply With Quote
The Following User Says Thank You to 1freedude For This Useful Post:
Old Feb 21, 2013, 10:40 AM   #10
Aquinus
3500 Posts
 
Aquinus's Avatar
 
Join Date: Jan 2012
Location: Dover, New Hampshire, USA
Posts: 4,242 (8.85/day)
Thanks: 1,265
Thanked 1,322 Times in 981 Posts

System Specs

I think something like this would be ideal for what you're trying to do. Just keep in mind that your SPDT switch has a third option for off or ground, but I would do something like this. A tiny bit of logic could eliminate the second power transistor, but this is what I was thinking.

Attached Thumbnails
Click image for larger version

Name:	circuit.PNG
Views:	90
Size:	46.2 KB
ID:	50156  
__________________
MyHeat
Aquinus is offline  
Crunching for Team TPU
Reply With Quote
The Following User Says Thank You to Aquinus For This Useful Post:
Old Feb 22, 2013, 03:37 PM   #11
SaiZo
200 Posts
 
SaiZo's Avatar
 
Join Date: Apr 2011
Location: Hesperus IV
Posts: 366 (0.48/day)
Thanks: 546
Thanked 42 Times in 34 Posts

System Specs

I want to thank everyone for their efforts in helping me with this.
Unfortunately, I have the flu, so I couldn't go and buy the stuff needed (fan headers, PCB etc.).

Will start constructing it as soon as I get better, and yes, ofcourse with pictures!
SaiZo is offline  
Reply With Quote
The Following User Says Thank You to SaiZo For This Useful Post:
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Doubt about 12v rail samt1687 General Hardware 6 Jan 2, 2011 10:31 PM
Electrical Question 12v PSU AthlonX2 General Hardware 1 May 22, 2010 07:27 PM
Need Help. confused +12v and -12v jigujigu System Builder's Advice 40 Jun 21, 2008 02:48 PM
What are the Negative (-) readings about??? i.e -12v, -5v, and do these look healthy? alexp999 Motherboards & Memory 8 Dec 22, 2007 12:48 PM
Power and reset switches question jcdenton21 Motherboards & Memory 5 Nov 24, 2006 07:13 PM


All times are GMT. The time now is 12:33 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
no new posts