A transceiver control circuit for a wireless communication module

By introducing level selection and control circuits into the transceiver control circuit of the wireless communication module, the problem that the module cannot communicate with the home appliance main controller that supports different levels of serial port standards is solved, and the module is highly adaptable and compatibility.

CN111708307BActive Publication Date: 2025-03-25SHENZHEN SHULIAN TIANXIA INTELLIGENT TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010621676.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-06-30
Publication Date
2025-03-25
Estimated Expiration
2040-06-30

AI Technical Summary

Technical Problem

The existing wireless communication module is designed with a low DC voltage and cannot directly match the level serial port standards supported by the main controller of home appliances, resulting in the inability to communicate.

Method used

Design a transceiver control circuit for a wireless communication module, including a communication interface, a transmission control circuit, a level control circuit and a level selection circuit. Different voltages are output through the level selection circuit configuration, and the trigger level control circuit realizes level conversion and bias, ensuring that the module can adapt to external devices that support at least two communication level serial port standards.

Benefits of technology

Through this design, the wireless communication module can be adapted to external devices with different levels of serial port standards, improving the adaptability and compatibility of the module and ensuring effective communication with the home appliance main controller.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111708307B_ABST
    Figure CN111708307B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention relates to the field of wireless communication technology, and provides a transceiver control circuit of a wireless communication module, including: a communication interface, which is used to be electrically connected to an external device; a transmission control circuit, which is electrically connected between the communication interface and the wireless communication module; a level control circuit, which is electrically connected to the communication interface, the transmission control circuit and the wireless communication module respectively; a level selection circuit, which is electrically connected to the level control circuit; when the level selection circuit is configured to output a first voltage, the level control circuit or a combination thereof with the transmission control circuit enables data transmission of a first level serial port standard between the external device and the wireless communication module, and when the level selection circuit is configured to output the second voltage, the level control circuit or a combination thereof with the transmission control circuit enables data transmission of a second level serial port standard between the external device and the wireless communication module. In the above manner, the embodiment of the present invention improves the adaptability of the wireless communication module.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The embodiments of the present invention relate to the field of wireless communication technology, and in particular to a transceiver control circuit of a wireless communication module. [Background technology]

[0002] With the rapid development of the Internet of Things, the intelligence of home appliances has become the future development trend of home appliances. Various wireless communication technologies are widely used in the development and design of home appliances. With the increasing popularity of smart home appliances, the demand for wireless modules in home appliances is also increasing.

[0003] However, the main controller of the home appliance product supports at least two level serial port standards, and the existing wireless communication modules are mostly designed for DC low voltage. When the DC low voltage is inconsistent with the level serial port standard supported by the main controller of the home appliance product, the wireless communication module cannot communicate directly with the main controller of the home appliance product. [Summary of the invention]

[0004] An embodiment of the present invention aims to provide a transceiver control circuit of a wireless communication module, which can enable the wireless communication module to adapt to an external device that supports at least two communication level serial port standards, thereby improving the adaptability of the wireless communication module.

[0005] In order to solve the above technical problems, an embodiment of the present invention provides a transceiver control circuit of a wireless communication module, including:

[0006] A communication interface, used to electrically connect to a first receiving port and a first transmitting port of an external device, respectively, wherein the external device supports at least a first level serial port standard or a second level serial port standard;

[0007] a transmission control circuit, electrically connected between the first receiving port of the external device and the second transmitting port of the wireless communication module;

[0008] a level control circuit, electrically connected to the first receiving port of the external device, the transmitting control circuit, the second receiving port of the wireless communication module and the first transmitting port of the external device, respectively, wherein a connection point between the level control circuit, the transmitting control circuit and the first receiving port is a first node; and

[0009] A level selection circuit, electrically connected to the level control circuit, wherein the level selection circuit can be configured to output at least a first voltage, a second voltage or a high impedance state;

[0010] Under the premise that the level selection circuit is configured to output the first voltage, when the external device sends serial port data to the wireless communication module, the first voltage triggers the level control circuit to directly transmit the first level sent by the first sending port of the external device to the second receiving port of the wireless communication module, or, when the wireless communication module sends serial port data to the external device, the first voltage triggers the level control circuit to bias the voltage of the first node to the first level, and the wireless communication module controls the sending control circuit to pull down the first level or maintain it unchanged, so that the wireless communication module sends the first level serial port standard data to the external device;

[0011] On the premise that the level selection circuit is configured to output the second voltage, when the external device sends serial port data to the wireless communication module, the second voltage triggers the level control circuit to convert the second level sent by the first sending port into the first level and transmit it to the second receiving port, or, when the wireless communication module sends serial port data to the external device, the second voltage triggers the level control circuit to bias the voltage of the first node to the second level, and the wireless communication module controls the sending control circuit to pull down the second level or maintain it unchanged, so that the wireless communication module sends the second level serial port standard data to the external device.

[0012] Optionally, the transmission control circuit includes a first NPN transistor and a first resistor;

[0013] The collector of the first NPN transistor is electrically connected to the first node, the emitter of the first NPN transistor is electrically connected to the second transmitting port, and the base of the first NPN transistor is electrically connected to one end of the first resistor;

[0014] The other end of the first resistor is used to receive the first level.

[0015] Optionally, the level control circuit includes:

[0016] a level conversion circuit, electrically connected to the level selection circuit, the second receiving port of the wireless communication module, and the first sending port of the external device, and used for, under the premise that the level selection circuit is configured to output the first voltage, when the external device sends serial port data to the wireless communication module, the first voltage triggers the level conversion circuit to directly transmit the first level sent by the first sending port of the external device to the second receiving port; under the premise that the level selection circuit is configured to output the second voltage, when the external device sends serial port data to the wireless communication module, the second voltage triggers the level conversion circuit to convert the second level sent by the first sending port into the first level and transmit it to the second receiving port; under the premise that the level selection circuit is configured to output the high impedance state, when the external device sends serial port data to the wireless communication module, the level selection circuit triggers the level conversion circuit to divide the first level or the second level sent by the first sending port of the external device and transmit it to the second receiving port, and the connection point between the level conversion circuit and the second receiving port is the second node;

[0017] a bias circuit, electrically connected to the level conversion circuit and the level selection circuit, respectively, and electrically connected to the first node, for, under the premise that the level selection circuit is configured to output the first voltage, when the wireless communication module sends serial port data to the external device, the first voltage triggers the bias circuit to bias the voltage of the first node to the first level, and the wireless communication module controls the transmission control circuit to pull down or maintain the first level unchanged, so that the wireless communication module sends the first level serial port standard data to the external device; under the premise that the level selection circuit is configured to output the second voltage, when the wireless communication module sends serial port data to the external device, the second The voltage triggers the bias circuit to bias the voltage of the first node to the second level, and the wireless communication module controls the sending control circuit to pull down or maintain the second level, so that the wireless communication module sends the second level serial port standard data to the external device; under the premise that the level selection circuit is configured to output the high impedance state, when the wireless communication module sends serial port data to the external device, the level selection circuit triggers the bias circuit to bias the voltage of the first node to the first level, and the wireless communication module controls the sending control circuit to pull down or maintain the first level, so that the wireless communication module sends the first level serial port standard data to the external device.

