Electronic – Connecting 5 pin 3.5MM Stereo Jack Socket to TDA2822M

amplifieraudiointegrated-circuit

I'm trying to make a portable amplifier based on TDA2822M IC. I've bought several stereo jack sockets but faced the following issue: I don't know the pin-out of these sockets. I'm interested in how i can discover the pin-out using a multimeter or some other way?

enter image description here

Best Answer

Since you bought these, this is a customer support issue. Whoever sold you those should provide you with access to a datasheet. A stereo jack has a minimum of three connections: one for the tip, one for the ring, and one for the sleeve. If there are only three pins, it is a configuration without switching.

With five pins, there are various possibilities.

Take a look at this chart, courtesy of Switchcraft, which gives a "zoo" of many possible TRS configurations, but is far from exhaustive!

http://www.switchcraft.com/Documents/Jack_Schematics.pdf

Look at variant XII for instance. The two extra pins here are extra connections to the tip and sleeve pins, which break when a plug is inserted. This is an example of a plug with non-isolated switching: two switches are provided, but they involve signal lines. This has various uses. For instance, it can be used with input jacks, to pull the inputs to the ground when there is no plug, to reduce noise. Or with output jacks to switch from an internal load/speaker to the external line out or headphones.

Then there is variant XX: this has a single, isolated switch between the two extra pins. In the diagram, the double bar connection between the sleeve contact and the switch reed represents a non-conductive spacer, which binds the two so they move together. This is an isolated SPST switch with "make" semantics: it closes when a plug is inserted. This would be useful for generating an event indicating a plug insertion or removal, or simply as a power switch for turning an amplifier on when the headphones are plugged in.

To reverse-engineer the behavior, first figure out which pins are the tip, ring and sleeve. Then investigate the connectivity to the remaining two "X" and "Y", pins, writing down a chart like this:

  PLUG IN    PLUG OUT
  T R S Y    T R S Y
X            #
Y       /      #   /

A # mark means that a connection exists. In the above example, X connects to T, and Y connects to R when the plug is inserted, so this is a pair of non-isolated "break" switches.

Y of course connects to itself, which is not interesting, so we put a / there.

An isolated "make" would look like this. When the plug is in, X connects to Y.

  PLUG IN    PLUG OUT
  T R S Y    T R S Y
X       #    
Y       /          /