Professional Documents
Culture Documents
Proposal Final Year Project 2
Proposal Final Year Project 2
11
9.0 Conclusion 12
10.0 Reference 12
1.0 Introduction
In this age of rapid technological advancement, wireless communication is emerging as one
of the more promising and useful forms of data transfer. It is getting more and more difficult to find
a person who has never talked on a cell phone, listened to the radio, or even logged onto wireless
internet. And one new technology that is on its way to becoming another common, everyday use of
RF communication is Radio Frequency Identification (RFID). This is a new technology only about
ten years old, and it has drawn quite an interest to those who need anything from a quick inventory
count to instant price checks. Similar to bar codes, but much more powerful, RFID is a system of
storing information on a tag and having the ability to read it from distances of up to forty feet. This
year, we propose to develop our own RFID system. We are planning to build an RFID Door Lock
System. This project will use the ability of an RFID tag to signal a door to unlock. When one of
these tags gets close enough to communicate with the antenna, the reader will react and unlock the
door if the tag contains the correct information. This system will also have the ability to accept new
tags into the system, and remove them.
A door lock system was designed and developed with an objective to make a system that has
dual main functions compared to the other products in the current market which are, the system does
not only automatically open and close the door for the authorized user but it also can be like a
punch-card system where it has the capability to link the system to the database for a record. The
system consists of ‘passive reader’ and door lock controller. It is an easy system to be handled and
installed. So with this technology, the user does not need to touch the passive tag to the receiver or
reader for the authorization to check in.
2| P a g e
Understanding the fundamentals of RFID system.
Study and design the RFID door lock system DIY kit.
Fabricate the PCB design.
Troubleshoot and compare between the DIY kit and the design that have been fabricated.
Program the PIC by using MPLAB.
Study and build the Database connection.
Our project is basically based from how people entering doors and gates with several ways.
On top of that, this project also based on security that is being used in many places. These are the
conditions that inspired us to make the RFID Door Lock System:
4.2 SmartTag
Built on a non-stop Electronic Toll Collection (ETC) philosophy, SmartTAG
incorporated infra-red communication that communicated with infra-red transceivers
3| P a g e
mounted at the ceilings of toll plazas to allow vehicle drivers to drive through SmartTAG
dedicated lanes and pay toll without stopping. It is designed to process up to 1,200 vehicles
per hour.
4| P a g e
Before we decide to do this RFID Door Lock System project, we saw that most of our
important rooms in KKTM Beranang (theatrettes, lecturer room, office etc) have a loose security
system. For us, this area must be protectively secure from any possibilities of danger. So, in order to
overcome this matter, we have decided to build the RFID Door Lock System. In this project, we
should be able to solve lots of problem and some of the problems are:
i. Burglary in those important rooms.
ii. Carrying a bundle of keys.
iii. Wasting time by searching for the right door key.
iv. Search the last person enter the room.
6.0 Methodology
5| P a g e
Figure 6.1.1: The position of RFID Door Lock System.
Figure 6.1.1 shows the position of RFID Door Lock. This figure also shows how the
reader of the RFID can be activated.
Figure 6.1.2: Flow Chart on how RFID Door Lock System works.
Figure 6.1.2 shows the flow chart on how RFID Door Lock System works. It explains
step by step on how the RFID system works.
6| P a g e
The microcontroller PIC16F877A was programmed by using MPLAB
software. The program includes the code to make LCD display function, to function
the magnetic lock, and how to connect circuit to the RFID reader. We will use PICkit
software to load the program to the PIC.
7| P a g e
Figure 6.2.2: PICkit software
Figure 6.2.2 shows the success of loading a program using PICkit software. We are using this
software because it is compatible with the IC that we are using, that is Microchip.
8| P a g e
Figure 6.3.1: Schematic and Simulation diagram using Proteus
Figure 6.3.1 shows the simulation of the circuit is successful. In the schematic the RFID
reader is replaced with a switch because there is no RFID reader in Proteus. The LCD is showing the
result after the reader is being tagged with a card.
9| P a g e
6.4 Designing the Prototype
The PCB circuit and RFID reader will be planted on our handmade small
door. So the magnetic lock will be attached to the door and side wall. The PCB will
have its own casing to protect the electronic component from damage.
10| P a g e
7.0 Results
Our RFID Door Lock System has already achieved the previous expected results, that it will
upgrade the security system like burglary prevention. The RFID system has completely functioned
as it is expected to be including the lock system and the LED that will display the ID user. These
results had been presented in front of our lecturers and the panels that we had presented during our
final presentation of FYP1.
8.0 Discussion
Refer to our project gant chart, we already start to discuss our project on the first week. We
had discussed some improvement to be made on our project. Start from week 2 until week 5, we did
software part. We use software such as MPLAB, microC PRO, and PICkit2 to program the PIC.
There are some improvements in program code. We program the PIC, so that the PIC can save 1 to
10 users or RFID card ID that can be read by the Wiegand Reader. During this time, we face some
difficulties to program using MPLAB software. So we meet our lecturer to help us to solve the
problem. After that, we start to focus on hardware part. We did new PCB by our own design. We
design by using PROTEUS software. After printed the design layout, we were hatching the PCB. We
face problem when we want to drill the PCB to make many small hole. The PCB was cracked
because we not drill the PCB by the proper way. So we build new PCB.
9.0 Conclusion
11| P a g e
RFID technology has many exciting uses in both home and office environments. Our
project’s goal is to create a secure solution that can be used to increase security and peace of
mind in both. We hope to use our abilities and understanding of the Data Transmission and other
engineering design concepts to make this project manifest. With this project, we have real world
problem that requires the understanding and integration of microcontrollers, web servers, RFIDs,
hardware, and serial communications. With both electrical and electronic engineering’s theory,
we feel as though this project is best suited to require the utilization of all group members’ skills
gained from the classroom, labs, and experience in industry. Our RFID Door Lock System had
already achieved its objectives that it has the capability to link the system to the database for a
record.
10.0 References
1. http://eet.etec.wwu.edu/vanmere/project/docs/Project%20Proposal.pdf
2. http://www.google.com.my/#hl=en&source=hp&q=RFID+door+lock+system&aq=f&aqi=g1
&aql
3. http://www.robotshop.com/cytron-rfid-door-lock-kit-2.html
4. William Stallings, Data and Computer Communication, Pearson Prentice Hall Publication,
International Edition, 7th Edition, 2004.
5. RFID – Wikipedia
11.0 Appendix
12| P a g e
Figure 11.1: PIC datasheet
13| P a g e
Figure 11.3: Schematic diagram using push button switch to deactivate the lock system
14| P a g e
Figure 11.4: Schematic diagram
15| P a g e