Usb Dongles for USB over CAT5 connection

Usb Dongles for USB over CAT5 connection
You can run pretty much anything on Cat5, VGA, Usb, Sound Signals, S-Video and so on.

I'm planning in using my web cam as a security cam at my front door and I was thinking in using a pc downstairs to see my web cam over the net, but I have keep both pcs running at the same time and the need of extra software as well, so i decided to use a Cat5 to run a Usb connection over at least 25', I've been searching a little over the web and I found a couple of ideas to connect Usb peripherals over Cat5 successfully and I went over the subject, but I realize that i didn't want to cut the cat5 and solder the usb connections to the cable, so I decide to build a couple of Usb dongles (female and male) to cat5 and the cool thing is that they can be used on existing Ethernet network wall connections as well. I know that I might be pushing the limits but it's worth the try.

I wouldn't use this devices for Data tho, I understand the there are plenty of connectors out there that have baluns (which I don't quite know how they work), to send and receive Data signal, so I wouldn't risk the try but for peripherals such as web cams, mouse or keyboard, and sound signals would do just fine (even S-video).
I would highly recommend using a powered Usb hub for the distance mentioned above, in regards of some of the limits for this type of configurations:
Usb limits are up to 15' (4.5 meters)
S-Video up to 50' (15' meters)

I got very useful information from Tony's Cafe blog, on distances limits and some other valuable info, you may want to take a look at his site: http://girasoli.org/?p=58
 
Remove these adsRemove these ads by Signing Up
 

Step 1Materials and Instructions

Materials and Instructions
The Dongles or connectors are very easy to build, I gather all the material from salvaged hardware

Materials:
2 Ethernet Hubs (8pin RJ45 - salvaged from network cards)
1 Usb Male Plug Type A (any standard Usb cable)
1 Usb Female Plug Type A (from a Pc)
Solder Gun, wire and electric tape.
and of course a CAT5 Ethernet Cable

Instructions:
The hardest part was desoldering the Hubs from the salvaged PCB board, after that it was just a matter of selecting which cables of the CAT5 use to solder the Usb plugs and the RJ45 Hubs.

I select the pins in the following order:

RJ45 hub = USB plug
pin No. 2 = Green Cable
pin No. 4 = White Cable
pin No. 6 = Black Cable-Ground
pin No. 8 = Red Cable

I test the configuration at the other end and test the web cam (my work very well) later I isolate each soldered connection with electric tape (with yellow tape) and cover the hole thing (black tape), and voila!. 25' of video cable (plus the hubs) and working.
Easy and extremely cheap.
« Previous StepDownload PDFView All StepsNext Step »
66 comments
1-40 of 66next »
May 31, 2010. 9:25 PMmast3rbug says:
It seem that peoples here know nothing about electronics and USB specification...  So I will let you know why USB can't work over 5 meters.

This is all about timing. at 5 meters, the delay propagation in the cable is maximum 26 nS(Nano Seconds).  This is the time the USB transceiver will wait after a packet transmission for an ACKnowledge answer.

So if your cable is longer, the ACK will be received too late, and the USB transceiver will be already in the timeout processus.  It's for that reason that if you want longer cable, you need Active USB repeaters.  These Active cables Are real relays that send ACK signals and re-transmit the data over another 5 Meters cable.

There is nothing about voltage drop or crosstalk here.


Jan 15, 2012. 6:27 PMpcooper2 says:
You're right. A person would be lucky to get USB 1.0 speeds out of a hack like this, if it works at all.
Oct 13, 2010. 11:01 AMgurr says:
It can not be that critial, since its working!
Once I ran RS232 over a 300 meters telephone cable! (max=16 m?)
It was working constantly for more than one year.

Sometimes we may test the "impossible" and it works.

Dec 18, 2011. 6:07 PMDGeneral02 says:
Is there any possibility of this working on a router, am looking forward to connecting a 3g usb dongle to the rj45 wan port of my router running a linux distro so i can establish a dialup connection. Pease any help will be appreciated
May 20, 2011. 4:50 PMjtoomey says:
Three things on running USB over Cat-5 wiring:
1. On the RJ-45 8-pin jack, you want to avoid pins 1,2,3,6 because if it accidentally gets plugged into a switch or PC Ethernet jack, the 5-volts could fry something.

2. You want the power (+5v,ground) on the same color (blue,blue-stripe) so it doesn't make an electronic field that can ruin the valuable data lines. the phone company runs 24V to our homes on one twisted pair of wires and it works fine.

