SlideShare ist ein Scribd-Unternehmen logo
1 von 10
GPS - GSM
AIM:
To the find out the latitude and longitude of the particular location
INTRODUCTION:
By using the gps( global processing system), we can get the find out the values of latitude, altitude,
date, time . thereby we can get the messages to our mobile phones using the gsm. . By usingserial
communicationwe cansenddata.These Gsm doesn’thave anyproof of identity.
BLOCK DIAGRAM:
COMPONENTS REQUIRED:
 Micro controller 8051
 Lcd(liquid crystaldisplay)
 GPS(represented as virtual terminal in circuit diagram)
 GSM(represented as virtual terminal in circuit diagram)
 Relay
DESCRIPTION:
MICRO-CONTROLLER:A micro controller is a single chip VLSI unit which , although having
limited computational capabilities possess enhanced input/output capability and a number of on chip
LCD
LCD
RELAY
GSM
GPS
functional units. They are particularly used in embedded systems for real time control applications
with on chip program memory and devices.
LCD: LCD is used display numbers , characters,and some special symbols also. Using its data lines
we can send our required data which has to be displayed. It consists of 16-pins.
RELAY: It is an electromagneticautomaticswitch.Itisusedto control highvoltage applianceseither
AC or DC. It have 5 pinsc1, c2 , common,normallyclosed(NC) ,normallyopen(no).Itworksonthe
principle of electromagneticinduction.
GSM: It’sa communicationtechnology(GLOBALSYSTEMFOR MOBILZATION).Itacts as majorrole in
embeddedsystemsforwirelesscommunication.Tooperate thistype of device we use AT
commands.By usingserial communication we cansenddata.These Gsmdoesn’thave anyproof of
identity.
GPS: it’sa communicationtechnology(GLOBALPROCCESSINGSYSTEM).geenerallyitisusedtofind
out the valuesof latitude ,longitude ,date ,time,altitude etc.itisusedtoautomatical update of date
and time.itisalsousedtofindoutthe locationswhenanyaccidentsoccurby communicatingwith
the satellite.
CIRCUIT DIAGRAM:
WORKING:
Here we use gps to find out the location and latitude values.
RESULT:
CONCLUSION:
By using the wireless communication, we can control the movements of robot. There is no
need of any switches, ……. and so on to operate the robot.
PROGRAM:
#include<reg51.h>
#define lcd P2
sbit m1a=P1^0;
sbit m1b=P1^1;
sbit m2a=P1^2;
sbit m2b=P1^3;
sbit sw1=P1^4;
sbit RS=P2^0;
sbit EN=P2^1;
void lcdcmd(unsigned int x);
void lcddata(unsigned char y);
void display(unsigned char b[]);
void delay(unsigned int time);
void init()
{
lcdcmd(0x30);
delay(5);
lcdcmd(0x30);
delay(5);
lcdcmd(0x30);
delay(5);
lcdcmd(0x02);
delay(5);
lcdcmd(0x28);
delay(5);
lcdcmd(0x0E);
delay(5);
lcdcmd(0x06);
delay(5);
lcdcmd(0x01);
delay(5);
}
void lcdcmd(unsigned int x)
{
lcd=x;
RS=0;
delay(5);
EN=1;
delay(5);
EN=0;
delay(5);
lcd=x<<4;
RS=0;
delay(5);
EN=1;
delay(5);
EN=0;
delay(5);
}
void lcddata(unsigned char y)
{
lcd=y;
RS=1;
delay(5);
EN=1;
delay(5);
EN=0;
delay(5);
lcd=y<<4;
RS=1;
delay(5);
EN=1;
delay(5);
EN=0;
delay(5);
}
void display(unsigned char b[])
{
int i=0;
for(i=0;b[i]!='0';i++)
{
lcddata(b[i]);
}
}
void delay(unsigned int time)
{
unsigned int i,j;
for(i=0;i<=time;i++);
for(j=0;j<=1275;j++);
}
unsigned char receive();
void serinit()
{
SCON=0x50;
TMOD=0x20;
TH1=0xFD;
TR1=1;
}
/*void sertx(unsigned char *TX)
{
for( ;*TX!='0';*TX++)
{
SBUF=*TX;
while(TI==0);
TI=0;
}} */
/*void ssertx(unsigned char t)
{SBUF=t;
while(TI==0);
TI=0;
} */
unsigned char receive()
{
unsigned char rx;
while (RI==0);
rx=SBUF;
RI=0;
return rx;
}
/*void okcheck()
{
unsigned char Rx;
do
{
Rx=receive();
}while(Rx!='K');
}
void func()
{
unsigned char Rx;
sertx("AT");
okcheck();
sertx("AT+CMGD=1");
okcheck();
sertx("AT+CNMI=1,2,0,0");
okcheck();
sertx("AT+CMGS="9490660968"");
do
{
Rx=receive();
}while(Rx!='>');
} */
void main()
{
unsigned char ry[3];
int i;
P1=0x00;
init();
serinit();
lcdcmd(0x01);
lcdcmd(0x80);
display("welcome");
while(1)
{
do
{
ry[0]=receive();
}while(ry[0]!='*');
for(i=1;i<3;i++)
{
ry[i]=receive();
}
if(ry[1]=='f')
{
m1a=1;m1b=0;m2a=0;m2b=1;
lcdcmd(0x01);
lcdcmd(0x80);
display("forward");
}
else
if(ry[1]=='b')
{
m1a=0;m1b=1;m2a=1;m2b=0;
lcdcmd(0x01);
lcdcmd(0x80);
display("backward");}
else
if(ry[1]=='r')
{
m1a=0;m1b=0;m2a=0;m2b=1;
lcdcmd(0x01);
lcdcmd(0x80);
display("right");
}
else
if(ry[1]=='l')
{
m1a=1;m1b=0;m2a=0;m2b=0;
lcdcmd(0x01);
lcdcmd(0x80);
display("left");
}
else
if(ry[1]=='s')
{
m1a=0;m1b=0;m2a=0;m2b=0;
lcdcmd(0x01);
lcdcmd(0x80);
display("stop");
}
} }

