Intelligent clothes hanger based on Arduino language and method thereof

By integrating raindrop sensors, photoresistor modules, servo modules and Bluetooth modules on the clothes drying rack, intelligent control is achieved, and the problem that traditional clothes drying racks cannot cope with weather changes is solved, the efficiency and convenience of clothes is improved, and clothes are provided Automatic drying and disinfection functions.

CN119148589APending Publication Date: 2024-12-17WENHUA UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411289421.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

Traditional clothes drying racks cannot cope with changes in the meteorological environment, which leads to inconvenience in drying clothes, especially for people with limited mobility and those who go out, and it is difficult to prevent bacteria from growing.

Method used

Design an intelligent clothes drying rack based on the Arduino language, using raindrop sensors, photoresistor modules and servo machines, combined with Bluetooth modules and ultraviolet modules to realize automatic drying, recycling and disinfection functions, and real-time control through mobile APPs.

Benefits of technology

It improves the efficiency and convenience of clothes drying, meets the needs of different life scenarios, realizes automatic drying and disinfection of clothes, reduces the risks of wet clothes and bacterial growth, and is suitable for a variety of places.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119148589A_ABST
    Figure CN119148589A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent clothes hanger based on Arduino language and a method thereof, the intelligent clothes hanger comprises a clothes hanger, a control module, a raindrop sensor, a photoresistor module and a steering engine, the raindrop sensor is electrically connected with the control module and is used for detecting whether it rains or not and detecting the rainfall, and feeding back a digital signal and an analog signal to the control module; the photoresistor module is electrically connected with the control module and is used for monitoring surrounding illumination intensity and feeding back a digital signal to the control module; the steering engine is electrically connected with the control module, an output shaft of the steering engine is connected with a rod body of the clothes hanger, and the control module controls the steering engine to rotate at different angles and directions according to rainfall and illumination intensity so as to drive the clothes hanger to stretch out or retract; different clothes airing actions can be made according to weather changes, automatic clothes airing in the bright day, automatic clothes collecting in the dark, automatic clothes collecting in the rainy day and automatic clothes airing in the sunny day are achieved, the life quality of people is improved, and intelligent life is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of clothes drying racks, and in particular to an intelligent clothes drying rack based on Arduino language and a method thereof. Background Art

[0002] With the gradual improvement of the quality of life and the rapid development of science and technology, low-carbon health has become the theme of life, and intelligence and convenience have become our pursuit. Clothes drying racks are necessities in people's daily lives. Traditional clothes drying racks only solve the basic problem of drying clothes, but with the improvement of people's living standards and the acceleration of the pace of life, traditional clothes drying racks can no longer meet people's needs. Traditional clothes drying racks are only slightly different in mechanical structure, but they are not intelligent, do not have the ability to cope with changes in the meteorological environment, and do not have the characteristics of real-time, fast and simple operation.

[0003] Sudden weather changes have many adverse effects on clothes drying. In addition, residents are working outside, or residents are unable to return home due to thunderstorms on the way to work, or there are disabled people or elderly people at home who are unable to move. They can only let their clothes get wet and cannot collect them in time. Over time, bacteria are easily grown, which increases the burden of drying clothes. Therefore, this application proposes an Arduino-based smart clothes drying rack to solve the above problems. Summary of the invention

[0004] In order to solve the above problems, the present application provides an Arduino-based smart clothes drying rack and method thereof, which can make different clothes drying actions according to weather changes, improve people's quality of life, and realize smart life. The technical solution is as follows:

[0005] In a first aspect, the present application provides an Arduino-based smart clothes rack, comprising a clothes rack, a control module, a raindrop sensor, a photoresistor module and a servo, wherein the raindrop sensor is electrically connected to the control module, and is used to detect whether it is raining and the amount of rain, and to feed back digital signals and analog signals to the control module; the photoresistor module is electrically connected to the control module, and is used to monitor the ambient light intensity, and to feed back digital signals to the control module; the servo is electrically connected to the control module, and the output shaft of the servo is connected to the rod body of the clothes rack, and the control module controls the servo to rotate at different angles and directions according to the amount of rain and the light intensity, so as to drive the clothes rack to extend or retract.