[0018] Optionally, the level conversion circuit includes a second resistor, a second NPN transistor, a third resistor and a fourth resistor;

[0019] One end of the second resistor is electrically connected to the level selection circuit, used for receiving the first voltage or the second voltage, and is also electrically connected to the bias circuit, and the other end of the second resistor is electrically connected to the base of the second NPN transistor;

[0020] The emitter of the second NPN transistor is grounded, and the collector of the second NPN transistor is electrically connected to one end of the third resistor;

[0021] The other end of the third resistor is connected to the second node;

[0022] One end of the fourth resistor is connected to the second node, and the other end of the fourth resistor is connected to the first transmitting port.

[0023] Optionally, the bias circuit comprises:

[0024] a switch circuit, electrically connected to the level selection circuit and the level conversion circuit respectively;

[0025] a bias selection circuit, electrically connected to the level selection circuit and the switch circuit, respectively, and electrically connected to the first node, for, under the premise that the level selection circuit is configured to output the first voltage, when the wireless communication module sends serial port data to the external device, the first voltage triggers the switch circuit to operate in a cut-off state, so that the bias selection circuit biases the voltage of the first node to the first level, and the wireless communication module controls the sending control circuit to pull down or maintain the first level unchanged, so that the wireless communication module sends the first level serial port standard data to the external device; under the premise that the level selection circuit is configured to output the second voltage, when the wireless communication module sends serial port data to the external device, the second voltage triggers the switch circuit The circuit works in a working state, so that the bias selection circuit biases the voltage of the first node to the second level, and the wireless communication module controls the sending control circuit to pull down or maintain the second level, so that the wireless communication module sends the second level serial port standard data to the external device; under the premise that the level selection circuit is configured to output the high impedance state, when the wireless communication module sends the serial port data to the external device, the level selection circuit triggers the switch circuit to work in a cut-off state, so that the bias selection circuit biases the voltage of the first node to the first level, and the wireless communication module controls the sending control circuit to pull down or maintain the first level, so that the wireless communication module sends the first level serial port standard data to the external device.

[0026] Optionally, the switch circuit includes a diode, a fifth resistor and a third NPN transistor;

[0027] The anode of the diode is electrically connected to the level selection circuit and is used to receive the first voltage or the second voltage, and the cathode of the diode is electrically connected to one end of the fifth resistor and the base of the third NPN transistor;

[0028] The other end of the fifth resistor is grounded;

[0029] The emitter of the third NPN transistor is grounded, and the collector of the third NPN transistor is electrically connected to the bias selection circuit.

[0030] Optionally, the bias selection circuit includes a sixth resistor, a seventh resistor, a first PNP transistor, a second PNP transistor, an eighth resistor, a ninth resistor and a tenth resistor;

[0031] One end of the sixth resistor is electrically connected to the collector of the third NPN transistor, and the other end of the sixth resistor is connected to one end of the seventh resistor and the base of the first PNP transistor;

[0032] The other end of the seventh resistor is electrically connected to the emitter of the first PNP transistor, for receiving the second electrical level;

[0033] The collector of the first PNP transistor is connected to the collector of the second PNP transistor and one end of the tenth resistor;

[0034] The emitter of the second PNP transistor is connected to one end of the eighth resistor for receiving the first electrical level, and the base of the second PNP transistor is connected to the other end of the eighth resistor and one end of the ninth resistor;

[0035] The other end of the ninth resistor is electrically connected to the level selection circuit, and is used to receive the first voltage or the second voltage;

[0036] The other end of the tenth resistor is connected to the first node.

[0037] Optionally, the level control circuit further includes a freewheeling circuit, wherein the freewheeling circuit is electrically connected to the second node and is used for freewheeling protection of the second receiving port.

[0038] Optionally, the level selection circuit includes at least three pins or at least three band switches.

[0039] Optionally, the transceiver control circuit of the wireless communication module also includes a power supply circuit, which is electrically connected to the communication interface, the transmission control circuit, the level control circuit and the level selection circuit, respectively, and is used to provide the second level as a working voltage to the communication interface and the level control circuit, and to provide the first level as a working voltage to the transmission control circuit, the level control circuit and the level selection circuit.

[0040] The beneficial effects of the present invention are as follows: compared with the prior art, an embodiment of the present invention provides a transceiver control circuit of a wireless communication module, comprising: a communication interface, used to be electrically connected to a first receiving port and a first transmitting port of an external device, respectively, and the external device at least supports a first level serial port standard or a second level serial port standard; a transmitting control circuit, electrically connected between the first receiving port of the external device and the second transmitting port of the wireless communication module; a level control circuit, electrically connected to the first receiving port of the external device, the transmitting control circuit, the second receiving port of the wireless communication module, and the first transmitting port of the external device, respectively, and the connection point of the level control circuit, the transmitting control circuit, and the first receiving port is a first node; and a level selection circuit, electrically connected to the level control circuit, and the level selection circuit can at least be configured to output a first voltage or a second voltage. Under the premise that the level selection circuit is configured to output the first voltage, when the external device sends serial port data to the wireless communication module, the first voltage trigger level control circuit directly transmits the first level sent by the first sending port of the external device to the second receiving port of the wireless communication module, or, when the wireless communication module sends serial port data to the external device, the first voltage trigger level control circuit biases the voltage of the first node to the first level, and the wireless communication module controls the sending control circuit to pull down or maintain the first level, so that the wireless communication module sends the first level serial port standard data to the external device; under the premise that the level selection circuit is configured to output the second voltage, when the external device sends serial port data to the wireless communication module, the second voltage trigger level control circuit converts the second level sent by the first sending port to the first level and transmits it to the second receiving port, or, when the wireless communication module sends serial port data to the external device, the second voltage trigger level control circuit biases the voltage of the first node to the second level, and the wireless communication module controls the sending control circuit to pull down or maintain the second level, so that the wireless communication module sends the second level serial port standard data to the external device. Therefore, the embodiment of the present invention can make the wireless communication module adapt to the external device that supports at least two communication level serial port standards, thereby improving the adaptability of the wireless communication module.

Brief Description of the Drawings

[0041] One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.

[0042] Figure 1 A schematic diagram of the circuit structure of a transceiver control circuit of a wireless communication module provided by an embodiment of the present invention;

[0043] Figure 2 A schematic diagram of a circuit structure of a level control circuit provided by an embodiment of the present invention;

[0044] Figure 3 A schematic diagram of the circuit structure of a transceiver control circuit of a wireless communication module provided by another embodiment of the present invention;

[0045] Figure 4 A circuit connection diagram of a transceiver control circuit of a wireless communication module provided by an embodiment of the present invention;

[0046] Figure 5 A circuit connection diagram of one of the power supply circuits provided in an embodiment of the present invention;

[0047] Figure 6 A circuit connection diagram of a power supply circuit provided in an embodiment of the present invention. [Specific implementation method]

[0048] In order to facilitate the understanding of the present application, the present application is described in more detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that when an element is described as "connected" to another element, it can be directly connected to the other element, or there can be one or more intermediate elements therebetween. In addition, the terms "first", "second", etc. are used only for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0049] Unless otherwise defined, all technical and scientific terms used in this specification have the same meaning as those commonly understood by those skilled in the art of the present invention. The terms used in the specification of the present invention are only for the purpose of describing specific embodiments and are not intended to limit the present invention. The term "and / or" used in this specification includes any and all combinations of one or more of the related listed items.

[0050] In addition, the technical features involved in the different embodiments of the present application described below can be combined with each other as long as they do not conflict with each other.

[0051] See also Figure 1, is a schematic diagram of the circuit structure of a transceiver control circuit of a wireless communication module provided by an embodiment of the present invention. Figure 1 As shown, the transceiver control circuit 100 of the wireless communication module includes a communication interface 10 , a transmission control circuit 20 , a level control circuit 30 and a level selection circuit 40 .

[0052] Among them, the transceiver control circuit 100 of the wireless communication module is electrically connected between the external device 11 and the wireless communication module 12, and is used to realize data communication between the external device 11 and the wireless communication module 12. The embodiment of the present invention takes serial port data communication as an example.

[0053] The external device 11 is an electronic device with a controller, especially household appliances, which refer to various electrical and electronic devices used in homes and similar places. According to the function and purpose of the product, it can be roughly divided into the following categories: (1) Refrigeration appliances, such as household refrigerators, cold drink machines, etc.; (2) Air conditioners, such as room air conditioners, electric fans, ventilation fans, hot and cold air blowers, air dehumidifiers, etc.; (3) Cleaning appliances, such as washing machines, dryers, electric irons, vacuum cleaners, sweeping robots, etc.; (4) Kitchen appliances, such as electric stoves, microwave ovens, induction cookers, electric ovens, electric rice cookers, dishwashers, electric water heaters, food processors (such as blenders, soybean milk machines, cooking machines, etc.); (5) Kitchen appliances, such as electric stoves, microwave ovens, induction cookers, electric ovens, electric rice cookers, dishwashers, electric water heaters, food processors (such as blenders, soybean milk machines, cooking machines, etc.); (6) Kitchen appliances, such as electric stoves, microwave ovens, induction cookers, electric ovens, electric rice cookers, dishwashers, electric water heaters, food processors (such as blenders, soybean milk machines, cooking machines, etc.); (7) Kitchen appliances, such as electric stoves, microwave ovens, induction cookers, electric ovens, electric rice cookers, etc.); (8) Kitchen appliances, such as electric stoves, microwave ovens, induction cookers, electric ovens, electric rice cookers, dishwashers, electric water heaters, food processors (such as blenders, soybean milk machines, cooking machines, etc.); (9) Kitchen appliances, such as electric stoves, microwave ovens, induction cookers, electric ovens, electric rice cookers, etc. (5) Electric heating appliances, such as electric blankets, space heaters, etc.; (6) Cosmetic and health care appliances, such as electric shavers, hair dryers, hair clippers, ultrasonic facial cleansers, electric massagers (such as head massagers, eye massagers, neck massagers, foot massagers, electric massage chairs), etc.; (7) Audio and video appliances, such as micro projectors, televisions, radios, tape recorders, video recorders, cameras, stereos, etc.; (8) Other appliances, such as fire alarms, doorbells, etc.

[0054] The wireless communication module 12 may adopt wireless communication methods such as radio, free space optical communication, acoustic communication, electromagnetic induction, etc., including wireless communication modules such as Bluetooth, WiFi, ZigBee, etc. For example, the wireless communication module 12 includes an ESP8266EXWIFI communication module. Figure 4As shown, the ESP8266EX WIFI communication module U1 includes a TX pin, an RX pin, a VDD pin, and a VSS pin. Among them, the TX pin corresponds to the second transmitting terminal TDX2 of the ESP8266EX WIFI communication module U1, the RX pin corresponds to the second receiving terminal RDX2 of the ESP8266EX WIFI communication module U1, the VDD pin of the ESP8266EX WIFI communication module U1 is used to receive the working voltage VDD, and the VSS pin of the ESP8266EX WIFI communication module U1 is grounded. In some embodiments, the wireless communication module 12 includes a capacitor C1, which is electrically connected between the VDD pin of the ESP8266EX WIFI communication module U1 and the VSS pin of the ESP8266EX WIFI communication module U1, and is used to filter and reduce noise of the power supply of the ESP8266EX WIFI communication module U1.

[0055] The communication interface 10 is used to be electrically connected to the first receiving port 11 b and the first sending port 11 a of the external device 11 respectively. The external device 11 supports at least the first level serial port standard or the second level serial port standard.

[0056] like Figure 4 As shown, the communication interface 10 includes a communication interface CN1, a VCC pin of the communication interface CN1 is used to receive an external power supply VCC or a 5V operating voltage, a RXD1 pin of the communication interface CN1 is electrically connected to a first receiving port 11b of an external device 11, a TXD1 pin of the communication interface CN1 is electrically connected to a first transmitting port 11a of the external device 11, and a GND pin of the communication interface CN1 is grounded.

[0057] In practical applications, different types of communication interfaces CN1 can be selected according to circuit design requirements. In this case, the number of pins and the pin arrangement relationship of the communication interface CN1 also change accordingly. In the embodiment of the present invention, the external device 11 supports the first level serial port standard or the second level serial port standard, the first level is equal to 3.3V, and the second level is equal to 5V. Correspondingly, the external device 11 supports the 3.3V serial port standard or the 5V serial port standard.

[0058] The transmission control circuit 20 is electrically connected between the first receiving port 11 b of the external device 11 and the second transmitting port 12 a of the wireless communication module 12 .

[0059] like Figure 4As shown, the transmission control circuit 20 includes a first NPN transistor Q1 and a first resistor R1. The collector of the first NPN transistor Q1 is electrically connected to the first node 10a, the emitter of the first NPN transistor Q1 is electrically connected to the second transmission port 12a (i.e., the second transmission terminal TDX2 of the ESP8266EX WIFI communication module U1), the base of the first NPN transistor Q1 is electrically connected to one end of the first resistor R1; and the other end of the first resistor R1 is used to receive the first level 3.3V.

[0060] The level control circuit 30 is electrically connected to the first receiving port 11b of the external device 11, the transmitting control circuit 20, the second receiving port 12b of the wireless communication module 12 and the first transmitting port 11a of the external device 11, respectively, and the connection point among the level control circuit 30, the transmitting control circuit 20 and the first receiving port 11b is the first node 10a.

[0061] Please also read Figure 2 The level control circuit 30 includes a level conversion circuit 301 and a bias circuit 302 .

[0062] The level conversion circuit 301 is electrically connected to the level selection circuit 40, the second receiving port 12b of the wireless communication module 12, and the first sending port 11a of the external device 11, and is used for, under the premise that the level selection circuit 40 is configured to output the first voltage, when the external device 11 sends serial port data to the wireless communication module 12, the first voltage triggers the level conversion circuit 301 to directly transmit the first level sent by the first sending port 11a of the external device 11 to the second receiving port 12b; under the premise that the level selection circuit 40 is configured to output the second voltage, when the external device 11 sends serial port data to the wireless communication module 12, the first voltage triggers the level conversion circuit 301 to directly transmit the first level sent by the first sending port 11a of the external device 11 to the second receiving port 12b; When the external device 11 sends serial port data to the wireless communication module 12, the second voltage triggers the level conversion circuit 301 to convert the second level sent by the first sending port 11a into the first level and transmit it to the second receiving port 12b; under the premise that the level selection circuit 40 is configured to output a high impedance state, when the external device 11 sends serial port data to the wireless communication module 12, the level selection circuit 40 triggers the level conversion circuit 301 to divide the first level or the second level sent by the first sending port 11a of the external device 11, and transmit it to the second receiving port 12b. The connection point between the level conversion circuit 301 and the second receiving port 12b is the second node 10b.

[0063] like Figure 4 As shown, the level conversion circuit 301 includes a second resistor R2, a second NPN transistor Q2, a third resistor R3 and a fourth resistor R4.

[0064] Among them, one end of the second resistor R2 is electrically connected to the level selection circuit 40 (i.e., the SEL pin of the 3-pin plug JP1) for receiving the first voltage or the second voltage, and is also electrically connected to the bias circuit 302, and the other end of the second resistor R2 is electrically connected to the base of the second NPN transistor Q2; the emitter of the second NPN transistor Q2 is grounded, and the collector of the second NPN transistor Q2 is electrically connected to one end of the third resistor R3; the other end of the third resistor R3 is connected to the second node 10b; one end of the fourth resistor R4 is connected to the second node 10b, and the other end of the fourth resistor R4 is connected to the first sending port 11a (i.e., the TDX1 pin of the communication interface CN1).

[0065] The bias circuit 302 is electrically connected to the level conversion circuit 301 and the level selection circuit 40 respectively, and is electrically connected to the first node 10a, and is used for, under the premise that the level selection circuit 40 is configured to output the first voltage, when the wireless communication module 12 sends serial port data to the external device 11, the first voltage triggers the bias circuit 302 to bias the voltage of the first node 10a to the first level, and the wireless communication module 12 controls the sending control circuit 20 to pull down the first level or maintain it unchanged, so that the wireless communication module 12 sends the first level serial port standard data to the external device 11; under the premise that the level selection circuit 40 is configured to output the second voltage, when the wireless communication module 12 sends serial port data to the external device 11, the second voltage triggers the bias circuit 302 to bias the voltage of the first node 10a to the first level, and the wireless communication module 12 controls the sending control circuit 20 to pull down the first level or maintain it unchanged, so that the wireless communication module 12 sends the first level serial port standard data to the external device 11; under the premise that the level selection circuit 40 is configured to output the second voltage, when the wireless communication module 12 sends the ... The voltage-triggered bias circuit 302 biases the voltage of the first node 10a to the second level, and the wireless communication module 12 controls the sending control circuit 20 to pull down the second level or maintain it unchanged, so that the wireless communication module 12 sends the second level serial port standard data to the external device 11; under the premise that the level selection circuit 40 is configured to output a high impedance state, when the wireless communication module 12 sends serial port data to the external device 11, the level selection circuit 40 triggers the bias circuit 302 to bias the voltage of the first node 10a to the first level, and the wireless communication module 12 controls the sending control circuit 20 to pull down the first level or maintain it unchanged, so that the wireless communication module 12 sends the first level serial port standard data to the external device 11.

[0066] The bias circuit 302 includes a switch circuit 3021 and a bias selection circuit 3022 .

[0067] The switch circuit 3021 is electrically connected to the level selection circuit 40 and the level conversion circuit 301 , respectively.

[0068] like Figure 4As shown, the switch circuit 3021 includes a diode D1, a fifth resistor R5, and a third NPN transistor Q3. The anode of the diode D1 is electrically connected to the level selection circuit 40 for receiving the first voltage or the second voltage, the cathode of the diode D1 is electrically connected to one end of the fifth resistor R5 and the base of the third NPN transistor Q3; the other end of the fifth resistor R5 is grounded; the emitter of the third NPN transistor Q3 is grounded, and the collector of the third NPN transistor Q3 is electrically connected to the bias selection circuit 3022.

[0069] The bias selection circuit 3022 is electrically connected to the level selection circuit 40 and the switch circuit 3021 respectively, and is electrically connected to the first node 10a, and is used for, under the premise that the level selection circuit 40 is configured to output the first voltage, when the wireless communication module 12 sends serial port data to the external device 11, the first voltage triggers the switch circuit 3021 to work in the cut-off state, so that the bias selection circuit 3022 biases the voltage of the first node 10a to the first level, and the wireless communication module 12 controls the sending control circuit 20 to pull down the first level or maintain it unchanged, so that the wireless communication module 12 sends the first level serial port standard data to the external device 11; under the premise that the level selection circuit 40 is configured to output the second voltage, when the wireless communication module 12 sends serial port data to the external device 11, the second voltage triggers the switch circuit 3021 to work in the cut-off state. 021 works in the working state, so that the bias selection circuit 3022 biases the voltage of the first node 10a to the second level, and the wireless communication module 12 controls the sending control circuit 20 to pull down the second level or maintain it unchanged, so that the wireless communication module 12 sends the second level serial port standard data to the external device 11; under the premise that the level selection circuit 40 is configured to output a high impedance state, when the wireless communication module 12 sends serial port data to the external device 11, the level selection circuit 40 triggers the switch circuit 3021 to work in the cut-off state, so that the bias selection circuit 3022 biases the voltage of the first node 10a to the first level, and the wireless communication module 12 controls the sending control circuit 20 to pull down the first level or maintain it unchanged, so that the wireless communication module 12 sends the first level serial port standard data to the external device 11.

[0070] like Figure 4 As shown, the bias selection circuit 3022 includes a sixth resistor R6, a seventh resistor R7, a first PNP transistor Q4, a second PNP transistor Q5, an eighth resistor R8, a ninth resistor R9 and a tenth resistor R10.

