基于嵌入式Web和ZigBee技术的智能家居系统设计与实现
发布时间:2018-06-12 16:42
本文选题:STM32 + Web ; 参考:《西安科技大学》2017年硕士论文
【摘要】:当今社会伴随着科技的迅速发展、人们生活水平的提高,越来越多的人都追求高品质的生活质量。计算机技术和互联网技术逐渐应用到生活当中,为人们提供舒适、高效、安全的生活方式,于智能家居应运而生。人们使用智能家居产品实现远程监控,大大缩短其操控时间,具有安全性、可靠性、灵活性。本文在了解当前国内外智能家居研究现状的基础上,根据目前智能家居的功能需求,将基于TCP/IP协议的以太网与ZigBee协议的无线传感网络相连接,设计了一款智能家居系统,通过测试验证,其软硬件设计合理,能满足智能家居功能要求,具有较高的可行性。在硬件设计上,嵌入式Web服务器选用Context-M4内核的STM32F407微处理器为主控制器芯片,选用LAN8720作为以太网控制芯片接入Internet; ZigBee无线网络选用CC2530作为无线网络通信芯片,设计了 ZigBee协调器,通过串口与Web服务器通信,设计了 ZigBee路由器节点,通过传感器和控制模块实现家居环境数据的监测和远程控制。在软件上,在主控制器上搭建了嵌入式Web服务器,完成了μC/OS-Ⅱ操作系统的移植、LwIP协议栈的移植、Web服务器程序设计、相关网页界面设计;组建ZigBee无线网络,完成协调器的程序设计、路由器节点的程序设计。为了解决智能家居系统中ZigBee网络中的设备节点路由优化问题,提出了路由改进算法,并进行了仿真分析。最后对智能家居系统进行了测试,包括μC/OS-II移植测试、LwIP协议栈移植测试和Web服务器测试,测试结果达到预期目标。
[Abstract]:With the rapid development of science and technology and the improvement of people's living standard, more and more people are pursuing high quality of life. Computer technology and Internet technology are gradually applied to life, providing people with comfortable, efficient and secure lifestyle. People use smart home products to achieve remote monitoring, greatly shorten its control time, with security, reliability, flexibility. On the basis of understanding the current research situation of smart home at home and abroad, according to the function demand of smart home, the Ethernet based on TCP / IP protocol is connected with the wireless sensor network of ZigBee protocol, and a smart home system is designed. The test results show that the software and hardware design is reasonable and can meet the functional requirements of smart home. In hardware design, the embedded Web server uses STM32F407 microprocessor of Context-M4 kernel as main controller chip, LAN8720 as Ethernet control chip to connect Internet, ZigBee wireless network chooses CC2530 as wireless network communication chip, and ZigBee coordinator is designed. The ZigBee router node is designed to communicate with Web server through serial port. The monitoring and remote control of home environment data is realized by sensor and control module. In software, the embedded Web server is built on the main controller, and the programming of the porting LwIP protocol stack of 渭 C / OS- 鈪,
本文编号:2010349
本文链接:https://www.wllwen.com/kejilunwen/xinxigongchenglunwen/2010349.html