Final Manuscript
Final Manuscript
by
at
FEU Alabang
March 2022
ii
APPROVAL AND ACCEPTANCE SHEET
The thesis entitled “Arduino-Based Heat Drying Device: Extending the Shelf life
of Selected Root Crops (such as Potato, Sweet potato, and Cassava) at Home”
prepared and submitted by:
In partial fulfillment of the course requirement for the Degree of Bachelor of Science
in Electronics Engineering has been examined and is hereby recommended for
approval.
iii
TABLE OF CONTENTS
CHAPTER 1 .................................................................................................................................... 1
INTRODUCTION ........................................................................................................................... 1
CHAPTER 2 .................................................................................................................................. 11
CHAPTER 3 .................................................................................................................................. 24
METHODOLOGY ........................................................................................................................ 24
iv
3.1 Introduction ................................................................................................................. 24
CHAPTER 4 .................................................................................................................................. 55
CHAPTER 5 .................................................................................................................................. 88
CONCLUSION ............................................................................................................................. 88
CHAPTER 6 .................................................................................................................................. 99
RECOMMENDATIONS ............................................................................................................... 99
iv
APPENDIX A ............................................................................................................................. 107
iv
Chapter 1
INTRODUCTION
The Covid-19 pandemic, which affected the whole world in 2020, had an
enormous impact on all aspects of human life. It hits the Philippines like a wildfire,
alerting the government to impose a state of calamity and lockdown. Travel routes to
cities were closed, which severely affected the agricultural sector of the country. Due
to the strict lockdown measures, the traditional supply chains were disrupted, creating
a dire situation for the farmers in Luzon. From March 2020 to May 2020, it was stated
that a huge amount of crop was wasted because it was hard for farmers to distribute
their goods to markets. Without consumers, many farmers are forced to dispose of
This research intends to solve the issue of a significant number of crops being
wasted due to route closures during lockdowns. Hence, the researchers determined to
create a device that could resolve the issue mentioned earlier, specifically with root
process of food spoilage while retaining its benefits [2]. Preserving food not only
focuses on food scarcity, it can also decrease wasted food on our environmental
impact [3].
fungi that cause food degradation and spoilage. There are two sorts of conservation:
1
physical and chemical. Physical preservation entails drying and freezing, while
oxidation [4].
It was stated by the PSA, or Philippine Statistics Authority, that cassava, sweet
potato, and potato belong to the top 10 major vegetables and root crops being
produced in our country [6]. Root and tuber crops are the second primary source of
the most important root crop in our country, due to the fact that it can be grown
In the Philippines, our ancestors used fermentation as their first attempt at food
perhaps at sea [8]. They didn't have to eat the slaughter or harvest immediately with
this technique, and they could save some for later. Considering the Philippines’ ever-
increasing population. Many techniques have been developed to reduce food waste.
Especially right now during a pandemic, millions of fruits and vegetables are being
thrown away because most of them are getting spoiled in storage before they can be
sold in the market and consumed at home. And due to the tropical climate in the
Philippines, there is a higher risk of food spoilage. Hence, several processed food
products and preservation methods have emerged [9]. The proposed topic intends to
address the issue of spoiled food by utilizing technology and software to extend the
shelf life of fruits and root crops. The researchers also aim to avoid food waste due to
2
Cassava, also known as Manihot esculenta, is a calorie-dense vegetable root crop high
in carbs, vitamins, and minerals. It may be cooked, roasted, steamed, grilled, fried,
niacin. Cassava is commonly processed into culinary products such as dry chips and
traditional pastries such as suman, bibingka, and sago in the Philippines. Cassava
confectioneries. Cassava is primarily used for food, feed, and fuel [10]. Cassava has
climate, and soil conditions, although later tubers grow fibrous and woody. Some
plant and harvest them twice a year; however, for optimal harvests, harvesting should
plant grown for its starchy edible tubers. The potato, which is native to the Peruvian-
Bolivian Andes, is one of the world's most important food crops. Potatoes are
commonly served whole or mashed as a cooked vegetable, and they are also processed
into potato flour, which is used in baking and as a sauce thickener. Vitamin C, protein,
thiamin, and niacin are all found in the tubers, which are extremely edible [12]. From
planting to maturity, it has a relatively short life cycle of 70 to 150 days. Tuber
sprouting, vegetative development, tuber initiation, tuber bulking, and eventually plant
senescence are all words used to characterize its developmental stages. The tubers then
go into hibernation until the following vegetative generation. Each of these processes
3
temperature, and drought stress [13].
Ipomoea batatas, so called sweet potato, is a sweet potato cultivar with relatively dry,
tasteless, yellowish to white flesh. The sweet potato is classified as a member of the
regions, but the yam is indigenous to Africa. During the Spanish colonial period, the
Philippines were exposed to camotes from Latin America. The camote root is a
prominent crop in the Philippines. It is simply cooked and served with brown sugar.
Camote that has been boiled can be mashed and given to newborns [14]. On the
they can last up to a month. They keep for 3 to 5 days after cutting if you refrigerate
them and carefully lock them in a plastic bag or other airtight container [15].
This study will only focus on creating a home-preserving device that can be
utilized to prolong the shelf life of staple foods. One of the problems we faced when
the inevitable COVID-19 hit our country was food shortages and scarcity. This
research was conducted to avoid food shortages and food scarcity by making a
staple foods. This research aims to help families experiencing food shortages due to
the pandemic. For the researchers, this study will benefit them by boosting their
knowledge about creating IOT-based devices. This research was conducted for future
4
researchers and for the succeeding ECE students, and this study will serve as their
basis or reference for their future work. In conclusion, this study will be beneficial to
individuals as follows:
1.2.1 Environment
This study will benefit the environment due to cropland shortages and
1.2.2 Farmers/Consumers
event such as a calamity or pandemic can maximize the shelf life of their staple
food.
which they will be able to use as a reference for their own studies. The
5
1.3. Objectives
a.) To create a system that can translate data and detect the root crops
deep neural network algorithm, sensor, Raspberry Pi, image processing, and a
c.) To obtain the target moisture content of 5.5%-10% for Solanum tuberosum,
6-10% for Ipomoea batatas, and 14%-24% for Manihot esculenta and exceed
the initial lifespan of at least 1-3 days by using the method of drying.
6
1.4. Scope and Delimitations
This project primarily benefits tuber crop growers and small company owners.
Because they can extend the life of their root and tuber crops. This project will focus
on the heat drying process, which will eliminate the rotting of tuber crops that were
not sold at the market. A temperature sensor will be utilized to provide adaptation to
our device; its function will cause our device to adjust the temperature based on its
Furthermore, there should only be three varieties of tuber crops: sweet potato,
potato, and cassava, since we will be utilizing a function to identify the tuber crops
that will be dried. This will necessitate the use of image processing to identify the
tuber crops; we will base it on the morphology of the tuber crops for the device to
recognize. Finally, the gadget will include intelligence that allows it to detect smoke.
Using the smoke sensor, our device will determine whether to continue or halt the
drying process. We will also install a monitoring system to manually check the
drying process and its progress. The device will only work with three
varieties of tuber crops: sweet potato, potato, and cassava. Once the drying process has
begun, the device will not be opened or accessed. When the power is turned off, the
device's timer resets and begins again from the beginning. To lengthen the shelf life of
the root crop, the heat drying equipment will be confined to drying and eliminating
particular moisture contents. When the gadget detects the temperature of its
7
surroundings, it automatically adjusts the temperature of the heat drying unit. The
gadget can also recognize the three different varieties of root crops on its own.
Figure 1 shows the proposed research paradigm for the study. It shows the
components to be used in executing the process. For the input stage of the study, the
heat drying method is to be used in this device. With a heat sensor, it will tell us the
temperature inside the chamber. A monitoring system will provide all the data needed.
And for solar panels and batteries, they will collect and store energy coming from the
sun. For the processing stage, upon collecting energy, it will power the device to
execute the drying method. The monitoring system will provide the moisture
content and temperature of the inside of the chamber. Lastly, in the output stage, every
bit of data is presented on the LCD for us to monitor the ongoing drying process
8
1.6. Definition of Terms
Anthesis - the flowering period of a plant, from the opening of the flower bud.
Antioxidant - Are substances that can prevent or slow damage to cells caused by free
radicals, unstable molecules that the body produces as a reaction to environmental and
other pressures.
functioning, or condition.
IOT - describes the network of physical objects “things” that are embedded with
sensor, software and other technologies for the purpose of connecting and exchanging
Morphology - Are substances that can prevent or slow damage to cells caused by free
radicals, unstable molecules that the body produces as a reaction to environmental and
9
other pressures.
ethylene, chiefly used for plastic bags, food containers, and other packaging.
polymerizing vinyl chloride and used for a wide variety of products including pipes,
Root Crops - a crop that is a root vegetable or other root, e.g., sugar beet
Tuber Crops - are crops with swollen underground stems and root.
10
Chapter 2
fruits, and vegetables, with the major source of energy coming from the sun,
which they utilized a solar panel to power their equipment. However, it is not
drying rates, and the danger of contamination, among others. These problems
may be overcome by utilizing mechanical dryers, but they use a lot of energy.
The excess energy saved in the battery can also be used in other devices or to
control. They used semiconductor laser and Micro Control Unit (MCU)
balance the temperature and experiment with the high-low temperature test-
box. According to the analysis of power stability experiment results, the laser
11
1% after temperature control. The laser power stability density is safe for the
eye. The schematic design of the system has significance for the small power
They use solar energy and wind for the source of heat. The machine has
protection from insects, birds, dogs, especially for drying meat and fish. At the
end of the solar dehydrator, the researchers attached a humidity meter and
fan, heating element and drying chamber. The heated air can be utilized
continuously until night with the use of adsorbent which is an example of silica
gel. For the air, they used a PID controller to keep the flow and temperature of
air constant where the ambient air flows through the collector with the aid of a
fan over black coated aluminum absorber plate and glass cover plate. [18]
12
The device was integrated with an evacuated solar tube collector and
gas burner as the source of heat. The dehydrator uses a radial blower fan (1.12
kW, Teco-Tokyo) for the air draft. Due to the instability of the solar intensity,
the researchers installed gas burners for support. An exhaust fan was also
used at the top of the drying chamber for moisture removal. The drying
operation was controlled using a control box having provision of setting the
drying temperature and humidity levels, auto working of single or dual heating
In this study, the researchers created a dehydrator that gives the users
o using a self-designed cabinet dryer humidity from its web interface via a
mobile device or the dehydrator’s HMI. The dehydrator used solar power and
LPG for the easy access of heat. This oven type dehydrator will be used in the
13
In this study, the researcher created a vacuum oven dehydrator which is
constructed using (1) a vacuum chamber and (2) a heating element. The
vacuum chamber and heating element together serve to form the vacuum oven.
balance and multimeters. The multimeter was used for the thermal control of
2.1.8 ANFIS and ANNs model for prediction of moisture diffusivity and
garlic, and cantaloupe in a convective hot air dryer. By using this the ANFIS
method had a higher ability to evaluate all output compared to the ANNs in
consumption. [22]
In this study the researchers use a laboratory scale cabinet dryer that is
attached to a weighing balance that calculates the changes in the weight of the
potato. The researchers used a laboratory dryer made from plywood lined with
14
aluminum sheets and a glass door. The exhaust was placed in the upper inner
side of the wall so that it could remove the humidity inside the dryer. Using a
hot air gun, the heat is implied and regulated through a thermostat. [23]
kinetics
Inference System (ANFIS) to predict the moisture ratio to yam slices in a hot
air convective dryer for the drying process. By using a chimney type machine
with a layer for the moisture to exit. This shows the effectiveness of the ANFIS
ANFIS Algorithms
cantaloupe with various thickness using a microwave dryer and these are all
predicted using the Artificial neural networks (ANN) and adaptive neuro-fuzzy
microwave power for drying thin cantaloupes improves the n of the process
15
2.1.12 Modeling of Potato Slice Drying Process in a Microwave Dryer
Deep neural networks (DNNs), which were inspired by the brain, allow
computers to tackle cognitive problems that humans excel at. In the lack of
includes not only categorizing but also accurately localizing objects of distinct
16
essential to achieve the desired quality of the food. Moisture content affects
the shelf life of food because the amount of water present in the crop raises its
review
also said that the dehydrating or drying of crops was a good method to lessen
the moisture content present in the food to prevent microbial growth and it has
a great effect on the quality of storage by lessening the post-harvest loss of the
farmers.
In this study, the researchers stated that the moisture content found in
root crops has a significant effect on its shelf life. It is also stated that crops
with higher moisture content had a shorter shelf life because it has a good
17
2.2 Local Related Literature
For three billion people around the world have a common staple food
significant. This thesis is about comparing the two method which are Inflatable
Solar Dryer (ISD) and Sun Drying. They create a drying tunnel by attaching a
polyvinyl chloride (PVC) film. And a flexible multilayer floor was used along
the drying area to prevent heat loss. They carried out these two methods, and as
a result the quality was not affected. Despite longer drying times, the ISD
This thesis focuses on the machine that may be used to improve and
solar panels, as well as a control system that allows them to adjust the moisture
18
2.2.3 Diurnal Temperature Variation in an Idealized Room for Different
daily weather patterns. During the country's cool-dry and hot-dry seasons, the
garments. This was used to examine and test the performance, and to establish
whether there is a significant difference in the drying rate of set ups when
was created using local resources, with a bamboo frame and plastic walls to
of preservation by using a low heat and low humidity drying system. This type
of drying process lessens the loss in volume during the preservation of fruits
and vegetables. With the use of desiccants, the state of dryness was retained,
19
and the dried products can be included in relief packs given during
emergencies. [33]
"Mango" in monitoring the dryness of mango chips, which is the process used
to maintain mango to have an extended life period for consumption with the
SMS Notification
humidity and temperature within the drying chamber with the help of a DHT11
Sensor, as well as the moisture of the cacao beans inside the chamber. [35]
Philippines
In this study, the researchers have stated that the pandemic has affected
not only health but also the economy. But also the food security due to the
demand for food and agriculture supplies. The researchers also stated that
20
meat, and fish [42].
2.3 Synthesis
The food supply chains in the Philippines were greatly affected during the
pandemic. The government implemented safety measures restricting travel and the
movement of goods. According to Dili the disruptions had led to shortages in the
agricultural supply chain. Some of the studies utilize AI in order to accurately predict
the status of their subjects. Like the studies by Rezaei, Behroozi-Khazaei and Darvishi.
their energy consumption and make it use more natural energy. The last three mainly
use solar energy to provide power to their systems. The study by Ojediran uses a
chimney piece of machinery for the dehydration of the yam slices, making the
dehydration process spread out equally in layers, and the humidity has an exit point
through the chimney. Researcher Kaveh used a convection type of hot air dryer
compared to the chimney type machine the researchers used a drum type drying
chamber. All of this utilized algorithms for the main computation of the outputs and it
was seen that the Adaptive Neuro-fuzzy Inference Systems (ANFIS) provides more
developed solar food dehydrator with advanced features" uses a different method in
preserving the cleanliness of the products that are being dehydrated by adding
protection to the machine from insects, birds, and dogs. Oluwaleye also uses a
chamber, but it mainly controls the temperature and humidity from a mobile device
21
2.4 Research Gap
This where the group shows how the Related Literatures are similar or
different with the proposed system. This is presented in a tabular form as shown
According to the literature we reviewed, all of the studies used heat as a drying
method. They only differ at the type of heat drying method used such as; sun drying,
oven drying, and air drying. As for power efficiency, there are three studies that stood
out since they used solar energy. For the monitoring system, four of the related
According to the literature we reviewed, the majority of them dried the stuff
using microwaves, chemicals, saline solution, and sugar. Our device will utilize a
drying process which will remove a certain amount of moisture content from root
crops in order to lengthen their shelf life, and we will use IOT to monitor whether the
22
2.4.1 Table 1 Research Gap
23
Chapter 3
METHODOLOGY
3.1 Introduction
This chapter will make use of applied research. Prototyping models will be
used as a development method in this research to ensure that the final system is
achieved by testing multiple times. The researchers will accumulate data about
microcontrollers to figure out which one will be suitable for the system. The
researchers will also plan a design after gathering all the needed components for the
system. Furthermore, the researchers will create the device and test it multiple times to
24
The system is made up of several sections/modules that work together to
regulate the entire device, whether it is in the input or output parts. The input system
consists of a Heat Dryer, LCD, Heat Sensor, Speaker, Button, LED light, Raspberry
The proposed prototype was made up of many input and output components. A
microcontroller is included in the prototype, and a software will process the attached
input and output modules. In addition, all input and output modules were linked to the
microcontrollers.
First, Detect the root crop. This step involves identifying the specific root crop
that is causing the problem. This may involve gathering data, interviewing
25
stakeholders, and conducting root cause analysis.If the root crop is not detected If the
root crop cannot be identified, the process repeats. This may indicate that the
needed. If the root crop is detected Once the root crop is identified, the process moves
on to repairing the process. Review the details in the screen This step involves
reviewing the details of the root crop and the process in which it is involved.In the
screen it will show the details of how many times remaining and how many
percentages is the moisture content of the subject. After that Press Start and Monitor
microcontroller, and a computer system. The sensor and LCD will be linked to
input data selected by the user. The root crops and tuber crops potato, cassava
and camote will be dried using the device until the moisture content available
Arduino Microcontroller
The microcontroller to be used in the device will serve as the brain of the
device.
26
Specification
• Microcontroller: ATmega328P
• Operating Voltage: 5V
• SRAM: 2 KB (ATmega328P)
• EEPROM: 1 KB (ATmega328P)
27
• LED_BUILTIN: 13
• Length: 68.6 mm
• Width: 58.4 mm
• Weight: 25 g
LCD
Specification
28
• Support 16 bit ILI9341 format
• 2x20 Pin 2.54mm double row pin header interface for connecting MCU
Heat Sensor
Specification
• Accuracy: 0.02°C
29
• Field of View: 80°
The Input Module will consist of a Sensor. The sensor will be used to
collect data such as temperature, which will then be processed by the Arduino.
The heat sensor will be used to monitor the moisture of the crop and once the
needed moisture content was attained the sensor will shut off.
The device's output module will have an LCD display and a database
kept by the computer system. The LCD display will be the one to process the
For the software of the device. The main program that will process all
Arduino - will be used to control the microcontroller for building digital devices.
30
Raspberry pi - will be used for the faster connections of the sensor that will be
using.
two walls of the prototype in order to lessen the heat loss during the process of
31
Aluminum Screen (Aluminum Mesh) – Is a kind of wire mesh that
has been woven from aluminum wires. It is often used for windows and doors
for ventilation. In our prototype, we used this material as a tray so that the air
inside can circulate freely. Other than that, it is also highly heat conductive
lighter than a typical steel frame would be. Additionally, we used it as the
that rotates a set of blades to produce airflow. In order to move the air inside
32
the chamber and stop the coil from burning, we used it for the prototype.
that does not conduct heat well and often has trapped air pockets inside it.
These factors slow down the transfer of heat, making PVC board a good choice
has good resistance to corrosion which is also widely used in fabricating metal
Insulation jacketing. It is also used in making baking sheets, tins, and pans.
The researchers used an aluminum sheet inside the prototype because it can
transfer heat quickly and efficiently. It does this by conducting heat, which
means that it allows heat to move through it easily. Aluminum also reflects
heat, which means that it bounces heat back away from the
33
surface. This combination of good conductivity and good reflectivity makes
aluminum sheets a good choice for applications where heat transfer is important.
The first step is to set the desired time and temperature that will be
processed by the microprocessor. Then the microprocessor is the one who will
execute the command set by the user. This part mainly focuses on controlling
the actual setup of the machine. This is required so that the limits of the
machine are followed and the subjects will not be affected by the sudden
since we need to prolong the shelf life of the subject by slowly removing the
moisture.
optimum drying temperature with the help of fans and heaters. The system will
also automatically shut down when the conditions while operating exceeds its
34
3.5.3 Arduino to Battery
transferred for future storage in the battery. The major goal of this section is to
ensure that no mistakes occur during the transfer of electrical charge into the
After storing a charge in the battery, the battery may now power the heat
drying device. This is the last stage, where all of the gathered and stored energy
This testing procedure was gleaned from the Bureau of Agriculture and Fisheries
(ISO). In BAFPS 29:2010 or, BAFPS for Cassava Chips, there are seven ISO that was
used as the method of testing to know if the process crop was edible. The researcher will
be adapting two ISO microbial methods that will be suitable for the three root and tuber
crops that will be used in this research [36]. The first ISO testing Procedure would be,
ISO 21527-1:2008, which focuses on the mold and yeast growth in the processed crop
[37]. The second ISO microbial method would be ISO 4833 which focuses on
enumerating the growth of microorganisms after the processed crop was stored in a room
with a temperature of 30 degree Celsius [38]. Also to further ensure that upon
35
dehydration the crop is safe for consumption we the researchers followed the Food Safety
Act of 2013. We made sure every trial we have cleaned each crop and materials used to
dehydrate, proper attire was worn, and new containers where used[49].
Based on the standard stated, the target moisture content for Cassava or Manihot
Esculenta would be 14%. For Potato or Solanum Tuberosum, based on Process Sensors,
the target moisture content should be 5.5% with +/-0.5% uncontrolled moisture swing
[39]. For Sweet Potato or Ipomoea Batatas, according to Sweet Potato Production,
Research Unit, the target moisture content for the root crop should be 6-10% [40]. With
this target moisture content, the machine was expected to run 4-8 hours depending on the
36
3.6.1 Experimental Testing
1 2 3 4
10
11
12
37
13
14
15
16
17
18
Mean
STD
Mean of Means
STD Mean
38
After @ Temperature of the Chamber
1 2 3 4
10
11
12
39
13
14
15
16
17
18
Mean
STD
Mean of Means
STD Mean
40
Before @ Room Temperature - After @ Temperature of the Chamber
1 2 3 4
10
11
12
13
41
14
15
16
17
18
Mean
STD
Mean of Means
STD Mean
42
Standard Deviation = √[Σ(x-x̄ )² /
Potato
Sweet Potato
Cassava
(RAD). It confers benefits to users in fields such as machine learning, IoT systems,
enables the quick creation of system automation and prototypes without the hassle of
software subscriptions. In this study the researchers utilized the SSD TensorFlow. SSD
43
(Single Shot MultiBox Detector) is a type of deep learning model that detects tasks
through real-time object detection. It is used in identifying and locating objects within
other hand is where you can learn hot deploy machine learning models, including
deep neural networks, for various tracks since it is an open-source machine learning
framework filled with tools and libraries. In the study because it can be used with the
TensorFlow Object identification API, which offers pre-trained models and resources for
constructing custom object identification models. As a result, developers can construct and
deploy object detection models with SSD and TensorFlow more quickly. WiredQT is basically
a simplified app that can provide the users with machine learning using Tensorflow.
45
In the images above, these are the examples of the sides and dimensions of the
root crops. These images will be uploaded in WiredQT so that it can be trained to
remember the appearance of the root crops. The root crops were given different
shapes so that it can be easier to differentiate each crop. After uploading our raw
images of each root crop the researchers added three classes which will be assigned
during its tabulation process. A 70/30 split is a common ratio for training and testing
sets. It means that 70% of the data is used to train the model, and 30% of the data is
used to evaluate the model's performance on unseen data. Once the data has been split
into training and testing sets, the model can be trained on the training set and evaluated
As per the images presented above the researchers tabulated the sides and
dimensions of each root crop in order for the application to identify what kind of root
crop it is. It allows users to build and train complex machine learning models, such as
deep neural networks, using a flexible programming model. WiredQT can be used for
a variety of tasks, including image. It is one of the most widely used and popular
45
the declarations of the variables that will be used in the program. These
variables include the width and height of the image, the color of the background, and
the coordinates of the pixels that will be drawn. The next few lines of code are the
loops that will iterate over the pixels and draw them. The first loop iterates over the
rows of the image, and the second loop iterates over the columns. Within each loop,
the code checks to see if the current pixel is within the boundaries of the image. If it
is, the code then sets the color of the pixel to the specified color.
46
In order for our data to be accurate the researchers trained the system so that
our system would be familiarized in each and all sides and dimensions of the root
crops. This part was a lengthy process since it took hours for it to be trained and it
should not be disconnected from the internet. We also have learned that training can be
47
In this script this is where you will see a training model to detect objects in
images.These libraries include TensorFlow and include the number of epochs to train
for, the batch size, and the learning rate. and lastly The output of the script is a table
that shows the accuracy of the model on the training and test sets. The accuracy is the
As the researchers tested the system after the correct training method, the
image above is now capable of detecting the types of root crops based on its sides,
48
3.8 Project Layout
In creating the heat drying device, three selected root crops are used in
the testing of the device to produce different results to determine how effective
the method we used in different root crops. The device created will be
3.9.2 Cost
would probably further reduce its cost. An Arduino would be enough to read
inputs, which would probably cost around Php 400- 1,000 complete kit and
price will vary depending on the availability of each material. In order to test
49
and develop the prototype three various root crops are needed and multiple
samples would be tested at the same time. We will test 3 kilograms worth of
crops. A kilogram of potatoes is around Php 80, for the sweet potato it is
around Php 50 per kilo and the cassava would be around Php 55 per kilo as of
2 of March. This would all be totaled to Php 555 but since these are all
perishable the time of buying the crops would be different and the prices in the
market would also change. Together with this the prototype and crops would
50
51
52
The machine will give benefit to those who need to preserve a large
number of perishable products such as the potato, sweet potato and cassava
since the machine can dry 3 to 5 kilograms of root crops. The drying method
will deeply rely on the heat provided by the sun. In a research conducted by
sun drying sweet potatoes on the roof a total of 56 hours day and night was
done in order to reach the researchers desired dryness [41]. Through our
machine since this will have solar panels that can support the machine when it
doesn’t reach the desired heat it will run continuously for 2 to 10 hours
depending on the root crop being dried. This is relatively faster, energy saving
and has the ability to lessen the risk for bacteria since the root crops will be
dried in a closed machine that can protect it from debris and unwanted
contamination. The cost for the machine can be recovered through time
53
3.9.3 Manufacturability Constraints
prototype will be specifically used to dry potatoes, cassava, and camote only.
outdated. Operating systems for devices that may become outdated in the
coming years are one of those technologies. When some of the programs we
utilized in this research are no longer supported, some of the systems we used
The prototype will need weeks or months to finish and another allotted
54
Chapter 4
4.1 Introduction
Our prototype uses Arduino for heat drying root crops such as potato, sweet
potato, and cassava. Our device generates heat in order to dry the root crops until the
moisture content is reached. The users can show through the camera the root crop that
they want to dehydrate, and the machine will set up the preset for the time. In case the
user sees that the moisture is satisfactory they can already stop the process even if the
timer on the lcd is still ongoing. The prototype uses mesh trays to regulate the heat
inside the prototype together with 2 fans near the coils so that it won’t over burn.
There is a sensor inside of the machine that automatically switches off the machine
when the set temperature is reached and turns the machine on again when it cools
down a bit this is done so that when the surrounding and the coils produce to much
heat the parts will not be cooked up by the heat and also to avoid fire. On the lcd part
we have placed the Raspberry Pi and Arduino. Which will help the users to turn on the
machine manually. Also, we have a notification sent on the mobile devices in order to
notify the users in case the root crops are burning. They could also check if the
machine is on and turn off the machine through the app in case they want to stop the
process when they see through the app that the moisture content is reached.
55
4.2 Root Crop Detection Using Image Processing
Our prototype uses image processing to detect which of the three root crops
was going to be dehydrated by the user. Each root crop has a designated amount of
dehydrating time and temperature. Since it is hard to determine each root crop once it
was peeled, the researchers decided to cut the crops into three different shapes which
are a circle for cassava, pie shape for sweet potato, and a rectangular or French fries
cut for potato. This way the image processing was a lot easier than just using the same
cut for each crop. We used the software WiredQT for image processing, we first used
SSD or Single Shot Multibox Detection version 1 for the testing which can detect the
object fast but the time of training using Google Colab is very time consuming. While
for the second testing we used a faster version which is the RCNN Inception Version 2
which detects the objects slowly but the process of training is faster compared to the
56
Crop Drying
This section shows the tabulated data during the heat drying process of each
crop.
This picture shows the pre-cut root crops before the heat drying process.
Before testing, the researcher peeled and cut 3-5 kilos of each root crop and separated
at least 200 grams of each crop to observe what will happen with the untreated crops
after a few days and what is the difference with the dehydrated crop.
Dehydration of Cassava
57
Dehydration of Sweet Potato
Dehydration of
Potato
After dehydrating the root crops, we check the change in moisture content
58
4.3 P, R and mAP
The precision and recall metrics are important for evaluating the performance
number of false positives, which are negative examples that are incorrectly classified
negatives, which are positive examples that are incorrectly classified as negative.
Precision is the fraction of predicted bounding boxes that are correct, and recall
is the fraction of ground truth bounding boxes that are detected. For example, for the
cassava class, the precision is 0.999 and the recall is 0.995. This means that the model
correctly detected 99.9% of the cassava bounding boxes in the test set, and it detected
99.5% of all ground truth cassava bounding boxes. The precision and recall scores for
the sweet potato and potato classes are also very high, indicating that the model is able
The mAP50-95 for the model is 0.944, which is a very good result. This means
that the model is able to detect cassava, sweet potato, and potato plants with high
accuracy and precision.An mAP50-95 score of 0.5 indicates that the model is able to
correctly detect 50% of the ground truth bounding boxes, with an IoU of at least 0.5.
While the 0.75 indicates that the model is able to correctly detect 75% of the ground
0.5. And lastly 0.9 indicates that the model is able to correctly detect 90% of the
59
Table 4.3.1 Model Summary
As you can see, the model performs best on cassava and sweet potato plants,
with mAP50-95 scores of 0.77 and 0.854, respectively. The model performs slightly
worse on potato plants, with an mAP50-95 score of 0.743. However, this is still a good
1 2 3 4
60
4 88% 77% 88.5% 59.5%
61
17 88.5% 55% 88% 77%
Based on the results that the researchers gathered the mean of moisture
content for Day 1 is 82.1944, while on Day 2 the researchers got 77.8333, then
on the Day 3 the researchers acquired 86.3333 and lastly for Day 4 the result
(STD) of moisture content for four consecutive days. The STDs for each day
researchers then averaged the mean of the four STDs, which resulted in a value
of 0.547752496.
62
Table 4.4.2 (Potato)After Moisture Measurement @ 50 Celsius
1 2 3 4
63
11 55% 51.5% 55.5% 66.5%
64
Based on the results that the researchers gathered the mean of moisture
content for Day 1 is 55.1389, while on Day 2 the researchers got 55.2778, then
on the Day 3 the researchers acquired 56.9722 and lastly for Day 4 the result
(STD) of moisture content for four consecutive days. The STDs for each day
then averaged the mean of the four STDs, which resulted in a value of
0.244474068.
1 2 3 4
65
5 33% 21.5% 30% 2%
66
18 18.5% -2.5% 29% 33%
Based on the results that the researchers gathered the mean of moisture content
for Day 1 is 27.055556, while on Day 2 the researchers got 22.5556, then on the Day 3
the researchers acquired 29.3611 and lastly for Day 4 the result are 23.6111,
In other hand the researchers collected data on the standard deviation (STD) of
moisture content for four consecutive days. The STDs for each day were 0.61284873,
0.699091, 0.38148, and 0.84342, respectively. The researchers then averaged the mean
A reliable prototype is one that meets all of its design requirements and
In the context of the root crop experiment, a reliable prototype would be one
that shows consistent growth rates across all of the different root crops and time
periods. This means that the root crops should grow at a similar rate, regardless of the
67
The fact that the mean growth rate for all of the root crops in the experiment is
25.6458333% and the standard deviation of the mean is 0.63421228 suggests that the
root crops are growing at a relatively consistent rate. However, it is important to note
that this is just one example of a reliable prototype. The specific criteria for a reliable
prototype will vary depending on the specific product or system being developed.
The general principle is that a reliable prototype must meet all of its design
1 2 3 4
68
6 59.5% 56.5% 57.5% 33.5%
69
Mean 52.4722% 56.1667% 56.3333% 31.8889%
Based on the results that the researchers gathered the mean of moisture content
for Day 1 is 52.4722, while on Day 2 the researchers got 56.1667, then on the Day 3
the researchers acquired 29.3611 and lastly for Day 4 the result are 31.8889,
In other hand the researchers collected data on the standard deviation (STD) of
moisture content for four consecutive days. The STDs for each day were 0.558476,
0.180452, 0.186987, and 0.250915, respectively. The researchers then averaged the
70
Table 4.4.5 (Sweet Potato) After Moisture Measurement @ 50 Celsius
1 2 3 4
71
11 12.5% 16% 13% 14.5%
72
Based on the results that the researchers gathered the mean of moisture content
for Day 1 is 14.1111, while on Day 2 the researchers got 15.8889, then on the Day 3
the researchers acquired 13.2778 and lastly for Day 4 the result are 13.4167,
In other hand the researchers collected data on the standard deviation (STD) of
moisture content for four consecutive days. The STDs for each day were 0.146259,
0.048314, 0.073726, and 0.219902, respectively. The researchers then averaged the
73
Table 4.4.6 (Sweet Potato) Before Moisture Measurement @ 35.6 Celsius
- After Moisture Measurement @ 50 Celsius
1 2 3 4
74
11 39% 39.5% 42.5% 21%
75
Based on the results that the researchers gathered the mean of moisture content
for Day 1 is 38.361111, while on Day 2 the researchers got 40.2778, then on the Day 3
the researchers acquired 43.0556 and lastly for Day 4 the result are 18.4722,
In other hand the researchers collected data on the standard deviation (STD) of
moisture content for four consecutive days. The STDs for each day were 0.5848997,
0.177612, 0.223838, and 0.368409, respectively. The researchers then averaged the
A reliable prototype is one that works as planned and meets all of its design requirements,
even under different conditions. In the context of the root crop experiment, a reliable prototype
would be one that shows that all of the root crops grow at a similar rate, regardless of the type of
root crop or how long they have been growing. The fact that the mean growth rate for all of the
root crops in the experiment is 35.0416667%and the standard deviation of the mean is 0.33868
suggests that the root crops are growing at a relatively consistent rate. However, it is important to
note that this is just one example of a reliable prototype. The specific criteria for a reliable
prototype will vary depending on the specific product or system being developed.
76
Table 4.4.7 (Cassava)Before Moisture Measurement @ 33.8 Celsius
1 2 3 4
77
12 55% 58.5% 51.5% 55.5%
78
Based on the results that the researchers gathered the mean of moisture content
for Day 1 is 55.4722, while on Day 2 the researchers got 55.25, then on the Day 3 the
researchers acquired
55.5 and lastly for Day 4 the result are 55.1389, Averaging the Mean of Means
resulting in 55.34028.
In other hand the researchers collected data on the standard deviation (STD) of
moisture content for four consecutive days. The STDs for each day were 0.2426816,
0.31595, 0.154, and 0.424138, respectively. The researchers then averaged the mean of
79
Table 4.4.8 (Cassava) After Moisture Measurement @ 50 Celsius
1 2 3 4
80
12 13% 13% 16% 12.5%
81
Based on the results that the researchers gathered the mean of moisture content
for Day 1 is 11.6111, while on Day 2 the researchers got 15.7778, then on the Day 3
the researchers acquired 14.5556 and lastly for Day 4 the result are 14.75, Averaging
In other hand the researchers collected data on the standard deviation (STD) of
moisture content for four consecutive days. The STDs for each day were 0.15376,
0.28812, 0.07235, and 0.089, respectively. The researchers then averaged the mean of
82
Table 4.4.9 (Cassava) Before Moisture Measurement @ 33.8 Celsius - After
1 2 3 4
83
11 46.5% 41% 37% 42.5%
84
Based on the results that the researchers gathered the mean of moisture content
for Day 1 is 43.861111, while on Day 2 the researchers got 39.4722, then on the Day 3
the researchers acquired 40.9444 and lastly for Day 4 the result are 40.3611,
In other hand the researchers collected data on the standard deviation (STD) of
moisture content for four consecutive days. The STDs for each day were 0.2931812,
0.407477, 0.176198, and 0.402676, respectively. The researchers then averaged the
The basis of a reliable prototype is that the test results are consistent with the
specifications of the prototype. This means that the prototype meets all of the design
context of the image you provided, we can say that the basis of a reliable prototype for
the root crop experiment is that the test results show consistent rates across all of the
different root crops and time periods. For example, we can see that the mean rate for all
of the root crops is 41.159722%, and that the standard deviation of the mean is
0.31956813. This suggests that the root crops are growing at a relatively consistent rate,
regardless of the type of root crop or the amount of time that has passed. Of course, it is
important to note that this is just one example of a reliable prototype. The specific criteria
for a reliable prototype will vary depending on the specific product or system being
developed. However, the general principle is the same: the prototype must meet all of the
85
4.4.10 Percentage Difference
The table analysis helps ensure the reliability and accuracy of the measurements
It provides a clear and concise overview of the data. The table shows the
percentage difference between AHDD and PIPAC for potato, sweet potato, and cassava.
This makes it easy to compare the data and identify any trends or outliers. It allows for
easy identification of errors. Any errors in the data, such as transcription errors or
calculation errors, will likely be evident in the table. This makes it easy to correct the
errors and ensure that the data is accurate. It facilitates statistical analysis. The table can
be used to perform various statistical tests, such as t-tests, to assess the significance of the
differences in the data. This can help researchers to draw valid conclusions from their
data.
Overall, the table analysis is an essential tool for ensuring the reliability and
table shows that the percentage difference between AHDD and PIPAC is relatively small
for potatoes, sweet potatoes and cassava (less than 7%). This suggests that AHDD and
86
PIPAC are more reliable and accurate. measurements of the same thing for potatoes,
sweet potatoes and cassava. It is important to note that the table analysis is just one tool
In addition, the table above shows the tabulated results of the dehydrated root
crops. The researchers used an instrument to measure the moisture content of these crops
after the dehydration process. However, in scientific experiments, it's essential to assess
the accuracy of the instruments used for measurements. By calculating the percent
difference for each data point in the table, researchers can assess how closely the
instrument's measurements match the true values. This analysis helps ensure the
reliability and accuracy of the measurements, which is crucial for scientific research and
experimentation.
87
Chapter 5
CONCLUSION
The researchers concluded that the device was able to achieve the specified
objectives, which included developing a system that can translate data and identify
root crops (Manihot esculenta, Ipomoea batatas, and Solanum tuberosum) by using a
Raspberry Pi, a sensor, image processing, and a model of deep learning. In addition to
using Google Colab to train the system so that it could identify root crops on its own,
the researchers also used WiredQt to tabulate and collect training photos. And in order
to reach our second and final objectives, the researchers repeated the drying procedure
The P and R scores in the table show that the model has excellent precision and
recall for all three classes. This means that the model is able to accurately detect and
classify cassava, sweet potato, and potato images with a high degree of confidence.
The model achieves a very good mAP50-95 score of 0.944. This means that the model
is able to detect cassava, sweet potato, and potato plants with high accuracy and
precision.
88
Figure 2 Potato (Before)
Based on the data that the researchers gathered, the average moisture of each
potato slice from day 1 to day 4 is 81.86%. While the std mean resulted at 0.54%.
89
Figure 3 Potato(After)
slices of potato over four days. The average moisture content of the slices was
90
Figure 4 Potato(Before – After)
slices of potato over four days. This graph shows that the mean of means is at 25.64%
91
Figure 5 Sweet Potato (Before)
slices of sweet potato over four days. The average moisture content of the slices was
92
Figure 6 Sweet Potato (Before)
Researchers measured how much moisture was in sweet potato slices over four
days. The average moisture content was 14.17%, and the data was very consistent,
93
Figure 7 Sweet Potato (Before-After)
slices of sweet potato over four days. This graph shows that the mean of means is at
94
Figure 8 Cassava(Before)
The researchers measured the amount of moisture in cassava slices over four
days. The average moisture content was 55.34%, and the data was very consistent,
with a standard deviation of just 0.28%. This means that the scientists can be confident
in their results.
95
Figure 9 Cassava(After)
slices of Cassava over four days. The average moisture content of the slices was
96
Figure 10 Cassava(Before-After)
slices of potato over four days. This graph shows that the mean of means is at 41.15%
Based on the data that the researchers gathered, there is only a small amount of
percent difference from the researcher’s data compared to the third party’s data.
Therefore the researchers can now proclaim that the prototype is reliable. A small
97
percent difference between the two sets of data indicates that the prototype is
producing results that are very similar to the results produced by the third party's
product or process. This suggests that the prototype is a reliable and accurate way to
98
Chapter 6
RECOMMENDATIONS
For future researchers who wish to pursue this study, we highly recommend using
a Coral USB Accelerator for Raspberry Pi in order to enable high-speed machine learning
inferencing on a wide range of systems since it can inference faster when used together
[47]. They may utilize an artificial neural network to continually analyze data. This
technique would require faster memory for CPUs and accelerators alike. They may also
invest in the most recent model of a Raspberry Pi and a high gigabyte of RAM of at least
4GB for quicker object identification. In addition, we also want to add a better camera
resolution, at least 1080p, so that the quality of the captured object is high resolution.
Researchers may also use other microcontrollers like RADXA Rock 4 SE other than
Raspberry Pi 4 since the said hardware was more affordable than Raspberry Pi. Both are
similar in specs with a difference of, RADXA Rock 4 has a six-core 64-bit processor and
a memory of 4 gb and the said microcontroller was easier to find sin ce the researchers
We also recommend to the future researchers to invest their time in learning image
processing because it is one of the most time consuming and hard to obtain parts of the
project. And lastly, the future researchers can adjust the height of the leg of the prototype
for easy access when drying the said root crops and use a device or a technique that can
help in cutting the crops evenly to prevent inconsistency. We also highly recommend to
99
the future researchers to innovate the project and change the product being dehydrated to
100
BIBLIOGRAPHY
[8] Philippine History 101: As Told Through Our Food”, Edukasyon Ph.,
2019. Retrieved February 2,2022 from
https://www.edukasyon.ph/blog/philippine-history-101-as-told-through-our-food
101
http://treasuresoftheinternet.org/philippines/fil_cuisine/intro/food_preservation.s
html
[13] G.B. Taylor et al. “Understanding the Tuber Life Cycle” The James
Hutton Institute Retrieved March 2, 2022 from
https://potato.hutton.ac.uk/topics/understanding-tuber-life-
cycle#:~:text=Cultivated%20potato%20(Solanum%20tuberosum)%20has,bulking
%2C%20and%20finally%20plant%20senescence
[15] Nair et al. “IoT Based Solar Energy Dryer” IEEE Xplore, 2022, Retrieved
February 24, 2022 from https://ieeexplore.ieee.org/abstract/document/9686527
102
[20] S. Oluwaleye et al. "conceptual Design of Smart Multi-farm Produce
Dehydrator Using a Low-cost Programmable Logic Controller and Raspberry
Pi", National Library of Medicine, 2021, Retrieved April 24, 2022 from
https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8609401.2/
[22] M. Kaveh et al. "ANFIS and ANNs model for prediction of moisture
diffusivity and specific energy consumption potato, garlic and cantaloupe drying
under convective hot air dryer " Retrieved April 24, 2022 from
https://www.sciencedirect.com/science/article/pii/S2214317318300337
[23] Jabeen, R., Khan, M. A., & Ali, A. (2015). Drying kinetics of potato using a
self-designed cabinet dryer. Cogent Food & Agriculture, 1(1), 1036485, April
2015. Retrieved April 24, 2022 form
https://www.tandfonline.com/doi/full/10.1080/23311932.2015.1036485
[28] C. Szegedy, A. Toshev, and D. Erhan, "Deep Neural Networks for Object
Detection," in Proceedings of the 26th Neural Information Processing Systems
Conference, Lake Tahoe, NV, USA, 2013. Retrieved June 15, 2022 from
https://proceedings.neurips.cc/paper/2013/hash/f7cade80b7cc92b991cf4d2806d6
bd78-Abstract.html
103
[29] A. Salvatierra-Rojas, M. Nagle, M. Gummert, T. de Bruin, and J. Müller,
"Development of Inflatable Solar Dryer for Improved Postharvest Handling of
Paddy Rice in Humid Climates," International Journal of Agricultural and
Biological Engineering, 2017. Retrieved February 23, 2022 from
http://www.ijabe.org/index.php/ijabe/article/view/2444
[36] “Bureau of Agriculture and Fisheries Standards for Dried Cassava Chips”,
2010. Retrieved June 20, 2022 from
https://members.wto.org/crnattachments/2016/SPS/PHL/16_3183_00_e.pdf
104
[37] ISO 21527-1;2008, International Organization for Standardization July
2008. Retrieved July 13, 2022 from https://www.iso.org/standard/38275.html
[39] “Moisture in Potato Dehydration” Process Sensors. Retrieved July 12, 2022
from https://assets-global.website-
files.com/60248b8cec3ecd4ab5d61984/6074da1c8ff8b8882ae9af83_KPM%20PS
C%20Brief_Potato%20Dehydration.pdf
105
[46] Wang et al., 2017 "Iterative Random Forests to detect predictive and
stable high-order interactions" Dec 23, 2017 Retrieved October 24, 2023 from
https://arxiv.org/abs/1706.08457
106
Appendix A
For Arduino
#include "IOT.h"
#include "LoadMaintainParam.h"
#include "Scheduler.h"
#include "wta.h"
#include "Meter_Sync.h"
#include "mem.h"
Scheduler delupdown(2000);
#include "Parser.h"
Parser GET("GET",'\r',1);
Parser PUSH("PUSH",'\r',1);//value
Parser ADD("ADD",'\r',1);//value,sensorval
Parser DUMP("DUMP",'\r',1);
Parser CLEAR("CLEAR",'\r',1);
Parser MOIST("MOIST",'\r',1);
Parser SPOTATO("SPOTATO",'#',1);
Parser XPOTATO("XPOTATO",'#',1);
Parser CASSAVA("CASSAVA",'#',1);
Parser STOP("STOP",'#',1);
#define ONOFF A1
#define UPDOWN A2
107
Meter_Sync sensor1(-1,512);//pin, startEEPROM adress,maxcnt
float valueBT=1024;
#include <SoftwareSerial.h>
#include <DallasTemperature.h>
float tmp=0;
#define ONE_WIRE_BUS 7
OneWire oneWire(ONE_WIRE_BUS);
DallasTemperature sensors(&oneWire);
#define SPOTATO_TYPE 0
#define XPOTATO_TYPE 1
#define CASSAVA_TYPE 2
#define SPOTATO_MOIST 10
#define XPOTATO_MOIST 12
#define CASSAVA_MOIST 14
#define HEATER 12
#define STOPCNT 30
int typecrop=-1;
108
int stop=0;
float raks()
return tmp;
sensorvalue,512 cuttoff
void loopMeter() {
while(Serial.available())
char srx=Serial.read();
Parse(srx);
while(Serial1.available())
char srx=Serial1.read();
Parse(srx);
while(mySerial.available())
109
char srx=mySerial.read();
Parse(srx);
if(1)
if(SPOTATO.DataReceived(srx))
stop=STOPCNT;
typecrop=SPOTATO_TYPE;
started=true;
Serial.println("SPOTATO#");
if(XPOTATO.DataReceived(srx))
stop=STOPCNT;
typecrop=XPOTATO_TYPE;
started=true;
110
Serial.println("POTATO#");
if(CASSAVA.DataReceived(srx))
stop=STOPCNT;
typecrop=CASSAVA_TYPE;
started=true;
Serial.println("CASSAVA#");
if(STOP.DataReceived(srx))
started=false;
stop=0;
digitalWrite(HEATER,LOW);
Serial.println("STOP#");
if(GET.DataReceived(srx))
//Serial.println(table_value(atoi(GET.data)));
sensor1.read();
Serial.print(sensor1.adc);
111
Serial.print(" ");
Serial.println(sensor1.value);
if(ADD.DataReceived(srx))
char ms[5];
float value;
getCSV(0,',',ADD.data,ms);
value=atof(ms);
//
//getCSV(1,',',ADD.data,ms);
int adc=valueBT;
sensor1.ADD(value,adc);
if(MOIST.DataReceived(srx))
char ms[5];
getCSV(0,',',MOIST.data,ms);
valueBT=atof(ms);
Serial.print("BT ");
Serial.println(valueBT);
112
}
if(PUSH.DataReceived(srx))
char ms[5];
getCSV(0,',',PUSH.data,ms);
float value=atof(ms);;
sensor1.ADD(value);
if(CLEAR.DataReceived(srx))
if(DUMP.DataReceived(srx))
void setup(void)
delupdown.Start();
pinMode(LED,OUTPUT);
113
Serial.begin(38400);
Serial1.begin(9600);
mySerial.begin(9600);
void loop(void)
iot.poll();
loopMeter();
if(started)
heater.poll();
else
digitalWrite(HEATER,LOW);
if(delupdown.Event())
Serial.print("stop : ");
Serial.println(stop);
Serial.println(analogRead(A4));
sensor1.read(valueBT);
114
delupdown.Start();
Serial.print("moist ");
Serial.println(sensor1.value);
sensors.requestTemperatures();
tmp = sensors.getTempCByIndex(0);
Serial.print("Temp ");
Serial.println(tmp);
Serial.print("WTARELAY^cropAPP^SENSOR");
Serial.print(tmp);
Serial.print(",");
Serial.print(sensor1.value);
Serial.print(",");
if(started)
Serial.print("Drying");
else
Serial.print("Iddle");
Serial.print(",");
if(digitalRead(HEATER))
Serial.println("ON#");
else
Serial.println("OFF#");
115
if (started)
if((typecrop==SPOTATO_TYPE))
if(sensor1.value<=SPOTATO_MOIST)
stop-=1;
if(stop==0)
started=false;
else
stop=STOPCNT;
if((typecrop==XPOTATO_TYPE))
if(sensor1.value<=XPOTATO_MOIST)
stop-=1;
if(stop==0)
started=false;
else
116
stop=STOPCNT;
if((typecrop==CASSAVA_TYPE))
if(sensor1.value<=CASSAVA_MOIST)
stop-=1;
if(stop==0)
started=false;
else
stop=STOPCNT;
117
Appendix B
118
119
120
Appendix C
https://drive.google.com/drive/folders/1IZHs0CE0wLJjboaMfzJm_mDLIiSfwnl7?u
sp=sharing
121