1025Views6Replies

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

Comments

The forums are retiring in 2021 and are now closed for new topics and comments.
0
lemonie
lemonie

11 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
Kryptonite
Kryptonite

Answer 11 years ago

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

0
lemonie
lemonie

Answer 11 years ago

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

L

0
bassbindevil
bassbindevil

11 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
gmxx
gmxx

11 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
steveastrouk
steveastrouk

11 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