Documente Academic
Documente Profesional
Documente Cultură
EE501 PROJECT
PROPOSAL DOOR SECURITY PASSWORD
CLASS : DET6B
NAMA
ANAS SYAKIR BIN AZMI
MUHD HANI FAISAL
NO. MATRIC
16DET12F1050
16DET12F1065
1.0 INTRODUCTION
1.1 Background Study
EMBEDDED SYSTEM APPLICATIONS covers the basic concept and application of
microcontroller system based on Peripheral Interface Controller (PIC) microcontroller.
Students will learn software and hardware development on microcontroller
development system and understand how to do interfacing with external devices using
suitable internal chip features. Students will be also exposed to the new Microcontroller
Unit (MCU) simulation software.
This project focuses on the basic of developing a simple password door security system
using microcontroller and can be further developed for more advance applications. For
instance, real human sounds may be generated followed by the words showed on LCD
display. Besides, the display also shows the location when someone is not around. The
main purpose of doing this project is to enhance the security system of lecturers room
and also to inform lecturers location to other people when they are not in the room.
1.2 Objective
These are the main purposes of this project:
software.
To develop programming code of the security PIC-based system.
To familiarize with the skills and techniques in combining software and hardware
for a system.
Nowadays, human always rely on electronic devices to make their lives more
convenience. The purpose of this project is to replace door key into a reliable door
security system. This will be the best solution for those who always forget to bring their
house or office room key before left.
This project will focus primarily on circuit construction such as PIC16F877A as the
microcontroller, LED as power indicator, 4x3 keypad for keying in password, ICSP (In
Circuit Serial Programming) for loading program, and push button as input for PIC
microcontroller. Second, this project will also focus on LCD screen display which is used
to display words and password symbols. Finally, relay and buzzer will function as output
for this system which can be applied to any daily application such as door lock. Other
aspects such as the production and marketing of the password door security system
with LCD display will not be covered in this project.
1.5 Methodology
5
Proteus ISIS 6 Professional is used to design the circuit and simulate it. After
completing the circuit assembly and configuration, it is time to verify whether the source
code compiled is virtually accurate or not. When the simulation successfully runs, this
means that the circuit can be constructed and soldered on PCB board. Then, the circuit
will be tested and troubleshooting may necessary taken to overcome those circuitry
problems. After all done without error, the circuit will be packaged and the users may
ready to use.
2.1 Introduction
This chapter discusses about the theory and software that are use in this project. There
are three main theories in this project that are the theories of microcontrollers, Proteus
6.
2.2 Microcontroller
Microcontrollers can be found in any products these days. For example modern
washing machine in our house that consists of timer, button and LED contains a
microcontroller. All modern cars contain microcontroller. Digital electronics knowledge is
essential in order to understand the way microcontroller works. However, with the
existing of latest microcontroller like PIC16F877A from microchip, microcontroller works
by writing programming code using C programming language. Everything becomes so
simple by learning C programming and uses it to program the microcontroller. Here are
the examples of microcontrollers:
a.
b.
c.
d.
e.
f.
g.
PIC 16F870
PIC 16F871
PIC 16F872
PIC 16F873A
PIC 16F874A
PIC 16F876A
PIC 16F877A
the programmer.
RAM (random-access memory) to store "variables."
7
Lead-free; RoHS-compliant.
Operating speed: 20 MHz, 200 ns instruction cycle.
Operating voltage: 4.0-5.5V.
Industrial temperature range (-40 to +85C).
15 Interrupt Sources.
35 single-word instructions.
All single-cycle instructions except for program branches (two-cycle).
2.3 Proteus 6
Proteus contains everything you need to develop, test and virtually prototype your
embedded system designs based around the Microchip Technologies PIC16 series of
8
3.0 HARDWARE
3.1 List of Hardware
This project will require following hardware:
1) 1 x PIC16F877A
2) 1 x PR9 Printed Circuit Board (PCB)
9
3)
4)
5)
6)
7)
1 x 4x3 keypad
1 x 2X16 LCD
1 x relay
1 x 2N2222 transistor
1 x buzzer
1) PIC16F877A
10
PR9 is the board that holds electrical circuits inside a piece of electrical equipment.
3) 4x3 Keypad
Figure above shows the internal structure of the 4x3 keypad used in this project.
Different brand or manufacturer of keypad has different architecture and number of pin.
For this kind of keypad, it consists of 10 pins and the internal connection is illustrated
above. When button 3 is pressed, the pin 3 and pin 5 will short while the others are
open. Pin 8 and pin 9 are only connected to the * key.
11
4) 2X16 LCD
Display words and password symbols. Adjustable word contrast using potential meter
5) Relay
6) 2N2222 transistor
12
The transistor used to amplify the current for the relay is an NPN transistor, 2N2222A.
The pin sequence is as shown in figure above.
7) Buzzer
4.1 Flowchart
BIBLIOGRAPHY
14
15