摘要:随着科技的发展,智能家电器逐渐走进普通家庭,大家对智能家电的依赖性与要求也日益高涨。出于安全性与适性化的考虑,智能定时插座需要实现对洗衣机、电视机、台灯、空调、风扇、手机等家用电器进行定时开关处理。
市面上的插座种类繁多,但大多功能单一,仅能实现为外接电器供电的目的。实现普通家电智能定时控制是本设计的初衷。为了弥补普通插座功能上的不足之处,本文主要向大家介绍如何设计制作一种智能定时插座,使其在满足为家用电器供电的同时,又能让使用者自主控制供电时间,使外接电器可以按照设定的时间规律工作。这样的定时插座即能做到节能环保,又可以保障家庭用电安全,可以惠利千万家庭。
该论文有图17幅、表3张,参考文献20篇。
关键词:单片机 定时 插座 LCD1602
Intelligent timing socket based on single Chip Microcomputer
Abstract:With the rapid development of technology, smart home appliances have gradually entered ordinary families, and everyone’s dependence and requirements on smart home appliances are also rising. For the sake of security and adaptability, smart timing sockets need to realize the time switch processing of household appliances such as washing machines, televisions, desk lamps, air conditioners, fans, and mobile phones.
There are a wide variety of outlets on the market, but they have single function and can only provide power for external appliances. The realization of intelligent home appliance timing control is the original intention of this design. In order to make up for the inadequacies of ordinary socket functions, this article mainly introduces how to design and make a smart timer socket so that it can satisfy the need of power supply for home appliances while enabling users to control the power supply time independently, so that external devices can work according to the set time law. Such a timing socket can achieve energy saving and environmental protection, and can also protect the safety of household electricity, and can benefit millions of families.
The paper has 17 figures、3 sheets and 20 references.
Key Words: MCU timing socket LCD1602
目录
摘 要 I
Abstract II
目录 III
1绪论 1
1.1 选题背景 1
1.2 选题的目的及意义 1
2 定时插座系统方案选择 3
2.1 单片机芯片的选择方案及论证 3
2.2 显示模块的选择方案及论证 3
2.3 时钟模块的选择方案及论证 4
2.4 按键的选择 4
3 系统硬件电路设计 5
3.1 系统设计方案 5
3.2 系统硬件设计原理 6
3.3 小结 11
4 定时插座系统软件设计 13
4.1 系统流程图 13
4.2 DS1302时钟程序编写 14
4.3 LCD液晶显示程序编写 15
4.4 主程序编写 16
5 结论