|Analog Line Level Preamplifiers , Passive Pre-amps, Crossovers, etc.|
Please consider donating to help us continue to serve you.
Ads on/off / Custom Title / More PMs / More album space / Advanced printing & mass image saving
||Thread Tools||Search this Thread|
|7th August 2007, 06:27 AM||#1|
Join Date: Jul 2007
Using TRS Audio Jack Switch
I have a question about using a Tip switch on an audio jack. I want to determine when the user connects a headphone jack (or 3.5mm TRS connector) into the device. I am using a SJ-43515TS-SMT Audio Jack and a high(3.3V), low(0V) output needs to be sent to a microcontroller.
I cant figure out a way so that the ac sound wave doesn't couple back to the digital input.
This is the pinout:
Pin 1: Sleeve
Pin 2: Tip
Pin 3: Ring
Pin 4: Ring
Pin 5: Switch (connected to pin 2 when no plug inserted/open when plug is inserted)
Whats the most efficient way of completing this task?
|7th August 2007, 10:44 AM||#2|
diyAudio Member RIP
Join Date: Nov 2003
Location: Brighton UK
Connect a resistor (or voltage divider) to the ucontroller positive
supply and connect the other end to the input and pin5. Connect
pin2 to ground. Insertion of the plug (no internal connection pin2)
will allow the input to rise from ground to +ve.
|Thread Tools||Search this Thread|
|Thread||Thread Starter||Forum||Replies||Last Post|
|Audio Jack Switch - How to?||JTomo||Everything Else||3||9th June 2009 12:07 AM|
|2 Mono Jack to Female Stereo Jack||JellyMan||Everything Else||2||27th May 2008 03:39 PM|
|where to buy iec power jack with switch and fuse||neil_kaye||Parts||3||5th January 2007 12:37 AM|
|Jack Hammer subwoofers for High-end home audio?||cemmany||Multi-Way||16||5th April 2006 11:15 AM|
|New To Site?||Need Help?|