0% found this document useful (0 votes)
36 views21 pages

Accident Detection Updated

This document describes an accident detection and vehicle tracking project using an 8051 microcontroller. The project aims to create a system that can detect vehicle accidents using sensors and track locations in real-time using GPS. The 8051 microcontroller will process sensor and GPS data, make decisions, and facilitate alerts. The goals are to accurately detect accidents, allow real-time tracking, and efficiently integrate the 8051 microcontroller to enhance road safety.

Uploaded by

Jessi Hanna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views21 pages

Accident Detection Updated

This document describes an accident detection and vehicle tracking project using an 8051 microcontroller. The project aims to create a system that can detect vehicle accidents using sensors and track locations in real-time using GPS. The 8051 microcontroller will process sensor and GPS data, make decisions, and facilitate alerts. The goals are to accurately detect accidents, allow real-time tracking, and efficiently integrate the 8051 microcontroller to enhance road safety.

Uploaded by

Jessi Hanna
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 21

Department of ECE

COURSE: PROCESSORS AND CONTROLLERS


COURSE CODE:22EC2106
ACCIDENT DETECTION AND VEHICLE TRACKING
USING 8051 MICROCONTROLLER

KATEPALLI POOJA - 2200040184


G. JESSI HANA - 2200040248
TEJA SREE - 2200030803
CREATED BY K. VICTOR BABU
CREATED BY K. VICTOR BABU
AIM OF THE PROJECT

• Aim: Create a system that can detect vehicle accidents and track their real-time locations.
• Components: Use sensors for accident detection, such as collisions, and GPS technology for
vehicle tracking.
• Microcontroller: Utilize the 8051 microcontroller as the central processing unit.
• Functions: Manage sensor data, make decisions, and facilitate alerts and notifications.
• Additional Aspects: Design a user interface, implement data storage, optimize power usage,
conduct testing, documentation, and ensure safety and legal compliance.
• Overall Objective: Develop a comprehensive solution to enhance road safety and vehicle
tracking.

CREATED BY K. VICTOR BABU


PROJECT OBJECTIVES

This Session is designed to:


1. .Detect Accidents: This project is designed to develop a system capable of accurately detecting
vehicular accidents or collisions by analyzing sensor data, including accelerometers and
gyroscopes.

2. Real-time Vehicle Tracking: The primary objective is to implement a real-time vehicle tracking
system using GPS technology, allowing for precise location monitoring of vehicles at all times.

3. 8051 Microcontroller Integration: The project aims to integrate and program the 8051
microcontroller to process data from sensors and GPS modules efficiently, ensuring seamless
communication and control.

4. Data Analysis and Decision-making: This session is designed to enable the microcontroller to
analyze sensor and GPS data in real-time and make decisions based on predefined criteria,
such as accident severity or tracking updates, any many more to come.

CREATED BY K. VICTOR BABU


PROJECT OUTCOMES

Accurate Accident Detection: A system capable of accurately detecting vehicle accidents using
sensors.

Real-time Vehicle Tracking: Implementation of real-time GPS-based vehicle tracking.

Efficient 8051 Microcontroller Integration: Successful integration of the 8051 microcontroller for
data processing and control.

Effective Alerts and Notifications: An alert system for notifying relevant parties during accidents
or specific events.

Improved Road Safety and Tracking: Enhancements in road safety and vehicle tracking for
various applications like fleet management and emergency response.

CREATED BY K. VICTOR BABU


CREATED BY K. VICTOR BABU
PROJECT INTRODUCTION

 This project aims to create a comprehensive system capable of both detecting vehicle accidents and
tracking their real-time locations.

 The system employs sensors to identify accidents, particularly collisions, and utilizes GPS technology to
continuously monitor the precise locations of vehicles.

 Central to the project is the use of the 8051 microcontroller, serving as the core processing unit,
responsible for managing data from sensors, making real-time decisions, and facilitating timely alerts
and notifications in case of accidents or predefined events.

 Additional project components include the development of a user-friendly interface, efficient data
storage, power management, rigorous testing, thorough documentation, and adherence to safety and
legal standards.

 The ultimate goal of this project is to provide a comprehensive solution that enhances road safety and
offers improved vehicle tracking capabilities for various applications.

CREATED BY K. VICTOR BABU


PROJECT DESCRIPTION

 The project's primary objective is to develop a multifunctional system capable of detecting vehicle
accidents and tracking their real-time locations.

 To achieve this, the system incorporates sensors for accident detection, specifically collisions, and utilizes
GPS technology for continuous monitoring of vehicle positions.

 At the heart of the system is the 8051 microcontroller, serving as the core processing unit. It manages
sensor data, makes real-time decisions, and facilitates alerts and notifications in case of accidents or
predefined events.

 Additional project aspects encompass user interface design, efficient data storage, power management,
comprehensive testing, meticulous documentation, and strict adherence to safety and legal standards.

 The overarching aim of the project is to provide a comprehensive solution that enhances road safety and
delivers enhanced vehicle tracking capabilities for a multitude of applications.

CREATED BY K. VICTOR BABU


BLOCK DIAGRAM

CREATED BY K. VICTOR BABU


CIRCUIT DIAGRAM

CREATED BY K. VICTOR BABU


HARDWARE & SOFTWARE REQUIREMENTS

Hardware Requirements: Software Requirements:

8051 Development board Embedded C or Assembly Language

LCD Module Integrated Development Environment (IDE)

GSM Module GPS Parsing Software

Force and impact sensor User Interface Software

Power Supply Database Management Software

Buzzer Testing and Simulation Tools

External Components Documentation Tools

Version Control Software

Safety and Compliance Software

CREATED BY K. VICTOR BABU


CODE
#include<reg51.h> display(" VIBRATION: NO ");
#include"GSM.h" buzzer=1;
#include"LCD.h" while(1) {
#define NUMBER1 "9876543210" //Enter the if(vib==1) {
mobile number buzzer=0;
#define NUMBER2 "0123456789" comwrt(0x80);
#define NUMBER3 "1111111111" display("VIBRATION DETECT");
sbit vib = P3^2; comwrt(0xC0);
sbit buzzer = P0^0; display(" VIBRATION: YES ");
void main() for(r=0;r<30000;r++);
{ for(r=0;r<30000;r++);
unsigned int r; comwrt(0x80);
init_serial(); display("SENDING MSG.....");
LCD_initialise(); sendSMS(NUMBER1,"ACCIDENT DETECTED");
comwrt(0x80); sendSMS(NUMBER2,"ACCIDENT DETECTED");
display("INITIALISING...."); sendSMS(NUMBER3,"ACCIDENT DETECTED");
for(r=0;r<60000;r++); comwrt(0xC0);
comwrt(0x80); display(" MSG SENT ");
display("GSM ACCIDENT DET"); for(r=0;r<30000;r++);
comwrt(0xC0); for(r=0;r<30000;r++);
for(r=0;r<30000;r++);

CREATED BY K. VICTOR BABU


comwrt(0x80); {
display("CALLING........."); buzzer=1;
call(NUMBER1); comwrt(0xC0);
call(NUMBER2); display(" VIBRATION: NO ");
call(NUMBER3); }
comwrt(0x80);
display("GSM ACCIDENT DET"); }
} }
else LCD.H
{ #define LCDDATA P1
buzzer=1; #define DELAY for(i=0;i<1200;i++)
comwrt(0xC0); sbit RS = P2^0;
display(" VIBRATION: NO "); sbit RW = P2^1;
} sbit EN = P2^2;
void comwrt(unsigned char);
} void datawrt(unsigned char);
} void LCD_initialise();
LCD.H void display(unsigned char *str);
} void LCD_initialise()
else }

CREATED BY K. VICTOR BABU


{ unsigned int i;
unsigned int i,j; LCDDATA=dat;
int com[5]={0x38,0x0C,0x01,0x06,0x80}; RS = 1;
for(j=0;j<=4;j++) { RW = 0;
comwrt(com[j]); EN = 1;
DELAY; DELAY;
} EN = 0;
} }
void comwrt(unsigned char dat) void display(unsigned char *str)
{ {
unsigned int i; int i;
LCDDATA=dat; for(;*str!=0;str++) {
RS = 0; datawrt(*str);
RW = 0; DELAY;
EN = 1; }
DELAY; }
EN = 0; GSM.H
} code unsigned char SMS1[2] = "AT" ;
void datawrt(unsigned char dat) code unsigned char SMS2[9] = "AT+CMGF=1" ;
{ code unsigned char SMS3[8]= "AT+CMGS=" ; //
send "code unsigned char SMS4[3]= "ATD" ; //
send "

CREATED BY K. VICTOR BABU


code unsigned char SMS5[3]= "ATH" ; // send " for(;*num!=0;num++)
void sendSMS(unsigned char *num , unsigned sendserial(*num);
char *msg); sendserial(0x22); // "
void delay1(unsigned int tim); sendserial(0X0D);
void sendserial(unsigned char mydata1); delay1(60);
void call(unsigned char *num1);
unsigned char i; for(;*msg!=0;msg++)
void sendSMS(unsigned char *num , unsigned sendserial(*msg);
char *msg) sendserial(0X1A);
{ delay1(80);
for (i=0;i<2;i++) }
sendserial(SMS1[i]); }
sendserial(0X0D); void call(unsigned char *num1)
delay1(60); {
for (i=0;i<9;i++) for (i=0;i<2;i++)
sendserial(SMS2[i]); sendserial(SMS1[i]);
sendserial(0X0D); sendserial(0X0D);
delay1(60); delay1(60);
for (i=0;i<8;i++) for (i=0;i<9;i++)
sendserial(SMS3[i]); sendserial(SMS2[i]);
sendserial(0x22); // " sendserial(0X0D);
delay1(60);

CREATED BY K. VICTOR BABU


for (i=0;i<3;i++)
sendserial(SMS4[i]);

for(;*num1!=0;num1++)
sendserial(*num1);
sendserial(0x3b);
sendserial(0X0D);
delay1(80);
delay1(600);
for (i=0;i<3;i++)
sendserial(SMS5[i]);
delay1(80);
}
void delay1(unsigned int tim)
{
unsigned int h;
for(h=0;h<=tim;h++) {
TMOD=0X21;
TH0=0x4B;
TL0=0xFD;
TR0=1;
while(TF0==0);
TF0=0;

CREATED BY K. VICTOR BABU


SBUF= mydata1;
while(TI==0);
}
void init_serial()
{
SCON=0x50;
TMOD=0x21;
TH1=0xFD;
TL1=0xFD;
TR1=1;
}

CREATED BY K. VICTOR BABU


FUTURE SCOPE & ITS APPLICATIONS

 This system can be interfaced with the vehicle airbag system that prevents vehicle occupants from
striking the interior objects such as steering wheel or windows.

 This can also be developed by interconnecting a camera to the microcontroller module that takes the
photograph of the accident spot that makes tracking easier.

CREATED BY K. VICTOR BABU


TEAM MEMBERS DETAILS

KATEPALLI POOJA - 2200040184 - Reasearch, PPT


G. JESSI HANNA - 2200040248 - Reasearch into components required
TEJA SREE - 2200030803 - Software required research

CREATED BY K. VICTOR BABU


REFERENCES OF THE PROJECT

Reference Books:
https://embetronicx.com/projects/8051-projects/accident-detection-and-alerting-system-using-8051-
microcontroller/

Sites and Web links:

https://www.academia.edu/77736870/
Microcontroller_8051_Based_Accident_Alert_System_Using_MEMS_Accelerometer_GPS_and_GSM_Technology

CREATED BY K. VICTOR BABU


THANK YOU

22EC2106 – Processors and Controllers

CREATED BY K. VICTOR BABU

You might also like