Good Change For Agriculture Irrigation


A sensible change system accommodates an Arduino board with GSM MODULE being remotely managed by good cellphone. As know-how is advancing each sector getting smarter with the assistance of AI or IOT eg: residence’s good farming or transportation.
As Trendy homes are regularly shifting from typical switches to centralized management system, our concept primarily offers with the issue of farmers by way of the good change know-how which is predicated on IOT and makes life straightforward, environment friendly and higher and enhances their way of life in order that they don’t discover difficulties of their day by day daily job thus making their day by day routine environment friendly and productive. Involving distant managed switches.
Presently, typical switches positioned in numerous components of the farms makes it tough for the consumer to go close to them to function. Good switches present a most trendy answer with smartphones. Our system majorly offers when there may be an evaluation of the main agriculture and industrial works manually. this legacy of handbook work generally constrains the employee to research the work by entering into subject each time. As a consequence of uncertainty of energy faults the employee exhausts his vitality by travelling tractorable distance for the farm.
Our system offers with eradication of this downside as our system include IOT based mostly know-how powered by photo voltaic panel. this contemporary technique of know-how assist in accessing the issue by sitting at one place. Via this adaptive know-how consumer can simply entry the working situation and operative mode of machineries which can be utilized in his farms by sitting at just one place as an alternative of travelling lengthy distance to the sector in unfavorable situation. The primary goal is to supply services to the farmers.

Working
Our system the good change made utilizing Arduino UNO, GSM MODULE and a wise cellphone. The purpose of this technique is to manage completely different agricultural machineries utilizing a wise cellphone. When the facility is turned on, the connection LED on the GSM MODULE begins blinking. We have to begin the app (made by way of MIT APP INVENTER) in our good cellphone and get linked to the GSM MODULE. If the pairing is profitable, the LED turns into steady. Now, within the app, we have to set completely different keys for various hundreds and their corresponding worth that have to be transmitted when that secret’s pressed. Then we’re prepared to manage the masses.
When a secret’s pressed within the good cellphone, the GSM MODULE receives the corresponding information and intern transmits that information to Arduino. If we ship “Motor on”, then the information obtained by the GSM MODULE. This information is transmitted to Arduino then compares the obtained information with the information written within the sketch and accordingly activates the ‘Motor on’. The same motion might be relevant to different keys and hundreds. Utilizing any such connection, we will management activate or off completely different electrical machine utilizing our Smartphones. additionally, we get the acknowledgement on our cellphone.

The GSM MODULE has 4 – pins: VCC, TX, RX and GND. VCC and GND pins are linked to 5V and floor to Arduino UNO. The GSM MODULE works on 12V. The TX and RX pins of the GSM MODULE have to be linked to RX and TX pins of the Arduino.
When connecting RX to TX pins of Arduino (or any microcontroller as a matter of reality), we must be cautious because the pin can tolerate solely 5V. However the voltage from TX pin or Arduino will probably be 5V. So, a voltage divider community consisting of 10K and 20K resistors are used to scale back the voltage to 5V roughly.
PCB format:


