Example 1
 An automatic control system for open-air grain stack rainproof cloth, including unwinding mechanical structure and control system;
 Such as Figure 12-14 As shown, the unfolding mechanical structure includes an outer gear ring 1 fixedly arranged on the outer edge of the top end of the cylindrical grain stack 6 in meshing connection with the outer gear ring 1 and driven by the stepping motor 3. Gear 2, and a rain-proof cloth reel 4 fixed coaxially with the gear 2 and parallel to the axis of the grain stack 6, one edge of the rain-proof cloth is fixed on the outer wall of the cylindrical grain stack The other edge is fixed on the rain-proof cloth reel;
 Such as figure 1 As shown, the control system includes a master unit and a slave unit that are communicatively connected through a Bluetooth module; the slave unit includes a slave control module, an alarm module for generating an alarm signal, and an alarm module for collecting air temperature, air humidity and humidity. , A data acquisition module for light intensity and rainfall conditions, and a motor drive module for driving the deployment of the rainproof cloth. The alarm module and the motor drive module are respectively communicatively connected with the output end of the slave control module, and the data acquisition module is connected with The input end of the slave control module is connected to the communication;
 The host unit includes a host control module wirelessly connected to the slave control module, a GSM communication module used to transmit the alarm signal to the user's mobile phone, and used to display air temperature, air humidity, light intensity, rainfall status, and The display module of the switch state of the rainproof cloth and the button module, the GSM communication module and the display module are respectively communicatively connected with the output end of the host control module, and the button module is communicatively connected with the input end of the host control module, Said.
 Way of working:
 Taking the tooth surface of the outer gear ring 1 as the outside, and the inner smooth part of the outer gear ring 1 as the inside, the gear 2 is connected to the output shaft of the stepping motor 3 through a reduction box 6. The bottom of the reduction box 6 is provided with a slider 7 which abuts against the inner side of the outer gear ring 1 to form a support, and the slider 7 cooperates with the cylindrical surface on the inner side of the outer gear ring 1 for fixing.
 The stepping motor 3 drives the gear 2 to move in a circular trajectory along the outer circumference of the outer gear ring 1, so that while the rain cloth reel 4 rotates along the outer circumference of the grain stack, the rain cloth reel 4 rotates. During the forward rotation of the rain cloth reel 4, the rain cloth wrapped around the outer wall of the cylindrical grain stack can be wound onto the rain cloth reel 4 shaft (the rain cloth is stowed and dried). During the reverse rotation of the rain-proof cloth reel 4, the rain-proof cloth wound on the rotating shaft of the rain-proof cloth reel 4 can be put down, so that it can be wrapped around the outer wall of the cylindrical grain stack (the rain cloth is unfolded, and the Rainproof).
 The size of the gear 2 can be determined according to the thickness of the rainproof cloth. When the rainproof cloth is thicker, rotate the larger gear 2 so that the distance between the rainproof cloth reel 4 and the grain stack can accommodate the windproof cloth. The thickness of the rain cloth.
 The data acquisition module collects the air temperature, air humidity and humidity, light intensity and rainfall status information of the environment where the open-air grain stack is located, and transmits these information to the slave control module. At the same time, the slave control module transmits the information to the Host control module, real-time display through the display module.
 When the above indicators exceed the preset range, the alarm module gives an alarm, and the motor drive module drives the rainproof cloth to unfold to cover the grain stack. The host control module transmits alarm information to the mobile phone through the GSM communication module.
 As a preferred mode, the slave control module is a slave single-chip microcomputer, and the slave single-chip microcomputer is an STC12C5A60S2 single-chip microcomputer. The host control module is a host microcontroller, and the host microcontroller is an STC12C5A60S2 microcontroller.