Você está na página 1de 41

By

M. Ali Hasnian (39)


Saba Maqsood (29)
BSCS (2013-17)
Supervised By
Dr. Sharjil Saeed
Chairman DCS & IT
Co-supervised By
Mr. Adil Aslam Mir
Research Associate

Department of CS & IT
2
University of Azad Jammu and Kashmir
Agenda

• Introduction and motivation • User Manual


• Objective • Conclusion and future discussion
• System Requirements
• Hardware Requirements
• Software Requirements
• System Design
• Circuit diagrams
• Activity diagrams
• Use case diagram
• Sequence diagram

3
Introduction and Motivation (1/2)

• With advancement of Automation technology, life is getting simpler and


easier
• In today’s world Automatic systems are being preferred over manual
system
• Home Appliance Controller (HAC) is a system that uses computers or
mobile devices to control basic home functions and features.
• Best for disabled and aged people who always depends on others for
their basic necessities
• Android based Smart Home Appliance Controller is managed by an
Android Application using Bluetooth as a communication channel

4
Introduction and Motivation (2/2)

• Use of Arduino, Bluetooth module.


• Controlled by Android Application.
• Prototype Contain light, fan, sensor, LCD and a Door lock.
• Door locks are another automated home product that can increase your
home security.
• Based on both hardware and software components
• Saves electric power and human energy.
• Applicable on any environment

5
Key Benefits of the Home Appliance Controller

• Security
• Safety
• Convenience
• Reliability
• Saving
• Efficiency
• Peace of mind

6
Objective

Android based applications that Control Electrical appliances


at minimum Cost, through android application

7
Existing System

• Most of existing System based on WI-FI technology.


• High Cost.
• Availability.
• Insecure.

8
Proposed System

• Bluetooth Technology
• Make system at Lowest price.
• User friendly.
• Android Application.
• Efficiency.
• Safety and Reliability.

9
System Requirements
Software Requirements

• Arduino 1.8.1
• Android Studio 2.3.1
• Fritzing

10
System Requirements (1/3)
Software Requirements

ARDUINO IDE 1.8.1


• The open-source Arduino Software (IDE) makes it easy to write
code
• To upload it to the board.
• It runs on Windows, Mac OS X, and Linux.
• The environment is written in Java and other open-source
software.

11
System Requirements (2/3)

ANDROID STUDIO:
• Android Studio provides the fastest tools for building apps on
every type of Android device.
• World-class code editing, debugging, performance tooling, a
flexible build system,
• An instant build/deploy system all allow you to focus on building
unique and high quality apps.

12
System Requirements (3/3)

FRITZING:
• Fritzing is an open-source hardware initiative that makes
electronics accessible as a creative material for anyone.
• It is a software tool.
• A community website and services in the spirit
of Processing and Arduino.
• Developing a creative ecosystem that allows users
to document their prototypes.
• Share them with others.
• Teach electronics in a classroom.
• Layout and manufacture professional PCBs.
13
System Requirements
Hardware Requirements
• Breadboard • Bluetooth module HC-05
• Arduino Mega • 16x2 Crystal LCD
• Jumper wires MM, FM,FF • Fan
• Ultrasonic sensor HC-
• LED’s
SR04
• Resistors (1, 2, 10, 100, • Servo motor (Tower pro) MG996R
200)kΩ

14
System Requirements (1/11)

BREADBOARD
• A thin plastic board used to hold electronic components
(transistors, resistors, chips, etc.)
• The breadboard contains spring clips contacts typically arranged in
matrices.
• Breadboards are used for development of prototype circuit
designs.
• It is used to implement simple electronic circuits
• Access to the individual components is simple.

15
System Requirements (2/11)

LED
• LED stands for light emitting diode, which is the
basic semiconductor.
• It emits light when power is given.
• Its working is just like diode i.e. one way door for
electricity.
• When power travels through LED, light emits from
diode

16
System Requirements (3/11)

ARDUINO MEGA
• The Arduino Mega 2560 is a microcontroller board based on the
ATmega2560.
• It has 54 digital input/output pins
• Its 14 pins can be used as PWM(pulse with modulation) outputs
• Its 6 analog inputs,
• Simply connect it to a computer with a USB cable or power it with
an AC-to-DC adapter or battery to get started

17
System Requirements (4/11)

ARDUINO MEGA
• It contains everything needed to support the microcontroller
• a power jack
• 4 hardware serial ports
• 6 MHz crystal oscillator
• USB connection
• An ICSP header
• and a reset button