Weitere ähnliche Inhalte

Was ist angesagt?

Wireless Accident Identification
Wireless Accident IdentificationWireless Accident Identification
Wireless Accident Identificationshivu1234
 
A smart phone based pocket fall accident detection, positioning, and rescue s...
A smart phone based pocket fall accident detection, positioning, and rescue s...A smart phone based pocket fall accident detection, positioning, and rescue s...
A smart phone based pocket fall accident detection, positioning, and rescue s...I3E Technologies
 
Wireless Accident Identification (Created By-Jayvin Patel)
Wireless Accident Identification (Created By-Jayvin Patel)Wireless Accident Identification (Created By-Jayvin Patel)
Wireless Accident Identification (Created By-Jayvin Patel)Jayvin Patel
 
Accident identification using gps and gsm
Accident identification using gps and gsmAccident identification using gps and gsm
Accident identification using gps and gsmPvrtechnologies Nellore
 
Vehicle tracking and locking system based on GSM and GPS
Vehicle tracking and locking system based on GSM and GPSVehicle tracking and locking system based on GSM and GPS
Vehicle tracking and locking system based on GSM and GPSAshutha K
 
Vehical tracking system
Vehical tracking systemVehical tracking system
Vehical tracking systemmangal das
 
13. vechicle tracking system using gsm and gps
13. vechicle tracking system using gsm and gps13. vechicle tracking system using gsm and gps
13. vechicle tracking system using gsm and gpsHamed Raza
 
ACCIDENT REPORTING SYSTEM USING MEMS
ACCIDENT REPORTING SYSTEM USING MEMS ACCIDENT REPORTING SYSTEM USING MEMS
ACCIDENT REPORTING SYSTEM USING MEMS Rohit Sinha
 
DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7
DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7
DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7Noor Mohammad's Faltoos
 
Gsm based advance security and rtealtime vehicle tracking using gps technolgy 2
Gsm based advance security and rtealtime vehicle tracking using gps technolgy 2Gsm based advance security and rtealtime vehicle tracking using gps technolgy 2
Gsm based advance security and rtealtime vehicle tracking using gps technolgy 2Hardik Patel
 
