| With the continuous development of information technology and networking technology, there was a great influence in our world. In agriculture,information technology have been used in agricultural production, agricultural management, agricultural management and agricultural services, collecting information from farmland, greenhouses, gardens and other environmental. Acorroding to the actual situation of Chinese agricultural, this paper selected a cost-effective ARM chip, combined with open source and free embedded operating system,and designed a microprocessor-based arm9 embedded systems, combining images, temperature sensor and cable networks for plant growth environment monitoring. The system will provide support for subsequent scientific fertilization, spraying, early warning information and scientific management.Based on the current situation and background,the paper indicated how Environmental Information Monitoring System develop in agriculture, and the necessity for developing related products. Analysing Current Situation about domestic and international environmental monitoring technology, combined with China’s own national conditions, the paper proposed to construct a remote environmental monitoring system which used ARM9 architecture microprocessor core control platform and embedded Linux system platform, and used sensor technology and network technology.According to the needs of hardware platform,the paper choose Samsung’s s3c2440 combined with related peripheral circuits as control and service center,DHT11 as temperature and humidity sensor selection, Vimicro ZC0301 camera as video capture equipment, B / S architecture as monitoring model, and used the PC browser to monitor information. After drafting an overall plan for the system,each part of the hardware platforms were introduced.After completing building the hardware platform, the paper started designing software platform.the system software design is divided into two parts: build operating system platform and evelope applications.First,the paper built the operating system,include:transplant Boot Loader program; configurated linux kernel to transplante it into embedded platforms; used Busy Box1.6 tool create file systembased on NAND Flash JFFS2, then transplanted it into the same hardware platform.After completing building the operating system platform, the work was to achieve the acquisition of information, by designing and loading device drivers, and developing information collection applications.First, according to DHT11’s workflow, the paper designed the sensor driver, and loaded it into the system. Then,implanted usb drive to the operating system,and reconfigure the kernel to add the camera driver support.Next,transplant sqlite database and establish the database table to restore temperature and humidity history information. Finally,the paper designed video capture application program and temperature and humidity collection application program based on Design Process.Next,the paper achieved remote monitoring,based on embedded web technology. The work included: set up embedded WEB server on the platform where the system had been migrated; wrote CGI program to monitoring real-time temperature and humidity; used JAVA to design video real-time transmission and dynamic display program; used the html to make client web pages as a display interface.The paper achieved embedded server program by using network socket, multi-thread technology to collect and process client data requests. To improve the response speed and reduce system overhead, the paper used the thread pool technology. When the thread pool is too insufficient to process requests, the paper adjusted dynamically the number of threads in thread pool to enhance the system stability.Finally the paper tested the system where the hardware and software platform had been built and the resource deployment had been finished. Experimental results showed that the system can collect information of temperature, humidity and image information accurately, and had remote dynamic display capabilities. |