Conference PaperPDF Available

Abstract and Figures

Farming plays an important role in today's world and it requires proper environmental and diet care. A smart system is needed to operate and monitor animal farm remotely. This system should provide feed and water as required, exhaust the excess of biogas which is produced by the animals' waste, and detect fire in the farm. Moreover, this intelligent system should also do surveillance of the entire farm. This kind of intelligent system can be designed cost effectively by using microcontrollers, water level sensor, ultrasonic sensor, gas sensor, temperature, humidity sensor, and an IP Camera along with Internet or Intranet connectivity with the devices i.e. smart phones or computer. In this paper, we develop an IoT based smart animal farm with above mentioned features.
Content may be subject to copyright.
Proceedings of the 10th INDIACom; INDIACom-2016
3rd 2016 International Conference on Computing for Sustainable Global Development, 16th 18th March, 2016
Bharati Vidyapeeth’s Institute of Computer Applications and Management (BVICAM), New Delhi (INDIA)
Internet of Things (IoT) Enabled Smart Animal Farm
Muhammad Hunain Memon,
Wanod Kumar, Azam Rafique
Memon, Bhawani S. Chowdhry
Department of Electronic Engineering,
Mehran University of Engineering &
Technology, Jamshoro, Pakistan
Email Ids: hunain_memones@yahoo.com,
wanod.kumar@faculty.muet.edu.pk,
azam.memon@admin.muet.edu.pk,
bhawani.chowdhry@faculty.muet.edu.pk
Muhammad Aamir
Department of Electronic Engineering,
Sir Syed University of Engineering &
Technology, Karachi, Pakistan
Email Id: muaamir5@gmail.com
Pardeep Kumar
Department of Computer System
Engineering, Quaid-e-Awam University
of Engineering Science & Technology
Nawabshah, Pakistan
Email Id: pardeep.kumar@quest.edu.pk
Abstract Farming plays an important role in today’s world
and it requires proper environmental and diet care. A smart
system is needed to operate and monitor animal farm
remotely. This system should provide feed and water as
required, exhaust the excess of biogas which is produced by
the animals’ waste, and detect fire in the farm. Moreover, this
intelligent system should also do surveillance of the entire
farm. This kind of intelligent system can be designed cost
effectively by using microcontrollers, water level sensor,
ultrasonic sensor, gas sensor, temperature, humidity sensor,
and an IP Camera along with Internet or Intranet
connectivity with the devices i.e. smart phones or computer.
In this paper, we develop an IoT based smart animal farm
with above mentioned features.
Keywords Internet of Things, Animal, Smart, Animal Farm.
I. INTRODUCTION
There has been strong relationship between humans and
animals throughout the centuries. We depend on animals in
many aspects of life such as sports, food, clothes and other
product that support and facilitate our living. Therefore a good
care of animals is very important. The livestock industry could
greatly be benefitted from a sophisticated system capable of
continuously monitoring the health of animals, aggregating the
data and reporting the obtained results to owners and regional
[1].
The term Internet of Things (IoT) was first defined by Kevin
Ashton in 1999 [2]. It is a new paradigm about the ability of
connected devices to sense and gather data, and then share that
data using the Internet facility so that it can be processed and
utilized to fulfill common goals [3]. IoT refers to a technology
that tells that in near future billions of devices will have intent
connectivity and can be accessed from anywhere in the world.
According to [4], there can be many IoT enabled applications
such as smart parking, smart animal farm, smart waste
management system etc.
Stock theft has been a main problem in the agricultural sector
in many countries around the world and threatens both
commercial and the emerging farming sectors. In [5] authors
carry out investigation about cow behavior modeling using
global positioning wireless nodes to acquire the probable
position of a cow. A WSN node was designed to sense the
speed and position of a cow to determine the presence of a
thief. The position and the speed of the cow were collected for
analysis purpose.
In [6], a water management model integrating Internet of
Things (IoT) technologies has been developed. The proposed
smart water management model makes specific vendor
equipment interoperable and manageable in a water
management domain in a homogeneous way.
We in this paper design a complete system which is comprised
of feed filling system, water filling system, incubator system,
biogas exhaust system, fire detecting system and an IP camera.
The data from the system is transmitted and received by a
certain IP address and port address using a WIFI router to the
GUI of the system. The system can be controlled and
monitored using the GUI of the system. Moreover, it has two
modes of operation manual and as well as an automatic. Our
designed system considers almost all parameters which are
important for an animal farm compared to the readily available
systems which only consider a few parameters. Hence, in this
sense our complete system becomes a novel design.
Following the introduction paper is organized as follows:
Section II discuss the system design. The operation of the
system is described in Section III. Results are given in Section
IV. The paper concludes in Section V.
II. SYSTEM DESIGN
We discuss complete system design in two main parts; i.e.
hardware design and software design.
Proceedings of the 10th INDIACom; INDIACom-2016
3rd 2016 International Conference on “Computing for Sustainable Global Development”, 16th 18th March, 2016
A. Hardware Description
The designed system mainly consists of two modules;
embedded system module and Ethernet communication
module. The first module contains Water level sensor, Biogas
Sensor, temperature and humidity sensor, fire sensor and two
microcontrollers (i.e. Arduino mega and Arduino Uno) which
are placed in the animal farm to sense the system parameters.
The data is transmitted by Ethernet shield through WIFI using
UDP. The embedded system module acquires information of
the animal farm and maintains the record and performs
respective function in real time. It has two modes of operation;
i.e. automatic mode and manual mode. If the system is in
automatic mode, the system operates according to the
programmed threshold values and keeps on giving feedback
through GUI on Certain IP. Moreover, if the System is in
manual mode it is controlled manually using switches in GUI.
This smart animal farm consists of subsystems which are Bio
Gas Control System, Feed Control System, Incubator Control
system, IP Camera, Fire Detecting System, and Water Control
System. Complete system is shown in Fig. 1.
Fig. 1. Complete System Block Diagram
a) Bio Gas Control System
Animals’ waste causes biogas emission which can be harmful
to them. To get rid of it, we have designed an exhaust system
which will let the bio gas emit out from the farm. Exhaust
system having fan which turns on when bio gas level is
detected using the gas sensor. It works automatically if the
system is in automatic mode, however one can turn it on/off
manually by transmitting control signal from GUI to processing
unit using WIFI. The system block diagram is shown in Fig. 2.
Fig. 2. Bio Gas Control System
b) Feed Control System
Feed control system consists of hopper storage and feed
storage. The hopper storage have a valve which is turned on
using stepper motor and the feed storage having ultrasonic
sensor which is used to sense the level of feed. As the level of
feed decreases the hoper valve turns on so that feed can be
filled. The system block diagram is shown in Fig. 3.
Fig. 3. Feed Control System
Internet of Things (IoT) Enabled Smart Animal Farm
c) Incubator Control System
Incubator box consists of a temperature Sensor, a humidity
sensor, a heater, and a fan. Sensors sense the humidity and
temperature of the incubator according to predefined conditions
and subsequently either heater or fan is turned on or off. The
system block diagram is shown in Fig. 4.
Fig. 4. Incubator Control System
d) IP Camera based Surveillance System
We have used an Android cell phone as an IP camera using
application “IP Cam”. This application is connected with same
WIFI router to have IoT based system. Fig. 5 shows block
diagram of IP camera based surveillance system.
Fig. 5. IP Camera based Surveillance System
e) Fire Detecting System
Fire detecting system consists of fire sensor module and an
alarm. When a fire sensor module detects the fire in the
system it turns on alarm if the System is in automatic mode so
one can rescue animals. Fire sensor also gives an indication to
GUI through WIFI. The alarm buzzer can be controlled
manually as well in an emergency condition. Block diagram of
Fire Detecting System is shown in Fig. 6.
Fig. 6. Fire Detecting System
Fig. 7. Water Level Control System
f) Water Level Control System
Water level control system has water level sensor and a water
pump. Water level sensor senses the level of the water in the
Proceedings of the 10th INDIACom; INDIACom-2016
3rd 2016 International Conference on “Computing for Sustainable Global Development”, 16th 18th March, 2016
container and when the water level goes down to the minimum
point (say point 1) then water pump is turned on to fill the
water tank. The readings are also shown using GUI. Block
diagram of water level control system is shown in Fig. 7.
B. System Software
The monitoring and controlling takes place by receiving and
transmitting the data over a specific IP address and port address
using User Datagram Protocol (UDP). LabVIEW software is
used for making a GUI of an IoT enabled smart animal farm.
LabVIEW provides a very good platform for any measurement
or control system. GUI consist of switches and different
measuring scales that keep on receiving data from the
environment using WIFI, whereas switches are used to control
the system manually.
a) Active X Controller
ActiveX Event callback for IE is used in GUI which displays
an IP Camera result of the video feedback acquired from farm
[7]. LabVIEW block diagram is shown in Fig. 8.
Fig. 8. Active X Controller
b) UDP Communication in GUI
User Datagram Protocol (UDP) provides a means for
communicating short packets of data [8]. The Data is sent in
multiple packets and these packets arrive at the destination in
the order they were sent. The receiving data over UDP gets
concatenated and is shown in the panels of GUI of the system
i.e. humidity, temperature. LabVIEW block diagram of UDP
communication in GUI is shown Fig. 9 (a) and Fig. 9 (b).
Fig. 9(a). UDP Communication in GUI
Fig. 9(b). UDP Communication in GUI
c) GUI Representation
GUI is having an IP Camera panel, vertical progress bar to
indicate fire, vertical tank bar to indicate water level in tank, a
numeric gauge to indicate bio-gas, a vertical yellow tank to
indicate feed in tank, a humidity bar and a thermometer bar to
indicate humidity and temperature respectively.
Complete system of animal farm will keep on giving readings
of the environment by using sensors to a processing unit.
Processing unit will have certain IP and port address
(ie.XXX.XXX.XXX.XXX:8888). IP camera has a certain IP
and port address (ie.XXX.XXX.XXX.XXX:8888) that is
connected to a central router which transmits data to a desired
IP and port by which this system can be monitored and
controlled.
For operating this GUI, a device such as computer/laptop
needs to be connected with the same LAN with which the
system is connected. After successful configuration, the
system will start to acquire data on a certain IP and port
address. Using GUI, system can be monitored and controlled
in two modes (i.e. automatic mode and manual mode).
Complete GUI of the system is shown in Fig. 10.
Internet of Things (IoT) Enabled Smart Animal Farm
Fig. 10. System GUI
III. SYSTEM OPERATION
The complete system operation is shown in system flowchart in
Fig. 11.
Fig. 11. System Operational Flow Chart
The complete system operates as described below:
If the biogas indication is less than threshold value it will
not turn on exhaust system. If it becomes more than a
threshold value it will start an exhaust system.
If the feed in the container is less than a threshold value or
a certain quantity then system turns on the feed valve to
maintain up to a specified level.
If the temperature and humidity of the incubator is less
than a threshold value, the system turns on heater.
Otherwise fan is used to maintain the humidity.
IP camera keeps providing a continuous video feed to the
GUI panel.
If the fire sensor value goes below the threshold value,
system turns on an alarm.
Finally, if the water level becomes below the threshold
value, the system turns on the water pump.
The system is monitored and controlled remotely in
continuous fashion to ensure the provisioning of proper care
and diet to the animals using Internet facility.
IV. RESULTS
Results related to humidity, and temperatures are shown
hourly basis in Fig. 12 and Fig. 13 respectively.
The humidity of the system is low in day time hours as shown
in Fig. 12. It rises especially in evening hours. The results
reveal that it can be maintained using this smart system.
Fig. 12. Humidity Data on Hourly Basis
Fig. 13 shows that the temperature of incubator can be
stabilized using heater and fan. The continuous data from the
temperature sensor is used to maintain the temperature of the
system.
Proceedings of the 10th INDIACom; INDIACom-2016
3rd 2016 International Conference on “Computing for Sustainable Global Development”, 16th 18th March, 2016
Fig. 13. Temperature Data on Hourly Basis
V. CONCLUSION
In this paper we have designed an IoT enabled smart animal
farm. This is a cost efficient system and is built with a cost of
USD300. It continuously monitors the physical parameters of
an animal farm. It can be controlled manually as well as
automatically. This kind of system is suitable for any kind of
animal farm with little modifications.
REFERENCES
[1] Smith, K.; Martinez, Angel; Craddolph, R.; Erickson, H.;
Andresen, D.; Warren, S., "An Integrated Cattle Health
Monitoring System," in 28th IEEE Annual International
Conference of the Engineering in Medicine and Biology
Society, pp.4659-4662, 2006.
[2] Gubbi, J.; Buyya, R.; Marusic, S.; Palaniswami,M.
"Internet of Things (IoT): A vision, architectural elements,
and future directions," Future Generation Computer
Systems, vol. 29, no. 7, 2013, pp. 1645-1660
[3] Atzori, L.; Iera, A.; Morabito, G., "The Internet of Things:
A survey, " Computer Networks, vol. 54, no.15, 2010, pp.
2787-2805.
[4] Applications of IoT,
http://www.libelium.com/top_50_iot_sensor_applications_ra
nking/
[5] Mashoko Nkwari, P.K.; Rimer, S.; Paul, B.S., "Cattle
monitoring system using wireless sensor network in order to
prevent cattle rustling," in IST-Africa Conference
Proceedings, pp.1-10, 7-9 May 2014
[6] Robles, T.; Alcarria, R.; Martin, D.; Morales, A.; Navarro,
M.; Calero, R.; Iglesias, S.; Lopez, M., "An Internet of
Things-Based Model for Smart Water Management," in 28th
International Conference on Advanced Information
Networking and Applications Workshops (WAINA), pp.821-
826, 13-16 May 2014.
[7] ActiveX and LabVIEW, Report published on Oct 07, 2015,
http://www.ni.com/white-paper/2983/en/
[8] UDP Communication in LabVIEW, Report published on
Sep 06, 2006,
http://www.ni.com/tutorial/4950/en/
... The potential of IIoT technology, incorporating wireless sensor networks, in various Agri-Tech applications has been investigated to monitor plant health and yield (Gao et al., 2020;Khattab et al., 2019), soil conditions (Goap et al., 2018;Muangprathub et al., 2019), controlled environment conditions (Aafreen et al., 2019;Geng et al., 2019), and livestock behavior and welfare (Memon et al., 2016;Nadimi et al., 2012). IIoT systems also offer the potential to change how food factories operate-providing not only a basis for automation but possibilities for an unprecedented depth of visualization across all systems driven by the massive amounts of data that can be collected, analyzed, reported, and acted upon-often without the need for human interaction or involvement (Bigliardi et al., 2022). ...
Chapter
Despite its societal importance, red meat processing is a low-margin sector. Drivers toward digitalization include efficiencies, labor availability, and the sustainability of raw materials. Industry 4.0 (I4.0) technologies offer new opportunities to the red meat sector in the areas of increasing automation and benefit from available information in the supply chain and overall sustainability. A range of different industrial sectors have embraced digitalization and I4.0 solutions to greater or lesser extents and thus are characterized by a continuum of digital maturity levels. Semiconductors and pharmaceuticals are generally considered the most digitally mature sectors, while the food processing sector would be characterized by a lower digital maturity. For individual companies, tools such as the Smart Industry Readiness Index offer a means to conduct a self-assessment of the digital maturity of the company in relation to their own and other industry groups and ensure smart and strategic adoption of I4.0 technologies for maximum impact. Technologies of special relevance to meat processing include data analytics and digital twin, sensorization, Industrial Internet of Things, and automation, and their relevance to offering a path forward toward Meat Industry 4.0 is discussed.
Article
The emerging field of smart agriculture leverages the power of the Internet of Things (IoT) to revolutionize farming practices. This paper investigates the transformative potential of Long Range (LoRa) technology as a key enabler of long-range wireless communication for agricultural IoT systems. By critically reviewing existing literature, we identify a lacuna in research specifically focused on LoRa’s prospects and challenges from a communication perspective in smart agriculture. We delve into the details of LoRa-based agricultural networks, encompassing network architecture design, Physical Layer (PHY) considerations tailored to the agricultural environment, and the development of channel modeling techniques that account for unique soil characteristics. The paper further explores relaying and routing mechanisms that address the challenges of extending network coverage and optimizing data transmission in vast agricultural landscapes. Transitioning to practical considerations, we discuss sensor deployment strategies and energy management techniques, providing valuable insights for real-world deployments. A comparative analysis of LoRa with other prevalent wireless communication technologies employed in agricultural IoT applications highlights its strengths and weaknesses within this specific context. Furthermore, the paper outlines several future research directions to leverage the potential of LoRa-based agriculture 4.0. These include advancements in channel modeling for heterogeneous farming environments, developing novel relay routing algorithms, integrating emerging sensor technologies like hyper-spectral imaging and drone-based sensing, on-device Artificial Intelligence (AI) models, and sustainable solutions. This survey can serve as a cornerstone for researchers, technologists, and practitioners seeking to understand, implement, and propel smart agriculture initiatives utilizing LoRa technology.
Preprint
Full-text available
The emerging field of smart agriculture leverages the Internet of Things (IoT) to revolutionize farming practices. This paper investigates the transformative potential of Long Range (LoRa) technology as a key enabler of long-range wireless communication for agricultural IoT systems. By reviewing existing literature, we identify a gap in research specifically focused on LoRa's prospects and challenges from a communication perspective in smart agriculture. We delve into the details of LoRa-based agricultural networks, covering network architecture design, Physical Layer (PHY) considerations tailored to the agricultural environment, and channel modeling techniques that account for soil characteristics. The paper further explores relaying and routing mechanisms that address the challenges of extending network coverage and optimizing data transmission in vast agricultural landscapes. Transitioning to practical aspects, we discuss sensor deployment strategies and energy management techniques, offering insights for real-world deployments. A comparative analysis of LoRa with other wireless communication technologies employed in agricultural IoT applications highlights its strengths and weaknesses in this context. Furthermore, the paper outlines several future research directions to leverage the potential of LoRa-based agriculture 4.0. These include advancements in channel modeling for diverse farming environments, novel relay routing algorithms, integrating emerging sensor technologies like hyper-spectral imaging and drone-based sensing, on-device Artificial Intelligence (AI) models, and sustainable solutions. This survey can guide researchers, technologists, and practitioners to understand, implement, and propel smart agriculture initiatives using LoRa technology.
Article
Full-text available
Food processing is an indispensable sector crucial for controlling the food losses. Discrete measures were introduced and implemented to enhance the food shelf life and preservation techniques. However, poor handling and preservation methods usher to the food deprivation. In such milieu, amalgamation of futuristic technologies like sophisticated sensors tether with Internet of Things (IoT) could shoot up the food safety and minimize the deprivation. Research across the globe have proved that integration of IoT‐smart sensors in scrutinizing ecological factors such as temperature, radiation, gaseous composition, relative humidity, and moisture content that are critical for food processing and preservation. IoT has the prospects to ameliorate nationwide explicable execution, slash energy depletion, slash manufacturing expenses, inflate worker health and safety during food processing unit. Smart agricultural techniques also enable measurement of temperature, relative humidity, soil moisture, and nitrogen contents in smart farming and helps the user to determine the status of crops and commodity. This article aims to focus a few aspects and budding areas of IoT in the food and agricultural sectors. With this outlook, advancement and smartness in agriculture and food processing can be created by collaborating with IoT technology.
Article
Full-text available
Background: This research presents a significant stride in precision agriculture, focusing on the development and field evaluation of a self-propelled intra-row weeder engineered using mechatronics and machine learning. The study was motivated by the need for labor-efficient and environmentally friendly weed control methods, as conventional techniques pose various challenges. Methodology: The intra-row weeder, equipped with a crop detection and avoidance system, was developed using a sensor, servo motor, encoder, weeding tool, and a microprocessor (Arduino Uno). A crop detection and avoidance algorithm, based on the K-nearest neighbor machine learning tool, was developed and trained using a customized feature method. This facilitated the system’s ability to accurately distinguish between plants and crops, a distinction that was programmed based on object height. This approach proved effective under the various conditions. Results: Field performance evaluation of the weeder was conducted at different forward speeds and plant-to-plant spacing. The results revealed strong correlations between operating parameters and responses such as plant damage, weeding efficiency, performance index, and field efficiency, with R² values ranging from 67.87% to 83.61%. Optimal performance was achieved at a forward speed of 2.5 km∙h-1 and plant spacing of 60 cm, yielding a field capacity of 0.041 ha.h-1 and field efficiency of 86.25%. This study, therefore, provides a less labor-intensive solution for weed management in precision agriculture, paving the way for future innovations in the sector.
Chapter
This chapter explores the emerging issues in the agriculture supply chain. The chapters also aims to address the following objectives: (1) to examine sustainable agriculture practices that can reduce the environmental footprint, (2) to examine the environmental, logistical, and market-related challenges faced by agricultural supply chains, (3) to determine the role of digitalization and data analytics, including IoT applications and precision agriculture, and blockchain technology within agriculture supply chains, (4) to explore the future trends and opportunities in agriculture supply chain. The chapter employed a critical review of academic journals and other articles, with content analysis as the analytical approach. This chapter serves as a comprehensive resource for stakeholders, facilitating informed decision-making and promoting sustainability and resilience.
Conference Paper
Full-text available
Water is a vital resource for life, and for the economy. Nowadays, one of the most serious challenges to solve is to manage the water scarcity. Current water management ICT systems are supported by specific vendor equipment, without considering any interoperability standards. The lack of standardization among producer's water ICT equipment hinders proper monitoring and control systems, resulting in low efficiency in water distribution and consumption, system's maintenance and improvement, and failure identification. In this paper we propose a smart water management model integrating Internet of Things technologies for decoupling decision support systems and monitoring from business processes coordination and subsystem implementation. The proposed smart water management model makes specific vendor equipment interoperable and manageable in a water management domain in a homogeneous way.
Conference Paper
Full-text available
Stock theft is a major problem in the agricultural sector in South Africa and threatens both commercial and the emerging farming sectors in most of the country. Although there have been several techniques to identify cattle and combat stock theft, the scourge has not been eradicated in the farming sector. This paper investigates how we can model cow behaviour using global positioning wireless nodes to get the expected position of a cow. The objective of this research is to model the typical behaviour of a cow to determine anomalies in behaviour that could indicate the presence of the thieves. A wireless sensor node was designed to sense the position and speed of a cow. The position and the speed of the cow are collected for analysis. A random walk model is applied to the cow's position in order to determine the probability of the boundary condition where we assume there is an increased probability of a cow on the boundary position being stolen. The Continuous Time Markov Processes (CTMP) is applied to the movement pattern of an individual cow in order to find the probability that the cow will be at the boundary position. The value of 2.5 km/h has been found as our treshold to detect any agitation of the animal. The cow has less probability to be at the boundary position. The predictive model allows us to prevent stock theft in farms especially in South Africa and Africa in general.
Article
Ubiquitous sensing enabled by Wireless Sensor Network (WSN) technologies cuts across many areas of modern day living. This offers the ability to measure, infer and understand environmental indicators, from delicate ecologies and natural resources to urban environments. The proliferation of these devices in a communicating-actuating network creates the Internet of Things (IoT), wherein, sensors and actuators blend seamlessly with the environment around us, and the information is shared across platforms in order to develop a common operating picture (COP). Fuelled by the recent adaptation of a variety of enabling device technologies such as RFID tags and readers, near field communication (NFC) devices and embedded sensor and actuator nodes, the IoT has stepped out of its infancy and is the the next revolutionary technology in transforming the Internet into a fully integrated Future Internet. As we move from www (static pages web) to web2 (social networking web) to web3 (ubiquitous computing web), the need for data-on-demand using sophisticated intuitive queries increases significantly. This paper presents a cloud centric vision for worldwide implementation of Internet of Things. The key enabling technologies and application domains that are likely to drive IoT research in the near future are discussed. A cloud implementation using Aneka, which is based on interaction of private and public clouds is presented. We conclude our IoT vision by expanding on the need for convergence of WSN, the Internet and distributed computing directed at technological research community.
Article
Clinical techniques for monitoring live stock health are insufficient, as they provide only sporadic information and require too much resource investment in terms of time and veterinary expertise. A sophisticated system capable of continuously assessing the health of individual animals, aggregating these data, and reporting the results to owners and regional authorities could provide tremendous benefit to the livestock industry. Such a system would not only improve individual animal health, but it would help to identify and pre vent widespread disease, whether it originated from natural causes or from biological attacks. This paper presents results from a prototype telemonitoring system that utilizes wearable technology to provide continuous animal health data. The infrastructure, hardware, software, and representative physiological measurements are presented.