Design and Implementation of Agricultural Intelligent Monitoring System. based on the Android Platform. Liang Haili 1, a

Similar documents
A Tentative Study on Ward Monitoring System based on Zigbee Technology Jifeng Liang

Wireless Smart Home Security System Based on Android

Design of Desert Plant Monitoring System Based on SI446X Wireless Radio Frequency Communication

Design of Monitoring System Software Based on Hadoop. Technology. Shijie Luo, Dong Xie*, WeiLin Qiu, Hui Wang, Minzhi He

The Research and Design of the Android-Based Facilities Environment Multifunction Remote Monitoring System*

Web-based Building Energy Consumption Monitoring and Conservation Service DONG Wei1, a

Study and design of the agricultural informationization model based on internet of things

Design of Greenhouse Temperature and Humidity Monitoring System Based on ZIGBEE Technique Ming Xin 1,a, Wei Zhongshan 1,b,*

THE DESIGN OF GREENHOUSE ENVIRONMENT MONITORING SYSTEM BASED ON ZIGBEE

Design of Smart Home System Based on ZigBee Technology and R&D for Application

IMPLEMENTATION OF SMART FARM MONITORING USING IOT M.Mahendran 1, G. Sivakannu 2, Sriraman Balaji 3 1,2,3

Design and Implementation of Aquarium Remote Automation Monitoring and Control System

Application of Theory and Technology of Wireless Sensor Network System for Soil Environmental Monitoring

The Design of Supermarket Electronic Shopping Guide System Based on ZigBee Communication

AN WIRELESS COLLECTION AND MONITORING SYSTEM DESIGN BASED ON ARDUINO. Lu Shaokun 1,e*

Study of Smart Home System based on Zigbee Wireless Sensor System. Jie Huang 1

The Application of Wireless Sensor in Aquaculture Water Quality Monitoring

Greenhouse Equipment Data Acquisition and Display Platform Based on Socket Java

The Design of Water Quality Monitoring Cloud Platform Based on. BS Architecture

Design and Implementation of Intelligent Home Control System under the Concept of IoT

Design and Implementation of Modern Greenhouse System

Embedded Smart Home System Based on ZigBee Song Chi

Application and Research of Man-Machine Interface and Communication Technique of Mobile Information Acquisition Terminal in Facility Production

Design of Formaldehyde Monitoring System in Wireless Network Wang Renli 1, a. Liming2,b Zhu Lijun 1,c

The intelligent weather station system based on Arduino

Keywords: Cloud computing, ZigBee, Smart home, Security cloud

Wireless Multipoint Temperature Detection System Design

Design of Intelligent System for Watering Flowers Based on IOT

Design of Coal Mine Power Supply Monitoring System

Design of Temperature and Humidity Data Acquisition System. Based on ARM

The Design of Flower Ecological Environment Monitoring System Based on ZigBee Technology

Condition Monitoring System of Mine Air Compressors Based on Wireless Sensor Network

Communication Stability Experiment of IOT Car Based on WIFI and Bluetooth

Design of Underground Current Detection Nodes Based on ZigBee

A Review: - Survey of Wireless Monitoring and Control System for Temperature, Humidity and Soil Moisture using ZigBee

An intelligent LED landscape lighting system

Agriculture Wireless Temperature and Humidity Sensor Network Based on ZigBee Technology

A liquid level control system based on LabVIEW and MATLAB hybrid programming

Study ON Remote Medical Monitoring System Based ON MSP430 AND CC2530

Agricultural Collection System Based on Zigbee

Research on Two - Way Interactive Communication and Information System Design Analysis Dong Xu1, a

IMPLEMENTATION OF GREEN HOUSE ENVIRONMENT MONITORING AND CONTROLLING SYSTEM BASED ON ANDROID MOBILE PLATFORM

Test Analysis of Serial Communication Extension in Mobile Nodes of Participatory Sensing System Xinqiang Tang 1, Huichun Peng 2

A Design of Remote Monitoring System based on 3G and Internet Technology

Design of Environment Monitoring System in Hatcheries Based on WSN

A New Method Of VPN Based On LSP Technology

Design and Implementation of Digital Library Fanqi Wei, Yan Zhang and Xiaoping Feng

Research on the Application of Digital Images Based on the Computer Graphics. Jing Li 1, Bin Hu 2

Remote Monitoring System of Ship Running State under Wireless Network

Intelligent bus temperature measurement system based on Zigbee networks

Design and Implementation of Networked CNC Machine DNC System in. Colleges and Universities Based on Internet Plus

Design of point to multi-point wireless communication system based on ZigBee

IoT based weather controlled smart green house

The Integrated Design for Micro - environment Monitoring System of Showcase in Museum

Design and Implementation of Smart Gateway Based on Wireless Communication Technique

Cemetery Navigation and Information Query System Based on Android and Java Web

Applied Research on AC/DC Integrated Power Supply of Substation Lu Zhigang1, a, Lei Bo1, b, Zheng Yongqiang2, c

Research on Socket Communication System Based on Zigbee Wireless Sensor Network

Research and Design of the Holiday lights Control System. based on PLC. Yanyan Tian1,a

A Reconfigurable Smart Sensor Interface for Industrial WSN in IOT Environment

Web Based Greenhouse Environment Monitoring and Controlling System using Arduino Platform.

Reducing Human Intervention on Greenhouse Monitoring and Controlling Based on Embedded System

The Design of Embedded Remote Intelligent Automotive Monitoring System based on GSM. Lijun Gao

Secure Your Way of Life. Now Compa ble With. Home Security Gateway Series. Transforming Your Life

Design of student information system based on association algorithm and data mining technology. CaiYan, ChenHua

Computerized Green House Data Acquisition System Using Arduino with LabVIEW

, ,China. Keywords: CAN BUS,Environmental Factors,Data Collection,Roll Call.

Chapter 2 The Research on Wireless Positioning Base on ZigBee

The Design and Development of the Precision Planter Sowing Depth Control System

IoT Based Environmental Monitoring System using Arduino UNO and Thingspeak

The Design of Electronic Color Screen Based on Proteus Visual Designer Ting-Yu HOU 1,a, Hao LIU 2,b,*

An Agricultural Tri-dimensional Pollution Data Management Platform based on DNDC Model

Remote Sensor Network based on Data Mining in Photovoltaic Power Generation

Keywords: Motion Capture System, Virtual Interaction, Wireless Sensor Network, Motion Builder

HEMS 2000 Home Energy Management System

The Design of the Embedded WEB Server Based on ENC28J60

An Agricultural Tri-dimensional Pollution Data Management Platform Based on DNDC Model

Detection of Water Pollution and Water Management Using Smart Sensors with IOT

An Automatic Control Method of Foam Spraying Glue Machine based on DMC Yu-An HEa,*, Tian CHENb

Design and Implementation of Inspection System for Lift Based on Android Platform Yan Zhang1, a, Yanping Hu2,b

Geospatial Information Service Based on Ad Hoc Network

HUMAN-COMPUTER INTERFACE DEVELOPMENT OF WIRELESS MONITORING SYSTEM BASED ON MINIGUI

Research and Application of Mobile Geographic Information Service Technology Based on JSP Chengtong GUO1, a, Yan YAO1,b

TCM Health-keeping Proverb English Translation Management Platform based on SQL Server Database

Research on the Establishment and Analysis of Small Business Networks

Construction Scheme for Cloud Platform of NSFC Information System

A Data Collecting and Caching Mechanism for Gateway Middleware in the Web of Things

Home Automation through Smart Phone using ESP8266 Wi-Fi Module by IOT

Home Lighting and Appliance Control System using Internet of Things

Performance Comparison and Analysis of Power Quality Web Services Based on REST and SOAP

Log System Based on Software Testing System Design And Implementation

An Solution of Network Service Oriented Operator Network Intrusion Prevention

Granary Environmental Monitoring System Using ZigBee and ARM Processor

SMART WATER MANAGEMENT PROCESS ARCHITECTURE WITH IOT BASED REFERENCE

Secure Your Way of Life. Now Compable With. Home Security Gateway Series. Transforming Your Life

The Four Layers Elevator Control System Design Based on S7-200 PLC Xianjie Feng

A Multipath AODV Reliable Data Transmission Routing Algorithm Based on LQI

Internet of Things(IoT):A Future Vision OF MODERN SOCIETY

Multi-Method Data Delivery for Green Sensor-Cloud

Wireless Automatic Irrigation System Based On WSN and GSM

Transcription:

Advances in Engineering Research (AER), volume 107 2nd International Conference on Materials Engineering and Information Technology Applications (MEITA 2016) Design and Implementation of Agricultural Intelligent Monitoring System based on the Android Platform Liang Haili 1, a 1 Department of Information Engineering, Weihai Vocational College, Weihai 264210,China a lianghaili@126.com Keywords: Intelligent agriculture; Mobile Internet; HTTP communication; Android Abstract. Relies on an intelligent agricultural experiment platform, designed and developed an intelligent agricultural monitoring system based on the Android system, making mobile Internet technology applied to traditional agriculture, allowing growers monitor environmental factors in agricultural production through mobile network anytime, anywhere, including air temperature and humidity, soil moisture, etc.. And allow the farmers set up the environment index threshold according to the need of agricultural production, if the environmental indicators more than the normal range, the system can automatically open water pump, fan and so on to improve the environment to avoid the adverse effects of agricultural production environment, thus realize the agricultural production environment automatic control, so as to achieve the goal of scientific technology. The system structure, the design of the server and client implementations are introduced in detail in this paper, as well as integrated use of the system design Zigbee communication key technology, the Internet of things, Android. The designed system in the experimental platform runs well. Introduction Agricultural production is closely related with national economy and people's livelihood, which is the foundation of social stability. As the national "Internet +" policy introduced, the high-speed development of modern agriculture in China, the demand for agricultural production and management of the scientific, intelligent is more and more intense. It is well known that environmental climate has been the main factor affecting the agricultural production, especially to the influence of heat, water, light, is the largest. The emergence of mobile Internet technology makes remote control to become a reality, agricultural production personnel, able to monitor and control agricultural production environment via mobile Internet, namely the intelligent control of agriculture. At present, both foreign countries and China have carried out a similar study in the field of intelligent agriculture [1], mainly divided into two aspects, one is the agricultural products supply and marketing system, similar to the electronic shopping mall and primarily for agricultural products and agricultural materials supply and marketing to build a platform; On the other hand is the monitoring of crop production index [2]. No matter what is in the "Internet +" environment, it is good for intelligent agricultural system. Intelligent agricultural system designed in this paper takes intelligent agriculture on the test bench, simulate the real environment of agricultural production, and verify the reliability of the system is running. In system development, the integrated use of the wireless communication, mobile Internet, Android and other technology, realized the agriculture Copyright 2017, the Authors. Published by Atlantis Press. This is an open access article under the CC BY-NC license (http://creativecommons.org/licenses/by-nc/4.0/). 126

field environment remote monitoring, early warning and control, and be able to analyze the environmental factors, so as to guide the agricultural production. 1. The system architecture design Intelligent agricultural system designed in this paper consists of three parts, one is wireless sensor network made up of many sensors and control unit, the second is server that can provide the available sensor data, communications, and public service, the third is the Android platform of mobile client [3]. In this paper, the author cooperates with enterprise in setting up common structures, intelligent agriculture simulation test bench. The system of the design and development, are based on the test bench, the relationship between each part is shown in figure 1. Serial port line Intelligent test-bed agriculture Server Network connected Mobile client 2. The system main function module Figure 1. Intelligent agricultural system topology Main function modules of the system are environmental monitoring, threshold Settings, and remote control of three modules, including environmental monitoring module to monitor air temperature, humidity, illumination in the agricultural production, soil moisture; Threshold setting module can set of agricultural production in the most suitable air temperature, humidity, illumination, soil humidity range; Remote control module allows users to remote control equipment of open control system. System mainly has two data flow, as shown in figure 2. The first collect agricultural field environment information at any time, including air temperature and humidity, soil moisture, etc., through the sensor, and then through the server side, pass the data to the mobile client, according to needs to be saved to the database; the second is the user make good decisions according to the detected data or the results of data analysis, sending control command, through the server to the system control unit, control of agriculture greenhouse irrigation control, ventilation, lighting and other equipment, to ensure that the growth of crops is always in a good environment. Monitoring ZigBee Wireless Server Monitoring data Sensor Central information information Mobile Data Data read Database Fig 2. Data flow diagram of system 127

