Intelligent gateway with Bluetooth communication function

By designing an intelligent gateway with multiple communication modules, the complex configuration, insufficient flexibility and data confidentiality of traditional Bluetooth gateways are solved, normal operation and high-stability connections are achieved without a network, and data confidentiality is ensured through software control.

CN222897258UActive Publication Date: 2025-05-23INNUO POWER TECHNOLOGY (TIANJIN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202421731980.8
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2025-05-23
Estimated Expiration
2034-07-22

AI Technical Summary

Technical Problem

Traditional Bluetooth gateways are complex in network settings and configuration, lack flexibility, and cannot adapt to different scenarios and application needs. At the same time, there are problems such as limited number of device connections and insufficient data confidentiality.

Method used

An intelligent gateway is designed, including the main control chip, power module, 485 communication module, W5500 module and Bluetooth module. It conducts wired communication with the lower computer through the 485 communication module, and wireless communication with the upper computer through the Bluetooth and W5500 modules, realizing a combination of wired and wireless communication, enhancing flexibility and stability, and ensuring data confidentiality through software control.

Benefits of technology

It realizes an intelligent gateway that can work normally without a network, enhances the flexibility and stability of device connections, and ensures data confidentiality through transparent transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222897258U_ABST
    Figure CN222897258U_ABST
Patent Text Reader

Abstract

The utility model discloses an intelligent gateway with a Bluetooth communication function, which mainly comprises a main control chip, a power supply module, a 485 communication module, a W5500 module and a Bluetooth module, the 485 communication module is used for communication between the intelligent gateway and a lower computer, the W5500 module is used for communication between the intelligent gateway and an upper computer through the Ethernet, and the Bluetooth module is used for Bluetooth communication between the intelligent gateway and the lower computer. The Bluetooth module is used for communication between the intelligent gateway and an upper computer through Bluetooth; furthermore, the intelligent gateway further comprises a reset module, a storage module and an indicator light module, the reset module is used for resetting and restarting when the main control chip works abnormally, the storage module is used for temporarily storing and managing data, and the indicator light module is used for displaying the state of the gateway. The communication between the intelligent gateway and the upper computer does not need a router for transfer connection, the intelligent gateway can be normally used under the condition of no network, the number of connection devices of the lower computer is not limited, and the wired and wireless combined communication mode is more stable and reliable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of communication control, in particular to an intelligent gateway with a Bluetooth communication function. Background Art

[0002] A gateway is a complex network interconnection device, also known as an internetwork connector or protocol converter. It realizes network interconnection above the network layer and is mainly used for interconnection between two networks with different high-level protocols. Gateways can be used for both wide area network interconnection and local area network interconnection. A gateway is essentially an IP address that connects a network to other networks. It works at the transport layer and is one of the most complex network interconnection devices. Its structure is usually similar to that of a router, but the interconnection layer is different. A gateway acts as a translator between two systems that use different communication protocols, data formats or languages, or even completely different architectures, and repackages the received information to meet the needs of the destination system. Traditional Bluetooth gateways require complex network settings and configurations, and do not have high flexibility when connecting to other devices, which makes traditional Bluetooth gateways unable to adapt well to different scenarios and application requirements. Traditional Bluetooth gateways use Bluetooth modules to scan devices within their signal coverage range and obtain data, and then transmit the scanned devices to the server through WiFi or 4G networks. The server displays and manages these scanned devices. Since WiFi or 4G networks require complex configuration and operation, the user's learning cost and operation difficulty are increased, and they cannot work properly without a network. In addition, traditional Bluetooth gateways have problems such as limited number of devices that can be connected simultaneously and insufficient data confidentiality. Utility Model Content

[0003] In order to overcome the deficiencies of the prior art, the technical problem to be solved by the utility model is to propose an intelligent gateway with Bluetooth communication function.

[0004] The present invention solves the technical problem by adopting the following technical solution:

[0005] An intelligent gateway with Bluetooth communication function, including a main control chip, a power module, a 485 communication module, a W5500 module and a Bluetooth module, wherein the 485 communication module is used for communication between the intelligent gateway and a lower computer, the W5500 module is used for communication between the intelligent gateway and the upper computer via Ethernet, and the Bluetooth module is used for communication between the intelligent gateway and the upper computer via Bluetooth;

[0006] The 485 communication module includes resistors No. 5 to No. 12, an SP485 chip, diodes No. 1 to No. 3 and a transistor; one end of the resistor No. 5 is connected to pin No. 3 of the SP485 chip, and the other end is connected to the power module. Pin No. 3 of the SP485 chip U4 is also connected to the data input pin of the main control chip; one end of the resistor No. 6 is respectively connected to pins No. 5 and No. 4 of the SP485 chip, and the other end is connected to the power module; the base of the transistor is connected to one end of the resistor No. 7, the collector is respectively connected to pins No. 4 and No. 5 of the SP485 chip, the emitter is grounded, and the other end of the resistor No. 7 is connected to the data sending pin of the main control chip; one end of the resistor No. 8 is connected to pin No. 6 of the SP485 chip One end of resistor No. 9 is connected to pin No. 13 of the SP485 chip, the other end of resistor No. 9 is connected to one end of resistor No. 11, and the other end of resistor No. 11 is connected to the power module; one end of resistor No. 10 is connected to pin No. 12 of the SP485 chip, the other end of resistor No. 10 is connected to one end of resistor No. 12, and the other end of resistor No. 12 is connected to the power module; the positive electrode of diode No. 1 is connected to the power module, and the negative electrode and the positive electrode of diode No. 2 are both connected to the other end of resistor No. 9 and one end of resistor No. 11, and the negative electrode of diode No. 2 and the negative electrode of diode No. 3 are both connected to the other end of resistor No. 10 and one end of resistor No. 12.

[0007] Furthermore, the power supply module includes an external power supply, capacitors No. 5 to No. 10, chip No. 1 and chip No. 2; after capacitor No. 5 is connected in parallel with capacitor No. 6, one end is connected to the input end of chip No. 1, and the other end is grounded; the output end of the external power supply is connected in parallel with capacitor No. 8 and then connected to the input end of chip No. 1, one end of capacitor No. 7 is connected to the output end of chip No. 1, and the other end of capacitor No. 7 is grounded; one end of capacitor No. 9 is connected to the input end of chip No. 2, and the other end is grounded; one end of capacitor No. 10 is connected to the output end of chip No. 2, and the other end is connected to the 0V pin of chip No. 2.

[0008] Furthermore, the Bluetooth module includes a No. 15 resistor, a No. 13 capacitor, a No. 14 capacitor, a No. 1 light-emitting diode and a Bluetooth chip; one end of the No. 13 capacitor and the No. 14 capacitor are connected to the power pin of the Bluetooth chip and the power module, and the other end is grounded; one end of the No. 1 light-emitting diode is connected to the power module, and the other end is connected to one end of the No. 15 resistor, and the other end of the No. 15 resistor is connected to the LED pin of the Bluetooth chip, and the data receiving pin and the data sending pin of the Bluetooth chip are respectively connected to the data sending pin and the data receiving pin of the main control chip.

[0009] Furthermore, the intelligent gateway also includes a reset module; the reset module includes chip No. 3, resistor No. 4 and capacitor No. 11; one end of resistor No. 4 is connected to the NRST pin of chip No. 3, the other end and one end of capacitor No. 11 are connected to the power module, and the other end of capacitor No. 11 is grounded.

[0010] Furthermore, the intelligent gateway also includes a storage module; the storage module includes resistor No. 13, resistor No. 14, capacitor No. 12 and a storage chip; one end of resistor No. 13 is connected to the power module, and the other end is connected to the SCL pin of the storage chip, and the SCL pin of the storage chip is also connected to the main control chip; one end of resistor No. 14 is connected to the power module, and the other end is connected to the SDA pin of the storage chip, and the SDA pin of the storage chip is also connected to the main control chip; one end of capacitor No. 12 is connected to the VCC pin of the storage chip, and the other end is grounded, and the VCC pin of the storage chip is also connected to the power module.

[0011] Furthermore, the intelligent gateway also includes an indicator light module; the indicator light module includes resistors No. 16 to No. 18 and light-emitting diodes No. 2 to No. 4; one end of resistor No. 16 and resistor No. 17 is connected to the power module, the other end of resistor No. 16 is connected to the positive electrode of light-emitting diode No. 2, the negative electrode of light-emitting diode No. 2 is connected to the LED-1 pin of the main control chip, the other end of resistor No. 17 is connected to the positive electrode of light-emitting diode No. 3, and the negative electrode of light-emitting diode No. 3 is connected to the LED-3 pin of the main control chip; the negative electrode of light-emitting diode No. 4 is grounded, the positive electrode is connected to one end of resistor No. 18, and the other end of resistor No. 18 is connected to the main control chip.

[0012] Compared with the prior art, the beneficial effects of the utility model are:

[0013] 1. Aiming at the needs of gateway aggregation service, load balancing, management, service monitoring, etc., the intelligent gateway of the utility model is designed. It communicates with the host computer in the form of Bluetooth and Ethernet through the Bluetooth module and the W5500 module. It does not need the existing WiFi or 4G communication method to transfer the connection through a router, and can be used normally without a network. It communicates with the lower computers such as smart micro-breaks, smart water meters, smart gas meters, smart plastic shells, bistable relays, doorbells, curtains, smoke sensors, access control, etc. through the 485 communication module. The communication method combining wired and wireless is more stable and reliable than the single wireless method.

[0014] 2. The intelligent gateway of the utility model can complete the communication between the upper computer and the lower computer, transmit the control instructions issued by the upper computer to the lower computer, and transmit the data of the lower computer to the upper computer, and at the same time facilitate the reading of various information in the operation of the gateway. The transparent transmission method controlled by software ensures the confidentiality of the data of the intelligent gateway.

[0015] 3. The utility model only requires the user to connect the host computer (such as a mobile phone, a microcomputer) to the intelligent gateway to manage the lower computer. The operation is simple and can be used without a network. There is no upper limit on the number of devices connected to the lower computer of the intelligent gateway. You only need to connect the device in parallel to the 485 network cable port to add it to the APP end of the host computer. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 It is the overall structural diagram of the utility model;

[0017] Figure 2 This is a schematic diagram of some pin settings of the main control chip of the utility model;

[0018] Figure 3 A circuit diagram of a power module of the utility model;

[0019] Figure 4 This is a circuit diagram of the reset module of the utility model;

[0020] Figure 5 It is the circuit diagram of the 485 communication module of the utility model;

[0021] Figure 6 A circuit diagram of the storage module of the utility model;

[0022] Figure 7 This is a circuit diagram of the Bluetooth module of the present utility model.

[0023] Figure 8 The utility model is a circuit diagram of the indicator light module.

[0024] Figure 9 This is a circuit diagram of the W5500 module of the present utility model. DETAILED DESCRIPTION

[0025] Specific embodiments are given below in conjunction with the accompanying drawings. The specific embodiments are only used to introduce the technical solutions of the present invention in detail and are not used to limit the protection scope of the present application.

[0026] The utility model provides an intelligent gateway with Bluetooth communication function (hereinafter referred to as intelligent gateway, see Figures 1 to 9 ), including main control chip MCU, reset module, 485 communication module, power module, W5500 module, Bluetooth module, storage module and indicator light module;

[0027] like Figure 3As shown, the power module includes an external power supply, capacitors No. 5 to No. 10, chip No. 1 U1, and chip No. 2 U2; after capacitor No. 5 C5 is connected in parallel with capacitor No. 6 C6, one end is connected to the input end of chip No. 1 U1, and the other end is grounded through a wire; the output end of the external power supply is connected in parallel with capacitor No. 8 C8 and connected to the input end of chip No. 1 U1, one end of capacitor No. 7 C7 is connected to the output end of chip No. 1 U1, and the other end of capacitor No. 7 C7 is grounded; one end of capacitor No. 9 C9 is connected to the input end of chip No. 2 U2, and the other end is grounded; one end of capacitor No. 10 C10 is connected to the output end of chip No. 2 U2 , and the other end is connected to the 0V pin of chip No. 2 U2; the external power supply provides 5V DC voltage for chip No. 1 U1 and chip No. 2 U2, chip No. 1 U1 outputs 3.3V DC voltage, and the power input pin of the main control chip MCU is connected to the 3.3V DC power output end of the power module through the power line; the power module is the basis for the normal operation of the entire intelligent gateway, and its stability and load capacity directly affect the working performance of the intelligent gateway. Since there are many modules in the intelligent gateway and the rated working voltages are different, the power module is designed through chip No. 1 U1 and chip No. 2 U2 with a multi-level voltage stabilization method.

[0028] like Figure 4 As shown, the reset module is used for resetting and restarting when the main control chip does not work normally, including chip No. 3 U3, resistor No. 4 R4 and capacitor No. 11 C11; one end of resistor No. 4 R4 is connected to the NRST pin of chip No. 3 U3, the other end of resistor No. 4 R4 and one end of capacitor No. 11 C11 are connected to the 3.3V DC power output end of the power module by a wire, and the other end of capacitor No. 11 C11 is grounded through a wire.

[0029] like Figure 5As shown, the 485 communication module is used for communication between the intelligent gateway and the lower computer, including resistors No. 5 to R12, SP485 chip U4, Schottky diodes No. 1 to TVS3 and transistor Q1; one end of the resistor No. 5 is connected to pin No. 3 of the SP485 chip U4, and the other end of the resistor No. 5 is connected to the +5V DC power output end of the power module, and pin No. 3 of the SP485 chip U4 is also connected to the data input pin of the main control chip MCU; one end of the resistor No. 6 is connected to pin No. 5 and pin No. 4 of the SP485 chip U4, and the other end of the resistor No. 6 is connected to the +5V DC power output end of the power module. end; the base of transistor Q1 is connected to one end of resistor R7, the collector is connected to pins 4 and 5 of SP485 chip U4 respectively, the emitter is grounded, and the other end of resistor R7 is connected to the data sending pin of the main control chip MCU; one end of resistor R8 is connected to pin 6 of SP485 chip U4, and the other end is connected to pin 8 of SP485 chip U4 and grounded together with pin 7; one end of resistor R9 is connected to pin 13 of SP485 chip U4, the other end of resistor R9 is connected to one end of resistor R11, and the other end of resistor R11 is connected to the 0V voltage output end of the power module; one end of resistor R10 is connected to pin 13 of SP485 chip U4, the other end of resistor R9 is connected to one end of resistor R11, and the other end of resistor R11 is connected to the 0V voltage output end of the power module; one end of resistor R10 is connected to pin 6 of SP485 chip U4, and the other end of resistor R10 is connected to pin 8 of SP485 chip U4 and grounded together with pin 7; one end of resistor R11 is connected to pin 13 of SP485 chip U4, the other end of resistor R1 ... The 485 chip U4 is connected to pin 12, the other end of resistor R10 is connected to one end of resistor R12, and the other end of resistor R12 is connected to the +5VA DC power output of the power module; the positive pole of Schottky diode TVS1 is connected to the 0V voltage output of the power module, the negative pole of Schottky diode TVS1 and the positive pole of Schottky diode TVS2 are connected to the other end of resistor R9 and one end of resistor R11, and the negative pole of Schottky diode TVS2 and the negative pole of Schottky diode TVS2 are connected to the other end of resistor R10 and one end of resistor R12. The SP485 chip adopts a combination of balanced driver and differential receiver, which has a strong ability to suppress common mode interference, and the maximum transmission speed can reach more than 10Mb / s, and the interface is simple, making the hardware connection between the upper and lower computers more convenient and quick.

[0030] like Figure 6As shown, the storage module includes a thirteenth resistor R13, a fourteenth resistor R14, a twelveth capacitor C12 and a storage chip U5; one end of the thirteenth resistor R13 is connected to the 3.3V DC power output end of the power module, and the other end is connected to the SCL pin of the storage chip U5, and the SCL pin of the storage chip U5 is also connected to the PB10 pin of the main control chip MCU through a wire; one end of the fourteenth resistor R14 is connected to the 3.3V DC power output end of the power module, and the other end is connected to the SDA pin of the storage chip U5, and the SDA pin of the storage chip U5 is also connected to the PB11 pin of the main control chip MCU; one end of the twelveth capacitor C12 is connected to the VCC pin of the storage chip U5, and the other end of the twelveth capacitor C12 is grounded, and the VCC pin of the storage chip U5 is also connected to the 3.3V DC power output end of the power module; the E0, E1, E2, WC, and GND pins of the storage chip U5 are all grounded through wires. The memory chip U5 uses the AT24C256 memory chip, which is a serial electrically erasable programmable memory with 256 pages inside. Each page is 128 bytes. The address of any unit is 15 bits, and the address range is 0000H-7FFFH. It has the characteristics of compact structure and large storage capacity. The gateway usually needs to store the configuration information, identification code or connection parameters of various devices in order to quickly establish or reconnect with Bluetooth devices. Therefore, the storage module is used to store and manage the information related to these devices to support the gateway to effectively manage and control multiple devices. The storage module is mainly used to provide a temporary storage and management function for data, so as to play a role in buffering and transfer when data is transmitted and communicated between different devices, and can record the error status of the gateway to ensure that data is not lost in the event of a power outage.

[0031] like Figure 7As shown, the Bluetooth module is used for communication between the smart gateway and the host computer via Bluetooth, including a No. 15 resistor R15, a No. 13 capacitor C13, a No. 14 capacitor C14, a No. 1 light-emitting diode LED1 and a BLE1B Bluetooth chip U6; one end of the No. 13 capacitor C13 and the No. 14 capacitor C14 are connected to the power pin of the BLE1B Bluetooth chip U6 and the 3.3V DC power output end of the power module, and the other end leads to a wire connected to the ground; one end of the No. 1 light-emitting diode LED1 is connected to the 3.3V DC power output end of the power module, and the other end is connected to one end of the No. 15 resistor R15, and the other end of the No. 15 resistor R15 is connected to the LED pin of the BLE1B Bluetooth chip U6, and the data receiving pin and the data sending pin of the BLE1B Bluetooth chip U6 are respectively connected to the data sending pin and the data receiving pin of the main control chip MCU, so as to realize communication with the main control chip MCU. The Bluetooth gateway has high flexibility, can be connected to different types of devices, and supports multiple protocol conversions, which enables it to adapt to different scenarios and application requirements.

[0032] like Figure 8 As shown, the indicator light module is used to intuitively display the status of the gateway, including resistor No. 16 to resistor No. 18 and light emitting diode No. 2 to LED4; one end of resistor No. 16 and resistor No. 17 is connected to the +3.3V DC power output end of the power module, the other end of resistor No. 16 is connected to the positive electrode of light emitting diode No. 2 LED2, the negative electrode of light emitting diode No. 2 LED2 is connected to the LED-1 pin of the main control chip MCU, the other end of resistor No. 17 is connected to the positive electrode of light emitting diode No. 3 LED3, the negative electrode of light emitting diode No. 3 LED3 is connected to the LED-3 pin of the main control chip MCU; the negative electrode of light emitting diode No. 4 LED4 is grounded, the positive electrode is connected to one end of resistor No. 18 R18, and the other end of resistor No. 18 R18 is connected to the PC6 pin of the main control chip MCU.

[0033] like Figure 9As shown, the W5500 module is used for communication between the intelligent gateway and the host computer through Ethernet, including a No. 19 resistor (R19, a No. 20 resistor R20, a No. 15 capacitor C15, a No. 16 capacitor C16 and a W5500 chip U7; one end of the No. 19 resistor R19 is grounded and connected to the No. 9 pin of the W5500 chip U7, and the other end is connected to the No. 10 pin of the W5500 chip U7; one end of the No. 20 resistor R20 is grounded, and the other end is connected to the No. 23 pin of the W5500 chip U7; one end of the No. 15 capacitor C15 is connected to the No. 23 ...15 capacitor C15 is connected to the No. 23 pin of the W5500 chip U7; one end of the No. 15 capacitor C15 is connected to the No. 23 pin of the W5500 chip U7; one end of the No. 15 resistor C15 is connected to the No. 23 pin of the W5500 chip U7; one end of the No. 15 resistor C15 is connected to the No. 9 pin of the W5500 chip U7; one end of the No. 15 resistor C15 is connected to the No. 9 pin of the W5500 chip U7; one end of the No. 15 resistor C15 is connected to the No. 9 pin of the W5500 chip U7; one end of the No. 15 resistor C15 is connected to One end of capacitor C16 is grounded, and the other end is connected to pin 20 of W5500 chip U7; one end of capacitor C16 is grounded, and the other end is connected to pin 22 of W5500 chip U7. W5500 module provides SPI (peripheral serial interface), which makes it easier to integrate with the MCU of the host computer, and W5500 module adopts efficient SPI protocol. Different from traditional software protocol stack, hardware protocol stack technology adopts hardware logic gate circuit to realize complex TCP / IP protocol cluster, which has significant advantages such as simple and fast, high reliability and good security.

[0034] The working principle and workflow of the utility model are:

[0035] Connect the smart gateway to the host computer via Bluetooth or Ethernet, log in to the management interface of the smart gateway, and set the gateway's IP address, subnet mask and other parameters to enable it to work properly when connected via Ethernet; configure the gateway's routing table according to the network topology and requirements so that it knows how to forward data packets. Other related configurations of the gateway, such as network address translation (NAT), port mapping, etc., are also required according to specific needs.

[0036] Network connection test: Test the connectivity between the gateway and other network devices through the ping command or other network tools. Data forwarding test: Verify whether the gateway can forward data correctly by sending data packets to the gateway. Troubleshooting: If there are problems such as network connection failure or abnormal data transmission during use, troubleshooting is required, and the problem can be analyzed and solved by checking the gateway configuration, network device status, etc. Receiving data packets: The gateway first receives data packets from the source network, and the target address identification gateway determines which target network the data packet needs to be forwarded to based on the target address information in the data packet. Forwarding data packets: The gateway forwards the data packet to the target network. Protocol conversion (optional): If the target network uses a different network protocol, the gateway may perform protocol conversion, converting the data packet from the source network protocol to the target network protocol, and then forwarding it. The storage chip can be used to complete the writing and reading of data such as the gateway fault status. The industrial computer exchanges data with the main control chip through RS-485 communication to complete the reading and setting of data such as the operating status, control parameters and fault causes of the controlled gateway. When the main control chip does not work properly, the reset circuit resets and restarts it to prevent unexpected failures. As an example, the industrial computer model is Lenovo Savior R7000 computer; the controlled gateway is an intelligent gateway with Bluetooth communication function. The above description is only used to illustrate the application scenario of the intelligent gateway control system with Bluetooth communication function, and is not used to limit the protection scope; as needed, the intelligent gateway control system with multiple protection functions designed by the utility model can be applied to other required scenarios. The model of the main control chip MCU is STM32F030C8T6.

[0037] Anything not described in the present invention is applicable to the prior art.

Claims

1. An intelligent gateway with Bluetooth communication function, comprising a main control chip and a power module; characterized in that: The intelligent gateway also includes a 485 communication module, a W5500 module and a Bluetooth module. The 485 communication module is used for communication between the intelligent gateway and the lower computer, the W5500 module is used for communication between the intelligent gateway and the upper computer via Ethernet, and the Bluetooth module is used for communication between the intelligent gateway and the upper computer via Bluetooth; The 485 communication module includes resistors No. 5 to No. 12, an SP485 chip, diodes No. 1 to No. 3 and a transistor; one end of the resistor No. 5 is connected to pin No. 3 of the SP485 chip, and the other end is connected to the power module. Pin No. 3 of the SP485 chip U4 is also connected to the data input pin of the main control chip; one end of the resistor No. 6 is respectively connected to pins No. 5 and No. 4 of the SP485 chip, and the other end is connected to the power module; the base of the transistor is connected to one end of the resistor No. 7, the collector is respectively connected to pins No. 4 and No. 5 of the SP485 chip, the emitter is grounded, and the other end of the resistor No. 7 is connected to the data sending pin of the main control chip; one end of the resistor No. 8 is connected to pin No. 6 of the SP485 chip One end of resistor No. 9 is connected to pin No. 13 of the SP485 chip, the other end of resistor No. 9 is connected to one end of resistor No. 11, and the other end of resistor No. 11 is connected to the power module; one end of resistor No. 10 is connected to pin No. 12 of the SP485 chip, the other end of resistor No. 10 is connected to one end of resistor No. 12, and the other end of resistor No. 12 is connected to the power module; the positive electrode of diode No. 1 is connected to the power module, and the negative electrode and the positive electrode of diode No. 2 are both connected to the other end of resistor No. 9 and one end of resistor No. 11, and the negative electrode of diode No. 2 and the negative electrode of diode No. 3 are both connected to the other end of resistor No. 10 and one end of resistor No.

12.

2. The intelligent gateway with Bluetooth communication function according to claim 1, characterized in that: The power supply module includes an external power supply, capacitors No. 5 to No. 10, chip No. 1 and chip No. 2; after capacitor No. 5 is connected in parallel with capacitor No. 6, one end is connected to the input end of chip No. 1, and the other end is grounded; the output end of the external power supply is connected in parallel with capacitor No. 8 and connected to the input end of chip No. 1, one end of capacitor No. 7 is connected to the output end of chip No. 1, and the other end of capacitor No. 7 is grounded; one end of capacitor No. 9 is connected to the input end of chip No. 2, and the other end is grounded; one end of capacitor No. 10 is connected to the output end of chip No. 2, and the other end is connected to the 0V pin of chip No.

2.

3. The intelligent gateway with Bluetooth communication function according to claim 1 or 2, characterized in that: The Bluetooth module includes a No. 15 resistor, a No. 13 capacitor, a No. 14 capacitor, a No. 1 light emitting diode and a Bluetooth chip; one end of the No. 13 capacitor and the No. 14 capacitor are connected to the power pin of the Bluetooth chip and the power module, and the other end is grounded; one end of the No. 1 light emitting diode is connected to the power module, and the other end is connected to one end of the No. 15 resistor, the other end of the No. 15 resistor is connected to the LED pin of the Bluetooth chip, and the data receiving pin and the data sending pin of the Bluetooth chip are respectively connected to the data sending pin and the data receiving pin of the main control chip.

4. The intelligent gateway with Bluetooth communication function according to claim 1, characterized in that: The intelligent gateway also includes a reset module; the reset module includes a No. 3 chip, a No. 4 resistor and a No. 11 capacitor; one end of the No. 4 resistor is connected to the NRST pin of the No. 3 chip, the other end and one end of the No. 11 capacitor are connected to the power module, and the other end of the No. 11 capacitor is grounded.

5. The intelligent gateway with Bluetooth communication function according to claim 1 or 4, characterized in that: The intelligent gateway also includes a storage module; the storage module includes a No. 13 resistor, a No. 14 resistor, a No. 12 capacitor and a storage chip; one end of the No. 13 resistor is connected to the power module, and the other end is connected to the SCL pin of the storage chip, and the SCL pin of the storage chip is also connected to the main control chip; one end of the No. 14 resistor is connected to the power module, and the other end is connected to the SDA pin of the storage chip, and the SDA pin of the storage chip is also connected to the main control chip; one end of the No. 12 capacitor is connected to the VCC pin of the storage chip, and the other end is grounded, and the VCC pin of the storage chip is also connected to the power module.

6. The intelligent gateway with Bluetooth communication function according to claim 5, characterized in that: The intelligent gateway also includes an indicator light module; the indicator light module includes resistors No. 16 to No. 18 and light-emitting diodes No. 2 to No. 4; one end of resistor No. 16 and resistor No. 17 is connected to the power module, the other end of resistor No. 16 is connected to the positive electrode of light-emitting diode No. 2, the negative electrode of light-emitting diode No. 2 is connected to the LED-1 pin of the main control chip, the other end of resistor No. 17 is connected to the positive electrode of light-emitting diode No. 3, and the negative electrode of light-emitting diode No. 3 is connected to the LED-3 pin of the main control chip; the negative electrode of light-emitting diode No. 4 is grounded, the positive electrode is connected to one end of resistor No. 18, and the other end of resistor No. 18 is connected to the main control chip.