基于wifi的智能插座的设计

 2023-02-12 12:02

论文总字数:15746字

摘 要

随着电子产品的发展,插座的应用也极其普遍,家用电器长时间待机造成了损耗,也会产生电能的浪费。本次论文主要简述了如今插座的发展以及现状,对比市场插座的不足提出新的设计方案:基于wifi的智能插座设计。以前,插座只不过是一个普普通通的连接器件,而现在已经变成了可以包含独立操作系统的智能设备。在以前如果离开家就不能控制家里的电器运行,然而现在我们可以利用手机APP来控制插座使得家中的电器可以独立完成工作,这给人们的生活带来了极大的方便。

本设计的原理将目前家中的WiFi网络利用起来,在智能手机以及电脑等连接网络情况下,使用APP对指定的家电电源进行打开或者关闭操作。因为有了智能插座对家电电源的完美断电,使得电视、冰箱、热水器等功率大的电器在插座控制下即开即用,为每个家庭没有节约一大笔电费。

关键词:WiFi;智能插座;MSP430;ESP8266;

Abstract

With the development of electronic products, the application of sockets is also very common. The long standby time of household appliances results in loss and waste of electric energy. This paper mainly outlines the development and current situation of socket nowadays, and puts forward a new design scheme: intelligent socket design based on WiFi by comparing the shortcomings of market socket. In the past, sockets were just ordinary connectors, but now they have become smart devices that can contain independent operating systems. In the past, if we left home, we could not control the operation of home appliances. However, now we can use mobile phone APP to control the socket so that home appliances can work independently, which brings great convenience to people"s lives.

The principle of this design makes use of the WiFi network in the home at present. In the case of smart phones and computers connecting to the network, using APP to turn on or off the designated power supply of household appliances. Because of the perfect power cut of the smart socket, the high-power appliances such as TV, refrigerator, water heater can be turned on and off immediately under the control of the socket, which saves a large amount of electricity for every household.

Keywords: WIFI; smart sockets; MSP430; ESP8266;

目录

摘要 I

Abstract II

目录 III

第一章绪论 1

1.1 智能插座背景及意义 1

1.2发展趋势 1

1.3 市场前景 1

1.4 课题的主要内容及论文的安排 2

第二章 硬件部分介绍 3

2.1 ESP8266介绍 3

2.1.1 ESP8266引脚 3

2.1.2 工作模式 4

2.1.3 网络模式 4

2.1.4 控制模式 5

2.1.5 ESP8266远程控制过程 6

2.1.6 AT指令 6

2.2 Launchpad开发板介绍 9

2.2.1内部结构 10

2.2.2 操作模式 10

2.2.3 系统时钟 11

2.2.4控制系统模块 12

2.2.5 继电器控制模块 12

2.2.6 MSP430G2553连接 13

第三章 软件部分介绍 15

3.1 Code Composer Studio概述 15

3.1.1 CSS安装 15

3.1.2 CSS使用 18

3.2 程序编写 21

3.2.1主程序文件 21

3.2.2 ESP8266配置 21

3.2.3 时钟系统配置 23

3.2.4 串口的配置 23

第四章 调试 25

4.1 CSS调试工程 25

4.1.1编译 25

4.1.2 下载调试 25

4.2 烧录 26

4.3调试结果 26

第五章 结束语 28

致谢 29

参考文献 30

第一章绪论

1.1 智能插座背景及意义

由于当代科技的进步,人们对生活质量追求也在进一步的提升,同时互联网+和物联网概念的产品兴起,这使得智能家居的理念也开始深入人心。但是现在的现实却是一整套的智能家居系统费用高昂,且由于技术快速发展,产品很容易过时,后期改造也比较麻烦。因此,需要设计一个方案既不用破坏目前家里的装饰,也不用家庭网关,从而达到将原来不是智能的电器变成智能的电器的目的。这样通过WiFi智能插座就可以达到上述的要求,让人们轻松体验智能家居的便捷之处。

目前,在我国由插座引起的火灾占近十年的30%,位列失火原因的首位。家中的电子产品越来越多,带来便利的同时也伴随着危险。当外出时可能就是短短的几分钟就导致火灾的发生,所以能过智能插座就可以提前关闭电源开关防止火灾的发生。

所以本次设计具有以下意义,节约能源;消除安全隐患;延长家用电器的使用寿命;方便生活,提高生活质量。

1.2发展趋势

剩余内容已隐藏,请支付后下载全文,论文总字数:15746字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;