A detection circuit and detection method for audio interface
A detection circuit and audio interface technology, applied in the direction of measuring electricity, measuring electrical variables, measuring devices, etc., can solve the problems of audio interface circuit interference, inability to further detect audio cables, etc., and achieve the effect of avoiding interference signals
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0028] figure 2 It is a block diagram of a detection circuit for an audio interface of the present invention. see figure 2 A detection circuit for an audio interface includes: an audio terminal, an audio cable insertion detection module, a bias voltage module, a resistor R1, a capacitor C1, a resistor R2 and an MCU, the detection pin of the audio terminal is connected to the audio cable insertion detection module The detection input terminal, the detection output terminal of the audio line insertion detection module is connected to the MCU, the left or right channel pin of the audio terminal is connected to one end of the resistor R1, and the other end of the resistor R1 is connected to the controlled end of the bias voltage module One end of the resistor R2 and one end of the capacitor C1 are connected, the other end of the resistor R2 is grounded, the other end of the capacitor C1 is connected to the MCU, and the control end of the bias voltage module is connected to the ...
Embodiment 2
[0036] image 3 It is a specific circuit diagram of a detection circuit for an audio interface of the present invention. see image 3 , a detection circuit for an audio interface comprising: an audio terminal, an audio cable insertion detection module, a bias voltage module, a resistor R1, a capacitor C1, a resistor R2 and an MCU;
[0037] The audio cable insertion detection module includes a resistor R7 and a power supply VCC, one end of the resistor R7 is connected to the power supply VCC, and the other end of the resistor R7 is used as a detection input terminal of the audio cable insertion detection module and a detection output terminal of the audio cable insertion detection module;
[0038]The bias module includes resistor R6, resistor R5, transistor Q1 and power supply VCC. One end of resistor R5 is connected to power supply VCC, the other end of resistor R5 is connected to the collector of transistor Q1, the base of transistor Q1 is connected to one end of resistor R6...
Embodiment 3
[0049] Figure 4 It is a flow chart of the detection method based on the audio interface circuit of the present invention.
[0050] see Figure 4 , a detection method based on an audio interface circuit, comprising:
[0051] S101. The audio cable insertion detection module detects whether an audio cable is inserted into the audio terminal, and if so, executes S102;
[0052] In step S101, the audio line insertion detection module detects whether an audio line is inserted into the audio terminal, specifically: if the audio line is inserted into the detection output end of the detection module, that is image 3 If the Line_Det port in is low level, the audio line insertion detection module judges that no audio line is inserted into the audio terminal; if the audio line is inserted into the detection output end of the detection module, that is image 3 If the Line_Det port is at a high level, the audio cable insertion detection module determines that an audio cable is inserted ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


