Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Hardware - Troubleshooting and Discussion > Hardware Hacking > Building a USB Hub

Building a USB Hub
Thread Tools
Mac Elite
Join Date: Dec 2003
Location: I'll let you know when I get there...
Status: Offline
Reply With Quote
Dec 30, 2007, 01:30 AM
 
I want to build an ultra portable USB Hub, with at least 4 ports. Each of the four ports needs to provide the 500mA power to the device attached. I don't want to plug the hub into a wall outlet, instead I want to power it via firewire. I haven't seen anything like this, but I don't believe it's out of the question. I have a basic understanding of electronics, but I haven't worked with USB or Firewire at all.

I'm basically just looking for any insight on how I can make this work... Budget is around $100 US. I'll probably start by trying to mod a basic USB Hub that uses an external power supply to work off a modded firewire cable.
     
Professional Poster
Join Date: Mar 2004
Location: UK
Status: Offline
Reply With Quote
Jan 6, 2008, 02:37 PM
 
Thats how I'd do it too.
Here is the pinout for firewire. USB pinouts are on the same site if you want them but all you need is the power output of the adaptor that comes with the hub. Almost certainly 5V, not sure the current it handles.

FireWire (IEEE1394) bus interface pinout and signals @ pinouts.ru
MacBook 2.0GHz CD; MacBook Pro 15" 2.4GHz Late '08; PowerMac G4 MDD Dual 1GHz; 3x Xserve G4 1GHz; Mac Mini 2GHz; Big pile of broken and working bits;
     
Mac Elite
Join Date: Dec 2003
Location: I'll let you know when I get there...
Status: Offline
Reply With Quote
Jan 6, 2008, 06:58 PM
 
Ahh, nice, thanks for the link
     
Professional Poster
Join Date: Sep 2005
Location: Rochester, NY
Status: Offline
Reply With Quote
Jan 6, 2008, 07:48 PM
 
The FireWire power pin that is listed as "Unregulated DC; 30 V no load" should give you some pause, as you're probably not going to be able to connect the Firewire power directly to the USB power. You'll have to put a voltage regulator in there to generate the 5V from whatever is coming in on that power line.
     
Mac Elite
Join Date: Dec 2003
Location: I'll let you know when I get there...
Status: Offline
Reply With Quote
Jan 7, 2008, 03:01 PM
 
     
Professional Poster
Join Date: Sep 2005
Location: Rochester, NY
Status: Offline
Reply With Quote
Jan 7, 2008, 03:34 PM
 
Probably, although without looking at the datasheet I can't be sure. You might want to buy cheap USB and FireWire hubs to act as a buffer between your experiment and your computer, just in case. If somethign goes wrong and you burn out an upstream port, it would suck if that port was on your Mac....

If you're looking for places other than Radio Shack for components, try:

Digi-Key Corporation - USA Home Page
Mouser Electronics - Electronic Component Distributor

Watch out, though, since the shipping will kill ya!
     
Mac Elite
Join Date: Dec 2003
Location: I'll let you know when I get there...
Status: Offline
Reply With Quote
Jan 7, 2008, 04:29 PM
 
Good point on the buffer, luckily I'm testing on an iBook G3 that was recently replaced by a MacBook so I'm not worried. What I've decided I want to do is put a 6 pin Firewire port on the USB hub that connects to DC input of the hub, through the +5V Fixed-Voltage Regulator. This should let me use a normal 6pin - 6pin firewire cable to power the device. Does that make sense?
     
Mac Elite
Join Date: Dec 2003
Location: I'll let you know when I get there...
Status: Offline
Reply With Quote
Jan 10, 2008, 12:47 AM
 
Well I went ahead and tried this, and it worked! I took some (terrible) pictures to showcase my (sloppy) work
USB Hub - a photoset on Flickr
     
Forum Regular
Join Date: Oct 2007
Status: Offline
Reply With Quote
Jan 14, 2008, 10:23 PM
 
Here's a part that would be a big help for you for less than $21.00:

Amazon.com: D-Link DUB-H7 High Speed USB 2.0 7-Port Hub: Electronics
     
Professional Poster
Join Date: Mar 2004
Location: UK
Status: Offline
Reply With Quote
Jan 18, 2008, 01:30 PM
 
Nice. Looking good.
MacBook 2.0GHz CD; MacBook Pro 15" 2.4GHz Late '08; PowerMac G4 MDD Dual 1GHz; 3x Xserve G4 1GHz; Mac Mini 2GHz; Big pile of broken and working bits;
     
Mac Enthusiast
Join Date: Jan 2008
Status: Offline
Reply With Quote
Jan 21, 2008, 08:36 AM
 
Originally Posted by boy8cookie View Post
Well I went ahead and tried this, and it worked! I took some (terrible) pictures to showcase my (sloppy) work
USB Hub - a photoset on Flickr
I like that you modified something you already had instead of buying more and more plastic
junk. By looking at the photo Flickr Photo Download: Uncased! it seems that there could be
some "cold-solder" happening there. If later on the power becomes intermittent or cuts out
open it back up and use some flux on the connections. Also if you seem to be having trouble
with overheating the parts in order to get the solder to flow you may want to choose a smaller
gauge wire.
     
Mac Elite
Join Date: Dec 2003
Location: I'll let you know when I get there...
Status: Offline
Reply With Quote
Jan 21, 2008, 02:57 PM
 
Yeah, the solder job is pretty bad, I've managed to get it a bit cleaner with a hotter iron. The solder in that pic was done with one of those cold-heat battery powered irons, which I'm not very happy with. I was able to create a pretty solid connection with a better iron and the hub is still working great.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 06:31 AM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2