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: Wire length (with completed pics of CP)  (Read 1172 times)

0 Members and 1 Guest are viewing this topic.

Wienerdog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 569
  • Last login:December 08, 2020, 06:28:51 am
  • If it's worth doing, it's worth overdoing
Wire length (with completed pics of CP)
« on: February 17, 2005, 09:15:21 pm »
I'm building two stand alone controllers to play fighters.
« Last Edit: February 21, 2005, 09:03:59 pm by Wienerdog »
This opinion was created from 100% post consumed information.

SirPeale

  • Green Mountain Man
  • Global Moderator
  • Trade Count: (+23)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 12963
  • Last login:August 04, 2023, 09:51:57 am
  • Arcade Repair in New England
    • Arcade Game and Other Coin-Op Projects
Re: Wire length
« Reply #1 on: February 17, 2005, 09:18:08 pm »
Just for your controls?  Within reason, as long as you want.  Would't do like 100' or something, but ten feet should be reasonable.

Wienerdog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 569
  • Last login:December 08, 2020, 06:28:51 am
  • If it's worth doing, it's worth overdoing
Re: Wire length
« Reply #2 on: February 17, 2005, 09:21:18 pm »
Yes, just for the controls, and the sticks are Suzo microswitch (fortunately not my p360s). 

Sounds good, I didn't know if there would be any problem with a voltage drop over those wires.  I might go 15 feet on each of them, but it's not like this needs to be "apartment sized".
This opinion was created from 100% post consumed information.

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: Wire length
« Reply #3 on: February 17, 2005, 09:24:56 pm »
I've heard RandyT mention 15' as the maximum several times.

I'm not sure if that's 15' TOTAL, including the run to the PS/2 port, or just 15' for the controller-to-encoder run though.

Wienerdog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 569
  • Last login:December 08, 2020, 06:28:51 am
  • If it's worth doing, it's worth overdoing
Re: Wire length
« Reply #4 on: February 17, 2005, 09:31:19 pm »
Interesting, maybe I will go 10 feet on the Cat3 just to be safe. 
This opinion was created from 100% post consumed information.

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7014
  • Last login:July 31, 2025, 01:58:29 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: Wire length
« Reply #5 on: February 18, 2005, 04:56:45 pm »
I've heard RandyT mention 15' as the maximum several times.

I'm not sure if that's 15' TOTAL, including the run to the PS/2 port, or just 15' for the controller-to-encoder run though.

Heh, that's just me erring well on the side of caution.

I tried an extreme test one time by running one KeyWiz input to about 50' of 30ga Kynar (thin wire wrap wire) and it still activated the input every time without fail.  Now, this doesn't mean that 30 of these constantly modulating next to each other won't have crosstalk or other interference problems, but it did work over that distance.

So the rule is:  Shorter is always better, but don't go shorter than you need to until you know it will be a problem. :)

RandyT


ShinAce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 152
  • Last login:January 16, 2007, 07:38:14 pm
  • Building the unbuildable since 2001
Re: Wire length
« Reply #6 on: February 18, 2005, 07:32:17 pm »
Transmission speed is close to the speed of light, some 300 000 km/sec.

Assuming 60 fps, you'd need over 16 million feet of wire for each switch to lag by 1 frame. So technically, it might lag once you get over 8 million feet of wire. So obviously the length of the wire is not an issue.

However, shielding is important. The air carries a 60 hertz signal, EVERYWHERE, thanks to our power grids. So if you have 500 feet of exposed wire, you might pick up enough electrical noise from the air to cause problems. The only way to prevent it is to use shielded cables and shunt the shield to ground.

Personally, I'm working on a new stick that's connected to the encoders via monitor extension cable. I have 6 and 10 footers, which means I can get up to 20 feet of wire between me and the console. I've got a pair of headphones with a 16' cord. They sound great, and audio signals are much more flaky than digital signals.
An ounce of image is worth a pound of performance.

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7014
  • Last login:July 31, 2025, 01:58:29 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: Wire length
« Reply #7 on: February 18, 2005, 08:53:10 pm »
Transmission speed is close to the speed of light, some 300 000 km/sec.

Assuming 60 fps, you'd need over 16 million feet of wire for each switch to lag by 1 frame. So technically, it might lag once you get over 8 million feet of wire. So obviously the length of the wire is not an issue.

Actually it can be, but lag has nothing to do with it.  Wire has resistance,. Thinner wire has more resistance.  Long and thin wire has even more resistance.

Resistance can lead to voltage/current drop, which can lead to  improper operation of digital circuits.  Long wires, especially shielded ones, can also have capacitance, ringing and other nasty problems.

Like I said, shorter is better, but how short depends on the particulars of your installation.

RandyT

cholin

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 6
  • Last login:July 16, 2009, 09:22:25 pm
    • Nilok Productions
Re: Wire length
« Reply #8 on: February 18, 2005, 09:09:50 pm »
Well it all comes down to the wire he's using then.  Either way, if he runs 100 ft of wire from his Control Panel to his computer, he will still be fine, assuming the wire is straight.  Wire is made for this kind of stuff.  Sure, it might mess up, but thats after a while of abuse.

ShinAce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 152
  • Last login:January 16, 2007, 07:38:14 pm
  • Building the unbuildable since 2001
Re: Wire length
« Reply #9 on: February 18, 2005, 09:45:53 pm »
Even 30 gauge wire is only 1 ohm per 10 feet, and 30 gauge is ridiculously thin.
An ounce of image is worth a pound of performance.

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7014
  • Last login:July 31, 2025, 01:58:29 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: Wire length
« Reply #10 on: February 18, 2005, 10:29:50 pm »
I'd agree with your assessment if I hadn't seen a number of people here complain about problems with long wire runs.

There's theory and there's reality.  Theory says you should be able to go 100ft without a problem, but the reality is that long cable runs can cause difficulties, whatever the reasons.

Theory also says, shorter is always better when running wires for virtually any purpose .

Get a handful of PS/2 extension cables and see how many you can put together before your keyboard stops working ;)  Not the same set of circumstances, but it will demonstrate some very real limitations to wire lengths.

RandyT

ShinAce

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 152
  • Last login:January 16, 2007, 07:38:14 pm
  • Building the unbuildable since 2001
Re: Wire length
« Reply #11 on: February 18, 2005, 11:27:26 pm »
If you wanted a decent test, you should compare a 6 foot cable to a longer one. As soon as you add connections, it's an entirely different game.
An ounce of image is worth a pound of performance.

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7014
  • Last login:July 31, 2025, 01:58:29 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: Wire length
« Reply #12 on: February 18, 2005, 11:54:44 pm »
If you wanted a decent test, you should compare a 6 foot cable to a longer one. As soon as you add connections, it's an entirely different game.

Fair enough, try a  6' extension and a 20' extension.  You might even find that it works fine with one keyboard, and not at all with another.  That's why I say, don't sweat it too much until you see a problem.  But when you do, don't rule out cable length as a possible cause.

I personally had a problem going from a 6' to a 12'  wihen developing the KeyWiz.  I decided to test the Win2K box  on the other side of the room without trying to move my dev system.  I mistakenly thought I was experiencing an incompatibility with the OS.  Turns out  the dev system didn't like the extra length  of the PS/2 cable.  I moved  everything close enough to reach  with the 6 footer and it worked perfectly.  But not until I spent 2 hours trying to find a non-existent compatibility issue.

So I've experienced instances where cable length can make a substantial difference, but as with anything, YMMV.

RandyT   




Wienerdog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 569
  • Last login:December 08, 2020, 06:28:51 am
  • If it's worth doing, it's worth overdoing
Re: Wire length
« Reply #13 on: February 19, 2005, 08:58:53 am »
I've now experienced a problem with 12 feet of Cat3 on a test panel.  Controls seem less responsive on that stick.  Does that mean it's a length problem?  Probably not.  I would blame bad connections before I would blame 12 feet of wire. 

The 12 feet of wire worked good, I was able to run the wire behind the running microwave fine.  I did find out that I can live with a shorter run, so I'm going to switch to about 4 feet of wire, and I can put the encoder in the Player 1 panel, that all but eliminates any wire length concern.  Oh, I was just kidding about the microwave, my point was that there are many things to take into consideration, one of the biggest being how well the connections are made at the switch.  The main concern I was asking about was the voltage/current drop over that thin wire.  Interference is probably more of a concern. 

I'm not saying this problem was caused by the wire, but I was running Mame32 and clicking some of the buttons caused Mame to shut down and send me back to Windows.  I tried moving the buttons to different inputs on the Keywiz, but it was still happening randomly.

On a side note, are the default inputs set up to standard Mame buttons?  This was one of the original Key encoders.  I'm not sure where the disk is and I haven't looked around for any info.  The inputs on the board are marked 1-8 and A-P.  I'm down to the wire for putting these panels together, so any help would be appreciated.  I'm going to be handing this panel over to people with very little MAME experience, and I'm not going to be with them to help.  I'd like them to be able to plug this into a computer and go straight into games without changing configurations.  They will have a keyboard for coins and starting, and the two panels with 6 buttons each.  I know where to input the sticks, but where should I connect the 12 total buttons on the Keywiz?

Thanks for the help, this will save me lots of time.
This opinion was created from 100% post consumed information.

RandyT

  • Trade Count: (+14)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7014
  • Last login:July 31, 2025, 01:58:29 pm
  • Friends don't let friends hack keyboards.
    • GroovyGameGear.com
Re: Wire length
« Reply #14 on: February 19, 2005, 09:13:34 am »


Email sent.

RandyT
« Last Edit: February 19, 2005, 09:42:49 am by RandyT »

Wienerdog

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 569
  • Last login:December 08, 2020, 06:28:51 am
  • If it's worth doing, it's worth overdoing
Re: Wire length
« Reply #15 on: February 21, 2005, 12:27:39 pm »
Thanks for the docs RandyT, that's what I needed.

As I mentioned, I went with a shorter wire between controllers (about 5 feet) and put the encoder inside the Player 1 stick.  I sure wish I had one of my new Keywiz Eco encoders, but I wedged in my original one. 

Shazaaam! is connected to the Player 1 and Player 2 start buttons in the upper left of the controller.

I used clear plexi for the bottom panel to show people what is going on inside.  I'm happy with them, I'm glad I used stain.  I almost went with paint but I knew I had to have the finish completed within about 8 hours so I stained and used clear poly on it. 
This opinion was created from 100% post consumed information.