文档详情

红外线遥控自动窗帘 课程设计.doc

发布:2018-01-25约2.85万字共43页下载文档
文本预览下载声明
摘 要 本文首先介绍了智能家居的基本知识及其应用前景,进而阐明了开发作为智能家居中一个很重要部分——红外线遥控自动窗帘的意义。随后着重介绍了开发单片机控制的红外线遥控窗帘系统所用到的集成芯片AT89C51、DS1302芯片、红外线发射接收器等硬件的结构原理。本文采用分块的模式,对整个系统的硬件电路设计进行分析,分别给出了系统总体框图、电源电路、时钟DS1302电路、鸣响电路、红外线接收电路、电机控制电路、显示电路,并对相应电路设计进行了相关的阐述。随后讲述了软件的编写思路,也是采用分块的模式,分别写出了红外线解码程序、时钟芯片DS1302控制程序、数码显示程序、遥控控制程序的编写思路,每一模块都画出了其方框图,看起来一目了然。 最后通过仿真调试,时钟,手动开关窗帘,自动开关窗帘等控制方面的设计上基本达到了预期目的。当然,该系统在一些细节的设计上还需要不断的完善和改进。 关键词: 时钟芯片,单片机,红外线,窗帘,控制,时钟 Abstract This text introduced the basic knowledge of the auto control furniture firstly, and then clarifying of an important part of the auto control furniture ------- the value of the auto control curtain system based on the infrared ray. Later on, this article mainly introduced theory about Micro controller、the chip DS1302、infrared ray remote control and so on ,which are used in hardware circuits. This article was divided into a lot of modes, and analyzed the hardware design of whole system, System diagram, power supply circuit, clock DS1302 circuit, loudspeaker circuit, infrared ray receive circuit, phone control circuit and show circuit which are provided by the hardware circuits .The software was also divided into many modes which describe the software design of whole system, system diagram, infrared ray decode procedure, clock DS1302 control procedure, number show procedure and remote control procedure .Diagram was drew in every part, so the frame is very clearly. Finally, the control design of clock、artificial switch curtain and automatic switch curtain could achieve expected goal by emulating and debugging. Of course, we need continue improve and modify of the system in detail. Keywords: Clock chip, Micro controller, Infrared ray, Curtain, Control, Clock 目 录 摘 要 I Abstract II 1 绪言 1 1.1课题背景 1 1.2国内外概况 1 1.3课题的研究工作 2 2 核心芯片结构原理介绍 4 2.1 中央控制器——AT89C2051 4 2.1.1 AT89C2051的特点 4 2.1.2 AT89C2051引脚功能 4 2.2 红外线发射码组成原理 5 2.2.1 红外线一体化接收头 5 2.2.2 红外线发射码组成 6 2.3 时钟芯片DS1302 7 2.3.1 DS1302的引脚排列及其内部结构 8 2.3.2 DS1302数据传输方式 9 3 硬件电路原理设计 10 3.1 电源部分 10 3
显示全部
相似文档