CN206773692U - A kind of telecommunication circuit - Google Patents

A kind of telecommunication circuit Download PDF

Info

Publication number
CN206773692U
CN206773692U CN201720607845.6U CN201720607845U CN206773692U CN 206773692 U CN206773692 U CN 206773692U CN 201720607845 U CN201720607845 U CN 201720607845U CN 206773692 U CN206773692 U CN 206773692U
Authority
CN
China
Prior art keywords
controller
uart interface
pins
master controller
uart
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.)
Expired - Fee Related
Application number
CN201720607845.6U
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.)
Dream Fu (shanghai) Education Technology Co Ltd
Original Assignee
Dream Fu (shanghai) Education 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 Dream Fu (shanghai) Education Technology Co Ltd filed Critical Dream Fu (shanghai) Education Technology Co Ltd
Priority to CN201720607845.6U priority Critical patent/CN206773692U/en
Application granted granted Critical
Publication of CN206773692U publication Critical patent/CN206773692U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Communication Control (AREA)

Abstract

The utility model discloses a kind of telecommunication circuit, the telecommunication circuit includes controller, and the controller includes master controller and from controller;The RXD pins of the UART interface of the master controller are connected with the TXD pins of the UART interface from controller, and the TXD pins of the UART interface of the master controller are connected with the RXD pins of the UART interface from controller;It is also positive to concatenate a diode between the RXD pins of the UART interface of the master controller and the TXD pins of the UART interface from controller;Its effect is:Using two data lines cans and multiple UART equipment communications, more economized on resources than traditional scheme.

Description

A kind of telecommunication circuit
Technical field
The utility model belongs to telecommunication circuit technical field, and in particular to a kind of telecommunication circuit.
Background technology
With the continuous development of electronic industry, there is increasing electronic module, these modules make it that user can be with Certain electric function can be used not the circuit design or written in code that contact the bottom, has substantial amounts of electronics on existing market Module is to be used as communication interface using UART interface.
But in the prior art, UART interface can only realize man-to-man communication, but need to use a variety of electricity in many occasions Submodule, it just may require that a UART interface and multiple UART equipment communications.
The content of the invention
In order to solve the above problems, the utility model proposes a kind of telecommunication circuit, to overcome a band in the prior art The defects of equipment of UART interface can only be with a UART equipment communication.
The technical scheme that the utility model is taken is:A kind of telecommunication circuit, including controller, the controller include master control Device processed and from controller;The RXD pins of the UART interface of the master controller and the TXD of the UART interface from controller draw Pin is connected, and the TXD pins of the UART interface of the master controller are connected with the RXD pins of the UART interface from controller; Between the RXD pins of the UART interface of the master controller and the TXD pins of the UART interface from controller, also positive string Connect a diode;By series diode, when preventing multiple slaves output varying levels, there is communication contention aware, short circuit in bus Situation.
The RXD pins of the UART interface of the master controller electrically connect with described from a detection input of controller;It is logical The high and low level state for monitoring the detection input is crossed, judges whether bus is idle condition.
For the quantity from controller to be multiple, such master controller can passes through a UART port and multiple from control Device processed is communicated.
The master controller and it is described use MCU processors from controller, using MCU processor low costs, disposal ability By force, the development and application for meeting user are entirely capable of.
The master controller and it is described from controller when carrying out communications, the baud rate that the UART interface is set is Any baud rate;By in this way, being easy to carry out data exchange with extraneous miscellaneous equipment.
The master controller and it is described from controller when carrying out communications, UART protocol be provided with one or two stopping Position;Improve the master controller and described can enter when carrying out communications row clock synchronization from controller.
Using above-mentioned technical proposal, there is advantages below:It will not be interfered with each other from the TXD between controller, use two Data wire can and multiple UART equipment communications, more economize on resources than traditional scheme.
Brief description of the drawings
Fig. 1 is telecommunication circuit schematic diagram of the present utility model.
Embodiment
To make the technical problems to be solved in the utility model, technical scheme and advantage clearer, below in conjunction with accompanying drawing And specific embodiment is described in detail, description here is not meant that corresponding to all of the instantiation stated in embodiment Theme all refer in the claims.
With reference to shown in figure 1, a kind of telecommunication circuit, including controller, the controller includes master controller and from controller; The RXD pins of the UART interface of the master controller are connected with the TXD pins of the UART interface from controller, the master control The TXD pins of the UART interface of device processed are connected with the RXD pins of the UART interface from controller;The master controller It is also positive to concatenate a diode between the RXD pins of UART interface and the TXD pins of the UART interface from controller;It is logical So connection is crossed, the data that master controller transmission can be received from controller is ensure that, each diode of series connection, avoids It will not be interfered with each other between each TXD pins from controller, as long as being sent during each difference from controller, master controller is with regard to energy Correct data are received, multiple UART equipment is controlled using two data lines cans, is more economized on resources than traditional scheme.
A kind of described telecommunication circuit, the RXD pins of the UART interface of the master controller with it is described from the one of controller Detection input electrically connects;By monitoring the high and low level state of the detection input, confirm Current bus whether in sky Not busy state, it is idle condition, vice versa during high level;Monitor that for the free time, data are just sent from controller for bus.
Further, the quantity from controller is multiple.
Further, the master controller and described MCU processors are used from controller.
Further, the master controller and it is described from controller when carrying out communications, the UART interface is set Baud rate be any baud rate.
Further, the master controller and it is described from controller when carrying out communications, UART protocol be provided with one Or two stop positions.
Operation principle of the present utility model is:When master controller is needed with multiple UART equipment communications, pass through main control TXD pins in the UART interface of device send data, when sending data by data content and destination address one from controller Rise and transmit, from controller by after the parsing of the data of the packet, by destination address with itself from address compared with, Address matching then preserves data, and mismatch then gives up data, so as to realize that two data lines cans are led to multiple UART equipment Letter, more economizes on resources than traditional scheme;It is empty in bus from controller by monitoring the high and low level state of detection input Idle, data are sent to the master controller, are avoided from conflicting mutually between controller.
Here, it is to be noted that, the function that the utility model is related to, algorithm, method etc. are only the routine of prior art Adaptability application.Therefore, improvement of the utility model for prior art, the annexation being substantially between hardware, rather than For function, algorithm, method in itself, i.e., although the utility model is related to some functions, algorithm, method, but and not comprising to work( The improvement that energy, algorithm, method propose in itself.The utility model is to preferably say for function, the description of algorithm, method Bright the utility model, to be better understood from the utility model.
Finally it should be noted that foregoing description is preferred embodiment of the present utility model, the ordinary skill people of this area Member on the premise of without prejudice to the utility model aims and claim, can make a variety of under enlightenment of the present utility model Similar expression, such conversion are each fallen within the scope of protection of the utility model.

Claims (6)

1. a kind of telecommunication circuit, it is characterised in that including controller, the controller includes master controller and from controller;Institute The RXD pins for stating the UART interface of master controller are connected with the TXD pins of the UART interface from controller, the main control The TXD pins of the UART interface of device are connected with the RXD pins of the UART interface from controller;The UART of the master controller It is also positive to concatenate a diode between the RXD pins of interface and the TXD pins of the UART interface from controller.
A kind of 2. telecommunication circuit according to claim 1, it is characterised in that the RXD of the UART interface of the master controller Pin electrically connects with described from a detection input of controller.
3. a kind of telecommunication circuit according to claim 2, it is characterised in that the quantity from controller is multiple.
4. a kind of telecommunication circuit according to claim 3, it is characterised in that the master controller and described adopted from controller With MCU processors.
5. a kind of telecommunication circuit according to claim 4, it is characterised in that the master controller and described exist from controller When carrying out communications, the baud rate that the UART interface is set is any baud rate.
A kind of 6. telecommunication circuit according to claim 5, it is characterised in that:The master controller and described exist from controller When carrying out communications, UART protocol is provided with one or two stop positions.
CN201720607845.6U 2017-05-27 2017-05-27 A kind of telecommunication circuit Expired - Fee Related CN206773692U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201720607845.6U CN206773692U (en) 2017-05-27 2017-05-27 A kind of telecommunication circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201720607845.6U CN206773692U (en) 2017-05-27 2017-05-27 A kind of telecommunication circuit

Publications (1)

Publication Number Publication Date
CN206773692U true CN206773692U (en) 2017-12-19

Family

ID=60639465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201720607845.6U Expired - Fee Related CN206773692U (en) 2017-05-27 2017-05-27 A kind of telecommunication circuit

Country Status (1)

Country Link
CN (1) CN206773692U (en)

Similar Documents

Publication Publication Date Title
CN103095703B (en) A kind of method, equipment and system realizing network and serial port data interactive
CN105159194A (en) Switching circuit and switching method for switching data receiving/sending operation of RS-485 serial port
CN102833137A (en) Digital home system based on intelligent gateway
CN204256732U (en) The high-speed data transmission apparatus of Based PC I-Express interface
CN103227758A (en) Optical fiber Ethernet switch and control method
CN206773692U (en) A kind of telecommunication circuit
CN101493806A (en) Communication adapter and data-transmission method thereof
CN204089768U (en) RS485 automatic reversing circuit
CN218240706U (en) Intelligent PoE repeater
CN201622783U (en) LED module communication circuit and LED display screen
CN202551086U (en) Ethernet switch
CN217216573U (en) Multi-mode group communication system
CN202758347U (en) Controller of re-identifying universal serial bus (USB) device
CN204442400U (en) A kind of mining RS-485 isolates repeater
CN210804414U (en) Circuit with reusable communication interface
CN204408368U (en) Adopt the network equipment of low-voltage DC supply
CN102103554A (en) Wireless sensor network-based printer interface device
CN204044808U (en) The device that a kind of RS232 of realization, RS485 and USB turn mutually
CN210899203U (en) POE power supply management circuit
CN201207186Y (en) Adaptive serial port
CN203193608U (en) High isolation direct splice half-duplex communication interface module for interconnection of multiple controllers
CN106707946A (en) Data line for communication between S7-200PLC and ACE3600RTU
CN107066412B (en) Communication circuit and method thereof
CN201867797U (en) Printer interface device based on wireless sensing network
CN204832910U (en) Data line for communication between S7-200PLC and ACE3600RTU

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171219

CF01 Termination of patent right due to non-payment of annual fee