Software Support > Automated Projects
Time Delay Power Button
<< < (2/2)
DaOld Man:
The relay can be just about any type. Voltage and current are low.
Im sure there are other ways to do this, but with my suggestion you need a DPDT relay with either a 12 VDC or 5 VDC coil. (Got to be DC not AC).
The contacts need to be rated for at least an amp, which should be pretty common and cheap.
here is a quick diagram showing what Im talking about.
With PC off, relay is off. The button is connected to the PC power on connector.
Press the button and the PC turns on, which turns on the relay.
The button is now disconnected from the PC and connected to your input to the PC.
Next button press (and hold), will trigger the program to shut down PC.
PC power downs, relay turns off, button is now connected back to the PC power on terminals.
Press button and PC turns on.
Is this what you have in mind?
DaOld Man:
If you are handy with soldering, here is a relay that would work:

http://www.radioshack.com/product/index.jsp?productId=2062483

Or this one would be easier to wire, still requires soldering. You can also get a socket for this one.

http://www.radioshack.com/product/index.jsp?productId=2049722
wxforecaster:
Outstanding w/ soldering and your diagram is excellent and makes 100% perfect sense.
Howard_Casto:
I have my cabs setup in a similar manner.  The 5v from the power supply of the computer trips the relay, so when the computer is on, the monitor and ect comes on.  When you hold the computer's stock power button to shutdown, the computer eventually powers down and off go the accessories. 

My only word of warning is that some versions of mame (heck maybe even the latest version of mame) ignore the "shutdown" messages sent to all running apps when the power button is pressed.  So don't try to power down while in-game. 
Navigation
Message Index
Previous page

Go to full version