1、摘 要 I 摘 要 目前,家庭居住环境的采光及避光问题主要采用的是手动开闭窗帘,手动开 闭不仅费力而且很多方面不够人性化,会对用户造成一定的困扰,本文设计的自 动窗帘控制系统可以解决这些问题。本文主要阐述了自动窗帘控制的设计过程。 以 AT89C52 单片机为控制核心,以光敏电阻和温度传感器为传感器件,以步进电 机为执行器件。在设计的同时对单片机的理论基础和外围扩展知识进行了比较 全面准备。硬件采用分块的模式,对整个系统的电路设计进行分析,分别给出了 系统整体框图、显示电路、检测电路、系统总控制模块、等相关电路;随后说明 系统软件的编写过程,同样采用的是分块的模式,且每一个模块都给出了相应的
2、流程图。 本设计利用单片机实现了半自动控制、自动控制、定时控制的相互转换,智 能的控制窗帘的动作。通过调试,手动开关窗帘、自动开关窗帘等控制方面的设 计基本达到了预期效果。具有较强的实用价值。 关键词:单片机;自动窗帘;步进电机;自动控制 新疆工程学院毕业设(论文) II Abstract III Abstract Now,according to the requirements of living environments. This paper describes the process of intelligent curtain controller. This design use
3、s AT89C52 microcontroller as the control, introduce microcontroller-based optical curtain curtain system, the main structural principle of the hardware and software programming to explain.In the design for monolithic integrated circuits, and peripheral to expand the basic the theories of knowledge w
4、as fairly comprehensive preparation.Block the model of hardware used, the circuit design of the entire system to analyze the overall block diagram of the system are given,display circuit,photoelectric switch circuit,system control module,power conversion circuits, protection circuits and other relat
5、ed circuit;then describes the software the preparation process, but also by the sub-block pattern,with each module to draw a corresponding flow chart. In this paper,use the AT89C52 microcontroller, according to their different modes, to achieve semi-automatic control, automatic control, timing contr
6、ol of the conversion and intelligent motion control curtains. Debugging by simulation, clock control, manual switch curtains,the curtains automatically switch the basic design of such control to achieve the desired effect,with a strong practical value. Key words:SCM;intelligent curtain;stepping motor;automatic control 新疆工程学院毕业设(论文) IV 目 录 V 目 录 摘 要. I Abstract III 1 绪论. - 1 - 1.1 课题的研究背景和历史意义. - 1 - 1.2 自动窗帘的发展现状及应用. - 2 - 1.3 研究内容. - 4 - 2 总体设计. - 5 - 2.1 拟定的几种方案. - 5 - 2.2 总体方案设计. - 7 - 2.2.1