Toggle sound to speaker with a weird twist

Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.
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.

skematic.png


Thanks for your help.
 
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.
 
Status
This old topic is closed. If you want to reopen this topic, contact a moderator using the "Report Post" button.