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: Using a laptop for a MAME cab?  (Read 3582 times)

0 Members and 1 Guest are viewing this topic.

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7904
  • Last login:Yesterday at 11:30:56 am
Using a laptop for a MAME cab?
« on: July 13, 2022, 09:22:02 pm »
I have a couple of old laptops from work that I was hoping to repurpose for future cabinets.  One thing that I don't quite understand is how to turn the computer on an off via an external microswitch.  With a regular PC, I always wire directly to the pins on the motherboard but I highly doubt the laptops have pins I can use.  How do you guys set these up?   :cheers:

bobbyb13

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1899
  • Last login:April 14, 2024, 01:00:11 pm
  • I believe I may need an intervention
Re: Using a laptop for a MAME cab?
« Reply #1 on: July 14, 2022, 02:19:38 am »
I thought I might try this a while back but then I remembered not being able to CrtEmu the thing so I gave up.
Interested to see the solution though!
Relax, all right? My old man is a television repairman, he's got this ultimate set of tools! I can fix it.

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3247
  • Last login:Yesterday at 05:01:12 am
Re: Using a laptop for a MAME cab?
« Reply #2 on: July 14, 2022, 08:44:38 am »
Can't you just solder two wires to the power switch contacts, and run them to a microswitch?

More difficult thing with laptops is to get them to come on automatically when you apply power.
Check out my completed projects!


Phreakwars

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 591
  • Last login:Today at 12:39:34 am
  • Waka-Waka
    • forum.arcadecontrols.com/index.php/topic,146325.0.html
    • My Facebook Page
Re: Using a laptop for a MAME cab?
« Reply #3 on: July 14, 2022, 12:56:40 pm »
If the BIOS has an auto-power on after power failure function you could use that, though you would of course need to remove the battery. From there, you wire up the power cord onto a toggle switch.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10875
  • Last login:Today at 12:01:53 am
  • Obey.
    • The Chris Burke Band
Re: Using a laptop for a MAME cab?
« Reply #4 on: July 14, 2022, 01:59:57 pm »
Mount the laptop against the side of the cabinet, drill a hole through the cabinet, and use a toothpick to turn it off and on.


leapinlew

  • Some questionable things going on in this room with cheetos
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7906
  • Last login:April 17, 2024, 07:51:43 pm
Re: Using a laptop for a MAME cab?
« Reply #5 on: July 14, 2022, 11:58:02 pm »
This was always a problem for me using laptops. Honestly, PBJ’s suggestion isn’t far off from wheat I ended up doing.

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3247
  • Last login:Yesterday at 05:01:12 am
Re: Using a laptop for a MAME cab?
« Reply #6 on: July 15, 2022, 04:05:37 am »
Mate of mine did a Daytona racing setup using two laptops, without batteries, and got them to startup automatically by using capacitors across the power button terminals.

To turn off, just cut the power. If using Linux-based OS and mostly just playing games (reading data), this should be fine.

No doubt there was some hacking. Unfortunately there was no writeup so I forget if there was anything else notable involved - we were just chatting and sharing photos.

The cap simulates a button press & release. Cap takes a small while to charge = switch circuit is closed (presses). Once cap is charged = switch open (released).

Larger caps take longer to charge, therefore longer delay before release. Start with electrolytic, say 10uf or 100uf cap. Cap goes on DC logic part of the switch, not any parts connected to AC power. Make sure the positive lead goes to the active, negative lead to earth.

He stole the idea from me - I use the "cap trick" sometimes to get stubborn TVs to turn on automatically. But then, I stole it from someone else a long time ago, so all's fair.
Check out my completed projects!


RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 6883
  • Last login:Yesterday at 08:49:54 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: Using a laptop for a MAME cab?
« Reply #7 on: July 15, 2022, 01:51:22 pm »
Mount the laptop against the side of the cabinet, drill a hole through the cabinet, and use a toothpick to turn it off and on.

My thoughts as well.  Laptops usually suck for getting inside and modding without breaking something.

If you have a 3D printer, and some associated parts, this could be made pretty elegantly.  Just print a mount to be affixed around the power button which can accept some Bowden tubing, slide some filament into it, bring the tubing and filament to the outside of the cabinet to another mount with a button fashioned to be over the end of the filament.  Remote button pusher.

Ok, maybe it's a wash where complexity is concerned. :)


javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7904
  • Last login:Yesterday at 11:30:56 am
Re: Using a laptop for a MAME cab?
« Reply #8 on: July 16, 2022, 11:06:45 am »
LOL seems like this isn't something that easily done.  Can't believe there's no USB solution to wake it up or something like that.  I can find other uses for the laptops...

gildahl

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 182
  • Last login:April 10, 2024, 04:04:16 pm
