You are on page 1of 18

DESIGN AND DEVELOPMENT OF

IOT BASED SMART SAFETY SYSTEM


FOR AUTOMOTIVE APPLICATION
-GUIDED BY : DR. ROJALIN PRADHAN

GROUP MEMBERS:

1.DARSHAN G K -1MS18EE072
2.MOHITH S GOWDA -1MS18EE033
3.THEJAS K – 1MS18EE061
4.GOPAL Y M -1MS19EE400

1
OBJECTIVE
Making a smart tool for vehicles which helps to prevent accidents by
monitoring the:
⮚ Eye blink rate
⮚Temperature of engine
⮚Seat belt
⮚Alcohol content
 To provide immediate assistance to the victim by sending alert messages to
emergency contacts with the vehicle’s GPS location.
 

2
Literature Survey:
Title Author Year Summary
Smart Vehicle Safety B Abhinaya, B Sharanya, November, 2016 Tracking of vehicles to
System using Arduino R Gayatri - SRIT, avoid vehicle theft and use
Coimbatore of GPS System to get
exact location of the
vehicle and gradually stop
the running vehicle using
relay circuits and Arduino
and GSM Module

An IOT approach to Elie Nasar, Elie Kfouly, November, 2017 This is a promising system
vehicle accident detection, David Khonly expected to aid in the
reporting and navigation tedious rescuing process
by reporting the location of
the accident in a matter of
minutes, blood types etc,
thus lowering death rates

3
BLOCK DIAGRAM:
Power Supply Alarm DC Motor 16x2 LCD Display

GSM Arduino Temperature Sensor

Uno Alcohol Sensor


GPS R3
Eye Blink Sensor

MEMS Sensor

4
PICTORIAL REPRESENTATION:

5
Algorithm for overspeeding:
start

Take input from


temp sensor

FALSE
Driver is within the
If temp >125 ? speed limit
TRUE

Engine turned off due to


overspeeding.alert msg is sent

stop

6
Algorithm for alcohol detection

start

If alcohol
FALSE No msg is
detected sent
in sensor ?
TRUE

Engine turned off


gradually & alert msg
is sent

stop

7
Algorithm for checking seat belt

start

FALSE Warning the


If the seat driver to put on
belt locked? seat belt
TRUE

stop

8
Algorithm for accident detection
start

If car met FALSE


No msg will
with an
accident? be sent

TRUE

Trigger the air bags


,engine is turned off
and alert msg sent to
emergency contact
with exact GPS location

stop

9
Final Algorithm: Start

Input the engine temperature,


driver’s alcohol percentage, speed of
the vehicle

FALSE
If seat
belt is Driver cannot start the engine.
on?

TRUE

If
alcohol TRUE Message sent as “Driver is
is drunk” and cannot start the
detected engine
?

FALSE

10
If FALSE Driver is driving
engine
temp. > within limits. No
125 ? message sent.

TRUE
The message is sent as
“Driver is overspeeding” and
vehicle speed is gradually
reduced

If no. of Message sent as “Driver is


eye
drowsy” and cannot start
blinks is TRUE
< 12 ? the engine

FALSE

11
If car FALSE
met with
accident
?

TRUE

Trigger the airbags, send alert


messages to emergency
contacts and turn of the engine
and door locks are opened.

Stop

12
Code:
#include<stdio.h>
#include<conio.h>
main()
{
char vno[9];
long int n1, n2, n3;
float temp;
int alcohol;
int eb, sb;
char accident[2];
printf("Enter the registration number of the vehicle(without space): ");
for(int i=0; i<=9;i++)
{scanf("%ch", &vno[i]);
}
printf("\n Enter 3 emergency contact numbers: ");
scanf("%ld%ld%ld",&n1, &n2, &n3);
printf("\n Enter the temperature of the engine: ");
scanf("%f", &temp);
if(temp>125)
{printf("\nEngine turned off due to overheating. Alert message has been sent.\n");
}

13
printf("\nEnter 1 for seat belt in position or 0 if not: ");
scanf("%d",&sb);
if(sb==0)
{printf("\nPut on the seat belt to start the engine.\n");
}
printf("\nEnter the number of eye blinks in one min: ");
scanf("%d",&eb);
if(eb<20)
{printf("\nEngine turned off due to less number of eye blinks.\n");
}
printf("\nEnter 1 if alcohol detected or 0 if not: ");
scanf("%d",&alcohol);
if(alcohol==1)
{printf("\nEngine turned off due to detection of alcohol.\n");
}
printf("\nEnter YES if the vehicle has met with an accident or NO if not: ");
for(int j=0; j<=2; j++)
{scanf("%ch", &accident[j]);
}
if(accident =="YES")
{printf("\nEngine has been turned off. Alert message has been sent to the registered emergency contacts.\n");
}
return 0;
}

14
Output:

15
CHALLENGES AND COMPLEXITIES
Learning a new coding interface, learning the functionality and code flow for every
component used, integrating these components to work as a single unit.

Accuracy problems of GPS device in providing exact live location and inorder to
monitor the eye blink of driver, he or she must always wear spectacles which is
embedded with sensors which is a challenge.

Economic damage- Even in a small, low impact crash of as little as 10 miles/hour,


your airbag can deploy

Integrating
Since vehicle’sinengine
data is secured control
the cloud, with
linking theour parameters(Eg:
data Eyearises
is essential but this blink sensor, alcohol
sensor etc.).
financial credentials.

16
WORK COMPLETED
Literature survey - completed

Finalization of the topic - completed

Software learning - work in progress

Code implementation – work in progress

Simulation using proteus software-yet to be done.

Hardware assembly- yet to be done.

17
THANK YOU

18

You might also like