0% found this document useful (0 votes)
23 views5 pages

Smart Home Automation with Raspberry Pi

The document presents a smart home automation system utilizing Raspberry Pi and IoT technology to monitor and control home appliances remotely. It discusses the technical and hardware specifications, including the use of sensors for temperature, humidity, and gas detection, as well as the Blynk mobile application for user interface. The proposed system aims to enhance energy efficiency and safety in home environments by automating appliance management and providing alerts for potential hazards.
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)
23 views5 pages

Smart Home Automation with Raspberry Pi

The document presents a smart home automation system utilizing Raspberry Pi and IoT technology to monitor and control home appliances remotely. It discusses the technical and hardware specifications, including the use of sensors for temperature, humidity, and gas detection, as well as the Blynk mobile application for user interface. The proposed system aims to enhance energy efficiency and safety in home environments by automating appliance management and providing alerts for potential hazards.
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

© 2021 JETIR August 2021, Volume 8, Issue 8 [Link].

org (ISSN-2349-5162)

SMART HOME SYSTEM USING


RASPBERRY PI
Guided by T B DAYANANDA[1].
MANJUNATH N[2], THARUN M T[3], VEERABHADRASWAMY R[4], YASHWANTH KUMAR
V M[5].
1 Associate professor Department of Electrical and Electronics Engineering, Dr. AIT, Bengaluru
Karnataka.
2-5 B.E Department of Electrical and Electronics Engineering, Dr. AIT, Bengaluru Karnataka-560056.

Abstract: In order to help maintain comfortable living conditions within a home, home monitoring and
automation are utilized. The standards of human's comfort in homes can be categorized into several types. Among
these categories, the most significant ones are the thermal comfort, which is related to temperature and humidity.
Additionally, making the house smart is to allow for intelligent automatic executing of several commands after
analyzing the collected data. Automation can be accomplished by using the Internet of Things (IoT). This gives
the inhabitant accesses to certain data in the house and the ability to control some parameters remotely. This paper
presents the complete design of an IoT based sensing and monitoring system for smart home automation. The
proposed system uses raspberry pi and blynk mobile application to control and monitor home appliances and
home environment.

1. Introduction
Many people are always on the move from place to place due to business demands. Some people can spend a
couple of days away from their home leaving all their household appliances without any kind of monitoring and
control. Some devices are left plugged into power sockets whereas others are supposed to be plugged into and out
of power sockets at different intervals depending on the time of the day. All this requires an individual to
manually attend to each of the devices independently from time to time. All such monitoring and control can be
done without necessarily being around or inside the home some devices if not controlled properly consume a lot
of energy which leads to extra expenditure on electricity. Therefore an internet based home automation system is
proposed which will enable one to remotely manage appliances from anywhere anytime.
And monitor the house environment and design an alerting system if any hazard due to LPG leakage and any
potential fire causing accidents.

2. Technical specifications
The main component of the system will be the Raspberry Pi board i.e. the Brain of the system. The Pi board
consists of a processor and hosts a Linux Operating System named Raspbian Jessie made to suit the needs of IoT.
Raspbian Jessie is a highly stable Operating System with inbuilt support for Python and other programming
languages like Java, C, and C++. In our research, we mainly use Python for the automation system along with
other suitable development tools. The development tools used to create the web interface so that the system can
be made accessible from anywhere in the Globe.

3. Hardware specifications
The next step was the integration of the electronic components into our Raspberry Pi and set it up for remote
access. The components required for this project are listed below:
● Raspberry Pi Board
● Temperature and Humidity Sensor(DHT11)
● MQ5 gas sensor
● Relay module

JETIR2108152 Journal of Emerging Technologies and Innovative Research (JETIR) [Link] b180
© 2021 JETIR August 2021, Volume 8, Issue 8 [Link] (ISSN-2349-5162)

● Node MCU
Apart from this, some other components were used like Ethernet cable to connect the Raspberry Pi with the
laptop, One Memory card 8 or 16GB with running Raspbian (OS) , One power supply 5V, LEDs, some jumper
wires to establish the desired circuit and most important a breadboard for making the connections with the Pi.

4. Raspberry pi enabled smart home system


The Raspberry Pi is a credit card-sized computer. The Raspberry Pi 3 Model B+ is an improved version of
the Raspberry Pi 3 Model B. It is based on the BCM2837B0 system-on-chip (SoC), which includes a 1.4 GHz
quad-core ARMv8 64bit processor and a powerful VideoCore IV GPU. The Raspberry Pi can run a full range of
ARM GNU/Linux distributions, including Snappy Ubuntu Core, Raspbian, Fedora, and Arch Linux, as well as
Microsoft Windows [Link] are available for Python as the main programming language.
4.3 Setting up BLYNK application
Following are the steps for setting up the BLYNK application:

● First install the blynk mobile application from play store.


● Create a new project and obtain auth key.
● Link this auth key with Raspberry pi.
● Create digital switch to control appliances.
● Add graph to monitor the MQ5 sensor reading.

4.1 Preparing raspberry pi


Following are the steps for setting up the Raspberry Pi:
● Download the OS into the SD card i.e Raspbian and unzip the file.
● Put the microSD card in the Raspberry Pi and Boot Up.
● Raspbian will then run through its installation process. After this, the Pi will be ready to use.

4.2 Preparing Node MCU


Following are the steps for setting up the Node MCU:
● First install the Arduino IDE.
● Then use Arduino IDE to program ESP8266 for interfacing with MQ5 sensor.
● Both Raspberry Pi and ESP8266 are connected to a wi-fi network.

4.3 Implementation of the project


The working of the whole project is in three different phases, which are connected. The functionality of the
system is established in a flow. The sensor part will be considered as the initial function followed by the
appliance's control with the blynk application. The procedure is depicted in this block diagram (fig. 1).

Fig.1: Block Diagram

JETIR2108152 Journal of Emerging Technologies and Innovative Research (JETIR) [Link] b181
© 2021 JETIR August 2021, Volume 8, Issue 8 [Link] (ISSN-2349-5162)

Fig.2: CIRCUIT CONNECTIONS FOR RASPBERRY PI AND NODE MCU

Phase 1: Sensors used:


1. DHT 11
2. MQ5 gas sensor

DHT 11 sensor is connected with the GPIO pin of the raspberry pi and the MQ5 sensor is connected with the
Node MCU. Here node mcu is used as analog to digital converter. The output of both sensors are obtained in
blynk application. DHT 11 sensor provides data about the temperature and humidity of the home environment.
MQ5 sensor senses H2, CO, CO2, CH4, LPG etc., the analog data of the MQ5 gas sensor is converted into the
digital data using node mcu and it is linked with the raspberry pi and the output is obtained in the blynk
application.

Fig.3:MQ5 sensor reading in BLYNK

JETIR2108152 Journal of Emerging Technologies and Innovative Research (JETIR) [Link] b182
© 2021 JETIR August 2021, Volume 8, Issue 8 [Link] (ISSN-2349-5162)

Phase 2: Appliance control:


1. ON/OFF Light 1
2. ON/OFF Light 2
3. ON/OFF Motor(Fan)

In BLYNK application first create a project under the desired name and obtain the auth key provided then link
this auth key to the raspberry pi using the desired programming using python. Using this we can successfully
control the lights and fan. Apart from these any appliances can be linked with the raspberry pi and can be
controlled using blynk application

Fig.4: Digital Switches in BLYNK

5. Outcomes

Fig.5: Two led strips and motor (fan) is on. Fig.6: Alert through email notification

JETIR2108152 Journal of Emerging Technologies and Innovative Research (JETIR) [Link] b183
© 2021 JETIR August 2021, Volume 8, Issue 8 [Link] (ISSN-2349-5162)

6. Conclusion

In home automation means combination of all electrical devices like smart mobile phone, personal computer,
tablet and their monitoring, controlling and alerting in ways not possible before. These kinds of Home
Automation System are required because a human can make mistakes and forget to switch off the appliances
when in no use and in this case, they are useful in order to utilize the power effectively and also in a secured
manner. This system can be proved as a future of artificial intelligence and a powerful and a dependable system
through which the goal of energy saving and efficient use of the energy resources can be achieved soon.

Raspberry Pi being an intelligent platform using which multiple appliances can be connected to each other and
can be controlled from a longer range of distance because the connection which is to be used would be through
the internet. Due to which appliances, can be accessible easily. Home Automation system is a leading step
towards the increase in the technological advancement in the industry of appliances and another method by which
the human errors can be avoided and the energy consumption can be reduced.

Thus, the proposed system is better from the scalability, flexibility and security point of view.

7. References
 Madhura Gule, Komal Hle, Sayali Pathak, Nishigandha Patil, Prof. B.D. Shendkar, “LPG level monitoring,
booking ad gas leakage detector”. International journal of innovative research in computer and communication
engineering, 2018.

 G. Joga Rao, A. Vinod, N. Priyanka, Ch. Siva Hari Kumar. K, "IOT Based Web Controlled Home Automation
Using Raspberry PI", International Journal of Scientific Research in Science, Engineering and Technology
(IJSRSET), March-April 2019.

 M S R A [Link], G. Joga Rao, [Link] Vinod Kumar Sahu, [Link] Kumar , Sai Krishna, " A Novel
Approach for Home Automation ", International Journal of Scientific Research in Science, Engineering and
Technology(IJSRSET), Print ISSN : 2395-1990, Online ISSN : 2394-4099, Volume 4 Issue 4, pp.799-801,
March-April 2019.

 [Link],D.,“IOT based monitoring and control system for home automation,”pp.169– 173,April 2015.
JETIR2108152 Journal of Emerging Technologies and Innovative Research (JETIR) [Link] b184

You might also like