CN212749826U - Serial port communication circuit and serial port communication equipment - Google Patents

Serial port communication circuit and serial port communication equipment Download PDF

Info

Publication number
CN212749826U
CN212749826U CN202022109865.5U CN202022109865U CN212749826U CN 212749826 U CN212749826 U CN 212749826U CN 202022109865 U CN202022109865 U CN 202022109865U CN 212749826 U CN212749826 U CN 212749826U
Authority
CN
China
Prior art keywords
transceiver
communication
signal
logic
gate
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
Application number
CN202022109865.5U
Other languages
Chinese (zh)
Inventor
李飞飞
范建根
吴长江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Keda Technology Co Ltd
Original Assignee
Suzhou Keda 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 Suzhou Keda Technology Co Ltd filed Critical Suzhou Keda Technology Co Ltd
Priority to CN202022109865.5U priority Critical patent/CN212749826U/en
Application granted granted Critical
Publication of CN212749826U publication Critical patent/CN212749826U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Communication Control (AREA)

Abstract

The utility model relates to a serial port communication technical field, concretely relates to serial port communication circuit and serial port communication equipment, serial port communication circuit include communication interface, communication interface is used for being connected with communication equipment; transceivers of at least two communication protocols connected with the communication interface; the input end of the logic module is connected with the transceivers of the at least two communication protocols, the output end of the logic module is connected with the signal receiving end, and the logic module is used for gating the working state of the transceivers; the signal transmitting terminal is connected with the transceivers of the at least two communication protocols. The logic module is used for realizing the gating of the working states of the transceivers of at least two communication protocols, so that only one transceiver of one communication protocol is in the working state at each time, and only one communication interface is required to be externally provided to realize the multiplexing of at least two communication protocols.

Description

