基于单片机的定时开关插座设计
毕业设计(论文)
2015 年 06 月
摘要
随着生活节奏的加快,生活水平的提高,节能、智能的观念深入人心,出于节能的目的设计出一款定时开关插座。本次毕业设计设计出一款定时开关插座,插座可通过按键或遥控器进行定时开关。本次设计由220vAC转5vDC电源模块,DS1302计时模块,STC89C52单片机模块,LCD1602显示模块,继电器模块,蜂鸣器模块,按键模块和红外遥控模块组成。本次设计使用STC89C52单片机作为驱动芯片,使用DS1302计时模块提供精确的计时,通过LCD1602显示模块显示年月日时分秒和操作界面,使用继电器控制插座电流的通断,本设计还可以通过遥控器进行定时设置。本文从硬件设计,软件流程的设计和电路的仿真与调试等方面介绍了定时开关插座的设计过程,实现了定时插座的功能。最后介绍了设计过程中出现的问题和总结。
关键词: STC89C52单片机;定时开关;红外遥控
I
摘要
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 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 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 designin
基于单片机的定时开关插座设计 来自淘豆网m.daumloan.com转载请标明出处.