Professional Documents
Culture Documents
Abstract
1.1 Introduction
1.2 Objectives
3. Design Methodology
4. Component list
5. Implementation of System
5.3 Result
5.4 Advantages
5.5 Disadvantages
Conclusion
References
5
INTRODUCTION
1.1 Introduction
1.2 Objectives:
6
Goals:
The goal of this project is to develop a system that can detect the
sleepiness of the driver and make alarms accordingly. There will be a
Kinect camera that constantly takes image of driver, a beagle board
that implement image processing algorithm, and a feedback circuit
that could generate alarm and a power supply system.
7
CHAPTER 2
1. Historical Development:
The concept of anti-sleep alarms dates back to the early 20th century
when simple mechanical devices were employed to detect driver fatigue.
Over the years, advancements in technology have led to the
development of sophisticated electronic systems capable of monitoring
physiological and behavioral indicators of sleepiness.
2. Physiological Monitoring:
3. Behavioral Indicators:
8
Another avenue of research focuses on analyzing behavioral cues
associated with drowsiness. This includes monitoring steering behavior,
lane deviation, and response times to external stimuli. Recent studies have
demonstrated promising results in utilizing machine learning algorithms to
interpret these behavioral indicators, leading to more accurate and timely
alarms.
4. Human-Computer Interaction:
9
2.2 Problem definition
10
2.3 Need and scope of Project
11
CHAPTER 3
Design Methodology
3.1 Block Diagram
12
3.2 CIRCUIT DIAGRAM
13
CHAPTER 4
COMPONENT LIST
4.1 Hardware Details
Using an Arduino Uno for an anti-sleep alarm is a great choice due to its versatility but
it is big in size and its heavy. Arduino UNO is a low-cost, flexible, and easy-to-use
programmable open-source microcontroller board that can be integrated into a variety
of electronic projects. When the driver's eyes are closed for an extended period
(indicative of drowsiness), the alarm will be activated.
where space constraints are critical, making it suitable for projects with
Because of all this features of Arduino Pro mini, we first run the code in
Arduino Uno and after doing some connections Arduino Uno to Arduino Pro
14
4.1.2 IR Sensor:
IR sensor is an electronic device that emits the light in order to sense some
object of the surroundings. An IR Sensor can measure the heat of an object
as well as detects the motion. Usually, in the Infrared spectrum all the
objects radiate some form of thermal radiation. These types of radiations
are invisible to our eyes, but infrared sensor can detect these radiations.
The emitter is simply an IR LED and the detector is simply an IR
photodiode. When IR light falls on the photodiode, the resistances and the
output voltages will change in proportion to the magnitude of the IR light
received.
4.1.3 BUZZER:
The buzzer produces sound based on reverse of the electric effect. The
generation of pressure variation or strain by the application of electric
potential across a electric material is the underlying principle. This buzzer
can be used alert a user of an event corresponding to a switching action,
counter signal or sensor input. They are also used in alarm circuits. The
buzzer produces a same noisy sound irrespective of the voltage variation
applied to it.
15
4.1.4 Eye Glasses / Spectacles:
The eye blink system comes with an IR sensor mounted on glasses which
the user can wear like regular glasses, shown in the picture below. Eye
blink Sensor is a relatively simple sensor used to detect eye blinks. It uses
a simple infrared sensor to detect if the person's eye is closed and the
corresponding data received can further be processed by any logic as
required for the application.
16
4.1.6 SPST SWITCH:
SPST Single pole single throw switch is nothing but a simple two-terminal
switch which help us to disconnect the one terminal to another terminal
(vice versa– ON or OFF operation.
4.1.7TRANSISTOR:
BC547 is a bipolar junction transistor (BJT). It is kind of an NPN transistor. It
has three terminals: Emitter, Collector and Base. The maximum current gain
of BC547 is 800A.
17
4.2 Software Details
18
CHAPTER 5
Implementation of System
5.1 Hardware Implementation
Connected all the Components as Shown in above
Circuit Diagram.
Computer.
a 9V Battery.
19
5.2 Software Implementation
The Arduino Pro Mini is a compact and versatile microcontroller board based on the
ATmega328P microcontroller. It is designed for applications where space constraints are
critical, making it suitable for projects with limited physical space.
Because of all this features of Arduino Pro mini, we first run the code in Arduino Uno and after
doing some connections Arduino Uno to Arduino Pro mini code is being upload
int Buz = 3;
void setup()
Serial.begin(9600);
pinMode(Sinput, INPUT);
pinMode(Buz, OUTPUT);
pinMode(LED, OUTPUT);
void loop()
20
Serial.print(digitalRead(Sinput));
if(digitalRead(Sinput)==LOW)
delay (2000);
digitalWrite(LED, HIGH);
digitalWrite(Buz, HIGH);
else
if(digitalRead(Sinput)==HIGH)
digitalWrite(Buz, LOW);
digitalWrite(LED, LOW); } }
21
5.3 Result
Figure
4.2:
Image
of the
output
of the Project
• The project is used to detect the the Eye-blink or closing the eyes of a
person, if eyes closed for a while. The buzzer automatically turns ON, when
the person come back to his normal State. The buzzer goes OFF.
22
ADVANTAGES:
1. It is used to avoid the accidents.
3. The Device is useful especially for people who travel long distance and
Drive late at night.
4. Using this Device helps the driver to wake up when he/she asleep while
Driving.
DISADVANTAGES:
1.Device may not work when the system circuitry fails.
2. Yawning repeatedly or rubbing the eyes may get the circuit ON.
23
CHAPTER 6
Application and Future Scope
Application:
1.Eyelid distance tracking to detect the Sleepiness.
4. Not only for Drivers but also, the device is used in number of ways like,
ATM Guard Security, Military Base Security, bank Security and so on.
Future Scope:
Though the prototype model worked very efficient with remarkable output,
the real life situations is going to be way more challenging and demanding.
This system is an attempt to help in decreasing and/or prevent road
accidents that happen due to drivers’ drowsiness. Using our Anti Sleep
Alarm System the drivers will be benefited and be alert while driving with a
low price. We believe that our model has lots of societal impact which will
reduce the accidents. In future we will use small micro camera which will
replace the eye sensor and will incorporate GPS module in the device to
track the location of the driver. Since the price is very affordable, we have a
plan to marketing it in future. It can be added to every high-end
manufacturing cars to prevent accidents. Due to portable size it can be
used in different applications.
24
CONCLUSION:
This Project “ANTI-SLEEP ALARM FOR DRIVERS” is successfully
designed, and tested and demo unit is fabricated. The goal of this project is
to develop a device that can accurately detect sleepy driving and make
alarms accordingly, which aims to prevent the drivers from drowsy driving
and create a safer driving environment.The project was accomplished by
an IR sensor. This system detects the drowsiness in quickly. This system
which can differentiate normal eye blink and drowsiness can prevent the
driver from entering the state of sleepiness while driving. Whenever a driver
asleep due to drowsiness, the buzzer continuously starts beeping
unlessthe driver gets back to his/her normal position. The ultimate goal of
the system is to prevent the road accident, where the values measured in
life.
25
REFERENCES:
[1]https://nevonprojects.com/driver-anti-sleepdevice/https://
www.academia.edu/34469825/
A_Survey_Paper_On_Drowsiness_Detection_and_Alarm_System_for_Driv
ers.
[5] P. D. Minns, C Programming for the PC the MAC and the Arduino
Microcontroller System. Author House,2013.
26