Font Size: a A A

Research And Application Of Wireless Sensor Network Gateway Based On STM32 And LwIP

Posted on:2019-01-19Degree:MasterType:Thesis
Country:ChinaCandidate:X H HanFull Text:PDF
GTID:2428330572458074Subject:Control engineering
Abstract/Summary:PDF Full Text Request
In recent years,embedded and communication technologies have developed rapidly.The Wireless Sensor Network(WSN)has a wide range of applications in environmental monitoring,smart homes,and modern agriculture.Zig Bee is one of the representative technologies of WSN.Compared with traditional wired networks,Zig Bee has the advantages of low cost,low power consumption,and self-organization of networks.However,its short transmission distance and its inability to connect with existing mature Internet networks directly have certain limitations.Therefore,this paper designs a wireless sensor network gateway to achieve the communication between two heterogeneous networks of Zig Bee and Internet,to extend and expand the WSN effectively.In this paper,a wireless sensor network gateway is designed to connect the Zig Bee network and Ethernet to realize the remote monitoring of the temperature and humidity of the warehouse.The specific work is as follows: In the hardware design,the gateway consists of two parts: the STM32 main control module and the Zig Bee coordinator module.STM32F103VET6 was selected as the main control chip in the main control module,and the minimum system,Ethernet ENC28J60,and serial communication circuit were designed.In the coordinator module,the CC2530 chip from TI was used to design the relevant circuit.In the software design,the Zig Bee 2007 protocol stack is transplanted and the corresponding software is designed to implement the establishment and management of the Zig Bee network.The ?C/OS-II operating system was ported to the gateway STM32 main control module.On this basis,the Lw IP protocol stack was ported to achieve TCP/IP communication.The Web server was designed using Lw IP protocol stack,CGI,SSI,etc.to facilitate display and management.After testing,the gateway designed in this paper is stable and easy to operate.It can complete data monitoring and remote control.It achieves the expected design goals and has good application value.
Keywords/Search Tags:Wireless Sensor Network, Gateway, ZigBee, STM32, LwIP Stack
PDF Full Text Request
Related items