Welcome to Kerala Project Center.
Road traffic injuries remain a major cause of death and economic loss worldwide, and a large share of serious accidents trace back to two things: driver fatigue going undetected until it's too late, and delayed emergency response after a crash has already happened.
This project addresses both ends of that problem with a three-layer safety system. First, a camera-based module continuously monitors the driver for signs of fatigue (eye closure, prolonged inattention) and captures an image for IoT upload when drowsiness is detected — a preventive layer, before an accident occurs. Second, a vibration/impact sensor detects a collision and triggers airbag inflation while simultaneously sending a GSM SMS alert with the vehicle's location to pre-set emergency contacts. Third, as a fail-safe, if the airbag does not inflate within a set time window after impact is detected, the system automatically escalates by sending a distress alert toward emergency services — so a system failure doesn't mean silence at the worst possible moment.
// Simplified impact -> airbag -> GSM alert logic — Arduino
int vibrationSensor = 2;
int airbagRelay = 7;
int airbagConfirmPin = 8; // HIGH once airbag inflation is confirmed
bool alertSent = false;
void sendSMS(String message) {
// AT command sequence to GSM module (SIM800L) - simplified
Serial.println("AT+CMGF=1");
delay(200);
Serial.println("AT+CMGS=\"+91XXXXXXXXXX\"");
delay(200);
Serial.print(message);
Serial.write(26); // Ctrl+Z to send
}
void setup() {
pinMode(vibrationSensor, INPUT);
pinMode(airbagRelay, OUTPUT);
pinMode(airbagConfirmPin, INPUT);
Serial.begin(9600);
}
void loop() {
if (digitalRead(vibrationSensor) == HIGH && !alertSent) {
digitalWrite(airbagRelay, HIGH); // trigger airbag
unsigned long t0 = millis();
bool confirmed = false;
while (millis() - t0 < 2000) { // 2s confirmation window
if (digitalRead(airbagConfirmPin) == HIGH) { confirmed = true; break; }
}
if (confirmed) {
sendSMS("Accident detected. Airbag deployed. Location attached.");
} else {
sendSMS("ALERT: Accident detected, airbag FAILED to deploy. Immediate assistance needed.");
}
alertSent = true;
}
}
Monday - Saturday: 9:00 AM - 5:00 PM
Sunday: Not Working
2nd Floor, Comptron Arcade, Kallattumukku,
Thiruvananthapuram, Kerala 695012
+91 9633118080