A kind of infrared transmitter based on mobile terminal earphone interface
Technical field
The utility model relates to Infrared Ray Remote Control Technology field, particularly relates to a kind of infrared transmitter based on mobile terminal earphone interface.
Background technology
For existing a lot of mobile terminal, not there is infrared function.Want to realize the mainboard that infrared manipulation function just must revise mobile terminal, add infrared function by the mode embedding IC.
Utility model content
The purpose of this utility model is to propose a kind of infrared transmitter based on mobile terminal earphone interface, provides external infrared function by the earphone interface directly inserting mobile terminal for not having the mobile terminal of infrared function.
For reaching this object, the utility model by the following technical solutions:
Based on an infrared transmitter for mobile terminal earphone interface, described infrared transmitter is provided with headset plug, and during use, described headset plug inserts the earphone interface of mobile terminal;
Described infrared transmitter, comprise: resistance R1, resistance R2, resistance R3, resistance R4, light emitting diode D1, light emitting diode D2, infrared transmitting tube D3, electric capacity C1, and model is the infrared chip P1 of ET4003, the L channel pin of the first pin difference frames connecting with headphone interface of described infrared chip P1, the negative pole of light emitting diode D1, one end of the positive pole contact resistance R1 of described light emitting diode D1, the other end of described resistance R1 connects power supply VCC, the R channel pin of the second pin difference frames connecting with headphone interface of described infrared chip P1, the negative pole of light emitting diode D2, one end of the positive pole contact resistance R2 of described light emitting diode D2, the other end of described resistance R2 connects power supply VCC, 3rd pin of described infrared chip P1 is unsettled, the microphone pin of the 4th pin frames connecting with headphone interface of described infrared chip P1, one end of the 5th pin contact resistance R3 of described infrared chip P1, the other end of described resistance R3 connects the negative pole of infrared transmitting tube D3, 6th pin of described infrared chip P1 connects the positive pole of infrared transmitting tube D3 respectively, one end of resistance R4, one end of electric capacity C1, the other end of described resistance R4 connects power supply VCC, the other end ground connection of described electric capacity C1, the 7th pin ground connection of described infrared chip P1, 8th pin of described infrared chip P1 is unsettled.
Wherein, the resistance of described resistance R1 is 4.7K Ω, the resistance of resistance R2 is 4.7K Ω, the resistance of resistance R3 is 0 Ω, the resistance of resistance R4 is 0 Ω, the capacitance of electric capacity C1 is 1uF, the voltage of described power supply VCC is 2.8V.
Wherein, described headset plug is the headset plug of 3.5mm.
Beneficial effect:
A kind of infrared transmitter based on mobile terminal earphone interface described in the utility model, described infrared transmitter is provided with headset plug, and during use, described headset plug inserts the earphone interface of mobile terminal, described infrared transmitter, comprise: resistance R1, resistance R2, resistance R3, resistance R4, light emitting diode D1, light emitting diode D2, infrared transmitting tube D3, electric capacity C1, and model is the infrared chip P1 of ET4003, the L channel pin of the first pin difference frames connecting with headphone interface of described infrared chip P1, the negative pole of light emitting diode D1, one end of the positive pole contact resistance R1 of described light emitting diode D1, the other end of described resistance R1 connects power supply VCC, the R channel pin of the second pin difference frames connecting with headphone interface of described infrared chip P1, the negative pole of light emitting diode D2, one end of the positive pole contact resistance R2 of described light emitting diode D2, the other end of described resistance R2 connects power supply VCC, 3rd pin of described infrared chip P1 is unsettled, the microphone pin of the 4th pin frames connecting with headphone interface of described infrared chip P1, one end of the 5th pin contact resistance R3 of described infrared chip P1, the other end of described resistance R3 connects the negative pole of infrared transmitting tube D3, 6th pin of described infrared chip P1 connects the positive pole of infrared transmitting tube D3 respectively, one end of resistance R4, one end of electric capacity C1, the other end of described resistance R4 connects power supply VCC, the other end ground connection of described electric capacity C1, the 7th pin ground connection of described infrared chip P1, 8th pin of described infrared chip P1 is unsettled.Technical scheme described in the utility model can realize described infrared transmitter directly to be inserted in the earphone interface of mobile terminal by headset plug, external infrared function can be provided for not having the mobile terminal of infrared function, realizing manipulating household electrical appliances, automobile, medical treatment, electronics etc. by mobile terminal.
Accompanying drawing explanation
Fig. 1 is the internal circuit diagram of a kind of infrared transmitter based on mobile terminal earphone interface that the utility model embodiment provides.
Embodiment
The technical solution of the utility model is further illustrated by embodiment below in conjunction with accompanying drawing.
Fig. 1 is the internal circuit diagram of a kind of infrared transmitter based on mobile terminal earphone interface that the utility model embodiment provides.As shown in Figure 1, a kind of infrared transmitter based on mobile terminal earphone interface described in the utility model, described infrared transmitter is provided with headset plug, and during use, described headset plug inserts the earphone interface of mobile terminal;
Described infrared transmitter, comprise: resistance R1, resistance R2, resistance R3, resistance R4, light emitting diode D1, light emitting diode D2, infrared transmitting tube D3, electric capacity C1, and model is the infrared chip P1 of ET4003, the L channel pin of the first pin difference frames connecting with headphone interface of described infrared chip P1, the negative pole of light emitting diode D1, one end of the positive pole contact resistance R1 of described light emitting diode D1, the other end of described resistance R1 connects power supply VCC, the R channel pin of the second pin difference frames connecting with headphone interface of described infrared chip P1, the negative pole of light emitting diode D2, one end of the positive pole contact resistance R2 of described light emitting diode D2, the other end of described resistance R2 connects power supply VCC, 3rd pin of described infrared chip P1 is unsettled, the microphone pin of the 4th pin frames connecting with headphone interface of described infrared chip P1, one end of the 5th pin contact resistance R3 of described infrared chip P1, the other end of described resistance R3 connects the negative pole of infrared transmitting tube D3, 6th pin of described infrared chip P1 connects the positive pole of infrared transmitting tube D3 respectively, one end of resistance R4, one end of electric capacity C1, the other end of described resistance R4 connects power supply VCC, the other end ground connection of described electric capacity C1, the 7th pin ground connection of described infrared chip P1, 8th pin of described infrared chip P1 is unsettled.
Technical scheme described in the utility model, described infrared transmitter can be realized directly to be inserted in the earphone interface of mobile terminal by headset plug, external infrared function can be provided for not having the mobile terminal of infrared function, realizing manipulating household electrical appliances, automobile, medical treatment, electronics etc. by mobile terminal.There is the advantage of plug and play, cross-platform use.
Preferably, the resistance of described resistance R1 is 4.7K Ω, the resistance of resistance R2 is 4.7K Ω, the resistance of resistance R3 is 0 Ω, the resistance of resistance R4 is 0 Ω, the capacitance of electric capacity C1 is 1uF, the voltage of described power supply VCC is 2.8V.
Described headset plug is the headset plug of 3.5mm.Of coursing, in addition, also can be the plug of other models, as long as adapt with the earphone interface of described mobile terminal.
It should be noted that the components and parts of above circuit and parameter thereof are only the technical program preferred embodiment, the technical program can also select other components and parts and parameter thereof; According to public's general knowledge, those skilled in the art, for the application scenarios that the technical program is different, do not need to play creativity, just can adjust components and parts and parameter thereof.
The course of work of infrared transmitter described in the utility model is as follows:
First, described headset plug is inserted the earphone interface of mobile terminal, infrared chip P1 first learns the keyboard-coding of mobile terminal, then saves, when mobile terminal needs to control by control object, the control information of mobile terminal is given by control object by infrared transmitter more as required; Certain also have kind of a mode to be do not need to learn, and only the online keyboard-coding downloading different mobile terminal of needs preserves just directly to be sent to encode by the CPU of mobile terminal and then controls household electrical appliances etc. to infrared transmitter.Be specially: the CPU of mobile terminal sends infrared control signal, then by the 4th pin of infrared chip P1, namely learn pin to be transferred to infrared chip P1 and to carry out control treatment, described infrared chip P1 possesses learning and memory and stores the function of infrared control signal, and the described infrared control signal after process is sent to by control object by infrared transmitting tube D3, be such as TV, air-conditioning, refrigerator etc.Meanwhile, in the process of work, pointed out by light emitting diode D1, light emitting diode D2 flicker.
In the process used, only need to write corresponding APK (IOS) software to control infrared transmitter to the software aspect of mobile terminal, without the need to adding infrared function by the mode embedding IC again.For infrared chip model for ET4003, only need to judge that pin controls to two communication pin and a learning functionality, can simulate with the left and right acoustic channels bipod of earphone and microphone one pin.
The above; be only the utility model preferably embodiment; but protection domain of the present utility model is not limited thereto; anyly be familiar with those skilled in the art in the technical scope that the utility model discloses; be equal to according to the technical solution of the utility model and utility model design thereof and replace or change, all should be encompassed within protection domain of the present utility model.