CN211701849U - Low-cost communication conversion circuit - Google Patents

Low-cost communication conversion circuit Download PDF

Info

Publication number
CN211701849U
CN211701849U CN202020245755.9U CN202020245755U CN211701849U CN 211701849 U CN211701849 U CN 211701849U CN 202020245755 U CN202020245755 U CN 202020245755U CN 211701849 U CN211701849 U CN 211701849U
Authority
CN
China
Prior art keywords
communication
module
level conversion
main control
functional module
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
CN202020245755.9U
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.)
Foshan Shunde District Qianming Electronic Technology Co ltd
Original Assignee
Foshan Shunde District Qianming Electronic 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 Foshan Shunde District Qianming Electronic Technology Co ltd filed Critical Foshan Shunde District Qianming Electronic Technology Co ltd
Priority to CN202020245755.9U priority Critical patent/CN211701849U/en
Application granted granted Critical
Publication of CN211701849U publication Critical patent/CN211701849U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Logic Circuits (AREA)

Abstract

The utility model discloses a low-cost communication converting circuit, including MCU main control chip, functional module and serial communication level conversion module, serial communication level conversion module mainly comprises two sets of serial communication level conversion units, serial communication level conversion unit includes the triode, first resistance, second resistance and third resistance, the projecting pole of triode is connected to first resistance one end respectively and communicates the transmission link, the base of triode is connected to second resistance one end, the second resistance other end is connected with the first resistance other end, the collecting electrode of triode is connected to the third resistance, and draw forth a communication and receive the link. The utility model provides a communication conversion circuit, the communication level between MCU main control chip and the functional module is converted to realize the normal serial communication between MCU main control chip and the functional module, prevent the functional module from appearing burning out the phenomenon; meanwhile, the circuit is simplified, the number of components is small, the cost can be reduced, and the purpose of low cost is achieved.

Description

