You are on page 1of 35

MA'DIN POLYTECHNIC COLLEGE

MALAPPURAM

DEPARTMENT OF ELECTRICAL & ELECTRONICSENGINEERING

SEMINAR REPORT
ON
ARDUINO BASED VEHICLE ACCIDENT STATISTICS SYSTEM

PRESENTED BY,
UNAIS MUHSIN K
REG.NO-17031504
GUIDED BY
Ms. SRUTHI K
(LECTURER IN DEPT.OF ELECTRICAL AND ELECTRONICS ENGINEERING)

DEPT.OF ELECTRICAL AND ELECTRONICS ENGINEERING


2019-2020
MA'DIN POLYTECHNIC COLLEGE
MALAPPURAM

DEPARTMENT OF ELECTRICAL & ELECTRONICSENGINEERING

SEMINAR REPORT
ON
ARDUINO BASED VEHICLE ACCIDENT STATISTICS SYSTEM

PRESENTED BY,
UNAIS MUHSIN K
REG.NO-17031504
GUIDED BY
Ms. SRUTHI K
(LECTURER IN DEPT.OF ELECTRICAL AND ELECTRONICS ENGINEERING)

DEPT.OF ELECTRICAL AND ELECTRONICS ENGINEERING


2019-2020
MA'DIN POLYTECHNIC COLLEGE
MALAPPURAM

DEPARTMENT OF ELECTRICAL & ELECTRONICSENGINEERING

CERTIFICATE

Certified that this is a report of seminar on “ARDUINO BASED VEHICLE


ACCIDENT STATISTICS SYSTEM ” presented by UNAIS MUHSIN K,
Register No.17031504 , diploma in Electrical and Electronics Engineering,
Ma’din Polytechnics College, Malappuram on in partial fulfillment of the
requirement for the Award of Diploma in Electrical and Electronics Engineering
under the Directorate of Technical Education, Kerala state during the year 2019-
2020.

Staff in charge Head of the Department

Internal examiner External examiner


ACKNOWLEDGEMENT

While submitting this seminar report I would like to thank a few persons whose able advice and co-
operation made my work smoother. My foremost and heartier gratitude goes to our principal, Mr.
ABDUL HAMEED CP who provided me necessary facilities to proceed with the seminar.

I hereby express my sincere gratitude to our Head of the Department of Electrical & Electronics
Engineering Mr. MUHAMMAD ASIF Kand seminar guideMs.SRUTHI K for providing me with the
entire necessary infrastructure to complete my seminar.

I hereby express my sincere gratitude to our tutor Mr. RAGESH P, Department of Electrical &
Electronics Engineering, for providing me with the entire necessary infrastructure to complete my
seminar.

I also express my sincere thanks to all the faculty members of Electrical and Electronics Engineering
Department for their kind co-operation and valuable suggestions during the period of this work. I take this
opportunity to thank all my friends who helped me throughout this work and for their patient discussion
and suggestion and for their timely aid.

Finally, I take opportunity to thank my parents for their blessings and suitable help. Above all, I
thank God Almighty for His abundant blessings without His blessings I would not have been able to
complete this venture
ABSTRACT
Transportation is a basic need of society. It’s make human life more easy and comfortable. As
far as increasing transportation, accident is also increasing. It cause death of human and damages any part
of body. To prevent the particular action, We try to implement a system is Accident detection and
messaging system using GPS and GSM. In this system, the vibration sensor is used as an input to the
systemand corresponding response is analyzing by the Arduino. If accident occurs, sensors reading
exceed the threshold and it takes the appropriate action. The SMS is send to the authorities and provide
the immediate help to the people who met in an accident. The proposed embedded approach provides the
promising result.
CONTENTS

CHAPTER No: TITLE PAGE No:

List of Figures iii


1 INTRODUCTION 1
1.1 Project Overview 1
1.2 Vehicle Tracking Features 2
1.3 Accident Alert System Features 2
1.4 Usage Of Tracking In India 3
2 BLOCK DIAGRAM 4
2.1 Concept And Overview 4

2.2 Internal Circuit Diagram 5

3 COMPONENT OVERVIEW 7
3.1 Arduino Uno(ATMEGA328P) 7
3.1.1 Features 9

3.2 Vibration Sensor 9


3.3 GSM Module(SIM900A) 11
3.4 GPS Module(SIM28ML) 12
3.4.1 Differential Time Of Arrival 13
3.4.2 Trilateration 14
3.5 Accelerometer(ADXL335) 15
3.6 Liquid Crystal Display 16
3.7 Power Supply 17
4 WORKING OF ACCIDENT STATISTIC SYSTEM 18
5 PROGRAMMABLE EXPLANATION 20
6 RESULT 24
7 ADVANTAGES AND DISADVANTAGES 25
7.1 Advantages Of Accident Statistics System 25
7.2 Disadvantages Of Accident Statistics System 25
8 FUTURE SCOPE 26
9 CONCLUSION 27
10 REFERENCES 28
i
LIST OF FIGURES

FIGURE No: TITLE PAGE No:

1.1 Control Room Tracking 2


2.1 Block Diagram 4
2.2 Overview Of The System 5
2.3 Internal Circuit Diagram 6
3.1 Arduino Uno-Atmega328P Microcontroller 8
3.2 Pinout Diagram Of Atmega328P 8
3.3 Vibration Sensor 9
3.4 Vibrating Sensor With Arduino Connection 10
3.5 Circuit Diagram Of Vibrating Sensor 10
3.6 Global System For Mobile Communication 11
3.7 Global System For Mobile Communication Module 12
3.8 Global Positioning System 13
3.9 Global Positioning System Operation 14
3.10 Simplified GPS Receiver Block Diagram 15
3.11 Accelerometer 15
3.12 LCD Interfacing with AT89S52 16
3.13 LCD Display 17
4.1 System Ready Circuit 18
6.1 Interfacing Controller With LCD 24

iii
SEMINAR REPORT 2019-2020

CHAPTER 1

INTRODUCTION

In twentieth country, the number of vehicles exponentially increase due to growth in the
automobile industry. As the number of vehicle increases, the accident also increases. The reasons of most
of the road accident are heterogeneous traffic and lack of traffic separation. According to World Health
Organization(WHO), India is leading country in the road accident deaths. In India, 13 million peoples
were dead in road accident in the year of 2018-19. These statistics are reported accidental records but
there are numbers of accident which are unreported. Hence the numbers of actual accident are more than
the statistic of WHO. According to the survey of Global Status Report on Road Safety, the reasons of the
road accident are speeding, drunken driving, minimum use of safety appliances lie helmet and seat belts
etc. The existing system mostly focused on the safety of the passenger but not on the immediate help after
accident.Our goal for the Integrated Automotive Safety system is to provide a level playing of all
vehicles, regardless of age, when it comes to outfitting car as well as possible for any risks one can face
on the road. These risks include rollovers, collision and non-responsive drivers after accidents and lack of
location information after accident has occurred. These sort of risks plague every driver in the US and
abroad, but sadly only the newest vehicle provide protection from dangers such as these. Where does that
leave the average teen driving a late 90s, early 2000s high mileages car or perhaps an elderly person
driving the same car they’ve had for 40 years? These car likely do not have sufficient safeguards for today
risks, but our project can remedy this. India has earned the dubious distinction of having more number of
fatalities due to road accident in the world. Road safety is emerging as a major social concern around the
world especially in India. Drinking and driving is already serious public health problem, which is likely to
emerge as one of the most significant problems in the near future. The system implemented by us aims at
reducing the road accidents in the near future due to drunken driving. The system detects the presence of
Alcohol in the vehicle and immediately locks the engine of the vehicle.

1.1 Project Overview


In our previous tutorials, we have learned about How to interface GPS module with
Computer, how to build a Arduino GPS Clock and how to Track vehicle using GSM and GPS. Here in
this project, we are going to build a Arduino based vehicle accident alert system using GPS, GSM and

MPTC-Department Of Electrical & Electronics Engineering Page 1


SEMINAR REPORT 2019-2020
accelerometer. Accelerometer detects the sudden change in the axes of vehicle and GSM module sends
the alert message on your Mobile Phone with the location of the accident. Location of accident is sent in
the form of Google Map link, derived from the latitude and longitude from GPS module. The Message
also contains the speed of vehicle in knots. This Vehicle Accident alert project can also be used as a
Tracking System and much more, by just making few changes in hardware and software.

1.2 Vehicle Tracking Features


