Author Topic: Controlling USB connection to computer  (Read 1262 times)

0 Members and 1 Guest are viewing this topic.

Offline tyguy2Topic starter

  • Supporter
  • ****
  • Posts: 303
  • Country: us
Controlling USB connection to computer
« on: May 24, 2017, 04:58:25 pm »
Hello everyone,

I'm working on a project where I need to be able to cut off a USB device (both 2.0 and 3.0) from a computer then reconnect it electronically. Mechanically speaking, it would be the equivalent of unplugging the USB device then plugging it back in later. I was wondering if I needed to use a controller IC to achieve this, or if I could just use BJT's or perhaps relays/ optoisolators to control the connections to the computer. Thanks in advance!
[Sarcastic comment] clever joke [/sarcastic comment]
Bitcoin:
12oV4dWZCAia7vXBzQzBF9wAt1U3JWZkpk
 

Offline Skashkash

  • Regular Contributor
  • *
  • Posts: 118
  • Country: us
Re: Controlling USB connection to computer
« Reply #1 on: May 24, 2017, 05:46:39 pm »
You'd want a USB switch /mux ic.  3.0 complicates things a bit.

But something like this chip.

https://www.fairchildsemi.com/datasheets/FU/FUSB340.pdf


Quick edit,
 If this is just for a one off,  it might be possible to hack a USB 3.0 hub by interrupting the power to the hub.
 
« Last Edit: May 24, 2017, 05:51:50 pm by Skashkash »
 

Offline tyguy2Topic starter

  • Supporter
  • ****
  • Posts: 303
  • Country: us
Re: Controlling USB connection to computer
« Reply #2 on: May 24, 2017, 07:36:33 pm »
So I think I'll use
http://ww1.microchip.com/downloads/en/DeviceDoc/00001725D.pdf
This for the USB 2.0 and:
https://www.fairchildsemi.com/datasheets/FU/FUSB340.pdf
This for the USB 3.1

Will I just be able to attach both chips directly to a USB female connector, or will I need a way to differentiate between 2.0 and 3.1? (picture attached)
[Sarcastic comment] clever joke [/sarcastic comment]
Bitcoin:
12oV4dWZCAia7vXBzQzBF9wAt1U3JWZkpk
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf