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: Control Panel wire length  (Read 1201 times)

0 Members and 1 Guest are viewing this topic.

bmo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:October 24, 2013, 11:25:19 am
  • I want to build my own arcade controls!
Control Panel wire length
« on: May 21, 2013, 01:37:36 am »
I'm in the midst of building my first cocktail cabinet and need some advice on wiring lengths. I've build many upright cabinets before and its never been an issue but what I'm coming across now is length. For this cabinet I'm using a KeyWiz40-Eco and the controllers for each player are on opposite sides of the cabinet.

Roughly 26" apart (straight across). I want the encoder to be in the middle of the cabinet but the wiring that came with the units isn't long enough to reach so I plan to extend it. Since I'd like to wire everything very neatly (OCD) I want as much length as I can to run it to the encoder without any delay issues. What's a long enough length that I can achieve this without loosing any speed?

Oh and it's a PS/2 interface as well. Thanks Guys!

MonMotha

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2378
  • Last login:February 19, 2018, 05:45:54 pm
Re: Control Panel wire length
« Reply #1 on: May 21, 2013, 02:46:26 am »
1 nanosecond per approximately 13 inches.

For the sake of argument, I'll pretend you're a super-crazy human and can reliably detect 1 millisecond of delay.  1 millisecond is 1 million nanoseconds.  So, you'd need about 13 million inches (about 205 miles) of wire before you'd get to that point.

Most people can't start to really detect jitter-free latency until it's at LEAST 10ms, usually more like 50ms.  So let's add another zero on there for anything you might actually notice: 2,050 miles of wire.

Unless your encoder's in Los Angeles and your controls are in Chicago, you're probably OK.

Gatt

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 225
  • Last login:February 04, 2020, 08:24:38 pm
Re: Control Panel wire length
« Reply #2 on: May 21, 2013, 02:51:36 am »
Disclaimer:  I'm not an electrical engineer,  my discipline is Computer Science,  which is rudimentary in electrical engineering topics.

For standard copper wiring,  I believe we're talking yards to introduce noticeable latency,  perhaps more.  Most cables for computer components are several feel long,  I've had 9ft DVI cables without any noticeable latency issues.  USB cables can also go several feet in length without adding any significant latency.  Ethernet cables as well.

I think the choice of keyboard encoder and display are much more significant in determining latency,  I wouldn't worry about the wire length. 

If it helps any,  I have a modular control panel.  The Ethernet cable on the control side is ~10",  and the wiring on the inside is another ~10",  then I pass that through a 12" USB cable to a hub,  and from there another 3ft cable to the hub built into my motherboard,  without any noticeable delay at all.  That's what?  Almost 6ft of wire?

If you're worried about delay,  things to consider that will introduce significant delay...

1.  Display:  A bad LCD is going to cause very noticeable delay.  Choose carefully and wisely if you're going to use a LCD
2.  Encoder:  IIRC,  PS2 is slightly faster than USB,  because a PS2 generates an interrupt and USB is a polled system.  From what I remember,  PS2 inputs have half the latency of a USB.  Depending on the USB input,  the difference can be as high as 20ms-ish.  Whether or not that's noticeable,  I can't say,  some people swear they can tell.
3.  USB hub on the motherboard:  The more devices plugged into it,  the more potential you have to introduce latency if some signal is being sent.  Place your USB encoder alone on a single port.  I've seen people jack a ton of "noisy" devices into one hub and then wonder why they have latency.
4.  Background programs:  For the best possible experience,  run the system with as little as humanly possible.  Disable antivirus,  system restore,  and any/all other unnecessary background programs.  Each of those programs can be running while you're gaming,  and because of the way OS's work,  they can slow your system down significantly.

bmo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:October 24, 2013, 11:25:19 am
  • I want to build my own arcade controls!
Re: Control Panel wire length
« Reply #3 on: May 21, 2013, 01:00:09 pm »
Thanks for the replies.. yeah, I really didn't think there would be any issues at all.. but this place never lets me down with even trivial questions. My degree is in c-sci as well so my electrical background isn't up to par. Thanks again!

Unstupid

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 997
  • Last login:September 08, 2021, 08:46:34 am
Re: Control Panel wire length
« Reply #4 on: May 21, 2013, 07:56:23 pm »
Unless your encoder's in Los Angeles and your controls are in Chicago, you're probably OK.
:laugh2: