CN106330335A - Method for sharing a group of infrared transceiver circuits in 38K carrier modulation communication and SIR communication - Google Patents

Method for sharing a group of infrared transceiver circuits in 38K carrier modulation communication and SIR communication Download PDF

Info

Publication number
CN106330335A
CN106330335A CN201610665599.XA CN201610665599A CN106330335A CN 106330335 A CN106330335 A CN 106330335A CN 201610665599 A CN201610665599 A CN 201610665599A CN 106330335 A CN106330335 A CN 106330335A
Authority
CN
China
Prior art keywords
sir
signal
pin
communication
infrared
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.)
Granted
Application number
CN201610665599.XA
Other languages
Chinese (zh)
Other versions
CN106330335B (en
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.)
Shenzhen Ameter Technology Co Ltd
Original Assignee
Shenzhen Ameter Technology Co Ltd
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 Shenzhen Ameter Technology Co Ltd filed Critical Shenzhen Ameter Technology Co Ltd
Priority to CN201610665599.XA priority Critical patent/CN106330335B/en
Publication of CN106330335A publication Critical patent/CN106330335A/en
Application granted granted Critical
Publication of CN106330335B publication Critical patent/CN106330335B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/50Transmitters
    • H04B10/516Details of coding or modulation
    • H04B10/548Phase or frequency modulation
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C23/00Non-electrical signal transmission systems, e.g. optical systems
    • G08C23/04Non-electrical signal transmission systems, e.g. optical systems using light waves, e.g. infrared
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/40Transceivers

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 method for sharing a group of infrared transceiver circuits in 38K carrier modulation communication and SIR communication. The infrared transceiver circuit comprises an MCU, a transmitting circuit and a receiving circuit. The transmitting circuit is as follows: an SIR transmitting pin and a 38K carrier output pin of the MCU are respectively connected with two input pins of two input NAND gates, the output pins of the two input NAND gates are serially connected with an infrared transmitting tube and a first current limiting resistor, and the other end of the first current limiting resistor is connected with a 38K signal output pin of the MCU; and the receiving circuit is as follows: an SIR receiving pin and a 38K software demodulation input pin of the MCU are connected with a filter circuit, the filter circuit is connected with an infrared receiving tube and a second current limiting resistor, and a 38K software demodulation output pin of the MCU is connected with a 38K carrier modulation communication receiving pin. According to the method disclosed by the invention, the pins of the infrared transceiver circuits are controlled, so that serial data can not only be received and transmitted according to the requirements of infrared communication in the CJ / T188-2004 ''user meter data transmission technology condition'', but can also be received and transmitted by adopting the SIR communication.

Description

