摘要随着生活水平的提高,很多家用电器面临智能化需求,通过定时电源接口, 可以实现任何家用电器的定时开关控制,给生活带来便利,同时也节约能源。
本文介绍的是一款基于 STC89C52 设计的智能定时接口。该定时接口是以 STC89C52 单片机作为基础,时钟部分是使用时钟芯片 DS1302 实现 24 小时的时 钟走时以及日期和星期的显示,温度采集部分是使用 18B20 温度传感器实现, 显 示部分使用了 LCD1602。整个设计有五个操作按键,可以校对系统时间和日期、 设置定时控制等功能,有七个不同的 LED 指示灯,分别提示系统在不同的工作状 态,并且可以通过红外遥控来控制。73924
经过多次测试证实了该项设计的可行性,时间显示及温度显示都很准确,定 时功能也到了很好的体现。该设计大大的提高了接口的智能化,极大的延长家用 电器的使用寿命,同时也使我们的生活变得更加便捷。
毕业论文关键词:STC89C52 单片机 LCD1602 定时开关 红外遥控
Household Timing Power Interface
Abstract The smart timing interface can be used for rice cookers, television sets, cell phone charger, drinking fountains, electric vehicle charging and other appliances which required regular power supply。 Using timing interface not only can save time and energy but also bring more convenience to work and life。
The design introduces a plan of functional timing interface which based on STC89C52。 the timing interface is based on STC89C52, the clock section is used by DS1302 clock chip to achineve 24-hour clock and display date and week。Temperature acquisition section is used by 18B20 temperature sensor, and display portion is used by LCD1602。The whole design has five operating buttons and also have the functions of proofreading the system time and date and timing control。in the meanwhile, the design has seven different LED indicators to imform the system in different work conditions and also can be controlled by an infrared remote。
Have confirmed the fesibility of the design after several tests ,besides, the dispaly of time and temperature is precise,and the timing function is well represented。the design improve the function of interface and greatly extend the life of home appliance to make life more convenient
Key Words: MCU STC89C52 LCD1602 Infrared Remote Control
目录
摘 要 I
Abstract II
目录 III
1 绪论 1
1。1 设计目的与意义 1
2 系统设计方案 3
2。1 设计构思 3
2。2 设计实现的功能 3
3 主要元器件原理及其应用 4
3。1 单片机 STC89S52 介绍 4
3。2 继电器的简要介绍 5
3。3 DS1302 实时时钟芯片介绍 7
3。4 IR1838 红外接收头的介绍 10
3。5 DS18B20 温度传感器介绍 11
3。6 LCD1602 液晶显示屏介绍 12
STC89C52单片机家用定时电源接口+程序+电路图:http://www.youerw.com/tongxin/lunwen_84349.html