0% found this document useful (0 votes)
7 views24 pages

Iot Based Home Automation Using Raspberry Pi New

The document outlines a project report for an IoT-based home automation system using Raspberry Pi, developed by students at Birla Vishvakarma Mahavidyalaya. The project aims to automate home devices for improved control and efficiency, integrating various sensors and a web interface for remote access. It includes sections on the project's introduction, literature survey, hardware and software requirements, implementation, and future scope of home automation technology.

Uploaded by

patiljivika53
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)
7 views24 pages

Iot Based Home Automation Using Raspberry Pi New

The document outlines a project report for an IoT-based home automation system using Raspberry Pi, developed by students at Birla Vishvakarma Mahavidyalaya. The project aims to automate home devices for improved control and efficiency, integrating various sensors and a web interface for remote access. It includes sections on the project's introduction, literature survey, hardware and software requirements, implementation, and future scope of home automation technology.

Uploaded by

patiljivika53
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/ 24

BIRLA VISHVAKARMA MAHAVIDYALAYA

(AN AUTONOMOUS INSTITUTE)


ELECTRONICS ENGINEERING DEPARTMENT
ACADEMIC YEAR: AY 2022-23
SUBJECT: 4EL31: PROJECT-1

Institute Vision: “Produce globally employable innovative engineers with core values”
Institute Mission:
1. Re-engineering curricula to meet global employment requirements
2. Promote innovative Practices at all levels
3. Imbibe core values
4. Reform policies, systems and processes at all levels
5. Develop faculty and staff members to meet the challenges
Department: Electronics Engineering
Vision: “Produce globally employable, innovative Electronics engineers with core values”
Mission:
1. Promote Innovative Practices to strengthen teaching and learning process in electronics
engineering
2. Develop faculty and staff to meet challenges in Electronics engineering
3. Adapt Engineering curricula to meet global requirements for Electronics engineering
program me.
4. Reform policies, systems and processes at all levels
5. Imbibe core Values.
Program Educational Objectives (PEOs):
1. Study and analysis of Electronics engineering systems.
2. Adapt state-of-art developments in Electronics engineering and eco-friendly technologies.
3. Design and develop electronic hardware and software-based applications.
IOT BASED HOME AUTOMATION USING
RASPBERRY PI

A PROJECT REPORT

Submitted by

PATIL KHUSHBU (20EL309)


BHAVSAR NEEL (20EL244)

In fulfillment for the award of


the degree of

BACHELOR OF TECHNOLOGY

in
Electronics Department

Birla Vishvakarma Mahavidyalaya, Anand


BIRLA VISHVAKARMA MAHAVIDYALAYA -VVN

ELECTRONICS DEPARTMENT

2022-23
CERTIFICATE

This is to certify that the project entitled “IOT BASED HOME


AUTOMATION USING RASPBERRY PI” has been successfully carried
out by PATIL KHUSHBU (20EL309), under my guidance in fulfillment of
the degree of Bachelor of Technology in ELECTRONICS (7th Semester)
of Birla Vishvakarma Mahavidyalaya during the academic year 2022-23.

Project guide: Co Guide


Dr.Kaushika.D.Patel Prof.M.M.Kumbhalkar sir
BIRLA VISHVAKARMA MAHAVIDYALAYA -VVN

ELECTRONICS DEPARTMENT

2022-23

CERTIFICATE

This is to certify that the project entitled “IOT BASED HOME


AUTOMATION USING RASPBERRY PI” has been successfully carried
out, BHAVSAR NEEL(20EL324), under my guidance in fulfillment of the
degree of Bachelor of Technology in ELECTRONICS (7th Semester) of
Birla Vishvakarma Mahavidyalaya during the academic year 2022-23.

Project guide: Co-guide


Dr.Kaushika.D.Patel Prof.M.M.Kumbhalkar sir
TABLE OF CONTENTS

AKNOWLEDEMENT

ABSTRACT

1. CHAPTER 1: INTRODUCTION
2. CHAPTER 2: LITERATURE SURVEY
3. CHAPTER 3: THEORY
3.1 Working Principle of IoT
3.2 Proposed Block Diagram of the project
4. CHAPTER 4: HARDWARE OF THE PROJECT
4.1 Hardware requirements
4.2 Components used
5. /CHAPTER 5: SOFTWARE COMPONENTS
5.1 SOFTWARE USED
6. CHAPTER 6: FLOWCHART OF THE PROGRAM
7. CHAPTER 7 : IMPLEMENTATION OF THE PROJECT WORK
8. CHAPTER 8 : CODE FOR THE PROJECT
9. CHAPTER 9: CONCLUSION
10. CHAPTER 10: FUTURE SCOPE
11. CHAPTER 11: REFERENCE
ACKNOWLEDEMENT

It is a matter of great privilege for us to be wrapping up our final year with our project
titled MULTISCRIPT TEXT RECOGNITION AND TRANSLATION, as a part of
curriculum for award of BACHELOR’S OF TECHNOLOGY (EL) degree of Birla
Vishvakarma Mahavidyalaya, Vallabh Vidhyanagar.

We hereby present our work with great pride and pleasure. At this outset, we would like to
express our sincere gratitude to all those who helped us in the successful completion of our
venture. We would like to thank our guide, Dr. Kaushika patel and our Co-guide M.M.K
for helping us in the successful accomplishment of our study and for their timely and
valuable suggestions. Their constructive criticism has contributed immensely to the
evolution of our ideas on the subject. We also would like to thank Dr. D.N. Vala, all
faculty members and lab assistants for all the guidance and valuable inputs.
ABSTRACT
This project aims to provide better and faster switching devices over the internet. Our
project main purpose is involving users early in projects helps you understand real world
accessibility.

The home automation system can be applied to many areas including home security,
lighting control and door control to secure house. Internet of Thing is the present in our
project.to automate home and control devices using relay.in this project we use raspberry
pi and Internet of Things for automate home and automation for home, office. IOT based
home automation allowing to control devices over to internet. IoT based technology
promising to can be connecting to to devices.
1. CHAPTER 1: INTRODUCTION
IoT is the internetworking of physical devices, vehicles (also referred to as “connected devices”
and “smart devices”), buildings, and other items-embedded with electronics, software, sensors,
actuators, and network connectivity that enable these objects to collect and exchange data. In
2013 the Global Standards Initiative on Internet of Things (IoT-GSI) defined the IoT as “the
infrastructure of the information society” .. The home automation is nothing but interconnection
of physical devices embedded with sensors and software. The network connectivity is used to
collect and exchange the data. Home automation refers to the automatic and electronic control of
household features, activity and appliances. Modern system generally consist of switches and
sensors connected to a central “gateway” from which the system is controlled with a user
interface that is interacted either with a wallmounted terminal, mobile phone software, tablet
computer or web interface, often via internet . Nowadays home automation system is being
widely used to control devices around the home. A variety of home devices can be controlled with
the help of a home automation system. All kinds of home appliances like doors, lights, fan, electric
heater, surveillance systems, and consumer electronics belong to the home automation system
devices. Home automation system is adopted by using the technology available for the purpose of
controlling the devices as well as the systems used in the home automatically. This project
presents a prototype of an intelligent home automation to control the home appliances and
electrical and electronic equipment via a web interface which can be accessed by smartphones,
computers, tablets etc. having an active internet connection. It will turn ON or OFF and will
regulate automatically as well as manually the home appliances and electrical equipment by using
relay circuits with the concept of IoT. It will automatically regulate the fans according to the
weather conditions by continuously sensing and comparing the live humidity and temperature of
the house with the preset values. A software alarm will also be projected if it detects abnormally
high temperature inside the house. This project also demonstrates a very basic and intelligent
smart locking system which will lock or unlock the door upon manual authentication of the entity
entering the house whose image will be feed to the web interface. All of these are implemented
by using Raspberry Pi.
CHAPTER 2: LITERATURE SURVEY

IOT BASED HOME AUTOMATION SYSTEM USING RASPBERRY PI AND


TEMPARATURE & HUMIDITY SENSOR

Availability of high speed mobile networks like 3G, 4G and LTE coupled
with cheaper and accessible smart phones has seen a tremendous growth in
terms of providing various services and applications at the fingertips of the
citizens. This report discusses about IoT and how it can be used for realizing
smart home automation using Raspberry Pi

IoT based Smart Home Automation System using Raspberry Pi