38K Carrier Modulation communication communicate with SIR share one group of infrared receiving/transmission circuit method
Technical field
The present invention relates to infrared communication field, particularly relate to a kind of 38K Carrier Modulation communication communicate with SIR shared one group red The method of outer transmission circuit.
Background technology
At present in intellectual water meter industry, CJ/T188-2004 " user's measuring instrument data transmission technology condition " is that industry is led to Letter standard agreement, protocol requirement photoelectric communication uses infrared 38K Carrier Modulation communication, but 38K Carrier Modulation communication is used When data are transmitted, maximum baud rate is 9600, and the transmission time is long, is easy to communication failure when transmitting mass data.SIR is A kind of serial infrared communication mode, baud rate scope is 9600~115200, and transmission speed is fast, and low cost, a lot of MCU carry SIR function, easily realizes, but incompatible CJ/T188-2004 " user's measuring instrument data transmission technology condition " protocol requirement Photoelectric communication requirement so that can not communicate with the equipment of compatible protocol communicating requirement.
38K carrier modulation infrared receiving/transmission circuit and SIR infrared receiving/transmission circuit are set the most simultaneously, the most both can make Communicate with SIR, again can be with the communicating requirement in compatible protocol.But such circuit has two groups of infrared receiving/transmission read heads, operator The read head that communicates with SIR of 38K carrier communication must be distinguished and operate when member uses, though two groups of read heads from close, also can The success rate of impact communication;And such design cost is higher.
It is incorporated in one group of transmission circuit if 38K Carrier Modulation communication is communicated with SIR, above-mentioned appearance can be solved Problem.
Summary of the invention
The technical scheme is that and be achieved in that:
38K Carrier Modulation communication communicates with SIR the method sharing one group of infrared receiving/transmission circuit, including one group of infrared receiving/transmission electricity Road, described infrared receiving/transmission circuit includes MCU, and wherein two groups of serial ports of MCU connect sending and receiving end and the 38K carrier wave of SIR communication respectively The sending and receiving end of modulation communication, the output pin of described MCU includes that SIR sends pin, 38K signal sends pin, the output of 38K carrier wave Pin and 38K software demodulation output pin, described SIR sends pin and described 38K carrier wave output pin connects two inputs respectively Two input pins of NAND gate, this two input nand gates output pin is in series with infrared transmitting tube and the one of the first current-limiting resistance End, the described first current-limiting resistance other end connects described 38K signal and sends pin;The reception pin of described MCU includes that SIR receives Pin, 38K carrier signal input pin and 38K signal receive pin, and it is defeated with described 38K carrier signal that described SIR receives pin Entering pin and connect the input of filter circuit, the outfan of filter circuit connects infrared receiving tube and the second current-limiting resistance, institute State 38K signal and receive the pin described 38K carrier wave software demodulation output pin of connection;
The relevant pins of MCU is pressed respectively 38K Carrier Modulation communication pattern and the configuration of SIR communication pattern, described infrared receipts Power Generation Road carries out 38K Carrier Modulation communication or SIR communication.
Further, described 38K Carrier Modulation communication mode configuration method is specially following steps:
Described SIR sends pin output high level, and described 38K carrier wave output pin output frequency is the square wave of 38KHz; The serial ports that 38K Carrier Modulation communication is corresponding is configured by requirement in standard, and it is that floating is defeated that described sir signal receives pin configuration Entering, described MCU detects the signal of described filter circuit outfan in real time, carries out software demodulation, and defeated by described 38K software demodulation Go out pin and export described 38K signal reception pin.
Further, described SIR communication pattern collocation method is specially following steps:
Described 38K signal sends pin output low level, and described 38K carrier wave output pin output high level, SIR communication is right The serial ports answered is configured by SIR communication mode, and described 38K carrier signal input pin is set to floating input.
Further, the signal of 38K Carrier Modulation communication is launched and is specifically included following steps:
Configuring by 38K Carrier Modulation communication pattern, described 38K carrier wave output pin is controlled output frequency by described MCU Rate is 38KHz square-wave signal, is transferred to described two input nand gate inputs;It is to be modulated that described 38K signal sends pin output Signal, with 38K square-wave signal after two input nand gates, produces 38K carrier (boc) modulated signals, described 38K carrier (boc) modulated signals warp It is converted into infrared signal by infrared transmitting tube after described first current-limiting resistance to send.
Further, the signal of 38K Carrier Modulation communication receives and specifically includes following steps:
Configuring by 38K Carrier Modulation communication pattern, infrared signal is converted into the signal of telecommunication by described infrared receiving tube, Transmission is to described 38K carrier signal input pin after described filter circuit filters for the signal of telecommunication after conversion, and described MCU is to filtering After signal be demodulated, by the signal output after demodulation to described 38K software demodulation output pin, described 38K signal connect Spasm foot carries out data parsing to the signal after demodulation, completes communication.
Further, the signal of SIR communication is launched and is specifically included following steps:
Configuring by SIR communication pattern, described SIR sends pin and exports signal to be modulated, described signal warp to be modulated Described two input nand gates amplify transmission extremely described infrared transmitting tube, and described infrared transmitting tube converts electrical signals to optical signal and sends out Send.
Further, the signal of SIR communication receives and specifically includes following steps:
Configuring by SIR communication pattern, infrared signal is converted into the signal of telecommunication by described infrared receiving tube, after conversion After the filtered circuit filtering of the signal of telecommunication, transmission receives pin to described SIR, and described MCU carries out data solution to filtered signal Analysis, completes communication.
Further, the baud rate of described 38K Carrier Modulation communication correspondence serial ports is less than 9600.
Further, the baud rate scope of the corresponding serial ports of described SIR communication is 19200-115200, and described sir signal is Dutycycle is the square wave of 3/16.
The beneficial effects of the present invention is: by the pin level of infrared receiving/transmission circuit is controlled, make infrared receiving/transmission circuit Serial data can be allowed can be transmitted according to the requirement of agreement mid-infrared communications portion after 38K carrier signal modulation and Receive, SIR communication can be used again serial data to be transmitted and receives.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing In having technology to describe, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, also may be used To obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is that the present invention a kind of 38K Carrier Modulation communication communicates with SIR and shares the electricity of method of one group of infrared receiving/transmission circuit Road schematic diagram;
Fig. 2 is that the signal of 38K Carrier Modulation communication launches flow chart;
Fig. 3 is the signal software demodulation flow chart of 38K Carrier Modulation communication;
Fig. 4 is that the signal of 38K Carrier Modulation communication receives flow chart;
Fig. 5 is that the signal of SIR communication launches flow chart;
Fig. 6 is that the signal of SIR communication receives flow chart;
Fig. 7 is the sequential chart of SIR communication;
Fig. 8 is the sequential chart of 38K carrier communication.
In Fig. 1,1-bis-input nand gate;2-infrared transmitting tube;3-infrared receiving tube;4-the first current-limiting resistance;5-second Current-limiting resistance.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Describe, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments wholely.Based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under not making creative work premise Embodiment, broadly falls into the scope of protection of the invention.
As it is shown in figure 1, the present invention to propose a kind of 38K Carrier Modulation communication shared one group of infrared receiving/transmission that communicate with SIR electric The method on road, infrared receiving/transmission circuit includes MCU, and wherein two groups of serial ports of MCU connect sending and receiving end and the 38K load of SIR communication respectively The sending and receiving end of ripple modulation communication, MCU and transtation mission circuit relevant pins include that SIR sends pin (TX2), 38K signal sends pin (TX1), 38K carrier wave output pin (TIM1) and 38K software demodulation output pin (IO1), SIR send pin and 38K carrier wave is defeated Going out pin and connect two input pins of two input nand gates 1 respectively, this two input nand gate 1 output pin is in series with infrared Penetrating pipe and the first current-limiting resistance, another termination 38K signal of the first current-limiting resistance sends pin TX1;MCU to receive that circuit is relevant draws Foot includes that SIR receives pin (RX2), 38K carrier signal input pin (TIM2), and 38K signal receives pin (RX1), and SIR receives Pin (RX2) is connected the input of a filter circuit with 38K carrier signal input pin (TIM2), the outfan of filter circuit with Infrared receiving tube and the second current-limiting resistance connect, and infrared receiving tube negative pole connects power supply, the second current-limiting resistance other end ground connection, 38K Signal receives pin (RX1) and connects 38K software demodulation output pin (IO1), and the serial ports that 38K Carrier Modulation communication is corresponding is referred to as The serial ports of UART1, SIR communication correspondence is referred to as UART2.The two of MCU groups of serial ports are respectively configured as 38K Carrier Modulation communication pattern With SIR communication pattern, the output level of the output pin of configuration MCU, described infrared receiving/transmission circuit carries out 38K Carrier Modulation communication Or SIR communication.
The I/O port of MCU there are certain requirements, and specific requirement is as follows:
1.TX1 Yu RX1 is transmission and the reception foot of UART1, TX2 Yu RX2 is transmission and the reception foot of UART2 serial ports, and UART2 serial ports supports SIR communication function, TX1 with TX2 all can use as common I/O port.
2.TIM1 needs export the square wave of 38K frequency and can export low and high level as common IO.
3.TIM2 need to support trailing edge capture and can be set to floating input.
4.IO1 is common IO, exportable low and high level.
SIR sends pin output high level, and 38K carrier wave output pin output frequency is the square wave of 38KHz;38K carrier wave is adjusted The serial ports of system communication correspondence is configured by requirement in standard, and it is floating input that sir signal receives pin configuration, and MCU examines in real time Survey the signal of filter circuit, carry out software demodulation, and exported 38K signal reception pin by 38K software demodulation output pin, red Outer transmission circuit carries out 38K Carrier Modulation communication, and this is 38K Carrier Modulation communication mode configuration method;
38K signal sends pin output low level, 38K carrier wave output pin output high level, the serial ports that SIR communication is corresponding Configuring by SIR communication mode, 38K carrier signal input pin is set to floating input, and infrared receiving/transmission circuit will carry out SIR and lead to Letter, this is SIR communication pattern collocation method.
The signal of 38K Carrier Modulation communication is launched flow process and is specifically included following steps:
Configuring by 38K Carrier Modulation communication pattern, 38K carrier wave output pin (TIM1) is controlled output 38K side by MCU Ripple signal, is transferred to two input nand gate inputs.38K signal sends pin (TX1) and exports signal to be modulated, with 38K square wave Signal after two input nand gates, produce 38K carrier (boc) modulated signals, 38K carrier (boc) modulated signals after the first current-limiting resistance by red Emission pipe is converted into infrared signal and sends.
In conjunction with Fig. 1, Fig. 2 and Fig. 8, it is as follows that the signal of 38K carrier communication launches idiographic flow: by the UART1 of MCU by standard Communication protocol arranges serial ports parameter, SIR sends pin (TX2) and is set to high level, and waveform is shown in the TX_SIR in Fig. 8, it is judged that be No needs sends data, if it is not, then repeat to judge, is the most then produced 38K square wave by the intervalometer within MCU, is carried by 38K Ripple output pin (TIM1) exports, and waveform is shown in the 38KOUT in Fig. 8, and the data that will send put into UART1 transmitter register, beat Opening 38K signal and send pin (TX1), i.e. send the upper waveform producing data to be sent of pin (TX1) at 38K signal, waveform is shown in TX_38K in Fig. 8.After data to be sent are sent, close 38K carrier wave output pin (TIM1) output, 38K is carried Ripple output pin (TIM1) is set to high level, and waveform is shown in TX_38K and 38KOUT in Fig. 8.While data send, 38K side Ripple is modulated through two input nand gates with data signal, and infrared transmitting tube launches the 38K signal after modulation, 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 communication receives flow process and specifically includes following steps:
Configuring by 38K Carrier Modulation communication pattern, infrared signal is converted into the signal of telecommunication, waveform by infrared receiving tube See the IrDA_RX in Fig. 8, after the filtered circuit filtering of the signal of telecommunication after conversion, transmit the 38K carrier signal input pin to MCU (TIM2), waveform is shown in the 38K carrier wave demodulation input in Fig. 8, and filtered signal is demodulated by MCU, by the signal after demodulation Output is to 38K software demodulation output pin (IO1), and waveform is shown in that the RX_38K in Fig. 8, MCU receive pin by 38K signal (RX1) receive the data after demodulation, UART1 these data are carried out data parsing.
In conjunction with Fig. 1, Fig. 3, Fig. 8, the flow process of demodulation specifically includes following steps, SIR receives pin (RX2) and is set to float Empty input, 38K software demodulation output pin (IO1) is set to high level, and MCU judges that 38K carrier signal input pin (TIM2) is No have trailing edge, the most then start intervalometer, and countdown 1/38000s (cycle of 38K carrier wave), timing terminates front appearance Trailing edge, then be set to low level by 38K software demodulation output pin (IO1), composes initial value, countdown 1/ to intervalometer 38000s, it is judged that countdown terminates whether front 38K software demodulation output pin (IO1) trailing edge occurs, the most then repeat to give Time device compose initial value, if it is not, then 38K software demodulation output pin (IO1) is set to high level, repeat to judge RX_SIR pin Whether there is trailing edge.DEM_IN and RX_38K in waveform before demodulation and after demodulation corresponding diagram 8 respectively.
In conjunction with Fig. 1, Fig. 5, Fig. 7, the signal of SIR communication process is launched flow process and is specifically included following steps:
Configuring by SIR communication pattern, the SIR of MCU sends pin (TX2) output sir signal, the TX_ of waveform such as Fig. 7 SIR, sir signal transmits to infrared transmitting tube through two input nand gates amplifications, the IrDA_OUT of waveform such as Fig. 7, infrared transmitting tube Convert electrical signals to infrared signal send.
In conjunction with Fig. 1, Fig. 6, Fig. 7, the signal of SIR communication process receives flow process and specifically includes following steps:
Configuring by SIR communication pattern, infrared signal is converted into the signal of telecommunication, waveform such as Fig. 7 by infrared receiving tube IrDA_RX, transmits SIR reception pin (RX2) to MCU, waveform such as Fig. 7 after the filtered circuit filtering of the signal of telecommunication after conversion RX_SIR, UART2 carry out data parsing to filtered signal DEM_OUT, complete communication.
38K serial port baud rate is less than 9600.
SIR serial port baud rate scope is 19200-115200, sir signal be dutycycle be the square wave of 3/16.
There are two intervalometers, two UART in MCU, and have one to support SIR communication, photoemission cell and photoelectric receiving tube Support SIR communication.SIR output pin is set to IrDA pattern, and time idle, it is low level that SIR sends pin, and 38K signal sends Pin is high level.
The invention provides a kind of infrared 38K Carrier Modulation communication and use same group of infrared receiving/transmission electricity with serial infrared SIR The design on road, is controlled the sequential of circuit by software and hardware mode, makes circuit that serial data can be allowed through 38K carrier wave Can be according to CJ/T188-2004 " family metering instrumented data transmission technology condition " mid-infrared communications portion after signal modulation Requirement be transmitted and receive, serial infrared SIR can be allowed again to carry out transmission and the reception of data.
Design specifically includes: infrared transtation mission circuit and transtation mission circuit software arrangements, be used for realizing serial infrared SIR with Serial data is through 38K carrier modulation the work that carries out infrared transmission.MCU demodulation process coordinates with infrared receiver filter circuit, Data after realizing serial infrared SIR and 38K carrier modulation are filtered demodulation, and being output as MCU serial ports can Direct Recognition Digital signal.
When carrying out the switching of two kinds of communication modes, the change that corresponding pin carries out corresponding output level is the most changeable Communication mode.In infrared transtation mission circuit, SIR Yu 38K Carrier Modulation communication respectively uses one group of serial ports, by 38K Carrier Modulation communication After pattern or SIR communication pattern configure, with the string corresponding to the serial ports corresponding to 38K Carrier Modulation communication or SIR communication Mouth is write data and is i.e. used 38K Carrier Modulation communication or SIR communication mode to be transmitted.In infrared receiving circuit, sir signal is by firmly Part is converted directly into the sir signal that can directly read, and 38K Carrier Modulation communication then needs to carry out the software demodulation of MCU, after demodulation Signal can be directly read data by the serial ports that 38K Carrier Modulation communication is corresponding.
The device that two have infrared receiving/transmission circuit is configured to same over the horizon communication system, in limited distance, Two equipment transmitting-receiving head alignments.Wherein an equipment sends as main frame, and another equipment receives as from machine.Main frame is by right Answering serial ports to write data, data are sent by infrared emission head through main frame transtation mission circuit.Collect infrared from machine infrared receiving circuit Signal, is passed to MCU's by (needing MCU to demodulate during 38K Carrier Modulation communication) after being filtered shaping from machine infrared receiving circuit Serial ports, is received data by serial ports.When machine sends data, main frame uses same method to be received.
These are only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.

