Home  |  About Me | Thoughts  | Tutorials  |  Projects | Robotics | out's That   


Home automation project>>

     

    Title                            :         Home Automation

    Objective                    :         This project is an attempt to handle the home appliances like fan,

                                       Bulbs, Tubes & Television with the help of computer system via          

                                       Printer Port.

    Team Size                   :          one

     Period                        :          October 2002 to November 2002

    Technical Detail         :

                       

                          Power Supply              Dual (5V regulated for circuit and 220V for home appliances)

                          PCB                             All purpose pre drilled PCB

                          Body                            Card Board (I used a plastic box.)

Expression                    :

                 

            my circuit board of home automation project.

         

Cost of the project: Around 400 Rs(5 $).

 Components used:

                                                       Parallel male port

                              Relay (6 volt)

                              Resistor (1 k ohm)

                              Transistor (IN 2222)

                              Zener diode (IN 4148)

                              Wire belt

                              Bread board

       

     Circuit Diagram:

                         

                        

 

Coding and working:

The simple code for just taking the output from the printer port is Given below .

#include<conio.h>

#include<stdio.h>

void main()

{

outportb(0x378,4);

}

 0x378: it is the address of the printer port. And usually it is same for all computers.

 This, the simple code for just taking the o/p from the printer port but if u want to take a good programming and a good interface to provide a good interaction with the user, than move to either visual basic or visual C++ and call the above code and improve the functionalities like add timer by which the appliances are itself on or off according to the time.

to control it via computer we have to take a male printer port or the wire lead of any printer and for the more detail of  Connection via printer port click here: Printerport 

 

 

Future Prospects:

If time allows I would like to do it wirelessly.

 For any query mail me at >>  [email protected]  

 

  Home  |  About Me | Thoughts  | Tutorials  |  Projects | Robotics | out's That   


 

 

Hosted by www.Geocities.ws

1