Presentation is loading. Please wait.

Presentation is loading. Please wait.

VEHICLE ACCIDENT PREVENTATION USING EYE BLINK SENSOR PRESENTED BY LAKSHMY PREMARAJAN ASHIKA K VARGHESE AKHILA S KUMAR.

Similar presentations


Presentation on theme: "VEHICLE ACCIDENT PREVENTATION USING EYE BLINK SENSOR PRESENTED BY LAKSHMY PREMARAJAN ASHIKA K VARGHESE AKHILA S KUMAR."— Presentation transcript:

1 VEHICLE ACCIDENT PREVENTATION USING EYE BLINK SENSOR PRESENTED BY LAKSHMY PREMARAJAN ASHIKA K VARGHESE AKHILA S KUMAR

2  INTRODUCTION  BLOCK DIAGRAM  WORKING  FLOW CHART  PROGRAM  CIRCUIT DIAGRAM  COMPONENTS USED POWER SUPPLY PIC MICROCONTROLLER EYE BLINK SENSOR RELAY DC MOTOR BUZZER LCD DISPLAY  PCB LAYOUT  SOFTWARE USED  ADVANTAGES  LIMITATIONS  RESULT  FUTURE SCOPE  CONCLUSION  REFRENCES

3  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.

4 Microcontroller PIC Buzzer DC Motor Eye blink sensor Comparator

5  The eye-blink sensor illuminats the eye with infrared light, monitoring the changes in the reflected light  The output is active high for Eye close and can be given directly to microcontroller for interfacing applications.  Consequently a buzzer is activated in order to wake the driver.  The motor of the vehicle is slowed down through a relay switch so as to prevent impending accident

6

7 #include #define MOTOR RC2 #define BUZZER RC3 #define RS RB7 #define EN RB6 #define LCD_D0 RB5 // lcd's msb nibble 0 #define LCD_D1 RB4 // lcd's msb nibble 1 #define LCD_D2 RB3 // lcd's msb nibble 2 #define LCD_D3 RB2 // lcd's msb nibble 3

8 void init(void){ INTCON= 0b01010000; TRISD= 0b10011100; TRISC= 0b10110011; TRISA= 0b11111111; TRISB= 0b00000011; T2CON= 0b01100110; } void interrupt my_isr(void) { if((INTE)&&(INTF)) { Eyeblink++; time=10; INTF=0; }

9 if((TMR2IE)&&(TMR2IF)) { Count++; if(Count==40) { Seconds--; Count=0; } TMR2IF=0; } //-------------------------- void main(void) { init(); DelayMs(100); BUZZER=0; MOTOR=1; lcd_init();

10 lcd_puts(" eye blink based",1,0); lcd_puts(" vehicle control",2,0); DelaySec(2); while(1) { lcd_puts(" Eye Blink ",1,0); lcd_puts(" sensing.... ",2,0); time=10; while(time) { lcd_displaynum2(0xCD,time); time--; DelayMs(250); DelayMs(100); }

11 lcd_puts("Driver slept!! ",1,0); lcd_puts(" Speed Down... ",2,0); MOTOR=0; BUZZER=1; DelaySec(1); while(time!=10); MOTOR=1; BUZZER=0; }

12

13 The main components usedin this project are  PIC Microcontroller  Eye Blink Sensor  Relay  DC Motor  LCD Display  Buzzer

14 Components in PCB

15

16 Pin Diagram

17 PIC microcontrollers are based on RISC architecture. (RISC -Reduced Instruction Set Computing). Harvard architecture 16 bit microcontroller PIC –Peripheral interface controller

18 8K Program memory 40 pin with 33 input /output pin PORTS-A,B,C,D,E PORTS are configured as input output pins Configured using TRIS REGISTERS Operating frequency 20 MHz Economically feasible

19

20  indication by EYE BLINK LED  Instant output digital signal for directly Connecting to microcontroller  Compact Size  Working Voltage +5V DC

21  an electromagnetic switch  allow current to flow between 2 points thereby closing the circuit.

22 L293D Pin description LOGIC CIRCUIT Functional description

23  L293D is a dual motor driver integrated circuit (IC).  act as current amplifiers. This higher current signal is used to drive the motors.  L293D contains two inbuilt driver circuits.  In common mode of operation, two DC motors can be driven simultaneously, both in forward and reverse direction.  Enable pins 1 and 9 (corresponding to the two motors) must be high for motors to start operating.

24  A signaling device, usually electronic, typically used in automobiles, household appliances.  Usually illuminates a light on the appropriate button or control panel.  Sounds a warning in the form of a continuous or intermittent buzzing or beeping sound.

25  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)

26

27

28  MikroC is a powerful, feature rich development tool for PIC microcontrollers.  ProvideS the programmer with easiest possible solution for developing applications for embedded systems, without compromising performance or control.

29 The prime purpose is to provide safety measures.  It is used for Automatic parking.  It can be used in wireless technology.  The eye blink module of this project can be separately used for RFID detection in global industries.  It can be used in image processing application by mera module

30

31  Development of this kind of model reduces the risk of road accidents  After complete research and development of this project, it can be implemented on every vehicle in the industry thus increasing safety on roads.  Drivers who have been driving for long hours wouldn’t have to worry even if they fall asleep suddenly and therefore passengers are also safe.

32  Development of a hybrid microcontroller for a vehicle which also consists of an alcohol detector which will sense if the driver is drunk and would not start the vehicle.  If the person who is driving takes alcohol then the vehicle will be stopped immediately by giving alarms.

33  A complete study on road safety is going to be the next boom in the automobile industry for it to flourish and survive as every human being wants to be safe with all the comforts at the same time  Reduce the number of accidents.  It is also used for security alerts where 24 hours surveillance is required.

34  “IMPROVED DRIVER FATIGUE DETECTION SYSTEM BASED ON EYE TRACKING AND DYNAMIC TEMPLATE MATCHING” by Wenn-Bing Horng and Chih-Yuan Chen,Department of Computer Science and Information Engineering,Tamkang University,Taipei,Tatwan  Muhammad ali mazidi - microcontroller and embedded systems  International journal of emerging technology and advanced engineering website: www.ijetae.com (issn 2250-2459, iso 9001:2008 certified journal, volume 3, issue 5, may 2013)  http://en.wikipedia.org/wiki/Stepper_motor

35 THANK YOU


Download ppt "VEHICLE ACCIDENT PREVENTATION USING EYE BLINK SENSOR PRESENTED BY LAKSHMY PREMARAJAN ASHIKA K VARGHESE AKHILA S KUMAR."

Similar presentations


Ads by Google