Font Size: a A A

The Software Design And Implementation Of A Gas Leakage Alarm Device

Posted on:2011-10-08Degree:MasterType:Thesis
Country:ChinaCandidate:M S WangFull Text:PDF
GTID:2178360305982278Subject:Circuits and Systems
Abstract/Summary:PDF Full Text Request
Currently, with the development of computer technology and communication technology and microelectronics technology,many new equipment, components, constantly combining with these equipment and components, computer technology gradually creates a profession-embedded industry. In embedded field, drawing many disciplines and fields, slowly formed a series of its own theory and technology. For example, the device driver design.Also, transplanting the open-source Linux operating system on a hardware system, to make Linux operating system can accomplish the task scheduling that is extremely complicated and distribution, so as to achieve a rich variety of function and requirement.This thesis is mainly to combine the hottest ARM with the technology of embedded Linux, and accomplish a gas leak alarm device on the software design. This thesis firstly introduces a gas leak alarm device development platform, including the S3C2410 processor and some peripheral chips. In these peripheral chips, the main components are beeper,AD module and network card, etc, and they are relevant with the device driver's configuration and application software development. Then in the hardware development platform we build up a embedded operating environment, including the u-boot transplantation, the configuration and transplantation of the linux kernel, the device drivers' configuration and transplantation and root filesystem'make, etc, this part is in order to build up a best Linux operating environment for the following software design. Then is the software design for alarm device. The main function of software is, when the alarm device detected indoor gas leakage density larger than a preset alarming value 800, immediately start the buzzer alarm device, and the device must be able to help the user to send the alarm information and user' request for help to server through the network communication and get the external support. Specific the design of the software includes application design for the alarm device and the server application design two parts. The application in alarm device firstly creates two processes, and the child process is responsible for the process of indoor gas leakage detection and alarm functions. When the child process completed detection that the density of CO in the house is larger the 800 and made the beeper alarm, immediately the process sends a warning signal to the parent process, the parent process receives alarm signal and then send the alarm information to server through the network communication immediately, and then the server management people received from the user request for alarm and made appropriate relief measures. After the software design, this thesis immediately makes a completion software test on the PC, and gives a complete test process. We input four sets of data, and then observe and analyze the software testing results based on the input data. From the analyzing of the test results, we come to a conclusion that the design of the software can finish the alarm function and cry for help through the network after a gas leak. Lastly, to make a full, and put forward the further research needs to do later.
Keywords/Search Tags:Gas leak, Linux transplantation, u-boot transplantation, Linux driver programming
PDF Full Text Request
Related items