Re: Using a laptop for a MAME cab?
« Reply #9 on: July 16, 2022, 12:45:22 pm »
When I first built my cabinet, I used a laptop--but ran into the same issue.  My compromise was to leave it on and use buttons to do sleep/wake as the alternative to power on/off.  Doing a full power on/off required access to the machine.  This grew to be a nuisance, of course, so next time I upgraded my main PC I built a dedicated arcade machine PC out of the spare parts on a test bed frame and wired a vandal switch to it for external power control and added a smart powerstrip to power everything else on/off.  These days I have a collection of 5 old laptops now in the house that are powerful enough to run an arcade machine, but I'd never use them for that.  In fact, I'm not sure what to use them for.  Maybe I'll give them away to someone at work who's building an arcade machine, hehe.
« Last Edit: July 16, 2022, 01:01:07 pm by gildahl »

leapinlew

  • Some questionable things going on in this room with cheetos
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7906
  • Last login:April 17, 2024, 07:51:43 pm
Re: Using a laptop for a MAME cab?
« Reply #10 on: July 16, 2022, 01:17:49 pm »
LOL seems like this isn't something that easily done.  Can't believe there's no USB solution to wake it up or something like that.  I can find other uses for the laptops...

You know how it is, it's about finding the easiest/cheapest solution. Pi's, all-in-ones, etc -  all make it so easy and since the cost is no longer a huge barrier, so you don't see as much labor intensive solutions nowadays.

I did the laptop option for a small jukebox and the bartop Galaga I made. I was able to rig up a power-on type solution for the Galaga because that particular laptop model had a momentary switch that was extended on the laptop already, so it was a simple matter of putting another button on it. Most other laptops don't have a AC power on option and the power switch will be integrated into the mobo, or a rocker style switch, or some other proprietary thing. My jukebox laptop was a solution like PBJ described.

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10875
  • Last login:Today at 12:01:53 am
  • Obey.
    • The Chris Burke Band
Re: Using a laptop for a MAME cab?
« Reply #11 on: July 16, 2022, 10:07:20 pm »
Find other uses for the laptops.  I would be surprised if the bios had a wake up with power option.  Would defy the entire point of being able to plug it in and charge it.


Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 19400
  • Last login:April 15, 2024, 10:59:21 pm
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: Using a laptop for a MAME cab?
« Reply #12 on: July 16, 2022, 10:24:19 pm »
So people are trying to find a solution to turning on a device that can literally be pulled out of the coin door of the cabinet.   Maybe......... just pull it out of the cabinet and turn it on?  Or... *gasp*..... reach your arm inside and hit the power button?

leapinlew

  • Some questionable things going on in this room with cheetos
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7906
  • Last login:April 17, 2024, 07:51:43 pm
Re: Using a laptop for a MAME cab?
« Reply #13 on: July 16, 2022, 11:02:17 pm »
So people are trying to find a solution to ...

Yes, as amazing as it might sound, people look for solutions to problems. What you see as a problem, someone else may not, and vice versa. So, there's that.


Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3247
  • Last login:Yesterday at 05:01:12 am
Re: Using a laptop for a MAME cab?
« Reply #14 on: July 16, 2022, 11:25:11 pm »
There are solutions beyond the toothpick - but only if you a stomach for hacking.

If the laptops are essentially zero cost, are all fairly similar, and you have rudimentary soldering skills - it is probably worth pulling one apart to investigate, even at the risk of trashing it.
Check out my completed projects!


bobbyb13

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1899
  • Last login:April 14, 2024, 01:00:11 pm
  • I believe I may need an intervention
Re: Using a laptop for a MAME cab?
« Reply #15 on: July 17, 2022, 02:28:47 am »
I have five here in the que for E-waste recycling.

And that is where they will go.

FAR too much effort to try to get a laptop to work for our purposes- even if free.

I really do enjoy problem solving and building ---steaming pile of meadow muffin--- from scratch, but this is too much valuable time squandered for a not really satisfactory result.

Stranded on a desert isle with only a laptop to use...?
Sure.
Live somewhere that a desktop can be had for short $$ (if not free?) and take a fraction of the time to make useable...?

Sorry, but no way do I waste time on the laptop.
Relax, all right? My old man is a television repairman, he's got this ultimate set of tools! I can fix it.

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3247
  • Last login:Yesterday at 05:01:12 am
Re: Using a laptop for a MAME cab?
« Reply #16 on: July 17, 2022, 03:57:43 am »
Sorry, but no way do I waste time on the laptop.

Completely understand. I don't think I would bother either, given other options. In your case Bobby, you could probably knock up a basic arcade shell, paint it and have T-molding on in about 24-48hrs, and then flip it for enough cash to buy multiple PC systems or Pis or Jrok or Bitkit etc.

For some people though it could be a solution, for reasons of space or cost or convenience or because they just want to I guess.

Like, that guy I mentioned above, that did the Daytona racing setup with 2 laptops, he lives in a really small apartment with wife + 2 kids. So it all has to be able to be put away in pokey cupboards. He'll probably never even fit a bartop into his place. OTOH, is an IT and electronics guy and no stranger to hacking, he likes it, so the laptop thing wasn't so big a challenge   :dunno
Check out my completed projects!


thebyter

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 26
  • Last login:Today at 01:34:58 am
Re: Using a laptop for a MAME cab?
« Reply #17 on: July 17, 2022, 01:07:22 pm »
FAR too much effort to try to get a laptop to work

Boy, maybe I did something wrong, but I've used a laptop before.  I just took the battery out and let the cabinet power bring it up and down?  I'll concede that's some hackery, but it doesn't really seem like the hand-wringing y'all are experiencing.   :dunno

gildahl

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 182
  • Last login:April 10, 2024, 04:04:16 pm
Re: Using a laptop for a MAME cab?
« Reply #18 on: July 17, 2022, 01:50:19 pm »
I have five here in the que for E-waste recycling.

And that is where they will go.

FAR too much effort to try to get a laptop to work for our purposes- even if free.

I really do enjoy problem solving and building ---steaming pile of meadow muffin--- from scratch, but this is too much valuable time squandered for a not really satisfactory result.

Stranded on a desert isle with only a laptop to use...?
Sure.
Live somewhere that a desktop can be had for short $$ (if not free?) and take a fraction of the time to make useable...?

Sorry, but no way do I waste time on the laptop.

+10

gildahl

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 182
  • Last login:April 10, 2024, 04:04:16 pm
Re: Using a laptop for a MAME cab?
« Reply #19 on: July 17, 2022, 01:59:00 pm »
So people are trying to find a solution to turning on a device that can literally be pulled out of the coin door of the cabinet.   Maybe......... just pull it out of the cabinet and turn it on?  Or... *gasp*..... reach your arm inside and hit the power button?

That's exactly what I used to do.  There was absolutely nothing particularly difficult about it, though kind of a nuisance for others.  These days I just press a button on the back of the machine, but do have to admit that I kind of miss the old, more interactive experience of opening up the machine, futzing with the laptop, then locking up again. 
« Last Edit: July 17, 2022, 02:07:26 pm by gildahl »

leapinlew

  • Some questionable things going on in this room with cheetos
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7906
  • Last login:April 17, 2024, 07:51:43 pm
Re: Using a laptop for a MAME cab?
« Reply #20 on: July 17, 2022, 05:55:08 pm »
I kid proofed my machines a while back. I use 1 switch to power on/off the systems. It works great and the kids will play the arcade games. They aren't fearful of breaking anything. I can't imagine trying to tell someone how to open a machine, pull out a laptop and hit the power button.... lol, I'm pretty sure they would just opt out and not even bother.

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3247
  • Last login:Yesterday at 05:01:12 am
Re: Using a laptop for a MAME cab?
« Reply #21 on: July 17, 2022, 06:58:41 pm »
I kid proofed my machines a while back. I use 1 switch to power on/off the systems. It works great and the kids will play the arcade games. They aren't fearful of breaking anything. I can't imagine trying to tell someone how to open a machine, pull out a laptop and hit the power button.... lol, I'm pretty sure they would just opt out and not even bother.

Same here. I love it when my kids, wife, bro turn on my machines themselves by pressing the magic button. How it should be.

But asking them to open a door and press a button seems too many steps for some people  :dunno

When I'm sleeping in etc., I don't want anybody asking me to get up and turn on the arcade for them  :banghead:  zzzzzzz
Check out my completed projects!


javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7904
  • Last login:Yesterday at 11:30:56 am
Re: Using a laptop for a MAME cab?
« Reply #22 on: July 18, 2022, 04:21:04 pm »
I kid proofed my machines a while back. I use 1 switch to power on/off the systems. It works great and the kids will play the arcade games. They aren't fearful of breaking anything. I can't imagine trying to tell someone how to open a machine, pull out a laptop and hit the power button.... lol, I'm pretty sure they would just opt out and not even bother.

This is really the reason.  Of course I could open a coin door and hit a button but my builds are not 100% for me.  My kids and their friends and the wife all need to be able to turn things on and off and if it is more complicated than a button press, it's not happening.

Phreakwars

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 591
  • Last login:Today at 12:39:34 am
  • Waka-Waka
    • forum.arcadecontrols.com/index.php/topic,146325.0.html
    • My Facebook Page
