CN209625009U - A kind of microcontroller communication control circuit - Google Patents

A kind of microcontroller communication control circuit Download PDF

Info

Publication number
CN209625009U
CN209625009U CN201920159336.0U CN201920159336U CN209625009U CN 209625009 U CN209625009 U CN 209625009U CN 201920159336 U CN201920159336 U CN 201920159336U CN 209625009 U CN209625009 U CN 209625009U
Authority
CN
China
Prior art keywords
resistance
connect
triode
connection
capacitor
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
CN201920159336.0U
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.)
Guangzhou Anjie Manufacturing Co Ltd
Original Assignee
Guangzhou Anjie Manufacturing 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 Guangzhou Anjie Manufacturing Co Ltd filed Critical Guangzhou Anjie Manufacturing Co Ltd
Priority to CN201920159336.0U priority Critical patent/CN209625009U/en
Application granted granted Critical
Publication of CN209625009U publication Critical patent/CN209625009U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Networks Using Active Elements (AREA)

Abstract

A kind of microcontroller communication control circuit, including single-chip microcontroller, transmission unit, receiving unit and connection unit;Single-chip microcontroller includes first singlechip and second singlechip, and transmission unit includes the first transmission unit and the second transmission unit, and receiving unit includes the first receiving unit and the second receiving unit;First transmission unit, the first receiving unit are connect with first singlechip, connection unit respectively, and the second transmission unit, the second receiving unit are connect with second singlechip, connection unit respectively.The utility model structure is simple, and when application can reduce PCB space.

Description

