Providing Smart Technology Solutions

Vehicle Crash Monitoring System, Part- 1

Hey friends, today I am going to share with you one of my best projects which is “Vehicle Crash Monitoring System”. In India, when you are doing you engineering, you have to make 2 projects in those 4 years on which grades are given to you. One is the major & the other is the minor project.  So I created this system for my major project.

This is an entirely new project and I was very much enthusiastic to do it, but at the same time I was afraid that will I be able to complete it on time? But I accepted the challenge and started working on it.


As the name suggests, the aim of the project is to monitor accident and when there is a crash, it calls for help on emergency number. So, the first thing for my project to was to monitor the accident. The second thing is when the accident is detected, it finds its location so that rescue can be provided at that location. And the third task is to send the location to the emergency number so that they can provide help.

So, the overview of the project is show by the figure below:

                                                          Overview of project.

Thus my project was divided into 3 parts i.e

1.)  Crash Detection.

2.) Finding Location.

3.) Sending Message for help.

And I will be describing all of them one by one. Thus the block diagram of the project is also give below:

 Crash Detection:-            

The first problem was to find a method which would be used to detect the accident of the vehicle. As my device would be attached on the vehicle, any large impact caused during collision can be used for sensing the accident.

So for this purpose, I searched on internet and found some accelerometers (eg. Memsic 2125, ADXL320, ADXL321, ADXL322, ADXL330) & impact sensors. These sensors are used in cars for controlling the airbags. These are very good but at the same time very costly.  I need some cheap way of doing that so I decided to use a simple piezo sensor in place of it.

A piezoelectric sensor is a device that uses the piezoelectric effect to measure pressure, acceleration, strain or force by converting them to an electrical charge. These materials has the ability to transform energy of a mechanical input into an electrical output and vice versa. More specifically, when a pressure [piezo is the Greek word for pressure] is applied to a piezoelectric material, it causes a mechanical deformation and a displacement of charges. Those charges are highly proportional to the applied pressure [Piezoelectricity].

So I used a simple piezo electric element from a piezo buzzer, easily available in the market.

A piezo is an electronic device that generates a voltage when it’s physically deformed by a vibration, sound wave, or mechanical strain. Similarly, when you put a voltage across a piezo, it vibrates and creates a tone. Piezo can be used both to play tones and to detect tones.

Using a piezo with arduino is very simple. I used the analog pin of arduino to read the data from the piezo sensor. To do this, a command i.e “analogread ()”. It converts the 0 to 5 volts into o to 1023 divisions from the internal ADC.

If the sensors output is stronger than a certain threshold, than the arduino reads it as a crash and proceeds with the next step of sending location message for rescue.

A piezoelectric disk generates a voltage when deformed.

The connection of the sensor with the arduino is shown below:

There is also a 1megaohm resistor connected in parallel to it. It is used to decrease the current going in arduino.

You can also find a similar example in the arduino examples under File > Example > Sensors > Knock. Well I modified the program according to my convenience which I posted below:

int sensorReading = 0;      // variable to store the value read from the sensor pin

int ledState = LOW;         // variable used to store the last LED status, to toggle the light

