基于smarsnail开发板的温湿度摘要摘要:无线传感器网络(WirelessSensorNetwork,WSN)是由大量无处不在的,具有通信与计算能力的微小传感器节点密集布设在无人值守的监控区域而构成的能够根据环境自主完成指定任务的“智能”自治测控网络系统。大量传感器节点通过相互之间的分工协作,可实时感知、监测和采集分布区域内的监测对象或周围环境的信息。无线传感器网络有着与传统网络明显不同的技术要求,前者以数据为中心,后者以传输数据为目的。随着传感器网络技术的逐步发展,它的应用也越来越广泛,无线传感器网络也被要求有更小功耗,更低成本,以及更方便使用的性能,在这种情况下,smartsnail技术应运而生。smartsnail技术是一种短距离无线双向通信技术,该技术拥有协议简单、功耗低、组网能力强、网络容量大、时延短、安全、可靠及成本低等优点,具有路径选择、自动连结网络及自我恢复等功能。预计将在消费类电子设备、家庭智能化、工控、医用设备控制、农业自动化等领域获得广泛应用。本文首先介绍了无线传感器网络的基础知识和研究现状;然后深入分析了smartsnail协议,给出了各层的功能;之后,设计了smartsnail节点模块和温湿度传感模块,并在此硬件基础上设计了具有基本功能的smartsnail协议栈,同时提出了一种基于smartsnail的组网算法,通过扫描信道、建立网络和建立节点间的关联三个步骤构建了一个简单的网络层,实现了无线传感器组网功能;在此基础上本文设计一个小型的温度湿度监控网络系统;最后,对论文进行总结,提出今后的研究工作方向。关键字:smartsnail;温湿度传感器;无线通信;无线温湿度传感器系统AbstractAbstract:Wirelesssensornetworks(WirelessSensorNetwork,WSN)iscomposedofalargenumberofubiquitous,tinysensornodeshavetheabilitytocommunicatewiththeintensivecomputinglaidinthemonitoredareaunattendedconstitutedabletocompletetheassignedtasksindependentlyaccordingtotheenvironment"smart"autonomyandcontrolnetworksystem.Alargenumberofsensornodesthroughthedivisionoflaborbetweenthem,real-timesensing,monitoringandgatheringinformationonthedistributionareaoftheobjectorthesurroundingenvironment.Wirelesssensornetworksandtraditionalnetworkshavedistincttechnicalrequirements,theformerdata-centric,thelatterforthepurposeoftransferringdata.Withthegradualdevelopmentofsensornetworktechnology,itsapplicationsareincreasinglywidespread,wirelesssensornetworksarealsorequiredtohaveasmallerpowerconsumption,cost,andperformanceismoreconvenienttouse,inthiscase,smartsnailtechnologytobeshippedborn.Smartsnailtechnologyisashort-rangewirelesstwo-waycommunicationtechnologythathastheprotocolissimple,lowpowerconsumption,strongnetworkingcapabilities,networkcapacity,timeisshort,safe,reliableandlowcost,withapathselection,automaticlinknetworksandself-recoverycapabilities.Itisexpectedtobewidelyusedinconsumerelectronicdevices,intelligenthome,industrial,medicalequipmentcontrol,automation,andotherfieldsofagriculture.Thispaperintroducesthebasicknowledgeandresearchofwirelesssensornetworks;andin-depthanalysisofthesmartsnailprotocol,giventhefunctionofeachlayer;thendesignedsmartsnailnodemoduletemperatureandhumiditysensormodule,andisdesignedonthebasisofthishardwarethesmartsnailprotocolstackhasthebasicfunctions,whilenetworkingalgorithmisproposedbasedonsmartsnail,byscanningchannel,networkingandtheestablishmentofthreestepsassociatednodestobuildasimplenetworklayer,toachieveawirelesssensornetworkfunction;onthisbasis,wedesignasmalltemperatureandhumiditymonitoringnetworksystem;Finally,thepapersummarizestheproposedfutureresearchdirections.Keywords:smartsnail;WirelessTemperatureAndHumiditySeneorSystem;WirelessCommunication目...