Low-cost communication conversion circuit
Technical Field
The utility model relates to an electricity field especially relates to a low-cost communication converting circuit.
Background
In order to make functional modules such as WIFI module or pronunciation module can realize its function, general lug connection singlechip is controlled, however, the singlechip exports 5V level usually, and what functional module's communication interface can connect is the 3V level, because the singlechip directly exports 5V level to functional module and controls, not only can't carry out serial communication between singlechip and WIFI module or the pronunciation module, the phenomenon that WIFI module or pronunciation module burn out can appear even.
Therefore, a circuit module for communication level conversion appears, however, the existing circuit module has complex circuit and many components, which results in high cost.
SUMMERY OF THE UTILITY MODEL
In view of the above disadvantages, an object of the present invention is to provide a low-cost communication conversion circuit, which converts the communication level between the MCU main control chip and the function module to realize normal serial communication between the MCU main control chip and the function module, thereby preventing the function module from being burned out; meanwhile, the circuit is simplified, the number of components is small, the cost can be reduced, and the purpose of low cost is achieved.
The utility model discloses a reach the technical scheme that above-mentioned purpose adopted and be:
a low-cost communication conversion circuit is characterized by comprising an MCU main control chip, a functional module and a serial port communication level conversion module connected between the MCU main control chip and the functional module, wherein the serial port communication level conversion module mainly comprises two groups of serial port communication level conversion units, each serial port communication level conversion unit comprises a triode, a first resistor, a second resistor and a third resistor, an emitter of each triode is respectively connected to one end of the first resistor and a communication sending connecting end, a base of each triode is connected to one end of the second resistor, the other end of each second resistor is connected with the other end of the first resistor, and a collector of each triode is connected to the third resistor and a communication receiving connecting end is led out; the communication transmitting connecting end of one serial communication level conversion unit in the two groups of serial communication level conversion units is connected with a TXD _ MCU pin of the MCU main control chip, and the communication receiving connecting end is connected with a receiving pin of the functional module; and the communication transmitting connecting end of the other serial port communication level conversion unit in the two groups of serial port communication level conversion units is connected with the transmitting pin of the functional module, and the communication receiving connecting end is connected with the RXD _ MCU pin of the MCU main control chip.
As a further improvement, the two sets of serial port communication level conversion units are respectively connected between the MCU main control chip and the functional module.
As a further improvement, the functional module is a WIFI module or a voice module.
As a further improvement of the present invention, the power conversion module further comprises a power conversion module respectively connected to the MCU main control chip and the functional module, the power conversion module comprises a voltage stabilizing chip IC1, a capacitor C1, a capacitor C2, a capacitor EC1 and a capacitor EC2, wherein the capacitor C1 and the capacitor EC1 are connected in parallel to form a first parallel branch, and the capacitor C2 and the capacitor EC2 are connected in parallel to form a second parallel branch; the input end of the voltage stabilizing chip IC1 is connected to the first parallel branch, the output end of the voltage stabilizing chip IC1 is connected to the second parallel branch, and the grounding ends of the voltage stabilizing chip IC1 are respectively connected to the first parallel branch and the second parallel branch; the first parallel branch is connected with 5V voltage and connected to a 5V voltage input end of the MCU main control chip; the second parallel branch circuit outputs 3.3V voltage and is connected to the 3.3V voltage input end of the functional module.
The utility model has the advantages that: through connecting serial communication level conversion module between MCU main control chip and functional module, convert the communication level between MCU main control chip and the functional module by serial communication level conversion module, specifically be the conversion between 5V high level and the 3V level to realize the normal serial communication between MCU main control chip and the functional module, prevent that the burning out phenomenon from appearing in the functional module. Meanwhile, the serial port communication level conversion module has the advantages of simple circuit, few components, cost reduction and low cost.
The above is an overview of the technical solution of the present invention, and the present invention is further explained with reference to the accompanying drawings and the detailed description.
Drawings
FIG. 1 is a schematic diagram of the overall circuit of the present invention;
fig. 2 is a schematic circuit diagram of a first serial port communication level conversion unit according to the present invention;
fig. 3 is a schematic circuit diagram of a second serial port communication level conversion unit according to the present invention;
fig. 4 is a schematic circuit diagram of the power conversion module of the present invention.
Detailed Description
To further illustrate the technical means and effects of the present invention adopted to achieve the intended purpose, the following detailed description of the embodiments of the present invention is provided in conjunction with the accompanying drawings and preferred embodiments.
Referring to fig. 1, an embodiment of the present invention provides a low-cost communication conversion circuit, including an MCU main control chip, a functional module, and a serial port communication level conversion module connected between the MCU main control chip and the functional module, in this embodiment, the model of the MCU main control chip can be selected as MC96F 8216. The communication level between the MCU main control chip and the functional module is converted by the serial port communication level conversion module, specifically, the communication level between the 5V high level and the 3V level is converted, so that normal serial port communication between the MCU main control chip and the functional module is realized.
In this embodiment, this serial port communication level conversion module mainly comprises two sets of serial port communication level conversion units, and is concrete, and two sets of serial port communication level conversion units are connected respectively between MCU main control chip and functional module, and every group serial port communication interface carries out communication level conversion through a set of serial port communication level conversion unit between MCU main control chip and the functional module promptly, has two sets of serial port communication interfaces between MCU main control chip and the functional module, then connects through two sets of serial port communication level conversion units.
Specifically, the serial communication level conversion unit comprises a triode, a first resistor, a second resistor and a third resistor, wherein an emitting electrode of the triode is respectively connected to one end of the first resistor and a communication sending connecting end, a base electrode of the triode is connected to one end of the second resistor, the other end of the second resistor is connected with the other end of the first resistor, and a collector electrode of the triode is connected to the third resistor and leads out a communication receiving connecting end; the communication transmitting connecting end of one of the two groups of serial communication level conversion units is connected with a TXD _ MCU pin of an MCU main control chip, and the communication receiving connecting end is connected with a receiving pin of a functional module, namely after the MCU main control chip outputs 5V high level to the serial communication level conversion unit through the TXD _ MCU pin, a triode, a first resistor, a second resistor and a third resistor of the serial communication level conversion unit are combined, the 5V high level is converted into 3V level suitable for being connected with the receiving pin of the functional module mainly under the conversion action of the triode, namely the conversion from 5V level to 3V level is realized, so that the normal serial communication between the MCU main control chip and the functional module is realized; the communication transmitting connecting end of the other serial port communication level conversion unit in the two groups of serial port communication level conversion units is connected with a transmitting pin of the functional module, the communication receiving connecting end is connected with an RXD _ MCU pin of the MCU main control chip, namely, after the functional module outputs 3V level to the serial port communication level conversion unit through the transmitting pin, a triode of the serial port communication level conversion unit, a first resistor, a second resistor and a third resistor are combined, the conversion function of the triode is mainly realized, the 3V level is converted into 5V high level suitable for being connected with the RXD _ MCU pin of the MCU main control chip, namely, the conversion from 3V level to 5V level is realized, and the normal serial port communication between the functional module and the MCU main control chip is realized.
The serial port communication level conversion unit in the serial port communication level conversion module is only composed of four components, namely a triode, a first resistor, a second resistor and a third resistor, the purpose of communication level conversion can be achieved by only adopting one triode, the components are few, the circuit is simplified, the cost can be reduced, and the purpose of low cost is achieved.
Specifically, as shown in fig. 1, the two sets of serial communication level conversion units are a first serial communication level conversion unit and a second serial communication level conversion unit, the first serial communication level conversion unit sends a signal to the functional module for the MCU main control chip IC3, and the functional module receives the signal; the second serial port communication level conversion unit sends signals to the MCU master control chip IC3 for the functional module, and the MCU master control chip IC3 receives the signals.
Specifically, as shown in fig. 2, the first serial port communication level conversion unit includes a transistor Q1 and resistors R1-R3, an emitter of the transistor Q1 is connected to one end of a resistor R1 and a communication transmission connection terminal, a base of the transistor Q1 is connected to one end of a resistor R2, the other end of the resistor R2 is connected to the other end of the resistor R1, and a collector of the transistor Q1 is connected to the resistor R3, and a communication reception connection terminal is led out. The communication transmitting connecting end of the first serial port communication level conversion unit is connected with a TXD _ MCU pin of the MCU main control chip, and the communication receiving connecting end is connected with a receiving pin of the functional module. After the MCU main control chip outputs 5V high level to the first serial port communication level conversion unit through the TXD _ MCU pin, the triode Q1 and the resistor R1-R3 are combined, the triode Q1 mainly has a conversion function, and the 5V high level is converted into 3V level suitable for being connected with a receiving pin of the functional module, namely the conversion from the 5V level to the 3V level is realized, so that the normal serial port communication between the MCU main control chip and the functional module is realized.
As shown in fig. 3, the second serial communication level conversion unit includes a transistor Q2 and resistors R4-R6, wherein an emitter of the transistor Q2 is connected to one end of the resistor R4 and a communication transmission connection terminal, a base of the transistor Q2 is connected to one end of the resistor R5, the other end of the resistor R5 is connected to the other end of the resistor R4, and a collector of the transistor Q2 is connected to the resistor R6, and a communication reception connection terminal is led out. The communication transmitting connecting end of the second serial port communication level conversion unit is connected with the transmitting pin of the functional module, and the communication receiving connecting end is connected with the RXD _ MCU pin of the MCU main control chip. After the functional module outputs a 3V level to the second serial port communication level conversion unit through the sending pin, the triode Q2 and the resistor R4-R6 are combined, and the triode Q2 mainly has a conversion function to convert the 3V level into a 5V high level suitable for being connected with an RXD _ MCU pin of the MCU main control chip, namely, the conversion from the 3V level to the 5V level is realized, so that the normal serial port communication between the functional module and the MCU main control chip is realized.
In this embodiment, the functional module is a WIFI module or a voice module, and certainly can be other functional modules. As shown in fig. 1, the functional module is a patch WIFI module M1, and the communication receiving connection end of the first serial port communication level conversion unit is connected to an RXD _ WIFI receiving pin of the patch WIFI module M1; the communication sending connecting end of the second serial port communication level conversion unit is connected to a TXD _ WIFI sending pin of the patch type WIFI module M1. To SMD WIFI module M1 and pronunciation module, all can adopt the conventional WIFI module and the pronunciation module in this field, and the concrete circuit principle of both is the same with the conventional WIFI module and the pronunciation module in this field.
Meanwhile, the conventional power supply voltage is 5V, the WIFI module or the voice module generally needs 3.3V power supply voltage, and if the conventional 5V power supply voltage is directly connected to the WIFI module or the voice module, the WIFI module or the voice module cannot normally work, and even the phenomenon of burning out can occur.
Therefore, the low-cost communication conversion circuit of this embodiment further includes a power conversion module respectively connected to the MCU main control chip and the functional module, as shown in fig. 4, the power conversion module includes a voltage stabilization chip IC1, a capacitor C1, a capacitor C2, a capacitor EC1 and a capacitor EC2, wherein the capacitor C1 and the capacitor EC1 are connected in parallel to form a first parallel branch, and the capacitor C2 and the capacitor EC2 are connected in parallel to form a second parallel branch; the input end of the voltage stabilizing chip IC1 is connected to the first parallel branch, the output end of the voltage stabilizing chip IC1 is connected to the second parallel branch, and the grounding ends of the voltage stabilizing chip IC1 are respectively connected to the first parallel branch and the second parallel branch; the first parallel branch is connected with 5V voltage and connected to a 5V voltage input end of the MCU main control chip; the second parallel branch circuit outputs 3.3V voltage and is connected to the 3.3V voltage input end of the functional module. Specifically, the voltage regulation chip IC1 may be of the type AMS 1117.
Through converting 5V supply voltage into 3.3V voltage by power conversion module, for functional module (for example WIFI module or pronunciation module) provides 3.3V regulated voltage, do benefit to WIFI module or pronunciation module and normally work, the phenomenon that can not appear burning out.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the technical scope of the present invention, so that other structures obtained by adopting the same or similar technical features as the above embodiments of the present invention are all within the protection scope of the present invention.