It is mainly benefit for the companies which are based on transport system. Since it can show
the position of all vehicles in real time, so that they can create the expected data accordingly. These
tracking system can store the whole data where the vehicle had gone, where did it stop, how much time it
take at every stop and can create whole data analysis. It is also used in buses and trains, to estimate how
far are they, how much time it takes for them to come to a particular stop. These systems are used for data
capture, data storage, data analysis and finally data transfer.

Fig.1.1. Control Room Tracking

1.3 Accident Alert System Features


This system is based on new technology, its main purpose is to detect an accident and alert to the
control room, so the victim can find some help.It can detect accidents the intensity of the accident without
any visual contact from control room.If this system is inserted in every vehicle then it is easy to
understand how many vehicles are involved in a particular accident and how intense is it. So that the help
from control room will be according to the control room.The present board designed has both vehicle
tracking and accident alert systems, which make it more valuable and useful. This board alerts us from

MPTC-Department Of Electrical & Electronics Engineering Page 2


SEMINAR REPORT 2019-2020
theft and as well as accident detection. It also detects fire accidents by placing fire detector in one of the
interrupt pins.

1.4 Usage of Tracking in India


Tracking in India is mainly used by transport systems, taxi companies, traffic operators. Taxi
operators use this to estimate how far the vehicle is from a particular area and send this information to call
centres and they can inform general public about the distance of the taxi location and time it takes to
come to them. Another use is for traffic police if this system is located in every vehicle they can estimate
the traffic by looking on the map and if any accident is detected then they can route the traffic in to
another way. This is how tracking is useful because India is one of the busy traffic countries and this
system can control many of the traffic problems.

MPTC-Department Of Electrical & Electronics Engineering Page 3


SEMINAR REPORT 2019-2020

CHAPTER 2
BLOCK DIAGRAM

Figure 2.1 shows block diagram of vehicle tracking and accident alert system. This shows the
overall view of the vehicle tracking and accident alert system circuit. The blocks connected here are
LCD display, GPS, GSM, Arduino UNO, Power supply, Accelerometer.

Fig.2.1:Block Diagram

2.1 Concept and Overview


This vehicle tracking system takes input from GPS and send it through the GSM module to
desired mobile/laptop using mobile communication. Vehicle Tracking System is one of the biggest
technological advancements to track the activities of the vehicle. The security system uses Global
Positioning System GPS, to find the location of the monitored or tracked vehicle and then uses satellite or
radio systems to send to send the coordinates and the location data to the monitoring center. At
monitoring center various software’s are used to plot the vehicle on a map. In this way the vehicle owners
are able to track their vehicle on a real-time basis. Due to real-time tracking facility, vehicle tracking
systems are becoming increasingly popular among owners of expensive vehicles.

MPTC-Department Of Electrical & Electronics Engineering Page 4


SEMINAR REPORT 2019-2020

Fig.2.2:Overview Of The System

2.2 Internal Circuit Diagram


Circuit Connections of this Vehicle Accident Alert System Project is simple. Here Tx pin
of GPS module is directly connected to digital pin number 10 of Arduino. By using Software Serial
Library here, we have allowed serial communication on pin 10 and 11, and made them Rx and Tx
respectively and left the Rx pin of GPS Module open. By default Pin 0 and 1 of Arduino are used for
serial communication but by using the SoftwareSerial library, we can allow serial communication on
other digital pins of the Arduino. 12 Volt supply is used to power the GPS Module.

GSM module’s Tx and Rx pins of are directly connected to pin D2 and D3 of Arduino. For
GSM interfacing, here we have also used software serial library. GSM module is also powered by 12v
supply. An optional LCD’s data pins D4, D5, D6, and D7 are connected to pin number 6, 7, 8, and 9 of
Arduino. Command pin RS and EN of LCD are connected with pin number 4 and 5 of Arduino and RW
pin is directly connected with ground. A Potentiometer is also used for setting contrast or brightness of
LCD.

An Accelerometer is added in this system for detecting an accident and its x,y, and z-axis ADC
output pins are directly connected to Arduino ADC pin A1, A2, and A3.

MPTC-Department Of Electrical & Electronics Engineering Page 5


SEMINAR REPORT 2019-2020

Fig.2.3:Internal Circuit Diagram

MPTC-Department Of Electrical & Electronics Engineering Page 6


SEMINAR REPORT 2019-2020

CHAPTER 3
COMPONENTS OVERVIEW

For designing this hardware many types of devices are used to make it perfectly working. All the
devices are purchased from different manufacturers. These components are soldered on a soldering board.
The following list of hardware are required for this system.

 Arduino Uno (Atmega 328)


 Vibration Sensor
 GSM Module (SIM900A)
 GPS Module (SIM28ML)
 Accelerometer (ADXL335)
 16x2 LCD
 Power Supply
 Connecting Wires
 10 K-POT
 Breadboard or PCB
 Power supply 12v 1amp

3.1 Arduino UNO (Atmega 328)


The Arduino UNO is a widely used open-source microcontroller board based on the
ATmega328P microcontroller and developed by Arduino.cc. The arduino is the major control unit to
detect or alert when an accident occurs. It collects the data from vibration sensor, GPRS and GSM
modules and reflects the output either in display system or through a message. Here vibration sensor plays
a major role. This vibration sensor will receive the vibrations of the vehicle which in turn acts as a
accident detection module. Arduino gathers the information from all other modules and sends the
message to the receiver though GSM module.

MPTC-Department Of Electrical & Electronics Engineering Page 7


SEMINAR REPORT 2019-2020

Fig.3.1:Arduino Uno-Atmega328P Microcontroller

Fig.3.2:Pinout Diagram Of Atmega328P

MPTC-Department Of Electrical & Electronics Engineering Page 8


SEMINAR REPORT 2019-2020

3.1.1 Features
• High Performance, Low Power AVR® 8-Bit Microcontroller

– 23 Programmable I/O Lines


– 28-pin PDIP, 32-lead TQFP, 28-pad QFN/MLF and 32-pad QFN/MLF
– Two 8-bit Timer/Counters with Separate Prescaler and Compare Mode
– One 16-bit Timer/Counter with Separate Prescaler,
Compare Mode, and Capture Mode

3.2 Vibration Sensor


Vibration sensors are sensors for measuring, displaying, and analyzing linear velocity, displacement
and proximity, or acceleration.vibration analysis is used as a tool to determine equipment condition as well
as the specific location and type of problems.The accelerometer is use as a vibration sensor

Fig.3.3:Vibration Sensor

MPTC-Department Of Electrical & Electronics Engineering Page 9


SEMINAR REPORT 2019-2020

Fig.3.4:Vibrating Sensor With Arduino Connection

It generates a loud beep when somebody tries to break the door or window. The alarm stops
automatically after three minutes. The circuit uses a piezoelectric element as the vibration sensor.It exploits
the piezoelectric property of the piezo electric crystals. The piezoelectric effect may be direct piezoelectric
effect in which the electric charge develops as a result of the mechanical stressor or indirect piezoelectric
effect (Converse piezoelectric effect) in which a mechanical force such as vibration develops due to the
application of an electric field.

Fig.3.5:Circuit Diagram Of Vibrating Sensor

MPTC-Department Of Electrical & Electronics Engineering Page 10


SEMINAR REPORT 2019-2020

3.3 GSM Module (SIM900A)


For providing communication between the GPS, GSM and the allocated mobile number GSM
SIM900 module is preferred. The name SIM900 says that, it is a tri band work ranging a frequency of
900MHz to 1900 MHz such as EGSM900 MHz, PCS 1900 MHz and DSC 100 MHz Receiving pin of GSM
module and transmitting pin of GPS module are used for communication between the modules and the
mobile phone.

GSM is used as a media which is used to control and monitor the vehicle or person from
anywhere by sending a message. It has its own deterministic character. Thereby, here GSM is used to
monitor and control the vehicle or person by sending a message through GSM modem. Hence it is
considered as highly efficient communication through the mobile which will be useful in industrial
controls, automobiles, and appliances which would be controlled from anywhere else. It is also highly
economic and less expensive; hence GSM is preferred most for this mode of controlling.
A GSM modem is a specialized type of modem which accepts a SIM card, and operates over a
subscription to a mobile operator, just like a mobile phone. From the mobile operator perspective, a GSM
modem looks just like a mobile phone.
When a GSM modem is connected to a computer, this allows the computer to use the GSM modem
to communicate over the mobile network. While these GSM modems are most frequently used to provide
mobile internet connectivity, many of them can also be used for sending and receiving SMS and MMS
messages.

Fig. 3.6: Global System for Mobile Communication

MPTC-Department Of Electrical & Electronics Engineering Page 11


SEMINAR REPORT 2019-2020