[0006] For example, in the Arduino language-based smart clothes drying rack provided in one embodiment, an ultraviolet module is also included, and the ultraviolet module is electrically connected to the control module for sterilizing and disinfecting clothes.

[0007] For example, in the Arduino language-based smart clothes rack provided in one embodiment, a Bluetooth module is also included, and the Bluetooth module is electrically connected to the control module. The control module sends data to a mobile phone APP through the Bluetooth module, so that the temperature and humidity, light intensity and clothes rack extension and retraction status information are displayed on the mobile phone APP, thereby online controlling the servo to drive the clothes rack to retract and extend.

[0008] For example, in the Arduino language-based smart clothes drying rack provided in one embodiment, the control module is an Arduino Uno single-chip microcomputer.

[0009] For example, in the Arduino language-based smart clothes drying rack provided in one embodiment, the servo rotation angle range is 0-90°.

[0010] For example, in the Arduino language-based smart clothes drying rack provided in one embodiment, the raindrop sensor is made of FR-04 double-sided material and the surface is nickel-plated.

[0011] For example, in the Arduino language-based smart clothes drying rack provided in one embodiment, the photoresistor module is a sensitive photoresistor sensor.

[0012] For example, in the Arduino language-based smart clothes drying rack provided in one embodiment, the ultraviolet module is a UV sunlight ultraviolet lamp.

[0013] A second aspect of the present application provides an intelligent clothes drying method for an intelligent clothes drying rack based on the Arduino language, comprising the following steps: when the raindrop sensor detects that the amount of rain is greater than a preset value, a signal is sent to the control module, and the control module issues an instruction to control the servo to reverse, thereby driving the clothes drying rack to retract; when the photoresistor module detects that the ambient light intensity reaches a preset threshold and the raindrop sensor does not detect raindrops, a signal is fed back to the control module, and the control module controls the servo to rotate forward, thereby driving the clothes drying rack to extend.

[0014] The beneficial effects brought by a smart clothes drying rack based on Arduino language and its method provided by some embodiments of the present application are as follows: the smart clothes drying rack of the present application adopts various sensors, intelligent perception and precise control to improve the efficiency and convenience of clothes drying; the smart clothes drying rack integrates a variety of clothes drying and life functions, such as automatic drying, disinfection and sterilization, online control, etc., to meet people's different clothes drying needs and life scenes; the smart clothes drying rack can be customized and set individually, for example, the clothes drying mode can be set according to the clothes drying needs and life habits of different users, so as to improve the effect and experience of clothes drying; the smart clothes drying rack application based on Arduino language of the present application has the functions of energy saving, easy use and real-time communication, and has a very good market prospect. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of this specification or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 This is the logic block diagram of the smart clothes drying rack based on Arduino language in this application;

[0017] Figure 2 This is the circuit connection diagram of the smart clothes drying rack based on Arduino language of this application;

[0018] Figure 3 This is a flow chart of the smart clothes drying method based on Arduino language in this application. DETAILED DESCRIPTION

[0019] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0020] Unless otherwise defined, the technical terms or scientific terms used in the present disclosure should be understood by people with ordinary skills in the field to which the present disclosure belongs. The "first", "second" and similar words used in the present disclosure do not indicate any order, quantity or importance, but are only used to distinguish different components. "Include" or "comprise" and similar words mean that the elements or objects appearing before the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0021] The first aspect of the present application provides an intelligent clothes drying rack based on the Arduino language, such as Figure 1 As shown, it includes a clothes drying rack, a control module, a raindrop sensor, a photoresistor module and a steering gear, wherein the raindrop sensor is electrically connected to the control module, and is used to detect whether it is raining and the amount of rain, and to feed back digital signals and analog signals to the control module; the photoresistor module is electrically connected to the control module, and is used to monitor the ambient light intensity, and to feed back digital signals to the control module; the steering gear is electrically connected to the control module, and the output shaft of the steering gear is connected to the rod body of the clothes drying rack, and the control module controls the steering gear to rotate at different angles and directions according to the amount of rain and the light intensity, so as to drive the clothes drying rack to extend or retract.

