基于嵌入式Web和ZigBee技術(shù)的智能家居系統(tǒng)設(shè)計與實現(xiàn)
發(fā)布時間:2018-06-12 16:42
本文選題:STM32 + Web ; 參考:《西安科技大學(xué)》2017年碩士論文
【摘要】:當(dāng)今社會伴隨著科技的迅速發(fā)展、人們生活水平的提高,越來越多的人都追求高品質(zhì)的生活質(zhì)量。計算機(jī)技術(shù)和互聯(lián)網(wǎng)技術(shù)逐漸應(yīng)用到生活當(dāng)中,為人們提供舒適、高效、安全的生活方式,于智能家居應(yīng)運(yùn)而生。人們使用智能家居產(chǎn)品實現(xiàn)遠(yuǎn)程監(jiān)控,大大縮短其操控時間,具有安全性、可靠性、靈活性。本文在了解當(dāng)前國內(nèi)外智能家居研究現(xiàn)狀的基礎(chǔ)上,根據(jù)目前智能家居的功能需求,將基于TCP/IP協(xié)議的以太網(wǎng)與ZigBee協(xié)議的無線傳感網(wǎng)絡(luò)相連接,設(shè)計了一款智能家居系統(tǒng),通過測試驗證,其軟硬件設(shè)計合理,能滿足智能家居功能要求,具有較高的可行性。在硬件設(shè)計上,嵌入式Web服務(wù)器選用Context-M4內(nèi)核的STM32F407微處理器為主控制器芯片,選用LAN8720作為以太網(wǎng)控制芯片接入Internet; ZigBee無線網(wǎng)絡(luò)選用CC2530作為無線網(wǎng)絡(luò)通信芯片,設(shè)計了 ZigBee協(xié)調(diào)器,通過串口與Web服務(wù)器通信,設(shè)計了 ZigBee路由器節(jié)點(diǎn),通過傳感器和控制模塊實現(xiàn)家居環(huán)境數(shù)據(jù)的監(jiān)測和遠(yuǎn)程控制。在軟件上,在主控制器上搭建了嵌入式Web服務(wù)器,完成了μC/OS-Ⅱ操作系統(tǒng)的移植、LwIP協(xié)議棧的移植、Web服務(wù)器程序設(shè)計、相關(guān)網(wǎng)頁界面設(shè)計;組建ZigBee無線網(wǎng)絡(luò),完成協(xié)調(diào)器的程序設(shè)計、路由器節(jié)點(diǎn)的程序設(shè)計。為了解決智能家居系統(tǒng)中ZigBee網(wǎng)絡(luò)中的設(shè)備節(jié)點(diǎn)路由優(yōu)化問題,提出了路由改進(jìn)算法,并進(jìn)行了仿真分析。最后對智能家居系統(tǒng)進(jìn)行了測試,包括μC/OS-II移植測試、LwIP協(xié)議棧移植測試和Web服務(wù)器測試,測試結(jié)果達(dá)到預(yù)期目標(biāo)。
[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
本文鏈接:http://sikaile.net/kejilunwen/xinxigongchenglunwen/2010349.html
最近更新
教材專著