Final Proposal Projek

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 25

DEPARTMENT OF ELECTRICAL ENGINEERING

SMART KEY DETECTOR

MUHAMMAD HAFIZ BIN CHE ZAKARIA


06DET20F2037

DET4A

SESSION 1 2022/2023
DECLARATION OF PLAGIARISM AND RIGHTS

Project Title : SMART KEY DETECTOR


Academic session : SESSION 1 2022/2023

1. I am Muhammad Hafiz Bin Che Zakaria with Registration Number


06DET20F2037 is a final semester student of Diploma in Electrical
Engineering - DET, Department of Electrical Engineering, Politeknik Port
Dickson at KM 14, Jalan Pantai, 71050 Si Rusa, Port Dickson, Negeri
Sembilan (after this, it will be referred as ‘the Politeknik’.)

2. I am here declaring that that the project mentioned above and its intellectual
properties in it was my original work / design without taking or imitating any
intellectual property from any other party.

3. I also agree to give up the intellectual property ownership of the ‘Project’ to ‘the
Polytechnic’ to meet the requirements for grant of Diploma in Electrical
Engineering - DET to me.
Here by, I acknowledge all the works done by myself;

……………………………
MUHAMMAD HAFIZ BIN CHE ZAKARIA
(020702101075)

Witness by,

…………………………...
PUAN NIK NORHASANAH BINTI NIK HASSAN

as this project supervisor on 29/11/2022

2
INTRODUCTION

1.1 Background of Study

We create a device dubbed a "smart key detector," which is a keychain that is attached to
any key that we frequently forget or misplace. When we push the trigger button on the
smartphone app (blynk), this device emits a loud sound. We frequently arrive late to work
or class, which is a concern in our society. Our investigation revealed that a couple of
these issues—whether they pertain to house keys or car keys—are caused by the issue of
losing keys or forgetting where they are. When using this tool, all that is required of the
user is opening the smartphone app (blynk) and pressing the trigger button.

1.2 Problem Statement

In daily life, people frequently overlook trivial yet crucial details. forgetting where
they put their house keys or car keys, for instance. Additionally, some persons
frequently experience the issue of dropping the key. Finding it will be a waste of time
and effort as a result. Even worse, if a person is late for work, the employer will
reprimand them and they will undoubtedly be late.

4
1.3 Objectives

The objective of this project are:

1. to investigate that the project produced can give benefit to the public.
2. to construct a facility for people where this tool can save their time and energy
3. to develop the name of port dickson polytechnic in the eyes of the world

1.4 Scope

This complete project will be powered by the Lithium polymer Battery and
AMS117-3.3V is used to regulate 3.3V for the ESP8266-01 board. VCC and
CH_PD pins of ESP8266-01 are connected to the output pin of AMS1117 while we
connect the GND pin to the negative rail of the battery. The positive terminal of
Buzzer is connected to the GPIO2 pin of ESP8266 while the negative terminal of the
buzzer is connected to the GND of ESP8266-01so we are done with the connections.
Now we proceeded with assembling the PCB.

1.5 Significance of Project

i. This study is crucial because it will help people who frequently lose track of where they
place their keys, including house keys, automobile keys, and more. Additionally, it can
assist those who misplaced their keys within a specific radius of locations.

ii. It is important to a person who is forgetful and careless person.


iii. The benefit of this project is give education community and especially in our
country. It is because our project helps people to find their key that went missing
and if they forgot where they put thier keys.
5
CHAPTER 2 LITERATURE REVIEW

2.1 Introduction

The researcher have done research on the literature review on two previous project on
their advantages and disadvantages.

2.2 Previous Research

2.2.1 Smart Key Detector by MUHAMMAD HAMSYARI HAMIZAN BIN MUHAMMAD ZAIDI

The project to be built is "SMART KEY DETECTOR". The RFID (Radio Frequency IDentification) technology is a well-
known wireless application for traceability, logistics, and access control. It became ubiquitous in industry and our daily
life (ticketing, payment, passports, car keys, etc.). RFID is nowadays a standardized technology; its inherent advantages,
which are unitary, identification, wireless communication, and low cost of tags, provide it with decisive practical benefits
that drive new developments in terms of concepts and applications. This trend is largely confirmed by the market forecast,
but also by its implementation in the area of health (smart hospital), assistance to persons, anti-counterfeiting, as well as
by its perspective in terms of new paradigms for distributed ambient intelligence and the Internet of Things. The first part
of this paper briefly reviews the fundamental concepts of the RFID technology, and shows its link with the radio science.
A state of the art including the presentation of current performance and developments is also summarized. The second part
illustrates the impact of RFID to the service of our society with a focus of applications in the field of autonomy and handicap.
Finally, the last part highlights a panorama of perspectives and the future directions of RF applications dedicated to the
service of Humanity. With Bluetooth and GSM (Global System for Mobile communication) module widen their scope and
enhance the application areas to a greater extent. This idea is reinforced by the fact that the GSM infrastructure has been
deployed in many countries and can be used as the communication via to receive signals captured by remote machines.

6
2.2.2 DIY IoT Based Smart Key Finder using ESP8266

Agree it!!! It has happened to all of us. Many times we misplace our keys and go
searching for them everywhere in the house, and after a long search, we end up finding
them with much distress. Now, the obvious solution here is to place your keys in their
right place, but as engineers, what’s the fun in doing that. So, in this tutorial, we are
going to build a simple IoT-based Smart Key Chain just using ESP8266-01, Buzzer,
and Battery. Now in case if you can’t find your keys and you remember that you have
attached an IoT keychain to your keys, so you take out your phone and open Chrome
and open your Keychain Webpage. Then you click on the toggle button, and in
moments, you hear a beep sound coming from your keychain and with this, you can
easily track your keys.

2.3 Summary

All of the project above are used to locate misplaced or lost keys. The Key Detector will
make a sound from the buzzer that was connected with mobile phone.

7
CHAPTER 3 METHODOLOGY

3.1 Introduction

We created a compact, cubical smart key detector. Lithium polymer batteries will be
used to power the entire project, and the ESP8266-01 board's 3.3V supply is controlled
by the AMS117-3.3V. The ESP8266-VCC 01's and CH PD pins are linked to the
AMS1117's output pins, and the GND pin is connected to the battery's negative rail.
While the buzzer's negative terminal is linked to the ESP8266-01 GND, the buzzer's
positive terminal is attached to the ESP8266 GPIO2 pin. Coding is also used for this
project

8
3.2Project Design and Overview
i)As you can see in the image below, the PCB quality is as good as it has always been
when we created our own PCB and ordered our PCB from PCBONLINE. The top
layer and bottom layer were completed with precision, using the correct visa and
track spacing. Below is a diagram showing the board's top and bottom layers. I began
building the PCB after verifying that the footprint and footprint were accurate. The
following image depicts how a fully soldered board appears:

ii.) We made the decision to stick with the current design as the one that will be
implemented in the project that will be created.
. iii) The overall decision involves which design should be used to study a topic.

3.2.1 Block Diagram of the Project

9
3.2.2 Flow Chart of the Project

10
3.2.3 Project Description

In this subtopic, writers should write an explanation all about their project. In this
writing, it has to show the engagement of autonomous learning, ability to solve
problems with excellent new ideas and it should show excellent ability of selflearning.
Project Description is a formally written declaration of the project and its idea and
context to explain the need and problem to be addressed, potentials pitfalls and
challenges, approaches and execution methods, resource estimates, and other relevant
information that explains the need for project start-up and aims to describe the amount
of work planned for implementation. The focus of the project description is put on
creating a clear and correct understanding of the project. Use the latest technology in
information transfer and develop new ideas in project development and problem
solving. Writers should know how to think creatively in developing new projects.

3.3 Project Hardware

we are going to build a simple IoT-based Smart Key Chain just using
ESP8266-01, Buzzer, and Battery.

3.3.1 Schematic Diagram

11
3.3.2 Description of Main Component

ESP8266-01 connect to the devices

AMS1117 3.3V Voltage used to regulate 3.3V for the


ESP8266-01 board.
Regulator

Buzzer produce loud beep sound

Lithium Polymer battery lithium polymer Battery is used to


regulate 3.3V for the ESP8266-01
board

10µf Capacitor charge electric from supply

3.3.2.1 Components 1

ESP8266-01 LITHIUM BATTERY

BUZZER

12
3.3.2.2 Components 2

2× 10µf Capacitor AMS1117 3.3V Voltage Regulator

3.3.3 Circuit Operation

Lithium polymer Battery and AMS117-3.3V is used to regulate 3.3V for the
ESP8266-01 board. VCC and CH_PD pins of ESP8266-01 are connected to the
output pin of AMS1117 while we connect the GND pin to the –ve rail of the
battery. The positive terminal of Buzzer is connected to the GPIO2 pin of
ESP8266 while the negative terminal of the buzzer is connected to the GND of
ESP8266-01. Ok, so we are done with the connections.

13
3.4 Project Software flow
chart of system

3.4.1 Description of Flow Chart

i. smart phone
smart phone have been used to operate this project, first smartphone is used for user
which is have an apps and will be a button in the app to trigger the buzzer using
internet and mobile hotspot .

ii. connection
this smart keychain must have connection between ESP8266-01 and mobile phone .
when the ESP8266-01get the connection, it will function
14
iii. Buzzer
when the ESP have connected to the devices, users should click the button on their
smartphone and then the the buzzer will produce beep sound

3.5 Prototype Development

3.5.1 Product layout

15
3.6 Cost Estimation

CHAPTER 4

EXPECTED RESULT

4.1 Introduction
Our project is anticipated to produce the outcomes depicted in the prototype
diagram above. This smart key detector works as a keychain that is attached
to a key, and it can locate a missing key.

4.2 Expected Result

our expected result is to see this project is successfully produced

16
CHAPTER 5

CONCLUSION

This project requires a cost that affordable to build and execute in every institution. It
is very suitable for people who are careless and forgetful about their important keys.

The researcher has developed a smart key detector. Using the concept of detecting a
lost key in a certain radius. This seems to be robust way to handle a forgetful attitude
and careless problem. This can be very useful to use for those who are always forgot
and lost their ke

APPENDICES

Item should be placed in the Appendices;


Appendix 1: Gantt Chart/Milestone
Appendix 2: Program Coding

17
Appendix 1: Gantt Chart/Milestone

19
Appendix 2: Program Coding
#include <ESP8266WiFi.h>

#include <WiFiClient.h>

#include <ESP8266WebServer.h>

ESP8266WebServer server(80);

const int buz_pin = D2;

char ssid[] = "Galaxy-M20";

char pass[] = "ac312124";

String html_code = "<!DOCTYPE html><html><head><style>.button {border: none;padding: 12px 40px;text-align: center;text-decoration: none;display: inline-block;font-size:
16px;margin: 4px 2px;cursor: pointer;}.button1 {background-color: black; color: white; border: 3px solid #1c1c1b;border-radius: 30px}body {text-align:
center;}</style></head><body><h2>IoT Based Keychain</h2><p>Press the Button to Turn On/Off the Buzzer</p><form action=\"/BUZ\" method=\"POST\"><button class=\"button
button1\">Click Me!</button></form>";

boolean buzzing_state = false;

void handleRoot() {

server.send(200, "text/html", html_code + "Current state: <b>" + buzzing_state);

void handleBUZ() {

buzzing_state = !buzzing_state;

server.sendHeader("Location","/");

server.send(303);

void handleNotFound(){

server.send(404, "text/plain", "404: Not found");

void setup(void){

Serial.begin(115200);

delay(10);

pinMode(buz_pin, OUTPUT);

Serial.print("\n\nConnecting Wifi... ");

WiFi.begin(ssid, pass);

while (WiFi.status() != WL_CONNECTED)

delay(500);

Serial.println("OK!");

Serial.print("IP address: ");

Serial.println(WiFi.localIP());

Serial.println();

server.on("/", HTTP_GET, handleRoot);

server.on("/BUZ", HTTP_POST, handleBUZ);

server.onNotFound(handleNotFound);

server.begin();

Serial.println("HTTP server started\n");

void loop(void){

server.handleClient();

if (buzzing_state == true) {

digitalWrite(buz_pin, HIGH);

delay(400);

yield();

digitalWrite(buz_pin, LOW);

delay(200);

yield();

delay(400);

yield();
20
REFERENCES

1. https://youtu.be/XHxCPSFwA7s
2. https://circuitdigest.com/microcontroller-projects/diy-iot-based-key-chain-finder-using-esp8266
3. http://mycircuitvision.com/a-simple-iot-based-smart-key-chain/
4. http://repository.psa.edu.my/bitstream/123456789/2152/1/SMART%20KEY%20DETECTOR.pd
f
RUBRIC FINAL PROPOSAL REPORT

1. Managerial and Entrepreneurial Skills Rubric

Department of Electrical Engineering


Polytechnic Port Dickson
Managerial and Entrepreneurial skills - DEE40082
Student name:MUHAMMAD HAFIZ BIN CHE ZAKARIA Academic Session:1 2022/2023
Registration No.:06DET20F2037 Class:DET4A
CLO/PLO: CLO4/PLO11/CLS4 Project supervisor:PUAN NIK NORHASANA BINTI NIK HASSAN
Very Weak Weak Fair Good Very Good Score
Attribute Sub attribute
(1) (2) (3) (4) (5) (5)
No attempt to complete work Rarely completes work on time. Occasionally completes work Completes work on time by Completes tasks ahead of
Time on time. Not able to manage Not able to manage time well. on time. Tries to manage time. taking advantages of the schedule time to complete the
Managerial
Management time. provided and by using time work.
management skills
No attempt to make decision. Tries to make decision by satisfactory attempts to make Able to make a good Able to make a very good
Do not undrstand the situation understanding the situation. decisions and situation and decision based on good decision based on excellent
Managerial Decision making and relate with options that Decision made is based on limited available options. understanding of the understanding of the situation
are availble. understanding of the situation and situation and avaiable and avaiable options
available options. options
Deliver ideas undearly, Deliver ideas with minimal clarity, Deliver idea with satisfactory Deliver ideas with good Deliver ideas with excellent
Organization of
Managerial looselyand disorganized. comprehensiveness and clarity, comprehensiveness clarity comprehensiveness clarity comprehensiveness and
ideas
organization. and organization. and organization. organization.
Not able to delegate the Able to delegate minimal project Able to delegate good project Able to delegate good Able to delegate good project
Delegation of project work and project work and project description. work and project description project work and project work and project description
Managerial
work description. but requires improvements description clearly in achieving the project
objectives
No entreprenuerial idea for Has unclear entreprenuerial idea for Business idea is clear but Business idea is clear and Able to mobilise the idea to
Entrprenuerial Entreprenueria value adding / solving value adding / solving customer does not fulfil the realistic fulfil the customer needs become oppurtunity according
Skills l Opportunity customer needs. needs and is not relevent to customer needs to the business strategy and
customer needs. fulfils the customer needs
Entrprenuerial Financial Not able to identify basic Able to identify basic financial Able to analyse financial and Able to retrieve financial Able to develop a finacial plan
Skills Management financial components and components and sources. sources information and costing and costing
sources.
Total

21
Total Actual (10)

2.Information Management and Lifelong Learning Skills Rubrics

Department of Electrical Engineering


Polytechnic Port Dickson
Information Management and Lifelong Learning Skills Rubrics
Academic Session:1 2022/2023
Student name: MUHAMMAD HAFIZ BIN CHE ZAKARIA Class:DET4A
Registration No.:06DET20F2037 Project supervisor:PUAN NIK NORHASANAH BINTI NIK HASSAN
CLO/PLO: CLO5/PLO12/CLS4
Very Weak Weak Fair Good Very Good Score
Attribute Sub attribute (1) (2) (3) (4) (5) (5)

Minimally fulfil the


Fail to write any of Partially fulfil the required Exceed the required (10)
required number of Fulfil the required (8-10)
Information Retrieval List of references/ number of references/ number of
references/ number of references/
and Management references bibliography / data bibliography / data sheet references/ bibliography
bibliography / data (5 - 7 references) bibliography / data sheet
sheet / data sheet
sheet (less than 5)
No approciateness and Limited approciateness Sufficient approciateness Good approciateness and Excellent
Information Retrieval revevance of and revevance of and revevance of revevance of references approciateness and
Relevence
and Management references references references revevance of references

Limited retrieve related Sufficient to retrieve Good to retrieve related Excellent to retrieve
Information Retrieval Not able to retrieve
Optimisation information from related information from information from related information from
and Management related information
references references references references
Information Retrieval Not able to curate for Limited to curation for Satisfactory to curation for Good to curation for Excellent to curation for
Curation
and Management required information required information required information required information required information
Information Retrieval Least articulation of Low articulation of Able articulation of Sufficiently articulation of High ability articulation
and Management Articulation references in writing references in writing references in writing references in writing of references in writing
Not able to use a
Information Retrieval Major mistake in Partial mistake in Minor mistake in Corrector no mistake in
References correct references
and Management references format references format references format references format
format

22
Least attempt to
Minimal engage in Putting effort to engage in Consistently engage in Highly engage in
Autonomous Learning Engagement engage in autonomous
autonomous learning autonomous learning autonomous learning autonomous learning
learning
No new idea to solve Able to solve problems Able to solve problems Able to solve problems Able to solve problems
Autonomous Learning New Idea
problems with weak new ideas with moderate new ideas with good new ideas with excellent new ideas
Limited ability to Sufficient ability to Excellent ability to
Autonomous Learning Self-Learning Not able to self-learn Good ability to self-learn
selflearn selflearn selflearn
Total

Total Actual (10)

3.Written Communication Rubrics

Department of Electrical Engineering Polytechnic


Port Dickson

23
Written Communication Rubric - DEE40082

Student name: MUHAMMAD HAFIZ BIN CHE ZAKARIA


Registration No.: 06DET20F2037 Academic Session:1 2022/2023
CLO6/PLO10/CLS3 Class:DET4A
CLO/PLO: b
Project supervisor:PUAN NIK NORHASANAH BINTI NIK HASSAN

Very Weak Weak Fair Good Very Good Score


Attribute Sub attribute
(1) (2) (3) (4) (5) (5)
Not able to Able to write ideas with Able to write ideas Able to write ideas Able to write ideas
Written Clearly written write idea limited clarity and fairly clearly and clearly with excellent
5
Communication academic discourse clearly require further require minor clarity
improvements improvements
Not able to Able to write ideas with Able to write ideas Able to write ideas Able to write ideas
Written Coherently written write idea limited coherences and fairly coherence and coherently with excellent
require further 4
Communication academic discourse coherently require minor coherently
improvements improvements
Not able to Able to write ideas with Able to write ideas Able to write ideas Excellent ability to
Written Systematic written write idea limited clarity and fairly systematically systematically write ideas
require further 5
Communication academic discourse systematically but require minor systematically
improvements improvements
Total 14

9.33
Total Actual (10)

24
4. Engineer and Social Responsibility Rubrics

Department of Electrical Engineering


Polytechnic Port Dickson
Engineer & Social Responsibility Rubrics - DEE40082 PROJECT 1
Student name: MUHAMMAD HAFIZ BIN CHE ZAKARIA Class: DET4A
Registration No:06DET20F2037 Project supervisor: PUAN NIK NORHASANAH BINTI NIK HASSAN
CLO/PLO: CLO7/PLO6/CLS3b

Very Weak Weak Fair Good Very Good Score


Attribute Sub attribute
(1) (2) (3) (4) (5) (5)
Lack of initiative Take the initiative Satisfactorily 1. Responsible and always 1. Very responsible
and is not to be engaged in responsible and takethe initiative to be engaged andalways take the
interested to be the community taking initiative to be in the community. initiative to
engaged in the when requested engaged in the 2. Able to act as an agent be engaged in the
community community ofchange (such as maintaining, community.
Social Contribution to improving, stabilizing moral 2. Able to play an
Responsibility the society values and norms) in the activerole as an agent of
community change (such as
maintaining, improving,
stabilizing moral values
and norms) in the
community
Not concern and Little concern and Able to generate idea Able to generate idea regarding Able to generate excellent
cannot give idea cannot give idea regarding the the application of the idea regarding the
Rational attitude regarding the regarding the application of the device/project for the benefit application of the
Social towards a device/project device/project device/project for community device/project for the
Responsibility multicultural application for application for the the benefit benefit community
society the benefit benefit
community with
community community
lecturer guidance
Total (10)

Academic Session:1 2022/2023

25

You might also like