2018 2 PDF
2018 2 PDF
BY
MA WAI MAR MOE
GRADUATION THESIS
OCTOBER, 2018
MEIKTILA
i
ACKNOWLEDGEMENT
First, the author would like to express her deep gratitude to Union Minister Dr.
Myo Thein Gyi, Ministry of Education, for opening the Bachelor Degree of
Engineering at Technological University (Meiktila) and his invaluable permission.
The author would like to express her gratitude to Dr. Aung Myo Thu, Pro-
Rector, Technological University (Meiktila), for his kindness and suggestions for
completion of this thesis.
The author is deeply grateful to Dr. Khine Myint Mon, Professor and Head,
Department of Electronic Engineering, Technological University (Meiktila), for her
suggestions, kind encouragements, permission and help till the completion of this
thesis.
The author would like to express special thanks to her supervisor, Dr. May
San Hlaing, Assistant Lecturer, Department of Electronic Engineering, Technological
University (Meiktila), for her patient guidance, constructive comments, criticism,
encouragement and willingness to share ideas during a long period of this thesis.
The author wishes to acknowledge especially to her co-supervisor, Daw Hay
Man Oo, Lecturer, Department of Electronic Engineering, Technological University
(Meiktila), for her guidance, valuable help, encouragement and editing this thesis.
The author is much obliged to the members of the board of examiners and the
groups of checking format and language for the absolute perfection of thesis book, for
their effective suggestions and sharing their valuable experience.
Special thanks go to all the teachers from Technological University (Meiktila)
who has taught her other supporting subjects including English and Mathematics.
Last but not least, the author is deeply grateful to her parents, aunt and brother
for their supports and encouragement to attain her destination without any trouble and
all her friends who help in any situation.
TECHNOLOGICAL UNIVERSITY (MEIKTILA)
DEPARTMENT OF ELECTRONIC ENGINEERING
BY
MA WAI MAR MOE
A THESIS
SUBMITTED TO DEPARTMENT OF
ELECTRONIC ENGINEERING
IN PARTIAL FULFILMENT OF THE REQUIRMENTS
FOR THE DEGREE OF BACHELOR OF ENGINEERING
(ELECTRONICS)
OCTOBER, 2018
MEIKTILA
TECHNOLOGICAL UNIVERSITY (MEIKTILA)
DEPARTMENT OF ELECTRONIC ENGINEERING
Board of Examiners:
ABSTRACT
This thesis investigates the design and construction of vehicle vibration alert
system. In human life, vehicles are playing important role in day to day life while
using vehicle. This system helps the people to secure. This system is designed by
using accelerometer, GPS module, GSM module, 16x2 Liquid Crystal Display (LCD)
and Arduino UNO. The system presented at finding the occurrence of any accident
and reporting the location of vehicle to the coded numbers. GPS technology is used to
find the location of vehicle with latitude and longitude. The location spot is retrieved
using GPS technology which is a navigational system using a network of satellites
orbiting the earth. Accelerometer detects strongly tilt of vehicle and it command to the
microcontroller. The controller reads the coordinates from GPS module and sends the
alert messages with the location to the predefined number using GSM module and is
also shown on LCD display. In this system, Arduino UNO is the heart of the system,
which controls all the function of the circuit.
APPENDIX
46
APPENDIX
PROGRAM CODE FOR VEHICLE VIBRATION ALERT SYSTEM
#include <TinyGPS++.h>
#include <SoftwareSerial.h>
#include<LiquidCrystal.h>
static const uint32_t GPSBaud = 9600;
TinyGPSPlus gps;
SoftwareSerial Serial1(2,3);
SoftwareSerial ss(10, 11);
LiquidCrystal lcd(4,5,6,7,8,9);
double latt, logt;
int analogX, analogY, analogZ;
int originalX, originalY, originalZ;
int outX, outY, outZ;
int xValue, yValue, zValue;
void initModule(String cmd, char *res, int t)
{
while(1)
{
Serial.println(cmd);
Serial1.println(cmd);
delay(100);
while(Serial1.available()>0)
{
if(Serial1.find(res))
{
Serial.println(res);
delay(t);
return;
}
47
else
{
Serial.println("Error");
}
}
delay(t);
}
}
void setup(){
Serial.begin(9600);
Serial1.begin(9600);
delay(2);
lcd.begin(16,2);
lcd.print("Accident Alert ");
lcd.setCursor(0,1);
lcd.print(" System ");
delay(2000);
lcd.clear();
lcd.print("Initializing");
lcd.setCursor(0,1);
lcd.print("Please Wait...");
delay(500);
Serial.println("Initializing....");
initModule("AT","OK",1000);
initModule("ATE1","OK",1000);
initModule("AT+CMGF=1","OK",1000);
initModule("AT+CNMI=2,2,0,0,0","OK",1000);
Serial.println("Initialized Successfully");
lcd.clear();
lcd.print("Initialized");
lcd.setCursor(0,1);
lcd.print("Successfully");
delay(2000);
lcd.clear();
48
lcd.print("Callibrating ");
lcd.setCursor(0,1);
lcd.print("Acceleromiter");
analogX=analogRead(A1);
delay(2);
analogY=analogRead(A2);
delay(2);
analogZ=analogRead(A3);
delay(2);
originalX=map(analogX, 0, 1023, 0, 255);
delay(2);
originalY=map(analogY, 0, 1023, 0, 255);
delay(2);
originalZ=map(analogZ, 0, 1023, 0, 255);
delay(2);
delay(1000);
lcd.clear();
lcd.print("Waiting For GPS");
lcd.setCursor(0,1);
lcd.print(" Signal ");
delay(2000);
lcd.clear();
lcd.print("GPS is Ready");
delay(1000);
ss.begin(9600);
lcd.clear();
lcd.print("System Ready");
Serial.println("System Ready..");
}
void loop(){
/*if(Serial.available()>0) {
String a=Serial.readString();
if(a=="a"){
sendMessage();
49
}
}*/
if(ss.available() > 0){
gps.encode(ss.read());
if (gps.location.isUpdated()){
latt=gps.location.lat(),6;
Serial.print(" Longitude= ");
logt=gps.location.lng(),6;
Serial.print(latt);
Serial.print(" ");
Serial.print(logt);
Serial.println();
}
}
analogX=analogRead(A1);
analogY=analogRead(A2);
analogZ=analogRead(A3);
outX=map(analogX, 0, 1023, 0, 255);
outY=map(analogY, 0, 1023, 0, 255);
outZ=map(analogZ, 0, 1023, 0, 255);
xValue=originalX-outX;
yValue=originalY-outY;
zValue=originalZ-outZ;
Serial.print("X Value :");
Serial.print(xValue);
Serial.print(" Y Value :");
Serial.print(yValue);
Serial.print(" Z Value :");
Serial.print(zValue);
Serial.println();
if((xValue>15 && xValue<20) || (xValue<-10 && xValue>-20) && (yValue>15
&& yValue<20) || (yValue>-14 && yValue<-13) || (zValue>20 && zValue<31) ||
(zValue>10&& zValue<25))
{
50
sendMessage()
}
}
void sendMessage()
{
Serial1.println("AT");
delay(500);
serialPrint();
Serial1.println("AT+CMGF=1");
delay(500);
serialPrint();
Serial1.print("AT+CMGS=");
Serial1.print('"');
Serial1.print("+959978035368");
Serial1.println('"'); //""
delay(500);
serialPrint();
Serial1.print("Latitude:");
Serial1.println(latt);
delay(500);
serialPrint();
Serial1.print(" longitude:");
Serial1.println(logt);
delay(500);
lcd.clear();
lcd.print("Lat:");
lcd.print(latt);
lcd.setCursor(0,1);
lcd.print("Log:");
lcd.print(logt);
delay(2000);
serialPrint();
Serial1.print("http://maps.google.com/maps?&z=15&mrt=yp&t=k&q=");
Serial1.print(latt,6);
51
TABLE OF CONTENTS
Page
ACKNOWLEDGEMENT i
ABSTRACT ii
TABLE OF CONTENTS iii
LIST OF FIGURES vi
LIST OF TABLES viii
LIST OF ABBREVIATIONS ix
CHAPTER TITLE
1 INTRODUCTION 1
1.1. Introduction to Vehicle Vibration Alert System 1
1.2. Aim and Objectives 2
1.3. Scope of Thesis 3
1.4. Implementation Programs 3
1.5. Outline of Thesis 3
2 LITERATURE REVIEW 4
2.1. Previous Work on Vehicle Vibration Alert System 4
2.2. Intelligent Public Transport Management Using Embedded
Technology 4
2.3. User Alert System for Vehicle Accident Detection System 6
2.4. Accident Detection and Surveillance System Using Wireless
Technologies 7
3 HARDWARE COMPONENTS OF VEHICLE VIBRATION
ALERT SYSTEM 11
3.1. Required Components 11
3.2. Overview to Arduino 11
3.2.1. Types of Arduino Boards 12
3.2.2. Arduino UNO 12
3.2.2.1. Summary of technical specification 13
3.2.2.2. Pin specification of Arduino UNO 14
3.3. Global Positioning System 19
3.3.1. NEO6M GPS Module 16
3.3.2. Pin Specification of GPS 17
iv
place frequently which causes huge loss of life and property because of the lack of
best emergency facilities available in many countries.
Vehicle vibration alert system is used GPS module, GSM module and
accelerometer. Accelerometer detects the sudden change in the axes of the vehicle and
GSM module sends the alert message to owner’s mobile phone with the location of
the vibration. Location of the vehicle is seen form Google Map link, derived from the
latitude and longitude from GPS module. This application provides the optimum
solution to poor emergency facilities provided to the road vibration in the most
feasible way. Figure 1.1 shows the overall block diagram of vehicle vibration alert
system.
16x2 LCD
GPS GSM
Arduino UNO Mobile
Module Module
Accelerometer
Figure 1.1. Overall Block Diagram of Arduino Based Vehicle Vibration Alert System
LPC2148 is one of the most widely used IC of ARM-7 families which are
manufactured by NXP semiconductors formerly known as Philips. It uses the
Reduced Instruction Set Computer (RISC) architecture and Harvard architecture.
Harvard architecture has separate bus line for both program memory and data memory
which is used for fast data transfer. It has many features like it is having 64 General
Purpose Input and Output (GPIO) pins high performance ARM microcontroller. It has
two ports and each port consists of 32 pins. In that 3 pins are reserved for future
applications and 16 pins are hidden which is used to boost up the remaining pins
operation. Pins are available up to nine edge or level sensitive external interrupt.
There are only 45 GPIO pins which use for input and output applications. It
has 512kB of flash program memory and 32kB of static RAM data memory. It has
two Universal Asynchronous Receiver and Transmitter (UART) which is used for
serial communication between two modules. It is and interface width of 128 bit which
enables the operating frequency of 60MHz. It is low power consumption with
operating voltage of 3.3V. It has four stages of pipe line which is used make a
sequence flow of execution. Crystal operating frequency of up to 60MHz because it
consists of Phased Lock Loop (PLL).
In this research, this intelligence counting system is mainly consists of 32 bit
ARM RISC based Harvard architecture microcontroller and Infrared Sensor (IR). This
system consists of two infrared sensors, one is placed at the front of the vehicle and
another one is placed at the back of the vehicle. Figure 2.3 shows experimental results
of the system.
If the person is entering into the bus, infrared sensor which is present at the
front of the vehicle gets activated; microcontroller external interrupt gets enabled and
counts the person as a passenger. If the person gets down from the bus infrared sensor
which is present at the back side of the vehicle gets activates and decreases the
passenger with -1. If the front infrared sensor in activation mode, it going to be in
increment mode +1 or ++. If the back infrared sensor in activation mode, it going to
be in decrement mode -1 or in this proposed system the microcontroller plays a key
role for the desired application i.e. this is controlled the entire modules. This proposed
system is used for the efficient transport system management in desired manner
[15Bha].
notification to appropriate user family and send the basic information with
geographical coordinates. The proposed system is also embedded with Google Maps
so by clicking coordinates it directed to the accident location. In this research,
Arduino is used for controlling whole the process with a GPS receiver and GSM
module. Figure 2.4 shows output message received in mobile. GPS receiver is used
for detecting coordinates of the vehicle, GSM module is used for sending the alert
SMS with the coordinates and the link to Google Map. Micro Electromechanical
System (MEMS) sensor is used for detecting sudden vibration change in a vehicle.
GPS module used here is SIM28ML and GSM module used here is SIM900A. Buzzer
is used to alert the user. Single pole single throw switch is used to off the system.
In this proposed system, the idea of combining the accident detection and alert
system with urban for smart cities [12Thr].
endowed with a Control Unit (CU) responsible for detecting accident and Onboard
Unit (OBU) reporting accident location for providing the necessary resources for the
rescue operation.
The proposed application is developed for the Android based smart phones. In
particular, the system relies on the microcontroller to sense accident event and GPS
technology to find the exact location of the accident. With the use of bluetooth
module, eliminates the need for physical connection, making it more robust against
hardware damages. Since a data communications channel between the smart phone
and server is required, it is established using Transmission Control Protocol/ Internet
Protocol (TCP/IP). Mobile telephony services such as SMS are used. The system is
configured to send an Short Message Service (SMS) about accident information, such
as current GPS coordinates of accident location, to emergency service providers.
Figure 2.5 shows general system.
Figure 2.4. General System of Accident Detection and Surveillance System Using
Wireless Technologies [14Pur]
CHAPTER 3
HARDWARE COMPONENTS OF VEHICLE VIBRATION ALERT
SYSTEM
consists of microchips on a circuit board with read write capabilities, memory, inputs
and outputs. The Arduino hardware and software was designed for artists, designers,
hobbyists, hackers, newbies and anyone interested in creating interactive objects or
environments. Arduino drive motors, LEDs, buttons, speakers, GPS units, GSM units,
camera, LCDs and other components. There are many types of Arduino boards
available in the markets but all the boards have one thing in common; they are
programmed using the Arduino IDE. The reasons for different types of boards are
different power supply requirements, connectivity options and their applications etc.
The recommended voltage for most Arduino models is between 6V and 12V [18Ano].
Figure 3.1 shows the Arduino UNO board. Arduino UNO is a single board
microcontroller meant to make the application more accessible which are interactive
13
objects and its surroundings. Arduino UNO is the basic and inexpensive Arduino
board and is the most popular of all Arduino boards with a markets share of over 50
%. The hardware features with an open source hardware board designed around an 8
bit Atmel AVR microcontroller or a 32 bit Atmel ARM. It has 14 digital input and
output pins in which 6 are used as Pulse Width Modulation (PWM) outputs, a 16MHz
ceramic resonator, an ICSP header, a USB connection, 6 analog inputs, a power jack
and button. The Arduino UNO board is a microcontroller based on ATmega328. This
contains all the required support needed for microcontroller. In order to get started,
they are simply connected with a USB cable or with an AC to DC adapter or battery.
Current models consists a USB interface [18Ano].
Microcontroller: ATmega328
Operating voltage: 5V
Input voltage (recommended): 7V to 12V
Input voltage (limits): 6V to 20V
Digital input and output pins: 14 (of which 6 provide PWM output)
14
Serial 0 (Rx), 1 (Tx) Used to receive and transmit TTL serial data.
signals; they do not transmit. GPS receivers use this information and trilateration to
calculate a user's exact location. Essentially, the GPS receiver measures the distance
to each satellite by the amount of time it takes to receive a transmitted signal. With
distance measurements from a few more satellites, the receiver determine a user's
position and display it electronically to measure running route, map a golf course and
a way home or adventure anywhere The GPS signal allows repeating this calculation
every 6s. Many GPS units show derived information such as direction and speed,
calculated from position changes. To calculate 2D position (latitude and longitude)
and track movement, a GPS receiver is locked on to the signal of at least 3 satellites.
With four or more satellites in view, the receiver can determine 3D position (latitude,
longitude and altitude). GPS module sends the data related to tracking position in real
time and it sends so many data in National Marine Electronics Association (NMEA)
format [17Ruc].
GND Ground
world. It initially started as a circuit switching network but later packet switching was
implemented after integration General Packet Radio Service (GPRS) technology as
well. GSM is an open and digital cellular technology used for transmitting mobile
voice and data services op 900MHz, 1800MHz and 1900MHz frequency bands. The
transmission speed is 270kbps.
GSM system was developed as a digital system using Time Division Multiple
Access (TDMA) technique for communication purpose. Most widely used of the three
digital wireless telephone technologies are TDMA, GSM and CDMA. A GSM
digitizes and reduces the data then sends it down through an each in its own particular
time slot. The digital system has an ability to carry 64kbps to 120Mbps of data rates.
There are various cell sizes in a GSM system such as macro, micro, Pico and umbrella
cells. Each cells various as per the implementation domain.
General Packet Radio Service (GPRS) is a packet oriented mobile data service
on the 2G and 3G cellular communication system's GSM was originally standardized
by the European Telecommunications Standards Institute (ETSI) in response to the
earlier packet switched cellular technologies. It is now maintained by the Third
Generation Partnership Project (3GPP) GPRS usage is charged based on volume of
data. This contrasts with circuit switching data, which is typically billed per minute of
connection time, regardless of whether or not the user transfers data during that period
[12Nju].
3.4.1. SIM900A
GSM modern RS232 is built with dual band GSM engine SIM900A, works on
frequencies 900MHz and1800MHz. The modem is coming with RS232 interface
which allows connecting PC as well as microcontroller with RS232 chip (MAX232).
The baud rate is configurable from 9600 to 115200 through AT command. The GSM
modem is having internal TCP and IP stack to enable to connect with internet via
GPRS. It is suitable for SMS, voice as well as data transfer application in M2M
interface. The onboard regulated power supply allows connecting wide range
unregulated power supply. Using this modem, it is make audio calls, SMS, read SMS
and attends the incoming calls and internet through simple AT commands. Figure 3.5
shows the SIM900A IC chip.
GND Ground
3.5. Accelerometer
An accelerometer is a device that measures proper acceleration. Proper
acceleration is being the acceleration of a body in its own instantaneous rest frame, is
21
not the same as coordinate acceleration, being the acceleration in a fixed coordinate
system. For example, an accelerometer at rest on the surface of the earth measure an
acceleration due to earth’s gravity, straight upwards of g = 9.81 m/s2.
Accelerometers have multiple applications in industry and science. Highly
sensitive accelerometers are components of inertial navigation systems for aircraft and
missiles. Accelerometers are used to detect and monitor vibration in rotating
machinery. Accelerometers are used in tablet computers and digital cameras so that
images on screens are always displayed upright. Accelerometer is used in drones for
flight stabilization. Coordinated accelerometers are used to measure differences in
proper acceleration, particularly gravity, over their separation in space; i.e., gradient
of the gravitational field. This gravity gradiometer is useful because absolute gravity
is useful because absolute gravity is a weak effect and depends on local density of the
earth which is quite variable.
Single and multi-axis models of accelerometer are available to detect
magnitude and direction of the proper acceleration, as a vector quantity and are used
to sense orientation, coordinate acceleration, vibration, shock and falling in a resistive
medium. Micro Electromechanical System (MEMS) accelerometers are widely used
systems that are used to detect and measure the three dimensional static or dynamic
forces that tend to change the momentum of a rigid body [16Her].
polarized glass through particular area of the LCD. Thus that particular area becomes
dark compared to other. The LCD works on the principle of blocking light. While
constructing the LCD, a reflected mirror is arranged at the back. An electrode plane is
made of indium tin oxide which is kept on top and a polarized glass with a polarizing
film is also added on the bottom of the device. The complete region of the LCD has to
be enclosed by a common electrode and above it can be the liquid crystal matter
[16Tar].
Next comes to the second piece of glass with an electrode in the form of the
rectangle on the bottom, on top and another polarizing film. It is considered that both
the pieces are kept at right angles. If there is no current, the light passes through the
front of the LCD it is reflected by the mirror and bounced back. As the electrode is
connected to a battery the current from it is caused the liquid crystals between the
common plane electrode and the electrode shaped like a rectangle to untwist. Thus the
light is blocked from passing through. That particular rectangular area appears blank.
Pin4 (RS): Register select pin: The JHD162 A has two registers namely
command register and data register. Logic HIGH at RS pin selects data
registers and logic LOW at RS pin selects command register.
Pin5 (R/W): Read and Write modes. This pin is used for selecting between
read and write modes. Logic HIGH at this pin activates read mode and logic
LOW at this pin activates write mode.
Pin6 (E): This pin is meant for enabling the LCD module. A HIGH to LOW
signal at this pin will enable the module.
Pin (DB0) to Pin14 (DB7): These are data pins. The commands and data are
fed to the LCD module though these pins.
Pin15 (LED+): Anode of the black light LED. When operated on 5V, a 560Ω
resistor should be connected in series to this pin. In Arduino based projects the
back light LED can be powered from the 3.3V source on the Arduino board.
Pin16 (LED-): Cathode of the black light LED [12Ano].
CHAPTER 4
HARDWARE IMPLEMENTATION OF VEHICLE VIBRATION ALERT
SYSTEM
Start
END
Figure 4.1 shows vehicle vibration alert process. This process created many
wonders in the security of the vehicle. In this process, initializing the start and if the
vehicle’s vibration sudden change, accelerometer detects the sudden changes the axes
of vehicle. In this saturation, if vehicle’s axes causes strongly tilt, accelerometer
detect vehicle’s x, y and z direction values. This accelerometer x, y and z direction
values command to the microcontroller and checks if any changes in any axes. Global
Positioning System (GPS) is used for getting the vehicle’s latitude and longitude. This
module gives to know the vehicle’s real position. The GPS module gets updated
latitude and longitude of the vehicle in every time.
29
If any changes occur then Arduino reads coordinates from GPS module.
Vehicle’s latitude and longitude is shown on Liquid Crystal Display (LCD). And then,
Global System for Mobile Communication (GSM) sends the alert message to the
predefined number with the location of vehicle place. Mobile technology services
such as SMS are used. GSM module is only used in this process for sending the SMS
to the mobile. This message includes the Google Map link from which people is
known vehicle’s position by opening the Google Map with the help of the internet
connection. The advent of this process has also increased the poor emergency
facilities in many countries. And then, the process is ending.
system in existing vehicles. Like smart phones, in future cars are also getting smarter.
At that time, this system plays important role in making smarter. The proposed
application is developed for the Android based smart phones.
LCD
VDD
VEE
VSS
RW
5 D7
14 D6
D5
12 D4
10 D3
D2
D1
7 D0
6 RS
+L
-L
E
16
15
13
11
4
3
2
8
RV1
10k
GND
13
Reset 12
3.3V 11 GND
+5V 10 Vcc
GND Arduino
Arduino 9 GPS Module
Tx
GND UNO 8
VIN Rx
7
A0 6
Vcc 5
A1
x A2 4
ADXL335 y 3 Rx
z A3
A4 2 Tx
1 SIM900A GSM
GND A5 Vcc
0
GND
x A1
y A2
z A3
31
Table 4.1 shows circuit connection of vehicle vibration alert system. These
pins are connected to the Arduino pin for the hardware system.
module. This message also contains a Google Map link, so that location is easily
tracked. If people receive the message then only need to click the message link and go
to the Google Map and then it is seen the exact location of the vehicle.
Start
Start
Initialize
Initialize GSM
GSM Module
Module
No
No If
If OK
OK
GSM?
GSM?
Yes
Yes
Calibrate
Calibrate Accelerometer
Accelerometer
Get
Get the
the initial
initial position
position of
of
vehicle
vehicle
Initialize
Initialize GPS
GPS Module
Module
Get
Get Updated
Updated Lat
Lat and
and Lon
Lon
No
No Over
Over Specific
Specific
Range?
Range?
Yes
Yes
Get
Get Lat
Lat and
and Lon
Lon
Print
Print LCD
LCD
Send
Send Message
Message
Mobile
Mobile
END
END
4.6.1. Algorithm
The algorithm used in the flowchart.
Step1: Start.
Step2: Initializing the GSM Module.
Step3: Check GSM is OK? If GSM is activate go to step4 otherwise step2.
Step4: Callibration process the accelerometer.
Step5: Get initial position of vehicle.
Step6: Initializing the GPS module.
Step7: Get updated latitude and longitude.
Step8: Check over specific range. If over range go to step9 otherwise step7.
Step9: Get updated latitude and longitude.
Step10: Print vehicle’s latitude and longitude on LCD.
Step11: Send alert message through GSM module to predefined number. This
message contains a Google Map Link.
Step13: Exit.
CHAPTER 5
TEST AND RESULTS OF VEHICLE VIBRATION ALERT SYSTEM
.
Figure 5.1. Testing of Vehicle Vibration Alert System
accelerometer and GPS module. After active system, it shows the result on serial
monitor. The loop function of GSM module found message and sent to mobile. If this
system received activates SMS, the results show LCD and serial monitor. The
proposed systems have been simulated and practically design by the use of hardware
components and the results are satisfied with the expectation. Figure 5.2 shows the
result for the active system.
Figure 5.5 shows the testing x-axis with vehicle tilt for negative. If the vehicle
tilt according to the x-axis, x value is changed then send the SMS that this saturation
is shown on serial monitor.
Figure 5.8 shows the testing y-axis with vehicle tilt for negative. If the vehicle
tilts according to the y-axis, y value is changed then sends the SMS that this saturation
is shown on serial monitor.
Figure 5.10 shows the testing z-axis with vehicle tilt for negative. If the
vehicle tilts according to the z-axis, z value is changed then sends the SMS that this
saturation is shown on serial monitor.
Figure 5.11. Result for the GSM Module Sends SMS to Mobile
40
CHAPTER 6
DISCUSSIONS AND CONCLUSION
6.1. Discussions
This thesis demonstrates construction of vehicle vibration alert system using
Arduino, accelerometer, GPS and GSM module. In this system, ADXL335
accelerometer is used to detect the axes of the vehicle, GPS Module is used to get the
location, GSM Module is used to send the exact location of the vehicle and Arduino
serves as the main controller. Vehicle vibration alert systems are becoming
increasingly important for the emergency services. In human life vehicles are playing
an important role in day to day life while using vehicle there is not avoid accident
occur. This system may help the people to secure. Vehicle vibration alert system
focuses on increasing the safety, automatic accident detection, emergency assistance
and road hazard warning dissemination. The proposed system is designed to improve
the emergency assistance services which offer automated detection using wireless
communication technologies. This system does not focus on reducing the number of
accidents but improving emergency assistance with fast and efficient management of
the available resources, thereby increasing the chances of survival for people injured
in traffic accidents.
The proposed system requires installing the hardware system in the vehicles
for detecting accidents and notifying it to owners. The main objectives of the
proposed system are to enable accident notification to appropriate user family and to
send the basic information with geographical coordinates. The proposed system is
also embedded with Google Maps. By clicking coordinates, it directed to the accident
location.
6.2. Conclusion
The proposed application is developed for the Android based smart phones.
Like smart phones, in future cars are also get smarter. At that time, this system plays
important role in making cars smarter. In particular, the system relies on the
43
LIST OF ABBREVIATIONS
Abbreviation Description
AREF Analog Reference
ARM Advanced RISC Machine
AT Attention
AVR Advanced Virtual RISC
CDMA Code Division Multiple Access
CRT Cathode Ray Tube
CU Control Unit
EEPROM Electrically Erasable Programmable Read Only
Memory
ETSI European Telecommunication Standards Institude
GPIO General Purpose Input and Output
GPP Generation Partnership Project
GPRS General Packet Radio Service
GPS Global Positioning System
GSM Global System for Mobile Communication
IC Integrated Circuit
ICSP In Circuit Serial Programming
IDE Integrated Development Environment
IR Infrared
LCD Liquid Crystal Display
LED Light Emitting Diode
MCU Microcontroller Unit
MEMS Micro Electromechanical System
MISO Master In Slave Out
MOSI Master Out Slave In
NMEA National Marine Electronic Association
OBU Onboard Unit
x
PC Personal Computer
PDA Personal Digital Assistant
PLL Phased Lock Loop
PWM Pulse Width Modulation
RISC Reduced Instruction Set Computer
SIM Subscriber Identity Module
SMS Short Message Service
SPI Serial Peripheral Interface
SRAM Static Random Access Memory
SS Slave Select
ST Self Test
TCP/IP Transmission Control Protocol/ Internet Protocol
TDMA Time Division Multiple Access
TFT Thin Film Transistor
TTL Transistor Transistor Logic
TWI Two Wire Interface
UART Universal Asynchronous Receiver and Transmitter
UI User Interface
USB Universal Serial Bus
vi
LIST OF FIGURES
Figure Page
1.1. Overall Block Diagram of Arduino Based Vehicle Vibration Alert System 2
2.1. LPC2148 Development Board 4
2.2. Experiment Results of the Intelligent Public Transport Management System 5
2.3. Output Message Received in Mobile 7
2.4. General System of Accident Detection and Surveillance System Using Wireless
Technologies 8
2.5. Architecture of Accident Detection and Surveillance System 9
3.1. Arduino UNO Board 12
3.2. Pin Specification of Arduino UNO Board 13
3.5. Ublox NEO6M GPS Module 20
3.6. Structure of GSM Module 21
3.7. SIM900A IC Chip 22
3.8. Functional Block Diagram of Adxl335 Accelerometer 23
3.9. ADXL335 Accelerometer Module 24
3.10. Pin Diagram of 16x2 LCD Display 26
4.1. Overall System Process 27
5.1. Testing of Vehicle Vibration Alert System 35
5.2. Result for the Active System 36
5.3. Serial Monitor for Initialize the GSM Module 36
5.4. Testing the Accelerometer’s X, Y and Z Values for Vehicle Stable 37
5.5. Testing X-axis with Vehicle Tilt (for positive) 37
5.6. Testing X-axis with Vehicle Tilt (for negative) 38
5.7. Testing Y-axis with Vehicle Tilt (for positive) 39
5.8. Testing Y-axis with Vehicle Tilt (for negative) 39
5.9. Testing Z-axis with Vehicle Tilt (for positive) 40
5.10.Testing Z-axis with Vehicle Tilt (for negative) 40
5.11. Result for the GSM Module Sends SMS to Mobile 41
5.12. Result for Vehicle Location on Google Map 41
5.13. Result for Showing Location of Vehicle on LCD 42
5.14. Result for Overall System 42
5.10. Testing Z-axis with Vehicle Tilt (for negative) 39
vii
LIST OF TABLES
Title Page
3.1. Pin Specification of Arduino UNO 14
3.2. Pin Specification of GPS 17
3.3. Pin Specification of GSM SIM900A Module 20
3.4. Pin Specification of ADXL335 Accelerometer Module 23
4.1. Pin Connection of Vehicle Vibration Alert System 31
4.2. List of Components 33
VEHICLE VIBRATION ALERT
SYSTEM
OCTOBER, 2018
REFERENCES