Claims (9)

1.38K Carrier Modulation communication communicates with SIR the method sharing one group of infrared receiving/transmission circuit, including one group of infrared receiving/transmission electricity Road, it is characterised in that: described infrared receiving/transmission circuit includes MCU, and wherein two groups of serial ports of MCU connect the transmitting-receiving of SIR communication respectively End and the sending and receiving end of 38K Carrier Modulation communication, the output pin of described MCU includes that SIR sends pin, 38K signal sends pin, 38K carrier wave output pin and 38K software demodulation output pin, described SIR sends pin and described 38K carrier wave output pin difference Connecting two input pins of two input nand gates, this two input nand gates output pin is in series with infrared transmitting tube and the first limit One end of leakage resistance, the described first current-limiting resistance other end connects described 38K signal and sends pin;The reception pin of described MCU Receiving pin, 38K carrier signal input pin and 38K signal including SIR and receive pin, described SIR receives pin and described 38K Carrier signal input pin connects the input of filter circuit, and the outfan of filter circuit connects infrared receiver tube anode and the Two current-limiting resistances, another termination power cathode of the second current-limiting resistance, infrared receiver tube cathode connects positive source, described 38K signal Receive pin and connect described 38K carrier wave software demodulation output pin;
MCU is configured to 38k carrier communication pattern and SIR communication pattern, and described infrared receiving/transmission circuit carries out 38K Carrier Modulation communication Or SIR communication.
38K Carrier Modulation communication the most according to claim 1 communicate with SIR share one group of infrared receiving/transmission circuit method, It is characterized in that: 38K Carrier Modulation communication mode configuration method is for specifically including following steps:
Described SIR sends pin output high level, and described 38K carrier wave output pin output frequency is the square wave of 38KHz;38K carries The serial ports that ripple modulation communication is corresponding is configured by requirement in standard, and it is floating input that described sir signal receives pin configuration, institute State MCU and detect the signal of described filter circuit in real time, carry out software demodulation, and exported by described 38K software demodulation output pin Pin is received to described 38K signal.
38K Carrier Modulation communication the most according to claim 1 communicate with SIR share one group of infrared receiving/transmission circuit method, It is characterized in that, SIR communication pattern collocation method specifically includes following steps:
Described 38K signal sends pin output low level, and described 38K carrier wave output pin output high level, SIR communicates corresponding Serial ports is configured by SIR communication mode, and described 38K carrier signal input pin is set to floating input.
38K Carrier Modulation communication the most according to claim 1 communicate with SIR share one group of infrared receiving/transmission circuit method, It is characterized in that: the signal of 38K Carrier Modulation communication is launched and specifically included following steps:
Configuring by 38K Carrier Modulation communication pattern, described 38K carrier wave output pin is controlled output frequency by described MCU and is 38KHz square-wave signal, is transferred to described two input nand gate inputs;Described 38K signal sends pin and exports signal to be modulated, Described signal to be modulated and 38KHz square-wave signal, after two input nand gates, produce 38K carrier (boc) modulated signals, described 38K carrier wave Modulated signal is converted into infrared signal by infrared transmitting tube after described first current-limiting resistance and sends.
38K Carrier Modulation communication the most according to claim 1 communicate with SIR share one group of infrared receiving/transmission circuit method, It is characterized in that: the signal of 38K Carrier Modulation communication receives and specifically includes following steps:
Configuring by 38K Carrier Modulation communication pattern, infrared signal is converted into the signal of telecommunication by described infrared receiving tube, conversion After the signal of telecommunication after described filter circuit filters, transmission is to described 38K carrier signal input pin, described MCU is to filtered Signal is demodulated, and by the signal output after demodulation to described 38K software demodulation output pin, described 38K signal receives and draws Foot carries out data parsing to the signal after demodulation, completes communication.
38K Carrier Modulation communication the most according to claim 1 communicate with SIR share one group of infrared receiving/transmission circuit method, It is characterized in that: the signal of SIR communication is launched and specifically included following steps:
Configuring by SIR communication pattern, described SIR sends pin output sir signal, and described sir signal inputs through described two NAND gate transmission is to described infrared transmitting tube, and described infrared transmitting tube converts electrical signals to infrared signal and sends.
38K Carrier Modulation communication the most according to claim 1 communicate with SIR share one group of infrared receiving/transmission circuit method, It is characterized in that: the signal of SIR communication receives and specifically includes following steps:
Configuring by SIR communication pattern, infrared signal is converted into the signal of telecommunication, the telecommunications after conversion by described infrared receiving tube After number filtered circuit filtering, transmission receives pin to described SIR, and described MCU carries out data parsing to filtered signal, complete Become communication.
38K Carrier Modulation communication the most according to claim 1 communicate with SIR share one group of infrared receiving/transmission circuit method, It is characterized in that: the baud rate of described 38K Carrier Modulation communication correspondence serial ports is less than 9600.
38K Carrier Modulation communication the most according to claim 1 communicate with SIR share one group of infrared receiving/transmission circuit method, It is characterized in that: the baud rate scope of the corresponding serial ports of described SIR communication is 19200-115200, and it is the side of 3/16 for dutycycle Ripple.
CN201610665599.XA 2016-08-12 2016-08-12 38K Carrier Modulation communications communicate the structure for sharing one group of infrared receiving/transmission circuit with SIR Active CN106330335B (en)

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 true CN106330335A (en) 2017-01-11
CN106330335B 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 (7)

