Women Safety GSM-GPS Tracker System
Personal Safety Device with ESP32, Real-Time GPS Tracking, GSM SMS Emergency Alerts, and Firebase Cloud
Monitoring
Category: IoT, Embedded Systems, Safety, Personal Security
Tools & Technologies: ESP32, GPS Module (TinyGPS++), SIM800L GSM Module, AM2302 Temperature/Humidity
Sensor, OLED 128x64 Display, Push Button, Buzzer, Firebase Realtime Database, NTP Client, Arduino IDE
Status: Completed
Introduction
This project addresses women's personal safety through a comprehensive tracking and emergency alert
system. The device combines real-time GPS location tracking with GSM-based SMS communication to
enable rapid emergency response. When activated via a dedicated panic button, the system immediately
sends the user's GPS coordinates via SMS to pre-configured emergency contacts and triggers an
audible buzzer alarm. The system also monitors environmental conditions through temperature and
humidity sensors, logs all data to Firebase for tracking history, and provides real-time status
information on an OLED display. WiFi connectivity enables cloud data synchronization for
comprehensive monitoring through a web dashboard.
System Overview
Aim and Objectives
Aim:
Design and develop a portable women safety device with GPS tracking, GSM
emergency alerts, and cloud-based monitoring for enhanced personal security.
Objectives:
- Implement real-time GPS location tracking using TinyGPS++ library for accurate coordinate
reporting.
- Enable emergency SMS alerts via SIM800L GSM module with one-button panic activation.
- Monitor environmental conditions (temperature, humidity) using AM2302 sensor.
- Display real-time device status, location, and environmental data on OLED screen.
- Log all tracking and environmental data to Firebase Realtime Database for historical records.
- Implement configurable buzzer alert system with timing thresholds for attention drawing.
- Synchronize device time via NTP for accurate event timestamping.
Features & Deliverables
- GPS Location Tracking: Real-time coordinate tracking with TinyGPS++ for
accurate positioning.
- Emergency SMS Alerts: One-button panic activation sends GPS coordinates to
emergency contacts via GSM.
- Audible Alarm: Buzzer sounds during emergency activation to draw attention and
deter threats.
- Environmental Monitoring: AM2302 sensor tracks temperature and humidity for
situational context.
- OLED Status Display: 128x64 OLED shows GPS status, location, time, and
environmental data.
- Cloud Data Logging: Firebase integration for tracking history and remote
monitoring.
- Web Dashboard: Companion web application for real-time tracking and historical
data review.
- NTP Time Sync: Accurate timestamping for all events and data records.
Process / Methodology
Hardware Assembly
Components: ESP32, GPS Module, SIM800L GSM, AM2302, OLED 128x64, Push Button, Buzzer, Battery/Power
Supply.
- Configured GPS module with TinyGPS++ library for NMEA sentence parsing.
- Integrated SIM800L GSM module for SMS communication capability.
- Connected panic button with interrupt-based detection for instant response.
- Assembled in a compact portable form factor for easy carrying.
Software Development
- Developed firmware with multi-mode operation (normal monitoring, emergency alert).
- Implemented SMS formatting with Google Maps link embedding for easy location sharing.
- Programmed WiFi connectivity with Firebase data synchronization.
- Created web dashboard for remote monitoring and tracking history visualization.
Testing & Calibration
- Tested GPS accuracy in various environments (urban, suburban, indoor).
- Validated SMS delivery reliability across different network conditions.
- Measured panic button response time from press to SMS delivery.
Challenges & Solutions
- Challenge: GPS signal acquisition delay in urban canyon environments.
Solution: Implemented location caching and last-known-position reporting for
instant initial response.
- Challenge: GSM module power spikes causing ESP32 brownout resets.
Solution: Used separate voltage regulator with bulk capacitors for GSM module
power supply.
- Challenge: Battery life optimization for all-day portable operation.
Solution: Implemented adaptive polling intervals—frequent during movement,
reduced during stationary periods.
Results & Impact
- Rapid Response: Emergency SMS with GPS coordinates sent within seconds of panic
button activation.
- Accurate Tracking: GPS provided reliable location data with meter-level
accuracy in open areas.
- Deterrent Effect: Audible buzzer alarm served as an effective attention-drawing
mechanism.
- Historical Tracking: Firebase web dashboard enabled review of movement patterns
and emergency events.
Future Enhancements
- Add fall detection using accelerometer for automatic emergency triggering.
- Implement geofencing with automatic alerts when leaving safe zones.
- Develop companion mobile app with real-time map tracking.
- Miniaturize into jewelry-sized wearable (pendant, bracelet) for discreet carrying.
Demonstration / Access
- GitHub Repository: Coming
soon
- Live Demonstration Video: Coming
soon