Project 2024
Project 2024
ON
[ Women Safety Device with GPS Tracking & Alerts Using Arduino ]
[2023-2024]
SUBMITTED BY SUBMITTED TO
Asjad Khan (2101530319001) Dr. Amrita Rai
Md. Mosharraf (2101530319004) Mrs. Karabi Kalita
Vikas Kumar (2101530319008)
Asjad Khan(2101530319001)
Md.Mosharraf(2101530319004)
Vikas Kumar(2101530319008)
CERTIFICATE
The Women Safety Device project aims to develop an innovative solution to address
safety concerns faced by women in various environments. The project integrates
advanced hardware components, such as GPS modules, GSM modems, and RF
transmitters, with intelligent software functionalities to create a comprehensive
safety device. The device enables users to track their real-time location, trigger SOS
alerts in emergencies, and remotely control the device's functionalities. Through
thorough testing and analysis, the device's effectiveness, reliability, and usability are
validated, paving the way for future enhancements and advancements. Ultimately,
the Women Safety Device represents a significant step forward in leveraging
technology to empower women and create safer communities.The Women Safety
Device project endeavors to tackle the pressing issue of women's safety by
leveraging innovative technological solutions. With a focus on integrating cutting-
edge hardware components like GPS modules, GSM modems, and RF transmitters,
along with sophisticated software functionalities, the project aims to develop a
comprehensive safety device tailored to the needs of women. This device offers a
range of features including real-time location tracking, SOS alert activation during
emergencies, and remote control capabilities for added convenience and flexibility.
Rigorous testing and analysis have been conducted to ensure the device's
effectiveness, reliability, and user-friendliness across diverse scenarios. Furthermore,
the project underscores the importance of continuous improvement and future
enhancements to further bolster women's safety and security in society. The Women
Safety Device stands as a beacon of hope in the ongoing pursuit of gender equality
and empowerment, symbolizing the potential of technology to effect positive change
in the lives of women worldwide.
INTRODUCTION
Womens safety is a very important issue due to rising crimes against women these
days. To help resolve this issue we propose a gps based womens safety system that
has dual security feature. This device consists of a system that ensures dual alerts in
case a woman is harassed or she thinks she is in trouble. This system can be turned
on by a woman in case she even thinks she would be in trouble. It is useful because
once an incident occurs with a woman she may or may not get the chance to press
the emergency button. In a button press alerting system, in case a woman is hit on
the head from behind, she may never get the chance to press panic button and no
one will know she is in trouble. Our system solves this problem. This device is to be
turned on in advance by a woman in case she is walking on a lonely road or some
dark alley or any remote area. Only the woman authenticated to the devices can
start the system by fingerprint scan. Once started the devices requires the woman to
constantly scan her finger on the system every 1 minute, else the system now sends
her location to the authorized personnel number through SMS message as a security
measure and also sounds a buzzer continuously so that nearby people may realize
the situation. In this case even if someone hits the woman or the woman falls down
and get unconscious, she does not need to do anything, the system does not get her
finger scan in 1 minute and it automatically starts the dual security feature. This
device will prove to be very useful in saving lives as well as preventing atrocities
against women. The device uses GPS sensor along with a gsm modem,lcd
display,leds and microcontroller based circuit to achieve this system.
COMPONENTS:
Arduino Nano: Serving as the main microcontroller unit, the Arduino Nano
manages the overall operation of the device and controls the interaction
between other component.
Arduino Nano is a small Size Board on this board, there is ATmega328p SMD Ic. And
there is a Total of 14 Digital Pin And 8 Analog Pin available to interface the Input And
Output Connection.
This is a small, compatible open-source electronic development board based on an
8-bit AVR microcontroller. Two versions of this board are available, one is based on
ATmega328p, and the other on Atmega168.
It can perform some functions similar to other boards available in the market,
however, it is smaller in size and is a right match for projects requiring less memory
space and fewer GPIO pins to connect with.This unit features 14 digital pins which
you can use to connect with external components, while 6 analog pins of 10-bit
resolution each, 2 reset pins, and 6 power pins are integrated on the board.
The operating voltage of this device is 5V, while input voltage ranges between 6V to
20V while the recommended input voltage ranges from 7V to 12V. The clock
frequency of this unit is 16MHz which is used to generate a clock of a certain
frequency using constant voltage.
In this section, we’ll cover the Arduino Nano Pinout, we will discuss pin description
of each pin integrated on the board.
Digital Pins: There are 14 digital pins on board which is used to connect external
component.
Analog Pins: 6 analog pins on board that is used to measure voltage in a range from
0 to 5V.
LED: The unit comes with a built-in LED connected to pin 13 on the board.
VIN: This is an input voltage to the Arduino board when using an external power
source (6-12V).
5V: Regulated power supply used to power up the controller and other components
on board.
AREF: It is an Analog Reference that is applied to the unit as a reference voltage from
an external power supply.
Reset: Two reset pins are integrated on the board. These pins are used to reset the
controller internally through software.
External Interrupts: Pin 2 and 3 are used to trigger external interrupts. These pins
are used in case of emergency.
GSM Module SIM900
This is a GSM/GPRS-compatible Quad-band cell phone, which works on a frequency
of 850/900/1800/1900MHz and which can be used for various applications such as
access the Internet, make a voice call, send and receive SMS, etc. The frequency
bands of the GSM modem can be set by AT Commands. The baud rate is configurable
from 1200-115200 through AT command. The GSM/GPRS Modem is having an
internal TCP/IP stack which enables us to connect with the internet via GPRS. This is
an SMT type module and designed with a very powerful single-chip processor
integrating AMR926EJ-S core, which is very popular in various industrial products.
Technical Specifications:
D2 Tx
D3 Rx
5v Vcc
GND
GND
The GSM modem is having internal TCP/IP stack to enable you to connect with the
internet via GPRS. It is suitable for SMS, voice as well as DATA transfer application in
the M2M interface. The onboard Regulate Power Supply allows us to connect a wide
range of unregulated power supplies.
Using this modem, one can make audio calls, SMS, Read SMS, and attend the
incoming calls and the internet through simple AT commands. Every command starts
with “AT”. That’s why these are called AT commands. AT stands for “attention”.
GPS Module
The NEO-6M GPS module is a popular GPS receiver with a built-in ceramic antenna,
which provides a strong satellite search capability. This receiver has the ability to
sense locations and track up to 22 satellites and identifies locations anywhere in the
world. With the on-board signal indicator, we can monitor the network status of the
module. It has a data backup battery so that the module can save the data when the
main power is shut down accidentally.
The core heart inside the GPS receiver module is the NEO-6M GPS chip from u-blox.
It can track up to 22 satellites on 50 channels and have a very impressive sensitivity
level which is -161 dBm. This 50-channel u-blox 6 positioning engine boasts a Time-
To-First-Fix (TTFF) of under 1 second. This module supports the baud rate from 4800-
230400 bps and has the default baud of 9600.
Features:
Transmitter Section:
In the RF Transmitter part, there will be an SOS button along with a 433 MHz RF
transmitter, which will transmit the data to the receiver part wirelessly. The purpose
of making two individual parts here is, to minimize the size of the transmitting
module so that it can be worn as a wrist band. The circuit diagram for the
transmitter part is shown below:
Receiver Section:
In the RF Receiver section, the data transmitted from the wrist band (Transmitter
part) is received by the device having a 433 MHz RF receiver. The RF receiver sends
this information to Arduino through the digital pin. Arduino Nano then receives the
signal and processes it using the program which is flashed into it. When the victim
presses the SOS button in the transmitter part, a HIGH signal is generated and passes
to the Arduino side, and then Arduino sends a signal to SIM900 modem, to send an
SMS to Registered user along with the GPS coordinate which has already been stored
in the Microcontroller by the help of NEO6M GPS module. The circuit diagram of the
Receiver side is shown as below:
Push Button
The button serves as a physical input component in the Women Safety Device,
allowing the user to manually trigger emergency alerts with a simple press. It is
strategically placed on the device for easy access in case of emergencies. When
pressed, the button sends a signal to the Arduino Nano microcontroller, which then
initiates the process of sending SOS alerts to predefined contacts.
Push button
Arduino To Push Button
D6 Push Button
GND GND
Buzzer
The buzzer is an audible output component that provides feedback to the user when
an emergency alert is activated. Upon receiving the signal from the Arduino Nano,
the buzzer emits a loud and distinctive sound to alert the user and those nearby
about the emergency situation. The use of a buzzer adds an additional layer of
awareness to the device, ensuring that help can be summoned quickly and
effectively, even in noisy or crowded environments.
Arduino To Buzzer
D8 +5v (Vcc)
GND GND
Battery
Functionality:
The battery serves as the power source for the Women Safety Device, providing the
necessary electrical energy to operate the various hardware components, including
the Arduino Nano, GPS module, GSM module, and other peripherals. It ensures that
the device remains functional and operational even when not connected to an
external power source, offering portability and continuous functionality.
When selecting a battery for the Women Safety Device, factors such as capacity,
voltage, size, weight, rechargeability, and cost must be carefully evaluated to meet
the device's power requirements while balancing practical considerations such as
portability and user convenience.
Breadboard
Functionality:
Layout:
A typical breadboard consists of a grid of holes arranged in rows and columns, with metal strips running
underneath the surface to provide electrical connectivity. The holes are arranged in groups of five, with
each group connected internally. The rows along the length of the breadboard are typically labeled with
numbers (usually 1-30), while the columns along the width are labeled with letters (usually A-J).
In the Women Safety Device project, the breadboard is used during the development and testing phases to
prototype and assemble the various hardware components, such as the Arduino Nano, GPS module, GSM
module, and other peripherals. It provides a convenient platform for making temporary connections
between the components, facilitating the design and validation of the device's circuitry before final
assembly.
JUMPER
Functionality:
Design:
Jumpers typically consist of a flexible wire with metal pins or connectors at each end,
allowing them to be easily inserted into the holes of a breadboard or connected to
the pins of electronic components. They come in various lengths and colors to
accommodate different circuit layouts and configurations.
In the Women Safety Device project, jumpers are used to make temporary
connections between the various components, such as the Arduino Nano, GPS
module, GSM module, and other peripherals, on the breadboard during the
development and testing phases. They facilitate the assembly and configuration of
the device's circuitry, allowing for efficient prototyping and validation of the design
before final assembly.
Software Design
The software design for the Women Safety Device encompasses the development of
the Arduino sketch, which is written in C/C++ using the Arduino Integrated
Development Environment (IDE). This sketch serves as the firmware that coordinates
the device's operation, interfaces with hardware components, and executes the
necessary functionalities. One key aspect of the software design is the parsing of GPS
data received from the NEO6M GPS module. This involves extracting latitude and
longitude coordinates from the serial data stream transmitted by the GPS module
and storing them in variables for further processing. Additionally, the software
includes code for interfacing with the SIM900 GSM module for cellular
communication. Commands and data are sent to the GSM module via serial
communication to send SMS alerts containing the user's location to predefined
contacts in case of emergencies. Error handling and response verification
mechanisms are implemented to ensure reliable communication with the GSM
module.
Another crucial component of the software design is the handling of button input.
The software monitors the state of the button input component using either
interrupt or polling-based techniques to detect button presses and releases. When
the button is pressed, the Arduino triggers the generation and transmission of
emergency alerts. Additionally, the software includes code for generating audible
and visual alerts in response to emergency situations. An alarm tone is generated
using a buzzer component to attract attention and alert the user and those nearby
about the emergency. LEDs or other visual indicators may also be activated to
provide additional feedback to the user.
The software design incorporates functionality for remote control of the device.
Commands received from the RF transmitter-receiver pair are decoded and
interpreted by the Arduino to perform actions such as activating or deactivating the
device, changing settings, or triggering specific alerts. Additionally, the Arduino
sketch may include code for configuring various parameters and settings of the
Women Safety Device, such as emergency contact numbers, alert thresholds, and
sensitivity levels, either through user input or remote commands. Finally, error
handling and recovery mechanisms are implemented to detect and handle errors or
exceptional conditions that may arise during operation, ensuring continued
functionality and reliability of the device.
FUNCTIONALITIES
GPS Tracking: The device incorporates a NEO6M GPS module, enabling accurate
real-time tracking of the user's location. By continuously retrieving latitude and
longitude coordinates, it provides precise positioning information, allowing users to
be easily located in case of emergency.
SOS Alerts: In emergency situations, users can trigger an SOS alert using either the
device's dedicated button or remotely via a 433 MHz RF transmitter. Upon activation,
the device sends SMS alerts containing the user's current GPS coordinates to
predefined emergency contacts, signaling the need for immediate assistance
Remote Control: For added convenience and flexibility, the device supports remote
control functionalities through a 433 MHz RF transmitter-receiver pair. Users can
remotely activate or deactivate the device, adjust settings, or trigger specific alerts
using a separate remote control device
Audible and Visual Alerts: Upon activation of an emergency alert, the device
generates audible alerts using a buzzer component, attracting attention and alerting
nearby individuals to the user's distress. In addition to audible alerts, visual
indicators such as LEDs may also be activated to provide further feedback to the user
and surrounding individuals.
User-Friendly Interface: With its intuitive design and user-friendly interface, the
Women Safety Device is easy to operate and navigate, even in stressful situations.
Clear feedback mechanisms and straightforward controls enhance usability,
minimizing the learning curve for users and ensuring a seamless user experience.
IMPLEMENTATION
Hardware Assembly
2. Connect the components according to the circuit design, following proper wiring
and connection guidelines.
3. Use the breadboard and jumpers to create temporary connections during the
prototyping phase, ensuring proper functionality before final assembly.
Software Development:
Write the Arduino sketch, incorporating code for GPS data parsing, GSM
communication, button input handling, alarm generation, remote control
functionalities, and error handling.
Test each software module individually to verify functionality and identify any bugs
or issues.
Integrate the software modules into the main Arduino sketch, ensuring proper
communication and interaction between components.
Optimize the code for efficiency and reliability, considering factors such as power
consumption, memory usage, and processing speed
Test GPS tracking functionality to verify accurate location tracking and reporting.
Test SOS alerting system to confirm proper transmission of SMS alerts to predefined
contacts.
Conduct endurance testing to assess battery life and power management capabilities.
Perform usability testing to evaluate the device's user interface and overall user
experience.
Address any issues or bugs identified during testing, making necessary adjustments
and refinements to improve performance and reliability.
Once testing is complete and the Women Safety Device meets all requirements and
standards, deploy the device for real-world use.
Provide user instructions and guidelines for proper operation and maintenance of
the device.
Monitor user feedback and performance data to identify any areas for further
improvement or optimization.
Continuously update and refine the device based on user feedback and emerging
technologies to ensure ongoing effectiveness and relevance.
Now We Uploading The Final Code
#include <TinyGPS.h>
#include <SoftwareSerial.h>
#include <Wire.h>
TinyGPS gps;
int state;
String textMessage;
void setup() {
Serial.begin(9600);
Gsm.begin(9600);
delay(2000);
Serial.print("AT+CMGF=1\r");
delay(100);
Serial.print("AT+CNMI=2,2,0,0,0\r");
delay(100);
pinMode(5, INPUT);
void loop() {
bool newData = false;
while (Serial.available()) {
char c = Serial.read();
Serial.print(c);
if (gps.encode(c))
newData = true;
if (textMessage.indexOf("LOCAL") >= 0) {
Gsm.print("AT+CMGF=1\r");
delay(400);
Gsm.print("AT+CMGS=\"");
Gsm.print(phone_no);
Gsm.println("\"");
delay(3000);
delay(200);
Gsm.println((char)26);
delay(200);
Gsm.println();
delay(10000);
Serial.println(failed);
state = digitalRead(5);
if (state == 0) {
Gsm.print("AT+CMGF=1\r");
delay(400);
Gsm.print("AT+CMGS=\"");
Gsm.print(phone_no);
Gsm.println("\"");
delay(3000);
//Prateek
//www.justdoelectronics.com
Serial.print(",");
Gsm.print(",");
delay(200);
Gsm.println((char)26);
delay(200);
Gsm.println();
delay(10000);
} else {
delay(10);
}
#include <LiquidCrystal.h>
#include <TinyGPS++.h>
#include <SoftwareSerial.h>
TinyGPSPlus gps;
String textMessage;
void setup()
soft.begin(gps_baudrate);
Serial.begin(19200);
pinMode(12,INPUT);
pinMode(4, OUTPUT);
void loop()
{
gps.encode(soft.read());
if (gps.location.isUpdated())
Lat = gps.location.lat();
Lon = gps.location.lng();
else;
if(key==1)
digitalWrite(4,HIGH);
sendsms();
digitalWrite(4,LOW);
}
}
void sendsms()
Serial.print("AT+CMGF=1\r");
delay(100);
Serial.println("AT+CMGS =\"+9194XXXXXX\"");
delay(100);
Serial.println("I want Help !!!Location:" + String("Lat: ") +String(Lat) + " "+String("Lon: ") +
String(Lon));
delay(100);
Serial.println((char)26);
delay(100);
Serial.println();
delay(5000);
TESTING AND RESULTS
Develop a comprehensive test plan outlining the objectives, test cases, procedures,
and success criteria for each test scenario.
Verify the accuracy and reliability of GPS tracking by comparing the device's reported
coordinates with known locations.
Test the SOS alerting system to ensure timely and accurate transmission of
emergency alerts to predefined contacts.
Evaluate the delivery of SMS alerts containing the user's location coordinates to
designated emergency contacts.
Assess the speed and reliability of alert transmission under different network
conditions and geographical locations.
Test the functionality of the emergency button to ensure quick and reliable
activation of distress signals.
Verify the responsiveness and robustness of the button mechanism under various
usage scenarios and conditions.
Evaluate the accuracy and reliability of command transmission and execution by the
device.
Power Management Testing:
Conduct endurance testing to assess battery life and power consumption under
typical usage conditions.
Measure the device's power consumption during various operating modes and
activities to optimize energy efficiency.
Usability Testing:
Conduct usability testing to evaluate the device's user interface, ergonomics, and
overall user experience.
Gather feedback from users regarding ease of operation, clarity of instructions, and
satisfaction with the device's design and functionality.
Analyze test results to identify any deviations from expected behavior, performance
issues, or areas for improvement.
Compare actual results with predefined success criteria to determine whether the
device meets the specified requirements and standards.
Incorporate biometric sensors, such as heart rate monitors or stress level detectors,
to automatically trigger emergency alerts in response to physiological indicators of
distress.
Enable integration with smart home systems and Internet of Things (IoT) devices to
automate emergency response actions, such as turning on lights, unlocking doors, or
activating alarms.
Introduce support for voice commands to allow users to activate emergency alerts or
perform other actions hands-free, especially in situations where manual input may
be challenging.
Create a crowdsourced safety network where users can share real-time information
about unsafe locations, incidents, or suspicious activities to warn others and improve
community safety.
Integration with Wearable Devices:
Utilize machine learning algorithms to analyze user behavior patterns and detect
anomalies indicative of potential safety threats, enabling proactive alerting and
response.
Implement an offline emergency mode that allows the device to send distress signals
even when not connected to cellular networks by leveraging alternative
communication methods, such as satellite messaging.
Looking ahead, the Women Safety Device holds great promise for future
enhancements and advancements. With ongoing innovation and collaboration, it has
the potential to evolve into a versatile safety tool capable of addressing a wide range
of safety concerns and challenges faced by women worldwide.
Ultimately, the Women Safety Device serves as a beacon of hope and empowerment,
embodying the belief that technology can be harnessed to create safer and more
inclusive communities for all. As we continue to strive for progress and equality, let
us embrace the potential of such innovative solutions to make meaningful and
lasting impact in the lives of women everywhere.
In a world where ensuring safety and security, especially for women, is of paramount
importance, the Women Safety Device emerges as a beacon of innovation and
empowerment. Through its advanced functionalities and user-centric design, this
device not only provides a sense of security but also instills confidence and peace of
mind in its users.
The journey of developing the Women Safety Device has been marked by meticulous
planning, rigorous testing, and continuous refinement. From the careful selection
and integration of hardware components to the development of intelligent software
algorithms, every aspect of the device has been crafted with the user's safety and
convenience in mind.
Garcia, M., & Patel, R. (2024). "Design and Implementation of a Wearable Safety
Device for Women." Journal of Technology and Security, 5(1), 45-58.
Gowri S, Anandha Mala GS, Efficacious IR system for investigation in textual data.
Indian journal of science and technology.
Chand D, Nayak S, Bhut KS, Parikh S, A mobile application for women safety.
Kumar, N, V, &Vahine, S Efficient tracking for women safety and security using IOT.
International journal of advanced research in computer science.