You are on page 1of 13

ARDUINO BASED DESIGN AND DEVELOP VEHICLE ACCIDENT DETECTION AND MESSAGE TO

HEALTH CENTER BY USING GPS, GSM AND VIBRATION SENSOR SYTEM

Excuse me Tare

MY TITLE SAID THAT: ARDUINO BASED DESIGN AND DEVELOP VEHICLE ACCIDENT
DETECTION AND MESSAGE TO HEALTH CENTER BY USING GPS and GSM SYSTEM

Focusing part of simulation


 Show the interfacing programs: Arduino with GSM, Arduino with GPS, Arduino with
vibration sensor and also how to interface all this system with server.
 How to interface by simulation Max.10km distance from health center to accident
location;
 This system is used to send message to server and the server is send SMS or message
to the emergency rooms of health center, after that coordinator of emergency room of
health center can be deliver the ambulance to the accident location and survive human
live.

 indicate output on the LCD

Functions of Each Equipment In This Project Circuit

 Arduino- the main process of the system


 GPS- GPS modem will provide the latitude and longitude details of the accident area or used to
detect the location(longitude and latitude)
 GSM/GPRS - used to send message of latitude and longitude to server.
 Vibration sensor-Vibration sensors will sense at the time of accident or to detect, when vehicle
accident is occurred.

Generally this device is install in the any vehicle therefore when accident was occurred in case of many
problem, this problem may be vehicle crashed with another vehicle or fail of vehicle by another problem,

Then when this problem was occurred vibration sensor is detect vehicle accident and give to Arduino and
GPS was detect the location of accident place and give to Arduino this system is by latitude and longitude
indication, the GSM/GPRS module is used receive this system from Arduino and send to server, the server
send the message to the health center (phone number of coordinator of emergency room of health center)

The message indicates location of accident place this indicates by latitude and longitude.

Example
LCD1
LM016L

RV1

VDD
VSS

VEE

RW
RS

D0
D1
D2
D3
D4
D5
D6
D7
ARD1

E
1
2
3

4
5
6

7
8
9
10
11
12
13
14
10k
ON
Reset BTN

www.TheEngineeringProjects.com

AREF
13
PB5/SCK
12
RESET PB4/MISO
11
~PB3/MOSI/OC2A
10
VCC ~PB2/SS/OC1B
9
GND ~ PB1/OC1A 8
PB0/ICP1/CLKO
ATMEGA328P-PU
1121

7
ANALOG IN

PD7/AIN1
6
A0 ~ PD6/AIN0
PC0/ADC0 5
A1 ~ PD5/T1
PC1/ADC1 4
A2 PD4/T0/XCK
PC2/ADC2 3
A3
PC3/ADC3 ~ PD3/INT1 2
A4 PD2/INT0
PC4/ADC4/SDA 1
A5 TX PD1/TXD
PC5/ADC5/SCL 0
RX PD0/RXD

RXD
TXD
100uF
25V
ARDUINO UNO
OUT GND Vcc

www.TheEngineeringProjects.com
www.TheEngineeringProjects.com

Vibration Sensor
RXD
TXD
www.TheEngineeringProjects.com

Module
GPS

TestPin
SIM900D
S2-1041Y-Z097C

CE0980

VIB1
GPS2 VIBRATION SW-420
GPS MODULE
SIM Card
NEXT

STATUS
Power BTN

ON

GSM1
SIM900D-GREEN
LCD1
LM016L

RV1

VDD
VSS

VEE

RW
RS

D0
D1
D2
D3
D4
D5
D6
D7
ARD1

E
1
2
3

4
5
6

7
8
9
10
11
12
13
14
10k
ON
Reset BTN

www.TheEngineeringProjects.com

AREF
13
PB5/SCK
12
RESET PB4/MISO
11
~PB3/MOSI/OC2A
10
VCC ~PB2/SS/OC1B
9
GND ~ PB1/OC1A 8
PB0/ICP1/CLKO
ATMEGA328P-PU
1121

7
ANALOG IN

PD7/AIN1
6
A0 ~ PD6/AIN0
PC0/ADC0 5
A1 ~ PD5/T1
PC1/ADC1 4
A2 PD4/T0/XCK
PC2/ADC2 3
A3
PC3/ADC3 ~ PD3/INT1 2
A4 PD2/INT0
PC4/ADC4/SDA 1
A5 TX PD1/TXD
PC5/ADC5/SCL 0
RX PD0/RXD

RXD
TXD
100uF
25V
ARDUINO UNO
OUT GND Vcc

www.TheEngineeringProjects.com
www.TheEngineeringProjects.com

Vibration Sensor
RXD
TXD
www.TheEngineeringProjects.com

Module
GPS

TestPin
SIM900D
S2-1041Y-Z097C

CE0980

VIB1
VIBRATION SW-420
GPS2
GPS MODULE
SIM Card
NEXT

STATUS
Power BTN

ON

GSM1
SIM900D-GREEN
LCD1
LM016L

RV1

VDD
VSS

VEE

RW
RS

D0
D1
D2
D3
D4
D5
D6
D7
ARD1

E
1
2
3

4
5
6

7
8
9
10
11
12
13
14
10k
ON
Reset BTN

www.TheEngineeringProjects.com

