Kalyan PDF
Kalyan PDF
Kalyan PDF
Engineering
18EC2214- IOT Workshop
MINOR PROJECT
KL UNIVERSITY
Green fields, Vaddeswaram – 522 502
Guntur Dt., AP, India.
Department of Electronics and Communication
Engineering
BONAFIDE CERTIFICATE
2. Introduction 5
3. Block Diagram 7
4. Components required 10
5. Working 12
6. Code 12
7. Output 13
8. Advantages 13
9. Conclusion 13
10. References 14
ABSTRACT
It is meant to save the electric power and human energy. The home automation
system differs from other system by allowing the user to operate the system
from anywhere around the world through internet connection. In this paper we
present a Home Automation system using Intel Galileo that employs the
integration of cloud networking, wireless communication, to provide the user
with remote control of various lights, fans, and appliances within their home
and storing the data in the cloud. The system will automatically change on the
basis of sensors’ data. This system is designed to be low cost and expandable
allowing a variety of devices to be controlled.
Introduction
In the present day, security systems play an important role in the protection of
lives and investment. This is achieved by the incorporation of various
subsystems into the security system with a single control unit such as
surveillance, intruder control, access control, fire detection, etc. A smart home
is one that is equipped with lighting, heating, and electronic devices that can be
controlled remotely by Smartphone or via the internet. An internet based home
automation system focuses on controlling home electronic devices whether you
are inside or outside your home. Home automation gives an individual the
ability to remotely or automatically control things around the home.
The concept of remote management of household devices over the internet from
anywhere, any time in the world today can be a reality. Assume a system where
from the office desk, the user could view the status of the devices and decides to
take control by tuning his TV set to his favorites channel, turns on the cooling
system, say the air conditioner, and switches on or off some of the lights. This
user could walk back home and only find a very comfortable, pleasant home.
The recent developments in technology which permit the use of Bluetooth and
Wi-Fi have enabled different devices to have capabilities of connecting with
each other.
BLOCK DIAGRAM
Procedure:
Components Required:
1.Raspberry pi board
2.Jumper cables
3. PIR Sensor
4. DHT11 Sensor
5. LDR
6. DC motor
Working:
A WiFi enabled Relay coupled with Raspberry Pi enables to operate Lights/any
other appliances using mobile phone from anywhere any-time. Home
automation is the trending technology, it is the first step towards buzzing word
Iot where every device has an IP address and can be accessedremotely.
Every user who is experienced in the existing system may think of a system that
may add more flexibility and run with some common applications such as
android. The proposed system is designed in such a way to avoid the limitations
of the existing system. The proposed system supports more flexibility, comfort,
ability and security.
The proposed home automation system is working with very popular android
phones. It is having mainly three components; the android enable user device , a
Wi-Fi router having a good scalable range, and a Raspberry pi board. Here the
users have provision to control the home appliances through webpage. This will
improve the system popularity since there is no need for a wired connection,
internet etc. The instruction from the user will be transmitted through the wifi
network.
The wifi network should be having adequate strength also.we can use awifi
modem for sleeping a wifi. The serial data coming from wifi unit is connected
to Raspberry pi circuit. The core of the home automation system consists of
Raspberry pi circuit. The core of the automation system consists of Raspberry pi
board . It can be viewed as a mini computer capable of doing many functions.
The Raspberry pi board is configured for each home appliances .
So according to user intervention the matched out will make high and the
corresponding relay will switch on and device start function. The system is
scalable and allows multivendor appliances to be added with no major changes
to its core. The project mainly consists of three modules that includes User
Interface ,Wifi Router Configuration, Raspberry pi, Relay circuit and
Appliances.
Code:
import RPi.GPIO as GPIO
import Adafruit_DHT
PIR_input = 18
LED = 32
buzzer=11
GPIO.setwarnings(False)
GPIO.setmode(GPIO.BOARD)
GPIO.setup(PIR_input, GPIO.IN)
GPIO.setup(LED, GPIO.OUT)
GPIO.output(LED, GPIO.LOW)
while True:
if(GPIO.input(PIR_input)):
GPIO.output(LED, GPIO.HIGH)
print("high")
GPIO.setup(buzzer,GPIO.OUT)
sensor=Adafruit_DHT.DHT11
gpio=16
while(True):
while(1):
print('Temp={0:0.1f}*CHumidity={1:0.1f}%'.format(temperature,
humidity))
print ("Beep")
GPIO.output(buzzer,GPIO.LOW)
sleep(0.5)
else:
GPIO.output(LED, GPIO.LOW)
Advantages:
Conclusions:
In this highly developing era, where directly or indirectly, everything is
dependent on computation and information technology, Raspberry Pi proves to
be a smart, economic and efficient platform for implementing the home
automation. This paper provides a basic application of home automation using
Raspberry Pi which can be easily implemented and used efficiently. The code
provided is generic and flexible in a user friendly manner and can be extended
for any future applications like power control, surveillance, etc, easily.
Moreover, this technique is better than other home automation methods is
several ways
References