IoT-based
Drowsiness
detection system
"Enhancing road safety through real-time drowsiness
detection using IoT-powered smart glasses."
Presented by:
Sumesh Yadav (TE COMPS-B/63)
Ragini Singh (TE COMPS-B/53)
Mitali More (TE COMPS-B/31)
Rohit Badavate. (TE COMPS-A/03)
Introduction
Drowsy driving is a major cause of road accidents
worldwide.
Many drivers, especially truck drivers, long-distance
travelers, and night-time drivers, suffer from fatigue.
This project introduces Anti-Sleep Glasses—an IoT-
powered wearable that detects drowsiness and alerts
the driver.
Problem 01
Over 20% of road accidents are caused
by driver drowsiness.
Statement
Why is this project important? Conventional warning systems (like
02 lane departure alarms) are not always
effective.
Solution: A real-time monitoring
03 system that alerts both the driver and
remote users.
Objectives
Specific Goals: Primary Objective:
Detect eye closure using an IR sensor. To create an IoT-based drowsiness
detection system.
Trigger an alarm (buzzer) if the driver is
drowsy.
Send real-time alerts to a mobile
app/cloud dashboard via Wi-Fi.
Provide historical data for analysis (for
fleet management or insurance
purposes).
Components
Used:
Component Functions
ESP32 Microcontroller with inbuilt Wi-Fi and Bluetooth
IR Sensor Detects eye closure
Buzzer Provides an alert when drowsiness is detected
Used to make a connection between
Jumper wires
components
3.7v Battery Portable power source
Working principle
1. The IR sensor detects if the driver’s eyes are
closed.
2. If eyes remain closed for more than 3 seconds,
the ESP32 triggers a buzzer.
3. When the driver opens their eyes, the buzzer
turns off.
4. The system resets and continues monitoring.
Code Snippet
Code
Explanation
1. Read IR sensor value.
2. If LOW (eyes closed), start a timer.
3. If closed for >3 seconds, activate the
Buzzer.
4. If eyes open, reset the system.
Applications
🚗 Driver Monitoring – Prevents accidents due to
drowsiness.
🏢 Employee Productivity Tracking – Detects if a
worker is inactive for long periods.
👴 Elderly Care – Alerts caregivers if a person remains
unresponsive.
🚚 Fleet Management – Companies can monitor
drivers’ alertness remotely.
Conclusion
The IoT-based drowsiness detection system is a crucial innovation aimed at preventing accidents
caused by driver fatigue. By leveraging smart sensors, real-time monitoring, and alert mechanisms,
this system enhances road safety and reduces the risk of drowsiness-related incidents. Its
applications extend beyond driving to fleet management, elderly care, and workplace safety, making
it a versatile solution. With further advancements in AI and IoT integration, the system can be refined
for greater accuracy and adaptability, contributing to a safer and more efficient transportation
ecosystem.
Thank you!
Live Demonstration