vechicle accident prevention using eye bilnk sensor ppt

23
VEHICLE ACCIDENT PREVENTATION USING EYE BLINK SENSOR PROJECT GUIDE D.KISHORE M.Tech(Ph.D)

Upload: satish-486

Post on 24-Dec-2014

21.644 views

Category:

Education


60 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Vechicle accident prevention using eye bilnk sensor ppt

VEHICLE ACCIDENT PREVENTATION USING EYE

BLINK SENSOR

PROJECT GUIDE

D.KISHORE M.Tech(Ph.D)

Page 2: Vechicle accident prevention using eye bilnk sensor ppt

ABSTRACT

Accidents are increasing at a large pace, and various technologies are being introduced to reduce the accidents.

In this project we provide by means of accident prevention using eye blink where as the vehicle is stopped immediately and intimated wherever needed.

Page 3: Vechicle accident prevention using eye bilnk sensor ppt

OVERVIEW

INTRODUCTION BLOCK DIAGRAM OF TRANSMITTER BLOCK DIAGRAM OF RECEIVER MICROCONTROLLER PIN DESCRIPTION EYE BLINK SENSOR AND COMPARATOR CIRCUIT RF COMMUNICATION ENCODER AND DECODER MOTOR POWER SUPPLY UNIT LCD DISPLAY LCD INTERFACING SOFTWARE SED PROGRAM CONCLUSION FUTURE SCOPE

Page 4: Vechicle accident prevention using eye bilnk sensor ppt

INTRODUCTION

Vehicle accidents are most common if the driving is inadequate.

Driver drowsiness is recognized as an important factor in the vehicle accidents.

This project involves measure and controls the eye blink using IR sensor. The IR transmitter is used to transmit the infrared rays in our eye.

Page 5: Vechicle accident prevention using eye bilnk sensor ppt

POWER SUPPLY UNIT

Page 6: Vechicle accident prevention using eye bilnk sensor ppt

BLOCK DIAGRAM OF TRANSMITTER

Microcontroller AT89S52

EYE Blink Sensor

comparator Encoder

RF Transmitte

r

Page 7: Vechicle accident prevention using eye bilnk sensor ppt

BLOCK DIAGRAM OF RECEIVER

Microcontroller AT89S52

Buzzer

DC MotorRF

Receiver

Decoder

LCD Display

Page 8: Vechicle accident prevention using eye bilnk sensor ppt

MICROCONTROLLER(AT89S52)

Pin Diagram

Page 9: Vechicle accident prevention using eye bilnk sensor ppt

Pin Desciption

Low power, high performance CMOS 8 bit microcontroller. 8K bytes of Flash, 256 bytes of RAM, 32 I/O lines two data

pointers, three 16-bit timer/counters, a six-vector two-level

interrupt architecture

VCC PSEN

GND EA/VPP

PORT 0 XTAL1

PORT 1 XTAL2

PORT 2

PORT3

RST

ALE/PROG

Page 10: Vechicle accident prevention using eye bilnk sensor ppt

RF COMMUNICATION

Page 11: Vechicle accident prevention using eye bilnk sensor ppt

RF COMMUNICATION

TRANSMITTER:

• Low Cost• 1.5-12V operation• Small size

• operates at 4.5 to 5.5 volts

RECEIVER:

Page 12: Vechicle accident prevention using eye bilnk sensor ppt

ENCODER &DECODER

Page 13: Vechicle accident prevention using eye bilnk sensor ppt

MOTOR (L293D)

L293D Pin description Logic Diagram

Functional description

Page 14: Vechicle accident prevention using eye bilnk sensor ppt

POWER SUPPLY UNIT

Page 15: Vechicle accident prevention using eye bilnk sensor ppt

LCD DISPLAY

• LCD display consists of two lines, 20 characters per line.• 3 control lines and 8 I/O lines. - 8 data pins D7:D0

- RS:  Register Select- R/W: Read or Write-  E: Enable (Latch data)

Page 16: Vechicle accident prevention using eye bilnk sensor ppt

LCD INTERFACING

Page 17: Vechicle accident prevention using eye bilnk sensor ppt

SOFTWARE USED

Keil compiler is the software used where the machine language code is written and compiled.

The machine source code is converted into hex code, this hex code is dumped into the microcontroller for further processing.

Page 18: Vechicle accident prevention using eye bilnk sensor ppt

PROGRAM

 #include<reg51.h>

//#include<lcd.h>

sbit s1=P1^4;

sbit s2=P1^5;

sbit s3=P1^6;

sbit s4=P1^7;

sbit r1=P1^0;

sbit r2=P1^1;

sbit r3=P1^2;

sbit r4=P1^3;

sbit rs=P3^7;

sbit en=P3^6;

void delay(unsigned int ch) //delay function

{

unsigned int i=0,j=0;

for(i=0;i<=ch;i++)

{ for(j=0;j<=i;j++)

{

}

}

}

void clcd(unsigned char ch)

{

P2=ch;

rs=0; en=1; delay(15); en=0;

}

Page 19: Vechicle accident prevention using eye bilnk sensor ppt

void dlcd(unsigned char ch){ P2=ch; rs=1; en=1; delay(15); en=0; }void stringlcd(unsigned char ch,unsigned char *chrt) { unsigned int ix=0; if(ch==0x80) clcd(0x01); clcd(ch); for(ix=0;chrt[ix]!='\0';ix++) { dlcd(chrt[ix]);

} }

void initlcd() { clcd(0x38); clcd(0x0e); clcd(0x06); clcd(0x01); clcd(0x80);◦ } 

void main(){P1=0x00;initlcd();stringlcd(0x80,"hai");

Page 20: Vechicle accident prevention using eye bilnk sensor ppt

while(1){ 

if(s1==0) //front{r1=1;r2=0;r3=1;r4=0;stringlcd(0xc0,"front ");}else if(s2==0){r1=0;r2=1;r3=0;r4=1;stringlcd(0xc0,"back ");}

else if(s3==0){r1=1;r2=0;r3=0;r4=1;stringlcd(0xc0,"left "); }else if(s4==0){r1=0;r2=1;r3=1;r4=0;stringlcd(0xc0,"right ");}else {r1=0;r2=0;r3=0;r4=0;stringlcd(0xc0,"stopped ");}delay(300);

}}

                     

Page 21: Vechicle accident prevention using eye bilnk sensor ppt

CONCLUSION

Reduce the number of accidents.It is also used for security alerts where 24

hours surveillance is required.

Page 22: Vechicle accident prevention using eye bilnk sensor ppt

FUTURE SCOPE

This is extended with alcoholic detection also.

If the person took alcohol who is driving then the vehicle will be stopped immediately by giving alarm .s

Page 23: Vechicle accident prevention using eye bilnk sensor ppt

THANK YOU