GSM/GPRS MODEM is a class of wireless MODEM devices that are designed for communication
of a computer with the GSM and GPRS network. It requires a SIM (Subscriber Identity Module) card
just like mobile phones to activate communication with the network. Also they have IMEI (International
Mobile Equipment Identity) number similar to mobile phones for their identification. A GSM/GPRS
MODEM can perform the following operations:

1. Receive, send or delete SMS messages in a SIM.

2. Read, add, search phonebook entries of the SIM.

3. Make, Receive, or reject a voice call.

Fig. 3.7: Global System for Mobile Communication Module

3.4 GPS - Global Positioning System

Global Positioning System (GPS) is a worldwide radio-navigation system formed from the
constellation of 24 satellites and their ground stations. Global Positioning System tracking is a method of
working out exactly where something is. A GPS tracking system, for example, may be placed in a
vehicle, on a cell phone, or on special GPS devices, which can either be a fixed or portable unit. GPS
works by providing information on exact location. It can also track the movement of a vehicle or person.
There are 24 satellites being used in the US GPS system at all times. These satellites orbit the
earth in such a way that at any given time and location, at least four satellites are visible to a GPS driven
device. Each satellite is equipped with an extremely accurate atomic clock so the satellite is always

MPTC-Department Of Electrical & Electronics Engineering Page 12


SEMINAR REPORT 2019-2020

aware of the current time on Earth at the Prime Meridian. The satellites are also aware of their own
positions with the assistance of ground stations that give continuous updates. The 24 satellites orbit the
earth transmitting their time and position. These pieces of data are received by the antennas attached to
radio receivers inside a GPS device.
As a GPS device starts up, it must scan its radio tuner for very faint GPS satellite signals. Once it
has collected data (the position of a satellite and the time the satellite sent the position) from at least
three satellites, a location fix can be made.

Fig. 3.8: Global Positioning System

3.4.1 Differential Time of Arrival


Differential time of arrival is the method used to determine how far each satellite is from a GPS
device. Although each satellite transmits its position and the time it was at that position, it takes time for
that signal to reach the Earth. The receiver contains a very accurate clock, which can determine the
difference in time between the current time and when the satellite sent the signal. With this differential
time and the speed of radio waves, the distance from each of the three satellites can be determined using
the simple formula:
Rate x Time = Distance

MPTC-Department Of Electrical & Electronics Engineering Page 13


SEMINAR REPORT 2019-2020

3.4.2 Trilateration
Trilateration is a method that is used to determine position on Earth in three
dimensions. GPS deals with three-dimensions rather than two. Since the distance from the Earth
to a satellite results in a sphere rather than a flat circle, the calculation is a bit complex.
Using trilateration, rather than draw circles to determine position we need to draw
spheres. For example, if the first acquired satellite is 25,000 miles from position one cannot
simply draw a circle around that satellite and determine a position 25,000 miles from it. A
sphere must be plotted, extending toward Earth and away from Earth. A second satellite is
calculated to be 25,001 miles from position, resulting in another sphere. The two spheres
intersect, creating a perfect circle. A circular plane now exists, extending down through the earth
and out into space. A large number of potential positions have now been eliminated, but there is
not yet an exact location. Many potential positions still exist and a third satellite is needed to
define a sphere that intersects with the two current spheres resulting in two points that define
possible position. One point is in space and one is on earth. Since the world is roughly a sphere,
the point in space can be eliminated and the approximate position of the GPS receiver is located
on Earth. A fourth satellite is necessary to account for altitude and provide an exact fix of the
location. The plotting of a fourth sphere provides the exact location and altitude of the receiver
at the time the four measurements were taken.

Fig. 3.9: Global Positioning System Operation

MPTC-Department Of Electrical & Electronics Engineering Page 14


SEMINAR REPORT 2019-2020

Fig. 3.10: Simplified GPS Receiver Block Diagram

3.5 Accelerometer
An accelerometer is an electromechanical device used to measure acceleration forces.
Such forces may be static, like the continuous force of gravity or, as is the case with many
mobile devices, dynamic to sense movement or vibrations. Acceleration is the measurement of
the change in velocity, or speed divided by time.

Fig.3.11:Accelerometer

MPTC-Department Of Electrical & Electronics Engineering Page 15


SEMINAR REPORT 2019-2020

Some accelerometers use the piezoelectric effect - they contain microscopic crystal
structures that get stressed by accelerative forces, which causes a voltage to be generated. ... If
an accelerative force moves one of the structures, then the capacitance will change.
Pin Description of accelerometer:

1. Vcc 5 volt supply should connect at this pin.


2. X-OUT This pin gives an Analog output in x direction
3. Y-OUT This pin give an Analog Output in y direction
4. Z-OUT This pin gives an Analog Output in z direction
5. GND Ground
6. ST This pin used for set sensitivity of sensor

3.6 Liquid Crystal Display


LCD is the display device which is of 16x2 size and it has yellow Background light. This
LCD is connected to microcontroller. The following figure 3.10 is the interfacing diagram of
LCD with microcontroller AT89S52.

Fig. 3.12: LCD Interfacing with AT89S52

To enable terminal latch of LCD high to low pulse is sent and RS bit is enabled. Once
the latch is enabled the data is transferred through the interfacing pins parallel and the LCD
shows the display on it. These LCD are easy to program and they are economical too. LCD
interfacing with microcontroller is very easy. Here in our vehicle tracking project LCD displays

MPTC-Department Of Electrical & Electronics Engineering Page 16


SEMINAR REPORT 2019-2020

the output i.e. latitude and longitude of the vehicle. The following figure 3.16 shows the LCD
display of latitude and longitude.

Fig. 3.13:- LCD Display

3.7 Power Supply


A power supply is an electronicdevice that supplies electrical energy to an electrical load.
Here Arduino Uno, sensor, GPS, GSMoperates with DC 12V supply.

MPTC-Department Of Electrical & Electronics Engineering Page 17


SEMINAR REPORT 2019-2020

CHAPTER 4

WORKING OF ACCIDENT STATISTICS SYSTEM


In this project, Arduino is used for controlling whole the process with a GPS Receiver
and GSM module. 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.
Accelerometer namely ADXL335 is used for detecting accident or sudden change in any axis.
And an optional 16x2 LCD is also used for displaying status messages or coordinates. We have
used GPS Module SIM28ML and GSM Module SIM900A.

Fig.4.1:System Ready Circuit

When we are ready with our hardware after programming, we can install it in our
vehicle and power it up. Now whenever there is an accident, the car gets tilt and accelerometer
changes his axis values. These values read by Arduino and checks if any change occurs in any
axis. If any change occurs then Arduino reads coordinates by extracting $GPGGA String from

MPTC-Department Of Electrical & Electronics Engineering Page 18


SEMINAR REPORT 2019-2020

GPS module data (GPS working explained above) and send SMS to the predefined number to
the police or ambulance or family member with the location coordinates of accident place. The
message also contains a Google Map link to the accident location, so that location can be easily
tracked. When we receive the message then we only need to click the link and we will redirect
to the Google map and then we can see the exact location of the vehicle. Speed of Vehicle, in
knots (1.852 KPH), is also sent in the SMS and displayed on the LCD panel.

MPTC-Department Of Electrical & Electronics Engineering Page 19


SEMINAR REPORT 2019-2020

CHAPTER 5
PROGRAMMABLE EXPLANATION

Complete Program has been given below in Code section; here we are explaining its various functions in brief.

First we have included all the required libraries or headers files and declared various variables for calculations and
storing data temporary.

After this, we have created a function void initModule(String cmd, char *res, int t) to initialize the GSM module
and checking its response using AT commands.

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;

else

MPTC-Department Of Electrical & Electronics Engineering Page 20


SEMINAR REPORT 2019-2020

Serial.println("Error");

delay(t);

After this, in void setup() function, we have initialized hardware and software serial
communication, LCD, GPS, GSM module and accelerometer .

void setup()

Serial1.begin(9600);

Serial.begin(9600);

lcd.begin(16,2);

lcd.print("Accident Alert ");

lcd.setCursor(0,1);

lcd.print(" System ");

delay(2000);

lcd.clear();

.... ......

...... .....

Accelerometer calibration process is also done in setup loop. In this, we have taken some
samples and then find the average values for the x-axis, y-axis, and z-axis. And store them in a
variable. Then we have used these sample values to read changes in accelerometer axis when
vehicle gets tilt (accident).

lcd.print("Callibrating ");

MPTC-Department Of Electrical & Electronics Engineering Page 21


SEMINAR REPORT 2019-2020

lcd.setCursor(0,1);

lcd.print("Acceleromiter");

for(int i=0;i<samples;i++)

xsample+=analogRead(x);

ysample+=analogRead(y);

