Abstract <br>This paper firstly introduces the basic knowledge of smart home and its application prospects, and then clarifies the significance of developing infrared remote control automatic curtains as an important part of smart home. Then, the structure principle of the integrated chip STC89C52, DS1302 chip, infrared transmitter receiver and other hardware used in the development of the infrared remote control curtain system controlled by the single-chip microcomputer is introduced. This paper adopts the block mode to analyze the hardware circuit design of the whole system, and gives the overall system block diagram, power supply circuit, clock DS1302 circuit, beep circuit, infrared receiving circuit, motor control circuit, and display circuit, respectively. The circuit design is described in detail. Then, it describes the writing ideas of the software, which also adopts the block mode, and writes the infrared decoding program, the clock chip DS1302 control program, the LCD liquid crystal display program, and the remote control program. The block diagram of each module is drawn. , which looks obvious at a glance. <br>Finally, through simulation debugging, the design of clock, manual opening and closing curtains, automatic opening and closing curtains and other control aspects basically achieved the expected purpose. Of course, the system still needs continuous improvement and improvement in the design of some details. <br>Keywords: clock chip, microcontroller, infrared, curtain.
正在翻译中..