You are on page 1of 29

DEPARTMENT OF INFORMATION AND COMMUNICATION

TECHNOLOGY

DIPLOMA IN INFORMATION TECHNOLOGY


(DIGITAL TECHNOLOGY)

SESSION SEMESTER PENDEK 2021

Smart Noti-Box

GROUP MEMBERS

NAME REGISTRATION NO.

HAZIRAH BINTI MOHAMED 17DDT19F1048


FARAH DHABITAH BINTI AHMAD 17DDT19F1050
NURUL AFIQAH BINTI ROSLI 17DDT19F1090

SUPERVISOR NAME: EN MUHAMMAD FAUZI BIN ABDULLAH


ACKNOWLEDGEMENT

Thanks to Allah SWT and blessings on the great Prophet Muhammad SAW, we were
finally able to complete the final year project perfectly within 7 weeks without any
difficult problems to solve.
We would also like to thank all parties involved directly or indirectly, especially our
project supervisor En Muhammad Fauzi Bin Abdullah who has provided a lot of
guidance, advice, encouragement and constructive criticism until we successfully
completed the final year project report.
Not to be forgotten are the friends and family members who helped a lot in terms of
views and financial as well as emotional support in completing this final year project
assignment.
Finally, with full gratitude to Allah SWT, our final year project is complete. We
hope, this project report can be a reference or guide for Sultan Idris Shah Polytechnic
and others in the future. Assalamualaikum.

ii
ABSTRACT

During the Covid-19 pandemic the use of technology was increasingly used.
Therefore, the demand for the Internet of Things also continues to increase. There are
a large number of mailboxes designed with poor system efficiency and usually suffer
from some possible shortcomings such as manually checking mail by the user. For
each house is given a mailbox for any letters. Unfortunately, the current mailbox
system is unable to notify and notify home owners about any letters or items received.
The disadvantage of the current system is that occupants have to check their mailboxes
daily. However, due to routine commitments or unforeseen circumstances, mailboxes
may not be inspected daily. In addition, to avoid face to face with outsiders to receive
letters or goods in the Covid-19 era. The main purpose of this project is to improve the
existing mailbox system. and can help make it easier for consumers to receive letters
or items during the covid-19 pandemic. Therefore, to meet this need, the project named
Smart Noti-Box was introduced to make mailboxes more efficient.

iii
No. Content Pages

1 Acknowledgement ii
Abstract iii
1.0 Project Plan
1.1 Introduction 1
1.2 Problem Statement 2
1.3 Objective of Project 2
1.4 Scope of Project 2
1.5 Project Significant 3
1.6 Literature Review 3-4
1.7 Methodology of Project 5-6
1.8 Project Gantt Chart

2.0 Requirement Specifications


2.1 Functional Requirement 8
2.2 Non-Functional Requirement 8
2.3 Hardware and Software Requirement 9
2.4 System Configuration 10-12
2.5 Security Requirement / Exceptional Handling 13

3.0 Final Design


3.1 Logical Design 14-17
3.2 Physical Design 18-19

4.0 Test Description and Result


4.1 Unit Testing Plan 20-21
4.2 Integration Testing Plan 22

5.0 Discussions
5.1 Advantages of The Project 23
5.2 Limitation of The Project 23

6.0 Conclusion and Recommendations


6.1 Conclusion 24
6.2 Recommendations 24
7.0 References 25

iv
1.0 PROJECT PLAN

1.1 INTRODUCTION

In this era of the Covid-19 pandemic, increasingly limited movement resulted


in only a few people being allowed to deal and buy necessities. With this they prefer
to buy online to avoid a lot of movement and at the same time be able to avoid the
transmission of Covid-19 infection.

In addition, the mailbox system is unable to notify home occupants of home


any items or mail received. Therefore, occupants should check their mailboxes every
day. And there are also occupants who are less alert to the mail received, let alone the
mail is an important mail. In addition, due to routine commitments or unforeseen
circumstances faced by home occupants, mailbox may not be checked daily and pick
-up items with limited time.

