Hello. I have a pretty unique project. I’m building an art installation that uses around 200 dummy USB ports. The USBs aren’t connected to a computer. They just allow people to insert USB drives into them.
I want to have an mp3 clip play on loop until someone inserts a USB drive. When they do, I want the audio to stop for 5 seconds and then begin playing again.
I assume I can code the particle board to use a timer to cut out the audio signal from an MP3 player to the speaker for 5 seconds.
I previously built a version of this that pushed a momentary NC button directly behind the USB port. When you pushed in the USB drive, it pushed the button. It was quite complicated and finicky. Can I somehow use the digital signal from the USB port itself?
Any recommendations on a good set up for this? Happy to pay $20 to the best answer.