CN206237461U - A kind of mobile terminal - Google Patents
A kind of mobile terminal Download PDFInfo
- Publication number
- CN206237461U CN206237461U CN201621146978.XU CN201621146978U CN206237461U CN 206237461 U CN206237461 U CN 206237461U CN 201621146978 U CN201621146978 U CN 201621146978U CN 206237461 U CN206237461 U CN 206237461U
- Authority
- CN
- China
- Prior art keywords
- speed
- sensitive switch
- output end
- processor
- mobile terminal
- 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.)
- Expired - Fee Related
Links
Landscapes
- Telephone Function (AREA)
Abstract
The utility model is related to electronic device field, discloses a kind of mobile terminal.The mobile terminal includes:Processor, audio, the first speed-sensitive switch and USB interface;Processor is connected with the detection pin of USB interface;First speed-sensitive switch has:Selection end, common port, the first output end and the second output end;Selection end and common port are connected with processor;Wherein, selection end control common port is in same time and an output end conducting;First output end is connected with audio;Audio and the second deferent segment are connected with the differential signal pin DP and DM of USB interface;Wherein, the data signal from the first output end can be converted to analog signal by audio.The utility model implementation method carries out numeral, simulation earphone and recognizes, and carry out path switching by the first speed-sensitive switch in terms of existing technologies, by processor, you can compatible digital Signal and the transmission of analog signal, helps to lift the experience of user.
Description
Technical field
The utility model is related to electronic device field, more particularly to a kind of mobile terminal.
Background technology
As mobile phone does thinner and thinner, traditional 3.5mm earphone interfaces increasingly become the bottleneck of mobile phone stack design.In order to
The problem is solved, some manufacturers begin to use USB interface to be multiplexed earphone interface, to avoid individually setting for the earphone interface
Meter.But traditional USB interface can only transmit data signal, therefore, it is multiplexed with the USB interface during earphone interface, can only also connect
Enter digital earphone, it is impossible to which compatible analog earphone, versatility is poor.
Utility model content
The purpose of this utility model is to provide a kind of mobile terminal so that the USB interface of the mobile terminal can be transmitted
Data signal, and energy transmission of analogue signal, so as to lift the experience of user.
In order to solve the above technical problems, implementation method of the present utility model provides a kind of mobile terminal, including:Treatment
Device, audio, the first speed-sensitive switch and USB interface;Processor is connected with the detection pin ID of USB interface;First speed-sensitive switch has
Have:Selection end, common port, the first output end and the second output end;Selection end and common port are connected with processor;Wherein, select
End control common port is in same time and an output end conducting;First output end is connected with audio;The difference of audio and USB interface
Sub-signal pin DP and DM are connected;Wherein, the data signal from the first output end can be converted to analog signal by audio;Second
Output end is connected with the differential signal pin DP and DM of USB interface.
The utility model implementation method in terms of existing technologies, the detection pin ID of processor and USB interface is connected
Connect, judge the type of the earphone of access USB interface.If the earphone of the access is digital earphone, processor can be high by first
The selection end control common port of speed switch and the conducting of the second output end, and exported to USB data signal by the second output end
Interface;If the earphone of the access is simulation earphone, processor can by the selection end of the first speed-sensitive switch control common port with
First output end is turned on, and is exported to audio data signal by the first output end, and the data signal is converted to mould by audio
After intending signal, you can by the analog signal output to USB interface.This mode causes that the USB of the utility model implementation method connects
Mouth can transmit data signal, and energy transmission of analogue signal, it is possible to while meeting two kinds of demands of user group, be conducive to carrying
Rise the experience of user.
Further, mobile terminal also includes the second speed-sensitive switch;Second output end and audio are opened by the second high speed
Pass is connected with the differential signal pin DP and DM of USB interface;Processor is also connected with the second speed-sensitive switch, and the second high speed of control is opened
The data signal of pass and the output switching of analog signal.The setting of the second speed-sensitive switch so that whether from the second output end
Data signal, or the analog signal from audio is required for just entering USB interface by second speed-sensitive switch.This
Way is planted, is conducive to, by data signal and analog signal isolating, preventing both interfere.
Further, the second speed-sensitive switch is connected with a GPIO interface of processor.
Further, the first speed-sensitive switch is multi-channel gating switch.
Further, the first speed-sensitive switch is single-pole double-throw switch (SPDT).
Further, selection end is connected with a GPIO interface of processor.
Further, the detection pin ID of USB interface is connected with a GPIO interface of processor.
Further, detection pin ID passes through a resistance eutral grounding.
Brief description of the drawings
Fig. 1 is the structured flowchart of the mobile terminal according to the utility model first embodiment.
Specific embodiment
It is new to this practicality below in conjunction with accompanying drawing to make the purpose of this utility model, technical scheme and advantage clearer
Each implementation method of type is explained in detail.However, it will be understood by those skilled in the art that each in the utility model
In implementation method, in order that reader more fully understands the application and proposes many ins and outs.But, even if without these skills
Art details and many variations based on following implementation method and modification, it is also possible to realize the application technical side required for protection
Case.
First embodiment of the present utility model is related to a kind of mobile terminal.
As shown in figure 1, in present embodiment, the mobile terminal includes:Processor, audio, the first speed-sensitive switch and USB connect
Mouthful.
Specifically, processor can be connected with the detection pin ID of the USB interface, and according to the change of signal come judge access
The type of the earphone of USB interface.In present embodiment, processor can be by a GPIO interface (GPIO3 i.e. in figure) and detection
Pin ID is connected, and detection pin ID can be grounded by a big resistance (resistance is more than 10k ohm).
The speed-sensitive switch has:Selection end, common port, the first output end and the second output end.Wherein, selection end can control
Common port is in same time and an output end conducting.Specifically, (selection end can to select end, common port to be connected with processor
It is connected with a GPIO interface of processor, i.e. GPIO1 in figure);First output end is connected with audio, audio and USB interface
Differential signal pin DP (D+) and DM (D-) connection;Second output end also connects with the differential signal pin DP and DM of USB interface
Connect.
When the earphone for accessing USB interface is digital earphone, processor can control the choosing of the first speed-sensitive switch by GPIO1
End is selected, its selection common port and the second output end is turned on.Now, processor can send to the common port of the first speed-sensitive switch
Data signal, the data signal is exported to the differential signal pin DP and DM of USB interface by the second output end, is accessed the USB and is connect
The digital earphone of mouth can receive the data signal.
When the earphone for accessing USB interface is for simulation earphone, processor can control the choosing of the first speed-sensitive switch by GPIO1
End is selected, its selection common port and the first output end is turned on.Now, processor sends numeral to the common port of the first speed-sensitive switch
Signal, the data signal is exported to audio by the first output end;Audio when the data signal from the first output end is received,
The data signal is converted into analog signal, and the analog signal of the conversion is sent to the differential signal pin DP of USB interface
And DM, the analog signal is received by the simulation earphone for accessing the USB interface.
It is noted that in present embodiment, processor is also connected with audio, and sends control signal to audio, with
The working condition of audio, such as control audio is controlled to turn the data signal when the data signal from the first output end is received
It is changed to analog signal.
Additionally, in present embodiment, the second speed-sensitive switch also can be set, make the second output of audio and the first speed-sensitive switch
End is connected by second speed-sensitive switch with the differential signal pin DP and DM of USB interface.Meanwhile, can also make processor and be somebody's turn to do
Second speed-sensitive switch connects (the second speed-sensitive switch can be connected with a GPIO interface of processor, i.e. GPIO2 in figure), to control
The data signal of the second speed-sensitive switch and the output switching of analog signal.
Specifically, when the earphone for accessing USB interface is for digital earphone, processor can be opened the second high speed by GPIO2
Concern is changed to data signal output mode, and the second speed-sensitive switch can be by the numeral of the second output end from the first speed-sensitive switch
Signal output to USB interface differential signal pin DP and DM.When the earphone for accessing USB interface is for simulation earphone, processor
Second speed-sensitive switch can be switched to by analog signal output pattern by GPIO2, the second speed-sensitive switch can be by from audio
Analog signal output to USB interface differential signal pin DP and DM.It is seen that, the setting of the second speed-sensitive switch is conducive to
The isolation of data signal and analog signal, prevents both from interfering.
Present embodiment, numeral, mould are carried out at cell phone mainboard end by the GPIO interface (GPIO3 i.e. in figure) of processor
Intend earphone identification, and path switching, earphone are carried out by two analog switches (i.e. the first speed-sensitive switch and the second speed-sensitive switch)
End then only needs to pass through big resistance eutral grounding on corresponding USB ID pin, you can a kind of adaptive hardware compatibility scheme of realization
(i.e. according to the headset type for accessing, selecting output digit signals or analog signal), while meeting numeral, two kinds of users of simulation
The need for colony, help to lift the experience of user.
The second embodiment of present embodiment is related to a kind of mobile terminal.Second embodiment is in first embodiment
On the basis of the further improvement done, mainly the improvement is that:Second embodiment further limits the first speed-sensitive switch, has
Beneficial to the operability of further lifting present embodiment.
Specifically, first speed-sensitive switch can be multi-channel gating switch.In present embodiment, the multi-channel gating switch can
Being two-way gating switch.During the GPIO1 outputs 0 of settable processor, common port and the first output end are turned on;It is public when exporting 1
End and the conducting of the second output end altogether, so as to realize that data signal switches with analog signal channel.
In actual applications, first speed-sensitive switch can also be single-pole double-throw switch (SPDT), and user can be according to actually need to be in spirit
Selection living.
It will be understood by those skilled in the art that the respective embodiments described above are to realize specific implementation of the present utility model
Example, and in actual applications, can to it, various changes can be made in the form and details, without departing from spirit of the present utility model
And scope.
Claims (8)
1. a kind of mobile terminal, it is characterised in that including:Processor, audio, the first speed-sensitive switch and USB interface;
The processor is connected with the detection pin ID of the USB interface;
First speed-sensitive switch has:Selection end, common port, the first output end and the second output end;
The selection end and the common port are connected with the processor;Wherein, the selection end controls the common port same
One time and an output end conducting;
First output end is connected with the audio;The audio connects with the differential signal pin DP and DM of the USB interface
Connect;Wherein, the data signal from first output end can be converted to analog signal by the audio;
Second output end is connected with the differential signal pin DP and DM of the USB interface.
2. mobile terminal according to claim 1, it is characterised in that the mobile terminal also includes the second speed-sensitive switch;
Second output end and the audio are by the differential signal pin of second speed-sensitive switch and the USB interface
DP and DM is connected;
The processor is also connected with second speed-sensitive switch, controls the data signal and simulation letter of second speed-sensitive switch
Number output switching.
3. mobile terminal according to claim 2, it is characterised in that second speed-sensitive switch and the one of the processor
GPIO interface is connected.
4. mobile terminal according to claim 1, it is characterised in that first speed-sensitive switch is multi-channel gating switch.
5. mobile terminal according to claim 1, it is characterised in that first speed-sensitive switch is single-pole double-throw switch (SPDT).
6. mobile terminal according to claim 1, it is characterised in that the selection end connects with a GPIO of the processor
Mouth connection.
7. mobile terminal according to claim 1, it is characterised in that the detection pin ID of the USB interface and the place
Manage the GPIO interface connection of device.
8. mobile terminal according to claim 1, it is characterised in that the detection pin ID passes through a resistance eutral grounding.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201621146978.XU CN206237461U (en) | 2016-10-21 | 2016-10-21 | A kind of mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201621146978.XU CN206237461U (en) | 2016-10-21 | 2016-10-21 | A kind of mobile terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN206237461U true CN206237461U (en) | 2017-06-09 |
Family
ID=58983547
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201621146978.XU Expired - Fee Related CN206237461U (en) | 2016-10-21 | 2016-10-21 | A kind of mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN206237461U (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110177178A (en) * | 2019-06-06 | 2019-08-27 | 四川赛科安全技术有限公司 | A kind of fire telephone host voice communications circuit and implementation method |
CN113507665A (en) * | 2021-07-09 | 2021-10-15 | 维沃移动通信有限公司 | Electronic equipment assembly and terminal equipment |
-
2016
- 2016-10-21 CN CN201621146978.XU patent/CN206237461U/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110177178A (en) * | 2019-06-06 | 2019-08-27 | 四川赛科安全技术有限公司 | A kind of fire telephone host voice communications circuit and implementation method |
CN113507665A (en) * | 2021-07-09 | 2021-10-15 | 维沃移动通信有限公司 | Electronic equipment assembly and terminal equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101783834B (en) | Mobile terminal and method for switching screen | |
US10949374B2 (en) | Type-C interface controlling circuit, controlling method and mobile terminal | |
CN105740193B (en) | A kind of usb circuit, terminal device, signaling interface and external equipment | |
CN108459982A (en) | The switching method of communication equipment and USB and serial ports | |
CN105955690B (en) | A kind of computer multi-screen switching device and method | |
CN206237461U (en) | A kind of mobile terminal | |
CN207924656U (en) | Usb interface multiplex circuit | |
CN103118191A (en) | Using control method and mobile terminal for iPhone wire control earphone | |
CN204990234U (en) | Many system control device based on touch -sensitive screen | |
CN208126380U (en) | A kind of high speed 1553B bus signals transmitting-receiving driving circuit | |
CN207995366U (en) | A kind of earphone compatible circuit and electric terminal | |
CN108062218B (en) | Sound card device | |
TWM614161U (en) | Multifunctional adapter device | |
CN202720638U (en) | Serial conversion circuit | |
CN202455500U (en) | General multi-functional headphone | |
CN204903617U (en) | Wireless oscillograph based on smart mobile phone | |
CN207752466U (en) | A kind of sound card device | |
CN203204588U (en) | Touch device capable of being switched between television and computer | |
CN204068964U (en) | The equipment of a kind of compatible for wired audio frequency and ANTENN AUDIO data channel | |
CN212809197U (en) | Multifunctional docking station supporting multi-USB-C switching | |
US8891755B2 (en) | Telephone set and method of controlling off-hook/on-hook state of the telephone set | |
CN204350273U (en) | Tone code product and tone code communication channel circuit | |
CN203689482U (en) | Wireless mixed type touch tablet | |
CN203261466U (en) | Effector apparatus connected with intelligent terminal | |
CN203149564U (en) | Serial-port automatic switching device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170609 Termination date: 20191021 |