USB Switch with SPDT

Hi , I have an project where in i need to share a USB mass Storage Device among two HOST PC's. The hosts would not use the Shared resource at the

same time. So I planned to use 4 SPDT Swithes to switch the Storage device when ever required. When I did implemented this, I found that the Mass Storage device was not recognized by either of the PC's. Could

anyone explain the reason and method to implement such a solution Regards

Reply to
madhava.Gadicherla
Loading thread data ...

_4_ SPDT switches?

Why not just use a crossover Ethernet cable and share the drive on the host machine?

Reply to
mrdarrett

Well the problem is that one of the machines is a custom computer board in development and it has no ethernet support as of now.

Reply to
madhava.Gadicherla

keep the D+/white and D-/green wires twisted for as much of their length as possible.

istm you may need to ensure that the power terminals (ground/black and +5/red) are connected first and disconnected last as the plugs are designed to connect the power terminals before the data terminals.

Bye. Jasen

Reply to
Jasen Betts

The D+/D- lines are a matched and controlled impedance transmission line. I would say that your switch and wiring are interfering with these lines.

Reply to
Noway2

I'll assume that you are using Windows somewhere along the way ;-)

Unfortunately, Windows (even XP) doesn't always deal well with USB disconnect/reconnect. You'll have fewer problems if you always use the "Remove Device" right-click on the USB icon, but even that doesn't work all the time.

Reply to
John

If the hard drive is a high-speed (480Mbps) USB device, there's a very good chance that taking the relatively well-controlled (impedance- and balance-wise) USB cable and running it through some random wiring and a switch will degrade the signal enough to prevent a proper connection between the PC and the device.

At full-speed (12Mbps) I wouldn't expect problems unless you've got a *lot* of random wire flailing about, though.

Personally I'd just go buy a commercially made switch for this purpose: They actively buffer and re-transmit the USB data as needed.

Reply to
Joel Kolstad

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.