Professional Documents
Culture Documents
Design of Controlling Home Appliance Remotely Using Raspberry Pi
Design of Controlling Home Appliance Remotely Using Raspberry Pi
Design of Controlling Home Appliance Remotely Using Raspberry Pi
Abstract— Controlling home appliances by controlling temperature and other security zones. A power switch
electrical or electronic appliances remotely, things can be done will allow remote monitoring and automating the lights
automatically in the desired environment. Very first few of the house. Automating D.C motor would help in
implementations of Automation included simple security accessing appliances working on D.C motor, through
systems like alarms, but today automation can be applied in mobile device and will reduce the human load of
every system of gadgets. Using Home automation can make
operating them manually. These peripherals will be
you do some very important things very easily and with higher
controllability. Other than combining sensors and code to
controlled via a web-based interface served on the
make things work automatically, Home automation can also be Raspberry Pi and accessible from inside or outside the
applied as an implementation of remote computing by giving home. We have developed a prototype system which can
remote access of the system to the user so that the user can have application exclusive implementations in the field.
monitor and control the system according to the need. In this
project we have automated a 220v supply which can have the This paper comprises of two sub-parts. The front end
load of a bulb or any electrical device, we have used a involves designing a web page to communicate with
temperature sensor to monitor the room temperature and the remote Raspberry Pi over the Internet. The back end
temperature can be seen on the web interface on any mobile involves building a Pi based circuit to emulate devices
device and we have also automated a small 5v D.C supply used at residential locations for the purpose of home
which can be used to attach a motor or can have various automation such as temperate sensors, motors,
applications like controlling the latch of a door or it can be occupancy (proximity) sensors, lighting control etc. [1-
made to work sporadically by integrating it with sensors and 3].Things are getting simpler and easier with the
readings. In this papera web interface has been developed
technological growth and expansion. Automation can be
using raspberry pi as a web server for operating the home
electronic/electrical appliances through any Wi-Fi capable described as deployment of either or both control
mobile device. systems and information technology to reduce or
facilitate the human efforts in the production of goods
and services inside any system. In the industrialization
Keywords-Raspberry pi, home Automation, electric/electronic domain, automation is a furtherance of mechanization or
appliances, GPIO, web server, temperature sensor a step further. Mechanization provides humans with
machinery or mechanical infrastructure to assist or
I. INTRODUCTION facilitate them with the muscular requirements of any
work environment, technology took a step ahead to
Design of Controlling Home Appliances Remotely create this concept called “automation” which is
using Raspberry pi and security is an increasingly concerned to reduce the sensory and mental efforts of
available and attractive option to homeowners. humans as well. Automation have a continuously
However, cost and ease of installation and use are still increasing and very important role in the industrial and
barriers to widespread adoption. The goal of this paper economic world as well as in the daily experience. Home
is to design a cheap, open source, and easy to use automation system for old or disabled people will offer
system. raised quality of life forthem. [4]
Based around the cheap but powerful Linux based Inside any general Home automation system, The Home
Raspberry Pi mini-computer, this project will implement appliances are controlled by any handheld device or any
several common home security peripherals. A computer system in the local or wide network. The devices
temperature sensor will be available to monitor
842
B. WEB PAGE AND SERVER name suggests, many sensors are incredibly sensitive pieces
To control the home appliances remotely by web page, we of electronic equipment and produce only small electric
currents. But often we need them to drive bigger pieces of
have used HTML and PHP. Html is a markup code for display
appliance that use bigger currents. Relays bridge the gap,
on a World Wide Web browser page.
making it possible for small currents to activatelarger ones.
Figure 4 shown as complete Description of Html page there That means relays can work either as switches (turning
are different part in this such as head, title and body and things on and off) or as amplifiers (converting small currents
enclosed by the html tag. into larger ones)
843
Third file “temp.php” file is used to read the temperature using
“DS18B20” temperature sensor connected with the raspberry
pi. This file automatically sends request to server every time
the webpage loads. The function “fopen () “is used to open the
file “w1_slave” to read the sensor configuration which is
stored in directory “/sys/bus/w1/devices/”. The “thermometer
Reading” variable reads the value returned by sensor and used
to convert the value into degree Celsius or Fahrenheit and the
value is displayed on the webpage to the end users.
Last file is the “mobile.php” file works as the main user
interface file which is scripted in html and connected with
bootstrap and css files for designing. In this two form tags are
used for the “setupgpio.php” and “changegpio.php”. The
“changegpio.php” works on the POST method and sends the
values of form when a user triggers submit button.
844
V.CONCLUSION
REFERENCES
845