ตั้งแต่วันที่ 27 มีนาคม 2025 เป็นต้นไป เราขอแนะนำให้ใช้ android-latest-release
แทน aosp-main
เพื่อสร้างและมีส่วนร่วมใน AOSP โปรดดูข้อมูลเพิ่มเติมที่หัวข้อการเปลี่ยนแปลงใน AOSP
ช่องเสียบชุดหูฟังขนาด 3.5 มม.: ข้อมูลจำเพาะของอุปกรณ์
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
อุปกรณ์ที่มีช่องเสียบเสียง 3.5 มม. แบบ 4 สายต้องเป็นไปตามข้อกำหนดต่อไปนี้จึงจะใช้งานร่วมกับข้อกำหนดของหัวชาร์จแบบปลั๊ก 3.5 มม. ได้ ดูข้อกำหนดความเข้ากันได้ของ Android ได้ที่ส่วนพอร์ตเสียงอนาล็อกของ CDD ของ Android
ฟังก์ชัน
การทำงาน |
การสนับสนุนอุปกรณ์ |
เอาต์พุตเสียงสเตอริโอ |
ต้องระบุ |
อินพุตเสียง (ไมโครโฟน) |
ต้องระบุ |
การขนส่งทางบก |
ต้องระบุ |
การแมปซอฟต์แวร์
การทำงาน |
การสนับสนุนอุปกรณ์ |
คำอธิบาย |
เหตุการณ์การควบคุมฟังก์ชัน A |
ต้องระบุ |
เหตุการณ์อินพุต: KEY_MEDIA
คีย์ Android: KEYCODE_MEDIA_PLAY_PAUSE
|
เหตุการณ์การควบคุมฟังก์ชัน D |
ต้องระบุ |
เหตุการณ์อินพุต: KEY_VOICECOMMAND
คีย์ Android: KEYCODE_VOICE_ASSIST |
เหตุการณ์การควบคุมฟังก์ชัน B |
ต้องระบุ |
เหตุการณ์อินพุต: KEY_VOLUMEUP
คีย์ Android: VOLUME_UP |
เหตุการณ์การควบคุมฟังก์ชัน C |
ต้องระบุ |
เหตุการณ์อินพุต: KEY_VOLUMEDOWN
คีย์ Android: VOLUME_DOWN |
การตรวจจับการใส่หูฟัง |
ต้องระบุ |
เหตุการณ์อินพุต: SW_JACK_PHYSICAL_INSERT 7 |
การตรวจจับประเภทชุดหูฟัง |
ไมค์ |
เหตุการณ์อินพุต: SW_MICROPHONE_INSERT 4 |
ไม่มีไมค์ |
เหตุการณ์อินพุต: SW_HEADPHONE_INSERT 2 |
ความต้านทานไฟฟ้าของลำโพงชุดหูฟัง |
หูฟังที่จำเป็น (ต่ำ) |
โหมดการทำงานผิดพลาดจะระบุหูฟังเพื่อให้ข้อจำกัดเปิดอยู่ |
อินพุตทางสาย (สูง) ต้องระบุ |
เหตุการณ์อินพุต: SW_LINEOUT_INSERT 6 |
เชิงกล
การทำงาน |
การสนับสนุนอุปกรณ์ |
คำอธิบาย |
แจ็ค 3.5 มม. 4 สาย |
ต้องระบุ |
|
ลําดับการต่อขาของ CTIA (LRGM) |
ต้องระบุ |
ใช้กับปลั๊ก 3 ขาและปลั๊กโมโนได้ |
ลําดับการต่อขาของ OMTP (LRMG) |
ไม่บังคับแต่แนะนำอย่างยิ่ง |
|
ลำดับการตรวจจับชุดหูฟัง |
ต้องระบุ |
การแจ้งเตือนการเสียบปลั๊กต้องทริกเกอร์หลังจากที่หน้าสัมผัสทั้งหมดบนปลั๊กสัมผัสกับส่วนที่เกี่ยวข้องเท่านั้น (เพื่อป้องกันการตรวจจับหูฟังที่ไม่เสถียรเนื่องจากการเสียบปลั๊กช้า) |
เกี่ยวกับไฟฟ้า
ทั่วไป
การทำงาน |
การสนับสนุนอุปกรณ์ |
หมายเหตุ |
แรงดันไฟฟ้าขาออกสูงสุด |
150mV |
>= 150mV ที่ 32 โอห์ม
สภาพการทดสอบ: EN50332-2 |
ความต้านทานของขั้วต่อไมโครโฟน |
ต้องระบุ |
เลือกวิธีการตรวจจับและตัวต้านทานการต่อต้านของไมโครโฟนได้ กําหนดให้ตรวจพบช่วงค่าความต้านทานของปุ่มทั้งหมดที่ระบุไว้ด้านล่างและเกี่ยวข้องกับฟังก์ชันที่เกี่ยวข้อง |
แรงดันไฟฟ้าของขั้วต่อไมโครโฟน |
1.8V - 2.9V |
เพื่อรับประกันความเข้ากันได้กับแคปซูลไมโครโฟนทั่วไป |
การตรวจจับอิมพีแดนซ์และเกณฑ์ของฟังก์ชัน
อุปกรณ์ต้องตรวจหาบันไดตัวต้านทานต่อไปนี้ในอุปกรณ์เสริม อุปกรณ์เสริมจะได้รับการทดสอบตามแผนภาพวงจรมาตรฐานในแผนภาพที่แสดงก่อนหน้านี้ (วงจรทดสอบมาตรฐานของหูฟัง) ซึ่งจะวัดอิมพีแดนซ์ทั้งหมดจากขั้วต่อ MIC ถึง GND เมื่อกดปุ่มด้วยแรงดันไฟฟ้า 2.2 V ที่ขั้วต่อไมโครโฟนผ่านตัวต้านทาน 2.2 kOhm ซึ่งมีค่าความต้านทานที่มีประสิทธิภาพเหมือนกับวงจรการตรวจจับปุ่มที่มีไมโครโฟนต่อขนานกับตัวต้านทานปุ่ม
ระดับอิมพีแดนซ์ของปุ่ม |
การสนับสนุนอุปกรณ์ |
หมายเหตุ |
70 โอห์มหรือต่ำกว่า |
ต้องระบุ |
[ฟังก์ชัน A] |
110 - 180 โอห์ม |
ต้องระบุ |
[ฟังก์ชัน D] |
210 - 290 โอห์ม |
ต้องระบุ |
[ฟังก์ชัน ข] |
360 - 680 โอห์ม |
ต้องระบุ |
[Function C] |
ระดับความต้านทานไฟฟ้าของลำโพงชุดหูฟัง |
การสนับสนุนอุปกรณ์ |
หมายเหตุ |
การตรวจจับที่มีเกณฑ์ต่ำ |
ต้องระบุ |
หูฟัง (ต่ำ) < 1 Kohm |
การตรวจจับที่มีเกณฑ์สูง |
ต้องระบุ |
อินไลน์ (สูง) > 5 Kohm |
ความต้านทานการตรวจจับปลั๊ก 4 กลุ่ม (ระหว่างกลุ่มที่ 3 และ 4) |
การสนับสนุนอุปกรณ์ |
หมายเหตุ |
เกณฑ์การเสียบ 4 กลุ่ม |
ต้องระบุ |
ความต้านทาน >= 100 โอห์ม |
เกณฑ์การเสียบ 3 กลุ่ม |
ต้องระบุ |
ความต้านทานน้อยกว่า 100 โอห์ม |
ตัวอย่างเนื้อหาและโค้ดในหน้าเว็บนี้ขึ้นอยู่กับใบอนุญาตที่อธิบายไว้ในใบอนุญาตการใช้เนื้อหา Java และ OpenJDK เป็นเครื่องหมายการค้าหรือเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-27 UTC
[[["เข้าใจง่าย","easyToUnderstand","thumb-up"],["แก้ปัญหาของฉันได้","solvedMyProblem","thumb-up"],["อื่นๆ","otherUp","thumb-up"]],[["ไม่มีข้อมูลที่ฉันต้องการ","missingTheInformationINeed","thumb-down"],["ซับซ้อนเกินไป/มีหลายขั้นตอนมากเกินไป","tooComplicatedTooManySteps","thumb-down"],["ล้าสมัย","outOfDate","thumb-down"],["ปัญหาเกี่ยวกับการแปล","translationIssue","thumb-down"],["ตัวอย่าง/ปัญหาเกี่ยวกับโค้ด","samplesCodeIssue","thumb-down"],["อื่นๆ","otherDown","thumb-down"]],["อัปเดตล่าสุด 2025-07-27 UTC"],[],[],null,["# 3.5 mm headset jack: Device specification\n\nTo achieve compatibility with the [3.5 mm plug\nheadset specification](/docs/core/interaction/accessories/headset/plug-headset-spec), devices that include a 4 conductor 3.5 mm audio jack\nmust meet the following specifications. For Android compatibility requirements,\nrefer to the *Analog audio ports* section of the [Android CDD](/docs/compatibility/android-cdd#7_8_audio).\n\nFunctions\n---------\n\n| Function | Device Support |\n|------------------|----------------|\n| Stereo Audio Out | Required |\n| Audio in (Mic) | Required |\n| Ground | Required |\n\nSoftware mapping\n----------------\n\n| Function | Device Support | Description |\n|-----------------------------|--------------------------|---------------------------------------------------------------------|\n| Function A control event | Required | Input event: `KEY_MEDIA` Android key: `KEYCODE_MEDIA_PLAY_PAUSE` |\n| Function D control event | Required | Input event: `KEY_VOICECOMMAND` Android key: `KEYCODE_VOICE_ASSIST` |\n| Function B control event | Required | Input event: `KEY_VOLUMEUP` Android key: `VOLUME_UP` |\n| Function C control event | Required | Input event: `KEY_VOLUMEDOWN` Android key: `VOLUME_DOWN` |\n| Headset insertion detection | Required | Input event: `SW_JACK_PHYSICAL_INSERT 7` |\n| Headset type detection | Mic | Input event: `SW_MICROPHONE_INSERT 4` |\n| Headset type detection | No Mic | Input event: `SW_HEADPHONE_INSERT 2` |\n| Headset speaker impedance | Required Headphone (low) | Failure mode is to indicate headphones so limitation would be on |\n| Headset speaker impedance | Required Line In (high) | Input event: `SW_LINEOUT_INSERT 6` |\n\nMechanical\n----------\n\n| Function | Device Support | Description |\n|--------------------------|-----------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| 4 conductor 3.5 mm jack | Required | |\n| CTIA pinout order (LRGM) | Required | 3 Pin \\& Mono Plug Compatible |\n| OMTP pinout order (LRMG) | Optional but strongly recommended | |\n| Headset detect sequence | Required | Plug insert notification must be triggered only after all contacts on plug are touching their relevant segments (this prevents unreliable headset detection due to slow insertion. |\n\nElectrical\n----------\n\n### General\n\n| Function | Device Support | Notes |\n|------------------------------|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Maximum output voltage drive | 150mV | \\\u003e= 150mV on 32 ohm Test conditions: EN50332-2 |\n| Mic bias resistance | Required | Flexible on detection method used and microphone bias resistor selection. Require that all button resistance value ranges specified below be detected and related to their respective function |\n| Mic bias voltage | 1.8V - 2.9V | To guarantee compatibility to common microphone capsules. |\n\n### Function impedance and threshold detection\n\nDevices must detect the following resistor ladder on the accessories. The\naccessories will be tested to the standardized circuit diagram in the diagram\nillustrated earlier (Reference Headset Test Circuit) where the total impedance\nis measured from MIC terminal to GND when a button is pressed with 2.2V mic\nbias applied through 2.2 kOhm resistor. This is the same effective resistance\nas the button detection circuit with the microphone in parallel with the button\nresistor.\n\n| Button Impedance Level | Device Support | Notes |\n|------------------------|----------------|----------------|\n| 70 ohm or less | Required | \\[Function A\\] |\n| 110 - 180 ohm | Required | \\[Function D\\] |\n| 210 - 290 ohm | Required | \\[Function B\\] |\n| 360 - 680 ohm | Required | \\[Function C\\] |\n\n| Headset Speaker Impedance Level | Device Support | Notes |\n|---------------------------------|----------------|---------------------------|\n| Low Threshold Detection | Required | Headphone (low) \\\u003c 1 Kohm |\n| High Threshold Detection | Required | Line In (high) \\\u003e 5 Kohm |\n\n| 4-Segment Plug Detection Resistance (between 3rd and 4th segment) | Device Support | Notes |\n|-------------------------------------------------------------------|----------------|-------------------------|\n| 4-Segment Plug Threshold | Required | Resistance \\\u003e= 100 ohms |\n| 3-Segment Plug Threshold | Required | Resistance \\\u003c 100 ohms |"]]