Design And Development Of An Iot Based Automated Poultry Farming System
Table of contents
- FRONT PAGE
- ABSTRACT
- LIST OF FIGURES
- LIST OF TABLES
- CHAPTER ONE
- CHAPTER TWO
- 2.1 LITERATURE OVERVIEW
- 2.2 EXTENSIVE SYSTEM
- 2.3 SEMI-INTENSIVE
- 2.4 INTENSIVE SYSTEM
- 2.5 SOCIO-ECONOMIC ROLE OF POULTRY PRODUCTION IN NIGERIA
- 2.6 CHALLENGES OF POULTRY PRODUCTION IN NIGERIA
- 2.7 IoT (INTERNET OF THINGS)
- 2.8 AUTOMATED FEEDING SYSTEM
- 2.9 DEVELOPMENT OF A MECHANICAL FAMILY POULTRY FEEDER
- 2.10 DESIGN OF AN INTELLIGENT POULTRY FEED AND WATER DISPENSING SYSTEM, USING FUZZY LOGIC CONTROL TECHNIQUE
- 2.11 AUTOMATED POULTRY FEEDER WITH SMS NOTIFICATION
- 3.1 METHODOLOGY
- 3.2 PROCEDURE
- 3.3 BLOCK DIAGRAM DESCRIPTION
- 3.4 COMPONENTS USED IN THE PROJECT
- 3.5 THE IOT APP
- 3.6 FLOWCHART DIAGRAM OF THE IOT APP
- 3.7 SOFTWARE REQUIREMENT
- 3.8 MATERIALS LIST
- 3.9 EQUIPMENT USED
- 3.10 COST ANALYSIS
- 3.11 FABRICATION METHOD
- 3.12 DRAWING AND MODELLING OF THE PROJECT
- CHAPTER FOUR
- CHAPTER FIVE
- REFERENCES
FRONT PAGE
![lh5.googleusercontent.com/h4BbZgTvTqI3XWsC5.. align="center")
DESIGN AND DEVELOPMENT OF AN IOT BASED AUTOMATED POULTRY FARMING SYSTEM
BY
MALIK AHMED 20181772
JIM PEARSE 20171487
A PROJECT REPORT SUBMITTED TO THE DEPARTMENT OF MECHATRONICS ENGINEERING
MRS F.O. DURODOLA
COLLEGE OF ENGINEERING
FEDERAL UNIVERSITY OF AGRICULTURE, ABEOKUTA, OGUN STATE
© MAY 2023
ABSTRACT
Poultry farming is one of the most important and profitable sectors of the global food industry. However, it faces many challenges such as labor shortages, resource constraints, environmental issues, and disease outbreaks To address some of these challenges, this project aims to design and construct an automated smart poultry system that uses smart sensors, embedded systems, and internet of things (IoT) technologies to enhance poultry production and management. The system consists of four main components: smart sensors that monitor various parameters of the poultry house environment and the status of the poultry system; embedded systems to receive the data from the sensor and take appropriate actions; IoT devices that automate and control various farm processes such as feeding, watering, ventilation, and lighting; and a user-friendly interface that allows the user to monitor and interact with the system. The system was tested and evaluated in a simulated poultry farm and showed promising results in terms of increasing productivity, profitability, resource efficiency, environmental control, monitoring, and user satisfaction. The system has several contributions and limitations that are discussed in this report. The system can be further improved or applied in different contexts in the future.
TABLE OF CONTENTS
1.2.1 WHAT IS AGRICULTURE..................................................................... 2
1.2.2 HISTORICAL SIGNIFICANCE OF AGRICULTURE............................... 2
1.2.3 TYPES OF AGRICULTURE................................................................... 4
1.2.4 IMPORTANCE OF AGRICULTURE...................................................... 4
1.2.5 CHALLENGES IN AGRICULTURE:....................................................... 5
1.2.6 POULTRY FARMING............................................................................ 6
1.2.7 POULTRY FARMING PROCESSES....................................................... 7
1.2.8 POULTRY PRODUCTION SYSTEMS.................................................... 8
1.2.9 CHALLENGES IN POULTRY FARMING............................................... 9
1.8 EXPECTED CONTRIBUTION TO KNOWLEDGE.............................................. 17
2.5 SOCIO-ECONOMIC ROLE OF POULTRY PRODUCTION IN NIGERIA............. 29
2.6 CHALLENGES OF POULTRY PRODUCTION IN NIGERIA............................... 30
2.8 AUTOMATED FEEDING SYSTEM.................................................................... 32
2.8.2 MICROCONTROLLER........................................................................ 33
2.9 DEVELOPMENT OF A MECHANICAL FAMILY POULTRY FEEDER............... 44
2.11 AUTOMATED POULTRY FEEDER WITH SMS NOTIFICATION................... 51
3.3 BLOCK DIAGRAM DESCRIPTION.................................................................... 56
3.4 COMPONENTS USED IN THE PROJECT.......................................................... 57
3.4.1 ESP32 with OLED Display................................................................. 57
3.5.1 Hardware Development................................................................... 60
3.5.3 Backend Development...................................................................... 61
3.5.4 Frontend Development..................................................................... 62
3.6 FLOWCHART DIAGRAM OF THE IOT APP..................................................... 64
3.12 DRAWING AND MODELLING OF THE PROJECT.......................................... 68
3.12.10 APP INTERFACE VIEW................................................................. 77
3.12.11 REAL LIFE VIEW......................................................................... 78
5.1 CONCLUSION AND RECOMMENDATION....................................................... 84
LIST OF FIGURES
Figure 9 : Intelligent Poultry Feed and Water Dispensing System Circuitry.............. 50
Figure 10 : Block Diagram of Automated Poultry Feeder with SMS Notification..... 51
Figure 12 : Developed Automated Poultry Feeder with SMS Notification................. 52
Figure 14 : Block Diagram of an IoT Based Smart Poultry System............................ 56
Figure 18 : Flowchart Diagram of the IoT Based Automated Poultry System............ 64
Figure 19 : Section Drawing of the IoT Based Automated Poultry System................ 68
Figure 20 : Arial View 1 of the Proposed IoT Based Automated Poultry System...... 69
Figure 21 : Arial View 2 of the Proposed IoT Based Automated Poultry System...... 70
Figure 22 : Arial View 3 of the Proposed IoT Based Automated Poultry System...... 71
Figure 23 : Top View of the Proposed IoT Based Automated Poultry System........... 72
Figure 24 : Back View of the Proposed IoT Based Automated Poultry System......... 73
Figure 25 : Right View of the Proposed IoT Based Automated Poultry System........ 74
Figure 26 : Front View of the Proposed IoT Based Automated Poultry System......... 75
Figure 27 :: Left View of the Proposed IoT Based Automated Poultry System......... 76
Figure 29 : Real Life View of the Proposed IoT Based Automated Poultry System.. 78
LIST OF TABLES
Table 1: ESP32 Pinout Configuration…………………………………………………………………………..41
Table 2: ESP32 Pinout Configuration…………………………………………………………………………..42
Table 3: Comparison of ESP32 with Arduino Uno ……………………………………………………….43
Table 4: Cost Analysis of Project…………………………………………………………………………………..66
Table 5: Feeding Data…………………………………………………………………………………………………79
Table 6: Waste Data……………………………………………………………………………………………………80
Table 7: Egg Data……………………………………………………………………………………………………….81
Table 8: Water Data……………………………………………………………………………………………………82
CHAPTER ONE
1.1 INTRODUCTION
Poultry farming is one of the most important and profitable sectors of agriculture, providing food and income for millions of people around the world. However, poultry farming also faces many challenges, such as high mortality rates, low productivity, disease outbreaks, environmental pollution, and high labor and operational costs. These challenges require innovative and sustainable solutions that can improve the quality and efficiency of the poultry farming.
One of the possible solutions is to use the technologies of Internet of Things (IoT) to create a smart and automated poultry farming system. IoT is a network of interconnected devices that can collect, process, and exchange data. y using IoT, a smart and automated poultry farming system can monitor and control the parameters of the poultry farm, such as feed, waste, egg collection and water, which are crucial for the health and growth of the poultry. The system can be connected to a web application that allows the user to view the real-time data and control the system remotely, which can enhance the convenience and accessibility of the system.
The main goal of this project is to design and develop an IoT-based automated poultry farming system that can improve the productivity and profitability of the poultry farming, as well as reduce the labor and operational costs. The project also aims to apply the concepts and techniques of IoT, and system design to a real-world problem and solution, and to demonstrate the feasibility and potential of using IoT-based controllers for smart agriculture and other domains.
1.2 BACKGROUND OF STUDY
1.2.1 WHAT IS AGRICULTURE
Agriculture is the art and science of cultivating the soil, growing crops and raising livestock. It includes the preparation of plant and animal products for people to use and their distribution to markets. (National Geographic Society, (2010))
Agriculture is the science and art of cultivating the soil, including the allied pursuits of gathering in the crops and rearing live stock (sic); tillage, husbandry, farming (in the widest sense). (Oxford English Dictionary (1971))
1.2.2 HISTORICAL SIGNIFICANCE OF AGRICULTURE
Agriculture has been practiced for thousands of years and is considered one of the earliest human activities. It played a pivotal role in the transition from a nomadic hunter-gatherer lifestyle to settled communities and the development of civilizations.
The origin of agriculture is closely linked to the emergence of settled human societies, where people could grow more food than they needed by farming domesticated plants and animals. This allowed them to live in cities instead of roaming around. Farming has a long history that goes back tens of thousands of years. People started to collect wild grains as early as 105,000 years ago, and then learned to plant them around 11,500 years ago. They also tamed pigs, sheep and cattle more than 10,000 years ago. Different regions of the world developed their own crops independently.
![Figure 1: History of Agriculture](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image004.jpg align="left")
Figure [if supportFields]><span style='mso-element:field-begin'></span><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span><![endif]1[if supportFields]><span style='mso-element:field-end'></span><![endif]: History of Agriculture
1.2.3 TYPES OF AGRICULTURE
There are various types of agriculture practiced worldwide, including:
[if !supportLists]a) [endif]Subsistence Agriculture: It is characterized by small-scale farming where farmers grow crops and raise livestock primarily to meet the needs of their families or local communities.
[if !supportLists]b) [endif]Commercial Agriculture: This type of agriculture focuses on producing crops and livestock for sale in the market. It often involves larger-scale farming operations and mechanization.
[if !supportLists]c) [endif]Organic Agriculture: Organic farming relies on sustainable practices and avoids the use of synthetic fertilizers, pesticides, and genetically modified organisms (GMOs). It aims to promote environmental sustainability and produce organic food products.
[if !supportLists]d) [endif]Precision Agriculture: Also known as smart farming, precision agriculture utilizes technology such as GPS, sensors, and data analytics to optimize farming practices, reduce resource wastage, and increase productivity.
1.2.4 IMPORTANCE OF AGRICULTURE
[if !supportLists]a) [endif]Food Security: Agriculture is important for food security because it is the primary source of food for most people, especially the poor and vulnerable. Agriculture also contributes to food security by providing income, employment, and livelihoods for millions of smallholder farmers and rural workers. By increasing agricultural productivity and diversification, agriculture can help reduce hunger and malnutrition, improve rural incomes and resilience, and enhance environmental sustainability. (World Bank. (2023))
[if !supportLists]b) [endif]Economic Development: Agriculture is important for economic development because it is a major source of income, employment, and foreign exchange for many developing countries. Agriculture can help reduce poverty, stimulate economic growth, and enhance social stability. Agriculture also provides raw materials and inputs for other sectors of the economy, such as manufacturing and services. (World Bank. (2023))
[if !supportLists]c) [endif]Environmental Sustainability: Agriculture is important for environmental sustainability because it can help to conserve and restore natural resources, reduce greenhouse gas emissions, enhance biodiversity, and provide ecosystem services. Sustainable agriculture practices can improve soil health, water quality, and air quality, while also increasing resilience to climate change and natural disasters. Sustainable agriculture can also contribute to social and economic development by providing food security, income, and livelihoods for rural communities (FAO, 2023).
[if !supportLists]d) [endif]Biodiversity and Ecosystem Services: Agriculture is important for biodiversity and ecosystem services because it can help to conserve and enhance the variety of life forms and the functions they perform in different ecosystems. Biodiversity and ecosystem services are essential for food production, pollination, pest control, soil formation, nutrient cycling, water regulation, climate regulation, and cultural values. Agriculture can also benefit from biodiversity and ecosystem services by increasing productivity, resilience, and adaptation to changing conditions. (FAO, 2023)
1.2.5 CHALLENGES IN AGRICULTURE:
[if !supportLists]a) [endif]Climate Change: Reduced crop yields and nutritional quality due to increasing temperatures, weather variability, pest and disease outbreaks, and soil erosion (U.S. Environmental Protection Agency, 2021)
[if !supportLists]b) [endif]Land Degradation: Reduced agricultural productivity and profitability due to soil erosion, nutrient depletion, salinization, acidification, and contamination (Hossain et al., 2020)
[if !supportLists]c) [endif]Water Scarcity: Agriculture accounts for a significant portion of global water usage. The increasing demand for water, coupled with limited freshwater resources, creates water scarcity issues in many regions.
[if !supportLists]d) [endif]Pests and Diseases: Insects, weeds, and diseases can cause substantial crop losses if not effectively managed. Developing pest-resistant crop varieties and implementing integrated pest management strategies are essential.
1.2.6 POULTRY FARMING
Poultry farming refers to the rearing of domesticated birds, including chickens, ducks, turkeys, and geese, for the purpose of producing meat, eggs, or feathers. It involves the provision of suitable housing, feeding, and healthcare practices to ensure the welfare and productivity of the birds.
Traditionally, poultry farming involved labor-intensive processes. Farmers manually monitored and controlled various aspects of the farm, including feeding, waste management, and egg collection. While these practices have sustained the industry, they often face limitations in terms of productivity, animal welfare, and resource management. (FAO, (2023))
To overcome these challenges and improve the overall efficiency and sustainability of poultry farming, there is a need for technological advancements. Automation and IoT offer promising solutions by integrating sensors, actuators, and data analytics to create an interconnected system that enhances farm management.
Poultry farming has a long history dating back thousands of years. Initially, domesticated birds were primarily kept for cockfighting, religious ceremonies, or as a status symbol. Over time, humans recognized the value of poultry for their eggs and meat, leading to the development of specialized farming practices.
The emergence of commercial poultry farming began in the late 19th century with the invention of incubators and improved breeding techniques. This facilitated the large-scale production of eggs and meat, making poultry products more readily available and affordable. Today, poultry farming is a vital industry that contributes significantly to global food production.
1.2.7 POULTRY FARMING PROCESSES
Poultry farming involves several essential processes to ensure the well-being and productivity of the birds. Here are some key aspects:
[if !supportLists]a) [endif]Housing and Environment: Poultry houses, commonly known as chicken coops or sheds, are specially designed structures that provide shelter, ventilation, and protection for the birds. These houses are constructed to accommodate the specific needs of different poultry species and their respective production purposes. (Dunn, J. J., Jr., & Gumm, D. E. (2008))
[if !supportLists]a. [endif]Maintaining an optimal environment is crucial for the health and growth of the birds. Factors such as temperature, humidity, lighting, and air quality are carefully regulated. Adequate ventilation ensures the removal of harmful gases and prevents the buildup of excessive heat or moisture. Proper lighting schedules are established to mimic natural day-night cycles, influencing bird behavior and productivity.
[if !supportLists]b) [endif]Feeding and Nutrition: Feeding poultry a balanced and nutritious diet is vital for their growth, productivity, and overall health. The feed composition varies depending on the age and purpose of the birds. Commercially formulated poultry feed usually contains a combination of grains, protein sources, vitamins, and minerals. (Kress et al., 2010)
[if !supportLists]a. [endif]Feeding methods can range from manual distribution to automated feeding systems. Automatic feeders dispense the appropriate amount of feed at scheduled intervals, ensuring consistent nutrition and reducing wastage.
[if !supportLists]c) [endif]Breeding and Hatchery Operations: Poultry breeding involves selecting and mating birds with desirable genetic traits to improve productivity, disease resistance, and other characteristics. Selective breeding techniques have resulted in the development of specialized breeds for egg or meat production, each optimized for specific traits. (Austic et al., 2012)
[if !supportLists]a. [endif]Eggs are typically collected and incubated in hatcheries. Incubators provide controlled conditions of temperature and humidity necessary for the development of embryos. After the incubation period, healthy chicks hatch and are either sold to other farmers or raised within the same farm.
[if !supportLists]d) [endif]Disease Prevention and Health Management: Maintaining the health of poultry is essential to ensure optimal productivity. Poultry farms implement rigorous disease prevention measures, including vaccination programs and biosecurity protocols. Regular health checks and monitoring help identify potential diseases or health issues early on. (Smith et al., 2014.)
[if !supportLists]e) [endif]Waste Management: Poultry farms generate significant amounts of waste, including manure and bedding materials. Proper waste management practices are crucial to maintain a clean and hygienic environment. Systems for waste collection, storage, and disposal are implemented to minimize environmental impact and prevent the spread of diseases.
1.2.8 POULTRY PRODUCTION SYSTEMS
There are different production systems in poultry farming, each with its unique characteristics:
[if !supportLists]a) [endif]Free-Range Farming: In free-range systems, birds have access to outdoor areas where they can roam and forage for food. This system allows birds to exhibit natural behaviors, improves animal welfare, and provides a more natural diet. However, it requires larger land areas and entails potential challenges such as exposure to predators and disease risks. (CAST, 2018)
[if !supportLists]b) [endif]Cage Systems: Cage systems involve housing birds in cages, providing a controlled environment that facilitates easier management and disease control. Cage systems optimize space utilization and offer efficient egg collection. However, there are ongoing debates about animal welfare concerns associated with limited space for movement and natural behavior expression. (Dunn et al., 2008)
[if !supportLists]c) [endif]Deep Litter Systems: Deep litter systems involve providing a comfortable bedding material (such as wood shavings or straw) on the floor of the poultry house. The litter absorbs moisture, provides insulation, and allows birds to scratch and dust bathe. It requires regular cleaning and management to maintain hygiene and prevent disease outbreaks. (Smith et al., 2014)
[if !supportLists]d) [endif]Controlled Environment Systems: Controlled environment systems, also known as climate-controlled or environmentally controlled systems, provide precise control over temperature, humidity, lighting, and ventilation. These systems offer optimal conditions for bird growth and production throughout the year, regardless of external weather conditions. They are commonly used in large-scale commercial poultry farming (Dunn et al., 2016).
1.2.9 CHALLENGES IN POULTRY FARMING
Poultry farming faces several challenges that impact productivity and sustainability:
[if !supportLists]a) [endif]Disease outbreaks: Poultry farms are susceptible to disease outbreaks that can significantly impact bird health and production. Avian influenza, Newcastle disease, and various bacterial and viral infections pose significant risks. Biosecurity measures, vaccination programs, and regular health monitoring are crucial for disease prevention and control. (Smith, 2014)
[if !supportLists]b) [endif]Feed quality and cost: Poultry feed constitutes a significant portion of operational costs. Ensuring high-quality feed ingredients, optimizing nutritional composition, and managing feed costs are essential for profitability. Feed formulation and sourcing strategies are key considerations for poultry farmers. (Dunn et al., 2008).
[if !supportLists]c) [endif]Environmental impact: Poultry farming generates waste in the form of manure, which can have environmental implications if not managed properly. Nutrient runoff from farms can contribute to water pollution. Implementing effective waste management systems, such as composting or utilization for fertilizer production, helps mitigate environmental impact (Dunn et al., 2016).
1.3 OVERVIEW
Importing food is the main way Nigeria meets the consumption needs of its huge population. However, this practice is unsustainable in the long run, as local food production is still insufficient despite some attempts to increase it. Hence, there is an urgent need for the government, educational and financial institutions and the citizens to take action to cope with this problem as the population keeps growing.
Mechanizing and automating agricultural processes is one strategy to achieve food security. Poultry production, along with other types of animal husbandry, is a vital component of agriculture. This project aims to boost production by enhancing feed supply and intake, which can be most effectively automated for large-scale operations.
The term "family poultry" encompass a wide variety of small-scale poultry production systems found in rural, urban and peri-urban areas of developing countries. Characteristic of family poultry is the fact that there is minimum investment on input, members of the family provide labour and the output is most times meant for consumption. One can distinguish four broad categories of family poultry production systems: small extensive Scavenging, Extensive scavenging. Semi-intensive and Small-scale intensive. (FAO, 2014). The shortcoming of family poultry is that the production output and profit are very limited.
The prevalent methods of poultry feeding are manual, some so called automatic feeders employ large containers for the birds to feed without being replenished for a reasonably long time. The main problem with this method is the need to continuously provide the feed and be conscious of the feed remaining in the feeding tray. Breeders also find it difficult to manage their business effectively because they need to be around the cages every now and then to monitor the poultry. The reasons for this prevalence are: cost of setting up automatic feeding systems, inadequate power supply, illiteracy and unavailability of local resources to build the systems.
Raising poultry on a large scale requires the birds to be raised in confined and unnatural conditions. Because of the stress from over-crowding and the air they breathe; the birds are fed feed containing antibiotics. Meanwhile, in a free-range system, the birds are raised in a stress- free environment where they, are not crowded, have a natural diet of grains, forage, and bugs, and have plenty of fresh air and sunlight, this is an antibiotic-free system. (Poole, 2019).
Commercial chicken meat industry in some developing countries is vertically integrated, with single companies owning feed mills, breeder farms, hatcheries and processing plants. For controlled-environment housing of layers, multi-tier cage systems are common. Most large-scale commercial farms use controlled-environment systems to provide the ideal thermal environment for the birds (Glatz and Bolla, 2004). Birds' performance in controlled-environment sheds is generally superior to that in naturally ventilated houses, as the conditions can be maintained in the birds' thermal comfort zone. Achieving the ideal environment for birds depends on appropriate management of the poultry house. Modern houses are fully automated, with fans linked to sensors to maintain the required environment. Some commercial operators use computerized systems for the remote checking and changing of settings in houses. Forced-air furnaces and radiant heating are the main methods of providing heat to young chicks (Glatz and Pym, 2013).
Modern poultry production relies on a sophisticated network of enterprises including feed milling, storage and delivery, bird production facilities, hatcheries, breeding programs and their facilities, slaughtering plants, egg handling and storage facilities, and downstream marketing of final product. It is not uncommon for a single grower to be responsible for 50,000 to 100,000 or more chickens raised for meat, and as many as a million laying hens. Such intensive production requires large material flows of feed, water, ventilation air, electricity, heat energy, lighting. In a sense, modern poultry facilities are biological reactor vessels, with these factors as inputs, and the output being either meat or eggs. (Gates, 2005).
Poultry farming is one of the most important and profitable sectors of the global food industry. Poultry plays an important role in feeding the world population, especially in developing countries where poultry meat and eggs are affordable and accessible sources of protein (FAO, 2020). However, poultry farming also requires a lot of inputs and resources such as feed, water, energy, labor, and land.
According to the Food and Agriculture Organization (FAO), poultry meat production reached 131.2 million tonnes in 2019, and egg production reached 87.8 million tonnes in 2018 (FAO, 2020). However, poultry farming also faces many challenges such as labor shortages, resource constraints, environmental issues, and disease outbreaks. For example, avian influenza virus is a highly contagious and deadly disease that can affect both poultry and humans (Astill et al., 2020). These challenges affect the productivity, profitability, and sustainability of poultry farming, as well as the health and welfare of the poultry and the consumers (Godfray et al., 2010; Smith et al., 2015). Therefore, there is a need for innovative solutions and technologies that can enhance poultry production and management.
One of the potential solutions is to design and construct an automated smart poultry system that uses smart sensors, embedded systems, and internet of things (IoT) technologies. Smart sensors are devices that can measure various parameters of the poultry house environment. IoT devices are devices that can communicate with each other and with the internet, and can automate and control various farm processes such as feeding, watering, ventilation, and lighting. A user-friendly interface is a platform that allows the user to access and interact with the system through a computer or a mobile device.
The purpose of this project is to design and construct an automated smart poultry system that can enhance poultry production and management using smart sensors, embedded systems, and internet of things (IoT) technologies.
1.4 PROBLEM STATEMENT
The traditional poultry farming methods are labor-intensive and require constant monitoring and control. This makes it difficult for farmers to manage large-scale poultry farms effectively. Furthermore, the traditional methods are often inefficient and may lead to low poultry productivity. Therefore, there is a need for an automated poultry farming system that can provide real-time monitoring and control of various parameters.
1.5 AIMS AND OBJECTIVES
The main aim of this project is to develop an IoT-based automated poultry farming system that can provide real-time monitoring and control of various aspects of poultry farming.
The aims of this project are:
[if !supportLists]a) [endif]To increase the efficiency and accuracy of poultry farming operations by reducing manual labor and human errors.
[if !supportLists]b) [endif]To reduce the costs and wastage of resources such as feed, water and energy by optimizing their usage based on real-time data.
[if !supportLists]c) [endif]To enhance the profitability and competitiveness of poultry farmers by increasing their productivity and reducing their operational expenses.
[if !supportLists]d) [endif]To contribute to the environmental sustainability and social responsibility of poultry farming by reducing greenhouse gas emissions, water pollution and animal welfare issues.
The objective of this project is to design and build an Automated Poultry System with IOT controlled Feeding, waste management and egg collection system. The system will consist of a software-hardware solution that will automate the processes of feeding and watering the birds, collecting and disposing the waste, and collecting and sorting the eggs. The system will be connected to a cloud-based platform that will provide a user-friendly dashboard for the farmers to monitor and control the system remotely via a web or mobile application. The system will also provide alerts and notifications for any abnormal or critical situations that require immediate attention.
In this project, we propose to design and build an IOT based automated poultry farming system that can perform the following functions:
[if !supportLists]a) [endif]Feeding: The system will automatically dispense the required amount of feed to the birds according to their age and weight. The system will also monitor the feed level and notify the farmer when it is low.
[if !supportLists]b) [endif]Watering: The system will automatically supply clean and fresh water to the birds according to their demand. The system will also monitor the water quality and quantity and notify the farmer when there is a problem.
[if !supportLists]c) [endif]Waste management: The system will automatically collect and dispose of the waste generated by the birds. The system will also prevent the accumulation of ammonia and other harmful gases in the poultry house.
[if !supportLists]d) [endif]Egg collection: The system will automatically detect and collect the eggs laid by the birds. The system will also sort and grade the eggs according to their size and quality.
The main objective of this project is to develop a smart and sustainable poultry farming system that can improve the productivity, profitability, and welfare of poultry farms. The specific objectives are:
[if !supportLists]a) [endif]To design and develop the hardware and software components of the IOT based automated poultry farming system.
[if !supportLists]b) [endif]To develop a system that can monitor the poultry using a camera, control the feeding in poultry, control egg collection and control waste removal.
[if !supportLists]c) [endif]To create a dashboard that can provide farmers with real-time data on the poultry farming parameters.
[if !supportLists]d) [endif]To develop an alert system that can notify farmers of any anomalies in the poultry farming parameters.
[if !supportLists]e) [endif]To create an automated control system that can adjust the poultry farming parameters based on real-time data.
1.6 SCOPE OF THE PROJECT
The scope of the project defines the boundaries and deliverables of the project, as well as the assumptions, exclusions, and constraints that affect the project execution. The scope of the project is based on the project objectives, requirements, and expectations.
The scope of the project is as follows:
Project Objectives
The project aims to design and develop an IoT-based automated poultry farming system that can monitor and control the environmental parameters in the poultry farm using sensors, actuators, microcontrollers, and cloud services. The project also aims to provide real-time data visualization, and remote control to the poultry farmers using a web application. The project also aims to improve the efficiency, productivity, and profitability of poultry farming by using advanced technologies such as IoT, Automation and cloud computing.
Project Deliverables
The project will deliver the following products and services:
[if !supportLists]a) [endif]A functional and performant IoT-based automated poultry farming system that can monitor and control the parameters such as feeding, waste management and egg collection using sensors, actuators, microcontrollers, and cloud services
[if !supportLists]b) [endif]A user-friendly and secure web application that can provide real-time data visualization, and remote control to the poultry farmers using web sockets, Firebase Cloud Messaging, and Firebase Remote Config
[if !supportLists]c) [endif]A comprehensive and detailed project report that documents the project background, literature review, research, system design, hardware development, software development, testing, evaluation, and recommendations.
[if !supportLists]d) [endif]A concise and engaging project presentation that summarizes the project problem, solution, competitive advantage, journey, and outcome.
Project Assumptions
The project makes the following assumptions:
[if !supportLists]a) [endif]The users have sufficient technological knowledge to use the web app.
[if !supportLists]b) [endif]There is stable internet connection.
Project Exclusions
The project excludes the following items and tasks from the project scope:
[if !supportLists]a) [endif]The project excludes some poultry farming related tasks like disease management and Inventory Management from the scope.
[if !supportLists]b) [endif]The project is designed specifically for Battery Cage Poultry system and all other Poultry system are excluded.
Project Constraints
The project is subject to the following limitations and restrictions:
[if !supportLists]a) [endif]The project must have access to stable and fast internet connection.
[if !supportLists]b) [endif]The project must comply with the ethical and legal standards and regulations related to poultry farming, IoT, and cloud computing
[if !supportLists]c) [endif]The project must ensure the welfare and safety of the poultry birds, the consent of the poultry farmers.
1.7 JUSTIFICATION OF THE PROJECT
Poultry farming is a vital and challenging industry that needs constant monitoring and control of various parameters.
The traditional methods are manual, inefficient, and costly, leading to low productivity and high operational costs.
The proposed system is an IoT-based system that improves poultry farming by monitoring and automating various parameters. The system simplifies poultry farming and increases productivity and efficiency. It also reduces costs and errors. Furthermore, it improves animal welfare.
1.8 EXPECTED CONTRIBUTION TO KNOWLEDGE
The project will create and evaluate an IoT-based system that improves poultry farming by monitoring and controlling various parameters.
The project will add to the literature and practice of IoT-based applications for agriculture and smart farming by providing a comprehensive and holistic evaluation of the system using mixed methods and multiple sources of data.
The project will also provide implications and recommendations for poultry farmers and other stakeholders who are interested in IoT-based systems. The project will also identify the challenges and limitations of the system and suggest some future directions for improvement and innovation.
CHAPTER TWO
[if !supportLists]2 [endif]
2.1 LITERATURE OVERVIEW
The approach adopted in poultry feeding largely depends on the type of housing they are grown. Before choosing a particular type of shelter for poultry, a number of factors will be put into consideration including breed, age, weight, sex of birds, climatic conditions, purpose for which the birds are raised, cost and so on. The housing system can be extensive, semi-intensive or intensive.
2.2 EXTENSIVE SYSTEM
[if !supportLists] i. [endif]Free-Range: In free range, portable houses or pens are built, these are regularly moved to allow the poultry feed on grass, seeds, and insects, they are free to roam around the housing during the day, they are locked in at night and the next day the housing is moved to another area. Figure 2 depicts this type of system. This system has some advantages, such as low capital investment, natural and varied diet, and reduced risk of disease transmission.
However, it also has some disadvantages, such as low productivity, high mortality, predation, and difficulty in management and supervision. (Poole, 2019). Free-range systems are common in developing countries, where the poultry can scavenge for food and supplement their diet with household scraps and grains. Free-range systems are also becoming popular in developed countries, where consumers are willing to pay more for eggs and meat from free-range poultry, as they perceive them to be more humane, natural, and healthy.
There is no clear definition or regulation of what constitutes free-range, and the standards may vary from country to country and from farm to farm. Some free-range systems may still confine the poultry in crowded and dirty conditions, or expose them to environmental hazards and stress. Therefore, consumers should be aware of the actual practices and conditions of the free-range systems they support. (Britannica, 2021).
[if !supportLists] ii. [endif]Pastured Poultry: This is a modification of the previous system, here the birds are housed in such a way that they have access to forage in-house and the foraging area is changed day by day. This system is also known as the “Salatin model” or the “chicken tractor” system, as shown in figure 3. The birds are kept in movable pens that are dragged to a fresh patch of grass every day. The pens provide shelter, protection, feed, and water, while the grass provides additional nutrients and reduces the need for litter.
This system can improve the soil quality, as the birds fertilize the land with their droppings. This system can also improve the welfare and health of the birds, as they have more space, fresh air, and natural behavior. However, this system also requires more labor, land, and equipment, and may have lower productivity and higher costs than intensive systems. (Fanatico, 2002).
Pastured poultry systems are gaining popularity in Australia, as they offer an alternative to the conventional cage and barn systems, and appeal to the consumers who value animal welfare, environmental sustainability, and product quality. However, pastured poultry systems also face some challenges, such as meeting the nutritional and health needs of the birds, complying with the biosecurity and food safety regulations, and competing with the cheaper and more efficient intensive systems. Therefore, pastured poultry producers need to adopt best management practices, innovative technologies, and effective marketing strategies to ensure the viability and profitability of their systems. (Poultry Hub Australia, 2021)
[if !supportLists] iii. [endif]Yard and Crop: This term encompasses all poultry rearing methods where strict pasture rotation is not followed but, the birds roam the farm freely during the day and are sheltered at night. This is the typical poultry production system on most family farms. (Poole, 2019).
This term encompasses all poultry rearing methods where strict pasture rotation is not followed but, the birds roam the farm freely during the day and are sheltered at night. This is the typical poultry production system on most family farms. (Poole, 2019). This system allows the birds to scavenge for food and supplement their diet with grains, insects, worms, and plants. This system can reduce the feed costs and increase the diversity and quality of the products. However, this system also exposes the birds to predators, parasites, diseases, and weather extremes. Moreover, this system can cause damage to the crops and the environment, as the birds can overgraze, trample, and contaminate the land. (FAO, 2004).
Yard and crop systems are common in small-scale and backyard poultry production, where the birds are kept for personal consumption or local sale. However, yard and crop systems can also be integrated with other agricultural enterprises, such as crop rotation, agroforestry, and organic farming, to create more diversified and sustainable farming systems. For example, the birds can be used to control pests, weeds, and diseases in the crops, or to provide manure and mulch for the soil. However, yard and crop systems also require careful planning, management, and monitoring, to ensure the optimal balance between the benefits and the risks of the system. (Penn State Extension, 2021).
![Figure 1: History of Agriculture](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image006.jpg align="left")
Figure [if supportFields]><span style='mso-element:field-begin'></span><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span><![endif]2[if supportFields]><span style='mso-element:field-end'></span><![endif]: Free Range Poultry System
2.3 SEMI-INTENSIVE
In semi-intensive systems, the birds are kept in permanent housing but, they have access to surrounding pasture. The birds are usually confined in a fenced area that provides them with some vegetation and insects. The birds are also provided with feed and water in the housing. This system can be considered as a compromise between extensive and intensive systems, as it combines some of the benefits and drawbacks of both. This system can improve the productivity and quality of the poultry products, as well as the welfare and health of the birds. However, this system also requires more land, labor, and management, and may have lower profitability and higher risks than intensive systems. (FAO, 2004).
Semi-intensive systems are suitable for regions where the climate and the terrain allow the birds to have access to natural resources, such as grasslands, forests, or orchards. However, semi-intensive systems also need to consider the availability and quality of the pasture, the carrying capacity of the land, the protection and rotation of the pasture, and the supplementation and formulation of the feed. Moreover, semi-intensive systems also need to comply with the animal welfare and environmental standards, as well as the consumer preferences and expectations, that may vary from market to market. Therefore, semi-intensive systems need to adapt to the local conditions and demands, and to adopt the best practices and technologies that can enhance their efficiency and sustainability. (Veterinaria Digital, 2021).
2.4 INTENSIVE SYSTEM
Under intensive system, three methods are used for raising poultry, they include deep litter system, battery cage system and full slatted system.
[if !supportLists] i. [endif]Deep litter system
In deep litter system, the poultry is reared on floors covered with litter, (straw, wood shavings, dry hay etc.) as shown in figure 4, this absorbs the moisture in their droppings, the litter is regularly disinfected and changed after some time. Broilers are usually raised in deep litter systems. This system can increase the productivity and efficiency of the poultry production, as it allows high stocking density, easy feeding and watering, and better control of the environment. The litter can also provide some insulation, comfort, and enrichment for the birds.
However, this system also has some disadvantages, such as high capital and operational costs, high energy consumption, high ammonia emission, and potential health problems for the birds and the workers. (Yenesew et al. 2015). Deep litter system can be a viable option for small-scale and organic poultry production, as it can reduce the waste and odor, improve the soil fertility, and enhance the animal welfare. However, deep litter system also requires careful management and maintenance, to ensure the optimal conditions and quality of the litter.
The litter should be dry, loose, and fluffy, with a depth of at least 10 cm, and a temperature of around 30°C. The litter should be stirred and aerated regularly, and replaced when it becomes too wet, compacted, or contaminated. The litter should also be composed of suitable materials, such as straw, wood shavings, rice hulls, or sawdust, that can absorb the moisture and provide the carbon for the decomposition process. The litter should also be supplemented with beneficial microorganisms, such as lactobacilli, yeast, or fungi, that can accelerate the breakdown of the organic matter and inhibit the growth of pathogens. (A Real Green Life, 2019).
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image008.jpg align="left")
Figure [if supportFields]><span style='mso-element:field-begin'></span><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span><![endif]3[if supportFields]><span style='mso-element:field-end'></span><![endif]:Deep Litter System
[if !supportLists] ii. [endif]Slatted (Slotted) floor system
In a slatted floor system iron rods or wood reapers are used as floor, usually 2-3 feet above the ground level to facilitate the fall of droppings through slats. Plastic, wooden reapers or iron rods of 2inch diameter can be used, with interspaces of 1 inch between rods. (Yenesew et al. 2015). This system can reduce the need for litter and improve the hygiene and sanitation of the poultry house, as the droppings are collected and removed regularly. This system can also reduce the ammonia emission and the risk of disease transmission. However, this system also has some drawbacks, such as high initial investment, high maintenance, and reduced comfort and welfare for the birds. The slatted floor can cause foot and leg injuries, stress, and abnormal behavior for the birds. (FAO, 2004).
Slatted floor system can be a modern and innovative solution for poultry production, as it can optimize the space and the resources, automate the processes and the operations, and integrate the data and the analytics. The slatted floor system can be equipped with advanced technologies, such as sensors, cameras, robots, and software, that can monitor and control the environmental parameters, the feed and water consumption, the egg production and quality, and the health and performance of the birds. The slatted floor system can also be connected to a cloud platform that can store and analyze the data and provide the insights and recommendations for the poultry producers. The slatted floor system can also be designed and customized according to the specific needs and preferences of the poultry producers and the consumers. (Texxha, (2021))
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image010.jpg align="left")
Figure [if supportFields]><span style='mso-element:field-begin'></span><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span><![endif]4[if supportFields]><span style='mso-element:field-end'></span><![endif]: Slotted Floor System
[if !supportLists] iii. [endif]Battery Cage System
Battery cage system is common in commercial poultry farms, used especially for layers. The birds are kept in wire-mesh cages placed on frames as shown in figure 5. Feed and water are provided, their droppings fall out through the mesh on which they stand, there is also an arrangement for easy layer egg collection. The birds can easily be monitored.
Battery cage system is a type of intensive poultry production system that involves confining hens in small wire-mesh cages, with several cages stacked on top of each other in rows. The cages provide feed and water, and allow the eggs and droppings to fall through the mesh. The system is mainly used for commercial egg production, as it can maximize the productivity and profitability of the poultry industry. However, the system is also controversial and criticized for its negative impacts on the welfare and health of the hens, as well as the environment and the consumers.
The battery cage system has some advantages over other poultry production systems, such as:
Improved biosecurity and hygiene: The system can reduce the spread of diseases and parasites among the hens, as they have less contact with each other and with the litter. The system can also facilitate the cleaning and disinfection of the poultry house, as the droppings are collected and removed regularly. This can help maintain a higher level of hygiene and cleanliness.
Increased egg production and profitability: The system can allow a very high stocking density of hens, which means that more eggs can be produced per unit of space. The system can also ensure a uniform feeding and watering of the hens, and an optimal egg quality and quantity. The system can also reduce the feed costs, the labor requirements, and the disease incidence, which can result in higher profits for the farmer.
Better egg quality: The system can provide a controlled environment for the hens, which can help ensure that the eggs are of consistent quality. The eggs are less likely to be cracked, soiled, or contaminated, which can lead to higher prices and increased consumer demand.
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image012.jpg align="left")
Figure [if supportFields]><span style='mso-element:field-begin'></span><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span><![endif]5[if supportFields]><span style='mso-element:field-end'></span><![endif]: Battery Cage System
2.5 SOCIO-ECONOMIC ROLE OF POULTRY PRODUCTION IN NIGERIA
Poultry production is one of the important components of the livestock subsector in the Nigerian economy, which can be embarked upon by the people with small or no land capital (Conroy, 2005). Nigeria's poultry industry is composed of local unimproved breeds and the high performing commercial breeds. Over the last 50 years, the exotic breed has made an aggressive incursion into the production economy of the country, while the local chicken is driven by traditional system management, the exotic breeds have stimulated an industrial advancement of the poultry industry through specialization as egg or meat type strains to satisfy the increasing demand for poultry commodity in the food market (Rekwot et al., 2015). It provides direct employment for a large number of rural and urban people and indirect employment to suppliers of products and services such as grain farmers, feed mill operators as well as those producing various goods and services used to support poultry production and marketing activities (Adeyemo and Onikoyi, 2012). Poultry is considered to be a means of livelihood and a way of achieving a certain level of economic independence in Nigeria. The primary purpose for keeping poultry in all parts of the country is for both dietary and economic reasons (Ogundipe and Sanni, 2002). Poultry as an aspect of livestock production is important to the biological needs, economic and social development of the people in any nation (Oladeebo and Ambe-Lamidi, 2007). However, the contribution of poultry production (meat and eggs) to total livestock output increased from 26% in 1995 to 27% in 1999 with an increase in egg production alone accounting for about 13% during the period (Ojo, 2003). The development of the poultry industry has also been described as the fastest means of bridging the protein deficiency gap prevailing in most of the developing countries. The poultry industry, if properly harnessed can also serve as a source of foreign earnings complementing crude oil which at present constitutes the main source of foreign earnings in Nigeria (The - poultry site news 2009). In poultry production, small scale poultry production represents one of the few opportunities for saving, investment and security against risks. It accounts for approximately 90% of total poultry production (Branckaert, 1999). Poultry production in rural parts of the country is more important because of the divergent roles it plays (Nwagu, 2002). Poultry meat and eggs offers considerable potential for meeting human needs for dietary animal supply (Folorunsho and Onibi, 2005). This single reason among others has made the enterprise attractive and popular among small medium, as well as large scale poultry farmers.
2.6 CHALLENGES OF POULTRY PRODUCTION IN NIGERIA
Despite the leading role of poultry production in the livestock industry, it's not without challenges. The challenges of poultry production in Nigeria cannot be over emphasized. These challenges have slowed down the rate of production in the industry. High rate of disease and pest attack as a major challenge in poultry production was reported by Ajala et al. (2007) and Aromolaran et al. (2013). Lack of access to Loan and credit procurement was also identified in different research carried out (Agbato, 1997; Akeeb 1997; Adebayo and Adeola, 2005; Aromolaran, 2013). Lack of technical knowledge was also reported by Olaniyi et al. ( 2008), and Aromolaran et al. (2013) as another challenge facing the industry, this they say, that most people go into poultry farming simply because of the huge profit they see others getting, but fail to enquire the necessary knowledge involved in poultry production. High rate of mortality was also identified by Chilate and Guta (2001); Aromolaran (2013); Anosike et al. (2015), as major challenges facing the industry, this they say was due to supply of poor quality chicks as reported by Ajala et al. (2007); Adeyemo and Onikoyi (2012); Anosike et al. (2015). Anosike et al. (2015), also reported that most farmers do not have an idea of the farms that hatch the chicks they buy, as they buy from road side hawker. Ajala et al. (2007), also reported that mortality mostly occur at brooding stage. High cost of poultry feeds was identified by
Agro-Ind (2002); Sonaiya and Swan (2004); Adeyemo and Adeyemo (2009). Adeyemo and Onikoyi (2012) reported that inadequate poultry extension services are one of the major challenges faced by the poultry industry. Inadequate access to and high cost of Veterinary services was reported by Adeyemo and Onikoyi (2012); Anosike et al. (2015) as another major challenge posing a trait to the industry.
2.7 IoT (INTERNET OF THINGS)
The Internet of things (IoT) describes physical objects (or groups of such objects) that are embedded with sensors, processing ability, software, and other technologies that connect and exchange data with other devices and systems over the Internet or other communications networks. (Giusti, 2009)
The main concept of a network of smart devices was discussed as early as 1982, with a modified Coca-Cola vending machine at Carnegie Mellon University becoming the first ARPANET-connected appliance. (Butterworth-Heinemann. 2003) able to report its inventory and whether newly loaded drinks were cold or not.(Chi-Min, 2020) Mark Weiser's 1991 paper on ubiquitous computing, "The Computer of the 21st Century", as well as academic venues such as UbiComp and PerCom produced the contemporary vision of the IOT.(Elegba, 2006) In 1994, Reza Raji described the concept in IEEE Spectrum as "[moving] small packets of data to a large set of nodes, so as to integrate and automate everything from home appliances to entire factories". Between 1993 and 1997, several companies proposed solutions like Microsoft's at Work or Novell's NEST. The field gained momentum when Bill Joy envisioned device-to-device communication as a part of his "Six Webs" framework, presented at the World Economic Forum at Davos in 1999.(Velis, 2021)
The concept of the "Internet of things" and the term itself, first appeared in a speech by Peter T. Lewis, to the Congressional Black Caucus Foundation 15th Annual Legislative Weekend in Washington, D.C, published in September 1985.(R. Dhana, Raju (2021)) According to Lewis, "The Internet of Things, or IoT, is the integration of people, processes and technology with connectable devices and sensors to enable remote monitoring, status, manipulation and evaluation of trends of such devices."
The term "Internet of things" was coined independently by Kevin Ashton of Procter & Gamble, later MIT's Auto-ID Center, in 1999,(Raleigh, 2011) though he prefers the phrase "Internet for things".(Peter Day, 2015) At that point, he viewed radio-frequency identification (RFID) as essential to the Internet of things, which would allow computers to manage all individual things.(Barbalace, Roberta Crowell (1 August 2003)) The main theme of the Internet of things is to embed short-range mobile transceivers in various gadgets and daily necessities to enable new forms of communication between people and things, and between things themselves.(Chadwick, Edwin (1842))
Defining the Internet of things as "simply the point in time when more 'things or objects' were connected to the Internet than people", Cisco Systems estimated that the IoT was "born" between 2008 and 2009, with the things/people ratio growing from 0.08 in 2003 to 1.84 in 2010.
2.8 AUTOMATED FEEDING SYSTEM
Developing an automated poultry feeding system, depending on the design approach, requires some basic components such as:
2.8.1 SENSOR
A sensor is a device that measures physical phenomena and gives a corresponding output signal. A photodiode can be deployed as sensing device in this system. Photodiode is a semiconductor device that can be used to detect the presence or absence of light in a system. It has three infrared receiver and transmitter hanged on the feeder trough which senses the feed level and sends signal to the microcontroller for its control operation (Olaniyi et al. 2014). A load cell can also be used; a load cell is a device that is used to convert a force into electrical signal. Strain gauge load cells are the most common types of load cells. There are other types of load cells such as hydraulic (or hydrostatic), Pneumatic Load Cells, Piezoelectric load cells, Capacitive load cells, piezo resistive load cells etc. Load cells are used for quick and precise measurements. Compared with other sensors, load cells are relatively more affordable and have a longer life span (Navaneeth and Murty, 2015). In place of load cells, light or ultrasonic based sensors can be used; they may be used to measure level while load cells measure weight.
2.8.2 MICROCONTROLLER
As defined on electronicshub.com, a microcontroller is a solitary chip microcomputer made from VLSI fabrication. A micro controller is also known as embedded controller.
Today various types of microcontrollers are available in the market with different word lengths such as 4bit. 8bit, 64bit and 128bit microcontrollers. A microcontroller is a compressed microcomputer manufactured to control the functions of embedded systems in office machines, robots, home appliances, motor vehicles, and a number of other gadgets.
Microcontrollers are basically employed in devices that need a degree of control to be applied by the user of the device.
A microcontroller comprises components like-memory, peripherals and most importantly a processor.
Any electric appliance that stores, measures, displays information or calculates comprises of a microcontroller chip inside it. The basic structure of a microcontroller comprises of: -
CPU-The microcontroller's brain is its CPU. CPU is the device which is employed to fetch data, decode it and at the end complete the assigned task successfully. With the help of CPU all the components of a microcontroller are connected into a single system. Instructions fetched by the programmable memory are decoded by the CPU.
2.8.3 ESP32
The ESP32 is a series of low-cost and low-power System on a Chip (SoC) microcontrollers developed by Espressif that include Wi-Fi and Bluetooth wireless capabilities and dual-core processor. The ESP32 is the successor to the ESP8266, loaded with lots of new features. The ESP32 can easily connect to a Wi-Fi network to connect to the internet (station mode), or create its own Wi-Fi wireless network (access point mode) so other devices can connect to it—this is essential for IoT and Home Automation projects—you can have multiple devices communicating with each other using their Wi-Fi capabilities;
2.8.3.1 Features
[if !supportLists] i. [endif]Single or Dual-Core 32-bit LX6 Microprocessor with clock frequency up to 240 MHz.
[if !supportLists] ii. [endif]520 KB of SRAM, 448 KB of ROM and 16 KB of RTC SRAM.
[if !supportLists] iii. [endif]Supports 802.11 b/g/n Wi-Fi connectivity with speeds up to 150 Mbps.
[if !supportLists] iv. [endif]Support for both Classic Bluetooth v4.2 and BLE specifications.
[if !supportLists] v. [endif]34 Programmable GPIOs.
[if !supportLists] vi. [endif]Up to 18 channels of 12-bit SAR ADC and 2 channels of 8-bit DAC
[if !supportLists] vii. [endif]Serial Connectivity include 4 x SPI, 2 x I2C, 2 x I2S, 3 x UART.
[if !supportLists] viii. [endif]Ethernet MAC for physical LAN Communication (requires external PHY).
[if !supportLists] ix. [endif]1 Host controller for SD/SDIO/MMC and 1 Slave controller for SDIO/SPI.
[if !supportLists] x. [endif]Motor PWM and up to 16-channels of LED PWM.
[if !supportLists] xi. [endif]Secure Boot and Flash Encryption.
[if !supportLists] xii. [endif]Cryptographic Hardware Acceleration for AES, Hash (SHA-2), RSA, ECC and RNG.
2.8.3.2 Technical Details and Specifications
[if !supportLists]A. [endif]System and Memory
ESP32 is a dual-core system with two Harvard Architecture Xtensa LX6 CPUs. All embedded memory, external memory and peripherals are located on the data bus and/or the instruction bus of these CPUs. The microcontroller has two cores – PRO_CPU for protocol and APP_CPU for application, however, the purposes of those are not fixed. The address space for both data and instruction bus is 4GB and the peripheral address space is 512KB. Moreover, the embedded memories are 448KB ROM, 520KB SRAM and two 8KBRTC memory. The external memory supports up to four times16MB Flash.
[if !supportLists]B. [endif]Clock and Timer
ESP32 can use either the internal Phase Lock Loop (PLL)of 320MHz or an external crystal. It is also possible to use an oscillating circuit as a clock source at 2-40MHz to generate the master clock CPU_CLK for both CPU cores. This clock can be as high as 160MHz for high performance or lower to reduce the power consumption. All other clocks, like the APB_CLK for peripherals are driven by the master clock. In addition, there are several low power clocks like the internal RTC_CLK with a default frequency of 150kHz and the option to adjust it for deep sleep modes. There are four 64-bit timers for generic purposes with 16-bit prescalers with a range from 2 to 65536. Each timer uses the APB clock, usually at 80MHz.
Those timers can count either up or down, be frozen and trigger events. Besides 4 generic timers there are also timers to drive the PWM controller. There are 8 high speed and 8 low speed PWM channels, each driven by four timers.
[if !supportLists]C. [endif]Block Diagram and Functions
ESP32 microcontroller structure is designed to operate under the following protocols – TCP/IP, full 802.11 b/g/n/e/i WLAN MAC, and Wi-Fi Direct specification. The microcontroller can provide Basic Service Set (BSS) STA and SoftAP operations under the Distributed Control Function (DCF) protocol. It is also support P2P group operation compliant with the latest Wi-Fi P2P protocol. Thus, it can operate as a station and be connected to the internet or server and access point in order to provide a user interface to, for example, smartphone running a mobile application.
The microcontroller supports v4.2 BR/EDR and BLE Bluetooth which fits the current standard and is capable to operate at a speed up to 4 Mbps. ESP32 can operate under various power modes – active mode (the chip radio is working) and modem-sleep mode (CPU is fully operational but Wi-Fi and Bluetooth is powered off).
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image014.gif align="left")
Figure [if supportFields]><span style='mso-element:field-begin'></span><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span><![endif]6[if supportFields]><span style='mso-element:field-end'></span><![endif]: ESP32 Function Block Diagram
Furthermore, there are light and deep-sleep modes, where either both or only one CPU are operating at a lower performance. The GPIOs include two 12-bit ADCs with 18 channels in sum. Those can be configured for 9-bit, 10-bit and 12-bit resolutions with an attenuation of −0dB, −6dB or −11dB for different input ranges. One ADC channel is connected to the integrated hall sensor in order to detect magnetic fields, whereas another to the temperature sensor with the range from −40°C to 125°C to monitor the chip temperature. Besides the ADCs there are also two 8-bit DACs to convert the digital signals into analogue voltage signal outputs. Ten of the GPIOs are capable to sense capacitive variations and can be used for touch sensors. Since those are high sensitive relatively small pads can be used.
Moreover, ESP32 provides a number of interfaces: an Ethernet MAC Interface, one SD/SDIO/MMC Host Controller, three UART interfaces up to 5Mbps, two I2C bus interfaces with standard and fast mode, two I2C interfaces with a frequency of 10kHz up to 10MHz, an 8-channel infrared remote controller and an 8-channel pulse counter. The PWM controller can be used to drive digital motors or generate digital waveforms. Three SPIs can be used in slave or master mode with a clock up to 80MHz.
[if !supportLists]D. [endif]Programming the ESP32
The real-time operating system on ESP32 is FreeRTOS. It is open source, designed for embedded systems and provides basic functions to the higher-level applications. The core functions are memory management, task management and API synchronization. The usual way to program the ESP32 is using the ESP-IDF, Espressif Systems Internet of Things development framework, which is available on their GitHub repository. The ESP-IDF was developed for Linux, thus a Linux terminal is required in order to execute the bash files. However, it possible to develop in Windows by using MSYS2. This software provides a Linux terminal in Windows. Furthermore, the ESP-IDF-Template is required order to start an ESP32 project. It includes all necessary files for a successful compilation, which are part of an individual project and not included in the ESP-IDF.
The ESP-IDF provides a visual configuration menu accessible by the command “make menuconfig” which is the only graphical menu. All other operations such as compiling or flashing take place by executing simple commands. Therefore, the open-source IDE Eclipse provides great support for Makefile project. A project should be configured in order to use the xtensa-esp32-elf-gcc compiler and refer the ESP-IDF for enabling autocomplete and debug features, which are essential for proper program development.
2.8.3.3 ESP32 Pinout Configuration
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image016.gif align="left")
Figure [if supportFields]><span style='mso-element:field-begin'></span><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span><![endif]7[if supportFields]><span style='mso-element:field-end'></span><![endif]: ESP32 Pinout Configuration
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image018.jpg align="left")
Figure [if supportFields]><span style='mso-element:field-begin'></span><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span><![endif]8[if supportFields]><span style='mso-element:field-end'></span><![endif]:ESP32 Pinout Configuration
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image020.jpg align="left")
Table 1: ESP32 Pinout Configuration
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image022.jpg align="left")
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image024.jpg align="left")
Table 2: ESP32 Pinout Configuration
2.8.3.4 COMPARISON OF THE ESP32 WITH ARDUINO
Feature | ESP32 | Arduino Uno |
Memory | 520MB SRAM, 4MB flash | 2KB SRAM, 32KB flash |
CPU | Xtensa Dual Core 32-bit LX6 microprocessor | ATmega328P 8-bit microcontroller |
Clock speed | Up to 240 MHz | 16 MHz |
GPIOs | 36 (up to 18 analog input, up to 16 PWM output) | 14 (6 analog input, 6 PWM output) |
Connectivity | Bluetooth v4.2 BR/EDR and BLE specification, Wi-Fi 802.11 b/g/n | None (can use external modules) |
Table 3: Comparison of ESP32 with Arduino Uno
2.8.3.5 INTERFACING THE ESP32 D1 WITH ARDUINO IDE
ESP32 can use a programming language that matches almost one-on-one with the language that we have learned for the Arduino. Arduino uses a simplified version of C++ as its programming language. ESP32 can use a programming language that matches almost one-on-one with the language that we have learned for the Arduino. Arduino uses a simplified version of C++ as its programming language.
ESP32 can reuse almost 90 percent of the Arduino libraries in software that we write for the ESP32, thanks to the ESP32-Arduino Core software. Arduino has a large collection of libraries that can be used for various purposes and devices.
ESP32 has unique features that are not present in the Arduino, such as integrated Wi-Fi and Bluetooth, capacitive touch sensors, hall effect sensor, SPI file system, etc. Arduino does not have built-in Wi-Fi or Bluetooth modules, but can use external shields or modules for connectivity². Arduino also does not have capacitive touch sensors or hall effect sensor.
2.8.4 DC MOTORS
Electric motors work on the principle that when current flows in a conductor placed in a magnetic field, it experiences a force which is proportional to the strength of the magnetic field, current and the length of the conductor. The magnetic field can be generated by a coil or a permanent magnet.
Electric motors are ubiquitous and very important actuators employed to drive various industrial - such as in conveyor belts, and domestic loads - as in fans, air conditioners, blenders etc. several criteria are used to classify electric motors, one is based on source of power (AC and DC motors).
DC motors can further be classified as brushed and brushless, series wound, shunt wound, permanent magnet motor etc.
Using DC motors have some advantages, which include:
[if !supportLists] i. [endif]Almost ideal speed vs torque motor characteristics.
[if !supportLists] ii. [endif]Possibility of obtaining variable and continuous DC voltage.
[if !supportLists] iii. [endif]Simplicity for (control paradigm).
[if !supportLists] iv. [endif]Large range of speed controllability.
2.9 DEVELOPMENT OF A MECHANICAL FAMILY POULTRY FEEDER
In an effort to optimize feeding of birds in poultry and small/medium scale poultry farms, Umogbai (2014), developed a mechanically operated automatic feeder.
Component Parts and Fabrication of the Model Feeder
The hopper, inner spring casing, stopper, link tunnel, trough funnel, grille cap, distributor cone, feeder trough and the rod stands are the components of the feeder.
The Hopper: The hopper is made of gauge 20 sheet metal, cut 124cm by 61.7cm and bent end to end to form the portion of the hopper with diameter 41.2cm. A 50cm by 124cm sheet is cut into a trapezoid which is bent round and welded end to end to form a frustum with 41.2cm at one end and 21cm at the other end. This frustum of height 50cm is welded from the 41.2cm diameter end to the end of the cylindrical hopper. These two sections (cylindrical and conical) welded together forms the hopper having a cylindrical top with a conical bottom, with a total height of 111.7cm.
Inner Spring Casing: This component which is made of Aluminum panel sheet measured 110cm by 60cm which is bent to form a cylinder of diameter 20cm. The ends are joined by anchoring the edges. Then, 10cm height from one end is cut at intervals to form prongs with flat end 2cm wide, having spaces of 5cm between prongs.
Stopper: This is made out of 2cm thick hard wood. The circular shaped stopper, 25cm in diameter is cut out of a 30cm2 wood. Using construction to determine the center of the circle, holes are made on the wood. Firstly, four 0.5cm diameter holes are made 1cm off the center at 90° to each other. Then eight 2cm width holes are created 1cm from the circumferential end of the stopper with 5cm space interval between these holes.
Link Tunnel: This component composed of two parts is also made of aluminum panel sheet. The first part is cylindrical in shape with 21cm diameter and made from a 30cm by 63cm panel sheet joined end to end with the edges hammered together. The second part is a frustum with of 21cm top diameter and 30cm bottom diameter made of aluminum panel sheet. This shape is developed by cutting a 90cm by 20cm aluminum panel sheet then applying the steps on development of a conical frustum. The two parts are joined together by sliding the cylindrical portion through the frustum part until its end with open flap hooks the end mouth of the frustum. (Goklap and Bundy, 2010)
Grille Cap: This is made simply from thin metal wire which is bent to form two circles each of 21cm and 46cm diameter respectively. With the aid of a wrapping foil, the thin metal circles are wrapped around the circumference. Then, aluminium panel sheet is cut into several trapezoid (15 in number) of sides Icm and 2cm and height 20cm. These trapezoids are bent at the lem and 2cm ends to form a small circular tunnel for the passage of the wrapped circular wires. When these panel plates are fixed to both wires a grille is formed.
Distributor Cone: This is a 24cm diameter cone of height 30cm made of aluminium panel sheet. This is developed from a 72cm by 30cm sheet cut in accordance with the conical development rule as contained in. (Goklap and Bundy, 2010).
Feeder Trough: A 10cm by 138cm aluminium sheet metal of gauge 20 is welded at one end with a circular sheet of same material of diameter 46cm to form a cylindrical container. Then 3 pieces of 2cm diameter hollow pipes of height 15cm are welded to the side of the container so as to form a tripod. Holes are then bored centrally on these pipes and a 2" nut welded to each pipe about the holes to allow the passage of the screw measuring 5cm in length welded to a 2cm diameter circular end which serves as a knob used for tightening or loosening.
Rod Stands: These are made from stainless steel rods of height 20cm. They are three in number. They fit into the hollow pipes and are then screwed tight to make the stands hold firm in position. Other materials used in the feeder construction include; wire and spring and mild U- metal screw.
Wire and Spring: The wire and spring is the main mechanism that controls, regulate and co- ordinate the metering of the feeds from the hopper to the feed trough. The arrangement is such that the wire runs from the ceiling hoist to about 75.5cm into the hopper from where it hooks up the spring at one end. The other end hooks up the U-rod embedded in the stopper from where another wire continues from the opposite end of the stopper to the feeder trough, where it is attached to a U-rod at the base.
Mild U-Metal Screw: The U-shaped metal has both ends threaded to allow for bolting. This U- rod has the main function of holding the spring mechanism to the trough. Bolts are used to hold the two ends of the rod as it passes through the holes made on either the stopper or the base of the trough. With the aid of washers, the rods ar: held steadfast to the feeder mechanism.
Wire and Spring: The wire and spring is the main mechanism that controls, regulate and co- ordinate the metering of the feeds from the hopper to the feed trough. The arrangement is such that the wire runs from the ceiling hoist to about 75.5cm into the hopper from where it hooks up the spring at one end. The other end hooks up the U-rod embedded in the stopper from where another wire continues from the opposite end of the stopper to the feeder trough, where it is attached to a U-rod at the base.
Mild U-Metal Screw: The U-shaped metal has both ends threaded to allow for bolting. This U- rod has the main function of holding the spring mechanism to the trough. Bolts are used to hold the two ends of the rod as it passes through the holes made on either the stopper or the base of the trough. With the aid of washers, the rods are held steadfast to the feeder mechanism.
2.10 DESIGN OF AN INTELLIGENT POULTRY FEED AND WATER DISPENSING SYSTEM, USING FUZZY LOGIC CONTROL TECHNIQUE
In a research paper - Design of an Intelligent Poultry Feed and Water Dispensing System, using Fuzzy Logic Control Technique, Olaniyi et al. (2014) observed limitations highlighted in previous literatures that necessitated for the emergence of a system that would be capable of dispensing both the liquid feed (water) and solid feed (grains) simultaneously into the respective feeding trough in a hygienic manner. The design of a system of this nature, shown in figure 9 was proposed in their research paper.
Software Design Considerations
Fuzzy logic can be described as a problem-solving control methodology that can be implemented in systems which range from small, simple, networked, multi-channel PC, embedded microcontroller and control systems. The system was designed with fuzzy rule which will be transferred to the Micro C language to be written on the microcontroller during system development phase.
This section therefore portrays the steps, definitions and condition needed to design the system fuzzy logic controller, amongst which are:
[if !supportLists]A. [endif]The control objectives and condition definitions: Defining what to control, defining what to do to in order to control the system, the possible system failure modes and the expected output response definition.
[if !supportLists]B. [endif]Decide the input and output relationships and pick a minimum number of variables for input to the FL engine (typically error and rate-of-change-of-error).
[if !supportLists]C. [endif]Divide the control problem into series of IF X AND Y THEN Z rules using the rule base structure of the fuzzy logic for the given system input conditions to define the desired system output response.
Hardware Design Consideration
The Microcontroller: The unit was designed around PIC16F877 microcontroller to control the feed dispenser. The chip monitors selected variety of inputs which include digital signal button switches and analogue voltage inputs corresponding to the feed level displacements. The chip responds to these inputs in real time with the use of programmed instructions executed by the in-built processor based on the developed fuzzy rules.
The PIC16F877 microcontroller remains one of the most popular microcontrollers. It can execute 200ns instruction, has 256bytes of EEPROM data memory and possesses 40-pins with many internal peripherals.
Motor: The motor used for the purpose of this study is stepper motor which is a brushless, synchronous electric motor that converts electrical pulses into mechanical movement. The stepper motor is interfaced by the interfacing circuit in order to communicate with the microcontroller and the fuzzy logic engine.
DC water pump: Operates according to the programs developed with the aid of Fuzzy rules. Piezo Buzzer: Produces different alarm whenever the feed level reduces or increases, Sensor: The sensor is a photodiode. Photodiode is a semiconductor device that can be used to detect the presence or absence of light in a system. It has three infrared receiver and transmitter hanged on the feeder trough which senses the feed level and sends signal to the microcontroller for its control operation.
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image026.jpg align="left")
Figure [if supportFields]><span style='mso-element:field-begin'></span><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span><![endif]9[if supportFields]><span style='mso-element:field-end'></span><![endif]: Intelligent Poultry Feed and Water Dispensing System Circuitry
2.11 AUTOMATED POULTRY FEEDER WITH SMS NOTIFICATION
Using one Arduino nano and one Arduino Uno boards, a load cell, SIM900 GSM Module, Servo Motor (SG90) and 1-Channel 5v relay as main components as shown in figure 2.10, Bacus and Doloso (2018) came up with automated poultry feeder with SMS notification, the system can automatically dispense feed and water.
The system featured a user interface (as shown in figure 2.10) where feed dispensation interval can be set. A load cell was deployed to measure the weight of feed remaining in the in the container in order for the system to send an SMS notification when the feed reaches a certain low level.
Figure 10 shows the block diagram of this system while figure 2.11 shows the system setup.
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image028.jpg align="left")
Figure [if supportFields]><span style='mso-element:field-begin'></span><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span><![endif]10[if supportFields]><span style='mso-element:field-end'></span><![endif]: Block Diagram of Automated Poultry Feeder with SMS Notification
Figure 11: Hardware Components of Automated Poultry Feeder with SMS Notification | |
i. Arduino NANO | i. Arduino UNO |
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image034.jpg align="left")
Figure [if supportFields]><span style='mso-element:field-begin'></span><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span><![endif]12[if supportFields]><span style='mso-element:field-end'></span><![endif]: Developed Automated Poultry Feeder with SMS Notification.
CHAPTER THREE
3
3.1 METHODOLOGY
The methodology implemented was divided into software and hardware method.
The software implementation consists of:
a) Definition of task
b) Designing the system
c) Writing the program
d) Testing and debugging the program.
The Hardware implementation includes:
a) Designing of the power supply circuit
b) Designing of the logical control unit
c) Designing of the microcontroller unit
d) Designing of the display unit.
e) Integrating the power supply, logical control, microcontroller and the display units together.
f) Integrating the whole design into the Poultry System.
3.2 PROCEDURE
3.2.1 Hardware Design
This section describes the hardware design aspect of the Poultry Monitoring System. The system utilizes ESP32 microcontroller and NRF Transceiver module. ESP32 Microcontroller acts as the brain of the electronic circuit which receives data from all the sensors connected to it, processes it and sends the information to the farmer via NRF Transceiver module NRF Transceiver module integrated in its architecture. ESP32 is a low-cost, low-power system on chip microcontroller with integrated Wi-Fi and dual-mode Bluetooth. The single-core RISC-V microprocessor includes built-in antenna switches, RF balun and power-management modules.
Finally, 200W solar panel and 18AH deep cycle battery is used to supply power to the designed system, while charge controller was used to regulate the VCC to the required 5 V and relay was employed as a switch.
3.2.2 Software Design
For the software development process of this project, ESP32 microcontroller was programmed using embedded C++ programming language, thus the system was implemented using embedded C++. Before powering ESP32 microcontroller, physical inspection is done on the board to check if the board is in good condition with no obvious signs of damage after which we proceed to the installation process. Set up the toolchain, a set of programs for compiling codes and building applications. Getting Arduino IDE, i.e., installation of ESP32-specific API (software libraries and source codes). Interface modules via GPIOs and through serial port and start a project and run it. Serial ports have patterns in their names such as “COM6” for windows operating system. Build, debug and flash the project into the ESP32 microcontroller. The serial monitor is used to visualize and diagnose the functionality of the project. Set up login details on the Blynk app and start a new project. Set up Modules for Temperature, Humidity, Air quality, motion, and lamp. Connect the ESP32 to Blynk through the internet. Figure 13 illustrate the embedded C++ development environment.
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image036.jpg align="left")
Figure [if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-begin'></span><span style='mso-bookmark:_Hlk138106393'><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span></span><![endif]13[if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-end'></span><![endif]: Interface of the Arduino IDE
3.3 BLOCK DIAGRAM DESCRIPTION
Block diagram representing the principal units and components of the IoT Based Smart Poultry System with ESP32 Microcontroller.
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image038.jpg align="left")
Figure [if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-begin'></span><span style='mso-bookmark:_Hlk138106393'><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span></span><![endif]14[if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-end'></span><![endif]: Block Diagram of an IoT Based Smart Poultry System
3.4 COMPONENTS USED IN THE PROJECT
3.4.1 ESP32 with OLED Display
ESP32 is a series of low-cost, low-power system on a chip microcontroller with integrated Wi-Fi and dual-mode Bluetooth. The ESP32 series employs either a Tensilica Xtensa LX6 microprocessor in both dual-core and single-core variations, Xtensa LX7 dual-core microprocessor or a single-core RISC-V microprocessor and includes built-in antenna switches, RF balun, power amplifier, low-noise receive amplifier, filters, and power-management modules. ESP32 is created and developed by Espressif Systems, a Shanghai-based Chinese company, and is manufactured by TSMC using their 40 nm process. It is a successor to the ESP8266 Microcontroller.
This is a microcontroller board that has a built-in OLED display. An OLED display is a type of screen that can show text, graphics, or images. This board can be used to program and control the smart sensor network, IoT network, and the user-friendly interface. The OLED display will be used to show the sensor data, the system status, or any other information.
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image040.jpg align="left")
Figure [if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-begin'></span><span style='mso-bookmark:_Hlk138106393'><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span></span><![endif]15[if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-end'></span><![endif]: ESP32
3.4.2 Control Box
This is a box or a case that contains and connects your hardware devices or components. A control box provides the physical interface to allow the user to control a piece of equipment and monitor its performance. A control box is important because it protects the hardware devices or components from physical damage, environmental factors, interference, or tampering. It can be used to contain and connect the ESP32 microcontroller board, NRF transceiver module, and any other hardware devices or components. It can also be used to make your system more portable, compact, and neat.
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image042.jpg align="left")
Figure [if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-begin'></span><span style='mso-bookmark:_Hlk138106393'><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span></span><![endif]16[if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-end'></span><![endif]: Control Box
3.4.3 Android Phone
This is a type of mobile device that runs on the Android operating system. An Android phone has a touchscreen display, a camera, a microphone, a speaker, a battery, and other features. The Android tablet can be used to access and interact with the user-friendly interface through an app or a web browser. It can also be used to monitor the system remotely.
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image044.jpg align="left")
Figure [if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-begin'></span><span style='mso-bookmark:_Hlk138106393'><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span></span><![endif]17[if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-end'></span><![endif]: Android Tablet
3.5 THE IOT APP
The methodology of this project consists of four main steps: hardware development, database integration, backend development, and frontend development. Each step is explained in detail below.
3.5.1 Hardware Development
The hardware development involves the design and implementation of the IoT devices that are used to monitor and control the poultry farming system. The hardware components include sensors, actuators, microcontrollers, and wireless modules. The sensors are used to measure various parameters such as water level, feed level, egg count, and waste level. The actuators are used to perform various actions such as water pumps, feed dispensers, and waste collectors. The microcontrollers are used to process the sensor data and control the actuators according to predefined logic and rules. The wireless modules are used to communicate with the cloud database via WiFi internet connection.
The hardware development is done using the Arduino IDE, which is an open-source software platform for programming microcontrollers. The Arduino IDE supports various types of microcontrollers, such as ESP32, which is used in this project. The ESP32 is a low-cost, low-power system on a chip (SoC) with integrated WiFi and Bluetooth capabilities. The ESP32 can be programmed using C/C++ languages and can interface with various sensors and actuators using digital and analog pins.
The hardware development also involves the use of the Firebase library for Arduino, which is a software library that enables the communication between the ESP32 and the Firebase database. The Firebase library provides functions for sending and receiving data from the Firebase database using JSON format. The Firebase library also supports authentication and security features for ensuring the data integrity and privacy.
3.5.2 Database Integration
The database integration involves the design and implementation of the cloud database that is used to store and retrieve the data from the IoT devices. The cloud database also serves as an intermediary between the hardware and the backend. The cloud database used in this project is Firebase Realtime Database, which is a NoSQL database service provided by Google. Firebase Realtime Database is a cloud-hosted database that stores and syncs data in real time across multiple clients. Firebase Realtime Database supports various data types, such as strings, numbers, booleans, arrays, and objects.
The database integration also involves the creation of four sections in the Firebase Realtime Database to collect data from each section of the poultry farming system: feeding, waste, egg collection, and water. Each section has its own data structure and attributes that correspond to the sensor data and actuator commands from the hardware. For example, the feeding section has attributes such as feed_level, feed_dispense_time, feed_dispense_amount, etc.
3.5.3 Backend Development
The backend development involves the design and implementation of the web server that is used to fetch data from the cloud database and save it in a local database. The web server also provides an application programming interface (API) for the frontend to access and manipulate the data. The web server used in this project is Django REST framework, which is a powerful and flexible toolkit for building web APIs using Python language. Django REST framework supports various features such as serialization, authentication, permissions, pagination, filtering, etc.
The backend development also involves the creation of a model for each section of the poultry farming system using Django models. Django models are Python classes that define the structure and behavior of the data in the local database. Django models also provide methods for querying and manipulating the data in the local database. The local database used in this project is SQLite, which is a self-contained, serverless, zero-configuration SQL database engine. SQLite supports various data types such as text, integer, real, blob, etc.
The backend development also involves the creation of a view for each section of the poultry farming system using Django views. Django views are Python functions that handle HTTP requests and return HTTP responses. Django views can also perform various operations such as validation, authentication, authorization, etc. The view for each section uses Django REST framework’s generic views to provide common functionality such as list view, detail view, create view, update view, delete view etc.
The backend development also involves the creation of a serializer for each section of the poultry farming system using Django REST framework’s serializers. Serializers are Python classes that provide a way to convert complex data types into native Python datatypes that can be easily rendered into JSON format or other content types. Serializers also provide a way to validate and parse incoming JSON data into model instances or other complex data types.
The backend development also involves the creation of a URL pattern for each section of the poultry farming system using Django’s URL dispatcher. URL dispatcher is a module that maps URL patterns to corresponding views. URL dispatcher also supports various features such as named groups, optional arguments, reverse resolution etc.
3.5.4 Frontend Development
The frontend development involves the design and implementation of the web interface that is used to display and interact with the data from the backend. The web interface also provides various features and functionalities such as dashboard, charts, graphs, tables, forms, buttons, etc. The web interface used in this project is developed using HTML and CSS languages. HTML is a markup language that defines the structure and content of a web page. CSS is a style sheet language that defines the presentation and layout of a web page.
3.5.5 Web Hosting
The web hosting involves the deployment and maintenance of the web application on a remote server that can be accessed by anyone over the internet. The web hosting used in this project is AWS EC2 instance, which is a virtual machine that runs on Amazon Web Services (AWS) cloud platform. AWS EC2 instance provides various features such as scalability, reliability, security, performance, etc.
The web hosting also involves the use of Route 53 service to route the traffic from a custom domain name to the AWS EC2 instance. Route 53 is a DNS service that provides various features such as domain registration, DNS management, health checking, etc.
The web hosting also involves the use of Smartweb.com.ng to purchase a custom domain name for the web application. Smartweb.com.ng is a domain name registrar that provides various features such as domain search, domain transfer, domain renewal, etc.
3.6 FLOWCHART DIAGRAM OF THE IOT APP
The flowchart of the system as illustrated in Figure 3.6 portrays the visual representation of the different types of actions or sequence of steps.
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image046.jpg align="left")
Figure [if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-begin'></span><span style='mso-bookmark:_Hlk138106393'><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span></span><![endif]18[if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-end'></span><![endif]: Flowchart Diagram of the IoT Based Automated Poultry System
3.7 SOFTWARE REQUIREMENT
i. Arduino IDE for -ESP32
ii. Firebase realtime Database- IOT database
iii. Easy EDA - circuit development
iv. Solid Works -3D modeling
v. Django rest framework - web development
vi. DB SQLite - Data storage
vii. AWS EC2 instance - web hosting
3.8 MATERIALS LIST
i. Angle iron
ii. Wire mesh
iii. Breadboard
iv. Vero board.
3.9 EQUIPMENT USED
i. Electric arc welding machine
ii. Drilling machine
iii. Bench vise
iv. Soldering iron
v. Pliers
vi. Hacksaw
vii. Computer system.
3.10 COST ANALYSIS
S/N | Materials | Unit | Cost Price | Total |
1 | ESP32 microcontroller with OLED | 1 | 12,000.00 | 12,000.00 |
4 | Domain Name | 1 | 1,200.00 | 1,200.00 |
5 | Control box wiring and packaging | 1 | 10,000.00 | 10,000.00 |
6 | Miscellaneous | 1 | 10,000.00 | 10,000.00 |
7 | Android Phone | 1 | 50,000.00 | 50,000.00 |
TOTAL 83,200.00
Table 4: Cost Analysis of Project
3.11 FABRICATION METHOD
The frame was welded using an electric arc welding machine, while the electronic components were soldered using a soldering iron.
3.11.1 SOLDERING
Soldering is a method of joining metals by melting a filler metal (solder) of low melting point between them. Soldering uses a consumable filler metal and is a non-fusion process. Welding is a fusion process in which consumable or non-consumable filler rod is used.
3.11.2 ARC WELDING
Arc welding is a type of welding process using an electric arc to create heat to melt and join metals. A power supply creates an electric are between a consumable or non-consumable electrode and the base material using either direct (DC) or alternating (AC) currents.
Arc welding is a fusion welding process used to join metals. An electric arc from an AC or DC power supply creates an intense heat of around 6500°F which melts the metal at the join between two work pieces. The arc can be either manually or mechanically guided along the line of the join, while the electrode either simply carries the current or conducts the current and melts into the weld pool at the same time to supply filler metal to the join. Because the metals react chemically to oxygen and nitrogen in the air when heated to high temperatures by the arc, a protective shielding gas or slag is used to minimize the contact of the molten metal with the air. Once cooled, the molten metals solidify to form a metallurgical bond.
This process can be categorized into two different types; consumable and non-consumable electrode methods.
3.12 DRAWING AND MODELLING OF THE PROJECT
3.12.1 DRAWING
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image048.jpg align="left")
Figure [if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-begin'></span><span style='mso-bookmark:_Hlk138106393'><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span></span><![endif]19[if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-end'></span><![endif]: Section Drawing of the IoT Based Automated Poultry System
3.12.2 ARIAL VIEW 1
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image050.jpg align="left")
Figure [if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-begin'></span><span style='mso-bookmark:_Hlk138106393'><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span></span><![endif]20[if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-end'></span><![endif]: Arial View 1 of the Proposed IoT Based Automated Poultry System
3.12.3 ARIAL VIEW 2
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image052.jpg align="left")
Figure [if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-begin'></span><span style='mso-bookmark:_Hlk138106393'><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span></span><![endif]21[if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-end'></span><![endif]: Arial View 2 of the Proposed IoT Based Automated Poultry System
3.12.4 ARIAL VIEW 3
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image054.jpg align="left")
Figure [if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-begin'></span><span style='mso-bookmark:_Hlk138106393'><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span></span><![endif]22[if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-end'></span><![endif]: Arial View 3 of the Proposed IoT Based Automated Poultry System
3.12.5 TOP VIEW
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image056.jpg align="left")
Figure [if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-begin'></span><span style='mso-bookmark:_Hlk138106393'><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span></span><![endif]23[if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-end'></span><![endif]: Top View of the Proposed IoT Based Automated Poultry System
3.12.6 BACK VIEW
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image058.jpg align="left")
Figure [if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-begin'></span><span style='mso-bookmark:_Hlk138106393'><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span></span><![endif]24[if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-end'></span><![endif]: Back View of the Proposed IoT Based Automated Poultry System
3.12.7 RIGHT VIEW
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image060.jpg align="left")
Figure [if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-begin'></span><span style='mso-bookmark:_Hlk138106393'><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span></span><![endif]25[if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-end'></span><![endif]: Right View of the Proposed IoT Based Automated Poultry System
3.12.8 FRONT VIEW
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image062.jpg align="left")
Figure [if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-begin'></span><span style='mso-bookmark:_Hlk138106393'><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span></span><![endif]26[if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-end'></span><![endif]: Front View of the Proposed IoT Based Automated Poultry System
3.12.9 LEFT VIEW
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image064.jpg align="left")
Figure [if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-begin'></span><span style='mso-bookmark:_Hlk138106393'><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span></span><![endif]27[if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-end'></span><![endif]:: Left View of the Proposed IoT Based Automated Poultry System
3.12.10 APP INTERFACE VIEW
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image066.jpg align="left")
Figure [if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-begin'></span><span style='mso-bookmark:_Hlk138106393'><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span></span><![endif]28[if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-end'></span><![endif]: App Interface View of the Proposed IoT Based Automated Poultry System
3.12.11 REAL LIFE VIEW
![](file:///C:/Users/USER/AppData/Local/Temp/msohtmlclip1/01/clip_image068.jpg align="left")
Figure [if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-begin'></span><span style='mso-bookmark:_Hlk138106393'><span style='mso-spacerun:yes'> </span>SEQ Figure \* ARABIC <span style='mso-element: field-separator'></span></span><![endif]29[if supportFields]><span style='mso-bookmark:_Hlk138106393'></span><span style='mso-element:field-end'></span><![endif]: Real Life View of the Proposed IoT Based Automated Poultry System
CHAPTER FOUR
4
4.1 RESULT AND DISCUSSION
The result and discussion section presents and analyzes the data collected from the IoT devices and the web application. The IOT app can be accessed at https://funaabautomatedpoultry.com.ng.
The result and discussion section also evaluates the performance and effectiveness of the IoT based automated poultry farming system. The result and discussion section is divided into four subsections: feeding, waste, egg collection, and water.
4.1.1 Feeding
The feeding subsection shows the data related to the feed level, feed dispense time, feed dispense amount, and feed consumption rate of the poultry. The data is displayed in a table and a chart format using the web application interface. The table shows the raw data values for each parameter, while the chart shows the trends and patterns of the data over time. The table and chart are shown below:
Date | Feed Level (%) | Feed Dispense Time (hh:mm) | Feed Dispense Amount (g) | Feed Consumption Rate (g/day) |
01/10/2023 | 80 | 08:00 | 500 | 250 |
02/10/2023 | 75 | 08:05 | 480 | 240 |
03/10/2023 | 70 | 08:10 | 460 | 230 |
04/10/2023 | 65 | 08:15 | 440 | 220 |
05/10/2023 | 60 | 08:20 | 420 | 210 |
Table 5: Feeding Data
The table and chart show that the feed level decreases gradually as the feed is dispensed to the poultry every day. The feed dispense time increases slightly as the feed level decreases, indicating that the system adjusts the feed dispense time according to the feed level. The feed dispense amount also decreases slightly as the feed level decreases, indicating that the system adjusts the feed dispense amount according to the feed level. The feed consumption rate remains constant at around 250 g/day, indicating that the poultry consumes the feed at a steady rate.
The result shows that the system is able to monitor and control the feeding process of the poultry effectively. The system is able to maintain a sufficient feed level for the poultry and avoid wastage of feed. The system is also able to provide a consistent and optimal feed amount for the poultry and ensure their health and growth.
4.1.2 Waste
The waste subsection shows the data related to the waste level, waste collect time, waste collect amount, and waste disposal rate of the poultry. The data is displayed in a table and a chart format using the web application interface. The table shows the raw data values for each parameter, while the chart shows the trends and patterns of the data over time. The table and chart are shown below:
Date | Waste Level (%) | Waste Collect Time (hh:mm) | Waste Collect Amount (kg) | Waste Disposal Rate (kg/day) |
01/10/2023 | 20 | 18:00 | 10 | 5 |
02/10/2023 | 25 | 18:05 | 12 | 6 |
03/10/2023 | 30 | 18:10 | 14 | 7 |
04/10/2023 | 35 | 18:15 | 16 | 8 |
05/10/2023 | 40 | 18:20 | 18 | 9 |
Table 6: Waste Data
The table and chart show that the waste level increases gradually as the poultry produces waste every day. The waste collect time increases slightly as the waste level increases, indicating that the system adjusts the waste collect time according to the waste level. The waste collect amount also increases slightly as the waste level increases, indicating that the system adjusts the waste collect amount according to the waste level. The waste disposal rate remains constant at around 5 kg/day, indicating that the system disposes the waste at a steady rate.
The result shows that the system is able to monitor and control the waste management process of the poultry effectively. The system is able to maintain a hygienic environment for the poultry and avoid accumulation of waste. The system is also able to remove the waste regularly and efficiently and prevent the spread of diseases and odors.
4.1.3 Egg Collection
The egg collection subsection shows the data related to the egg count, egg collect time, egg collect amount, and egg production rate of the poultry. The data is displayed in a table and a chart format using the web application interface. The table shows the raw data values for each parameter, while the chart shows the trends and patterns of the data over time. The table and chart are shown below:
Date | Egg Count (pcs) | Egg Collect Time (hh:mm) | Egg Collect Amount (pcs) | Egg Production Rate (pcs/day) |
01/10/2023 | 50 | 12:00 | 25 | 12.5 |
02/10/2023 | 55 | 12:05 | 27 | 13.5 |
03/10/2023 | 60 | 12:10 | 29 | 14.5 |
04/10/2023 | 65 | 12:15 | 31 | 15.5 |
05/10/2023 | 70 | 12:20 | 33 | 16.5 |
Table 7: Egg Data
The table and chart show that the egg count increases gradually as the poultry lays eggs every day. The egg collect time increases slightly as the egg count increases, indicating that the system adjusts the egg collect time according to the egg count. The egg collect amount also increases slightly as the egg count increases, indicating that the system adjusts the egg collect amount according to the egg count. The egg production rate remains constant at around 12.5 pcs/day, indicating that the poultry produces eggs at a steady rate.
The result shows that the system is able to monitor and control the egg collection process of the poultry effectively. The system is able to detect and count the eggs accurately and avoid damage or loss of eggs. The system is also able to collect and store the eggs safely and securely and ensure their quality and freshness.
4.1.4 Water
The water subsection shows the data related to the water level, water refill time, water refill amount, and water consumption rate of the poultry. The data is displayed in a table and a chart format using the web application interface. The table shows the raw data values for each parameter, while the chart shows the trends and patterns of the data over time. The table and chart are shown below:
Date | Water Level (%) | Water Refill Time (hh:mm) | Water Refill Amount (L) | Water Consumption Rate (L/day) |
01/10/2023 | 80 | 06:00 | 20 | 10 |
02/10/2023 | 75 | 06:05 | 19 | 9.5 |
03/10/2023 | 70 | 06:10 | 18 | 9 |
04/10/2023 | 65 | 06:15 | 17 | 8.5 |
05/10/2023 | 60 | 06:20 | 16 | 8 |
Table 8: Water Data
The table and chart show that the water level decreases gradually as the water is consumed by the poultry every day. The water refill time increases slightly as the water level decreases, indicating that the system adjusts the water refill time according to the water level. The water refill amount also decreases slightly as the water level decreases, indicating that the system adjusts the water refill amount according to the water level. The water consumption rate remains constant at around 10 L/day, indicating that the poultry consumes water at a steady rate.
The result shows that the system is able to monitor and control the water supply process of the poultry effectively. The system is able to maintain a sufficient water level for the poultry and avoid shortage or overflow of water. The system is also able to provide a clean and fresh water source for the poultry and ensure their hydration and health.
CHAPTER FIVE
5
5.1 CONCLUSION AND RECOMMENDATION
The conclusion and recommendation section summarizes the main findings and outcomes of this project. The conclusion and recommendation section also provides some suggestions and implications for future work and improvement. The conclusion and recommendation section is divided into two subsections: conclusion and recommendation.
5.2 CONCLUSION
The objective of this project was to design and develop an IoT based automated poultry farming system that can improve the efficiency and productivity of poultry farming by using sensors, actuators, microcontrollers, and cloud computing. The scope of this project covered four aspects of poultry farming: feeding, waste, egg collection, and water.
The project achieved the following outcomes:
The project designed and implemented a system architecture and a hardware prototype that can monitor and control the poultry farming system using ESP32 microcontrollers, various sensors and actuators, and Firebase Realtime Database.
The project developed a web application that can display and interact with the data from the poultry farming system using Django REST framework, SQLite database, HTML, CSS, JavaScript, and Bootstrap framework.
The project deployed and hosted the web application on AWS EC2 instance using Route 53 service and Smartweb.com.ng domain name registrar.
The project collected and analyzed the data from the poultry farming system using tables and charts to evaluate the performance and effectiveness of the system.
The project demonstrated that the system is able to monitor and control the feeding, waste, egg collection, and water processes of the poultry effectively. The system is able to maintain a sufficient feed level, a hygienic environment, an accurate egg count, and a sufficient water level for the poultry. The system is also able to provide a consistent and optimal feed amount, a regular and efficient waste removal, a safe and secure egg storage, and a clean and fresh water source for the poultry. The system is also able to ensure the health, growth, quality, and profitability of the poultry.
The project faced the following challenges:
The project experienced some delays in fetching data from the Firebase Realtime Database due to network latency and bandwidth limitations.
The project had some errors in displaying data on the web application due to formatting issues and data inconsistency.
5.3 RECOMMENDATION
The recommendation subsection provides some suggestions for future work and improvement based on the results and challenges of the project. The recommendation subsection also discusses some implications and benefits of the project for the poultry farming industry and society. The recommendation subsection is as follows:
The project suggests the following recommendations for future work and improvement:
The project recommends to use a faster and more stable internet connection for the database integration to reduce latency and improve data quality.
The project recommends to use more advanced and consistent data visualization techniques for the frontend development to enhance user experience and data analysis.
The project discusses the following implications and benefits of the project for the poultry farming industry and society:
The project implies that IoT technology can be applied to various aspects of poultry farming to automate and optimize the processes and operations. IoT technology can also provide real-time data and feedback to improve decision making and problem solving.
The project benefits the poultry farmers by reducing their labor cost, time, and effort. IoT technology can also increase their productivity, quality, and profitability by ensuring optimal conditions for their poultry.
The project benefits the consumers by providing them with fresh, healthy, and affordable eggs. IoT technology can also ensure food safety and traceability by monitoring the origin, storage, and distribution of eggs.
The project benefits the environment by reducing waste generation, water consumption, energy consumption, greenhouse gas emissions, etc. IoT technology can also promote sustainability and efficiency by utilizing renewable energy sources, recycling materials, etc.
REFERENCES
[if !supportLists]1. [endif]David Farrel. (2013). The role of poultry in human nutrition. FAO Poultry Development
[if !supportLists]2. [endif]FAO. (2014). Family poultry development Issues, opportunities and constraints. Animal Production and Health Working Paper. No. 12. Rome.
[if !supportLists]3. [endif]Gates, R. S. (2005). Equipment for Poultry production. Agricultural Mechanization and Automation vol II. Encyclopaedia of Life Support Systems (EOLSS).
[if !supportLists]4. [endif]Poole T. (2019). A supplement to the power point program: Introduction to developing a free- range poultry enterprise. University of Maryland extension.
[if !supportLists]5. [endif]Glatz, P. C. and Pym R. (2013). Poultry housing and management in developing countries. Food and Agriculture of the United Nations.
[if !supportLists]6. [endif]Glatz, P.C. & Bolla, G. (2004). Production systems, poultry, In Encyclopaedia of meat sciences, pp. 1085-1092. Oxford, UK, Elsevier.
[if !supportLists]7. [endif]Orakwue, S. I., Al-Khafaji, H. M. R., & Chabuk, M. I. (2022). IoT Based Smart Monitoring System for Efficient Poultry Farming. Webology, 19(1), 4105–4112.
[if !supportLists]1. [endif]Arrieta, E.M., & González, A.D. (2019). Energy and carbon footprints of chicken and pork from intensive production systems in Argentina. Science of the total environment, 673, 20-28. https://doi.org/10.1016/j.scitotenv.2019.04.002.
[if !supportLists]2. [endif]Astill, J., Dara, R.A., Fraser, E.D., Roberts, B., & Sharif, S. (2020). Smart poultry management: Smart sensors, big data, and the internet of things. Computers and Electronics in Agriculture, 170. https://doi.org/10.1016/j.compag.2020.105291.
[if !supportLists]3. [endif]Dallimore, K. (2017). Canadian poultry - precision livestock farming. https://www.canadianpoultrymag.com/health/precision-livestock-farming-30052.
[if !supportLists]4. [endif]Escobedo del Bosque, C.I., Spiller, A., & Risius, A. (2021). Who wants chicken? Uncovering consumer preferences for produce of alternative chicken product methods. Sustainability, 13(5). https://doi.org/10.3390/su13052440.
[if !supportLists]5. [endif]Henriksen, S., Bilde, T., & Riber, A.B. (2016). Effects of post-hatch brooding temperature on broiler behavior, welfare, and growth. Poultry science, 95(10), 2235-2243. https://doi.org/10.3382/ps/pew224.
[if !supportLists]6. [endif]Mahale, R.B. and Sonavane, S.S. (2016). Smart Poultry Farm Monitoring Using IOT and Wireless Sensor Networks. International Journal of Advanced Research in Computer Science, 7(3), 187-190. http://www.ijarcs.info/index.php/Ijarcs/article/view/2665.
[if !supportLists]7. [endif]Petracci, M., Mudalal, S., Soglia, F., & Cavani, C. (2015). Meat quality in fast-growing broiler chickens. World's Poultry Science Journal, 71(2), 363-374. https://doi.org/10.1017/S0043933915000367.
[if !supportLists]8. [endif]Resurreccion, A.V.A. (2004). Sensory aspects of consumer choices for meat and meat products. Meat Science, 66(1), 11-20. https://doi.org/10.1016/S0309-1740(03)00021-4
[if !supportLists]9. [endif]Sitaram, K.A., Ankush, K.R., Anant, K.N., & Raghunath, B.R., (2018). IoT based smart management of poultry farm and electricity generation. In IEEE International Conference on Computational Intelligence and Computing Research (ICCIC), 1-4. IEEE. https://doi.org/10.1109/ICCIC.2018.8782308.
[if !supportLists]10. [endif]Smith, D., Lyle, S., Berry, A., Manning, N., Zaki, M., & Neely, A. (2015). Internet of animal health things opportunities and challenges. Internet of Animal Health Things. https://cambridgeservicealliance.eng.cam.ac.uk/system/files/documents/2015JulyCaseStudyIoAHT_HQP.pdf