Serial port communication circuit and serial port communication equipment
Technical Field
The utility model relates to a serial communication technical field, concretely relates to serial communication circuit and serial communication equipment.
Background
In recent years, with the rapid development of mobile internet and internet of things, embedded technology is becoming popular, and embedded products are continuously penetrating into daily life of people, and play more and more important roles in the fields of communication, network, industrial control, medical treatment, electronics and the like. The embedded equipment is not an independent individual and needs to be communicated by upper computers such as a PC (personal computer), and because different serial port communication protocols (RS232, RS422 and RS458) of the upper computers are not uniform, the embedded equipment needs to provide interfaces of a plurality of communication protocols, so that the investment cost is increased, and inconvenience is brought to use.
SUMMERY OF THE UTILITY MODEL
In view of this, the embodiment of the utility model provides a serial communication circuit and serial communication equipment to solve the current problem that needs to provide a plurality of communication protocol interfaces because the different serial communication equipment who leads to rather than being connected of different host computer serial communication protocols's non-uniformity.
According to a first aspect, the embodiment of the utility model provides a serial communication circuit, include:
a communication interface for connecting with a communication device;
transceivers of at least two communication protocols connected with the communication interface;
the input end of the logic module is connected with the transceivers of the at least two communication protocols, the output end of the logic module is connected with the signal receiving end, and the logic module is used for gating the working state of the transceivers;
the signal transmitting terminal is connected with the transceivers of the at least two communication protocols.
The embodiment of the utility model provides a serial communication circuit through utilizing logic module to realize the gating of two kind at least communication protocol's transceiver operating condition for only a communication protocol's transceiver is in operating condition at every turn, only need provide a communication interface outward and just can realize two kind at least communication protocol's multiplexing.
With reference to the first aspect, in a first implementation manner of the first aspect, the logic module includes at least one logic and gate, and an input of the logic and gate is connected to the transceivers of the at least two communication protocols.
The embodiment of the utility model provides a serial communication circuit realizes the gating of the operating condition of two kind at least communication protocol's transceiver through the logic AND gate, has avoided carrying out complicated logic control to logic module, has simplified circuit structure.
With reference to the first implementation manner of the first aspect, in a second implementation manner of the first aspect, the logic module is a logic and gate.
The embodiment of the utility model provides a serial communication circuit realizes the gating to the operating condition of two kind at least communication protocol's transceiver through a logic AND gate, and circuit structure is fairly simple, has practiced thrift serial communication circuit's cost.
With reference to the second implementation manner of the first aspect, in a third implementation manner of the first aspect, the transceivers of the at least two communication protocols include a first communication protocol transceiver and a second communication protocol transceiver, and both the first communication protocol transceiver and the second communication protocol transceiver are connected to the logic and gate.
With reference to the third implementation manner of the first aspect, in the fourth implementation manner of the first aspect, the first communication protocol transceiver is an RS232 transceiver, and the second communication protocol transceiver is an RS485 transceiver;
a first signal sending end of the RS232 transceiver is connected to the signal sending end, a first signal receiving end of the RS232 transceiver is connected with an input end of the logic AND gate, a second signal sending end of the RS232 transceiver is connected with a first pin of the communication interface, and a second signal receiving end of the RS232 transceiver is connected with a second pin of the communication interface;
the first signal sending end of the RS485 transceiver is connected to the signal sending end, the first signal receiving end of the RS485 transceiver is connected with the input end of the logic AND gate, the second signal sending end of the RS485 transceiver is connected with the fifth pin of the communication interface, and the second signal receiving end of the RS485 transceiver is connected with the sixth pin of the communication interface.
The embodiment of the utility model provides a serial communication circuit is RS232 transceiver when first communication protocol transceiver, when second communication protocol transceiver is RS485 transceiver, has injectd each signal end connection of RS232 transceiver and RS485 transceiver, has satisfied each transceiver and logic module's line sequence requirement.
With reference to the third implementation manner of the first aspect, in a fifth implementation manner of the first aspect, the transceivers of the at least two communication protocols further include a third communication protocol transceiver, and the third communication protocol transceiver is connected to the logical and gate.
The embodiment of the utility model provides a serial communication circuit all is connected three communication protocol transceiver with same logic AND gate, can simplify circuit structure under the operating condition strobe of guaranteeing each communication protocol transceiver.
With reference to the first implementation manner of the first aspect, in a sixth implementation manner of the first aspect, the logic module is two logic and gates.
The embodiment of the utility model provides a serial ports communication circuit sets up logic module into two logic AND gates, and the input of the output conduct back logic AND gate of preceding logic AND gate can improve circuit's control accuracy.
With reference to the sixth implementation manner of the first aspect, in the seventh implementation manner of the first aspect, the transceivers of the at least two communication protocols include a first communication protocol transceiver, a second communication protocol transceiver, and a third communication protocol transceiver; the first communication protocol transceiver and the second communication protocol transceiver are connected with the input end of a first logic AND gate, the output ends of the third communication protocol transceiver and the first logic AND gate are connected with the input end of a second logic AND gate, and the output end of the second logic AND gate is connected to the signal receiving end.
With reference to the seventh implementation manner of the first aspect, in the eighth implementation manner of the first aspect, the first communication protocol transceiver is an RS232 transceiver, the second communication protocol transceiver is an RS485 transceiver, and the third communication protocol transceiver is an RS422 transceiver;
a first signal sending end of the RS232 transceiver is connected to the signal sending end, a first signal receiving end of the RS232 transceiver is connected with an input end of the first logic AND gate, a second signal sending end of the RS232 transceiver is connected with a first pin of the communication interface, and a second signal receiving end of the RS232 transceiver is connected with a second pin of the communication interface;
a first signal sending end of the RS485 transceiver is connected to the signal sending end, a first signal receiving end of the RS485 transceiver is connected with the input end of the first logic AND gate, a second signal sending end of the RS485 transceiver is connected with a fifth pin of the communication interface, and a second signal receiving end of the RS485 transceiver is connected with a sixth pin of the communication interface;
a first signal receiving end of the RS422 transceiver is connected to an input end of the second logic and gate, a second signal receiving end of the RS422 transceiver is connected to a third pin of the communication interface, and a third signal receiving end of the RS422 transceiver is connected to a fourth pin of the communication interface.
The embodiment of the utility model provides a serial communication circuit through the connection that sets up each signal end of RS232, RS422 and RS485 transceiver, can satisfy the line preface demand, improves the reliability of circuit control.
According to the second aspect, the embodiment of the utility model provides a serial communication device is still provided, include:
the utility model discloses the first aspect, or the serial port communication circuit in any one of the embodiments of the first aspect;
the controller is provided with a signal sending end and a signal receiving end, the signal sending end of the controller and the signal sending end connected into the serial port communication circuit, and the signal receiving end of the controller is connected into the signal receiving end of the serial port communication circuit.
The embodiment of the utility model provides a serial communication equipment through utilizing logic module to realize the gating of two kind at least communication protocol's transceiver operating condition for only having a communication protocol's transceiver at every turn and being in operating condition, only need provide a communication interface outward and just can realize two kind at least communication protocol's multiplexing. Therefore, no matter what communication protocol of the communication equipment connected with the serial communication equipment is, the communication equipment can be connected for communication, only one communication interface can be compatible with at least two communication protocol functions, the problem of cost input of the serial communication equipment is effectively solved, and convenience is brought to use.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the technical solutions in the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a serial port communication circuit according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a serial port communication circuit according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a serial communication circuit according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. Based on the embodiments in the present invention, all other embodiments obtained by those skilled in the art without creative efforts belong to the protection scope of the present invention.
The present embodiment provides a serial port communication circuit, as shown in fig. 1, the serial port communication circuit includes a communication interface, transceivers of at least two communication protocols, and a logic module.
The serial communication circuit may be provided with only one communication interface for serial communication with the communication device. The serial port communication circuit may further include an interface for other communication functions, which is not limited herein.
The communication interface may be a network interface, such as an RJ45 interface, or other types of interfaces, etc. The interface type of a particular communication interface may be determined according to the interface of the communication device with which it is to communicate.
The transceiver included in the serial port communication circuit can realize communication of at least two communication protocols, namely at least a transceiver of a first communication protocol and a transceiver of a second communication protocol. Of course, the transceivers specifically provided with several communication protocols in the serial communication circuit may be adjusted correspondingly according to actual use scenarios. One end of each transceiver of each communication protocol is connected with a communication interface, and serial port data communication between the transceivers and communication equipment is realized by utilizing the communication interface. The transceivers of the communication protocol can be RS232 transceiver, RS422 transceiver, RS485 transceiver, and the like.
As shown in fig. 1, the input end of the logic module is connected to transceivers of at least two communication protocols, and is configured to gate the operating states of the transceivers, so as to ensure that only one transceiver processes the operating state at the same time, and the other transceivers all operate in a default state. The output end of the logic module is connected with the signal receiving end and used for realizing data transmission of a communication protocol.
Specifically, the logic module may be a logic and gate, a controllable switch, or the like. When the logic module is a logic and gate, the logic module may include one logic and gate, two logic and gates, or three logic and gates, and the like, and the number of the specific logic and gates may be set according to actual requirements. When the logic module is a controllable switch, likewise, the specific number of controllable switches can be specifically set according to actual conditions.
As described above, when a certain transceiver handles an operating mode, other transceivers may be in a default state, and the default state may be set to a high level, so that the operating state of each transceiver may be gated according to the operating state of the transceiver.
In the serial port communication circuit provided by this embodiment, the logic module is used to implement the gating of the operating states of the transceivers of at least two communication protocols, so that only one transceiver of one communication protocol is in an operating state at a time, and only one communication interface needs to be provided externally to implement the multiplexing of at least two communication protocols.
In some optional implementations of this embodiment, the logic module is a logic and gate, and all transceivers are connected to the logic and gate. For example, the serial port communication circuit includes transceivers of two communication protocols, which are a first communication protocol transceiver and a second communication protocol transceiver, respectively, and then both the first communication protocol transceiver and the second communication protocol transceiver are connected to the logic and gate.
As a specific implementation manner of this embodiment, the first communication protocol transceiver is an RS232 transceiver, the second communication protocol transceiver is an RS485 transceiver, and the communication interface is an RJ45 interface. As shown in fig. 2, a first signal transmitting terminal RS232_ TX of the RS232 transceiver is connected to the signal transmitting terminal RS232_ TX/RS485_ TX, a first signal receiving terminal RS232_ RX of the RS232 transceiver is connected to one input terminal RS232_ RX of the logic and gate, a second signal transmitting terminal of the RS232 transceiver is connected to a first pin of the communication interface, and a second signal receiving terminal of the RS232 transceiver is connected to a second pin of the communication interface.
A first signal sending end RS485_ TX of the RS485 transceiver is connected with a signal sending end RS232_ TX/RS485_ TX, a first signal receiving end RS485_ RX of the RS485 transceiver is connected with one input end RS485_ RX of the logic AND gate, a second signal sending end of the RS485 transceiver is connected with a fifth pin of the communication interface, and a second signal receiving end of the RS485 transceiver is connected with a sixth pin of the communication interface.
The working principle of the serial communication circuit shown in fig. 2 is as follows: when the RS232 is in communication, the RS485 transceiver does not operate, the first signal receiving terminal RS485_ RX of the RS485 transceiver operates in a default state, that is, at a high level, signals at two input ends of the logic and gate are respectively a signal at the first signal receiving terminal RS232_ RX of the RS232 and the high level, the two signals perform a logic and operation, and a signal at the RS232_ RX is kept to be output, that is, the signal received by the signal receiving terminal is a signal at the RS232_ TX.
Similarly, during RS485 communication, the RS232 transceiver does not operate, the first signal receiving terminal RS232_ RX of the RS232 transceiver operates in a default state, i.e. at a high level, signals at two input ends of the logic and gate are respectively a signal at the first signal receiving terminal RS485_ RX of the RS485 and a high level, the two signals are subjected to a logic and operation, and a signal at the RS485_ RX is kept to be output, i.e. the signal received by the signal receiving terminal is a signal at the RS485_ TX.
Optionally, the transceivers of the two communication protocols included in the serial communication circuit may also be an RS232 transceiver and an RS422 transceiver, or an RS422 transceiver and an RS485 transceiver, and so on. The specific connection mode of each transceiver and the logic module can be adjusted according to actual conditions, and only the serial communication circuit needs to be enabled to gate the working state of each transceiver of each communication protocol through the logic module.
As an optional implementation manner of this embodiment, the serial port communication circuit further includes a third communication protocol transceiver in addition to the first communication protocol transceiver and the second communication protocol transceiver. The first communication protocol transceiver, the second communication protocol transceiver and the third communication protocol transceiver are all connected with the same logic module. Furthermore, the three communication protocol transceivers are all connected with the same logic and gate.
In other alternative embodiments of this embodiment, the following description will use the serial port communication circuit including three communication protocol transceivers as an example. The three communication protocol transceivers are respectively a first communication protocol transceiver, a second communication protocol transceiver and a third communication protocol transceiver.
The logic module comprises two logic AND gates, namely a first logic AND gate and a second logic AND gate. The first communication protocol transceiver and the second communication protocol transceiver are connected with the input end of the first logic AND gate, the output ends of the third communication protocol transceiver and the first logic AND gate are connected with the input end of the second logic AND gate, and the output end of the second logic AND gate is connected with the signal receiving end.
As a specific implementation manner of this embodiment, the first communication protocol transceiver is an RS232 transceiver, the second communication protocol transceiver is an RS485 transceiver, and the third communication protocol transceiver is an RS422 transceiver. A first signal sending end of the RS232 transceiver is connected to a signal sending end, a first signal receiving end of the RS232 transceiver is connected with an input end of the first logic AND gate, a second signal sending end of the RS232 transceiver is connected with a first pin of the communication interface, and a second signal receiving end of the RS232 transceiver is connected with a second pin of the communication interface; a first signal sending end of the RS485 transceiver is connected with a signal sending end, a first signal receiving end of the RS485 transceiver is connected with the input end of the first logic AND gate, a second signal sending end of the RS485 transceiver is connected with a fifth pin of the communication interface, and a second signal receiving end of the RS485 transceiver is connected with a sixth pin of the communication interface; and a first signal receiving end of the RS422 transceiver is connected with an input end of the second logic AND gate, a second signal receiving end of the RS422 transceiver is connected with a third pin of the communication interface, and a third signal receiving end of the RS422 transceiver is connected with a fourth pin of the communication interface.
Specifically, as shown in fig. 3, the function of each pin of the RJ45 interface G is described as follows: first pin, RS232TX signal; second pin, RS232RX signal; third pin, RS422 RX + signal; fourth pin, RS422 RX-signal; a fifth pin, RS422 TX +/RS485 RX signal; and a sixth pin, RS422 TX-/RS485 TX signal.
The RS232 serial port communication mode utilizes a first pin and a second pin of an RS232 transceiver D and an RJ45 interface G, wherein the first pin is used as an RS232 communication Transmitting (TX) signal line, and the second pin is used as an RS232 communication Receiving (RX) signal line. The communication mode of the RS232 transceiver D and the controller A is that a signal sending end CPU _ TX/RS422_ TX/RS485_ TX is used as a sending signal (TX) of the RS232 serial port communication of the controller A, and a signal receiving end CPU _ RX of the controller A is used as a receiving signal (RX) of the RS232 serial port communication of the controller A. The received signal (RX) of the serial port communication of the RS232 transceiver D is processed by two logic and gates, i.e., logic and gate B and logic and gate C in fig. 3, as the received signal (CPU _ RX) of the RS232 serial port communication of the controller a. Working principle of the logical and gate B, C: when RS232 communicates, the RS422 transceiver E and the RS485 transceiver F do not operate, the signal lines RS422_ RX and RS485_ RX of the RS422 transceiver E and the RS485 transceiver F operate at a default state, i.e., a high level, a signal on the signal line RS232_ RX of the RS232 transceiver D performs a logical and operation with the high level, and a signal on the RS232_ RX is kept to be output, i.e., a signal received by the receiving signal line of the controller a is a signal on the RS232_ RX.
The RS422 serial port communication mode is that pins 3, 4, 5 and 6 of an RS422 transceiver E, RS485 and an RJ45 interface are utilized, wherein the pins 3 and 4 are used as receiving (RX + RX-) signals of RS422 communication, and the pins 5 and 6 are used as sending (TX + TX-) signals of the RS422 communication; the signals on the transmitting lines (CPU _ TX/RS422_ TX/RS485_ TX) of the controller A are transmitted to the RS485 transceiver F through the RS422/RS485 transceiver E, F converted into 2 communication lines (TX and RX), the receiving signal line CPU _ RX of the controller A is used as a receiving signal (RX) of the serial port communication of the RS422 of the controller A, and the receiving signal (RX) of the serial port communication of the RS422/RS485 transceiver E is processed by two logic AND gates (B, C) to be used as a receiving signal (CPU _ RX) of the serial port communication of the RS422 of the controller A. Working principle of the logical and gate B, C: when RS422 is communicating, the RS232 transceiver D does not operate, the signal line RS232_ RX of the RS232 transceiver D and the signal RS485_ RX of the RS485 transceiver F operate at a default state, i.e., a high level, a signal on the signal line RS422_ RX of the RS422 transceiver E performs a logical and operation with the high level, and the signal on the RS422_ RX is kept outputting, i.e., the signal received by the receiving signal line CPU _ RX of the controller a is the signal on the RS422_ RX.
The RS485 serial port communication mode is that pins 5 and 6 of an RS485 transceiver F and an RJ45 interface are utilized, wherein the fifth pin is used as a Receiving (RX) signal of RS485 communication, and the sixth pin is used as a sending (TX) signal of the RS485 communication; signals on a transmitting line (CPU _ TX/RS422_ TX/RS485_ TX) of the controller A are transmitted to the RS485 transceiver F, a receiving signal line CPU _ RX of the controller A is used as a receiving signal (RX) of the RS485 serial port communication of the controller A, and the receiving signal (RX) of the RS485 transceiver F serial port communication is processed through a logic AND gate B to be used as a receiving signal (CPU _ RX) of the RS485 serial port communication of the controller A. The working principle of the logic AND gate B is as follows: when RS485 communication is performed, the RS232 transceiver D, RS422 transceiver E does not operate, the signal line RS232_ RX of the RS232 transceiver D AND the signal line RS422_ RX of the RS422 transceiver E operate in a default state, i.e., at a high level, the logic AND gate C outputs a high level, i.e., the signal AND on the logic AND gate C is at a high level, the signal on the signal line RS485_ RX of the F transceiver performs a logical AND operation with the high level, AND the signal on the RS485_ RX is kept to be output, i.e., the signal received by the receiving signal line CPU _ RX of the controller a is the signal on the RS485_ RX.
It should be noted that the three serial ports RS232, RS422, and RS485 can not be used simultaneously. 2 RS232 serial port communication signals are Transmitted (TX) and Received (RX); the RS422 serial port communication signals are transmitted by 4, transmitted by 2 and received by 2; and 2 RS485 serial port communication signals are Transmitted (TX) and Received (RX). The RS422 transceiver E and the RS485 transceiver F may be the same application-specific integrated chip, for example, RS232\ RS485 chip.
Since the RS422 transceiver E, RS485 and the transceiver F described in fig. 3 have only 2 pins as input and output of signals, the RS422 needs 4 signal lines. The RS422 transceiver E, RS485 transceiver F has a control pin for controlling the direction of the signal, and the RS422 transceiver E is only used as the signal input of the RS422 function, and is designed to provide a fixed signal transmission direction, and only allows the received signal not to be transmitted. The RS485 transceiver F serves as only a transmitting function and an RS485 function (transmitting and receiving) of the RS422, that is, a control pin in the S485 transceiver is not fixed, and is controlled according to the function, when the RS422 communicates or the RS485 transmits a signal, the control pin sets the signal direction as output, when the RS485 receives a signal, the control pin sets the signal direction as input, and the control pin is controlled by the controller a. The embodiment of the utility model provides a serial communication equipment is still provided, this serial communication equipment includes serial communication circuit and controller in the embodiment that fig. 1-3 show. The controller is provided with a signal sending end and a signal receiving end, the signal sending end of the controller and the signal sending end connected to the serial port communication circuit are connected, and the signal receiving end of the controller is connected to the signal receiving end of the serial port communication circuit.
Optionally, the controller is further configured to perform directional control on the control pin of the RS485 transceiver F described above to determine whether the current control pin is used for signal output or signal input.
For details of the serial port communication circuit, please refer to the related description of the embodiment shown in fig. 1-3, which is not repeated herein.
It should be noted that the controller may be a controller specially used for serial communication control in the serial communication device, or the controller may also be used for implementing other functions, and the like, and the controller is not limited herein.
Although the embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (10)

1. A serial communication circuit, comprising:
a communication interface for connecting with a communication device;
transceivers of at least two communication protocols connected with the communication interface;
the input end of the logic module is connected with the transceivers of the at least two communication protocols, the output end of the logic module is connected with the signal receiving end, and the logic module is used for gating the working state of the transceivers;
the signal transmitting terminal is connected with the transceivers of the at least two communication protocols.
2. The serial port communication circuit according to claim 1, wherein the logic module comprises at least one logic and gate, and an input terminal of the logic and gate is connected to the transceivers of the at least two communication protocols.
3. The serial port communication circuit according to claim 2, wherein the logic module is a logic and gate.
4. The serial communication circuit according to claim 3, wherein the transceivers of the at least two communication protocols comprise a first communication protocol transceiver and a second communication protocol transceiver, and the first communication protocol transceiver and the second communication protocol transceiver are both connected to the logic AND gate.
5. The serial port communication circuit according to claim 4, wherein the first communication protocol transceiver is an RS232 transceiver, and the second communication protocol transceiver is an RS485 transceiver;
a first signal sending end of the RS232 transceiver is connected to the signal sending end, a first signal receiving end of the RS232 transceiver is connected with an input end of the logic AND gate, a second signal sending end of the RS232 transceiver is connected with a first pin of the communication interface, and a second signal receiving end of the RS232 transceiver is connected with a second pin of the communication interface;
the first signal sending end of the RS485 transceiver is connected to the signal sending end, the first signal receiving end of the RS485 transceiver is connected with the input end of the logic AND gate, the second signal sending end of the RS485 transceiver is connected with the fifth pin of the communication interface, and the second signal receiving end of the RS485 transceiver is connected with the sixth pin of the communication interface.
6. The serial communication circuit according to claim 4, wherein the transceivers of the at least two communication protocols further comprise a third communication protocol transceiver, and the third communication protocol transceiver is connected to the logic AND gate.
7. The serial port communication circuit according to claim 2, wherein the logic module is two logic and gates.
8. The serial communication circuit according to claim 7, wherein the transceivers of the at least two communication protocols comprise a first communication protocol transceiver, a second communication protocol transceiver, and a third communication protocol transceiver; the first communication protocol transceiver and the second communication protocol transceiver are connected with the input end of a first logic AND gate, the output ends of the third communication protocol transceiver and the first logic AND gate are connected with the input end of a second logic AND gate, and the output end of the second logic AND gate is connected to the signal receiving end.
9. The serial port communication circuit according to claim 8, wherein the first communication protocol transceiver is an RS232 transceiver, the second communication protocol transceiver is an RS485 transceiver, and the third communication protocol transceiver is an RS422 transceiver;
a first signal sending end of the RS232 transceiver is connected to the signal sending end, a first signal receiving end of the RS232 transceiver is connected with an input end of the first logic AND gate, a second signal sending end of the RS232 transceiver is connected with a first pin of the communication interface, and a second signal receiving end of the RS232 transceiver is connected with a second pin of the communication interface;
a first signal sending end of the RS485 transceiver is connected to the signal sending end, a first signal receiving end of the RS485 transceiver is connected with the input end of the first logic AND gate, a second signal sending end of the RS485 transceiver is connected with a fifth pin of the communication interface, and a second signal receiving end of the RS485 transceiver is connected with a sixth pin of the communication interface;
a first signal receiving end of the RS422 transceiver is connected to an input end of the second logic and gate, a second signal receiving end of the RS422 transceiver is connected to a third pin of the communication interface, and a third signal receiving end of the RS422 transceiver is connected to a fourth pin of the communication interface.
10. A serial communication device, comprising:
the serial communication circuit of any of claims 1-9;
the controller is provided with a signal sending end and a signal receiving end, the signal sending end of the controller and the signal sending end connected into the serial port communication circuit, and the signal receiving end of the controller is connected into the signal receiving end of the serial port communication circuit.
CN202022109865.5U 2020-09-23 2020-09-23 Serial port communication circuit and serial port communication equipment Active CN212749826U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202022109865.5U CN212749826U (en) 2020-09-23 2020-09-23 Serial port communication circuit and serial port communication equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202022109865.5U CN212749826U (en) 2020-09-23 2020-09-23 Serial port communication circuit and serial port communication equipment

