| Embedded products have been widely used in electronic products and industrial control due to its excellent price-performance ratio and excellent performance. The Integration between embedded products and internet are changing the way of human life gradually. Embedded remote monitoring technology is produced under such a background, is a kind of monitoring system based on internet technology and B/S structure, associate sensor and work devices with the internet, through the relevant communication protocol to realize the remote site management and information exchange.This article aims to build a material storehouse remote monitoring system based on the embedded system. Firstly, the overall system architecture and implementations of hardware and software have been given. Then, on the basis of the overall architecture, design the hardware circuit and build the software development platform. At last, finish the related application program.The system hardware is design in modular way, using S3C2410 as the main controller. According to the system functionality, the system need to achieve three function modules, including access controller module, temperature and humidity data acquisition module, smoking sensing module. Various functional modules are adopted ATmega8 as the controller. The main controller and the controller of Functional modules are all using the MCP2510 and PCA82C250 to extend CAN interface for CAN communication. The major work of the main controller module designing include of power circuit, memory circuit, serial circuit,Flash circuit and so on. The access controller module using the way of fingerprint authentication to do the access control, can record the time and the state. The temperature and humidity data acquisition module using SHT71, which is a sensor can get the temperature data and humidity data at the same time, and the output of SHT71 is digital signal. The temperature and humidity module also expand a display to show us the information of temperature and humidity. MS5100 is used in the smoking sensing module to Detect the smoking concentration, have the advantage of stable and reliable, and also low cost. In the software design process, the first step is, building the software development platform, including building cross development environment, Transplanting U-Boot as the system bootloader, transplanting Linux kernel, and building YAFFS file system; The second step is, designing the CAN application layer protocol and implementing the CAN drivers on the basis of CAN data content; Then, achieving the preparation of the main program, data collection procedures and the CAN interrupt service program of all function modules, through these procedures, the module controller could receive operation command from the main controller and could return the results to the main controller. Finally, choosing Boa as a Web server and porting it to the platform, programming static pages, using CGI technology develop application program to achieve information exchange among the browser, Web server, and various functional modules.Through this program, after the success of login, the user can come to understand the working state of material storehouse, so as to achieve the remote monitoring. |