智能家居定时开关设计设计
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
南京工程学院
自动化学院
本科毕业设计(论文)
题目:智能家居定时开关设计
专业:自动化(数控技术)
班级:学号:
学生姓名:
指导教师:
起迄日期:
设计地点:
2012年5 月
Graduation Design (Thesis)
The Design of Timing Switch
of Smart Home
By
Supervised by
Senior experimentalist
School of Automation Nanjing Institute of Technology
MAY, 2012
摘要
论文设计完成的智能家居定时开关控制系统主要通过AT89S52单片机做为主控器实现,介绍了智能家居定时开关控制系统的结构、功能和特点。
家电控制的智能化已成为社会需求的新趋势。基于微机控制系统的智能化家电使我们的生活更加便利。而是否能够实现远程家电的开关控制,又是否能够随时查询电器的工作状况,或者能够事先对家电的定时开关做出控制,又成为越来越受关注的研究方向。
本论文重点介绍了以AT89S52单片机为主控制器的输入、输出硬件接口电路的设计,并对其特点做出阐述,并结合控制系统的功能要求,对软件设计的程序流程及实现的基本过程进行了说明。
该设计基本功能和组成包括:以AT89S52单片机作为中央处理器,组成最小系统;修改和读取串行时钟;具有按键电路;具有手动和自动控制功能,控制四路继电器开关通断,通断状态由指示灯指示;具有与计算机通信的串行接口设计时钟电路,能修改和读出实时时间;具有串行通信接口;具有手动、自动控制电路及继电器开关控制电路;具有单片机程序下载接口和设计系统典型测试点电平或电压输出接口。
关键词:智能家居;定时开关;AT89S52
ABSTRACT
This paper completed the design of the intelligent home furnishing timing switch control system mainly through the AT89S52 microcontroller as the main control unit, intelligent home furnishing timing switch control system structure, function and characteristic.
Household appliances intelligent control has become the new trend of social demand. Microcomputer based control system for intelligent home appliance makes our life more convenient. But whether can realize remote switch control, and whether can inquire electrical work, or to advance to the appliance timer switch to control, and has become increasingly concerned about the research direction.
This paper introduces the AT89S52MCU as the main controller input, output hardware interface circuit design and its characteristics, explain, and the combination of the functional requirement of the control system, the software design process and the realization of the basic process explained.
The design includes: the basic functions and composition with AT89S52microcontroller as the central processor, consisting of minimal system; modify and read the serial clock; a key circuit; having a manual and automatic control function, control four relay switch, on-off state by the indicator light; having a computer with the serial communication interface design of clock circuit, can modification and readout time; with serial communication interface; having a manual, automatic control circuit and a relay switch control circuit; single chip program download interface and design system of typical test point level or a voltage output interface.
Key words: smart home;timing switch; AT89S52;
目录
第一章绪论 (1)
1.1 引言 (1)
1.2 课题背景与意义 (2)
1.3 智能家居定时开关系统完成的功能 (2)
1.4 本文的结构 (2)
第二章单片机AT89S52的性能介绍 (4)
2.1 单片机的概述 (4)
2.2 单片机AT89S52简介 (5)
2.2.1 AT89S52概述 (5)
2.2.2 功能简述 (5)
2.2.3 管脚说明 (6)
2.2.4 AT89S52单片机主要特征 (9)
第三章系统硬件设计 (10)
3.1 系统总体设计 (10)
3.2 单片机最小系统设计 (11)
3.2.1 复位电路 (11)
3.2.2 晶振电路 (12)
3.2.3 最小系统 (12)