Test The Water Usage Of The Smart Agricultural System

2476 Words10 Pages
To test the water usage of the smart agricultural system, data was collected for the three different types of algorithms implemented for this project: timed based, reactive, and proactive control of the environment. The timed based algorithm turns the water pump on based only on the time of the day. The reactive algorithm turns the water pump on only if the soil moisture falls below a certain threshold. The first two algorithms only consider one type of data for their algorithms, either time or soil moisture. Comparatively, the proactive algorithm actively monitors the environmental conditions to determine the best time to turn the water pump on. The proactive algorithm monitors the soil moisture, temperature, humidity, pressure, time…show more content…
This can be compared to high temperatures of 22 degrees Celsius and low temperatures of 18 degrees Celsius in the indoor environment. The reduced temperature variation helps to protect the plants from the extreme weather conditions that the proactive, smart algorithm is able to compensate for. However, since extreme environments would be difficult to reproduce accurately, this factor was not considered for this test. Additionally, because the temperature variation would be applied equally to each of the environments, it was deemed a non-significant factor for the purposes of this test. Rain however, was deemed a significant factor for this test. This test is centered on the water usage of the system and as a result, it is important to see the effect of rain on the system. To accurately simulate rain, 20mL of water was dispensed to each of the environments on the 3rd day of the test. The water was dispensed using a measuring cup containing the set amount of water. The weather data was also spoofed to change the weather status to rain. This was accomplished by replacing the weather JSON file that would have been requested from openweather.org, with a fake weather JSON file with the spoofed values. Finally, it should be noted that the sensor module pushes new data to the Webserver at a rate of one packet every minute. Since the Webserver only updates the turn water on command when new data is
Open Document