collision detection using ir sensors

Upload: bobbyn7

Post on 03-Jun-2018

236 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/12/2019 Collision Detection using IR sensors

    1/28

    COLLISION DETECTION AND WARNING SYSTEM

    USING IR SENSORA PROJECTREPORT

    Submitted in partial fulfillment of the Requirements

    For the degree of

    BACHELOR OF ENGINEERING

    IN

    ELECTRONICS AND TELECOMMUNICATION

    Submitted by

    Achala Shukla

    Ankit Fanci!

    B"##$ N%l!"n

    S"nika Sin&h

    Un'% Gui'anc% "(

    P"() Lakh*in'% +au

    D%,at-%nt "( El%ct"nic! . T%l%c"--unicati"n En&in%%in&

    Rungta College of Engineering & Technology, Bhilai (India)

    /R%c"&ni0%' #$ A)I)C)T)E N%* D%lhi1 Acc%'it%' #$ N)B)A)1 N%* D%lhi2

    N"34D%c 5678

  • 8/12/2019 Collision Detection using IR sensors

    2/28

    DEPARTMENT ! E"ECTRNIC# &

    TE"ECMM$NICATIN

    Run&ta C"ll%&% "( En&in%%in& . T%chn"l"&$1

    Bhilai/In'ia2

    Dat% 9

    CERTI!ICATE

    C%ti(i%' that th% c"nt%nt! "( th% ,":%ct %,"t %ntitl%'1 ;C"lli!i"n D%t%cti"n

    . Wanin& !$!t%- U!in& IR !%n!"; i! a #"na(i'% *"k cai%' "ut un'%

    -$ &ui'anc% #$ Achala Shukla1 Ankit Fanci!1 B"##$ N%l!"n1 S"nika Sin&h

    in ,atial (ul(ill-%nt "( th% %

  • 8/12/2019 Collision Detection using IR sensors

    3/28

    W% a% ,l%a!%' t" %=,%!! "u !inc%% &atitu'% t" "u ,":%ct &ui'% Prof

    "ah*inder %aur(" h% n"#l% !u,,"t an' &ui'anc% in th% '%3%l",-%nt "( th% ,":%ct

    an' "u ,":%ct incha&% Prof Nitin Naiyar(" hi! ti-%l$ -"nit"in& an' (" -%nt"in&

    th"uh"ut th% 3ai"u! !ta&%! "( ,":%ct '%3%l",-%nt

    W% *i!h t" %=,%!! "u !,%cial thank! t" Prof "alit %u+ar P Bhaiya1

    A!!"ciat% P"(%!!" an' H%a'1 D%,at-%nt "( El%ct"nic! an' T%l%c"--unicati"n

    En&in%%in&1 (" all hi! acti3% c"4",%ati"n an' kin' c"n!i'%ati"n th"u&h"ut th% ,%i"')

    W% &at%(ull$ ackn"*l%'&% Dr # M Praanna %u+ar, Director, RCET,

    Bhilaian' Prof # B Bur-e1 A!!"ciat% P"(%!!" an' >ic%4Pinci,al1 RCET1 Bhilai an'

    all -ana&%-%nt ,%!"naliti%! *h" ha3% h%l,%' -% in'i%ctl$)

    W% %=,%!! c"'ial thank! t" Mr Arun %u+aran' all h%l,in& (aculti%!(" th%i

    3alua#l% &ui'anc%1 !u&&%!ti"n an' h%l, 'uin& th% '%3%l",-%nt "( th% ,":%ct)

    Finall$1 *% *i!h t" %=,%!! "u '%%,%!t !%n!% "( &atitu'% t" "u Fa-ili%! a! th%i

    *i!h%! ha3% al*a$! in!,i%' u!)

    4G"u, M%-#%!

    Achala Shukla

    Ankit Fanci!

    B"##$ N%l!"n

    S"nika Sin&h

    AB#TRACT

  • 8/12/2019 Collision Detection using IR sensors

    4/28

    Th% ai- "( th% ,":%ct ha! #%%n t" '%3%l", an %-#%''%' !$!t%- ca,a#l%

    "( '%t%ctin& an$ "#!tacl% *h%n it c"-%! *ithin th% ,%4'%t%-in%' an&% "( th% !$!t%-)

    Futh%-"%1 th% !$!t%- ha! t" al%t th% u!% a#"ut th% "#!tacl% ah%a' "( th% !$!t%-)

    Th%% a% -an$ '%3ic%! that (it th% cit%ia (" th% '%t%cti"n "( a %-"t%

    "#:%ct) In "u ,":%ct1 th% In(a%' '%t%cti"n -%chani!- i! u!%') An IR tan!-itt% i! u!%'

    (" tan!-ittin& th% !ai' IR a$! an' th%!% a'iati"n! a% %(l%ct%' #ack ("- th% (a "((

    "#!tacl% t" #% '%t%ct%' #$ an IR !%n!in& -"'ul%) Th% !$!t%- !hall ha3% a C"nt"ll% that

    can -"nit" th% ",%ati"n "( th%!% !%n!"! an' th%n al%t th% u!% #$ an$ au'i" " 3i!ual

    ai' a#"ut th% i-,%n'in& c"lli!i"n !" that u!% -a$ th%n a#"t it " u!% thi! in("-ati"n a!

    %

  • 8/12/2019 Collision Detection using IR sensors

    5/28

    CONTENTS

    C.APTER / INTRD$CTIN 0

    C.APTER 1 T.ER2 3

    5)7 P":%ct R%

  • 8/12/2019 Collision Detection using IR sensors

    6/28

    "I#T ! TAB"E#

    #No Ta:le no Ta:le na+e Page no

    7 5)7 A#!"lut% -a=i-u- atin&! 565 5)5 El%ctical . O,tical chaact%i!tic! 56

    "I#T ! !I'$RE#

    #No !igure

    no

    !igure na+e Page

    no7 5)7 P"*% !u,,l$ 775 5)5 P":%ct Cicuit 'ia&a- 75

    8 5)8 6@7 Int%nal Achit%ctu% 7?

    ? 5)? Mic"c"nt"ll% #l"ck 'ia&a- 7@

    @ 5)@ Sch%-atic . F%atu%! 7

    5) Pin Dia&a- 7

    5) TSOP8758 7

    5) Bl"ck 'ia&a- "( TSOP 56

    5) A,,licati"n Sch%-atic 56

    76 5)76 W"kin& "( TSOP 57

    77 5)77 At*"k PCB la$"ut 55

    75 5)77 R%al W"l' PCB la$"ut 55

    78 8)7 P"c%!! Fl"* Chat 5@

  • 8/12/2019 Collision Detection using IR sensors

    7/28

    C.APTER /

    INTRD$CTIN

  • 8/12/2019 Collision Detection using IR sensors

    8/28

    AIM & #CPE ! PR;ECT 'c 3"lta&% a! !%%n 'uin& (inal

    u!%)

  • 8/12/2019 Collision Detection using IR sensors

    12/28

    PR;ECT CIRC$IT

    !igure 11< Pro-ect circuit diagra+

  • 8/12/2019 Collision Detection using IR sensors

    13/28

    CMPNENT DETAI"#

    9@7/ Microcontroller

    A +icro controlleri! an int%&at%' cicuit " a chi, *ith a ,"c%!!" an' "th% !u,,"t

    '%3ic%! lik% ,"&a- -%-"$1 'ata -%-"$1 IO ,"t!1 !%ial c"--unicati"n int%(ac%

    %tc int%&at%' t"&%th%) Unlik% a -ic","c%!!" /%=< Int%l6@21 a -ic"c"nt"ll% '"%!n"t %

  • 8/12/2019 Collision Detection using IR sensors

    14/28

    ) UART /!%ial ,"t2

    76) T*" 74#it C"unt%ti-%!

    77) T*"4l%3%l int%u,t ,i"it$

    /1 P"*% !a3in& -"'%

    !igure 14< 9@7/ Internal Architecture

  • 8/12/2019 Collision Detection using IR sensors

    15/28

    Baic tructure of +icrocontroller SP15FH initiali0% !tack ,"int%

    MO> IE1 5H initiali0% int%u,t %na#l% %&i!t% t" %na#l% "nl$ t6 int%u,t

    CLR P5)6 initiali0% ,in a! "ut,ut

    CLR P7)7 initiali0% ,in a! "ut,ut

    CLR P7)5 initiali0% ,in a! "ut,ut

    MO> TMOD1 65H initiali0% t-"' %&i!t% (" ti-%6 in -"'%5

    MO> TH616F?H initiali0% th% t6 %&i!t% *ith th% a,t c"unt

    SETB TR6 !tat ti-%

    AGAIN9 JB P8)51AGAIN i( ,in5 "( ,"t8 i! !%t th%n %ch%ck

    CLR P7)7 l%' "n

    CLR P7)5 #u00% "n

    REP9 JNB P8)51REP i( ,in5 "( ,"t8 i! %!%t th%n %ch%ck

    SETB P7)7 l%' "((

    SETB P7)5 #u00% "((

    SJMP AGAIN :u-, #ack t" ch%ck at AGAIN

  • 8/12/2019 Collision Detection using IR sensors

    27/28

    C.APTER=4

    CNC"$#IN

    Th% C"lli!i"n '%t%cti"n an' a3"i'anc% !$!t%- u!in& IR !%n!"! ha! #%%n

    c"n!tuct%' a! ,% th% n"-! an' ("un' t" #% *"kin& a,tl$) Th% !$!t%- i! ca,a#l% "(

    '%t%ctin& an "#!tacl% a! it c"-%! in th% an&% "( th% !$!t%- an' th% an&% can al!" #%

    alt%%' #$ th% u!%) Th% !$!t%- al!" *an! th% u!% a#"ut th% "#!tacl% " th% i-,%n'in&

    c"lli!i"n 3ia #u00% an' l%')

  • 8/12/2019 Collision Detection using IR sensors

    28/28

    C.APTER=7

    !$T$RE E8PAN#IN

    Alth"u&h th% !$!t%- i! !%l(4'%,%n'%nt an' ca,a#l% "( (uncti"nin& in'%,%n'%ntl$

    $%t it can #% %=,an'%' int" a ,at "( a la&% !$!t%- in -an$ *a$!)

    Th% -"!t int%%!tin& an'