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: Basic Wiring Question  (Read 3266 times)

0 Members and 1 Guest are viewing this topic.

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7967
  • Last login:Today at 02:12:14 pm
Basic Wiring Question
« on: December 23, 2005, 01:09:30 pm »
It's about that time... I've never done something like this ans I'm a little intimidated... anyway:

Each microswitch gets two wires running from it - one from NO (normally open) and the other from COM, right?  I know each wire from NO gets wired directly to the corresponding node on the iPAC but where do the COM wires go?  Can I wire one COM node to the next COM node to the next COM node and so on?  If so, what happens to that last wire?  Can I wire it to the first COM node creating a circle or does it go somewhere else?  Or am I way off base here?

Thanks.

rdagger

Re: Basic Wiring Question
« Reply #1 on: December 23, 2005, 01:12:47 pm »
The last com goes to the ground on your encoder.

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7967
  • Last login:Today at 02:12:14 pm
Re: Basic Wiring Question
« Reply #2 on: December 23, 2005, 01:14:15 pm »
Thanks.  So wiring one COM to the next creating a loop is an OK way to go about doing this?

JonnyBoy

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 615
  • Last login:November 12, 2009, 01:59:00 pm
  • Inka Dinka Do
Re: Basic Wiring Question
« Reply #3 on: December 23, 2005, 01:25:29 pm »
Yep, you can daisy chain the grounds together and shoot them right over to the ground terminal on your ipac.
I had to beat them to death with their own shoes...

ChadTower

  • Chief Kicker - Nobody's perfect, including me. Fantastic body.
  • Trade Count: (+12)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38212
  • Last login:July 30, 2025, 03:29:53 pm
Re: Basic Wiring Question
« Reply #4 on: December 23, 2005, 01:25:53 pm »
That is called a daisy chain ground loop.

menace

  • Trade Count: (+5)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2565
  • Last login:November 08, 2024, 01:49:35 pm
Re: Basic Wiring Question
« Reply #5 on: December 23, 2005, 01:26:30 pm »
I would recommend a couple of ground loops--that way if you have a bad connection you don't lose everything and its easier to track down the offending bad connection.
its better to not post and be thought a fool, then to whip out your keyboard and remove all doubt...

ChadTower

  • Chief Kicker - Nobody's perfect, including me. Fantastic body.
  • Trade Count: (+12)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38212
  • Last login:July 30, 2025, 03:29:53 pm
Re: Basic Wiring Question
« Reply #6 on: December 23, 2005, 01:29:22 pm »

Yeah, better to do it with each ground loop being the controls of one player.  Don't forget that in a daisy chain, if one connection breaks, they all break.


SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8190
  • Last login:August 18, 2025, 08:28:46 pm
  • The Bears Still Suck!
Re: Basic Wiring Question
« Reply #7 on: December 23, 2005, 01:34:15 pm »
http://www.ultimarc.com/images/wiring.gif

Don't forget that in a daisy chain, if one connection breaks, they all break.
All behind the break.  In the ultimarc pic if hte ground at the middle button borke only hte left and middle button wouldn't work.

Some people will ground the left button to the ipac to.  That way if something goes wrong with one button it doesn't take out all the buttons behind it.
« Last Edit: December 23, 2005, 01:35:58 pm by SirPoonga »

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7967
  • Last login:Today at 02:12:14 pm
Re: Basic Wiring Question
« Reply #8 on: December 23, 2005, 01:36:36 pm »
OK, so I can daisy chain the P1, P2, P3 and P4 controls (each separately) and run the last wire of each to the ground node on my ipac (so 4 wires go to that one node)?

Thanks a lot.

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7967
  • Last login:Today at 02:12:14 pm
Re: Basic Wiring Question
« Reply #9 on: December 23, 2005, 01:39:03 pm »

SirPoonga

  • Puck'em Up
  • Global Moderator
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 8190
  • Last login:August 18, 2025, 08:28:46 pm
  • The Bears Still Suck!
Re: Basic Wiring Question
« Reply #10 on: December 23, 2005, 01:48:35 pm »
Awesome picture - it's exactly what I'm going to do.  If you did go ahead and ground the left button does that mean that you can pinpoint where the bad connection is based solely on what button isn't working or is the only way to do that to ground each button individually?

Depends on how the ground broke.  Most of the time the connect comes off the spade on the button, so even without the loop as I described all other buttons will work.  However, if someone the wire broke or became unsoldered then it depends on how your grounds are wired.  If wired like the pic (which is from the ipac instructions page) then all buttons that would have gone through the break won't work.

Doing the loop as I suggested depends on what broke.  If the wire came unsoldered just that button won't work.  If the wire broke in between two buttons all buttons will still work as there is a way to get to ground.

Each way has its own benefits.  doing only one route to ground if something goes wrong it will be obvious, a bunch of stuff won't work.  The other route you may not realize something is wrong until you use the failed part, but wiith two paths to ground if one thing goes wrong it all doesn't.  It's a matter of preference on what you want to happen when something goes wrong.
« Last Edit: December 23, 2005, 01:55:40 pm by SirPoonga »

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7967
  • Last login:Today at 02:12:14 pm
Re: Basic Wiring Question
« Reply #11 on: December 23, 2005, 02:06:41 pm »
Great!  Thanks for the info!

ChadTower

  • Chief Kicker - Nobody's perfect, including me. Fantastic body.
  • Trade Count: (+12)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 38212
  • Last login:July 30, 2025, 03:29:53 pm
Re: Basic Wiring Question
« Reply #12 on: December 23, 2005, 02:15:03 pm »

BobA

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 5943
  • Last login:July 11, 2018, 09:52:14 pm
  • What Me Worry?
Re: Basic Wiring Question
« Reply #13 on: December 23, 2005, 04:28:31 pm »
If you add another ground to the LH ground connection and take it to ground you will have a true loop and a single break will not disable you buttons.
« Last Edit: December 23, 2005, 04:36:28 pm by BobA »

M3talhead

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 747
  • Last login:October 09, 2020, 07:35:12 pm
  • Dont let Donkey Kong use your toilet.......
Re: Basic Wiring Question
« Reply #14 on: December 23, 2005, 04:51:17 pm »
If it helps, I've included pics from my arcade project when I was building it. Notice in the first pic that all the black wires (grounds) are chained. This is done by inserting 2 wires into a single terminal connector and repeating the process until you've formed a complete chain from the furthest control, to your iPac.



The second picture shows how the positive leads are routed in order to complete the circuit for each switch.

« Last Edit: December 23, 2005, 04:55:13 pm by M3talhead »
Signature tags are dumb.

markrvp

  • ARGHHHHHHHHHHHHH!!!!!!!!!! True Genius!
  • Wiki Contributor
  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3353
  • Last login:September 14, 2020, 10:19:57 am
  • NFL Expert
Re: Basic Wiring Question
« Reply #15 on: December 23, 2005, 04:55:39 pm »
If it helps, I've included pics from my arcade project when I was building it. Notice in the first pic that all the black wires (grounds) are chained. This is done by inserting 2 wires into a single terminal connector and repeating the process until you've formed a complete chain from the furthest control, to your iPac.



The second picture shows how the positive leads are routed in order to complete the circuit for each switch.




But don't wire yours so neatly.  Doing so will "out" you as a sociopath.

Bones

  • [Moderator]
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3995
  • Last login:July 26, 2021, 11:34:03 pm
Re: Basic Wiring Question
« Reply #16 on: December 23, 2005, 05:13:25 pm »
I would recommend a couple of ground loops--that way if you have a bad connection you don't lose everything and its easier to track down the offending bad connection.
I also used this approach and used a commoning block. I connected each series of joysticks & buttons to this block. refer bottom left hand corner.




Living the delusional lifestyle.

M3talhead

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 747
  • Last login:October 09, 2020, 07:35:12 pm
  • Dont let Donkey Kong use your toilet.......
Re: Basic Wiring Question
« Reply #17 on: December 23, 2005, 05:15:19 pm »
Notice 'Bones's use of erratic and unorganized wiring. Do you really want to be getting electrical advice from a person this ---fouled up beyond all recognition--- up?
Signature tags are dumb.

Bones

  • [Moderator]
  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3995
  • Last login:July 26, 2021, 11:34:03 pm
Re: Basic Wiring Question
« Reply #18 on: December 23, 2005, 05:42:25 pm »
Notice 'Bones's use of erratic and unorganized wiring. Do you really want to be getting electrical advice from a person this ---fouled up beyond all recognition--- up?
This is a difficult point to argue. You should listen to Metalhead.

Living the delusional lifestyle.

RTSDaddy2

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1100
  • Last login:April 03, 2014, 08:28:03 pm
  • Bees! Oh bother!
Re: Basic Wiring Question
« Reply #19 on: December 23, 2005, 09:11:57 pm »
I'll add two cents, though it's painfully obvious (I think), but I don't recall anyone having said this - and I think I read all posts here so far completely.

Following the ideas in the picture let me also suggest you use different color wire.  For example, I used black wire for my grounds, red wire on all the joystick connects to the IPAC, and green for the buttons.  That way if a button stops working, I check the green connectors first, then look at my grounds to make sure nothing's come loose.  It may sound nutty, but it does help.


brian23

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 128
  • Last login:September 07, 2011, 03:52:01 pm
Re: Basic Wiring Question
« Reply #20 on: December 23, 2005, 09:51:28 pm »
I concur on the colored wiring. Makes understanding things much easier. Also, using a wiring block helps from tugging on the ipac if you have it mounted on the base of the control panel instead of on the control panel top.

If you do a proper loop, then you will not need to worry if a button goes out, all the others go out. Take a look at my diagram below. Wiring the switches in parallel is what you want to do. Obviously, if none of the buttons/joystick work, then the main ground is broken. If one button doesn't work, but all others do, then it is easy to find where the break in the sequence is as long as you don't wire it in an irregular pattern. Ground the switches in the order that they are on the ipac. R, L, U, D, Sw1, Sw2, ... etc. Here is a quick ASCII picture of how I did it. There may be other ways, but this creates a ground loop with buttons in parallel.
 
                                                                            / To GROUND
                                                                           /
« Last Edit: December 23, 2005, 10:27:08 pm by brian23 »

M3talhead

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 747
  • Last login:October 09, 2020, 07:35:12 pm
  • Dont let Donkey Kong use your toilet.......
Re: Basic Wiring Question
« Reply #21 on: December 24, 2005, 03:48:12 am »
I'll add two cents, though it's painfully obvious (I think), but I don't recall anyone having said this - and I think I read all posts here so far completely.

Following the ideas in the picture let me also suggest you use different color wire.  For example, I used black wire for my grounds, red wire on all the joystick connects to the IPAC, and green for the buttons.  That way if a button stops working, I check the green connectors first, then look at my grounds to make sure nothing's come loose.  It may sound nutty, but it does help.



You're absolutely right on the color bit. The only reason I stuck with red and black was because:

1) I'm a cheap bastard and didnt want to spend $.40 on another 3 feet of colored wire

2) I use a multimeter to test all my connections. Its faster this way.
Signature tags are dumb.

c64rulez

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 482
  • Last login:July 09, 2011, 05:08:36 pm
  • It's live and kicking
Re: Basic Wiring Question
« Reply #22 on: December 24, 2005, 10:41:54 am »
I would recommend a couple of ground loops--that way if you have a bad connection you don't lose everything and its easier to track down the offending bad connection.
I also used this approach and used a commoning block. I connected each series of joysticks & buttons to this block. refer bottom left hand corner.





Was taking pictures of a hydrogen bomb internals not supposed to be censored ?

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: Basic Wiring Question
« Reply #23 on: December 26, 2005, 08:12:09 pm »
Since we're answering wiring questions here, I have one.  Short story long, needed to replace the buttons, the signal wire (not the ground) connection snapped off at the microswitch and got pulled out at the 3x4 molex connector to my jamma harness.  Now, how do I plug the wire back into the male part of the connector?  I'm talking about the the actual male wire connector.

M3talhead

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 747
  • Last login:October 09, 2020, 07:35:12 pm
  • Dont let Donkey Kong use your toilet.......
Re: Basic Wiring Question
« Reply #24 on: December 27, 2005, 12:41:46 am »
You'll probably just need to replace the molex pin. You can get them at just about any electronics store. If the pin is still good and has the barbs intact, it might just be as simple as (gently) bending the barb back out and reinserting it into the molex.
Signature tags are dumb.

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7967
  • Last login:Today at 02:12:14 pm
Re: Basic Wiring Question
« Reply #25 on: March 04, 2006, 08:53:34 am »
So if I'm daisy chaining the grounds together should I wrap the 2 wires together and then stick it in the connector before crimping?  I can't do one at a time, right?

danny_galaga

  • Grand high prophet of the holy noodle.
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 8526
  • Last login:August 19, 2025, 05:23:43 pm
  • because the mail never stops
    • dans cocktail lounge
Re: Basic Wiring Question
« Reply #26 on: March 04, 2006, 09:06:40 am »
yeah, youve got the idea. just to clarify something, it may be that youve got the idea that both ends of this daisy chain have to go somewhere. this isnt so. so long as one end is connected to the ground then it works. you can connect the other end of the chain too if you want for redundancy but electrically its not required as the circuit is made through the  COM- NO junction when you press the switch.


ROUGHING UP THE SUSPECT SINCE 1981

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7967
  • Last login:Today at 02:12:14 pm
Re: Basic Wiring Question
« Reply #27 on: March 04, 2006, 09:15:17 am »
So going from ground on the iPac to COM1 and COM1 to COM2 and COM2 to COM3 etc until the last COM which will only have a wire coming in but not out is the way to do it?

THANKS!

brian23

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 128
  • Last login:September 07, 2011, 03:52:01 pm
Re: Basic Wiring Question
« Reply #28 on: March 04, 2006, 01:34:50 pm »
So going from ground on the iPac to COM1 and COM1 to COM2 and COM2 to COM3 etc until the last COM which will only have a wire coming in but not out is the way to do it?

THANKS!

I don't see why that wouldn't work. I did the reverse: Last microswitch goes to main ground on IPAC. If you want to add support for coin drops per se, you'll need to figure that into your wiring situation if you have a coin door. In all honesty though, I don't think it matters which direction the ground reaches the ipac.

javeryh

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7967
  • Last login:Today at 02:12:14 pm
Re: Basic Wiring Question
« Reply #29 on: March 04, 2006, 02:08:11 pm »
Good point.  I do have a coin door that I will also have to add to the loop somehow.  Maybe I'll just run that ground directly to the iPac as well...