Micro-Sleep Guard
Stay Awake, Stay Safe IoT Detects Before You rest
Created on 18th May 2025
•
Micro-Sleep Guard
Stay Awake, Stay Safe IoT Detects Before You rest
The problem Micro-Sleep Guard solves
Micro-sleep while driving is a sudden, involuntary episode of sleep that can last for a fraction of a second to several seconds. It often occurs when a person is drowsy or sleep-deprived and it's extremely dangerous while driving or operating machinery. 1 in 5 road accidents is caused by drowsy driving or micro-sleep. In India, sleep-related accidents lead to thousands of deaths every year. Traditional systems like eye-tracking are costly and unreliable in low light.
Our project uses a piezoelectric sensor placed behind the ear to detect tiny muscle relaxations or stillness that occur during micro-sleep. When such inactivity is detected for a few seconds, a buzzer, LED, and vibration motor immediately alert the driver. Data is also sent to ThingSpeak via Wi-Fi for remote monitoring and analysis.
Challenges we ran into
1.False Triggering of the Buzzer
Issue: The buzzer was turning on every few seconds, even when the user was not sleeping.
Cause: The piezoelectric sensor was picking up random ambient vibrations or noise.
Solution:
We fine-tuned the vibrationThreshold value through experimentation.
We added a time window (detectionWindow) to filter out brief drops in signal.
- Piezo Sensor Mounting Difficulty
Issue: The sensor didn’t give consistent readings when just hanging in the air.
Solution:
We mounted the sensor behind the ear using double-sided tape and sponge padding.
This provided better skin contact and improved signal stability.
Tracks Applied (1)