* Cited by examiner, † Cited by third party
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
US20040208182A1 (en) * 2003-04-16 2004-10-21 Microsoft Corporation Format independent consumer IR transceiver
CN1933370A (en) * 2006-07-20 2007-03-21 威盛电子股份有限公司 Composite infrared transmission system and method
CN101359425A (en) * 2007-07-24 2009-02-04 新唐科技股份有限公司 Receiver and receiving method
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

Patent Citations (7)

* Cited by examiner, † Cited by third party
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
US20040208182A1 (en) * 2003-04-16 2004-10-21 Microsoft Corporation Format independent consumer IR transceiver
CN1933370A (en) * 2006-07-20 2007-03-21 威盛电子股份有限公司 Composite infrared transmission system and method
CN101359425A (en) * 2007-07-24 2009-02-04 新唐科技股份有限公司 Receiver and receiving method
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)

* Cited by examiner, † Cited by third party
Title
单承赣: "通用异步收发器(UART)MAX3100", 《集成电路应用》 *
胡又农,赵锦红: "具有IrDA模式的UART芯片MAX3100及其应用", 《国外电子元器件》 *

Also Published As

Publication number Publication date
CN106330335B (en) 2018-08-28

Similar Documents

Publication Publication Date Title
CN102929824B (en) A kind of system of multiplexing USB interface transmission data
CN207869090U (en) A kind of wireless telecommunication system of multichannel unmanned plane
CN105406899B (en) Device for power line carrier communications for overocean communications
CN101977082B (en) Optical receiving and transmitting module, optical transmitting device and optical transmitting method
CN109728858A (en) Underwater multidirectional laser communication device
CN201365250Y (en) Special satellite communication modulator-demodulator
CN105186616B (en) A kind of mobile phone wireless charger that can be communicated with the mobile phone in wireless charging
CN202066931U (en) Intelligent pairing device
CN110510085A (en) A kind of underwater robot based on visible light communication
WO2012003733A1 (en) Wireless debugging method and device for single board
CN106330335A (en) Method for sharing a group of infrared transceiver circuits in 38K carrier modulation communication and SIR communication
CN101211329B (en) Serial port connecting circuit
CN110164343A (en) A kind of reverse-timing display device detection method, device, system and control system
CN216565179U (en) Hundred-million visible light one-way network card of PCIe interface
CN205091733U (en) Communication interface conversion device
CN210986115U (en) High-compatibility isoSPI communication gateway
CN108880826B (en) RS232 and RS485 combined interface
CN207039564U (en) A kind of half-duplex is anti-to disturb infrared serial interface circuit certainly
CN206650674U (en) Optical module and the interface couplet systems of CAUI 4
CN101877598A (en) Reception level acquisition system for FSK wireless transceiver circuit and method thereof
CN213880184U (en) Earphone device
CN205945735U (en) A circuit board for launching and receive bluetooth signal
CN211149434U (en) Port multiplexing device based on BMC interaction
CN207732769U (en) A kind of QSFP28 SR4 short distance optical-electric modules
CN207559989U (en) Dismantled and assembled data transmission module circuit and device

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