Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Can a switch replace my computer's power button?  (Read 5579 times)

0 Members and 1 Guest are viewing this topic.

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7962
  • Last login:August 06, 2025, 01:40:56 pm
Can a switch replace my computer's power button?
« on: November 30, 2007, 02:11:38 pm »
On my old cabinet I extended the wires from the motherboard to one of these mini momentary pushbuttons (the top onein this picture):



and it works perfectly.  I push it once, everything comes on.  I push it again, everything shuts off.

Now I'm wondering if I did the same thing but used one of these:



would it still work?  The pushbutton makes contact and opens the circuit immediately but I think the switch would keep the circuit closed until flipping it again.  I like the look of the "on/off" switch instead of just a plain old button...  Any thoughts? 

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Can a switch replace my computer's power button?
« Reply #1 on: November 30, 2007, 02:41:36 pm »
Usually not as a direct drop in replacement. This would appear to the PC as you holding in the power switch in an "ON" state. Some PC's see this as an error and post as such. Most PC's might misinterpret this as shutdown/sleep/whatever command. Others won't do anything at all (My Aptiva had a sticky power switch and it passed POST just fine). You might need to construct a small simple circuit to give the rocker switch the appearance of a momentary switch.

You have some other options before you though.

I've seen switches like the one pictured there that looks like a rocker switch but is actually a momentary switch internally. They don't stay in an on state though. Rock the "switch" and release it and it moves back into its normal state.

The other, more common method around here, is to configure the BIOS to always power on from a power outage then either extend the master switch from the PSU or modify a power strip for the purpose. The danger here is that you're dealing with 120v AC power levels instead of 5v DC power levels. Mistakes are less forgiving here.
« Last Edit: November 30, 2007, 02:43:25 pm by SavannahLion »

ratzz

  • Guest
  • Trade Count: (0)
Re: Can a switch replace my computer's power button?
« Reply #2 on: November 30, 2007, 03:01:43 pm »
This is something I've been thinking of as well, but with a lit power switch.

I imagine the principal would be the same -- but I am completely dumb to this side of my project.

Ratzz

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7962
  • Last login:August 06, 2025, 01:40:56 pm
Re: Can a switch replace my computer's power button?
« Reply #3 on: November 30, 2007, 03:42:29 pm »
Usually not as a direct drop in replacement. This would appear to the PC as you holding in the power switch in an "ON" state. Some PC's see this as an error and post as such. Most PC's might misinterpret this as shutdown/sleep/whatever command. Others won't do anything at all (My Aptiva had a sticky power switch and it passed POST just fine). You might need to construct a small simple circuit to give the rocker switch the appearance of a momentary switch.

You have some other options before you though.

I've seen switches like the one pictured there that looks like a rocker switch but is actually a momentary switch internally. They don't stay in an on state though. Rock the "switch" and release it and it moves back into its normal state.

The other, more common method around here, is to configure the BIOS to always power on from a power outage then either extend the master switch from the PSU or modify a power strip for the purpose. The danger here is that you're dealing with 120v AC power levels instead of 5v DC power levels. Mistakes are less forgiving here.

That's what I thought.  I'm 99% sure it would be read by my computer as holding down the power button which wouldn't be good.  Any ideas as to where to get one of those "rocker" switches that acts like a momentary pushbutton but looks like the black switch I posted?  I'm sure I've seen them around too.

Thanks!!   :cheers:

mountain

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1205
  • Last login:January 29, 2025, 08:31:47 am
    • Mountain Jukeboxes
Re: Can a switch replace my computer's power button?
« Reply #4 on: November 30, 2007, 04:29:06 pm »
Here is switch that is similar to what you showed above. It is a momentary.

badkitty

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:September 17, 2008, 07:17:31 pm
Re: Can a switch replace my computer's power button?
« Reply #5 on: November 30, 2007, 07:44:56 pm »
thats what i did..wired my POWER and RESEST leads from motherboard to arcade buttons.  works fine for me.  i would imagine any MOMENTARY , not OFF/ON  would would.  as this is what is in most cases.  push and turns on...hold (keeps contact) powers off/hibernate ect.)
"They key to immortality, is first living a life worth remembering." - St Augustine

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3431
  • Last login:Today at 06:31:03 am
Re: Can a switch replace my computer's power button?
« Reply #6 on: December 01, 2007, 06:41:50 am »
Javery

Currently you turn power on/off using a momentry switch connected to the motherboard (MB).  You can do exactly the same for an always-on switch by connecting onto the ATX->MB power supply connector instead.

if you have an ATX+ style power supply, then one of the pins where the ATX connector goes to the MB is a "Power Supply On" (PSON) trigger.  This works the way you want it to - it will keep the PC on as long as the switch is closed.  If the switch is opened, the PC goes off.  Only 5v runs thru the signal line, so it is quite safe.

For ATX 20-pin connector to MB, PSON at pin 14, ground to pin 15
http://pinouts.ru/Power/atxpower_pinout.shtml

