Go Back   OC3D Forums > [OC3D] Hardware & Software > New Build Advice
Reply
 
Thread Tools Display Modes
 
  #1  
Old 21-02-15, 05:01 PM
Wolfie1990 Wolfie1990 is offline
Newbie
 
Join Date: Dec 2012
Location: Birmingham
Posts: 63
how to wire a 12v 16mm led power push button to a pc

Hey Guys First off i don't know if this is in the right section if it is not please feel free to move to the correct one anyway as the title suggest i need help working out how to wire this to a PC i want it to work like this:

Turn on = light on
Turn off = Light off

Any help would be greatly appreciated thanks in advance
Attached Thumbnails
Click image for larger version

Name:	559-01.jpg
Views:	282
Size:	48.4 KB
ID:	9506   Click image for larger version

Name:	WP_20150221_17_57_31_Pro.jpg
Views:	275
Size:	57.9 KB
ID:	9507  

Reply With Quote
  #2  
Old 21-02-15, 05:05 PM
tinytomlogan's Avatar
tinytomlogan tinytomlogan is offline
The Guvnor
 
Join Date: Dec 2007
Location: TTL Towers
Posts: 20,928
The switch should have come with a wiring diagram dude
__________________
If you recommend a product LINK THE REVIEW


Get along or run along. Your choice
Reply With Quote
  #3  
Old 21-02-15, 05:08 PM
Wolfie1990 Wolfie1990 is offline
Newbie
 
Join Date: Dec 2012
Location: Birmingham
Posts: 63
Hey guv unfortunately it didn't it was only a cheap one of eBay i have looked around Google but cant find anything

UPDATE* the wiring diagram was on the item listing so i now know how to wire the power but still not know if the light will go off while off and stay on while on
Reply With Quote
  #4  
Old 21-02-15, 05:16 PM
Wraith's Avatar
Wraith Wraith is offline
Bettyswollocks
 
Join Date: Jun 2013
Location: On the Moon.
Posts: 7,614
Pins 3 & 4 are what you need for the power switch and + and - are for the LED, that is if it's a proper vandal led switch.

EDIT: Hope this helps.
__________________
“A person who never made a mistake never tried anything new.” ~ Albert Einstein
Reply With Quote
  #5  
Old 21-02-15, 05:18 PM
JR23 JR23 is offline
OC3D Elite
 
Join Date: Jun 2013
Posts: 3,215
That looks like the wrong switch for the job to me, the 5-pin ones are generally momentary action (they stay depressed once switched). Like a light switch that stays in it's on position unlike an on/off switch which just briefly shorts two motherboard pins.

It should be obvious-ish from the markings how it works. The +/- will refer to the LED, which in this case looks like the outer two pins. In general the other 3 pins are C, NO and NC in the following order...

Extreme Left - Negative LED
Left - Switch Common (Ground)
Middle - Switch Normally Open
Right - Switch Normally Closed
Extreme Right - Positive LED

So wire the LED the only way you can and put the two power I/O wires from your motherboard on the centre and left pin (closest to neg LED). But don't leave the switch depressed. Pretty sure that will work but really you want a 4-pin switch.

JR

Edit: Some of the parts on Wraiths drawing are unnecessary and just make it confusing, there should be no need to connect two pins to each other as the motherboard will have a pair of power LED pins already.
Reply With Quote
  #6  
Old 21-02-15, 05:42 PM
Davva2004's Avatar
Davva2004 Davva2004 is offline
OC3D Elite
 
Join Date: Dec 2013
Location: Nottingham UK
Posts: 1,155
can you link us to the ebay listing mate? I want to take a look at the wiring diagram and check that it's a momentary switch, not a latching one
__________________
Reply With Quote
  #7  
Old 21-02-15, 06:09 PM
Wolfie1990 Wolfie1990 is offline
Newbie
 
Join Date: Dec 2012
Location: Birmingham
Posts: 63
yeah i just found out it is a latching one ill have to buy another thanks guys
Reply With Quote
  #8  
Old 21-02-15, 09:17 PM
Davva2004's Avatar
Davva2004 Davva2004 is offline
OC3D Elite
 
Join Date: Dec 2013
Location: Nottingham UK
Posts: 1,155
One here for a fiver posted, choose red or blue lighting...

http://www.ebay.co.uk/itm/16mm-LED-I...item35e5665b51

To make it stay lit, wire the led to the power led motherboard header (note the + and -) and the switch contacts to the power switch motherboard header.
__________________
Reply With Quote
  #9  
Old 21-02-15, 11:33 PM
Wolfie1990 Wolfie1990 is offline
Newbie
 
Join Date: Dec 2012
Location: Birmingham
Posts: 63
Thanks everyone for your help i really appreciate it i just ordered the one you linked Davva thanks again all your all awesome
Reply With Quote
  #10  
Old 28-02-15, 06:14 PM
Wolfie1990 Wolfie1990 is offline
Newbie
 
Join Date: Dec 2012
Location: Birmingham
Posts: 63
*Update* Hi guys thanks for all your help installed my first anti vandal switch today and it looks brill thanks to everyone for all the help i really appreciate it
Reply With Quote
Reply

Tags
16mm, button, led, power, push

Thread Tools
Display Modes

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










All times are GMT. The time now is 12:31 AM.
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.