I摘要生活中插座的应用极其普遍,家用电器待机损耗,造成了电能的浪费。此论文论述和分析了当今社会中插座的发展历史、现状,比较当前普通的插座的不足,提出新的设计方案和解决方法——基于WiFi的智能电源插座设计。过去,插座只是普通的连接器件,如今转变成为了拥有独立操作系统的新型智能设备。以往出门在外无法掌控家里的电器工作,如今可以通过手机APP控制WiFi智能插座让家电独立完成工作,给生活带来了许多的便利。关键词:WiFi;智能插座;远程控制IIAbstractTheuseofsocketinlifeisverycommon,householdappliancesstandbyloss,resultinginawasteofenergy.Thispaperdiscussesandanalyzesthedevelopmenthistoryandcurrentstatusofthesocketintoday'ssociety,andcomparesthedisadvantagesofthecurrentcommonsocket,andputsforwardanewdesignschemeandsolution.Inthepast,thesocketisjustacommonconnectiondevice,andnowithaschangedintoanewtypeofintelligentequipmentwithanindependentoperatingsystem.Inthepasttogoouthomecannotcontroltheworkofthehome,andnowcanbecontrolledbymobileAPP,WiFismartsockettoallowtheappliancetocompletetheworkindependently,tobringalotofconveniencetolife.Keywords:WiFi;Smartsocket;RemotecontrolIII目录摘要...................................................................................IAbstract.............................................................................II目录................................................................................III第1章绪论......................................................................11.1研究意义................................................................................11.2发展趋势................................................................................11.3本设计的市场前景................................................................2第2章系统方案设计及分析............................................32.1智能WiFi插座的设计方案..................................................32.2现阶段智能插座控制方式对比............................................32.3智能WiFi插座功能简介......................................................42.4工作原理框图........................................................................5第3章智能WiFi插座硬件设计......................................63.1主控部分................................................................................63.25V变压模块.........................................................................93.3继电器模块..........................................................................11第4章实物制作..............................................................134.1焊接前处理..........................................................................134.2进行焊接..............................................................................134.3后续处理..............................................................................13第5章软件系统设计......................................................175.1搭建编译环境......................................................................175.2下载OpenWRT源码...........................................................195.3配置OpenWRT源码...........................................................205.4代码修改..............................................................................215.5编译固件..............................................................................235.6固件写入开发板.....................................................................