基于单片机的定时开关插座设计案例.docVIP

  • 34
  • 0
  • 约2.74万字
  • 约 54页
  • 2017-03-08 发布于湖北
  • 举报

基于单片机的定时开关插座设计案例.doc

毕业设计(论文) 题 目: 基于单片机的定时开关插座设计 学 院: 电子与信息工程 专 业: 电子信息工程 班 级: 电子1103 姓 名: 曹彬 指导老师: 褚御芝 起讫日期: 2015-3~2015-6 2015 年 06 月 摘要 随着生活节奏的加快,生活水平的提高,节能、智能的观念深入人心,出于节能的目的设计出一款定时开关插座。本次毕业设计设计出一款定时开关插座,插座可通过按键或遥控器进行定时开关。本次设计由220vAC转5vDC电源模块,DS1302计时模块,STC89C52单片机模块,LCD1602显示模块,继电器模块,蜂鸣器模块,按键模块和红外遥控模块组成。本次设计使用STC89C52单片机作为驱动芯片,使用DS1302计时模块提供精确的计时,通过LCD1602显示模块显示年月日时分秒和操作界面,使用继电器控制插座电流的通断,本设计还可以通过遥控器进行定时设置。本文从硬件设计,软件流程的设计和电路的仿真与调试等方面介绍了定时开关插座的设计过程,实现了定时插座的功能。最后介绍了设计过程中出现的问题和总结。 关键词: STC89C52单片机;定时开关;红外遥控 Abstract The perception of energy conservation and intelligent goes deep into families, with the life increasing and improving quickly,And we design timer socket for energy conservation. The design is the timer socket,And the main function of timer socket is that we time by key or IR Remote.The design consists of STC89C52,DS1302,LCD1602,220VAC to 5VDC power supply,buzzer,key,relay. The design’s driver microchip is STC89C52, The design uses the DS1302 to supply more accurate time,And the design uses LCD1602 to display the year,the month,the day,the hour,the minute,the second,and the operation interface.The design also uses the relay to control the on and off,And the timer socket can time by the remote control. In this paper, the design of the system was introduced through three aspects including the hardware modules, software flow pattern and circuit design and debugging. At the end of this paper, the problems happened during the process of designing the system was summarized. Keyword: STC89C52;the timer socket;IR Remote 目 录 摘要 I 目 录 III 第一章 绪论 1 1.1背景 1 1.2设计目标 1 1.3论文结构 2 第二章 硬件电路设计 3 2.1系统功能 3 2.2系统原理 3 2.3.1 STC89C52单片机模块 4 2.3.2 220VAC转5VDC电源模块 5 2.3.3 DS1302时钟模块 7 2.3.4 LCD1602显示模块 8 2.3.5继电器模块 8 2.3.6蜂鸣器模块 9 2.3.7按键模块 10 2.3.8红外遥控模块 11

文档评论(0)

1亿VIP精品文档

相关文档