GSM Based Vehicle Accident Alert System
GSM Based Vehicle Accident Alert System
Abstract
One of the basic reasons for road accidents is speed. Road accidents are
rising suddenly today and are one of the key causes of human deaths. Human life is
more important than anything else, and timely assistance is more important than
lending a helping hand. If emergency service could get accident reports and reach
it in time, more lives could have been saved. In saving human lives, the time
between the accident and when the ambulance reaches the site of the accident plays
an important role. If we reduce the time between when an accident happens and
when a medical ambulance is dispatched to the area, we can save human lives by
reducing mortality rates. GPS has become an integral part of a vehicle system
nowadays. The accelerometer senses a sudden shift in the vehicle's axles. It will be
tested by Arduino. The Arduino sends the warning message via the GSM module
to the police control room or a rescue team, including the location. So, after
receiving the information, the police can automatically track the location via the
GPS module. Then, the appropriate action will be taken after verifying the venue.
CHAPTER – I
The primary goal of the accident warning system is to save people in crashes. This
device helps the owner to observe and find out vehicle activity and its past vehicle
movements, the latest such as GPS are highly useful now-a-days.
Over the past decade, the use of auto mobiles has improved linearly, which
increased the risk of human life. This is because the emergency services are
inadequate. We use an alert system in this paper that helps to strengthen the
emergency system of the crash system, [1].
This device senses the occurrence of the accident and the coordinated accident is
reported to the emergency team. In the event of no causality, a switching
mechanism is used to shut off. Using the Accelerometer Sensor, an accident is
observed. The angle where the car rolled off is shown by a message, [2], [3]. This
application aims to provide the weak emergency facilities with a suitable
alternative.
This accident warning system identifies the accident and the location of the
accident and sends GPS coordinates to the Smart Phone, device, etc. listed in it,
PROBLEM IDENTIFICATION
Objectives
PROPOSED SYSTEM
The Arduino controller used in this project is the controller that is used to control
all the circuit modules. Two of the key sections of the circuit. The two key
components other than the controller are the GPS module used as a receiver and
GSM is another module.
The GPS module is used to receive the coordinates of the vehicle and GSM will
send the received coordinates to the user via SMS. If a person driving the vehicle
has an accident, the sudden change of information about the accelerometer axis
sends to the Arduino and the location of the vehicle is sent to the GSM module and
the vehicle coordinates are sent to the GSM module.
he GSM module plays an important role in receiving the signal from the Arduino
UNO in the above block diagram. When the power supply is supplied to the circuit
until the Accelarometer sensor senses sudden axis shift, it sends the signal to the
Arduino and the position of the vehicle obtained by the GPS module, and the
vehicle coordinates are sent to the GSM module. The received data is gathered and
sent via SMS to the valued individual.
The circuit diagram of the GSM-based accident detection system using Arduino
UNO is shown in figure 2.
The received information is collected and is send to the respected person through
SMS,
BLOCK DIAGRAM
CHAPTER – III
MODULE DESCRIPTION
The step-down transformer is used to step down the supply voltage of 230v
ac from mains to lower values, as the various IC’s used in this project require
reduced voltages. The transformer consists of primary and secondary coils.
To reduce or step down the voltage, the transformer is designed to contain
less number of turns in its secondary core. The outputs from the secondary coil
which is center tapped are the ac values of 0v, 15v and 15v. The conversion of
these ac values to dc values to dc values is done using the full wave rectifier unit.
3.1.2 RECTIFIER UNIT:
For both positive and negative swings of the transformer, there is a forward
path through the diode bridge. Both conduction paths cause current to flow in the
same direction through the load resister, accomplishing full-wave rectification.
While one set of diodes is forward biased, the other set is reversing biased and
effectively eliminated from the circuit.
3.1.3 INPUT FILTER:
Capacitors are used as filters. The ripples from the dc voltages are removed
and pure dc voltage is obtained. The primary action performed by capacitor is
charging and discharging. It charges in positive half cycle of the ac voltage and it
will discharge in negative half cycle. So it allows only ac voltage and does not
allow the dc voltage. This filter is fixed before the regulator. Capacitors used
here are of the value 1000uF.
3.1.4 REGULATOR UNIT:
1. Input pin.
2. Ground pin.
3. Output pin.
2. Input pin.
3. Output pin.
This filter is fixed after the Regulator circuit to filter any of the possibly found
ripples in the output received finally. Capacitors used here are of value 10F.
3.2 ARDUINO:
Arduino interface boards provide the engineers, artists, designers, hobbyists and
anyone who tinker with technology with a low-cost, easy-to-use technology to
create their creative, interactive objects, useful projects etc., A whole new breed of
projects can now be built that can be controlled from a computer.
Anyone can buy this device through online auction site or search engine. Since
the Arduino is an open-source hardware designs and create their own clones of the
Arduino and sell them, so the market for the boards is competitive. An official
Arduino costs about $30 and a clone often less than $20.
3.2.1 MICROCONTROLLER:
Microcontroller can be described as a computer embedded on a rather small
circuit board. To describe the function of a microcontroller more precisely, it is a
single chip that can perform various calculations and tasks, and send/receive
signals from other devices via the available pins. Precisely what tasks and
communication with the world it does, is what is governed by what instructions we
give to the Microcontroller. It is this job of telling the chip what to do, is what we
refer to as programming on it.
However, the uC by itself cannot accomplish much; it needs several
external inputs: power, for one; a steady clock signal, for another. Also, the job of
programming it has to be accomplished by an external circuit. So typically, an uC
is used along with a circuit which provides these things to it; this combination is
called a microcontroller board. The actual microcontroller at its heart is the chip
called Atmega328. The advantages that Arduino offers over other microcontroller
boards are largely in terms of reliability of the circuit hardware as well as the ease
of programming and using it.
Since the entire project is open source, anyone can build and sell Arduino-
compatible devices. So in this sense, the Arduino project relies heavily on its
branding for its financial success. Other projects manufacture compatible and
cheaper boards; however people are loyal to the Arduino branded boards because
they associate quality and a certain image to the final product.
By the Numbers
Year Units Sold
2005 200
2006 10 000
2010 120 000
2011 300 000
3.2.6 COMPETITORS:
Before Arduino, the largest players in the design/hobbyist market segment
were the PIC microcontroller family (made by Microchip) and the BASIC Stamp
(made by Parallax). Since the introduction of the Arduino, other large companies
have tried to enter the hobbyist market, including Texas Instruments, and even
Microsoft. However, the open-sourced tools of the Arduino and the size of its
community are large barriers for new platforms to overcome.
3.2.7 COMMUNITY:
As the project is aimed at students and hobbyists who may not have any formal
electronics background, there are many excellent guides online covering
everything from making a light blink to creating a laser harp. The official forum
has almost 60 000 registered users, and along with helping users with their
projects, is extremely active in developing new libraries to extend the functionality
of the Arduino. The open-source share and share alike sentiment is very strong,
and the vast majority of users freely publish the code to their projects.
Fig 3.2.7: GOOGLE trends comparing ARDUINO with its biggest competitors
3.2.9 HARDWARE:
16 MHz
8 Kbyte Flash RAM(1K taken by the boot loader)
1 Kbyte RAM(e.g. for auto/local variables and stack)
14 digital Input/ Output Ports
Fig 3.2.10: ATmega8
3.2.13 CONFIGURATION
3.2.15: SOFTWARE:
The software used by the Arduino is Arduino IDE. The Arduino IDE is a cross-
platform application written in Java, and is derived from the IDE for the
Processing programming language and the Wiring project. It is designed to
introduce programming to artists and other newcomers unfamiliar with software
development. It includes a code editor with features such as syntax
highlighting, brace matching, and automatic indentation, and is also capable of
compiling and uploading programs to the board with a single click. There is
typically no need to edit make files or run programs on a command-line interface.
Although building on command-line is possible if required with some third-party
tools .
The Arduino IDE comes with a C/C++ library called "Wiring" (from the project
of the same name), which makes many common input/output operations much
easier. Arduino programs are written in C/C++, although users only need define
two functions to make a run able program:
setup() – a function run once at the start of a program that can initialize settings
loop() – a function called repeatedly until the board powers off
PCB FABRICATION
PC BASED ARTWORK
Take the printout of the circuit layout from a laser printer. The idea is to
use a coated paper so that the toner comes loose when heated which would transfer
a sharp black print on to copper laminate. Print for each of the required layers
should be taken on separate paper.
Scrub The Copper Side Of The Copper Clad Laminated Used For The
PCB Board With A Sponge. The Scrubbing Involves Removes Oxidation, Stains,
Etc. And It Also Makes The Copper Surface Some-What Rough Which Helps The
Toner To Adhere To The Copper Surface. The Next Step Is To Degrease The
Board Thoroughly Using A Paper Towel Soaked With Acetone Solvent. Keep
Doing It Until No More Discoloration Is Seen On The Paper Towel. Rub Hard And
Keep Switching To Clean Parts Of Towel. Place And Align The Paper On The
Copper Side, Using An Iron Box To Maximum Setting On The Back Of The Paper
For At Least Half A Minute. If You Don't Apply Enough Heat, The Film Or Toner
May No Stick Or Be Dark Enough. The Removal Of Paper From PCB Is Done By
Putting It Into Hot Water For 10 Or More Minutes. Check Whether It Has
Transferred Properly Onto Copper Plate.
Dig The Bristles On The Tip Of A Smooth Tooth Brush Into The Holes, Remove
The Paper Part From The Tight Areas Like Drill-Holes. Now Cut The PCB To
Required Size By Using A Hacksaw.
ETCHING
Etch the unwanted copper from the board using the ferric chloride
solution for 20 or more minutes. One pint can etch at least 3.6 sq. meters of the
28gm board. Heating the etchant will speeds up the etching process. The PCB is
attached to a wooden piece and dip in to the solution. Lift the PCB up and Check
whether all the unwanted copper is removed. Then it is immersed in to cold water
to clean. When etching is complete, board is removed from the solution and rinse it
under running tap water .Acetone or lacquer thinner is used to remove the
toner .Lacquer thinner is used as a solvent in painting industry. Wash the board in
lacquer thinner solvent, rubbing with a paper towel, to remove the toner instantly.
In this we had used a PCB hand drill .Use 0.8mm PCB drill bit to drill out
all of the component holes. After drilling the holes scrub sponge is used to clean
before soldering .After drilling and cleaning, wash the board in cold water and then
dry it.
CAUTION
SOLDERING
Soldering is the process of joining metals by using lower melting point metal
to wet or alloy with the joined surfaces. Solder is the joining material. It melts
below 427’C. Soldered joints in electronic circuits will establish strong electrical
connections between component leads. The popularly used solders are alloys of tin
and lead that melt below the melting point of tin.
In order to make the surfaces accept the solder readily, the component
terminals should be cleaned chemically or by abrasion using blades or knives.
Small amount of lead coating can be done on the cleaned portion of the leads using
soldering iron. This process is called tinning. Zinc chloride or ammonium chloride
separately or in combination are the most commonly used fluxes. These are
available in petroleum jelly as paste flux. A solder joint can at first glance to be
okay, but under close examination it could be a ‘Dry Joint’. A dry joint is when
either the circuit board or the leg of the component has not been properly heated to
allow the solder to flow between the surfaces freely. This creates an intermittent or
no electrical connection. This can also be caused by a lack of flux or if you reuse
old solder.
Quite often, reheating a bad join will cure the problem but in a lot of cases,
the old solder will need to be removed and some new solder applied. The residues,
which remain after the soldering, may be washed out with more water,
accompanied by brushing.
Soldering iron is the tool used to melt the solder and apply at the joints in the
circuit. It operates in 230V mains supply. The iron bit at the tip of it gets heated up
within a few minutes. 50W and 25W soldering irons are commonly used for
soldering purposes.
PROCEDURE
Make a layout of the circuit.
Straighten and clean the component leads using blade or knife. Apply a
little flux on the leads. Take a little solder on soldering iron and apply the molten
solder on the leads.
Apply flux on the joints and solder the joints. Soldering must be done in
minimum time to avoid dry soldering and heating up of components. Wash the
residue using water and brush.
ADVANTAGES
GSM MODEM
Global Standards for Mobile Communication (GSM) is a set of standards for
Second Generation (2G) cellular networks. The GSM SIM 800 module uses any
network provider’s SIM to communicate over the telecommunication network.
This modem can be used to send and receive text messages and to make and
receive voice calls. GSM SIM 800 is a quad-band GSM modem that functions at
850, 800, 1800 and 1800 MHz frequencies. This modem also supports features like
transferring voice data, integrated support for GPRS and TCP/IP stack.
The AT commands are given to the GSM modem with the help of PC or
controller. The GSM modem is serially interfaced with the controller with the help
of MAX 232. Here max 232 acts as driver which converts TTL levels to the RS
232 levels. For serial interface GSM modem requires the signal based on RS 232
levels. The T1_OUT and R1_IN pin of MAX 232 is connected to the TX and RX
pin of GSM modem
DEFINITION
The TTL serial interface is in charge not only of communicating all the data
relative to the SMS already received and those that come in during TCP/IP
sessions in GPRS (the data-rate is determined by GPRS class 10: max. 85,6 kbps),
but also of receiving the circuit commands (in our case, coming from the PIC
governing the remote control) that can be either AT standard or AT-enhanced
SIMCom type.
The module is supplied with continuous energy (between 3.4 and 4.5 V) and
absorbs a maximum of 0.8 A during transmission.
Frequencies
Originally it had been intended that GSM would operate on frequencies in the 800
MHz cellular band. In September 1993, the British operator Mercury One-to-One
launched a network. Termed DCS 1800 it operated at frequencies in a new 1800
MHz band. By adopting new frequencies new operators and further competition
was introduced into the market apart from allowing additional spectrum to be used
and further increasing the overall capacity. This trend was followed in many
countries, and soon the term DCS 1800 was dropped in favour of calling it GSM as
it was purely the same cellular technology but operating on a different frequency
band. In view of the higher frequency used the distances the signals travelled was
slightly shorter but this was compensated for by additional base stations.
In the USA as well a portion of spectrum at 1800 MHz was allocated for cellular
usage in 1994. The licensing body, the FCC, did not legislate which technology
should be used, and accordingly this enabled GSM to gain a foothold in the US
market. This system was known as PCS 1800 (Personal Communication System).
The number of SMS messages that can be processed by a GSM modem per minute
is very low -- only about six to ten SMS messages per minute.
home location register (HLR)—The HLR is a database used for storage and
management of subscriptions. The HLR is considered the most important database,
as it stores permanent data about subscribers, including a subscriber's service
profile, location information, and activity status. When an individual buys a
subscription from one of the PCS operators, he or she is registered in the HLR of
that operator.
mobile services switching center (MSC)—The MSC performs the telephony
switching functions of the system. It controls calls to and from other telephone and
data systems. It also performs such functions as toll ticketing, network interfacing,
common channel signaling, and others.
visitor location register (VLR)—The VLR is a database that contains
temporary information about subscribers that is needed by the MSC in order to
service visiting subscribers. The VLR is always integrated with the MSC. When a
mobile station roams into a new MSC area, the VLR connected to that MSC will
request data about the mobile station from the HLR. Later, if the mobile station
makes a call, the VLR will have the information needed for call setup without
having to interrogate the HLR each time.
authentication center (AUC)—A unit called the AUC provides authentication
and encryption parameters that verify the user's identity and ensure the
confidentiality of each call. The AUC protects network operators from different
types of fraud found in today's cellular world.
equipment identity register (EIR)—The EIR is a database that contains
information about the identity of mobile equipment that prevents calls from stolen,
unauthorized, or defective mobile stations. The AUC and EIR are implemented as
stand-alone nodes or as a combined AUC/EIR node.
Open the SIM cardholder by sliding it as per the arrow mark and lift up.
Insert the SIM card , so as to align the chamfered corner suits in card holder .After
inserting the SIM card, lock the holder by sliding it to the opposite direction of
arrow mark.
Fix the Supplied RF antenna to the SMA Antennae connector and tighten it
by Rotating the Nut (Never rotate the antennae for tightening ).
NET LED -Blue LED will starts to blink in fast for few seconds(Searching For
Network) and
becomes slow blinking once the Modem registers with the Network.
6) Network LED
The Network LED indicates the various status of GSM module eg. Power on,
Network registration & GPRS connectivity. When the modem is powered up, the
status LED will blink every second. After the Modem registers in the network
(takes between 10-60 seconds), LED will blink in step of 3 seconds. At this stage
you can start using Modem for your application.
7) Baud rate
The Baud rate supported by the modem is between 9600 and 115200. Make sure
the host system is set to the supported baud rate.
VIBRATION SENSOR
Description
The sensor for vibration detection is a vibration detector (or shock sensor),
the detector must have a mechanical displacement to generate the alarm signal;
vibration detection equipment is not only best suitable for file cabinets, vaults,
strongrooms, safes and Automated Teller Machines (ATM), confidential protection
special objects, but also suitable for other systems in combination, to prevent
intruders break in from wall. How to use the vibration detector in correct
application is very important. It is often used to provide protection in a special
object where protected area that with staff's activities.
There are two major detection methods for vibration detector; the one is
mechanical detection, it works as a ON/OFF switch using the mechanical
movement of metal contact, the other is acoustic sound detection. Compare to
acoustic sound detection, adopts mechanical detection vibration detector only
detect the true physic vibration with low false alarm. The vibration detector that is
based on acoustic sound detection (with microphone), it may trigger false alarm
by high noise from car, thunder in summer.
Specifications:
The Vibration Sensor Detector is designed for the security practice When
Vibration Sensor Alarm recognizes movement or vibration, it sends a signal to
either control panel Developed a new type of omni-directional high sensitivity
Security Vibration Detector with omni-directional detection
CONCLUSION
This device offers the most realistic alternative to the inadequate emergency
services given to victims of road accidents. With the aid of this technology, when
an accident happens, prompt action can be taken by alerting the appropriate
individuals by sending a message.
REFERENCES
[1]. 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.
[2]. Manuel Fogue, Piedad Garrido, Francisco J. Martinez, Juan- Carlos Cano,
Carlos T. Calafate, and Pietro Manzoni (2012) Assistance through Communication
Technologies and Vehicle, IEEE vehicular technology magazine.
[3]. PL Needham, Collision prevention: The role of an accident data recorder.
Automated Emergency Call for Road Accident, European Commission Press G.
Singh and H. Song, Using Hidden Markov Models in Vehicular crash detection,
IEEE Transactions.
[4]. Aldunate R.G., Herrera O.A., Cordero J.P. (2013) Early Vehicle Accident
Detection and Notification Based on Smartphone Technology. In: Urzaiz G.,
Ochoa S.F., Bravo J., Chen L.L., Oliveira J. (eds) Ubiquitous Computing and
Ambient Intelligence. Context-Awareness and Context-Driven Interaction. Lecture
Notes in Computer Science, vol 8276. Springer, Cham.
https://doi.org/10.1007/978-3-319-03176-7_46.
[5]. Niranjan Kumar K., Rama Narasimha Dattu C.H., Vishnu S., Jino Ramson
S.R. (2019) Automatic Accident Rescue System Using IoT. In: Smys S., Bestak R.,
Chen JZ., Kotuliak I. (eds) International Conference on Computer Networks and
Communication Technologies. Lecture Notes on Data Engineering and
Communications Technologies, vol 15. Springer, Singapore.
https://doi.org/10.1007/978-981-10-8681-6_52.
[6]. Thompson C., White J., Dougherty B., Albright A., Schmidt D.C. (2010)
Using Smartphones to Detect Car Accidents and Provide Situational Awareness to
Emergency Responders. In: Cai Y., Magedanz T., Li M., Xia J., Giannelli C. (eds)
Mobile Wireless Middleware, Operating Systems, and Applications.
MOBILWARE 2010. Lecture Notes of the Institute for Computer Sciences, Social
Informatics and Telecommunications Engineering, vol 48. Springer, Berlin,
Heidelberg. https://doi.org/10.1007/978-3-642-17758-3_3.
[7]. Borker S., Lohani R.B. (2010) A Low Cost GPS Based Vehicle Collision
Avoidance System. In: Das V.V., Vijaykumar R. (eds) Information and
Communication Technologies. ICT 2010. Communications in Computer and
Information Science, vol 101. Springer, Berlin, Heidelberg.
https://doi.org/10.1007/978-3-642- 15766-0_107.