Due to this problem, we chose to make a more modern Smart Noti-Box at the
house of Puan Aminah Binti Mohd, located at No.5 Jalan Meranti 1, Taman Malawati
Jaya, Kuala Selangor. With this Smart Noti-Box, Puan Aminah can find out the items
received through a short message sent by this Smart Noti-Box when the items and
mails arrive. With this product as well, can help users be more alert to important items
and mails in the Smart Noti-Box.

1
1.2 PROBLEM STATEMENT

i. Face-to-face encounters, at the time of the COVID-19 pandemic to take items.


ii. Sometimes routine commitments or unforeseen circumstances faced by home
occupants to pick up items.
iii. The occupants of the house did not realize that they might receive important mails.

1.3 OBJECTIVE OF PROJECT

An objective is something that have been plan to achieve. In other word it isthe
main goal of the project. There are 3 main objectives for this project.

i. To reduce human transmission during the Covid-19 pandemic


ii. To facilitate the daily routine commitment of the occupants of the house to
pick up items or letters.
iii. To reduce the energy consumption and time of the occupants in the retrieval of item and
mail outside the home.
iv. To warn the occupants if the Smart Noti-Box is filled by the sender.

1.4 Scope of Project

1.4.1 User Scope:

i. To obtain data information in advance.


ii. Make it easy for users to know that the item and mail has arrived.

1.4.2 System Scope:

i. Provides a database for users to receive data information.


ii. Provide an entry and exit signal of an item or mail.

2
1.5 Project Significant

i. This project helps solve the problems faced by the occupants with the
availability of Smart Noti-Box for each house.
ii. This project prevents the theft of mails or items because there is a sensor in
the Smart Noti-Box that notifies the owner of the Smart Noti-Box if there are
items in it or not.
iii. The light sensor installed in the Smart Noti-Box can also show a light signal
if there is an item or no item in the Smart Noti-Box.

1.6 Literature Review

1.6.1 I-BOX (INTELLIGENT MAILBOX)


 From Politeknik Sultan Salahuddin Abdul Aziz Shah
 Author; Muhammad Asyreen, Ernie Rosnizar, Alya Afifa.
 Developed on July 2019.
 User; Residents around Malaysia especially around Shah Alam, Selangor

1.6.2 Smart Pigeonhole System


 From Universiti Malaysia Pahang
 Author; Nazariah Binti Abdullah
 Developed on 2015
 User; User

3
I-BOX (INTELLIGENT Smart Pigeonhole System
MAILBOX)
Objective  The alert notification  to improve the manual
helps users to be more checking system to the
alert and works as a digital way by sending
reminder to remind users notification about the mail
regularly on checking arrived to the user through
their mailbox. a short messaging system.

Features  Product has an application  Long distance


and it pollution free and communication is not a
also environment friendly. problem if the device is
provided with enough
power
 Monitoring via apps.

Strengths  Reminded more often the  it will save time for the
users about the presence consumers and help them
of letter. track their deliveries
 simple to install

Weakness  Lost item and letters.  It for the mail alerts only.
 Lack of space to place It will not function for
items. parcel detection.

Table 1.1 shows the comparison between two projects

4
1.7 Methodologhy Of Project

Figure 1.2 Waterfall Methodology Model

1.7.1 Requirement Analysis


In this phase, group members will meet with the client to identify the needs
of the project with the problems it faces. All possible requirements will be
collected and analyzed by the team. Needs are documented during this phase
and explanations can be sought.

1.7.2 System Design


From the requirements specification in the previous phase it was identified
to provide system and software design. The design of this system assists in
determining the hardware and system requirements and assists in
determining the overall architecture of the system.

1.7.3 Implementation
The implementation phase is when the programmer assimilates the
requirements and specifications from the previous phase and generates the
actual code. With input from the system design, the system is first developed
in small programs called units, which are consolidated in the next phase.
Each unit is developed and tested for its function, which is called a Testing
Unit.

5
1.7.4 Testing
In this phase, there is a process of analyzing and testing the system on a
regular basis. All units developed in the implementation phase are
consolidated into the system after testing of each unit. Designed software,
needs to go through continuous software testing to find out whether there are
deficiencies or faults. Testing is done so that the client does not encounter
problems during software installation.

1.7.5 Deployment
The deployment phase is Using the system in the user environment. Once
the functional and non -functional tests are run; these products are used in
the customer environment or launched to the market.

1.7.6 Maintenance
In this maintenance phase, will involve the modification of individual
systems or components to change attributes or improve performance. These
modifications arise either due to a change request initiated by the customer,
or a defect discovered during live system use. Customers are given periodic
maintenance and support for the software developed.

6
1.8 Project Gantt Chart

Gantt chart is an outline all of the tasks involved in a project, and their order, shown
against a timescale. This gives us an instant overview of a project, its associated tasks,
and when these need to be finished.

Figure 1.3 Gantt Chart

7
2.0 REQUIREMENT SPECIFICATION

2.1 FUNCTIONAL REQUIREMENT

Functional requirement is the functional behavior of a particular system when certain


conditions are met. For example, the system will send a notification when there is an
item entered in the smart noti-box. So this is what our system needs to do.

2.1.1 User Requirement

i. Users can get message notifications through the Blynk app when
Smart Noti-Box items or mails are inserted.
ii. Users can also find out by way of LED lights if there are items or
mails in the Smart Noti-Box.

2.1.2 Device Requirement

i. This device can detect items and mails.

ii. When items and mail approach the IR line tracking module, the
Blynk. App will send notifications to user.

2.2 NON-FUNCTIONAL REQUIREMENT

2.2.1 Performance
 Our product and applications will depend on the user's internet
connection, if there is no internet connection then its performance will
fail to send information to the user.

2.2.2 Security
 Users need to access the ‘Blynk’ application. With ‘Blynk’ will send a
message from the Smart Noti-Box to the user.

8
2.3 HARDWARE AND SOFTWARE REQUIREMENT

Hardware Requirement

No. Hardware Specification Unit Price


1. Maker UNO  Arduino IDE 1 RM 33.00
 ATmega328P
 32 KB
2. WiFi Shield  Arduino 1 RM 49.00
 ESP-WROOM-
02
 Cytron
ESP8266
3. IR Line Tracking Module  Arduino 1 RM 3.80

4. Jumper Wire  20cm long 2 RM 4.00


jumper wires
5. Samsung S20  Android 11
 128 GB, 4 1 RM 0.00
RAM
Total RM 89.80
Table 1.1 Hardware Requirement

Software Requirement

No. Software Description Price


1. Microsoft Office  Use for generating
project slide, report, and -
Gantt chart.
2. Blynk  Use to get notification -

3. Arduino IDE  To link the coding with


the project -

Total RM 0.00
Table 1.2 Software Requirement

9
2.4 SYSTEM CONFIGURATION

Arduino IDE is an open-source software, designed by Arduino.cc and mainly


used for writing, compiling & uploading code to almost all Arduino Modules.
Therefore, this Smart Noti-Box uses programming that controls the movement of
each component found in the Smart Noti-Box with sensors. This programming is
also connected to the Blynk app because if there is no item programming
connection in the Smart Noti-Box, it cannot be notified via notifications.

#define BLYNK_PRINT Serial


#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>

char auth[] = "WPiocsgAZ0c-M_e4qXybTCNn-8f7R27K";


char ssid[] = "Kuzurina_2.4G@unifi";
char pass[] = "Afiqah1703";

#include <SoftwareSerial.h>
SoftwareSerial EspSerial(2, 3); // RX, TX

#define ESP8266_BAUD 9600

ESP8266 wifi(&EspSerial);

#define sensorPin 5 // Input pin for the IR sensor

int count = 0; // Mail counter


String message;
boolean prevState = false;
int flagLED = 0;

WidgetLED led1(V2);

BLYNK_WRITE(V1) {
int buttonState = param.asInt();
if (buttonState == 1) {
count = 0;
}
}

void setup()
{
Serial.begin(9600);
delay(10);

// Set ESP8266 baud rate


EspSerial.begin(ESP8266_BAUD);
delay(10);

10
pinMode(sensorPin, INPUT);

Blynk.begin(auth, wifi, ssid, pass);


}

void loop()
{
Blynk.run();

int state = digitalRead(sensorPin);

if (state == LOW && prevState == true) {


count++;
message = "You got " + String(count) + " item ";
Serial.println(message);
Blynk.notify(message);
Blynk.virtualWrite(V3,count);
}
prevState = state;

if (count > 0 && flagLED == 0) {


led1.on();
flagLED = 1;
} else if (count == 0 && flagLED == 1) {
Blynk.virtualWrite(V3,count);
led1.off();
flagLED = 0;
}
}

11
In addition, we use the Blynk app which is easy to control with a smartphone. The
function of the Blynk app is to receive an alert if there is a letter or item in the Smart
Noti-Box. When a letter or item is entered into the Smart Noti-Box, the IR Line
Tracking Module detects the presence and amount of the letter, and the Blynk app
notifies the user on the presence of the letter or item via notification and the amount
received. Thus the user will know that there is a letter or item in the Smart Noti-Box.

Figure 1.4 Blynk Apps Figure 1.5 Notifications that


appears on user phone screen

Figure 1.6 Blynk app shows Figure 1.7 ‘Blynk’ apps show
total item and when the item “0” inserted item
insert, LED is on

12
2.5 SECURITY REQUIREMENT

For project security requirements, we have focused on Smart Noti-Box. In this


box we put a key on the door to take the items or mails in the box. The key on the door
to prevent theft or loss of items or mails and from being taken by unknown people.

i. Access Control
Users need to register their account on the ‘Blynk’ app and log in to enter Blynk.
Only owner accounts can access.

ii. Hardware
Users can place a lock on the Smart Noti-box door to prevent items or mails from
being stolen or lost.

13
3.0 FINAL DESIGN

3.1 LOGICAL DESIGN

Figure 1.8: Logical Design

14
Figure 1.9: Flowchart

15
Figure 1.10: Entity Relationship Diagram ERD

16
Smart Noti-Box

Figure 1.11: use case for Smart Noti-Box

A user perspective

Figure 1.12: use case for user

17
3.2 PHYSICAL DESIGN

Figure 1.13: components

Figure 1.14: components with label

18
Figure 1.15: Smart Noti-Box inside the box

Figure 1.16: Smart Noti-Box

19
4.0 Test Description and Result

4.1 Unit Testing Plan

Testing Objective: To ensure the user can access the Blynk Application.

Unit Testing Plan (UTP)


No. Test Case Test Procedure Pre- Expected Tester Result
Name condition Result (Pass/Failure)
1. Create User need to User will Afiqah Pass
account create an account have access
‘Blynk’ in the ‘Blynk’ the account
app by entering -
an email address
and password

2. Login User must to User will Afiqah Pass


‘Blynk’ login the ‘Blynk’ have register
using the email the account
address and -
password that
have been
registered

Table 1.4: Unit Testing Plan (UTP) for Blynk Application

20
Testing Objective: To ensure all components are successfully connected.

Unit Testing Plan (UTP)


No. Test Case Test Procedure Pre- Expected Tester Result
Name condition Result (Pass/Fail
ure)
1. Power The Power Bank None The Power Afiqah Pass
Bank will be supplies Bank can
power support
power to
IoT device

2. Maker Uno Maker Uno None succeeded to Afiqah Pass


joined with joined
ESP to
connection

3. ESP8266 The ESP8266 WiFi Link with The ESP8266 Afiqah Pass
WiFi Shield Shield Blynk WiFi Shield
joined with will show
Maker Uno and connection with
will notify Blynk
connection via
the “Blynk”
application
4. IR Line The IR Line Link with Get a Afiqah Pass
Tracking Tracking Module ESP and notification and
Module is sensor who Blynk LED light will
detect the objects come on
and will notify
via the “Blynk”
application

Table 1.5: Unit Testing Plan (UTP) for All Components

21
4.2 INTEGRATION TESTING PLAN

Testing Objective: To ensure user the Smart Noti-Box can provide users with
notifications and LED lights on the Blynk application.

Integration Testing Plan (ITP)


No. Test Case Test Procedure Pre- Expected Tester Result
Name condition Result (Pass/Failure)
6. Get the Link between Successfully Afiqah Pass
notification Puts the parcel in Blynk and obtained
s from the Smart Noti- Smart Noti- notification
Blynk Box Box

7. Get the Link between Successfully Afiqah Pass


notification Blynk and obtained
s from Puts the mail in Smart Noti- notification
Blynk the Smart Noti- Box
Box

8. LED is on Puts the parcel in Link between Successful Afiqah Pass


from Blynk the Smart Noti- Blynk and lighting
Box Smart Noti-
Box

9. LED is on Puts the mail in Link between Successful Afiqah Pass


from Blynk the Smart Noti- Blynk and lighting
Box Smart Noti-
Box

Table 1.6: Integration Testing Plan (ITP)

22
5.0 DISCUSSIONS

In this part, we have concluded some advantages and limitations for our project
based on all gathered data and performed test. By doing these comparisons, we can
prepare future maintenance plan for our project to be upgrade or change soon.

5.1 ADVANTAGE OF THE PROJECT

There are several advantages to the project we are developing:


i. This Smart Noti-Box can make it easier for customers.
ii. Has a connection with simple and user-friendly applications for users to use.
iii. This Smart Noti-Box allows users to know the items or mails received through
the Blynk application.
iv. Customers no longer have to worry about losing items or mails.
v. Able to avoid face-to-face contact with the sender to reduce the transmission
of COVID-19 infection.

5.2 LIMITATION OF THE PROJECT


There were certain limitations in undertaking this project. As we understand the
limitations in our project, they have been overshadowed by the benefits of the study.

i. In the notification section, if the user presses the 'ok' button, the automatic
notification disappears and no data is saved.
ii. The possibility of theft and loss of items or mails occurs due to poor security.

23
6.0 CONCLUSION AND RECOMMENDATIONS

6.1 Conclusion

In conclusion, this is Smart Noti-Box designed for every home to be a storage place
for item and items sent. With this Smart Noti-Box will send notifications to mobile
phones an application that will remind users about their item or items. The Smart
Noti-Box will work with a good Wi-Fi connection and will send a notification via the
Blynk app. Indirectly, this product can help users get item and items that have
arrived.

6.2 Recommendations

i. Upgrade mailbox to be safe to use and durable.


ii. Add more security features such as installing close circuit television (CCTV)
cameras in mailboxes to monitor activity.

24
7.0 REFERENCE

Journal

 Systems Analysis and Design, Ninth Edition Gary B. Shelly,


Harry J. Rosenblatt.

Website

 https://www.projectmanager.com/waterfall-methodology
 http://umpir.ump.edu.my/id/eprint/12129/1/FSKKP%20-
%20NAZARIAH%20ABDULLAH%20(CD9144).pd
 https://tutorial.cytron.io/2020/03/06/mailbox-notification-using-
blynk-app/

Video Streaming
 Mailbox with Notification Using Maker UNO and Blynk App [Video file].
Retrieved from https://www.youtube.com/watch?v=WcuKttvwkDg

25

You might also like