Accident Alert System Using GSM, GPS and Accelerometer

23,359

59

44

Introduction: Accident Alert System Using GSM, GPS and Accelerometer

About: i am an electronic lover who want to make something superb.

Please Vote Me for Contest

Please vote me for contest

Nowadays many people are died on the road due to accident, the main cause is "delay in rescue". This problem is very big in devloping countries, so I designed this project for saving the human lives.

In this project I am going to show you how to make a gadget that sends the location of the site of incident, In the project GPS module is used to detect the exact location of vehicle. At the time of accident accelerometer detects the heavy shock and Arduino sends the location of the vehicle to the relative or friend, we can send the alert to multiple mobile numbers.

Step 1: Features

  1. Auto Calibration of accelerometer: We can calibrate the Accelerometer by using a switch. We just need to press the calibration switch for 3 seconds, in this way Arduino reads the current value of Accelerometer in X, Y and X direction and calibrate the system.
  2. Error Resolving: it is possible that Arduino detect the accident (due to high acceleration of vehicle), and send the accident alert, that should not be not tolerate, so a switch ("I AM OKAY") is placed on the circuit, when any accident occurred, buzzer beeps for 30 second, after 30 seconds message will be sent, but if someone press the "I AM OKAY" button message will not sent.

Step 2: Parts and Components

  1. Arduino Nano: Arduino Nano is used as microcontroller unit. I used Arduino nano because it is very small in size and doesn't need any external programmer
  2. SIM 800L GSM Module: SIM 800l is GSM module, it is very small in size and we can directly mount on PCB. Operating voltage of SIM800L is 3.7 to 4.2 voltage, so a voltage regulator LM317 is used to give power to GSM module.
  3. NEO 6m GPS Module: GPS module is used to read the values geographical location, accuracy of this sensor is quite good.
  4. Accelerometer: Accelerometer is used to detect the shock, it can seprately detect the shock in X, Y and Z directions. We can use "vibration sensor" instant of accelerometer, but accuracy of vibration sensor is not too good. Accelerometer can detect the vibration in X, Y, Z direction, so it is also an positive point.
  5. LCD: LCD shows the Latitude and Longitude, at the time of accident it shows notifications.
  6. Power Adapter: 12 Volt 2A adapter is used to give power to system.
  7. LM 317
  8. Resistance: 1.1 K 1 PC
  9. Resistance: 330 ohm 2 PCs
  10. Resistance: 470 ohm 1 PC
  11. Preset: 10k 2 PCs
  12. Momentary Switch 2 PCs

Step 3: Circuit

In the project Printed Circuit Board is used, and PCB is designed on Eagle CAD, which is shown on Fig1, Fig2 and Fig3 and Schematic is shown in the Fig4.

Step 4: Working

Arduino Nano is used as controlling unit, it reads the values from accelerometer, when arduino observe any abnormal values, it reads the current location from GPS module, and send it to given mobile no over SMS by using GSM module.

Before sending the SMS arduino activate the buzzer, after 30 seconds of beeping SMS will be sent, but if someone press the "I AM OKAY" button, message will not sent, which helps to prevent unnecessary SMS.

Step 5: Code

Code is given below, just copy and paste.

Arduino Contest 2017

Participated in the
Arduino Contest 2017

Wireless Contest

Participated in the
Wireless Contest

Be the First to Share

    Recommendations

    • Make it Glow Contest

      Make it Glow Contest
    • First Time Author Contest

      First Time Author Contest
    • PCB Challenge

      PCB Challenge

    44 Discussions

    2
    JayM236
    JayM236

    1 year ago

    i have downloaded the code..but it is not opening..in what software it will open?hepl!

    0
    pankulemptiness
    pankulemptiness

    Reply 6 weeks ago

    can you please send me the code???

    0
    HorebE
    HorebE

    Reply 1 year ago

    Arduino IDE

    0
    dien1706.devos
    dien1706.devos

    4 months ago

    Looks like your pcb is not right, can you show us the 3d version

    0
    mayuresha1
    mayuresha1

    Question 1 year ago

    does anyone knows how to calibrate adxl335 without using that switch please give me some info or code

    0
    HorebE
    HorebE

    1 year ago

    buzzer will be connected on arduino pin 5...

    0
    akshay_raikwar
    akshay_raikwar

    Question 2 years ago

    Is this image is correct ? because in image, the LCD Display is connected to the digital pins

    FSR8XLZJAWU3TDS.LARGE.jpg
    0
    HorebE
    HorebE

    Answer 1 year ago

    bro issue resolved or not?

    0
    akshay_raikwar
    akshay_raikwar

    Reply 1 year ago

    yup, i had created my own pcb using the circuit diagram because the pcb layout provided by him seems to be incorrect

    0
    HorebE
    HorebE

    Reply 1 year ago

    kindly tell me is it working with LM317?

    0
    akshay_raikwar
    akshay_raikwar

    Reply 1 year ago

    perfectly, but SIM 800l troubles a lot

    0
    akshay_raikwar
    akshay_raikwar

    1 year ago

    you can use any, i had use neo 6m gps module worh 1k INR

    0
    HorebE
    HorebE

    Reply 1 year ago

    thanks bro

    3
    rounak7012
    rounak7012

    Question 2 years ago on Introduction

    can i use aurdino uno... if i can then plzz snd me the ckt daigram and code

    0
    HorebE
    HorebE

    Answer 1 year ago

    yes you can

    1
    ikazulaika
    ikazulaika

    Question 2 years ago

    where is the preset and buzzer in the schematic diagram? and can i ask what is the black component infront of the LM317?

    Thanks in advance!

    0
    HorebE
    HorebE

    Answer 1 year ago

    bro its a switch for power on off...