0% found this document useful (0 votes)
3 views4 pages

IOT Based Home Automation Using Raspberry Pi

This paper presents an IoT-based home automation system using Raspberry Pi, which allows users to control home appliances via a smartphone application called Blynk. The system includes features for gas detection using MQ-2 sensors and garden irrigation with soil moisture sensors, enhancing convenience and safety. The integration of these components into a single platform aims to simplify home automation and reduce costs.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
3 views4 pages

IOT Based Home Automation Using Raspberry Pi

This paper presents an IoT-based home automation system using Raspberry Pi, which allows users to control home appliances via a smartphone application called Blynk. The system includes features for gas detection using MQ-2 sensors and garden irrigation with soil moisture sensors, enhancing convenience and safety. The integration of these components into a single platform aims to simplify home automation and reduce costs.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

International Journal of Innovative Technology and Exploring Engineering (IJITEE)

ISSN: 2278-3075 (Online), Volume-9, Issue-7, May 2020

IOT based Home Automation using Raspberry pi


G Manmadha Rao, P Sonia, Ch Sirisha, M Vandana, M V S Teja, P. Durga Srinivas

Abstract: Automation is the process of monitoring the home


that can transform the home from being manual and static to a
smart and dynamic one [1]. Life is getting simpler and more
comfortable in all spheres with the use of technology and
innovation. This paper proposes the Internet of Things (IoT)
based home automation using raspberry pi 3 b. This system
consists of a smart phone with a mobile application called Blynk
which is having home appliances details with switches to ON and
OFF the home appliances. We also included Garden irrigation
and Gas detection system for less human effort, more convenience
and more comfortable to the user for complete home automation.
We used MQ-2 gas sensors for gas leakage detection and FC-28
for garden irrigation. In this paper home appliances are
controlled through Wi-Fi technology [2].

Keywords : IoT, Home Automation, WI-Fi, Blynk,


Raspberrypi, MQ-2 gas sensor, Soil Moisture Sensor, Smart
Phone, Cloud. Fig1: Internet of Things

