theft intimation of the vehicle over sms to owner who can stop the engine remotely
TRANSCRIPT
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
1/41
THEFT INTIMATION OF THE
VEHICLE OVER SMS TO OWNER
WHO CAN STOP THE ENGINE
REMOTELY
1
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
2/41
CONTENTS
CHAPTER NO DESCRIPTION PAGE NO
1 ABSTRACT 4
2 INTRODUCTION 4
3 BLOCK DIAGRAM 5
4 BLOCK DIAGRAM DESCRIPTION
4.1 MICROCONTROLLER 5
4.2 GSM MODEM 6
4.3 DRIVER CIRCUIT & RELAY 6
4.4 MOTOR 6
5 COMPONENTS DETAILED EXPLANATION
5.1 MICROCONTROLLER 6
5.2 RS-232 24
5.3 RELAY 26
5.4 DC MOTOR 26
5.5 GSM MODEM 27
6 PCB DESIGN
6.1 INTRODUCTION 32
6.2 SOT!ARE 32
6.3 MANUACTURING 32
6.4 PANELISATION 32
6.5 DRILLING 32
2
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
3/41
CHAPTER NO DESCRIPTION PAGE NO
6.6 PLATING 33
6.7 ETC"ING 33
6.# SOLDER MASK 33
6.$ "OT AIR LEVELING 33
SOT!ARE
7 SOT!ARE TOOLS
7.1 KEIL 33
7.2 ASSEMBLING & RUNNING 37
AN #%51
1% ADVANTAGES 3#
11 APPLICATIONS 3$
12 CONCLUSION 3$
13 BIBLIOGRAP"Y 3$
3
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
4/41
1.Abstract:
T' ()* +, ) /0+' ) + ' )0'' '++8 + ))*(' ' +'0 +, '
9')' (:+ (8 (+0);'< '08. T) ) ' *)0++0+'0 ' ( )'00/
0+ ( ) *'()* +''< + ' 8'* (< +**(
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
5/41
$.%&c' D#a(ra):
*.%&c' E+,&anat#n:
*.1 M#crcntr&&-r:
M)0++0+'0 ( ( ( +0+ 8'* +, ' )0).
5
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
6/41
*.2 GSM M!-):
!' (8+' :0'(= ' += *'( ' +0+'0 '< ' '0)8 ),+0*()+ + ' GSM
*+
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
7/41
ROM:
R'(< +8 *'*+08.
R+* ) ( + 9+()' *'*+08. T) ) 8/)(8 ( ) /0+0(**'< ( ' ,(+08 + (9' '0() 9(' ) (+ :'
('
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
8/41
461 Arc7#t-ct"r-:
#%51 A0)'0' +() ' ,++)J
• CPU
• ALU
• IO /+0
• RAM
• ROM
•
2 T)*'0C+'0• G''0( P0/+' 0')'0
8
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
9/41
• S/')( )+ 0')'0
• C08( O)(+0
• S'0)( /+0
• I'00/
• PS!
• P0+0(* C+'0
• S(= /+)'0
Int-rr",ts
A )'00/ ) ( /')( ,'(0' ) (+ ' #%51 + /0+9) (+ ) 0'()8 ' #%51 ) +8 ' *+ +**+ 08( ,0'')' (0' 12 *'('0; (< 11.%5$
*'('0;--) 11.%5$ :') * *+0' +**+. !8 +< (8+' /)= ( + '
#%51 +/'0(' ) ( (0' ('< *()' 8'. A )' *()' 8' ) '
9
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
10/41
*))** (*+ +, )*' ) ) ( )' #%51 )0)+ ( :' '?'' ) 0'()8> 12 /' +, ' 08(. T( ) + (8> ), ( )0)+ (=' +'
*()' 8' + '?''> ) ) (=' 12 /' +, ' 08( + '?''. S)' ' =+ '
08( ) /) 11>%5$>%%% )*' /'0 '+< (< ( +' *()' 8' ) 12 /'> '
( ((' + *(8 )0)+ 8' ' #%51 ( '?'' /'0 '+%5$>%%% 12 $21>5#3
T) *'( ( ' #%51 ( '?'' $21>5#3 )'-8' )0)+ /'0 '+%%% )0)+ /'0
'+< ) *+0' 0'()).
+0 '?(*/'> ), 8+ (0' ) '?)9'8 2-8' )0)+ 8+ +< ,)< ( ' #%51
+< '?'' 46%>7$1 )0)+ /'0 '+ *(8 +/)*);'<
9'0)+ +, ' #%51 '?'' )0)+ ) 4 +)(+0 8' )'(< +, 12 ( )/
+< :' ',,')9'8 3 )*' ,('0 ( ' #%51 ' '< ) ' (*' 11.%5$ M;
08(.
S)' ( ' )0)+ 0')0' 0'( (<
+,)0'< )
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
11/41
T' 0'' )*'0 ' (0' ( +'0> +0 ( :(< 0('
''0(+0J A )*'0 ) ((8 )0'*''< :8 ' *)0++0+'0.
Pr(ra))#n( T#,: S+*' %%% 12 $21>5#3
$21>5#3 )*' /'0 '+
+'0 2> (< +'0 4--' )*'0 (0' +)'J T'8 ) ((8 :' )0'*''< +' /'0 *()' 8'. T ), ( )*'0 ( +'< ,0+* % + 5%>%%% 8+ *(8 (('J
5%>%%% $21>5#3 .%542
.%542 '+
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
12/41
L' (8 ' ( + =+ + *(8 )*' ' )*'0 ) :' )0'*''< ) .%5 '+5#3 46>%7$.15.
T) ' ( ) ) (=' .%5 '+%7$ (< 8+ ( + '?'' +*' '9' '9'08 '+< 8+ )*/8 () ,+0 ' )*'0 +
+ ,0+* % + 46>%7$ '8 )*' ' 8+ '?'' 8+0 '9'> 0'' ' )*'0> (< (),+0 ' )*'0 + + / (+'0 2% )*'.
I ) *('0 8+ ) ',,')9'8 '?'' 8+0 '9' +' /'0 '+ (0(' + ))
+(
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
13/41
T"1 T)*'0 1 ") B8' #D
TL1 T)*'0 1 L+ B8' #B
TCON T)*'0 C+0+ ##
TMOD T)*'0 M+ ) )'0(8 +9'0 ) + ( *:'0.
+0 '?(*/'> ' +**( 8+ *(8 )= +, ) ( ' ) (< + :8' +, '
)*'0. T( ) + (8> ' T)*'0 % ( ( 9(' +, %> :+ T"% (< TL% ) +() %. !'
T)*'0 % ( ' 9(' 1%%%> T"% ) +< ' ) :8' +, ' 9(' 3
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
14/41
T' )
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
15/41
1$b#t T#)- M!- =)!- 6>
T)*'0 *+ +8 13 :) +, ' +
)*'0 :8' (0' :') ' ' )*'0 *(8 +() /
+ 65536
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
16/41
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
17/41
)(8> '0' +' *+0' SR ( +0+ ' + )*'0 (< /0+9)
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
18/41
T%M1 (< ' T%M%. E,,')9'8> ' +8 :) ' ( + 0 + ) :) % +, TMOD. T +
)))();' ' )*'0 ' '?'' ' )0)+J
MOV TMOD>Q%1
T)*'0 % ) + ) 16-:) )*'0 *+ ), 8+0' ' 0'(< ' )
:8' +, ' )*'0 ( 15. I ) ('> ( ((8 (//''< ( ( ' )*'0 9(' (
14255 ) :8' 14> + :8' 255F : 8+ 0'(< 15255. !8 B'(' 8+ 0'(< ' +
:8' ( 255. B ' 8+ '?''< ' '? )0)+ ( *( (*+ +, )*' /('T"%
MOV R%>TL%
CNE A>T"%>REPEAT
...
18
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
19/41
I ) ('> ' +(< ' (*(+0 ) ' ) :8' +, T)*'0 %. !' ' +(< R% ) '
+ :8' +, T)*'0 %. )(8> ' '= + '' ), ' ) :8' ' 0'(< + +, T)*'0 %--)
) + +0'< ) ' A*(+0--) ' (*' ( ' 00' T)*'0 % ) :8'. I, ) ) )
*'( '9' 0+'< +9'0 (< * 0'0'(< ' )*'0 9(' :8 +) :(= + REPEAT.
!' ' ++/ '?) ' ) (9' ' + :8' +, ' )*'0 ) R% (< ' ) :8' ) 'A*(+0.
A+'0 * )*/'0 ('0()9' ) + )*/8 0 +,, ' )*'0 0 :) ).'. CLR TR%F> 0'(<
' )*'0 9('> (< ' 0 + ' )*'0 0 :) ).'. SETB TR%F. I ( ('> ' )*'0
) 0) + + /')( 0)= (0' ''(08. O, +0'> ) )*/)' ( 8+0 )*'0 ) :'
+//'< ,+0 ( ,' *()' 8'. !''0 +0 + ) ) +'0(:' 8+ (0' +
/(0)(08 )'0' ) ' 9(' +, ' )*'0 : 0('0 8+ (0' )'0''< ) =+) '
' )*'0 ( +9'0,+'< :(= + %.
!''9'0 ( )*'0 overflows ,0+* ) )' 9(' :(= + %> ' *)0++0+'0
(+*()(8 ' ' T? :) ) ' TCON 0')'0. T) ) ', )' 0('0 ( '=)
' '?( 9(' +, ' )*'0 8+ ( '= ), ' T? :) ) '. I, T% ) ' ) *'( (
)*'0 % ( +9'0,+'%7$.
"+'9'0> ' T? ,( ) ' ' ' )*'0 +9'0,+ :(= + %. T> ), ' ( + ' '
T? ,( + )457 76 256 1$>456F
MOV TL6861L+ :8' +, 1$>457 1$>456 1 1$>457FMOV TMOD861P T)*'0 % ) 16-:) *+ */ :(= + ) (*' )0)+
I ' (:+9' +
0'( ), T% ) + '> :(= + ) (*' )0)+. T' +/'0(< *'(> ) *+
('*:'0> ' (
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
20/41
)0)+. A,'0 12% +, ( '+< )*'0 % ) +9'0,+> ' ' T% :)> (< /0+0(*
'?')+ ) ' :0'(= + +, ' ++/.
T#)#n( t7- &-n(t7 ; --nts
T' #%51 /0+9) ' #%51 /0+9) ' )) ) +,,F ' )*'0 ) (+*()(8 :' +//' ) + +0+ + I, ( (0 ( 0()'< ' )(> =''/ ())
20
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
21/41
B P1.%> T' )' ) ) ) *'( ' (0 ) + ' '+0 0) +
INC COUNTER T' (0 ( /('< +*/''8> + ' + )
A 8+ ( ''> ) +8 0'' )' +, + +*/'?> (< 8.
L=)8> )' ' #%51 /0+9) +' )> (< +' :(= + ) 6 += 8' ) )
/0+:(:8 + :' %%% '9' /'0
'+< 12.%%% M; 124 5%%>%%%F. I, ' '9' :') +'< +0 *+0' ( 5%%>%%%
)*' /'0 '+< ) ) + :' (:' + :' (0('8 +'< :8 ' #%51.
DESCRIPTION OF AT45S2:
T' AT#$S52 ) ( +-/+'0> )-/'0,+0*(' CMOS #-:) *)0++*/'0 ) 4K :8' +, ( /0+0(**(:' (< '0((:' 0'(< +8 *'*+08 PEROMF. T'
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
22/41
*(,(0'< ) A*' )- ' A*'
AT#$S52 ) ( /+'0, *)0++*/'0 ) /0+9)
( , (< +-)/ +)(+0 (< += )0)08. I ( +, ( )9'0) (*/),)'0
) ( :' +,)0'< ,+0 ' ( ( +-)/ +)(+0 E)'0 ( (0; 08( +0 '0(*)
0'+(+0 *(8 :' '
/ + + *()' 8' :',+0' ' )'0( 0'' (+0)* (=' +0+. O-)/ (0
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
23/41
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
24/41
P+0 1 ) ( #-:) :)- (< *(8 :' '< ,+0 '?'0( )*) +0 +=) /0/+'. N+'> +'9'0> ( +'
ALE /' ) =)//'<
'?'/ ( + PSEN ()9()+ (0' =)//'<
+'9'0> ( ), += :) 1 ) /0+0(**' EA ) :' )'0(8 ('< + 0''. EA +<
:' 0(//'< + VCC ,+0 )'0( /0+0(* '?')+. T) /) (+ 0'')9' ' 129+
/0+0(**) '(:' 9+(' VPPF ,+0 /(0 ( 0')0' 12-9+
VPP.
TAL1:
I/ + ' )9'0) +)(+0 (*/),)'0 (< )/ + ' )'0( += +/'0() )0).
24
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
25/41
TAL2:
O/ ,0+* ' )9'0) +)(+0 (*/),)'0.
Prt P#n A&t-rnat- F"nct#ns
P3.%
P3.1
P3.2
P3.3
P3.4
P3.5
P3.6
P3.7
RXD '0)( )/ /+0F
TXD '0)( +/ /+0F
INT% '?'0( )'00/ %F
INT1 '?'0( )'00/ 1F
T% )*'0 % '?'0( )/F
T1 )*'0 1 '?'0( )/F
!R '?'0(
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
26/41
T) ) ) ( +/ ,0+* ' *+
) )( 0'*() )()9'> )
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
27/41
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
28/41
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
29/41
*'('. T) ) :'(' ' *+:)' /+' (+*()(8 /0+'' 0'')9'< MMS *'('
+),)()+ )+ ,+0(0 ) )P+'>
(< !) ) ) S8*:)( :(' +8 //+0 ' (< () +*' '+
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
30/41
ATCSMP< ENTERJ
T' *+ + '< ) '? *+
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
31/41
ATCMGSK$1?$4B*61?1 b-(#n;t7-s'0,-7#(7(7t#n( $1?$4B*61?1
-n!;t7-s'0,-7#(7(7t#n(K ENTERJ
R'/(' ' (:+9' /+' *:'0 ) 8+0 + ' /+' *:'0. T' *+
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
32/41
T' *+ ,+0* ' +0' +, ''0+) ')/*' /0+' +0+>
''+**)()+ (< )0*'()+.
?.2 MAN3FATC3RING:
32
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
33/41
T' *(,(0) /0+' +) +, + *'+
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
34/41
(('< + ( (+*() ) ((8' (< +0+ ' (
+'0()+
?.4 SOLDERMAS:
S)' ( PCB '(9) ' :+(0< + )='0> (< *'*+08 +/)+ ,+0
8+.
34
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
35/41
N*'0+ '?(*/' /0+0(* (0' ) UART> SPI>
I'00/> IO P+0> AD C+9'0'0> DA C+9'0'0> (< P!M M+ ' ISD51 I-S8'*
D':'0> +0 ' ULINK USB-TAG A
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
36/41
I ' /> 0')'0 (0' '< + +0' ),+0*()+ '*/+0(0)8 ( ),+0*()+ +< :' ( :8'
+, +0'> +/8 +0' + Q55" L+(< 9(' 55" )+ 0')'0 A
MOV R%> A +/8 +( +, A )+ R%
MOV R1> A +/8 +( +, A )+ R1
1. V(' ( :' +(
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
37/41
2. I, ' 9(' % + (0' *+9'< + #-:) 0')'0> ' 0' +, ' :) (0' (*'< + :' ;'0+.
+0 '?(*/'> ) MOV> Q5 ' 0' ) :' A%5 ( ) A %%%% %1%1.
3. M+9) ( V(' ( ) ++ (0' )+ ( 0')'0 ) (' '00+0.
MOV A> Q72" 72" W # :) "F
4. A 9(' + :' +(
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
38/41
o T+ (< '' ((' (0' ('< ( ")-'9' (('.o T' ) '9' ((' (0' 0(('< )+ *()' +
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
39/41
o T' EaU ' /0+0(**'0 ( (' ) +' (< ' ('*:'0 ) (' ( +, )
+00''> 0('0 ( '(0 ' ')0' /0+0(* 08) + ,)< '9'08 +00''.
END )
39
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
40/41
*(S' >G++ C(+>SVATSJ( '+0-'+0=-:('< 9')' ()-',
8'*> P0+''//.2$4- 2$7>1$$$.
4H K(0( K.S.>M)V')' ()-', 8'* ' 0(T+*+N(=(+ K.-I.>K'8' '08 8'* ) 0( P0+''
-
8/18/2019 Theft Intimation of the Vehicle Over Sms to Owner Who Can Stop the Engine Remotely
41/41
$H )?)+ L)>G)*) "'>A 9')' ()-', (< ((0* 8'* :('< + +*/'0
9))+>P0+''