Patent ID: 8611549

Claim:
A detection circuit of an electronic device, comprising: a jack circuit comprising a type detection pin and a connection detection pin, the connection detection pin adapted to detect whether an audio device is connected to the electronic device, the type detection pin adapted to detect a type of audio device when the audio device is connected thereto; a first switch comprising a first control end, the connection detection pin is connected to the first control end, the connection detection pin adapted to turn the first switch on or off according to whether the audio device is connected to the electronic device; a second switch connected to ground via the first switch, the second switch comprising a second control end, the type detection pin is connected to the second control end, the type detection pin adapted to control the second switch on or off according to the type of the audio device; and a detection end connected to the first switch via a first resistor and connected to the second switch via a second resistor, the detection end adapted to generate different signals to indicate a connection status of the electronic device and the audio device.