Project VIII Presentation

download Project VIII Presentation

of 18

Transcript of Project VIII Presentation

  • 8/8/2019 Project VIII Presentation

    1/18

    Microcontroller BasedDigital Code Lock

    Presenters:

    Ravi Ponnaiah

    Muhammad Asim

  • 8/8/2019 Project VIII Presentation

    2/18

  • 8/8/2019 Project VIII Presentation

    3/18

    Presentation Agenda

    introduction

    design

    verification

    conclusion

    Introduction of the Project

    Feature & Benefit

    Project Design

    Main Components

    Components

    Accomplishment

    Ethical Consideration

  • 8/8/2019 Project VIII Presentation

    4/18

    Introduction of the Project

    Security is a prime concern in our

    day-today life.

    An access control forms a vital link ina security chain.

    This is Microcontroller based project

    as a security barrier. Can be utilized as door lock or other

    security barrier.

    An access control system that allows

  • 8/8/2019 Project VIII Presentation

    5/18

    Features & Benefit

    Features: Security for a little price

    Easy to implement

    Benefits: Peace of mind.

    Convenient security monitoring system.

    Can be modified as needed easily.

  • 8/8/2019 Project VIII Presentation

    6/18

    Harvard Architecture

    Uses separate memories forprogram and data with theirindependent address and data

    buses. Because of two different streams

    of data and address, there is noneed to have any time division

    multiplexing of address and databuses.

    Supports parallel buses foraddress and data

    Allows a different internalor anization such that instruction

    CPU

    Program

    Memory

    Data

    Memory

    Program

    Memory

    Data

    Memory

  • 8/8/2019 Project VIII Presentation

    7/18

    Programs and data share the

    same memory space.

    Allows storing or modifying theprograms easily.

    The code storage may not be

    optimal and requires multiplefetches to form the instruction.

    Program and data fetches are

    done using time division

    multiplexing which affect the

    Von Neumann Architecture

    CPU

    Memory

  • 8/8/2019 Project VIII Presentation

    8/18

    Logic Gates

    Boolean Algebra

    Map Specification Combinational Circuits (Registers,

    Counters)

    Flip-Flops

    Sequential Circuits

    Memory Components

    (ROM,PROM,EPROM)

    Integrated Circuits (VLSI, CMOS)

    heory Behind Project Development

  • 8/8/2019 Project VIII Presentation

    9/18

    Data Types

    Complements (1s, 2s)

    Fixed Point Representations Floating Point Representations

    Other Binary Codes (BCD,GRAY

    CODE) Error Detection Codes (Even and

    Odd Parity)

    Data Representation

  • 8/8/2019 Project VIII Presentation

    10/18

    Register Transfer & Micro-Operations

    Register TransferLanguage (ShiftLoad Clear Increment)

    Register Transfer(R f (R, R)

    Bus and Memory Transfers

    Arithmetic Microoperations

    Logic Microoperations

    Shift Microoperations

    Arithmetic Logic Shift Unit

  • 8/8/2019 Project VIII Presentation

    11/18

    Basic Computer Organization & Design

    Instruction Codes

    Computer Registers

    Computer Instructions

    Timing and Control Instruction Cycle

    Memory Reference Instructions

    Input-Output and Interrupt

    Complete Computer Description

    Design of Basic Computer

    Design of AccumulatorLogic

  • 8/8/2019 Project VIII Presentation

    12/18

    Introduction

    Machine Language

    Assembly Language

    Assembler

    Program Loops

    Programming Arithmetic and LogicOperations

    Subroutines Input-Output Programming

    Programming the Basic Computer

  • 8/8/2019 Project VIII Presentation

    13/18

    Project Design

    This system uses a

    programmable microcontroller

    which is programmed for 3different functionalities.

    Unlock the door by matching

    the security code entered bythe user.

    Allows to set our own security

    code.

  • 8/8/2019 Project VIII Presentation

    14/18

    Project Design

    The system comprises a number keypad and thekeypads are connected to the 8 bit microcontroller

    AT89C2051(Atmel). This is one of the popularMicrocontroller. It has only 20 pins and there are15 input/output lines. The microcontroller has aprogram memory of 2 Kilobytes.

    The circuit works with the Microcontroller 89C2051and a ROM 24C08. Other components includeCapacitors, Resistors, LEDs, Push Buttons, Rileyand a crystal Oscillator. The basic working and

    operation is done through a Keypad that takesinput sends it to 89C2051 where thismicrocontroller process the input through aProgram stored into it.

    The circuit responds to the input as either a correctcode or a false code.

    In case of a correct code a voltage output is been

  • 8/8/2019 Project VIII Presentation

    15/18

    Project Design - flowchart

    CHECKTHEPASSWORD

    READKEYPAD

    START

    DOOR OPEN

    CHECKIF WRONGPASSWORDENTERED

    3 X

    ALARM ON

    CORRECT

    WRONG

    3 PASSWORD ATTEMPT

    NOTE:1. Change Password

    2. Manual Open

  • 8/8/2019 Project VIII Presentation

    16/18

    KEYPAD

    EEPROM

    MICRO

    CONTROLLER

    AT89C2051

    RELAY DRIVER

    &

    RELAYS

    MOTOR

    Project Design block diagram

  • 8/8/2019 Project VIII Presentation

    17/18

    Project Design circuit diagram

    10k

    G

    D

    5

    8

    6

    7

    123

    SDA

    VCC

    SCL

    WP

    A0A1A2

    16Vdc

    LM7805C

    D1

    4007

    1000u

    10u

    10k

    390

    LS1

    Relay SPDT

    35

    412

    1

    2

    D1

    4007

    100u

    C828

    30p

    1

    2

    24C0B

    AT89C2051

    1

    20

    54

    1213141516171819

    23678911

    RST

    VPP

    VCC

    XTAL1XTAL2

    P1.0/AI

    0P1.1/AI

    1P1.2P1.3P1.4P1.5P1.6P1.7

    P3.0/RXDP3.1/TXD

    P3.2/I

    T0P3.3/I

    T1P3.4/T0P3.5/T1

    P3.7

    D1

    4007

    30p

    220n

    10k

    220n

    10k

    100

    D1

    4007

    1 2

    390

    390

    10k

  • 8/8/2019 Project VIII Presentation

    18/18

    Conclusion

    Accomplishment:

    Board design which is pact and simple.

    The invasive design gives the prototype model to

    use easily and can be implemented to make it towork with cell phone to open the lock remotely.

    Furthermore use of AT89C2051 give us flexibilityto work around with other components in a costeffective way.

    Ethical Consideration:

    Created a device that is user friendly

    Eliminate the risk of PCB board replaced visible

    wire usage.