CN106330335B - 38K Carrier Modulation communications communicate the structure for sharing one group of infrared receiving/transmission circuit with SIR - Google Patents
38K Carrier Modulation communications communicate the structure for sharing one group of infrared receiving/transmission circuit with SIR Download PDFInfo
- Publication number
- CN106330335B CN106330335B CN201610665599.XA CN201610665599A CN106330335B CN 106330335 B CN106330335 B CN 106330335B CN 201610665599 A CN201610665599 A CN 201610665599A CN 106330335 B CN106330335 B CN 106330335B
- Authority
- CN
- China
- Prior art keywords
- sir
- pin
- carrier
- signal
- communications
- 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.)
- Active
Links
- 230000006854 communication Effects 0.000 title claims abstract description 120
- 238000004891 communication Methods 0.000 title claims abstract description 118
- 230000005540 biological transmission Effects 0.000 title claims abstract description 52
- 238000000034 method Methods 0.000 claims description 9
- 238000007667 floating Methods 0.000 claims description 8
- 238000001914 filtration Methods 0.000 claims description 7
- 230000005611 electricity Effects 0.000 claims description 6
- 230000008054 signal transmission Effects 0.000 claims description 3
- 208000005392 Spasm Diseases 0.000 claims 1
- 238000006243 chemical reaction Methods 0.000 claims 1
- 238000005516 engineering process Methods 0.000 abstract description 7
- 102100023941 G-protein-signaling modulator 2 Human genes 0.000 description 19
- 101000904754 Homo sapiens G-protein-signaling modulator 2 Proteins 0.000 description 19
- 101001068136 Homo sapiens Hepatitis A virus cellular receptor 1 Proteins 0.000 description 6
- 101000831286 Homo sapiens Protein timeless homolog Proteins 0.000 description 6
- 101000752245 Homo sapiens Rho guanine nucleotide exchange factor 5 Proteins 0.000 description 6
- 102100021688 Rho guanine nucleotide exchange factor 5 Human genes 0.000 description 6
- 101150074789 Timd2 gene Proteins 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000003321 amplification Effects 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000010248 power generation Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000007493 shaping process Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/50—Transmitters
- H04B10/516—Details of coding or modulation
- H04B10/548—Phase or frequency modulation
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C23/00—Non-electrical signal transmission systems, e.g. optical systems
- G08C23/04—Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/40—Transceivers
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Physics & Mathematics (AREA)
- Optical Communication System (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a kind of 38K Carrier Modulation communications to communicate the structure for sharing one group of infrared receiving/transmission circuit with SIR, and infrared receiving/transmission circuit includes MCU, transmission circuit and receiving circuit.Wherein, transmission circuit is, the SIR of MCU sends pin and 38K carrier wave output pins are separately connected two input pins of two input nand gates, which is in series with infrared transmitting tube and the first current-limiting resistance, the 38K signal output pins of another termination MCU of the first current-limiting resistance;Receiving circuit is that the SIR of MCU receives pin and connect filter circuit with 38K software demodulation input pins, and filter circuit is connect with infrared receiving tube and the second current-limiting resistance, and 38K carrier wave software demodulation output pins and the 38K Carrier Modulation communications of MCU receive pin and connect.The present invention makes serial data not only can be according to CJ/T188 2004 by the pin control to infrared receiving/transmission circuit《User's measuring instrument data transmission technology condition》The requirement of infrared communication carries out data transmit-receive in agreement, and SIR communications can also be used to carry out data transmit-receive.
Description
Technical field
The present invention relates to infrared communication field, particularly relate to a kind of 38K Carrier Modulation communications communicated with SIR share one group it is red
The structure of outer transmission circuit.
Background technology
At present in intellectual water meter industry, CJ/T188-2004《User's measuring instrument data transmission technology condition》It is logical for industry
Believe standard agreement, protocol requirement photoelectric communication uses infrared 38K Carrier Modulation communications, but 38K Carrier Modulation communications are used
When data transmission, maximum baud rate 9600, transmission time is long, and communication failure is easy to when transmitting mass data.SIR is
A kind of serial infrared communication mode, baud rate scope are 9600~115200, and transmission speed is fast, at low cost, and many MCU are included
SIR functions, it is easy to implement, but incompatible CJ/T188-2004《User's measuring instrument data transmission technology condition》Protocol requirement
Photoelectric communication requirement so that cannot be communicated with the equipment of compatible protocol communicating requirement.
38K carrier modulation infrared receiving/transmission circuits and SIR infrared receiving/transmission circuits are set simultaneously in circuit, can both be made in this way
It is communicated with SIR, and can be with the communicating requirement in compatible protocol.But such circuit has two groups of infrared receiving/transmission read heads, operator
Member must distinguish read head that 38K carrier communications are communicated with SIR and be operated when using, though two groups of read heads from it is close if can
Influence the success rate of communication;And such design cost is higher.
It is incorporated into one group of transmission circuit if 38K Carrier Modulation communications communicated with SIR, you can solve above-mentioned appearance
Problem.
Invention content
The technical proposal of the invention is realized in this way:
38K Carrier Modulation communications communicate the structure for sharing one group of infrared receiving/transmission circuit, including one group of infrared receiving/transmission electricity with SIR
Road, the infrared receiving/transmission circuit includes MCU, and wherein the two of MCU groups of serial ports are separately connected sending and receiving end and the 38K carrier waves of SIR communications
The output pin of the sending and receiving end of modulation communication, the MCU includes that SIR sends pin, 38K signals send pin, the output of 38K carrier waves
Pin and 38K carrier wave software demodulation output pins, the SIR sends pin and the 38K carrier waves output pin is separately connected two
Two input pins of input nand gate, the two input nand gates output pin are in series with infrared transmitting tube and the first current-limiting resistance
One end, the first current-limiting resistance other end connects the 38K signals and sends pin;The reception pin of the MCU includes SIR
It receives pin, 38K carrier signals input pin and 38K signals and receives pin, the SIR receives pin to be believed with the 38K carrier waves
The output end of the input terminal of number input pin connection filter circuit, filter circuit is connected with infrared receiving tube and the second current limliting electricity
Resistance, the 38K signals receive pin and connect the 38K carrier waves software demodulation output pin;
The relevant pins of MCU are pressed into 38K Carrier Modulation communications pattern respectively and SIR communication patterns configure, the infrared receipts
Power Generation Road carries out 38K Carrier Modulation communications or SIR communications.
Further, the 38K Carrier Modulation communications mode configuration method is specially following steps:
The SIR sends pin and exports high level, and the 38K carrier waves output pin output frequency is the square wave of 38KHz;
The corresponding serial ports of 38K Carrier Modulation communications is configured by requirement in standard, and it is that floating is defeated that the sir signal, which receives pin configuration,
Enter, the MCU detects the signal of the filter circuit output end in real time, carries out software demodulation, and by the 38K carrier waves software solution
It adjusts output pin to be output to the 38K signals and receives pin.
Further, the SIR communication patterns configuration method is specially following steps:
The 38K signals send pin and export low level, and the 38K carrier waves output pin exports high level, SIR communications pair
The serial ports answered is configured by SIR communication modes, and the 38K carrier signals input pin is set as floating input.
Further, the signal transmitting of 38K Carrier Modulation communications specifically includes following steps:
It is configured by 38K Carrier Modulation communication patterns, the 38K carrier waves output pin controls output frequency by the MCU
Rate is 38KHz square-wave signals, is transferred to the two input nand gates input terminal;It is to be modulated that the 38K signals send pin output
Signal generates 38K carrier (boc) modulated signals, the 38K carrier (boc) modulated signals warp with 38K square-wave signals after two input nand gates
Infrared signal is converted into after first current-limiting resistance by infrared transmitting tube to send.
Further, the signal reception of 38K Carrier Modulation communications specifically includes following steps:
It being configured by 38K Carrier Modulation communication patterns, the infrared receiving tube converts infrared signal to electric signal,
Transformed electric signal is transmitted to the 38K carrier signals input pin after filter circuit filtering, and the MCU is to filtering
Signal afterwards is demodulated, and the signal after demodulation is exported to the 38K carrier waves software demodulation output pin, is believed by the 38K
Number receive pin to after demodulation signal carry out data parsing, complete communication.
Further, the signal transmitting of SIR communications specifically includes following steps:
It is configured by SIR communication patterns, the SIR sends pin and exports signal to be modulated, the signal warp to be modulated
The two input nand gates amplification is transmitted to the infrared transmitting tube, and the infrared transmitting tube converts electrical signals to optical signal hair
It send.
Further, the signal reception of SIR communications specifically includes following steps:
It is configured by SIR communication patterns, the infrared receiving tube converts infrared signal to electric signal, transformed
It is transmitted to the SIR after the filtered circuit filtering of electric signal and receives pin, the MCU carries out data solution to filtered signal
Communication is completed in analysis.
Further, the 38K Carrier Modulation communications correspond to the baud rate of serial ports less than 9600.
Further, the baud rate scope of the corresponding serial ports of SIR communications is 19200-115200, and the sir signal is
The square wave that duty ratio is 3/16.
The beneficial effects of the present invention are:By the pin level control to infrared receiving/transmission circuit, make infrared receiving/transmission circuit
Can allow serial data send through can be carried out according to the requirement of infrared communication part in agreement after 38K carrier signal modulations and
It receives, and SIR communications may be used, serial data is sent and received.
Description of the drawings
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technology description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention without having to pay creative labor, may be used also for those of ordinary skill in the art
With obtain other attached drawings according to these attached drawings.
Fig. 1 is the electricity that a kind of 38K Carrier Modulation communications of the present invention communicate the structure for sharing one group of infrared receiving/transmission circuit with SIR
Road schematic diagram;
Fig. 2 is that the signal of 38K Carrier Modulation communications emits flow chart;
Fig. 3 is the signal software demodulation flow chart of 38K Carrier Modulation communications;
Fig. 4 is that the signal of 38K Carrier Modulation communications receives flow chart;
Fig. 5 is that the signal of SIR communications emits flow chart;
Fig. 6 is that the signal of SIR communications receives flow chart;
Fig. 7 is the sequence diagram of SIR communications;
Fig. 8 is the sequence diagram of 38K carrier communications.
In Fig. 1, bis- input nand gates of 1-;2- infrared transmitting tubes;3- infrared receiving tubes;The first current-limiting resistances of 4-;5- second
Current-limiting resistance.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without creative efforts
Embodiment shall fall within the protection scope of the present invention.
It is communicated with SIR as shown in Figure 1, the present invention proposes a kind of 38K Carrier Modulation communications and shares one group of infrared receiving/transmission electricity
The structure on road, infrared receiving/transmission circuit include MCU, and wherein the two of MCU groups of serial ports are separately connected the sending and receiving end of SIR communications and 38K is carried
The sending and receiving end of wave modulation communication, MCU include that SIR sends pin (TX2), 38K signals send pin with transmission circuit relevant pins
(TX1), 38K carrier waves output pin (TIM1) and 38K carrier wave software demodulation output pins (IO1), SIR sends pin and 38K is carried
Wave output pin is separately connected two input pins of two input nand gates 1, which is in series with red
Outer transmitting tube and the first current-limiting resistance, another termination 38K signals of the first current-limiting resistance send pin TX1;MCU and receiving circuit phase
It includes that SIR receives pin (RX2), 38K carrier signals input pin (TIM2) to close pin, and 38K signals receive pin (RX1), SIR
Receive the input terminal that pin (RX2) connect a filter circuit with 38K carrier signals input pin (TIM2), the output of filter circuit
End is connect with infrared receiving tube and the second current-limiting resistance, and infrared receiving tube cathode connects power supply, and the second current-limiting resistance other end is grounded,
38K signals receive pin (RX1) and connect 38K carrier wave software demodulation output pins (IO1), the corresponding string of 38K Carrier Modulation communications
Mouth is known as UART1, and SIR communicates corresponding serial ports and is known as UART2.Two groups of serial ports of MCU are respectively configured as 38K carrier modulations to lead to
Letter pattern and SIR communication patterns, configure the output level of the output pin of MCU, and the infrared receiving/transmission circuit carries out 38K carrier wave tune
System communication or SIR communications.
The I/O port of MCU there are certain requirements, and specific requirement is as follows:
The foot that sends and receives that 1.TX1 and RX1 is UART1, TX2 and RX2 are the foot that sends and receives of UART2 serial ports, and
UART2 serial ports supports SIR communication functions, TX1 and TX2 to can be used as common I/O port and use.
2.TIM1 needs to export the square wave of 38K frequencies and can export low and high level as common IO.
3.TIM2 need to support failing edge to capture and can be set as floating input.
4.IO1 is common IO, exportable low and high level.
SIR sends pin and exports high level, and 38K carrier wave output pin output frequencies are the square wave of 38KHz;38K carrier wave tune
System communicates corresponding serial ports and is configured by requirement in standard, and sir signal receives pin configuration and inputted for floating, and MCU is examined in real time
The signal of filter circuit is surveyed, carries out software demodulation, and the reception of 38K signals is output to by 38K carrier wave software demodulation output pins and is drawn
Foot, infrared receiving/transmission circuit carry out 38K Carrier Modulation communications, this is 38K Carrier Modulation communication mode configuration methods;
38K signals send pin and export low level, and 38K carrier wave output pins export high level, and SIR communicates corresponding serial ports
It is configured by SIR communication modes, 38K carrier signal input pins are set as floating input, and infrared receiving/transmission circuit leads to SIR is carried out
Letter, this is SIR communication pattern configuration methods.
The signal transmitting flow of 38K Carrier Modulation communications specifically includes following steps:
It is configured by 38K Carrier Modulation communication patterns, 38K carrier waves output pin (TIM1) controls the output side 38K by MCU
Wave signal is transferred to two input nand gate input terminals.38K signals send pin (TX1) and export signal to be modulated, with 38K square waves
Signal generates 38K carrier (boc) modulated signals, 38K carrier (boc) modulated signals are after the first current-limiting resistance by red after two input nand gates
Outer transmitting tube is converted into infrared signal transmission.
In conjunction with Fig. 1, Fig. 2 and Fig. 8, the signal transmitting detailed process of 38K carrier communications is as follows:The UART1 of MCU is pressed into standard
Serial ports parameter is arranged in communication protocol, and SIR, which is sent pin (TX2), is set as high level, and waveform is shown in that the TX_SIR in Fig. 8, judgement are
It is no to need transmission data, if it is not, then repeating to judge, if so, generating 38K square waves by the timer inside MCU, carried by 38K
Wave output pin (TIM1) exports, and waveform is shown in the 38KOUT in Fig. 8, and the data that will be sent are put into UART1 transmitter registers, beat
It opens 38K signals and sends pin (TX1), i.e., sent in 38K signals and generate the waveform for wanting transmission data on pin (TX1), waveform is shown in
TX_38K in Fig. 8.After the data to be sent are sent, close 38K carrier waves output pin (TIM1) and export, 38K is carried
Wave output pin (TIM1) is set as high level, and waveform is shown in TX_38K and 38KOUT in Fig. 8.While data are sent, the side 38K
Wave is modulated with data-signal through two input nand gates, and infrared transmitting tube emits modulated 38K signals, and waveform is shown in Fig. 8
IrDA_OUT.
In conjunction with Fig. 1, Fig. 4 and Fig. 8, the signal of 38K Carrier Modulation communications receives flow and specifically includes following steps:
It is configured by 38K Carrier Modulation communication patterns, infrared receiving tube converts infrared signal to electric signal, waveform
See the IrDA_RX in Fig. 8, the 38K carrier signal input pins of MCU are transmitted to after the transformed filtered circuit filtering of electric signal
(TIM2), waveform is shown in that the 38K carrier wave demodulations in Fig. 8 input, and MCU demodulates filtered signal, by the signal after demodulation
To 38K carrier wave software demodulation output pins (IO1), waveform is shown in that the RX_38K in Fig. 8, MCU receive pin by 38K signals for output
(RX1) data after demodulation are received, data parsing is carried out to the data by UART1.
In conjunction with Fig. 1, Fig. 3, Fig. 8, the flow of demodulation specifically includes following steps, and SIR, which is received pin (RX2), is set as floating
Sky input, 38K carrier wave software demodulation output pins (IO1) are set as high level, and MCU judges 38K carrier signal input pins
(TIM2) whether there is failing edge, if so, starting timer, countdown 1/38000s (a cycle of 38K carrier waves), timing knot
Occur failing edge before beam, then 38K carrier wave software demodulation output pins (IO1) are set as low level, assigns initial value to timer,
Timing 1/38000s judges that countdown terminates whether preceding 38K carrier wave software demodulation output pins (IO1) failing edge occur, if so,
It then repeats to assign initial value to timer, if it is not, then setting 38K carrier wave software demodulation output pins (IO1) to high level, repeat
Judge whether RX_SIR pins have failing edge.The DEM_IN and RX_38K in waveform difference corresponding diagram 8 before demodulation and after demodulation.
In conjunction with Fig. 1, Fig. 5, Fig. 7, the signal transmitting flow of SIR communication processes specifically includes following steps:
It is configured by SIR communication patterns, the SIR of MCU sends pin (TX2) and exports sir signal, the TX_ of waveform such as Fig. 7
SIR, sir signal are transmitted to infrared transmitting tube, the IrDA_OUT of waveform such as Fig. 7, infrared transmitting tube through the amplification of two input nand gates
Convert electrical signals to infrared signal transmission.
In conjunction with Fig. 1, Fig. 6, Fig. 7, the signal of SIR communication processes receives flow and specifically includes following steps:
It is configured by SIR communication patterns, infrared receiving tube converts infrared signal to electric signal, waveform such as Fig. 7's
IrDA_RX, the SIR that MCU is transmitted to after the transformed filtered circuit filtering of electric signal receive pin (RX2), waveform such as Fig. 7's
RX_SIR, UART2 carry out data parsing to filtered signal DEM_OUT, complete communication.
38K serial port baud rates are less than 9600.
SIR serial port baud rates ranging from 19200-115200, sir signal are the square waves that duty ratio is 3/16.
There are two timer, two UART in MCU, and there are one support SIR communications, photoemission cell and photoelectric receiving tube
Support SIR communications.SIR output pins are set as IrDA patterns, when idle, it is low level that SIR, which sends pin, and 38K signals are sent
Pin is high level.
The present invention provides a kind of infrared 38K Carrier Modulation communications and serial infrared SIR to use same group of infrared receiving/transmission electricity
The design scheme on road controls the sequential of circuit by software and hardware mode, circuit is allow to allow serial data through 38K carrier waves
It can be according to CJ/T188-2004 after signal modulation《Family metering instrumented data transmission technology condition》Middle infrared communication part
Requirement sent and received, and serial infrared SIR can be allowed to carry out data and sent and received.
Design scheme specifically includes:Infrared transmission circuit and transmission circuit software configuration, for realizing serial infrared SIR with
Serial data is through 38K carrier modulations and carries out the work of infrared transmission.MCU demodulation process coordinates with infrared receiver filter circuit,
It is filtered demodulation for realizing the data after serial infrared SIR and 38K carrier modulations, exporting can Direct Recognition for MCU serial ports
Digital signal.
When carrying out the switching of two kinds of communication modes, the variation that corresponding output level is carried out to corresponding pin is i.e. changeable
Communication mode.In infrared transmission circuit, SIR respectively uses one group of serial ports with 38K Carrier Modulation communications, by 38K Carrier Modulation communications
Pattern or SIR communication patterns are carried out with postponing, with the serial ports corresponding to 38K Carrier Modulation communications or the string corresponding to SIR communications
Mouth is write data and is sent using 38K Carrier Modulation communications or SIR communication modes.In infrared receiving circuit, sir signal is by hard
Part is converted directly into the sir signal that can be directly read, and 38K Carrier Modulation communications then need to carry out the software demodulation of MCU, after demodulation
Signal can data be directly read by the corresponding serial ports of 38K Carrier Modulation communications.
Configure two devices with infrared receiving/transmission circuit to same over the horizon communication system, in limited distance,
Two equipment transmitting-receiving head alignments.A wherein equipment is sent as host, and another equipment is received as slave.It is right that host passes through
Answer serial ports that data are written, data are sent out through host transmission circuit by infrared emission head.Slave infrared receiving circuit collects infrared
Signal is filtered by slave infrared receiving circuit and (needs MCU to demodulate when 38K Carrier Modulation communications) after shaping to be transmitted to MCU's
Serial ports receives data by serial ports.When slave transmission data, host is received using same method.
The above is merely preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.
Claims (8)
1.38K Carrier Modulation communications communicate the structure for sharing one group of infrared receiving/transmission circuit, including one group of infrared receiving/transmission electricity with SIR
Road, it is characterised in that:The infrared receiving/transmission circuit includes MCU, and wherein the two of MCU groups of serial ports are separately connected the transmitting-receiving of SIR communications
End and the sending and receiving ends of 38K Carrier Modulation communications, the output pin of the MCU include SIR sends pin, 38K signals send pin,
38K carrier waves output pin and 38K carrier wave software demodulation output pins, the SIR send pin and the 38K carrier waves output pin
Two input pins of two input nand gates are separately connected, which is in series with infrared transmitting tube and
One end of one current-limiting resistance, the first current-limiting resistance other end connect the 38K signals and send pin;The reception of the MCU
Pin includes that SIR receives pin, 38K carrier signals input pin and 38K signals reception pin, the SIR reception pins and institute
The input terminal of 38K carrier signal input pins connection filter circuit is stated, the output end of filter circuit is connected with infrared receiving tube sun
Pole and the second current-limiting resistance, another termination power cathode of the second current-limiting resistance, infrared receiver tube cathode connects positive pole, described
38K signals receive pin and connect the 38K carrier waves software demodulation output pin;
MCU is configured to 38k carrier communications pattern and SIR communication patterns, and the infrared receiving/transmission circuit carries out 38K Carrier Modulation communications
Or SIR communications.
2. 38K Carrier Modulation communications according to claim 1 communicate the structure for sharing one group of infrared receiving/transmission circuit with SIR,
It is characterized in that:38K Carrier Modulation communication mode configuration methods are to specifically include following steps:
The SIR sends pin and exports high level, and the 38K carrier waves output pin output frequency is the square wave of 38KHz;38K is carried
The corresponding serial ports of wave modulation communication is configured by requirement in standard, and the sir signal receives pin configuration and inputted for floating, institute
The signal that MCU detects the filter circuit in real time is stated, carries out software demodulation, and by the 38K carrier waves software demodulation output pin
It is output to the 38K signals and receives pin.
3. 38K Carrier Modulation communications according to claim 1 communicate the structure for sharing one group of infrared receiving/transmission circuit with SIR,
It is characterized in that, SIR communication pattern configuration methods specifically include following steps:
The 38K signals send pin and export low level, and the 38K carrier waves output pin exports high level, and SIR communications are corresponding
Serial ports is configured by SIR communication modes, and the 38K carrier signals input pin is set as floating input.
4. 38K Carrier Modulation communications according to claim 1 communicate the structure for sharing one group of infrared receiving/transmission circuit with SIR,
It is characterized in that:The signal reception of 38K Carrier Modulation communications specifically includes following steps:
It is configured by 38K Carrier Modulation communication patterns, the infrared receiving tube converts infrared signal to electric signal, conversion
Electric signal afterwards is transmitted to the 38K carrier signals input pin after filter circuit filtering, and the MCU is to filtered
Signal is demodulated, and the signal after demodulation is exported to the 38K carrier waves software demodulation output pin, is connect by the 38K signals
Spasm foot carries out data parsing to the signal after demodulation, completes communication.
5. 38K Carrier Modulation communications according to claim 1 communicate the structure for sharing one group of infrared receiving/transmission circuit with SIR,
It is characterized in that:The signal transmitting of SIR communications specifically includes following steps:
It is configured by SIR communication patterns, the SIR sends pin and exports sir signal, and the sir signal is inputted through described two
NAND gate is transmitted to the infrared transmitting tube, and the infrared transmitting tube converts electrical signals to infrared signal transmission.
6. 38K Carrier Modulation communications according to claim 1 communicate the structure for sharing one group of infrared receiving/transmission circuit with SIR,
It is characterized in that:The signal reception of SIR communications specifically includes following steps:
It is configured by SIR communication patterns, the infrared receiving tube converts infrared signal to electric signal, transformed telecommunications
It is transmitted to the SIR after number filtered circuit filtering and receives pin, the MCU carries out data parsing to filtered signal, complete
At communication.
7. 38K Carrier Modulation communications according to claim 1 communicate the structure for sharing one group of infrared receiving/transmission circuit with SIR,
It is characterized in that:The baud rate that the 38K Carrier Modulation communications correspond to serial ports is less than 9600.
8. 38K Carrier Modulation communications according to claim 1 communicate the structure for sharing one group of infrared receiving/transmission circuit with SIR,
It is characterized in that:The baud rate scope of the corresponding serial ports of SIR communications is 19200-115200, is the side that duty ratio is 3/16
Wave.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610665599.XA CN106330335B (en) | 2016-08-12 | 2016-08-12 | 38K Carrier Modulation communications communicate the structure for sharing one group of infrared receiving/transmission circuit with SIR |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610665599.XA CN106330335B (en) | 2016-08-12 | 2016-08-12 | 38K Carrier Modulation communications communicate the structure for sharing one group of infrared receiving/transmission circuit with SIR |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106330335A CN106330335A (en) | 2017-01-11 |
CN106330335B true CN106330335B (en) | 2018-08-28 |
Family
ID=57739335
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610665599.XA Active CN106330335B (en) | 2016-08-12 | 2016-08-12 | 38K Carrier Modulation communications communicate the structure for sharing one group of infrared receiving/transmission circuit with SIR |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106330335B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5786921A (en) * | 1994-08-15 | 1998-07-28 | Actisys Corporation | Infrared communication device for multistandard operations |
CN2475079Y (en) * | 2001-02-28 | 2002-01-30 | 深圳市桑夏皖能高科技有限公司 | Infrared expansion card |
CN104156335A (en) * | 2014-08-08 | 2014-11-19 | 成都联星微电子有限公司 | Method for multiplexing multiple UART interfaces |
CN204305007U (en) * | 2014-11-24 | 2015-04-29 | 北京卓越信通电子股份有限公司 | A kind of handheld device infrared communication system |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040208182A1 (en) * | 2003-04-16 | 2004-10-21 | Microsoft Corporation | Format independent consumer IR transceiver |
US7630647B2 (en) * | 2006-07-20 | 2009-12-08 | Via Technologies, Inc. | Hybrid IR transmission system |
US7738792B2 (en) * | 2007-07-24 | 2010-06-15 | Winbond Electronics Corporation | Multi-protocol infrared receiver |
-
2016
- 2016-08-12 CN CN201610665599.XA patent/CN106330335B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5786921A (en) * | 1994-08-15 | 1998-07-28 | Actisys Corporation | Infrared communication device for multistandard operations |
CN2475079Y (en) * | 2001-02-28 | 2002-01-30 | 深圳市桑夏皖能高科技有限公司 | Infrared expansion card |
CN104156335A (en) * | 2014-08-08 | 2014-11-19 | 成都联星微电子有限公司 | Method for multiplexing multiple UART interfaces |
CN204305007U (en) * | 2014-11-24 | 2015-04-29 | 北京卓越信通电子股份有限公司 | A kind of handheld device infrared communication system |
Non-Patent Citations (2)
Title |
---|
具有IrDA模式的UART芯片MAX3100及其应用;胡又农,赵锦红;《国外电子元器件》;19990331(第3期);42-45 * |
通用异步收发器(UART)MAX3100;单承赣;《集成电路应用》;19991231(第6期);27-32 * |
Also Published As
Publication number | Publication date |
---|---|
CN106330335A (en) | 2017-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105406899B (en) | Device for power line carrier communications for overocean communications | |
CN106357296A (en) | UART interface internet-of-things wireless transceiver based on lora modulation mode | |
CN103067100A (en) | Intelligent ammeter communication receiving performance testing system and method | |
CN1949734B (en) | Power supply two-line system real-time bus communication method | |
CN205942295U (en) | Intelligence house infrared control system based on STM32 | |
CN206195766U (en) | UART interface thing networking wireless transceiver based on lora modulation mode | |
CN107872271A (en) | Public network communication relays and communication means based on LoRa technologies | |
CN209149567U (en) | One kind can not register one's residence electric family table check device | |
CN106330335B (en) | 38K Carrier Modulation communications communicate the structure for sharing one group of infrared receiving/transmission circuit with SIR | |
CN204305007U (en) | A kind of handheld device infrared communication system | |
CN206294353U (en) | Broadband wireless dual mode communication module | |
CN203554462U (en) | Communication channel stimulation system of electricity consumption information collection system | |
CN102681018B (en) | Transient electromagnetic instrument for mine and transient electromagnetic signal processing method | |
CN206741692U (en) | The energy data extraction element of electric energy meter | |
CN110164343A (en) | A kind of reverse-timing display device detection method, device, system and control system | |
CN105656493B (en) | Signal receiving and transmitting system and communication equipment | |
CN204463408U (en) | A kind of bimodulus collector II type | |
CN107404353A (en) | LiFi signal modulating methods and modulator based on FPGA | |
CN204576777U (en) | Bluetooth turns wireless communication module | |
CN107026677A (en) | A kind of ammeter network and its communication means based on three-phase electricity | |
CN207039564U (en) | A kind of half-duplex is anti-to disturb infrared serial interface circuit certainly | |
CN106569217A (en) | WIFI and bluetooth based double-channel fish finding method and system | |
CN207603633U (en) | Electric safety system Internet of Things data wireless transport module | |
CN105656517A (en) | Island information transmission measurement and control system | |
CN203772954U (en) | Three-phase four-wire electronic type prepayment electric energy meter platform table |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |