独创性声明本人声明所呈交的毕业设计(论文)是本人在指导教师指导下进行的研究工作和取得的研究成果,除了文中特别加以引用标注之处外,论文中不包含其他人已经发表或撰写过的研究成果,没有伪造数据的行为。毕业设计(论文)作者签名:签字日期:年月日毕业设计(论文)版权使用授权书本毕业设计(论文)作者完全了解学校有关保留、使用论文的规定。同意学校保留并向有关管理部门或机构送交论文的复印件和电子版,允许论文被查阅和借阅。本人授权天津城市建设学院可以将本论文的全部或部分内容编入有关数据进行检索,可以采用影印、缩印或扫描等复制手段保存和汇编本论文。(保密的毕业设计(论文)在解密后适用本授权说明)毕业设计(论文)作者签名:指导教师签名:签字日期:年月日签字日期:年月日摘要近年来人们对生活环境智能、舒适、安全要求越来越高,并伴随着计算机技术、通信技术的发展,智能家居便应运而生。然而随着智能家居的发展,所需要环境监测数据变越来越多,这就需要一种安装便捷,实用并且价格合适产品出现。有线传感器系统需要大量的布线,安装费用高的同时维护也很不方便,并且在一些建筑物中无法布线。随着物联网的发展,zigbee渐渐走入人们的视野。Zigbee低功耗、低成本、低速率的短距离的优点。Zigbee组成的无线传感器网络具有维护成本低、组网灵活、部署方便的特点,仿佛是为了无线智能家具而生的。将zigbee技术与智能家具结合有很好的应用前景。基于此本文选择了zigbee无线通信技术来组件无线智能家具网络。本文组织结构如下:首先,分析了智能家居的发展、以及无线传感器网络的发展,结合智能楼宇的特点,讨论了无线传感器网络在智能家居中应用的优越性。然后介绍zigbee技术,深入研究ZigBee协议各个通信协议层的结构与功能,在此基础上,选择采用ZigBee星型网络拓扑模型实现智能楼宇传感器网络系统。然后介绍本设计采用的硬件,硬件采用无线龙ZigBee开发套件。ZigBee网络无线传感器节点采用低功耗微控制器CC2530,节点采用96X16液晶显示,USB接口,电池供电,具有经济、高效、方便、快捷、可视性、并可重复使用。软件方面,根据Zigbee联盟制定的标准,利用德州仪器(TI)推出业界领先的ZigBee协议栈(Z-Stack)。Z-Stack装载在一个基于IAR开发环境的工程里。经测试,本文的无线节点数据传输可靠,通讯距离满足需求;节点能量消耗少、估算电池使用寿命长,设计实现了能长时间工作的智能楼宇环境监测系统,具有智能化、低成本、低功耗的特点,同时对ZigBee的其它扩展应用具有参考价值。关键词:环境监测,智能楼宇,无线传感器网络,ZigBee,CC2530ABSTRACTInrecentyears,pepolemoreandmorelikealivingenvironmentmoresmart,comfortable,safetyandaccompaniedbythedevelopmentofcomputertechnology,communicationtechnology,intelligenthomehavecomeintobeing.Withthedevelopmentoftheintelligenthome,however,therequiredenvironmentalmonitoringdatabecomemoreandmore,whichrequiresaneasytoinstall,practical,andthepriceisrightproduct.Wiredsensorsystemrequiresalotofwiring,installationcosts,whilemaintenanceisalsoveryconvenient,andinsomebuildingscannotbewiring.WiththedevelopmentofInternetofThings,thezigbeegettingintopeople'svision.Zigbeeislowpower,lowcost,low-rateshort-range.Zigbeewirelesssensornetworkshavetomaintainalowcost,flexiblenetworking,andeasilydeployable,asifborntowirelesssmartfurniture.Zigbeetechnologyandintelligentfurniturecombinedwithagoodapplicationprospect.Then,thisarticleselectzigbeewirelesscommunicationtechnologytothecomponentsofwirelesssmartfurniturenetwork.Thepaperisorganizedasfollows:Firstofall,thisiarticledescribethedevelopmentofthesmarthome,aswellasthedevelopmentofwirelesssensornetworks.Thencombinedwiththecharacteristicsofintelligentbuildings,todiscusstheadvantagesofawirelesssensornetworkapplicationsinthesmarthome.Andthenintroducethezigbeetechnology,in-depthstudyofthestructureandfunctionofeachcommunicationprotocollayeroftheZigBeeprotocol,andonthisbasis,selecttheZigBeestarnetworktopologymodelofintelligentbuildingsensornetworksystem.Thendescribesthehardwareusedinthisdesign.HarwareusewirelessLongZigBeedevelopmentkit.WirelesssensornodesinaZigBeenetworkusinglow-powermicro-controllerCC2530nodes,using96X16LCD,USB,battery-powered.Thiskitsiseconomic,efficient,convenient,fast,visibility,andcanbereused.Software,accordingtothestandardsdevelopedbytheZigbeeAlliance,TexasInstruments(TI)introducedtheindustry-leadingZigBeeprotocolstack(Z-Stack).Z-StackisloadedinaworksbasedontheIARdevelopmentenvironment.Beentested,thisdesignandimplementationofintelligentbuildingenvironmentmonitoringsystemhasreliabledatatransmissionofthewirelessnodes,thecommunicationdistancetomeetthedemand;nodeenergyconsumptionislow,batterycanworklonghours.Thissystemhasintelligent,low-cost,lowpowerconsumptioncharacteristics.ZigBeeexpansionapplicationhasareferencevalueKeywords:environmentalmonitoring,intelligentbuildings,wirelesssensornetworks,ZigBee,CC2530目□□录本科毕业论文...................................................................................................错误!未定义书签。基于zigbee的智能家居系统设计................................................................错误!未定义书签。XXXXXXX学院....................................................................................................错误!未定义书签。ABSTRACT.....................................................................................................................................3第一章绪论.................................................................................................................................61.1课题研究背景...................................................................................................................61.2智能家居的国内外发展现状............................................................................................71.3基于zigbee的无线传感网络的起源与发展..................................................................71.4无线传感器网络和智能家居结合的必要性....................................................................91.5论文组织结构.............................................................................................................10第二章zigbee技术介绍.............................................................................................................112.1短距离无线通信技术对比.............................................................................................112.1.1zigbee的技术标准............................................................................................112.2.2短距离无线技术对比..........................................................................................112.1