Claims (4)

1. A low-cost communication conversion circuit is characterized by comprising an MCU main control chip, a functional module and a serial port communication level conversion module connected between the MCU main control chip and the functional module, wherein the serial port communication level conversion module mainly comprises two groups of serial port communication level conversion units, each serial port communication level conversion unit comprises a triode, a first resistor, a second resistor and a third resistor, an emitter of each triode is respectively connected to one end of the first resistor and a communication sending connecting end, a base of each triode is connected to one end of the second resistor, the other end of each second resistor is connected with the other end of the first resistor, and a collector of each triode is connected to the third resistor and a communication receiving connecting end is led out; the communication transmitting connecting end of one serial communication level conversion unit in the two groups of serial communication level conversion units is connected with a TXD _ MCU pin of the MCU main control chip, and the communication receiving connecting end is connected with a receiving pin of the functional module; and the communication transmitting connecting end of the other serial port communication level conversion unit in the two groups of serial port communication level conversion units is connected with the transmitting pin of the functional module, and the communication receiving connecting end is connected with the RXD _ MCU pin of the MCU main control chip.
2. The low-cost communication conversion circuit according to claim 1, wherein the two serial port communication level conversion units are respectively connected between the MCU main control chip and the functional module.
3. The low-cost communication conversion circuit according to claim 1, wherein the functional module is a WIFI module or a voice module.
4. The low-cost communication conversion circuit according to any one of claims 1 to 3, further comprising a power conversion module respectively connected to the MCU main control chip and the functional module, wherein the power conversion module comprises a voltage regulator chip IC1, a capacitor C1, a capacitor C2, a capacitor EC1 and a capacitor EC2, wherein the capacitor C1 and the capacitor EC1 are connected in parallel to form a first parallel branch, and the capacitor C2 and the capacitor EC2 are connected in parallel to form a second parallel branch; the input end of the voltage stabilizing chip IC1 is connected to the first parallel branch, the output end of the voltage stabilizing chip IC1 is connected to the second parallel branch, and the grounding ends of the voltage stabilizing chip IC1 are respectively connected to the first parallel branch and the second parallel branch; the first parallel branch is connected with 5V voltage and connected to a 5V voltage input end of the MCU main control chip; the second parallel branch circuit outputs 3.3V voltage and is connected to the 3.3V voltage input end of the functional module.
CN202020245755.9U 2020-03-03 2020-03-03 Low-cost communication conversion circuit Active CN211701849U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202020245755.9U CN211701849U (en) 2020-03-03 2020-03-03 Low-cost communication conversion circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202020245755.9U CN211701849U (en) 2020-03-03 2020-03-03 Low-cost communication conversion circuit