[0022] The Arduino-based smart clothes rack of the present application utilizes raindrop sensors and photoresistor modules to collect external environmental information and transmit it to the control module. The power supply drives the servo to realize the retraction and extension of the clothes rack, and different clothes drying actions can be performed according to weather changes. When the photoresistor module detects that there is sufficient light source, the clothes rack starts the clothes drying mode; when the raindrop sensor detects that it suddenly rains, the smart clothes rack automatically retracts; among them, the smart clothes rack of the present application mainly uses raindrop sensors and photoresistor sensors as a supplement, which mainly detect whether it is raining. When the device is in a rainy condition, the smart clothes rack will automatically collect clothes regardless of the light intensity.

[0023] The present application can control the smart clothes drying rack to extend and retract by collecting and processing information about the surrounding light environment based on the photoresistor module, so that clothes can be automatically dried in the morning and automatically collected in the evening; the weather conditions can be judged based on the raindrop sensor, so that the smart clothes drying rack can be controlled to extend and retract, so that clothes can be automatically collected in the rain and automatically dried in the sunny weather.

[0024] Considering that rainy weather is prone to humidity and may cause bacterial growth, for example, in the smart clothes drying rack based on Arduino language provided in one embodiment, an ultraviolet module is also included, and the ultraviolet module is electrically connected to the control module for sterilizing and disinfecting clothes.

[0025] Taking into account the disabled and the elderly, for example, the Arduino language-based smart clothes rack provided in one embodiment also includes a Bluetooth module, which is electrically connected to the control module. The control module sends data to the mobile phone APP through the Bluetooth module, so that the temperature and humidity, light intensity and clothes rack extension and retraction status information are displayed on the mobile phone APP, thereby online controlling the servo to drive the clothes rack to retract and extend. By using the Bluetooth module to interact with the mobile phone App, the extension and retraction of the clothes rack can be operated online through the mobile phone.

[0026] This application uses the JDY-31 Bluetooth module, the Bluetooth module uses the model ATK-HC05 Bluetooth module, and the full-duplex communication line is connected. It has the characteristics of low power consumption, simple and easy to use, and easy to implement. At the same time, Bluetooth technology also supports the simultaneous connection of multiple devices, and data transmission and communication can be performed between different devices. After the Bluetooth device is successfully paired with the Bluetooth device, this application can ignore the internal communication protocol of Bluetooth and directly use Bluetooth as a serial port. Then the microcontroller of the control module sends the data to the mobile phone APP through the Bluetooth module, so that the temperature, humidity, light intensity, and the extension and retraction status of the clothes drying rack are displayed on the APP, so as to control the servo online to drive the clothes hanger to retract and extend.

[0027] For example, in the Arduino language-based smart clothes drying rack provided in one embodiment, the control module is an Arduino Uno single-chip microcomputer.

[0028] The hardware platform is based on the AVR microcontroller main control circuit and various input / output submodules. The processor core is ATmega 328, with 14 digital input / output ports (6 of which can be used as PWM outputs), 6 analog inputs, a 16MHz crystal oscillator, a USB port, a power socket, an ICSP header and a reset button.

[0029] For example, in the Arduino language-based smart clothes drying rack provided in one embodiment, the servo rotation angle range is 0-90°.

[0030] Among them, the servo is a motor that can achieve precise control of the angle and angle. Its working principle is to control the speed and direction of the motor by receiving a control signal, so that the output shaft can be accurately rotated to the specified position. This application uses the SG90 9g servo, and the rotation angle range is 90°. The servo is actually a position servo driver, which is mainly composed of a housing, a circuit board, a coreless motor, gears and a position detector. It has the advantages of precise positioning, fast response speed, easy control and high stability. It also has a position feedback function, which can accurately return its actual angle of rotation through an encoder or other sensor, thereby ensuring precise control of the output shaft.