The Program used:
#embrace <Wire.h>
#embrace <LiquidCrystal_I2C.h>
#embrace <SoftwareSerial.h>
LiquidCrystal_I2C Liquid crystal display(0x27,16,2); //set the liquid crystal display handle to 0x27 for a 16 chars and a couple of line
show
SoftwareSerial mySerial(3, 6);
String job;
void setup()
Liquid crystal display.init(); //initialize the liquid crystal display
Liquid crystal display.init();
Liquid crystal display.backlight(); // Activate the backlight and print message.
mySerial.start(9600); // Setting the baud fee of GSM Module.
Serial.start(9600); // Setting the baud fee of Serial Monitor (Arduino).
pinMode(9,OUTPUT);
pinMode(10,OUTPUT);
pinMode(11,OUTPUT);
pinMode(12,OUTPUT);
digitalWrite(9,HIGH);
digitalWrite(10,HIGH);
digitalWrite(11,HIGH);
digitalWrite(12,HIGH);
delay(1000);
SendMessage();
Liquid crystal display.clear();
delay(500);
Liquid crystal display.print(" by Yogesh jatav");
delay(1000);
SMART SWITCH FOR AGRICULTURE IRRIGATION
void loop()
if (Serial.obtainable()>0)
change(Serial.learn())
case 's':
SendMessage();
break;
case 'r':
RecieveMessage();
break;
if (mySerial.obtainable()>0)
Serial.write(mySerial.learn());
job=mySerial.readString();
if (job.indexOf("Switch1off")>=0)
Serial.println(job);
digitalWrite(9,HIGH);
Liquid crystal display.clear();
delay(500);
Liquid crystal display.print("Switch1off");
delay(5000);
Liquid crystal display.clear();
else if (job.indexOf("Switch1on")>=0)
Serial.println(job);
digitalWrite(9,LOW);
Liquid crystal display.clear();
SMART SWITCH FOR AGRICULTURE IRRIGATION
delay(500);
Liquid crystal display.print("Switch1on");
delay(5000);
Liquid crystal display.clear();
else if (job.indexOf("Switch2off")>=0)
Serial.println(job);
digitalWrite(10,HIGH);
Liquid crystal display.clear();
delay(500);
Liquid crystal display.print("Switch2OFF");
delay(5000);
Liquid crystal display.clear();
else if (job.indexOf("Switch2on")>=0)
Serial.println(job);
digitalWrite(10,LOW);
Liquid crystal display.clear();
delay(500);
Liquid crystal display.print("Switch2on");
delay(5000);
Liquid crystal display.clear();
else if (job.indexOf("Motoroff")>=0)
Serial.println(job);
digitalWrite(11,HIGH);
Liquid crystal display.clear();
delay(500);
Liquid crystal display.print("Motor OFF");
delay(5000);
SMART SWITCH FOR AGRICULTURE IRRIGATION
Liquid crystal display.clear();
else if (job.indexOf("Motoron")>=0)
Serial.println(job);
digitalWrite(11,LOW);
Liquid crystal display.clear();
delay(500);
Liquid crystal display.print("MOTOR ON");
delay(5000);
Liquid crystal display.clear();
else if (job.indexOf("Switch4off")>=0)
Serial.println(job);
digitalWrite(12,HIGH);
Liquid crystal display.clear();
delay(500);
Liquid crystal display.print("Switch4off");
delay(5000);
Liquid crystal display.clear();
else if (job.indexOf("Switch4on")>=0)
Serial.println(job);
digitalWrite(12,LOW);
Liquid crystal display.clear();
delay(500);
Liquid crystal display.print("Switch4on");
delay(5000);
Liquid crystal display.clear();
else if (job.indexOf("alloff")>=0)
SMART SWITCH FOR AGRICULTURE IRRIGATION
Serial.println(job);
digitalWrite(9,HIGH);
digitalWrite(10,HIGH);
digitalWrite(11,HIGH);
digitalWrite(12,HIGH);
Liquid crystal display.clear();
delay(500);
Liquid crystal display.print("ALL Switches OFF");
delay(5000);
Liquid crystal display.clear();
else if (job.indexOf("allon")>=0)
Serial.println(job);
digitalWrite(9,LOW);
digitalWrite(10,LOW);
digitalWrite(11,LOW);
digitalWrite(12,LOW);
Liquid crystal display.clear();
delay(500);
Liquid crystal display.print("ALL Switches ON");
delay(5000);
Liquid crystal display.clear();
void SendMessage()
mySerial.println("AT+CMGF=1"); //Units the GSM Module in Textual content Mode
delay(1000); // Delay of 1000 milli seconds or 1 second
mySerial.println("AT+CMGS="+919872436823"r"); // Exchange x with cellular quantity
SMART SWITCH FOR AGRICULTURE IRRIGATION
delay(1000);
mySerial.println("House good Switches on");// The SMS textual content you need to ship
delay(1000);
mySerial.println((char)26);// ASCII code of CTRL+Z
delay(1000);
void RecieveMessage()
mySerial.println("AT+CNMI=2,2,0,0,0"); // AT Command to recieve a reside SMS
delay(1000);
Part Listing:
s.no | Elements | Vary | Amount |
1 | Arduino Uno | 7-12 volt | 1 |
2 | Gsm with Gprs | 5 volt | 1 |
3 | Relay | 5 volt | Is dependent upon machineries |
4 | DC-DC down converter | 2 volt to 35 Volt |
1 |
5 | Show (16*2) | 5 volt | 1 |
6 | Inter-Built-in Circuit(I2C) | 5 volt | 1 |
7 | contactors | 200v to 600v | Is dependent upon machineries |
8 | Connecting wires | — | — |
9 | Photo voltaic panel | 50 w | 1 |
10 | Photo voltaic cost controller | 12v | 1 |