Accident Detection System Project Report.
Accident Detection System Project Report.
INTERNSHIP REPORT
ON
ACCIDENT DETECTION SYSTEM
PROJECT
BY
KAMAL ACHARYA
(Tribhuvan University)
Date: 2022/03/25
1|P ag e
ABSTRACT
The Rapid growth of technology and infrastructure has made our lives easier. The
advent of technology has also increased the traffic hazards and the road accidents take place
frequently which causes huge loss of life and property because of the poor emergency facilities.
Many lives could have been saved if emergency service could get accident information and
reach in time. Our project will provide an optimum solution to this draw back. A piezo electric
sensor can be used as a crash or rollover detector of the vehicle during and after a crash. With
signals from a piezo electric sensor, a severe accident can be recognized. According to this
project when a vehicle meets with an accident immediately piezo electric sensor will detect the
signal or if a car rolls over. Then with the help of GSM module and GPS module, the location
will be sent to the emergency contact. Then after conforming the location necessary action will
be taken. If the person meets with a small accident or if there is no serious threat to anyone’s
life, then the alert message can be terminated by the driver by a switch provided in order to
avoid wasting the valuable time of the medical rescue team.
2|P ag e
ACKNOWLEDGEMENT
The success and final outcome of our project “ACCIDENT DETECTION
SYSTEM ” required a lot of guidance and assistance from many people and we are
extremely privileged to have got this all along the completion of our project. All that we
have done is only due to such supervision and assistance and we would not forget to thank
them.
Firstly, we are very thankful to our guide Prof. MAITREYI JOGLEKAR for
guiding us to do the project work on time and giving us all support and guidance which
made us complete the project duly. We are extremely thankful to her for providing such a
nice support and guidance.
3|P ag e
DECLARATION
I hereby declare that the project entitled, “ACCIDENT DETECTION SYSTEM” done at
Tribhuvan University Information Technology, has not been in any case duplicated to submit to
any other universities for the award of any degree. To the best of my knowledge other than me,
no one has submitted to any other university.
The project is done in partial fulfillment of the requirements for the award of degree of
BACHELOR OF SCIENCE (INFORMATION TECHNOLOGY) to be submitted as final
semester project as part of our curriculum.
Kamal Acharya
4|P ag e
TABLE OF CONTENTS
5|P ag e
TABLE OF FIGURES
6|P ag e
Chapter 1
INTRODUCTION
1.1 : Background:
Road accident is most unwanted thing to happen to a road user, though they happen quite often.
A number of factors contribute to the risk of collision, including vehicle design, speed of
operation, road design, road environment, and driver skill, impairment due to alcohol or drugs,
and behaviour, notably speed and street racing. Worldwide, motor vehicle collisions lead to death
and disability as well as financial costs to both society and the individuals involved. Main cause
of accidents and crashes are due to human errors. However in this project we are designing a
system which can certainly help to minimize the deaths which occur due to such road accidents.
1.2 : Objectives:
a) The main intension of this project is to find the accident spot at any place and intimating it to
the emergency contacts through the GPS and GSM networks.
1.3.1 : Purpose:
This system is based on new technology, its main purpose is to detect an accident and send an
alert to the emergency contacts, so the victim can find some help. It can detect accident without
presence of any person.
1.3.2 : Scope:
The high demand of automobiles has also increased the traffic hazards and the road accidents,
life of the people is under high risk. This is because of the lack of best emergency facilities
available in our country. An automatic accident detection system for vehicle accidents is
introduced in this project. This design is a system which can detect accidents in significantly less
time and sends the basic information to the emergency contacts within a few seconds covering
geographical coordinates. This alert message is sent to the emergency contacts in a short time,
which will help in saving the valuable lives.
7|P ag e
1.3.2: Applicability:
Applicability of the project accident detection system is the automobile industry. As many road
accidents happen around the world and many people loose the lives in it, this system can certainly
help to decrease the number of deaths that happen because of a road accident.
8|P ag e
Chapter 2 Survey of Technologies
9|P ag e
Fig. 2.1: Microcontroller
Limitations of microcontroller:
Arduino:
The Arduino Uno 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; simply connect it to a computer with a USB
cable or power it with a AC-to-DC adapter or battery to get started.
10 | P a g e
Advantages of Arduino over microcontroller:
• When you need more control and are actually thinking on converting your prototype into a
real product, then yes, you need to get deep down into the microcontroller and get rid of all
the excess fat, trim the circuit to just the bare bones, optimize the code, etc.
• For prototyping, the Arduino platform gives you a lot of pre-wiring and free code libraries
that will let you concentrate on testing your idea instead of spending your time building
supporting circuitry or writing tons of low level code.
• Nearly instantaneous start (plug in a USB cord and load an example program and you can
see something work).
• A huge community of people working in the same environment.
• A large assortment of included libraries for interfacing to a wide range of hardware.
• Ease of use. The Arduino Uno has built in pinouts for providing you with 5v, 3.3V, ground,
analog input, digital output, SPI, I2C which comes in handy.
• The whole point of the "Arduino Platform" is to allow for easy and fast prototyping. Being
able to just hook up an LCD and be able to display messages on it in a matter of minutes,
instead of hours, is just amazingly powerful and convenient when you have an idea in your
head and just want to see if it works.
11 | P a g e
SENSORS:
• VIBRATION MODULE:
Vibration sensor module alarm Motion sensor module vibration switch SW-420
module based on the vibration sensor SW-420 and Comparator LM393 to detect if there is
any vibration that beyond the threshold. The threshold can adjust using an onboard
potentiometer. When this no vibration, this module output logic LOW the signal indicates
LED light, and vice versa.
• LIMITATIONS:
12 | P a g e
• ACCELEROMETER SENSOR:
13 | P a g e
• LIMITATIONS:
• PIEZOELECTRIC SENSOR:
A piezoelectric sensor is a device that uses the piezoelectric effect, to measure
changes in pressure, acceleration, strain, or force by converting them to an electrical
charge.
Based on piezoelectric technology various physical quantities can be measured, the most
common are pressure and acceleration. For pressure sensors, a thin membrane and a
massive base is used, ensuring that an applied pressure specifically loads the elements in
one direction. For accelerometers, a seismic mass is attached to the crystal elements.
When the accelerometer experiences a motion, the invariant seismic mass loads the
elements according to Newton's second law of motion F=ma.
The main difference in working principle between these two cases is the way
they apply forces to the sensing elements. In a pressure sensor, a thin membrane transfers
the force to the elements, while in accelerometers an attached seismic mass applies the
forces.
Sensors often tend to be sensitive to more than one physical quantity. Pressure
sensors show false signal when they are exposed to vibrations. Sophisticated pressure
sensors therefore use acceleration compensation elements in addition to the pressure
sensing elements. By carefully matching those elements, the acceleration signal (released
14 | P a g e
from the compensation element) is subtracted from the combined signal of pressure and
acceleration to derive the true pressure information.
Vibration sensors can also harvest otherwise wasted energy from mechanical
vibrations. This is accomplished by using piezoelectric materials to convert mechanical
strain into usable electrical energy.
• ADVANTAGES:
1. The piezoelectric transducer is available in desired shape.
2. It has rugged construction.
3. It is small in size.
4. It has good frequency response.
5. It has negligible phase shift.
15 | P a g e
Chapter 3 Requirements and Analysis
16 | P a g e
3.2 Requirement Specification:
GPS Module(NEO-6M)
Prototyping Model:
• The Prototyping Model is a systems development method (SDM) in which a prototype (an
early approximation of a final system or product) is build, tested, and then reworked as
necessary until an acceptable prototype is finally achieved from which the complete
system or product can now be developed.
• This model works best in scenarios where not all of the project requirements are known
in detail ahead of time. It is an interactive, trail-and-error process that takes place
between the developers and the users.
17 | P a g e
Fig.: 3.3.1: Gantt Chart
• Software Requirements:
• Hardware Requirements:
18 | P a g e
o Piezoelectric Disk Sensor:
Piezoelectric Disk Sensor is used to detect the accident.
o Battery:
Batter is used to give the power to the Arduino UNO Microcontroller
Board.
19 | P a g e
3.5 Preliminary Product Description:
A program for Arduino may be written in any programming language with compilers that
produce binary machine code for the target processor. Atmel provides a development
environment for their microcontrollers, AVR Studio and the newer Atmel Studio. The Arduino
project provides the Arduino integrated development environment (IDE), which is a
crossplatform application written in the programming language Java. A program written with
the IDE for Arduino is called a sketch. Sketches are saved on the development computer as
text files with the file extension.ino. Arduino Software (IDE) pre-1.0 saved sketches with the
extension.pde.
The Arduino IDE supports the languages C and C++ using special rules of code
structuring. The Arduino IDE supplies a software library from the Wiring project, which
provides many common input and output procedures. User-written code only requires two
basic functions, for starting the sketch and the main program loop, that are compiled and
linked with a program stub main() into an executable cyclic executive program with the GNU
toolchain, also included with the IDE distribution.
20 | P a g e
Program structure :
• setup(): This function is called once when a sketch starts after power-up or
reset. It is used to initialize variables, input and output pin modes, and other
libraries needed in the sketch.
• loop(): After setup() has been called, function loop() is executed repeatedly
in the main program. It controls the board until the board is powered off or is
reset.
HARDWARE:
• Arduino Uno
21 | P a g e
Fig- 3.5.1 Arduino Uno
The Arduino Uno 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; simply connect it to a computer with a USB
cable or power it with a AC-to-DC adapter or battery to get started.
We can tell the board what to do by sending a set of instructions to the
microcontroller on the board. To do so we use the Arduino programming language
(based on Wiring), and the Arduino Software (IDE), based on Processing.
The Arduino project provides the Arduino integrated development environment
(IDE), which is a cross – platform application written in the programming language Java.
It originated from the IDE for the languages Processing and Wiring . 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 provides simple one – click mechanism to
compile and load programs to an Arduino board. A program written with the IDE for
Arduino is called a “sketch”.
GPS Module:
22 | P a g e
GSM Module:
A GSM Module is basically a GSM Modem (like SIM 900) connected to a PCB with
different types of output taken from the board. The board will also have pins or provisions to
attach mic and speaker, to take out +5V or other values of power and ground connections.
These type of provisions vary with different modules.
23 | P a g e
Piezoelectric Sensor:
24 | P a g e
LCD:
LCD (Liquid Crystal Display) screen is an electronic display module and find a wide
range of applications. A 16x2 LCD display is very basic module and is very commonly used in
various devices and circuits. These modules are preferred over seven segments and other
multi segment LEDs.
A 16x2 LCD means it can display 16 characters per line and there are 2 such lines. In
this LCD each character is displayed in 5x7 pixel matrix. This LCD has two registers, namely,
Command and Data.
The command register stores the command instructions given to the LCD. A command
is an instruction given to LCD to do a predefined task like initializing it, clearing its screen,
setting the cursor position, controlling display etc. The data register stores the data to be
displayed on the LCD. The data is the ASCII value of the character to be displayed on the
LCD.
25 | P a g e
• USB Cable:
USB cable is used to insert the code written in Arduino IDE in the Arduino board.
Jumper wire male to female, used in connecting female header pin of any development
board (like Arduino) to other development board having male connector. In this one end
of the wire is male connector and other one is female. The length of the wire is 20 cm
approx.
26 | P a g e
Male to male jumper wires
In male to male both the ends have male connectors. They are multipurpose use and
very handy. Generally used for connecting FRC pins, Header pins, Berg pins etc.
Male connector at both the ends. It’s Length id about 18cm (approx.).
• Wires :
A wire is a single, usually cylindrical, flexible strand or rod of metal. Wires are used to
bear mechanical loads or electricity and telecommunications signals. Wire is
commonly formed by drawing the metal through a hole in a die or draw plate.
27 | P a g e
• Resistor:
A resistor is a passive two-terminal electrical component that implements electrical
resistance as a circuit element. Resistors act to reduce current flow, and, at the same time,
act to lower voltage levels within circuits. In electronic circuits, resistors are used to limit
current flow, to adjust signal levels, bias active elements, and terminate transmission lines
among other uses.
28 | P a g e
3.6 Conceptual Model:
29 | P a g e
Chapter 4
System Designs
4.1 : BASIC MODULES:
BLOCK DIAGRAM:
30 | P a g e
LOGIC DIAGRAM:
31 | P a g e
CIRCUIT DIAGRAM:
32 | P a g e
DATA FLOW DIAGRAM:
33 | P a g e
USE CASE DIAGRAM:
34 | P a g e
SEQUENCE DIAGRAM:
35 | P a g e
ACTIVITY DIAGRAM:
36 | P a g e
Reference
Acharya, Kamal. "STUDENT INFORMATION MANAGEMENT
SYSTEM." Authorea Preprints (2023).
Acharya, Kamal. "Library Management System." Available at SSRN4807104 (2019).
ACHARYA, KAMAL, et al. "LIBRARY MANAGEMENT SYSTEM." (2019).
Acharya, Kamal. "Online bus reservation system project report." Authorea
Preprints (2024).
Acharya, Kamal. "Online bus reservation system project report." (2024).
Acharya, Kamal. “Online Bus Reservation System.” SSRN ElectroNIC ASIA
Journal (2024): n. pag.
Acharya, Kamal. “Student Information Management System Project.” SSRN
ElectroNIC ASIA Journal (2024): n. pag.
Acharya, Kamal. “ATTENDANCE MANAGEMENT SYSTEM.” International
Research Journal of Modernization in Engineering Technology and
Science (2023): n. pag.
Acharya, Kamal. “College Information Management System.” SSRN ElectroNIC
ASIA Journal (2024): n. pag.
Acharya, Kamal, Attendance Management System Project (April 28, 2024).
Available at
SSRN: https://ssrn.com/abstract=4810251 or http://dx.doi.org/10.2139/ssrn.4810251
Acharya, Kamal, Online Food Order System (May 2, 2024). Available at
SSRN: https://ssrn.com/abstract=4814732 or http://dx.doi.org/10.2139/ssrn.4814732
Acharya, Kamal, University management system project. (May 1, 2024). Availableat
SSRN: https://ssrn.com/abstract=4814103 or http://dx.doi.org/10.2139/ssrn.4814103
Acharya, Kamal, Online banking management system. (May 1, 2024). Available at
SSRN: https://ssrn.com/abstract=4813597 or http://dx.doi.org/10.2139/ssrn.4813597
Acharya, Kamal, Online Job Portal Management System (May 5, 2024). Available at
SSRN: https://ssrn.com/abstract=4817534 or http://dx.doi.org/10.2139/ssrn.4817534
Acharya, Kamal, Employee leave management system. (May 7, 2024). Available
at SSRN: https://ssrn.com/abstract=4819626 or http://dx.doi.org/10.2139/ssrn.4819626
Acharya, Kamal, Online electricity billing project report. (May 7, 2024). Available at
SSRN: https://ssrn.com/abstract=4819630 or http://dx.doi.org/10.2139/ssrn.4819630
Acharya, Kamal, POLICY MANAGEMENT SYSTEM PROJECT REPORT. (December 10, 2023). Available at
SSRN: https://ssrn.com/abstract=4831694 or http://dx.doi.org/10.2139/ssrn.4831694
Acharya, Kamal, Online job placement system project report. (January 10, 2023). Available at
SSRN: https://ssrn.com/abstract=4831638 or http://dx.doi.org/10.2139/ssrn.4831638
Acharya, Kamal, Software testing for project report. (May 16, 2023). Available at
SSRN: https://ssrn.com/abstract=4831028 or http://dx.doi.org/10.2139/ssrn.4831028
Acharya, Kamal, ONLINE CRIME REPORTING SYSTEM PROJECT. (August 10, 2022). Available at
SSRN: https://ssrn.com/abstract=4831015 or http://dx.doi.org/10.2139/ssrn.4831015
37 | P a g e
Acharya, Kamal, Burber ordering system project report. (October 10, 2022). Available at
SSRN: https://ssrn.com/abstract=4832704 or http://dx.doi.org/10.2139/ssrn.4832704
Acharya, Kamal, Teachers Record Management System Project Report (December 10, 2023). Available at
SSRN: https://ssrn.com/abstract=4833821 or http://dx.doi.org/10.2139/ssrn.4833821
Acharya, Kamal, Dairy Management System Project Report (December 20, 2020). Available at
SSRN: https://ssrn.com/abstract=4835231 or http://dx.doi.org/10.2139/ssrn.4835231
Acharya, Kamal, Electrical Shop Management System Project (December 10, 2019). Available at
SSRN: https://ssrn.com/abstract=4835238 or http://dx.doi.org/10.2139/ssrn.4835238
Acharya, Kamal, Online book store management system project report. (Febuary 10, 2020). Available at
SSRN: https://ssrn.com/abstract=4835277 or http://dx.doi.org/10.2139/ssrn.4835277
Acharya, Kamal, Paint shop management system project report. (January 10, 2019). Available at
SSRN: https://ssrn.com/abstract=4835441 or http://dx.doi.org/10.2139/ssrn.4835441
Acharya, Kamal, Supermarket billing system project report. (August 10, 2021). Available at
SSRN: https://ssrn.com/abstract=4835474 or http://dx.doi.org/10.2139/ssrn.4835474
Acharya, Kamal, Online texi booking system project report. (March 10, 2022). Available at
SSRN: https://ssrn.com/abstract=4837729 or http://dx.doi.org/10.2139/ssrn.4837729
Acharya, Kamal, Online car servicing system project report. (March 10, 2023). Available at
SSRN: https://ssrn.com/abstract=4837832 or http://dx.doi.org/10.2139/ssrn.4837832
Acharya, Kamal, School management system project report. (July 10, 2021). Available at
SSRN: https://ssrn.com/abstract=4837837 or http://dx.doi.org/10.2139/ssrn.4837837
Acharya, Kamal, Furniture Showroom Management System Project Report (March 21, 2021). Available at
SSRN: https://ssrn.com/abstract=4839422 or http://dx.doi.org/10.2139/ssrn.4839422
Acharya, Kamal, Online Vehicle Rental System Project Report (March 21, 2019). Available at
SSRN: https://ssrn.com/abstract=4839429 or http://dx.doi.org/10.2139/ssrn.4839429
Acharya, Kamal, Fruit Shop Management System Project Report (August 10, 2023). Available at
SSRN: https://ssrn.com/abstract=4841048 or http://dx.doi.org/10.2139/ssrn.4841048
Acharya, Kamal, Hall Booking Management System Project Report (December 21, 2023). Available at
SSRN: https://ssrn.com/abstract=4841055 or http://dx.doi.org/10.2139/ssrn.4841055
Acharya, Kamal, Lundry Management System Project Report (October 21, 2023). Available at
SSRN: https://ssrn.com/abstract=4841059 or http://dx.doi.org/10.2139/ssrn.4841059
Acharya, Kamal, A CASE STUDY OF CINEMA MANAGEMENT SYSTEM PROJECT (September 25, 2023).
Available at SSRN: https://ssrn.com/abstract=4841209 or http://dx.doi.org/10.2139/ssrn.4841209
Acharya, Kamal, A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT (May 25, 2024). Available
at SSRN: https://ssrn.com/abstract=4841210 or http://dx.doi.org/10.2139/ssrn.4841210
Acharya, Kamal, ONLINE DATING MANAGEMENT SYSTEM PROJECT REPORT. (April 25, 2023). Available at
SSRN: https://ssrn.com/abstract=4842066 or http://dx.doi.org/10.2139/ssrn.4842066
Acharya, Kamal, ONLINE RESUME BUILDER MANAGEMENT SYSTEM PROJECT REPORT. (April 25, 2021).
Available at SSRN: https://ssrn.com/abstract=4842071 or http://dx.doi.org/10.2139/ssrn.4842071
Acharya, Kamal, TOLL TEX MANAGEMENT SYSTEM PROJECT REPORT (August 21, 2023). Available at
SSRN: https://ssrn.com/abstract=4842082 or http://dx.doi.org/10.2139/ssrn.4842082
Acharya, Kamal, Chat Application Through Client Server Management System Project Report (June 25, 2023).
Available at SSRN: https://ssrn.com/abstract=4842761 or http://dx.doi.org/10.2139/ssrn.4842761
Acharya, Kamal, Web Chatting Application Management System Project Report (April 25, 2022). Available at
SSRN: https://ssrn.com/abstract=4842771 or http://dx.doi.org/10.2139/ssrn.4842771
Acharya, Kamal, Automobile management system project report (May 25, 2022). Available at
SSRN: https://ssrn.com/abstract=4846917 or http://dx.doi.org/10.2139/ssrn.4846917
38 | P a g e
Acharya, Kamal, College bus management system project report (April 25, 2023). Available at
SSRN: https://ssrn.com/abstract=4846920 or http://dx.doi.org/10.2139/ssrn.4846920
Acharya, Kamal, Courier management system project report (May 25, 2023). Available at
SSRN: https://ssrn.com/abstract=4846922 or http://dx.doi.org/10.2139/ssrn.4846922
Acharya, Kamal, Event management system project report (April 25, 2021). Available at
SSRN: https://ssrn.com/abstract=4846927 or http://dx.doi.org/10.2139/ssrn.4846927
Acharya, Kamal, Library management system project report II (May 25, 2020). Available at
SSRN: https://ssrn.com/abstract=4848857 or http://dx.doi.org/10.2139/ssrn.4848857
39 | P a g e