CN103220599A - Converting method and converter for portable device headset interface and serial communication interface - Google Patents
Converting method and converter for portable device headset interface and serial communication interface Download PDFInfo
- Publication number
- CN103220599A CN103220599A CN2013100941655A CN201310094165A CN103220599A CN 103220599 A CN103220599 A CN 103220599A CN 2013100941655 A CN2013100941655 A CN 2013100941655A CN 201310094165 A CN201310094165 A CN 201310094165A CN 103220599 A CN103220599 A CN 103220599A
- Authority
- CN
- China
- Prior art keywords
- interface
- serial communication
- portable set
- communication interface
- coding
- 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
Abstract
The invention relates to the field of converters, in particular to a converting method and a converter for a portable device headset interface and a serial communication interface. The converting method for the portable device headset interface and the serial communication interface is characterized in that a coding and decoding module is provided, and is used for achieving communication between a central processing unit (CPU) and a portable device, and the CPU outputs serial communication signals through the serial communication interface. The converting method and the converter for the portable device headset interface and the serial communication interface are used for achieving conversion between the portable device headset interface and the serial communication interface, and are simple in implement method, and low in cost.
Description
Technical field
The present invention relates to the transducer field, especially a kind of portable set headset interface and serial communication interface conversion method and transducer.
Background technology
FSK(Frequency-shift keying) be to use than a kind of modulation system early in the message transmission, its major advantage is: implement and be easier to antinoise and antifading better performances.In middle low speed data transmission, obtained using widely.Modal is the double frequency FSK system of carrying binary ones and 0 with two frequencies.
Technical FSK has two classification, incoherent and relevant FSK.In noncoherent FSK, the transfer between the instantaneous frequency is two discrete values called after mark and spatial frequencys.On the other hand, in relevant frequency shift keying or binary FSK, be not have the rest periods in output signal.
In digital times, compunlcation transmits on data circuit (telephone wire, network cable, optical fiber or wireless medium), carry out with fsk modulated signal, promptly binary data is converted to the fsk signal transmission, again the fsk signal that receives is demodulated to binary data conversely, and be converted into high, the binary language that low level is represented, this is the language that computer can Direct Recognition.
Dual tone multi-frequency dtmf (Dual Tone Multi Frequency), dual-tone multifrequency is made up of high frequency group and low frequency group, and the height frequency group respectively comprises 4 frequencies.A composite signal is formed in a high-frequency signal and a low frequency signal stack, represents a numeral.Dtmf signal has 16 codings.Dtmf signal comprises two groups of audio signals, and the task of decoder is by mathematic(al) manipulation it to be transformed into frequency domain from time domain, draws corresponding digital information then.Because what chip was handled is digital signal, so must the input signal digitlization be handled with dsp chip again.During frequency detecting, detect the first-harmonic and the second harmonic of dtmf signal, dtmf signal only has higher energy, voice signal on first-harmonic then be to be superimposed with stronger second harmonic on first-harmonic, and the effect that detects second harmonic is to be used for distinguishing dtmf signal and language and music signal.
DTMF is made of low frequency group (fb) and high frequency group (fa) two class frequency signals, and each digital signal is formed by stacking by any one of low frequency combination high frequency group.Suggestion according to CCITT, the definition of the coding and decoding of DTMF can be represented by the formula in f (t)=A_{a}sin (2f_{a}t)+A_{b}sin (2f_{b}t) formula two and represents value low, high audio respectively, Ab and Aa represent respectively to hang down the sample value quantification baseline that tone cluster is closed high tone cluster, and both amplitudes are than being K=Ab/Aa (0.7<K<0.9).Stipulate simultaneously, corresponding to the nominal frequency in the DTMF coding and decoding when sending, the frequency departure of dtmf signal should not surpass 1.5%, the pickup electrode limit of bits per inch word should be greater than 40ms, and receiving equipment should be able to receive reliably to 2% deviation, can normally receive the signal of 30ms ~ 40ms duration.
Different with the single-tone coding, dtmf signal is to adopt to get 2 mode in 8, respectively getting an audio frequency from two sound groups of height is composited and represents ten numbers of 0-9 and other function codes, each frequency of adding these 8 audio signals is with there not being harmonic relationships, significantly reduced the spurious signal lamp and disturbed, thus the dtmf signal functional reliability particularly antijamming capability is very strong.
Summary of the invention
In view of this, the purpose of this invention is to provide a kind of portable set headset interface and serial communication interface conversion method and transducer.
The present invention adopts following scheme to realize: a kind of portable set headset interface and serial communication interface conversion method is characterized in that: a coding/decoding module is provided, is used to realize the communication between a CPU and the portable set; Described CPU is by serial communication interface output serial communication signals.
In an embodiment of the present invention, described coding/decoding module is used for the signal of described portable set by the transmission of headset interface carried out encoding and decoding and send described CPU to by the AD interface, perhaps described CPU is carried out encoding and decoding and sends described portable set to by the signal of DA interface output.
In an embodiment of the present invention, described coding/decoding module is DTMF module or FSK module.
The present invention also provides a kind of portable set headset interface and serial communication interface transducer, comprises a CPU, it is characterized in that: described CPU connects a coding/decoding module and a serial communication interface, and described coding/decoding module connects a headset interface.
In an embodiment of the present invention, described coding/decoding module is DTMF module or FSK module.
In an embodiment of the present invention, described serial communication interface comprises RS232 interface or RS422 interface.
In an embodiment of the present invention, described CPU is connected with described coding/decoding module with the DA interface by the AD interface.
In an embodiment of the present invention, described coding/decoding module is integrated among the described CPU.
In an embodiment of the present invention, described portable set is mobile phone or flat board.
In an embodiment of the present invention, also comprise a power module, with thinking described transducer power supply.
The present invention is used to realize the conversion between headset interface and the serial communication interface, and implementation method is simple, and is with low cost.
Description of drawings
Fig. 1 is the frame diagram of portable set headset interface of the present invention and serial communication interface transducer.
Embodiment
For making purpose of the present invention, technical scheme and advantage clearer, below will the present invention be described in further detail by specific embodiment and relevant drawings.
The invention provides a kind of portable set headset interface and serial communication interface conversion method, it is characterized in that: a coding/decoding module is provided, is used to realize the communication between a CPU and the portable set; Described CPU is by serial communication interface output serial communication signals.
In a preferred embodiment of the present invention, described coding/decoding module is used for the signal of described portable set by the transmission of headset interface carried out encoding and decoding and send described CPU to by the AD interface, perhaps described CPU is carried out encoding and decoding and sends described portable set to by the signal of DA interface output.Described coding/decoding module is DTMF module or FSK module.
The present invention also provides a kind of portable set headset interface and serial communication interface transducer, comprises a CPU, it is characterized in that: described CPU connects a coding/decoding module and a serial communication interface, and described coding/decoding module connects a headset interface.
As shown in Figure 1, present embodiment provides a kind of portable set headset interface and serial communication interface transducer, comprise a CPU1(central processing unit), it is characterized in that: described CPU1 connects a coding/decoding module 2 and a serial communication interface 3, and described coding/decoding module 2 connects a headset interface 4.
In a preferred embodiment of the present invention, described coding/decoding module is DTMF module or FSK module etc.; Described serial communication interface can be RS232 interface or RS422 interface etc.; Described CPU is connected with described coding/decoding module with the DA interface by the AD interface, the headset interface of portable set (comprising earphone interface or microphone interface etc.) inserts in the headset interface 4 of described transducer, described coding/decoding module is used for the signal of described portable set by the transmission of headset interface carried out encoding and decoding and send described CPU to by the AD interface, perhaps described CPU is carried out encoding and decoding and sends described portable set to by the signal of DA interface output; Described portable set is mobile phone or flat board etc.; Also comprise a power module, with thinking described transducer power supply.In a preferred embodiment of the present invention, described coding/decoding module can be integrated among the described CPU.
FSK(Frequency-shift keying, frequency shift keying) be to utilize the frequency change of carrier wave to transmit digital information, it is to utilize the discrete value characteristics of baseband digital signal to go the keyed carrier frequency to transmit a kind of digital modulation technique of information.DTMF(Dual Tone Multi Frequency, dual-tone multifrequency) to form by high frequency group and low frequency group, the height frequency group respectively comprises 4 frequencies.
The present invention is used to realize the conversion between headset interface and the serial communication interface, and implementation method is simple, and is with low cost.
Above-listed preferred embodiment; the purpose, technical solutions and advantages of the present invention are further described; institute is understood that; the above only is preferred embodiment of the present invention; not in order to restriction the present invention; within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.
Claims (10)
1. portable set headset interface and serial communication interface conversion method is characterized in that: a coding/decoding module is provided, is used to realize the communication between a CPU and the portable set; Described CPU is by serial communication interface output serial communication signals.
2. portable set headset interface according to claim 1 and serial communication interface conversion method, it is characterized in that: described coding/decoding module is used for the signal of described portable set by the transmission of headset interface carried out encoding and decoding and send described CPU to by the AD interface, perhaps described CPU is carried out encoding and decoding and sends described portable set to by the signal of DA interface output.
3. portable set headset interface according to claim 1 and serial communication interface conversion method is characterized in that: described coding/decoding module is DTMF module or FSK module.
4. portable set headset interface and serial communication interface transducer comprise a CPU, and it is characterized in that: described CPU connects a coding/decoding module and a serial communication interface, and described coding/decoding module connects a headset interface.
5. portable set headset interface according to claim 4 and serial communication interface transducer is characterized in that: described coding/decoding module is DTMF module or FSK module.
6. portable set headset interface according to claim 4 and serial communication interface transducer is characterized in that: described serial communication interface comprises RS232 interface or RS422 interface.
7. portable set headset interface according to claim 4 and serial communication interface transducer is characterized in that: described CPU is connected with described coding/decoding module with the DA interface by the AD interface.
8. portable set headset interface according to claim 4 and serial communication interface transducer is characterized in that: described coding/decoding module is integrated among the described CPU.
9. portable set headset interface according to claim 4 and serial communication interface transducer is characterized in that: described portable set is mobile phone or flat board.
10. portable set headset interface according to claim 4 and serial communication interface transducer is characterized in that: also comprise a power module, with thinking described transducer power supply.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100941655A CN103220599A (en) | 2013-03-22 | 2013-03-22 | Converting method and converter for portable device headset interface and serial communication interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100941655A CN103220599A (en) | 2013-03-22 | 2013-03-22 | Converting method and converter for portable device headset interface and serial communication interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103220599A true CN103220599A (en) | 2013-07-24 |
Family
ID=48817987
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013100941655A Pending CN103220599A (en) | 2013-03-22 | 2013-03-22 | Converting method and converter for portable device headset interface and serial communication interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103220599A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1658620A (en) * | 2005-04-12 | 2005-08-24 | 哈尔滨信诺数码科技有限公司 | Intelligent talking terminal |
CN1708772A (en) * | 2000-07-07 | 2005-12-14 | 高通股份有限公司 | Method and apparatus for secure identity authentication with audible tones |
US20070223665A1 (en) * | 1992-01-29 | 2007-09-27 | Classco Inc., A New Hampshire Corporation | Calling party announcement apparatus |
CN201341169Y (en) * | 2009-01-08 | 2009-11-04 | 沈逸林 | Multifunctional media phone terminal |
CN102394979A (en) * | 2011-11-07 | 2012-03-28 | 武汉天喻信息产业股份有限公司 | Method for performing high-speed data transmission through communication earphone interface |
CN102523092A (en) * | 2011-12-05 | 2012-06-27 | 上海柯斯软件有限公司 | Audio-based non-contact integrated circuit (IC) card and mobile authentication data transmission device |
CN203167246U (en) * | 2013-03-22 | 2013-08-28 | 福州欣联达电子科技有限公司 | Portable equipment earphone interface and serial communication interface converter |
-
2013
- 2013-03-22 CN CN2013100941655A patent/CN103220599A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20070223665A1 (en) * | 1992-01-29 | 2007-09-27 | Classco Inc., A New Hampshire Corporation | Calling party announcement apparatus |
CN1708772A (en) * | 2000-07-07 | 2005-12-14 | 高通股份有限公司 | Method and apparatus for secure identity authentication with audible tones |
CN1658620A (en) * | 2005-04-12 | 2005-08-24 | 哈尔滨信诺数码科技有限公司 | Intelligent talking terminal |
CN201341169Y (en) * | 2009-01-08 | 2009-11-04 | 沈逸林 | Multifunctional media phone terminal |
CN102394979A (en) * | 2011-11-07 | 2012-03-28 | 武汉天喻信息产业股份有限公司 | Method for performing high-speed data transmission through communication earphone interface |
CN102523092A (en) * | 2011-12-05 | 2012-06-27 | 上海柯斯软件有限公司 | Audio-based non-contact integrated circuit (IC) card and mobile authentication data transmission device |
CN203167246U (en) * | 2013-03-22 | 2013-08-28 | 福州欣联达电子科技有限公司 | Portable equipment earphone interface and serial communication interface converter |
Non-Patent Citations (1)
Title |
---|
APU SARMAH, AKSHIT GAIROLA, RISHABH KHURANA, RAJAT MEHTA: ""Mobile Controlled Smart PLC"", 《PROCEEDINGS OF INTERNATIONAL CONFERENCE ON CIRCUITS,SYSTEM AND SIMULATION(ICCSS 2011)》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102571214A (en) | Sound wave communication system and communication method applied to same | |
CN102263576B (en) | Wireless information transmitting method and method realizing device | |
CN203352606U (en) | System for listening wireless broadcasts, Bluetooth earphone and mobile terminal | |
CN103634254A (en) | Indirect modulation and demodulation data transmission device and transmission method thereof | |
CN106506029A (en) | A kind of u piece of digital wireless audio transmission system and its transmission method | |
CN106375024A (en) | Acoustic communication system and method | |
CN201608734U (en) | Multi-standard self-adaptive modulator-demodulator | |
CN103188576A (en) | Analog interphone digitization achieving device | |
CN105915293A (en) | Voice digital information transmission system and method based on wireless acoustic signals | |
CN103149874A (en) | Industrial control equipment with earphone communication interface and implementation method | |
CN105243036B (en) | A kind of chromacoder and method | |
CN203167246U (en) | Portable equipment earphone interface and serial communication interface converter | |
CN104008641B (en) | Mobile terminal, card reader, mobile terminal audio communication method and mobile terminal voice communication system | |
CN203057167U (en) | Transmitting and receiving device using standard communication system to transmit encrypted voice | |
CN103220599A (en) | Converting method and converter for portable device headset interface and serial communication interface | |
CN202695907U (en) | Audio signal transferring and receiving device and audio signal transmission system | |
CN203133830U (en) | External interface equipment and signal transmission system based on earphone passage | |
CN102256193B (en) | Audio signal receiving device and audio signal transmission system | |
CN102594989A (en) | Data communication method, system and terminal | |
CN106792466A (en) | A kind of equipment end and host side communication means | |
CN201114023Y (en) | Modem | |
CN201444653U (en) | Audio system capable of suppressing echoes and mobile communication device with same | |
CN101816136A (en) | Method and apparatus for communicating sound wave of human body | |
CN106411810B (en) | IF modulator, if demodulator and more waveform confluence devices | |
CN103995480B (en) | A kind of system and method by earphone socket exchange data |
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: 20130724 |