Chapter 5

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 17

CHAPTER 5

DEVELOPMENT AND TESTING

5.1 DEVELOPMENT PHASE

During the development phase, everything that will be needed to implement the
project is arranged. Potential leader is brought in, a schedule is made, and
development plan, task assignment, working schedule, Gantt chart,
hardware/software specification, design specification, hardware/software
configuration, and network configuration are included. The development phase is
complete when implementation is ready to start. All matters must be clear for the
parties that will carry out the implementation.

5.1.1 TASK(S)

Step 1 : Step hardware

For the project, we are using hardware such as PC, Two Arduino UNO which is
we are using it as microcontroller and connect via 1sheeld application and other
Arduino are connected to Bluetooth module. We use one database server to keep
all the database of the unique ID of the users and it is connected to the router.
While for the network, we are using one router (TP Link Wireless Router) that
are use to produce network connection to all the devices which we are going to
use for the project. We are using 1Sheeld as our sensor which can detect motion
that exerted on the door then it will send a notification to the user through the
1Sheeld application in their smart phone. Servo motor is tied to the door lock so
that the 1Sheeld can controlled the lock and unlock system. This servo motor is
placed on the Arduino.

Step 2: Installing software program for Arduino UNO

Install software program Arduino IDE to control the servo motor and for the
sensor to detect motion.

Step 3: Installing Xampp MYSQL in window

Install Xampp MYSQL in window for database server.

Step 4: Configure Linksys Router

Configure static routes and routing protocol to produce network connection to all
devices.

Step 5: Installing 1Sheeld application.

Install 1Sheeld application in the smartphone for the notification that will be
send to the user if the sensor detect motion.

Step 6: Installing MIT Apps Inventor.


Install MIT Apps Inventor to develop an application for android to controlled the
lock and unlock system in our project.

Step 7: System testing

Examine our system whether it is work in the good state or not.

Step 8: Oversee the overall project progress

Monitor all the process of maintaining the system, database server, and network
to ensure all are run without problem. If the system got the problem, we
troubleshoot until our project successfully works.

5.1.2 HARDWARE SPECIFICATION AND CONFIGURATION

Every implementation of project requires hardware in order to


complete. For this project, there are four(4) hardware that are needed to
implement the project; Arduino UNO, 1 Sheeld, Bluetooth device HC-06,
and servo motor.
5.1.2.1 SPECIFICATION

ASUS Laptop F502CA-EB91

ASPECT DETAILS
Operating System Windows 8
Processor Intel(R) Pentium(R) CPU2117U@ 1.80GHz
1.80GHz
RAM 4.00GB
Type of RAM 4GB DDR3 SDRam
Graphics Intel HD Graphics
Table 5.1.2.1.1 Database server specification

Cisco-Linksys E1000 Wireless-N Router

Shipping: Free shipping


Connectivity technology: Wireless
Total LANs port: -
Function: Enjoy the benefits of Wireless-N in your
home--ideal for wireless Internet usage and
home office productivity
Connect your computers, wireless printers,
smartphones, and other wireless devices at up
to 300 Mbps of transfer speed
Table 5.1.2.1.2 Router specification

5.1.2.2 CONFIGURATION
ASUS Laptop
F502CA-EB91

Figure 5.1.2.2.1 ASUS Laptop F502CA-EB91

There are more than one laptop including database servers that are going
to be used in this project. Those laptop will be as a power supply and connected to the
network devices such as router.

One of the laptop for database server to keep all the database of the unique ID of the
users and it is connected to the router and another laptop run the program such as MIT
Apps Inventor. The IP address for database server is 127.0.0.1.

Cisco Linksys Router


Figure 5.1.2.2.2 Cisco Linksys Router

The router will be using for static routing. Both routers will be connected with serial
cable which is giving routing information protocol. The routers will be placing at users
home and the IP address for router is 192.168.1.1.

5.1.3 SOFTWARE SPECIFICATION AND CONFIGURATION


There are software program that are used in our project.

5.1.3.1 SPECIFICATION

Arduino IDE

ASPECT DETAILS
Operating System Windows, macOS, Linux
Written in Java, C,C++
License LGPL and GPL license
Platform IA-32x86-64, ARM
Function The Arduino Software (IDE) is easy-to-use for
beginners. The Arduino software is published
as open source tools, available for extension by
experienced programmers.
Table 5.1.3.1.1 Arduino IDE specification

MIT Apps Inventor

ASPECT DETAILS
Operating System Web-based application
Written in Java, Kawa scheme
License MIT license
Platform Android
Function MIT App Inventor is an innovative beginner's
introduction to programming and app creation
that transforms the complex language of text-
based coding into visual, drag-and-drop
building blocks. The simple graphical interface
grants even an inexperienced novice the ability
to create a basic, fully functional app within an
hour or less.
Table 5.1.3.1.2 MIT Apps Inventor
Specification

5.1.3.2
CONFIGURATION

Step 1

Figure 5.1.3.2.1 This is the


registration page which is for the
new user to login. Fill the
registration form then click Register button.

Step 2
Figure 5.1.3.2.2 This is the database where the data of the new user will be keep.

Step 3

Figure 5.1.3.2.3 This is the login


page where the user that already fill the
registration form can enter their user
name.

Step 4
Figure 5.1.3.2.3 If the user enter their user name in the login page, there will display
Welcome User Name. That means that their data has kept in the database.

Step 5

Figure 5.1.3.2.4 The display show the message from javascript where localhost says:
username anda tidak sepadan means that the unknown user go to the login page by
enter their user name but do not fill the registration form first, the database will not
keep their data.
5.1.4 DESIGN SPECIFICATION

Figure 5.1.4.1 Design specification

This design show that Arduino UNO is to connect it to the smartphone


via 1 Sheeld application. Cisco Linksys Router are used to produce network
connection to all the devices. 1 Sheeld as sensorcan detect motion that exerted on
the door then it will send a notification to the user through the 1 Sheeld
application in their smart phone.The server will keep all the database of the
unique ID of the users and it is connected to the router. Servo motor is tied to the
door lock so that the 1 Sheeld can controlled the lock and unlock system. This
servo motor is placed on the Arduino UNO.
5.1.6 SECURITY CONFIGURATION

In our project, the security system is important by providing notification


where the data of the user that already kept in the database and only they
will get the notification.

Figure 5.1.6.1 This shown the database was kept the data from the user and only
they will get the notification.

5.3 TESTING PHASE

5.2.1 TESTING PURPOSE

The primary focus of testing phase is to ensure the projects


outcome are working and functional.
5.2.2 COMPATIBILITY TESTING

5.2.2.1 TEST RISKS/ISSUES

In the case of testing, there are various kinds of risk or issue project
in progress.
i. Network connection
ii. Error in running the program

Item Test Test description


Cisco Linksys router Make sure the port is functioning well.
Cabling Make sure the cable are in good condition

Table 5.2.2.2 Items To Be Tested/ Not Tested

5.2.2.3 TEST APPROACH(S)

In the testing phase, bottom up approach is used which


start from the physical layer and end at the application layer.

Physical Layer
In this layer, all the equipment include cables, laptop, router are
in good condition.

Session Layer
Provides the mechanism for opening, closing and managing a
session between end-user application processes.

Presentation Layer
Responsible for the delivery and
formatting of information to the
application layer for further processing or
display.

Application Layer
Provides services for an application program to ensure that
effective communication with another application program in a
network if possible.
5.2.2.4 TEST REGULATORY/MANDATE CRITERIA

There are no known regulations or mandates that the


system must be tested against.

5.2.2.5 TEST PASS/FAIL CRITERIA

Item to test Test description Remarks Criteria


Cisco Linksys router Make sure the port is Pass
functioning well.
Cabling Make sure the cable are in Pass
good condition
1Sheeld application Make sure the program are Pass
running well
Table 5.2.2.5.1 Testing record

5.2.2.6 TEST ENTRY/EXIT CRITERIA

Item to test Test description Remarks Criteria


XAMPP MYSQL Database XAMPP is used for the Pass
server database purpose.
Table 5.2.2.6.1: Entry and Exit criteria testing
5.2.2.7 TEST DELIVERABLES

Servers side
How to Test Response Time Taken
Go to user page 3 seconds
Create new user 5 seconds
Table 5.2.2.7.1: Time taken for server to complete the actions

Clients side
How to Test Response Time Taken
New User 3 seconds
registration
User login 2 seconds
Table 5.2.2.7.2: Time taken for user to complete the actions

The test can be suspended and resumed under the following criteria.
Suspension Criteria Resumption Criteria
Internet is down Internet is resumed
Power supply outage Power supply is resumed
Table 5.2.2.8 Test suspension/resumption criteria

5.2.2.9 TEST ENVIRONMENTAL/STAFFING/TRAINING


NEEDS
The following elements are required to support overall
testing effort at all levels within the project:

i. Access to the internet services.


ii. Access to the server
iii. In order to provide and proper testing, the following
program need to configure as well in terms of training.
iv. The team members will need training on the installation
and troubleshooting an installed program. This included the
knowledge of the program that consist a code.
v. The team members will need training
on the basis of connect the program with
the apps that we use.

You might also like