Smart Irrigation System with IoT Based Monitoring
The proposed system is a smart irrigation system, which uses the latest IOT technology for monitoring the parameters of the irrigation field. The main circuit of this project uses an Arduino Uno board. Which is interfaced to a NODE MCU through the serial communication port. Software serial is used to establish this serial communication in order to achieve proper data transmission. The main sensors which are used in this project are DHT11 for humidity and temperature sensing and a soil moisture sensor for measuring the moisture value of the soil. The measured values are displayed on the LCD display in the system itself, and are send serially to the NODE MCU. The NODE MCU is programmed in order to work with the Thinger.io IOT platform. The dashboard in it displays the parameters obtained from the NODE MCU. The output from the soil moisture sensor is read in the analog pins of Arduino and are compared according to the program. Here the thresholds are set for soil moisture and temperature. If the temperature exceeds a certain limit then an alarm/LED is turned on indicating that the temperature had crossed the limits. Similarly, a pump connected to it pumps water when the moisture level goes below a certain value and maintains the moisture level.
The circuit diagram of entire project is shown below.
Program for Arduino UNO
Here data from the Arduino UNO is transmitted to the Node MCU serially in the following format
! humidity value @ # temperature value $ % soil moisture value ^
Special characters are used to identify and separate data individually.
Program for Node MCU
Install the libraries of ESP 8266 and Thinger.io then change the following data with that of yours
USERNAME, DEVICE_ID, DEVICE_CREDENTIAL, SSID, SSID_PASSWORD
Sample output