In saying “Necessity is the Mother of Invention” to conclude that man since the dawn of history has sought to facilitate his creativity to invite tools that helped him to live from Stone Age to Cooper, Bronze, and Iron Ages that each age developed the following age. He built growth of the ancient civilizations such as Egyptians that invented and used many simple machines and other ancient civilizations that improved many technologies for example Greek invented watermill which was the first human-devised motive force. The industrial revolution in Britain which is individuated by the promotions in the areas of textile manufacturing, mining, metallurgy and transport driven by the development of the steam engine. That changed the whole course of man’s life and the subsequent revolution in electricity, electronics and communications led to the development of technology.
The idea of remote control that controls machines after the World War 1 in Germany gave birth of automation. Automation can be defined as the use of control systems, Human activities and applications in all areas of life has rapidly expanded from the combination of automated devices with mathematical and organizational tools which created complex systems that have been used in industrial, commercial, economic, and social ranges of man’s life. The evolution of controllers and automation has been developing and still continue to develop to these days.
Home is the word that refers to relaxing and rest after a long day of work, that when you get home you need all the reasons of relax, in the past man was coming home and was finding hit wife had created the comforts for him, but then women choose to be man’s partner in all areas of life, so to find technology took the rule and start to create comfort for both man and woman at home.
The first appearance of home automation was the TV remote control and then inventions followed one another.
Home automation is a system in which user can control his home subsystems using an interface provided by the system to achieve the purpose of home automation.
The idea of home automation came from modern home which filled with electronic apparatus and appliances -which are the home subsystems foundation- to make life easier at home, more secure, and more comfortable that the user can control his house while he is relaxing or working.
When the user leaves his home to go on holiday, he loses all control over the functions of the house while he is away and cannot tell whether someone has punctured the security or whether he had left the living room light on. If the alarm has been triggered at his home, there is no way that the user can become aware of this unless he returns to his compromised home. In order for the system be useful, the appliances must be able to be moved around the house and still retain their ability to communicate with the system. A degree of automation is needed in a house so that certain functions in the house occur automatically, for example the outside light can turn on when it becomes dark outside.
There is a need for a reliable, secure and interactive system that exercises full control over the electric and electronic aspects of the house, with the potential to be accessed from across the globe.
A home control system controls the user’s whole house, triggering routines and events involving Home Subsystems. An automation system controls a collection of “Home Subsystems”.
A Home Subsystems includes light fixtures, the heating-cooling system, security components, entertainment, as well as devices like motorized drapes or any other condition that the user selects. Is a system that even when operating automatically provides benefits to the system user. A home automation system puts two or more Home-Subsystems under the control of one central controller which is PIC microcontroller and the user interface attached to the controller for example touch screen, key pad, handheld remotes, or a PC which we will describe it later in this chapter.
The Smart House system would adjust the power supplied to each appliance according to need. Each appliance is provided with sufficient power to provide for its peak use. In addition, the Smart House controllers could schedule the operation of heavy power consuming appliances (such as dishwashers, electric water heaters, and air conditioners) to take maximum advantage of off-peak electric rates. These adjustments could result in lower utility costs.
http://www.connectedhomemag.com/HomeControls/Articles/Index.cfm?ArticleID=22609
Home automation system can provide many benefits that make home safer, more comfortable, by employing sensors and control systems to monitor home and provide services.
Wired vs. Wireless Home Automation
The medium through which communications occurs is crucial to the feasibility of a home automation system. So the types of home automation systems are:
Traditionally, wiring consists of wires that get snaked through the walls. There are three wired systems: electricity, telephone, TV cable. Which have been earned by the home automation and the user more agree with, because it is provide reliability, it connect each appliance with central controller, signal between sent between devices is travelling through a physical medium .
Wired system provide reliability, but it is difficult to install, and it not easy for error detection and resolving, unless there is a smart central device and advanced physical medium and connections.
Each appliance is connected with a device as a receiver or transmitter that depends on the function of the appliance and what does it need, and for each sensor there is a transmitter and receiver device.
Transmitter device send a signal such as RF signal and the receiver receives the signal moves it to an intelligent device which detects if the signal for the device that connected with, if yes the intelligent device makes the attached device to act the suitable action for the situation.
The main difference between wired and wireless system that the communication between system components and devices in wired system using physical medium, but in the wireless system the signal is generated as Radio wave signal -for example- travels on the air and cached by receivers.
The main purpose of the home automation project briefly is to make life easier.
To achieve the main purpose we need to design a control system for home appliances, the user can control real loads by a single touch on the touch panel , away from the traditional bush buttons remote control the user will use his finger to select any option on the touch panel whether it is a on/off button or next/previous command.
The user can choose the right arrow to select between the appliances (light, door open, door close, heater) then he will use the on/off button to toggle the load status.
To achieve the goal of this project the touch screen must be chosen so it can be interfaced to the microcontroller (PIC microcontroller) , the resistive touch screen can be used since the microcontroller has it own build in analog to digital converter,
The microcontroller will convert the output of the touch screen to digital value (x-position ,y- position) then it will decide the press location on what button (the buttons is drawn on a graphical LCD which is under the touch screen ) so the user will feel as if he press the button itself
After this the microcontroller will execute a certain routine to toggle the corresponding load depending on the pressed button.
As shown in figure above we have proposed a block diagram to achieve the project goal, the configuration and the connection of each components can found in the datasheet, for example the datasheet of the GLCD and the touch screen requires the use of PIC microcontroller so both of them must be connected directly to the PIC in the appropriate way. Also the web site. http://www.mikroe.com/en/tools/ provides learning kits with a full document and schematic diagrams for those kits, which was an addition information source to know how we can use the graphical LCD and the touch screen
The real loads driver circuit will take the command signal from the microcontroller so it also it will be connected directly to the microcontroller,
PIC microcontroller
PIC microcontroller ,which will be the brain of the system
Why to use pic16f877A
At first any pic microcontroller that has portB and portD can be used to interface the graphical LCD, but since we will use a touch screen in the project and the output is analog voltage so we also need a pic microcontroller with a build in analog to digital converter, those specification can be found in the PIC16F877A
– Graphical LCD , at which the graphics will be displayed
The GLCD module is specially designed for microcontroller programmers who like an extra dimension in the projects.
This module has a 128 X 64 pixel graphical LCD with touch screen,
This LCD is controlled by KS0108 LCD controller via two segment drivers. LCD backlight color is yellow-green.
– Touch panel , which will respond to the touches and convert it to analog voltages.
– Driving circuit which will take the control signal from the microcontroller and drive a real 220V ac loads.
– interfacing circuit: this circuit will take the four wires from the touch screen and fed the microcontroller with the analog voltage (x,y)
Since we are using a pic microcontroller then we need to use a compatible compiler and the easiest one is (MIKROBASIC) because it has a built in libraries for the graphical LCD also the used language is BASIC.
Using the graphical LCD in the project requires a lot o work in signaling the graphical lcd, so each picture or graph must be sent to the graphical lcd pixel by pixel which is a long work without any advantage because the mikroelctronica compiler (mikrobasic) comes with a built in libraries that support both (LCD, and graphical LCD) so the time needed for doing the libraries can be used to add more features to the main project.
MikroBasic allows the user to quickly develop and deploy complex applications:
For planning any project, you must manage it. The whole project is divided into three major elements: tasks, resource and time. Each element’s work affects the others, means they are related.
Means what each piece of project component will achieve and the hardware connection between these components, some tasks may include:
Means anything used to achieve the goals of project, which can be:
You have to be 100% sure of the quality of your product to give a money-back guarantee. This describes us perfectly. Make sure that this guarantee is totally transparent.
Read moreEach paper is composed from scratch, according to your instructions. It is then checked by our plagiarism-detection software. There is no gap where plagiarism could squeeze in.
Read moreThanks to our free revisions, there is no way for you to be unsatisfied. We will work on your paper until you are completely happy with the result.
Read moreYour email is safe, as we store it according to international data protection rules. Your bank details are secure, as we use only reliable payment systems.
Read moreBy sending us your money, you buy the service we provide. Check out our terms and conditions if you prefer business talks to be laid out in official language.
Read more