学位论文原创性声明本人郑重声明:所呈交的论文是本人在导师的指导下独立进行研究所取得的研究成果。除了文中特别加以标注引用的内容外,本论文不包括任何其他个人或集体已经发表或撰写的成果作品。本人完全意识到本声明的法律后果由本人承担。作者签名:年月日学位论文版权使用授权书本学位论文作者完全了解学校有关保障、使用学位论文的规定,同意学校保留并向有关学位论文管理部门或机构送交论文的复印件和电子版,允许论文被查阅和借阅。本人授权省级优秀学士论文评选机构将本学位论文的全部或部分内容编入有关数据进行检索,可以采用影印、缩印或扫描等复制手段保存和汇编本学位论文。本学位论文属于1、保密囗,在年解密后适用本授权书2、不保密囗。(请在以上相应方框内打“√”)作者签名:年月日导师签名:年月日华中科技大学毕业设计(论文)I摘要随着计算机技术与网络技术飞速发展,计算机已日渐趋于小、微型化,这为远程智能化的环境监控系统的出现提供了可能性。远程智能化监控系统不同于传统的人工监控,其有无需值守、成本低廉、监控准确的优势必将在未来得到广泛应用。该系统可以适用于工业生产、农业大棚、智能家居等诸多领域。本文对该智能环境监控系统的无线通信展开研究。目的是设计一种简单易用、传输可靠、速率较高的通信方式。不仅能够时间无线局域网内的通信,将各节点的数据汇聚到根节点,还可以与互联网上的终端通信,将本地采集的数据发送至云服务器。论文首先分析了课题研究的背景、意义和现状,分析了几种常见无线通信方式的特点及适用场景,并确定了Wi-Fi作为该系统的无线通信方式。接着介绍了Wi-Fi网络的拓扑结构、基本服务和简单的安全问题。根据Wi-Fi网络的特性设计出了智能环境监控系统的整体结构,各节点采用SAMD21单片机作为主控芯片,采用ESP8266作为Wi-Fi模块,最终实现微信公众号对环境温度的监控功能。对Wi-Fi模块控制程序的开发使用的是AT指令,并实现了Wi-Fi网络的多对一连接和温度数据的自动记录、存储。关键词:Wi-Fi通信;监测;UART;嵌入式技术华中科技大学毕业设计(论文)IIAbstractWiththerapiddevelopmentofcomputertechnologyandnetworktechnology,Computersarebecomingsmallerandsmaller.Thisprovidesthepossibilityfortheemergenceoftheremoteintelligentenvironmentalmonitoringsystem.Remoteintelligentmonitoringsystemisdifferentfromthetraditionalmanualmonitoringsystem,Ithastheadvantagesofnoneedtobeonduty,lowcost,accuratemonitoringwillbewidelyusedinthefuture.Thissystemcanbeappliedtoindustrialproduction,agriculturalgreenhouse,smarthome,andmanyotherfields.Inthispaper,thewirelesscommunicationoftheintelligentenvironmentalmonitoringsystemisstudied.Thepurposeistodesignasimpleandeasytouse,reliabletransmission,highrateofcommunication.NotonlycanachievewirelessLANcommunication,whichcantransmiteachnode’sdatatotherootnode,butalsocancommuicatewithterminalontheinternet,transmitlocaldatatocloudserver.Atfirst,thebackground,significanceandcurrentsituationoftheresearchareanalyzed.Thecharacteristicsandapplicationscenariosofseveralcommonwirelesscommunicationmodesareanalyzed,anddeterminetheWi-Fiasthesystemofwirelesscommunication.Then,thetopologystructure,basicserviceandsimplesecurityofWi-Finetworkareintroduced.AccordingtothecharacteristicofWi-Finetwork,thewholestructureofintelligentenvironmentmonitoringsystemisdesigned,EachnodeusesSAMD21microcontrollerasthemaincontrolchip,usingESP8266astheWi-Fimodule.FinallyrealizedthemonitoringfunctionofthepublicnumberofWeChattotheenvironmenttemperature.usingtheATcommandsforthedevelopmentofthecontrolprogramofWiFimodule.Beside,TheautomaticrecordingandstorageofthetemperaturedataandWi-Finetwork'smultitooneconnectionisrealizeKeyWords:Wi-Fi;Monitoring;UART;Embeddedtechnology华中科技大学毕业设计(论文)目录摘要............................................................................................................................................ⅠAbstract......................................................................................................................................Ⅱ1绪论......................................................................................................................................11.1课题研究背景与意义..........................................................................................................11.2课题研究现状......................................................................................................................11.3无线通信方式的选择..........................................................................................................21.4Wi-Fi通信及其发展趋势...................................................................................................21.5本论文主要内容······················································································42相关技术介绍·························································································62.1Wi-Fi网络基本拓扑结构···········································································62.2Wi-Fi的基本服务介绍··············································································82.3Wi-Fi安全技术的发展··············································································92.4本章小结······························································································103远程多点温度采集系统总体设计·······························································113.1系统功能需求························································································113.2系统架构分析························································································123.3硬件模块选型························································································133.4Wi-Fi模块的串口工作模式·······································································173.5本章小结······························································································194基于SAMD21的Wi-Fi控制程序开发·······················································214.1MCU与Wi-Fi通信接口选择····································································214.2Wi-Fi模块通信接口协议··········································································224.3Wi-Fi模块控制程序设计··········································································234.4Wi-Fi网络的多连接与历史数据的存储·····················································