Construction Of A Microcontroller Based Security Door Using Smart Card
This research work on “Construction Of A Microcontroller Based Security Door Using Smart Card” is available in PDF/DOC. Click the below button to request or download the complete material
This project shows the construction of a microcontroller based security door using smart card. It is aimed towards programming the microcontroller to control the hardware in sliding door. The system consists of a microcontroller 89S52 which sends a signal to the multiplexers on insertion of the smart card in the card slot. The multiplexers consist of ICS which prompts for a display of the identity of the card user in the liquid crystal display (LCD). The LCD displays the status of the card. On validation of the card, the LCD displays a welcome note to the user and prompts for a pin code. The pin code is being keyed in from the key pad. If confirmed by the program written into the microcontroller access will be granted, otherwise no access, giving the user two more chances to insert the correct smartcard or pin code to it, before final denial of access and alarm. When access is granted, the card sends a 5volt signal to the microcontroller which triggers relay, resulting in the opening of the door.
1.0 INTRODUCTION
Creation of secured access path to offices, homes, hotels, industries etc. has been a successful discovery of man. As a result of this, it has been possible to create door/gates that are well secured using smart card.
Individuals are becoming more aware of the dangers/ risk associated with relying on keys or padlocks to provide security to unauthorized areas of their apartments. Fraudsters/criminals can forge keys or make master keys that will be used to break into such rooms or offices. To eliminate this insecure and old fashioned method, the use of password in doors/gates mechanism evolved. The development of single secret authentication such as password is an effective security control.
A long pass-word of more than ten characters that consists of random letters, numbers and special character can be very difficult to crack. Unfortunately, users cannot always remember the sort of pass-word, partly due to fundamental human limitations.
However, most security guidance recommends at least eight character random password. Because most users cannot commit eight character random password to memory and many attempt to write it down on a piece of paper which can be misplaced or seen by another person, while some users tend to choose easy to
remember passwords such as ‗123‘ or other easily guessed characters. Due to this shortcoming of a single secret authentication, creation of two factor authentication evolved.
Two-factor authentication i.e. System that uses card and pin code for authentication overcame the issues of single secret authentication by the requirement of a second secret. Two-factor authentication uses a combination of the following items; Something that the user has, such as hardware token or a smartcard. Something the user knows, such as personal identification number (pin).
Smartcard and their associated pins are becoming increasingly popular, reliable and cost effective. Two-factor authentication with the right control in place, the user must have the smartcard and know the pin code to gain access to the required apartment. The smartcard requirement significantly reduces the likelihood of unauthorized access to an organization‘s outfit.
Hence to reduce or eliminate the access of unauthorized personnel into unauthorized areas, an automated door/access path is to be constructed. This involves controlling the doors/gates by an artificial means (artificial intelligence). It involves the application of automated system that is incorporated into these doors/gates for efficient and optimum performance. Taking the advantage of the
microcontroller as one of the fastest processing and intelligent instrument, was incorporated into the system and interfaced with smartcard in order to achieve accuracy in processing.
This project was constructed using microcontroller for better creativity and beauty in design. The microcontroller (programmable) has series of instruction fed into it, this help it to accomplish most intelligent task like the human brain. These include detection of card, identification of password, displaying ―access granted‖, ―access denied‖ and opening and closing of door/gate with the aid of the smart card. An electromagnetic relay controls the opening and closing of the door/gate which is moved to and fro by a synchronous motor (DC).
The microcontroller based security door using smart card is designed using the 89S52 microcontroller with appropriate software package. The project is segmented into different module which includes; the mechanical, electrical/electronic and programmable (computerized) part as listed below;
1. The microcontroller module
2. The keypad module
3. Electromagnetic relay
4. The display unit (module)
5. The Smart card module
6. The alarm signal module
7. The sliding door/gate
8. Electric motor
9. The Power Supply Module etc.
The microcontroller: The microcontroller does most of the addressing and instruction execution through its data, address and control busses.
The Keypad: The keypad is used for selection i.e. As an input device to issue instruction to the control processing unit (CPU) of the processor.
The smart card and its associated pin: provide the security system.
The Display Module: the display module shows the output of events that are taking place.
The Electromagnetic Relay: The help of the relay is utilized by the CPU to switch the motor ON which moves or turns causing the gate/door to slide to the defined direction.
The Alarm Unit: The alarm unit produces an alarm signal when a wrong password or pin code is entered more than three times.
The power supply Unit: The power supply unit supplies a voltage for optimum operation of the circuit.
In all, this project demonstrates the integral function of what is obtainable in real system.
1.1 AREAS OF APPLICATION
This project is applicable in areas where unauthorized personnel are restricted from access as can be seen in Offices Hotels Residential quarters Banks Security System Credit or ATM cards Authorization card for pay television Sims for mobile phones
1.2 AIMS AND OBJECTIVES
The major aim of this project is to construct a system that uses two-factor authentication (smart card and their associated pins) to provide security control to
reduce the threat of authorized access to some restricted areas. It also aims at bridging the technological gap between developing and developed countries of the world.
1.3 PROJECT SCOPE
The construction of security door using smart card is based on discrete components like resistors, transformers, Liquid crystal display, transistors, relays, microcontroller, D.C motor, diodes, bridge rectifier, bolt and nuts, aluminum etc. This project design can be mounted on hotels door, office door etc with the incorporation of big dc motor and thyristor that will be able to drive specially constructed sliding gate/door when activated.
Title Page
Approval Page
Dedication
Acknowledgement
Abstract
Table of contents
List of Tables
List of Figures
Glossary of Symbols / Abbreviations
CHAPTER ONE
1.0 INTRODUCTION
1.1 Areas of application
1.2 Aims and Objectives
1.3 Project Scope
CHAPTER TWO
2.0 LITERATURE REVIEW
2.1 Mechanism of Security of access system
2.1.2 Types of security access system
2.1.3 Sound activated lock system
2.1.4 Shadow detector access system
2.1.5 Pressure and pad sensitive security system
2.1.6 Smartcard access system
2.1.7 History
2.2 The components used
2.2.1 The microcontroller
2.2.2 Elements of a microcontroller
2.2.2.1 The CPU
2.2.2.2 Ram
2.2.2.3 Eprom
2.2.2.4 Input / Output –
2.2.3 Relay
2.2.4 Liquid crystal display
2.2.5 Key pad
2.2.6 Active components
2.2.6.1 Transistor
2.2.6.2 Diodes
2.3.0 Passive component
2.3.1 Resistor
2.3.2 Capacitor
2.3.3 Transformer
2.4 Micro switches
CHAPTER THREE
3.0 DESIGN ANALYSIS OF THE ELECTRIC CIRCUIT AND MECHANICAL UNIT
3.1 Hardware design
3.2 Keypad select module
3.3 Sliding door unit
3.4 Alarm signal unit
3.5 Display unit
3.5.1 Display unit calculation
3.6 89S52 microcontroller
3.6.1 Powering the microcontroller
3.6.2 Crystal oscillator unit
3.7 smartcard unit
3.8 Power supply unit
3.8.1 Step down
3.8.2 Rectification Filtering
3.9 synchronous 12v DC motor
3.10 mechanical unit
3.10.1 Fabrication of component parts
3.10.2 Mechanism casing
3.10.3 Door post
3.10.4 The door
3.11 software development
3.11.1 text editor
3.11.2 Translator
3.11.3 Link / locator
3.11.4 Loader
3.11.5 Testing
3.11.6 Debugging
3.12 Development process
3.13 Program entry and editing
3.14 Assembly and linking
3.15 Hexadecimal conversion
3.16 Circuit design diagram
CHAPTER FOUR
4.0 MATERIAL SELECTION, ASSEMBLY PROCESS, COST ANALYSIS, TEST AND RESULT
4.1 Material selection
4.2 Assembly process
4.3 Cost analysis
4.4 Test and Result
CHAPTER FIVE
5.0 DISCUSSION OF RESULTS, CONCLUSION AND RECOMMENDATION
5.1 Discussion of results
5.2 Conclusion
5.3 Recommendation
References