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: Running 2 switches in tandem  (Read 1403 times)

0 Members and 1 Guest are viewing this topic.

deezdrama

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 450
  • Last login:January 25, 2024, 09:45:32 pm
    • forum.arcadecontrols.com/index.php/topic,146268.0.html
Running 2 switches in tandem
« on: November 06, 2015, 10:12:09 am »
I came off my p1 and p2 coin buttons pos wires and ran them down to my coin door switches, then ran a ground from my buttons ground daisy- down to the coin door switches.

The coin up button wouldnt work but if I removed the wires that go to the coin mech switches then the coin buttons would work.
If I unplugged the coin buttons and just ran the mech switches...they would work.

What am I doing wrong?

Frank Drebin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 263
  • Last login:January 11, 2022, 04:27:19 pm
  • I want to build my own arcade controls!
Re: Running 2 switches in tandem
« Reply #1 on: November 06, 2015, 12:20:49 pm »
I'm visualizing your switches being run in series, so that if the switch from the coin door closes, the circuit is still open at the button.  I'll see if I can do a diagram.  Wondering if they have to be run to individual ports on the ipac then mapped to the same thing?

Frank Drebin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 263
  • Last login:January 11, 2022, 04:27:19 pm
  • I want to build my own arcade controls!
Re: Running 2 switches in tandem
« Reply #2 on: November 06, 2015, 12:34:57 pm »
So the button completes the circuit from positive to negative.  Adding a second button in parallel requires both to be closed at the same time.  Now how to wire this properly, because I was going to do the same thing...

pbj

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 11061
  • Last login:Yesterday at 11:47:24 pm
  • Obey.
    • The Chris Burke Band
Re: Running 2 switches in tandem
« Reply #3 on: November 06, 2015, 12:41:04 pm »
You probably have signal and ground reversed on one of the switches.

deezdrama

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 450
  • Last login:January 25, 2024, 09:45:32 pm
    • forum.arcadecontrols.com/index.php/topic,146268.0.html
Re: Running 2 switches in tandem
« Reply #4 on: November 06, 2015, 12:42:41 pm »
Basically i have the 2 switches daisy chained to the same ipac port.
In my mind I figured the circuit would be closed when the button was pressed ...or...if a coin was dropped.
Wouldnt/shouldnt this work and close the circuit if either switch was activated?

Whats wierd is .....after unhooking the coin mechs switches pos wire from the cp coin switch..... I found if I touched the two together it would give a credit. These are both the pos wires for the switches but it gives credit like im touching the pos to the neg.

So I wondered if I had the pos on the coin mech switch on the wrong spade but that cant be it because if I disconnect the cp coin button ...then the coin mech switch works fine and vice versa


Maybe Ill just wire the coin mech switches to unused ports on the ipac4.....
Then I would just need to change the mapping in mame right?


Sorry if this all seems stupid.....this is my first cab

Frank Drebin

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 263
  • Last login:January 11, 2022, 04:27:19 pm
  • I want to build my own arcade controls!
Re: Running 2 switches in tandem
« Reply #5 on: November 06, 2015, 12:45:40 pm »
You probably have signal and ground reversed on one of the switches.
After re-looking at my diagram and reading your post, this sounds very likely, because:

Quote
Whats wierd is .....after unhooking the coin mechs switches pos wire from the cp coin switch..... I found if I touched the two together it would give a credit. These are both the pos wires for the switches but it gives credit like im touching the pos to the neg.

Touching the "two" together should be like touching a wire to itself.
« Last Edit: November 06, 2015, 12:50:01 pm by Frank Drebin »

deezdrama

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 450
  • Last login:January 25, 2024, 09:45:32 pm
    • forum.arcadecontrols.com/index.php/topic,146268.0.html
Re: Running 2 switches in tandem
« Reply #6 on: November 06, 2015, 12:55:26 pm »
Ill check it out when I get home.
I know it should work because people do this to add a dedicated 4 way without using extra ipac inputs.
I dont see how I could have them reversed because I used small cat5 24awg wire for the switches and 22awg black wire for the grounds but yeah.... it does sound like the signal is grounded somehow.

Probablly just best to wire them seperate huh?

PL1

  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 9678
  • Last login:Today at 03:31:03 am
  • Designated spam hunter
Re: Running 2 switches in tandem
« Reply #7 on: November 06, 2015, 04:57:10 pm »
You can wire the switches in parallel like Frank Drebin's diagram above, but not in series like this:

     encoder _______/ _______/ _____ ground
    (both switches need to be closed to connect the encoder input to ground)

You can also connect the switches like the "MAME Button" and "Pinball Button" switches in this example.



You probably have signal and ground reversed on one of the switches.

There is no polarity to microswitches, the contacts are either open (not touching) or closed (touching).

Swapping tabs used for "signal" (encoder input) and ground will not make any difference when wiring two switches in parallel like Frank Drebin's diagram above.

Swapping tabs of the "Pinball Button" switch in the diagram above will make no difference.

The only place where swapping tabs will make a difference is with the "MAME Button" switch since the NC tab connects the encoder input to the "Pinball Button" NO tab -- "MAME Button" would work, but "Pinball Button" would not.

Probablly just best to wire them seperate huh?
That works, too.   ;D


Scott

deezdrama

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 450
  • Last login:January 25, 2024, 09:45:32 pm
    • forum.arcadecontrols.com/index.php/topic,146268.0.html
Re: Running 2 switches in tandem
« Reply #8 on: November 06, 2015, 05:32:11 pm »
Im using old coin mech lever switches from a vendetta cab..... just looked and instead of NO right under common it is NC so....yeah that was probably the issue