CN102065160A - Circuit for being externally connected with loudspeaker by utilizing mobile phone - Google Patents
Circuit for being externally connected with loudspeaker by utilizing mobile phone Download PDFInfo
- Publication number
- CN102065160A CN102065160A CN2010105706978A CN201010570697A CN102065160A CN 102065160 A CN102065160 A CN 102065160A CN 2010105706978 A CN2010105706978 A CN 2010105706978A CN 201010570697 A CN201010570697 A CN 201010570697A CN 102065160 A CN102065160 A CN 102065160A
- Authority
- CN
- China
- Prior art keywords
- pin
- mobile phone
- circuit
- usb interface
- main control
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Landscapes
- Telephone Function (AREA)
Abstract
The invention discloses a circuit for being externally connected with a loudspeaker by utilizing a mobile phone, comprising a mobile phone end circuit and a loudspeaker end circuit, wherein the mobile phone end circuit comprises a main control chip MCU (Micro Control Unit) and a USB (Universal Serial Bus) interface electrically connected with the main control chip MCU; the main control chip MCU is provided with an upward-pulling interrupt pin EINT (External Interrupt Interface); and the USB interface is provided with a suspended ID (Identification) pin which is connected to the interrupt pin EINT. The loudspeaker end circuit comprises an audio power amplifier and a USB jack electrically connected with the audio power amplifier; and the USB jack is provided with a grounded ID pin. The mobile phone end circuit utilizes the suspended ID pin as an insert recognition pin for recognizing the loudspeaker, and the main control chip MCU recognizes the inserting state and the pulling state of the loudspeaker by utilizing the high-low change of a level of the interrupt pin EINT. The circuit utilizes the USB interface of the mobile phone fully, and realizes external connection with the loudspeaker by utilizing the USB interface of the mobile phone, thereby facilitating a user in improving the outgoing sound effect.
Description
[technical field]
The present invention relates to the cellphone multimedia technology, particularly a kind of mobile phone of external loudspeaker.
[background technology]
Along with the raising day by day of living standard, mobile phone has become one of people's daily life, work necessary tool.Mobile phone is as information terminal, and people no longer are satisfied with the requirement of mobile phone can carry out high-quality conversation, and it trends towards fashion-orientation, many kinetic energyization, lightening.
Because the mobile phone profile trends towards lightening design, make that the sound chamber of embedded in mobile phone loud speaker is compressed in a large number, even can not accomplish airtight, thereby cause outer playback matter reduction.If a kind of external speaker that can mount and dismount and not need external power supply is neatly arranged,, promote outer playback matter effectively just can make things convenient for the user when needed.But be interface of external speaker specialized designs on mobile phone, have considerable influence for structural design and cell phone appearance, and can increase cost.If do not do like this, then external loudspeaker need dispose USB controller IC and numeral and analog converter circuit etc. and could transfer the digital signal by the usb communication protocol transmission to simulated audio signal, thereby has the equipment cost problem of higher.
[summary of the invention]
Technical problem to be solved by this invention provides a kind of circuit that utilizes the mobile phone external loudspeaker, it can realize utilizing the USB interface external loudspeaker of mobile phone, make things convenient for the user to improve outer playback and imitate, and do not influence mobile phone prior USB and charge function, also do not influence the outward appearance of mobile phone.
The present invention solves the problems of the technologies described above the technical scheme of being taked and provides a kind of circuit that utilizes the mobile phone external loudspeaker, and it comprises:
The mobile phone terminal circuit comprises main control chip MCU and the USB interface that is electrically connected with main control chip MCU, wherein, the interrupt pin EINT that draws on main control chip MCU inside has, USB interface has unsettled ID pin, and unsettled ID pin is connected to interrupt pin EINT;
The loud speaker terminal circuit, the USB socket that comprises audio frequency power amplifier and be electrically connected with audio frequency power amplifier, wherein, the USB socket has the ID pin of ground connection;
Wherein, the mobile phone terminal circuit utilizes the insertion identification pin of unsettled ID pin as the identification loud speaker, and main control chip MCU changes the insertion of discerning loud speaker and extracts state by the height of the level of interrupt pin EINT.
According to one preferred embodiment of the present invention, when the USB socket inserted USB interface, unsettled ID pin became low level by high level, and when the USB socket was extracted USB interface, unsettled ID pin became high level by low level.
According to one preferred embodiment of the present invention, the mobile phone terminal circuit further comprises the DC-DC converter that is electrically connected with main control chip MCU and described USB interface, and when the USB socket inserted USB interface, the DC-DC converter provided operating voltage to loud speaker.
According to one preferred embodiment of the present invention, main control chip MCU has enable pin PWR_EN, and enable pin PWR_EN is connected with the DC-DC converter.
According to one preferred embodiment of the present invention, the mobile phone terminal circuit further comprises diode D2 and capacitor C 1, and the positive pole of diode D2 connects the voltage output end of DC-DC converter, and the negative pole of diode D2 connects the power end of USB interface; One end of capacitor C 1 connects the voltage output end of DC-DC converter and the positive pole of diode D2, other end ground connection.
According to one preferred embodiment of the present invention, when not needing to enable loud speaker and play, close the DC-DC converter.
According to one preferred embodiment of the present invention, it is characterized in that: main control chip MCU has audio frequency output pin MP3_OUTL and audio frequency output pin MP3_OUTR, USB interface has pin D+ and pin D-, audio frequency output pin MP3_OUTL is connected with the pin D+ of USB interface, and audio frequency output pin MP3_OUTR is connected with the pin D-of USB interface.
According to one preferred embodiment of the present invention, be provided with the input resistance R3 and the capacitor C 4 of connecting between the pin D+ of audio frequency output pin MP3_OUTL and USB interface, be provided with the input resistance R2 and the capacitor C 3 of connecting between the pin D-of audio frequency output pin MP3_OUTR and USB interface.
The present invention has made full use of the USB interface of mobile phone, has realized utilizing the USB interface external loudspeaker of mobile phone, makes things convenient for the user to improve outer playback and imitates.
[description of drawings]
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.Wherein:
Fig. 1 has shown mobile phone terminal circuit figure according to one preferred embodiment of the present invention; And
Fig. 2 has shown loud speaker terminal circuit figure according to one preferred embodiment of the present invention.
[embodiment]
The present invention is described in detail below in conjunction with drawings and Examples.
See also Fig. 1, Fig. 1 has shown mobile phone terminal circuit figure according to a preferred embodiment of the invention.
In a preferred embodiment of the invention, the mobile phone terminal circuit comprises main control chip MCU 10, the USB interface 20 that is electrically connected with main control chip MCU 10.
Wherein, the interrupt pin EINT that draws on main control chip MCU 10 has, interrupt pin EINT connects the unsettled ID pin of USB interface 20.In the present embodiment, interrupt pin EINT draws on the inside, also should be understood that can by the pull-up circuit of outside realize interrupt pin EINT on draw.Main control chip MCU 10 also has audio frequency output pin MP3_OUTL and audio frequency output pin MP3_OUTR.Wherein, audio frequency output pin MP3_OUTL is connected with the pin D+ of USB interface 30, and audio frequency output pin MP3_OUTR is connected with the pin D-of USB interface 30.Also be provided with the input resistance R3 and the capacitor C 4 of connecting between audio frequency output pin MP3_OUTL and the pin D+, also be provided with the input resistance R2 and the capacitor C 3 of connecting between audio frequency output pin MP3_OUTR and the pin D-.Wherein, input resistance R2 and R3 are preferably the high impedance input resistance.
Mobile phone terminal circuit of the present invention also comprises the DC-DC converter 30 that is electrically connected with main control chip MCU 10 and USB interface 20.As shown in Figure 1, the input of DC-DC converter is connected in the enable pin PWR_EN of main control chip MCU.The mobile phone terminal circuit further comprises diode D2 and capacitor C 1.The positive pole of diode D2 connects the voltage output end of DC-DC converter 30, and the negative pole of diode D2 connects the power end VUSB of USB interface 20.One end of capacitor C 1 connects the voltage output end of DC-DC converter 30 and the positive pole of diode D2, other end ground connection.
Please in the lump referring to Fig. 2, Fig. 2 has shown loud speaker terminal circuit figure according to one preferred embodiment of the present invention.
In a preferred embodiment of the invention, the loud speaker terminal circuit comprises audio frequency power amplifier 50 and the USB socket 40 that is electrically connected with audio frequency power amplifier 50, and wherein, USB socket 40 has the ID pin of ground connection.The enable pin of audio frequency power amplifier 50 is connected with the VCC pin, as long as VCC power supply, that is: DC-DC converter 30 is opened, audio frequency power amplifier 50 work that promptly is unlocked.In the present embodiment, audio frequency power amplifier 50 is selected an AB class audio frequency power amplifier for use, and certainly, audio frequency power amplifier 50 also can select for use two power amplifiers to export simultaneously to realize left and right acoustic channels.Certainly, the type of audio frequency power amplifier 50 is not limited to this, also can select category-A, category-B, D class etc. for use.
Among the present invention, when USB socket 40 inserted USB interface 20, DC-DC converter 30 provided operating voltage for the loud speaker terminal circuit.Main control chip MCU 10 is coupled to data wire D+ with audio signal, D-, and by data wire D+, D-transfers to audio frequency power amplifier 50 and carries out power amplification, starts the loudspeaker plays music.On the other hand, when not needing to enable loud speaker and play, then can close DC-DC converter 30 to reach the power saving purpose by software control.When but other usb data lines of charger insert, because the existence of diode D2 can not influence the DC-DC circuit yet.
As mentioned above, those skilled in the art understand easily, when the USB of loud speaker terminal circuit socket 40 inserts the USB interface 20 of mobile phone terminal circuit, the ID pin of the ground connection of USB socket 40 is electrically connected with the unsettled ID pin of USB interface 20, USB interface 20 unsettled ID pins become low level by high level, that is: the level of the interrupt pin EINT that is electrically connected with the unsettled ID pin of USB interface 20 also becomes low level by high level; When USB socket 40 is extracted USB interface 20, the unsettled ID pin of the ID pin of the ground connection of USB socket 40 and USB interface 20 disconnects, interrupt pin EINT since on draw from low level and return to high level, the unsettled ID pin of USB interface 20 also becomes high level by low level.Thus, the present invention utilizes the insertion identification pin of the unsettled ID pin of USB interface 20 as external speaker, and main control chip MCU 10 changes the insertion of discerning loud speaker and extracts state by the height of the level of interrupt pin EINT.
In sum, the present invention has made full use of the USB interface of mobile phone, a kind of circuit that utilizes the external external speaker of mobile phone USB interface is provided, can realize thus discerning automatically external speaker insert extract, power supply control and voice-frequency channel control, make things convenient for the user to improve outer playback and imitate, and do not influence mobile phone USB and charge function and cell phone appearance.
In the above-described embodiments, only the present invention has been carried out exemplary description, but those skilled in the art can carry out various modifications to the present invention after reading present patent application under the situation that does not break away from the spirit and scope of the present invention.
Claims (8)
1. a circuit that utilizes the mobile phone external loudspeaker is characterized in that, described circuit comprises:
The mobile phone terminal circuit, comprise main control chip MCU and the USB interface that is electrically connected with described main control chip MCU, wherein, the interrupt pin EINT that draws on described main control chip MCU has, described USB interface has unsettled ID pin, and described unsettled ID pin is connected to described interrupt pin EINT;
The loud speaker terminal circuit comprises audio frequency power amplifier and the USB socket that is electrically connected with described audio frequency power amplifier, and wherein, described USB socket has the ID pin of ground connection;
Wherein, described mobile phone terminal circuit utilizes described unsettled ID pin to discern pin as the insertion of the described loud speaker of identification, and described main control chip MCU changes the insertion of discerning described loud speaker and extracts state by the height of the level of described interrupt pin EINT.
2. the circuit that utilizes the mobile phone external loudspeaker according to claim 1, it is characterized in that: when described USB socket inserts described USB interface, described unsettled ID pin becomes low level by high level, when described USB socket was extracted described USB interface, described unsettled ID pin became high level by low level.
3. the circuit that utilizes the mobile phone external loudspeaker according to claim 1, it is characterized in that: described mobile phone terminal circuit further comprises the DC-DC converter that is electrically connected with described main control chip MCU and described USB interface, when described USB socket inserted described USB interface, described DC-DC converter provided operating voltage for described loud speaker.
4. the circuit that utilizes the mobile phone external loudspeaker according to claim 3 is characterized in that: described main control chip MCU has enable pin PWR_EN, and described enable pin PWR_EN is connected with described DC-DC converter.
5. the circuit that utilizes the mobile phone external loudspeaker according to claim 3, it is characterized in that: described mobile phone terminal circuit further comprises diode D2 and capacitor C 1, the positive pole of described diode D2 connects the voltage output end of described DC-DC converter, and the negative pole of described diode D2 connects the power end of described USB interface; One end of described capacitor C 1 connects the voltage output end of described DC-DC converter and the positive pole of described diode D2, other end ground connection.
6. according to each described circuit that utilizes the mobile phone external loudspeaker in the claim 3 to 5, it is characterized in that: when not needing to enable described loud speaker and play, close described DC-DC converter.
7. according to each described circuit that utilizes the mobile phone external loudspeaker in the claim 1 to 5, it is characterized in that: described main control chip MCU has audio frequency output pin MP3_OUTL and audio frequency output pin MP3_OUTR, described USB interface has pin D+ and pin D-, described audio frequency output pin MP3_OUTL is connected with described pin D+, and described audio frequency output pin MP3OUTR is connected with described pin D-.
8. the circuit that utilizes the mobile phone external loudspeaker according to claim 7, it is characterized in that: be provided with the input resistance R3 and the capacitor C 4 of connecting between described audio frequency output pin MP3_OUTL and the described pin D+, be provided with the input resistance R2 and the capacitor C 3 of connecting between described audio frequency output pin MP3_OUTR and the described pin D-.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105706978A CN102065160A (en) | 2010-12-02 | 2010-12-02 | Circuit for being externally connected with loudspeaker by utilizing mobile phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010105706978A CN102065160A (en) | 2010-12-02 | 2010-12-02 | Circuit for being externally connected with loudspeaker by utilizing mobile phone |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102065160A true CN102065160A (en) | 2011-05-18 |
Family
ID=44000257
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010105706978A Pending CN102065160A (en) | 2010-12-02 | 2010-12-02 | Circuit for being externally connected with loudspeaker by utilizing mobile phone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102065160A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013010487A1 (en) * | 2011-07-18 | 2013-01-24 | 天地融科技股份有限公司 | Audio signal adapter device and audio signal transmission system |
WO2016107033A1 (en) * | 2014-12-31 | 2016-07-07 | 小米科技有限责任公司 | Electronic device and data transmission system |
US9984030B2 (en) | 2014-12-31 | 2018-05-29 | Xiaomi Inc. | Electronic device and data transmission system |
WO2019071555A1 (en) * | 2017-10-13 | 2019-04-18 | 深圳传音通讯有限公司 | Intelligent terminal-based audio circuit and audio playback system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201038354Y (en) * | 2007-02-09 | 2008-03-19 | 沈良银 | USB acoustic line |
US20090109639A1 (en) * | 2007-10-29 | 2009-04-30 | Chi Mei Communication Systems, Inc. | Portable electronic device and method for identifying accessory connected to the same |
CN101739374A (en) * | 2008-11-20 | 2010-06-16 | 纬创资通股份有限公司 | Signal transmission path selecting circuit and electronic device applying same |
US20100259399A1 (en) * | 2009-04-10 | 2010-10-14 | Kabushiki Kaisha Toshiba | Mobile communication device configured to sense external cable |
CN101901201A (en) * | 2010-08-06 | 2010-12-01 | 中兴通讯股份有限公司 | Method and device for realizing USB OTG function on electronic equipment |
-
2010
- 2010-12-02 CN CN2010105706978A patent/CN102065160A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN201038354Y (en) * | 2007-02-09 | 2008-03-19 | 沈良银 | USB acoustic line |
US20090109639A1 (en) * | 2007-10-29 | 2009-04-30 | Chi Mei Communication Systems, Inc. | Portable electronic device and method for identifying accessory connected to the same |
CN101739374A (en) * | 2008-11-20 | 2010-06-16 | 纬创资通股份有限公司 | Signal transmission path selecting circuit and electronic device applying same |
US20100259399A1 (en) * | 2009-04-10 | 2010-10-14 | Kabushiki Kaisha Toshiba | Mobile communication device configured to sense external cable |
CN101901201A (en) * | 2010-08-06 | 2010-12-01 | 中兴通讯股份有限公司 | Method and device for realizing USB OTG function on electronic equipment |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2013010487A1 (en) * | 2011-07-18 | 2013-01-24 | 天地融科技股份有限公司 | Audio signal adapter device and audio signal transmission system |
WO2016107033A1 (en) * | 2014-12-31 | 2016-07-07 | 小米科技有限责任公司 | Electronic device and data transmission system |
US9984030B2 (en) | 2014-12-31 | 2018-05-29 | Xiaomi Inc. | Electronic device and data transmission system |
WO2019071555A1 (en) * | 2017-10-13 | 2019-04-18 | 深圳传音通讯有限公司 | Intelligent terminal-based audio circuit and audio playback system |
CN111247781A (en) * | 2017-10-13 | 2020-06-05 | 深圳传音通讯有限公司 | Audio circuit and audio playback system based on intelligent terminal |
CN111247781B (en) * | 2017-10-13 | 2022-05-20 | 深圳传音通讯有限公司 | Audio circuit and audio playing system based on intelligent terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101917497B (en) | Method and device for earphone and USB to share micro-USB interface | |
CN103561369B (en) | Usb interface circuit and electronic equipment | |
CN203167074U (en) | Mobile terminal configured with reuse interface | |
CN105896221A (en) | Adaptor and double-sided magnetic type conversion assembly | |
CN102065160A (en) | Circuit for being externally connected with loudspeaker by utilizing mobile phone | |
CN207083202U (en) | A kind of TYPE C chargings earphone | |
CN202050447U (en) | Circuit capable of connecting mobile phone with external loudspeaker | |
CN102710821A (en) | Hand microphone for interphone and interphone | |
CN201898602U (en) | Passive sound box interface of mobile phone | |
CN207516993U (en) | A kind of Interface Expanding circuit and device | |
CN201426170Y (en) | Control circuit of loudspeaker capable of earphone-plug-in automatic mute | |
CN204013995U (en) | A kind of earphone interactive system and a kind of earphone | |
CN201243368Y (en) | Intelligent USB acoustic enclosure | |
CN112929722B (en) | External equipment for voice control of set top box | |
CN203387659U (en) | Multifunctional sound equipment control circuit | |
CN201029237Y (en) | Portable telephone sound recording device | |
CN116546410A (en) | Access detection method of electronic equipment interface, electronic equipment and storage medium | |
CN201138468Y (en) | Keyboard of loudspeaker box with USB sound card | |
CN203912158U (en) | USB and audio multiplexing line and Bluetooth sound box circuit | |
CN104702265A (en) | Multifunctional interface in wearable device | |
CN207304896U (en) | A kind of audio player | |
CN103108266A (en) | Earphone | |
CN206061082U (en) | A kind of earphone with mobile phone charging interface | |
CN206759127U (en) | Multifunctional charger baby | |
CN204408602U (en) | There is the sound equipment of USB interface |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20110518 |