how to detect audio input??

Status
Not open for further replies.

david90

Advanced Member level 1
Joined
May 5, 2004
Messages
423
Helped
9
Reputation
18
Reaction score
4
Trophy points
1,298
Activity points
3,611
How do you detect when a male audio connector is inserted into a female audio connector? I guess I can watch out for the presence of an audio signal when the male connector goes into the female but then what if the signal audio is silence?

What i want to do is similar to when u insert the headset male connector into a cell phone. When the cell phone detects that u have inserted the audio plug, it disabled speaker output and ouput to the headset instead.
 

The female connector you find for headphone has internel mechanical switch to achive this. By using these switches you can route the signals as you want when plug is inserted and removed.
 

Is this internal switch in every female audio connector because the one I got only has 3 prongs sticking out. Gnd, Left chan and right chan.
 

Obviously not. They are with switch and have 5 pins or without them with 3 pins.
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…