370 likes | 756 Views
United Arab Emirates University College of Engineering Graduation Projects Unit Electrical Engineering Department. Design and implementation of a PC-Based Home Automation System. Faculty advisor : Dr. Imad Barhumi Team members ID#
E N D
United Arab Emirates University College of Engineering Graduation Projects Unit Electrical Engineering Department Design and implementation of a PC-Based Home Automation System • Faculty advisor : Dr. Imad Barhumi • Team members ID# • Amal Abdulla Ali 200309879 • Eiman Thabit200321000 • Salwa Al Nuaimi200202046 • Feda' Wasfi200337271 • Hanan Al Kaabi200203024 • Examination Committee • Dr. Ahmed Alawar • Dr. Abdulla Ismail • Dr. Mousa Hussein
Outline • Project Description • Objectives • The framework for the home automation • The communication • PC Interface • Hardware Connection • Conclusion
Project Description • Designing and implementing a PC-Based Home Automation (HA) system by • Power line controlling system • Controlling home appliances such as lights, electric doors, curtain, or any other appliance
Objectives • Developing a HA system that gives the user complete control over all aspects of his or her home • The automated system will have the ability to be controlled from a PC and the Internet. • Use a computer to turn on and off a light, as well as monitor a door • The real objective is to • Create a basic framework for a home monitoring system
Connection Wired HA System Appliance Microcontroller PC RS-232 Sensor
The Hardware • The main components needed to build a prototype: • PC Interface • RS-232 • Max-232 • Microcontrollers • Type • Specification • Circuit construction • Sensors • Light module • Door module • Curtain module
RS 232 interfaces Power Circuit Max 232 IC Microcontroller Hardware connection
Power Circuit Power circuit is used to: Provide the circuit with DC 5 Volts Protect the microcontroller and the other parts of the circuit
Power Circuit Components Resistance Capacitance LEDs Diode Voltage Regulator
RS-232 Interface • RS-232 • An electrical signal, serial digit interface standard specifying the electrical characteristics of the communication path between two devices Properties: • Specialize in long range and low data • Inexpensive • Portability
MAX-232 MAX-232 is used between the serial port of the PC and the PIC (Microcontroller) It converts the voltage to be suitable to the PIC in transmitting case and vice versa to be suitable to the serial port in receiving case
MAX-232 Components RS-232 (DB 9) Resistance MAX-232 chip Capacitance RS-232
TESTMAX-232 • A hyperterminal program is used • Under Windows, hyperterminal' program normally located underPrograms->Accessories->Communications.
Steps to run hyper terminal program 1-Name the connection. 2-Change some properties in the hyper terminal
Microcontroller • Its computer on a chip, containing a processor, memory, and other functions • Microcontroller consists of : • Processor that executes programs digitally • All instruction given to the processor should be in digital form • I/O Port to connect sensor, keypad, LED, Relay and Timer to count the time to execute some process.
Microcontroller Specification • The specification for PIC16F877A: • Microcontroller is very easy to : • Assembly • Program • Low cost • One unit of PIC 16f877 can be programmed and erased so many times.( about 10 000 times).
Programming a PIC Two things are needed to program a PIC: A Programmer This is the hardware that programs/writes/burns the program into the chip A Software compiles or converts your program written in C/Assembly into a HEX file PICBASIC is the program used in our project
A programmer can be built in the lab • For accurate results and to save time: ready programmers is used
Programming a PIC • Three steps process to program microcontrollers are • Write the code • Compile the code • Upload the code into a microcontroller
Specific Controls • A home needs to make it smart = Intelligent control • Specific controls are chosen such as • Control of Lights • On/Off • Door Monitoring • Monitor the open/closed status of door C. Curtain control • open/close the blinds of your home • Make sure doors are being kept closed, lights are being turned off
Light Module Part1 • Digital Control of Light with On/Off options LDR
Light Dependent Resistors • LDRs or Light Dependent Resistors are very useful especially in light/dark sensor circuits
Light Module • Digital Control of Light with On/Off options
The Connected Circuit Light Dependent Resistor
Conclusion • The objectives of project have been fulfilled successfully • Home automation system can provide the needed security, energy conservation, and many other useful features • Project would not be accomplished without the cooperation of the team members. • It encourages the engineering ethics and prepares the students for real life situation.