多功能自动窗帘控制系统设计
从古至今的家庭生活环境的光照问题的处理方案通常是手动开闭窗帘来解决的,手动开闭窗帘不但浪费了人的体力并且在许多方面都不够人性化,会对窗帘的使用用户形成使用体验的不理想。随着现代科学技术的发展以及电子和集成电路的逐渐成熟,出现了智能化的自动窗帘。该控制系统是以型号为STC89C52RC的单片机作为主要的控制中心,以光敏电阻等敏感元器件作为传感器件来感受外界的变化,以步进电机作为主要的驱动器件控制窗帘的开闭。硬件方面使用分模块的方式,对整个控制系统进行分析和设计,分别做出了系统整体框图、外部电源模块、显示电路模块、传感器检测电路模块、控制系统模块等相关的电路模块;之后写出系统的软件编程方面,也是采用的分块的设计形式,并且关于每个模块都有与之对应的流程图用来方便浏览程序。该系统设计主要实现了手动控制、自动控制、定时控制和红外遥控控制的功能,从而控制窗帘的开启和关闭。
关键词: 单片机/光敏电阻/步进电机/自动控制
In the modern society family living environment lighting problem solution is usually addressed by manual open and close the curtain, manual open and close the curtain of the physical strength not only waste the inhumane and in many ways, to use the user experience problems and inconvenience caused. With the development of modern science and technology and the gradual maturity of electronic and integrated circuits, intelligent automatic curtains have appeared. The control system based on model STC89C52RC MCU as the main control core, sensitive components such as photosensitive resistance as a sensor to feel the change of the outside world, driven by step motor as the main device to control the opening and closing of the curtain. Hardware block model is used to analyze and design the whole control system, respectively made an overall system block diagram, external power supply module, display circuit module, detection module, control system module and related circuit module; Then write the software programming aspect of the system, which is also the design method of block design, and there are corresponding flow charts for each module to facilitate the reading program. The system design mainly realizes the function of manual control, automatic control, timing control and infrared remote control, so as to control the opening and closing of the curtain.
KEY WORDS: single chip microcomputer,photoresistance,stepper motor, automatic control
目 录