Digital Code Lock System
Digital Code Lock System
This a simple project with efficient hacking prevention from Brute Force etc.
LCD is used for display and a keyboard is used to input the keys. This project source code is written in C. The user has two options either he/she can use its own 4 digit code or use the default 4digit code Entering a default value 0000 flexibility will be provided to reset your password. For demonstration DC motor is used for opening the door.
HARDWARE REQUIREMENTS
AVR Atmega16 microcontroller LCD 20x4 4x4 keypad Motor Driver DC motor 7805 voltage regulator Batteries-9v/12v Electronic components
The AVR is a modified Harvard architecture 8bit RISC single chip microcontroller which was developed by Atmel in 1996. The AVR was one of the first microcontroller families to use on-chip flash memory for program storage, as opposed to one-time programmable ROM, EPROM, or EEPROM used by other microcontrollers at the time.
MICROCONTROLLER
The ATmega16 is a low-power, high-performance 8-bit microcontroller with 16K bytes of in-system programmable Flash memory.
POWER SUPPLY
Power supply is a reference to a source of electrical power. A device or system that supplies electrical or other types of energy to an output load or group of loads is called a power supply unit or PSU.
KEYPAD SWITCHES The key board here we are interfacing is a matrix keyboard. This key board is designed with a particular rows and columns. These rows and columns are connected to the microcontroller through its ports of the micro controller ATmega16. We used 4x4 matrix key board.
Power supply 9v DC
DC Motor
AtMega 16
development Board
ATmega16 Microcontroller
LCD 16x2
4x4 keypad
SOFTWARE IMPLEMENTATION
1. The software used for this project is AVR studio4, USB AVR Programmer, AVR loader. 2. AVR studio4 is used to develop the program for ATmega16 microcontroller. 3. USB AVR Programmer is used to download the program into the ATmega16 microcontroller.
Input to the microcontroller is taken from the keypad & operation is performed based on the synchronization with EEPROM stored password.
LCD is used to display the masked password **** and the commands being performed.
Password changing flexibility is provided for the user. Motor is used to open the door as per the microcontroller instruction. Automatically the door gets closed after certain amount of delay.
VIDEO
DOUBLE CLICK HERE
It is used to prevent from hacking. It can be used in any device. Digital code lock system is used for banks and home security purpose . Digital code lock system can also be used for vehicle protection.