[0071] Among them, one end of the sixth resistor R6 is electrically connected to the collector of the third NPN transistor Q3, and the other end of the sixth resistor R6 is connected to one end of the seventh resistor R7 and the base of the first PNP transistor Q4; the other end of the seventh resistor R7 is electrically connected to the emitter of the first PNP transistor Q4, for receiving the second level 5V; the collector of the first PNP transistor Q4 is connected to the collector of the second PNP transistor Q5 and one end of the tenth resistor R10; the emitter of the second PNP transistor Q5 is connected to one end of the eighth resistor R8, for receiving the first level 3.3V, and the base of the second PNP transistor Q5 is connected to the other end of the eighth resistor R8 and one end of the ninth resistor R9; the other end of the ninth resistor R9 is electrically connected to the level selection circuit 40, for receiving the first voltage or the second voltage; the other end of the tenth resistor R10 is connected to the first node 10a.

[0072] In some embodiments, please refer again to Figure 2 The level control circuit 30 further includes a freewheeling circuit 303, which is electrically connected to the second node 10b and is used for freewheeling protection of the second receiving port 12b. Figure 4 As shown, the freewheeling circuit includes a diode D2, an anode of the diode D2 is electrically connected to the second node 10b, and a cathode of the diode D2 is used to receive the operating voltage VDD.

[0073] The level selection circuit 40 is electrically connected to the level control circuit 30 , and the level selection circuit 40 can be configured to at least output the first voltage or the second voltage.

[0074] In the embodiment of the present invention, the level selection circuit 40 includes at least three pins or at least three band switches.

[0075] Take the level selection circuit 40 including 3 pins as an example, Figure 4As shown, the 3-pin JP1 includes a VDD pin, a SEL pin and a GND pin. The VDD pin of the 3-pin JP1 is used to receive the working voltage VDD, the SEL pin of the 3-pin JP1 can be configured to output the first voltage or the second voltage, and the GND pin of the 3-pin JP1 is grounded. When the SEL pin of the 3-pin JP1 and the GND pin of the 3-pin JP1 are connected by means of a 2-pin jumper cap, the SEL pin of the 3-pin JP1 is configured to output 0V; when the SEL pin of the 3-pin JP1 and the VDD pin of the 3-pin JP1 are connected by means of a 2-pin jumper cap, the SEL pin of the 3-pin JP1 is configured to output the operating voltage VDD; when the SEL pin of the 3-pin JP1 is left floating (i.e., the SEL pin of the 3-pin JP1 is neither connected to the VDD pin of the 3-pin JP1 nor to the GND pin of the 3-pin JP1), the SEL pin of the 3-pin JP1 is configured to output a high impedance state. In the embodiment of the present invention, the first voltage is equal to 0V, and the second voltage is equal to 3.3V, i.e. Figure 4 The operating voltage VDD shown is equal to 3.3V.

[0076] In summary, under the premise that the level selection circuit 40 is configured to output the first voltage, when the external device 11 sends serial port data to the wireless communication module 12, the first voltage trigger level control circuit 30 directly transmits the first level sent by the first sending port 11a of the external device 11 to the second receiving port 12b of the wireless communication module 12, or, when the wireless communication module 12 sends serial port data to the external device 11, the first voltage trigger level control circuit 30 biases the voltage of the first node 10a to the first level, and the wireless communication module 12 controls the sending control circuit 20 to pull down the first level or maintain it unchanged, so that the wireless communication module 12 sends the first level serial port standard data to the external device 11.

[0077] On the premise that the level selection circuit 40 is configured to output the second voltage, when the external device 11 sends serial port data to the wireless communication module 12, the second voltage trigger level control circuit 30 converts the second level sent by the first sending port 11a into the first level and transmits it to the second receiving port 12b, or, when the wireless communication module 12 sends serial port data to the external device 11, the second voltage trigger level control circuit 30 biases the voltage of the first node 10a to the second level, and the wireless communication module 12 controls the sending control circuit 20 to pull down the second level or maintain it unchanged, so that the wireless communication module 12 sends the second level serial port standard data to the external device 11.

[0078] Under the premise that the level selection circuit 40 is configured to output a high-impedance state, when the external device 11 sends serial port data to the wireless communication module 12, the level selection circuit 40 triggers the level control circuit 30 to divide the first level or the second level sent by the first sending port 11a of the external device 11, and transmit it to the second receiving port 12b, or, when the wireless communication module 12 sends serial port data to the external device 11, the level selection circuit 40 triggers the level control circuit 30 to bias the voltage of the first node 10a to the first level, and the wireless communication module 12 controls the sending control circuit 20 to pull down the first level or maintain it unchanged, so that the wireless communication module 12 sends the first level serial port standard data to the external device 11.

[0079] See also Figure 3 , is a schematic diagram of the circuit structure of a transceiver control circuit of a wireless communication module provided by another embodiment of the present invention. Figure 3 As shown, the transceiver control circuit 100 of the wireless communication module also includes a power supply circuit 50, which is electrically connected to the communication interface 10, the transmission control circuit 20, the level control circuit 30 and the level selection circuit 40, respectively, and is used to provide the second level as the working voltage for the communication interface 10 and the level control circuit 30, and to provide the first level as the working voltage for the transmission control circuit 20, the level control circuit 30 and the level selection circuit 40.

[0080] As one of the embodiments of the present invention, Figure 5 As shown, when the external power supply VCC is greater than 5V, the power supply circuit 50 includes a low voltage dropout linear regulator U2, an electrolytic capacitor EC1, a capacitor C2, an electrolytic capacitor EC2, a capacitor C3, a low voltage dropout linear regulator U3, an electrolytic capacitor EC3 and a capacitor C4.

[0081] Among them, the Vin pin of the low-voltage difference linear regulator U2 is used to receive the external power supply VCC, the Vout pin of the low-voltage difference linear regulator U2 is electrically connected to the positive electrode of the electrolytic capacitor EC1 and one end of the capacitor C2, and is used to output the second level 5V, and the GND pin of the low-voltage difference linear regulator U2, the negative electrode of the electrolytic capacitor EC1 and the other end of the capacitor C2 are all grounded. The positive electrode of the electrolytic capacitor EC2 is electrically connected to one end of the capacitor C3 and the Vin pin of the low-voltage difference linear regulator U3, and is used to receive the external power supply VCC, the Vout pin of the low-voltage difference linear regulator U3 is electrically connected to the positive electrode of the electrolytic capacitor EC3 and one end of the capacitor C4, and is used to output the first level 3.3V, and the negative electrode of the electrolytic capacitor EC2, the other end of the capacitor C3, the GND pin of the low-voltage difference linear regulator U3, the negative electrode of the electrolytic capacitor EC3 and the other end of the capacitor C4 are all grounded.

