Title: United Arab Emirates University
1United 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 Thabit
200321000 Salwa Al Nuaimi
200202046
Feda' Wasfi
200337271 Hanan Al Kaabi
200203024 Examination Committee Dr.
Ahmed Alawar Dr. Abdulla Ismail Dr. Mousa
Hussein
2Outline
- Project Description
- Objectives
- The framework for the home automation
- The communication
- PC Interface
- Hardware Connection
- Conclusion
3Project 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
4Objectives
- 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
5 Connection
Wired HA System
Appliance
PC
RS-232
Microcontroller
Sensor
6The 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
7Hardware connection
8Power Circuit
- Power circuit is used to
- Provide the circuit with DC 5 Volts
- Protect the microcontroller and the other parts
of the circuit
9 Power Circuit Components
Resistance
Capacitance
LEDs
Diode
Voltage Regulator
10RS-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
11MAX-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
12MAX-232 Components
RS-232 (DB 9)
Resistance
MAX-232 chip
Capacitance
RS-232
13TEST MAX-232
- A hyperterminal program is used
- Under Windows, hyperterminal' program normally
located under Programs-gtAccessories-gtCommunication
s.
14Steps to run hyper terminal program
1-Name the connection.
2-Change some properties in the hyper terminal
15Microcontroller
- 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.
16PIC16F877A Microcontroller
17Microcontroller 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).
18Connection
19Programming 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
20Different types of programmers
21- A programmer can be built in the lab
- For accurate results and to save time
- ready programmers is used
22Programming a PIC
- Three steps process to program microcontrollers
are - Write the code
- Compile the code
- Upload the code into a microcontroller
23Specific 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
24Light Module Part1
- Digital Control of Light with On/Off options
LDR
25Light Dependent Resistors
- LDRs or Light Dependent Resistors are very useful
especially in light/dark sensor circuits
26Light Module
- Digital Control of Light with On/Off options
27Light On /OFF
28The Connected Circuit
Light Dependent Resistor
29Light Module
30Door Module
31Door On /OFF
32Curtain Module
33Website
34Conclusion
- 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.
35Thanks For listening