Vehicle Tracking System by Arduino UNO
Vehicle Tracking System by Arduino UNOVehicle Tracking System by Arduino UNO
Vehicle Tracking System by Arduino UNOPulkit Singhal
 
Vehicle Security System
Vehicle Security SystemVehicle Security System
Vehicle Security SystemBiplab Roy
 
REAL-TIME VEHICLE LOCKING AND TRACKING SYSTEM USING GSM AND GPS TECHNOLOGY-A...
REAL-TIME VEHICLE  LOCKING AND TRACKING SYSTEM USING GSM AND GPS TECHNOLOGY-A...REAL-TIME VEHICLE  LOCKING AND TRACKING SYSTEM USING GSM AND GPS TECHNOLOGY-A...
REAL-TIME VEHICLE LOCKING AND TRACKING SYSTEM USING GSM AND GPS TECHNOLOGY-A...Sandeep Kunsoth
 
ACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMS
ACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMSACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMS
ACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMSKrishna Moparthi
 
Review on Tunnel Field Effect Transistors (TFET)
Review on Tunnel Field Effect Transistors (TFET)Review on Tunnel Field Effect Transistors (TFET)
Review on Tunnel Field Effect Transistors (TFET)IRJET Journal
 
Vehicle Theft control system
Vehicle Theft control systemVehicle Theft control system
Vehicle Theft control systemAnkush Jamthikar
 
Gps interface in gsm network
Gps interface in gsm networkGps interface in gsm network
Gps interface in gsm networkAnup Singhania
 
Gps inerface in gsm network
Gps inerface in gsm networkGps inerface in gsm network
Gps inerface in gsm networknissy marla
 
Automatic Vehicle Locator(AVL) Seminar report
 Automatic Vehicle Locator(AVL) Seminar report Automatic Vehicle Locator(AVL) Seminar report
Automatic Vehicle Locator(AVL) Seminar reportRohit Kumar patel
 

Was ist angesagt? (20)

Wireless Accident Identification
Wireless Accident IdentificationWireless Accident Identification
Wireless Accident Identification
 
A smart phone based pocket fall accident detection, positioning, and rescue s...
A smart phone based pocket fall accident detection, positioning, and rescue s...A smart phone based pocket fall accident detection, positioning, and rescue s...
A smart phone based pocket fall accident detection, positioning, and rescue s...
 
Wireless Accident Identification (Created By-Jayvin Patel)
Wireless Accident Identification (Created By-Jayvin Patel)Wireless Accident Identification (Created By-Jayvin Patel)
Wireless Accident Identification (Created By-Jayvin Patel)
 
Accident identification using gps and gsm
Accident identification using gps and gsmAccident identification using gps and gsm
Accident identification using gps and gsm
 
Vehicle tracking and locking system based on GSM and GPS
Vehicle tracking and locking system based on GSM and GPSVehicle tracking and locking system based on GSM and GPS
Vehicle tracking and locking system based on GSM and GPS
 
Vehical tracking system
Vehical tracking systemVehical tracking system
Vehical tracking system
 
13. vechicle tracking system using gsm and gps
13. vechicle tracking system using gsm and gps13. vechicle tracking system using gsm and gps
13. vechicle tracking system using gsm and gps
 
ACCIDENT REPORTING SYSTEM USING MEMS
ACCIDENT REPORTING SYSTEM USING MEMS ACCIDENT REPORTING SYSTEM USING MEMS
ACCIDENT REPORTING SYSTEM USING MEMS
 
DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7
DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7
DESIGN OF INTELLIGENT MOBILE VEHICLE CHECKING SYSTEM BASED ON ARM 7
 
Gsm based advance security and rtealtime vehicle tracking using gps technolgy 2
Gsm based advance security and rtealtime vehicle tracking using gps technolgy 2Gsm based advance security and rtealtime vehicle tracking using gps technolgy 2
Gsm based advance security and rtealtime vehicle tracking using gps technolgy 2
 
Major
MajorMajor
Major
 
Vehicle Tracking System by Arduino UNO
Vehicle Tracking System by Arduino UNOVehicle Tracking System by Arduino UNO
Vehicle Tracking System by Arduino UNO
 
Vehicle Security System
Vehicle Security SystemVehicle Security System
Vehicle Security System
 
REAL-TIME VEHICLE LOCKING AND TRACKING SYSTEM USING GSM AND GPS TECHNOLOGY-A...
REAL-TIME VEHICLE  LOCKING AND TRACKING SYSTEM USING GSM AND GPS TECHNOLOGY-A...REAL-TIME VEHICLE  LOCKING AND TRACKING SYSTEM USING GSM AND GPS TECHNOLOGY-A...
REAL-TIME VEHICLE LOCKING AND TRACKING SYSTEM USING GSM AND GPS TECHNOLOGY-A...
 
ACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMS
ACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMSACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMS
ACCIDENT DETECTION AND VEHICLE TRACKING USING GPS,GSM AND MEMS
 
Review on Tunnel Field Effect Transistors (TFET)
Review on Tunnel Field Effect Transistors (TFET)Review on Tunnel Field Effect Transistors (TFET)
Review on Tunnel Field Effect Transistors (TFET)
 
Vehicle Theft control system
Vehicle Theft control systemVehicle Theft control system
Vehicle Theft control system
 
Gps interface in gsm network
Gps interface in gsm networkGps interface in gsm network
Gps interface in gsm network
 
Gps inerface in gsm network
Gps inerface in gsm networkGps inerface in gsm network
Gps inerface in gsm network
 
Automatic Vehicle Locator(AVL) Seminar report
 Automatic Vehicle Locator(AVL) Seminar report Automatic Vehicle Locator(AVL) Seminar report
Automatic Vehicle Locator(AVL) Seminar report
 

Andere mochten auch

SellingYourHouseSummer2015
SellingYourHouseSummer2015SellingYourHouseSummer2015
SellingYourHouseSummer2015Annette Phelps
 
Adaptive Control of a Robotic Arm Using Neural Networks Based Approach
Adaptive Control of a Robotic Arm Using Neural Networks Based ApproachAdaptive Control of a Robotic Arm Using Neural Networks Based Approach
Adaptive Control of a Robotic Arm Using Neural Networks Based ApproachWaqas Tariq
 
Differential kinematics robotic
Differential kinematics  roboticDifferential kinematics  robotic
Differential kinematics roboticdahmane sid ahmed
 
Benefits of Automation in Road Construction
Benefits of Automation in Road ConstructionBenefits of Automation in Road Construction
Benefits of Automation in Road ConstructionMark Wainwright II
 
~~ Avatar's i.e. incarnation for the god narayan & the god vishnu ~~
~~ Avatar's i.e. incarnation for the god narayan  &  the god vishnu   ~~~~ Avatar's i.e. incarnation for the god narayan  &  the god vishnu   ~~
~~ Avatar's i.e. incarnation for the god narayan & the god vishnu ~~Deepak Somaji Sawant
 
Empirical and molecular formula class 11
Empirical and molecular formula class 11Empirical and molecular formula class 11
Empirical and molecular formula class 11ritik
 
ORGANIC Reaction mechanism ncert class 11
ORGANIC Reaction mechanism ncert class 11ORGANIC Reaction mechanism ncert class 11
ORGANIC Reaction mechanism ncert class 11ritik
 

Andere mochten auch (9)

Tadeo Jones 3
Tadeo Jones 3Tadeo Jones 3
Tadeo Jones 3
 
SellingYourHouseSummer2015
SellingYourHouseSummer2015SellingYourHouseSummer2015
SellingYourHouseSummer2015
 
Adaptive Control of a Robotic Arm Using Neural Networks Based Approach
Adaptive Control of a Robotic Arm Using Neural Networks Based ApproachAdaptive Control of a Robotic Arm Using Neural Networks Based Approach
Adaptive Control of a Robotic Arm Using Neural Networks Based Approach
 
MasterThesis
MasterThesisMasterThesis
MasterThesis
 
Differential kinematics robotic
Differential kinematics  roboticDifferential kinematics  robotic
Differential kinematics robotic
 
Benefits of Automation in Road Construction
Benefits of Automation in Road ConstructionBenefits of Automation in Road Construction
Benefits of Automation in Road Construction
 
~~ Avatar's i.e. incarnation for the god narayan & the god vishnu ~~
~~ Avatar's i.e. incarnation for the god narayan  &  the god vishnu   ~~~~ Avatar's i.e. incarnation for the god narayan  &  the god vishnu   ~~
~~ Avatar's i.e. incarnation for the god narayan & the god vishnu ~~
 
Empirical and molecular formula class 11
Empirical and molecular formula class 11Empirical and molecular formula class 11
Empirical and molecular formula class 11
 
ORGANIC Reaction mechanism ncert class 11
ORGANIC Reaction mechanism ncert class 11ORGANIC Reaction mechanism ncert class 11
ORGANIC Reaction mechanism ncert class 11
 

Ähnlich wie GPSGSM

AUTOMATIC VEHICLE ACCIDENT INFORMATION BY SMS SYSTEM 0
AUTOMATIC VEHICLE ACCIDENT INFORMATION BY SMS SYSTEM 0AUTOMATIC VEHICLE ACCIDENT INFORMATION BY SMS SYSTEM 0
AUTOMATIC VEHICLE ACCIDENT INFORMATION BY SMS SYSTEM 0kailashgavare
 
antivehicle theft system
antivehicle theft systemantivehicle theft system
antivehicle theft systemsuvransu das
 
vehicletrackingbygps-gsm-161208121502.pptx
vehicletrackingbygps-gsm-161208121502.pptxvehicletrackingbygps-gsm-161208121502.pptx
vehicletrackingbygps-gsm-161208121502.pptxANANDHUPILLAI1
 
Iaetsd smart vehicle tracking system using gsm, gps and rc5
Iaetsd smart vehicle tracking system using gsm, gps and rc5Iaetsd smart vehicle tracking system using gsm, gps and rc5
Iaetsd smart vehicle tracking system using gsm, gps and rc5Iaetsd Iaetsd
 
E notice board project report
E notice board project reportE notice board project report
E notice board project reportamit chaudhary
 
K10880 deepak nagar 6th sem me vehicle accident information deepak
K10880 deepak nagar 6th sem me vehicle accident information deepakK10880 deepak nagar 6th sem me vehicle accident information deepak
K10880 deepak nagar 6th sem me vehicle accident information deepakChetan Kumar
 
Gps vehicle theft identification and tracking and control
Gps vehicle theft identification and tracking and controlGps vehicle theft identification and tracking and control
Gps vehicle theft identification and tracking and controlYashwanth Yash
 
AUTOMATIC VEHICLE ACCIDENT INFORMATION BY SMS SYSTEM (AVAIS SYSTEM) Gps gsm a...
AUTOMATIC VEHICLE ACCIDENT INFORMATION BY SMS SYSTEM (AVAIS SYSTEM) Gps gsm a...AUTOMATIC VEHICLE ACCIDENT INFORMATION BY SMS SYSTEM (AVAIS SYSTEM) Gps gsm a...
AUTOMATIC VEHICLE ACCIDENT INFORMATION BY SMS SYSTEM (AVAIS SYSTEM) Gps gsm a...kailashgavare
 
Design and development of gps-gsm based Tracking system with google map based...
Design and development of gps-gsm based Tracking system with google map based...Design and development of gps-gsm based Tracking system with google map based...
Design and development of gps-gsm based Tracking system with google map based...IJCSEA Journal
 
Gps based fleet management system
Gps based fleet management systemGps based fleet management system
Gps based fleet management systemEcwaytech
 
Gps based fleet management system
Gps based fleet management systemGps based fleet management system
Gps based fleet management systemEcwayt
 
Gps based fleet management system
Gps based fleet management systemGps based fleet management system
Gps based fleet management systemEcway Technologies
 
Jayvin Patel-Wireless Accident identification
Jayvin Patel-Wireless Accident identificationJayvin Patel-Wireless Accident identification
Jayvin Patel-Wireless Accident identificationJayvin Patel
 
VEHICLE TRACKING SYSTEM
VEHICLE TRACKING SYSTEMVEHICLE TRACKING SYSTEM
VEHICLE TRACKING SYSTEMNishil Patel
 

Ähnlich wie GPSGSM (20)

AUTOMATIC VEHICLE ACCIDENT INFORMATION BY SMS SYSTEM 0
AUTOMATIC VEHICLE ACCIDENT INFORMATION BY SMS SYSTEM 0AUTOMATIC VEHICLE ACCIDENT INFORMATION BY SMS SYSTEM 0
AUTOMATIC VEHICLE ACCIDENT INFORMATION BY SMS SYSTEM 0
 
Vehicle tracting system
Vehicle tracting systemVehicle tracting system
Vehicle tracting system
 
antivehicle theft system
antivehicle theft systemantivehicle theft system
antivehicle theft system
 
vehicletrackingbygps-gsm-161208121502.pptx
vehicletrackingbygps-gsm-161208121502.pptxvehicletrackingbygps-gsm-161208121502.pptx
vehicletrackingbygps-gsm-161208121502.pptx
 
Iaetsd smart vehicle tracking system using gsm, gps and rc5
Iaetsd smart vehicle tracking system using gsm, gps and rc5Iaetsd smart vehicle tracking system using gsm, gps and rc5
Iaetsd smart vehicle tracking system using gsm, gps and rc5
 
I.c ingine ppt
I.c ingine pptI.c ingine ppt
I.c ingine ppt
 
E notice board project report
E notice board project reportE notice board project report
E notice board project report
 
K10880 deepak nagar 6th sem me vehicle accident information deepak
K10880 deepak nagar 6th sem me vehicle accident information deepakK10880 deepak nagar 6th sem me vehicle accident information deepak
K10880 deepak nagar 6th sem me vehicle accident information deepak
 
GSM Report_2013
GSM Report_2013GSM Report_2013
GSM Report_2013
 
GSM Report_2013
GSM Report_2013GSM Report_2013
GSM Report_2013
 
Gps vehicle theft identification and tracking and control
Gps vehicle theft identification and tracking and controlGps vehicle theft identification and tracking and control
Gps vehicle theft identification and tracking and control
 
AUTOMATIC VEHICLE ACCIDENT INFORMATION BY SMS SYSTEM (AVAIS SYSTEM) Gps gsm a...
AUTOMATIC VEHICLE ACCIDENT INFORMATION BY SMS SYSTEM (AVAIS SYSTEM) Gps gsm a...AUTOMATIC VEHICLE ACCIDENT INFORMATION BY SMS SYSTEM (AVAIS SYSTEM) Gps gsm a...
AUTOMATIC VEHICLE ACCIDENT INFORMATION BY SMS SYSTEM (AVAIS SYSTEM) Gps gsm a...
 
Mikroc gps
Mikroc gpsMikroc gps
Mikroc gps
 
Global positioning system
Global positioning systemGlobal positioning system
Global positioning system
 
Design and development of gps-gsm based Tracking system with google map based...
Design and development of gps-gsm based Tracking system with google map based...Design and development of gps-gsm based Tracking system with google map based...
Design and development of gps-gsm based Tracking system with google map based...
 
Gps based fleet management system
Gps based fleet management systemGps based fleet management system
Gps based fleet management system
 
Gps based fleet management system
Gps based fleet management systemGps based fleet management system
Gps based fleet management system
 
Gps based fleet management system
Gps based fleet management systemGps based fleet management system
Gps based fleet management system
 
Jayvin Patel-Wireless Accident identification
Jayvin Patel-Wireless Accident identificationJayvin Patel-Wireless Accident identification
Jayvin Patel-Wireless Accident identification
 
VEHICLE TRACKING SYSTEM
VEHICLE TRACKING SYSTEMVEHICLE TRACKING SYSTEM
VEHICLE TRACKING SYSTEM
 

GPSGSM

  • 1. GPS - GSM AIM: To the find out the latitude and longitude of the particular location INTRODUCTION: By using the gps( global processing system), we can get the find out the values of latitude, altitude, date, time . thereby we can get the messages to our mobile phones using the gsm. . By usingserial communicationwe cansenddata.These Gsm doesn’thave anyproof of identity. BLOCK DIAGRAM: COMPONENTS REQUIRED:  Micro controller 8051  Lcd(liquid crystaldisplay)  GPS(represented as virtual terminal in circuit diagram)  GSM(represented as virtual terminal in circuit diagram)  Relay DESCRIPTION: MICRO-CONTROLLER:A micro controller is a single chip VLSI unit which , although having limited computational capabilities possess enhanced input/output capability and a number of on chip LCD LCD RELAY GSM GPS
  • 2. functional units. They are particularly used in embedded systems for real time control applications with on chip program memory and devices. LCD: LCD is used display numbers , characters,and some special symbols also. Using its data lines we can send our required data which has to be displayed. It consists of 16-pins. RELAY: It is an electromagneticautomaticswitch.Itisusedto control highvoltage applianceseither AC or DC. It have 5 pinsc1, c2 , common,normallyclosed(NC) ,normallyopen(no).Itworksonthe principle of electromagneticinduction. GSM: It’sa communicationtechnology(GLOBALSYSTEMFOR MOBILZATION).Itacts as majorrole in embeddedsystemsforwirelesscommunication.Tooperate thistype of device we use AT commands.By usingserial communication we cansenddata.These Gsmdoesn’thave anyproof of identity. GPS: it’sa communicationtechnology(GLOBALPROCCESSINGSYSTEM).geenerallyitisusedtofind out the valuesof latitude ,longitude ,date ,time,altitude etc.itisusedtoautomatical update of date and time.itisalsousedtofindoutthe locationswhenanyaccidentsoccurby communicatingwith the satellite. CIRCUIT DIAGRAM: WORKING: Here we use gps to find out the location and latitude values.
  • 3. RESULT: CONCLUSION: By using the wireless communication, we can control the movements of robot. There is no need of any switches, ……. and so on to operate the robot. PROGRAM: #include<reg51.h> #define lcd P2 sbit m1a=P1^0; sbit m1b=P1^1; sbit m2a=P1^2; sbit m2b=P1^3; sbit sw1=P1^4; sbit RS=P2^0; sbit EN=P2^1; void lcdcmd(unsigned int x); void lcddata(unsigned char y); void display(unsigned char b[]); void delay(unsigned int time); void init() { lcdcmd(0x30); delay(5); lcdcmd(0x30); delay(5); lcdcmd(0x30); delay(5); lcdcmd(0x02);
  • 4. delay(5); lcdcmd(0x28); delay(5); lcdcmd(0x0E); delay(5); lcdcmd(0x06); delay(5); lcdcmd(0x01); delay(5); } void lcdcmd(unsigned int x) { lcd=x; RS=0; delay(5); EN=1; delay(5); EN=0; delay(5); lcd=x<<4; RS=0; delay(5); EN=1; delay(5); EN=0; delay(5); }
  • 5. void lcddata(unsigned char y) { lcd=y; RS=1; delay(5); EN=1; delay(5); EN=0; delay(5); lcd=y<<4; RS=1; delay(5); EN=1; delay(5); EN=0; delay(5); } void display(unsigned char b[]) { int i=0; for(i=0;b[i]!='0';i++) { lcddata(b[i]); } } void delay(unsigned int time) {
  • 6. unsigned int i,j; for(i=0;i<=time;i++); for(j=0;j<=1275;j++); } unsigned char receive(); void serinit() { SCON=0x50; TMOD=0x20; TH1=0xFD; TR1=1; } /*void sertx(unsigned char *TX) { for( ;*TX!='0';*TX++) { SBUF=*TX; while(TI==0); TI=0; }} */ /*void ssertx(unsigned char t) {SBUF=t; while(TI==0); TI=0; } */ unsigned char receive() {
  • 7. unsigned char rx; while (RI==0); rx=SBUF; RI=0; return rx; } /*void okcheck() { unsigned char Rx; do { Rx=receive(); }while(Rx!='K'); } void func() { unsigned char Rx; sertx("AT"); okcheck(); sertx("AT+CMGD=1"); okcheck(); sertx("AT+CNMI=1,2,0,0"); okcheck(); sertx("AT+CMGS="9490660968""); do { Rx=receive();
  • 8. }while(Rx!='>'); } */ void main() { unsigned char ry[3]; int i; P1=0x00; init(); serinit(); lcdcmd(0x01); lcdcmd(0x80); display("welcome"); while(1) { do { ry[0]=receive(); }while(ry[0]!='*'); for(i=1;i<3;i++) { ry[i]=receive(); } if(ry[1]=='f')