Anda di halaman 1dari 6

IDL - International Digital Library Of

Technology & Research


Volume 1, Issue 5, May 2017 Available at: www.dbpublications.org

International e-Journal For Technology And Research-2017

Internet of Things based Home automation


using Raspberry Pi
Author:Ramesh G1 ,Dr Venkatratnam P2
ramraj.rathod@gmail.com ,venkataratnam66@gmail.com
VTU Extension centre, UTL Technologies Ltd.

Abstract: Automation or automatic control Keywords: Home automation, Internet of


means the use of various control systems for things, Raspberry Pi, Sensors
operating equipment. Home automation is
exciting field when it is blow up with new
technologies like Internet of Things(IoT). It 1. INTRODUCTION
is automation of the home, housework or
household activity. Proposed implementation The Internet of Things (IoT) can be described
of home automation include centralized as connecting everyday objects like smart-
control of lighting, heating, ventilation and it phones, InternetTVs, sensors and actuators to
is fully control by using any smart phone the Internet where the devices are
through the particular android application. intelligently linked together enabling new
The main advantage of this is small device forms of communication between things and
can be part of internet so it is easy to people, and between things themselves.
communicate, manage and control without Building IoT has advanced significantly in
human interferences. Also it provides high the last couple of years since it has added a
degree of security, safety, comfort and new dimension to the world of information
energy saving. With the arrival of Raspberry and communication technologies. The
Pi which is small, inexpensive, portable Internet has come a long way over the last 30
credit-size single board computer with years. Old-fashioned IPv4 is giving way to
support for a large number of peripherals and IPv6 so that every device on the Internet can
network communication like Ethernet port, have its own IP address. Machine-to-machine
USB port, HDMI port, SD card slot. (M2M) communication is on the rise,
Raspberry pi set of technologies now exist enabling devices to exchange and act upon
that combine the power of PC, information without a person ever being
communication and multimedia technologies involved. The scope and scale of the Internet
of web and portability of mobile device. have changed as well: industry leaders
predict that the number of connected devices
will surpass 15 billion nodes by 2015 and

IDL - International Digital Library 1|P a g e Copyright@IDL-2017


IDL - International Digital Library Of
Technology & Research
Volume 1, Issue 5, May 2017 Available at: www.dbpublications.org

International e-Journal For Technology And Research-2017


reach over 50 billion by 2020. The challenge supports 1080p30, 720p60 and 640x480p60/90
for the embedded industry is to unlock the video.
value of this growing interconnected web of The camera is supported in the latest version of
devices, often referred to as the Internet of Raspbian, Raspberry Pi's preferred operating
Things (IoT), describing it as the ultimate system.
tool in our future surveillance. This network
has the power to reshape our cities. review 3. PIR SENSOR
board consisting of individuals who are
The unit output is high whenever
prominently representing many reputed
Universities, Colleges, and Corporate World humans motion is detected. PIR stands for
Passive Infrared. In simple terms, it is a
2. OBJECTIVES
motion detector. This sensors measure
Guide to getting up and running with the
infrared .radiation emanating from objects in
Raspberry Pi Camera The Raspberry Pi
Camera Module is a custom designed add-on the field of view. It only has one output pin
for Raspberry Pi. It attaches to Raspberry Pi by and another two pins is connected to 5V and
way of one of the two small sockets on the
GND separately. Apparent motion is detected
board upper surface. This interface uses the
dedicated CSI interface, which was designed when an infrared emitting source with one
especially for interfacing to cameras. The CSI temperature, such as human body, passes in
bus is capable of extremely high data rates, and
front of source with another temperature, such
it exclusively carries pixel data. The board
itself is tiny, at around 25mm x 20mm x 9mm. It as wall. The unit output is high whenever
also weighs just over 3g, making it perfect for there is motion detected. If the motion is
mobile or other applications where size and continuous, the output remains high. After
weight are important. It connects to Raspberry
Pi by way of a short ribbon cable. The camera is motion stops, the output remains high for a
connected to the BCM2835 processor on the Pi few seconds (depend on the variable resistor
via the CSI bus, a higher bandwidth link which adjusted). It will remain high for longer if H
carries pixel data from the camera back to the
from the jumper is selected. For this project,
processor. This bus travels along the ribbon
cable that attaches the camera board to the Pi. the resistant of variable resistor is adjusted to
The sensor itself has a native resolution of 5 as low as possible so that the output of the
megapixel, and has a fixed focus lens onboard.
sensor would not remain high for long time
In terms of still images, the camera is capable of
2592 x 1944 pixel static images, and also after motion stops.

IDL - International Digital Library 2|P a g e Copyright@IDL-2017


IDL - International Digital Library Of
Technology & Research
Volume 1, Issue 5, May 2017 Available at: www.dbpublications.org

International e-Journal For Technology And Research-2017


but merely passively accepts incoming
infrared radiation.

4. RASPBERRY PI:

1 Vcc

2 Output

3 GND

A Passive Infrared sensor (PIR The Raspberry Pi is a powerful platform in


sensor) is an electronic device that measures one small package. So, where do you start?
In this class, we will begin with the basics
infrared (IR) light radiating from objects in
such as how to connect accessories to the
its field of view. PIR sensors are often used RPi and how to navigate the RPis software.
in the construction of PIR-based motion And its set up.
detectors. Apparent motion is detected when Connect Wireless Keyboard and Mouse
an infrared source with one temperature,
such as a human, passes in front of an
infrared source with another temperature,
such as a wall. All objects emit what is
known as black body radiation. It is usually
infrared radiation that is invisible to the
human eye but can be detected by electronic
devices designed for such a purpose. The
term passive in this instance means that the
PIR device does not emit an infrared beam

IDL - International Digital Library 3|P a g e Copyright@IDL-2017


IDL - International Digital Library Of
Technology & Research
Volume 1, Issue 5, May 2017 Available at: www.dbpublications.org

International e-Journal For Technology And Research-2017


powered Single Board Computer running at
900MHz

1GB RAM so you can now run bigger and more


powerful applications

Identical board layout and footprint as the Model


B+, so all cases and 3rd party add-on boards
designed for the Model B+ will be fully
compatible.

5. Technical Specifications: Fully HAT compatible

Broadcom BCM2837 Arm7 Quad 40pin extended GPIO to enhance your


Core Processor powered Single Board real world projects. GPIO is 100%
Computer running at 900MHz compatible with the Model B+ and A+
boards. First 26 pins are identical to the
1GB RAM Model A and Model B boards to provide
full backward compatibility across all
40pin extended GPIO
boards.
4 x USB 2 ports
Connect a Raspberry Pi camera and
4 pole Stereo output and Composite video port touch screen display (each sold
separately)
Full size HDMI
Stream and watch Hi-definition video output
CSI camera port for connecting the Raspberry Pi at 1080P
camera
Micro SD slot for storing information
DSI display port for connecting the and loading your operating systems.
Raspberry Pi touch screen display
Advanced power management:
Micro SD port for loading your operating system
and storing data You can now provide up to 1.2 AMP
to the USB port enabling you to
Micro USB power source connect more power hungry USB
6. Raspberry Pi 2 Model B Features: devices directly to the Raspberry PI.
(This feature requires a 2Amp micro
Broadcom BCM2837Arm7 Quad Core Processor USB Power Supply)

IDL - International Digital Library 4|P a g e Copyright@IDL-2017


IDL - International Digital Library Of
Technology & Research
Volume 1, Issue 5, May 2017 Available at: www.dbpublications.org

International e-Journal For Technology And Research-2017


10/100 Ethernet Port to quickly connect applications, a more advanced user interface
the Raspberry Pi to the Internet was created.

Combined 4-pole jack for connecting CONCLUSION


your stereo audio out and composite
The devices produced enable the user to
video out
control the appliances using pre-existing
devices such as their Smartphone or home
computer. The interfaces are intuitive and
easy to use and provide the user with a more
accessible interface then those found in the
home. The devices are also very easy to
integrate into existing applications and
require only a small amount of expertise to
install. Our research shows the many types of
Connect Pi Camera applications for implementing home
automation and the applications are not
To start using the camera module it needs to limited to those discussed in this paper. The
be connected to the CSI port. To do this, lift technology used could be implemented in a
the top piece of the camera port and insert the wide variety of applications that require the
FFC (Flexible Flat ribbon Cable) with the use of sensors and appliances. This project
metal contacts facing towards the HDMI port. successfully designed a system that
communicates with a mobile device such as a
7. IMPLIMENTATION
Smartphone or laptop via Raspberry Pi to
INTERFACE Once the template was control a door sensors and a light switches
produced, it was time integrate all the and a camera to stream live video, but has
development work to make a complete many possible applications that could benefit
interface. The python code manages the list from this work.
of controls that are to be displayed to the
REFERENCES
user. The software package provides various
views to control different aspects of the [1] Raspberry Pi Home automation system
controls, such as how they are managed and with Arduino by Andrew K Dennis
how they appear on specific client software.
The Servlet application runs on OpenShift [2] Magazine for Raspberry Pi users The
PAAS wherein the Raspberry Pi MagPi
microprocessor and the users are clients to it.
Since OpenShift can provide more powerful

IDL - International Digital Library 5|P a g e Copyright@IDL-2017


IDL - International Digital Library Of
Technology & Research
Volume 1, Issue 5, May 2017 Available at: www.dbpublications.org

International e-Journal For Technology And Research-2017


[3] Raspberry Pi Architecture by Jon Holton [14] Android application development
and Tim Fratangelo The Raspberry Pi references from developer.android.com
Foundation

[4] Home Automation as a service at


International Journal of Computer Networks
and Wireless Communications (IJCNWC),
June 2012

[5] Home Automation based on ARM and


ZigBEE at Undergraduate Academic
Research Journal (UARJ), 2012

[6] Bluetooth Remote Home Automation


System Using Android Application at IJES
2013

[7] Internet of Things: Ubiquitous Home


Control and Monitoring System using
Android based Smart Phone at International
Journal of Internet of Things 2013

[8] Raspberry pi forum discussions at


raspberrypi.org/forums

[9] Raspberry Pi Technical documentations


from elinux.org

[10] Raspberry Pi latest kit from


raspberrypi.org

[11] Debian linux command line from


debian.org

[12] PuTTy a free telnet/ssh client from


putty.org

[13] Python application development sources


for python.org

IDL - International Digital Library 6|P a g e Copyright@IDL-2017

Anda mungkin juga menyukai