Hello. I'm trying something unique. I'm sending a sound signal to a speaker. But I want the sound to stop when I insert a USB drive into USB female port. The port isn't connected to a computer. It's free-standing—just a plain old unpowered piece of metal.
How can I accomplish this? A micro toggle switch inside the USB port? Some kind of spring that keeps two wires apart when the USB goes in? There isn't a way to use the USB port outputs themselves, right?
Here's a drawing of what I'm trying to accomplish.
Thanks for your help.
How can I accomplish this? A micro toggle switch inside the USB port? Some kind of spring that keeps two wires apart when the USB goes in? There isn't a way to use the USB port outputs themselves, right?
Here's a drawing of what I'm trying to accomplish.

Thanks for your help.
You can mesure the power output given by the +5VDC and toggle a relay.
It needs a bit of electronics.
It needs a bit of electronics.
Hello. Thanks for the reply. The USB female port actually isn't powered. It isn't connected to a computer or any circuitry. It's just the raw metal and plastic pieces.
Is there such thing as a reverse button? Something that could do this? Like this:
Is there such thing as a reverse button? Something that could do this? Like this:


Only safe way I can see to do it would be to drill a small hole through the back of the usb socket.
Then insert a pin, that is pushed by the usb stick.
Then other end of the pin then actuates a normally closed switch into the open position.
Any other way of doing it involves electronic circuits.
Then insert a pin, that is pushed by the usb stick.
Then other end of the pin then actuates a normally closed switch into the open position.
Any other way of doing it involves electronic circuits.
- Status
- Not open for further replies.
- Home
- General Interest
- Everything Else
- Toggle sound to speaker with a weird twist