internet ctrl home appliances

Upload: shamsher-singh

Post on 07-Apr-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/4/2019 Internet Ctrl Home Appliances

    1/5

    HOME APPLIANCE CONTROL THROUGH WEB/INTERNETThe present invention relates to a remote control system for a home

    appliance network and a method for operating the same. More particularly, the present invention

    relates to a remote control system for a home appliance network and a method forupdating

    information of the same, the system and method enabling a central portal server to manage a

    plurality of home servers by allowing a home server to transmit a key message containing an IP

    (Internet Protocol) address so that an existing IP address stored in a database of the central portal

    server can be updated to a new IP address when the home server, using a dynamic IP, is connected

    to the central portal server.

    Parallel port is a simple and inexpensive tool for building computer controlled devices and projects.

    The simplicity and ease of programming makes parallel port popular in electronics hobbyist world.

    The parallel port is often used in computer controlled robots, Atmel/PIC programmers, home

    automation,

    The lines in DB25 connector are divided into three groups, they are:

    Data lines (data bus)

    Control lines

    Status lines

    As the name refers, data is transferred over data lines. Control lines are used to control the

    peripheral, and of course, the peripheral returns status signals back to the computer through Status

    lines. These lines are connected to Data, Control And Status registers internally.

    As their names specify, Data register is connected to Data lines, Control register is connected

    to Control lines and Status register is connected to Status lines. (Here the word connection

    does not mean that there is some physical connection between data/control/status lines. The

    registers are virtually connected to the corresponding lines.) So, whatever you write to these

    registers will appear in the corresponding lines as voltages. Of course, you can measure itwith a multimeter. And whatever you give to Parallel port as voltages can be read from these

    registers (with some restrictions). For example, if we write '1' to Data register, the line Data0

    will be driven to +5v. Just like this, we can programmatically turn on and off any of the Data

    lines and Control lines

    Features

    *Control lamps, appliances, and wall switches with X10 home automation

    modules by PC or remote

    *Set up timed events and you'll never have to walk into a dark room again

    *User-friendly interface means anyone can master simple home automation

  • 8/4/2019 Internet Ctrl Home Appliances

    2/5

    *Wireless so you'll never have to trip over extra wiring

    *ActiveHome even works when your computer is off

    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 Web/internetand 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.

  • 8/4/2019 Internet Ctrl Home Appliances

    3/5

    Figure 3: Control, Display and PC interface section

    http://www.kmitl.ac.th/~kswichit/Ajay4/circuit1.gif
  • 8/4/2019 Internet Ctrl Home Appliances

    4/5

    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

    http://www.kmitl.ac.th/~kswichit/Ajay4/circuit2.gif
  • 8/4/2019 Internet Ctrl Home Appliances

    5/5

    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.