您好,欢迎访问三七文档
当前位置:首页 > 行业资料 > 交通运输 > 基于Zigbee的智能开关的设计与实现
I基于Zigbee的智能开关的设计与实现摘要近年来,智能家居是不断被人们提到的热点话题,其能够提升家居的安全性和舒适性,同时为用户提供了生活便利。除了其出色的用户体验,智能家居还有助于实现居住环境的节能环保,因此成为未来家居的发展方向。本文首先提出了一种基于Zigbee技术的智能家居系统,该系统由用户手机、网络服务器、网关和若干功能性子节点组成。在此系统架构下,本文针对功能性子节点中的智能开关节点部分,从其硬件电路和软件程序两个角度分析了该类节点实现自动联网、断线自检、无线通讯等功能的原理,并设计了一个具有以上功能的智能开关节点设备。通过对节点的调试,该设备成功实现了用户对智能开关的本地、远程控制。该智能开关节点便于安装、使用简单、出现故障后能够完成自检,经过长期的测试证明,该节点在整个智能开关系统中能够正常稳定地运行。关键词:智能家居远程控制ZigbeeCC2530IIDesignandImplementationofSmartSwitchBasedonZigbeeAbstractSmartHomeisahottopicinrecentyears,whichcanenhancehomesecurityandcomfort,whileprovidingconvenientlife.Inadditiontoitsexcellentuserexperience,smarthomealsocontributestoenergysavingandenvironmentalprotectionofthelivingenvironment,thusbecomingthefuturedirectionofhome.ThispaperpresentsatechniquebasedonZigbeesmarthomesystem,thesystemconsistsofmobilephoneusers,networkservers,gateways,andseveralfunctionaltempernodes.Inthissystemarchitecture,thispaperfunctiontemperintelligentswitchingnodesection,fromhardwareandsoftwareprogramanalyzestheclasstwonodenetworkautomatically,breakingtheprincipleofself-test,wirelesscommunicationsandotherfunctions,anddesignoftheintelligentswitchingnodeapparatushavingtheabovefunctions.Bynodedebugging,thesuccessfulimplementationofthelocaldevice,remotecontroluserintelligentswitches.Theintelligentswitchnodeiseasytoinstall,simpletouse,afterafailuretocompletetheself-test,afteralongtestprovedthatthenodecanbenormalandstableoperationthroughouttheintelligentswitchsystem.KeyWords:SmartHome;Long-distanceControl;Zigbee;CC2530III目录1.绪论··········································································································11.1智能家居背景与意义················································································11.2智能家居研究现状···················································································11.3智能开关概述·························································································22.系统方案设计····························································································42.1课题设计目标·························································································42.2课题设计方案·························································································52.3Zigbee网络概述·······················································································62.4论文章节安排·························································································63.硬件电路设计····························································································83.1微控制器最小系统设计·············································································83.2触摸检测电路设计·················································································113.3继电器控制电路设计··············································································113.4电源转换电路设计·················································································124.软件程序设计··························································································144.1程序设计方案·······················································································144.2CC2530程序架构···················································································144.2.1Z-stack协议栈··················································································154.2.2操作系统抽象层···············································································154.3底层程序设计·······················································································164.3.1设备组网入网··················································································164.3.2串口配置························································································164.4应用层程序设计·····················································································184.4.1通信协议设计··················································································184.4.2远程控制程序设计············································································204.4.3本地控制程序设计············································································20IV4.4.4用户查询与通信检查程序设计·····························································215.调试与分析·····························································································225.1调试方案·····························································································225.2底层调试·····························································································235.3应用层调试··························································································236.总结与展望·····························································································256.1总结···································································································256.2展望···································································································25参考文献···································································································27附录······································································
本文标题:基于Zigbee的智能开关的设计与实现
链接地址:https://www.777doc.com/doc-5276767 .html