Re: Using a laptop for a MAME cab?
« Reply #23 on: July 19, 2022, 06:10:55 am »
BTW, you never mentioned what model of laptop you have. Some DO have removeable/changeable power buttons on them not attached to the motherboard. If this is the case, then figuring it out will be no sweat at all.

fwiler

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18
  • Last login:July 28, 2022, 03:57:11 pm
Re: Using a laptop for a MAME cab?
« Reply #24 on: July 28, 2022, 03:41:00 pm »
I've used several methods for this scenario.

A power strip with autoswitching. If you aren't using the laptops screen and using an external monitor, turning on the monitor turns of the laptop.  You can use any other device that requires power to do the same thing if you don't want to access the monitor's power button.

Remote power switch.  There are many inexpensive options here.  The included remotes are easy to take apart and you can use any button of your choice to activate it.  Or just leave the remote next to cab if you don't want an extra button on your cab.

Remote control outlet is also an option.  Mine are set to turn on in the morning and automatically turn off after bedtime.

The point is, I don't need to access the laptop from inside the cab.  Any changes I need to make I just remote in from a different computer.


peteclarkez

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:April 07, 2023, 04:04:40 pm
  • I want to build my own arcade controls!
Re: Using a laptop for a MAME cab?
« Reply #25 on: September 07, 2022, 05:57:28 am »
thanks this pushed me to try and get the info I had up on a wiki page.

https://peteclarkez.github.io/Arcade/MameBuild/#donor-laptop

I used a donor laptop to build a cab & to handle power, I soldered a couple of wires to the power button and then connected this up to an arcade button mounted on the back of the cab.
The laptop is setup to hibernate on the power button, but if it hangs/get's stuck I can also hold it down for 5 seconds to power off the laptop and then power back on to power cycle.

Typically the cab is in hibernate mode when not used, but doesn't need power so can be moved etc, and then is able to power back up when it's ready to be played (and opens back up to where it was).
Occasionally the inputs aren't getting picked up when i restart from hibernation, but in that case I just power cycle the machine and its back in business.

It's also easy enough for the family to use, which is half the battle (as already mentioned)
-------------------------------------
Got Virtua Racing Twin Cab, 3 Converted Noraut Pokers, Self Build Bartop, Self build control Panel

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3247
  • Last login:Yesterday at 05:01:12 am
Re: Using a laptop for a MAME cab?
« Reply #26 on: September 07, 2022, 09:18:17 pm »
Very cool. I was hoping it would be this easy.

Thanks for putting your sketchup plans (pics showing dimensions anyway) and photos up. It looks good!

It may a too late, but I wanted to suggest this LED power button for you. I'm about to fit one into my own cab, so snapped of some pics. Little bit smaller than standard button size though.

There are various styles and different LED colours available (I'm just decided to replace this one with a blue LED button). This one is 16mm (the hole you have to drill) and 12v. The button action is momentary (like a PC power button, doesn't lock in place when you press it).

 
« Last Edit: September 07, 2022, 09:22:54 pm by Zebidee »
Check out my completed projects!


slybunda

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 126
  • Last login:March 21, 2024, 04:16:18 am
  • I want to build my own arcade controls!
Re: Using a laptop for a MAME cab?
« Reply #27 on: September 13, 2022, 05:10:35 pm »
i got a laptop today with busted screen but works with hdmi tv so could be a good option if you have something lying around.

thomas_surles

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2115
  • Last login:June 19, 2023, 07:20:00 pm
Re: Using a laptop for a MAME cab?
« Reply #28 on: October 01, 2022, 10:50:18 pm »
Both my Tully cabs have an old laptop inside. I didn't do anything special. So it's a 3 step process to turn them on. Through the coin door I have to flip a power strip switch, then power my crt on, snd press the power button on the laptop. It works I just don't let the kids turn it on lol.

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3247
  • Last login:Yesterday at 05:01:12 am
Re: Using a laptop for a MAME cab?
« Reply #29 on: October 01, 2022, 11:56:12 pm »
Heh, that's ironic.

For me, simple one-button-press on/off solutions mean that kids (or wives) don't wake you up while you are sleeping in  :D

Check out my completed projects!


drfrancky

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 12
  • Last login:November 13, 2022, 03:14:10 pm
  • I want to build my own arcade controls!
Re: Using a laptop for a MAME cab?
« Reply #30 on: October 20, 2022, 05:31:34 pm »
1. Set in BIOS to power up when detects AC. Should be in "Power Settings" or something similar. Look for " "Wake on AC" or "Power on AC".
2. Remove battery.
3. Add a switch to cut the power from the outlet.

The only downside is that in order to properly shut down the Windows/Linux/OS you will have to use OS Shutdown function and then cut the power via switch.