毕业设计-基于AT89S52单片机的智能家居设计

上传人:飞*** 文档编号:3107007 上传时间:2017-07-30 格式:DOC 页数:46 大小:6.32MB
返回 下载 相关 举报
毕业设计-基于AT89S52单片机的智能家居设计_第1页
第1页 / 共46页
毕业设计-基于AT89S52单片机的智能家居设计_第2页
第2页 / 共46页
毕业设计-基于AT89S52单片机的智能家居设计_第3页
第3页 / 共46页
毕业设计-基于AT89S52单片机的智能家居设计_第4页
第4页 / 共46页
毕业设计-基于AT89S52单片机的智能家居设计_第5页
第5页 / 共46页
点击查看更多>>
资源描述

《毕业设计-基于AT89S52单片机的智能家居设计》由会员分享,可在线阅读,更多相关《毕业设计-基于AT89S52单片机的智能家居设计(46页珍藏版)》请在金锄头文库上搜索。

1、1摘要随着国民经济和科学技术水平的提高,特别是计算机技术、通信技术、网络技术、控制技术的迅猛发展与提高,促使家庭实现了现代化、居住环境舒适化、安全化。这些高科技已经影响到人们生活的方方面面,改变了人们生活习惯,提高了人们生活质量,智能家居就是在这种形势下应运而生。而且随着作为智能家居控制器的电子产品向智能化和微型化的不断发展,单片机已经成为电子产品研制和开发中首先选择的控制器。基于以上思路,使用 ATMEL 公司的 AT89S52 实现基于单片机的智能家居的设计,其主要具有如下功能:(1) 红外遥控选择功能,按下相应的按键选择进入相应的功能。(2) 密码锁设置有 6 位密码,密码通过矩阵键盘输

2、入,输入过程中发现错误可进行逐个删除的操作。若密码正确,则 LED 液晶屏显示锁开,否则会有错误提示,三次输入错误则锁关且伴随蜂鸣器发出警告。此外,在密码正确的情况下可以进行更改密码操作。(3) 步进电机实现正转和反转运行,并延时 3 秒。(4) 温度感应装置,可以在数码管显示当前温度。当超过一定温度时,蜂鸣器发出声响予以警告。本次设计以 ATMEL 公司的 单片机 AT89S52 为核心控制器件,选用上海浩豚电子科技公司开发的 MINI80 开发板模拟智能家居环境。同时使用 Kevil uVision3 软件来编写单片机的 C 语言程序,继而完成软件调试,然后下载到开发板进行硬件调试。最后联

3、合软、硬件调试电路板,完成本次毕业设计。关键词:智能家居,单片机,AT89S52,红外遥控2ABSTRACTAs the national economy and raise the level of science and technology, especially the rapid development of the computer technology, communication technology, network technology, control technology and the improvement of the family to realize the

4、modernization, to living environment comfortable change, secure. These high-tech has affect all aspects of peoples lives, changed people living habits, improved people life quality, Smart Home is also this situation arises at the historic moment. And as intelligent household controller electronic pr

5、oducts to intelligent and the continuous development of miniaturization, micro control unit(MCU) have become the first choice for controllers in the development of electronic products.Base on the thinking of Smart Home, this design uses AT89S52 of ATMEL company. to carry out the design of the Smart

6、Home, its main function as follow:1. The corresponding function of IR remote control. when press the button can enter relevant function respectively. 2. Code lock is set six passwords, and passwords are input through the keyboard. When found errors in the process of iuputing,you can run a operation

7、of deleting each password. If the correct password, then LCD screen display the lock open, otherwise there will be error.And three times relisted and input errors are locked with buzzer warned. In addition, in the correct, it can change the password . 3. Step motor can undertake are turning and reve

8、rse, and delay three seconds. 4. Temperature sensing device, can be in digital tube display the current temperature. When more than a certain temperature ,it alarms to buzzer tips. This design selects AT89S52 of ATMEL company and use MINI80 development board of Shanghai HaoTun electronic technology

9、development company as environment simulation of the Smart Home and compile with software of keil uVision3. And then dowanload the program to the development board. Last, test the circuit board withed the software and hardware to finish the design.KEY WORDS:Smart Home, MCU,AT89S52, IR RemoteII目 录第 1 章 绪论 .1第 2 章 智能家居系统总体设计 .22.1 系统设计任务和要求 .22.2 课题分析 .22.3 系统可行性分析 .22.4 设计原理 .42.5 系统组成 .5第 3 章 智能家居系统的硬件电路设计 .63.1 单片机 AT89S52 简介 .63.2 红外遥控简介 .83.3 44 矩阵键盘 .103.4 步进电机 .113.5 LCD1602 显示器 .133.6 DS18B20 数字温度传感器 .163.7 数码管显示电路 .193.8 复位电路 .203.9 振荡电路 .213.10 蜂鸣器 .

展开阅读全文
相关资源
相关搜索

当前位置:首页 > 学术论文 > 毕业论文

电脑版 |金锄头文库版权所有
经营许可证:蜀ICP备13022795号 | 川公网安备 51140202000112号