Anti Dozing Device for Drivers
Sleep disorders are very common and are considered to be very deleterious especially when drivers fall asleep while driving. This leads to major accidents on highways, such as Pakistan Motorway, where drivers have to cover long and tiring journeys. Many car accidents have taken place because drivers
2025-06-28 16:30:15 - Adil Khan
Anti Dozing Device for Drivers
Project Area of Specialization Electrical/Electronic EngineeringProject SummarySleep disorders are very common and are considered to be very deleterious especially when drivers fall asleep while driving. This leads to major accidents on highways, such as Pakistan Motorway, where drivers have to cover long and tiring journeys. Many car accidents have taken place because drivers doze off while driving the car. On Motorway, cars are moving at high speed and this could result in lethal car accidents. Furthermore, looking anywhere other than the road even for a second can lead to accidents. So, to ensure the safety of the driver, passengers, and other cars, we are proposing different solutions. These anti-dozing devices will make sure that the driver is awake and in case he falls asleep, the devices will start the warning alarm system so that the driver wakes up.
Project ObjectivesThe objective of this project to is create a small device placed inside a car that will observe the driver through image processing and will set the alarm if the driver falls asleep while driving. This device will continue to perform throughout the driver’s journey.
Project Implementation MethodFor each proposed interface, a specific feedback control system will be designed to ensure that the driver is awake. If the driver falls asleep, the interface will generate a feedback response. This action will activate the alarming system to wake up the driver instantly. In the first phase, the aforementioned sensing mechanism will be tested to analyze their efficacy in detecting the sleeping state of the driver with precision and repeatability. Once the credibility is decided, the selected sensing techniques will be used in the prototyping phase. Hence, in the second phase, the hardware and software prototypes will be implemented and integrated.
Benefits of the ProjectFollowing are the impacts of our project on society, environment, and health:
- It is very helpful for the drivers.
- It acts as a car safety feature inside a vehicle.
- It will reduce the percentage of fatigue-related car accidents.
- This project will bring new ideas for drowsiness detection.
- Our device is cost-effective so it will be affordable.
- It is not harmful to the driver.
This project aims to develop a system that detects the sleeping state of the driver and triggers the alarms accordingly to notify up (or wake him up). We are analyzing 2 different solutions using the following four sensing techniques.
Vision sensor (camera)
A high-quality camera will constantly stream the driver’s live video into the main controller board. The eyes of the driver will be the area of interest in this solution and the camera is being used to detect them. A Raspberry Pi board will implement an image processing algorithm and a feedback circuit that will generate the alarm. The camera will be placed next to the speedometer of the car. It will be placed there so that we are able to stream the eyes of the driver continuously. The stream will be processed in the Raspberry pi using OpenCV. In OpenCV, we will use Haar-Cascades. Haar-Cascades are XML files that have trained datasets. We will use it for eye detection and face detection. Then we will create a control system to make sure that the driver stays awake and does not sleep while driving the car.
Inertial Measurement Unit (IMU)
The IMU is a device that senses the angle of inclination or rotation in rigid bodies. This will be used to ensure that the driver is looking straight towards the road. Any prolonged change in the position of his head due to doziness (or other reasons) will be detected by the device, which will send a signal to the main controller to trigger the alarm. This technique can be used to reinforce the above techniques.
Final Deliverable of the Project HW/SW integrated systemCore Industry ITOther IndustriesCore Technology Artificial Intelligence(AI)Other TechnologiesSustainable Development Goals Good Health and Well-Being for PeopleRequired Resources| Item Name | Type | No. of Units | Per Unit Cost (in Rs) | Total (in Rs) |
|---|---|---|---|---|
| Total in (Rs) | 31600 | |||
| Arduino Pro mini | Equipment | 4 | 450 | 1800 |
| 24V Industrial Buzzer | Equipment | 4 | 100 | 400 |
| NoIR Camera 5MP | Equipment | 1 | 4650 | 4650 |
| IMU MPU 6050 | Equipment | 2 | 360 | 720 |
| IR Sensor | Equipment | 2 | 140 | 280 |
| Raspberry Pi 4B 4GB | Equipment | 1 | 15000 | 15000 |
| Raspberry PI micro HDMI | Equipment | 1 | 400 | 400 |
| Raspberry PI Power Supply | Equipment | 1 | 900 | 900 |
| Raspberry PI 4B 3D Printed Casing | Equipment | 1 | 6950 | 6950 |
| Pro mini FTDI | Equipment | 1 | 500 | 500 |