Professional Documents
Culture Documents
antisleepalarm-230417034941-79209def (1)
antisleepalarm-230417034941-79209def (1)
ALARM
GROUP MEMBERS: UNDER THE GUIDANCE OF:
01 Introduction
02 Components Used
03 Circuit Diagram
04 Code
Introduction
╸ In modern-times, owing to hectic schedules it becomes very difficult to remain active all the time.
Imagine a situation where a person is driving home from work, dead tired after facing all the challenges
of the day. His hands are on the wheel and foot on the pedal but suddenly he starts feeling drowsy, his
eyes start shutting and his vision blurs and before he knows it, he’s asleep. Falling asleep on the wheel
can lead to serious consequences, there may be accidents and people may even lose their lives. This
situation is much more common then we notice and hence, it is very important to counter this problem.
So to address this issue, we have come up with a Driver Anti-sleep Alarm ⏰.
╸ This system Stops the user's car if he/she falls asleep at the wheel thereby, avoiding accidents and
saving lives. This system is useful, especially for people who travel long distances and people who are
driving late at night 🌃.
COMPONENTS USED:
╸ Eye blink sensor
╸ Eye glass 👓
╸ Relay module
╸ Arduino nano
╸ 9V battery 🔋
╸ Toy car remote
╸ Capacitor
╸ Wires
COMPONENTS USED:
╸ Ply board
╸ Gear motor with two tires
╸ Lock and key 🗝
╸ Remote control car
╸ 5V relay
╸ 18650 battery 🔋
CIRCUIT DIAGRAM:
Transmitter:
CODE:
#define Relay 13
#define buzzer A0
static const int sensorPin =
10; // sensor input pin
int SensorStatePrevious =
LOW; // previousstate of the
sensor
void setup() {
Serial.begin(9600); // Initialise
the serial monitor
Serial.println("Button pressed");
}
if(digitalRead(sensor)==0)
{
digitalWrite(13,LOW);
digitalWrite(motor,HIGH);
}
else
{
delay(3000);
digitalWrite(a0
,HIGH);
digitalWrite(motor,LOW);
}
void loop() {
}
PROJECT OVERVIEW
PROJECT OVERVIEW
PROJECT OVERVIEW
PROJECT OVERVIEW
u !
k yo
h an
T
18