For ATX 24-pin connector to MB, PSON at pin 16, ground to pin 17
http://pinouts.ru/Power/atx_v2_pinout.shtml

The easiest way to test this is by exposing/twisting your wire ends, and inserting it into the back of the ATX->MB connectors so as to make good & secure contact.  Once you test it and are sure that you have the right pins, you can solder the wires to make sure.
Check out my completed projects!


SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re: Can a switch replace my computer's power button?
« Reply #7 on: December 01, 2007, 08:06:27 am »
« Last Edit: September 26, 2009, 10:55:55 pm by SirPeale »

FrizzleFried

  • no one listens to me anyway.
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5146
  • Last login:July 24, 2025, 09:28:02 am
    • Idaho Garagecade
Re: Can a switch replace my computer's power button?
« Reply #8 on: December 01, 2007, 10:44:18 am »
Simply install a power strip in the cab,  then extend the power switch from the strip and mount it (or another switch) to your cab.  Set your BIOS to boot after power outage and you are good as gold.  That is how i have 2 of my MAME cabinets set up.

Visit my arcade blog at: www.idahogaragecade.com (Updated 10-28-21)

btp2k2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 515
  • Last login:March 16, 2011, 01:02:36 pm
Re: Can a switch replace my computer's power button?
« Reply #9 on: December 01, 2007, 11:29:25 am »
I mount the power strip right inside the coin door on my cabinets.

Just open the door, reach inside, flip the switch and the monitor/marquee light/speakers power up, while I'm in there push the PC power switch and get ready for some Joust!

It may not the greatest solution, but it is simple and even the most un-tech savvy (IE me) person can figure out how to set it up....

Kevin Mullins

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4504
  • Last login:February 01, 2021, 01:29:34 pm
    • Me on Myspace
Re: Can a switch replace my computer's power button?
« Reply #10 on: December 01, 2007, 12:42:58 pm »
Those all look like Radio Shack buttons.... I swear I've seen a momentary switch there in that rocker panel style that you want. Might take a look there if you haven't already.
Not a technician . . . . just a DIY'er.

Malenko

  • KNEEL BEFORE ZODlenko!
  • Trade Count: (+58)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 14021
  • Last login:August 01, 2025, 09:20:08 pm
  • Have you played with my GingerBalls?
    • forum.arcadecontrols.com/index.php/topic,142404.msg1475162.html
Re: Can a switch replace my computer's power button?
« Reply #11 on: December 01, 2007, 01:06:24 pm »
I mount the power strip right inside the coin door on my cabinets.

Just open the door, reach inside, flip the switch and the monitor/marquee light/speakers power up, while I'm in there push the PC power switch and get ready for some Joust!

It may not the greatest solution, but it is simple and even the most un-tech savvy (IE me) person can figure out how to set it up....
thats how mine is set up as well. I looked into special strips that start up up everything but in the end I have one outlet always on (PC plugged into it) and the rest are hooked up to a power splitter, I flip that button and the marquee, speakers, monitor, and coin doors light up .   simple yet effective!
If you're replying to a troll you are part of the problem.
I also need to follow this advice. Ignore or report, don't reply.

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3431
  • Last login:Today at 06:31:03 am
Re: Can a switch replace my computer's power button?
« Reply #12 on: December 01, 2007, 05:44:30 pm »
You really can't do it simpler and safer than with the ATX PSON switch, as described above.  It only runds 5v to the switch, and no need to buy anything special or make bits with capacitors etc.
Check out my completed projects!


SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re: Can a switch replace my computer's power button?
« Reply #13 on: December 01, 2007, 09:03:46 pm »
You really can't do it simpler and safer than with the ATX PSON switch, as described above.  It only runds 5v to the switch, and no need to buy anything special or make bits with capacitors etc.

That's good, IF it works with your motherboard.  It doesn't work with them all.

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3431
  • Last login:Today at 06:31:03 am
Re: Can a switch replace my computer's power button?
« Reply #14 on: December 01, 2007, 10:12:51 pm »
It doesn't work with them all.

Yeah, if you have a non-ATX it's good to have some sneaky options like Peale's cap-trick up your sleeve ;)
Check out my completed projects!


SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Can a switch replace my computer's power button?
« Reply #15 on: December 01, 2007, 10:34:22 pm »
It doesn't work with them all.
Yeah, if you have a non-ATX it's good to have some sneaky options like Peale's cap-trick up your sleeve ;)

That cap trick is specifically for ATX boards, not non-ATX boards. For instance, older AT power supplies use a much more dangerous 120v switch, not a soft-switch.

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3431
  • Last login:Today at 06:31:03 am
Re: Can a switch replace my computer's power button?
« Reply #16 on: December 02, 2007, 12:47:08 am »
That cap trick is specifically for ATX boards, not non-ATX boards. For instance, older AT power supplies use a much more dangerous 120v switch, not a soft-switch.

 :dunno

In that case, I really struggle to understand WHY you would need to use the cap-trick, as every standard ATX power supply connector provides a PSON (5v) at either pin 14 or pin 16 (for 24 pin ATX types).  Every ATX PC has this feature, as far as I am aware.

This will work like an on/off switch, not like a momentary on/off button that only SOME ATX MBs support. 

Peale's cap-trick is clever, but it only works on the MB switch on an ATX PC.  However, one could save the trouble and simply tap into the ATX power connector.
Check out my completed projects!


SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re: Can a switch replace my computer's power button?
« Reply #17 on: December 02, 2007, 07:27:18 am »
Zebidee: because of what I already stated - this does not work with all motherboards!

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3431
  • Last login:Today at 06:31:03 am
Re: Can a switch replace my computer's power button?
« Reply #18 on: December 02, 2007, 09:12:45 am »
Well, if I ever find an ATX motherboard that isn't to ATX standard then I'll know what to do!

Peale, I'm not sure if you're talking about the same MB connection that I am.  Pls correct me if I am wrong, I'm not looking for an argument.

What you are doing is controlled by the MB connections to the normal power switch at the front of the PC - the PSON switch you show in your pics on your website is connected to the rest of those "front panel" connections.  The PSON I am talking about is different to that - it is where the ATX Power supply itself connects to the MB, and it is in a different place on the MB.  In is more related to the PS itself than the MB.  In function, it is more analogous to the hard on/off switch at the back of the power supply.
Check out my completed projects!


bfauska

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1372
  • Last login:April 15, 2025, 10:49:31 pm
  • "You're not wrong Walter, you're just an @##hole!"
Re: Can a switch replace my computer's power button?
« Reply #19 on: December 02, 2007, 10:32:39 am »
Peale's solution should allow a software driven shut-down, while I don't think that Zebide's would.  If the both work on most ATX motherboards I would say Peale's is the one I'd try first.

SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re: Can a switch replace my computer's power button?
« Reply #20 on: December 02, 2007, 11:47:50 am »
Zeb: while this will definitely make *any* ATX power supply power up, some motherboards don't like the fact that these have been shorted, and will cause the board to not boot.

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: Can a switch replace my computer's power button?
« Reply #21 on: December 02, 2007, 12:17:54 pm »
Zebidee, from what I understand of the PSON line, it is intended to bring a power supply out of a sleep state. Not bring the motherboard out of a sleep state.

When you send an ATX PC to sleep, it either puts a high impedence on PSON or lets PSON float. This forces the PSU into a sleep state, ie it should bring the power lines, except for Standby, down to 0v. The power button on your motherboard is really a soft switch. From almost any state, the motherboard will ground PSON thereby bringing the PSU up to a full power and allowing the entire PC operate.

When you operate the PSU without a MB, you must ground PSON pin to get the PSU to operate properly. (On some, you even need to have a load on the power rail as well!). This is what you're describing.

Here's the rub, there is nothing that specifies that a MB MUST come out of a sleep state if something other than the MB grounds the PSON line. It's possible for some MB's to remain in a sleep state but the PSU will be powered.

There's also another problem. Some PC's (most notably those from Compaq) have all the appearances of an ATX standard PSU and Motherboard, however, the pinout and circuitry of said boards are not ATX compliant nor compatible. On some models, swapping an ATX PSU into these crap boards will do nothing (at best) or pop a few components (at worst). As far as I know, there is no documentation readily available to determine the pinouts of these faux-ATX PSU's.

Quote
This will work like an on/off switch, not like a momentary on/off button that only SOME ATX MBs support. 

No. not some, ALL. In my entire PC building career, I've yet to encounter an ATX complaint board lacking the the MOM power switch.

From reading your previous postings, it seems that there's some confusion on the different board standards there. In one of my posts, I specifically use AT boards as an example. That is not a typo! I'm not writing AT* to include ATX, I'm specifically writing AT exclusive of ATX. There are many many motherboard standards out there. A small handful include XT, AT, Baby AT, ATX, BTX, and LPX. Wikipedia compares some of the more well known form factors. It is a good launching point to learning the more common form factors you're likely to encounter.
« Last Edit: December 02, 2007, 12:19:57 pm by SavannahLion »

Jack Burton

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1384
  • Last login:April 07, 2025, 02:12:05 pm
  • .
Re: Can a switch replace my computer's power button?
« Reply #22 on: December 02, 2007, 08:15:11 pm »
You could just mount this switch and when you power on your cab simply rock it back and forth once for turning it on, and again for turning it off.  That is, if you only care about the cosmetic function of the switch.

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3431
  • Last login:Today at 06:31:03 am
Re: Can a switch replace my computer's power button?
« Reply #23 on: December 02, 2007, 09:04:17 pm »
Thanks SL!  That was a fantastic explanation! I appreciate you taking the time to educate me about the sleep-state power-on issue.  I haven't encountered an ATX MB like that yet. 

Looks like Javery has a bunch of good options to choose from.
Check out my completed projects!