Publications (1)

Publication Number Publication Date
CN212749826U true CN212749826U (en) 2021-03-19

Family

ID=74990582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202022109865.5U Active CN212749826U (en) 2020-09-23 2020-09-23 Serial port communication circuit and serial port communication equipment

Country Status (1)

Country Link
CN (1) CN212749826U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113609058A (en) * 2021-07-30 2021-11-05 许昌智能继电器股份有限公司 Serial port circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113609058A (en) * 2021-07-30 2021-11-05 许昌智能继电器股份有限公司 Serial port circuit

Similar Documents

Publication Publication Date Title
DE60220398T2 (en) COMMUNICATION INTERFACE FOR AN ELECTRONIC EQUIPMENT
US7401162B2 (en) Multi-functional port
US11188489B2 (en) USB connections
CN212749826U (en) Serial port communication circuit and serial port communication equipment
CN101493806B (en) Data-transmission method of communication adapter
CN114442514A (en) USB3.0/3.1 control system based on FPGA
CN214202366U (en) Dual-output serial port device based on data encryption
CN204044808U (en) The device that a kind of RS232 of realization, RS485 and USB turn mutually
CN210804414U (en) Circuit with reusable communication interface
CN213582152U (en) PCIE signal bit width automatic switching device of desktop and server system
CN101888649B (en) Serial interface communication testing system
CN112799979A (en) Double-output serial port device based on data encryption and communication method thereof
KR20050011563A (en) A system for transmitting data using universal serial bus
EP2354958A1 (en) A device arranged to use an electromagnetic link to replicate a serial port
CN212515793U (en) USB high-speed serial port card
CN201796361U (en) Serial interface hub
CN216901487U (en) 5Mbps multi-protocol serial port card of PMC specification
CN111638804A (en) Wireless keyboard mouse device capable of switching and controlling multiple computers
CN110535493A (en) A kind of blue-teeth communication equipment
CN211702241U (en) Image data transmission equipment, capsule type endoscope and system thereof
CN220383166U (en) 10Mbps multi-protocol isolation serial port card with PMC specification
CN216437355U (en) Camera with mixed transmission function
US20240028548A1 (en) Universal serial bus (usb) hub with host bridge function and control method thereof
GB2555601A (en) Data flow control
CN211428499U (en) Interface circuit compatible with multiple working modes, connecting cable and electronic equipment

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant