基于51单片机的智能家居系统设计

  • 格式:doc
  • 大小:1.41 MB
  • 文档页数:38

下载文档原格式

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

学号:

毕业设计(论文)

(2012届)

题目

学生

学院专业班级

校内指导教师专业技术职务

校外指导老师专业技术职务

基于51单片机的智能家居系统设计

摘要:智能家居作为家庭信息化的实现方式,已经成为社会信息化发展的重要组成部分,物联网因其巨大的应用前景,将是智能家居产业发展过程中一个比较现实的突破口,对智能家居的产业发展具有重大意义。本文基于容易实现,方便操作,贴近使用的设计理念,设计的智能家居系统是以AT89C51单片机为主控器件,两部分之间通过无线通讯模块进行数据交换。主机部分是系统的核心部分,通过键盘输入模块对系统温湿度的进行初始化设置,并利用LCD显示模块对室内状况进行实时显示,本部分还具有温湿度控制和煤气阀开关控制的功能,对于异常情况,系统可通过声光报警模块进行报警提示,实现对家居的智能控制。

关键词:传感器信号处理;键盘控制;报警

Based on 51 SCM intelligent household system design

Abstract: Intelligent home furnishing as family information realization way, has become an important part in the development of social informatization, network because of its great application prospect, is the intelligent home furnishing industry is in the process of developing a practical breakthrough, intelligent home furnishing industry development has great sense. In this paper, based on the easy implementation convenient operation, close to the use of the design concept, design of intelligent home furnishing system is based on AT89C51control device, the two part through a wireless communication module for data exchange. Host is the core part of the system, through the keyboard input module of the system of temperature and humidity for initialization, and the use of LCD display module on the indoor condition real-time display, this part also has a temperature and humidity control and gas valve switch control function, the abnormal condition, system through sound and light alarm module alarm, to achieve intelligent control of home furnishing.

Key words: Sensor signal processing, the keyboard control , alarm

目次

摘要............................................................................................................................. II 目次.......................................................................................................................... I V 1 绪论. (1)

1.1课题背景 (1)

1.2课题研究的意义;国内外研究现状和发展趋势 (1)

1.2.1 课题研究的意义 (1)

1.2.2 国内外研究现状和发展趋势 (1)

1.3论文的研究内容 (3)

2系统简介 (4)

2.1STC89C52单片机介绍 (4)

2.1.1 89C52 简介 (4)

2.1.2 89C52引脚 (4)

2.2DS1302时钟芯片 (6)

2.2.1 DS1302 简介 (6)

2.3DS18B20温度传感器 (7)

2.3.1 DS18B20的主要特征 (8)

2.3.2 DS18B20工作原理 (8)

2.41602LCD显示器 (8)

2.4.1 1602简介 (9)

2.5热释电红外传感器 (12)

3.系统软、硬件设计 (13)

3.1硬件设计 (13)

3.1.1 最小系统模块 (13)

3.1.2 红外接收模块 (14)

3.1.3 温度传感器模块 (14)

3. 1.4 LCD模块 (16)

3.1.5 键盘模块 (17)

3.1.6 DS1302时钟芯片 (17)

3.1.7 整体原理图 (19)

3.2.1 keil uVision2新建项目与编辑 (20)

3.2.2 keil uVision2编译与调试运行 (22)

3.2.3 软件设计程序流程图 (23)

3.2.4软件设计程序代码及分析 (26)

4.系统测试 (28)

4.1设计效果 (28)

4.2测试过程以及产生的误差 (28)

4.2.1测试过程 (28)