Vehicle Monitoring and Security System
by Ranjith | June 7th, 2009.SYSTEM DESCRIPTION
The entire Vehicle Monitoring and Security System is built around the PIC 18F8722 IC. It consists of 5 units comprising of
- A Keyboard Unit
- An LCD Unit
- An RF Unit
- A GPS Unit
- A GSM Unit
Each unit in the Vehicle Monitoring and Security System undertakes a specific job and can be explained as follows:
- The keyboard unit is used to type in the password and other information that needs to be keyed in.
- The LCD unit is used to display the information that is keyed into the keyboard and for other menu applications.
- The RF receiver unit is used to provide a unique code about each employee/passenger and for security applications.
- The GPS module containing the GPS antenna receives the information from the GPS satellite in NMEA format.
- The GSM module transfers the information got by the GPS receiver to the Base Station. The Base Station decodes the information to the required form.
THE KEYBOARD UNIT:
The keyboard is organized as a matrix of 4 rows and 3 columns. The columns are connected to an output port and the rows are connected to an input port. In this unit the keyboard is interfaced to the PIC18F722 IC with PORTB as the input port and PORTG as the output port. Pins RB2-RB5 of Port B and pins RG0-RG2 of Port G are connected to the keyboard.
If no key has been pressed, reading the input port will yield 0s for all rows since they are all connected to low (GND). It is the function of the PIC microcontroller to scan the keyboard continuously to detect and identify the key pressed. To identify a pressed key, the PIC microcontroller sends a 1 to each of the columns, starting with the first column; then it reads the rows. If the data read is all 0s, no key in that column is activated and the process is moved to the next column. A high is given to the next row, reads the columns, and checks for any 1’s. This process continues until the row is identified. After the identification of the row in which the key has been pressed, the next task is to find out which column the pressed key belongs to. This should be easy since the microcontroller knows at any time which row and column are being accessed.
THE LCD UNIT:
The LCD that is used in this project is LAMPEX 16101 LCD display, which is a one line 16-character display. The display contains two internal byte-wide registers, one for commands (RS=0) and the second for characters to be displayed. It also contains a user-programmed RAM area (the character RAM) that can be programmed to generate any desired character that can be formed using a dot matrix.
LCD PIN DESCRIPTIONS:
The LCD used for this project has 14 pins. The function of each pin is given in the table below:
LCD INITIALIZATION:
The module automatically performs initialization when powered on (using internal reset circuit).
The following instructions are executed during initialization:
- CLEAR DISPLAY: The Busy flag is kept in the Busy state (BF=1).
Unit initialization ends. The time is 15ms. - FUNCTION SET: DL=1 ; 8-bits long interface data.
N=0 ; 1 line display. - DISPLAY ON/OFF CONTROL:
D=0 ; display off.
C=0 ; cursor off.
B=0 ; blink off. - ENTRY MODE SET:
I/D=1 ; increment (+1) .
S=0 ; No shift. - DDRAM: DDRAM is selected. Power on initialization depends on rise time of the supply when it is turned on.
When the above power supply condition is not satisfied, the internal reset circuitry doesn’t operate correctly. In this case, perform the needed initialization by sending function set instructions thrice from MPU after turning the power on.
For example, to designate an 8–bit data length, send the following instruction thrice:
When this ends, the module enters 8-bits data length mode without fail, then enters 4-bits data length instruction for 4-bits data length interface.






January 10th, 2010 at 1:02 pm
this project is very good
January 10th, 2010 at 8:12 pm
plz provide the program…
January 20th, 2010 at 5:13 pm
please sent me more information about this project and circuits
January 24th, 2010 at 10:50 pm
nice concept i want more innovative projects like this could send me to my email plz
January 26th, 2010 at 8:37 pm
this project is very good please sent me more information about this project and circuits
January 30th, 2010 at 10:36 pm
hi..i need more information about dis project..pls send me the circuit and layout design of this project to my mail..pls..
January 31st, 2010 at 11:16 am
please initiate some ideas to develop the code
January 31st, 2010 at 8:37 pm
Do you know that your site looks a little bit weird in Mozilla on my Linux .
February 1st, 2010 at 10:28 pm
Can send me more information abt this project. plz..
February 2nd, 2010 at 9:26 pm
please send me the details of the project…the synopsis,circiutand necessary things
February 2nd, 2010 at 10:14 pm
hello
plz mail me all the deyails with circuit diagram and all the requirements of this project.
February 4th, 2010 at 8:54 pm
hi i want full abstract about this project
February 13th, 2010 at 12:14 pm
hey reallly excellent concept….
can u pls send me brief detail of dis project as ankur said!!
very much interested in dis project
thanks..
February 19th, 2010 at 1:34 pm
hi..i need more information about dis project..pls send me the circuit and layout design of this project to my mail..pls..
February 28th, 2010 at 1:33 pm
I just can’t believe it how many people post spam on sites especially blogs just for the sake of some link juice. I need to stay alert all day even with fancy pluggins like spam killer… I dont want to imagine what would happen to my work if I didn’t had this kind of protection.
March 1st, 2010 at 1:16 am
hello sir.i need more information about dis project..pls send me the circuit and layout design of this project to my mail..pls..
March 8th, 2010 at 5:53 pm
hi..i need more information about dis project..pls send me the circuit and layout design of this project to my mail..pls…..
March 12th, 2010 at 5:06 pm
hi..i need more information about dis project..pls send me the circuit and layout design of this project to my mail..pls…..
March 12th, 2010 at 5:07 pm
hi..i need more information about dis project..pls send me the circuit and layout design of this project to my mailbox
March 12th, 2010 at 10:40 pm
i am in real hurry need the full details with circuits and everything in two days can u pls send me the full details along with circuit please
March 12th, 2010 at 10:42 pm
i am in real hurry need the full details with circuits and everything in two days can u pls send me the full details along with circuit please.