【正文】
N)是由大量無處不在的,具有通信與計算能力的微小傳感器節(jié)點密集布設在無人值守的監(jiān)控區(qū)域而構成的能夠根據環(huán)境自主完成指定任務的“智能”自治測控網絡系統(tǒng)。大量傳感器節(jié)點通過相互之間的分工協(xié)作,可實時感知、監(jiān)測和采集分布區(qū)域內的監(jiān)測對象或周圍環(huán)境的信息。隨著傳感器網絡技術的逐步發(fā)展,它的應用也越來越廣泛 ,無線傳感器網絡也被要 求 有更小功耗,更低成本,以及更方便使用的性能,在這種情況下, ZigBee 技術應運而生。預計將在消費類電子設備、家庭智能化、工控、醫(yī)用設備控制、農業(yè)自動化等領域獲得廣泛應用。 關鍵字 : ZigBee; 溫濕度傳感器 ; 無線通信 ; 無線溫濕度傳感器系統(tǒng) 寧夏大學新華學院本科學位論文 II Abstract Wireless sensor works (Wireless Sensor Network, WSN) is posed of a large number of ubiquitous, tiny sensor nodes have the ability to municate with the intensive puting laid in the monitored area unattended constituted able to plete the assigned tasks independently according to the environment smart autonomy and control work system. A large number of sensor nodes through the division of labor between them, realtime sensing, monitoring and gathering information on the distribution area of the object or the surrounding environment. Wireless sensor works and traditional works have distinct technical requirements , the former datacentric , the latter for the purpose of transferring data . With the gradual development of sensor work technology, its applications are increasingly widespread , wireless sensor works are also required to have a smaller power consumption, cost, and performance is more convenient to use, in this case , ZigBee technology to be shipped born. ZigBee technology is a short range wireless twoway munication technology that has the protocol is simple , low power consumption, strong working capabilities, work capacity, time is short , safe, reliable and low cost, with a path selection, automatic link works and selfrecovery capabilities. It is expected to be widely used in consumer electronic devices, intelligent home , industrial , medical equipment control , automation , and other fields of agriculture. This paper introduces the basic knowledge and research of wireless sensor works 。 then designed ZigBee node module temperature and humidity sensor module , and is designed on the basis of this hardware the ZigBee protocol stack has the basic functions , while working algorithm is proposed based on ZigBee , by scanning channel , working and the establishment of three steps associated nodes to build a simple work layer , to achieve a wireless sensor work function 。 Finally, the paper summarizes the proposed future research directions. Key words:ZigBee。Wireless Communica tion 寧夏大學新華學院本科學位論文 III 目 錄 第 1 章 緒論 ..........................................................................................1 引言 ............................................................................................1 無線傳感器網絡的研究現(xiàn)狀 ...............................................................2 國外現(xiàn)狀 ..............................................................................2 國內現(xiàn)狀 ..............................................................................2 無線傳感器網絡的特點 .....................................................................2 研究內容 ......................................................................................4 論文結構 ......................................................................................5 本章小結 ......................................................................................5 第 2 章 ZigBee 協(xié)議標準介紹 .................................................................6 ZigBee 技術概述 .............................................................................6 ZigBee 主要特性 .....................................................................6 ZigBee 網絡拓撲結構 ...............................................................6 ZigBee 網絡工作模式 ...............................................................7 ZigBee 協(xié)議架構 .............................................................................8 物理層( PHY) .......................................................................9 媒體訪問控制層( MAC) ......................................................... 10 網絡層( NWK) ..................................................................... 12 ZigBee 應用層 ...................................................................... 14 本章小結 .................................................................................... 15 第 3 章 ZigBee 溫濕度傳感器硬件平臺的設計 ........................................ 16 硬件設計 .................................................................................... 16 CC2530 芯片介紹 ................................................................... 16 射頻模塊電路 ...................................................................... 19 主控電路 .................................................................................... 21 串口通信電路 ...................................................................... 21 電源模塊 ............................................................................ 24 存儲模塊 ............................................................................ 25 本章小結 .................................................................................... 27 第 4 章 無線傳感器網絡通信系統(tǒng)的軟件設計 ......................................... 28 系統(tǒng)總體構成 .............................................................................. 28 進行開發(fā)的軟件介紹 ...................................................................... 28 程序流程圖 ................................................................................. 28 寧夏大學新華學院本科學位論文 IV 系統(tǒng)的實現(xiàn) ................................................................................. 30 通過初始化、信道掃描等措施建立網絡 ....................................... 30 傳感器各節(jié)點加入網絡 ........................................................... 30 本章小結 .................................................................................... 31 第 5 章 總結與展望 .............................................................................. 32 參考文獻 .................................................................