door locking system based on embedded password (2) (1)

Upload: kannan-ds

Post on 04-Jun-2018

229 views

Category:

Documents


2 download

TRANSCRIPT

  • 8/13/2019 Door Locking System Based on Embedded Password (2) (1)

    1/54

    KARNATAKA STATE OPEN UNIVERSITY

    MANASA GANGOTHRI, MYSORE- 570006

    TITLE OF THE PROJECT REPORT

    DOOR LOCKING SYSTEM

    BASED ON EMBEDDED PASSWARD

    A PROJECT REPORT

    Submitted by

    NAME OF THE CANDIDATE

    KUSUMA.R

    !"#LDEC0"

    Under the guidance of

    G$%&' N()'KANNAN

    I* +(%( /$/%)'* / 1' '2$%')'*

    F 1' (3(& / 1' &'4'' /

    D%+)(

    %nELECTRONICS AND COMMUNICATION ENGINEERING

    S1((&( V%( T$N.!50!, "*&/. L(1)% 8)+'9, 01)(%*

    "718, !1:8, J(;(*(4(, B(*4('-

    M*1 < Y'( = JULY "0#

    [1]

  • 8/13/2019 Door Locking System Based on Embedded Password (2) (1)

    2/54

    KARNATAKA STATE OPEN UNIVERSITY

    MANASA GANGOTHRI, MYSORE- 570006

    TITLE OF THE PROJECT REPORT

    DOOR LOCKING SYSTEM

    BASED ON EMBEDDED PASSWARD

    A PROJECT REPORT

    Submitted by

    NAME OF THE CANDIDATE

    KUSUMA.R

    !"#LDEC0"

    Under the guidance of

    G$%&' N()'KANNAN

    I* +(%( /$/%)'* / 1' '2$%')'*

    F 1' (3(& / 1' &'4'' /

    D%+)(

    %nELECTRONICS AND COMMUNICATION ENGINEERING

    S1((&( V%( T$N.!50!, "*&/. L(1)% 8)+'9, 01)(%*

    "718, !1:8, J(;(*(4(, B(*4('-

    M*1 < Y'( = JULY "0#

    [2]

  • 8/13/2019 Door Locking System Based on Embedded Password (2) (1)

    3/54

    KARNATAKA STATE OPEN UNIVERSITY

    MANASA GANGOTHRI, MYSORE- 570006

    CERTIFICATE

    This is to certify that this ro!ect entit"e# $DOOR LOCKING SYSTEM

    BASED ON EMBEDDED PASSWARD% S&'(itte# 'y stent na(eKUSUMA.R)ith Re*ister N!"#LDEC0"is s&'(itte# on1+,-+2,1.

    to the KARNATAKA STATE OPEN UNIVERSITY/ 0arnataa/ In#ia/ in

    artia" f&"fi""(ent of the re&ire(ents for the a)ar# of D%+)( %*

    ELECTRONICS AND COMMUNICATION ENGINEERING is a

    recor# of 'onafie# )or &n#ertaen 'y her+hi(3

    Stent Na(e4 0USUMA3R Interna" G&i#e Na(e4

    Si*nat&re4 Desi*nation4

    Date4 1+,-+2,1 Interna" G&i#e Si*nat&re4

    Date4

    Sty Center Na(e4 E5terna" G&i#e Na(e4

    Sea" of Sty Centre Desi*nation4 E5terna" G&i#e Si*nat&re4

    Date4 Date4

    [.]

  • 8/13/2019 Door Locking System Based on Embedded Password (2) (1)

    4/54

    TABLE OF CONTENTS

    1. ABSTRACT

    ". SCHEMATIC DIAGRAM

    #. CIRCUIT DESCRIPTION

    !. INTRODUCTION

    6313 EM7EDDED S8STEMS

    6323 MICROCONTROLLER AT9:;;2

    63.3 LCD

    6363 LED

    63;3 0EIL SOAD

    ;363 IS> >ROGRAMMER

    6. CODING

    7. REFERENCE

    [6]

  • 8/13/2019 Door Locking System Based on Embedded Password (2) (1)

    5/54

    D'8((%*

    I certify that

    a3 The )or containe# in this reort is ori*ina" an# has 'een #one

    'y (e &n#er the *&i#ance of (y s&er?isor@s3

    '3 The )or has not 'een s&'(itte# to any other Instit&te for any

    #e*ree or #i"o(a3

    c3 I ha?e fo""o)e# the *&i#e"ines ro?i#e# 'y the Instit&te in

    rearin* the reort3

    #3 I ha?e confor(e# to the nor(s an# *&i#e"ines *i?en in the Ethica"

    Co#e of Con#&ct of the Instit&te3

    e3 =hene?er I ha?e &se# (ateria"s @#ata/ theoretica" ana"ysis/ fi*&res/

    an# te5t fro( other so&rces/ I ha?e *i?en #&e cre#it to the( 'y

    citin* the( in the te5t of the reort an# *i?in* their #etai"s in the

    references3

  • 8/13/2019 Door Locking System Based on Embedded Password (2) (1)

    6/54

    A8*3'&4')'*

    [B]

  • 8/13/2019 Door Locking System Based on Embedded Password (2) (1)

    7/54

    A8*3'&4')'*

    [-]

  • 8/13/2019 Door Locking System Based on Embedded Password (2) (1)

    8/54

    DOOR LOCKSYSTEM BASED ON

    EMBEDDEDPASSWORD

    [9]

  • 8/13/2019 Door Locking System Based on Embedded Password (2) (1)

    9/54

    TABLE OF CONTENTS

    1. ABSTRACT

    ". SCHEMATIC DIAGRAM

    #. CIRCUIT DESCRIPTION

    !. INTRODUCTION6313 EM7EDDED S8STEMS

    6323 MICROCONTROLLER AT9:;;2

    63.3 LCD

    6363 LED

    63;3 0EIL SOAD

    ;363 IS> >ROGRAMMER

    6. CODING

    >. REFERENCE

    [:]

  • 8/13/2019 Door Locking System Based on Embedded Password (2) (1)

    10/54

    ABSTRACTAIM=

    This ro!ect is #escri'e# to #esi*n an# #e?e"o a #i*ita" co#e "oc

    &sin* (icro contro""er AT 9:s;2

    DESCRIPTION=

    o(e+office sec&rity is to riority of a"" concerne#3 To#ay

    there are "enty of ho(e+office sec&rity ro#&cts to ens&re yo&r fa(i"ys

    sec&rity co("ete"y3 o(e+office sec&rity is the (ost si*nificant one for

    e?ery ho(e+office o)ner either in an in#i?i#&a" ho&se or an aart(ent3

  • 8/13/2019 Door Locking System Based on Embedded Password (2) (1)

    11/54

    BLOCK DIAGRAM=

    RE?UIREMENTS=

    HARDWARE RE?UIREMENTS=

    AT9:S;2

    LCD DIS>LA8

    7UHHER

    0E8>AD

    SOFTWARE RE?UIREMENTS4

    0EIL C Co(i"er

    >ROGRAMMING IN EM7EDDED C

    [11]

    DOOR

    L"@#D

    A

    T

    >

    @

    S

    5

    "

    LCD

    KEYPAD

  • 8/13/2019 Door Locking System Based on Embedded Password (2) (1)

    12/54

    SCHEMATIC DIAGRAM

    3 3 p f

    X T A L 1

    V C C

    G N D

    G N D

    V C C

    4 . 7 K

    X T A L 2

    G N D

    1 0 4 p f

    F R O M I S P ( 4 )

    G N D

    A T 8 9 S 2 C R ! S T A L

    D 4 ( L C D )

    3 3 p f

    G N D

    "

    #

    G N D

    P 1 . $P 1 . 7

    % & ' ' R

    P

    G N D

    P 0 . 4

    3 3 p f

    K

    (

    !

    P

    A

    D

    1234$7

    8 . 2 K

    V C C V

    2 3 0 V * A . C

    12

    A T 8 9 S 2 I S P

    G N D

    V C C

    A 4 ( L 2 9 3 D )

    I

    G N D

    F R O M I S P ( 2 )

    V C C

    L D

    P 1 .

    N ( L C D )

    1 K

    S

    G N D

    P 0 . 3

    R

    8

    R

    7

    R

    6

    R

    5

    R

    4

    R

    3

    R

    2

    R

    1 C

    1 0 K P & L L & P

    9 8 7 $ 4 3 2 1

    X T A L 2

    1 0 + f , 3 V

    P 1 .

    7 8 0 R G & L A T O R1 3

    V I N V O & T

    R S T

    A T 8 9 S 2

    2 0

    1 81 7

    2 9

    3 0

    1 9

    3 29

    1 01 11 2

    1 31 41 1 $

    4 03 93 83 73 $3 3 43 3

    2 8

    2 72 $2 2 42 32 22 1

    1234$78

    3 1

    G N D

    X T A L 2( R D ) P 3 . 7

    P S N

    A L , P R O G

    X T A L 1

    P 0 . 7 , A D 7R S T

    ( R X D ) P 3 . 0( T X D ) P 3 . 1( I N T 0 ) P 3 . 2( I N T 1 ) P 3 . 3( T 0 ) P 3 . 4( T 1 ) P 3 . ( - R ) P 3 . $

    V C CP 0 . 0 , A D 0P 0 . 1 , A D 1P 0 . 2 , A D 2P 0 . 3 , A D 3P 0 . 4 , A D 4P 0 . , A D P 0 . $ , A D $

    P 2 . 7 , A 1

    P 2 . $ , A 1 4P 2 . , A 1 3P 2 . 4 , A 1 2P 2 . 3 , A 1 1P 2 . 2 , A 1 0

    P 2 . 1 , A 9P 2 . 0 , A 8

    ( T 2 ) P 1 . 0( T 2 X ) P 1 . 1P 1 . 2P 1 . 3P 1 . 4( M O S I ) P 1 . ( M I S O ) P 1 . $( S C K ) P 1 . 7

    A , V P PP 0 . 1

    G N D B U Z Z E R

    1 , 2 E N

    A 1

    Y 1

    G N D

    G N D G N D

    G N D

    Y 2

    A 2

    V C C 2 3 , 4 E N

    A 3

    Y 3

    Y 4

    A 4

    V C C 1

    L 2 9 3 D

    1234$78 9

    1 0

    1 4

    1 $1

    1 31 21 1

    T R A N S F O R M E R

    P 0 .

    V C C

    P 1 . 2

    R S ( L C D )

    D 7 ( L C D )

    G N D

    V C C

    D ( L C D )

    V C C

    P 0 . $

    V C C

    2 2 0 /

    - +

    % R I D G R C T I F I R

    1

    4

    3

    2

    P O - R S & P P L ! ( V D C )

    % C 1 0 9

    P 1 . 0

    R S T

    V C C

    F R O M I S P ( $ ) R S T

    F R O M I S P ( 1 0 )

    S

    -

    IT

    C

    ( V , 1 A M P "

    G N D

    1 23 4 $7 89 1 0

    1 0 0 0 + f , 3 V

    R

    8

    R

    7

    R

    6

    R

    5

    R

    4

    R

    1

    R

    2

    R

    3 C

    1 0 K P & L L & P

    1234$789

    T R I M P O T

    K

    D $ ( L C D )

    1 1 . 0 9 2 M

    P 0 . 7

    R

    8

    R

    7

    R

    6

    R

    5

    R

    4

    R

    1

    R

    2

    R

    3C

    1 0 K P & L L & P

    1 2 3 4 $ 7 8 9

    G N DV C CV E ER SR #E N

    D $

    D 3D 2

    D 4D 5D 6D 7

    D 1

    % E D +

    % E D -

    1234$789

    1 01 11 21 31 41 1 $

    2

    G N D

    V C C

    1 0 + f , $ 3 VC

    V C C

    X T A L 1

    L C D

    V C C

    R S T

    A 3 ( L 2 9 3 D )

    [12]

  • 8/13/2019 Door Locking System Based on Embedded Password (2) (1)

    13/54

    CIRCUIT DESCRIPTIONDESIGNING=

    Since the (ain intension of this ro!ect is to #esi*n a sec&rity

    Door "ocs syste(3 In or#er to f&"fi"" this a"ication there are fe) stes that

    has 'een erfor(e# i3e3

    1 Desi*nin* the o)er s&"y for the entire circ&itry3

    2 Se"ection of (icrocontro""er that s&its o&r a"ication3

    . Se"ection 0ey a#3

    6 Se"ection of DC (otor3

    ; Se"ection of '&FFer accor#in* to the re&ire(ent3

    Co("ete sties of a"" the a'o?e oints are &sef&" to #e?e"o this ro!ect3

    POWER SUPPLY SECTION=Inor#er to )or )ith any co(onents 'asic re&ire(ent is o)er

    s&"y3 In this section there is a re&ire(ent of ; o)er s&"y3

    Transformers456789 AC7:7498;4;9< f8 57 6:9=>7 9 =59/78 ?;9/:;99:7 :@@ f p?78. T8=5@f878@ ?8 5: