Skip to content

ShubhamSarode-SDS/Anti-Sleep-Driver-Alert-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Anti-Sleep Driver Alert System (Wokwi Edition v4.0)

An advanced IoT embedded hardware safety solution designed to prevent fatigue-related accidents. The system processes real-time sensor streams through a stateful fatigue scoring engine, executing multi-level sensory alerts when cognitive drop-offs are detected.


Key System Enhancements (v4.0)

  • Real I2C Motion Tracking: Uses an MPU6050 Accelerometer to calculate dynamic pitch/roll changes, instantly catching head nods and dangerous sideways micro-sleep head drops.
  • Algorithmic Fatigue Scoring Engine: Features an analytical 0-100 metric accumulation engine that triggers escalating warning responses based on multiple parallel sensor feeds.
  • Three-Tier Sensory Escalation:
    • Level 1 (Warning): Soft buzzer tone for early drowsiness indications.
    • Level 2 (Alert): Rapid buzzer beep frequencies coupled with rhythmic flashing visual alert patterns.
    • Level 3 (Critical): High-intensity auditory alarm sync'd with continuous tactile feedback from a vibrating motor array.
  • Speed-Scaled Inactivity Matrix: Reads simulated potentiometer inputs mapping 0-120 km/h velocities to adaptively reduce idle timeout margins during higher vehicle speeds.
  • Tactile Interactions: Features dedicated hardware inputs simulating infrared eye-blink sensors and physical manual alert override protocols.

Hardware Matrix Configuration

System Diagram Layout


System Demonstration

In this simulation run, you can observe the real-time interaction of the MPU6050 head tilt detection, eye blink processing, and the escalating response phases of the fatigue score engine.

Watch the Demonstration Video


Architecture Map

  • sketch.ino - High-fidelity C++ scheduling loop optimized with fully non-blocking timing routines.
  • diagram.json - Complete declarative component layout and color-coded path configurations for the virtual canvas simulator.

About

A software-simulated IoT microproject for an Anti-Sleep Driver Alert System. Built and runnable on Wokwi, it features a smart fatigue scoring engine tracking simulated eye blinks, vehicle speed scaling, and real I2C head-tilt data using an MPU6050 accelerometer with a 3-level alert routine.

Topics

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages