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

How to build key switch for PC

Joined
May 2, 2013
Messages
696 (0.17/day)
Location
India
System Name To be ALL IN ONE MACHINE. but not yet
Processor i7 3770k
Motherboard Asus P8Z&&-V Deluxe
Cooling Thermalright Silver Arrow
Memory Gskill Ripjaws 1600Mhz 8GB *4 = 32GB
Storage Samsung pro 840 256GB, Segate 3TB and 1TB
Display(s) LG 23" Full HD LED
Case Antec LanBoy Air
Power Supply Cooler Master M2 Silent Pro 850 Watts
Software Windows 7 ulimate 64bit
Hi Guys,

I want to build key switch for my Lan Boy Air yellow.

Is there any tutorial for that which can help me build it.

here my matching yellow key switch which I bought today.

Thanks.
 

Attachments

  • 1.jpg
    1.jpg
    196.7 KB · Views: 1,921
  • 2.jpg
    2.jpg
    186 KB · Views: 1,634
Joined
Mar 23, 2012
Messages
777 (0.18/day)
Location
Norway
System Name Games/internet/usage
Processor I7 5820k 4.2 Ghz
Motherboard ASUS X99-A2
Cooling custom water loop for cpu and gpu
Memory 16GiB Crucial Ballistix Sport 2666 MHz
Video Card(s) Radeon Rx 6800 XT
Storage Samsung XP941 500 GB + 1 TB SSD
Display(s) Dell 3008WFP
Case Caselabs Magnum M8
Audio Device(s) Shiit Modi 2 Uber -> Matrix m-stage -> HD650
Power Supply beQuiet dark power pro 1200W
Mouse Logitech MX518
Keyboard Corsair K95 RGB
Software Win 10 Pro
knowing what kind of switch that key switch is would help.

A switch to start the computer with is realy simple, they just short the two wiers going into them. The important thing is that a normal on (and reset) switch does not hold the connection, ones you let go they stop shorting the two wiers. So if that key switch works like a lamp switch it will not be optimal.
 
Joined
May 2, 2013
Messages
696 (0.17/day)
Location
India
System Name To be ALL IN ONE MACHINE. but not yet
Processor i7 3770k
Motherboard Asus P8Z&&-V Deluxe
Cooling Thermalright Silver Arrow
Memory Gskill Ripjaws 1600Mhz 8GB *4 = 32GB
Storage Samsung pro 840 256GB, Segate 3TB and 1TB
Display(s) LG 23" Full HD LED
Case Antec LanBoy Air
Power Supply Cooler Master M2 Silent Pro 850 Watts
Software Windows 7 ulimate 64bit
knowing what kind of switch that key switch is would help.

A switch to start the computer with is realy simple, they just short the two wiers going into them. The important thing is that a normal on (and reset) switch does not hold the connection, ones you let go they stop shorting the two wiers. So if that key switch works like a lamp switch it will not be optimal.

you can see the switch in above picture. It has 3 points, positive , negative and ground.
However ONE THING I WANT TO KNOW IS THAT RATHER THAN BEING IN MIDDLE OF CONNECTION WIRE ,CAN I DIRECTLY USE KEY SWITCH TO START/SHUTDOWN THE MACHINE?
 
D

Deleted member 24505

Guest
You can, but you need to know which connections on the switch are connected when you turn the key. the easiest thing would be to get a key switch with just 2 connections on it, not 3. Then just take the 2 wires off your pc's power button and connect them to the 2 connections on the switch.

To turn it on, you would turn the key on then off, if you just leave the key switch in the on position, it would be like holding your power button down, which will just shut down the pc.
 
Last edited by a moderator:
Joined
Mar 23, 2012
Messages
777 (0.18/day)
Location
Norway
System Name Games/internet/usage
Processor I7 5820k 4.2 Ghz
Motherboard ASUS X99-A2
Cooling custom water loop for cpu and gpu
Memory 16GiB Crucial Ballistix Sport 2666 MHz
Video Card(s) Radeon Rx 6800 XT
Storage Samsung XP941 500 GB + 1 TB SSD
Display(s) Dell 3008WFP
Case Caselabs Magnum M8
Audio Device(s) Shiit Modi 2 Uber -> Matrix m-stage -> HD650
Power Supply beQuiet dark power pro 1200W
Mouse Logitech MX518
Keyboard Corsair K95 RGB
Software Win 10 Pro
you can see the switch in above picture. It has 3 points, positive , negative and ground.
However ONE THING I WANT TO KNOW IS THAT RATHER THAN BEING IN MIDDLE OF CONNECTION WIRE ,CAN I DIRECTLY USE KEY SWITCH TO START/SHUTDOWN THE MACHINE?

was thinking of name, partnumber or a spec sheet. without knowing the function of the switch getting a definitive answer is difficult. IF its a impulse switch it will work, but if not then you either need to be fast every time you turn your computer on, or add some components (a relay, resistor and a condensator should do the job)

If you can give direct information to witch points are open and witch are cosed at what positions of the key we can help you. Also find out if its a impulse or a hold switch.
 
Joined
Nov 9, 2010
Messages
5,650 (1.16/day)
System Name Space Station
Processor Intel 13700K
Motherboard ASRock Z790 PG Riptide
Cooling Arctic Liquid Freezer II 420
Memory Corsair Vengeance 6400 2x16GB @ CL34
Video Card(s) PNY RTX 4080
Storage SSDs - Nextorage 4TB, Samsung EVO 970 500GB, Plextor M5Pro 128GB, HDDs - WD Black 6TB, 2x 1TB
Display(s) LG C3 OLED 42"
Case Corsair 7000D Airflow
Audio Device(s) Yamaha RX-V371
Power Supply SeaSonic Vertex 1200w Gold
Mouse Razer Basilisk V3
Keyboard Bloody B840-LK
Software Windows 11 Pro 23H2
I suggest you rig up something low wattage to safely test that switch to see which terminals go where. For instance if you have a cheap LED mini flashlight with a tailcap switch you can just unscrew the tail assembly and with wires connected to all three terminals of the switch, try connecting them in different configurations until you find which two turn on the light.

Then all you need do is trace which two wires connect to the MB PWR +/- pins and your case's current switch. The 3rd terminal you could optionally ground to the case. You may or may not have such a flashlight, but they can be had many places for under $5 and they're very handy to have. For that matter, any flashlight will do, it doesn't have to be a mini LED.
 
Joined
May 2, 2013
Messages
696 (0.17/day)
Location
India
System Name To be ALL IN ONE MACHINE. but not yet
Processor i7 3770k
Motherboard Asus P8Z&&-V Deluxe
Cooling Thermalright Silver Arrow
Memory Gskill Ripjaws 1600Mhz 8GB *4 = 32GB
Storage Samsung pro 840 256GB, Segate 3TB and 1TB
Display(s) LG 23" Full HD LED
Case Antec LanBoy Air
Power Supply Cooler Master M2 Silent Pro 850 Watts
Software Windows 7 ulimate 64bit
. IF its a impulse switch it will work, but if not then you either need to be fast every time you turn your computer on, or add some components (a relay, resistor and a condensator should do the job)
:confused::confused::confused::confused::confused::confused:
Why do I require resistor?
below are my switch pics, I first tried with normal LED, it is working fine, when I turn the key led glows and when i turn the key to it original position the led goes off.
What is impulsive switch, i hope this is impulsive/proper switch .

So Can I directly use this switch for PC on and off, however for shutdown I am obviously going to use shutdown from menu.
 

Attachments

  • 20130708_000739.jpg
    20130708_000739.jpg
    128 KB · Views: 1,065
  • 20130708_000809.jpg
    20130708_000809.jpg
    36.5 KB · Views: 1,015
  • 20130708_000851.jpg
    20130708_000851.jpg
    68.7 KB · Views: 981
D

Deleted member 24505

Guest
:confused::confused::confused::confused::confused::confused:
Why do I require resistor?
below are my switch pics, I first tried with normal LED, it is working fine, when I turn the key led glows and when i turn the key to it original position the led goes off.

You don't, use the connections on the switch, that you used to test the led, and connect them to your power switch wires. Remember, you will have to turn the switch on then off to turn your pc on.

 
Joined
May 2, 2013
Messages
696 (0.17/day)
Location
India
System Name To be ALL IN ONE MACHINE. but not yet
Processor i7 3770k
Motherboard Asus P8Z&&-V Deluxe
Cooling Thermalright Silver Arrow
Memory Gskill Ripjaws 1600Mhz 8GB *4 = 32GB
Storage Samsung pro 840 256GB, Segate 3TB and 1TB
Display(s) LG 23" Full HD LED
Case Antec LanBoy Air
Power Supply Cooler Master M2 Silent Pro 850 Watts
Software Windows 7 ulimate 64bit
yeah tigger! thanks mate. I think this is going to be very easy now for me to do.
But I am just thinking about where exactly should I fit this switch on front or on the top.
I am just looking for the thing where I can fit this key switch, also thinking about glass made front panel with led glowing from side from behind.

below are my case pics. hope you love it


Yes, I will remember on then off stuff.
 

Attachments

  • 20130707_132324.jpg
    20130707_132324.jpg
    206.9 KB · Views: 1,257
  • 20130707_180753.jpg
    20130707_180753.jpg
    188.1 KB · Views: 1,335
Last edited:
Joined
Jul 19, 2006
Messages
43,585 (6.74/day)
Processor AMD Ryzen 7 7800X3D
Motherboard ASUS TUF x670e
Cooling EK AIO 360. Phantek T30 fans.
Memory 32GB G.Skill 6000Mhz
Video Card(s) Asus RTX 4090
Storage WD m.2
Display(s) LG C2 Evo OLED 42"
Case Lian Li PC 011 Dynamic Evo
Audio Device(s) Topping E70 DAC, SMSL SP200 Headphone Amp.
Power Supply FSP Hydro Ti PRO 1000W
Mouse Razer Basilisk V3 Pro
Keyboard Tester84
Software Windows 11
If you're doing this for security reasons, why not just use a password?
 
Joined
May 2, 2013
Messages
696 (0.17/day)
Location
India
System Name To be ALL IN ONE MACHINE. but not yet
Processor i7 3770k
Motherboard Asus P8Z&&-V Deluxe
Cooling Thermalright Silver Arrow
Memory Gskill Ripjaws 1600Mhz 8GB *4 = 32GB
Storage Samsung pro 840 256GB, Segate 3TB and 1TB
Display(s) LG 23" Full HD LED
Case Antec LanBoy Air
Power Supply Cooler Master M2 Silent Pro 850 Watts
Software Windows 7 ulimate 64bit
If you're doing this for security reasons, why not just use a password?
No I am doing it for fun, I want to try new things.
 

de.das.dude

Pro Indian Modder
Joined
Jun 13, 2010
Messages
8,757 (1.74/day)
Location
Stuck in a PC. halp.
System Name Monke | Work Thinkpad| Old Monke
Processor Ryzen 5600X | Ryzen 5500U | FX8320
Motherboard ASRock B550 Extreme4 | ? | Asrock 990FX Extreme 4
Cooling 240mm Rad | Not needed | hyper 212 EVO
Memory 2x16GB DDR4 3600 Corsair RGB | 16 GB DDR4 3600 | 16GB DDR3 1600
Video Card(s) Sapphire Pulse RX6700XT 12GB | Vega 8 | Sapphire Pulse RX580 8GB
Storage Samsung 980 nvme (Primary) | some samsung SSD
Display(s) Dell 2723DS | Some 14" 1080p 98%sRGB IPS | Dell 2240L
Case Ant Esports Tempered case | Thinkpad | Antec
Audio Device(s) Logitech Z333 | Jabra corpo stuff
Power Supply Corsair RM750e | not needed | Corsair GS 600
Mouse Logitech G400 | nipple
Keyboard Logitech G213 | stock kb is awesome | Logitech K230
VR HMD ;_;
Software Windows 10 Professional x3
Benchmark Scores There are no marks on my bench
you can see the switch in above picture. It has 3 points, positive , negative and ground.
However ONE THING I WANT TO KNOW IS THAT RATHER THAN BEING IN MIDDLE OF CONNECTION WIRE ,CAN I DIRECTLY USE KEY SWITCH TO START/SHUTDOWN THE MACHINE?

no. when the switch is on, it is on. i.e. power pin connected to output all times. since power/reset switches are momentary switches, its not possible without some complicated electronics.

however, if its like those in cars, with ignition via the key fob, it will work. but i think those have another pin .
 
D

Deleted member 24505

Guest
you can see the switch in above picture. It has 3 points, positive , negative and ground.
However ONE THING I WANT TO KNOW IS THAT RATHER THAN BEING IN MIDDLE OF CONNECTION WIRE ,CAN I DIRECTLY USE KEY SWITCH TO START/SHUTDOWN THE MACHINE?

I'm guessing that switch works like this-



There is no +/-/ground
 
