Since we have program our nodemcu development board using arduino ide software we are going to discuss only that here

Since we have program our nodemcu development board using arduino ide software we are going to discuss only that here.

?USING ARDUINO IDE SOFTWARE
To program NodeMCU in Arduino IDE, install esp8266 board by using these
steps:
1. Open Arduino IDE and select ‘Preferences’ via ‘File’ menu.
2. Type http://arduino.esp8266.com/stable/package_esp8266com_index.json in the field for ‘Additional Boards Manager URL’.
3. Select ‘Boards Manager’ from ‘Tools’ menu.
4. Under ‘Boards Manager,’ scroll until you find ‘esp8266’ board.
5. Select the latest version and install.
6. Select the board via ‘Tools’ menu (see Fig. 5).
7. Finally, copy, paste and then upload ‘xyz.ino’ sketch into your nodemcu board.

CONCLUSION :

The project “AUTOMATION OF IRRIGATON SYSTEM with monitoring using IOT” has
mainly three aspects of measurement and transmission of data that are SOIL MOISTURE
MEASUREMENT, LIQUID MEASUREMENT and transmission of these two data to the internet
Network by using ESP8266 module.
As the main motive of our project was to reduce the cost of automation in irrigation system as well
as make it suitable for almost all types of crops and gardening system .
Along with that the project shows the one of best result in reducing the usage of water in irrigation process.

Observations made in water level measurement : Instead of using already designed water level
sensor ,it is more preferred to design ultrasonic level sensor by using HC-SR04 (Ping Sensor) as
it reduces the cost and also its accuracy is very much relevant for irrigation field plants .

Observations made in transmission of data using IOT: The sensor output can be easily send in digital
l form by using ESP8266 but the only limitation of this method is it needs good internet connectivity
that may not be present in some of the very rural areas hence for that we have tried our best
to establish a communication link between the user and field by using an buzzer and led .This is
the only field in which further improvement is possible .

RESULTS :
The output of both sensor according to variations in field is shown in figure below :

Humidity sensor output plot from IOT Module

Level sensor output plot from IOT Module

Final Representation of the process is depicted here :
Designing of Electronic circuit

SCOPE OF FUTURE DEVELOPMENT :
This project can be further developed with the involvement of Robotics and satellite communication.
With the involvement of Robotics and microelectronics not only the irrigation but whole of the farming
Can be made Automatic that is seeding, ploughing and all other processes can be made Automatic. As well
With the involvement of satellite communication and telemetry systems water level in ground can be measured.
and then accordingly the irrigation will be provided. Along with that Further modifications can be made by
making it suitable for rural areas where there is an less availability of Internet Network which leads to problem
in monitoring process.

APPENDIX:
# SOURCE CODE FOR MOISTURE AND LEVEL MEASUREMENT

ARDUINO CODE FOR LEVEL

# CODE FOR OPERATING ESP8266 IOT MODULE
String apiKey = “URT4NEWB46SBHAZ3”;
const char* ssid = “gaurav”; //fill in your wifi name
const char* password = “gaurav12”; //fill in your wifi password
const char* server = “api.thingspeak.com”;
//#define DHTPIN 2 // what pin we’re connected to
//DHT dht(DHTPIN, DHT22,15);
WiFiClient client;

int sensorPin = A0; // input for LDR and rain sensor
//int sel2 = 15; // SL
//int sel1 = 13; // select lines
int level;
int sensorValue1 = 0; // variable to store the value coming from sensor soil moisture
int sensorValue2 = 0; // variable to store the value coming from sensor level sensor
//int sel0 = 12;
const int trigPin = 2; //D4
const int echoPin = 0; //long duration;

REFERENCES :

1 Automated Irrigation System Using a Wireless Sensor Network and GPRS Module Joaquín Gutiérrez, Juan Francisco Villa-Medina, Alejandra Nieto-Garibay, and Miguel Ángel Porta-Gándara IEEE transactions on instrumentation and measurement
2 Energy Efficient Wireless Monitoring System for Agarian Areas in Indian Agricultural System using GPRS
module P.Revathi, Member IEEE, C.Rajasekaran, Member IEEE
3 S.V. Devika, Sk. Khamuruddeen, Sk. Khamurunnisa, JayanthThota, KhaleshaShaik “Arduino Based Automatic Plant Watering System
4 S. Harishankar, R. Sathish Kumar, Sudharsan K.P, U. Vignesh and T.Viveknath “Solar Powered Smart Irrigation System