1006Views6Replies

Author Options:

Is it possible to add an ON/OFF switch to a USB cable? Answered

In order to switch USB connection ON or OFF as required without unplugging the cable from the PC or device.

Tags:USB

Discussions

0
None
lemonie

8 years ago

If you had a multi-pole switch I'm sure it would work in exactly the same way as unplugging it. I've got some from an old stereo  (source suggestion)

L

0
None
Kryptonitelemonie

Answer 8 years ago

Just adding; you'll need one with at least 5.

0
None
lemonieKryptonite

Answer 8 years ago

Yes, but I'm able to reach it to unplug...

L

0
None
bassbindevil

8 years ago

I don't see why not.  It's not unusual to have USB peripherals like printers or DVD writers that have separate power sources.  They can be shut off without unplugging the USB cable.  Just use a SPST switch on the +5 V wire.

0
None
gmxx

8 years ago

what are you trying to connect on the cable?

if you took a dpdt switch, you could turn on/off the power or data lines. it depends on the device on which one you would want to switch

0
None
steveastrouk

8 years ago

Not sure, my suspicion is that you'd have to be very careful to isolate the A and B lines, then Vcc in that sequence, or you'll break the bus.

Steve