Monday, April 25, 2011

HOME AUTOMATION OVER INTERNET

"Home Automation over internet". Most of the people thought of
controlling home appliances and other things like bulbs tubes and
switches etc using an IR remote or a wired things running from your
computer to your switch board, but what if you are not at home and
suddenly you reminded that you have left something on but you are not
sure and you can't even go back.. so what can you do? Don't worry
friends solution is here. now access your fully automated home from
anywhere in the world that the power of internet... ;-)

So talking about the main thing which you can say the backbone of this
project is the HOME AUTOMATION SERVER this software helps you to
emulate your serial communication over a very famous remote access
utility called TELNET. So basically a telnet server is created at your
host PC. A screen shot of the working software is shown below. 


Figure 1: Home Automation Server Software



Figure 2 shows a block diagram of the full system. 

We have switches and home appliances that are to be controlled. The embedded hardware
is then connected to your PC via serial communication running at 9600
8-n-1 configuration. The HA server is running on the PC with any
operating system, with PC's IP configured. You can use a DNS server if
you want access all over the internet and if you are using it on LAN
then you can have a fix IP within that domain. So using the telnet
command with the ip address of the server you can connect to the
server. 

Figure 3 and 4 shows the schematic diagram for home automation project
as you can see, we are using LEDs to denote bulbs, tubes and Switches.
As per the program, the tubes are connected at P1.0 and P1.1; Bulbs
are connected at P1.2, P1.3 and P1.4; and switched are connected at
P1.5, P1.6 and P1.7. The LCD (16x2 LCD) is connected at P2; and three
switches which are used to read the messages i.e. P3.2 for read
message, P3.3 for next message and P3.4 for Previous Message. Because
of the lack of RAM we can only support maximum of three messages. 


Figure 3: Control, Display and PC interface section


Figure 4: Appliance and Power Supply section.

Following are the commands which are used in our project. 

COMMAND

DESCRIPTION

stat

To get the status of all the appliances connected to the controller.

tube

To switch ON/OFF the tubes. Selecting any one out of two.

Bulb

To switch ON/OFF the bulbs, selecting any one out of the three bulbs.

swch

To switch ON/OFF the switches connected to the controller, selecting
anyone out of three switches.

msg

To leave a message. Maximum of three messages and each containing
maximum 28 characters.

?

To display help menu.

The source code and the software HA server for the Home Automation
Project can be downloaded from link below. It also contains a help
file which will help guide you how to use the software.
Old Source code with help
HA Server

Changes in the new code!

added dimmness of LED

Schematic updated

LED indicator for new message
download the new code here NEW Source code

This article is borrowed from the ajay bhargav's website 

SOURCE:  http://www.kmitl.ac.th

1 comment:

  1. [url=http://chanelbags2u.hpage.com#chanel]chanel bags[/url], These types of chanel are costly, but they also last! My partner and i wore quarry inside ground,elements,yellow sand,and also sunrays. Many people do vanish a little bit, they are supporting adequately ever since November while i gotten it. I propose those to a person that needs an honest and then fine chanel!

    My partner and i patiently lay because of these chanel several years. They have proven to be attractively glistening, that is certainly simple entertaining. I would really like a good inch increased house inside of the digits, however are nice and put good each alternate way. If I received some other partner, I'll demand you size-up, however you are however absolutely new and also We will discover about this when you finish We have all distressed all of them months.
    I aquired my initially match as i was in fact Age 14 plus i acquired my own subsequent couple roughly a thirty day period back. Simply put i wholly chop down motivated by it! They search good about anything you take. I personally bring in these products pretty much each day, Freezing won't be able to find an adequate amount of. They are really as a result nice which means snug. It's simple to benefit from some of chanel :) <Various
    we love to the chanel right here with regard to belguim. we enjoy to make an online purchase
    i provide my own chanel for hours on end consequently they are by far the most good chanel positively well worth the hard earned cash
    Fantastic [url=http://cocochanelsale.weebly.com]coco chanel[/url] to get teens
    My friend instructed me about these chanel and i assumed they were expesive but the moment acquired them I found out why. At least loved them and made a terrific birthday present. I'm seeing about getting another chanel from this site yet again.

    http://chanelpursesonline.weebly.com
    http://chanelbags2u.hpage.com
    http://chanelhandbags.ezweb123.com

    ReplyDelete