3. Twisting the two data lines on one color (brown,brown-stripe) will keep data integrity over a longer run of lines. Ethernet lines do that and it works just fine.

I suggest the following from the USB to the Cat-5 jack:
1. usb pin 1 (+5v,red) goes to RJ-45 pin 5 (blue-stripe)
2. usb pin 2 (d-,white) goes to RJ-45 pin 8 (brown)
3. usb pin 3 (d+,green) goes to RJ-45 pin 7 (brown-stripe)
4. usb pin 4 (ground,black) goes to RJ-45 pin 4 (blue)

Using this configuration, you could simultaneously run Ethernet to a hub AND your USB extension with splitters and all.
Oct 17, 2011. 9:30 AMAaronOfRuston says:
Lke!
Sep 22, 2011. 10:54 AMogad_80 says:
I actually used this configuration for a USB web cam. Just a note, some USB's have an wire insulation that has nothing to do with making the connection just a tip for noobz like myself. I also had to cut down my Cat5 cable to about 3 meters because I was getting an error of non-recognized hardware. Thanks awesome Instructables and awesome tips!
Oct 8, 2011. 4:24 PMflame boyyyy says:
Why does it tell me that my USB device is unrecognized when i pplug it into the cable?
Sep 12, 2011. 9:45 AMsupadhyay1 says:
try this one out hope thats help http://guru.technosains.com/EnglishUSBWifiCablesExtender.htm
Jul 21, 2011. 1:36 PMgerneio says:
just curious, is this whole instructable about extending your usb cable using an ehternet cable (cat 5)? Thats pretty neat, but what i was curios about was if it was to be possible to instead of making an extension, to convert or merge a usb cable and ethernet cable to work together. Its kinda far stretched, but the only hard part in this is figuring out which wires to connect or pair. So on the usb side, which has four wires (red,green,white,black) to the ethernet cable by connecting the wires together in the right way.... Possible or impossible?
Aug 26, 2011. 5:30 AME_MAN says:
Actually it is possible to run other things over a cat5 cable. Search up "POE pinout" and you will find that the brown and blue pairs are not used by a standard networking devices. You SHOULD be able to run the 4 usb wires over the 4 spare wires... but i will warn you, there could be LOTS of interference. If you have any networking equipment that has POE you will probably destroy your networking equipment, usb device and your computer :) but if use disconnect those connections to your devices you should have TOO many issues... have fun!
Aug 26, 2011. 10:22 AMgerneio says:
So it is possible?? :D but I'll destroy my equipment?? Lol.... That's a hard decision...
Aug 26, 2011. 1:03 PME_MAN says:
no, as long as you disconnect the blue and brown pairs from the cable and not splice them you should be fine. Just put that as a warning......
Aug 26, 2011. 2:24 PMgerneio says:
Ok so if I'm using a already made ehternet cable, and cut one end of the cable off to expose the wires, it'll work? By doing what you said, of course
Aug 26, 2011. 3:31 PME_MAN says:
just use a knife and strip off the outer jacket. Then cut only the blue and brown pairs out. do this on either end and just be careful not to cut or untwist the green and orange pairs. oh and by the way, keep the power and data connections on different pairs to minimize interference. Doing it this way will help keep your networking equipment intact :D
Aug 26, 2011. 6:32 PMgerneio says:
Thanks for these fast replys, I will defiantly try this when I get time
Jul 19, 2011. 7:41 AMы says:
We do develop the new product for surveillance system by USB Cam. Now, we could do 4 ch USB Cam with a great video. It is also great to read this document. We will try. Thank you those information.
Nov 2, 2009. 8:11 AMlp142 says:
Can a powered hub be put in the middle of this configuration and provide power?
Mar 17, 2010. 6:47 AMquaired says:
hello everyone, this may be offtopic please excuse my comment. i made myself one project very similar to this but instead pulled out an ethernet port together with 2 usb port on a one module from the back end of a destroyed motherboard already. i have been trying to make a very long range ethernet but as i researched usb is really limited to 5 meters only. therefore i compared two cat5 cables with 1 below 5 meters and 2 above 5 meters and gathered the difference between the two:

these are my observations:
usb power supply pins1 and 4 can supply with a steady 5 volts on both cat5 cables. cable 1 below 5 meters and cable 2 above 5 meters both registered on the tester 5 volts steadily.

while testing on terminal +data and -data i get a drop of .5 when i put the testers over 1x continuity.

this lead to a conclusion that signal from the usb running through a cat5 cable drops after 5m. but the 5v supply from the usb running through a cat5 is a steady power supply.

