Sie sind auf Seite 1von 5

Home Intelligent System Based on Embedded

Internet
C.L.Vasu
T.Kirupavathy
Asst. Professor,
M.E. (Embedded and Real Time Systems)
Dept Of EEE Dept Of EEE,
P.S.G. College of Technology PSG College of Technology,
Coimbatore Coimbatore
kirupa_t@yahoo.co.in clv@eee.psgtech.edu

Abstract— Aim of home automation is to control home monitor and control his/her home gate, oven, refrigerator and
devices from a central control point. In this paper, we present the water the garden without any human intervention.
design and implementation of a low cost but yet flexible and
secure internet based home automation system. The system is This paper introduces a solution for embedded system, access
designed to be low cost and flexible with the increasing variety of internet, through which we can remote access, monitor and
devices to be controlled. The design is based on a stand alone maintain conveniently. The solution is based on web
embedded system board integrated into a PC-based server at technology. ARM cortex (LM3S6965) receives the monitored
home. The home appliances are connected to the input/output information from sensor module and processes based on the
ports of the embedded system board and their status are passed collected information. Web server maintains the information
to the server through Ethernet interface. The home appliances about the home environment. The designed system will be
can be monitored and controlled locally via the embedded system
board, or remotely through a web browser from anywhere in the
open to expansion and will enable control of different types of
world provided that an Internet access is available. The system is devices. The system is designed to be low cost however at the
scalable and allows multi-vendor appliances to be added with no same time more flexible alternative with respect to similar
major changes to its core. Password protection is used to block systems.
unauthorized users from accessing the appliances at home. If the
Internet connection is down or the server is not up, the II LITERATURE REVIEW
embedded system board still can control and operate the Designing a home automation system for monitoring and
appliances locally. ARM cortex family of processor (LM3S6965) Controlling various devices in remote locations can be done
is used in this proposed system.
through a variety of communication options such as wireless
Index Terms – Home Automation, Embedded System, LM3S6965,
internet, server.
LAN technologies, dial-up modems, private radio networks,
satellite communication, Internet, cellular network and so on.
I INTRODUCTION Several studies on home automation have been done using
different types of control methods.
Due to the rapid development in computer and network
technology, the use of Internet has been expanding The work in [1] showed how home appliances could be
exponentially. It is now extensively used as a reference tool for controlled by an integrated system. However, the proposed
personal, educational, commercial, and industrial use. For system is based on a dedicated network and has never been
many years the Internet has been used extensively in browsing tested on the Internet. Moreover, the system only shows how
homepages, searching for information, chatting, downloading to solve home automation problems at the software level;
and uploading information. Due to the rapid development of hardware aspects were not considered. Nunes and Delgado [2]
new technologies such as JAVA, the Internet has also started to proposed an Internet application that allows local and remote
serve as a medium that allows monitoring, control, and monitoring and control of a home. The application adopted an
interaction with machine and devices. The Internet can be used object oriented approach to represent each home component
in home automation which provides many features ranging as an object that is connected to a server at home. The
from efficient use of energy to increased comfort, greater research was carried out using a model for the application but
safety and security. Even over large distances the user can no real experiments were done. The paper does not discuss the

1
hardware implementation and assumes that home sends all its status information to the server. Hence a remote
appliances have built-in controllers and are ready for Internet client can access the information about the home environment.
access. The power and usefulness of Java in Internet
applications have been under thorough testing by several IV SYSTEM STRUCTURE
researchers. The design and implantation of a portable, light- The system has a controller to process and control information.
weight user interface for a home automation system is The proposed system includes the following modules. Sensor
proposed in [3-4]. The emphasis was on the use of Java in module, processor module, Ethernet interface module, web
developing software user interfaces to provide remote access server module. The below Fig.4 shows the outline structure of
to the home control system. Sriskanthan proposed an the proposed system.
automation system that can control home appliances from a
PC using Bluetooth [5]. However, the system cannot be
controlled remotely through the Internet. Wong introduced a Sensor ARM Ethernet Embedded
Module Microcontroll Controlle
phone-based system for home and office automation using a er
Web Server
hardware-based remote controller for home appliances [6]. LM3S6965 r
Communication takes place via a dedicated telephone line not
via the Internet. A similar system has been designed for
remote home automation using the telephone by Coskun and Fig. 4 Block diagram of the proposed system
Ardam [7]. A. Sensor Module
The real time monitoring has been an important feature that
Sensors are used to sense the external environment. In this
can be used in the home automation systems. As a change in
proposed system, the sensors are used to sense the home
the status of the devices occurs, the user can be informed in
environment. Fire detection sensor senses and sends
real time. In this paper, we present an attractive low-cost
information to the controller if it detects fire in home. Gas
solution for home automation via the Internet. Using Internet
leakage sensor gives information to the controller if it detects
access, home Owners can remotely monitor and control
any gas leakage. Temperature sensor is connected to water
almost any appliance at home. Local control is also offered in
heater and it sends the information to the controller about the
our design. Appliances at home are connected to an embedded
present temperature of the heater. Threshold value is set and if
system board (LM3S6965). The control code on the board
the sensed temperature value exceeds the threshold, then the
operates the appliances and communicates with the server.
controller switches off the water heater by itself.
The user can interact with the home automation system from
anywhere at any time. Furthermore, the system is flexible and B. LM3S6965
scalable. Additional home appliances can be integrated into
LM3S6965 belongs to ARM cortex family of processors.
the system with little modification.
Cortex M3 processors are low power processors that features
III HARDWARE LAYOUT DESIGN low gate count, low interrupt latency and low cost debug that
are intended for deeply embedded applications that require
fast interrupt response features. The processor implements the
ARM architecture v7-M. The architecture is optimized for
small footprint embedded applications. To reduce gate count
and enhance system flexibility, the cortex M3 has migrated
from the banked shadow register exception model of the ARM
7 to a stack based exception model.
This paper uses this LM3S6965 microcontroller for
monitoring and control of the home environment. Input is
given from the sensor module and based on the sensed
information, processing is carried on. Input is given to any of
the 4 ADC channels available in the LM3S6965 board.
C. ETHERNET CONTROLLER
An Ethernet controller is a small chip that handles all the data
that are exchanged between two computers via the Internet, a
LAN or WAN. They come in a variety of different pin
Fig. 3 Hardware System Layout configurations including 48,100, 256, 276 and 883.
LM3S6965 has integrated Ethernet controller. In this proposed
As the above Fig.3 shows, the home appliances are system, LM3S6965 supports Ethernet interface and network
connected to the board (LM3S6965). The status of the transformer HR961160C which is connected between
appliances will be monitored by the controller. The controller Microcontroller LM3S6965 and connector RJ45.HR961160C

2
is a 1:1 transformer with a smaller package and it supports create interactive forms. It provides a means to
10M/100M Ethernet. create structured documents by denoting
structural semantics for text such as headings, paragraphs, lists,
D. EMBEDDED WEBSERVER links, quotes and other items. It can embed scripts in
Embedded web server refers to import Web Server at the languages such as JavaScript which affect the behavior of
scene to monitor and control equipment, in the support of HTML WebPages.
appropriate hardware platforms and software systems, transfer
traditional monitor and control equipment into an internet E. DYNAMIC WEB PAGE
based, possessed with TCP/IP protocol as the underlying An IP address must be assigned for each and every devices
communication protocol and Web server technology as its connected to a network. This is done through DHCP server or
core. The resources of embedded devices is limited, and do by means of manual configuration. If the web server has the
not able to handle multiple user requests, so the specifically setup of DHCP then ip address is assigned automatically else
designed embedded Web server are needed instead of Apache manual configuration of IP address is done.
used in Linux.
VI IMPLEMENTATION OF WEB TECHNOLOGY
V IMPLEMENTATION OF DYNAMIC WEB PAGE Web technologies acts as the interface between web servers
Webpage can be created using HTML. In order to implement and their clients. This information includes markup languages,
the web page, the terms used are as follows. programming interfaces and languages, and standards for
document identification and display. Initially web pages
A. DHCP SERVER should be created by writing commands in html. Webpage can
Dynamic Host Configuration protocol (DHCP) is an auto be created as per the requirement. The system is developed in
configuration protocol used on IP networks. Computers that such a way that the web page gets the update from the sensor
are connected to IP networks must be configured before they module once after 2 seconds. The following are the steps
can communicate with other computers on the network. involved in the implementation of web technology.
DHCP allows a computer to be configured automatically,
eliminating the need for intervention by a network a) Users in the client browser make a request to the Web
administrator. It also provides a central database for keeping server. The below Fig.6 shows the screenshot of the web
track of computers that have been connected to the network. browser requesting for the web page that has the information
This prevents two computers from accidentally being about the home environment.
configured with the same IP address. In the absence of DHCP,
hosts may be manually configured with an IP address. In
addition to IP addresses, DHCP also provides other
configuration information, particularly the IP addresses of
local caching DNS resolvers. Hosts that do not use DHCP for
address configuration may still use it to obtain other
configuration information.

B. CGI
The Common Gateway Interface (CGI) is a standard that
defines how web server software can delegate the generation
of web pages to a stand-alone application, an executable file.
Such applications are known as CGI scripts; they can be
written in any programming language, although scripting Fig.6 Browser requesting for a webpage
languages are often used.
b) Web server will make a judgement on the request. Web
C. HTML server will transfer file directly to the client browser if the
HTML, which stands for Hyper Text Mark-up Language, is request is a static file, else Web server will activate the CGI
the predominant markup language for web pages. HTML is program.
the basic building-blocks of WebPages. HTML is written in c) Daemon of Web server create a sub process which sets
the form of HTML elements consisting of tags, enclosed environment variables that establishes two standard I/O data
in angle brackets (like <html>), within the web page channels between the server and the external CGI process
content. The purpose of a web browser is to read HTML d) Web server startup the CGI program that URL specified.
documents and compose them into visual or audible web CGI program read and process client's input data through
pages. The browser does not display the HTML tags, but uses environment variables and standard input Stdin and calling the
the tags to interpret the content of the page. HTML elements appropriate external program in accordance with the request.
form the building blocks of all websites. HTML
allows images and objects to be embedded and can be used to

3
seconds. Web pages in the server can be accessed only if the
IP address of the server is known. Browser requests the web
page through the http address.
The below Fig.7.2, shows the web page requested by the
browser. The web page in the Fig shows the current status of
the home environment. It shows the current date, time,
temperature in the home environment, any detection of fire at
home, any gas detection and the current status of the door i.e.,
it shows whether the door is closed or opened.

Fig.6.1 Webpage requested by the browser

e) CGI will pass the result through the standard output Stdout
to the server daemon after processing, and then daemon
transfer results back to the client browser in HTML format.
The above Fig.6.1 shows the web page that got displayed as a
result of the request given by the web browser through the http
address.
VII SYSTEM TESTING

The system is tested by enabling the connection between Fig.7.2 Real Time Status of the home environment
various modules as said in the previous discussion. The below
Home Environment icon in Fig.6.1, has a link that displays the
Fig7.1 shows the real set up of the system. Ethernet controller
screen (Fig.7.2) that has the output of various sensors. Thus
is inbuilt in LM3S6965.This controller has Ethernet
from this screen, the user can monitor the home environment.
transformer HR961160C that can be connected to RJ45 port of
Home control icon has a link that displays the page to control
a computer. Ethernet transformer minimises the loss of data
various home appliances. This control application is showed
transferred by the ethernet controller. Various sensors are
in the below Fig.7.3. The home appliance can be controlled
connected to the controller in order to monitor the home
through the web page.
environment. The setup as shown in the below Fig.7.1, will be
placed at home. LM3S6965 will maintain a web server.

Fig.7.3 Real Time Control Of the home appliance

Home details icon in the Fig.6.1, has a link to display the


home details which include various appointments, medical
records and various information about the family members.
Any additional information required, can be added to this web
Fig.7.1 Physical connection of the system page.These details should be updated by the member of the
house manually. The below Fig.7.4 shows the home details
The monitored information is sent to the webpage
maintained in the server.
dynamically. The data in the server gets updated every 2

4
[6] Wong, E.M.C, “Phone-based remote controller for home and office
automation”, IEEE Transactions on Consumer Electronics, Vol. 40 No.1, pp.
28 –34, February 1994.

[7] Ismail Coskun and H. Ardam, “A Remote Controller for Home and
Office Appliances by Telephone,” IEEE Transactions on Consumer, Vol. 44,
No. 4, pp. 1291-1297. November 1998.

[8] Chengyi Cui,Xiangjun Jiang,”Study and Design of Embedded Web Server


based on ARM9”

[9] www.Texas Instruments.com.

[10] www.keil.com.

Fig.7.4 Screen shot of the web page showing home details

From anywhere in this world, the user can view any


information related to the home. In order to avoid unwanted
people to view the details, password can be set.

CONCLUSION
A web-based home automation system was designed,
implemented and tested. The system uses an off-the-self
Stand-alone embedded system board that can monitor and
control home appliances locally without the need for internet
conductivity. Once the user decides to use the remote
monitoring and control activities via the World Wide Web,
he/she can enable the remote access software engine to allow
remote access via the server’s parallel port to monitor and
control the appliances from any web bower. A software
algorithm was developed using high-level languages to
monitor and control the appliances locally or remotely. The
system is scalable and new devices can be added with no
changes to the core. The client interface is a simple home page
with friendly Graphical User Interface (GUI). The system
allows multi-vendor appliances to be added with no major
changes.
REFERENCES

[1] Neng-Shiang Liang; Li-Chen Fu; Chao-Lin Wu; “An integrated, flexible,
and Internet-based control architecture for home automation system in the
Internet era,” Proceedings ICRA '02. IEEE International Conference on
Robotics and Automation, Vol. 2, pp. 1101 –1106, 2002.

[2] J. C. Nunes and J. C. M. Delgado, “An Internet application for home


automation,” Electro technical Conference, 2000. MELECON 10th
Mediterranean, Vol: 1, pp. 298 -301, 2000.

[3] P. M. Corcoran, F. Papai and A. Zoldi, “User Interface Technologies


for Home Appliances and Networks,” IEEE Transactions on Consumer
Electronics, Vol. 44, No. 3, pp. 679-685, August 1998.

[4] P. M. Corcoran and J. Desbonnet, “Browser Style Interfaces to Home


Automation Network,” IEEE Transactions on Consumer Electronics, pp.
1063-1069, November 1997.

[5] N. Sriskanthan and Tan Karande, “Bluetooth Based Home Automation


Systems,” Journal of Microprocessors and Microsystems, Vol. 26, pp. 281-
289, 2002.

Das könnte Ihnen auch gefallen