Anti-Sleep Alarm with Alcohol and Flame Detection

Purpose and Goal

The purpose of this project was to create a system aimed at reducing road accidents caused by drowsiness, alcohol consumption, and fire hazards. The system integrates sensors and modules to monitor the driver's state and surroundings, providing alerts and warnings as needed to ensure safety.

Main Goals

  1. Detect and alert when the driver is drowsy.
  2. Monitor and identify if the driver has consumed alcohol.
  3. Detect fire hazards inside the vehicle.
  4. Send alerts with location details to predefined contacts in case of emergencies.
  5. Provide real-time alerts through visual and auditory indicators.

Contributions (Raguraj S., 205080K)

Key Responsibilities

  1. LED and Buzzer Alerts:

    • Designed and coded the LED and buzzer components.
    • These components alert the driver and nearby vehicles in critical situations.
  2. Gyroscope Module:

    • Programmed and tested the gyroscope module (MPU6050) to monitor the driver’s head position.
    • Used X, Y, Z axis data to determine if the driver is falling asleep.
  3. DC Motor and Potentiometer:

    • Developed code for the DC motor (to simulate the vehicle's wheel).
    • Used potentiometers to simulate vehicle acceleration during testing.
  4. Push Button:

    • Added a manual alert reset feature via a push button. This allows the driver to acknowledge alarms and stop alerts.
  5. System Integration:

    • Created full schematic diagrams and PCB designs using KiCad.
    • Simulated the entire project using Proteus.
    • Combined individual team contributions into a unified project using Atmel Studio.

Technical Details

Gyroscope Module (MPU6050)

LED

Buzzer

DC Motor and Potentiometer

Push Button


Outcomes


Future Improvements


Acknowledgments