CN208754289U - TTL serial ports no-delay communicating circuit in parallel - Google Patents

TTL serial ports no-delay communicating circuit in parallel Download PDF

Info

Publication number
CN208754289U
CN208754289U CN201821555973.1U CN201821555973U CN208754289U CN 208754289 U CN208754289 U CN 208754289U CN 201821555973 U CN201821555973 U CN 201821555973U CN 208754289 U CN208754289 U CN 208754289U
Authority
CN
China
Prior art keywords
serial ports
parallel
unit
ttl serial
transmission
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
CN201821555973.1U
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.)
Hangzhou Qing Hong Science And Technology Co Ltd
Original Assignee
Hangzhou Qing Hong Science And 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 Hangzhou Qing Hong Science And Technology Co Ltd filed Critical Hangzhou Qing Hong Science And Technology Co Ltd
Priority to CN201821555973.1U priority Critical patent/CN208754289U/en
Application granted granted Critical
Publication of CN208754289U publication Critical patent/CN208754289U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The utility model discloses a kind of TTL serial ports no-delay communicating circuits in parallel, and sending module includes several transmission units, connect external microcontroller by single TTL serial ports after each transmission unit is in parallel;Receiving module include with the one-to-one receiving unit of transmission unit, external microcontroller is connected by single TTL serial ports after each receiving unit is in parallel;Each transmission unit forms a communication unit with corresponding receiving unit and connects a sensor;In communication, external microcontroller carries out data interaction by communication unit and the sensor of connection;When a transmission unit in sending module is in transmission state, other transmission units are in off state, and receiving unit corresponding with the transmission unit of transmission state is in is in pull-up reception state.The TTL serial ports that external microcontroller may be implemented in the utility model can be communicated directly with multiple sensors;Circuit structure is simple, and does not need interface conversion and communicate and be not delayed.

Description

TTL serial ports no-delay communicating circuit in parallel
Technical field
The utility model relates to communicating circuit technical field more particularly to a kind of TTL serial ports no-delay communication electricity in parallel Road.
Background technique
Microcontroller is if necessary to the sensor module with various TTL interfaces in embedded systems, such as temperature and humidity, liquid crystal And if optical sensor etc. communicates.The general scheme using 485 chips of extension at present, i.e., the interface each sensor 485 interfaces are extended to by TTL, then are connected together, to realize that the same interface of CPU can be with multiple sensor communications.But It is this scheme using 485 chips of extension, often plus a kind of sensor device is it is necessary to add a piece of 485 communication chip, not only significantly Circuit structure complexity is improved, and since there are interface conversions, communication is caused to be delayed.
Utility model content
TTL serial ports provided by the utility model no-delay communicating circuit in parallel, main purpose are to overcome existing side Case causes circuit structure complicated, there are problems that communication delay.
In order to solve the above technical problems, the utility model adopts the following technical solution:
A kind of TTL serial ports no-delay communicating circuit in parallel, including sending module and receiving module;
The sending module includes several transmission units, is connected after each transmission unit is in parallel by single TTL serial ports Connect external microcontroller;
The receiving module includes and the one-to-one receiving unit of the transmission unit that each receiving unit is in parallel External microcontroller is connected by single TTL serial ports afterwards;
Each transmission unit forms a communication unit with the corresponding receiving unit and connects a sensor;? When communication, external microcontroller carries out data interaction by communication unit and the sensor of connection;
When a transmission unit in the sending module is in transmission state, other described transmission units, which are in, to be cut Only state, and receiving unit corresponding with the transmission unit of transmission state is in is in pull-up reception state.
As an embodiment, the sending module further includes the first anti-jamming circuit;
The first anti-interference unit is connect with the parallel connected end of the TTL serial ports of external microcontroller and transmission unit respectively.
As an embodiment, first anti-jamming circuit includes resistance R1 and two-way transient diode T1;
The TTL serial ports of one end of the resistance R1 and external microcontroller connects, the other end respectively with two-way two pole of transient state The anode of pipe T1 is connected with the parallel connected end of transmission unit;
The cathode of the two-way transient diode T1 is grounded.
As an embodiment, each receiving unit include receiving subelement and with the receiving subelement string The diode of connection, the cathode of the diode are connect with the output end of the receiving subelement.
As an embodiment, the receiving module further includes the second anti-jamming circuit;
The second anti-interference unit is connect with the parallel connected end of the TTL serial ports of external microcontroller and receiving unit respectively.
As an embodiment, second anti-jamming circuit includes resistance R2 and two-way transient diode T2;
The TTL serial ports of one end of the resistance R2 and external microcontroller connects, the other end respectively with two-way two pole of transient state The anode of pipe T2 is connected with the parallel connected end of receiving unit;
The cathode of the two-way transient diode T2 is grounded.
As an embodiment, the working condition of the sending module and receiving module is by external microcontroller Serial ports configuration determines.
Compared with prior art, the technical program has the advantage that
TTL serial ports provided by the utility model no-delay communicating circuit in parallel is gone here and there in a TTL of external microcontroller Multiple communication units are set on mouthful, and each communication unit is connected with sensor.And each communication unit by transmission unit and Corresponding receiving unit composition, when a transmission unit in sending module is in transmission state, other transmission units are located In off state, and receiving unit corresponding with the transmission unit of transmission state is in is in pull-up reception state, so as to It realizes that a TTL serial ports current time all only can carry out data interaction with a sensor, allows external microcontroller straight It connects and is communicated with multiple sensors;Circuit structure is simple, and does not need interface conversion and communicate and be not delayed.
Detailed description of the invention
Fig. 1 is the schematic diagram for the TTL serial ports no-delay communicating circuit in parallel that the utility model embodiment one provides;
Fig. 2 is the data waveform schematic diagram that the first transmission unit is sent;
Fig. 3 is the potential diagram that the second transmission unit is sent to N transmission unit;
Fig. 4 is the received data waveform schematic diagram of external microcontroller.
In figure: 1, sending module;11, the first transmission unit;2, receiving module;3, external microcontroller;4, sensor.
Specific embodiment
Below in conjunction with attached drawing, the above and other technical features and advantages of the present invention are carried out clearly and completely Description, it is clear that described embodiment is only the section Example of the utility model, rather than whole embodiments.
Referring to Fig. 1, the TTL serial ports no-delay communicating circuit in parallel that the utility model embodiment one provides, including hair Send module 1 and receiving module 2;Sending module 1 includes several transmission units, is gone here and there after each transmission unit is in parallel by single TTL Mouth connection external microcontroller 3;Receiving module 2 include with the one-to-one receiving unit of transmission unit, each receiving unit is simultaneously External microcontroller 3 is connected by single TTL serial ports after connection;Each transmission unit and corresponding receiving unit form a communication Unit connects a sensor 4;In communication, external microcontroller 3 carries out data friendship by the sensor 4 that communication unit connects Mutually;When a transmission unit in sending module 1 is in transmission state, other transmission units are in off state, and with The corresponding receiving unit of transmission unit in the state of transmission is in pull-up reception state.
It should be noted that sending module 1 includes at least two transmission units, the quantity of transmission unit determines corresponding connect The quantity of unit is received, and each transmission unit and receiving unit form a communication unit.Communication unit can extend always, That is if to be communicated with four sensors 4, as long as four communication units of setting.It is between transmission unit Parallel with one another, it is connect after in parallel with the end TXD of a TTL serial ports of external microcontroller 3, and between receiving unit it is also phase It is mutually in parallel, it is connect after in parallel with the end RXD of a TTL serial ports of external microcontroller 3;That is 3 needs of external microcontroller mention For 1 TTL serial ports, so that it may with multiple 4 Direct Communications of sensor.
In order to make communication normally the working condition to transmission unit and receiving unit alternately be needed to configure, specifically For, when a transmission unit in sending module 1 is in transmission state, other transmission units are in off state, and with The corresponding receiving unit of transmission unit in the state of transmission is in pull-up reception state.Above-mentioned configuration can be directly in outside The mode for sending data to TTL serial ports in microcontroller 3 configures.It is, the work of sending module 1 and receiving module 2 State is configured by the serial ports of external microcontroller 3 and is determined.For example, the work side at the end TXD (transmitting terminal) of external microcontroller 3 Formula is configured to push-pull output mode, and the end RXD (receiving end) is all to input upper pull-mode.Therefore, the transmission of external microcontroller 3 Data directly can be received directly by all receiving ends.That is it can only be communicated every time with a sensor 4, other Sensor 4 is in off state.When needing to communicate multiple sensors 4, can be carried out with poll.
Need to be arranged a reversed cut-off in receiving unit, when the receiving end low level signal of receiving unit cannot transmit To the receiving end of TTL serial ports.There can be circuit realization, for example, each receiving unit includes receiving subelement and single with son is received The concatenated diode of member, the cathode of diode and the output end of receiving subelement connect.In this present embodiment, by the way that Xiao Te is arranged Based diode can be realized.That is each receiving subelement includes a diode and a receiving subelement.
TTL serial ports provided by the utility model no-delay communicating circuit in parallel, in a TTL of external microcontroller 3 Multiple communication units are set on serial ports, and each communication unit is connected with sensor 4.And each communication unit is by transmission unit It is formed with corresponding receiving unit, when a transmission unit in sending module 1 is in transmission state, other transmission units are equal In off state, and receiving unit corresponding with the transmission unit of transmission state is in is in pull-up reception state, so as to To realize that a TTL serial ports current time all only can carry out data interaction with a sensor 4, so that external microcontroller 3 can It is communicated with direct with multiple sensors 4;Circuit structure is simple, and does not need interface conversion and communicate and be not delayed.
Some transmission unit in sending module 1 is selected to send data, other transmission units are in off state.It will send For unit with the first to N name, corresponding receiving unit is also with the first to N name.So when sending module 1 sends data When.For example, since the transmitting terminal level of the first transmission unit 11 is 1, being received with first when the first transmission unit 11 sends out bit1 The level of the external microcontroller 3 of unit connection is also 1 due to carrying pull-up resistor;When the first transmission unit 11 is sent When bit0, transmission unit end level is 0, due to having connect the cathode of Schottky diode, 3 serial ports receiving end of external microcontroller Voltage will be pulled low to 0.3V (pressure drop of Schottky diode is 0.3V), the electricity of the second receiving unit to N receiving unit Flat to have added a backward dioded, waveform is unaffected.When the waveform of the transmission of external microcontroller 3 data is 010010 as a result, The received waveform of receiving module 2 is 010010.Specific waveform, as shown in Fig. 2, Fig. 3 and Fig. 4.
It can be seen that: the received waveform of external microcontroller 3, initial level have 0.3V, are because having concatenated a Xiao Te Based diode (pressure drop 0.3V), but being properly received for external microcontroller 3 is not influenced, because external microcontroller 3 can be IO Voltage 1.5V or less is judged as logical zero level, so data waveform and final external micro-control that the first transmission unit 11 is sent The received waveform of device 3 processed is completely the same, and the waveform of other modules is unaffected, and it is also such that other units, which send data,.Such as Fruit is directly connected to all be connected together all receiving ends, and such as the first transmission unit 11 sends 0 data of position (bit), it The end IO to drag down originally, but because the IO of other transmission unit is push pull mode, may not drag down, number Fail according to sending.It can be seen that device is simple after having added this programme between external microcontroller 3 and sensor 4, interface without Change, realizes the Direct Communication between each sensor 4 or equipment, and data are not delayed.
In order to increase the anti-interference of communication, sending module further includes the first anti-jamming circuit;First anti-interference unit point It is not connect with the parallel connected end of the TTL serial ports of external microcontroller 3 and transmission unit.First anti-jamming circuit includes resistance R1 and double To transient diode T1;One end of resistance R1 is connect with the TTL serial ports of external microcontroller 3, the other end respectively with two-way transient state The anode of diode T1 is connected with the parallel connected end of transmission unit;The cathode of two-way transient diode T1 is grounded.Resistance R1's plays Impedance matching effect, can also play the Anti-Jamming to high voltage spikes.Two-way transient diode T1 can be to high pressure Spike is absorbed, and Anti-Jamming is played.
The anti-interference communicated in order to further increase, receiving module 2 further include the second anti-jamming circuit;Second is anti-interference Unit is connect with the parallel connected end of the TTL serial ports of external microcontroller 3 and receiving unit respectively.Second anti-jamming circuit includes resistance R2 and two-way transient diode T2;One end of resistance R2 is connect with the TTL serial ports of external microcontroller 3, the other end respectively with it is double It is connected to the anode of transient diode T2 with the parallel connected end of receiving unit;The cathode of two-way transient diode T2 is grounded.Resistance R2 The Anti-Jamming for playing the role of impedance matching, can also playing to high voltage spikes.Two-way transient diode T2 can be with High voltage spikes are absorbed, Anti-Jamming is played.
Although the utility model has been described by way of example and in terms of the preferred embodiments, but it is not to appoint for limiting the utility model What those skilled in the art without departing from the spirit and scope of the utility model, may be by the method and skill of the disclosure above Art content makes possible variation and modification to technical solutions of the utility model, therefore, all without departing from the utility model technology The content of scheme, it is made by the above technical examples according to the technical essence of the present invention it is any it is simple modification, equivalent variations and Modification, belongs to the protection scope of technical solutions of the utility model.

Claims (7)

1. a kind of TTL serial ports no-delay communicating circuit in parallel, which is characterized in that including sending module and receiving module;
The sending module includes several transmission units, outer by the connection of single TTL serial ports after each transmission unit is in parallel Portion's microcontroller;
The receiving module include with the one-to-one receiving unit of the transmission unit, lead to after each receiving unit is in parallel Cross single TTL serial ports connection external microcontroller;
Each transmission unit forms a communication unit with the corresponding receiving unit and connects a sensor;It is communicating When, external microcontroller carries out data interaction by communication unit and the sensor of connection;
When a transmission unit in the sending module is in transmission state, other described transmission units are in cut-off shape State, and receiving unit corresponding with the transmission unit of transmission state is in is in pull-up reception state.
2. TTL serial ports as described in claim 1 no-delay communicating circuit in parallel, which is characterized in that the sending module is also Including the first anti-jamming circuit;
The first anti-interference unit is connect with the parallel connected end of the TTL serial ports of external microcontroller and transmission unit respectively.
3. TTL serial ports as claimed in claim 2 no-delay communicating circuit in parallel, which is characterized in that described first is anti-interference Circuit includes resistance R1 and two-way transient diode T1;
The TTL serial ports of one end of the resistance R1 and external microcontroller connects, the other end respectively with two-way transient diode T1 Anode connected with the parallel connected end of transmission unit;
The cathode of the two-way transient diode T1 is grounded.
4. TTL serial ports as described in claim 1 no-delay communicating circuit in parallel, which is characterized in that each reception is single Member include receiving subelement and with the concatenated diode of the receiving subelement, the cathode of the diode and receptions son list The output end connection of member.
5. TTL serial ports as described in claim 1 no-delay communicating circuit in parallel, which is characterized in that the receiving module is also Including the second anti-jamming circuit;
The second anti-interference unit is connect with the parallel connected end of the TTL serial ports of external microcontroller and receiving unit respectively.
6. TTL serial ports as claimed in claim 5 no-delay communicating circuit in parallel, which is characterized in that described second is anti-interference Circuit includes resistance R2 and two-way transient diode T2;
The TTL serial ports of one end of the resistance R2 and external microcontroller connects, the other end respectively with two-way transient diode T2 Anode connected with the parallel connected end of receiving unit;
The cathode of the two-way transient diode T2 is grounded.
7. TTL serial ports as described in claim 1 no-delay communicating circuit in parallel, which is characterized in that the sending module and The working condition of receiving module is configured by the serial ports of external microcontroller and is determined.
CN201821555973.1U 2018-09-21 2018-09-21 TTL serial ports no-delay communicating circuit in parallel Active CN208754289U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201821555973.1U CN208754289U (en) 2018-09-21 2018-09-21 TTL serial ports no-delay communicating circuit in parallel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201821555973.1U CN208754289U (en) 2018-09-21 2018-09-21 TTL serial ports no-delay communicating circuit in parallel

Publications (1)

Publication Number Publication Date
CN208754289U true CN208754289U (en) 2019-04-16

Family

ID=66084640

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201821555973.1U Active CN208754289U (en) 2018-09-21 2018-09-21 TTL serial ports no-delay communicating circuit in parallel

Country Status (1)

Country Link
CN (1) CN208754289U (en)

Similar Documents

Publication Publication Date Title
CN101572642B (en) RS485 communication circuit
CN106941349A (en) A kind of low delay optical coupling isolation circuit and RS485 isolate telecommunication circuit
CN208754289U (en) TTL serial ports no-delay communicating circuit in parallel
CN202383491U (en) Slave power supply and valve control circuit of M-BUS
CN203847102U (en) CAN bus and 485 bus node circuit
CN203397201U (en) CPLD or FPGA based high-speed synchronous serial communication circuit
CN109194322B (en) RS485 high-speed communication capacitive isolation circuit and performance test method thereof
CN202904571U (en) Controller area network (CAN) bus interface circuit with electric isolation function
CN109687863A (en) The driving circuit of RS485 chip
CN202995715U (en) Low-cost single-data-line asynchronous serial communication circuit
CN203661030U (en) Electrical level switching circuit and circuit board having same
CN213754540U (en) Single-bus communication circuit
CN210112034U (en) CAN transceiver circuit and CAN communication system
CN201331392Y (en) Intelligent multi-point temperature measurement transmitter
CN211577702U (en) Diode-based multi-serial-port parallel transmission circuit
CN202663433U (en) Receiving module of RS-485 communication circuit
CN209748544U (en) RS485 half-duplex is from receiving and dispatching circuit
CN208444184U (en) The circuit for checking input signals of numerically-controlled machine tool
CN207743959U (en) A kind of data transmission circuit based on RS232
CN103743494A (en) Multi-channel temperature acquisition device and method
CN219697667U (en) FlexRay bus communication module based on FPGA
CN203416280U (en) Elevator controller CAN communication interface device
CN219831693U (en) 485 communication circuit of high-speed stability
CN204168319U (en) For realizing the Ethernet switch of network virtualization
CN218471300U (en) Isolation communication circuit based on serial port transparent transmission

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant