Documente Academic
Documente Profesional
Documente Cultură
1
Cibin D Loui .G#, 2Suresh .A#
#
Jeppiaar Engineering College
Chennai
1anamicamails@gmail.com
2 suresharjunan2@gmail.com
I. INTRODUCTION
Normally Networked Home Automation Systems
will use Ethernet (LAN) to communicate between them. This
will need a lot of space and computing power for the systems.
Also the Ethernet cable costs a lot. In our system we
implement an network layer ourself which occupies very less
space. Instead of using Ethernet cable we use normal cables.
This fairly reduces the cost of the implementation. It has
Nodes, Network and an Server.
Fig 1. A Single Node in the Network
II. NODE same bus/network i.e.) they listen to what ever they send. This
Each node is really an 8051 micro-controller is used for collision detection. If one node sends others don't
(PV89V66X is used for implementation. See [1],[2] for details disturb the bus/network i.e.)They don't disturb the bus when it
of the micro-controller) which communicates with external is busy. When the node sends data and while listening it get
world. For example this micro-controller can switch a light on some other data the node decides that there is collision.
and off by using its ports. Similarly the other node also finds about the collision then
It can also read the sensor inputs like fire alarm, LDR (Light they stop sending after a definite time the server ends the
Dependent Resistor). Using this the Node can also control the message. Now any of the nodes can send the data from start.
devices without using the network. For example the
Node/Micro-controller can switch on the light when light
intensity is low by reading the LDR. This is done by using an
ADC (Analog to Digital Converter) and reading it in the
port [3].The node remains in the Network communicating
with server now and then. To increase the address space of the
micro-controller extra EEPROM can be added.
III. NETWORK
Network is implemented using C on both server and client.
In server side the network is implemented as Device Driver.
Protocol is made simple in order to make the code light
weight.
A. Protocol Fig 2. Communication between two 8051 micro-controller
The idea behind the protocol is analogous to that of our
Formal communication. Every node listens and sends in the
Fig 2. shows how Tx (Transmission) pin and Rx
(Receiving) pins are short circuited so that the node (8051
micro-controller) can listen what ever it sends.
When Node 1 communicates or uses the bus Node 2 does
not disturbs it. If both nodes sends the message at same time
then when they listen they find that the message they send and
they where listening where different so they stop using the
bus. After a certain time Server will free the bus by sending an
End message.
Fig 3. shows an complete network with an server and three
Nodes. One Node has an fire sensor. When fire sensor is
triggered that Node finds it and sends the data to Server,
which in turn sends all the Nodes to ring Alarm.
IV. CONCLUSIONS
In this paper we have reduced the weight of the network
layer to optimise the cost of Home automation and Embedded
Networking. We have also planned to develop an application
software for this Network so that these devices an be
controlled through internet in near future.
REFERENCES
[1] Philips Nxp website Available: ics.nxp.com
Fig 7. Device Driver and Application in Server [2] Philips 8051 datasheet
[3] Zilogic website Available: www.zilogic.com
[4] Peter Jay Salzman, Michael Burian, Ori Pomerantz, The Linux Kernel
Module Programming Guide, 2007-05-18 ver 2.6.4
[5] Vijay Kumar .B, Embedded Programming with the GNU Tool chain
[6] Jonathan Corbet, Alessandro Rubini, and Greg Kroah-Hartman, Linux
Device Drivers, Third Edition.