Arduino Based Automatic Monitoring Environment by
Arduino Based Automatic Monitoring Environment by
net/publication/334564598
CITATION READS
1 729
3 authors, including:
All content following this page was uploaded by Wevi Sara on 12 November 2020.
ABSTRACT actuators takes place to produce the outcome for the collected
Environment monitoring plays an important role in human information to know the status of that environment. The
life, so the collection of information about changes of actuator can control the environment changes. Many sensors
environment is very important. In this paper, an Arduino can be used with arduino for examples water sensor, humidity
based microcontroller system and many sensors are used to sensor etc.
monitor the environment. The parameters of the environment A monitoring of environment is an instrument that measures
to be monitored are chosen as temperature, humidity, water and records parameters using sensors without intervention of
level and light. The values of these parameters are transmitted humans. The measured parameters can be stored or can be
to a base station where they are being monitored, so that every transmitted via GSM.
person in the range of the system can check it over their smart
phones and laptops as these parameters hold importance to In a monitoring environment each sensors consists of
everyone. In proposed system, when the parameters reaches a processing capability (one or more microcontroller), may
defined threshold value a message will be displayed in the contain multiple types of memory (program, data and flash
printed circuit boards LCD, and a SMS will be sent to the memories), have a Zigbee, GSM, RF transceiver. Wireless
user’s mobile phone. communication is widely used in electronics. The design to
implement for monitoring the environment using many
General Terms sensors which manages information [4].
Arduino Uno, GSM, LCD, Humidity sensor Light Dependent
Resistance and water sensor. 2. ADRIANO UNO [1]
microcontroller is an easy to use yet powerful single board
Keywords computer that has gained considerable traction in the hobby
and professional market. The Arduino is open-source, which
Arduino Uno, GSM, LCD, Humidity sensor Light Dependent
means hardware is reasonably priced and development
Resistance and water sensor.
software is free. This guide is for students in ME 2011, or
1. INTRODUCTION students anywhere who are confronting the Arduino for the
The Arduino is a tiny computer system that can be first time. The Duemilanove board features an Atmel
programmed with your instructions to interact with various ATmega328 microcontroller operating at 5 V with 2 Kb of
forms of input and output. The current Arduino board model, RAM, 32 Kb of flash memory for storing programs and 1 Kb
the Uno, is quite small in size compared to the average human of EEPROM for storing parameters. The clock speed is 16
hand [1]. Arduino board designs use a variety of MHz, which translates to about executing about 300,000 lines
microprocessors and controllers. The boards are equipped of C source code per second. The board has 14 digital I/O pins
with sets of digital and analog input/output (I/O) pins that may and 6 analog input pins. There is a USB connector for talking
be interfaced to various expansion boards (shields) and other to the host computer and a DC power jack for connecting an
circuits. The boards feature serial communications interfaces, external 6-20 V power source, for example a 9 V battery,
including Universal Serial Bus (USB) on some models, which when running a program while not connected to the host
are also used for loading programs from personal computers. computer. Headers are provided for interfacing to the I/O pins
The microcontrollers are typically programmed using a dialect using 22 g solid wire or header connectors .Show in figure(1)
of features from the programming languages C and C++. In
addition to using traditional compiler toolchains, the Arduino
project provides an integrated development environment
(IDE) based on the Processing language project [2].
Shield Arduino that can accept the modules from Simcom
SIM900 (GSM/GPRS functionality) and SIM928
(functionality GSM / GPRS & GPS) and allows to make voice
calls, send SMS or make connections to the Internet network.
The availability of new GSM/GPRS &
GPS library, allow great flexibility. For example is
possible reading a received text message or start a call and
make all other operations performed by a standard mobile
phone [3].
Fig. 1: Arduino ono
Sensor collects information from various environment the
39
International Journal of Computer Applications (0975 – 8887)
Volume 178 – No. 35, July 2019
5. WATER SENSOR
Water sensor brick is designed for water detection, which can
be widely used in sensing rainfall, water level, and even liquid
leakage.
Fig. 2: GSM/GPRS
40
International Journal of Computer Applications (0975 – 8887)
Volume 178 – No. 35, July 2019
LDR
Figure 5: Light Depend Resistance with/ without light GSM
senso
7. LIQUID CRYSTAL (LCD) [12]
LCD modules that display characters such as text and r sensor
numbers are the most inexpensive and simplest to use of all Water
Arduino
LCDs. They can be purchased in various sizes, which are sensor
Ono
measured by the number of rows and columns of characters
they can display. Some include a backlight and allow you to
choose the color of the character and the background color. Temperature
Any LCD with an HD44780- or KS0066-compatible interface &Humidity
should work with your Arduino. sensor
to display
Result Send SMS
41
International Journal of Computer Applications (0975 – 8887)
Volume 178 – No. 35, July 2019
int water_pin=8; }
int humidity_pin=2; // Then, to position the cursor, which is the starting point for
the text
int light_pin=A0;
lcd.setcursor(0,0);
/SoftwareSerial GSM(7, 8);//Rx, TX of arduino
//Displaying Text:
void setup()
lcd.print(humidity _val);
{
lcd.print(water _val)
lcd.begin(16,2); // we tell the Arduino the size of the LCD //in
columns and rows. lcd.print(light_val);
pinMode(humidity_pin, INPUT); }
pinMode(water_pin, INPUT); 8. CONCLUSION
GSM.begin(9600); In agriculture, sensor plays major role in environmental
monitoring like light, temperature, water and humidity. In our
Serial.begin(9600); proposed method, the environment is monitored by sensors
GSM.println("AT+CMGF=1"); and the measured information’s are transmitted to the user’s
mobile phone by means of GSM. The GSM is simple than
delay(1000); Zigbee. It is more reliability than other wireless methods
} 9. REFERENCES
void loop() [1] J. Boxball “Arduino Workshop: A Hands-On
Introduction with 65 Projects” 1st edition, 2013
{
[2] https://en.wikipedia.org/wiki/Arduino
while(GSM.available()) {
[3] https://store.open-
Serial.write(GSM.read()); electronics.org/GSMGPRSSHIELDv2?gclid=Cj0KEQjw
} n_3GBRDc8rCnup-
1x8wBEiQAdw3OAVwIZ50JB5o8_La_Ut7g68-
int humidity_val = digitalRead(humidity_pin); u2i1CBVPI6xpjoGzDI4saAhHX8P8HAQ
int water_val = digitalRead(water_pin); [4] https://www.arduino.cc/en/Main/ArduinoGSMShield
int light_val = analogRead(light_pin); [5] S. Devika, SK. Khamuruddeen, J. Thota and K. Shaik “
Arduino Based Automatic Plant Watering System”
sendSMS();
International Journal of Advance Reasearch in Computer
} Science and Software Engineering, vol. 4, issue 10,
October 2014.
delay(500);
[6] H. Timmis “Practical Arduino Engineering”, 2011.
}
[7] P. Susmitha and G. Sowmyabala “Design and
void sendSMS() { implementation of weather Monitoring and Controlling
Serial.print("Switch was turned "); System”, international Journal of Computer Application,
vol. 79, No. 3,July 2014.
Serial.println(state ? "on" : "off");
[8] https://arduino-info.wikispaces.com/DHT11-Humidity-
GSM.println("AT+CMGS=\"+64123456789\""); TempSensor?responseToken=47d75760cbbb3fb177d30c
delay(500); c95c5351c4
IJCATM : www.ijcaonline.org 42