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: N00b Button Wiring Question  (Read 1869 times)

0 Members and 1 Guest are viewing this topic.

schmitty

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:August 28, 2006, 05:52:38 pm
N00b Button Wiring Question
« on: August 12, 2006, 03:40:27 am »
I am mostly done with a keyboard hack on my first cabinet, but I want to use two different control panels and be able to switch them easily.  I have two questions:

1- On Doc's Modular Mame site (http://www.beersmith.com/mame/wiring.htm) , I like how he uses Rj45 for his connections.  How does he get away with only one wire per button and one ground connection?  Is it because he's using an IPAC-2?  If I used RJ45 I'd need to dedicate 2 wires to each button...  No idea how ground works in this application.

2- I suspect that Molex may be the better way to go - are there any good how-to's out there specific to cabinet building?

Thanks in advance!
-Schmitty

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: N00b Button Wiring Question
« Reply #1 on: August 12, 2006, 07:50:43 am »

I think he "gets away" with only one wire per button and only one ground because he just failed to mention that what he really did is run that one ground (pin one) to all of his buttons/switches.


My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

shardian

  • Saint is the evil mastermind
  • Trade Count: (+23)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9218
  • Last login:August 21, 2015, 03:11:31 pm
  • Friends don't let friends build frankenpanels...
Re: N00b Button Wiring Question
« Reply #2 on: August 12, 2006, 08:18:14 am »
If he was using a common ground, then yes he was using a keyboard encoder such as the IPAC. With a keyboard hack, you are connecting two points on a matrix, so yes each button would require two wires to go to the keyboard.
I'm not sure how many keys you are using, but a pin header and an IDE cable might be your best bet for a modular interface.

MYX

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1527
  • Last login:September 18, 2020, 05:00:22 pm
  • Even Jesus loves Donkey Kong!
    • MYX Digital Blog
Re: N00b Button Wiring Question
« Reply #3 on: August 12, 2006, 08:20:59 am »
It is the interface. With the key emulators and joy emulators, there is no matrixing as in the KB hack. So all buttons report to one ground. If you were to spend $20 for a GGG ecoWIZ you'd be better off than doing the KB Hack. I did it years ago and sure it works...sort of. But God help you if you try to play 2 player or a game like robotron. You will quickly learn why the keyboard hack is no good. In most cases you can get 3 may be 4 simultaneous key presses. If you are playing robotron (2 joys) and moving at a diagonal while shooting at a diagonal that is 4 buttons. Just a thought.

But then again, I always enjoyed the look on peoples faces when I told them that I hacked a keyboard to make my CP. You did what!?!
M    Y    X

BLACKOUT  - Finally rewritten - http://blog.myxdigital.com/
Original BLACKOUT thread - http://forum.arcadecontrols.com/index.php?topic=48239.0

schmitty

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:August 28, 2006, 05:52:38 pm
Re: N00b Button Wiring Question
« Reply #4 on: August 12, 2006, 03:31:10 pm »
Ah- I see.  Thanks guys.  As a point of reference for anyone who reads this down the line, so far, I am not having issues with multiple key presses.   I followed Marshall Brooks' guide http://www.mameworld.net/emuadvice/keyhack2.html
(It's rather long, but the gist of it is to put each potentially conflicting control on a separate row of your matrix.)  I have an 18x8 matrix keyboard, so I was able to eaasily assign to joysticks and 12 buttons (six per player) to their own row.


Two follow-up questions -
1- for future reference, what's a "GGG ecoWIZ" - no hits googling so i figure it must stand for something.
2- I like the IDE idea since I have a dozen of them laying around.  Where would you track down a socket for them to plug into, though?  Mouser?  And what is the right terminology for the piece?  A "IDE Pin Header"?

Thanks for bearing through the N00b questions - I post my results for the future benefit of other N00bs.
-Schmitty

monkeybomb

  • PM me to find out how to get a custom title like mine!
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1236
  • Last login:January 03, 2018, 07:16:29 pm
Re: N00b Button Wiring Question
« Reply #5 on: August 12, 2006, 04:22:16 pm »
1- for future reference, what's a "GGG ecoWIZ" - no hits googling so i figure it must stand for something.

http://wiki.arcadecontrols.com/wiki/Keyboard_Encoders#KeyWiz_Eco_2

MYX

  • Wiki Master
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 1527
  • Last login:September 18, 2020, 05:00:22 pm
  • Even Jesus loves Donkey Kong!
    • MYX Digital Blog
Re: N00b Button Wiring Question
« Reply #6 on: August 12, 2006, 08:53:50 pm »
1- for future reference, what's a "GGG ecoWIZ" - no hits googling so i figure it must stand for something.

http://wiki.arcadecontrols.com/wiki/Keyboard_Encoders#KeyWiz_Eco_2
Groovy Game Gear
Here is a LINK to Randy's GGG site. He makes the stuff. He is also on the board here. 
M    Y    X

BLACKOUT  - Finally rewritten - http://blog.myxdigital.com/
Original BLACKOUT thread - http://forum.arcadecontrols.com/index.php?topic=48239.0