void setup() {

pinMode(ledPin, OUTPUT); // declare the ledPin as as OUTPUT


void loop() {

// read the sensor and store it in the variable sensorReading:

sensorReading = analogRead (knockSensor);

// if the sensor reading is greater than the threshold:

if (sensorReading >= threshold) {

// toggle the status of the ledPin:

ledState = !ledState;

// update the LED pin itself:

digitalWrite(ledPin, ledState);


delay(100);  // delay to avoid overloading the serial port buffer


Thus the first part of the project is completed, in which when there is a large impact, an LED will light to show that the accident is detected.

I will show the next two parts in my next blogs.

Please comment, on my work.


40 comments on “Vehicle Crash Monitoring System, Part- 1

  1. Pingback: Sensors crash | Racetracksuppl

  2. Web Design Services
    June 13, 2012

    I do agree with all the ideas you have offered on your post. They’re very convincing and will definitely work. Still, the posts are too quick for beginners. Could you please prolong them a little from subsequent time? Thanks for the post.

  3. Pingback: VEHICLE CRASH MONITORING SYSTEM, PART- 2 « Abishai Singh

  4. Pingback: VEHICLE CRASH MONITORING SYSTEM, PART- 3 « Abishai Singh

  5. Beh Jun Ping
    October 5, 2012

    9s work! can u attach the complete report of the project?

  6. tin126
    December 3, 2012

    hello, if we are going to test this system via a real car, where will we place the device?thank you..

    • Abishai
      December 3, 2012

      I was waiting for some one to ask this question!!!!!

      We have to install it at different places, like the gps antenna will go at the roof of the car, the sensors will be fixed at the front and at the back of the car, and the main controlling section will be placed some where inside the car….

      • qaidi
        October 13, 2015

        hi.. what is the model of arduino you used for this project?

  7. oguzhan cilenk
    December 12, 2012


    I am a electronic and communication engineer student. Beautiful project. I would like to work on the project.But I have questions. Please Let’s contact us.What is the e-mail address?

    Thank you.

  8. artur
    December 12, 2012

    Which libraries did you usein project? share use libraries ?


  9. Prakash
    January 31, 2013

    Hello sir…I am doing this project for my final year projec…pls send the ful report of this project…thank u

  10. Prakash
    January 31, 2013

    Send ful report of this project sir as soon possible

    • Abishai
      February 1, 2013

      Hey man sorry, I can not give you the project report, you have to do your home work by yourself !!!!!!

  11. prakash
    February 17, 2013

    hai……can i simulate the arduino with the help of any softwares…………

    • Abishai
      February 17, 2013

      Yes Prakash there is a software on which you can simulate Arduino. Its “Virtual BreadBoard”. But I prefer doing my experiments on the real arduino board because of its ease.

      • prakash
        February 17, 2013

        thank u……..

  12. ramteja
    February 26, 2013

    sir when i’m compiling this program i’m getting lot of errors
    so i want to try interfacing microcontroller 89s52 with gps pls help me with the code

    • Abishai
      February 26, 2013

      Hey Ramteja, what is your project? Which errors are you getting while using this program?

    • Karthick
      April 10, 2015

      AT89s52 is not a analog processor.So u can’t connect the piezo crystal lyk these…… U have to connect a hex inverter and a amplifier to get TTL compatible inputs.

  13. Prachi
    September 26, 2013

    sir,u didnt specify anything about the power supply specifications…can u please let me know soon??

    • Abishai
      September 26, 2013

      Well Prachi, both Sim300 & Arduino have ports for external power input. I have used a 12 volt adapter to power them.

  14. Prachi
    October 2, 2013

    thanks for your reply..and i have one doubt that if this system is installed in a real car,then from where will it recieve the power..and if the accident occurs and the car is crushed down badly,then how will this system be getting power supply??

    • Prachi
      October 22, 2013

      sir,please answer my question soon..

  15. Abishai
    October 22, 2013

    As I told, this is just a working prototype which I used to explains my idea. If I would have to use it on road, than I will add certain additional features (which I developed after posting this blog).

    By the way, the simplest way to power this machine is to connect it to the 12v battery inside the vehicle. If the car is badly damaged supposing that the battery is completely destroyed (which is a probability, not guarantee), than it will send SMS on a back up power source, which is another small battery fitted inside its case.

  16. Prachi
    January 10, 2014

    Sir,can u please let me know what additional features u added??it will help me make my project better..
    And how can djikstra”s algorithm be incorporated in this project,so that the nearest hospital can be informed about the accident.
    please reply soon.

  17. Prachi
    January 20, 2014

    sir,can u help me in programming using 89c52 microcontroller instead of arduino?

  18. Vikas
    February 2, 2014

    Can you tell me which GPS module did u use??

  19. Prachi
    February 2, 2014

    sir please reply soon.

  20. Channa
    June 13, 2014

    hey, Im working on a similar project like this, but there were few issues i came up with,
    1. Peizo element starts activating even for a soft tap. So it can trigger false alarm for the vehicle’s engine vibration?
    2. For justification for the testing of the project, there were no statistics related to the average or minimum vibration of an accident or anything similar to that. My point is, we can’t just add a vibration triggering threshold without having proper referenced accident details.
    Please tell me your opinion. Thanks in advance!

    • Karthick
      April 10, 2015

      An accident can’t be detected using piezodisc alone.Use accelerometer sensor inconjunction to ensure the accident. Piezodisc senses the impact and the accelerometer senses the sudden deceleration pulses which are of high frequencies

  21. sneha
    December 28, 2014

    Ur ideas are jst awsome..
    can I get ur detailed work on dis project??
    N is der any another component dat v can use instead of arduino??

  22. jay
    March 19, 2015

    Pls send me the program to send location via SMS as u have done using atmega8+sim300+GR87. My email ID :- vachharajanijay@gmail.com
    Pls help me on this.

  23. sadiq vali
    January 1, 2016

    can we use this technique for motor Bike road accidents?

  24. sadiq vali
    January 1, 2016

    can we use the same technique for MOTOR BIKE accidents also?

    • Abishai
      February 9, 2016

      Yes, it would work fine on motor bike also.

  25. Esra'a
    April 20, 2016


    Sir, I do exactly like your project , and I used GPS module but unfortunately she didn’t work I don’t know whay

    Can you help me, and given me a solution

  26. Abishai
    April 23, 2016

    It could be anything, check your connections, check weather GSM and GPS are working properly by testing them separately, sometimes copying the code from internet gives some error try typing the code. Work in steps and you will find the problem.

  27. madihah yusof
    August 18, 2016

    hi sir, i wanna ask about the coding..did u write the code in the same sketch or different sketches?

  28. prabhul
    November 13, 2016

    where is the full circuit

Leave a Reply...

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s


This entry was posted on June 6, 2012 by in Projects.

Physical Computing Mini-Projects


fun and learning with electronics


Providing Smart Technology Solutions

%d bloggers like this: