Presentation is loading. Please wait.

Presentation is loading. Please wait.

USER PROGRAMMABLE PASSWORD BASED HOTEL ROOM DOOR LOCK

Similar presentations


Presentation on theme: "USER PROGRAMMABLE PASSWORD BASED HOTEL ROOM DOOR LOCK"— Presentation transcript:

1 USER PROGRAMMABLE PASSWORD BASED HOTEL ROOM DOOR LOCK
Project Title USER PROGRAMMABLE PASSWORD BASED HOTEL ROOM DOOR LOCK Under the Guidance of Submitted by

2 ABSTARCT The microcontroller based Door locker is an access control system that allows only authorized persons to access a restricted area. The system is fully controlled by the 8 bit microcontroller which has a fixed size of ROM for the storage of program. The password is stored in another dedicated EEPROM and the password can be changed at any time unlike a fixed one burnt permanently on to the microcontroller. A keypad is used to enter the password and Relay is used to lock or unlock the door, by a motor or an electromagnetic door latch

3 PROJECT BLOCK DIAGRAM

4 HARDWARE COMPONENTS POWER SUPPLY BLOCK
MICROCONTROLLER (AT89S52/AT89C51) EEPROM IC RELAY RELAY DRIVER KEYPAD PUSH BUTTONS BC547 1N4007 RESISTORS CAPACITORS

5 POWER SUPPLY Bridge rectifier 5v Regulator 230 V AC 50 Hz 5V DC
Filter(470µf) 12V step down transformer

6 It is a smaller computer Has on-chip RAM, ROM, I/O ports...
MICROCONTROLLER It is a smaller computer Has on-chip RAM, ROM, I/O ports... RAM ROM I/O Port Timer Serial COM Port Microcontroller CPU A single chip

7 INTERNAL STRUCTURE OF A MICRO CONTROLLER-AT89S52/51
CPU On-chip RAM On-chip ROM for program code 4 I/O Ports Timer 0 Serial Port OSC Interrupt Control External interrupts Timer 1 Timer/Counter Bus Control TxD RxD P0 P1 P2 P3 Address/Data Counter Inputs

8 Features of AT89S51/52 Compatible with MCS®-51 Products
8K Bytes of In-System Programmable (ISP) Flash Memory Endurance: 10,000 Write/Erase Cycles 4.0V to 5.5V Operating Range Fully Static Operation: 0 Hz to 33 MHz 256 x 8-bit Internal RAM 32 Programmable I/O Lines Three 16-bit Timer/Counters Eight Interrupt Sources Full Duplex UART Serial Channel Interrupt Recovery from Power-down Mode Watchdog Timer Dual Data Pointer

9 Pin Description

10 EEPROM EEPROM is Electrically Erasable Programmable Read-Only Memory that can be electrically erased and reprogrammed.. AT24C02 is a two wire 2Kbits serial EEPROM by Atmel. The memory is organized in 256 words of single byte each arranged in 32 pages of 8 bytes each.

11 Contd.. AT24C02 is two-wire serially programmable i.e., for programming, the data and control signals are provided serially along with clock signals from the other wire. The read-write operations are accomplished by sending a set of control signals including the address and/or data bits. This facilitates interfacing of a maximum of eight (23) 24C02 devices to a system thereby, incorporating a maximum 16Kbits memory.

12 RELAY IT IS A ELECTRO MAGNETIC SWITCH
USED TO CONTROL THE ELECTRICAL DEVICES COPPER CORE MAGNETIC FLUX PLAYS MAIN ROLE HERE

13 The relay's switch connections are usually labeled COM, NC and NO:
COM = Common, always connect to this; it is the moving part of the itch. NC = Normally Closed, COM is connected to this when the relay coil is off. NO = Normally Open, COM is connected to this when the relay coil is on

14 RELAY DRIVER (ULN 2003) ULN2003 is a high voltage and high current Darlington transistor array It consists of seven NPN Darlington pairs that feature high-voltage outputs with common-cathode Clamp diode for switching inductive loads. The ULN2003 has a 2.7kW series base resistor for each Darlington pair for operation directly with TTL or 5V CMOS devices. Current, Output Max:500mA Voltage, Input Max:5V Voltage, Output Max:50V

15 Fig: ULN 2003

16 BC547 The BC547 transistor is an NPN Epitaxial Silicon Transistor.
The BC547 transistor is a general-purpose transistor in small plastic packages. It is used in general-purpose switching and amplification BC847/BC547 series 45 V, 100 mA NPN general-purpose transistors. Whenever base is high, then current starts flowing through base and emitter and after that only current will pass from collector to emitter

17 Keypad A keypad is a set of buttons arranged in a block or "pad" which usually bear digits, symbols and usually a complete set of alphabetical letters. If it mostly contains numbers then it can also be called a numeric keypad. In order to detect which key is pressed from the matrix, the row lines are to be made low one by one and read the columns. Assume that if Row1 is made low, then read the columns. If any of the key in row1 is pressed then correspondingly the column 1will give low that is if second key is pressed in Row1, then column2 will give low.

18 LIQUID CRYSTAL DISPLAY (LCD)
Most common LCDs connected to the microcontrollers are 16x2 and 20x2 displays. This means 16 characters per line by 2 lines and 20 characters per line by 2 lines, respectively. The standard is referred to as HD44780U, which refers to the controller chip which receives data from an external source (and communicates directly with the LCD.

19 If an 8-bit data bus is used the LCD will require 11 data lines
LCD BACKGROUND If an 8-bit data bus is used the LCD will require 11 data lines (3 control lines plus the 8 lines for the data bus) The three control lines are referred to as EN, RS, and RW EN=Enable (used to tell the LCD that you are sending it data) RS=Register Select (When RS is low (0), data is treated as a command) (When RS is High(1), data being sent is text data ) R/W=Read/Write (When RW is low (0), the data written to the LCD) (When RW is low (0), the data reading to the LCD)

20 Working of Project The project uses one EEPROM to store the desired number entered by the keypad, which is interfaced to Microcontroller. While the user wants to open the lock which is prompted by an LCD display duly connected to the Microcontroller o/p. The entered number by the keypad is matched with the stored number and it found on the Microcontroller o/p delivers a logic high to either open or close the door by operating two Relays interfaced from the Microcontroller via ULN20003 For the purpose of the project o/p verification two lamps are used to indicate one for door opening & other for door closing.

21 Soft ware Requirements
Keil an ARM Company makes C compilers, macro assemblers, real-time kernels, debuggers, simulators, integrated environments, evaluation boards, and emulators for ARM7/ARM9/Cortex-M3, XC16x/C16x/ST10, 251, and 8051 MCU families. Compilers are programs used to convert a High Level Language to object code. Desktop compilers produce an output object code for the underlying microprocessor, but not for other microprocessors.

22 i.e the programs written in one of the HLL like ‘C’ will compile the code to run on the system for a particular processor like x86 (underlying microprocessor in the computer). For example compilers for Dos platform is different from the Compilers for Unix platform  So if one wants to define a compiler then compiler is a program that translates source code into object code.

23 THANKYOU


Download ppt "USER PROGRAMMABLE PASSWORD BASED HOTEL ROOM DOOR LOCK"

Similar presentations


Ads by Google