At its very basic, home automation means automatic and electronic
control of household utilities, security devices and appliances. An
integrated approach to home automation implies the user and associated
home appliances communicate with one another seamlessly. The aim of
this research paper on Smart Home Automation is to explore the
technical challenges of setting up a cost-effective home automation
system with a web-based interface and assess its effectiveness in
operating household utilities and security devices.
IOT Based Web Controlled Home Automation Using Raspberry PI

The project is mainly concentrated on IOT based home automation using


raspberry PI wireless home automation system using IOT helps us to
control basic home appliances automatically through internet from
anywhere around the world by using computers or mobiles. Now coming
to this project the main objective is presenting a proposed system for
smart home automation technique with Raspberry Pi using IOT and it is
done by integrating cameras and motion sensors into a web application.
To design this system, we are using a Raspberry Pi module with
computer vision techniques.

HOME AUTOMATION USING RASPBERRY PI

Home automation systems or smart home technologies are systems and


devices that can control elements of home environments such as lights, fans,
water pumps, general purpose sockets, etc. Home automation focuses more on
conservation. There are many different types of different purposes like
comfort and luxury. In fact, one of the major problems of these systems is that
these are neither inter-operable nor inter-connected. House hold appliances
can be controlled from a centralised control unit in a typical home automation
system. For the most commercially available home automation systems, these
appliances usually have to be specially designed to be compatible with each
other and with each other and with the control unit.
HOME AUTOMATION PROJECT

We live in an exciting time where more and more everyday items “things” are
becoming smart! “Things” have sensors and can communicate with other
“things” and can provide control to more “things”. The Internet of Things,
IoT, is upon us in a huge way and people are rapidly inventing new gadgets
that enhance our lives. The price of microcontrollers with the ability to talk
over a network keeps dropping and developers can now think and build things
inexpensively
CHAPTER 3: THEORY

3.1 Working principle of Iot:

This project works on the concept of IoT. All devices are connected centrally to the pi.

The web interface is designed to access the dedicated IP address of the Raspberry Pi to
gain remote access over the devices directly connected to the RPi. The sensors are
calibrated with the Pi in order to obtain the real time data which is then fed to the interface
as well as used for automatic regulation of the connected devices.The web interface having
its own dedicated IP address makes it accessible from any parts of the world over the
Internet. Home automation is a network of hardware, communication, and electronic
interfaces that work to integrate everyday devices with one another via the Internet. Each
device has sensors and is connected through WiFi, so we can manage them from our
smartphone or tablet whether you’re at home, or miles away. This allows us to turn on the
lights, lock the front door, or even turn down the heat, no matter where we are. There are
three main elements of a home automation system: sensors, controllers, and actuators.
Sensors can monitor changes in Humidity, temperature, or motion detection. Home
automation systems can then adjust those settings to our preferences. Controllers refer to
the devices — personal computers, tablets or smartphones — used to send and receive
messages about the status of automated features in your home. Actuators may be light
switches, motors, or motorized valves that control the actual mechanism, or function, of a
home automation system. They are programmed to be activated by a remote command
from a controller.
3.2 Proposed Block Diagram of the project
CHAPTER 4: HARDWARE OF THE PROJECT

PROPOSED SYSTEM: In the proposed system Raspberry Pi is used and internet


connection is established for the purpose of automation using IoT by accessing the IP
address.

4.1 HARDWARE REQUIREMENTS:


A. RASPBERRI PI

Raspberry Pi is a low cost credit card size computer that plugs into a computer monitor or TV and
uses a standard keyboard and mouse. Most importantly it’s open source hardware. Computing
Programmable Language like python and scratch under Linux platform. Raspberry Pi 2 model B
has CPU 900MHZ quad-core ARM cortx-A7 processor. The Ethernet adaptor is connected to an
additional USB port. In model A and A+ the USB port is connected directly to the Silicon on Chip
(SoC).
B. RELAY

Relay circuit: Relays are switches that open and close circuits electromechanically or
electronically. Relays control one electrical circuit by opening and closing contact in another
circuit. When a relay contact is Normally Closed (NC), there is a closed contact when the relay is
not energized. It is an electromagnetic switch operated by relatively small electric current that can
turn on or off much larger electric current the heart of a relay is an electromagnet. Solid-state
relays control power circuits with no moving parts, instead using a semiconductor device to
perform switching. Relays with calibrated operating characteristics and sometimes multiple
operating coils are used to protect electrical circuits from overload or faults. Two channel relay
diagram is shown in the figure. This is a 5V, 10A 2-Channel Relay interface board. It can be
controlled various appliances, and other equipment with large current. It can be controlled
directly with 3.3V or 5V logic signals from a microcontroller (ARM, 8051, PIC).
5. SOFTWARE REQUIREMENTS:
A. Python:
Python is a widely used high-level programming language for general-purpose programming first
released in 1991. An interpreted language, Python has a design philosophy which emphasizes
code readability (notably using whitespace indentation to delimit code blocks rather than curly
braces or keywords), and a syntax which allows programmers to express concepts in fewer lines of
code than possible in languages such as C++ or Java. The language provides constructs intended to
enable writing clear programs on both a small and large scale.

B. ANDROID STUDIO

Android Studio is the official Integrated Development Environment (IDE) for


android application development. Android Studio provides more features that
enhance our productivity while building Android apps.

Android Studio was announced on 16th May 2013 at the Google I/O conference as
an official IDE for Android app development. It started its early access preview
from version 0.1 in May 2013. The first stable built version was released in
December 2014, starts from version 1.0.
6. Flow diagram of the Program
CHAPTER 7 : IMPLEMENTATION OF THE PROJECT WORK
CHAPTER 8 : CODE FOR THE PROGRAM

import RPi.GPIO

import time

class Led(object):

'' Represents a physical LED. It uses the RPi GPIO naming scheme and NOT
Broadcomm's”

'''

def __init__(self, pin_number):

'''

Set up the hardware connection

Params: pin_number of type int - Follow RPi GPIO naming scheme

'''

self.pin_number = pin_number

self.__setup_gpio__()

def __setup_gpio__(self):

RPi.GPIO.setmode(RPi.GPIO.BOARD)

RPi.GPIO.setup(self.pin_number, RPi.GPIO.OUT)

def clean_up(self):

'''

Reset the GPIO header to its initial state.

'''

RPi.GPIO.cleanup(self.pin_number)

def on_light(self):
'''

Switch on the LED

'''

RPi.GPIO.output(self.pin_number, True)

def off_light(self):

'''

Switch off the LED

'''

RPi.GPIO.output(self.pin_number, False)

def blink(self, drift_time=0.2):

self.on_light()

time.sleep(float(drift_time))

self.off_light()

time.sleep(float(drift_time))

def blinkn(self, number_times):

'''

Blink for any number of times

Param: number_times of type int

'''

for i in range(0, int(number_times)):

self.blink()

def blink_non_stop(self):

while True:

self.blink()
CHAPTER 9 : CONCLUSION

In this project temperature monitoring was implemented using raspberry pi


and esp8266 WiFi module and LM35 and other sensor can also be
implemented using same project. This makes remote access to any of the
place just like home.We can access our house remotely as an when require .

IOT based home automation set up allows us to control home appliances over
the internet. Raspberry pi enable to operate light/any other appliances using
mobile app from anywhere anytime
CHAPTER 10: FUTURE SCOPE
• Home automation is creating new automation technology for
houses that will make them smart using internet based
technology.
• They can control whole devices by sitting in one place without
moving here and there.
• A Home automation setup is kind can be established in an
economical manner rising open source software. This setup
will enhance security of homes, management of home
appliances as lighting, heating entertainment etc.
• Future developments of this system would include
incorporating a decision making ability about the status of
each device of the home especially for elderly and patient
care.
CHAPTER 11: REFERENCE
D.Norris, The Internet of Things: Do-It-Yourself at home projects
for Arduino, Raspebrry Pi and Beaglebone Black. Tab Electronics,
2015.
D. Giusto, A. Iera, G. Morabito and L.Atzori, the Internet of Things.
NewYork, NY:Springer Nw York, 2010
D. Pavithra and R. Balakrishanan, “IOT based monitoring and
control system for homke automation,” 2015 Global Conference on
Communication Technologies (GCCT) 2015, pp. 169-173,
doi:10.1109/GCCT.2015.7342646.
Divya Purohit and Moumita Ghosh, challenges and Types of home,
Automation systems international journal of coputer Science and
Mobikle Computing, Vol.6 Issue 4, April-2017,pg.369_375

You might also like