Split USB Port Into 2 Separate Ports

solderingusb

I've a device (An old NES cart, actually) that I've fitted with a USB port and a flash drive. I'm using it in a NES to Raspberry Pi conversion. My idea was to have a port on the side for connecting to the computer to upload data (movies, ROMs, music, etc.) and use the original 72 pin connector to connect to the Pi (using the original slot loader from the NES).

enter image description here

Obviously 5v and Ground are soldered in parallel.

When I soldered up the USB port (basically just a USB extension cable), it works fine. However, when I add the data wires to open pins on the connector, the drive ceases to function.

I have no idea why this is happening. Any clues?

Best Answer

USB uses very fast signals (480 Mbits/sec at high speed) to transmit data serially. As such, it is very sensitive to transmission-line effects in the cabling. What you have done is created a "stub" connection (whichever host port isn't being used at the moment) that really messes up the data signal because of the signal reflections from both the point where the three sets of wires are joined, as well as the open end of the stub.

Bottom line is, you simply can't do that. You might be able to install a physical DPDT switch to switch between the two host connections, but even that would be questionable.

Related Topic