Patent ID: 8718296
Filing Date: 2014-05-06
Classification: H01R

Abstract:
1. A portable electronic device, comprising: an earphone jack configured to receive different types of earphone plugs; the earphone jack including a first contact, a second contact, a third contact, a fourth contact, a fifth contact, and a sixth contact; the fifth contact being grounded; a switch connected to the earphone jack, wherein the switch includes a first switch and a second switch; the first switch includes a first movable contact, a first fixed contact, and a second fixed contact; the second switch includes a second movable contact, a third fixed contact, and a fourth fixed contact; the first movable contact and the second movable contact are respectively connected to the fourth contact and the third contact; the first fixed contact and the fourth fixed contact are both grounded; the second fixed contact and the third fixed contact are both connected to a first power by a first resistor, and form a first node; the switch is configured to switch between a first state and a second state; in the first state, the first movable contact and the second movable contact are respectively connected to the first fixed contact and the third fixed contact, in the second state, the first movable contact and the second movable contact are respectively connected to the second fixed contact and the fourth fixed contact; a detecting terminal connected to the first node, the detecting terminal configured to detect the type of the earphone plug received in the earphone jack; and a controlling terminal connected to the switch, wherein the controlling terminal switches the switch to either the first state or the second state according to the type of the earphone plug; a determination circuit; wherein the determination circuit includes a chipset, a negative electrode of the chipset is connected to a second power by a second resistor, and forms a second node; the second node is grounded by a third resistor, the voltage of the second node is set as a reference voltage; a positive electrode of the chipset is connected to the first power by a fourth resistor and a fifth resistor in series, and forms a third node; the third node is connected to the sixth contact; and a receiving terminal; wherein the receiving terminal is connected to the output terminal of the chipset, and is used for determining whether the earphone plug is received in the earphone jack by the output voltage of the chipset.