Portable low-power-consumption WiFi forwarding module
By designing a portable low-power WiFi forwarding module, the problems of insufficient resource utilization efficiency, hardware dependence and stability in the prior art are solved, efficient data transmission and device stability are achieved, adapting to complex environments, reducing costs and simplifying user operations.
Patent Information
- Application Number
- CN202510431624.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-08
- Publication Date
- 2025-08-05
AI Technical Summary
The existing WiFi forwarding modules have shortcomings in resource utilization efficiency, hardware dependence, low-power design stability and multi-protocol collaboration stability, which are difficult to meet the needs of complex application scenarios.
A portable low-power WiFi forwarding module is designed, including a physical interface module, a communication conversion chip, a WiFi module, a Bluetooth module, a power module and an external antenna interface. It supports a variety of communication interfaces and has an industrial-grade shell that is waterproof, dust-proof and high-temperature resistant. One-click initialization configuration is realized through the Bluetooth module, supporting remote firmware upgrades and multiple antenna options.
It realizes efficient and transparent data transmission, reduces energy consumption, improves the stability and reliability of equipment in complex environments, simplifies user operations, enhances signal transmission capabilities and equipment adaptability, and reduces operation and maintenance costs.
Smart Images

Figure CN120434838A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network equipment, and more particularly to a portable low-power WiFi forwarding module. Background Art
[0002] With the rapid development of wireless communication technology, WiFi forwarding modules have gained widespread application in smart homes, the Industrial Internet of Things, and cross-protocol communications. Their core function is to facilitate data exchange between different communication interfaces to meet the needs of a variety of application scenarios. Existing WiFi forwarding modules typically utilize multi-core WiFi chips for data processing, implement TCP / IP protocol conversion via hardware protocol stack chips, and rely on specific hardware architectures to optimize resource allocation and enhance performance. However, these modules still face numerous challenges in practical applications. For example, irrational resource allocation within multi-core chips leads to CPU waste and prevents the full utilization of multi-core advantages. Traditional technologies are highly dependent on specific hardware, increasing device costs and adaptation complexity. Furthermore, low-power designs require extremely stable clock signals, which can easily lead to power consumption and performance conflicts when the external environment fluctuates. In multi-protocol bridging scenarios, despite combining multiple communication technologies such as WiFi, LoRa, and infrared, they still face issues such as signal attenuation, increased latency, and insufficient interference immunity in complex environments.
[0003] In the process of implementing the embodiments of the present invention, the inventors found that there are at least the following problems or defects in the prior art: the existing WiFi forwarding module has deficiencies in resource utilization efficiency, hardware dependence, low-power design stability, and multi-protocol collaboration stability, making it difficult to meet the needs of increasingly complex application scenarios. Summary of the Invention
[0004] The present invention provides a portable low-power WiFi forwarding module, comprising:
[0005] Physical interface module, used to receive serial port data from external devices;
[0006] A communication conversion chip, connected to the physical interface module, for converting the serial port data into a TTL serial port signal;
[0007] A WiFi module, connected to the communication conversion chip, is used to convert the TTL serial port signal into a wireless WiFi signal and upload it to the cloud platform;
[0008] A Bluetooth module, connected to the WiFi module, for configuring network parameters of the WiFi module via a mobile terminal;
[0009] A power module, which supplies power to the physical interface module, the communication conversion chip, the WiFi module, and the Bluetooth module;
[0010] The external antenna interface is connected to the WiFi module to enhance the wireless signal transmission capability.
[0011] Furthermore, the physical interface module includes at least one of an RS485 interface, an RS232 interface or a USB interface.
[0012] Furthermore, the Bluetooth module implements one-key initialization configuration through a mobile terminal application, and the network parameters include WiFi name, password and cloud platform address.
[0013] Furthermore, it also includes at least three LED indicator lights, which are used to indicate the alarm status, operation status and network connection status respectively.
[0014] Furthermore, the power module supports a wide voltage input range of 5V to 12V, and realizes uploading of alarm messages after power failure through a voltage detection circuit.
[0015] Furthermore, the external antenna interface supports the selection of a rubber stick antenna or a suction cup antenna.
[0016] Furthermore, the housing of the WiFi forwarding module adopts an industrial-grade design that is waterproof, dustproof and high-temperature resistant.
[0017] Furthermore, the communication conversion chip includes an RS485 conversion chip and an RS232 conversion chip, which are respectively used to adapt to serial port devices with different interfaces.
[0018] Furthermore, it also includes a debugging interface for program downloading and system debugging.
[0019] Furthermore, the WiFi module supports a remote firmware upgrade function, and firmware updates are achieved by issuing instructions from a cloud server.
[0020] The above-described embodiments of the present invention have at least the following beneficial effects: The portable, low-power WiFi forwarding module of the present invention enables efficient and transparent data transmission. Through its modular design and support for multiple communication interfaces, it can quickly adapt to devices of different brands and models, meeting the unified management requirements of complex device networks. Its low-power design reduces energy consumption and heat generation during operation, thereby improving the stability and reliability of the device during long-term continuous operation while reducing operating and maintenance costs. Furthermore, the module's housing utilizes an industrial-grade design that is waterproof, dustproof, and heat-resistant, enabling reliable operation in harsh environments and further enhancing its applicability in complex application scenarios.
[0021] The module also enables one-click initialization configuration via Bluetooth. Users can complete WiFi network and cloud platform settings via a mobile app, simplifying the operational process and reducing the user burden. Furthermore, the module supports remote firmware upgrades, enabling firmware updates via cloud server commands, further enhancing device stability and reliability. The design of an external antenna interface enhances signal sensitivity and environmental adaptability, while the inclusion of multiple indicator lights and debugging interfaces improves user interaction and development and maintenance efficiency. This allows the module to improve data transmission efficiency while also providing users with a convenient operational experience and flexible system scalability. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The above and other objects, features and advantages of the exemplary embodiments of the present invention will become readily apparent by reading the following detailed description with reference to the accompanying drawings, in which several embodiments of the present invention are shown by way of example and not limitation, in which:
[0023] Figure 1 A schematic structural diagram of a portable low-power WiFi forwarding module provided by one embodiment of the present invention;
[0024] Figure 2 This is a 3D schematic diagram of a portable low-power WiFi forwarding module provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0025] The principles and spirit of the present invention will be described below with reference to several exemplary embodiments. It should be understood that these embodiments are provided solely to enable those skilled in the art to better understand and implement the present invention, and are not intended to limit the scope of the present invention in any way. Rather, these embodiments are provided to make the present invention more thorough and complete, and to fully convey the scope of the present invention to those skilled in the art.
[0026] Those skilled in the art will appreciate that the embodiments of the present invention may be implemented as a system, apparatus, device, method, or computer program product. Therefore, the present invention may be implemented in the following forms: entirely in hardware, entirely in software (including firmware, resident software, microcode, etc.), or in a combination of hardware and software.
[0027] It should be noted that any number of elements in the drawings is for illustration only and not for limitation, and any naming is only for distinction and does not have any limiting meaning.
[0028] Reference below Figure 1 and Figure 2 , Figure 1 A schematic structural diagram of a portable low-power WiFi forwarding module provided by one embodiment of the present invention; Figure 23D schematic diagram of a portable low-power WiFi forwarding module provided by an embodiment of the present invention. Figure 1 and Figure 2 As shown, a portable low-power WiFi forwarding module 100 includes:
[0029] Physical interface module, used to receive serial port data from external devices;
[0030] A communication conversion chip, connected to the physical interface module, for converting the serial port data into a TTL serial port signal;
[0031] A WiFi module, connected to the communication conversion chip, is used to convert the TTL serial port signal into a wireless WiFi signal and upload it to the cloud platform;
[0032] A Bluetooth module, connected to the WiFi module, for configuring network parameters of the WiFi module via a mobile terminal;
[0033] A power module, which supplies power to the physical interface module, the communication conversion chip, the WiFi module, and the Bluetooth module;
[0034] The external antenna interface is connected to the WiFi module to enhance the wireless signal transmission capability.
[0035] It should be noted that the portable low-power WiFi forwarding module receives serial data from external devices through the physical interface module. The physical interface module is a key component for data transmission between devices and is compatible with a variety of common communication interfaces, such as RS485, RS232, or USB. Serial data refers to data transmitted via a serial communication protocol and is typically used for point-to-point communication between devices. The communication conversion chip converts this serial data into TTL serial signals, a digital signal based on a level standard. TTL serial signals are characterized by low power consumption and high compatibility, facilitating data exchange with subsequent WiFi modules. The WiFi module is the core component that converts TTL serial signals into wireless WiFi signals and uploads them to the cloud platform. The Bluetooth module is used to configure the WiFi module's network parameters via a mobile terminal, providing users with a convenient configuration method. The power module provides power to the entire system, while the external antenna interface enhances the transmission capability of wireless signals, thereby improving the device's communication performance in complex environments.
[0036] Specifically, the RS485 interface in the physical interface module is a commonly used industrial-grade communication interface that supports multi-point communication and long-distance data transmission, making it suitable for industrial automation scenarios. The RS232 interface is a standard serial communication interface widely used for communication between computers and peripherals. The USB interface supports high-speed data transmission and is suitable for scenarios requiring rapid data exchange. The communication conversion chip converts the corresponding serial port data into TTL-level signals based on the connected physical interface type. For example, the RS485 conversion chip converts differential signals into TTL signals, while the RS232 conversion chip converts RS232 standard signals into TTL signals. The WiFi module uses a high-performance wireless chip that supports wireless communication standards such as IEEE 802.11b / g / n / ac, ensuring stable data transmission and encapsulating the data for upload to the cloud platform via the TCP / IP protocol stack. The Bluetooth module supports Bluetooth 4.0 or higher, enabling low-power wireless communication over short distances. Users can connect to the Bluetooth module through a mobile app to complete the initial configuration of the WiFi module, including setting parameters such as the WiFi name (SSID), password, and cloud platform address. The power module supports a wide input voltage range of 5V to 12V, adapting to the power output requirements of various devices. A voltage detection circuit enables rapid upload of warning messages after a power outage. The external antenna port supports a variety of antenna options, such as rubber stick antennas or suction cup antennas. Users can select the appropriate antenna type based on their specific environment to optimize signal coverage and transmission performance.
[0037] To further enhance device performance and user experience, the RS485 interface can be preferred in the physical interface module, as it offers stronger anti-interference capabilities and a longer communication range in industrial scenarios. A high-performance RS485 converter chip, such as the HX3085S, can be used to ensure stable and reliable signal conversion. For the WiFi module, a high-performance chip supporting dual-band (2.4GHz and 5GHz) can be selected to adapt to network requirements in different environments and reduce interference through dynamic channel switching. The Bluetooth module can support Bluetooth Low Energy (BLE) technology to further reduce power consumption and extend the device's lifespan. A supercapacitor can be added to the power module design to ensure that critical data can be uploaded even in the event of a power outage. The external antenna interface can be designed as a standard SMA interface, supporting a variety of antenna types. Users can select the appropriate antenna type based on their needs, such as a lower-gain rubber antenna for indoor environments or a higher-gain suction cup antenna for outdoor environments, to achieve optimal signal coverage.
[0038] In some embodiments, the physical interface module includes at least one of an RS485 interface, an RS232 interface, or a USB interface.
[0039] It should be noted that the physical interface module of the portable low-power WiFi forwarding module includes at least one of an RS485 interface, an RS232 interface, or a USB interface. These interfaces are key parts for data interaction between the module and external devices, and different interface types are suitable for different application scenarios and equipment requirements. The RS485 interface is a differential signal transmission interface with strong anti-interference capabilities and long communication distances. It is widely used in industrial automation and multi-node communication scenarios; the RS232 interface is a standard serial communication interface suitable for point-to-point communication and is often used to connect computers to peripherals; the USB interface supports high-speed data transmission and is suitable for scenarios that require fast data exchange, such as connections with modern smart devices. By providing a variety of interface options, the module can flexibly adapt to different types of external devices to meet diverse communication needs.
[0040] Specifically, the RS485 interface supports multi-point communication with a communication distance of up to 1200 meters, making it suitable for use in long-distance, multi-node industrial environments. Its communication rate typically ranges from 9600bps to 115200bps, which can meet the data transmission needs between industrial equipment. The RS232 interface generally has a communication rate of 115200bps or less, suitable for short-range communication, such as in laboratory equipment or small automation systems. The USB interface supports higher data transmission rates of up to 480Mbps (USB2.0) or higher, suitable for scenarios requiring fast data exchange, such as connecting to smart sensors or monitoring equipment. In addition, these interfaces can convert signals into TTL-level signals using corresponding communication conversion chips to adapt to subsequent WiFi modules. For example, the RS485 interface can use the HX3085S chip for signal conversion, and the RS232 interface can use the SP232EEN chip for conversion, thereby achieving efficient communication with the core module.
[0041] Preferably, in order to further enhance the versatility and flexibility of the module, RS485, RS232, and USB interfaces can be integrated simultaneously into the physical interface module to meet a wider range of device connection requirements. For example, in an industrial IoT scenario, the RS485 interface can be used to connect to sensor networks, the RS232 interface can be used to connect to traditional devices, and the USB interface can be used to connect to modern smart devices. In addition, the communication interface can be optimized for different application scenarios. For example, in industrial environments that require high anti-interference capabilities, the RS485 interface is preferred, and the communication stability is further improved by optimizing the shielding and wiring methods of the communication lines. In scenarios that require fast data transmission, the USB interface is preferred, and data transmission efficiency is improved through firmware optimization. In addition, software configuration can be used to enable users to flexibly switch between different interface modes according to actual needs, further enhancing the module's adaptability and user experience.
[0042] In some embodiments, the Bluetooth module implements one-key initialization configuration through a mobile terminal application, and the network parameters include WiFi name, password and cloud platform address.
[0043] It should be noted that the Bluetooth module implements one-click initialization configuration through a mobile terminal application, where network parameters include the WiFi name, password, and cloud platform address. The Bluetooth module is an important component of the portable low-power WiFi forwarding module. It allows users to quickly configure it through a mobile terminal (such as a smartphone or tablet), greatly simplifying the initial setup process of the device. The mobile terminal application refers to the software installed on the user's mobile device, which is used to communicate with the Bluetooth module and complete configuration tasks. Network parameters are basic information required for a device to connect to a network, such as the WiFi name (SSID) used to identify the wireless network, the password for a secure connection, and the cloud platform address is the target server address for data upload. By implementing one-click initialization configuration through the Bluetooth module, users can complete the basic settings of the device without complicated operations, significantly improving the user experience.
[0044] Specifically, the Bluetooth module supports Bluetooth 4.0 or higher. These versions of Bluetooth technology have the characteristics of low power consumption and high compatibility, and can achieve stable wireless communication within a short distance. The mobile terminal application communicates with the module via Bluetooth connection. After the user enters network parameters such as the WiFi name (SSID), password, and cloud platform address in the application, the application will send these parameters to the Bluetooth module, and the Bluetooth module will write the parameters to the configuration storage of the WiFi module. For example, the WiFi name (SSID) can be the name of the user's home or business wireless network, the password is the corresponding network access password, and the cloud platform address is the IP address or domain name of the target server for data upload. The application can also provide a graphical interface to guide the user step by step through the configuration process to ensure the accuracy and convenience of the operation.
[0045] To further enhance configuration convenience and accuracy, the mobile app can provide an automatic scanning function to help users quickly discover nearby WiFi networks and automatically fill in the SSID, reducing manual entry errors. Furthermore, the app can support multiple authentication methods, such as WPA2 or WPA3, to ensure the security of the network connection. Furthermore, to enhance the user experience, the app can also provide real-time feedback, immediately verifying whether the WiFi module has successfully connected to the network after configuration is complete, and prompting the user whether the configuration was successful. If the configuration fails, the app can provide error prompts and solution suggestions to help users quickly resolve the problem.
[0046] In some embodiments, at least three LED indicators are included, which are used to indicate the alarm status, operation status and network connection status respectively.
[0047] It should be noted that the portable low-power WiFi forwarding module includes at least three LED indicators, one for indicating the alarm status, the other for operating status, and the other for network connection status. LED indicators are a simple and intuitive way to display device status using light-emitting diodes, providing users with key information about device operation. The alarm status indicator shows whether the device has experienced a fault or abnormality, the operating status indicator indicates whether the device is operating normally, and the network connection status indicator indicates whether the device has successfully connected to the network. This design allows users to quickly determine the device's operating status, facilitating troubleshooting and routine maintenance.
[0048] Specifically, the LED indicator light uses different colors and flashing patterns to indicate different states of the device. For example, a red LED light that is constantly on may indicate that the device is in an alarm state, a green LED light that is constantly on indicates that the device is operating normally, and a flashing blue LED light indicates that the network connection is in progress. These indicator lights are controlled by independent IO interfaces to ensure that they can accurately reflect the real-time status of the device. In the hardware design, each LED indicator light is connected to a separate GPIO (general input and output) pin, and is controlled by microcontroller programming to light up, turn off, or flash. For example, when the device detects that the network connection fails, the microcontroller will control the alarm status indicator light through the GPIO pin and turn off the other indicators to clearly inform the user of the current status of the device.
[0049] Preferably, in order to further enhance the user experience and maintainability of the device, the functions of the LED indicator lights can be expanded. For example, changes in the flashing frequency can be added to indicate different alarm levels. Fast flashing may indicate a serious fault, while slow flashing indicates a minor abnormality. For the operating status indicator light, different color combinations can be used to display the operating mode of the device, such as green for normal operation and yellow for low power mode. In addition, software settings can be used to allow users to customize the functions of the indicator lights to adapt to different usage scenarios and needs. For example, users can set the color and flashing mode of the indicator light according to their own habits, or view the status of the indicator light in real time in the device management software, further improving the intelligence level of the device.
[0050] In some embodiments, the power module supports a wide voltage input range of 5V to 12V, and realizes uploading of alarm messages after power failure through a voltage detection circuit.
[0051] It should be noted that the power module supports a wide input voltage range of 5V to 12V and uses a voltage detection circuit to enable alert and message upload after a power outage. The power module is a crucial component of the portable low-power WiFi forwarding module, responsible for providing stable power to the entire device. This wide input voltage design allows the module to adapt to diverse power supply environments, such as industrial sites or outdoor environments where the power supply voltage may be unstable or fluctuating. The voltage detection circuit detects power outages or voltage anomalies and triggers a corresponding alarm mechanism, ensuring that the device can upload critical information to the cloud at the moment of power outage, thereby improving system reliability and data security.
[0052] Specifically, the power module features a wide input voltage range of 5V to 12V, a design that can accommodate the output voltage ranges of various power adapters or batteries. For example, a common USB power adapter outputs 5V, while some industrial or vehicle power supplies may provide higher voltages, such as 12V. The voltage regulator circuit within the power module stabilizes the input voltage within the module's required voltage range, ensuring that the device operates properly under varying voltage conditions. The voltage detection circuit determines the power supply status by monitoring changes in the input voltage in real time. When the voltage drops below a set threshold (such as 4.5V) or is suddenly interrupted, a power outage alarm is triggered. At this point, the module utilizes a built-in supercapacitor or other backup power source to upload an alarm message to a cloud platform via the WiFi module. This alarm message can include key information such as the device number, power outage time, and voltage status, allowing users to promptly identify any abnormalities in the device.
[0053] Preferably, to further improve the reliability and adaptability of the power module, overvoltage protection and undervoltage protection functions can be added within a wide voltage input range. For example, when the input voltage exceeds 12V, the overvoltage protection circuit can cut off the power input to prevent damage to the module; when the input voltage is lower than 5V, the undervoltage protection circuit can trigger an alarm and gradually shut down non-critical functions to extend the use time of the backup power supply. In addition, the power module can adopt an efficient switching regulated power supply design to improve power conversion efficiency and reduce power consumption and heat generation. In the power-off alarm mechanism, a multi-level alarm strategy can be set, such as sending a low voltage alarm when the voltage is lower than 5V and sending a power-off alarm when the voltage is completely interrupted, thereby providing users with more detailed power status information.
[0054] In some embodiments, the external antenna interface supports the selection of a rubber stick antenna or a suction cup antenna.
[0055] It should be noted that the external antenna port supports the option of either a rubber stick antenna or a suction cup antenna. Its function is to enhance wireless signal transmission capabilities, thereby improving the device's communication performance in different environments. The external antenna port is the physical interface between the WiFi forwarding module and the antenna. By selecting different antenna types, you can optimize signal coverage and transmission quality. The rubber stick antenna is a small, portable antenna typically used in indoor environments or in scenarios with low signal coverage requirements. The suction cup antenna has stronger signal gain and wider coverage, making it suitable for outdoor environments or scenarios requiring long-distance communication. By offering multiple antenna options, the module can flexibly adapt to different usage requirements and environmental conditions.
[0056] Specifically, the external antenna interface uses a standard SMA interface, which has good electrical performance and mechanical stability and can support multiple types of antenna connections. Rubber stick antennas are usually shorter in length and smaller in size, with a gain generally between 2dBi and 5dBi, suitable for short-range communications and indoor environments. Suction cup antennas are fixed to the surface of buildings or other objects through suction cups, with a gain generally between 8dBi and 12dBi, capable of providing a longer communication distance and stronger signal penetration. In actual applications, users can choose the appropriate antenna type based on the installation location of the device and the signal coverage requirements. For example, in indoor environments, you can choose a rubber stick antenna for compact installation and basic signal coverage; in outdoor environments, you can choose a suction cup antenna for wider signal coverage and stronger anti-interference capabilities.
[0057] Preferably, to further improve signal transmission performance, waterproof and dustproof features can be added to the design of the external antenna interface to adapt to harsh outdoor environments. In addition, for rubber stick antennas, a variety of length and gain options can be provided, such as 3dBi, 5dBi, etc., to meet the signal strength and coverage requirements of different users. For suction cup antennas, adjustable mounting angles can be designed to optimize signal directionality and coverage. In some special scenarios, such as high electromagnetic interference environments, high-gain, high-anti-interference directional antennas can be provided as alternatives to ensure stable signal transmission.
[0058] In some embodiments, the housing of the WiFi forwarding module adopts an industrial-grade design that is waterproof, dustproof, and high-temperature resistant.
[0059] It's important to note that the WiFi forwarding module's housing utilizes an industrial-grade design that's waterproof, dustproof, and heat-resistant. This design ensures stable operation in harsh environmental conditions. Waterproofing prevents damage to the device in humid environments or from splashes, while dustproofing prevents dust from entering the device and potentially affecting its performance and lifespan. Its high-temperature resistance allows it to operate normally in higher-temperature environments. This industrial-grade design means the housing materials and structure have been specially treated to meet the stringent reliability requirements of industrial applications, thereby enhancing the device's durability and adaptability.
[0060] Specifically, waterproofing is typically achieved through the use of an IP67 or higher enclosure design. IP67 indicates that the device is completely protected from dust ingress and can continue to function normally after being immersed in water at a certain depth for a certain period of time. Dustproofing is achieved through a sealed design and the use of high-quality sealing materials to prevent dust particles from entering the device. High-temperature resistance is achieved by selecting high-temperature-resistant engineering plastics or metal materials that can maintain their physical and mechanical properties at higher temperatures. For example, the enclosure can be made of aluminum alloy, which not only has excellent heat dissipation properties but also remains stable within a temperature range of -40°C to +85°C. Furthermore, the enclosure's structural design should also consider impact resistance and corrosion resistance to further enhance the device's durability.
[0061] Preferably, in order to further improve the protective performance of the equipment, a layer of anti-corrosion coating can be added to the surface of the casing to prevent long-term exposure to chemical erosion in outdoor environments. At the same time, a detachable casing structure can be designed to facilitate users to clean and maintain the inside of the equipment when necessary. In addition, for scenarios that need to be used in extremely high temperature environments, materials with higher temperature resistance grades, such as special engineering plastics or stainless steel, can be used to ensure that the equipment can still operate normally in environments up to 120°C. In some special application scenarios, such as chemical environments or marine environments, casings with higher protection levels (such as IP68) can also be customized according to needs to meet specific industrial requirements.
[0062] In some embodiments, the communication conversion chip includes an RS485 conversion chip and an RS232 conversion chip, which are respectively used to adapt to serial port devices with different interfaces.
[0063] It should be noted that the communication conversion chip includes an RS485 conversion chip and an RS232 conversion chip, each used to adapt to serial devices with different interfaces. The communication conversion chip is a key component for achieving signal conversion between different communication interfaces. Its function is to convert the serial port data of the external device into a TTL serial port signal to facilitate efficient communication with the WiFi module. The RS485 conversion chip is suitable for long-distance, multi-node communication scenarios and can convert differential signals into TTL signals; while the RS232 conversion chip is used to convert standard RS232 signals into TTL signals to adapt to traditional serial devices. By equipping these two conversion chips, the module can flexibly adapt to various types of serial devices to meet the communication needs of different application scenarios.
[0064] Specifically, RS485 conversion chips typically use models such as the HX3085S, which supports a maximum baud rate of up to 921.6kbps and can meet the needs of multi-point communication in scenarios such as industrial automation. RS232 conversion chips can use models such as the SP232EEN, which support a standard RS232 interface and are suitable for connection to computers or other serial devices. In hardware design, the RS485 conversion chip receives signals from external devices via differential signal lines and converts them into TTL level signals; the RS232 conversion chip receives signals via a standard RS232 interface and converts them into TTL signals. The outputs of both chips are connected to the UART interface of the WiFi module, enabling seamless data transmission. In addition, the design of the communication conversion chip must also consider electrical isolation and anti-interference capabilities to ensure signal stability in complex electromagnetic environments.
[0065] Preferably, in order to further improve the performance and reliability of the communication conversion chip, a common-mode suppression circuit can be added to the differential signal line of the RS485 conversion chip to reduce the impact of electromagnetic interference on signal transmission. At the same time, for the RS232 conversion chip, an overvoltage protection function can be designed to prevent chip damage due to power fluctuations or misoperation. In addition, in order to meet the communication requirements of higher baud rates, a conversion chip that supports higher baud rates can be selected, such as an RS485 chip that supports baud rates above 1Mbps. In some special application scenarios, if it is necessary to support multiple communication interfaces at the same time, it is also possible to enable users to flexibly switch between the use of RS485 and RS232 interfaces through software configuration, further improving the versatility and flexibility of the module.
[0066] In some embodiments, a debugging interface is also included for program downloading and system debugging.
[0067] It's important to note that the portable low-power WiFi forwarding module includes a debug port for program downloads and system debugging. The debug port is an integral part of hardware development and maintenance, allowing engineers to directly update the module, troubleshoot, and verify functionality using an external device (such as a computer). Program downloading involves writing new firmware or software to the module's memory via the debug port to update functionality or fix vulnerabilities. System debugging involves monitoring the module's operating status, detecting and resolving potential issues, and ensuring module stability and reliability.
[0068] Specifically, the debug interface usually uses a standard 4-pin interface and supports serial debugging protocols such as UART or JTAG. The UART debug interface is connected to external devices through serial communication. The baud rate is generally set between 9600bps and 115200bps. The specific baud rate can be configured according to the hardware design and debugging requirements of the module. The JTAG interface supports more complex debugging functions, such as instruction-level debugging and hardware breakpoint setting, which is suitable for the development and maintenance of complex systems. In hardware design, the pins of the debug interface are usually connected to the debug pins of the microcontroller and communicate with the computer through an external debugger (such as ST-Link or J-Link). In addition, the debug interface can also support a variety of debugging tools and software, such as Keil, IAR or OpenOCD, to meet the needs of different development environments.
[0069] Preferably, to improve the flexibility and ease of use of the debug interface, a switchable debug mode can be designed on the module, such as selecting UART or JTAG mode through a jumper cap or DIP switch to adapt to different debugging needs. In addition, protection circuits such as current limiting resistors and ESD (electrostatic discharge) protection devices can be added to the debug interface to prevent damage to the module caused by improper operation of external devices. For scenarios requiring remote debugging, debugging functions extended via WiFi or Bluetooth can be designed to enable engineers to download programs and debug the system over a wireless network, further improving the convenience of development and maintenance.
[0070] In some embodiments, the WiFi module supports a remote firmware upgrade function, and firmware updates are achieved by issuing instructions from a cloud server.
[0071] It should be noted that the WiFi module supports remote firmware upgrades, which are implemented by issuing commands from a cloud server. Remote firmware upgrade (FOTA, Firmware Over-The-Air) is a technology that pushes firmware updates to devices via a wireless network and is widely used in IoT devices. This feature allows devices to receive updates without being directly connected to a computer or other programming device, thereby fixing vulnerabilities, optimizing performance, or adding new features. The cloud server is a remote server that stores firmware update files and is responsible for managing and distributing update commands. It transmits update data to devices via the network, ensuring that the devices are always up to date.
[0072] Specifically, the remote firmware upgrade function of the WiFi module is implemented based on the TCP / IP protocol stack, and receives update instructions and firmware data by establishing a connection with a cloud server. The cloud server needs to support standard communication protocols, such as HTTP or HTTPS, to securely transmit firmware files. On the device side, the WiFi module will regularly check the firmware version information on the cloud server and determine whether an update is needed by comparing the local firmware version with the version on the server. If a new version is detected, the module will download the firmware file from the server and verify and install it locally. Firmware files are usually compressed to reduce transmission time and bandwidth usage, such as using ZIP or BIN format. During the update process, the device will enter low-power mode to save power, and automatically restart to apply the new firmware after the update is complete.
[0073] Preferably, in order to improve the security and reliability of remote firmware upgrades, a digital signature can be embedded in the firmware file. After downloading the firmware, the device will verify the signature to ensure the integrity of the file and the credibility of the source. In addition, an incremental update function can be implemented on the device side, downloading only the parts that are different from the current firmware version, thereby reducing the amount of data transmission and update time. For unstable network conditions, a breakpoint resume mechanism can be designed to allow the device to continue downloading the firmware from the last failed location after the connection is interrupted. In some special application scenarios, such as when the device needs to operate in a network-free environment, an alternative solution for firmware updates through local storage media (such as an SD card or USB flash drive) can be designed to further enhance the applicability and flexibility of the device.
[0074] The above-mentioned embodiments of the present invention have the following beneficial effects: the portable low-power WiFi forwarding module of the present invention can achieve flexible adaptation of multiple communication interfaces, receive serial port data of external devices through the physical interface module, and convert it into TTL serial port signals using the communication conversion chip, thereby achieving efficient connection and data transmission of different interface devices. At the same time, the module can upload data to the cloud platform via WiFi signals, and use the Bluetooth module to achieve convenient configuration of mobile terminals. Users can complete the setting of network parameters through the mobile phone APP, which can further improve the usability and deployment efficiency of the device. The design of the external antenna interface can enhance the transmission capability of wireless signals and support multiple antenna options to adapt to different usage environments and signal coverage requirements.
[0075] In addition, the module can support a wide voltage input range of 5V to 12V, and upload alarm messages after power failure through the voltage detection circuit, which can enhance the adaptability and data security of the device in complex power supply environments. Its casing adopts an industrial-grade design that is waterproof, dustproof and high-temperature resistant, which can operate stably in harsh environments and further expand its application scenarios. At the same time, the module is equipped with at least three LED indicators, which are used to indicate the alarm status, operating status and network connection status, respectively, to provide users with intuitive device status feedback. The setting of the debugging interface facilitates program downloads and system debugging, which can improve the convenience of development and operation and maintenance. In addition, the WiFi module supports remote firmware upgrade function, and can implement firmware updates by issuing commands from the cloud server, further improving the stability and reliability of the device.
[0076] Furthermore, the storage medium of the embodiment of the present application stores program instructions that can implement all the above methods, wherein the program instructions can be stored in the above storage medium in the form of a software product, including a number of instructions for causing a computer device (which can be a personal computer, server, or network device, etc.) or a processor to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, or a terminal device such as a computer, a server, a mobile phone, or a tablet.
[0077] The above descriptions are merely some preferred embodiments of the present invention and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present invention is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also encompass other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned inventive concept. For example, a technical solution formed by mutually replacing the above-mentioned features with (but not limited to) technical features having similar functions disclosed in the embodiments of the present invention.
Claims
1. A portable low-power WiFi forwarding module, characterized in that: include: Physical interface module, used to receive serial port data from external devices; A communication conversion chip, connected to the physical interface module, for converting the serial port data into a TTL serial port signal; A WiFi module, connected to the communication conversion chip, is used to convert the TTL serial port signal into a wireless WiFi signal and upload it to the cloud platform; A Bluetooth module, connected to the WiFi module, for configuring network parameters of the WiFi module via a mobile terminal; A power module, which supplies power to the physical interface module, the communication conversion chip, the WiFi module, and the Bluetooth module; The external antenna interface is connected to the WiFi module to enhance the wireless signal transmission capability.
2. The portable low-power WiFi forwarding module according to claim 1, characterized in that: The physical interface module includes at least one of an RS485 interface, an RS232 interface or a USB interface.
3. The portable low-power WiFi forwarding module according to claim 1, characterized in that: The Bluetooth module is configured by one-click initialization through a mobile terminal application, and the network parameters include WiFi name, password and cloud platform address.
4. The portable low-power WiFi forwarding module according to claim 1, characterized in that: It also includes at least three LED indicator lights, which are used to indicate alarm status, operating status and network connection status respectively.
5. The portable low-power WiFi forwarding module according to claim 1, characterized in that: The power module supports a wide voltage input range of 5V to 12V, and realizes uploading of alarm messages after power failure through a voltage detection circuit.
6. The portable low-power WiFi forwarding module according to claim 1, characterized in that: The external antenna interface supports the selection of a rubber stick antenna or a suction cup antenna.
7. The portable low-power WiFi forwarding module according to claim 1, characterized in that: The housing of the WiFi forwarding module adopts an industrial-grade design that is waterproof, dustproof and high-temperature resistant.
8. The portable low-power WiFi forwarding module according to claim 1, characterized in that: The communication conversion chip includes an RS485 conversion chip and an RS232 conversion chip, which are respectively used to adapt to serial port devices with different interfaces.
9. The portable low-power WiFi forwarding module according to claim 1, characterized in that: It also includes a debugging interface for program downloading and system debugging.
10. The portable low-power WiFi forwarding module according to claim 1, characterized in that: The WiFi module supports remote firmware upgrade function, and firmware update is achieved by issuing instructions through the cloud server.
Citation Information
Patent Citations
Network distribution method and system for intelligent equipment
CN111010323A
Embedded chip serial port loading system based on Bluetooth wireless communication
CN111343623A
Multi -functional wireless serial ports device
CN205068378U
Bluetooth low energy passes serial ports device thoroughly
CN206932410U
Bluetooth-to-WIFI (Wireless Fidelity) communication transfer device capable of being freely plugged and unplugged
CN210780789U