I would like to detect when a jack is plugged into my connector. The circuit looks like this:
One end of the jack is connected to a speaker, and the other to an audio source, such as a phone or mp3 player.
Basically what is drawn is what I'm making. The main thing here is to connect the phone and the speaker, with the goal being to either use bluetooth or the jack connector in question based on whether the jack is connected or not.
So, a cable goes from phone to jack, jack is connected to speaker. Arduino needs to see whether jack is connected to phone or not.
Will this work for detecting if a jack is inserted, without damaging any components, particularly the audio source and speaker?
Note: I would use a jack connector with a detection pin. But with a 4 pole (TRRS) jack, I haven't been able to find any (or they don't exist...). PCs seem to use the codec for this purpose, and phones don't seem to have a detection pin either. I have a 7 pole jack connector for example, and it doesn't have a microphone terminal, it shorts ground and mic.