[0031] The working principle of the servo is that the microcontroller sends a signal to the servo, which has a reference circuit inside, which generates a reference signal with a period of 20ms and a width of 1.5ms. The DC bias voltage obtained is compared with the voltage of the potentiometer to obtain a voltage difference output. The IC on the circuit board determines the direction of rotation, and then drives the coreless motor to start rotating. The power is transmitted to the swing arm through the reduction gear, and the position detector sends a signal back to determine whether it has reached the position. The servo receives the signal from the sensor or the signal sent by Bluetooth to recover and hang out the clothes rack, so that clothes can be automatically dried at dawn and collected at dark; clothes can be automatically collected when it rains and automatically dried when it is sunny. At the same time, the motor operation time, speed and other parameters can be set.

[0032] For example, in the Arduino language-based smart clothes drying rack provided in one embodiment, the raindrop sensor is made of FR-04 double-sided material and the surface is nickel-plated.

[0033] Among them, the raindrop sensor is an electronic component that detects the falling of rain by sensing the size and number of raindrops. It consists of several metal pins and a circuit board with sensitive components. The raindrop sensor used in this application adopts high-quality FR-04 double-sided material, with an ultra-large area of ​​5.0×4.0CM, and the surface is nickel-plated. The advantages are high sensitivity, rapid response, easy use, high accuracy, and long-term continuous detection. It has superior performance in terms of anti-oxidation, conductivity, and life. The comparator output has a clean signal, good waveform, and strong driving ability. The size of the small board PCB is 3.2cm×1.4cm, and a wide voltage LM393 comparator is used. The raindrop sensor detects whether it is raining and the amount of rain, and converts it into digital signal (DO) and analog signal (AO) output.

[0034] For example, in the Arduino language-based smart clothes drying rack provided in one embodiment, the photoresistor module is a sensitive photoresistor sensor.

[0035] Among them, the photoresistor sensor is an electronic component that can detect the intensity of ambient light. Its principle is to use the photoelectric effect, that is, when light shines on its surface, its resistance value will change. The photoresistor in the photoresistor module is made of semiconductor materials. The photoresistor uses the photoelectric effect of semiconductors, and its resistance is inversely proportional to the intensity of light. The photoresistor is very sensitive to ambient light. The stronger the light, the lower the resistance. As the light intensity increases, the resistance value decreases rapidly. This application uses a sensitive photoresistor sensor, which is easy to use, fast response speed, high accuracy, strong reliability and long life. It is also flexible. In different environments, it can adapt to different light intensity detection requirements by adjusting its threshold. The comparator output has a clean signal, good waveform, strong driving ability, and exceeds 15mA; the operating voltage is 3.3V-5V; the small board PCB size is 3.2cm x 1.4cm. The photoresistor module is sensitive to ambient light and is generally used to detect the brightness of the light in the surrounding environment. When the ambient light brightness of the module does not reach the set threshold, the DO terminal outputs a high level. When the ambient light brightness exceeds the set threshold, the DO terminal outputs a low level.

[0036] For example, in the Arduino language-based smart clothes drying rack provided in one embodiment, the ultraviolet module is a UV sunlight ultraviolet lamp.

[0037] This application uses UV sunlight ultraviolet lamps. Considering that humid weather is prone to bacterial infection, the system adds ultraviolet sensors to sterilize and disinfect clothes. Compared with traditional mercury lamps, deep ultraviolet LEDs have a short opening time and can be used immediately after turning on. They are simple in appearance and do not contain mercury, are non-toxic and environmentally friendly. This application uses deep ultraviolet LEDs in clothes drying racks, which has obvious technical advantages and certain benefits. At the same time, short-wave ultraviolet rays will also cause harm to the human body to a certain extent.

[0038] The circuit diagram of the smart clothes drying rack based on Arduino language in this application is as follows Figure 2As shown, the photoresistor sensor A0 analog output is connected to the A0 port of the Arduino UNO microcontroller, and the GND and VCC interfaces are connected to the GND and 5V pins of the Arduino UNO R3 microcontroller respectively, so as to detect the intensity of the light drops. The raindrop sensor A0 analog output is connected to the A1 port of the Arduino UNO R3 microcontroller, and the GND and VCC interfaces are connected to the GND and 5V pins of the microcontroller respectively, so as to detect the amount of raindrops on it. The RXD, TXD, GND, and VCC pins of the Bluetooth module are connected to the corresponding TX, RX, GND, and 5V pins of the Arduino UNO microcontroller respectively. According to the connection between the Bluetooth module and the Bluetooth debugger APP, the online retraction and extension of the clothes rack can be realized. The brown interface of the servo is connected to the GND of the Arduino UNO microcontroller, the red is connected to 5V, and the orange is connected to the signal pin 9. The retraction and extension of the clothes rack can be realized through the control of the servo.

[0039] The working principle of the Arduino language-based smart clothes drying rack of the present application is as follows: using Arduino UNO R3 development board as the main control board, ATmega328 as the core processor, using raindrop sensor and photoresistor module to detect the environment, transmitting the collected information parameters to the Arduino main control board, the system analyzes the received environmental parameters, and controls the driving circuit according to the program written in ArduinoIDE to control the operation of the servo. If the set parameters of the photosensor are reached, the servo rotates to drive the smart clothes drying rack to extend; if the set parameters of the raindrop sensor are reached, the servo rotates to drive the smart clothes drying rack to retract, and the ultraviolet lamp starts to operate to achieve sterilization and disinfection.

[0040] Specifically, the Arduino UNO R3 microcontroller automatically collects air humidity and light brightness values ​​through raindrop and photoresistor sensors, determines whether it is raining or sunny, and then outputs corresponding pulses to drive the forward and reverse rotation of the servo to realize the intelligent extension and retraction of the clothes drying rack. When the photosensitive sensor detects that there is sufficient light, the clothes drying rack starts the drying mode; when the raindrop sensor detects rain, the servo drives the clothes drying rack to automatically retract; the power supply is used to power the entire system, and the clothes can be automatically dried and retracted. Users can also interact with the mobile phone Bluetooth debugger APP through Bluetooth connection to realize online collection of clothes, avoid getting wet and dry clothes in time, so that people no longer have to worry about clothes getting wet in the rain, forgetting to dry clothes, and bacteria breeding.

[0041] The smart clothes drying rack of this application can be used not only in family life, but also in various places:

[0042] (1) School dormitories: Smart clothes drying racks are used in school dormitories to relieve students from the worry of clothes not being exposed to the sun or getting wet in the rain, thus enabling them to dry clothes freely.

[0043] (2) Hotels: Smart clothes drying racks can be used in hotels. For guests who have no place to dry their clothes during their stay, smart clothes drying racks can provide guests with high-quality clothes drying services. Through intelligent control systems, hotels can sterilize and disinfect guests' clothes, improving guests' stay experience.

[0044] (3) Medical and health care: Smart clothes drying racks can be used in the medical and health care field to kill bacteria and viruses through disinfection functions and prevent the spread of diseases. In addition, smart clothes drying racks can also be used in washing and drying places in hospitals to improve work efficiency and hygiene standards.

[0045] (4) Other places: Smart clothes drying racks can also be used in other places, such as factories, shops, etc. Through intelligent control systems, smart clothes drying racks can achieve rapid sterilization and automatic recycling of clothes, thereby improving work efficiency and production benefits.

[0046] The second aspect of the present application provides an intelligent clothes drying method of an intelligent clothes drying rack based on the Arduino language, such as Figure 3 As shown, the following steps are included: when the raindrop sensor detects that the amount of rain is greater than a preset value, a signal is sent to the control module, and the control module issues an instruction to control the servo to reverse, thereby driving the clothes rack to be retracted; when the photoresistor module detects that the ambient light intensity reaches a preset threshold and the raindrop sensor does not detect raindrops, a signal is fed back to the control module, and the control module controls the servo to rotate forward, thereby driving the clothes rack to be extended.

[0047] Specifically, when the photoresistor sensor and the raindrop sensor reach the set value, the servo rotates 90°; otherwise, the servo retracts; the JDY-31 Bluetooth module is paired with the Bluetooth debugger mobile phone APP, and after the pairing is successful, it is sent to the Bluetooth module through the serial port. The Arduino UNO R3 microcontroller controls the system operation by judging the received command, and controls the servo to rotate according to the different command signals sent by the mobile phone. For example, when the mobile phone sends B, the servo rotates 90°, driving the clothes rack to extend, and when it sends A, the servo drives the clothes rack to retract.

[0048] Consider whether the servo can be controlled via Bluetooth when the set values ​​of the photoresistor and the raindrop sensor are reached, and whether the two will conflict. By referencing an int variable, the two modes will not interfere with each other.

[0049] The smart clothes drying rack based on Arduino language in this application can control the extension and extension of the clothes drying rack and the operation of the ultraviolet light according to the sunny or rainy weather and the Bluetooth module connected to the mobile phone, and can realize automatic drying and retracting of clothes, so that people no longer have to worry about clothes getting wet by rain, forgetting to dry clothes, bacteria breeding, etc. Firstly, it can solve the drying problem for people with disabilities or the elderly; secondly, it can solve the problem that the drying effect of some residents is affected by the house type and weather; thirdly, the smart clothes drying rack based on Arduino can improve the quality of life and good home experience of office workers and students, and save them unnecessary time.

[0050] Although the implementation scheme of the present application has been disclosed as above, it is not limited to the applications listed in the specification and implementation modes, and it can be fully applicable to various fields suitable for the present application. For those familiar with the art, additional modifications can be easily implemented. Therefore, without departing from the general concept defined by the claims and the scope of equivalents, the present application is not limited to the specific details and the illustrations shown and described herein.

Claims

1. An intelligent clothes drying rack based on Arduino language, characterized in that: include: Clothes drying rack; Control module; A raindrop sensor, electrically connected to the control module, for detecting whether it is raining and the amount of rain, and feeding back digital signals and analog signals to the control module; A photoresistor module, electrically connected to the control module, for monitoring ambient light intensity and feeding back a digital signal to the control module; A servo is electrically connected to the control module, an output shaft of the servo is connected to the rod body of the clothes drying rack, and the control module controls the servo to rotate at different angles and directions according to the amount of rainfall and light intensity to drive the clothes drying rack to extend or retract.

2. The intelligent clothes drying rack based on Arduino language according to claim 1, characterized in that: It also includes an ultraviolet module, which is electrically connected to the control module and is used to sterilize and disinfect clothes.

3. The intelligent clothes drying rack based on Arduino language according to claim 2, characterized in that: It also includes a Bluetooth module, which is electrically connected to the control module. The control module sends data to a mobile phone APP through the Bluetooth module, so that the temperature and humidity, light intensity and extension and retraction status information of the clothes rack are displayed on the mobile phone APP, thereby online controlling the servo to drive the clothes rack to retract and extend.

4. The intelligent clothes drying rack based on Arduino language according to claim 1, characterized in that: The control module is an Arduino Uno single chip microcomputer.

5. The intelligent clothes drying rack based on Arduino language according to claim 1, characterized in that: The angular range of the steering gear rotation is 0-90°.

6. The intelligent clothes drying rack based on Arduino language according to claim 1, characterized in that: The raindrop sensor is made of FR-04 double-sided material and the surface is nickel-plated.

7. The intelligent clothes drying rack based on Arduino language according to claim 1, characterized in that: The photoresistor module is a sensitive photoresistor sensor.

8. The intelligent clothes drying rack based on Arduino language according to claim 2, characterized in that: The ultraviolet module is a UV sunlight ultraviolet lamp.

9. The intelligent clothes drying method of the intelligent clothes drying rack based on Arduino language according to any one of claims 1 to 8, characterized in that: The following steps are involved: When the raindrop sensor detects that the amount of rainwater is greater than a preset value, a signal is sent to the control module, and the control module issues an instruction to control the steering gear to reverse, driving the clothes drying rack to retract; When the photoresistor module detects that the ambient light intensity reaches a preset threshold and the raindrop sensor detects no raindrops, a signal is fed back to the control module, and the control module controls the steering gear to rotate forward, driving the clothes drying rack to extend.