The vehicle tracking system uses a GPS modem and GSM modem connected to an Arduino Uno microcontroller to track the location of a vehicle. The GPS modem receives location coordinates from satellites and sends them to the Arduino. The Arduino then extracts the latitude and longitude and sends them via text message to a user's phone using the GSM modem. The system provides minute-by-minute location updates to track the vehicle.
GPS based Advanced Vehicle Tracking and Vehicle Control SystemMashood Mukhtar
Security systems and navigators have always been a
necessity of human‟s life. The developments of advanced
electronics have brought revolutionary changes in these fields. In this paper, we will present a vehicle tracking system that employs a GPS module and a GSM modem to find the location of a vehicle and offers a range of control features. To complete the design successfully, a GPS unit, two relays, a GSM Modem and two MCU units are used. There are five features introduced in the project. The aim of this project is to remotely track a vehicle‟s location, remotely switch ON and OFF the vehicle‟s ignition system and remotely lock and unlock the doors of the vehicle. An SMS message is sent to the tracking system and the system responds to the users request by performing appropriate actions. Short text messages are assigned to each of these features. A webpage is specifically designed to view the vehicle‟s location on Google maps. By using relay based control concept introduced in this paper, number of control features
such as turning heater on/off, radio on/off etc. can be
implemented in the same fashion.
Here we are making a project which just traces our vehicle location, in terms of its precise latitude and longitude and then send it to a mobile number (as per our requirement). This project consists of three main devices which are :- (i) Arduino UNO, (ii) GPS module (Neo-6M), & (iii) GSM- 900A.These all three devices will be going to be installed in the vehicle to which we want to trace. Initially what happened that we make a program in arduino (in C language) regarding interfacing the GSM device and GPS device. And we also set a mobile number in the program as per our need, on which we get the info regarding its (vehicle’s) location. First of all we make a call to the mobile number which has been installed in the GSM module and then after some specific delay (as per mentioned in the program) we get a sms regarding the exact latitude and longitude of the vehicle. It is done in a way that GPS device is continuously receiving the location of the vehicle from the satellite and then transferring to the arduino board, from where we send it to the required mobile no. And hence in this way we can easily get info regarding the exact location of the vehicle. Once the message has been sent to the predefined mobile no. the GSM gets deactivated and the GPS gets activated. Thus we can easily trace our vehicle. Vehicle Tracking System (VTS) is the technology used to determine the location of a vehicle using different methods like GPS and other radio navigation systems operating through satellites and ground based stations. This system is an important tool for tracking each vehicle at a given period of time and now it is becoming increasingly popular for people having expensive cars and hence as theft prevention and retrieval device.
In this project we are going to make an embedded system which will help to provide protection against theft. This system will send the data to the user who want to track the vehicle showing the using position of vehicle in terms of latitude and longitude. Most of the people know that GPS is more secure but they don’t apply because it is expensive. This design is needed for the real time location of the vehicle. It changes the microcontroller P89V51RD2 interfaces with various hardware peripheries this uncontrolled interfaces serially with GSM modem and GPS receiver.
GPS based Advanced Vehicle Tracking and Vehicle Control SystemMashood Mukhtar
Security systems and navigators have always been a
necessity of human‟s life. The developments of advanced
electronics have brought revolutionary changes in these fields. In this paper, we will present a vehicle tracking system that employs a GPS module and a GSM modem to find the location of a vehicle and offers a range of control features. To complete the design successfully, a GPS unit, two relays, a GSM Modem and two MCU units are used. There are five features introduced in the project. The aim of this project is to remotely track a vehicle‟s location, remotely switch ON and OFF the vehicle‟s ignition system and remotely lock and unlock the doors of the vehicle. An SMS message is sent to the tracking system and the system responds to the users request by performing appropriate actions. Short text messages are assigned to each of these features. A webpage is specifically designed to view the vehicle‟s location on Google maps. By using relay based control concept introduced in this paper, number of control features
such as turning heater on/off, radio on/off etc. can be
implemented in the same fashion.
Here we are making a project which just traces our vehicle location, in terms of its precise latitude and longitude and then send it to a mobile number (as per our requirement). This project consists of three main devices which are :- (i) Arduino UNO, (ii) GPS module (Neo-6M), & (iii) GSM- 900A.These all three devices will be going to be installed in the vehicle to which we want to trace. Initially what happened that we make a program in arduino (in C language) regarding interfacing the GSM device and GPS device. And we also set a mobile number in the program as per our need, on which we get the info regarding its (vehicle’s) location. First of all we make a call to the mobile number which has been installed in the GSM module and then after some specific delay (as per mentioned in the program) we get a sms regarding the exact latitude and longitude of the vehicle. It is done in a way that GPS device is continuously receiving the location of the vehicle from the satellite and then transferring to the arduino board, from where we send it to the required mobile no. And hence in this way we can easily get info regarding the exact location of the vehicle. Once the message has been sent to the predefined mobile no. the GSM gets deactivated and the GPS gets activated. Thus we can easily trace our vehicle. Vehicle Tracking System (VTS) is the technology used to determine the location of a vehicle using different methods like GPS and other radio navigation systems operating through satellites and ground based stations. This system is an important tool for tracking each vehicle at a given period of time and now it is becoming increasingly popular for people having expensive cars and hence as theft prevention and retrieval device.
In this project we are going to make an embedded system which will help to provide protection against theft. This system will send the data to the user who want to track the vehicle showing the using position of vehicle in terms of latitude and longitude. Most of the people know that GPS is more secure but they don’t apply because it is expensive. This design is needed for the real time location of the vehicle. It changes the microcontroller P89V51RD2 interfaces with various hardware peripheries this uncontrolled interfaces serially with GSM modem and GPS receiver.
Vehicle tracking system using gps and google mapsanchit bhargava
This project describe how vehicle can be tracked through help of GPS (Global Positioning System) and then using Google Map we can easily put coordinates on the map to find exact locations. with that a software which monitoring every routine of vehicle.
The main goal of this presentation is how to do research in particular field of engineering. For an example this presentation describes design of Vehicle tracking and monitoring system. So how to do research in particular field by referring standard IEEE papers is described in this presentation.
The paper describe a practical model for routing and tracking of mobile vehicles in a large area outdoor environment based on the Global positioning system (GPS) and Global system for mobile communication (GSM). The supporting device GPS continuously move with the car and will calculate the co-ordinates of each position and when required by the owner it can be communicated with the help of GSM modem which is installed in both Transmitter and receiver section. GSM modem is controlled by a 32 bit ARM7 LPC2148. The device will collect position to supervised center by the SMS (Short Message Service) or GPRS (General Package radio service) and which can be located in the Google Earth and so the current position of the car can be known.
IoT BASED VEHICLE TRACKING AND TRAFFIC SURVIELLENCE SYSTEMjohn solomon j
ii
ABSTRACT GPS is one of the technologies that are used in a huge number of applications today. One of the applications is tracking your vehicle and keeps regular monitoring on them. This tracking system can inform you the location and route travelled by vehicle, and that information can be observed from any other remote location. It also includes the web application that provides you exact location of target and the exact speed the vehicle is moving which is used to generate bills for over speeding automatically. This system enables us to track target in any weather conditions. This system uses GPS and Zigbee technologies. This includes the hardware part which comprises of GPS, Zigbee, ATmega microcontroller and software part is used for interfacing all the required modules and a web application is also developed at the client side and visualize data from IoT. Main objective is to design a system that can be easily installed and to provide platform for further enhancement. KEYWORDS GPS, ZigBee, Tracking System, IoT
iii
This system builds a new intelligent vehicle checking system based on ARM7 embedded processing technology, processing technology of digital videos, vehicle identification technology, GSM wireless mobile telecommunication technology, GPS positioning technique, implements the checking to vehicles which break the rules or owe the charge. Here we are using car as mobile vehicle checker.
Real Time Vehicle Monitoring Using Raspberry Pi Albin George
An advanced vehicle monitoring and tracking system based on Embedded Linux Board and android application is designed and implemented for monitoring the school vehicle from any location A to location B at real time. The proposed system would make good use of new technology that based on Embedded Linux board namely Raspberry Pi and Smartphone android application. The proposed system works on GPS/GPRS/GSM SIM900A Module which includes all the three things namely GPS GPRS GSM. The GPS current location of the vehicle; GPRS sends the tracking information to the server and the GSM is used for sending alert message to vehicle’s owner mobile. The proposed system would place inside the vehicle whose position is to be determined on the web page and monitored at real time. In the proposed system, there is comparison between the current vehicle path and already specified path into the file system of raspberry pi. Here in the proposed system the already specified path inside the raspberry pi’s file system taken from vehicle owner’s android smartphone using android application. Means the selection of path from location A to B takes place from vehicle owner’s android application which gives more safety and secures traveling to the traveler. Hence the driver drives the vehicle only on the vehicle owner’s specified path. If the driver drives the vehicle on the wrong path then the alert message will be sent from the proposed system to the vehicle’s owner mobile and also speakers alert driven using Raspberry pi’s audio jack. If the vehicle’s speed goes beyond the specified value of the speed, then also the warning message will be sent from system to the owner mobile. The proposed system also took care of the traveler’s safety by using LPG Gas leakage sensor MQ6 and temperature sensor DS18B20.
you can be friend with me on orkut
"mangalforyou@gmail.com" : i belive in sharing the knowledge so please send project reports ,seminar and ppt. to me .
This project is about tracking system that tracks vehicle using gps and gsm/gprs. Also, it displays information for user interface using web and mobile application.Beside that it displays information on lcd as a form of public notice board too.
Vehicle tracking system using gps and google mapsanchit bhargava
This project describe how vehicle can be tracked through help of GPS (Global Positioning System) and then using Google Map we can easily put coordinates on the map to find exact locations. with that a software which monitoring every routine of vehicle.
The main goal of this presentation is how to do research in particular field of engineering. For an example this presentation describes design of Vehicle tracking and monitoring system. So how to do research in particular field by referring standard IEEE papers is described in this presentation.
The paper describe a practical model for routing and tracking of mobile vehicles in a large area outdoor environment based on the Global positioning system (GPS) and Global system for mobile communication (GSM). The supporting device GPS continuously move with the car and will calculate the co-ordinates of each position and when required by the owner it can be communicated with the help of GSM modem which is installed in both Transmitter and receiver section. GSM modem is controlled by a 32 bit ARM7 LPC2148. The device will collect position to supervised center by the SMS (Short Message Service) or GPRS (General Package radio service) and which can be located in the Google Earth and so the current position of the car can be known.
IoT BASED VEHICLE TRACKING AND TRAFFIC SURVIELLENCE SYSTEMjohn solomon j
ii
ABSTRACT GPS is one of the technologies that are used in a huge number of applications today. One of the applications is tracking your vehicle and keeps regular monitoring on them. This tracking system can inform you the location and route travelled by vehicle, and that information can be observed from any other remote location. It also includes the web application that provides you exact location of target and the exact speed the vehicle is moving which is used to generate bills for over speeding automatically. This system enables us to track target in any weather conditions. This system uses GPS and Zigbee technologies. This includes the hardware part which comprises of GPS, Zigbee, ATmega microcontroller and software part is used for interfacing all the required modules and a web application is also developed at the client side and visualize data from IoT. Main objective is to design a system that can be easily installed and to provide platform for further enhancement. KEYWORDS GPS, ZigBee, Tracking System, IoT
iii
This system builds a new intelligent vehicle checking system based on ARM7 embedded processing technology, processing technology of digital videos, vehicle identification technology, GSM wireless mobile telecommunication technology, GPS positioning technique, implements the checking to vehicles which break the rules or owe the charge. Here we are using car as mobile vehicle checker.
Real Time Vehicle Monitoring Using Raspberry Pi Albin George
An advanced vehicle monitoring and tracking system based on Embedded Linux Board and android application is designed and implemented for monitoring the school vehicle from any location A to location B at real time. The proposed system would make good use of new technology that based on Embedded Linux board namely Raspberry Pi and Smartphone android application. The proposed system works on GPS/GPRS/GSM SIM900A Module which includes all the three things namely GPS GPRS GSM. The GPS current location of the vehicle; GPRS sends the tracking information to the server and the GSM is used for sending alert message to vehicle’s owner mobile. The proposed system would place inside the vehicle whose position is to be determined on the web page and monitored at real time. In the proposed system, there is comparison between the current vehicle path and already specified path into the file system of raspberry pi. Here in the proposed system the already specified path inside the raspberry pi’s file system taken from vehicle owner’s android smartphone using android application. Means the selection of path from location A to B takes place from vehicle owner’s android application which gives more safety and secures traveling to the traveler. Hence the driver drives the vehicle only on the vehicle owner’s specified path. If the driver drives the vehicle on the wrong path then the alert message will be sent from the proposed system to the vehicle’s owner mobile and also speakers alert driven using Raspberry pi’s audio jack. If the vehicle’s speed goes beyond the specified value of the speed, then also the warning message will be sent from system to the owner mobile. The proposed system also took care of the traveler’s safety by using LPG Gas leakage sensor MQ6 and temperature sensor DS18B20.
you can be friend with me on orkut
"mangalforyou@gmail.com" : i belive in sharing the knowledge so please send project reports ,seminar and ppt. to me .
This project is about tracking system that tracks vehicle using gps and gsm/gprs. Also, it displays information for user interface using web and mobile application.Beside that it displays information on lcd as a form of public notice board too.
A useful ppt explaining the basics of GSM based campus display system..
part of a project done by me in my final year of electronics & communication engineering..
AUTOMATIC VEHICLE ACCIDENT INFORMATION BY SMS SYSTEM 0kailashgavare
To reduce number of people losing the life propose system, sending automatic information to the ambulance and ambulance will reach the spot fastly and can save human life and reduce no. of people dying everyday. The proposed system is to reduce the death rate of human every day due to accident by sending SMS to the ambulance an so can save human life .To ensure the safety of the passenger and help the passenger if the accident occurs is the key role plays in our project.
AUTOMATIC VEHICLE ACCIDENT INFORMATION BY SMS SYSTEM (AVAIS SYSTEM) Gps gsm a...kailashgavare
This is the GPS based vehicle accident detection and security system. A GPS receiver must be receive
the signal of satellites to calculate a position (latitude and longitude) and send the data to Micro controller.
All function is done by Micro controller. MCU read the information of GPS Modem and display on LCD. In
the vehicle, has different sensor’s like, Fire Detection, CNG gas Leakage, Smoke detector or vibration
sensor etc. When any sensor detected in vehicle, MCU send location and sensor status VIA SMS to user.
In this project PIC microcontroller is used for interfacing to various hardware peripherals. The current
design is an embedded application, which will continuously monitor a moving Vehicle and report the status
of the Vehicle on demand. For doing so an PIC16Fxxx microcontroller is interfaced serially to a GSM
Modem and GPS Receiver. A GSM modem is used to send the position (Latitude and Longitude) of the
vehicle from a remote place. The GPS modem will continuously give the data i.e. the latitude and
longitude indicating the position of the vehicle. The GPS modem gives many parameters as the output,
but only the NMEA data coming out is read and displayed on to the LCD. The same data is sent to the
mobile at the other end from where the position of the vehicle is demanded. An MCU Internal EEPROM is
used to store the mobile number
Hierarchical Digital Twin of a Naval Power SystemKerry Sado
A hierarchical digital twin of a Naval DC power system has been developed and experimentally verified. Similar to other state-of-the-art digital twins, this technology creates a digital replica of the physical system executed in real-time or faster, which can modify hardware controls. However, its advantage stems from distributing computational efforts by utilizing a hierarchical structure composed of lower-level digital twin blocks and a higher-level system digital twin. Each digital twin block is associated with a physical subsystem of the hardware and communicates with a singular system digital twin, which creates a system-level response. By extracting information from each level of the hierarchy, power system controls of the hardware were reconfigured autonomously. This hierarchical digital twin development offers several advantages over other digital twins, particularly in the field of naval power systems. The hierarchical structure allows for greater computational efficiency and scalability while the ability to autonomously reconfigure hardware controls offers increased flexibility and responsiveness. The hierarchical decomposition and models utilized were well aligned with the physical twin, as indicated by the maximum deviations between the developed digital twin hierarchy and the hardware.
Final project report on grocery store management system..pdfKamal Acharya
In today’s fast-changing business environment, it’s extremely important to be able to respond to client needs in the most effective and timely manner. If your customers wish to see your business online and have instant access to your products or services.
Online Grocery Store is an e-commerce website, which retails various grocery products. This project allows viewing various products available enables registered users to purchase desired products instantly using Paytm, UPI payment processor (Instant Pay) and also can place order by using Cash on Delivery (Pay Later) option. This project provides an easy access to Administrators and Managers to view orders placed using Pay Later and Instant Pay options.
In order to develop an e-commerce website, a number of Technologies must be studied and understood. These include multi-tiered architecture, server and client-side scripting techniques, implementation technologies, programming language (such as PHP, HTML, CSS, JavaScript) and MySQL relational databases. This is a project with the objective to develop a basic website where a consumer is provided with a shopping cart website and also to know about the technologies used to develop such a website.
This document will discuss each of the underlying technologies to create and implement an e- commerce website.
Saudi Arabia stands as a titan in the global energy landscape, renowned for its abundant oil and gas resources. It's the largest exporter of petroleum and holds some of the world's most significant reserves. Let's delve into the top 10 oil and gas projects shaping Saudi Arabia's energy future in 2024.
Hybrid optimization of pumped hydro system and solar- Engr. Abdul-Azeez.pdffxintegritypublishin
Advancements in technology unveil a myriad of electrical and electronic breakthroughs geared towards efficiently harnessing limited resources to meet human energy demands. The optimization of hybrid solar PV panels and pumped hydro energy supply systems plays a pivotal role in utilizing natural resources effectively. This initiative not only benefits humanity but also fosters environmental sustainability. The study investigated the design optimization of these hybrid systems, focusing on understanding solar radiation patterns, identifying geographical influences on solar radiation, formulating a mathematical model for system optimization, and determining the optimal configuration of PV panels and pumped hydro storage. Through a comparative analysis approach and eight weeks of data collection, the study addressed key research questions related to solar radiation patterns and optimal system design. The findings highlighted regions with heightened solar radiation levels, showcasing substantial potential for power generation and emphasizing the system's efficiency. Optimizing system design significantly boosted power generation, promoted renewable energy utilization, and enhanced energy storage capacity. The study underscored the benefits of optimizing hybrid solar PV panels and pumped hydro energy supply systems for sustainable energy usage. Optimizing the design of solar PV panels and pumped hydro energy supply systems as examined across diverse climatic conditions in a developing country, not only enhances power generation but also improves the integration of renewable energy sources and boosts energy storage capacities, particularly beneficial for less economically prosperous regions. Additionally, the study provides valuable insights for advancing energy research in economically viable areas. Recommendations included conducting site-specific assessments, utilizing advanced modeling tools, implementing regular maintenance protocols, and enhancing communication among system components.
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxR&R Consult
CFD analysis is incredibly effective at solving mysteries and improving the performance of complex systems!
Here's a great example: At a large natural gas-fired power plant, where they use waste heat to generate steam and energy, they were puzzled that their boiler wasn't producing as much steam as expected.
R&R and Tetra Engineering Group Inc. were asked to solve the issue with reduced steam production.
An inspection had shown that a significant amount of hot flue gas was bypassing the boiler tubes, where the heat was supposed to be transferred.
R&R Consult conducted a CFD analysis, which revealed that 6.3% of the flue gas was bypassing the boiler tubes without transferring heat. The analysis also showed that the flue gas was instead being directed along the sides of the boiler and between the modules that were supposed to capture the heat. This was the cause of the reduced performance.
Based on our results, Tetra Engineering installed covering plates to reduce the bypass flow. This improved the boiler's performance and increased electricity production.
It is always satisfying when we can help solve complex challenges like this. Do your systems also need a check-up or optimization? Give us a call!
Work done in cooperation with James Malloy and David Moelling from Tetra Engineering.
More examples of our work https://www.r-r-consult.dk/en/cases-en/
Overview of the fundamental roles in Hydropower generation and the components involved in wider Electrical Engineering.
This paper presents the design and construction of hydroelectric dams from the hydrologist’s survey of the valley before construction, all aspects and involved disciplines, fluid dynamics, structural engineering, generation and mains frequency regulation to the very transmission of power through the network in the United Kingdom.
Author: Robbie Edward Sayers
Collaborators and co editors: Charlie Sims and Connor Healey.
(C) 2024 Robbie E. Sayers
Industrial Training at Shahjalal Fertilizer Company Limited (SFCL)MdTanvirMahtab2
This presentation is about the working procedure of Shahjalal Fertilizer Company Limited (SFCL). A Govt. owned Company of Bangladesh Chemical Industries Corporation under Ministry of Industries.
Governing Equations for Fundamental Aerodynamics_Anderson2010.pdf
Vehicle tracting system
1. Vehicle Tracking System
Aim of this project is to track the location of our Vehicle. This project
gives Minute-by-minute updates about vehicle location by sending SMS
through GSM modem. This SMS contains longitude and latitude of the
location of vehicle. Microcontroller gets the coordinates from GPS
modem and then it sends this information to the user in Text SMS. GSM
modem is used to send this information via SMS. SMS will be sent to
the owner of the vehicle.
Block diagram
Vehicle Tracking System
2. This project consists of following blocks:
1. GPS Modem
2. GSM Modem
3. Microcontroller (Arduino UNO)
4. LCD display
5. Power Adopter
GPS Modem: A GPS navigation device is a device that accurately
calculates geographical location by receiving information from
GPS satellites. GPS modems need to be connected to a computer in
order to work. This computer can be a home computer, laptop,
PDA, digital camera, or smart phones. Depending on the type of
computer and available connectors, connections can be made
through a serial or USB cable.
GPS receiver communication is defined within NMEA
specification. Most computer programs that provide real time
position information understand and expect data to be in this
standard.
Each sentence begins with a '$' and ends with a carriage return/line
feed sequence and can be no longer than 80 characters of visible
text. The data is contained within this single line with data items
separated by commas. The data itself is just ASCII text and may
extend over multiple sentences in certain specialized instances but
is normally fully contained in one variable length sentence.
3.
4. GSM Modem: A GSM modem is a wireless modem that works
with a GSM wireless network. A wireless modem behaves like a
dial-up modem. The main difference between them is that a dial-up
modem sends and receives data through a fixed telephone line
while a wireless modem sends and receives data through radio
waves. An external GSM modem is connected to a computer
through a serial cable or a USB cable. Like a GSM mobile phone, a
GSM modem requires a SIM card from a wireless carrier in order
to operate.
Computers use AT commands to control modems. Both GSM
modems and dial-up modems support
a common set of standard AT
commands. In addition to the
standard AT commands, GSM
modems support an extended set of
AT commands. These extended AT
commands are defined in the GSM
standards. With the extended AT
commands, you can do things like:
Reading, writing and deleting SMS
messages.
Sending SMS messages.
Monitoring the signal strength.
Monitoring the charging status and charge level of the battery.
Reading, writing and searching phone book entries.
SIM900 GSM Modem
5. MESSAGE SENDING AND WRITING COMMANDS
AT+CMGS, Send Message
This command sends a short message from the modem to the
network
Command Possible Response
If text mode;
AT+CMGS=<da>[,<toda>]<cr>
text is entered <ctrl+z/esc>
If PDU mode;
AT+CMGS=<length><cr>
PDU mode is given <ctrl+z/esc>
e.g. (text mode)
AT+CMGS=.01763262222.<cr>
>Write your test here <ctrl+z>
If text mode and sending successful;
+CMGS: <mr>
If PDU mode and sending successful;
+CMGS: <mr>
Note:
1. Control+z = terminate and send, escape = terminate and quit
(without sending).
2. After sending the command AT+CMGS="123456"<cr> wait for
the character > before sending the text or characters will be lost.
3. The text string is terminated by ctrl+z do not use a carriage
return like other commands.
Arduino UNO board: The Arduino Uno R3 is a microcontroller
board based on the ATmega328. It has 14 digital input/output pins
(of which 6 can be used as PWM outputs), 6 analog inputs, a 16
MHz crystal oscillator, a USB connection, a power jack, an ICSP
header, and a reset button. It contains everything needed to support
the microcontroller
6. Power adopter: This is used to give appropriate dc power supply
to microcontroller, driver IC sensors and the other passive
components of the robot.
Overview:
Overview
Description
The system uses a GPS Modem and a GSM modem to give the
updates about the location of the vehicle. Both the modems are
attached to arduino UNO board along with a 16x2 LCD to display the
location on the system. Both modems transfer data over UART
protocol. The Arduino UNO has one built in UART, therefore for the
2nd
modem SoftwareSerial library of Arduino is being used.
GPS Receiver receives the information in string format, transmitted
by Satellites and uses this information to calculate different
parameters between it and satellites. With information from satellites,
a GPS receiver can fix its location on the ground from the known
7. position of the satellites. The GPS modem has an antenna which
receives the satellite signals and transfers them to the modem. The
modem in turn converts the data into useful information and sends the
output in serial RS232 logic level format.
The program burnt into the microcontroller extracts the location
information from the data received from the GPS modem and sends
this information to GSM modem using the specified command so that
this information is sent to the destination mobile phone over the GSM
network in form of text message.
Program:
#include <SoftwareSerial.h>
#include <LiquidCrystal.h>
SoftwareSerial mySerial(10, 11); // using digital i/o pins for serial commnication
/*RX is digital pin 10 (connect to TX of other device)
TX is digital pin 11 (connect to RX of other device)*/
LiquidCrystal lcd(7, 6, 5, 4, 3, 2);
char str[70];
char *test="$GPGGA";
char logitude[10];
char latitude[10];
int i,j,k;
int temp;
int c=0;
void setup()
{
mySerial.begin(9600);
Serial.begin(9600);
lcd.begin(16, 2);
8. lcd.print("GPS Besed Vehicle");
lcd.setCursor(0, 1);
char a[]="Tracking System";
lcd.print(a);
delay(10000);
lcd.clear();
}
void loop()
{
if (temp==1)
{
for(i=18;i<27;i++) //extract latitude from string
{
latitude[j]=str[i];
j++;
}
for(i=32;i<40;i++) //extract longitude from string
{
logitude[k]=str[i];
k++;
}
lcd.setCursor(0,0); //display latitude and longitude on 16X2 lcd display
lcd.print("Lat(N)");
lcd.print(latitude);
lcd.setCursor(0,1);
lcd.print("Lon(E)");
lcd.print(logitude);
delay(100);
if(c<5)
{
10. str[i]= inChar; //store incomming data from GPS to temparary string str[]
i++;
if (i < 7)
{
if(str[i-1] != test[i-1]) //check for right string
{
i=0;
}
}
if(i >=60)
{
temp=1;
}
}
}
Using Digital I/O pins of Arduino UNO board for serial
communication:
The Arduino hardware has built-in support for serial communication on
pins 0 and 1 (which also goes to the computer via the USB connection).
The native serial support happens via a piece of hardware (built into the
chip) called a UART. This hardware allows the Atmega chip to receive
serial communication even while working on other tasks, as long as
there room in the 64 byte serial buffer.
The SoftwareSerial library has been developed to allow serial
communication on other digital pins of the Arduino, using software to
replicate the functionality (hence the name "SoftwareSerial"). It is
possible to have multiple software serial ports with speeds up to 115200
bps.
11. Example
/*
Software serial multple serial test
Receives from the hardware serial, sends to software serial.
Receives from software serial, sends to hardware serial.
The circuit:
* RX is digital pin 10 (connect to TX of other device)
* TX is digital pin 11 (connect to RX of other device)
Note:
Not all pins on the Mega and Mega 2560 support change interrupts,
so only the following can be used for RX:
10, 11, 12, 13, 50, 51, 52, 53, 62, 63, 64, 65, 66, 67, 68, 69
Not all pins on the Leonardo support change interrupts,
so only the following can be used for RX:
8, 9, 10, 11, 14 (MISO), 15 (SCK), 16 (MOSI).
created back in the mists of time
modified 25 May 2012
by Tom Igoe
based on Mikal Hart's example
This example code is in the public domain.
*/
#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11); // RX, TX
void setup()
{
// Open serial communications and wait for port to open:
Serial.begin(57600);
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only
}
Serial.println("Goodnight moon!");
// set the data rate for the SoftwareSerial port
mySerial.begin(4800);
mySerial.println("Hello, world?");
}
void loop() // run over and over
{
if (mySerial.available())
Serial.write(mySerial.read());
if (Serial.available())
12. mySerial.write(Serial.read());
}
Programming Digital I/O pins of Arduino UNO board:
Each pin is controlled by three commands associated with it which are
designated as:
pinMode()
digitalWrite()
digitalRead()
pinMode()
This configures the specified pin to behave either as an input or an output.
Syntax
pinMode(pin, mode)
Parameters
pin: the number of the pin whose mode you wish to set
mode: INPUT, OUTPUT.
Returns
None
Example
int ledPin = 13; // LED connected to digital pin 13
void setup()
{
pinMode(ledPin, OUTPUT); // sets the digital pin as output
}
void loop()
{
digitalWrite(ledPin, HIGH); // sets the LED on
delay(1000); // waits for a second
digitalWrite(ledPin, LOW); // sets the LED off
13. delay(1000); // waits for a second
}
digitalWrite()
Write a HIGH or a LOW value to a digital pin.
If the pin has been configured as an OUTPUT with pinMode(), its voltage
will be set to the corresponding value: 5V (or 3.3V on 3.3V boards) for
HIGH, 0V (ground) for LOW.
Syntax
digitalWrite(pin, value)
Parameters
pin: the pin number
value: HIGH or LOW
Returns
None
Example
Sets pin 13 to HIGH, makes a one-second-long delay, and sets the pin back to LOW.
int ledPin = 13; // LED connected to digital pin 13
void setup()
{
pinMode(ledPin, OUTPUT); // sets the digital pin as output
}
void loop()
{
digitalWrite(ledPin, HIGH); // sets the LED on
delay(1000); // waits for a second
digitalWrite(ledPin, LOW); // sets the LED off
14. delay(1000); // waits for a second
}
digitalRead()
Reads the value from a specified digital pin, either HIGH or LOW.
Syntax
digitalRead(pin)
Parameters
pin: the number of the digital pin you want to read (int)
Returns
HIGH or LOW
Example
int ledPin = 13; // LED connected to digital pin 13
int inPin = 7; // pushbutton connected to digital pin 7
int val = 0; // variable to store the read value
void setup()
{
pinMode(ledPin, OUTPUT); // sets the digital pin 13 as output
pinMode(inPin, INPUT); // sets the digital pin 7 as input
}
void loop()
{
val = digitalRead(inPin); // read the input pin
digitalWrite(ledPin, val); // sets the LED to the button's value
}