Joined
Oct 21, 2005
Messages
6,875 (1.02/day)
Location
USA
System Name Computer of Theseus
Processor Intel i9-12900KS: 50x Pcore multi @ 1.18Vcore (target 1.275V -100mv offset)
Motherboard EVGA Z690 Classified
Cooling Noctua NH-D15S, 2xThermalRight TY-143, 4xNoctua NF-A12x25,3xNF-A12x15, 2xAquacomputer Splitty9Active
Memory G-Skill Trident Z5 (32GB) DDR5-6000 C36 F5-6000J3636F16GX2-TZ5RK
Video Card(s) EVGA Geforce 3060 XC Black Gaming 12GB
Storage 1x Samsung 970 Pro 512GB NVMe (OS), 2x Samsung 970 Evo Plus 2TB (data 1 and 2), ASUS BW-16D1HT
Display(s) Dell S3220DGF 32" 2560x1440 165Hz Primary, Dell P2017H 19.5" 1600x900 Secondary, Ergotron LX arms.
Case Lian Li O11 Air Mini
Audio Device(s) Audiotechnica ATR2100X-USB, El Gato Wave XLR Mic Preamp, ATH M50X Headphones, Behringer 302USB Mixer
Power Supply Super Flower Leadex Platinum SE 1000W 80+ Platinum White
Mouse Zowie EC3-C
Keyboard Vortex Multix 87 Winter TKL (Gateron G Pro Yellow)
Software Win 10 LTSC 21H2
Joined
Jan 21, 2013
Messages
3,842 (0.94/day)
System Name Zotan
Processor i9-10850K
Motherboard Gigabyte Z490 Gaming X AX
Cooling H100
Memory 32GB Viper 3200
Video Card(s) Zotac RTX3080
Case Airflow 275R
Power Supply RMX850
Benchmark Scores d1nky@hwbot.org
I'm guessing that switch works like this-

http://img.techpowerup.org/130707/switch.jpg

There is no +/-/ground

a car ignition turns then drops back to the original position.

if i were you, OP, id break the power button cable and use it as a 2point switch that breaks the connection. like an immobiliser.

otherwise youd have to turn to point X (start) then turn back to original point.

or if ya wanted to keep that car switch theme, link the key fob to a power/start button like newer cars have.
 
Joined
May 2, 2013
Messages
696 (0.17/day)
Location
India
System Name To be ALL IN ONE MACHINE. but not yet
Processor i7 3770k
Motherboard Asus P8Z&&-V Deluxe
Cooling Thermalright Silver Arrow
Memory Gskill Ripjaws 1600Mhz 8GB *4 = 32GB
Storage Samsung pro 840 256GB, Segate 3TB and 1TB
Display(s) LG 23" Full HD LED
Case Antec LanBoy Air
Power Supply Cooler Master M2 Silent Pro 850 Watts
Software Windows 7 ulimate 64bit
no. when the switch is on, it is on. i.e. power pin connected to output all times. since power/reset switches are momentary switches, its not possible without some complicated electronics.

however, if its like those in cars, with ignition via the key fob, it will work. but i think those have another pin .

Why not possible? :confused::confused::confused:As I said I will turn the switch ON and then quickly to OFF to start my PC.
 

de.das.dude

Pro Indian Modder
Joined
Jun 13, 2010
Messages
8,757 (1.74/day)
Location
Stuck in a PC. halp.
System Name Monke | Work Thinkpad| Old Monke
Processor Ryzen 5600X | Ryzen 5500U | FX8320
Motherboard ASRock B550 Extreme4 | ? | Asrock 990FX Extreme 4
Cooling 240mm Rad | Not needed | hyper 212 EVO
Memory 2x16GB DDR4 3600 Corsair RGB | 16 GB DDR4 3600 | 16GB DDR3 1600
Video Card(s) Sapphire Pulse RX6700XT 12GB | Vega 8 | Sapphire Pulse RX580 8GB
Storage Samsung 980 nvme (Primary) | some samsung SSD
Display(s) Dell 2723DS | Some 14" 1080p 98%sRGB IPS | Dell 2240L
Case Ant Esports Tempered case | Thinkpad | Antec
Audio Device(s) Logitech Z333 | Jabra corpo stuff
Power Supply Corsair RM750e | not needed | Corsair GS 600
Mouse Logitech G400 | nipple
Keyboard Logitech G213 | stock kb is awesome | Logitech K230
VR HMD ;_;
Software Windows 10 Professional x3
Benchmark Scores There are no marks on my bench
thats possible, but its not how it should work :p if you can take that key switch apart, its possible to mod it, so that contact is made only at half point during turning. that way, you an turn, but it will see it as only on/off
 
Top