SafeGuard Alert System is a vehicle safety solution designed to reduce fatalities caused by delayed emergency responses. The system detects vehicle collisions, sends automated SOS alerts via SMS and phone calls, and integrates GPS technology for real-time location reporting. It also allows authenticated users to manage emergency contact information via Firebase.
- Collision Detection: Reads impact data using an MPU6050 sensor.
- Automated Alerts: Sends SMS and initiates a call via SIM800L module upon detecting a collision.
- GPS Integration: Reports real-time vehicle location.
- Firebase Integration: Stores and retrieves emergency contacts securely.
- User Authentication: Allows only authenticated users to access and manage their contacts.
The SafeGuard Alert System aims to:
- Improve emergency response times.
- Provide an affordable safety solution for all vehicles, including public transportation.
- Ensure inclusivity and accessibility of advanced safety features.
- Arduino Nano RP2040 Connect (with inbuilt ESP32 and Bluetooth)
- SIM800L GSM Module
- GPS Module
- MPU6050 Accelerometer and Gyroscope
- Firebase (Real-time Database)
- LCD Display
- Relay Module
- Power Supply
- Collision Detection: The MPU6050 sensor detects impact data.
- Data Processing: The Arduino processes the data to determine if a collision has occurred.
- Alert Mechanism:
- Sends an SOS SMS to emergency contacts.
- Initiates a call to the first emergency contact.
- Location Reporting: The GPS module fetches the vehicle's real-time location and includes it in the SMS.
- Contact Management: Users can store, update, and delete emergency contacts through Firebase.
- Initialization: The system starts and initializes the sensors and modules.
- Collision Monitoring: Continuously monitors impact data.
- Trigger Alert: Sends alerts upon detecting a collision.
- User Interaction: Users can manage their contacts via a web-based interface.
- Connect the MPU6050 sensor to the Arduino.
- Connect the SIM800L and GPS modules.
- Set up the LCD display and relay module.
- Power the system with a stable power supply.
- Install the necessary Arduino libraries:
Wire.hAdafruit_MPU6050.hTinyGPSPlus.hFirebaseESP32.h
- Upload the SafeGuard Alert System code to the Arduino Nano RP2040 Connect.
- Configure Firebase authentication and database.
- Power on the SafeGuard Alert System.
- Ensure the modules are connected and working.
- Add emergency contacts via the Firebase web interface.
- Test the system by simulating a collision.
We have prepared a short video clip demonstrating the hardware setup and functionality of the SafeGuard Alert System. This video provides a clear overview of how the system operates, focusing on the integration of hardware components and the collision detection mechanism.
Watch the demonstration video here (Replace with actual video link)
- Integration with additional communication channels (e.g., email, push notifications).
- Enhanced impact analysis using machine learning.
- Expanded compatibility with other vehicle systems.
- Cape Peninsula University of Technology (CPUT) for resources and support.
- Community Contributors for their valuable feedback.
Samkele Ndzululeka
Computer Engineer Graduate
GitHub: samkeleN