You are on page 1of 21

CHAPTER IV

METHODOLOGY

 ENVIRONMENT

Locale

The target location of the study will be the house.

Population of the Study

The main subject of the study will be the appliances.


The proposed system aims to control appliances by using
voice command to increase customer satisfaction.

Organizational Chart/Profile

HOME

MEMBERS

GRAND PARENTS

MOTHER FATHER

CHILD 1 CHILD 2 CHILD 3

GRAND CHILD GRAND CHILD GRAND CHILD

Figure 1.1
REQUIREMENTS SPECIFICATION

o OPERATIONAL FEASIBILITY

FISHBONE DIAGRAM

OLD PROCESS ELDER

Manual Process Weak Body

Time Consuming Weak Eyed

Weak Process

Busy
Un-able to Perform
Lazy

PEOPLE DIASBLE

Figure 1.2

FUNCTIONAL DECOMPOSITION DIAGRAM

HASCVC

Recieve Control

Voice Command Appliances

Figure 1.3
 TECHNICAL FEASIBILITY
o Compatibility Checking

Hardware

Hardware Compatible Hardware


Micro controller Raspberry Pi, BeagleBone
Black, PCDuino, Arduino.
Relay 4 Four Channel Relay Module
DC 5V + Optocoupler For
Arduino PIC ARM, 5V Low
Level Trigger One 1 Channel
Relay Module DC AC 220V
Interface, MSP430 4 Channel
5V Relay Module Low Strigger
For Arduino PIC ARM DSP, DC
5-24V 4ch Pro mini PLC Board
Relay Shield Module for
Arduino LED, DC 5-24V 4ch
Pro mini PLC Board Relay
Shield Module for Arduino
LED, 4 Channel SSR Solid
State Relay High-low Trigger
5A 3-32V for Arduino, 5V 4-
Channel Relay Module Shield
for Arduino ARM PIC AVR DSP,
WSFS Hot 5V 8 Channel Relay
Module Board For Arduino AVR
PIC MCU DSP, 4 Channel DC 5V
Relay Module with
Optocoupler for Arduino UNO
kit, 1PC 16 Channel 5V Relay
Shield Module for Arduino
UNO 2560 1280 ARM, 1PCS/LOT
New 5V 2 Channel Relay
Module Shield for Arduino
ARM PIC AVR, 12V 16 Channel
Relay Module for arduino ARM
PIC, 1 Channel H/L Level
Triger Optocoupler 5V Relay
New Module for arduino, DC
5-24V 4 Channel Pro mini PLC
Board Relay Shield Module
for Arduino, LinkNode R4:for
Arduino-compatible wireless
relay, 12V 16 Channel Relay
Module Interface Board For
Arduino PIC ARM DSP, Two way
Solid State Relay Module For
Arduino, 5V 10A 8 Channel
Relay Module for Arduino DIY
KIT, 5V 2 Channel Relay
Module for Arduino Uno R3
Raspberry Pi Relay, Four way
Solid State Relay Module For
Arduino,
Jumping wire 5X40pcs 30cm Female to
Female Color Breadboard
Cable Jump Wire Jumper For
RC Models, 40 pin Male
Female Splittable Jumper
Wire 100mm, Jumper Wires M M
5 PIECES, 65PCS Male to Male
Solderless Breadboard Jumper
Cable Wires for Arduino,
Breadboard Jumper Wire 60pcs
Pack, GoolRC 2 Set Jump Wire
Cable Male to Male Jumper
Wire for Arduino Breadboard
intl, 30pcs Jump Wire Cable
Male to Male Jumper Wire for
Arduino Breadboard,
Resistor Resistors Through Hole 2 2K
ohm 5 1 4W Pack of 25, 1/2W
0.5W 5% Carbon Film Resistor
50 Values 1.2Ω~1MΩ Assorted
Kit, 5MM GL5528 Light
Dependent Resistor
Photoresistor LDR
Voice Sensor MagiDeal Voice Recognition
Module Board, LEORY Voice
Recognition Module,
Soldering Iron Soldering Iron 60Watts,
Built Well Mighty 220V
Electric 50 Watt Soldering
Iron, 30W 2 in 1 Electric
Soldering Iron Tin Suction
Desoldering Welding Tool US
Plug intl, 50W 60W Electric
Soldering Iron Copper High
Performance Tool EU US Plug
intl, 505 60W Handheld
Electric Soldering Iron Iron
Diameter 6mm intl, 60W
Adjustable Temperature
Soldering Pen Welding Iron
Tool Kit
Soldering wire 0.6/0.8/1.0/1.2/1.8mm Tin
Lead Soldering Wire Reel
Solder Rosin Core, Tin Lead
Rosin Core Solder Soldering
Wire intl, 3pcs Pure Solder
Wire No Clean Flux Tin Lead
Soldering Wire Roller Tool
intl, 1pc 0 8mm Mini Pure
Solder Wire No Clean Flux
Tin Lead Soldering Wire Roll
intl,
Table 1.1

Software

Software Software Compatible


Arduino IDE Arduino IDE 1.6.x, 1.5.x
BETA, Arduino IDE 1.0.x,
Arduino IDE 00xx
Table 1.2

o Relevance of the technology

Hardware

The proposed system use Arduino that perfect for


electronics projects and prototyping. You can easy connect
some LED’s, sensors, motors into the board directly. With
their user friendly board and wires it easy to do that. To
program the Arduino you need their for free. The proposed
system also use a relay module that can used to control
various appliances and equipment with large current. A
resistor is a device that also use to the proposed system to
build the project. Resistor can limit the amount of current
going to certain components in the circuit. Speech
recognition module is one of the main part of the proposed
system, it is a computer software program or hardware device
with the ability to decode the human voice, to perform
commands.

 ECONOMIC FEASIBILITY

o Cost and Benefit Analysis

COST

Hardware

Hardware Cost
MICROCONTROLLER P. 1,100.00
BREADBOARD P. 180.00
RELAY P. 410.00
WIRES P. 415.00
Voice sensor P. 1,430.00
Resistor P. 100.00
Soldering Iron P. 300.00
Soldering Wire P. 220.00
Total P. 4,155.00
Table 1.3

Software

Software Cost
Arduino IDE Free
Table 1.4

Benefit

Device Price
Home Appliances Controlled
System Through Voice Command
Total
Table 1.5

o Cost Recovery Scheme

 Schedule Feasibility
o Gantt Chart

 Requirements Modelling

Figure 1.4

 Data and Process Modelling


o Context Diagram

Current

User

Press on/off
Control Appliances
Appliances

Switch

On/off

Appliances

Figure 1.5
Proposed

control appliances
User

voice command
recorded
Input voice command

command

HASCVC

on/off

Appliances

Figure 1.6
o Data Flow Diagram

Figure 1.7
o System Flow Chart

Start

Voice On/Off
No Analyze? Yes
Command Appliances

No Analyzing End
Receiving Voice
Voice
Command
Command

Received? Yes

Figure 1.8
 Object Modelling

o Use Case Diagram

Voice Command

User

Recieve Appliances

Control
Figure 1.9

o Sequence Diagram

Figure 2.0
o Activity Diagram

Activity Diagram for Receiving voice Command

Figure 2.1
Activity Diagram for Controlling Appliances

Figure 2.2
 Design

Figure 2.3
 System Architecture

o Network Model

LAN

Is a computer network that spans a relatively small


area. Most often, a LAN is confined to a single room,
building or group of buildings, however, one LAN can be
connected to other LANs over any distance via telephone
lines and radio waves.

o Network Topology

STAR TOPOLOGY

In this type of topology all the devices are connected


to a single hub through a cable. This hub is the central
node and all others nodes are connected to the central node.

o Network Security

ACCESS CONTROL

This includes both users and devices. The NAC network


intercepts the connection requests, which are then
authenticated against a designated identity and access
management system. Access is either accepted or denied based
on a pre-determined set of parameters and policies that are
programmed into the system.
Not every user should have access to your network. To
keep out potential attackers, you need to recognize each
user and each device. Then you can enforce your security
policies. You can block noncompliant endpoint devices or
give them only limited access. This process is network
access control (NAC).

 Development
o Software specification

Software Specific
IDE Arduino IDE
Table 1.6

o Hardware specification

Hardware Specific
Microcontroller Arduino Uno
Computer Laptop, Pc
Breadboard Mini Breadboard
Relay 4-Channel 5V Relay
Module
Voice Sensor XD-61 MT8870 DTMF Voice
Jumping Wire Jumping wire Generic
Resistor Carbon Resistor
Soldering Iron Soldering pencil
Soldering Wire 100g 63/37
0.6/0.8/1.0/1.2/1.8mm
Tin
Table 1.7
o Program Specification

Program Recommended
Programming Language C++
Table 1.8

o Programming Environment
 Front end

Loops

Do While Loop

It tests the condition before the code within the block


is executed, the do-while loop is an exit-condition loop.
This means that the code must always be executed first and
then the expression or test condition is evaluated. If it is
true, the code executes the body of the loop again.

For Loop

It is used to repeat a section of code known number of


times. Sometimes it is the computer that knows how many
times, not you, but it is still known.

Statement

If, else Statement

An “if else” statement in programming is a conditional


statement that runs a different set of statements depending
on whether an expression is true or false.

Case Statement
The CASE statement chooses from a sequence of conditions,
and executes a corresponding statement. The CASE statement
evaluates a single expression and compares it against
several potential values, or evaluates multiple Boolean
expressions and chooses the first one that is TRUE.

String

In computer programming, a string is traditionally a


sequence of characters, either as a literal constant or as
some kind of variable. The latter may allow its elements to
be mutated and the length changed, or it may be fixed.

 Deployment

o Deployment Checklist
o Deployment Process
o Deployment Diagram

You might also like