Smart Irrigation System
Creating a functional low cost arduino based smart irrigation system.
The Project In Detail
Arduino Uno board.
Soil moisture sensor.
Standard matrix board.
9 volt battery (for the electric tap).
Using a soil moisture sensor the arduino controller recieves real time data about the current moisture levels in the crops soil. A series of measurments is taken for higher accuracy and an avarage one is calculated and used. On the next phase the result of the measurments is tested and compared to the required minimum irrigation level of the crop. If the current moisture level is lower than the required one, using an electric circuit and the arduino controller the electric tap is activated for a fixed amount of time. In case the current moisture level is higher than the required one, the tap will not be activated at least until the next round of measurments. The system will repeat this routine automatically with a delay after each iteration.
Default system times are as follows: On each iteration 10 measurments are taken with a delay of 1 second between each two measurments. The irrigation time is set to 10 seconds and the delay between iterations of the entire routine is 1 hour.
Input: 9 volt. The tap is equipped with a three state switch: 1. Open. 2. Closed. 3. Auto (activated by arduino command). While the electic tap is set to auto mode, if the 9 volt input of the tap is passed through the red wire it will be opened, if the 9 volt input of the tap is passed through the black wire the tap will be closed. To use the tap in the way mentioned above two parallel electric circuits were implemented with two relays that allow switching between the circuits to change the direction of the current.