i made this project because i want to use my socket A old cpu as surveilance system of our home using usb webcams. i can connect up to 4 webcams but distributing it around the house is very tricky. im avoiding also of ip cams because of it's high costs any suggestions on how i might solve my problem? thanks for your ideas.
Mar 15, 2010. 12:36 PMAnt1Xr1st says:
My USB2.0 Webcam works perfect via 12.2Meters CAT5e cable. But 15.5Meters long cable isn’t working. I used one pair for data (D+, D-) and tree others for power. Cat5 cable is directly soldered to webcam on the one side and to the male-A usb connector on the other side.
Mar 2, 2010. 9:06 PMBlackHatCracker says:
Nice idea, instead of spending 30.00 + for this.. :-D Lovin it!
Sep 14, 2009. 7:57 AMtinnyjl says:
Can Use The Cables With Out The Ethernet
Jan 10, 2010. 9:43 PMmilsorgen says:
 Yeah your probably going to need to clean and boost the signal for extreme lengths on pins 2-3.
Sep 16, 2009. 12:49 PMkrahoc says:
Tried it with a 20m long cat5 shielded câble. 5V between +5 and ground is ok, but data +/- fails (tried webcam, keyboard, joystick). Guess I will have to find an ethernet webcam.
Nov 14, 2009. 12:08 AMLee Wilkerson says:
Your problem is most likely a power sag induced by too long a cable. With a cable that long and that small I can imagine you're going to drop at least .5 volt. Test your voltage at the end farthest from the computer with the load attached. You need at least 4.75 volts. Try using the unused wires in the Cat 5 cable in parallel for the +5 and ground wires.

If your voltage didn't sag that far, then you have crosstalk issues. If this is the case, ground all the  unused wires at the COMPUTER END ONLY (hook 'em to the black wire).
Nov 14, 2009. 11:09 AMkrahoc says:
The +5V has been tested and is ok. Checked the connections with a continuity tester for the data cables and the other cables were not connected.
Seems the problem is not power (the hardware is powered) but data transmission (un-recognized by computer). Anyway, I used another solution (optic fiber).
Thanks
Feb 28, 2009. 1:11 PMqou2600 says:
Can I use this to get internet or a lan connection?
May 21, 2009. 9:53 AMdejan4ence says:
for USB FLASH MEMORY is work but for w-fi USB not. Wi-fi its working only 2meters leng in 3meters hi dont recognize . salute
Apr 8, 2009. 2:03 PMPCfreak says:
no u would have to use something like this:
http://www.linksysbycisco.com/US/en/products/USB300M
Apr 8, 2009. 4:43 AMcornflaker says:
... just use the cat 5 cable by itself without doing anything lol this is to extend your usb cable way beyond the normal limits
Apr 8, 2009. 6:48 PMqou2600 says:
I understand. My friend has a laptop with a broken network card an I was hoping for a cheap solution to his problem. I'm sure he can find a good deal on something though thank you both
Jan 22, 2009. 1:04 PMsarkeizen says:
Actually what I found easiest of all is buying a USB Extension cable. Which has one Male "A" connector and another Female "A" connector. Cut it in half. Strip the wires. Then crimp an RJ-45 connector on each end (making sure to pair the data+ and data- leads). I have it on a short run (8ft) and it works fine for USB 1.1 devices. Even data can be transferred at that speed. I've played 720p video back over that connection. It even can handle a single USB 2.0 device. I'm working on getting USB 2.0 to work through a hub. I'd like to connect a USB Blu-Ray drive this way.
Jan 8, 2009. 1:14 PMggiihh1 says:
Can this be used simply as a usb extension cable?
Dec 30, 2008. 5:41 PMhelp me please!!!! says:
I have a cord used to hook a computer to internet it has 8 wires. 4 white wires 1 orange wire 1 brown wire 1 green wire 1 blue wire and on the usb cord it has 1 white wire 1 red wire 1 green wire 1 black wire and a bunch of little silver wires over to the side without and covering. How do I connect them?
Dec 22, 2008. 4:40 PMSk8erCk4Life says:
I get exactly how to use this now with the hubs. You can take the Usb with the hub on it and use the ethernet cable for something else then later you can hook it back up easily. :-)
Dec 21, 2008. 11:42 AMSk8erCk4Life says:
My Ethernet cord has eight wires. If I don't want to use the ethernet hubs, how do I wire the ethernet cord the the USB's and which color wires do I use?
Dec 22, 2008. 4:06 PMSk8erCk4Life says:
Thankx for helpin...(-:
1-40 of 66next »

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
61
Followers
14
Author:arte.sano