CN203151728U - Circuit for transferring data by using earphone interface - Google Patents
Circuit for transferring data by using earphone interface Download PDFInfo
- Publication number
- CN203151728U CN203151728U CN 201320018072 CN201320018072U CN203151728U CN 203151728 U CN203151728 U CN 203151728U CN 201320018072 CN201320018072 CN 201320018072 CN 201320018072 U CN201320018072 U CN 201320018072U CN 203151728 U CN203151728 U CN 203151728U
- Authority
- CN
- China
- Prior art keywords
- circuit
- input
- triode
- output
- mobile phone
- 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
Images
Landscapes
- Telephone Function (AREA)
Abstract
The utility model provides a circuit for transferring data by using an earphone interface, comprising an input circuit and an output circuit. An input end of the input circuit is connected with a microphone input end of an earphone interface, an output end of the input circuit is connected with a microprocessor of a computer or a mobile phone, a first capacitor C1 and a first resistor R1 are connected between the input end and the output end of the input circuit, one end of the first capacitor C1 is grounded through a second resistor R2, and the other end of the first capacitor C1 is connected to a microprocessor connector. An input end of the output circuit is connected with the microprocessor of the computer or the mobile phone, the base of a first triode T1 is grounded through a fourth resistor R4, the collector of the first triode T1 is connected with a power supply through a fifth resistor R5, and the emitter of the first triode T1 is grounded. According to the utility model, data communication can be realized through an earphone interface of a mobile phone or a computer.
Description
Technical field
The utility model relates to a kind of circuit, relates in particular to the circuit that earphone interface transmits as data.
Background technology
The available data transmission is with the usb protocol of standard or special-purpose data-interface, uses the USB interface agreement, needs the USB hardware IC to do driving, utilizes special-purpose data-interface, and the mobile phone of different brands different model has different exclusive data interfaces, and compatibility is lower.
The utility model content
Under the sound channel of limited frequency range, utilize data-encoding scheme and reach the purpose of transfer of data, be the technical problems to be solved in the utility model, in order to address the above problem the circuit that the utility model provides a kind of earphone interface to transmit as data.
The circuit that a kind of earphone interface transmits as data, it comprises input circuit and output circuit;
The input of described input circuit is connected with the miaow peak input of Earphone joint, the output of described input circuit is connected with the microprocessor of computer or mobile phone, be connected a end that first capacitor C 1 and first resistance R, 1, the first capacitor C 1 be not connected with first resistance R 1 between the input of described input circuit and the output by second resistance R, 2 ground connection;
The input of output circuit is connected with the microprocessor of computer or mobile phone, the output of output circuit is connected with the L channel output of Earphone joint, the L channel output is connected with the base stage of the first triode T1, the base stage of the first triode T1 is by the 4th resistance R 4 ground connection, the collector electrode of the first triode T1 is connected the grounded emitter of the first triode T1 by the 5th resistance R 5 with power supply.
As further improvement of the utility model, also comprise the joint testing circuit, the input of described joint testing circuit is connected with the microprocessor of computer or mobile phone, and the output of described joint testing circuit is connected with the R channel output of Earphone joint.
As further improvement of the utility model, described joint testing circuit comprises the second triode T2, the base stage of the second triode T2 is connected with the miaow peak of Earphone joint by the 6th resistance R 6, the grounded emitter of the second triode T2, the collector electrode of the second triode T2 is connected with power supply by the 7th resistance R 7.
The utility model utilizes the sound channel to transmit as data, do not need complicated circuit and IC and can with mobile phone or computer transmission data, utilize the earphone interface on mobile phone or the computer just can realize data communication.
Description of drawings
Fig. 1 is the circuit diagram that a kind of earphone interface of the utility model transmits as data;
Fig. 2 is the packet of the utility model pedometer.
Embodiment
Below in conjunction with accompanying drawing the utility model is described further.
Portable electronic product is realized following function by circuit of the present utility model is set, and carries out data communication by the earphone interface on mobile phone or the panel computer.
Three circuit diagrams shown in Figure 1 are arranged in the electronic product (as pedometer), thereby realize carrying out with earphone interface the purpose of data communication.
Among the circuit diagram A, the pin of the data output micro-control processor from electronic product (as pedometer) is sent to the miaow peak input of Earphone joint in mobile phone or the computer through circuit.
Whether circuit diagram B joint detects input and is used for detecting earphone and has injected on the joint of mobile phone or computer, when joint has injected mobile phone or panel computer, and the flat From miaow of direct current Electricity peak output and be that low level is pointed out through circuit conversion.
Among the circuit diagram C, the earphone left channel loudspeaker of mobile phone or computer output data, and through the pin of circuit conversion to the micro-control processor of electronic product.
The circuit that a kind of earphone interface transmits as data, it comprises input circuit and output circuit;
The input of described input circuit is connected with the miaow peak input of Earphone joint, the output of described input circuit is connected with the microprocessor of computer or mobile phone, be connected an end of first capacitor C 1 and first resistance R, 1, the first capacitor C 1 between the input of described input circuit and the output by second resistance R, 2 ground connection;
The input of output circuit is connected with the microprocessor of computer or mobile phone, the output of output circuit is connected with the L channel output of Earphone joint, the L channel output is connected with the base stage of the first triode T1, the base stage of the first triode T1 is by the 4th resistance R 4 ground connection, the collector electrode of the first triode T1 is connected the grounded emitter of the first triode T1 by the 5th resistance R 5 with power supply.Also comprise the joint testing circuit, the input of described joint testing circuit is connected with the microprocessor of computer or mobile phone, and the output of described joint testing circuit is connected with the R channel output of Earphone joint.
Described joint testing circuit comprises the second triode T2, and the base stage of the second triode T2 is connected with the miaow peak of Earphone joint by the 6th resistance R 6, the grounded emitter of the second triode T2, and the collector electrode of the second triode T2 is connected with power supply by the 7th resistance R 7.
Be that example is carried out the circuit diagram function description below with the pedometer:
In transfer of data, when data transfer to mobile phone or laptop computer from consumption electronic product (pedometer), level data can be from " data output " this pin on the micro-control processor on the electronic product, reach by the voltage dividing potential drop on the circuit again and only permit the current effect of AC signal, thereby signal passes to " input of miaow peak " contact of Earphone joint on mobile phone or the laptop computer, different voltage distributes and can produce different waveform and frequency, now represent bit1 with 4K Hz, 2KHz represents bit0.
For example need transmit 2bytes data (numerical value=12h and 34h) on mobile phone or laptop computer, consumption electronic product earlier 7 bit1 of output (namely export 4Khz signal time=7x6.5ms=45.5ms), just begin afterwards to send every byte data, and the beginning of every byte data can add start bit (bit0) and ending adds stop bit (bit1).After all data have been sent, can add stop bit at last and end up.
When data from mobile phone or laptop computer transfers to consumption electronic product, level data can be from " the loud speaker output " of the Earphone joint on the mobile phone, Dc bias effect on oversampling circuit then, corresponding level just can be seen from " data input " this pin on the micro-control processor.The electric wave form is now used the Manchester coding method with before different
Data packet format with before transfer to mobile phone or laptop computer is the same from consumption electronic product, 7 bit1 are arranged earlier, just begin afterwards to send every byte data, and the beginning of every byte data can add start bit (bit0) and ending adds stop bit (bit1).After all data have been sent, can add stop bit at last and end up. but bit1, the change of format of bit0 is the manchester coding,
Namely
The time of every bit all is 6.5ms.
Above content be in conjunction with concrete preferred implementation to further describing that the utility model is done, can not assert that concrete enforcement of the present utility model is confined to these explanations.For the utility model person of an ordinary skill in the technical field, under the prerequisite that does not break away from the utility model design, can also make some simple deduction or replace, all should be considered as belonging to protection range of the present utility model.
Claims (3)
1. an earphone interface is used as the circuit that data transmit, and it is characterized in that: it comprises input circuit and output circuit;
The input of described input circuit is connected with the miaow peak input of Earphone joint, the output of described input circuit is connected with the microprocessor of computer or mobile phone, be connected a end that first capacitor C 1 and first resistance R, 1, the first capacitor C 1 be not connected with first resistance R 1 between the input of described input circuit and the output by second resistance R, 2 ground connection;
The input of output circuit is connected with the microprocessor of computer or mobile phone, the output of output circuit is connected with the L channel output of Earphone joint, the L channel output is connected with the base stage of the first triode T1, the base stage of the first triode T1 is by the 4th resistance R 4 ground connection, the collector electrode of the first triode T1 is connected the grounded emitter of the first triode T1 by the 5th resistance R 5 with power supply.
2. a kind of earphone interface according to claim 1 is as the circuit of data transmission, it is characterized in that: also comprise the joint testing circuit, the input of described joint circuit is connected with the microprocessor of computer or mobile phone, and the output of described joint circuit is connected with the high peak of the miaow of Earphone joint.
3. a kind of earphone interface according to claim 2 is as the circuit of data transmission, it is characterized in that: described joint testing circuit comprises the second triode T2, the base stage of the second triode T2 is connected with the miaow peak input of Earphone joint, the grounded emitter of the second triode T2, the collector electrode of the second triode T2 is connected with power supply by the 7th resistance R 7, and the base stage of the second triode T2 is connected with miaow peak input by the 6th resistance R 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201320018072 CN203151728U (en) | 2013-01-15 | 2013-01-15 | Circuit for transferring data by using earphone interface |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 201320018072 CN203151728U (en) | 2013-01-15 | 2013-01-15 | Circuit for transferring data by using earphone interface |
Publications (1)
Publication Number | Publication Date |
---|---|
CN203151728U true CN203151728U (en) | 2013-08-21 |
Family
ID=48979216
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 201320018072 Expired - Fee Related CN203151728U (en) | 2013-01-15 | 2013-01-15 | Circuit for transferring data by using earphone interface |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN203151728U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109560808A (en) * | 2018-12-28 | 2019-04-02 | 南京康派电子有限公司 | A kind of novel UART interface level conversion and multiplex electronics |
-
2013
- 2013-01-15 CN CN 201320018072 patent/CN203151728U/en not_active Expired - Fee Related
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109560808A (en) * | 2018-12-28 | 2019-04-02 | 南京康派电子有限公司 | A kind of novel UART interface level conversion and multiplex electronics |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN205050134U (en) | Portable power source TYPE -C interface management circuit | |
CN105848028A (en) | Earphone for charging audio device and method for charging audio device | |
CN107221983A (en) | A kind of charging control circuit and audio frequency apparatus | |
CN104953650A (en) | Battery electric quantity display device | |
CN207516993U (en) | A kind of Interface Expanding circuit and device | |
CN206147616U (en) | Novel USB audio frequency and two transmission circuits that charge | |
CN203151728U (en) | Circuit for transferring data by using earphone interface | |
CN209786836U (en) | Intelligence bluetooth headset storehouse of charging | |
CN205265633U (en) | Anti interfering signal magnification system | |
CN203707819U (en) | Wireless charging system | |
CN206313977U (en) | Plosive eliminating device and power amplifier circuit | |
CN206098990U (en) | Multifunctional interface conversion device | |
CN203457142U (en) | Audio signal transmitting circuit and mobile terminal | |
CN202773066U (en) | Low-cost radio frequency identification device based on audio interface | |
CN205039797U (en) | Compatible USB charges and audio transmission's interface circuit | |
CN203608335U (en) | Drive-by-wire device used for earphones and earphones | |
CN209693033U (en) | A kind of audio system | |
CN202694336U (en) | Device with data transmission circuit | |
CN208126185U (en) | A kind of industrial intelligent controlling terminal | |
CN207320896U (en) | Shared charger | |
CN206461747U (en) | A kind of Baffle Box of Bluetooth | |
CN206004900U (en) | Raise one's voice equipment and terminal assembly | |
CN205068247U (en) | Adapter and be furnished with notebook computer of this adapter | |
CN204761070U (en) | Battery power display device | |
CN104852429A (en) | Smart watch charging base integrated with music playing function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20130821 Termination date: 20160115 |
|
EXPY | Termination of patent right or utility model |