I. INTRODUCTION IoT can sense the objects and control them using
infrastructure. Because of all the above features of IoT we
I n the 21st century the homes are becoming self
choose it as our main platform. Raspberry pi is a mini
computer on single circuit board. We choose raspberry pi to
controlled, more comfortable and convenient due to the implement our project because it is also useful to extend our
advancement in technology. Home automation is the project in future. In our experiment setup we integrated home
electronic control of household features activity and automation, gas leakage detection and garden irrigation.
appliances. The concept of the internet of things first became Home automation controls the home appliances, gas leakage
popular in 1999. In 2015 there were 15.41 billion IoT users detection detects the LPG gas in the home and alerts the user
and now in 2020 there are 30.73 billion users. These statistics through a message and garden irrigation system waters the
are enough to prove the importance of IoT. IoT is the garden whenever it is necessary. The operation of the project
internetworking of devices, vehicles, buildings, sensors, will be clearly explained in the methodology.
actuators, software and embedded systems to collect and
exchange data. IoT is a system of computing devices, II. LITERATURE SURVEY
mechanical and digital machines with unique
identifiers (UIDs) and the able to transfer data over a network An efficient survey on home automation using IoT is very
without any human involvement in the process [3]. useful for perfect implementation of IoT systems for
monitoring the home appliances. The home appliances will
communicate with the home automation system through the
Revised Manuscript Received on May 30, 2020.
internet. The internet will be connected to the system in many
* Correspondence Author ways through wifi,zigbee,bluetooth..etc [4][5]. In this type of
G Manmadha Rao*, Dept. of Electronics and Communication system the user roams all over the world and can control the
Engineering,Anil Neerukonda Institute of Technology and Sciences, home appliances from any part of the world using the internet.
Visakhapatnam, AndhraPradesh, India.
P Sonia, Ch Sirisha, Dept. of Electronics and Communication
A home can be made smart by using various platforms and
Engineering,Anil Neerukonda Institute of Technology and Sciences, protocols. This paper contains information about how to make
Visakhapatnam, AndhraPradesh, India. the environment smart using sensors like gas sensor and soil
M Vandana, M V S Teja, Dept. of Electronics and Communication moisture sensor to collect the data from the environment and
Engineering,Anil Neerukonda Institute of Technology and Sciences,
for updating to the network. In this paper “IoT based smart
Visakhapatnam, AndhraPradesh, India.
P. Durga Srinivas, Dept. of Electronics and Communication home automation using Rpi” we used the services of the
Engineering,Anil Neerukonda Institute of Technology and Sciences, BLYNK application which is helpful to control the
Visakhapatnam, AndhraPradesh, [email protected] appliances. We also used the services of twilio cloud services
for sending a sms alert to the user. We worked on
© The Authors. Published by Blue Eyes Intelligence Engineering and
Sciences Publication (BEIESP). This is an open access article under the CC implementation of home automation because of its huge
BY-NC-ND license (http://creativecommons.org/licenses/by-nc-nd/4.0/) importance in the future. In the future home automation value
in the market will be about US$10 billion.

Retrieval Number: G5645059720/2020©BEIESP Published By:


DOI: 10.35940/ijitee.G5645.059720 Blue Eyes Intelligence Engineering
Journal Website: www.ijitee.org 695 & Sciences Publication
IOT based Home Automation using Raspberry pi

III. METHODOLOGY IV. SOFTWARE AND HARDWARE


In our experiment we have integrated three different Software Requirement
applications and made a single multipurpose system. The 1. Raspberry pi operating system
three parts are home automation, gas detection and garden 2. BLYNK application
irrigation.In our project, Raspberry Pi 3B is used to control
3. Twilio cloud services
relays and collect data from the sensors and act according to
the data collected. We have connected two AC bulbs to the Hardware Requirement
output. We can also connect a DC bulb or any other AC 1. Raspberry pi
device at the output of these Relays. Raspberry Pi in this 2. Relays
circuit receives IOT commands sent by the user using 3. Gas sensor (MQ-2)
a personal mobile application called Blynk. Then the 4. Soil moisture sensor (FC-28)
Raspberry Pi gives commands to the output devices using the 5. Submersible water pump
Relay interface. Raspberry is very small computer with
6. AC bulb
capability of doing many tasks. The relays are connected to
the raspberry pi for controlling the appliances. In this way, we 7. Smart phone
have completed home 8. Connecting cables
appliances over the internet using Raspberry Pi. Python 9. Breadboard
programming language is used in this Raspberry Pi project.
V. EXPERIMENTAL RESULTS
Home Automation
Two different LEDs are used in this system instead of
connecting home appliances. Lights, buzzer and motor are
among the appliances that can be used in this system. Smart
homes are useful to control and monitor the houses [10]. It can
perform in several ways. In this system, Wi-Fi is used in order
to control the devices in a small coverage area. Raspberry Pi
is used as the board controller to connect the appliances via
input and output port. Smart phone and Rpi are connected by
a medium called wifi. In our project lights, submersible water
pump, buzzer are connected to the relays i.e. they are
Fig2: Block diagram of IoT home automation indirectly connected to the Raspberry pi. Home appliances
voltage is 230V, but the Raspberry Pi voltage is 5V. So, in this
In the gas detection system we can detect the LPG gas in the system, a relay circuit is used to cover the high voltage to low
home using the MQ-2 gas sensor. MQ2 is one of the voltage, low voltage to high voltage which also act as a switch
commonly used gas sensors in MQ sensor series. The sensing [11]. In this system, we are using two bulbs, a dc motor and a
material of the gas sensor has a variable resistance in different buzzer as home appliances. Here two-way relay is used in
gas concentrations based on it we can detect the presence of order to connect a zero watts bulb in 230 V. Next device is a
the gas [6]. It can detect methane, hydrogen, propane, alcohol, DC motor. The DC motor needs the two 5V supply. But the
smoke, LPG,CO from 200 to 10000ppm. This detection can Raspberry Pi board has only three 5V pins. So, the male
be achieved by using the gas sensor MQ-2 which is interfaced header pins are used to connect the motor. Buzzer is
to the Raspberry pi. Whenever the sensor detects gas, a connected to the Raspberry Pi in the assigned pin.
voltage is generated in it and is given as input to raspberry pi.
We are using a python code to read the output from the gas
sensor and react according to the output from the gas sensor.
Based on the amount of gas detected the voltage will be
generated and given to the raspberry pi. If the gas leakage is
greater than the threshold value of the gas sensor then an SMS
is sent to the user using the twilio cloud communication
platform [7]. We need to place our twilio account SID and
account TOKEN in our python code. We will get SID and
TOKEN while account creation in twilio platform. We can
also add a buzzer to the circuit to alert the surroundings.While
coming to garden irrigation the soil moisture sensor is placed Fig3: ON/OFF of LED using BLYNK
in the garden in a position that the two pads of the sensor are
dipped in the soil [8]. Sensor collects the data and update the Soil Moisture Detection
data to the Rpi. Rpi receives the data and act according to the In this we collected the output of soil moisture sensor for
received data. If soil is not wet i.e. the sensor isn’t detecting monitoring the garden. We placed the sensor in the soil in a
moisture it will send a signal to raspberry pi and the way that the two pads of moisture sensor are completely into
submersible pump will start pumping the water into the the soil.
garden [9].

Retrieval Number: G5645059720/2020©BEIESP Published By:


DOI: 10.35940/ijitee.G5645.059720 Blue Eyes Intelligence Engineering
Journal Website: www.ijitee.org 696 & Sciences Publication
International Journal of Innovative Technology and Exploring Engineering (IJITEE)
ISSN: 2278-3075 (Online), Volume-9, Issue-7, May 2020

Whenever the soil is dry the resistance value is high so the REFERENCES
sensor will send a signal to the raspberry pi so that the motor 1. Dhiraj Sunehra, M.Veena, “Implementation of interactive home
will be turned on. If the moisture in the soil is high the automation systems based on Email and Bluetooth technologies”, 2015
resistance around the sensor will be low, so due to the low International Conference on Information Processing”,
resistance the motor will be turned off. VishwakarmaInstitute of Technology, [Dec 16-19, 2015].
2. Home Automation Using Internet of Things Vinay sagar K N1,
Kusuma SM2 1Student IV SEM, M.Tech, Digital Communication.
Engg, MSRIT,Bangalore, India 2Assistant Professor, Department of
Telecommunication, MSRIT, Bangalore, India
3. Rajeev Piyare “Internet of Things: Ubiquitous Home Control
andMonitoring System using Android based Smart
Phone”InternationalJournal of Internet of Things 2013, 2(1):
5-11DOI:10.5923/j.ijit.20130201.02.
4. Weimei Zhang,"Study about IOT's application in Digital
Agricultureconstruction", Electrical and Control Engineering (ICECE)
2011International Conference, [pp. 2578-2581], 2011.
5. N. Sriskanthan, F. Tan and A. Karande, "Bluetooth based
homeautomation system", Microprocessors and Microsystems, Vol.
26, no. 6,pp. 281-289, 2002.
6. Mahesh P Potadar, Pranav S Salvi, Ravindra B Sathe, Poonam
SChavan.LPG Detection and Automatic Gas cylinder Booking
System.IJERMTMay-2015 Volume 2, Issue-3.
7. An IOT Based LPG Leakage Sensing and Alerting System P.
KanakaMaha Lakshmi, P.S.G. Aruna Sri, P.Gopi Krishna ISSN:
2278-3075,Volume-8 Issue-6, April 2019.
8. ChandankumarSahu, PramiteeBehera, “A Low Cost Smart
Fig4: Soil moisture detection IrrigationControl System”, IEEE Sponsored 2nd International
Conference onElectronics and Communication System (ICECS 2015).
Gas leakage detection 9. N. Agrawal and S. Singhal, "Smart drip irrigation system using
In this part, an MQ-2 gas sensor is used to detect the gas in the raspberrypi and Arduino," International Conference on
Computing,Communication & Automation, Noida, 2015, [pp.
house. Here the sensor is placed near the gas cylinder, in cases
928-932].
of leakage of gas the gas leakage detection system 10. Rakesh k. Deore et.al (2015), “Internet of Things Based Home
immediately send a sms to the house owner using twilio cloud Appliances Control”, International Conference on Intelligence
services [12][13]. Communication Networks, 2015.
11. Jasmeet chhbra, Punita Gupta, “IoT based smart home design using
power and security management system”,2016 1st International
Conference on Innovation and challenges in
cybersecurity(ICICCS)2016.
12. Mircea Murar, Stelian Brad, "Monitoring and controlling of
smartequipment using Android compatible devices towards IoT
applicationsand services in manufacturing industry", Automation
Quality andTesting Robotics 2014 IEEE International Conference,[ pp.
1-5].
13. E.A.Elkamchouchi,H.,“Design and prototype implementation of
smsbased home automation system,”[pp.162–167],november2012.

AUTHORS PROFILE

Fig5: Gas leakage detection Dr. G Manmadha Rao completed Ph.D in RADAR,
Author-1 M.E in Electronic Instrumentation and B.E. degree in
VI. CONCLUSION Photo Electronics and Communication Engineering from
College of Engineering; Andhra University in 2014,2003
In previous research we have seen all the above three parts and 1998 respectively. He is in teaching profession for
of our project individually, this leads to the increase in cost more than 18 years. Presently he is working as Professor in
the Department of Electronics and Communication Engineering, Anil
and complexity. In this project we tried to integrate the above
Neerukonda Institute of Technology and Sciences, Visakhapatnam,
three parts so that the user can feel easy and comfortable while Andhrapradesh, India. He has published 37 research papers in various
using them. We connected all the relays and sensors to the national and international conferences and Journals. He also published two
gpio pins of a single raspberry pi system. Here the home books; Pulse and Digital Circuits and Pulse and Digital Circuits for JNTUK
with Pearson Education in 2010 and 2012 respectively.
appliances require a 230V power supply but the raspberry pi
gpio pins will support only for 5V, so relays are used to Ms. P Sonia studying B.Tech final year in the
Author-2 Electronics and Communication Engineering from Anil
connect the home appliances to the raspberry pi. Raspberry pi Photo Neerukonda Institute of Technology and Sciences,
can run a number of programs at a time so using that feature Visakhapatnam, Andhra Pradesh. She is selected as
we integrated different applications to that system. The System Engineer Trainee in Infosys.
advantage of our project is that users can monitor the home
Ms. M Vandana is pursuing B.Tech. fourth year in
and garden at a time. As this project is able to monitor and
Electronics and Communication Engineering from Anil
control the operations of home and garden, it can be called as Neerukonda Institute of Technology and Sciences,
complete home automation. Vishakapatnam, Andhra Pradesh.

Retrieval Number: G5645059720/2020©BEIESP Published By:


DOI: 10.35940/ijitee.G5645.059720 Blue Eyes Intelligence Engineering
Journal Website: www.ijitee.org 697 & Sciences Publication
IOT based Home Automation using Raspberry pi

Ms. ch.sirisha is pursuing B.Tech. fourth year in


Electronics and Communication Engineering from Anil
Neerukonda Institute of Technology and Sciences,
Vishakapatnam, Andhra Pradesh.

M V S Teja is pursuing B.Tech. fourth year in


Electronics and Communication Engineering from Anil
Neerukonda Institute of Technology and Sciences,
Vishakapatnam, Andhra Pradesh.

P. Durga Srinivas is pursuing B.Tech. fourth year in


Electronics and Communication Engineering from Anil
Neerukonda Institute of Technology and Sciences,
Vishakapatnam, Andhra Pradesh

Retrieval Number: G5645059720/2020©BEIESP Published By:


DOI: 10.35940/ijitee.G5645.059720 Blue Eyes Intelligence Engineering
Journal Website: www.ijitee.org 698 & Sciences Publication

You might also like