AREF
13
PB5/SCK
12
RESET PB4/MISO
11
~PB3/MOSI/OC2A
10
VCC ~PB2/SS/OC1B
9
GND ~ PB1/OC1A 8
PB0/ICP1/CLKO
ATMEGA328P-PU
1121

7
ANALOG IN

PD7/AIN1
6
A0 ~ PD6/AIN0
PC0/ADC0 5
A1 ~ PD5/T1
PC1/ADC1 4
A2 PD4/T0/XCK
PC2/ADC2 3
A3
PC3/ADC3 ~ PD3/INT1 2
A4 PD2/INT0
PC4/ADC4/SDA 1
A5 TX PD1/TXD
PC5/ADC5/SCL 0
RX PD0/RXD

RXD
TXD
100uF
25V

ARDUINO UNO
www.TheEngineeringProjects.com
RXD
TXD

OUT GND Vcc


www.TheEngineeringProjects.com

www.TheEngineeringProjects.com
Module
Vibration Sensor
GPS
SIM900D
S2-1041Y-Z097C

CE0980

TestPin
GPS2
GPS MODULE

VIB1
VIBRATION SW -420
SIM Card
NEXT

STATUS
Power BTN

ON

GSM1
SIM900D-GREEN
LCD1
LM016L

RV1

VDD
VSS

VEE

RW
RS

D0
D1
D2
D3
D4
D5
D6
D7
ARD1

E
1
2
3

4
5
6

7
8
9
10
11
12
13
14
10k
ON
Reset BTN

www.TheEngineeringProjects.com

AREF
13
PB5/SCK
12
RESET PB4/MISO
11
~PB3/MOSI/OC2A
10
VCC ~PB2/SS/OC1B
9
GND ~ PB1/OC1A 8
PB0/ICP1/CLKO
ATMEGA328P-PU
1121

7
ANALOG IN

PD7/AIN1
6
A0 ~ PD6/AIN0
PC0/ADC0 5
A1 ~ PD5/T1
PC1/ADC1 4
A2 PD4/T0/XCK
PC2/ADC2 3
A3
PC3/ADC3 ~ PD3/INT1 2
A4 PD2/INT0
PC4/ADC4/SDA 1
A5 TX PD1/TXD
PC5/ADC5/SCL 0
RX PD0/RXD

RXD
TXD
100uF
25V
ARDUINO UNO
OUT GND Vcc

www.TheEngineeringProjects.com
www.TheEngineeringProjects.com

Vibration Sensor
RXD
TXD
www.TheEngineeringProjects.com

Module
GPS

TestPin
SIM900D
S2-1041Y-Z097C

CE0980

VIB1
VIBRATION SW-420
GPS2
GPS MODULE
SIM Card
NEXT

STATUS
Power BTN

ON

GSM1
SIM900D-GREEN
SOME CODE FOR ARDUINO

#include<LiquidCrystal.h>

LiquidCrystal lcd(13,12,11,10,9,8);

#define vibrate_sense 7

char str[70];

char *test="$GPGGA";

char logitude[10];

char latitude[10];

int i,j,k;

int temp;

//int Ctrl+z=26; //for sending msg

int led=13;

void setup()

lcd.begin(16,2);

Serial.begin(4800);

pinMode(vibrate_sense, INPUT);

pinMode(led, OUTPUT);

lcd.setCursor(0,0);

lcd.print("Accident Detect");

lcd.setCursor(0,1);

lcd.print("message");
delay(3000);

void loop()

if (digitalRead(vibrate_sense)==0)

for(i=18;i<27;i++) //extract latitude from string

latitude[j]=str[i];

j++;

for(i=30;i<40;i++) //extract longitude from string

logitude[k]=str[i];

k++;

lcd.setCursor(0,0); //display latitude and longitude on 16X2 lcd display

lcd.print("Lat(N)");

lcd.print(latitude);

lcd.setCursor(0,1);

lcd.print("Lon(E)");

lcd.print(logitude);
delay(100);

lcd.clear();

lcd.print("Sending SMS");

Serial.begin(9600);

Serial.println("AT+CMGF=1"); //select text mode

delay(10);

Serial.println("AT+CMGS=\"0123456789\""); // enter receipent number

Serial.println("Vehicle Accident occured:");

Serial.print("Latitude(N): "); //enter latitude in msg

Serial.println(latitude); //enter latitude value in msg

Serial.print("Longitude(E): "); //enter Longitude in Msg

Serial.println(logitude); //enter longitude value in msg

Serial.print("http://maps.google.com/maps?&z=15&mrt=yp&t=k&q=");

Serial.println(latitude);

Serial.println("+");

Serial.println(logitude);

Serial.write(26); //send msg Ctrl+z=26

lcd.print("SMS Sent");

temp=0;

i=0;

j=0;

k=0;

delay(20000); // next reading within 20 seconds

Serial.begin(4800);

}
}

void serialEvent()

while (Serial.available()) //Serial incomming data from GPS

char inChar = (char)Serial.read();

str[i]= inChar; //store incomming data from GPS to temparary string str[]

i++;

if (i < 7)

if(str[i-1] != test[i-1]) //check for right string

i=0;

if(i >=60)

break;

}
Please Tare quickly;

If u have any problem or if you cannot understand this project system, please missed call to me.

Phone number: +251917034691- Adinew Babu

Gmail: adinewbabu2015@gmail.com.

 Note: After you finished please tell me the cost of your work.
 Send to me your account number of the bank

You might also like