[0082] Taking the low-voltage dropout linear regulator U2 including the LD1117-5V low-voltage dropout linear regulator and the low-voltage dropout linear regulator U3 including the LD1117-3.3V low-voltage dropout linear regulator as an example, the external power supply VCC is any DC voltage of 5.5V-12V, and the external power supply VCC is subjected to voltage reduction processing by the LD1117-5V low-voltage dropout linear regulator, and then is subjected to energy storage and noise reduction by the filter circuit composed of the electrolytic capacitor EC1 and the capacitor C2, to obtain the second level of 5V. The external power supply VCC is subjected to energy storage and noise reduction by the filter circuit composed of the electrolytic capacitor EC2 and the capacitor C3, and then is input to the LD1117-3.3V low-voltage dropout linear regulator for voltage reduction processing, and then is subjected to energy storage and noise reduction by the filter circuit composed of the electrolytic capacitor EC3 and the capacitor C4, to obtain the first level of 3.3V. The second level 5V provides an operating voltage for the communication interface 10 and the level control circuit 30 , and the first level 3.3V provides an operating voltage for the transmission control circuit 20 , the level control circuit 30 and the level selection circuit 40 .

[0083] As one of the embodiments of the present invention, Figure 6 As shown, when the external power supply VCC is equal to 5V, the power supply circuit 50 includes an electrolytic capacitor EC2, a capacitor C3, a low voltage drop linear regulator U3, an electrolytic capacitor EC3 and a capacitor C4. Please refer to the above embodiment for the connection relationship and the power conversion principle, which will not be repeated here. The power supply circuit 50 converts the second level 5V into a first level 3.3V. The second level 5V provides a working voltage for the communication interface 10 and the level control circuit 30, and the first level 3.3V provides a working voltage for the transmission control circuit 20, the level control circuit 30 and the level selection circuit 40.

[0084] In summary, please refer again Figure 4 The working principle of the transceiver control circuit 100 of the wireless communication module is as follows:

[0085] (1) When the SEL pin of the 3-pin JP1 and the GND pin of the 3-pin JP1 are connected by means of a 2-pin jumper cap, the SEL pin of the 3-pin JP1 is configured to output a first voltage of 0V, and the external device 11 supports the 3.3V serial port standard.

[0086] When the external device 11 sends serial port data to the wireless communication module 12, the first voltage 0V reaches the base of the second NPN transistor Q2 through the second resistor R2, and the conduction condition of the second NPN transistor Q2 is not met. The second NPN transistor Q2 is cut off, and the first level 3.3V sent by the first sending port 11a of the external device 11 (i.e., the TXD1 pin of the communication interface CN1) is directly transmitted to the second receiving port 12b of the wireless communication module 12 (i.e., the second receiving end RXD2 of the ESP8266EXWIFI communication module U1) through the fourth resistor R4.

[0087] When the wireless communication module 12 sends serial port data to the external device 11, the first voltage 0V acts on the anode of the diode D1, which does not meet the conduction condition of the diode D1, disconnects the transmission path of the first voltage 0V, does not meet the conduction condition of the third NPN transistor Q3, and the third NPN transistor Q3 is turned off. At this time, the conduction condition of the first PNP transistor Q4 is not met, and the first PNP transistor Q4 is also turned off. At the same time, the first voltage 0V passes through the ninth resistor R9 to reach the base of the second PNP transistor Q5, meets the conduction condition of the second PNP transistor Q5, and the second PNP transistor Q5 is turned on. The collector voltage of the second PNP transistor Q5 is pulled up to the first level 3.3V (operating voltage VDD), so that the voltage of the first node 10a is biased to the first level 3.3V. When the second transmitting terminal TXD2 of the ESP8266EXWIFI communication module U1 is at a high level, the conduction condition of the first NPN transistor Q1 is not met, the first NPN transistor Q1 is cut off, and the first receiving terminal 11b of the external device 11 (i.e., the RXD1 pin of the communication interface CN1) receives the voltage of the first node 10a (i.e., the first level 3.3V); when the second transmitting terminal TXD2 of the ESP8266EXWIFI communication module U1 is at a low level, the conduction condition of the first NPN transistor Q1 is met, the first NPN transistor Q1 is turned on, the voltage of the first node 10a is pulled down, and the first receiving terminal 11b of the external device 11 receives the voltage of the first node 10a (i.e., 0V), so that the wireless communication module 12 sends 3.3V serial port standard data to the external device 11.

[0088] (2) When the SEL pin of the 3-pin JP1 and the VDD pin of the 3-pin JP1 are connected by means of a 2-pin jumper cap, the SEL pin of the 3-pin JP1 is configured to output the second voltage 3.3V, and the external device 11 supports the 5V serial port standard.

[0089] When the external device 11 sends serial port data to the wireless communication module 12, the second voltage 3.3V reaches the base of the second NPN transistor Q2 through the second resistor R2, satisfying the conduction condition of the second NPN transistor Q2, and the second NPN transistor Q2 is turned on. The second level 5V sent by the first sending port 11a of the external device 11 is divided by the voltage divider circuit composed of the third resistor R3 and the fourth resistor R4 to obtain the first level 3.3V, that is, the divided voltage 3.3V is obtained at the second node 10b, and the first level 3.3V is transmitted to the second receiving port 12b of the wireless communication module 12.

[0090] When the wireless communication module 12 sends serial port data to the external device 11, the second voltage 3.3V reaches the base of the second PNP transistor Q5 through the nine resistors R9, and the conduction condition of the second PNP transistor Q5 is not met, and the second PNP transistor Q5 is cut off. At the same time, the second voltage 3.3V acts on the anode of the diode D1, and the conduction condition of the diode D1 is met, and the diode D1 is turned on. The second voltage 3.3V reaches the base of the third NPN transistor Q3 through the diode D1, and the conduction condition of the third NPN transistor Q3 is met, and the third NPN transistor Q3 is turned on, and the collector voltage of the third NPN transistor Q3 is pulled down, so that the conduction condition of the first PNP transistor Q4 is met, the first PNP transistor Q4 is turned on, and the collector voltage of the first PNP transistor Q4 is pulled up to the second level 5V, so that the voltage of the first node 10a is biased to the second level 5V. When the second transmitting terminal TXD2 of the ESP8266EXWIFI communication module U1 is at a high level, the conduction condition of the first NPN transistor Q1 is not met, the first NPN transistor Q1 is cut off, and the first receiving terminal 11b of the external device 11 receives the voltage of the first node 10a (i.e., the second level 5V); when the second transmitting terminal TXD2 of the ESP8266EXWIFI communication module U1 is at a low level, the conduction condition of the first NPN transistor Q1 is met, the first NPN transistor Q1 is turned on, the voltage of the first node 10a is pulled down, and the first receiving terminal 11b of the external device 11 receives the voltage of the first node 10a (i.e., 0V), so that the wireless communication module 12 sends 5V serial port standard data to the external device 11.

