0% found this document useful (0 votes)
2K views33 pages

Visvesvaraya Technological University, Belagavi: "Anti Sleep Alarm For Drivers and Engine Cutoff"

This document is a mini project report submitted to Visvesvaraya Technological University that details the development of an "Anti sleep alarm for drivers and engine cutoff" system. The system aims to detect signs of driver drowsiness or fatigue in real-time using sensors and alert the driver to prevent potential accidents. If the driver fails to respond to the alarm and continues exhibiting extreme fatigue, the system will automatically disable the engine to safely stop the vehicle. The report includes an acknowledgment, abstract, table of contents, introduction explaining the need for the system, literature review of previous related works, methodology detailing the system design and implementation, results and discussion, advantages and disadvantages, and conclusions and future scope.

Uploaded by

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

Visvesvaraya Technological University, Belagavi: "Anti Sleep Alarm For Drivers and Engine Cutoff"

This document is a mini project report submitted to Visvesvaraya Technological University that details the development of an "Anti sleep alarm for drivers and engine cutoff" system. The system aims to detect signs of driver drowsiness or fatigue in real-time using sensors and alert the driver to prevent potential accidents. If the driver fails to respond to the alarm and continues exhibiting extreme fatigue, the system will automatically disable the engine to safely stop the vehicle. The report includes an acknowledgment, abstract, table of contents, introduction explaining the need for the system, literature review of previous related works, methodology detailing the system design and implementation, results and discussion, advantages and disadvantages, and conclusions and future scope.

Uploaded by

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

VISVESVARAYA TECHNOLOGICAL UNIVERSITY,

Belagavi

MINI PROJECT WORK REPORT ON


“Anti sleep alarm for drivers and engine cutoff”

Submitted By

Adarsha Nadiger 4JN20EE002


Darshan K J 4JN20EE012
Darshan K Y 4JN20EE013
Kedareshwara Swami K C 4JN20EE021

Under the Guidance of


Prof. MAHESHWARAPPA H M
Assistant Professor
Dept . of EEE

Department of Electrical and Electronics Engineering


JAWAHARLAL NEHRU NEW COLLEGE OF ENGINEERING
SHIVAMOGGA – 577204

Page | 1
Page | 2
ACKNOWLEDGEMENT
Firstly, we would like to express our sincere gratitude to the almighty for his solemn
presence throughout the project work.

We express our sincere gratitude to Dr. Thejaswi A. H., Professor, Head of the
Electrical and Electronics Engineering Department for providing us with adequate
facilities, ways and means by which we are able to complete this Mini project work.

We are deeply indebted to our Mini-Project coordinator Mr. Vidyashankar M


Assistant Professors, Department of Electrical and Electronics Engineering for providing
us with valuable advice and guidance during the course of the study.

We would like to express a deep sense of gratitude and thanks profusely to our
Mini-project guide Mr/Mrs. . Maheshwarappa H M, Assoc/Asst. prof. Department
of Electrical and Electronics engineering for her/his proper guidance and valuable
suggestions. Without her/his wise counsel and able guidance, it would have been
impossible to complete the project work in this manner.

Also, we would also like to express our sincere gratitude and special thanks to
the principal Dr. K Nagendra Prasad and Dean Academic Dr. P Manjunatha for
providing an opportunity to carry out this Mini-project work.

We would like to extend our heartfelt gratitude to the staff of Department of


Electrical and Electronics Engineering for their constructive support and co-operation
at each and every juncture of the project work.

Finally, we would also like to express our gratitude to Jawaharlal Nehru New
College of Engineering for providing us with all the required facilities without which the
project work would not have been possible.

Project associates,
Name 1: Adarsha Nadiger 4JN20EE002
Name 2: Darshan K J 4JN20EE012
Name 3: Darshan K Y 4JN21EE013
Name 4: Kedareshwara Swami K C 4JN21EE021

Page | 3
Abstract :

There has been a very large increase in road accident due to


drowsiness of driver while driving which leads to enormous fatal
accidents .The driver lose his control when he falls sleep which leads
to accident .This is because when the driver is not able to control his
vehicle at very high speed on the road. This project can generate a
model which can prevent such accidents.

As such, there is a high demand for cheap and efficient driver sleep
detection. Therefore, we came up with an idea and successfully
developed a sleepy detection and alarming system, which could
effectively meet this demand.

Page | 4
TABEL OF CONTENTS
ACKNOWLEDGEMENT
ABSTRACT
LIST OF FIGURE
LIST OF TABELS

Chapter 1: Introduction………………………………………………………………………………………............6
General introduction/theoretical background etc..
Chapter 2: Literature survey………………………………………………………………7
2.1 problem Statement…………………………………………………………….8
2.2 Objectives……………………………………………………………………………………………………9
Chapter 3: Methodology…………………………………………………………………10
3.1 circuit diagram /block diagram ………………………………………...11-16
3.2 Design and Implementation ……………………………………………..17-18
Includes all software details /flowchats
3.3 Code used for aruino………………………………………….…………19-22
3.4 Output of the project ………………………………………………………..23
Chapter 4: Results and Discussions……………………………………………………...24
All results are discussed
Chapter 5: Advantages and disadvantages……………………………………………25-27
Chapter 6: Conclusion and Future Scope
6.1 Application ……………………………………………………………………28
6.2 Conclusion …………………………………………………………………….29
6.3 Future scope…………………………………………………………………..30
6.4 Reference……………………………………………………………………...31

Page | 5
Chapter 1

INTRODUCTION
In this mini project we proposed a ………………………………...
❖ The goal of this project is to develop a system 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 car accident is the leading cause of death, killing around 1.3 million
people each year. Most of these accidents are caused by driver distraction
or drowsiness. Drowsiness decreases the driver's concentration, activity,
alertness, and alertness, and causes the driver to make slow decisions and
sometimes not make decisions. Drowsiness affects mental alertness and
reduces the driver's ability to drive a vehicle safely and increases the risk
of human error, which can lead to death and injury .

The error rate for the driver had decreased. Countless people drive long
distances on the road day and night. Lack of sleep or distractions such as
talking on the phone, talking to the passenger, etc. can cause an accident.
To avoid these accidents, we propose a system that will warn the driver if
they are distracted or drowsy. Accident due to driver drowsiness can be
prevented using eye blink sensor. There are two main components here in
this project. First is Arduino nano which is the heart of the project. And the
second one is eye blink sensor. The driver has to wear the eye blink sensor
frame throughout the course of driving and the eye blink has to be for some
particular amount of second to detect drowsiness or sleep. The outcome is
that the vibrator attached to the eye blink sensor’s frame vibrates if the
driver falls asleep and a buzzer will beep for sound indication. So there is
audio and vibration indication for the driver if he falls asleep.

Page | 6
Chapter 2

LITERATURE SURVEY

[1] paper 1:
• "Real-Time Eye Blink Detection System for Drivers using Arduino
Microcontroller" by S. S. Khatri, S. Singh, and A. Tiwari (2019): This
paper presents a real-time eye blink detection system for drivers using
Arduino microcontroller. The system uses infrared sensors to detect eye
blinks and can be used to prevent accidents caused by driver fatigue.

[2] paper 2:
• "Real-Time Eye Blink Detection and Tracking using Arduino and
OpenCV" by J. J. Lin, Y. J. Hsieh, and C. C. Wu (2017): This paper
presents an eye blink detection and tracking system using Arduino and
OpenCV. The system detects eye blinks in real-time and can be used in
various applications such as driver fatigue detection and medical
diagnosis.

[3]paper 3:
• Swapnil Titare, Shubham Chinchghare,K N Hande, “driver Drowsiness
Detection and alert system “. International Journel of Scientific Research
in Computer science, Engineering and Information Technology
(IJSRCSEIT),issn:2456-3307,Volume 7,Issue 3,pp.583-588,May-June-
2021

[4]paper 4:
• Arpit Agarwal, “Driver Drowsiness Detection System”, portfolio of
projects on human computer interaction, December,2010.[5] Paul
Stephen Rau, National Highway Traffic Safety Administration, United
States, Paper Number05-0192 Drowsy Driver Detection and Warning
System for Commercial Vehicle Drivers: Field Operational Warning
System for Commercial Vehicle Drivers: Field Operational Test Design,
Data Analyses and progress.

[5]paper 5:
• Weirwille, W.W. (1994). “Overview of Research on Driver Drowsiness
Definition and Driver Drowsiness Detection,” 14th International
Technical Conference on Enhanced Safety of Vehicles.

Page | 7
[2.1]Problem statement:

Develop an anti-sleep alarm system for drivers with an additional engine cutoff
feature to enhance road safety.
Driving while fatigued or drowsy poses a significant risk to road safety, as it
increases the likelihood of accidents due to delayed reactions and impaired
judgment. To address this issue, there is a need for an advanced anti-sleep alarm
system for drivers. The system should effectively detect signs of drowsiness or
fatigue in real-time and alert the driver, preventing potential accidents.

However, in addition to the alert mechanism, there is also a requirement for an


engine cutoff feature. In situations where the driver fails to respond to the alarm
and continues to exhibit signs of extreme fatigue or sleepiness, it becomes
necessary to automatically disable the engine, bringing the vehicle to a safe
stop. This feature ensures that the driver's safety is prioritized, as well as the
safety of other road users.

The system should be capable of detecting various indicators of fatigue,


including but not limited to eye closure, head nods, erratic steering, and changes
in vehicle speed or lane position. Upon detection of potential drowsiness, the
alarm should activate auditory, visual, and/or haptic alerts to awaken the driver
and regain focus on the road

To ensure seamless integration and compatibility with different vehicle models,


the system should be designed to interface with the vehicle's electrical system
and provide an engine cutoff mechanism. The engine cutoff should be
implemented as a fail-safe measure, allowing the driver a short response time to
override the system in case of false positives or emergencies.

Page | 8
[2.2]Objectives:
1. Early Detection of Drowsiness: The system should effectively monitor driver
behavior and detect signs of drowsiness or fatigue in real-time, allowing for
timely intervention before the situation escalates into a potential accident.

2. Prompt Alert Mechanism: Upon detecting drowsiness or fatigue, the system


should activate auditory, visual, and/or haptic alerts to awaken the driver and
restore their attention to the road, helping to prevent accidents caused by
delayed reactions.

3. Customizable Sensitivity Levels: The system should offer adjustable


sensitivity levels to accommodate different driver preferences and
environmental conditions, ensuring that the alarm triggers appropriately without
causing unnecessary interruptions or false positives.

4. Engine Cutoff Mechanism: In extreme cases where the driver fails to respond
to the alarm and continues to exhibit signs of extreme fatigue or sleepiness, the
system should automatically disable the engine, bringing the vehicle to a safe
stop to prevent accidents and ensure the driver's safety.

5. Fail-Safe Override Capability: The engine cutoff feature should include a


fail-safe mechanism that allows the driver a short response time to override the
system in case of false positives or emergencies, ensuring that the system does
not unintentionally cause inconvenience or compromise safety.

By achieving these objectives, the anti-sleep alarm system with an engine cutoff
feature aims to reduce accidents caused by driver fatigue, prioritize road safety,
and protect the well-being of both the driver and other road users

Page | 9
Chapter 3

Methodology:
1. Hardware Setup:
a. Gather the necessary components: Arduino Nano, sensors (e.g., eye
monitoring sensor, accelerometer), buzzer or speaker, LED indicators, and
necessary connecting wires.
b. Connect the eye monitoring sensor and accelerometer to the Arduino Nano
following the sensor's specifications and pin connections.
c. Connect the buzzer or speaker to the Arduino Nano for generating the alarm
sound.
d. Connect LED indicators for visual alerts (optional but recommended).

2. Software Development:
a. Install the Arduino IDE and ensure the Arduino Nano is properly
recognized by the computer.
b. Develop the software code for the anti-sleep alarm system using the
Arduino programming language (C/C++).
c. Use appropriate libraries to interface with the eye monitoring sensor and
accelerometer, reading their data and detecting signs of drowsiness or fatigue.

3 Calibration and Sensitivity Adjustment:


a. Conduct calibration tests with different individuals to establish baseline
values for the eye monitoring sensor and accelerometer.
b. Fine-tune the threshold values and sensitivity levels to optimize the
system's accuracy in detecting drowsiness while minimizing false positives or
false negatives.

Page | 10
[3.1]Circuit diagram:

Working principle of IR sensor:

Page | 11
Components used:
1. Arduino nano:

The Arduino Nano is a compact and versatile microcontroller board based on


the ATmega328P microcontroller. It is part of the Arduino family of
development boards and is designed for projects requiring a small form factor
and low power consumption. The Nano board is similar to the Arduino Uno in
functionality but comes in a smaller package Microcontroller: The Nano board
is powered by the ATmega328P microcontroller, which has 32KB of f lash
memory, 2KB of SRAM, and 1KB of EEPROM. It runs at a clock speed of 16
MHz. 4. Digital and Analog I/O Pins: The Nano has a total of 22 pins,
including 14 digital input/out put pins and 6 analog input pins. These pins can
be used to interface with various sensors, actuators, and other electronic
components. 5. PWM Outputs: The Nano provides 6 pins that support Pulse
Width Modulation (PWM) outputs. PWM is useful for controlli ng motors,
LEDs, and other devices that require variable power or speed
Integrated Power Regulator: The board includes a voltage regulator that allows
it to be powered from a 7 12V external power source or a 5V USB connection.
The regulator provides a power the microcontroller and other components.
stable 5V output to Programming: The Arduino Nano can be programmed
using the Arduino IDE (Integrated Development Environment). It supports the
Arduino programming language, which is based on C/C++. The Nano is
compatible with most Arduino libraries and shields, making it easy to extend its
functionality. The Arduino Nano is widely used in various projects, including
robotics, home automation, IoT (Internet of Things) devices, and prototyping.
Its small size, low power consumption, and rich set of features make it a popular
choice among hobbyists, students, and professionals

Page | 12
2. Eye blink sensor:

An eye blink sensor, also known as an eye blink detector or eye blink
module, is a device used to detect and monitor the blinking of a person's
eyes. It is often used in applications such as eye interfaces, drowsiness
detection systems, and wearable devices. controlled There are different
types of eye blink sensors available, but one common approach is to utilize
electroocu lography (EOG) principles. EOG is a technique that measures
the electrical potential difference between different points around the eye,
which changes when the eye blinks. Here's a general overview of how an
eye blink sensor based on EOG works: Electr odes Placement The sensor
typically consists of one or more electrodes that are placed around the eye.
These electrodes pick up the electrical signals generated by eye movement
and blinking. Signal AmplificationThe weak electrical signals picked up
by the electrodes are usually amplified using a specialized amplifier circuit.
This amplification stage helps to make the signals more discernible and
easier to process.
Signal Processing: The amplified signals are then processed using signal
processing techniques to extract meaningful information related to eye
blinks. This processing can involve filtering out noise, detecting blink
patterns, and determining the timing and duration of blinks. Output
Generation: Based on the processed signa ls, the eye blink sensor generates
an output, which can be in the form of a digital signal, an analog voltage
level, or a triggering event. This output can be used to control other devices
or systems, depending on the specific application. Eye blink senso rs can be
interfaced with microcontrollers or other electronic devices to enable
integration into larger systems. For example, in an eye controlled interface,
the sensor's output can be used to navigate through menus or control the

Page | 13
movement of a cursor on a computer screen. It's worth noting that eye blink
sensors have different levels of complexity and sensitivity, and their
performance can vary based on the specific design and implementation.
Advanced eye often utilize more sophisticated tracking systems techniques,
such as infrared light and image processing, to achieve higher accuracy and
precision in detecting eye blinks

3. Relay model:

The relay model is commonly used and has a 5V DC coil voltage. It features a
throw (SPDT) configuration, allowing it to switch between one common
terminal, one normally open terminal, and one normally closed terminal. It can
handle a switching current of up to 10A. s important to consider factors such as
contact configuration, current and voltage ratings, and application requirements
when selecting a relay for your specific project. Refer to the datasheets and
technical specifications of the relay models you are considering for detailed
information on their capabilities and suitability for your application
Relays are designed to handle different voltage and current ratings based on
their specific application requirements. They can also have additional features
such as multiple sets of contacts, built-in diodes for suppressing voltage spikes,
and various mounting options.
The control signal for a relay can come from various sources, such as a switch,
a microcontroller, or other electronic devices. By using a relay, a low-power
control signal can safely control a high-power load, providing isolation between

Page | 14
the control circuit and the load. This isolation is particularly useful in
applications where the control circuit operates at a different voltage level or in
environments with high voltage or current levels
Overall, relays play a crucial role in electrical and electronic systems by
providing reliable and safe switching capabilities, allowing for the control of
larger loads using smaller control signals.

[4]Dc motor:

A mini DC motor, also known as a direct current motor, is an electric motor that
converts electrical energy into mechanical energy. It is widely used in various
applications, including robotics, toys, fans, and small appliances
The basic construction of a mini DC motor consists of several key components:
Armature: The armature is the rotating part of the motor. It typically consists of
a shaft, a commutator, and a set of windings. The windings are made of copper
wire and are wound around an iron core. Commutator: The commutator is a
cylindrical assembly of metal segments, usually made of copper. It is connected
to the armature shaft and acts as a mechanical switch to change the direction of
the current flowing through the armature windings.
Brushes: The brushes are conductive contacts that press against the commutator
segments. They supply electrical current to the armature windings as the
commutator rotates.
Permanent Magnets: Mini DC motors usually have permanent magnets that
provide a constant magnetic field. These magnets are stationary and surround

Page | 15
the armature, creating a magnetic field that interacts with the current flowing
through the armature windings.
When electric current is applied to the motor, it flows through the armature
windings, creating a magnetic field. This magnetic field interacts with the
permanent magnets, causing a rotational force (torque) on the armature.

[5]Piezo buzzer:

A piezo buzzer is an electronic device used to produce sound. It is commonly


found in various applications such as alarms, electronic toys, timers, and
communication devices. The word "piezo" is derived from the Greek word
"piezein," which means "to press" or "to squeeze."
The piezo buzzer utilizes the piezoelectric effect to generate sound. The
piezoelectric effect refers to the property of certain materials to generate an
electric charge in response to mechanical stress or pressure and, conversely, to
deform when an electric field is applied to them.
The main components of a piezo buzzer include a piezoelectric ceramic disc or
element, a metal diaphragm, and a housing. The piezoelectric ceramic disc is
sandwiched between a metal diaphragm and a housing, creating a mechanical
coupling between them.
When an electric voltage is applied to the piezoelectric ceramic disc, it
undergoes a slight deformation due to the piezoelectric effect. This deformation
causes the metal diaphragm to vibrate at a high frequency. The rapid vibration
of the diaphragm displaces the surrounding air, creating sound wave

Page | 16
[3.2]Implementation:
To implement an anti-sleep alarm for drivers and an engine cutoff using an
Arduino Nano, you would need a few components and follow these general
steps.

components ratings
1.Relay 1
2.Piezo buzzer 1
3.Arduino nano 1
4.Eye blink sensor 1
5.Gear motor 1
6.Wheel 1
7.Spst switch 1
8. 9v battery 2
9.Wires required

1. Connect the components as follows:


- Connect the positive (VCC) and negative (GND) pins of the pulse sensor
module to the 5V and GND pins on the Arduino Nano, respectively.
- Connect the analog output pin (AO) of the pulse sensor module to any
analog input pin (e.g., A0) on the Arduino Nano.
- Connect the positive (VCC) and negative (GND) pins of the relay module to
the 5V and GND pins on the Arduino Nano, respectively.
- Connect the signal pin (S) of the relay module to any digital pin (e.g., D2) on
the Arduino Nano.
- Connect the positive (VCC) and negative (GND) pins of the piezoelectric
buzzer or speaker to the 5V and GND pins on the Arduino Nano, respectively-
Connect the signal pin of the piezoelectric buzzer or speaker to any digital pin
(e.g., D3) on the Arduino Nano.

Page | 17
Flowchart:

Page | 18
[3.3]Code used for Arduino:

define Relay 13
#define buzzer A0
static const int sensorPin = 10; // sensor input pin
int SensorStatePrevious = LOW; // previousstate of the sensor

unsigned long minSensorDuration = 3000; // Time we wait before the sensor


active as long
unsigned long minSensorDuration2 = 6000;
unsigned long SensorLongMillis; // Time in ms when the sensor was
active
bool SensorStateLongTime = false; // True if it is a long active

const int intervalSensor = 50; // Time between two readings sensor


state
unsigned long previousSensorMillis; // Timestamp of the latest
reading

unsigned long SensorOutDuration; // Time the sensor is active in ms

//// GENERAL ////

unsigned long currentMillis; // Variabele to store the number of


milleseconds since the Arduino has started

void setup() {
Serial.begin(9600); // Initialise the serial monitor

Page | 19
pinMode(sensorPin, INPUT); // set sensorPin as input
Serial.println("Press button");
pinMode(Relay,OUTPUT);
pinMode(buzzer,OUTPUT);
}

// Function for reading the sensor state


void readSensorState() {

// If the difference in time between the previous reading is larger than


intervalsensor
if(currentMillis - previousSensorMillis > intervalSensor) {

// Read the digital value of the sensor (LOW/HIGH)


int SensorState = digitalRead(sensorPin);

// If the button has been active AND


// If the sensor wasn't activated before AND
// IF there was not already a measurement running to determine how long the
sensor has been activated
if (SensorState == LOW && SensorStatePrevious == HIGH &&
!SensorStateLongTime) {
SensorLongMillis = currentMillis;
SensorStatePrevious = LOW;

Serial.println("Button pressed");
}

Page | 20
// Calculate how long the sensor has been activated
SensorOutDuration = currentMillis - SensorLongMillis;

// If the button is active AND


// If there is no measurement running to determine how long the sensor is
active AND
// If the time the sensor has been activated is larger or equal to the time
needed for a long active
if (SensorState == LOW && !SensorStateLongTime && SensorOutDuration
>= minSensorDuration) {
SensorStateLongTime = true;
digitalWrite(Relay,HIGH);
Serial.println("Button long pressed");
}
if (SensorState == LOW && SensorStateLongTime && SensorOutDuration
>= minSensorDuration2) {
SensorStateLongTime = true;
digitalWrite(buzzer,HIGH);
delay(1000);
Serial.println("Button long pressed");
}

// If the sensor is released AND


// If the sensor was activated before
if (SensorState == HIGH && SensorStatePrevious == LOW) {
SensorStatePrevious = HIGH;
SensorStateLongTime = false;
digitalWrite(Relay,LOW);
digitalWrite(buzzer,LOW);
Page | 21
Serial.println("Button released");

// store the current timestamp in previousSensorMillis


previousSensorMillis = currentMillis;

void loop() {

currentMillis = millis(); // store the current time


readSensorState(); // read the sensor state

Page | 22
[3.4]Output of the project:

Page | 23
Chapter 4

Result and Discussion:


Results:

The results indicate that the fatigue detection module accurately identifies driver
drowsiness based on the collected sensor data. The alarm module effectively
alerts the driver using visual and auditory signals, ensuring prompt attention and
response. In cases where the driver did not respond to the alarm, the engine
cutoff module successfully deactivated the engine, preventing potential
accidents.

Discussion :

The anti-sleep alarm system utilizing Arduino Nano demonstrates promising


results in detecting driver fatigue and preventing accidents caused by drowsy
driving. The system's real-time monitoring and alarm activation provide an
immediate intervention, allowing the driver to take corrective actions. The
incorporation of an engine cutoff feature adds an extra layer of safety, especially
in situations where the driver is unable to respond to the alarm due to severe
fatigue or impairment.

The developed system holds significant potential for integration into vehicles,
particularly long-haul trucks, commercial buses, and other transport vehicles
where driver fatigue is a common concern. It could also find applications in
personal vehicles, promoting safer driving practices and reducing the risk of
accidents caused by drowsiness.

Further research and development could focus on enhancing the fatigue


detection algorithms and refining the alarm system to accommodate individual
driver preferences. Additionally, integrating the system with advanced driver-
assistance systems (ADAS) and vehicle-to-vehicle communication could
enhance its capabilities and overall effectiveness in preventing accidents.

Page | 24
Chapter 5:

Advantages :

An anti-sleep alarm for drivers and engine cutoff using an Arduino Nano can
offer several advantages in terms of driver safety and vehicle maintenance. Here
are some key benefits:

1. Prevention of accidents: One of the primary advantages of an anti-sleep alarm


is its ability to prevent accidents caused by driver fatigue. The device can
monitor the driver's alertness levels using various sensors such as eye-tracking
or steering wheel movement sensors. If signs of drowsiness are detected, the
alarm can sound to alert the driver and prevent potential accidents.

2. Increased driver awareness: The anti-sleep alarm serves as a constant


reminder to the driver to stay alert and focused while driving. By providing
periodic alerts, it helps the driver maintain concentration and avoid distractions,
thereby reducing the risk of accidents.

3. Timely intervention: When the anti-sleep alarm detects signs of drowsiness or


inattentiveness, it can alert the driver immediately, allowing for timely
intervention. This can be crucial in preventing accidents, as it provides the
driver with an early warning before the situation escalates.

4. Customizability and adaptability: Using an Arduino Nano allows for


flexibility in designing and customizing the anti-sleep alarm system according
to specific requirements. The device can be programmed to incorporate various
sensors, adjust sensitivity levels, and even integrate additional features like
heart rate monitoring or GPS-based location tracking.

5. Engine cutoff for added safety: In addition to the anti-sleep alarm, an


Arduino Nano can also be used to implement an engine cutoff system. This
feature can automatically shut off the engine if certain predefined conditions are

Page | 25
met, such as excessive speeding, sudden braking, or collision detection. Engine
cutoff adds an extra layer of safety by preventing further movement of the
vehicle in potentially dangerous situations.

6. Low-cost solution: Arduino Nano is an affordable and widely available


microcontroller board, making it a cost-effective choice for implementing an
anti-sleep alarm and engine cutoff system. This accessibility makes it easier for
individuals and small-scale projects to adopt and integrate these safety features
into their vehicles.

It's important to note that while an anti-sleep alarm and engine cutoff system
can provide significant safety benefits, they should not replace responsible
driving practices and regular rest breaks. These systems are intended to
complement driver awareness and serve as preventive measures, but it's still
crucial for drivers to prioritize their well-being and adhere to proper sleep
schedules for safe driving.

Page | 26
Disadvantage :
While anti-sleep alarms for drivers and engine cutoff systems using Arduino
Nano have several advantages, there are also a few potential disadvantages to
consider:

[1]. False alarms: Anti-sleep alarms rely on various sensors to detect signs of
drowsiness or inattentiveness. However, these sensors may not always
accurately determine the driver's state. False alarms can occur due to sensor
malfunctions or misinterpretation of data, leading to unnecessary distractions
and potential annoyance for the driver.
2. Limited effectiveness: While anti-sleep alarms can help mitigate the risk of
accidents caused by fatigue, they are not foolproof. In some cases, drivers may
become habituated to the alarm or find ways to disable or ignore it, rendering
the system less effective over time. Additionally, the alarm may not be able to
detect microsleep episodes or situations where the driver remains technically
awake but still lacks focus.
[3]. Reliance on technology: The effectiveness of anti-sleep alarms and engine
cutoff systems is dependent on the proper functioning of the technology
involved, including the Arduino Nano and associated sensors. Technical
failures, such as software glitches, hardware malfunctions, or power supply
issues, can compromise the system's reliability and pose safety risks if the driver
relies solely on its functionality.
[4]. Lack of human judgment: While anti-sleep alarms and engine cutoff
systems can provide timely alerts and take preventive actions, they do not
possess human judgment or situational awareness. There may be instances
where the driver's judgment or decision-making ability is essential, such as in
emergency situations or unpredictable road conditions. Over-reliance on
automated systems may lead to complacency and a decrease in the driver's
ability to react appropriately in critical situations.

[5]. Integration challenges: Implementing anti-sleep alarms and engine cutoff


systems using Arduino Nano may require technical expertise and knowledge of
electronics and programming. Integration with the vehicle's existing systems,
such as the ignition or braking system, may also pose challenges, especially in
older vehicles that lack modern electronics.

Page | 27
Chapter 6

Conclusion and Future scope


6.1Applications :
The application of an anti-sleep alarm for drivers and engine cutoff using an
Arduino Nano can be implemented in various scenarios, including:

1. Long-distance truck drivers: Truck drivers often cover long distances, leading
to extended periods of driving, which can increase the risk of driver fatigue. An
anti-sleep alarm can be particularly useful in this context to prevent accidents
caused by drowsiness. It can continuously monitor the driver's alertness and
provide timely alerts to keep them awake and focused on the road.

2. Public transportation: Drivers of buses, taxis, and other public transportation


vehicles may also benefit from an anti-sleep alarm. These drivers often have
demanding schedules and need to stay alert for extended periods. The alarm
system can help prevent accidents due to fatigue and improve passenger safety.

3. Commuters and private vehicle owners: Even daily commuters or private


vehicle owners can use an anti-sleep alarm to enhance their safety during long
drives or monotonous routes. It can serve as a reminder to stay focused and
minimize the risk of accidents caused by inattention or drowsiness.

4. Fleet management: Companies that manage large vehicle fleets can


incorporate anti-sleep alarm systems with engine cutoff features for their
vehicles. This allows fleet managers to monitor driver safety and take
preventive actions to mitigate the risk of accidents. Additionally, engine cutoff
functionality can help prevent unauthorized use of vehicles or reduce fuel
consumption during idle periods.

4. Driver training programs: Driving schools or driver training programs can


utilize anti-sleep alarms to educate new drivers about the importance of
staying alert while driving. By simulating real-life scenarios and providing
immediate

Page | 28
[6.2]Conclusions :

In conclusion, the implementation of an anti-sleep alarm system for drivers,


coupled with an engine cutoff feature, holds significant potential in enhancing
road safety and preventing accidents caused by driver fatigue. By detecting signs
of drowsiness and alerting the driver, the anti-sleep alarm acts as a valuable
safeguard, providing a timely warning and encouraging the driver to take
necessary breaks or rest periods. The anti-sleep alarm system employs various
sensors and monitoring mechanisms, such as eye tracking, facial recognition, and
steering behavior analysis, to accurately assess the driver's level of fatigue. When
fatigue indicators are detected, the alarm system triggers audio, visual, or haptic
alerts to capture the driver's attention and promote immediate action. The engine
cutoff feature, often integrated with the anti-sleep alarm system, serves as an
additional layer of safety. When the alarm is triggered, and the driver fails to
respond or continues to exhibit signs of drowsiness, the system can activate the
engine cutoff, temporarily disabling the vehicle's propulsion. This proactive
measure aims to prevent accidents caused by an incapacitated driver who may
lose control of the vehicle due to fatigue. Overall, the combination of an anti-
sleep alarm and engine cutoff system is an effective approach to mitigate the risks
associated with driver fatigue. By providing timely warnings and enforcing
necessary breaks, it encourages responsible driving behavior and prioritizes road
safety. However, it is important to note that such systems should be used as a
supplementary tool and not as a substitute for proper rest and sleep. It remains
crucial for drivers to prioritize their wellbeing by adopting healthy sleep habits,
taking regular breaks during long journeys.

Page | 29
[6.3]Future scope:
The future scope of an anti-sleep alarm for drivers and engine cutoff using an
Arduino Nano or similar microcontroller is quite promising. As driver fatigue
and drowsiness are significant contributors to road accidents, the development
and implementation of such safety systems are crucial.
1. Enhanced Detection Algorithms: Future anti-sleep alarms can utilize
advanced detection algorithms, incorporating machine learning techniques to
analyze various driver-related parameters, such as eye movements, head
position, facial expressions, and even biometric data like heart rate variability.
This would allow for more accurate and reliable detection of drowsiness or
fatigue.
2. Integration with Vehicle Systems: Anti-sleep alarms can be integrated with
other vehicle systems, such as advanced driver-assistance systems (ADAS) or
telematics units. This integration would enable real-time monitoring of driver
behavior and provide a holistic approach to driver safety. For example, if
drowsiness is detected, the system could activate adaptive cruise control or
trigger an audiovisual warning for the driver.
3. Data Logging and Analysis: By incorporating data logging capabilities, future
anti-sleep alarm systems can collect and store driver behavior data for analysis.
This data can be used for identifying patterns of fatigue, analyzing driving
habits, and developing personalized safety recommendations. The analysis of
this data can help in understanding the causes of drowsiness, improving the
effectiveness of the alarm system, and promoting better driving practices.
4. Integration with Mobile Applications: With the increasing prevalence of
smartphones and wearable devices, anti-sleep alarm systems can integrate with
mobile applications to provide additional functionalities. For instance, the
system could send alerts or notifications to the driver's smartphone, initiate
emergency calls to predefined contacts, or even sync with fitness tracking apps
to provide health-related insights.
5. Customization and User Experience: Future systems can focus on providing a
personalized user experience, allowing drivers to customize alarm sensitivity,
alarm types (auditory, visual, haptic), and preferences for engine cutoff. Such
customization options would make the system more user-friendly and adaptable
to individual driver characteristics and preferences.

Page | 30
[6.4]Reference :

[1] paper 1:
• "Real-Time Eye Blink Detection System for Drivers using Arduino
Microcontroller" by S. S. Khatri, S. Singh, and A. Tiwari (2019): This
paper presents a real-time eye blink detection system for drivers using
Arduino microcontroller. The system uses infrared sensors to detect eye
blinks and can be used to prevent accidents caused by driver fatigue.

[2] paper 2:
• "Real-Time Eye Blink Detection and Tracking using Arduino and
OpenCV" by J. J. Lin, Y. J. Hsieh, and C. C. Wu (2017): This paper
presents an eye blink detection and tracking system using Arduino and
OpenCV. The system detects eye blinks in real-time and can be used in
various applications such as driver fatigue detection and medical
diagnosis.

[3]paper 3:
• Swapnil Titare, Shubham Chinchghare,K N Hande, “driver Drowsiness
Detection and alert system “. International Journel of Scientific Research
in Computer science, Engineering and Information Technology
(IJSRCSEIT),issn:2456-3307,Volume 7,Issue 3,pp.583-588,May-June-
2021

[4]paper 4:
• Arpit Agarwal, “Driver Drowsiness Detection System”, portfolio of
projects on human computer interaction, December,2010.[5] Paul
Stephen Rau, National Highway Traffic Safety Administration, United
States, Paper Number05-0192 Drowsy Driver Detection and Warning
System for Commercial Vehicle Drivers: Field Operational Warning
System for Commercial Vehicle Drivers: Field Operational Test Design,
Data Analyses and progress.

[5]paper 5:
• Weirwille, W.W. (1994). “Overview of Research on Driver Drowsiness
Definition and Driver Drowsiness Detection,” 14th International
Technical Conference on Enhanced Safety of Vehicles.

Page | 31
Page | 32
Page | 33

You might also like