zsample+=analogRead(z);

xsample/=samples;

ysample/=samples;

zsample/=samples;

Serial.println(xsample);

Serial.println(ysample);

Serial.println(zsample);

After this, in the void loop() function, we have read accelerometer axis values and done a
calculation to extract changes with the help of samples that are taken in Calibration. Now if any
changes are more or less then defined level then Arduino sends a message to the predefined number.

void loop()

int value1=analogRead(x);

int value2=analogRead(y);

int value3=analogRead(z);

MPTC-Department Of Electrical & Electronics Engineering Page 22


SEMINAR REPORT 2019-2020

int xValue=xsample-value1;

int yValue=ysample-value2;

int zValue=zsample-value3;

Serial.print("x=");

Serial.println(xValue);

Serial.print("y=");

Serial.println(yValue);

Serial.print("z=");

Serial.println(zValue);

..... .....

........ ...

Here we have also created some other function for various puposes like void gpsEvent() to get GPS
coordinates, void coordinate2dec() for extracting coordinates from the GPS string and convert them
into Decimal values, void show_coordinate() for displaying values over serial monitor and LCD,
and finally the void Send() for sending alert SMS to the predefined number .

MPTC-Department Of Electrical & Electronics Engineering Page 23


SEMINAR REPORT 2019-2020

CHAPTER 6
RESULT

Whenever accident of vehicle is occurred then the device sends messages to given mobile number.

Fig.6.1:Interfacing Controller With LCD

MPTC-Department Of Electrical & Electronics Engineering Page 24


SEMINAR REPORT 2019-2020

CHAPTER 7

ADVANTAGES AND DISADVANTAGES

7.1 Advantages Of Accident Statistics System

 Immediate medication occur

 Mobile number can change any time

 Exact position

 Sudden process

7.2 Disadvantages Of Accident Statistics System

 Some places will not get gsm network

MPTC-Department Of Electrical & Electronics Engineering Page 25


SEMINAR REPORT 2019-2020

CHAPTER 8

FUTURE SCOPE
The proposed system deals with the detection of the accidents. But this can be extended
by providing medication to the victims at the accident spot. By increasing the technology we
can also avoid accidents by providing alerts systems that can stop the vehicle to overcome the
accidents.

MPTC-Department Of Electrical & Electronics Engineering Page 26


SEMINAR REPORT 2019-2020

CHAPTER 9

CONCLUSION
The proposed system deals with the accident alerting and detection. Arduino is the
heart of the system which helps in transferring the message to different devices in the system.
Accelerometer will be activated when the accident occurs and the information is transferred to
the registered number through GSM module. Using GPS the location can be sent through
tracking system to cover the geographical coordinates over the area. The accident can be
detected by a vibration sensor which is used as major module in the system.

To minimize the deaths and severe condition due to accidents the wireless technology
are used where the immediate action would be takes place by the ambulance/police service
which might reduce the severity

MPTC-Department Of Electrical & Electronics Engineering Page 27


SEMINAR REPORT 2019-2020

CHAPTER 10

REFERENCES
[1] World Health Organization Road Traffic Injuries Fact Sheet No 358, March 2013,
Available from http://www.who.int/mediacentre/factsheets/fs358/en/ [Last accessed on 2017
Dec 16]

[2] National statistics of road traffic accidents in India, September 2013, Available from
http://www.jotr.in/article.asp?issn=0975-
7341;year=2013;volume=6;issue=1;spage=1;epage=6;aulast= Ruikar /[Last accessed on 2017
Dec 16]

[3] “Vehicle Accident Detection And Reporting System Using Gps And Gsm.” by
AboliRavindraWakure, ApurvaRajendraPatkar, IJERGS April 2014.

[4] Tanushree Dalai, "Emergency Alert and Service for Automotives for India", International
Journal of Advanced Trends in Computer Science and Engineering (IJATCSE) Mysore India,
vol. 2, no. 5, pp. 08-12, 2013.

[5] Amit Meena, Srikrishna Iyer, Monika Nimje, Saket JogJekar, Sachin Jagtap, Mujeeb
Rahman, "Automatic Accident Detection and Reporting Framework for Two Wheelers", IEEE
International Conference on Advanced Communication Control and Computing Technologies
(ICACCCT), pp. 962-967, May 2014.

MPTC-Department Of Electrical & Electronics Engineering Page 28

You might also like