1 / 60
文档名称:

毕业设计(论文)-基于单片机的智能窗帘控制器的设计.doc

格式:doc   页数:60
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

毕业设计(论文)-基于单片机的智能窗帘控制器的设计.doc

上传人:钻石文档库 2013/12/2 文件大小:0 KB

下载得到文件列表

毕业设计(论文)-基于单片机的智能窗帘控制器的设计.doc

文档介绍

文档介绍:毕业设计(论文)
题目: 基于单片机的智能窗帘控制器的设计
系别: 信息与控制学院
专业: 测控技术与仪器
学生姓名: 闫圣坤
指导教师: 耿欣
2011年6月15日
摘要
本文主要阐述了智能窗帘控制器的设计过程。本设计采用AT89C51单片机为控制核心,介绍了基于单片机的光控窗帘系统,主要从硬件结构原理及软件编程方面进行讲解。硬件采用分块的模式,对整个系统的电路设计进行分析,分别给出了系统整体框图、显示电路、光电开关电路、系统主控模块、电源转换电路、保护电路等相关电路;随后讲述了软件的编写过程,也是采用了分块的模式,每一模块都画出了相应的流程图。
本文利用P3口的特殊功能与P1口的空闲模式和掉电模式,根据其不同控制模式,实现半自动控制、自动控制、定时控制的相互转换,智能的控制窗帘动作。通过调试,时钟控制、手动开关窗帘、自动开关窗帘等控制方面的设计基本达到了预期效果,具有较强的实用价值。
关键词:单片机;智能窗帘;光电开关;步进电机
Abstract
This paper describes the design process of intelligent curtain controller. This design uses AT89C51 microcontroller as the control, introduce microcontroller-based optical control curtain system, the main structural principle of the hardware and software programming to explain. 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 related 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, the mouth of the special functions and P3 P1 port idle mode and power-down mode, according to their different modes, to achieve semi-automatic control, automatic control, timing control 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; photoelectric switch; stepping motor
目录
1 绪论 1
研究目的和意义 1
国内外发展现状 2
基本内容及章节安排 3
2 总体方案设计 4
控制器智能项目 4
系统总体结构规划 5
3 系统硬件设计 6
89C51单片机及相关电路 6
晶振电路 6
复位电路 7
时钟电路 8
电源电路 9
步进电机 10
键盘/显示接口电路 12
传感器 14
4 系统软件设计 16
主程序软件设计 16
主要功能子程序设计 17
步进电机程序设计 17
显示程序 17
键盘程序