3. Design and implementation of system main function module 3.1 Wireless sensor network design The intelligent agricultural experiment platform this paper use is designed by the enterprise, on which basis the author completed the development of software system design. Intelligent agricultural experiment station design a number of sensor nodes, and has formed a wireless sensor network through the Zigbee agreement, each sensor node through the central coordinator (single-chip microcomputer) exchange of data. In order to guarantee the accuracy of the data communication, the central coordinator exchange data on the server through RS232 serial port cable and intelligent [4]. Wireless sensor network provides read data command and control interface, for the server-side call. 3.2 The server side design In this system, the server is a data transmission hub. When install the Android platform, use free, lightweight NanoHTTPD as the HTTP server, when the server starts up, need to obtain real-time intelligent agricultural experiment station data, read serial data in the Service, when the server starts up, the Service is started, run in the background, real-time access to serial data. Server side loop read serial data using the Timer class implements [5], the main code is as follows: timer = new timer (); timer. schedule (new TimerTask () {/ / call the schedule method, create a thread public void the run () {.... / / call the wireless sensor network provides interfaces, read sensor data, 1000, 1000); / / every two seconds for the sensor data In system design and development, the server and the client using wi-fi network, using the HTTP protocol, through the IP address and a serial port communication, data transmission using lightweight, and relatively simple JSON format [6]. The server to obtain IP address of the main code is as follows: WifiManager WifiManager = (WifiManager) getsystemservice (WIFI_SERVICE); WifiInfo WifiInfo = wifimanager. GetConnectionInfo (); Int ipaddress = wifiinfo. GetIpAddress (); / / get the IP address of the WIFI String IP = (ipaddress & 0 XFF) + "" + ((ipaddress > > 8) & 0 XFF) +" "+ ((ipaddress > > 16) & 0 XFF) +" "+ ((ipaddress > > 24) & 0 XFF); / / IP address translation 3.3 The mobile client design Mobile client uses the Android platform get each sensor data from the server through the wireless network, based on the HTTP protocol to, and to save data to a local database. It can conduct analysis of the corresponding data according to user needs to query the historical data, it can also set the range of each sensor monitoring, as the basis of a system for early warning. At the same time the system provide automatic or manual open control unit in two ways, convenient user according to the detected data, and timely adjustment of agricultural production environment. In order to be able to clearly observe the sensor data, the client uses the line chart shows that using thread every two seconds to read a data, various sensors according to use sliding screen switch, fragments techniques are used to the client shows mainly, through threads access to server data, using the Handler to update the user interface [5], in order to get the air temperature as an example, the main code is as follows: public class chart1 extends fragments {/ / Fragement class inheritance private ChartView chart1; / / custom View subclass private Timer Timer; 128

private Handler Handler. public View oncreateview (LayoutInflater inflater, @ Nullable ViewGroup V container, @ Nullable Bundle savedinstancestate) { view the View = inflater. Inflate (R.l ayout. Chart1, container, false); f Init (view); return the view; private void init (View View) { chart1 = (ChartView) view. The findviewbyid (R. i, dc hart1); ; timer = new timer (); / / timer timer. The schedule (new TimerTask () {/ / create a thread public void the run () { Message MSG = new Message (); / / create the Messagee object, used to carry data msg. what = MainActivity. Current_airtemper; / / thee air temperature in the Messagee object handler. SendMessagee (MSG); / / the Handler object to t send the Message object to the main thread, 1000, 1000); handler = new handler () {/ / create a handlerr object, and used to update the interface public void handlemessage (Message MSG) { super. HandleMessage (MSG); chart1. Update (MSG. What); / / updated in real time data and redraww interface ; 4. The system operation This paper uses of "Internet + traditional t agriculture" model, designed an intelligent agriculturall environment monitoring system.. The experiment platform run well, w this can effectively monitor simulation experiment platform of environmental factors in agricultural production. System main interfacee is shown in figure 3 to figure 4. Figure 3 is sensor historical dataa query and analysis of interface, the user can choose the sensors, and select the data query, analysis, the time period; Data analysis can bar charts and pie charts form; Figure 4 shows the control unit current state, the user can also through the bottom of the button control, if i close the manual control mode, the system will according to the corresponding numerical, sensors to detect more than warning or resume normal, automatic open or close the control unit. 100 80 60 40 20 0 1 ' 2 ' 3 ' 4 ' 5 ' 6 ' o Figure 3. Query and analysis of sensor historical data Figure 4. Open or close the control unit 129

Summary With the popularity of smart devices, mobile Internet has entered innumberable families. The concept of intelligent agricultural environment monitoring system designed in this paper is based on the Android platform of mobile Internet system, which can realize real-time adjustment for the environment of agricultural production in abnormal situation and avoide what shall circumvent the risk of agricultural production, thus effectively reduce the agricultural production cost, and disruptive change for agricultural production. The design of environmental monitoring, early warning system are based on intelligent agricultural experiment station, but the software system design technology used can be applied to other areas, such as the application in air environmental monitoring or production environment monitoring system. The application of mobile Internet technology in agricultural production in this paper research has made the exploration effectively. References [1] Geng Juntao, Zhou Xiaojia, Zhang Bingjie. The atmospheric environment monitoring system based on wireless sensor network design [J]. Journal of xihua university (natural science edition), 2007, (4) 44-46 [2] LIN Yuanguai, XIE Haixia, et al. The Design of Zigbee Gateway in Intelligent Monitoring System for Agriculture [C]. 2011 International Conference on Mechatronic Science, Electric Engineering and Computer. The IEEE Computer Society, 2011:2213-2216 [3] Xu Wei. Based on the Internet of things intelligent energy-saving and intelligent transportation key technology research and application [D], Nanjing: Nanjing University of posts and telecommunications, 2013:14-16 [4] ATZORI Luigi, IERA Antonio, MORABITO Giacomo. The Internet of Things: A survey [R]. Computer Networks, 2010, (15) : 2787-2805 [5] Li gang. Crazy Android notes (third edition) [M]. Beijing: electronic industry press, 2015:156-168 [6] Li Xinghua. Android development practical oral [M]. Beijing: Tsinghua University press, 2012:643-646 130