Page 1 of 1
Headphone detection?
Posted: Sun May 15, 2016 3:57 am
by 1461748123
Hello guys!
Since I've successfully got audio from my pi zero, I'm working on wiring all the things up.
Is there any way to detect if the headphone is plug in so I can turn off the speaker?
Re: Headphone detection?
Posted: Sun May 15, 2016 8:11 am
by ktechelonbreak
Which headphone plug are you using?
Re: Headphone detection?
Posted: Sun May 15, 2016 8:33 am
by Kurai Kitsune
1461748123 wrote:Hello guys!
Is there any way to detect if the headphone is plug in so I can turn off the speaker?
I'm thinking of ideas in
my thread but it depends what kit you're using. USB card? direct from pi? what amp?
Re: Headphone detection?
Posted: Sun May 15, 2016 11:13 am
by chiz
Do you really need to "detect" if a earphone is plugged? Or you just want to cut the circuit from the speaker so that audio is transferred to the earphone? If so, search for earphone jack with disconnect feature. Not sure if the original GB jack is like this as I haven't tried it yet.
Take a
look at this instructables discussion.
Re: Headphone detection?
Posted: Sun May 15, 2016 11:24 am
by ktechelonbreak
I was able to modify the GB jack to cut power to the speaker w/ headphone connected. Alternatively like chiz said, just get a disconnect headphone jack which are relatively cheap.
EDIT:
http://www.sudomod.com/forum/viewtopic.php?f=8&t=197
Re: Headphone detection?
Posted: Sun May 15, 2016 11:33 am
by davidn
Can you show an example of this? Pictures etc.?
EDIT:
I notice the link now
