智能插座毕业设计

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

(2015届)

本科毕业设计(论文)资料

题目名称:智能插座

学院(部):理学院

专业:电子信息科学与技术

学生姓名:

班级:学号:

指导教师:职称:讲师最终评定成绩:

工业大学教务处

工业大学

本科毕业论文(设计)

诚信声明

本人重声明:所呈交的毕业论文(设计),题目《基于单片机的智能插座的设计》是本人在指导教师的指导下,进行研究工作所取得的成果。对本文的研究作出重要贡献的个人和集体,均已在文章以明确方式注明。除此之外,本论文(设计)不包含任何其他个人或集体已经发表或撰写过的作品成果。本人完全意识到本声明应承担的责任。

作者签名:

日期:年

摘要

家电长期的待机不仅引起巨大的能源浪费,而且使得排插的负荷越来越大,带来了非常严重的安全隐患。同时,电器的使用寿命大大缩短。本设计制作了具有定时及智能感应功能的插座。其不仅你不了现实生活中普通插座功能的不足,还为人们的生活带来了极大的便捷。

本系统由单片机最小系统、QC12864B液晶屏、HC-SR501及继电器等几个模块组成。通过外设键盘对与继电器相连的排插进行定时、延时设置,使其可以按照我们的意愿在相应的时间通断。或由HC-SR501热释电红外传感器模块,当感应到生物发出的红外线而输出电信号进而触发SCT89C51单片机的外部中断引脚,自动控制排插的通断。由LED指示灯指示工作模式并将工作数据通过LCD液晶屏显示。

软件设计使用keil uvision4,各个功能的选择菜单界面通过QC12864B液晶屏显示,配合按键实现多各个功能之间的选择与切换,使该系统能够有个友好的界面。根据需要实现的功能用C语言完成底层驱动和各子系统程序的编写和调试。使外接继电器可以按照一定的规律工作,即可以达到智能控制的目的,又在很大程度上起到节能的作用。

关键词:STC89C52;排插;SH-RF501;DS1302

ABSTRACT

Electrical appliances on standby for a long time not only cause huge waste of energy, and make the strip load more and more big, has brought the serious security hidden danger.At the same time, greatly reduces the service life of the appliance.This design which has the function of timing and intelligent induction socket.Its not only you are not the real life of ordinary socket function is insufficient, also brought great convenience for people's life.

This system by single chip microcomputer minimum system, QC12864B LCD screen, HC - SR501 and relay of several modules.By a peripheral keyboard connected to the relay platooninsert timing, delay set, can make it according to our wishes in the corresponding time on and off.Or by the HC - SR501 pyroelectric infrared sensor module, when sensing infrared and output electric signal from the biological triggers the SCT89C51 MCU external interrupt pin, automatic control strip on and off.Working mode and directed by the LED indicator light will work data through the LCD screen display.

Software design using keil uvision4, each function selection menu interface by QC12864B LCD screen display, cooperate with the keys to achieve more choice and switch between each function, makes the system has a friendly interface.According to the function of the need to implement in C language to complete the underlying drive and each subsystem writing and debugging of the program.Make external relays can work according to certain rules, which can achieve the goal of intelligent control, and to a great extent, have the effect of energy saving.

Key words: SCTC89C52;socket;SH-RF501;DS1302

目录

第1章绪论 (1)

1.1设计的目的和意义 (1)

1.2国外研究现状 (1)

1.3论文主要容与思路 (2)

第2章总体方案 (3)

第3章硬件电路设计 (5)

3.1智能排插的工作原理 (5)

3.2硬件简介 (5)

3.2.1STC89C52单片机 (5)

3.2.2QC12864B液晶屏 (6)

3.2.3DS1302时钟芯片 (8)

3.2.4BISS0001红外热释电处理芯片 (9)

3.2.5继电器模块 (10)

3.2.6按键模块 (10)

3.3系统的硬件电路设计原理图 (10)

3.3.1STC89C52最小系统电路图 (10)

3.3.2QC12864B液晶显示电路 (11)

3.3.3DS1302时钟电路 (11)

3.3.4HC-SR501模块电路 (11)

3.3.5继电器电路 (12)

3.3.6按键电路 (12)

3.3.7系统原理图 (13)

第4章系统软件设计 (14)

4.1系统软件设计流程 (14)

4.2模块程序设计 (14)

4.2.1LCD12864液晶驱动程序设计 (14)

4.2.2DS1302驱动程序设计 (16)

4.2.3按键程序设计 (18)

第5章实物制作与结果分析 (19)

5.1实物制作 (19)

5.2加载源程序后的实物结果及分析 (20)

第6章总结与展望 (22)

6.1总结 (22)

6.2展望 (22)

参考文献 (23)

致 (24)

相关文档
最新文档