1003Views6Replies

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

6 Replies

user
lemonie (author)2009-10-29

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

Select as Best AnswerUndo Best Answer

user
Kryptonite (author)lemonie2009-10-30

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

Select as Best AnswerUndo Best Answer

user
lemonie (author)Kryptonite2009-10-30

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

L

Select as Best AnswerUndo Best Answer

user
bassbindevil (author)2009-10-29

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.

Select as Best AnswerUndo Best Answer

user
gmxx (author)2009-10-29

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

Select as Best AnswerUndo Best Answer

user
steveastrouk (author)2009-10-29

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

Select as Best AnswerUndo Best Answer