The general working principle of the app is, if the moisture percentage of the soil is under the determined threshold, the water pump starts watering the soil. If the soil moisture percentage is above the threshold, nothing happens.
The overall interface is shown below. User can select time duration by entering numerical value in the duration part.
Threshold can be selected as 10, 20, 30, 40, 50, 60 ,70, 80, 90, 100. When Plot Button pressed, moisture and threshold line can be seen in the axes. Line properties for moisture percentage and threshold can be changed with the elements that placed bottom of the interface. User can save file as .jpg, .png, and .fig.
Used materials are, Arduino Uno, water pump, humidity sensor, breadboard and BC238 transistor.
Below image demonstrates the threshold value as a 40 and moisture percentage as an approximately 65. Since moisture percentage above the threshold value, water pump does not need to work.
Below image demonstrates the threshold value as 70 and moisture percentage value as approximately 65. After some time, to achieve moisture percentage value as 70, water pump will start to run.
As you can see the below image, when we set the threshold value to a 30 and 70 respectively, moisture percentage value increases as well.