SlideShare a Scribd company logo
1
Table of Contents
ACKNOWLEDGEMENT.......................................................................................................0
ABSTRACT...........................................................................................................................0.5
CHAPTER1: INTRODUCTION .............................................................................................1
1.1 Objectives.......................................................................................................................1
CHAPTER 2: METHODOLOGY............................................................................................2
2.1 Circuit Diagram..............................................................................................................2
2.2 Working Principle ..........................................................................................................3
CHAPTER 3: RESULTS AND ANALYSIS...........................................................................4
3.1 Description of Hardware .................................................................................................4
3.2 Codes...............................................................................................................................7
3.3 Result and Testing………………………………………………………………………10
CHAPTER 5: CONCLUSION.................................................................................................11
1.2 Applications and scope of project ..................................................................................11
1.3Conclusion.......................................................................................................................12
1.4 limitations........................................................................................................................13
5.2 Appendices ......................................................................................................................14
BIBLIOGRAPHY / REFERENCES........................................................................................15
2
INTRODUCTION
Password Based Access Control System using Microcontroller is used in the places where we need
more security. It can also used to secure doors, cell phones, computers and other equipments.
The system comprises of a push button keypad connected to the 8 bit microcontroller ATmega328P.
This is one of the popular Microcontrollers. It has only 20 pins and there are 15 input/output lines. The
microcontroller has a flash memory of 32Kbytes, 1 Kbyte EEPROM and 2 Kbytes RAM. The
microcontroller continuously monitors the keypad and if somebody enters a password it will check the
entered password with the password stored in the memory and if they match then the microcontroller
will switch on the corresponding device.
The system will allow access to the person who knows the password and it will not allow access to
unauthorized people. The system has an advanced option that it will be lock automatically after 30
seconds of the door is opened.
OBJECTIVE:
The Main objective of this project is to modernize the advanced security system using microcontroller
as well as the automaticity of the locking system is the main focusing factor of this project.
3
WORKING PRINCIPLE
The authentication method used here is a four digit numeric code which is entered through the keypad.
The code entered this way is then compared to the password stored in memory. The microcontroller
continuously monitors the keypad for a match with the stored password. As and when there is a match
the output line is enabled which can then be used to trigger an LED. A message is displayed if the
entered code doesn’t match the stored password. An LCD display is also used to display whether the
entered password is correct or not and to know that access has been granted or not.
Fig. BLOCK DIAGRAM
When the circuit is switched on a message on the LCD prompts us to ‘enter password’. The entered
code is read from the keypad and checked against the original password stored in the microcontroller
memory. If it is a match an LED is switched ON and if it is not a match, a message on the LCD
prompts us to re-enter the password. The whole procedure is then repeated.
The Microcontroller asks the user to define a four-digit password through the Keypad. Once a
password is set and later somebody tries to unlock the device, the Microcontroller reads the keypad
entry and compares the four digit password with the predefined password and if it is equal then the
LED connected to the lock output key glows and if we enter a wrong password an alarm will be
switched ON.
The Password is stored in the RAM and the password can be changed using the same keypad. The
power supply section is very important. It should deliver constant output regulated power supply for
successful working of the project. Regulated 5 volt supply is taken through the USB port of a
laptop/desktop.
4
Description of Hardware
Resistor
The resistor is an electronic component that has electrical friction. This friction opposes the flow of
electrons and thus reduces the voltage (pressure) placed on other electronic components by restricting
the amount of current that can pass through it.
Capacitor
A capacitor stores electrical energy when charged by a DC source. It can pass alternating current (AC),
but blocks direct current (DC) except for a very short charging current, called transient current.
Inductor
The Inductor prevents current from making any sudden changes by producing large opposing voltages.
Magnetic coupling can be used to transform voltages and currents, but power must Remains the same.
Coils and transformers can be used to select frequencies. Is an electronic component which Blocks
Alternating Current and Passes Direct Current. Current in an Inductor cannot change instantly and
Quick Current change produces large Voltage.
Diode
Diode allows current to pass in only one direction. A pn-junction diode is formed by joining together
n-type and p-type silicon. When the anode and cathode of a pn-junction diode are connected to
external voltage Such that the potential at anode is higher than the potential at cathode, the diode is
said to be forward biased.
In a forward-biased diode current is allowed to flow through the device.
5
Transistor
A Three lead semiconductor device that acts as an electrically controlled switch, or a current amplifier.
NPN:
A small input current and a positive voltage applied to its base (with VB>VE)
Allows a large current to flow from collector to emitter.
PNP:
A small output current and a negative voltage to its base (with VB<VE) allows a
Much larger current to flow from emitter to collector.
8 Bit MCU (ATmega8L)
8 Bit Microcontroller unit ATmega328P is one of the popular Microcontrollers. It has only 20 pins and
there are 15 input/output lines. The microcontroller has a flash memory of 32Kbytes, 1 Kbyte
EEPROM and 2 Kbytes RAM.
Voltage Regulator
A voltage regulator is designed to automatically maintain a constant voltage level. A voltage regulator may be a
simple "feed-forward" design or may include negative feedback control loops. It may use an electromechanical
mechanism, or electronic components.
Relay
A relay is usually an electromechanical device that is actuated by an electrical current. The current
flowing in one circuit causes the opening or closing of another. Relays are used in a wide variety of
applications throughout industry, such as in telephone exchanges, digital computers and automation
systems. There are three basic functions of a relay they are On/Off Control, Limit Control and Logic
Operation.
6
PRESET
Preset resistors are used in circuits when it is necessary to alter the resistance. Dark/light and
temperature sensors usually have these components as the preset resistor allows the circuit to be made
more or less sensitive (they can be turned up or down - reducing or increasing resistance).
16×2 LCD Modules
LCD (Liquid Crystal Display) screen is an electronic display module and find a wide range of
applications. A 16x2 LCD display is very basic module and is very commonly used in various devices
and circuits.
A 16x2 LCD means it can display 16 characters per line and there are 2 such lines. In this LCD each
character is displayed in 5x7 pixel matrix. This LCD has two registers, namely, Command and Data.
The command register stores the command instructions given to the LCD. A command is an
instruction given to LCD to do a predefined task like initializing it, clearing its screen, setting the
cursor position, controlling display etc. The data register stores the data to be displayed on the LCD.
The data is the ASCII value of the character to be displayed on the LCD.
CONNECTOR AND PCB BOARD
Connectors are those devices that allow electrically operated equipment to be connected to the primary
alternating current power supply.
A printed circuit board (PCB) mechanically supports and electrically connects electronic components
using conductive tracks, pads and other features etched from copper sheets laminated onto a non-
conductive substrate. PCBs can be single sided (one copper layer), double sided (two copper layers) or
multi-layer. Conductors on different layers are connected with plated-through holes. Advanced PCBs
may contain components - capacitors, resistors or active devices embedded in the substrate.
7
CODES
#include <avr/io.h>
#include <inttypes.h>
#include <util/delay.h>
#include "lcd.h"
#include "keypad.h"
#include "user_interface.h"
#include "password_manager.h"
//LCD Backlight i/o configuration
#define LCDBL_PORT PORB
#define LCDBL_DDR DDRB
#define LCDBL_PIN PB1
//Output relay i/o configuration
#define RELAY_PORT PORTC
#define RELAY_DDR DDRC
#define RELAY_PIN PC0
//Simple Delay Function
void Wait(uint8_t n);
//Relay Control Functions
void RelayOn();
void RelayOff();
//System Functions
void SystemInit();
void main()
{
uint16_t password;
//Initialize the system
SystemInit();
while(1)
{
password=InputNumber("Enter Password");
//Match Password
if(password==ReadPassFromEEPROM())
{
LCDClear();
LCDWriteString("Access Granted");
//Now Activate Relay
RelayOn();
Wait(15);
LCDClear();
LCDWriteString("Press Any Key");
//Now wait for any key
while(GetKeyPressed()==255)
{
_delay_loop_2(10);
}
//Now DeActivate Relay
RelayOff();
Wait(2);
}
else if(password==0)
{
/*
If user enters 0000 as password it
8
indicates a request to change password
*/
LCDClear();
password=InputNumber("Old Password");
if(password==ReadPassFromEEPROM())
{
//Allowed to change password
uint16_t NewPassword;
NewPassword=InputNumber("New Password");
WritePassToEEPROM(NewPassword);
LCDClear();
LCDWriteString("Success !");
Wait(15);
}
else
{
//Not Allowed to change password
LCDClear();
LCDWriteString("Wrong Password !");
Wait(15);
}
}
else
{
LCDClear();
LCDWriteString("Access Denied");
RelayOff();
Wait(15);
}
}
}
void SystemInit()
{
//Set LCD Backlight Pin as output
LCDBL_DDR|=(1<<LCDBL_PIN);
//Set Relay Pin as output
RELAY_DDR|=(1<<RELAY_PIN);
//Wait for LCD To Start
_delay_loop_2(0);
//Now initialize the lcd module
LCDInit(LS_NONE);
LCDClear();
LCDWriteString(" Welcome !");
LCDBacklightOn();
//Check if the EEPROM has a valid password or is blank
if(ReadPassFromEEPROM()==25755)
{
{
//Password is blank so store a default password
WritePassToEEPROM(1234);
}
9
}
void Wait(uint8_t n)
{
uint8_t i;
for(i=0;i<n;i++)
_delay_loop_2(0);
}
void RelayOn()
{
RELAY_PORT|=(1<<RELAY_PIN);
}
void RelayOff()
{
RELAY_PORT&=(~(1<<RELAY_PIN));
10
Result and Testing
After the completion of assembling the hardware and interfacing we tested it for the desirable output
but due to some technical programming codes we are not able to close the door after the time interval
of 30 seconds. It took a long time for its working and finally we got succeeded on our work.
According to our final test to all the hardware (LCD, Microcontroller, IC, and Preset) we are able to
adjust all the things and made ready to run the program according to the desire what we want. The
preset is also checked that the led connected to it produces the sufficient contrast to the LCD screen or
not.
For the final touchup to the hardware we used PCB board to interface the hardware and we printed our
names on it.
11
Applications and Scope
Being used one of the advanced Technologies of automaticity the project has many merits and can be
used in many sectors. The following are the areas under which the password based door lock system
can be used:
 Car parking areas:
In car parking we can use this system so that there would be less chance of Robbery and more
Security.
 Modern homes:
Modern homes can be In-built with this technology so that there would be restriction of
unwanted access and house would be safe.
 Motels:
Hotels with a good facility of safe and advanced parking can be regarded as modern hotels so
in such hotel security is key factor and advanced door lock system can be implemented in such
places.
 Banks
Banks are the places to keep people’s money which must be safe and protected in order to
maintain such security we can use automatic door lock system in every department and lockers
used in banks.
`
 Locker used in Banks and Homes
Lockers used in banks and homes to keep our ornaments, money and other special things
should be safe and sound so in order to maintain such we can use this system to protect all
these things being one of the advanced and automatic technologies.
12
Conclusion
The digital code lock performed as expected. We were able to implement all the functions specified in
our proposal. The biggest hurdle we had to overcome with this project was interfacing the micro
controller with the hardware components. We feel that this digital code lock is very marketable
because it is easy to use, comparatively inexpensive due to low power consumption, and highly
reliable. This digital code lock is therefore particularly useful in applications such as door locks and
equipment locks. This simple digital code lock using microcontroller can be enhanced by incorporating
new means of authentication. Most prevalent form of digital lock is that using a numerical code for
authentication; the correct code must be entered in order for the lock to deactivate.
Such locks typically provide a keypad, and some feature an audible response to each press.
Combination lengths are usually between 4 and 6 digits long. Another means of authenticating users is
to require them to scan or "swipe" a security token such as a smart card or similar, or to interact a
token with the lock. As biometrics become more and more prominent as a recognized means of
positive identification, their use in security systems increases. Some new digital locks take advantage
of technologies such as fingerprint scanning, retinal scanning and iris scanning, and voiceprint
identification to authenticate users.
Radio frequency identification (RFID) is the use of an object (typically referred to as an RFID tag)
applied to or incorporated into a product, animal, or person for the purpose of identification and
tracking using radio waves. Some tags can be read from several meters away and beyond the line of
sight of the reader. This technology is also used in modern digital locks.
13
Appendices
MICROCONTROLLER
14
LCD KEYPAD
BIBLIOGRAPHY / REFERENCES
 Theraja B.L., Theraja A.K., A textbook of electrical technology, 21st
Ed., S. Chand and
Company, New Delhi, India, 1999.
 Automated Technologies, 2006, 9, p. 55-62 [online]. Available at:
http://www.lejpt.academicdirect.org/A09/055_062.pdf
 ATmega8 tutorials [online]. Available at: http://www.electroniclab.com, 20012.
 Microcontroller tutorials [online]. Available at: http://www.google.com, 2015.
 Smart code locks using AVR, 2008, [online]. Available at:
http://extremeelectronics.co.in/avrprojects/avrproject/atmega8basedsmartcodelock/
 ATmega 328P datasheet http://www.atmel.com/Images/doc8161.pdf.
 Jeremy Blum ,” Exploring Arduino: Tools and Techniques for Engineering Wizardry”,
Wiley publishers,4th edition(2004).
 LCD 16*2 datasheet http://www.engineersgarage.com/electronic-components/16x2-lcd-
module-datasheet.
 http://www.instructables.com/id/Password-Lock-with-Arduino/
15

More Related Content

What's hot

SENSORS AND BLUETOOTH COMMUNICATION
SENSORS AND BLUETOOTH COMMUNICATIONSENSORS AND BLUETOOTH COMMUNICATION
SENSORS AND BLUETOOTH COMMUNICATION
soma saikiran
 
Persistence of Vision Display
Persistence of Vision DisplayPersistence of Vision Display
Persistence of Vision Display
Uday Wankar
 
Liquid crystal display
Liquid crystal displayLiquid crystal display
Liquid crystal display
Vraj Patel
 
Build your own electronics lab
Build your own electronics labBuild your own electronics lab
Build your own electronics lab
Karim El-Rayes
 
Electronics Project Book
Electronics Project BookElectronics Project Book
Electronics Project Book
Varun Bansal
 
basic electronics components
basic electronics componentsbasic electronics components
basic electronics components
Arpit Shah
 
Introduction to basic ROBOTICS.
Introduction to basic ROBOTICS.Introduction to basic ROBOTICS.
Introduction to basic ROBOTICS.
Priyanka Jayaswal
 
Arduino PAPER ABOUT INTRODUCTION
Arduino PAPER ABOUT INTRODUCTION  Arduino PAPER ABOUT INTRODUCTION
Arduino PAPER ABOUT INTRODUCTION
NAGASAI547
 
70 interesting circuits
70 interesting circuits70 interesting circuits
70 interesting circuits
vietem0610
 
Construction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar DasConstruction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar Das
B.k. Das
 
Report of Battery Level Indicator Circuit
Report of Battery Level Indicator CircuitReport of Battery Level Indicator Circuit
Report of Battery Level Indicator Circuit
Uzair Ahmad
 
Coin-Based Mobile Battery Charger Using Solar Panel
Coin-Based Mobile Battery Charger Using Solar PanelCoin-Based Mobile Battery Charger Using Solar Panel
Coin-Based Mobile Battery Charger Using Solar Panel
paperpublications3
 
Basic concept of electronics.
Basic concept of electronics.Basic concept of electronics.
Basic concept of electronics.
creatjet3d labs
 
Free Electronics Projects Circuits and their Applications
Free Electronics Projects Circuits and their ApplicationsFree Electronics Projects Circuits and their Applications
Free Electronics Projects Circuits and their Applications
Electronics Hub
 
tegangan pada motherboard
tegangan pada motherboardtegangan pada motherboard
tegangan pada motherboard
Iman Teguh Pribadi
 
The fundemental of electronics ebook
The fundemental of electronics ebookThe fundemental of electronics ebook
The fundemental of electronics ebook
Le Thanh Nhan
 
Embedded unit ii
Embedded unit iiEmbedded unit ii
Embedded unit ii
Sridhar Done
 
Basic workshop practice (electronics group) 17005
Basic workshop practice (electronics group) 17005Basic workshop practice (electronics group) 17005
Basic workshop practice (electronics group) 17005
Pravin Shirke
 
Switches and LEDs interface to the 8051 microcontroller
Switches and LEDs interface to the 8051 microcontrollerSwitches and LEDs interface to the 8051 microcontroller
Switches and LEDs interface to the 8051 microcontroller
University of Technology - Iraq
 
Project
ProjectProject
Project
MOHAMMAD ARIF
 

What's hot (20)

SENSORS AND BLUETOOTH COMMUNICATION
SENSORS AND BLUETOOTH COMMUNICATIONSENSORS AND BLUETOOTH COMMUNICATION
SENSORS AND BLUETOOTH COMMUNICATION
 
Persistence of Vision Display
Persistence of Vision DisplayPersistence of Vision Display
Persistence of Vision Display
 
Liquid crystal display
Liquid crystal displayLiquid crystal display
Liquid crystal display
 
Build your own electronics lab
Build your own electronics labBuild your own electronics lab
Build your own electronics lab
 
Electronics Project Book
Electronics Project BookElectronics Project Book
Electronics Project Book
 
basic electronics components
basic electronics componentsbasic electronics components
basic electronics components
 
Introduction to basic ROBOTICS.
Introduction to basic ROBOTICS.Introduction to basic ROBOTICS.
Introduction to basic ROBOTICS.
 
Arduino PAPER ABOUT INTRODUCTION
Arduino PAPER ABOUT INTRODUCTION  Arduino PAPER ABOUT INTRODUCTION
Arduino PAPER ABOUT INTRODUCTION
 
70 interesting circuits
70 interesting circuits70 interesting circuits
70 interesting circuits
 
Construction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar DasConstruction of digital voltmeter by Bapi Kumar Das
Construction of digital voltmeter by Bapi Kumar Das
 
Report of Battery Level Indicator Circuit
Report of Battery Level Indicator CircuitReport of Battery Level Indicator Circuit
Report of Battery Level Indicator Circuit
 
Coin-Based Mobile Battery Charger Using Solar Panel
Coin-Based Mobile Battery Charger Using Solar PanelCoin-Based Mobile Battery Charger Using Solar Panel
Coin-Based Mobile Battery Charger Using Solar Panel
 
Basic concept of electronics.
Basic concept of electronics.Basic concept of electronics.
Basic concept of electronics.
 
Free Electronics Projects Circuits and their Applications
Free Electronics Projects Circuits and their ApplicationsFree Electronics Projects Circuits and their Applications
Free Electronics Projects Circuits and their Applications
 
tegangan pada motherboard
tegangan pada motherboardtegangan pada motherboard
tegangan pada motherboard
 
The fundemental of electronics ebook
The fundemental of electronics ebookThe fundemental of electronics ebook
The fundemental of electronics ebook
 
Embedded unit ii
Embedded unit iiEmbedded unit ii
Embedded unit ii
 
Basic workshop practice (electronics group) 17005
Basic workshop practice (electronics group) 17005Basic workshop practice (electronics group) 17005
Basic workshop practice (electronics group) 17005
 
Switches and LEDs interface to the 8051 microcontroller
Switches and LEDs interface to the 8051 microcontrollerSwitches and LEDs interface to the 8051 microcontroller
Switches and LEDs interface to the 8051 microcontroller
 
Project
ProjectProject
Project
 

Similar to Password Based Access Control System using Microcontroller

lcd
lcdlcd
Temperature Based Fan Controller
Temperature Based Fan Controller Temperature Based Fan Controller
Temperature Based Fan Controller
richa1910n
 
Design of charging unit for electrical vehicles using solar power
Design of charging unit for electrical vehicles using solar powerDesign of charging unit for electrical vehicles using solar power
Design of charging unit for electrical vehicles using solar power
Rohit gorantla
 
Lec 8,9,10 (interfacing)
Lec 8,9,10 (interfacing)Lec 8,9,10 (interfacing)
Lec 8,9,10 (interfacing)
Mohamed Atef
 
Applications of microcontroller
Applications of microcontrollerApplications of microcontroller
Applications of microcontroller
babak danyal
 
Cockpit White Box
Cockpit White BoxCockpit White Box
Cockpit White Box
ncct
 
Ctara report
Ctara reportCtara report
Ctara report
Pushkar Limaye
 
4 Way traffic controll new
4 Way traffic controll new4 Way traffic controll new
4 Way traffic controll new
Mainak Nandi
 
electronic voting machine by rfid
electronic voting machine by rfidelectronic voting machine by rfid
electronic voting machine by rfid
Saurabh Uniyal
 
Visiter counter doc
Visiter counter docVisiter counter doc
Visiter counter doc
Prem Kumar
 
Coin based mobile charger project report
Coin based mobile charger project reportCoin based mobile charger project report
Coin based mobile charger project report
kaushal chaubey
 
There is a requirement to design a system to sense the presence of gl.pdf
There is a requirement to design a system to sense the presence of gl.pdfThere is a requirement to design a system to sense the presence of gl.pdf
There is a requirement to design a system to sense the presence of gl.pdf
arihantstoneart
 
There is a requirement to design a system to sense the presence of gl.pdf
There is a requirement to design a system to sense the presence of gl.pdfThere is a requirement to design a system to sense the presence of gl.pdf
There is a requirement to design a system to sense the presence of gl.pdf
fathimalinks
 
SOLAR CHARGE CONTROLLEL POWER POINT.pptx
SOLAR CHARGE CONTROLLEL POWER POINT.pptxSOLAR CHARGE CONTROLLEL POWER POINT.pptx
SOLAR CHARGE CONTROLLEL POWER POINT.pptx
PETEROTIENO35
 
SOLAR CHARGE CONTROLLEL POWER POINT.pptx
SOLAR CHARGE CONTROLLEL POWER POINT.pptxSOLAR CHARGE CONTROLLEL POWER POINT.pptx
SOLAR CHARGE CONTROLLEL POWER POINT.pptx
PETEROTIENO35
 
microcontroller and embedded system
microcontroller and embedded systemmicrocontroller and embedded system
microcontroller and embedded system
pradeep rana
 
Project report on the Digital clock using RTC and microcontroller 8051
Project report on the Digital clock using RTC and microcontroller 8051Project report on the Digital clock using RTC and microcontroller 8051
Project report on the Digital clock using RTC and microcontroller 8051
Maulik Sanchela
 
ELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECTELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECT
vasav2204
 
electrical engineering project
electrical engineering projectelectrical engineering project
electrical engineering project
vasav2204
 
Speed Control of DC motor using AT89C52 IC
Speed Control of DC motor using AT89C52 ICSpeed Control of DC motor using AT89C52 IC
Speed Control of DC motor using AT89C52 IC
Disha Modi
 

Similar to Password Based Access Control System using Microcontroller (20)

lcd
lcdlcd
lcd
 
Temperature Based Fan Controller
Temperature Based Fan Controller Temperature Based Fan Controller
Temperature Based Fan Controller
 
Design of charging unit for electrical vehicles using solar power
Design of charging unit for electrical vehicles using solar powerDesign of charging unit for electrical vehicles using solar power
Design of charging unit for electrical vehicles using solar power
 
Lec 8,9,10 (interfacing)
Lec 8,9,10 (interfacing)Lec 8,9,10 (interfacing)
Lec 8,9,10 (interfacing)
 
Applications of microcontroller
Applications of microcontrollerApplications of microcontroller
Applications of microcontroller
 
Cockpit White Box
Cockpit White BoxCockpit White Box
Cockpit White Box
 
Ctara report
Ctara reportCtara report
Ctara report
 
4 Way traffic controll new
4 Way traffic controll new4 Way traffic controll new
4 Way traffic controll new
 
electronic voting machine by rfid
electronic voting machine by rfidelectronic voting machine by rfid
electronic voting machine by rfid
 
Visiter counter doc
Visiter counter docVisiter counter doc
Visiter counter doc
 
Coin based mobile charger project report
Coin based mobile charger project reportCoin based mobile charger project report
Coin based mobile charger project report
 
There is a requirement to design a system to sense the presence of gl.pdf
There is a requirement to design a system to sense the presence of gl.pdfThere is a requirement to design a system to sense the presence of gl.pdf
There is a requirement to design a system to sense the presence of gl.pdf
 
There is a requirement to design a system to sense the presence of gl.pdf
There is a requirement to design a system to sense the presence of gl.pdfThere is a requirement to design a system to sense the presence of gl.pdf
There is a requirement to design a system to sense the presence of gl.pdf
 
SOLAR CHARGE CONTROLLEL POWER POINT.pptx
SOLAR CHARGE CONTROLLEL POWER POINT.pptxSOLAR CHARGE CONTROLLEL POWER POINT.pptx
SOLAR CHARGE CONTROLLEL POWER POINT.pptx
 
SOLAR CHARGE CONTROLLEL POWER POINT.pptx
SOLAR CHARGE CONTROLLEL POWER POINT.pptxSOLAR CHARGE CONTROLLEL POWER POINT.pptx
SOLAR CHARGE CONTROLLEL POWER POINT.pptx
 
microcontroller and embedded system
microcontroller and embedded systemmicrocontroller and embedded system
microcontroller and embedded system
 
Project report on the Digital clock using RTC and microcontroller 8051
Project report on the Digital clock using RTC and microcontroller 8051Project report on the Digital clock using RTC and microcontroller 8051
Project report on the Digital clock using RTC and microcontroller 8051
 
ELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECTELECTRICAL ENGINEERING PROJECT
ELECTRICAL ENGINEERING PROJECT
 
electrical engineering project
electrical engineering projectelectrical engineering project
electrical engineering project
 
Speed Control of DC motor using AT89C52 IC
Speed Control of DC motor using AT89C52 ICSpeed Control of DC motor using AT89C52 IC
Speed Control of DC motor using AT89C52 IC
 

More from IshworKhatiwada

8086 Microprocessor
8086 Microprocessor8086 Microprocessor
8086 Microprocessor
IshworKhatiwada
 
Osi layer model
Osi layer modelOsi layer model
Osi layer model
IshworKhatiwada
 
Report
ReportReport
Differential equation
Differential equationDifferential equation
Differential equation
IshworKhatiwada
 
Operating system and installation
Operating system and  installationOperating system and  installation
Operating system and installation
IshworKhatiwada
 
A CASE STUDY ALIBABA.COM
A CASE STUDY ALIBABA.COMA CASE STUDY ALIBABA.COM
A CASE STUDY ALIBABA.COM
IshworKhatiwada
 

More from IshworKhatiwada (6)

8086 Microprocessor
8086 Microprocessor8086 Microprocessor
8086 Microprocessor
 
Osi layer model
Osi layer modelOsi layer model
Osi layer model
 
Report
ReportReport
Report
 
Differential equation
Differential equationDifferential equation
Differential equation
 
Operating system and installation
Operating system and  installationOperating system and  installation
Operating system and installation
 
A CASE STUDY ALIBABA.COM
A CASE STUDY ALIBABA.COMA CASE STUDY ALIBABA.COM
A CASE STUDY ALIBABA.COM
 

Recently uploaded

DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
gerogepatton
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
nooriasukmaningtyas
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Christina Lin
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
IJNSA Journal
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
mamamaam477
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
Madan Karki
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
HODECEDSIET
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
sachin chaurasia
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
enizeyimana36
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Sinan KOZAK
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
insn4465
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
NazakatAliKhoso2
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
IJECEIAES
 

Recently uploaded (20)

DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODELDEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
DEEP LEARNING FOR SMART GRID INTRUSION DETECTION: A HYBRID CNN-LSTM-BASED MODEL
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...A review on techniques and modelling methodologies used for checking electrom...
A review on techniques and modelling methodologies used for checking electrom...
 
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming PipelinesHarnessing WebAssembly for Real-time Stateless Streaming Pipelines
Harnessing WebAssembly for Real-time Stateless Streaming Pipelines
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMSA SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
A SYSTEMATIC RISK ASSESSMENT APPROACH FOR SECURING THE SMART IRRIGATION SYSTEMS
 
Engine Lubrication performance System.pdf
Engine Lubrication performance System.pdfEngine Lubrication performance System.pdf
Engine Lubrication performance System.pdf
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
spirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptxspirit beverages ppt without graphics.pptx
spirit beverages ppt without graphics.pptx
 
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEMTIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
TIME DIVISION MULTIPLEXING TECHNIQUE FOR COMMUNICATION SYSTEM
 
The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.The Python for beginners. This is an advance computer language.
The Python for beginners. This is an advance computer language.
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
 
Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
Optimizing Gradle Builds - Gradle DPE Tour Berlin 2024
 
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
哪里办理(csu毕业证书)查尔斯特大学毕业证硕士学历原版一模一样
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
Textile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdfTextile Chemical Processing and Dyeing.pdf
Textile Chemical Processing and Dyeing.pdf
 
Embedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoringEmbedded machine learning-based road conditions and driving behavior monitoring
Embedded machine learning-based road conditions and driving behavior monitoring
 

Password Based Access Control System using Microcontroller

  • 1. 1 Table of Contents ACKNOWLEDGEMENT.......................................................................................................0 ABSTRACT...........................................................................................................................0.5 CHAPTER1: INTRODUCTION .............................................................................................1 1.1 Objectives.......................................................................................................................1 CHAPTER 2: METHODOLOGY............................................................................................2 2.1 Circuit Diagram..............................................................................................................2 2.2 Working Principle ..........................................................................................................3 CHAPTER 3: RESULTS AND ANALYSIS...........................................................................4 3.1 Description of Hardware .................................................................................................4 3.2 Codes...............................................................................................................................7 3.3 Result and Testing………………………………………………………………………10 CHAPTER 5: CONCLUSION.................................................................................................11 1.2 Applications and scope of project ..................................................................................11 1.3Conclusion.......................................................................................................................12 1.4 limitations........................................................................................................................13 5.2 Appendices ......................................................................................................................14 BIBLIOGRAPHY / REFERENCES........................................................................................15
  • 2. 2 INTRODUCTION Password Based Access Control System using Microcontroller is used in the places where we need more security. It can also used to secure doors, cell phones, computers and other equipments. The system comprises of a push button keypad connected to the 8 bit microcontroller ATmega328P. This is one of the popular Microcontrollers. It has only 20 pins and there are 15 input/output lines. The microcontroller has a flash memory of 32Kbytes, 1 Kbyte EEPROM and 2 Kbytes RAM. The microcontroller continuously monitors the keypad and if somebody enters a password it will check the entered password with the password stored in the memory and if they match then the microcontroller will switch on the corresponding device. The system will allow access to the person who knows the password and it will not allow access to unauthorized people. The system has an advanced option that it will be lock automatically after 30 seconds of the door is opened. OBJECTIVE: The Main objective of this project is to modernize the advanced security system using microcontroller as well as the automaticity of the locking system is the main focusing factor of this project.
  • 3. 3 WORKING PRINCIPLE The authentication method used here is a four digit numeric code which is entered through the keypad. The code entered this way is then compared to the password stored in memory. The microcontroller continuously monitors the keypad for a match with the stored password. As and when there is a match the output line is enabled which can then be used to trigger an LED. A message is displayed if the entered code doesn’t match the stored password. An LCD display is also used to display whether the entered password is correct or not and to know that access has been granted or not. Fig. BLOCK DIAGRAM When the circuit is switched on a message on the LCD prompts us to ‘enter password’. The entered code is read from the keypad and checked against the original password stored in the microcontroller memory. If it is a match an LED is switched ON and if it is not a match, a message on the LCD prompts us to re-enter the password. The whole procedure is then repeated. The Microcontroller asks the user to define a four-digit password through the Keypad. Once a password is set and later somebody tries to unlock the device, the Microcontroller reads the keypad entry and compares the four digit password with the predefined password and if it is equal then the LED connected to the lock output key glows and if we enter a wrong password an alarm will be switched ON. The Password is stored in the RAM and the password can be changed using the same keypad. The power supply section is very important. It should deliver constant output regulated power supply for successful working of the project. Regulated 5 volt supply is taken through the USB port of a laptop/desktop.
  • 4. 4 Description of Hardware Resistor The resistor is an electronic component that has electrical friction. This friction opposes the flow of electrons and thus reduces the voltage (pressure) placed on other electronic components by restricting the amount of current that can pass through it. Capacitor A capacitor stores electrical energy when charged by a DC source. It can pass alternating current (AC), but blocks direct current (DC) except for a very short charging current, called transient current. Inductor The Inductor prevents current from making any sudden changes by producing large opposing voltages. Magnetic coupling can be used to transform voltages and currents, but power must Remains the same. Coils and transformers can be used to select frequencies. Is an electronic component which Blocks Alternating Current and Passes Direct Current. Current in an Inductor cannot change instantly and Quick Current change produces large Voltage. Diode Diode allows current to pass in only one direction. A pn-junction diode is formed by joining together n-type and p-type silicon. When the anode and cathode of a pn-junction diode are connected to external voltage Such that the potential at anode is higher than the potential at cathode, the diode is said to be forward biased. In a forward-biased diode current is allowed to flow through the device.
  • 5. 5 Transistor A Three lead semiconductor device that acts as an electrically controlled switch, or a current amplifier. NPN: A small input current and a positive voltage applied to its base (with VB>VE) Allows a large current to flow from collector to emitter. PNP: A small output current and a negative voltage to its base (with VB<VE) allows a Much larger current to flow from emitter to collector. 8 Bit MCU (ATmega8L) 8 Bit Microcontroller unit ATmega328P is one of the popular Microcontrollers. It has only 20 pins and there are 15 input/output lines. The microcontroller has a flash memory of 32Kbytes, 1 Kbyte EEPROM and 2 Kbytes RAM. Voltage Regulator A voltage regulator is designed to automatically maintain a constant voltage level. A voltage regulator may be a simple "feed-forward" design or may include negative feedback control loops. It may use an electromechanical mechanism, or electronic components. Relay A relay is usually an electromechanical device that is actuated by an electrical current. The current flowing in one circuit causes the opening or closing of another. Relays are used in a wide variety of applications throughout industry, such as in telephone exchanges, digital computers and automation systems. There are three basic functions of a relay they are On/Off Control, Limit Control and Logic Operation.
  • 6. 6 PRESET Preset resistors are used in circuits when it is necessary to alter the resistance. Dark/light and temperature sensors usually have these components as the preset resistor allows the circuit to be made more or less sensitive (they can be turned up or down - reducing or increasing resistance). 16×2 LCD Modules LCD (Liquid Crystal Display) screen is an electronic display module and find a wide range of applications. A 16x2 LCD display is very basic module and is very commonly used in various devices and circuits. A 16x2 LCD means it can display 16 characters per line and there are 2 such lines. In this LCD each character is displayed in 5x7 pixel matrix. This LCD has two registers, namely, Command and Data. The command register stores the command instructions given to the LCD. A command is an instruction given to LCD to do a predefined task like initializing it, clearing its screen, setting the cursor position, controlling display etc. The data register stores the data to be displayed on the LCD. The data is the ASCII value of the character to be displayed on the LCD. CONNECTOR AND PCB BOARD Connectors are those devices that allow electrically operated equipment to be connected to the primary alternating current power supply. A printed circuit board (PCB) mechanically supports and electrically connects electronic components using conductive tracks, pads and other features etched from copper sheets laminated onto a non- conductive substrate. PCBs can be single sided (one copper layer), double sided (two copper layers) or multi-layer. Conductors on different layers are connected with plated-through holes. Advanced PCBs may contain components - capacitors, resistors or active devices embedded in the substrate.
  • 7. 7 CODES #include <avr/io.h> #include <inttypes.h> #include <util/delay.h> #include "lcd.h" #include "keypad.h" #include "user_interface.h" #include "password_manager.h" //LCD Backlight i/o configuration #define LCDBL_PORT PORB #define LCDBL_DDR DDRB #define LCDBL_PIN PB1 //Output relay i/o configuration #define RELAY_PORT PORTC #define RELAY_DDR DDRC #define RELAY_PIN PC0 //Simple Delay Function void Wait(uint8_t n); //Relay Control Functions void RelayOn(); void RelayOff(); //System Functions void SystemInit(); void main() { uint16_t password; //Initialize the system SystemInit(); while(1) { password=InputNumber("Enter Password"); //Match Password if(password==ReadPassFromEEPROM()) { LCDClear(); LCDWriteString("Access Granted"); //Now Activate Relay RelayOn(); Wait(15); LCDClear(); LCDWriteString("Press Any Key"); //Now wait for any key while(GetKeyPressed()==255) { _delay_loop_2(10); } //Now DeActivate Relay RelayOff(); Wait(2); } else if(password==0) { /* If user enters 0000 as password it
  • 8. 8 indicates a request to change password */ LCDClear(); password=InputNumber("Old Password"); if(password==ReadPassFromEEPROM()) { //Allowed to change password uint16_t NewPassword; NewPassword=InputNumber("New Password"); WritePassToEEPROM(NewPassword); LCDClear(); LCDWriteString("Success !"); Wait(15); } else { //Not Allowed to change password LCDClear(); LCDWriteString("Wrong Password !"); Wait(15); } } else { LCDClear(); LCDWriteString("Access Denied"); RelayOff(); Wait(15); } } } void SystemInit() { //Set LCD Backlight Pin as output LCDBL_DDR|=(1<<LCDBL_PIN); //Set Relay Pin as output RELAY_DDR|=(1<<RELAY_PIN); //Wait for LCD To Start _delay_loop_2(0); //Now initialize the lcd module LCDInit(LS_NONE); LCDClear(); LCDWriteString(" Welcome !"); LCDBacklightOn(); //Check if the EEPROM has a valid password or is blank if(ReadPassFromEEPROM()==25755) { { //Password is blank so store a default password WritePassToEEPROM(1234); }
  • 9. 9 } void Wait(uint8_t n) { uint8_t i; for(i=0;i<n;i++) _delay_loop_2(0); } void RelayOn() { RELAY_PORT|=(1<<RELAY_PIN); } void RelayOff() { RELAY_PORT&=(~(1<<RELAY_PIN));
  • 10. 10 Result and Testing After the completion of assembling the hardware and interfacing we tested it for the desirable output but due to some technical programming codes we are not able to close the door after the time interval of 30 seconds. It took a long time for its working and finally we got succeeded on our work. According to our final test to all the hardware (LCD, Microcontroller, IC, and Preset) we are able to adjust all the things and made ready to run the program according to the desire what we want. The preset is also checked that the led connected to it produces the sufficient contrast to the LCD screen or not. For the final touchup to the hardware we used PCB board to interface the hardware and we printed our names on it.
  • 11. 11 Applications and Scope Being used one of the advanced Technologies of automaticity the project has many merits and can be used in many sectors. The following are the areas under which the password based door lock system can be used:  Car parking areas: In car parking we can use this system so that there would be less chance of Robbery and more Security.  Modern homes: Modern homes can be In-built with this technology so that there would be restriction of unwanted access and house would be safe.  Motels: Hotels with a good facility of safe and advanced parking can be regarded as modern hotels so in such hotel security is key factor and advanced door lock system can be implemented in such places.  Banks Banks are the places to keep people’s money which must be safe and protected in order to maintain such security we can use automatic door lock system in every department and lockers used in banks. `  Locker used in Banks and Homes Lockers used in banks and homes to keep our ornaments, money and other special things should be safe and sound so in order to maintain such we can use this system to protect all these things being one of the advanced and automatic technologies.
  • 12. 12 Conclusion The digital code lock performed as expected. We were able to implement all the functions specified in our proposal. The biggest hurdle we had to overcome with this project was interfacing the micro controller with the hardware components. We feel that this digital code lock is very marketable because it is easy to use, comparatively inexpensive due to low power consumption, and highly reliable. This digital code lock is therefore particularly useful in applications such as door locks and equipment locks. This simple digital code lock using microcontroller can be enhanced by incorporating new means of authentication. Most prevalent form of digital lock is that using a numerical code for authentication; the correct code must be entered in order for the lock to deactivate. Such locks typically provide a keypad, and some feature an audible response to each press. Combination lengths are usually between 4 and 6 digits long. Another means of authenticating users is to require them to scan or "swipe" a security token such as a smart card or similar, or to interact a token with the lock. As biometrics become more and more prominent as a recognized means of positive identification, their use in security systems increases. Some new digital locks take advantage of technologies such as fingerprint scanning, retinal scanning and iris scanning, and voiceprint identification to authenticate users. Radio frequency identification (RFID) is the use of an object (typically referred to as an RFID tag) applied to or incorporated into a product, animal, or person for the purpose of identification and tracking using radio waves. Some tags can be read from several meters away and beyond the line of sight of the reader. This technology is also used in modern digital locks.
  • 14. 14 LCD KEYPAD BIBLIOGRAPHY / REFERENCES  Theraja B.L., Theraja A.K., A textbook of electrical technology, 21st Ed., S. Chand and Company, New Delhi, India, 1999.  Automated Technologies, 2006, 9, p. 55-62 [online]. Available at: http://www.lejpt.academicdirect.org/A09/055_062.pdf  ATmega8 tutorials [online]. Available at: http://www.electroniclab.com, 20012.  Microcontroller tutorials [online]. Available at: http://www.google.com, 2015.  Smart code locks using AVR, 2008, [online]. Available at: http://extremeelectronics.co.in/avrprojects/avrproject/atmega8basedsmartcodelock/  ATmega 328P datasheet http://www.atmel.com/Images/doc8161.pdf.  Jeremy Blum ,” Exploring Arduino: Tools and Techniques for Engineering Wizardry”, Wiley publishers,4th edition(2004).  LCD 16*2 datasheet http://www.engineersgarage.com/electronic-components/16x2-lcd- module-datasheet.  http://www.instructables.com/id/Password-Lock-with-Arduino/
  • 15. 15