Professional Documents
Culture Documents
Design and Development of Iot Based Smart Safety System For Automotive Application
Design and Development of Iot Based Smart Safety System For Automotive Application
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
MEMS Sensor
4
PICTORIAL REPRESENTATION:
5
Algorithm for overspeeding:
start
FALSE
Driver is within the
If temp >125 ? speed limit
TRUE
stop
6
Algorithm for alcohol detection
start
If alcohol
FALSE No msg is
detected sent
in sensor ?
TRUE
stop
7
Algorithm for checking seat belt
start
stop
8
Algorithm for accident detection
start
TRUE
stop
9
Final Algorithm: Start
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
FALSE
11
If car FALSE
met with
accident
?
TRUE
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.
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
17
THANK YOU
18