Font Size: a A A

Design And Implementation Of Wireless Sensor Network Gateway Software Facing Environmental Monitoring

Posted on:2011-01-04Degree:MasterType:Thesis
Country:ChinaCandidate:L L MinFull Text:PDF
GTID:2121360308975322Subject:Information and Communication Engineering
Abstract/Summary:PDF Full Text Request
Environment monitoring is an important way human alternating with nature. As the development of technology, environment monitoring turns to be more and more intelligentization. Wireless sensor network is a fresh technique for information collection and processing which includes sensor technique, micro electro mechanical system, network and other technique. Environment monitoring based on wireless sensor network solves problems especially the environment is terrible, makes environment monitoring much agility, security and economizes lots of resources. In long term environment monitoring, wireless sensor network makes monitoring data much nicety and completely.Supported by project of Application Research of Wireless Sensor Network in Environmental Monitoring (200810321131) from Wuhan Programs for Science and Technology Development, according the application requirement of the project, this thesis design and implement of wireless sensor network gateway software facing environmental monitoring. This software which is a bridge connecting wireless sensor network and extra network implements data communication between them.This software is accomplished by C language under the development environmental of embedded Linux platform. the main function of this software are completing data receive and command transfer between base station and gateway through USB virtual serial port, storing data with embedded database SQLite3, completing data transfer and command receive between gateway and extra network through network port. The main works of this thesis are as follows:1. Design gateway software with modularization method. The software is composed of two modules:serial communication and Ethernet module. Two modules are two individual processes, one of them monitoring data through USB virtual serial port and the other monitoring data through network port. Communication method between two processes is named pipe.2. Receive data from wireless sensor network. Through setting baud rate, stop bits, word size and parity of virtual serial port, and then operating serial port with reading and writing to complete USB virtual serial communication between base station and gateway.3. Parse wireless sensor network data. According serial communication protocol, structure of data packet and sensor parameter calculation formulas to complete data parsing of wireless sensor network.4. Store data. Calling C application program interface of SQLite3, Creating database and table and writing data to embedded database SQLite3 to complete storing of classified data.5. Implement data communication between gateway and monitoring software. Setting gateway network address and communication port, and complete data communication with TCP/IP protocol.6. Debug and test program. Downloading gateway software to gateway hardware and cooperating with several wireless sensor nodes, a base-station node and long-distance monitoring software make up a whole wireless sensor network environment monitoring system. And the collected data proved that this system satisfies design demands, achieves the anticipative purpose and reaches the prospective effect.Selecting embedded Linux platform which is low cost and high reliability as development environment of gateway software makes the software convenience to maintain and has good expansibility and portability. Wireless sensor network gateway software which is easy for user to manage data solves problem about alternation between environmental monitoring data and user, has prodigious economy benefit for corporation and important realism significance for production and life.
Keywords/Search Tags:Wireless Sensor Networks, Gateway Softwarre, Environment Monitoring, Linux Operating System
PDF Full Text Request
Related items