Академический Документы
Профессиональный Документы
Культура Документы
As we know that communication through mobile phone is increased day by day in the current situation. So it is possible to introduce a new system which can operate via mobile phone. Here we introduce a new system which is capable for vehicle security and provide better reliability and guaranteeing. In India the vehicle industry is so vast. There for security of vehicle is so important .This project aims to be an anti theft security for vehicle even though user is far away from there
GSM
TONE COUPLER
DTMF RECEIVER IC MC
WELCOME
MONITERI NG
PASSWORD OK
PASSWORD WRONG
SHOCK SENSOR
SECURITY E/ D
RELAY DRIVER
RELAY DRIVER
RELAY DRIVER
RELAY
RELAY
RELAY
ENGIN CUTT-OFF
DOOR LOCK
DOOR UNLOCK
2.1.1 GSM
A mobile phone is used as communicating device a GSM module can be used instead of mobile phone but it is costly
2.1.5 RELAY
A relay is usually an electromechanical device that is activated by an electrical current. The current flowing in one circuit causes the closing or opening of another circuit. Relays are like remote control switches and are used in many other application because of their relative simplicity and high reliability.
CHAPTER 4 WORKING
Micro controller 89C51 has for ports (P0, P1, P2 and P3). P0 and P2 are used as output port and P1 and P3 are used as input port. IC 8870 is used as DTMF receiver IC. It demodulates the incoming signal and converts it into binary form. If there is any valid binary in the output pins (11,12 ,13 and 14) of IC 8870, then, there will be a signal in pin No. 10. Then LED connected to the pin No. 10 will blink. Door sensor is connected to the pin No.11 of the micro controller via optocoupler. It consists of an LED and phototransitor. +5V is connected to the positive terminal of LED permanently and negative terminal is connected to the lock of the door. When door is opened, negative terminal of LED will be connected to the ground then LED blinks. This output will be fed to the base of the npn phototransistor. The emitter of that transistor is ground. Therefore whenever the transistor is ON, the collector and emitter will be short circuited and there will be a low signal at pin No. 11 of micro controller. A mobile phone is connected to the micro controller via opto-coupler. When micro controller gets a low signal in pin No.11 then it sends a low signals to the appropriate opto-couplers in a particular order, which are connected in the output port. The working of opto-coupler is explained above .Optocoupler is connected to MENU, DOWN, CANCEL keys of the phone. Then the mobile sends a message and make a call to the users mobile. When the user gets message or call, he can cut off the engine by pressing key 1. He can also lock the door by pressing 5 key. Engine can be turn on by pressing the key2. To unlock the door, press the key 6. Enable or disable the entire system by pressing the keys 4, 3 respectively. When a key is pressed, the combination of two frequencies will be send. In a mobile phone keypad each row and each column has a frequency. So a key is pressed combination of corresponding row and column frequency will be sent. This is called DTMF system. This signal is received by the mobile phone inside the car and sends it
into IC 8870 pin No. 10. This pin is connected to the pin No. 10 of micro controller. So if there is valid output in 8870, here will be a signal in pin No. 10 of micro controller. Then microcontroller scan output lines of 8870 and identify which action to be taken place. The microcontroller sends signal to activate appropriate relay.
ADVANTAGE
Low cost Easy to implement Long life Reliable Accurate
DISADVATAGE
SYSTEM WILL BE FAIL IF Mobile is out of coverage area Mobile is switched off No balance
CONCLUSION
If the security system intended to be used in vehicle security having a siren or bell alarm is used it only detects the intruder and may not help to him secretly. This project provides better security than bell ring. We have included the detection when the car door is opened, so that if the intruder is escaping through the door he will be get caught by locking the door through the GSM. The intruder is trying to start the car; we have another option to cut-off the engine. The system features offers the user, the ability to keep informed of security information. As a future enhancement, the system can be modified by the latest technology in the intruder detection that is the closed circuit television. Among a number of security system our product is showing its mark clearly that it will be a asset to present security system available and will soon become popular as it incorporates latest technologies like microcontroller and mobile phone. By adding necessary modifications this system can be upgraded to suit any security condition. The growing demand for higher security prompts the electronic industry in particular and engineering area in general in corporate latest technologies to develop enhanced, versatile and intelligent security system. This particular product is an end product of such a driving force. This project provides better security using GSM other than existing security system.
RESULT
Project is successfully done. The whole system works effectively and efficiently.
BIBLIOGRAPHY
APPENDIX I
MICROCONTROLLER PROGRAM
ORG 00H MOV P0,#00H MOV P1,#0FFH MOV P2,#00H MOV P3,#0FFH
MOV P0,#0FFH MOV P2,#0FFH MAIN: CLR P2.3 ACALL DELAY1 SETB P2.3 ACALL DELAY1 JNB P3.1,ME ; P3.0 TO START BY PRESS"*" FROM HOME
CJNE A,#0FBH,MAIN CLR P2.2 ACALL DELAY ACALL DELAY SETB P2.2 CLR A ACALL DELAY ;WELCOME
JNB P3.0,STAY0 MOV A,P1 CJNE A,#0FCH,PASSWORD0 SJMP MAIN ME: LJMP ME1 ;2 ;3
PASSCHECK:CJNE R1,#0F1H ,EXIT CJNE R2,#0F2H ,EXIT CJNE R3,#0F3H ,EXIT CJNE R4,#0F4H ,EXIT CLR P2.0 ACALL DELAY SETB P2.0 ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL REEDDTMF1 EXIT: CLR P2.1
JNB P3.0,STAY MOV A,P1 HG: MOV R0,A CJNE A,#0FCH,SWTICHON SJMP MAIN PASSWORD0:MOV R1,A ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY CLR A STAY1: JNB P3.1,ME
JNB P3.0,STAY1 MOV A,P1 CJNE A,#0FCH,PASSWORD1 lJMP MAIN PASSWORD1:MOV R2,A ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY
JNB P3.0,STAY2 MOV A,P1 CJNE A,#0FCH,PASSWORD2 lJMP MAIN PASSWORD2:MOV R3,A ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY CLR A STAY3: JNB P3.1,ME
JNB P3.0,STAY3 MOV A,P1 CJNE A,#0FCH,PASSWORD3 LJMP MAIN PASSWORD3:MOV R4,A lJMP PASSCHECK SWTICHON:CJNE A,#0FCH,ON LJMP MAIN ON: CJNE A,#0F1H,A1 CLR P0.0
SJMP REEDDTMF1 A1:CJNE A,#0F2H,A2 SETB P0.0 SJMP REEDDTMF1 A2:CJNE A,#0F3H,A3 CLR P0.1 LJMP REEDDTMF1 A3:CJNE A,#0F4H,A4 SETB P0.1 LJMP REEDDTMF1 A4: CJNE A,#0F5H,A5 CLR P0.2 ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY SETB P0.2 LJMP REEDDTMF1 A5: CJNE A,#0F6H,A6 CLR P0.3 ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY SETB P0.3
ME1: JNB P3.3,MAIN1 CLR P2.3 ACALL CANSAL ACALL MENU ACALL SCOL ACALL MENU ACALL MENU ACALL MENU ACALL SCOL ACALL SCOL ACALL MENU ACALL MENU ACALL MENU ACALL MENU ACALL MENU ACALL MENU ACALL MENU ACALL DELAY4 ACALL CANSAL ACALL SCOL ACALL MENU ACALL DELAY4
ACALL DELAY4 ACALL DELAY4 ACALL DELAY4 ACALL DELAY4 ACALL DELAY4 ACALL DELAY4 ACALL DELAY4 LJMP MAIN CANSAL: CLR P0.4 ACALL DELAY SETB P0.4 ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY CLR P0.4 ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY
ACALL DELAY SETB P0.4 ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY CLR P0.4 ACALL DELAY SETB P0.4 ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY CLR P0.4 ACALL DELAY SETB P0.4 ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY
ACALL DELAY CLR P0.4 ACALL DELAY SETB P0.4 ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY RET MENU: CLR P0.6 ACALL DELAY SETB P0.6 ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY
RET SCOL: CLR P0.5 ACALL DELAY SETB P0.5 ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY ACALL DELAY RET
DELAY2:
VR:
VV:
VH:
DELAY4: ACALL DELAY2 ACALL DELAY2 ACALL DELAY2 ACALL DELAY2 ACALL DELAY2 ACALL DELAY2 ACALL DELAY2 ACALL DELAY2 ACALL DELAY2 ACALL DELAY2 ACALL DELAY2 ACALL DELAY2 ACALL DELAY2 ACALL DELAY2 ACALL DELAY2 ACALL DELAY2 RET DELAY: MOV R5,#0FFH DG: MOV R6,#0FFH
DF: DJNZ R6,DF DJNZ R5,DG RET DELAY1: MOV R5,#0F0H DGA:MOV R6,#0FFH DFA: DJNZ R6,DFA DJNZ R5,DGA RET END
PCB LAYOUT