Publications (1)

Publication Number Publication Date
CN211701849U true CN211701849U (en) 2020-10-16

Family

ID=72777788

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202020245755.9U Active CN211701849U (en) 2020-03-03 2020-03-03 Low-cost communication conversion circuit

Country Status (1)

Country Link
CN (1) CN211701849U (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112636741A (en) * 2020-12-29 2021-04-09 成都极米科技股份有限公司 Level conversion circuit and terminal equipment
CN114124080A (en) * 2022-01-27 2022-03-01 深圳市暗能量电源有限公司 Level self-adaptive serial port communication circuit
CN116582122A (en) * 2023-05-15 2023-08-11 西安航空学院 Digital signal bidirectional transmission low level conversion circuit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112636741A (en) * 2020-12-29 2021-04-09 成都极米科技股份有限公司 Level conversion circuit and terminal equipment
CN114124080A (en) * 2022-01-27 2022-03-01 深圳市暗能量电源有限公司 Level self-adaptive serial port communication circuit
CN116582122A (en) * 2023-05-15 2023-08-11 西安航空学院 Digital signal bidirectional transmission low level conversion circuit
CN116582122B (en) * 2023-05-15 2024-03-01 西安航空学院 Digital signal bidirectional transmission low level conversion circuit

Similar Documents

Publication Publication Date Title
CN211701849U (en) Low-cost communication conversion circuit
CN208571657U (en) A kind of charger of the single supply input multioutlet with power dividing function
CN211698929U (en) Communication conversion circuit
CN214707733U (en) Communication circuit of monitoring equipment
CN207458043U (en) Inexpensive M-BUS host communications circuit
CN203026941U (en) Current equalizing circuit at local side of direct-current remote power feeding system
CN214704618U (en) Serial port communication multiplexing circuit
AU2008200997A1 (en) A conversion circuit
CN106208719B (en) A kind of feed circuit of isolating switch power
CN215180472U (en) Mixed AC/DC signal measurement system based on bus communication mode
CN213186140U (en) MBUS host computer transmitting circuit
CN209460666U (en) Voltage controlled current source output circuit
CN208198313U (en) A kind of vehicle electronic control unit
CN221042892U (en) Digital bus communication equipment
CN211656399U (en) Power supply conversion output system of atomizer
CN205539133U (en) General type three -phase electricity collection equipment and system
CN213182359U (en) General RS232-CAN communication conversion board
CN216772411U (en) 4-channel RS485 expansion board based on anti-surge technology
CN209627042U (en) Solar power system
CN217445352U (en) Single-wire serial port communication circuit used between different ground potential reference devices
CN218920408U (en) TTL communication port level conversion system of gas meter
CN218100212U (en) Support 3.3V and 5V serial ports communication converting circuit
CN210327603U (en) Communication circuit of MBUS interface
CN210444247U (en) Serial port communication isolation circuit based on optical coupling isolation and triode power amplifier
CN216817396U (en) Conversion circuit for converting four-wire system TTL interface into two-wire system bus interface

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant