Author Topic: USB extension cable using cat5e (Closed)  (Read 2517 times)

0 Members and 1 Guest are viewing this topic.

Offline RissVissTopic starter

  • Regular Contributor
  • *
  • Posts: 63
  • Country: ca
USB extension cable using cat5e (Closed)
« on: May 03, 2017, 04:18:39 pm »
I need two longer USB extensions, would this work

two female USB ends
http://www.ebay.ca/itm/182106499544?_trksid=p2055119.m1438.l2649&ssPageName=STRK%3AMEBIDX%3AIT

two male USB ends
http://www.ebay.ca/itm/172179909567?_trksid=p2055119.m1438.l2649&ssPageName=STRK%3AMEBIDX%3AIT

and one cat 5e  25feet long.
https://www.amazon.ca/Monoprice-20-Feet-Ethernet-Network-104991/dp/B003L1705S/ref=sr_1_2?ie=UTF8&qid=1493827442&sr=8-2&keywords=cat5e+cable+20+feet

Cut the ends on the cat 5e cable and attach the two female ends to one end and the two male ends to the other end. This way I will have two USB ends using one cable. Cat 5e has 8 USB needs 4 each. Or would cat6 be better for this.

Attached to this cable will be a mechanical keyboard and Logitech headset with mic.

Will doing this cause cross talk, or is there a way to wire it so there is less, like keeping the pairs together.

This is to replace a powered 4 port USB hub with a 20 foot extension to PC. Windows keeps dropping the hub then picking it back up, so my keyboard will turn on and off, not good in a first person shooter.

Thanks for the help.

« Last Edit: May 03, 2017, 05:51:17 pm by RissViss »
 

Offline mariush

  • Super Contributor
  • ***
  • Posts: 5015
  • Country: ro
  • .
Re: USB extension cable using cat5e
« Reply #1 on: May 03, 2017, 04:39:11 pm »
Search amazon for usb along with "active repeater" or "active" and / or 25ft / 50ft / "50 foot"/ "foot" whatever

You'll find plenty of products at less than 20$ that do what you need in a nice way. Then you just plug the hub at the end and do your thing.
 

Offline Ian.M

  • Super Contributor
  • ***
  • Posts: 12852
Re: USB extension cable using cat5e
« Reply #2 on: May 03, 2017, 04:47:58 pm »
The DIY hack job probably wont work.   USB uses screened cable with 90 Ohm impedance for the data pair but Cat 5 or 6 UTP cable is unscreened with a 100 ohm impedance.  Daisy-chaining good quality passive USB cables is known to cause reliability problems if you significantly exceed the 5m limit in the specification, and using sub-optimal cable with two USB links so high crosstalk is likely to degrade at a significantly shorter distance than the 5m specification.

TLDR: your cable is already too long - go buy a commercial USB over CAT5 extender or a long enough USB active repeater cable with at least two device end ports.
« Last Edit: May 03, 2017, 04:50:16 pm by Ian.M »
 

Offline RissVissTopic starter

  • Regular Contributor
  • *
  • Posts: 63
  • Country: ca
Re: USB extension cable using cat5e
« Reply #3 on: May 03, 2017, 04:55:32 pm »
 

Offline Ian.M

  • Super Contributor
  • ***
  • Posts: 12852
Re: USB extension cable using cat5e
« Reply #4 on: May 03, 2017, 05:15:28 pm »
You wont learn anything anyway, as you don't have the professional knowledge or extremely expensive test equipment to investigate USB signal integrity issues.    Yes, there is a remote possibility it may sort of work some of the time, but the odds of success are pretty low - you'd have better odds of winning the Kentucky Derby with a horse that's just been rescued from a knacker's yard.
 

Offline RissVissTopic starter

  • Regular Contributor
  • *
  • Posts: 63
  • Country: ca
Re: USB extension cable using cat5e
« Reply #5 on: May 03, 2017, 05:22:55 pm »
Thanks for the info.

The item I posted about is what I am looking for to fix this problem.
 

Offline Ian.M

  • Super Contributor
  • ***
  • Posts: 12852
Re: USB extension cable using cat5e
« Reply #6 on: May 03, 2017, 05:32:02 pm »
If you are determined to gain practical experience the hard way, at least buy or scavenge some 8P8C 'RJ45' modular jack sockets (not magjacks) so you don't have to cut the Ethernet cable ends, and move the powered hub to the PC end for testing so you don't accidentally FUBAR a motherboard USB port.  You'll still waste time and some money but it will be less painful when you have to throw yoiur idea in the trash.
 

Offline mariush

  • Super Contributor
  • ***
  • Posts: 5015
  • Country: ro
  • .
Re: USB extension cable using cat5e
« Reply #7 on: May 03, 2017, 05:35:43 pm »
If you want to learn what you could probably do would be to pick a microcontroller that would behave like a USB host on one end (to plug the keyboard in the microcontroller and make the keyboard think it's connected to computer) . Microcontroller would perhaps run at only USB 1.1 (10mbps) but should be enough for a keyboard, and even for a mouse (the 1000 polling rate may be an issue, bit for 125 hz updates it would probably be fine.
 raspberry pi3 would probably super cheap and easy and overkill

The microcontroller would get the keyboard/mouse data and arrange it in packets and send it to another microcontroller on the other end through RS-485 or RS-232 .. over 1-2 pairs of ethernet cable, leaving the other pairs to send power to the other end of the cable
At the other end of the cable , one or two microcontroller could be configured as HID (human interface devices), keyboards, mice etc and just pick keyboard data packets or mouse data packets and convert them back to usb messages and give them to computer.

Even a low 115 kbps baud rate shouldn't be a problem to send some keys over or some mouse movement.
« Last Edit: May 03, 2017, 05:38:57 pm by mariush »
 

Online DimitriP

  • Super Contributor
  • ***
  • Posts: 1300
  • Country: us
  • "Best practices" are best not practiced.© Dimitri
Re: USB extension cable using cat5e
« Reply #8 on: May 03, 2017, 05:44:47 pm »
You wont learn anything anyway, as you don't have the professional knowledge or extremely expensive test equipment to investigate USB signal integrity issues.    Yes, there is a remote possibility it may sort of work some of the time, but the odds of success are pretty low - you'd have better odds of winning the Kentucky Derby with a horse that's just been rescued from a knacker's yard.


And even if it works 100% of the time, it's not an indication of anything "learned".

Unless "sometimes sttringing wires tohether works when it shouldn't" counts. There...something learned.

For six lousy bucks, it's getting more expensive the more it's being dicussed :)
   If three 100  Ohm resistors are connected in parallel, and in series with a 200 Ohm resistor, how many resistors do you have? 
 

Offline RissVissTopic starter

  • Regular Contributor
  • *
  • Posts: 63
  • Country: ca
Re: USB extension cable using cat5e (Closed)
« Reply #9 on: May 03, 2017, 05:51:43 pm »
Thanks for the info
Have a day
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf