aboutsummaryrefslogtreecommitdiff
path: root/en/devices/accessories/headset/plug-headset-spec.html
blob: 2a622a6113e69a2da8dde98b178e3bfbd1b5a1fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
<html devsite>
  <head>
    <title>3.5 mm Headset: Accessory Specification</title>
    <meta name="project_path" value="/_project.yaml" />
    <meta name="book_path" value="/_book.yaml" />
  </head>
  <body>
  <!--
      Copyright 2017 The Android Open Source Project

      Licensed under the Apache License, Version 2.0 (the "License");
      you may not use this file except in compliance with the License.
      You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

      Unless required by applicable law or agreed to in writing, software
      distributed under the License is distributed on an "AS IS" BASIS,
      WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
      See the License for the specific language governing permissions and
      limitations under the License.
  -->



<p>This article specifies requirements for 3.5 mm plug headsets to
function uniformly across the Android ecosystem.</p>

<p>Device manufacturers should consult the <a href="jack-headset-spec.html">3.5 mm
jack specification</a> and the
<a href="/compatibility/android-cdd.html">Android Compatibility Definition Document</a>
(CDD) for additional requirements.</p>

<h2 id="functions">Functions</h2>

<table style="width:50%">
 <tr>
    <th>Function</th>
    <th>Accessory Support</th>
 </tr>
 <tr>
    <td>Stereo Audio Out</td>
    <td>Required</td>
 </tr>
 <tr>
    <td>Audio in (Mic)</td>
    <td>Required</td>
 </tr>
 <tr>
    <td>Ground</td>
    <td>Required</td>
 </tr>
</table>

<h2 id="control-function_mapping">Control-function mapping</h2>

<table>
 <tr>
    <th style="width:33%">Control Function</th>
    <th style="width:33%">Accessory Support</th>
    <th style="width:33%">Description</th>
 </tr>
 <tr>
    <td>Function A</td>
    <td>Required</td>
    <td>Play/pause/hook (Short Press), Trigger Assist (Long Press), Next
    (Double Press)</td>
 </tr>
 <tr>
    <td>Function B</td>
    <td>Optional</td>
    <td>Vol+</td>
 </tr>
 <tr>
    <td>Function C</td>
    <td>Optional</td>
    <td>Vol-</td>
 </tr>
 <tr>
    <td>Function D</td>
    <td>Optional</td>
    <td>Reserved (Nexus devices use this to launch voice commands)
</td>
 </tr>
</table>

<p>Assign functions to buttons as follows:</p>

<ul>
  <li> All one-button headsets must implement Function A.
  <li> Headsets with multiple buttons must implement functions according to the
following pattern:
  <ul>
    <li> 2 functions: A and D
    <li> 3 functions: A, B, C
    <li> 4 functions: A, B, C, D
  </ul>
</ul>

<h2 id="mechanical">Mechanical</h2>

<table>
 <tr>
    <th style="width:33%">Function</th>
    <th style="width:33%">Accessory Support</th>
    <th style="width:33%">Notes</th>
 </tr>
 <tr>
    <td>4 conductor 3.5 mm plug</td>
    <td>Required</td>
    <td>Ref: EIAJ-RC5325A standard</td>
 </tr>
 <tr>
    <td>CTIA pinout order (LRGM)</td>
    <td>Required</td>
    <td>Except in regions with legal requirements for OMTP pinout</td>
 </tr>
 <tr>
    <td>OMTP pinout order (LRMG)</td>
    <td>Optional</td>
    <td></td>
 </tr>
 <tr>
    <td>Microphone</td>
    <td>Required</td>
    <td>Must not be obstructed when operating headset controls</td>
 </tr>
</table>

<h2 id="electrical">Electrical</h2>

<table>
 <tr>
    <th style="width:33%">Function</th>
    <th style="width:33%">Accessory Support</th>
    <th style="width:33%">Description</th>
 </tr>
 <tr>
    <td>Ear speaker impedance</td>
    <td>16 ohms or higher</td>
    <td>Recommend 32 - 300 ohms</td>
 </tr>
 <tr>
    <td>Mic DC resistance</td>
    <td>1000 ohms or higher
</td>
    <td>Mic characteristics must be compliant with section 5.4
    <em>Audio Recording</em> of the current
    <a href="/compatibility/android-cdd.html#5_4_audio_recording">Android CDD</a></td>
 </tr>
 <tr>
    <td rowspan="4">Control Function Equivalent impedance*</td>
    <td>0 ohm</td>
    <td>[Function A] Play/Pause/Hook</td>
 </tr>
 <tr>
    <td>240 ohm +/- 1% resistance</td>
    <td>[Function B]</td>
 </tr>
 <tr>
    <td>470 ohm +/- 1% resistance</td>
    <td>[Function C]</td>
 </tr>
 <tr>
    <td>135 ohm +/- 1% resistance</td>
    <td>[Function D]</td>
 </tr>
</table>

<p><em>*Total impedance from positive mic terminal to GND when button is
pressed with 2.2 V mic bias applied through 2.2 kOhm resistor</em></p>

<p>In the following diagrams, Button A maps to Function A, Button B to
Function B, and so on.</p>

<h2 id="reference_headsets">Reference headset test circuits</h2>

<p>The following diagram for Reference Headset Test Circuit 1 shows the CTIA
pinout for a 4-segment plug. For the OMTP pinout, switch the positions of the
MIC and GND segments.</p>

<img src="images/headset-circuit1.png" alt="Reference Headset Test Circuit 1" />
<p class="img-caption"><strong>Figure 1.</strong> Reference headset test circuit 1</p>

<p>The following diagram for Reference Headset Test Circuit 2 shows how the
actual resistor values (R1 - R4) are altered to meet this specification.</p>

<img src="images/headset-circuit2.png" alt="Reference Headset Test Circuit 2" />
<p class="img-caption"><strong>Figure 2.</strong> Reference headset test circuit 2</p>

<p>The actual resistance of the buttons parallel with the microphone (R1-R4) is
based on the microphone capsule resistance (Rmic) and the equivalent impedance
values (ReqA-ReqD). Use the following formula:</p>

<p><em>Req<sub>N</sub>=(R<sub>mic</sub>*R<sub>n</sub>)/(R<sub>mic</sub>+R<sub>n</sub>)</em></p>

<p>Where R<em>n</em> is the actual resistance of a button, Req<em>N</em> is the
equivalent impedance value of that button (provided), and Rmic is the
microphone impedance value.</p>

<p>The example above assumes a 5 kohm microphone impedance (Rmic); to achieve
an equivalent R4 impedance of 135 ohm (ReqD), the actual resistor value (R4)
must be 139 ohms.</p>


  </body>
</html>