[0091] (3) When the SEL pin of the 3-pin JP1 is left floating, the SEL pin of the 3-pin JP1 is configured to output a high impedance state, and the external device 11 supports the 3.3V serial port standard or the 5V serial port standard. At this time, the wireless communication module 12 is not clear about the level serial port standard of the external device 11.

[0092] When the external device 11 sends serial port data to the wireless communication module 12, since the SEL pin of the 3-pin JP1 is configured to output a high impedance state, the working voltage VDD passes through the ninth resistor R9 and the second resistor R2 to reach the base of the second NPN transistor Q2, satisfying the conduction condition of the second NPN transistor Q2, and the second NPN transistor Q2 is turned on. The first level 3.3V or the second level 5V sent by the first sending port 11a of the external device 11 is divided by the voltage divider circuit composed of the third resistor R3 and the fourth resistor R4, and the voltage obtained by the voltage division is transmitted to the second receiving port 12b of the wireless communication module 12. If the first sending port 11a of the external device 11 sends the first level 3.3V, the voltage received by the second receiving port 12b of the wireless communication module 12 is less than 3.3V; if the first sending port 11a of the external device 11 sends the second level 5V, the voltage received by the second receiving port 12b of the wireless communication module 12 is equal to 3.3V, thereby protecting the second receiving port 12b of the wireless communication module 12.

[0093] When the wireless communication module 12 sends serial port data to the external device 11, since the SEL pin of the 3-pin JP1 is configured to output a high impedance state, the operating voltage VDD reaches the base of the third NPN transistor Q3 through the ninth resistor R9 and the diode D1, and the conduction condition of the second NPN transistor Q2 is not met, and the third NPN transistor Q3 is turned off. Therefore, the first PNP transistor Q4 is turned off, and at the same time, the conduction condition of the second PNP transistor Q5 is met, and the second PNP transistor Q5 is turned on. At this time, the collector voltage of the second PNP transistor Q5 is pulled up to the first level 3.3V, so that the voltage of the first node 10a is biased to the first level 3.3V. When the second transmitting terminal TXD2 of the ESP8266EXWIFI communication module U1 is at a high level, the conduction condition of the first NPN transistor Q1 is not met, the first NPN transistor Q1 is cut off, and the first receiving terminal 11b of the external device 11 receives the voltage of the first node 10a (i.e., the first level 3.3V); when the second transmitting terminal TXD2 of the ESP8266EXWIFI communication module U1 is at a low level, the conduction condition of the first NPN transistor Q1 is met, the first NPN transistor Q1 is turned on, the voltage of the first node 10a is pulled down, and the first receiving terminal 11b of the external device 11 receives the voltage of the first node 10a (i.e., 0V), so that the wireless communication module 12 sends 3.3V serial port standard data to the external device 11, so as to protect the first receiving port 11b of the external device 11.

[0094] An embodiment of the present invention provides a transceiver control circuit of a wireless communication module, comprising: a communication interface, used to be electrically connected to a first receiving port and a first transmitting port of an external device, respectively, and the external device supports at least a first level serial port standard or a second level serial port standard; a transmitting control circuit, electrically connected between the first receiving port of the external device and the second transmitting port of the wireless communication module; a level control circuit, electrically connected to the first receiving port of the external device, the transmitting control circuit, the second receiving port of the wireless communication module, and the first transmitting port of the external device, respectively, and the connection point between the level control circuit, the transmitting control circuit, and the first receiving port is a first node; and a level selection circuit, electrically connected to the level control circuit, and the level selection circuit can be configured to output at least a first voltage or a second voltage. Under the premise that the level selection circuit is configured to output the first voltage, when the external device sends serial port data to the wireless communication module, the first voltage trigger level control circuit directly transmits the first level sent by the first sending port of the external device to the second receiving port of the wireless communication module, or, when the wireless communication module sends serial port data to the external device, the first voltage trigger level control circuit biases the voltage of the first node to the first level, and the wireless communication module controls the sending control circuit to pull down or maintain the first level unchanged, so that the wireless communication module sends the first level serial port standard data to the external device; under the premise that the level selection circuit is configured to output the second voltage, when the external device sends serial port data to the wireless communication module, the second voltage trigger level control circuit converts the second level sent by the first sending port into the first level and transmits it to the second receiving port, or, when the wireless communication module sends serial port data to the external device, the second voltage trigger level control circuit biases the voltage of the first node to the second level, and the wireless communication module controls the sending control circuit to pull down or maintain the second level unchanged, so that the external wireless communication module sends the second level serial port standard data to the external device. Therefore, the embodiments of the present invention can enable the wireless communication module to adapt to an external device that supports at least two communication level serial port standards, thereby improving the adaptability of the wireless communication module.

[0095] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them. Under the concept of the present invention, the technical features in the above embodiments or different embodiments may also be combined, the steps may be implemented in any order, and there are many other changes in different aspects of the present invention as described above, which are not provided in detail for the sake of simplicity. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they may still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A transceiver control circuit of a wireless communication module, characterized in that: include: A communication interface, used to electrically connect to a first receiving port and a first transmitting port of an external device, respectively, wherein the external device supports at least a first level serial port standard or a second level serial port standard; a transmission control circuit, electrically connected between the first receiving port of the external device and the second transmitting port of the wireless communication module; a level control circuit, electrically connected to the first receiving port of the external device, the sending control circuit, the second receiving port of the wireless communication module and the first sending port of the external device, respectively, and a connection point between the level control circuit, the sending control circuit and the first receiving port is a first node; as well as, A level selection circuit, electrically connected to the level control circuit, wherein the level selection circuit can be configured to output at least a first voltage, a second voltage or a high impedance state; Under the premise that the level selection circuit is configured to output the first voltage, when the external device sends serial port data to the wireless communication module, the first voltage triggers the level control circuit to directly transmit the first level sent by the first sending port of the external device to the second receiving port of the wireless communication module, or, when the wireless communication module sends serial port data to the external device, the first voltage triggers the level control circuit to bias the voltage of the first node to the first level, and the wireless communication module controls the sending control circuit to pull down the first level or maintain it unchanged, so that the wireless communication module sends the first level serial port standard data to the external device; Under the premise that the level selection circuit is configured to output the second voltage, when the external device sends serial port data to the wireless communication module, the second voltage triggers the level control circuit to convert the second level sent by the first sending port into the first level and transmit it to the second receiving port, or, when the wireless communication module sends serial port data to the external device, the second voltage triggers the level control circuit to bias the voltage of the first node to the second level, and the wireless communication module controls the sending control circuit to pull down the second level or maintain it unchanged, so that the wireless communication module sends the second level serial port standard data to the external device; the sending control circuit includes a first NPN transistor and a first resistor; The collector of the first NPN transistor is electrically connected to the first node, the emitter of the first NPN transistor is electrically connected to the second transmitting port, and the base of the first NPN transistor is electrically connected to one end of the first resistor; The other end of the first resistor is used to receive the first level.

2. The transceiver control circuit of the wireless communication module according to claim 1, characterized in that: The level control circuit comprises: a level conversion circuit, electrically connected to the level selection circuit, the second receiving port of the wireless communication module, and the first sending port of the external device, and used for, under the premise that the level selection circuit is configured to output the first voltage, when the external device sends serial port data to the wireless communication module, the first voltage triggers the level conversion circuit to directly transmit the first level sent by the first sending port of the external device to the second receiving port; under the premise that the level selection circuit is configured to output the second voltage, when the external device sends serial port data to the wireless communication module, the second voltage triggers the level conversion circuit to convert the second level sent by the first sending port into the first level and transmit it to the second receiving port; under the premise that the level selection circuit is configured to output the high impedance state, when the external device sends serial port data to the wireless communication module, the level selection circuit triggers the level conversion circuit to divide the first level or the second level sent by the first sending port of the external device and transmit it to the second receiving port, and the connection point between the level conversion circuit and the second receiving port is the second node; a bias circuit, electrically connected to the level conversion circuit and the level selection circuit, respectively, and electrically connected to the first node, for, under the premise that the level selection circuit is configured to output the first voltage, when the wireless communication module sends serial port data to the external device, the first voltage triggers the bias circuit to bias the voltage of the first node to the first level, and the wireless communication module controls the transmission control circuit to pull down or maintain the first level unchanged, so that the wireless communication module sends the first level serial port standard data to the external device; under the premise that the level selection circuit is configured to output the second voltage, when the wireless communication module sends serial port data to the external device, the second The voltage triggers the bias circuit to bias the voltage of the first node to the second level, and the wireless communication module controls the sending control circuit to pull down or maintain the second level, so that the wireless communication module sends the second level serial port standard data to the external device; under the premise that the level selection circuit is configured to output the high impedance state, when the wireless communication module sends serial port data to the external device, the level selection circuit triggers the bias circuit to bias the voltage of the first node to the first level, and the wireless communication module controls the sending control circuit to pull down or maintain the first level, so that the wireless communication module sends the first level serial port standard data to the external device.

3. The transceiver control circuit of the wireless communication module according to claim 2, characterized in that: The level conversion circuit includes a second resistor, a second NPN transistor, a third resistor and a fourth resistor; One end of the second resistor is electrically connected to the level selection circuit, used for receiving the first voltage or the second voltage, and is also electrically connected to the bias circuit, and the other end of the second resistor is electrically connected to the base of the second NPN transistor; The emitter of the second NPN transistor is grounded, and the collector of the second NPN transistor is electrically connected to one end of the third resistor; The other end of the third resistor is connected to the second node; One end of the fourth resistor is connected to the second node, and the other end of the fourth resistor is connected to the first transmitting port.

4. The transceiver control circuit of the wireless communication module according to claim 2, characterized in that: The bias circuit comprises: a switch circuit, electrically connected to the level selection circuit and the level conversion circuit respectively; a bias selection circuit, electrically connected to the level selection circuit and the switch circuit, respectively, and electrically connected to the first node, for, under the premise that the level selection circuit is configured to output the first voltage, when the wireless communication module sends serial port data to the external device, the first voltage triggers the switch circuit to operate in a cut-off state, so that the bias selection circuit biases the voltage of the first node to the first level, and the wireless communication module controls the sending control circuit to pull down or maintain the first level unchanged, so that the wireless communication module sends the first level serial port standard data to the external device; under the premise that the level selection circuit is configured to output the second voltage, when the wireless communication module sends serial port data to the external device, the second voltage triggers the switch circuit The circuit works in a working state, so that the bias selection circuit biases the voltage of the first node to the second level, and the wireless communication module controls the sending control circuit to pull down or maintain the second level, so that the wireless communication module sends the second level serial port standard data to the external device; under the premise that the level selection circuit is configured to output the high impedance state, when the wireless communication module sends the serial port data to the external device, the level selection circuit triggers the switch circuit to work in a cut-off state, so that the bias selection circuit biases the voltage of the first node to the first level, and the wireless communication module controls the sending control circuit to pull down or maintain the first level, so that the wireless communication module sends the first level serial port standard data to the external device.

5. The transceiver control circuit of the wireless communication module according to claim 4, characterized in that: The switch circuit includes a diode, a fifth resistor and a third NPN transistor; The anode of the diode is electrically connected to the level selection circuit and is used to receive the first voltage or the second voltage, and the cathode of the diode is electrically connected to one end of the fifth resistor and the base of the third NPN transistor; The other end of the fifth resistor is grounded; The emitter of the third NPN transistor is grounded, and the collector of the third NPN transistor is electrically connected to the bias selection circuit.

6. The transceiver control circuit of the wireless communication module according to claim 5, characterized in that: The bias selection circuit includes a sixth resistor, a seventh resistor, a first PNP transistor, a second PNP transistor, an eighth resistor, a ninth resistor and a tenth resistor; One end of the sixth resistor is electrically connected to the collector of the third NPN transistor, and the other end of the sixth resistor is connected to one end of the seventh resistor and the base of the first PNP transistor; The other end of the seventh resistor is electrically connected to the emitter of the first PNP transistor, for receiving the second electrical level; The collector of the first PNP transistor is connected to the collector of the second PNP transistor and one end of the tenth resistor; The emitter of the second PNP transistor is connected to one end of the eighth resistor for receiving the first electrical level, and the base of the second PNP transistor is connected to the other end of the eighth resistor and one end of the ninth resistor; The other end of the ninth resistor is electrically connected to the level selection circuit, and is used to receive the first voltage or the second voltage; The other end of the tenth resistor is connected to the first node.

7. The transceiver control circuit of the wireless communication module according to any one of claims 2 to 6, characterized in that: The level control circuit further includes a freewheeling circuit, which is electrically connected to the second node and is used for freewheeling protection of the second receiving port.

8. The transceiver control circuit of the wireless communication module according to any one of claims 1 to 6, characterized in that: The level selection circuit includes at least three pins or at least three band switches.

9. The transceiver control circuit of the wireless communication module according to claim 7, characterized in that: The transceiver control circuit of the wireless communication module also includes a power supply circuit, which is electrically connected to the communication interface, the transmission control circuit, the level control circuit and the level selection circuit, respectively, and is used to provide the second level as a working voltage to the communication interface and the level control circuit, and to provide the first level as a working voltage to the transmission control circuit, the level control circuit and the level selection circuit.

Citation Information

Patent Citations

  • Transmit-receive control circuit of wireless communication module

    CN213122643U