• Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Question about switches and 12v leads.

Joined
Apr 21, 2011
Messages
494 (0.10/day)
Location
Hesperus IV
System Name Salvaged
Processor AMD Phenom II X6, 1055T
Motherboard MSI (cant remember model..)
Cooling Antec Kühler + extra fans (Antec, Zalman, Coolermaster, Generic brand)
Memory 8Gb (2 x 4Gb)
Video Card(s) ATI Radeon HD6870
Storage Samsung 1TB, 320 Seagate, 250 Samsung
Display(s) LG Electronics
Case ANTEC Sonata III 500 (found/salvaged + modified)
Audio Device(s) 8Ch + Harman Kardon 2.1 (modified, electronics in JVC wood speakers)
Power Supply It's made in Denmark, never seen a PSU made there..
Software Win7 X64 Ultimate
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
 
Joined
Mar 12, 2009
Messages
1,075 (0.20/day)
Location
SCOTLAND!
System Name Machine XV
Processor Dual Xeon E5 2670 V3 Turbo unlocked
Motherboard Kllisre X99 Dual
Cooling 120mm heatsink
Memory 64gb DDR4 ECC
Video Card(s) RX 480 4Gb
Storage 1Tb NVME SSD
Display(s) 19" + 23" + 17"
Case ATX
Audio Device(s) XFi xtreme USB
Power Supply 800W
Software Windows 10
it shouldnt matter but i think the positive lead is the usual standard.
 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
13,147 (2.96/day)
Location
Concord, NH, USA
System Name Apollo
Processor Intel Core i9 9880H
Motherboard Some proprietary Apple thing.
Memory 64GB DDR4-2667
Video Card(s) AMD Radeon Pro 5600M, 8GB HBM2
Storage 1TB Apple NVMe, 4TB External
Display(s) Laptop @ 3072x1920 + 2x LG 5k Ultrafine TB3 displays
Case MacBook Pro (16", 2019)
Audio Device(s) AirPods Pro, Sennheiser HD 380s w/ FIIO Alpen 2, or Logitech 2.1 Speakers
Power Supply 96w Power Adapter
Mouse Logitech MX Master 3
Keyboard Logitech G915, GL Clicky
Software MacOS 12.1
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.
 

Frick

Fishfaced Nincompoop
Joined
Feb 27, 2006
Messages
18,914 (2.86/day)
Location
Piteå
System Name Black MC in Tokyo
Processor Ryzen 5 5600
Motherboard Asrock B450M-HDV
Cooling Be Quiet! Pure Rock 2
Memory 2 x 16GB Kingston Fury 3400mhz
Video Card(s) XFX 6950XT Speedster MERC 319
Storage Kingston A400 240GB | WD Black SN750 2TB |WD Blue 1TB x 2 | Toshiba P300 2TB | Seagate Expansion 8TB
Display(s) Samsung U32J590U 4K + BenQ GL2450HT 1080p
Case Fractal Design Define R4
Audio Device(s) Line6 UX1 + some headphones, Nektar SE61 keyboard
Power Supply Corsair RM850x v3
Mouse Logitech G602
Keyboard Cherry MX Board 1.0 TKL Brown
VR HMD Acer Mixed Reality Headset
Software Windows 10 Pro
Benchmark Scores Rimworld 4K ready!
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).
 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
13,147 (2.96/day)
Location
Concord, NH, USA
System Name Apollo
Processor Intel Core i9 9880H
Motherboard Some proprietary Apple thing.
Memory 64GB DDR4-2667
Video Card(s) AMD Radeon Pro 5600M, 8GB HBM2
Storage 1TB Apple NVMe, 4TB External
Display(s) Laptop @ 3072x1920 + 2x LG 5k Ultrafine TB3 displays
Case MacBook Pro (16", 2019)
Audio Device(s) AirPods Pro, Sennheiser HD 380s w/ FIIO Alpen 2, or Logitech 2.1 Speakers
Power Supply 96w Power Adapter
Mouse Logitech MX Master 3
Keyboard Logitech G915, GL Clicky
Software MacOS 12.1
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.
 
Joined
Apr 21, 2011
Messages
494 (0.10/day)
Location
Hesperus IV
System Name Salvaged
Processor AMD Phenom II X6, 1055T
Motherboard MSI (cant remember model..)
Cooling Antec Kühler + extra fans (Antec, Zalman, Coolermaster, Generic brand)
Memory 8Gb (2 x 4Gb)
Video Card(s) ATI Radeon HD6870
Storage Samsung 1TB, 320 Seagate, 250 Samsung
Display(s) LG Electronics
Case ANTEC Sonata III 500 (found/salvaged + modified)
Audio Device(s) 8Ch + Harman Kardon 2.1 (modified, electronics in JVC wood speakers)
Power Supply It's made in Denmark, never seen a PSU made there..
Software Win7 X64 Ultimate
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:
Joined
Nov 16, 2007
Messages
1,166 (0.20/day)
Location
Hampton Roads
Processor Xeon x5650
Motherboard SABERTOOTH X58
Cooling Fans
Memory 24 GB Kingston HyperX 1600
Video Card(s) GTX 1060 3GB
Storage small ssd
Display(s) Dell 2001F, BenQ short throw
Case Lian Li
Audio Device(s) onboard
Power Supply X750
Software Mint 19.3, Win 10
Benchmark Scores not so fast...
would a diode work for this?

 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
13,147 (2.96/day)
Location
Concord, NH, USA
System Name Apollo
Processor Intel Core i9 9880H
Motherboard Some proprietary Apple thing.
Memory 64GB DDR4-2667
Video Card(s) AMD Radeon Pro 5600M, 8GB HBM2
Storage 1TB Apple NVMe, 4TB External
Display(s) Laptop @ 3072x1920 + 2x LG 5k Ultrafine TB3 displays
Case MacBook Pro (16", 2019)
Audio Device(s) AirPods Pro, Sennheiser HD 380s w/ FIIO Alpen 2, or Logitech 2.1 Speakers
Power Supply 96w Power Adapter
Mouse Logitech MX Master 3
Keyboard Logitech G915, GL Clicky
Software MacOS 12.1
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.
 
Joined
Nov 16, 2007
Messages
1,166 (0.20/day)
Location
Hampton Roads
Processor Xeon x5650
Motherboard SABERTOOTH X58
Cooling Fans
Memory 24 GB Kingston HyperX 1600
Video Card(s) GTX 1060 3GB
Storage small ssd
Display(s) Dell 2001F, BenQ short throw
Case Lian Li
Audio Device(s) onboard
Power Supply X750
Software Mint 19.3, Win 10
Benchmark Scores not so fast...
dont know, it was a question on my part, too.
 

Aquinus

Resident Wat-man
Joined
Jan 28, 2012
Messages
13,147 (2.96/day)
Location
Concord, NH, USA
System Name Apollo
Processor Intel Core i9 9880H
Motherboard Some proprietary Apple thing.
Memory 64GB DDR4-2667
Video Card(s) AMD Radeon Pro 5600M, 8GB HBM2
Storage 1TB Apple NVMe, 4TB External
Display(s) Laptop @ 3072x1920 + 2x LG 5k Ultrafine TB3 displays
Case MacBook Pro (16", 2019)
Audio Device(s) AirPods Pro, Sennheiser HD 380s w/ FIIO Alpen 2, or Logitech 2.1 Speakers
Power Supply 96w Power Adapter
Mouse Logitech MX Master 3
Keyboard Logitech G915, GL Clicky
Software MacOS 12.1
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.

circuit.PNG
 
Joined
Apr 21, 2011
Messages
494 (0.10/day)
Location
Hesperus IV
System Name Salvaged
Processor AMD Phenom II X6, 1055T
Motherboard MSI (cant remember model..)
Cooling Antec Kühler + extra fans (Antec, Zalman, Coolermaster, Generic brand)
Memory 8Gb (2 x 4Gb)
Video Card(s) ATI Radeon HD6870
Storage Samsung 1TB, 320 Seagate, 250 Samsung
Display(s) LG Electronics
Case ANTEC Sonata III 500 (found/salvaged + modified)
Audio Device(s) 8Ch + Harman Kardon 2.1 (modified, electronics in JVC wood speakers)
Power Supply It's made in Denmark, never seen a PSU made there..
Software Win7 X64 Ultimate
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!
 
Top