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: You can wire up two buttons to one IPAC input right?  (Read 10094 times)

0 Members and 1 Guest are viewing this topic.

Jakobud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1940
  • Last login:March 11, 2024, 04:45:38 am
You can wire up two buttons to one IPAC input right?
« on: November 20, 2002, 09:23:33 pm »
You can have two buttons hooked up to the same input on an IPAC2/4 right?  That won't cause any electrical problems?  Can you press both buttons at the same time without creating any sort of wierd circuit that would mess up anything?  Can they be connected to the same ground?  Any problems at all that would arrise from this sort of thing?

Jakobud

liche

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 136
  • Last login:November 13, 2007, 08:05:18 am
  • This is my BOOMSTICK!
Re:You can wire up two buttons to one IPAC input right?
« Reply #1 on: November 20, 2002, 09:30:19 pm »
You could have a hundred buttons hooked up to one input is you wanted to.  Doesn't matter as long as they are wired in parallel.

An example of this is the following:

I have the coin mechanism switches (2) wired in parallel with another pushbutton which is then wired into one input of my encoder.  So, you basically have coin slot 1, coin slot 2, and a pushbutton wired into one encoder input.  So one can register a credit in one of three ways this way without having to use separate encoder inputs.

Pushbuttons can also be wired in series.

An example of this is the following:

To prevent accident exiting of a game while in play, i use two pushbuttons wired in series to one encoder input.  So for the encoder to register the input, BOTH pushbuttons must be pressed simultaneously.

Of course, ADVMame already has a built in safety for accidental ESC pushing.

mattv

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 192
  • Last login:June 10, 2022, 06:33:25 am
Re:You can wire up two buttons to one IPAC input right?
« Reply #2 on: November 21, 2002, 03:09:53 am »
______________
To prevent accident exiting of a game while in play, i use two pushbuttons wired in series to one encoder input.  So for the encoder to register the input, BOTH pushbuttons must be pressed simultaneously.
_______________

That's really a very good idea. Thank you

cdbrown

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1241
  • Last login:October 16, 2017, 09:52:03 pm
  • Bowowow
Re:You can wire up two buttons to one IPAC input right?
« Reply #3 on: November 21, 2002, 04:04:29 am »
Way off original topic but...

Or you could use the shift function of the ipac.  But I suppose if you have more buttons then inputs your way of doing it is very clever.  For me I will have spare inputs so I will probably go the shift way.

Back on topic  ;D

People also wire two joysitcks to the same input if they know they won't be using both at the same time - saves precious inputs if you've got the Ipac2.

Cheers
-cdbrown

Brax

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1426
  • Last login:January 06, 2009, 09:03:48 am
  • Bring on the power tools!
Re:You can wire up two buttons to one IPAC input right?
« Reply #4 on: November 21, 2002, 10:09:58 am »
Wiring multiple joysticks into one input allows you to use all the controls you need for a rotating control panel too!! Wheeeeeeeee!
If you build a frankenpanel, chances are I don't care for you as a person.

Analog-X

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 91
  • Last login:June 02, 2018, 11:02:35 pm
  • Hail to the king, baby.
Re:You can wire up two buttons to one IPAC input right?
« Reply #5 on: November 21, 2002, 11:12:57 am »
Any Pictures or diagrams on Hooking up buttons in Parallel from Two Buttons into a single input on IPAC?
 
I'm just trying to collect as much info as I can before I get my Cab Project off the ground.
Ash: Don't touch that please, your primitive intellect wouldn't understand things with alloys and compositions and things with ... molecular structures.

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:You can wire up two buttons to one IPAC input right?
« Reply #6 on: November 21, 2002, 11:30:32 am »
Any Pictures or diagrams on Hooking up buttons in Parallel from Two Buttons into a single input on IPAC?
 
I'm just trying to collect as much info as I can before I get my Cab Project off the ground.

Don't have Diagrams - but -  - -

Two buttons in Parallel (Either button causes same input) (Uses GND Ring Wiring)

End one              Wire No           End Two
IPAC P1B1                1                Button 1 NO Terminal
IPAC P1B1                2                Button 2 NO Terminal
IPAC GND                 3                Button 1 GND (Common) Terminal
Button 1 GND Term  4                Button 2 GND Terminal
Button 2 GND Term  5                IPAC GND

Two buttons in Series (Both buttons required to cause input)

End one              Wire No           End Two
IPAC P1B1                1                Button 1 NO Terminal
Button 1 GND Term   2               Button 2 NO Terminal
Button 2 GND Term   3               IPAC GND

Hope this helps
It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

Jakobud

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1940
  • Last login:March 11, 2024, 04:45:38 am
Re:You can wire up two buttons to one IPAC input right?
« Reply #7 on: November 21, 2002, 02:42:27 pm »
Uh...okay I understand I think...but do you have to have the ground wiring do a loop like that?  Is that necessary?

If you have some other buttons that are wired up to other inputs, can they still share the same ground?

By the way, Analog-X are you the same one from Analogx.com? If so, saw you on Screensavers.  Bet you could make a badass Mame frontend...

Jakobud

liche

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 136
  • Last login:November 13, 2007, 08:05:18 am
  • This is my BOOMSTICK!
Re:You can wire up two buttons to one IPAC input right?
« Reply #8 on: November 21, 2002, 03:01:42 pm »
Yes, they can share the same ground.  

Tiger-Heli

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5447
  • Last login:January 03, 2018, 02:19:23 pm
  • Ron Howard? . . . er, I mean . . . Run, Coward!!!
    • Tiger-Heli
Re:You can wire up two buttons to one IPAC input right?
« Reply #9 on: November 21, 2002, 03:25:15 pm »
Uh...okay I understand I think...but do you have to have the ground wiring do a loop like that?  Is that necessary?

If you have some other buttons that are wired up to other inputs, can they still share the same ground?

By the way, Analog-X are you the same one from Analogx.com? If so, saw you on Screensavers.  Bet you could make a badass Mame frontend...

Jakobud
Hi Jakobud,

The ground loop isn't necessary, but it is recommended.  You can definitely have different buttons all share the same ground.  Here are the three options and the advantages of each -

Individual Wires - You can run a wire from the ground terminal on the I-PAC to each button's common terminal - Disadvantages:  (1)  It may be hard to attach 28 wires to that one I-PAC terminal, you could do it with terminal blocks, but you shouldn't have to.  (2) Let's say your I-PAC is at the very right side of your panel and buttons 1, 2, and 3 are on the far left side of the panel.  You now have multiple wires running all across the panel, again no harm in itself, but you have extra cost and extra chances for nicks, etc. to cause wiring shorts.  (3)  Since you have multiple connections into the I-PAC ground terminal, troubleshooting a bad ground is difficult, almost a re-wiring exercise.

Snake Wiring - Wire runs from the ground terminal of the I-PAC, to the closest (to the I-PAC) button common terminal, to the nearest second button common terminal, to the nearest third button common terminal, terminating at the common terminal of the last button.  The advantage to this is:  (1) You only have one wire connecting to the I-PAC, and (2)  Troubleshooting a broken wire is simpler because all buttons "downstream" of the break cease working.

Loop Wiring as I recommended above - This is the same as the Snake method above, except you "close the loop" by running an additional wire segment from the last button back to the I-PAC ground.  The advantage to this is that now you can completely break any segment of the ground circuit and no buttons will be affected until a second segment breaks also.

Hope this helps.


It's not what you take when you leave this world behind you, it's what you leave behind you when you go. - R. Travis.
When all is said and done, generally much more is SAID than DONE.

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8183
  • Last login:April 12, 2023, 09:22:35 pm
  • The Bears Still Suck!
Re:You can wire up two buttons to one IPAC input right?
« Reply #10 on: November 21, 2002, 07:20:04 pm »


From the IPAC's website.

For two buttons witht he same input just run two wires from the IPAC (Use a splice from radio shack to connect one wire into another).
Just daisy chang all the grounds liek that.

MinerAl

  • Wiki Contributor
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 762
  • Last login:March 21, 2023, 07:11:28 am
  • duck
Re:You can wire up two buttons to one IPAC input right?
« Reply #11 on: November 21, 2002, 10:37:14 pm »
Using SirPoonga's (Andy's actually) graphic above, lets say we wanted to make the left and center buttons be the same keystroke to the IPAC (wire them in parallel).  Disconnect the red wire from the IPAC, and connect it to the same pole on the center button as the green wire.  

If either button is pressed, the circuit is closed and the keystroke is sent from the IPAC to the computer.

If you wanted to have to press both buttons to get the IPAC to register the keystroke (serially), disconnect the ground from the center button entirely (but leave it connected to the left button), then move the red wire from the IPAC to the ground terminal on the center button.  This way if the center button is pressed the signal travels on to the left button, which must also be pressed for it to hit the ground, completing the circuit.

SirPoonga, I think I dated Daisy Chang in high school! :)

SNAAAKE

  • -Banned-
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3147
  • Last login:July 21, 2004, 03:44:18 am
  • Banned for abusive postings.
Re:You can wire up two buttons to one IPAC input right?
« Reply #12 on: November 21, 2002, 11:11:27 pm »


SirPoonga, I think I dated Daisy Chang in high school! :)

HUHAHAHAH>>HAHAH>>HAHAHA...

that is just too funny! :D :P