0% found this document useful (0 votes)
34 views

Voice Activated Home Automation Using Arduino: Design Document

This design document outlines a voice activated home automation system using an Arduino. It includes circuit diagrams, sequence diagrams, an architecture design diagram, and flow charts to illustrate how the system will work. The system uses a microphone and mobile app to capture voice commands, which are sent over Bluetooth to an Arduino board connected to devices like lights and fans. The document also includes test cases to validate different use cases of the system like controlling lights, music volume, and receiving notifications.

Uploaded by

Naveed Anwar
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views

Voice Activated Home Automation Using Arduino: Design Document

This design document outlines a voice activated home automation system using an Arduino. It includes circuit diagrams, sequence diagrams, an architecture design diagram, and flow charts to illustrate how the system will work. The system uses a microphone and mobile app to capture voice commands, which are sent over Bluetooth to an Arduino board connected to devices like lights and fans. The document also includes test cases to validate different use cases of the system like controlling lights, music volume, and receiving notifications.

Uploaded by

Naveed Anwar
Copyright
© © All Rights Reserved
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 11

Voice Activated Home Automation using Arduino

Design Document

Version 1.0

Group Id: Bc150201719

Supervisor Name : Bilal Bin Umar

Revision History
Date Version Description Author
(dd/mm/yyyy)

Current date 1.0 Introduction of the project Write student(s) id


Table of Contents

1. Introduction of Design Document

2. Circuit Diagram

3. Sequence Diagrams

4. Architecture Design Diagram

5. Flow Chart of System

6. Interface Design

7. Test Cases
1. Introduction of Design Document

In this project, we are combining two things together, hardware and software. As

we are coding in the microcontroller and the software we need to be aware of the

developing process of the application and the hardware. As we have used SDLC

(Systems development life cycle) method to demonstrate the developing steps of

the hardware and the software. We have planned everything in this project in a

sequence so that all the project goals are achieved as required. So, for system

design, we have used certain criteria that could combine both software and

hardware in an orderly manner. To illustrate our system design we have used

various diagrams, like Architecture Design Diagram, Sequence Diagrams, use

Circuit Diagram, Flow Chart and Interface Design.


2. Circuit Diagram

Circuit diagrams are the Photoshop diagram to show the circuits that help

engineers to understand which element is connected to where and how. It is a

graphical representation of wires, cables and boards together [24]. As our

project is based on the circuit, where all the elements of the project are

interconnected. Following circuit design shows the circuit diagram, where

Arduino device is connected to the circuit Board, which is further connected

to the utilities i.e. light and fan. There is also a Bluetooth module connected

which is responsible for receiving the signals from the mobile application.
3. Sequence Diagrams

This kind of diagram explains, the interaction between the system and the user

by sequencing order how the relations take place between. It also turns up

with the identification process of the code [22]. In case if the code is not

identified by Arduino or application, it follows the sequence as shown below

in the diagram. It also Photoshop the completion of the process, when the

right command is identified by the user and it will perform an action on lights

or fans which are connected on the relay board.


4. Architecture Design Diagram

The microcontroller is the main part of the project. Here in the diagram it

explains that the voice command are taken from the microphone of the mobile

or the pc and then pass to the Arduino. After the Arduino is executing he

command then it passes to the relay board to turn the utilities on or off

accordingly. Light, fan or ac are turned on/off as the relay board is turned on

or off. The Arduino Company named it to “sketch”.


5. Flow Chart of the System

This kind of diagram explains the flow of the application that is to be

developed. In other words, all the information that is processed is through

flow chart of the system. It represents certain kind of symbols that shows

activity that is performed at each step and it justify all the steps accordingly

that are followed in a certain sequence one after the other [23]. Following is

the 5.Flow Chart of the System and it illustrates all the information process

from the beginning to end.


6. Interface Design

We are developing an application with a graphical user interface (GUI) for

converting the voice into text and sending the command over the internet /

Bluetooth. This GUI will appear for the user to perform the certain task by

voice. Software development of our project is specialized to take the input and

convert to computer readable format (text), and once that is accomplished, the

voice is to be transferred over the Internet/Bluetooth, so that it could reach

to the Arduino board and the action is performed


7. Test Cases

Use Case 1: Light Controlling: - User turn on or off the lights by sending the voice message to

the server from The Android based cellphone.

Use Case 2: Modify the lightness: - User control the music player by their voice. And the

server sends the control instruction to the MCU after processing the voice message.

Use Case 3: Light Controlling: - The users can modify the lightness of the light by their voice

command.

Use Case 4: Modify the volume of music: - The user can turn up/down the music by sending

the related voice message to the server from the Android based cellphone.
Use Case 6: User log In: - A user logs in to his/her account in order to configure the alarm

system. The tests confirm that the correct passwords and usernames allow the logins to the correct

account.

Use Case 8: Remove user: - User can remove the deserted user and their information.

Use Case 12: Control information feedback: - the users can check the feedback of voice

message in order to check whether the voice have been identified by the server. If the message

identification failed, the feedback information can lead the user to send again or cancel the

operation.

Use Case 13: Network error notification the users can get the notification of network error

from the user interface of Android cellphone if the signal of network is weak. The signal the users

get is consist of 2 parts: Between cellphone and server; between server and MCU

You might also like