CN104092824A - Serial port communication method achieved through left sound track and right sound track of earphone of mobile phone by means of signal difference - Google Patents

Serial port communication method achieved through left sound track and right sound track of earphone of mobile phone by means of signal difference Download PDF

Info

Publication number
CN104092824A
CN104092824A CN201410331351.0A CN201410331351A CN104092824A CN 104092824 A CN104092824 A CN 104092824A CN 201410331351 A CN201410331351 A CN 201410331351A CN 104092824 A CN104092824 A CN 104092824A
Authority
CN
China
Prior art keywords
mobile phone
sound track
serial port
earphone
port communication
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
Application number
CN201410331351.0A
Other languages
Chinese (zh)
Inventor
付银海
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to CN201410331351.0A priority Critical patent/CN104092824A/en
Publication of CN104092824A publication Critical patent/CN104092824A/en
Pending legal-status Critical Current

Links

Abstract

The invention relates to a serial port communication method achieved through a left sound track and a right sound track of an earphone of a mobile phone by means of the signal difference. As is shown in the abstract attached drawings, according to the method, a peripheral device is connected with the mobile phone through a standard earphone jack, and the left sound track and the right sound track of the earphone jack form a data output channel by means of a difference circuit. Audio signals outputted by the mobile phone are digital square signals which are formed through the difference circuit according to an analog waveform pair which conforms to the serial port protocol and has the volume difference between the left sound track and the right sound track. The method has the advantages that the implementation cost is low, and the peripheral device needs to be provided with a serial port communication interface. No special requirement for the hardware of the mobile phone exists. Compared with a scheme for achieving communication only through sine/cosine waves which are output by a single sound track and at different frequencies, the serial port communication method has the advantages that the higher communication speed, namely, the upper limit of the audio output frequency capable of being provided by the mobile phone, can be achieved, and meanwhile the influences of noise outputted due to audio trailing of the mobile phone on serial portion transmission can be avoided.

Description

The serial port communication method that utilizes handset earphone left and right acoustic channels to realize through signal differential
Affiliated technical field
The present invention relates to, by utilizing mobile phone that handset earphone left and right acoustic channels realizes through difference channel to the unidirectional serial port communication method of ancillary equipment, make mobile phone equipment transmission data to the periphery.
Background technology
Mobile phone is very universal as people's periodic traffic instrument, and the application program based on mobile phone development and ancillary equipment thereof are also more and more.The interface shape disunity of various mobile phones, incompatible, so the interface of ancillary equipment and mobile phone is also very difficult unified, must develop the ancillary equipment to different handset port types.This has caused complexity and the cost of ancillary equipment exploitation significantly to increase, and has limited the popularization of mobile phone application.
The existing method communication speed that the single sound channel of handset earphone is communicated by letter with ancillary equipment through frequency modulation(FM) of utilizing will be far below the available audio frequency output frequency of mobile phone.
Considerable part mobile phone can be exported hangover audio signal, only by a sound channel, when rs 232 serial interface signal is exported in frequency modulation(FM), there will be afterbody noise, and communication quality is affected.
Summary of the invention
A kind of unidirectional serial port communication method that utilizes handset earphone left and right acoustic channels to realize through difference channel that the present invention proposes, for mobile phone provides a conventional data transmission means to ancillary equipment.As shown in Figure 1, method of the present invention is that ancillary equipment passes through standard earphone interface and is connected with mobile phone, because the standardization of the earphone jack of most model mobile phones and ubiquity, so the inventive method has applicability widely.
Mobile phone is to the unidirectional serial communication of ancillary equipment, and implementation method comprises as follows:
1, utilize the L channel of mobile phone and the downlink that R channel access differential circuit is exported as data.
2, because mobile phone can only output audio signal, need to be the signal waveform of stipulating according to serial port protocol, maintenance left and right acoustic channels has the voice data that in the poor situation of certain volume, binary bit is made into left and right dual track to play two inputs (keep L channel volume higher than R channel during transmission binary one, keep L channel volume lower than R channel during transmission Binary Zero) that output to difference channel simultaneously.Take transmitting serial port binary data 0000011001 as example, the volume sequential of the left and right acoustic channels of its requirement is shown in accompanying drawing 2, and actual volume is that louder volume ± 5% beats to promote mobile phone hardware circuit output waveform during louder volume output, during amount of bass output, actual volume is that amount of bass ± 5% fluctuates to promote mobile phone hardware circuit output waveform.
3, the output of difference channel produces the serial ports receiving terminal that the square-wave waveform signal that meets serial communication protocol directly accesses ancillary equipment.Take transmitting serial port binary data 0000011001 as example, and the square-wave waveform of its output is shown in accompanying drawing 3.
4, the advantage of above-mentioned implementation method is that to realize cost low, in the design of ancillary equipment, need to possess serial communication support, with respect to the serial communication scheme only realizing by monophony, can reach higher mobile phone to ancillary equipment traffic rate (handset audio is play the upper limit of frequency), and after the difference of left and right acoustic channels, can consider to there being the mobile phone of hangover signal output that (part voicefrequency circuit mobile phone of low quality can be play and still export certain superfluous signal while finishing at audio frequency after output one section audio except hangover, this signal not exclusively produces because of the capacitor charge and discharge of audio output circuit, this characteristic can reduce the communication quality that only carries out serial communication with a sound channel and ancillary equipment).
5, the advantage of above-mentioned implementation method is that applicability is good, and most existing mobile phones comprise that the earphone interface of smart mobile phone and non intelligent mobile phone is standardization and unified, and this method has applicability widely.
Accompanying drawing explanation
Below in conjunction with drawings and Examples, the present invention is further described.
Fig. 1 is the schematic diagram of supporting the inventive method
As shown in Figure 1, the signal between ancillary equipment and earphone interface of mobile phone connects the L channel R channel that comprises earphone interface, and mobile phone and ancillary equipment need to be altogether.
As shown in Figure 1, mobile phone L channel is connected with the forward input of difference channel, and the R channel of mobile phone is connected with the input of the negative sense of difference channel.
As shown in Figure 1, the output of difference channel is connected with the serial ports input of peripheral circuit.
Fig. 2 is the left and right acoustic channels volume sequential chart that mobile phone is exported when modulated binary 0000011001, when sound channel output louder volume or amount of bass, this volume is not a constant absolute figure, but in given definitely ± 5% volume change sequence of fluctuation, can promote mobile phone output audio waveform.
Fig. 3 is the sequential chart of the square wave low and high level after difference channel output.
Embodiment
In the following detailed description, specific details has been described to the complete understanding to invention is provided.
Accompanying drawing 1 is for supporting the schematic diagram of apparatus of the present invention
The inventive method does not have specific (special) requirements to the mobile phone shown in accompanying drawing 1, it can be non-smart mobile phone, also can be smart mobile phone, as long as there is standardized earphone interface and jack, and corresponding application program of mobile phone can be installed, can realize mobile phone to the unidirectional serial communication of ancillary equipment, there is general applicability.
The communication interface of mobile phone and ancillary equipment is serial port form, and the data that send are as required made into left and right acoustic channels with the form of combination of bytes has the poor audio stream of volume to play output.
It can be also that other has the analog signal comparing function electronic component of revolution word output again that the current potential comparing element of using in difference channel shown in accompanying drawing 1 is not only limited to LM358.
After application program launching, by initialization, ancillary equipment can automatically be detected and whether connect, after initialization success, mobile phone can be with ancillary equipment through the normal one-way communication of difference channel.
This illustrates that claimed method characteristic is to utilize that left and right acoustic channels volume is poor realizes the square-wave signal that output string port communications requires, and the model parameter of the element that in figure, example provides can be passed through modification, replacement, variation and equivalent substitution.Therefore, the scope of protection of the invention is as the criterion with the scope of appended claim.

Claims (2)

1. a unidirectional serial port communication method that utilizes handset earphone left and right acoustic channels to realize after signal differential output digital square-wave, makes by earphone interface, to realize between mobile phone and ancillary equipment the one-way transmission of data.
2. according to claim 1, the feature of this method is to utilize the L channel of handset earphone and R channel after difference channel, to export Digital Square-Wave as the data output channel of mobile phone.
CN201410331351.0A 2014-07-08 2014-07-08 Serial port communication method achieved through left sound track and right sound track of earphone of mobile phone by means of signal difference Pending CN104092824A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410331351.0A CN104092824A (en) 2014-07-08 2014-07-08 Serial port communication method achieved through left sound track and right sound track of earphone of mobile phone by means of signal difference

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410331351.0A CN104092824A (en) 2014-07-08 2014-07-08 Serial port communication method achieved through left sound track and right sound track of earphone of mobile phone by means of signal difference

Publications (1)

Publication Number Publication Date
CN104092824A true CN104092824A (en) 2014-10-08

Family

ID=51640504

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410331351.0A Pending CN104092824A (en) 2014-07-08 2014-07-08 Serial port communication method achieved through left sound track and right sound track of earphone of mobile phone by means of signal difference

Country Status (1)

Country Link
CN (1) CN104092824A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104901709A (en) * 2015-04-10 2015-09-09 苏州尚德智产通信技术有限公司 Radio system having mobile terminal and peripheral equipment, and radio system control method
CN108377291A (en) * 2018-01-29 2018-08-07 维沃移动通信有限公司 A kind of communication means and mobile terminal based on earphone interface

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030008616A1 (en) * 2001-07-09 2003-01-09 Anderson Lelan S. Method and system for FM stereo broadcasting
CN102413208A (en) * 2011-10-14 2012-04-11 杭州芯赛微电子有限公司 Method for realizing serial port communication by utilizing mobile phone earphone interface
CN203554423U (en) * 2013-11-08 2014-04-16 北京旋极信息技术股份有限公司 Anti-interference audio frequency reception device and anti-interference audio frequency reception system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030008616A1 (en) * 2001-07-09 2003-01-09 Anderson Lelan S. Method and system for FM stereo broadcasting
CN102413208A (en) * 2011-10-14 2012-04-11 杭州芯赛微电子有限公司 Method for realizing serial port communication by utilizing mobile phone earphone interface
CN203554423U (en) * 2013-11-08 2014-04-16 北京旋极信息技术股份有限公司 Anti-interference audio frequency reception device and anti-interference audio frequency reception system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104901709A (en) * 2015-04-10 2015-09-09 苏州尚德智产通信技术有限公司 Radio system having mobile terminal and peripheral equipment, and radio system control method
CN104901709B (en) * 2015-04-10 2018-02-13 苏州尚德智产通信技术有限公司 A kind of Radio system and its control method comprising mobile terminal and external device
CN108377291A (en) * 2018-01-29 2018-08-07 维沃移动通信有限公司 A kind of communication means and mobile terminal based on earphone interface
CN108377291B (en) * 2018-01-29 2020-05-12 维沃移动通信有限公司 Communication method based on earphone interface, mobile terminal and storage medium

Similar Documents

Publication Publication Date Title
CN101247183B (en) Transmission device, receiving device, system and method for implementing communication based on ultrasonic wave
EP2400723A1 (en) Data transfer management method using a Bluetooth type interface
CN102724367B (en) Mobile phone extension system, signal transfer equipment and mobile phone
CN103167371A (en) Bluetooth headset with record storage function and vehicle with same
CN102201826B (en) Audio signal switching and receiving device and audio signal transmission system
CN102413208A (en) Method for realizing serial port communication by utilizing mobile phone earphone interface
CN105322985A (en) System and method for testing Bluetooth connection of vehicle-borne multimedia equipment
CN102387429B (en) Audio signal switching device and audio signal transmission system
CN102938870A (en) Low cost radio frequency recognition device and method based on audio interface
CN105050013A (en) MEMS microphone and work control method of such MEMS microphone
CN205622849U (en) Portable multitrack surround sound wireless sound system
CN104092824A (en) Serial port communication method achieved through left sound track and right sound track of earphone of mobile phone by means of signal difference
CN103067587A (en) Device, mobile phone and method based on audio interface and used for bidirectional data transmission
CN206602662U (en) A kind of pick up facility based on time-sharing multiplex interface
CN105049998B (en) A kind of audio communication device
CN105915293A (en) Voice digital information transmission system and method based on wireless acoustic signals
CN202444603U (en) 2.4G S/PDIF (Sony/Philips Digital Interface) wireless earphone device of set-top box
CN104113820A (en) Method for data communication between IOS and Bluetooth module
KR101476908B1 (en) Transmitter, receiver and communication system using earphone port of mobile terminal
CN102256193B (en) Audio signal receiving device and audio signal transmission system
CN103347114B (en) Bluetooth-based DTMF decoding method and system
CN102752019A (en) Data sending, receiving and transmitting method and system based on headset jack
CN204316513U (en) A kind of audio communication system based on sound wave
CN104023279A (en) Method of realizing receiving and sending of analog signals in digital interphone and device
CN206743525U (en) A kind of small size Bluetooth audio frequency module

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
DD01 Delivery of document by public notice

Addressee: Fu Yinhai

Document name: Notification of Passing Preliminary Examination of the Application for Invention

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20141008