18
System Requirements (5/11)

JUMPER WIRES MM, MF, FF


• Jumper wires have 5 different lengths
• 22 solid tinned copper
• Made up of PVC(poly vinyl chloride)
• jumper wires in 4 different colors and 1
non-colored.

19
System Requirements (6/11)

SENSOR HC-SR04
• Working Voltage: DC 5V
• Working Current: 15mA
• Working Frequency: 40Hz
• Max Range: 4m
• Min Range: 2cm
• Measuring Angle: 15 degree
• Trigger Input Signal: 10µS TTL pulse
• Dimension 45 * 20 * 15m

20
System Requirements (7/11)

RESISTOR
• Resistor is a two terminal idle component
• These rods are covered with an insulated material so there are
risks of damage due extra heat cause by soldering
• These resistors are cylindrical rods that are made up of carbon
particles and powdered clay
• It is used to compete and limit the passage of current
• Resistors works on the basic principle of Ohm’s law

21
System Requirements (8/11)

BLUETOOTH MODULE HC-05


• HC-05 Bluetooth Module is an easy to use Bluetooth SPP
(Serial Port Protocol) module
• It provides switching mode between master and slave
mode which means it able to use neither receiving nor
transmitting data.
• It is designed for transparent wireless serial connection
setup.
• Communication Method is Serial Communication
• Input Voltage is DC 5V and range is 10m.

22
System Requirements (9/11)

16X2 CRYSTAL LCD


• This is an LCD Display designed for E-blocks.
• It is a 16 character, 2-line alphanumeric LCD display connected to
a single 9-way D-type connector.
• This allows the device to be connected to most E-Block I/O ports.
• The display also requires a 5V power supply. (MAX 5V)

23
System Requirements (10/11)

FAN
• High Sensitivity Integrated Hall Sensor
• Low Start-up Voltage
• 5V and 12V Operation
• Peak Output Current up to 1200mA
• Locked Rotor Shutdown and Auto-restart
• Integrated Tachometer or Alarm Signal Output
• ESD Rating: 6000V (Human Body Model) 400V
(Machine Model)

24
System Requirements (11/11)

SERVO MOTOR
• Weight: 55 g
• Dimension: 40.7 x 19.7 x 42.9 mm approx.
• Stall torque: 4.8 V , 6 V
• Operating speed: 4.8 V to 6 V

25
Design (1/11)

ARDUINO WITH BLUETOOTH

Arduino Pin Bluetooth Module

TX RX

RX TX

5 volts VCC

GND GND

26
Design (2/11)

ARDUINO WITH BUZZER

Arduino Pin Buzzer

Pin 36 VCC

GND GND

27
Design (3/11)

ARDUINO WITH FAN

Arduino Pin Fan

Pin 39 VCC

GND GND

28
Design (4/11)

ARDUINO WITH LCD

Arduino Pin 16 x 2 LCD


5 Volt Pin (2, 15)
GND Pin (1, 3, 5, 16)
RX Pin 4
TX Pin 6
Pin 24 Pin 8
Pin 25 Pin 9
Pin 26 Pin 10
Pin 27 Pin 11
29
Design (5/11)

ARDUINO WITH SERVO MOTOR

Arduino Pin Servo Motor

Pin 29 Control Wire (Yellow)

5 volts VCC

GND GND

30
Design (6/11)

ARDUINO WITH ULTRASONIC SENSOR

Arduino Pin ULTRASONIC SENSOR

Pin 8 Echo

Pin 9 Trig

5 volts VCC

GND GND

31
Design (7/11)

Complete Circuit Diagram

32
Design (8/11)

ACTIVITY DIAGRAM

33
Design (9/11)

ACTIVITY DIAGRAM

34
Design (10/11)

USECASE DIAGRAM

35
Design (11/11)
SEQUENCE DIAGRAM

36
Screenshots (1/2)

37
Screenshots (2/2)

38
Conclusion

• Full fledge Home Automation.


• Control Properly.
• Ease.
• Minimum Cost.

39
Future Directions

World go towards automation.


• Controlling the appliances using the internet may be of interest.
• Security measures are needed to be more strengthen in order to
restrict the unauthorized person to access the appliances.
• Synchronization between the application and home appliances is
of interest in such a way that user can control application in
different modes ( Low Power and Normal Mode).
• Home appliance controller having ability to monitor the different
activities on android phone visually may be of interest.

40
41

Você também pode gostar