CN207637147U - It is a kind of based on one Uart mouthfuls of multichannel RS485 interface communication circuitries - Google Patents
It is a kind of based on one Uart mouthfuls of multichannel RS485 interface communication circuitries Download PDFInfo
- Publication number
- CN207637147U CN207637147U CN201721892164.5U CN201721892164U CN207637147U CN 207637147 U CN207637147 U CN 207637147U CN 201721892164 U CN201721892164 U CN 201721892164U CN 207637147 U CN207637147 U CN 207637147U
- Authority
- CN
- China
- Prior art keywords
- photoelectrical coupler
- uart
- output end
- units
- multichannel
- 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
Landscapes
- Electronic Switches (AREA)
Abstract
It is especially a kind of based on one Uart mouthfuls of multichannel RS485 interface communication circuitries the utility model is related to data communication technology field.The telecommunication circuit includes a Uart unit, at least two RS485 units and one and gate cell, Uart units include the first signal input part and the first signal output end, first signal input part connects the output end with gate cell, and the first signal output end is for connecting controller;The ends RXD of each RS485 units are correspondingly connected with each input terminal with gate cell, the communication of a plurality of RS485 buses is realized while being not added with serial port extended chip, and without controlling the transmitting-receiving of each RS485 chips, it is at low cost, circuit is realized simple, the ability for increasing a serial ports carrying device, solve the problems, such as existing multiple RS485 buses connect one Uart mouthful carry out communicating connection complexity, the cost that serial port extended chip must be used to bring it is higher.
Description
Technical field
The utility model is related to data communication technology field, especially a kind of multichannel RS485 based on one Uart mouthfuls connects
Port communications circuit.
Background technology
For the UART port of CPU under the premise of not using serial port extended chip, being cannot be to two or more pieces RS485 at present
Bus transmitting data carries out device polling.Because the ends RXD of UART port Transistor-Transistor Logic level cannot be connected on multiple RS485 chips simultaneously
Receiver output end, level and data collision can be caused in this way, cause CPU None- identifieds, to reduce the same serial ports
The ability of carrying device.
Utility model content
The purpose of this utility model be to provide it is a kind of based on one Uart mouthfuls of multichannel RS485 interface communication circuitries, to
Existing multiple one Uart mouthfuls of RS485 buses connections are solved communicate and must answer using the connection that serial port extended chip is brought
Miscellaneous, the higher problem of cost.
To achieve the above object, the utility model provides a kind of based on one Uart mouthfuls of multichannel RS485 interface communication electricity
Road, including following technical scheme:
Scheme one:It is a kind of based on one Uart mouthfuls of multichannel RS485 interface communication circuitries, an including Uart unit, extremely
Few two RS485 units and one and gate cell, the Uart units include the first signal input part and the first signal output end,
The first signal input part connection output end with gate cell, first signal output end is for connecting controller;
The ends RXD of each RS485 units are correspondingly connected with each input terminal with gate cell.
Advantageous effect is that this programme one is connected by a Uart unit and gate cell is to access multiple RS485 units,
The communication of a plurality of RS485 buses is realized while being not added with serial port extended chip, and without being carried out to the transmitting-receiving of each RS485 chips
Control, at low cost, circuit is realized simply, and the ability of a serial ports carrying device is increased, and is solved existing multiple RS485 buses and is connected
One Uart mouthfuls are connect to carry out communicating connection complexity, the higher problem of cost that serial port extended chip must be used to bring.
Scheme two:On the basis of scheme one, the Uart units further include that second signal input terminal and second signal are defeated
Outlet, the second signal output end connect the ends TXD of each RS485 units, and the second signal input terminal is for connecting
The controller.
Scheme three:On the basis of scheme one, the Uart units include the first photoelectrical coupler, the first photoelectricity coupling
One end of the primary side of clutch connects the first power supply, and the other end of the primary side of first photoelectrical coupler is that first signal is defeated
Enter end, the secondary side of first photoelectrical coupler connects first signal output end.
Scheme four:On the basis of scheme two, the Uart units include the first photoelectrical coupler and the second photoelectric coupling
Device, one end of the primary side of first photoelectrical coupler connect the first power supply, the primary side of first photoelectrical coupler it is another
End is first signal input part, and the secondary side of first photoelectrical coupler exports first signal output end;Described
The primary sides of two photoelectrical couplers connects the second signal input terminal, one end connection on the secondary side of second photoelectrical coupler the
The other end of one power supply, the secondary side of second photoelectrical coupler is the second signal output end.
Scheme five:On the basis of scheme four, each RS485 units include MAX13485 chips, the MAX13485
The DI mouths of chip pass through resistance eutral grounding.
Scheme six:On the basis of scheme three, second source connects first photoelectrical coupler by first resistor
The one end on secondary side, the other end ground connection on the secondary side of first photoelectrical coupler, the one of the secondary side of first photoelectrical coupler
End is first signal output end.
Scheme seven:On the basis of scheme four, second source connects first photoelectrical coupler by first resistor
The one end on secondary side, the other end ground connection on the secondary side of first photoelectrical coupler, the one of the secondary side of first photoelectrical coupler
End is first signal output end;The second source connects the primary side of second photoelectrical coupler by second resistance
The other end of one end, the primary side of second photoelectrical coupler is the second signal input terminal.
Description of the drawings
Fig. 1 is a kind of schematic diagram based on one Uart mouthfuls of multichannel RS485 interface communication circuitries;
Fig. 2 is a kind of circuit diagram based on one Uart mouthfuls of multichannel RS485 interface communication circuitries.
Specific implementation mode
The utility model is described in more detail below in conjunction with the accompanying drawings.
The utility model provide it is a kind of based on one Uart mouthfuls of multichannel RS485 interface communication circuitries, as shown in Figure 1, packet
A Uart unit, two RS485 units and one and gate cell are included, Uart units include the first signal input part and the first letter
Number output end, the output end of the first signal input part connection and gate cell, the first signal output end is for connecting controller;Respectively
The ends RXD of RS485 units are correspondingly connected with each input terminal with gate cell.
Physical circuit connects as shown in Fig. 2, Uart units include the first isolation circuit and the second isolation circuit, respectively the
One photoelectrical coupler U3 and the second photoelectrical coupler U4, wherein the output end of the primary side connection and door U6 of U3, the output end of U3 are used
In connection controller, wherein controller is CPU.
First RS485 units include the first RS485 chip U2, and the 2nd RS485 units include the 2nd RS485 chip U5, U4
Primary side for connecting CPU, the output end of U4 connect the first RS485 units and the 2nd RS485 units RE mouths and DE mouthfuls, first
The RO mouths of RS485 units and the 2nd RS485 units are separately connected the input terminal with door U6, and above-mentioned U2 and U5 are MAX13485 cores
Piece.
Under normal circumstances, the level at the ends RXD2-485 at the ends RXD1-485 and U5 of U2 is all high level, if direct one
Connection Uart units are played, level conflict will be caused, lead to its level of CPU None- identifieds.And if the ends RXD1-485 of U2
The both ends A, B with door U6 are connected to the ends RXD2-485 of U5, are connect when the first RS485 units and the 2nd RS485 unit differences
When receiving data, the output with door U6 will be according to the first RS485 units or the ends RXD1-485 of the 2nd RS485 units for having data
Or the ends RXD2-485 level and change, keep the consistency of level.
The ends primary side RXD-485 of the first photoelectrical coupler U3, the output end RXD of U3 are connect in circuit with the output end of door U6
End connects CPU, and the Transistor-Transistor Logic level signal of serial ports is isolated in the first photoelectrical coupler U3.
The output end for sending and receiving control terminal RE the second photoelectrical couplers of connection U4 of U2, U5, pass through TXD-485 respectively
Level controlled, usually since the TXD of the second photoelectrical coupler U4 is high level, TXD-485 should be low level, i.e.,
RE is low level, and RS485 chips are in reception state.When having data transmission, when TXD is low level, the second photoelectricity
Coupler U4 conductings, TXD-485 is high level, and the level of DI always is low level, and the driver of RS485 is DI's at this time
Level conversion is consistent at the difference low level at the both ends RS485 chip AB with the level property of TXD;When TXD is high level
When, U4 is low level by, TXD-485, and RS485 chips are in input state, and the differential electrical at the both ends RS485 chips AB at this time
It puts down as high level, is consistent with the level property of TXD, to realize the function that the transmitting-receiving of RS485 chips is automatically switched.
Be presented above the utility model is related to specific implementation mode, but the utility model is not limited to described reality
Apply mode.Under the thinking that the utility model provides, to above-mentioned by the way of being readily apparent that those skilled in the art
Technological means in embodiment is converted, is replaced, is changed, and play the role of and the utility model in relevant art hand
The purpose of utility model that section is essentially identical, realizes is also essentially identical, and the technical solution formed in this way is carried out to above-described embodiment
What fine tuning was formed, this technical solution is still fallen in the scope of protection of the utility model.
Claims (7)
1. a kind of based on one Uart mouthfuls of multichannel RS485 interface communication circuitries, which is characterized in that including a Uart unit,
At least two RS485 units and one and gate cell, the Uart units include that the first signal input part and the first signal export
End, the first signal input part connection output end with gate cell, first signal output end are controlled for connecting
Device;The ends RXD of each RS485 units are correspondingly connected with each input terminal with gate cell.
2. according to claim 1 based on one Uart mouthfuls of multichannel RS485 interface communication circuitries, which is characterized in that institute
It further includes second signal input terminal and second signal output end to state Uart units, and the second signal output end connection is described each
The ends TXD of RS485 units, the second signal input terminal is for connecting the controller.
3. according to claim 1 based on one Uart mouthfuls of multichannel RS485 interface communication circuitries, which is characterized in that institute
It includes the first photoelectrical coupler to state Uart units, and one end of the primary side of first photoelectrical coupler connects the first power supply, described
The other end of the primary side of first photoelectrical coupler is first signal input part, and the secondary side of first photoelectrical coupler connects
First signal output end.
4. according to claim 2 based on one Uart mouthfuls of multichannel RS485 interface communication circuitries, which is characterized in that institute
It includes the first photoelectrical coupler and the second photoelectrical coupler to state Uart units, and one end of the primary side of first photoelectrical coupler connects
The first power supply is connect, the other end of the primary side of first photoelectrical coupler is first signal input part, first photoelectricity
The secondary side of coupler exports first signal output end;It is defeated that the primary side of second photoelectrical coupler connects the second signal
Enter end, the one end on the secondary side of second photoelectrical coupler connects the first power supply, the secondary side of second photoelectrical coupler it is another
One end is the second signal output end.
5. according to claim 4 based on one Uart mouthfuls of multichannel RS485 interface communication circuitries, which is characterized in that institute
It includes MAX13485 chips to state each RS485 units, and the DI mouths of the MAX13485 chips pass through resistance eutral grounding.
6. according to claim 3 based on one Uart mouthfuls of multichannel RS485 interface communication circuitries, which is characterized in that the
Two power supplys connect the one end on the secondary side of first photoelectrical coupler, the secondary side of first photoelectrical coupler by first resistor
Other end ground connection, the one end on the secondary side of first photoelectrical coupler is first signal output end.
7. according to claim 4 based on one Uart mouthfuls of multichannel RS485 interface communication circuitries, which is characterized in that the
Two power supplys connect the one end on the secondary side of first photoelectrical coupler, the secondary side of first photoelectrical coupler by first resistor
Other end ground connection, the one end on the secondary side of first photoelectrical coupler is first signal output end;The second source
Connect one end of the primary side of second photoelectrical coupler by second resistance, the primary side of second photoelectrical coupler it is another
End is the second signal input terminal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201721892164.5U CN207637147U (en) | 2017-12-28 | 2017-12-28 | It is a kind of based on one Uart mouthfuls of multichannel RS485 interface communication circuitries |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201721892164.5U CN207637147U (en) | 2017-12-28 | 2017-12-28 | It is a kind of based on one Uart mouthfuls of multichannel RS485 interface communication circuitries |
Publications (1)
Publication Number | Publication Date |
---|---|
CN207637147U true CN207637147U (en) | 2018-07-20 |
Family
ID=62851291
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201721892164.5U Active CN207637147U (en) | 2017-12-28 | 2017-12-28 | It is a kind of based on one Uart mouthfuls of multichannel RS485 interface communication circuitries |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN207637147U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113848788A (en) * | 2021-09-27 | 2021-12-28 | 厦门四信通信科技有限公司 | Expansion circuit, system and control method |
-
2017
- 2017-12-28 CN CN201721892164.5U patent/CN207637147U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113848788A (en) * | 2021-09-27 | 2021-12-28 | 厦门四信通信科技有限公司 | Expansion circuit, system and control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN204650513U (en) | Distributed structure/architecture equipment and serial port circuit thereof | |
CN202084028U (en) | Modularized multi-serial port expanding device | |
CN204965418U (en) | Novel RS -485 interface drive circuit | |
CN203933593U (en) | Half-duplex RS-485 isolation communicating circuit | |
CN107070445A (en) | A kind of serial communication interface function switching circuit and method | |
CN103853689A (en) | Device and method of automatic switchover of USB (Universal Serial Bus) and four-line serial port UART (Universal Asynchronous Receiver Transmitter) | |
CN105141480A (en) | Power over ethernet (PoE) switch test device, system and method | |
CN103972909B (en) | TSC systems and its RS485 communication means based on FPGA | |
CN107908584B (en) | Multi-path RS-485 communication network | |
CN1731788B (en) | Communication equipment interface and interface converter using the interface | |
CN102055634B (en) | CAN node interconnection device based on optical fibers | |
CN207637147U (en) | It is a kind of based on one Uart mouthfuls of multichannel RS485 interface communication circuitries | |
CN202649998U (en) | RS232/RS485/RS422 comprehensive test interface circuit | |
CN104579881B (en) | A kind of configurable RS232/422/485 multiplex circuits | |
CN206460454U (en) | The serial ports instrument that a kind of achievable different types of data is mutually changed simultaneously | |
CN203554447U (en) | Gigabit intelligent type optical fiber transceiver | |
CN209472629U (en) | RS422 communication and CAN communication equipment based on PCIE bus | |
CN206584215U (en) | A kind of PLC system and its principal and subordinate link structure | |
CN207302037U (en) | A kind of network interface card of the Integrated Light power port based on single-chip | |
CN102780503A (en) | Audio and data forwarding device with multiple transmission means based on compact peripheral component interconnect (CPCI) bus | |
CN205318374U (en) | Redundant circuit of RS -232 serial ports | |
CN203840350U (en) | Optical node local-side device | |
CN207529181U (en) | A kind of RS485 telecommunication circuits | |
CN202615169U (en) | Bus compatible interface circuit used for keyless entry system | |
CN206178790U (en) | Serial communication port conversion equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |