Construction Of A Microcontroller Based Security Door Using Smart Card

5 Chapters
|
80 Pages
|
9,221 Words

The construction of a microcontroller-based security door employing smart card technology represents an innovative approach to modern access control systems. This sophisticated system merges electronic components seamlessly to enhance security protocols. The microcontroller serves as the brain of the operation, orchestrating the interaction between the smart card reader and the door mechanism. The smart card, equipped with embedded authentication data, becomes the linchpin in granting or denying access. This integrated solution capitalizes on electronic intelligence, ensuring a robust defense against unauthorized entry. The synergy between the microcontroller and the smart card reader not only heightens security but also streamlines user experience, as individuals can effortlessly gain access with a simple card swipe. The meticulous design and execution of this security door underscore the fusion of cutting-edge technology and practical functionality, establishing it as a formidable paradigm in the domain of modern access control systems.

ABSTRACT

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.

TABLE OF CONTENT

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

CHAPTER ONE

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.

SHARE PROJECT MATERIALS ON:

MORE DESCRIPTION:

Construction Of A Microcontroller Based Security Door Using Smart Card:

A microcontroller based security door using smart card technology can provide added security and convenience for access control. Here’s a step-by-step guide on how to construct such a system using Arduino:

Materials needed:

  1. Arduino Uno or similar microcontroller board
  2. RFID module and smart card
  3. Solenoid lock or electromagnetic lock
  4. LCD display (optional)
  5. Buzzer (optional)
  6. Jumper wires
  7. Breadboard or PCB
  8. Power supply

Step 1: Connect the RFID module to the Arduino board. Most RFID modules have 3 pins: VCC, GND, and DATA. Connect the VCC to 5V pin of the Arduino, GND to GND pin, and DATA to any digital input pin (e.g., pin 2).

Step 2: Connect the solenoid lock to the Arduino board. Solenoid locks typically have 2 wires, red and black. Connect the red wire to the +5V pin of the Arduino and the black wire to a digital output pin (e.g., pin 3).

Step 3: Connect the LCD display (optional). If you choose to use an LCD display for visual feedback, connect it to the Arduino following its specific pin configuration. Usually, LCD displays require connection to power (VCC and GND) and data pins (such as RS, EN, D4, D5, D6, and D7).

Step 4: Connect the buzzer (optional). If you want an audible feedback upon card detection, connect a buzzer to any digital pin of the Arduino board.

Step 5: Upload the Arduino code. Write a program in the Arduino IDE to read the RFID card and control the solenoid lock. The program should include functions to read the RFID tag, compare it with authorized cards, and trigger the lock if a match is found. You can also add LCD and buzzer functions for visual and audible feedback.

Step 6: Power up the system. Connect the Arduino board to a power supply, such as a USB cable connected to a PC or a dedicated power source.

Step 7: Test the system. Present an authorized smart card to the RFID module and observe if the solenoid lock activates as expected. Verify if the LCD display (if included) and the buzzer (if included) provide the appropriate feedback.

Step 8: Install the components in a door. Mount the RFID module and the solenoid lock on the door frame. Ensure that the RFID module can read the cards within close proximity and that the solenoid lock properly engages with the door mechanism.

Step 9: Securely connect the components. Use proper connectors or soldering techniques to secure the jumper cables and ensure good electrical connections.

Step 10: Finalize the installation. Connect the system to a power source and ensure it functions properly after installation. Test different smart cards to verify proper access control.

Remember to follow proper safety precautions when working with electricity and ensure the system meets the necessary security requirements for your specific use case.