Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: tylerwerrin on August 21, 2014, 01:48:53 am

Title: Wiring a latching vandal switch with my Dell Optiplex
Post by: tylerwerrin on August 21, 2014, 01:48:53 am
Hi guys,

I purchased one of these LED switches off ebay:

http://www.ebay.ca/itm/16mm-12V-LED-Power-Push-Button-Switch-Black-Aluminum-Metal-Latching-/360779687271?ssPageName=ADME:L:OU:US:3160 (http://www.ebay.ca/itm/16mm-12V-LED-Power-Push-Button-Switch-Black-Aluminum-Metal-Latching-/360779687271?ssPageName=ADME:L:OU:US:3160)

with the intention of using it as my one press power button to turn on everything in my cab. I have a smart strip with the computer in the "Master" position, and my other devices (sub, marquee light, monitor) connected to the slave power. I want this one switch to turn on the computer, which will then in theory turn everything else on on the power strip.

From the specs it looks like I need 12v to get the LED to light up when the switch is pressed - how would I wire this to the optiplex? The switch in the optiplex and any other computer for that matter are momentary switches, correct? Could someone help me get this thing wired up?

thanks!

Thanks!
Title: Re: Wiring a latching vandal switch with my Dell Optiplex
Post by: tylerwerrin on August 21, 2014, 12:06:43 pm
Anyone have a write up for a single button tap to the computers power supply?
Title: Re: Wiring a latching vandal switch with my Dell Optiplex
Post by: HaRuMaN on August 21, 2014, 12:29:20 pm
You don't want a latching switch, you want a momentary switch.  Then you just run the momentary switch to the switch pins on the motherboard.
Title: Re: Wiring a latching vandal switch with my Dell Optiplex
Post by: EMDB on August 21, 2014, 12:52:46 pm
You don't want a latching switch, you want a momentary switch.  Then you just run the momentary switch to the switch pins on the motherboard.
A Dell Optiplex has a BIOS setting to boot on power on. You can use a single mains switch to control a regular powerstrip which powers on everything including the pc....
Title: Re: Wiring a latching vandal switch with my Dell Optiplex
Post by: JDFan on August 21, 2014, 01:01:07 pm
As mentioned you don't want latching and you don't want to connect it to the Powersupply -- you want to use a momentary switch and wire it up to the Power on\off button of the optiplex. (reason you want it this way is so when you press the button it turns on the computer then when you press it again it will run the windows shut down procedure (if you set it to shut down on power button press in the windows settings)

A Dell Optiplex has a BIOS setting to boot on power on. You can use a single mains switch to control a regular powerstrip which powers on everything including the pc....

Problem with that is there is no corresponding setting for SHUT DOWN so when you power off it could cause corruption of the files.
Title: Re: Wiring a latching vandal switch with my Dell Optiplex
Post by: wp34 on August 21, 2014, 01:12:14 pm
You don't want a latching switch, you want a momentary switch.  Then you just run the momentary switch to the switch pins on the motherboard.

+1 on this.  I ordered latching on accident for my first build.
Title: Re: Wiring a latching vandal switch with my Dell Optiplex
Post by: EMDB on August 21, 2014, 03:57:15 pm
As mentioned you don't want latching and you don't want to connect it to the Powersupply -- you want to use a momentary switch and wire it up to the Power on\off button of the optiplex. (reason you want it this way is so when you press the button it turns on the computer then when you press it again it will run the windows shut down procedure (if you set it to shut down on power button press in the windows settings)

A Dell Optiplex has a BIOS setting to boot on power on. You can use a single mains switch to control a regular powerstrip which powers on everything including the pc....

Problem with that is there is no corresponding setting for SHUT DOWN so when you power off it could cause corruption of the files.
Just let the FrontEnd shut down Windows...
Title: Re: Wiring a latching vandal switch with my Dell Optiplex
Post by: JDFan on August 21, 2014, 04:31:39 pm
Just let the FrontEnd shut down Windows...

Does that work though ? -- The BIOS setting restores power on power loss but if windows is shut down properly it turns the system off without noting there was a power loss so would then just sit there with power and not be set to boot back up or if set to restart after shut down would again start to boot right after the FE shut it down thus turning the power off would need to be done during the boot process which could cause system corruption (esp. if sya windows was starting to do an update if network connected)
Title: Re: Wiring a latching vandal switch with my Dell Optiplex
Post by: jimmer on August 21, 2014, 04:44:12 pm
Quote from: EMDB
A Dell Optiplex has a BIOS setting to boot on power on. You can use a single mains switch to control a regular powerstrip which powers on everything including the pc....

Quote from: EMDB
Just let the FrontEnd shut down Windows...

Today I thought about start-up/shut down and came to the same arrangement.

Under my flip-up control panel I will have a mains power switch, and switches for the marquee lighting. Also the amplifier front panel will be accessible (power, volume). This will let me power off the PC and amp, but leave the marquee lit up for mood lighting :)

Also under there will be the only button to exit the frontend.



Title: Re: Wiring a latching vandal switch with my Dell Optiplex
Post by: jimmer on August 21, 2014, 04:47:35 pm
Just let the FrontEnd shut down Windows...

Does that work though ? -- The BIOS setting restores power on power loss but if windows is shut down properly it turns the system off without noting there was a power loss so would then just sit there with power and not be set to boot back up or if set to restart after shut down would again start to boot right after the FE shut it down thus turning the power off would need to be done during the boot process which could cause system corruption (esp. if sya windows was starting to do an update if network connected)

my optiplexes boot on power regardless of clean or dirty shutdown.
Title: Re: Wiring a latching vandal switch with my Dell Optiplex
Post by: JDFan on August 21, 2014, 04:51:45 pm
my optiplexes boot on power regardless of clean or dirty shutdown.

In that case I guess that method would work, but you just need to turn off the power before windows starts to reboot after having the front end shut down or the dirty shutdowns may cause HDD problems eventually.
Title: Re: Wiring a latching vandal switch with my Dell Optiplex
Post by: jimmer on August 21, 2014, 05:01:31 pm
my optiplexes boot on power regardless of clean or dirty shutdown.

In that case I guess that method would work, but you just need to turn off the power before windows starts to reboot after having the front end shut down or the dirty shutdowns may cause HDD problems eventually.

It doesn't re-start after clean shutdown (not sure about other shutdowns) so no need to carefully time switching off the power.
Title: Re: Wiring a latching vandal switch with my Dell Optiplex
Post by: JDFan on August 21, 2014, 05:06:05 pm
It doesn't re-start after clean shutdown (not sure about other shutdowns) so no need to carefully time switching off the power.

 :dunno Then how does it restart after a clean shut down ?? (ie. THen how do you get it to boot on power on if it was shut down cleanly since it is already getting power but is off ? ) 
Title: Re: Wiring a latching vandal switch with my Dell Optiplex
Post by: jimmer on August 21, 2014, 05:10:00 pm
It doesn't re-start after clean shutdown (not sure about other shutdowns) so no need to carefully time switching off the power.

 :dunno Then how does it restart after a clean shut down ?? (ie. THen how do you get it to boot on power on if it was shut down cleanly since it is already getting power but is off ? )

You turn the power off and on again.  Not sure if there is a delay needed as I always have a sleep in between. (edit: just checked 15s delay was enough).


Title: Re: Wiring a latching vandal switch with my Dell Optiplex
Post by: tylerwerrin on August 21, 2014, 06:24:58 pm
Dammit -- i wonder if i could modify the latch mechanism so that it could function as a momentary, although I don't think the switch is serviceable at all. Maybe there are some momentary ones which are similar.

do i just snip the wires which lead to the switch on my optiplex and solder those to the switch end and leave the cables connected to the motherboard as is?

Title: Re: Wiring a latching vandal switch with my Dell Optiplex
Post by: EMDB on August 22, 2014, 07:20:13 am
Just let the FrontEnd shut down Windows...

Does that work though ? -- The BIOS setting restores power on power loss but if windows is shut down properly it turns the system off without noting there was a power loss so would then just sit there with power and not be set to boot back up or if set to restart after shut down would again start to boot right after the FE shut it down thus turning the power off would need to be done during the boot process which could cause system corruption (esp. if sya windows was starting to do an update if network connected)
Yes it works perfect in my cab that way. The only thing that BIOS setting does is boot when power is detected from non-power state.