A kind of microcontroller communication control circuit
Technical field
The utility model belongs to field of circuit technology, specifically a kind of microcontroller communication control circuit.
Background technique
Currently, commonly using two or more single-chip microcontrollers in electronic circuit and mutually transmitting instruction or data.It is existing Communication between two single-chip microcontrollers is that the signal receiving end for switching circuit two single-chip microcontrollers of control being made up of triode receives Same control instruction is realized.But since this circuit structure is complicated, device is more, at high cost.Then using also Light-coupled isolation, although signal has relatively high stability, cost is higher.
Summary of the invention
In order to solve the above technical problems, the present invention provides a kind of microcontroller communication control circuits.
In order to solve the above-mentioned technical problem, the present invention takes following technical scheme:
A kind of microcontroller communication control circuit, including single-chip microcontroller, transmission unit, receiving unit and connection unit;
Single-chip microcontroller includes first singlechip and second singlechip, and transmission unit includes that the first transmission unit and second send list Member, receiving unit include the first receiving unit and the second receiving unit;
First transmission unit, the first receiving unit are connect with first singlechip, connection unit respectively, the second transmission unit, Second receiving unit is connect with second singlechip, connection unit respectively.
First transmission unit includes resistance R6, resistance R8, resistance R9, resistance R10 and triode Q2, triode Q2's Base stage is connect with the one end resistance R9, the connecting pin the TXD1 connection of the resistance R9 other end and first singlechip, the current collection of triode Q2 Pole and resistance R6, resistance R8 access input power, the emitter ground connection of triode Q2, one end resistance R10 and three after being connected in series The base stage of pole pipe Q2 connects, and the other end of resistance R10 is connect with connection unit again after connecting with the emitter of triode Q2.
The receiving unit includes resistance R7 and capacitor C4, and the one end resistance R7 is connected by conducting wire and the RXD1 of first singlechip It is connect after connecing end connection, the other end and the connection of the one end capacitor C4 with connection unit, the other end ground connection of capacitor C4.
The emitter of the triode Q2 is also connected with capacitor C3, and capacitor C3 is connect with input power, and capacitor C3 It is connect with connection unit.
Second transmission unit includes resistance R1, resistance R2, resistance R3, resistance R5 and triode Q1, triode Q1's Base stage is connect with the one end resistance R1, the connecting pin the TXD2 connection of the resistance R1 other end and second singlechip, the current collection of triode Q1 Pole and resistance R3, resistance R5 access input power, the emitter ground connection of triode Q1, the one end resistance R2 and three poles after being connected in series The base stage of pipe Q1 connects, and the other end of resistance R2 is connect with connection unit again after connecting with the emitter of triode Q1.
The receiving unit includes resistance R4 and capacitor C2, and the one end resistance R4 is connected by the RXD2 of conducting wire and second singlechip It is connect after connecing end connection, the other end and the connection of the one end capacitor C2 with connection unit, the other end ground connection of capacitor C2.
The emitter of the triode Q1 is also connected with capacitor C1, and capacitor C1 is connect with input power, and capacitor C1 It is connect with connection unit.
The utility model structure is simple, and device is few, at low cost.Easily design reduces PCB space.
Detailed description of the invention
Attached drawing 1 is the utility model circuit connection schematic illustration.
Specific embodiment
To further understand the features of the present invention, technological means and specific purposes achieved, function, below with reference to Present invention is further described in detail with specific embodiment for attached drawing.
As shown in Fig. 1, the utility model is disclosed including single-chip microcontroller, transmission unit, receiving unit and connection unit 4; Single-chip microcontroller includes first singlechip 7 and second singlechip 1, and transmission unit includes the first transmission unit 5 and the second transmission unit 3, Receiving unit includes the first receiving unit 6 and the second receiving unit 2.
First transmission unit, the first receiving unit are connect with first singlechip, connection unit respectively, the second transmission unit, Second receiving unit is connect with second singlechip, connection unit respectively.The circuit knot of first transmission unit and the second transmission unit Structure is identical, and the circuit structure of the first receiving unit and the second receiving unit is identical.Using connection unit as intermediate symmetry setting first Single-chip microcontroller and second singlechip, first singlechip and second singlechip all can serve as host or slave.
First transmission unit includes resistance R6, resistance R8, resistance R9, resistance R10 and triode Q2, triode Q2's Base stage is connect with the one end resistance R9, the connecting pin the TXD1 connection of the resistance R9 other end and first singlechip, the current collection of triode Q2 Pole and resistance R6, resistance R8 access input power, the emitter ground connection of triode Q2, one end resistance R10 and three after being connected in series The base stage of pole pipe Q2 connects, and the other end of resistance R10 is connect with connection unit again after connecting with the emitter of triode Q2.Resistance R6 is pull-up resistor.
The receiving unit includes resistance R7 and capacitor C4, and the one end resistance R7 is connected by conducting wire and the RXD1 of first singlechip It is connect after connecing end connection, the other end and the connection of the one end capacitor C4 with connection unit, the other end ground connection of capacitor C4.
The emitter of the triode Q2 is also connected with capacitor C3, and capacitor C3 is connect with input power, and capacitor C3 It is connect with connection unit.
Second transmission unit includes resistance R1, resistance R2, resistance R3, resistance R5 and triode Q1, triode Q1's Base stage is connect with the one end resistance R1, the connecting pin the TXD2 connection of the resistance R1 other end and second singlechip, the current collection of triode Q1 Pole and resistance R3, resistance R5 access input power, the emitter ground connection of triode Q1, the one end resistance R2 and three poles after being connected in series The base stage of pipe Q1 connects, and the other end of resistance R2 is connect with connection unit again after connecting with the emitter of triode Q1.Resistance R5 For pull-up resistor.
The receiving unit includes resistance R4 and capacitor C2, and the one end resistance R4 is connected by the RXD2 of conducting wire and second singlechip It is connect after connecing end connection, the other end and the connection of the one end capacitor C2 with connection unit, the other end ground connection of capacitor C2.
The emitter of the triode Q1 is also connected with capacitor C1, and capacitor C1 is connect with input power, and capacitor C1 It is connect with connection unit.
First transmission unit and the second transmission unit are all correspondingly connected on the corresponding ports of connection unit, and first receives list Member and the second receiving unit are equally correspondingly connected on the corresponding ports of connection unit.
If first singlechip 7 is host, second singlechip 4 is slave, when the TXD1 output of first singlechip is high electricity Usually, triode Q2 is connected, and resistance R6 and resistance R8 junction level becomes low from height, passes through connection after capacitor C4 filtering Unit 4 is connected to second singlechip 1 using the second filter capacitor C2 and resistance R4, and second singlechip receives low electricity at this time It is flat, while first singlechip RXD1 also receives low level by resistance R7.
When the TXD1 of first singlechip output is low level, triode Q2 is not turned on, resistance R6 and the junction resistance R8 Level remains height, by connection unit 4 after capacitor C4 filtering, is connected to the using the second filter capacitor C2 and resistance R4 Two single-chip microcontrollers 1, second singlechip receives high level at this time, while first singlechip RXD1 also receives high electricity by resistance R7 It is flat.
If second singlechip 1 is host, first singlechip 7 is slave, when the TXD2 output of second singlechip is high electricity Usually, triode Q1 is connected, and resistance R5 and resistance R3 junction level becomes low from height, single by connection after capacitor C2 filtering Member 4, is connected to first singlechip 7 using the second filter capacitor C4 and resistance R7, and first singlechip receives low level at this time, Second singlechip RXD2 also receives low level by resistance R4 simultaneously.
When the TXD2 of second singlechip output is low level, triode Q1 is not turned on, resistance R5 and the junction resistance R3 Level remains height, by connection unit 4 after capacitor C2 filtering, is connected to the using the first filter capacitor C4 and resistance R7 One single-chip microcontroller 7, first singlechip receives high level at this time, while second singlechip RXD2 also receives high electricity by resistance R4 It is flat.
In this practical circuit, host machine part and slave portion are in addition to single-chip microcontroller, only with 16 components, and host and slave It only can complete to send and receive processing with three line connections, structure is simple, and design and the cost of raw material greatly reduces. Reduce PCB design space.
It should be noted that these are only the preferred embodiment of the present invention, it is not intended to restrict the invention, although ginseng According to embodiment, invention is explained in detail, for those skilled in the art, still can be to aforementioned reality Technical solution documented by example is applied to modify or equivalent replacement of some of the technical features, but it is all in this hair Within bright spirit and principle, any modification, equivalent replacement, improvement and so on should be included in protection scope of the present invention Within.

Claims (7)

1. a kind of microcontroller communication control circuit, which is characterized in that single including single-chip microcontroller, transmission unit, receiving unit and connection Member;
Single-chip microcontroller includes first singlechip and second singlechip, and transmission unit includes the first transmission unit and the second transmission unit, Receiving unit includes the first receiving unit and the second receiving unit;
First transmission unit, the first receiving unit are connect with first singlechip, connection unit respectively, the second transmission unit, second Receiving unit is connect with second singlechip, connection unit respectively.
2. microcontroller communication control circuit according to claim 1, which is characterized in that first transmission unit includes electricity The base stage for hindering R6, resistance R8, resistance R9, resistance R10 and triode Q2, triode Q2 is connect with the one end resistance R9, and resistance R9 is another One end and the connecting pin TXD1 of first singlechip connect, and collector and resistance R6, resistance the R8 series connection of triode Q2 is followed by Enter input power, the emitter ground connection of triode Q2, the one end resistance R10 is connect with the base stage of triode Q2, and resistance R10's is another End is connect with connection unit again after connecting with the emitter of triode Q2.
3. microcontroller communication control circuit according to claim 2, which is characterized in that the receiving unit includes resistance R7 With capacitor C4, the one end resistance R7 is connected by the connection of the connecting pin RXD1 of conducting wire and first singlechip, the other end and the one end capacitor C4 It is connect after connecing with connection unit, the other end ground connection of capacitor C4.
4. microcontroller communication control circuit according to claim 3, which is characterized in that the emitter of the triode Q2 is also It is connected with capacitor C3, capacitor C3 is connect with input power, and capacitor C3 is connect with connection unit.
5. microcontroller communication control circuit according to claim 1, which is characterized in that second transmission unit includes electricity The base stage for hindering R1, resistance R2, resistance R3, resistance R5 and triode Q1, triode Q1 is connect with the one end resistance R1, and resistance R1 is another End is connect with the connecting pin TXD2 of second singlechip, and the collector of triode Q1 accesses after being connected in series with resistance R3, resistance R5 Input power, the emitter ground connection of triode Q1, the one end resistance R2 connect with the base stage of triode Q1, the other end of resistance R2 and It is connect again with connection unit after the emitter connection of triode Q1.
6. microcontroller communication control circuit according to claim 5, which is characterized in that the receiving unit includes resistance R4 With capacitor C2, the one end resistance R4 is connected by the connection of the connecting pin RXD2 of conducting wire and second singlechip, the other end and the one end capacitor C2 It is connect after connecing with connection unit, the other end ground connection of capacitor C2.
7. microcontroller communication control circuit according to claim 6, which is characterized in that the emitter of the triode Q1 is also It is connected with capacitor C1, capacitor C1 is connect with input power, and capacitor C1 is connect with connection unit.
CN201920159336.0U 2019-01-30 2019-01-30 A kind of microcontroller communication control circuit Active CN209625009U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201920159336.0U CN209625009U (en) 2019-01-30 2019-01-30 A kind of microcontroller communication control circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201920159336.0U CN209625009U (en) 2019-01-30 2019-01-30 A kind of microcontroller communication control circuit

Publications (1)

Publication Number Publication Date
CN209625009U true CN209625009U (en) 2019-11-12

Family

ID=68452495

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201920159336.0U Active CN209625009U (en) 2019-01-30 2019-01-30 A kind of microcontroller communication control circuit

Country Status (1)

Country Link
CN (1) CN209625009U (en)

Similar Documents

Publication Publication Date Title
CN203466798U (en) Serial-port switching device based on electronic switch
CN202979095U (en) Two-bus type fire-fighting telephone system
CN203851126U (en) Circuit realizing two-way communication by using single line
CN110244630A (en) Serial server based on programmable logic device online acquisition serial interface signal
CN105472782B (en) A kind of wireless communication terminal
CN204760040U (en) Serial ports burns record ware
CN209625009U (en) A kind of microcontroller communication control circuit
CN210167853U (en) Distribution automation terminal
CN203178787U (en) Switch control device and intelligent household system
CN107517536A (en) Breath light control circuit and electronic equipment
CN103118143B (en) Multiplex circuit of serial interface and Ethernet interface
CN106372025B (en) Bus type communicating circuit
CN106597897B (en) A kind of constant-current source multi-channel control interlock circuit
CN110034989A (en) CAN transmission circuit and CAN communication system
CN105607542A (en) Output interface equipment
CN207097226U (en) A kind of intelligent meter data recording system baud rate control circuit
CN204231406U (en) A kind of Multifunction cross of the quick-setting based on toggle switch is changed planes
CN209543335U (en) A kind of circuit of the address HRP-configured slave device I2C
CN209593402U (en) Passive isolated form RS232 serial communication circuit
CN206686066U (en) Frequency converter digital signal input end and frequency converter
CN208238262U (en) A kind of expansible communication system of gas instantaneous water heater compatibility
CN206788242U (en) A kind of communicator in single-phase broadband power line carrier kilowatt meter reading-out system
CN203930380U (en) A kind of switching signal wireless converter
CN110535342A (en) A kind of voltage-operated device and system
CN206557281U (en) electric energy efficiency monitoring terminal

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant