智能窗帘控制系统设计-最新版

  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

广西科技大学(筹)

毕业设计(论文)说明书课题名称家居推拉窗

及窗帘智能控制系统的设计

院别电气与信息工程学院

专业自动化

班级 082

学号 ************

姓名

指导教师

2012年 6 月 3 日

摘要

本文首先介绍了智能家居的基本知识及其应用前景,进而阐明了开发作为智能家居中一个很重要部分—红外线遥控推拉窗及窗帘的控制意义,随后着重介绍了开发单片机的红外线遥控智能控制系统设计所用到的集成芯片AT89C52、DS1302芯片、红外线发射接收器等硬件的结构原理。本文采用分块的模式,对整个系统的硬件电路设计进行分析,分别给出了系统总体框图、电源电路、时钟DS1302电路、红外线接收电路、电机控制电路、显示电路,下雨传感器电路、并对相应电路设计进行了相关的阐述。随后讲述了软件的编写思路,也是采用分块的模式,分别写出了红外线解码程序、时钟芯片DS1302控制程序、LCD液晶显示程序、遥控控制程序的编写思路,每一模块都画出了其方框图,看起来一目了然。

最后通过仿真调试,时钟,手动开关窗帘,自动开关窗帘等控制方面的设计上基本达到了预期目的。当然,该系统在一些细节的设计上还需要不断的完善和改进。

关键词:时钟芯片;智能控制;红外线;AT89C52;传感器

Abstract

This paper first introduced the basic knowledge of the smart home and its application prospect, thus illustrating the development as wisdom can household a very important part of the curtain, automatic infrared remote control significance. Then mainly introduces development single-chip microcomputer control system of infrared remote control curtain use AT89C52 integrated chips, DS1302 chip, infrared emission receiver and the structure of the hardware principle. In this article, the block model, the whole system hardware circuit design is analyzed, and the system are respectively the overall frame, power supply circuit, the clock DS1302 circuit, infrared receiver circuits, motor control circuit, show circuit, rain sensor circuit, and to the corresponding circuit design and the correlation of exposition. Then the writing of the ideas about software, is also the separate block of models, including the decoding process, Write the decoding process of infrared ray respectively, the clock chip DS1302 control procedures, LCD display program, remote control of control program writing ideas, each module are draw the charts, looks at a glance.

Finally, the simulation results debugging, clock, the switch curtain, automatic switch control aspects such as the curtain on the design of basic the expected purpose is reached. Of course, this system in some of the detail of the design also need to have been the perfect and improve. Keywords: the clock chip;Intelligent control;infrared;AT89C52;sensor

目录

1 绪论 (1)

1.1 课题背景 (1)

1.2 国内外概况 (1)

1.3 课题的研究工作 (2)

2 方案论证 (4)

2.1 方案选取 (4)

3 电路及执行机构设计 (6)

3.1 系统设计框图 (6)

3.2 微控制器系统设计 (6)

3.2.1单片机AT89C52RC (6)

3.2.2时钟电路 (8)

3.2.3复位电路 (10)

3.2.4存储器件AT24C02 (11)

3.2.5红外线接收模块 (13)

3.2.6显示模块 (14)

3.2.7电机驱动模块 (15)

3.3 执行机构的设计 (17)

3.3.1电源驱动电路 (17)

3.3.2片外时钟电路 (18)

3.3.3数据A/D转换器 (18)

3.3.4传感器电路 (19)

4 软件设计 (21)

4.1 系统软件设计框图如下 (21)

4.2 红外线解码 (21)

4.3 控制器DS1302的控制程序 (22)

4.4 存储器AT24C02控制程序 (25)

4.5 传感器控制程序 (28)

4.6 遥控器控制程序 (29)

4.7 中断控制程序 (30)

4.8 电机驱动程序 (31)

结束语 (32)

致谢 (33)

参考文献 (34)

相关文档
最新文档