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: IPac: Wire tripple action key?  (Read 1555 times)

0 Members and 1 Guest are viewing this topic.

Akuma

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 160
  • Last login:October 06, 2011, 07:51:30 am
  • lp, lp → lk, sp
IPac: Wire tripple action key?
« on: November 08, 2007, 04:03:59 am »
Hello everyone. I just got a short question - maybe I just can't think at the moment, but I somehow don't seem to get it.

I would like to ask if it is possible to wire pushbuttons in a way, that you have some sort of wired hotkey e.g. You have buttons 1 to 3 and an extra button which acts as pressing button 1, 2 and 3 alltogether.

You might say - "just wire it and make it a hotkey in mame". Sure, that's what I have done but actually I am looking to save one or two button connections on my ipac for another button.

What I tried so far didn't work and as I said, I just can't think at the moment. When I tested it, pressing each of the buttons, 1, 2, 3 OR 4 was all the same: button 1,2 and 3 being pressed.

Anyone got a diagram how to wire?

NoOne=NBA=

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2718
  • Last login:July 23, 2011, 08:59:16 am
  • Just Say No To Taito! -Nichibutsu
Re: IPac: Wire tripple action key?
« Reply #1 on: November 08, 2007, 09:36:50 am »
You need to put diodes between the buttons and input terminals, to keep the wires from being physically connected to each other.
The diodes will keep the other buttons from grounding out when you press only button 1, etc....

Akuma

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 160
  • Last login:October 06, 2011, 07:51:30 am
  • lp, lp → lk, sp
Re: IPac: Wire tripple action key?
« Reply #2 on: November 08, 2007, 11:25:07 am »
Okayyyy : )

Since I have a very very limited knowledge concerning wiring I have to ask where to put the diode: At the ground side or the positive side? Will any diode do?

Spaz Monkey

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 381
  • Last login:February 15, 2011, 11:33:55 pm
  • Hit me with a chicken quesadilla and a Coke.
Re: IPac: Wire tripple action key?
« Reply #3 on: November 08, 2007, 10:25:19 pm »
Just thinking off the top of my head here....  From the jamma harness you will want to split the wire for P1B1 (Player 1, Button 1).  One half goes to p1p1 NC (normal close), the other goes to hot button switch NC.  Repeat for p1b2 & p1b3.  Hot button then should have 3wires connected to the NC.  All should share a common ground.

Why not use the Shift function on the ipac?

SavannahLion

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5986
  • Last login:December 19, 2015, 02:28:15 am
Re: IPac: Wire tripple action key?
« Reply #4 on: November 08, 2007, 11:25:17 pm »
Okayyyy : )

Since I have a very very limited knowledge concerning wiring I have to ask where to put the diode: At the ground side or the positive side? Will any diode do?

If I understand what you're trying to do....

You want it on the hot, or positive, side of the switch combining both. You need one diode for each line coming onto the switch. In the schematic below, I wired it up for three buttons. SW1 and SW2 are standard function buttons, SW3 is wired to trigger both SW1 & 2 at the same time. The diode (D1 & D2) prevents the buttons from triggering each other.

You can expand the schematic to include as many buttons as you want triggered at the same time.

As for diode, for general purpose, I try to use any 1N400* diode such as 1N4001, 1N4002, etc. These are simply signal lines so almost any diode will do. Try to avoid oddball stuff though, like Zener's or the like. The band goes with the "flow" of the electricity. Rather than explain, I suggest you read about it from someone much more qualified than I.

edit: I don't have anything better online for diode tutorials. Can anyone one up me with one?

Also forgot the pic
« Last Edit: November 08, 2007, 11:30:59 pm by SavannahLion »

NoOne=NBA=

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2718
  • Last login:July 23, 2011, 08:59:16 am
  • Just Say No To Taito! -Nichibutsu
Re: IPac: Wire tripple action key?
« Reply #5 on: November 09, 2007, 12:25:37 am »
Sorry I didn't have time to post diagrams, etc... earlier.
I still don't have time, but Savannah's drawings are what you need.
The only difference is that you will have a 3rd line with a diode off the 4th button.

Akuma

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 160
  • Last login:October 06, 2011, 07:51:30 am
  • lp, lp → lk, sp
Re: IPac: Wire tripple action key?
« Reply #6 on: November 09, 2007, 10:36:07 pm »
Hey, I really get the hang of it! thank you for your answers!