Component Guide

Miscellaneous Beginner

3.5 mm Audio Jack: Map TRS Contacts

Identify tip, ring and sleeve with an unpowered plug and meter. Do not infer solder-terminal order or connect audio directly to ESP32 GPIO.

BeginnerDifficulty Bench setup / accessoryCompatible
Share
Product-style illustration of 3.5 mm Audio Jack; not a verified physical pin layout
Jump to a section

Before you start

Board and software
Low-voltage bench setup as specified below. ESP32 is optional for passive exercises. Coded examples require classic ESP32-WROOM-32/32E DevKit, unused exposed pins, Arduino IDE 2.x and Arduino-ESP32 3.3.2 (review baseline, not a latest-release claim). Other families need their own pin map.
Supported hardware
Approved PJ-307-labelled 3.5 mm stereo jack illustration; exact drawing and switched contacts unverified. Worked contact terminology: known three-contact TRS jack, such as Same Sky SJ1-3523NG, not an identification of artwork.
Prerequisites and parts
Known TRS plug/breakout, actual jack drawing and continuity meter. Disconnect audio sources, amplifiers and ESP32. A TRRS headset is a different contact arrangement.
Libraries
No firmware or library required for this exercise. Arduino-ESP32 3.3.2 is the site review baseline, not a dependency of this passive setup.
Expected result
Each assigned jack terminal connects to the intended tip, ring or sleeve of an inserted unpowered TRS plug.
Verification status
Documentation and source review only. Not compiled or tested on hardware. The approved product-style illustration identifies a family, not a verified physical pin layout or manufacturer-authenticated board. Follow the logical diagram and documentation for your actual part.

Overview

A stereo TRS plug has tip, ring and sleeve separated by insulating rings. Conventional unbalanced stereo uses tip for left, ring for right and sleeve for return. That signal convention is not the mechanical solder-pin order.

Some jacks add switched contacts that change when a plug enters. Map them with the actual drawing and continuity test; leave unneeded switches isolated. The illustration label cannot establish a numbered footprint. TRRS headset microphone standards are outside this three-contact exercise.

Technical Specifications

Arduino library: No firmware or library required for this exercise

SpecificationValueWhy it matters
Contact system 3.5 mm TRS Three plug contacts; not TRRS.
Terminal numbers From actual jack drawing No universal footprint or switch order assumed.

Pinout

  • Inserted plug tip Connection Measured jack T terminal Conventional left audio contact.
  • Inserted plug ring Connection Measured jack R terminal Conventional right audio contact.
  • Inserted plug sleeve Connection Measured jack S terminal Conventional return contact.
  • Other / switch terminals Connection Document separately; leave isolated No inferred mechanical pin numbers.
  • ESP32 GPIO Connection No connection This is an unpowered mapping exercise.

Wiring Diagram

Map plug tip/ring/sleeve to actual jack terminals using continuity, not drawing position.

Component terminalESP32 / circuit connectionPurpose and qualification
Inserted plug tipMeasured jack T terminalConventional left audio contact.
Inserted plug ringMeasured jack R terminalConventional right audio contact.
Inserted plug sleeveMeasured jack S terminalConventional return contact.
Other / switch terminalsDocument separately; leave isolatedNo inferred mechanical pin numbers.
ESP32 GPIONo connectionThis is an unpowered mapping exercise.
Logical wiring for 3.5 mm Audio Jack; terminal labels rather than physical pin positions

Open wiring diagram at full size (new tab)

  1. 1

    Remove all power and audio sources.

  2. 2

    Insert a known TRS test plug; measure and label each contact.

  3. 3

    Repeat insertion/removal for switch identification and save the actual pin map.

Expected Output

With the plug inserted, label measured contacts T/R/S and record any switches separately. Continuity identifies connections, not audio impedance, gain or noise.

How it works

The jack spring contacts touch the corresponding plug surfaces. Use an unpowered test plug with accessible labelled conductors; test insertion/removal if switches exist. Do not join left and right amplifier outputs to make mono.

Troubleshooting

ProblemPossible causeSolution
More than three terminals Jack includes switches or shell contacts. Consult drawing and map with plug inserted/removed.
Hum or one channel missing Return/contact mapping wrong or damaged jack. Check unpowered TRS continuity before reconnecting audio.
Headset contacts differ TRRS used instead of TRS. Use the matching connector and headset standard; do not guess microphone pin.

Where you use it

  • Preparing a documented audio connector pin map
  • Checking broken connector contacts before audio-circuit design

FAQ

Technical references