Go Back   Home > Forums > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Analog Line Level Preamplifiers , Passive Pre-amps, Crossovers, etc.

Using TRS Audio Jack Switch
Using TRS Audio Jack Switch
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
Old 7th August 2007, 06:27 AM   #1
shivia is offline shivia  Canada
diyAudio Member
Join Date: Jul 2007
Default 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.

Click the image to open in full size.

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?
  Reply With Quote
Old 7th August 2007, 10:44 AM   #2
sreten is offline sreten  United Kingdom
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.

  Reply With Quote


Using TRS Audio Jack SwitchHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
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?

All times are GMT. The time now is 09:25 PM.

Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 16.67%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2018 DragonByte Technologies Ltd.
Copyright ©1999-2018 diyAudio