Household intelligent door and window and electric appliance cooperative control system
The home intelligent door and window and appliance collaborative control system uses the ESP32-WROOM-32 development board and various sensor modules to achieve multi-dimensional perception and collaborative control, which solves the problems of safety hazards, remote management and inconvenience of operation in home door and window and appliance control, and improves the level of intelligence and user experience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- ZHONGYU HAOYUAN (BEIJING) EDUCATION TECHNOLOGY CO LTD
- Filing Date
- 2026-03-10
- Publication Date
- 2026-05-12
AI Technical Summary
Existing home door and window and appliance control methods suffer from the risk of forgetting to close them, lack of remote control, inconvenient operation, and lack of coordination and linkage. Their level of intelligence is insufficient, making it difficult to meet users' comprehensive needs for home safety, convenient control, and coordinated linkage.
The ESP32-WROOM-32 development board is used as the core control unit, combined with the MFRC522 access control sensor, HC-SR501 human infrared sensor, FC-37 raindrop sensor, DHT11 temperature and humidity sensor, MG90S servo motor and 5V relay module, Huaner I2C voice recognition module, 0.96-inch I2C interface OLED screen and IoT module to achieve multi-dimensional perception, multi-mode control and device collaborative linkage.
It achieves multi-scenario security protection, convenient control in multiple ways, status visualization and high system stability, improving home security, ease of operation and intelligence, and adapting to the usage needs of different groups of people.
Smart Images

Figure CN122018409A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart home technology, and in particular to a smart home door and window and appliance collaborative control system. Background Technology
[0002] Current methods for controlling household doors, windows, and appliances are mostly manual, which presents several technical challenges: elderly people with declining memory may forget to close doors and windows, posing a risk to property safety and potentially causing water to enter the house during rainy days; users cannot monitor the status of doors, windows, and appliances in real time when they are away, and there is a lack of remote control methods; traditional control methods are cumbersome to operate and not user-friendly for the elderly and other people with operational difficulties; doors, windows, and electrical appliances work independently, lacking a collaborative linkage mechanism based on environmental changes, resulting in insufficient intelligence.
[0003] Existing smart home products mostly focus on single functional scenarios, have low integration levels, and fail to form a complete closed loop of "sensing-analysis-control-feedback," making it difficult to meet users' comprehensive needs for home security, convenient control, and collaborative operation. Therefore, there is an urgent need for an intelligent system that integrates multi-dimensional sensing, multi-mode control, and multi-device collaboration to address the shortcomings of existing technologies. Summary of the Invention
[0004] In view of this, the present invention aims to provide a home intelligent door and window and appliance collaborative control system, which addresses the problems of forgetting to close doors and windows, lack of remote control, inconvenient operation, and lack of collaborative linkage in the existing technology of home door and window and appliance control, so as to realize intelligent collaborative control of doors and windows and appliances, and take into account home safety, ease of operation and scene adaptability.
[0005] The technical solution of this invention is implemented as follows: A home intelligent door and window and appliance collaborative control system includes a core control unit, a sensor module, an execution module, an interaction module, an Internet of Things module, and a power supply module; The core control unit uses the ESP32-WROOM-32 development board as the core of system data processing, instruction parsing and distribution. The sensor module is electrically connected to the core control unit and includes an MFRC522 access control sensor, an HC-SR501 human infrared sensor, an FC-37 raindrop sensor, and a DHT11 temperature and humidity sensor, which are used to collect access control information, human presence signals, environmental rainfall data, and temperature and humidity data. The execution module is connected to the core control unit via a GPIO interface and includes an MG90S servo motor and a 5V relay module. The MG90S servo motor is used to drive the opening and closing of household doors and windows, and the 5V relay module is used to control the on / off of lights and exhaust fans. The interactive module is communicatively connected to the core control unit and includes a Huaner I2C voice recognition module and a 0.96-inch I2C interface OLED screen. The voice recognition module supports the reception and parsing of custom voice commands, and the OLED screen is used to display time, environmental parameters and device operating status. The IoT module is built on the Blinker platform and is connected to the core control unit via network communication. It is used to realize remote data interaction between the mobile terminal and the system, including device status uploading, remote command reception, and abnormal reminder push. The power supply module provides suitable voltage and current for the core control unit, sensor module, execution module, interaction module, and IoT module, meeting the power requirements for the coordinated operation of each module. The core control unit receives data collected by the sensor module, voice commands from the interaction module, and remote commands from the Internet of Things module. After parsing, it sends control signals to the execution module to achieve coordinated control of doors, windows, and electrical appliances.
[0006] Preferably, the MFRC522 access control sensor supports RFID card recognition, pre-stores at least 3 sets of valid card numbers, triggers door and window opening and closing actions after recognizing a valid card number, and displays the cardholder information through an OLED screen and the Blinker mobile platform.
[0007] Preferably, the rotation angle of the MG90S servo motor can be quantitatively controlled, with 0 degrees corresponding to the closed state of the door and window, 45 degrees corresponding to the partially open state, and 90 degrees corresponding to the fully open state. The servo motor is equipped with slow rotation control logic, which achieves smooth opening and closing of the door and window by gradually adjusting the angle, thereby reducing structural damage.
[0008] Preferably, the Huaner I2C voice recognition module supports at least 15 custom voice commands, including commands related to opening and closing doors and windows, turning lights on and off, and controlling exhaust fans. Furthermore, the voice recognition module and the OLED screen use different I2C bus address allocations to avoid communication conflicts.
[0009] Preferably, the IoT module establishes a connection with the core control unit via WiFi. The Blinker platform mobile app has temperature, humidity, and rainfall display controls, as well as door and window opening / closing and appliance control buttons. The command response delay is no more than 2 seconds, and the device status is synchronized with the mobile app in real time.
[0010] Preferably, it also includes a time calibration module, which is based on the NTP protocol, obtains standard time through a cloud server, automatically calibrates once a day, displays the calibrated time on an OLED screen, and the time data is synchronously uploaded to the Blinker platform.
[0011] Preferably, after the MG90S servo motor drives the door or window to open, if no manual closing command is received, it will automatically reset to the 0-degree closed state after 10 seconds, thereby achieving automatic door and window closing protection.
[0012] Preferably, the core control unit has built-in abnormal scenario linkage logic: when the FC-37 raindrop sensor detects that the rainfall exceeds the 60% threshold, it automatically issues a command to close all doors and windows and sends a rainfall alarm reminder to the mobile phone through the Internet of Things module; When the HC-SR501 human infrared sensor detects that no one is present and the doors and windows are not closed, it sends a reminder to the mobile phone that the doors and windows were left open.
[0013] Preferably, it also includes an integrated box made of acrylic material, which is made by laser cutting process, and has reserved sensor probe interface, power interface and heat dissipation hole. The core control unit, power supply module and relay module are fixed inside, and the integrated box is equipped with a simple wiring fixing bracket to prevent the wires from becoming loose.
[0014] Preferably, the HC-SR501 human infrared sensor is equipped with a sensitivity adjustment knob, and the core control unit has a built-in light compensation algorithm that combines ambient light data to assist in judgment and avoid false detection in low-light environments; the MFRC522 access control sensor communicates with the core control unit via an I2C bus, and after card number recognition, displays the cardholder's name on an OLED screen for 1 second.
[0015] The embodiments of the present invention have the following advantages due to the adoption of the above technical solutions: I. Multi-scenario security protection: Automatic window closing triggered by raindrop sensors to prevent water from entering during rainy days; human infrared sensors to detect unoccupied status and send reminders to those who have forgotten to close windows, reducing security risks; access control sensors to enable card-swipe authorization for door opening, improving home security.
[0016] II. Convenient control in multiple ways: It supports three interaction methods: voice control, remote control, and card swipe control. The operation is simple and intuitive, adapting to the usage habits of the elderly and different groups of people, and solving the problem of cumbersome traditional operation.
[0017] Collaborative and intelligent operation: Enables coordinated control of doors, windows and appliances, and can automatically adjust the operating status of equipment according to environmental parameters (such as temperature and humidity) and human body status, without the need for manual intervention, thereby improving the level of home intelligence.
[0018] 3. Status visualization and timely feedback: The device status and environmental data are displayed in real time through the OLED screen and mobile phone. The abnormal scenario will be promptly pushed to remind users, so that users can keep track of the home situation at any time and improve the user experience.
[0019] IV. Stable and reliable structure: The core components are fixed in an integrated box, and the wiring is prevented from loosening by a wiring bracket. The communication protocols of each module are optimized (such as I2C bus address allocation) to avoid functional conflicts, and the system has high stability during continuous operation.
[0020] The above overview is for illustrative purposes only and is not intended to be limiting in any way. In addition to the illustrative aspects, embodiments, and features described above, further aspects, embodiments, and features of the invention will become readily apparent from the accompanying drawings and the following detailed description. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 This is a diagram of the overall system architecture of the present invention; Figure 2 This is a flowchart illustrating the core workflow of the present invention; Figure 3 This is the abnormal scenario linkage logic diagram of the present invention; Figure 4 This is a diagram showing the module interaction relationships of the present invention; Figure 5 This is a physical image of the product of the present invention; Figure 6 This is a product photograph from another perspective of the present invention; Figure 7 This is a physical image of the product from the third perspective of the present invention. Detailed Implementation
[0023] In the following description, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments can be modified in various ways without departing from the spirit or scope of the invention. Therefore, the drawings and description are considered to be exemplary in nature and not restrictive.
[0024] It is important to note that terms such as "first," "second," "symmetric," and "array" are used only to distinguish between descriptive and positional descriptions and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, features specified with terms such as "first" or "symmetric" may explicitly or implicitly include one or more of that feature; similarly, when the quantity of certain features is not limited by words such as "two" or "three," it should be noted that such features also explicitly or implicitly include one or more features. In this invention, unless otherwise explicitly specified and limited, terms such as "installation," "connection," and "fixation" should be interpreted broadly; for example, they can refer to a fixed connection, a detachable connection, or an integral molding; they can refer to a mechanical connection, a direct connection, a welding connection, or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention based on the accompanying drawings and specific circumstances.
[0025] The embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
[0026] like Figure 1-7 As shown, the present invention provides a home intelligent door and window and appliance collaborative control system, including a core control unit, a sensor module, an execution module, an interaction module, an Internet of Things module and a power supply module; The system adopts a modular plug-in design between modules, and each module is connected through a standardized DuPont wire interface, which can be assembled without soldering, reducing the operational threshold for system installation and subsequent maintenance, and adapting to the self-debugging needs of home users. The core control unit uses the ESP32-WROOM-32 development board as the core of system data processing, command parsing and distribution. This development board integrates 2.4GHz WiFi and Bluetooth dual-mode communication, supports simultaneous access to multiple devices for data interaction, and has built-in 520KBSRAM and 4MBFlash storage, which can cache environmental data and device operation logs for 7 days, enabling parallel processing of data from multiple modules and historical data backtracking, improving the redundancy and traceability of system data processing. The sensor module is electrically connected to the core control unit, including the MFRC522 access control sensor, HC-SR501 human infrared sensor, FC-37 raindrop sensor, and DHT11 temperature and humidity sensor, used to collect access control information, human presence signals, environmental rainfall data, and temperature and humidity data. The MFRC522 access control sensor has a recognition distance of 3-5cm to avoid non-contact misidentification and supports local addition and deletion of card numbers, allowing the list of valid card numbers to be updated without connecting to a computer. The DHT11 temperature and humidity sensor has a sampling frequency of 1 time / minute to balance data real-time performance and power consumption, improve the accuracy of access control recognition and the convenience of card management, and reduce the energy consumption of the sensor. The execution module and the core control unit are connected through the GPIO interface, including the MG90S servo motor and the 5V relay module. The MG90S servo motor is used to drive the opening and closing of the doors and windows, and the 5V relay module is used to control the on and off of the lights and exhaust fans. The MG90S servo motor adopts a metal gear structure with a maximum torque of 2.2 kg·cm, making it suitable for the weight load of common aluminum alloy doors and windows in homes. The servo motor also features a built-in overcurrent protection circuit that automatically cuts off power when the load exceeds a threshold. The 5V relay module supports 5 independent control channels, allowing simultaneous connection to multiple electrical devices, enhancing the servo motor's durability and safety and preventing damage caused by doors or windows jamming. It also improves the expandability of electrical control, adapting to the collaborative needs of multiple home devices. The interactive module communicates with the core control unit, including a Huaner I2C voice recognition module and a 0.96-inch I2C interface OLED screen. The voice recognition module supports custom voice command reception and parsing, while the OLED screen displays time, environmental parameters, and device operating status. The Huaner I2C voice recognition module has a pickup distance covering commonly used home activity areas within 5 meters and supports noise suppression algorithms to filter out interference from environmental noise such as TVs and fans. The OLED screen's refresh rate is set to 1 refresh / 2 seconds, reducing screen power consumption, improving the applicability and recognition accuracy of voice control, and adapting to the complex acoustic environment of the home. This extends the screen's battery life and reduces the load on the power supply module. The IoT module is built on the Blinker platform and connects to the core control unit via network communication to enable remote data interaction between the mobile phone and the system, including device status uploading, remote command reception, and abnormal alert push notifications. The Blinker platform supports multi-terminal login (the same account can be logged in on mobile phones and tablets at the same time), and the data transmission adopts the AES-128 encryption protocol to ensure the security of the transmission of device control commands and home data. While realizing the collaborative management of multiple devices, it protects the privacy of home data from being leaked. The power supply module provides the core control unit, sensor module, execution module, interaction module and IoT module with appropriate voltage and current to meet the power requirements of each module working together. The power supply module adopts a DC12V to multi-channel voltage output design (outputting 5V / 3A, 3.3V / 2A, etc., adaptable voltages), and has a built-in reverse connection protection circuit and overvoltage protection module. When the input voltage is abnormal, the power supply is automatically cut off, adapting to the voltage requirements of different modules, while avoiding damage to the system hardware caused by reverse connection of external power supply or voltage fluctuations. The core control unit receives the data collected by the sensor module, the voice commands from the interaction module, and the remote commands from the IoT module. After parsing, it sends control signals to the execution module to realize the coordinated linkage control of doors, windows and electrical appliances.
[0027] The MFRC522 access control sensor supports RFID card recognition, pre-stores at least 3 sets of valid card numbers, triggers door and window opening and closing actions after recognizing a valid card number, and displays the cardholder information through an OLED screen and the Blinker mobile platform; The valid card number and the corresponding cardholder information (such as "father" or "mother") are bound and stored in the Flash of the core control unit. After recognition, not only is the information displayed, but the card swiping time is also recorded in the operation log. This realizes the identity and time association recording of access control operations, improving the security and manageability of home access. The rotation angle of the MG90S servo motor can be quantified and controlled. The closed state of the door and window corresponds to 0 degrees, the partially open state corresponds to 45 degrees, and the fully open state corresponds to 90 degrees. The servo motor is equipped with slow rotation control logic, which realizes smooth opening and closing of doors and windows by gradually adjusting the angle, reducing structural damage. The servo's angle adjustment step is set to 1 degree / 100ms. During the adjustment, the current change of the servo is detected in real time. If the current suddenly increases, the adjustment is paused and finely adjusted by 1 degree in the opposite direction to avoid hard collisions between the doors and windows and the frame. This further reduces structural wear during the opening and closing of the doors and windows and improves the service life of the doors, windows and servo. The Huaner I2C voice recognition module supports at least 15 custom voice commands, including commands related to opening and closing doors and windows, turning lights on and off, and controlling exhaust fans. The voice recognition module and the OLED screen use different I2C bus address allocations to avoid communication conflicts. The I2C bus address of the voice recognition module is set to 0x40, and the I2C address of the OLED screen is set to 0x3C. The core control unit communicates with the two modules sequentially through an address polling mechanism, with the communication frequency controlled at 100kHz to ensure that the communication between the two I2C devices does not interfere with each other and to improve the stability of data transmission in the interactive module. The IoT module establishes a connection with the core control unit via WiFi. The Blinker platform mobile app has temperature, humidity, and rainfall display controls, as well as door and window opening / closing and appliance control buttons. The command response delay is no more than 2 seconds, and the device status is synchronized with the mobile app in real time.
[0028] The Blinker platform's mobile app has an offline alert function. When the system is disconnected from the mobile app for more than 5 seconds, an offline alarm will be automatically pushed. It also supports offline caching of commands, which will be automatically executed after reconnection to avoid control failures caused by network fluctuations and ensure the continuity and reliability of remote control.
[0029] It also includes a time calibration module, which is based on the NTP protocol and obtains standard time from a cloud server. It automatically calibrates once a day, and the calibrated time is displayed on an OLED screen. The time data is also synchronously uploaded to the Blinker platform. The time calibration module uses Alibaba Cloud servers, which are domestic low-latency nodes. The calibration error is controlled within ±1 second, and the time after calibration is cached. When the network is disconnected, the time accuracy can still be maintained for 48 hours, ensuring the accuracy and continuity of the time display. This provides a reliable reference for the time stamping of the device operation log. After the MG90S servo motor drives the door and window to open, if no manual closing command is received, it will automatically reset to the 0-degree closed state after 10 seconds, realizing automatic door and window closing protection.
[0030] The 10-second automatic closing timer starts when the door or window is fully open (i.e., the servo motor rotates to 90 degrees). If an angle adjustment command is received during the timing process (such as adjusting to 45 degrees), the timing will restart. This accommodates users' needs to temporarily adjust the opening of the door or window, while avoiding the safety hazards of keeping the door or window open for a long time.
[0031] The core control unit has built-in abnormal scenario linkage logic: when the FC-37 rain sensor detects that the rainfall exceeds the 60% threshold, it automatically issues a command to close all doors and windows and sends a rainfall alarm reminder to the mobile phone through the Internet of Things module; The rainfall threshold (60%) of the FC-37 rain sensor can be customized by the user through the Blinker platform on their mobile phone. The range can be set from 30% to 90% to adapt to the differences in rainfall intensity in different regions, improve the system's adaptability to different regional rainfall environments, and avoid false triggering or missed triggering caused by fixed thresholds. When the HC-SR501 human infrared sensor detects that no one is present and the doors and windows are not closed, it sends a reminder to the mobile phone that the doors and windows have not been closed.
[0032] The HC-SR501 human infrared sensor determines the unoccupied state by detecting no human signal for 5 consecutive minutes, avoiding false alerts caused by brief absences. The alert message supports repeated push notifications (once every 10 minutes until doors and windows are closed), reducing the false alarm rate and ensuring users can promptly address issues like forgetting to close doors and windows. It also features an acrylic integrated box, manufactured using laser cutting technology, with pre-drilled sensor probe interfaces, power interfaces, and heat dissipation holes. Internally, it houses the core control unit, power supply module, and relay module. A simple wiring bracket is also included inside the integrated box to prevent loose wiring. The integrated box features a grille-style ventilation design for its heat dissipation holes, with a ventilation area covering 20% of the side of the box. The internal mounting bracket is made of insulating plastic to prevent short circuits between the wiring and metal components, thereby improving the heat dissipation efficiency of the core components of the system and reducing the safety risk of short circuits. The HC-SR501 human infrared sensor is equipped with a sensitivity adjustment knob, and the core control unit has a built-in light compensation algorithm that combines ambient light data to assist in judgment and avoid false detections in low-light environments. The light compensation algorithm collects ambient light correlation data from the DHT11 sensor in real time (through the auxiliary photosensitive element of the temperature and humidity sensor). When the ambient light intensity is below 100 lux, it automatically reduces the sensitivity threshold of the infrared sensor, effectively avoiding false detections at night or in dim environments and improving the accuracy of human presence detection. The MFRC522 access control sensor communicates with the core control unit via the I2C bus. After card number recognition, the cardholder's name is displayed on the OLED screen for 1 second. The cardholder's name is displayed in bold, 24-point font in the center of the OLED screen, ensuring clear visibility from different viewing angles and improving readability of the card information display, allowing users to quickly verify their identity during access control operations.
[0033] In this embodiment, the present invention operates as follows: The initialization and self-test phase begins: After the system is powered on, the core control unit ESP32-WROOM-32 development board initiates a self-test process, sequentially checking the connection status of the sensor modules MFRC522 access control sensor, HC-SR501 human infrared sensor, FC-37 raindrop sensor, DHT11 temperature and humidity sensor, the actuator module MG90S servo, and the 5V relay module to itself. Simultaneously, the power supply module outputs compatible 5V / 3A and 3.3V / 2A voltages. The time calibration module synchronizes with the standard time of the Alibaba Cloud server based on the NTP protocol. Upon completion, the 0.96-inch I2C interface OLED screen displays a "Initialization Complete" message and the current calibration time, ensuring that all system modules are in normal startup status and providing a fundamental guarantee for subsequent stable operation.
[0034] The data sensing and real-time monitoring phase then begins: each sensor module continuously collects data at a preset frequency—the MFRC522 access control sensor detects RFID cards within a 3-5cm range in real time, the HC-SR501 human infrared sensor collects human presence signals every 2 seconds, and the FC-37 raindrop sensor and DHT11 temperature and humidity sensor collect rainfall, temperature, and humidity data every minute; all collected data is uploaded in real time to the cache area of the core control unit for further processing, achieving full-dimensional real-time perception of the home environment and personnel status, providing data support for intelligent decision-making.
[0035] Next comes the instruction receiving and parsing phase: The system simultaneously receives instructions from multiple channels—the Blinker I2C voice recognition module picks up voice instructions within 5 meters, filters out environmental noise, and converts them into digital signals; the MFRC522 access control sensor identifies valid card numbers and generates access control operation instructions; remote instructions from the Blinker platform's mobile terminal are transmitted to the core control unit via WiFi; the core control unit parses and verifies the format of the received instructions, filtering out invalid instructions such as card numbers not pre-stored or non-custom voice instructions, covering multiple interactive scenarios such as local voice, access control card swiping, and remote control, while ensuring the validity of the instructions.
[0036] Then, the collaborative decision-making and control execution phase begins: the core control unit combines real-time sensing data and parsed instructions to make collaborative decisions—if the FC-37 rain sensor detects that the rainfall exceeds the 60% threshold, it automatically issues a "close all doors and windows" command, driving the MG90S servo to rotate to 0 degrees in steps of 1 degree / 100ms; if the HC-SR501 detects that no one is present for 5 consecutive minutes and the doors and windows are not closed, it generates a reminder command for forgetting to close them; at the same time, voice / remote commands such as "open doors and windows to 45 degrees" or "turn on the exhaust fan" will trigger the MG90S servo to adjust its angle, detect the current in real time to avoid hard collisions, or trigger the 5V relay module to switch the electrical circuit on and off, realizing the linkage control between environmental status and equipment operation, taking into account both operational accuracy and equipment safety.
[0037] Finally, the status feedback and anomaly warning stage is implemented: the action status of the execution module, such as the opening of doors and windows and the on / off status of electrical appliances, is synchronized to the OLED screen in real time, displaying environmental parameters such as temperature and humidity, rainfall, the source of operation commands, and execution results; if anomalies such as excessive rainfall, left doors and windows unclosed, or system offline occur, the IoT module immediately pushes corresponding reminders to the Blinker platform mobile terminal, while the core control unit records the operation log and anomaly information to Flash storage, which can review data for 7 days, realizing the visualization of device status and timely warning of anomalies, improving users' control over the status of their homes.
[0038] The following are several other specific embodiments of the application of this invention: Example 1: Elderly-Adapted Optimized Version First, an adaptation initialization is performed: After the system powers on and performs a self-test, it automatically switches to "elderly mode". The Huaner I2C voice recognition module retains only 8 extremely simple spoken commands (such as "open the window", "close the door and window", "turn on the living room light", "turn off the exhaust fan"), filtering out complex commands; the 0.96-inch I2C interface OLED screen switches to 32-point bold font and only displays core information (current time, door and window status, current command).
[0039] Subsequently, low-sensitivity and slow-frequency control were implemented: the sensitivity of the HC-SR501 human infrared sensor was reduced by 30% to avoid accidental triggering by slight movements; the angle adjustment step of the MG90S servo was changed to 1 degree / 200ms, the opening and closing speed of doors and windows was slowed down by 50%, and the OLED screen displayed a prompt "Doors and windows are moving slowly" during the operation.
[0040] Next, an emergency linkage function is added: the voice recognition module is configured to trigger an emergency call logic by pressing and holding for 3 seconds. After triggering, the core control unit immediately pushes an "elderly emergency call" reminder to the mobile phones of 3 preset relatives through the Internet of Things module, and simultaneously sends the current home environment parameters (temperature, humidity, door and window status).
[0041] Finally, simplify the feedback to maintain the status: After the module action is completed, the OLED screen will inform you of the operation result with both voice and text prompts (such as "The window is closed"). The mobile phone reminder is also simplified to "Doors / windows / appliances have performed XX operation" to avoid information overload.
[0042] It adapts to the operating habits and cognitive pace of the elderly, reduces the operating threshold and user anxiety, and increases safety linkage protection in emergency scenarios.
[0043] Example 2: Energy-saving scenario adaptation example First, energy-saving parameters are preset: During system initialization, the core control unit automatically loads energy-saving thresholds (such as humidity ≥70% and temperature ≥28℃), and the sampling frequency of the DHT11 temperature and humidity sensor is increased to 2 times / minute to enhance the real-time performance of environmental data.
[0044] Then, energy consumption linkage sensing is implemented: the HC-SR501 human infrared sensor, combined with the ambient light correlation data of DHT11, will automatically issue a command to "turn off the lights in the current area" if it detects a "no one + sufficient light" state; when the FC-37 raindrop sensor detects rainfall of less than 30% and temperature of ≥28℃, it will push a mobile phone reminder to "open windows for ventilation to save energy".
[0045] Next, dynamic energy-saving control is implemented: the core control unit adjusts the opening degree of doors and windows according to the temperature and humidity data of DHT11. When the temperature is 25-28℃, the MG90S servo motor is driven to open the doors and windows to 45 degrees; when the temperature is ≥28℃, it is opened to 90 degrees; when the humidity is ≥70%, the 5V relay module is automatically triggered to turn on the exhaust fan, and it is automatically turned off after the humidity drops to 60%.
[0046] Finally, energy-saving data is recorded: The core control unit counts the number of automatic energy-saving operations (such as automatically turning off lights and automatically adjusting doors and windows) every day, and pushes a summary message to the mobile phone at 8 pm every day: "Today's energy-saving operations were XX times, reducing the standby energy consumption of appliances by about XX kilowatt-hours".
[0047] By using environmental data as the core, automated energy-saving scheduling of equipment can be achieved, while quantifying energy-saving effects and enhancing users' perception of energy conservation.
[0048] Example 3: Implementation of Zoning Control for Large Apartments First, perform the partitioned network initialization: the system is configured with 1 core control unit + 3 sub-control units (all using ESP32-WROOM-32 development boards), and establishes communication through WiFi Mesh networking; the core control unit is responsible for overall scheduling, and the sub-control units correspond to the "living room area", "bedroom area" and "balcony area" respectively, and each controls the doors and windows of the corresponding area (1 MG90S servo motor) and 2 electrical appliances (5V relay module branch circuit).
[0049] Subsequently, zoned sensing and independent control are implemented: each zone is equipped with an independent HC-SR501 human infrared sensor and a DHT11 temperature and humidity sensor. Sensor data is collected by the corresponding sub-control unit and then synchronized to the core control unit. Users can control the doors, windows and appliances of a certain zone individually (such as "open bedroom doors and windows" or "turn off living room lights") through the "zone control" on the Blinker platform's mobile app.
[0050] Next, cross-zone linkage decision-making is carried out: After receiving data from all zones, if the core control unit detects that "no one is in a certain area and doors and windows are not closed", it only sends an alert instruction to the corresponding sub-control unit of that area to avoid false alerts throughout the house; if the FC-37 rain sensor detects that the rainfall exceeds the standard, the core control unit simultaneously sends an instruction to all sub-control units to "close the doors and windows of the corresponding area" to achieve whole-house linkage.
[0051] Finally, the partition status is kept visible: the Blinker mobile platform displays the device status by region (e.g., "Living room: doors and windows open / lights off" "Bedroom: doors and windows closed / exhaust fan on"), and the core control unit's Flash storage records operation logs by region, making it easy for users to trace the device usage in each region.
[0052] It adapts to the spatial zoning needs of large apartments, enabling precise control and linkage of equipment, and avoiding insufficient signal coverage and management chaos of single control units.
[0053] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any person skilled in the art can easily conceive of various variations or substitutions within the technical scope disclosed in the present invention, and these should all be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.
Claims
1. A home intelligent door and window and appliance collaborative control system, characterized in that, It includes a core control unit, sensor module, execution module, interaction module, Internet of Things module, and power supply module; The core control unit uses the ESP32-WROOM-32 development board as the core of system data processing, instruction parsing and distribution. The sensor module is electrically connected to the core control unit and includes an MFRC522 access control sensor, an HC-SR501 human infrared sensor, an FC-37 raindrop sensor, and a DHT11 temperature and humidity sensor, which are used to collect access control information, human presence signals, environmental rainfall data, and temperature and humidity data. The execution module is connected to the core control unit via a GPIO interface and includes an MG90S servo motor and a 5V relay module. The MG90S servo motor is used to drive the opening and closing of household doors and windows, and the 5V relay module is used to control the on / off of lights and exhaust fans. The interactive module is communicatively connected to the core control unit and includes a Huaner I2C voice recognition module and a 0.96-inch I2C interface OLED screen. The voice recognition module supports the reception and parsing of custom voice commands, and the OLED screen is used to display time, environmental parameters and device operating status. The IoT module is built on the Blinker platform and is connected to the core control unit via network communication. It is used to realize remote data interaction between the mobile terminal and the system, including device status uploading, remote command reception, and abnormal reminder push. The power supply module provides suitable voltage and current for the core control unit, sensor module, execution module, interaction module, and IoT module, meeting the power requirements for the coordinated operation of each module. The core control unit receives data collected by the sensor module, voice commands from the interaction module, and remote commands from the Internet of Things module. After parsing, it sends control signals to the execution module to achieve coordinated control of doors, windows, and electrical appliances.
2. The home intelligent door and window and appliance collaborative control system according to claim 1, characterized in that, The MFRC522 access control sensor supports RFID card recognition, pre-stores at least 3 sets of valid card numbers, triggers door and window opening and closing actions after recognizing a valid card number, and displays the cardholder information through an OLED screen and the Blinker mobile platform.
3. The home intelligent door and window and appliance collaborative control system according to claim 1, characterized in that, The rotation angle of the MG90S servo motor can be quantitatively controlled. The closed state of the door and window corresponds to 0 degrees, the partially open state corresponds to 45 degrees, and the fully open state corresponds to 90 degrees. The servo motor is equipped with slow rotation control logic, which can achieve smooth opening and closing of the door and window by adjusting the angle degree by degree, thereby reducing structural damage.
4. The home intelligent door and window and appliance collaborative control system according to claim 1, characterized in that, The Huaner I2C voice recognition module supports at least 15 custom voice commands, including commands related to opening and closing doors and windows, turning lights on and off, and controlling exhaust fans. The voice recognition module and the OLED screen use different I2C bus address allocations to avoid communication conflicts.
5. The home intelligent door and window and appliance collaborative control system according to claim 1, characterized in that, The IoT module connects to the core control unit via WiFi. The Blinker platform mobile app has temperature, humidity, and rainfall display controls, as well as door and window opening / closing and appliance control buttons. The command response delay is no more than 2 seconds, and the device status is synchronized with the mobile app in real time.
6. The home intelligent door and window and appliance collaborative control system according to claim 1, characterized in that, It also includes a time calibration module, which is based on the NTP protocol, obtains standard time through a cloud server, automatically calibrates once a day, displays the calibrated time on an OLED screen, and the time data is synchronously uploaded to the Blinker platform.
7. The home intelligent door and window and appliance collaborative control system according to claim 3, characterized in that, After the MG90S servo motor drives the doors and windows to open, if no manual closing command is received, it will automatically reset to the 0-degree closed state after 10 seconds, realizing automatic closing protection of the doors and windows.
8. The home intelligent door and window and appliance collaborative control system according to claim 1, characterized in that, The core control unit has built-in abnormal scenario linkage logic: when the FC-37 raindrop sensor detects that the rainfall exceeds the 60% threshold, it automatically issues a command to close all doors and windows and sends a rainfall alarm reminder to the mobile phone through the Internet of Things module; When the HC-SR501 human infrared sensor detects that no one is present and the doors and windows are not closed, it sends a reminder to the mobile phone that the doors and windows were left open.
9. The home intelligent door and window and appliance collaborative control system according to claim 1, characterized in that, It also includes an integrated box made of acrylic material, which is made by laser cutting process and has reserved sensor probe interface, power interface and heat dissipation hole. The core control unit, power supply module and relay module are fixed inside. The integrated box is equipped with a simple wiring fixing bracket to prevent the wires from becoming loose.
10. The home intelligent door and window and appliance collaborative control system according to claim 1, characterized in that, The HC-SR501 human infrared sensor is equipped with a sensitivity adjustment knob, and the core control unit has a built-in light compensation algorithm that combines ambient light data to assist in judgment and avoid false detection in low-light environments. The MFRC522 access control sensor communicates with the core control unit via an I2C bus. After card number recognition, the cardholder's name is displayed on an OLED screen for 1 second.