Design and Implement Remote Temprature Monitoring System Based on Embedded web Server
- Author
- LiaoLinGuang
- Advisor
- JiJinShui
- School
- Northwest University for Nationalities
- Major
- Applied Computer Technology
- Classification
- TP274.4 Centralized testing and roving detection system
- Degree
- Master's thesis
- Year
- 2010
- Downloads
- 222
- Citations
- 6
Abstract
With the increasing development of network, embedded and web technology, traditional monitoring systems are marching towards a new field and often apply the new technology.Network , web and database technology combine together and apply to remote monitoring systems which are based on embedded web server.In daily lives and manufacturing industries,temperature is an important paramter . Monitoring of temperature has spread to almost every field. In agriculture, industry and daily lives at home and aboard, monitoring of temperature in different environment is essentially required.This parper proposes a kind remote temperature monitoring system based on embedded web server.This system utilizes the developing board of the embedded microprocessor.The tool of the acquisition is temperature sensor ds18b20 to design and implement the system.The boot loader of the bottom and Upper formation application are implemented.The boot loader of this system is u-boot-1.1.6 that guides embedded linux.The OS of the system is the linux-2.6.24 which is called boa.For saving the temperature of the scene, the system uses the datebase that is sqlite3 which offers convenient access to users to inquiry the old data.Design and implement the cgi program which accesses the remote scene temperature sensor ds18b20 device .This article introduces embedded web and embedded database technology of domestic and abroad, u-boot and its characteristics, as well as the porting method of u-boot-1.1.6 common operating systems are introduced in this paper.The architecture of the hardware and software are desgin.The linux kernel is configured and cutted and support yaffs file system.The key codes of boa are analysed,and the bugs of boa are amended.To ensure the security of the system,the CGI program of the login is designed and implemented.The manual of the temperature sensor ds18b20 is analysed,and the device drivers of the ds18b20 is designed and implemented.The porting method of the device drivers of dM9000 is given.The codes of DM9000 are analysed.The database of sqlite is introduced in this parper.The detailed proting process of sqlite for the microprocessor of ARM9 is shown. The protocol of SNTP is analysed ,and the program of SNTP is designed and implemented.The CGI progrom that accesses the database of sqlite is designed and implemented.
Table of contents
Chinese Abstract 4-5
Abstract 5-10
first chapter 10-14
1.1 research background and significance 10-11
1.2 research 11-12
1.2.1 embedded linux 11
1.2.2 embedded web server 11 <br / > 1.2.3 embedded database 11-12
1.3 research 12-13
1.4 thesis organization 13-14
second Zhang temperature remote monitoring system design and hardware and software platform for the establishment 14-18
2.1 system Requirements Analysis 14
2.2 system architecture design 14-17 <br / > 2.2.1 hardware Architecture program 14-16
2.2.2 system software basic scheme 16-17
2.2.3 build cross-compiler environment 17
2.3 Chapter Summary 17-18
CHAPTER u-boot transplant 18-27
3.1 U-boot profile 18-19
3.2 U-boot source code directory structure mainly 19-20
3.3 based 53c2440 detailed transplant u-boot-1.1.6 20-26
3.3.1 Nand flash start u-boot transplant 21-23
3.3.2 u-boot on yaffs file system support 23-26
3.4 This chapter summarizes 26-27 < br /> Chapter embedded linux system 27-38
4.1 embedded systems Concepts 27-29
4.1.1 several commonly used embedded operating system 27-29
4.2 Linux operating system 29-30
4.2.1 Linux kernel structure 29-30
4.3 Linux kernel porting 30 -36
4.3.1 linux2.6 support yaffs file system 33-36
4.4 Summary 36-38
Chapter embedded web server implementation and cgi programming 38-48
5.1 embedded web server overview 38
5.2 Boa web server analysis 38-43
5.2.1 Boa server bug report and correcting 40-41
5.2.2 transplantation boa 41-42
5.2.3 configuration boa.conf file 42-43 < br /> 5.3 CGI program design and implementation 43-47
5.3.1 CGI introduction 43
5.3.2 design and implementation of the system registry 43-45 < br /> 5.3.3 cookies 45-47
5.3.4 C language cgi program note 47
5.4 Summary 47-48 <br / > Chapter D518620 dm9000 driver and NIC driver transplant 48-60
6.1 D518620 description 48-50
6.1.1 single Bus (1-wire) Fundamentals 48-49
6.1.2 D518620 connection to the host circuit 49
6.1.3 D518620 works 49-50
6.2 driver implements 50-54
6.2.1 access d518620 equipment cgi programming 52-54
6.3 Dm9000 driver transplant 54-59
6.3.1 Dm9000 hardware connection 53c2440 54
6.3.2 Dm9000 works 54-57
6.3.3 Dm9000 driver source code analysis 57-59
6.4 This chapter summarizes 59-60
Chapter VII of the embedded database sqlite transplantation and related procedures to achieve 60-69
7.1 sqlite introduction 60-61
7.1.1 Sqlite data types 60-61
7.1.2 Sqlite architecture 61
7.2 sqlite3 transplantation and compile 61-62
7.2.1 system database design 62
7.3 design and implementation of relevant procedures 62-68
7.3.1 sntp protocol program design and implementation 62-63
7.3 .2 sntp time synchronization principle 63-64
7.3.3 sntp timestamp format 64-65
7.3.4 Sntp program flow 65-66 <br / > 7.3.5 temperature Monitoring data collection procedures 66-68
7.3.6 temperature Monitoring sqlite database access CGI program 68
7.4 This chapter summarizes 68 - 69
Summary and Outlook 69-70
References 70-72
Appendix 72-79
research in school 79-80
Thanks 80
Related dissertations
- Design and Implementation of Embedded WEB Server
- Research of the Application of Embedded Web Server in Romote Supervision and Fault Diagnose
- Research on Web Server Based on ARM and Linux in Intelligence Home Appliance
- The Research of Household Remote Monitoring Based on Embedded Web Server
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Embedded Network Monitoring System Based on ZIGBEE
- Remote Home Monitoring and Control System Based on ARM9
- Design of PXI Express Controller Based on PowerPC
- Design and Research of the Network Video Phone Based on the ARM
- Research and Implementation of An Embedded High-Definition Video Processing Terminal in Vehicle
- Research and Implementation of Embedded Web Remote Monitoring System Based on B/S Structure
- The Improvement Research of Basic Performance of Data Collector of Energy Consumption for Public Buildings
- The Data Acquisition System Design Based on Linux
- Temperature Monitoring System Based on ARM and DS18B20
- Design and implementation of remote control system based on Embedded Intelligent Home Furnishing
- Research and Realization of Embedded Web Server Based on ARM and Embedded Linux
- Research and Applications of Web Server Based on Embedded Linux and Sqlite
- Design and Implementation of Remote RFID System Based on Embedded Web Technology
- The System Migration and Development of Embeded Linux Based on MagicARM2410
- Based on the Qt Embedded Linux Gui Implementation of Fingerpeint Identification System