Professional Documents
Culture Documents
Introduction
1.1 Agriculture
India is basically an agricultural country, and all its resources depend on the agricultural
output. Even in the modern span of industrialization, agriculture is the key area that decides the
economic growth of the country. Agriculture also accounts for 8.56% 0f the country's total
exports. Agriculture is the most important field compared to others in India. The underground
water level is slowly falling down and as well as rainfall is also reduced due to deforestation. In
order to get the maximum yield in the agricultural process, it is necessary to supply the optimum
quantity of water and it should be supplied periodically. This is achieved only through a
systematic irrigation system. Irrigation is the science of planning and designing an efficient,
low-cost, economic irrigation system designed in such a way to fit natural conditions. By the
construction of a proper distribution system and providing an adequate water supply will
increase the yield of crops.
1
1.2 About Project
This project is used to control the agricultural motor using a GSM module using a mobile
phone and it also tells if the light is present or not & the motor current condition(on/off/dry
run/overload).The LED turns ON if any phase is connected wrongly otherwise it damages the
motor. The system will measure the current of the motor and depending on that decide the dry
run of the agriculture motor. If water level is low in the well then the system will turn it off as
there is a possibility of burning of the motor. The system is fully controlled by Arduino UNO.
Arduino is programmed according to the desired operation. The GSM automatically receives the
call and we can hear the voice in Marathi, these tell us all the information about control action.
The farmer can press the relative key to do further actions. So, a farmer can on the motor from
his mobile itself instantly from anywhere.
When the motor is in dry run or overload condition, the motor immediately turns OFF. It
prevents the motor. In such a way the Arduino controller is programmed. We developed this
project which is relatively inexpensive which controls the motor remotely. The CT current is
read by the ADC (analog to digital converter) module of the Arduino. This ADC data is
processed and converted into the text given in the program by the Arduino. This processed data
is then taken for further actions to control the motor.
2
1.3.1 Block Diagram of 3 phase mobile Starter
3
2
Literature Review
I have referred some projects which are already designed. Which controls the Agricultural
motor remotely using a mobile. And I have noticed some issues in those projects, by considering
those problems I have designed a system which tries to resolve these problems.
After this, the Arduino will make the relay input HIGH, resulting in turning ON the motor
pump and this way their smart irrigation system will start supplying the water to crops. The
procedure remains the same while turning OFF the motor. This time the farmer will send a
message to turn OFF the motor, and the relay output will be made LOW which is then followed
by the shutdown of the water pump.
Disadvantages of this system- This system works on a SMS service only, but some Indian
farmers are uneducated and are unable to write and send messages.
4
and message requirement without any protocol. So, this method is suitable for remote monitoring
of systems with moderate complexity.
The proposed methodology was implemented to monitor the soil moisture and the level of
water in a field. This moisture content can be measured using soil moisture sensor and the
availability of water level in a field can be measured using water level sensor. The water level
present in the field is measured by a water level sensor and fed to the microcontroller. If we send
a message to the system, it will send a reply with the status of all the sensors. By using GSM
technology the controller acts according to the control algorithm. The controller controls the
motor to turn ON and OFF, when the moisture content goes above or below the limit. The value
of the moisture content and motor functionality status, Temperature Humidity and water level
also shown in the LCD display GSM module act as both transmitter and receiver. It transmits
data to another GSM module in the form of coded signals using AT commands. We also see the
status of all by sending a message to the system. The farm is monitored by us from anywhere, it
reduces the physical presence.
Disadvantage of this system- In this system the controller controls the motor to turn ON
and OFF, when the moisture content goes above or below the limit. As this system also works on
a SMS service only, some Indian farmers are uneducated and are unable to write and send
messages. Even they are unable to read a message.
5
16/0.2mm wire current circuits
6
4.Neha Literature Wi-Fi based Low cost, Slow, might
Malik,Yogita Review on using Arduino Secure, have loose
Bodwade Home microcontroller Remotely connection
Automation through IOT controlled
System
Problems resolved in our system- Our CT gives correct proportional value of current so
there is no problem regarding CT output. We have not used a rain sensor as it will not give
accurate output. Voltage transformer we have used is a 2 phase transformer, so that if any of the
phase is missing, the system continuously remains ON. We can add the IOT system in future for
more advanced features.
7
3
Components & Selection
To get a good understanding of the working principle of a three-phase induction motor, it’s
essential to understand the construction of a 3 phase induction motor. A 3 phase induction motor
consists of two major parts:
● A stator
● A rotor
The stator of a three phase induction motor is made up of numbers of slots to construct a 3
phase winding circuit which we connect with a 3 phase AC source. We arrange the three-phase
winding in such a manner in the slots that they produce one rotating magnetic field when we
switch on the three-phase AC supply source.
The rotor of the three phase induction motor consists of a cylindrical laminated core with
parallel slots that can carry conductors. The conductors are heavy copper or aluminum bars fitted
in each slot and short-circuited by the end rings. The slots are not exactly made parallel to the
axis of the shaft but are slotted a little skewed because this arrangement reduces magnetic
humming noise and can avoid stalling of the motor.
8
How to Wire a Six Wire Three Phase Electric Motor- Six wire three-phase electric motors
are dual voltage motors. How the wires are interconnected dictates the voltage being supplied to
the motor. The supply voltage is either 240 volts alternating current (VAC) or 480 VAC. The
motor will supply the same amount of power, but with a different load amperage. The higher the
voltage, the lower the amperage.
● Delta Configuration-The first is the delta connection. For this we connect across the
terminals from U1 to W2, V1 to U2 and W1 to V2. This will give us our delta
configuration. When we pass a current through the phases, electricity flows from one
phase into another as the direction of AC power in each phase reverses. That’s why we
have the terminals at different arrangements because we can connect across and allow
electricity to flow between the phases as the electrons reverse direction at different times.
● Star Configuration-The other way we can connect the terminals is to use the star
configuration. In this method we connect between W2, U2 and V2 on only one side of the
motor terminals. This gives us our star equivalent design.
When we pass current through the coils the electrons are shared between the phases at the
terminals. The two ways we just saw of configuring the motor in star or delta are fixed methods.
To change them we have to physically cut the power, open the motor terminals and re-arrange
them.
9
3.2 Components:
3.2.1 Arduino UNO-
Arduino UNO is a low-cost, flexible, and easy-to-use programmable open-source
microcontroller board that can be integrated into a variety of electronic projects. This board can
be interfaced with other Arduino boards, Arduino shields, Raspberry Pi boards and can control
relays, LEDs, servos, and motors as an output.
Microcontroller ATmega328P
Operating Voltage 5V
10
PWM Digital I/O Pins 6
SRAM 2 KB (ATmega328P)
EEPROM 1 KB (ATmega328P)
LED_BUILTIN 13
Length 68.6 mm
Width 53.4 mm
11
Weight 25 g
12
A customized Global System for Mobile communication (GSM) module is designed for
wireless radiation monitoring through Short Messaging Service (SMS). This module is able to
receive serial data from radiation monitoring devices such as survey meter or area monitor and
transmit the data as text SMS to a host server.
● AT Command:
What is the use of AT command?
AT commands are commands which are used to control the modems where AT stands for
Attention. These commands were derived from Hayes commands which were used by the Hayes
smart modems. Every wireless, as well as the dial up modems, require an AT command to
interact with a computer machine.
Command Description
13
AT+CPIN? Sim inserted or not
3.2.3 DF Player
What is the DF Mini Player MP3 Module?
The DF Mini Player module is a small music player. It is low cost and low power and
reproduces sounds stored on a memory card. Based on this, the module can be controlled via the
standalone mode, that is, in this mode, there will only be the DFMini module, a battery to power,
the speaker, buttons to control it, and the SD card with the songs.
Another way to control it is to use an Arduino or another control device. The Arduino, for
example, will send commands through serial communication with the DFMini Player Module.
DFPlayer mini MP3 player is a small and low cost MP3 module player with a simplified output
directly to the speaker. The module can be used as a standalone module with attached battery,
speaker and push buttons or used in combination with an Arduino UNO or any other with
RX/TX capabilities.
14
❖ Specifications:
-The DFPlayer mini module has an in-build amplifier which can drive up to 3 watt loudspeakers
in stereo or mono. It has 24-bit digital to analog converter (DAC)
-Has a micro SD card slot and can support FAT16 and FAT32 file system with a maximum of
32GB for a TF card, 32GB for a U disk and 64Mbs for FLASH
-It supports MP3 and WMV hardware decoding and a sampling rate of 8KHz,11.025KHz,
12KHz,1 6KHz, 22.05KHz, 24KHz, 32KHz, 44.1KHz, 48KHz.
-Has a 30 level adjustable volume and 6 -level EQ adjustable
There are many other specifications for this module which you can look up in the DFPlayer
mini module data sheet .From this data sheet you will also find the different commands for serial
communication.
15
Relay Module; Model: SRD-12VDC-SL-C, 2 Channel
Voltage to operate: 12V DC
Color: Blue Relays on a black PCB
Load: 10A/250VAC,10A/125VAC,10A/28VDC.
The DS3231 RTC module is a time tracking device that gives the current time and date.
The word RTC means Real Time Clock. The RTC module is made of clock chip DS3231. This
module is generally used in computers, laptops, mobiles, embedded system applications devices,
etc. to provide time and date. The RTC module works on the I2C protocol. The module provides
details such as second, minute, hour, day of the week, day of the month, month, and year
including correction for leap year. One more interesting thing It can operate either in 12 Hour or
in 24 Hour format. It can be used in projects like data-logging, clock-building, time stamping,
timers, and alarms.
16
-SQW pin outputs a nice square wave at either 1Hz, 4kHz, 8kHz or 32kHz and can be handled
programmatically. This can further be used as an interrupt due to alarm conditions in many
time-based applications.
-SCL is a serial clock pin for the I2C interface.
-SDA is a serial data pin for the I2C interface.
-VCC pin supplies power for the module. It can be anywhere between 3.3V to 5.5V.
-GND is a ground pin.
17
Fig 3.2.6.2 Measuring current using Current Transformer
3.2.7 Single phase preventer(SPP)-
What is VSP D1?
VSP is a voltage sensing type, and can be used from 1 HP to 20HP. This will sense the
presence of all the 3 phases till its terminals and in case of single phase, relay in the unit will
de-energises and its contact can be used to trip the starter.
18
Fig.3.2.7.2 SPP connection With Starter
This relay is suitable for monitoring incoming 3-phase supply from mains (Electricity
distribution line). Being independent of load, it can be used for any HP/KW rating of load.
❖ Uses:
Phase Failure, Unbalance,Phase Sequence,Auto Reset, Fixed Unbalance Setting
❖ Application:
Agricultural Pump Starters
3 Ph. Split AC machines
Hoist Motor Control
Valve Actuator Motor
Machine Tools
Injection Molding M/c
19
Similarly in a 3 phase induction motor, when rotor current is high, consequently the stator
draws a very high current from the supply line. Due to such increment in line current Voltage
starts deeping. Whole system can collapse. Hence even 3 hp rating induction motor is not
allowed without Starter.
First we have chosen the PIC microcontroller for the programming of this project as it can
be programmed to carry out a huge range of tasks. PIC is also easy to program, however getting
the project setup can sometimes be tricky. As we are new to programming a whole project, we
decided to use arduino uno for the programming. The Arduino Uno is one of the best Arduino
boards for beginners. It's extremely user-friendly while allowing for exceptional connectivity.
20
● Choosing GSM
GSM can receive & transmit Voice Call, SMS with low power consumption. SIM800 series
modules are new now as SIM900 is quite old. SIM800L module can go in sleep mode and it is
difficult to wake up it. So we have choose SIM800C module to call the system.
Here we have used 2 channel 12 V relay module The 2 Channels Relay Module is a
convenient board which can be used to control high voltage, high current load such as motor,
solenoid valves, lamps and AC load. It is designed to interface with microcontrollers such as
Arduino, PIC etc. Among them one relay is used to ON the motor and other to OFF the motor.
● Choosing DFplayer
As GSM should talk with the farmer to tell control actions on call, so we have used df
player. Df player’s audio file are recorded in a SD card which is inserted in a df player. That
audio files are saved with a particular name, which is called in a program to play the audio
during on going call. We have converted the text to speech to make a mp3 files of audio.
A DTMF decoder detects the DTMF tones and generates the binary sequence
corresponding to keys pressed in a DTMF keypad. We have used the “GSM.find("+DTMF:")”
command to detect whether the key is pressed or not and we have used the “GSM.parseInt ()”
command to read which key is pressed.
RTC (Real time clock) keeps an updated track of the current time. A real-time clock (RTC)
is a battery-powered clock that is included in a microchip in a computer motherboard. We have
faced some problems during the RTC battery backup, as it was not taking the correct time after
loss of power from the arduino uno. So we have used one command “if (rtc.lostPower()){
rtc.adjust(DateTime”) }” that will take the battery backup whenever power is lost and keep the
correct time.
21
4
Interfacing & Connections
4.1 Interfacings:
4.1.1 Interfacing GSM module-
We are going to explain the interfacing of the GSM Module with the Arduino. Interfacing a
GSM module to Arduino is pretty simple. We have to make only 3 connections between the
GSM module and Arduino. For the working demonstration we will be calling a particular
number. So that GSM will receive calls automatically.
Step:-
Insert the sim card GSM module and lock it.
Connect the TX pin of the GSM module to the RX pin of the Arduino Uno.
Connect the RX pin of the GSM module to the TX pin of the Arduino Uno.
Connect the GND pin of the GSM module to the GND pin of the Arduino Uno.
22
4.1.3 Interface 2 Channel Relay Module
To generate the time delay functions in the electronic circuits, there is a component called
‘relay’ that is used. It isolates the low voltage circuit from a high voltage circuit. It’s an
electromagnetic switch that provides an electrical connection between two points to control a
circuit or a device. Telegraphs were the first application that used these relays. But, now every
other electronic device has these relays. Since, as an electronic engineer, it fascinates us to
control our home appliances like AC, fans, TV, etc from ourselves by using Arduino coding. But,
Arduino doesn’t support high voltages. Therefore, relay plays a crucial role there.
When there are no current flows in the circuit, no magnetic field occurs. Hence, the circuit
will be OFF. When a small current flows, it activates the electromagnet to induce the magnetic
field around it. And, this closes the switch, allowing the greater current to flow through this.
Hence the device works. When the current stops flowing, the circuit will be OFF again.
To understand the working of the relay module with Arduino UNO, first, you need to
understand the pin configuration of the two-channel relay module. The module contains four
control pins that are pin 1, 2, 3, and 4. Pin 1 is the power supply pin to power the optocopler in
the module. Pin 4 is for the ground. While pin 2, and 3 is to control the relay. Pin 5, 6, and, 7 are
the power supply selection pins. While pin 8 to 13 are the output terminal pins.
Now, coming towards the circuit, connect the Vcc pin of the module to the 5-volt pin of an
Arduino. Connect the ground pin of the relay module to the ground of an Arduino. Cut your AC
line of the appliance and connect its one end to the COM pin of the module. Now, if you want
your device to mostly to remain OFF, then connect it with the NO pin of the module. However, if
you want the device to remain ON most of the time, connect to its other end to the NC of the
module. In other words, this connection depends on you that what you need the resting state of
your device. To clarify, in this project we want the resting state to be Off, so we are connecting
that end to NO pin. And, that’s how the circuit got wired for your devices.
23
boards with the R3 layout, the SDA (data line) and SCL (clock line) are on the pin headers close
to the AREF pin. They are also known as A5 (SCL) and A4 (SDA).
8(pwm pin ) TX
9(pwm pin ) RX
GND GND
GND GND
5V VCC
24
Arduino UNO RTC
5V VCC
GND GND
A4 SDA
A5 SCL
GSM DF Player
MIC+ve Speaker
GND GND
GND GND
25
Starter Relay Module
COM COM
NO NO
NC NC
GND GND
26
This circuit consists of Arduino UNO, GSM module, DF player, Relay module, RTC,
Current transformer, Single phase preventer, Starter etc.
Arduino UNO - It is the controller of our system, all components should connect with the
controller to control all the actions. RTC is only connected with the Arduino,RTC’s Vcc and
GND connected to the 5V and GND of Arduino. Then the Transmitter and receiver pins of GSM
are connected with the Arduino’s 8 and 9 digital pin respectively. GSM’s MIC+ pin is connected
to the SPK2 of the DF player with 100k resistor and also mic+ is grounded with 102 ceramic
capacitor. Then DF player’s transmitter and receiver are connected to the 0 and 1 pin of Arduino
i.e. receiver and transmitter pins. Then the 5V and GND of the Arduino is given to the VCC and
GND pins of the Relay module. This relay module has two Vcc supply to work, one supply is of
5V and another is of 12v. The digital pin 4 and 5 of Arduino is connected to the relay IN1 and
IN2 pins.
Output of relay is connected to the starter, 1st relay’s com and NO are connected to the
starters common and start switch and 2nd relay’s com and NC is connected to common and OFF
switch. Then R,Y,B are 3 phases given to the starter and also goes to SPP and then the motor is
connected at the output. SPP also requires auxiliary supply voltage; it is 440V or 240V. The LED
of SPP shows whether supply is ok or not , if supply is faulty that led turn ON. So we take the
status of that led and give it to the Analog pin of Arduino. Current transformer is connected in
one phase to measure the current of the motor. CT continuously gives reading of current to the
analog pin of Arduino.
The CT circuit consist of resistor to give voltage then diode convert that ac voltage into dc
voltage then RC filter used to give ripple free voltage and 5V zener diode used to maintain 5V
constant, as Arduino analog can not handle voltage more than 5V.
27
Fig. 4.2.2 Power supply section
Circuit is of the power supply section, it consists of 440V ac to 18V ac transformer, full
bridge rectifier circuit, filter capacitor, regulators etc.
2 phase transformer- It has input of 440V AC supply from the 3 phase supply, it step down the
440V into the proportional secondary voltage. The reason behind using this 2 phase transformer
is to work the system continuously ON, if 3 phase light is absent that time any one phase is
absent but other 2 remain present. So if any of them is absent our system will work on the single
phase among 2 phases given to the primary of the transformer.
Full bridge rectifier- The output of the transformer is 18V Ac and we require dc voltage so this
rectifier circuit will convert AC into DC.
Filter capacitor- Capacitor works as a filter, capacitor increases the DC voltage and decreases the
ripple voltage components of the output. It gives pure dc voltage at the output.
28
4.3 Working:
First connect any 2 phase from 3 phase supply to the primary of the 2 phase transformer.
Choosing 2 phases such as the phase mostly goes when 3 phase supply light is off it remains
unconnected to the transformer, take other 2 phases. We have to enter the SIM in the GSM
system, it will support all kinds of sim cards except for the Jio sim. We have to recharge the card
for incoming calls with some validity. Then connect the Starter to the com and NO,NC of the
relay module. Then turn ON the 3 phase supply.
The system should take a few seconds to reset the setup, then we can call the GSM. When
we call the number which is entered in the GSM module, GSM automatically answers the call
within 2 seconds. Then we can hear the voice of the DF player, it will play the control manual
that will contain all the information about which key is recommended for which action. We can
press 0 to check whether the Motor is in ON condition or in OFF condition, press 1 to turn ON
the motor immediately, press 2 to turn OFF the motor immediately, press 3 to check whether the
water is present in the well or not, as it shows dry run ,overload and normal run condition of
motor, press 4 to preset turn ON time of motor and 5 is to set turn OFF time of motor, press 6 to
check the 3 phase light is present or not, press7 to listen control action manual.
When 0 is detected it will check the status of the relay module, if the first relay is ON and
second relay is OFF then it will tell that motor is ON and vice-versa. When 1 is detected first it
will check if the motor is ON or OFF, if it is OFF then it will check 3 phase supply, as to turn ON
motor 3 phase supply should be ON. If 3 phase supply is present then only it will turn ON the
motor. And tell that motor turned ON or it was already ON. Same for the detection of 2 it will
check if the motor is on or off, if the motor is ON then it will turn OFF the motor immediately.
And tell whether the motor is already OFF or turned it OFF. When 3 is detected first it checks if
the motor is ON or not then it checks the output of the current transformer continuously after 1
seconds. If the output of ct is in between defined range then it tells motor is in normal run
condition, if ct value falls below some value then motor is in dry run condition,i.e.motor run
without water in well, and if ct value increase above certain defined value then if tells overload
condition. Our system turns OFF the motor immediately when the motor is in dry run and
overload condition. When 4 is detected it asks to enter the turn on hour and on minutes for
setting turn ON time in advance. Similarly for 5 it sets the turn OFF time in advance. Whenever
29
the time entered matches with the current time, the motor turned OFF. When 6 is detected, the
Arduino reads the output from SPP. If it gives 1 then light is present, otherwise light is absent.
30
5
Software & program
31
5.2 Project code:
char t[32];
int IN1 = 4;
int IN2 = 5;
int status_1,status_2;
int CT1=0;
int CT2=0;
#define ON 0
#define OFF 1
32
unsigned long loopTime2;
void setup()
pinMode(IN1, OUTPUT);
pinMode(IN2, OUTPUT);
phCK1=analogRead(A0);
phCK2=analogRead(A0);
void loop()
33
{
currentTime = millis(); //upto this line how much time required in millisec
Serial.print("phCK1:--");
Serial.print(phCK1);
phCK1=phCK2;
phCK2=analogRead(A0);
loopTime1 = currentTime;
Serial.print("\tHour: ");
Serial.print("\tMinute: ");
34
Serial.print("\tONHour: ");
Serial.print("\tONMinute: ");
Serial.print("\tOFFHour: ");
Serial.print("\tOFFMinute: ");
if (status_1 == 0 && status_2 == 1) { //if motor is on check status of overload and dry run
adc1=adc2;
adc2=analogRead(A1);
loopTime1 = currentTime;
if(adc2>adc1+20) {
Serial.println();
35
}
else {
adc = analogRead(currentPin);
if (adc <= 613) { //if voltage less than 3 then dry run on
Serial.print("adc:--");
Serial.print(adc);
else if (adc > 613 && adc < 818) { //Motor running on normal voltage
Serial.print("adc:--");
Serial.print(adc);
Serial.print("adc:--");
Serial.print(adc);
Serial.println("Overload");
else {
36
initModule ("AT", "OK", 300); //check at command after every 2 sec
Serial.println("AT checked");
loopTime1 = currentTime;
Serial.println("RING!");
delay (100);
while (1) {
Serial.println("Call Received!");
loopTime2 = currentTime;
delay(100);
delay (4000);
while (1) {
if (status_1 == 0 && status_2 == 1) { //if motor is on check status of overload and dry run
currentTime = millis(); //upto this line how much time required in millisec
Serial.print("CT1:--");
Serial.print(CT1);
CT1=CT2;
CT2=analogRead(currentPin);
loopTime1 = currentTime;
37
}
if(CT2-CT1<25) {
if (adc <= 613) { //if voltage less than 3 then dry run on
Serial.print("adc:--");
Serial.print(adc);
else if (adc > 613 && adc < 818) { //Motor running on normal voltage
Serial.print("adc:--");
Serial.print(adc);
Serial.print("adc:--");
Serial.print(adc);
Serial.println("Overload");
else {
currentTime = millis(); //upto this line how much time required in millisec
if (currentTime >= (loopTime2 + 30000)) { //if no key press then call end after 30 sec
38
loopTime2 = currentTime;
break;
switch (Data){
Serial.println("0 IS DETECTED");
Serial.println("motor is on");
delay(2000);
else {
Serial.println("motor is off");
delay(2000);
loopTime2 = currentTime;
break;
39
case 1: //Turn ON motor
Serial.println("1 IS DETECTED");
Serial.println("motor is ON");
delay(2000);
int phCK=analogRead(A0);
if(phCK>800) {
Serial.print("adc in call:--");
Serial.println(adc);
delay(2000);
else {
delay(3000);
delay(2000);
40
}
loopTime2 = currentTime;
break;
Serial.println("2 IS DETECTED");
Serial.println("motor is off");
delay(2000);
delay(2000);
loopTime2 = currentTime;
break;
41
case 3: //Check status of overload and dry run
Serial.println("3 IS DETECTED");
adc = analogRead(currentPin);
if (adc <= 613) { //if voltage less than 3 then dry run on
Serial.print("adc:--");
Serial.print(adc);
delay(4000);
else if (adc > 613 && adc < 818) { //Motor running on normal voltage
Serial.print("adc:--");
Serial.print(adc);
delay(4000);
Serial.println("Overload");
Serial.print("adc:--");
Serial.print(adc);
42
delay(3000);
else {
loopTime2 = currentTime;
break;
delay(3000);
int Data5 = GSM.parseInt (); //when you give time(hr) that time is enter in data5
break;
43
int Data6 = GSM.parseInt (); //when you give time(hr) that time is enter in data6
break;
ONHour1 = ONHour5 * 10 + ONHour6; //2 digits value add and stored on onhour1
delay(3000);
int Data7 = GSM.parseInt (); //when you give time(hr) that time is enter in data7
break;
int Data8 = GSM.parseInt ();//when you give time(hr) that time is enter in data8
44
break;
ONMinute1 = ONMinute7 * 10 + ONMinute8; //2 digits value add and stored in onminute1
delay(2000);
loopTime2 = currentTime;
break;
case 5: // set Off time for motor will be off perticular time
delay(3000);
int Data9 = GSM.parseInt (); //when you give time(hr) that time is enter in data9
break;
45
int Data10 = GSM.parseInt ();//when you give time(hr) that time is enter in data10
break;
delay(3000);
int Data11 = GSM.parseInt (); //when you give time(hr) that time is enter in data11
break;
int Data12 = GSM.parseInt (); //when you give time(hr) that time is enter in data12
46
break;
delay(2000);
loopTime2 = currentTime;
break;
case 6:
Serial.println("6 IS DETECTED");
int phCK=analogRead(A0);
if(phCK>800){
Serial.println("Supply ON");
mp3_play(33);
delay(3000);
else{
Serial.println("Supply OFF");
mp3_play(32);
delay(3000);
47
loopTime2 = currentTime;
break;
mp3_play(20); delay(4000);
mp3_play(21); delay(3000);
mp3_play(27); delay(3000);
mp3_play(28); delay(4000);
mp3_play(29); delay(4000);
mp3_play(30); delay(4000);
mp3_play(34); delay(4000);
loopTime2 = currentTime;
Break;
48
}
else{
initModule("AT","OK",300);
break;
Serial.println("Call cut");
void relay_SetStatus( unsigned char stat1, unsigned char stat2)//function to set relay status
status_1 = stat1;
status_2 = stat2;
void initModule(String cmd, char *res, int t)//COMMAND REPLY AND TIME
while (1)
49
GSM.println(cmd);//Command print(initModule("AT+CHUP","OK",300);
delay(100);
delay(t);//time(300)
return;
else
delay(t);
50
6
Results & Discussions
6.1 Result
In this system wedone to give the protection to three phase motors against the over
voltage, over current, single phasing & dry run. We switch on/off the motor by calling to the
system. Any abnormal condition occurs when the system switches off the motor automatically
and intimate the fault to the user on call.
6.2 Discussion
The system ensures protection against over voltage, over current, single phasing & dry run.
It also provides the intimation of the abnormal condition and the motor automatically switches
off. This helps to uniform distribution of water at regular intervals, reduction in labor cost,
prevention of unwanted water spillage, It helps to save the water and gives the feedback of all
operations. This is the major advantage of this system. The use of mobile phones is common and
easy to understand for farmers. The pump will be located away from their homes due to this by
using mobile phone farmers to control the motor from home. As this is very helpful to the
farmer.
51
7
Conclusion
● The project “3 Phase Mobile Starter” has been successfully designed and tested.
● It has been developed by integrating features of all the hardware components used.
Presence of every module has been reasoned out and placed carefully thus contributing to
the best working of the unit. Thus monitoring the functioning of the motor automatically
using GSM technology got designed with the specific parameters.
● Secondly, using highly advanced IC’s and with the help of growing technology the
project has been successfully implemented.
● This is a very useful technique to control motor functioning.
● By using a Controller , we Controlled the on off action of the motor.
● It is mainly useful in the areas where the power fluctuations are high
8
References
1) DTMF Phone call control home appliance Project
https://create.arduino.cc/projecthub/embeddedlab786/dtmf-phone-call-control-home-appliance-f
84cf5
52
2)How to install arduino IDE software
https://www.arduino.cc/en/software
https://github.com/embeddedlab786/DFPlayer_Mini_mp3.git
https://lastminuteengineers.com/ds3231-rtc-arduino-tutorial/
53