You are on page 1of 36

A SOCIAL RELEVANT PROJECT REPORT ON

“SMART WIRST BAND FOR WOMAN SECURITY SYSTEM”


Submitted in Partial Fulfilment of the Requirements for
The Award of the Degree of
BACHELOR OF TECHNOLOGY
IN
ELECTRONICS AND COMMUNICATION ENGINEERING
Submitted By
N. Naga Vasundhara (19X51A0436)
Under the Guidance of
Mrs. G.SOWMYA, M.Tech(Ph.D)
Assistant Professor
Department of ECE

SANTHIRAM ENGINEERING COLLEGE::NANDYAL


An ISO 9001:2015 Certified Institution, 2(f) & 12(B) recognition by UGC Act,1956
(Approved by AICTE, New Delhi: Permanently Affiliated to J.N.T.University,
Anantapuramu, and A.P.)
Department of Electronics and Communication Engineering
YEAR: 2020-2021
SANTHIRAM ENGINEERING COLLEGE::NANDYAL
An ISO 9001:2015 Certified Institution, 2(f) & 12(B) recognition by UGC Act, 1956
(Approved by AICTE, New Delhi: Permanently Affiliated to J.N.T.University,
Anantapuramu, and A.P.)
Department of Electronics and Communication Engineering

CERTIFICATE

This is to certify that the dissertation entitled “SMART WIRST BAND FOR
WOMAN SECURITY SYSTEM”that is being submitted by N. Naga Vasundhara
(19X51A0436), under the guidance of Mrs. G.SOWMYA for Social Relevant Project in
fulfilment to award the B.Tech Degree in ELECTRONICS & COMMUNICATION
ENGINEERING in the SANTHIRAM ENGINEERING COLLEGE, Nandyal (Permanently
Affiliated to J.N.T.University Anantapuramu) is a record of bonafied work carried out by
her under our guidance and supervision.

PROJECT GUIDE PROJECT COORDINATOR


Mrs.G.SOWMYA M.Tech(Ph.D) Mrs.G.SOWMYAM.Tech(Ph.D)
Assistant Professor, Assistant Professor,
Department Of ECE, Department of ECE,
SREC, NANDYAL. SREC, NANDYAL.

SIGNATURE OF HOD
ACKNOWLEDGEMENT

An endeavour of a long period can be successful only with the advice of many
well wishers. We take this opportunity to express my deep gratitude and
appreciation to all those who encouraged for successfully completion of the
project work.
We are thankful to our Guide Mrs. G.SOWMYA, Assistant Professor in
Department of E.C.E., SREC, Nandyal, for her valuable guidance and
suggestions in analysing and testing throughout the period, till the end of project
work completion.
Our special thanks to Dr.Y.MALLIKARJUNA RAO Head of Electronics &
Communication Engineering Department, SREC, and Nandyal. During the
progress of project work for his timely suggestions and helped us inspite of his
busy schedule.
We deeply express our heartily gratitude and thanks to the Project Coordinator
Mrs. G.Sowmya, Assistant Professorand all the faculty members of E.C.E for
their valuable guidance, enriching thoughts and profound knowledge, which
brought my project work to its completion.
We wish to convey our gratitude and express sincere thanks to all P.R.C
(Project Review Committee) members for their support and Co-operation
rendered for successful submission of our Project work.
We wish to express our sincere gratitude to Sri Dr. M. V. SUBRAMANYAM
garu, Principal of SREC, Nandyal for his consistent help and encouragement to
complete the project work.
Finally, we would like to express our sincere thanks to faculty members of
E.C.E. Department, parents, friends and lab technicians, one and all who have
helped to complete the project work successful.

By

N. Naga Vasundhara (19X51A0436)


ABSTRACT:

When someone is going to harass, she can just press the button and the
location information is sent as an SMS alert to few predefined numbers in terms
of latitude and longitude. The controller used is ATMEG328P. It is interfaced
with a push button, a GPS module, a GSM modem and a LED . If the switch is
pressed, The controller take the current location information from the GPS
module and send those data to the pre-defined no. using a GSM modem. The
purpose of this Project is to feel safe the women’s.
- Today girls were not allowed to move freely even in the streets without
worrying about their security. Parents are worrying about their security which
has become the first barrier to send their daughters for job. The pulse rate are
detected by using pulse sensors. When the rate of pulse is increased more than
that of normal rate, the device get activated. A mobile app is used for location
tracking. This app searches for the nearest available police station and an alert
message along with the location details are sent to them. The message is also
forwarded along with the location details to the already added emergency
contacts.

Key Words: Pulse Sensor, Arduino Uno, GPS, Bluetooth.


INDEX

S.NO LIST OF CONTENTS PAGE.NO

1. ABSTRACT

2. INTRODUCTION

3. CIRCUIT DIAGRAM
COMPONENTS REQUIRED
ARDUINO MINI
GSM
4. BATTERY
GPS
TRANSISTOR
BUZZER
5. ADVANTAGES

6. APPLICATIONS

7. CODE

8. CONCLUSION

9. REFERENCES
CHAPTER -1
INTRODUCTION:

Women safety in India is a big problem, Safety of women matters a lot whether
at home, outside the home or working place. It is very true that women in India
are given a place of Goddess Lakshmi in the Indian society however we also
cannot ignore the negative aspect of women position in India. Areas like streets,
public spaces, public transport, etc have been the territory of women hunters.
Safety of women in India is a vast topic now-a-days. We cannot say that women
are safe in India by seeing the last few year crimes against women especially in
the national capital. Women generally are afraid to go alone outside. It is a very
sad reality of the country that its women citizens are living with fear all time.
Personal safety of women has been the topic of importance for every Indian
citizen.
Despite of formation of various effective rules and regulations by the Indian
government to handle and control the crimes against women, the number of
crimes against women are increasing day by day. The status of women in the
country has been more offensive and dreadful in the last few years. It has
decreased the confidence level of women for safety in their own country. We
should not blame the government because women safety is not only the
responsibility of government only, it is the responsibility of every Indian
citizen. Women in India known as the better half of Indian society, today, are
becoming the most vulnerable section as far as their safety and security is
concerned. This surely indicate that there has been an increasing rage of such
sexual overdrives in present generation.
Rape is the fourth most common crime against Women in India. According to
latest National Crime Records Bureau (NCRB) 2013 annual report, 33,707 rape
cases are reported across only India. The number of reported rape cases has
been steadily increasing over the past decade. A step towards curbing incidents
of this heinous crime is to develop a device that can sense the impending danger
automatically and help in rescuing the victims from such act. Research shows
that such devices exist commercially but requires manual pressing of button to
trigger alarm. Since the mental state of women as well is children is affected
during such act consequently manual pressing of button is not ideal.
The citizens of India, have to take up some fundamental duties to contribute
towards bringing an order to ensure dignity and respect for women so that she
can also enjoy her human rights and fundamental rights with sense of pride,
freedom and confidence. To ensure this, the society must work together to give
an edge to the solution. For example, women in the society must be provided
with devices with latest technology which provides her location
using GPS technology to a central control room of police or send messages of her
address to nearby locations.
Public outrage after the brutal rape and murder of the 23 year old student,
“Nirbhaya” in Delhi on 16 December 2012 has focused greater attention on
necessity for holistic measures for security and safety of women. Sadly despite a
strong legislation there has been no reduction in incidents of assault and
physical abuse of women underlining larger socio-political ills and environmental
changes in Indian society today. The underlying trends may seem aberrations in
male behavior but these have become so pronounced in recent times and their ill
effects so damaging to society at large that these need blunt assertion.
It has always been a concern for many people and communities around the
world. It becomes evident when we look at various happenings taking place
around the world, where the identity of woman has been misunderstood by a few
individuals in the society and an attempt to harm a woman’s social status has
been made and while it may be decades or centuries before the world becomes a
safer place for us, there are several things we can—and must—do to protect
ourselves.
CIRCUIT DIAGRAM:
CHAPTER -2

COMPONENTS REQUIRED:

Arduino pro mini

The original, true-blue Arduino is open-source hardware, which means anyone


is free to download the design files and spin their own version of the popular
development board. SparkFun has jumped on this opportunity and created all
sorts of Arduino variants, each with their own unique features, dimensions, and
applications. Now one of those variants has landed in your hands;
congratulations! It’s a wild world out there in microcontroller-land, and you’re
about to take your first step away from the wonderful – though sometimes stifling
– simplicity of the Arudino Pro Mini.

FIGURE 1
So what differentiates the Arduino Pro Mini from the Arduino Uno? Well, the
most obvious difference is the form factor. The Pro Mini’s pretty…mini,
measuring in at just 1.3x0.70". It’s about ⅙th the size of the Arduino Uno.
The compact size is great for projects where you may need to fit the Arduino into
a tiny enclosure, but it also means that the Pro Mini is not physically compatible
with Arduino shields (you could still hard-wire the Mini up to any Arduino
shield).
The Mini packs almost as much microprocessor-punch as the regular Arduino,
but there are a few major hardware changes you should be aware of before you
start adapting your project to the Mini. The first glaring hardware difference is
the voltage that the Mini operates at: 3.3V. Unlike the Arduino Uno, which has
both a 5V and 3.3V regulator on board, the Mini only has one regulator.
This means that if you’ve got peripherals that only work at 5V, you might have
to do some level shifting before you hook it up to the Pro Mini (or you could go
for the 5V variant of the Pro Mini). Another major variation from the standard
Arduino lies in the speed at which the ATmega328 runs. The Pro Mini 3.3V runs
at 8MHz, half the speed of an Arduino Uno.
We put a slower resonator on the Mini to guarantee safe operation of the
ATmega. That said, don’t let the slower speed scare you away from using the
Mini; 8MHz is still plenty fast, and the Mini will still be capable of controlling
almost any project the Arduino uno can.
One last missing piece of hardware is the Atmega16U2-based USB-to- Serial
converter, and the USB connector that goes with it. All of the USB circuitry had
to be eliminated for us to make the Pro Mini as small as possible.
The absence of this circuit means an external component, the FTDI Basic
Breakout, is required to upload code to the Arduino Pro Mini.
FIGURE 2

SCHEMATIC AND PINOUT:


The schematic of the Pro Mini can be broken down into three blocks: the voltage
regulator, the ATmega328 and supporting circuitry, and the headers.

FIGURE 3
The Pro Mini’s pins surround three of the four sides. The pins on the short side
are used for programming, they match up to the FTDI Basic Breakout. The pins
on the other two sides are an assortment of power and GPIO pins (just like the
standard Arduino).

FIGURE 4

There are three different power-related pins: GND, VCC, and RAW. GND,
obviously, is the Page common/ground/0V reference.
RAW is the input voltage that runs into the regulator. The voltage at this input
can be anywhere from 3.4 to 12V.
The voltage at VCC is supplied directly to the Pro Mini, so any voltage applied
to that pin should already be regulated to 3.3V. Four pins are actually not
located on the edge of the board: A4, A5, A6 and A7. Each of these analog pins
is labeled on the back side of the board.
The Pro Mini’s pins surround three of the four sides. The pins on the short side
are used for programming, they match up to the FTDI Basic Breakout.
The pins on the other two sides are an assortment of power and GPIO pins (just
like the standard Arduino).

FIGURE 6
A4 and A5’s location may be very important if you plan on using I 2C with the
Pro Mini – those are the hardware SDA and SCL pins. More information about
pins can be found in our graphical datasheet.

FIGURE 7
Assembly:
The Arduino Pro Mini doesn’t look like much when you first get it; it’s as bare-
bones as can be. We’ve left it up to you to solder headers or wires into the open
through-holes. There are a few things to make you aware of though. First,
decide how you want to connect the FTDI Basic Breakout to the Pro Mini’s
programming header.
The programming header is a row of six pins on the side of the board, labeled
“BLK”, “GND”, “VCC”, “RXI”, “TXO”, and “GRN”. Since the FTDI Basic
board is equipped with a female header, it’s usually best to equip your Mini’s
programming header with mating male headers, either straight or right-angle.

FIGURE 8
Versatility is what makes this board so great, and you can assemble it in
whatever way makes the most sense for your project.

GSM

FIGURE 9
The SIM800L is a quad-band GSM/GPRS module ,that works on
frequencies GSM850MHZ ,EGSM900MHZ ,DCS1800MHZ and
PCS1900MHZ where it can meet all the space requirements in user applications
,such as smart phone ,PDA and other mobile devices .It has a microSIM slot
.antenna for the network signal ,microphone ,speaker pinouts and ring .The
power supply requirements for this module is restrictly 3.4 to 4.4v DC with
minimum 2A.

FEATURES :
with power saving technique for low current consumption .
audio channel which includes two microphone input, a receiver output and a
speaker output.
External antenna pad.
GENERAL SPECIFICATIONS:
Power supply :3.4 t0 4.4v DC
Current required :1A-2.6A(MAX)
Band frequency :quad-band
Default baud rate :9600bps
Working temperature range :-40-85degree Celsius
SIM interface :1.3v,3v
Timing functions :use AT commands set
PCB dimensions :23mm*25mm

FIGURE 10
BATTERY

The TP4056 is a complete constant-current/constant-voltage linear charger for


single cell lithium-ion batteries. Its SOP package and low external component
count make the TP4056 ideally suited for portable applications. Furthermore,
the TP4056 can work within USB and wall adapter. No blocking diode is required
due to the internal PMOSFET architecture and have prevent to negative Charge
Current Circuit. Thermal feedback regulates the charge current to limit the die
temperature during high power operation or high ambient temperature. The
charge voltage is fixed at 4.2V, and the charge current can be programmed
externally with a single resistor. The TP4056 automatically terminates the charge
cycle when the charge current drops to 1/10th the programmed value after the
final float voltage is reached. TP4056 Other features include current monitor,
under voltage lockout, automatic recharge and two status pin to indicate charge
termination and the presence of an input voltage.

FIGURE 1
FEATURES ·
Programmable Charge Current Up to 1000mA ·
No MOSFET, Sense Resistor or Blocking Diode Required
Constant-Current/Constant-Voltage
Charges Single Cell Li-Ion Batteries Directly from USB Port
Preset 4.2V Charge Voltage with 1.5% Accuracy
Automatic Recharge ·two Charge Status Output Pins
C/10 Charge Termination ·2.9V Trickle Charge Threshold (TP4056)
Soft-Start Limits Inrush Current
Available Radiator in 8-Lead SOP Package, the Radiator need connect GND or
impending.
ABSOLUTE MAXIMUM RATINGS :
·Input Supply Voltage(VCC):-0.3V~8V
·TEMP:-0.3V~10V ·CE:-0.3V~10V
·BAT Short-Circuit Duration:Continuous
·BAT Pin Current:1200mA
·PROG Pin Current:1200uA
·Maximum Junction Temperature:145℃
·Operating Ambient Temperature Range:-40 ℃~85℃
·Lead Temp.(Soldering, 10sec):260℃

APPLICATIONS :
Cellular Telephones, PDAs, GPS
Charging Docks and Cradles
Digital Still Cameras, Portable Devices
USB Bus-Powered Chargers,Chargers
FIGURE 12

GPS
One of the global positioning system (GPS) devices ultilizes data from satellites
to locate a specific point on the Earth in a process named trilateration.
Meanwhile, a GPS receiver measures the distances to satellites using radio
signals to trilaterate.And trilateration is similar to triangulation, which measures
angles, depicted in this illustration (Tim Gunther, 2020). GPS modules contain
tiny processors and antennas that directly receive data sent by satellites through
dedicated RF frequencies.
From there, it’ll receive timestamp from each visible satellites, along with other
pieces of data. If the module’s antenna can spot 4 or more satellites, it’s able to
accurately calculate its position and time.
The four well-known Global Navigation Satellite System include GPS,
BDS(Beidou), GLONASS and GALILEO four satellite navigation systems.
The earliest appeared in the United States is GPS (Global Positioning System),
which is the most complete technology at this stage. BDS, GLONASS and
GALILEO have become the other largest satellite navigation systems in the
world and are currently in the process of modernization.
We will introduce and compare these two GPS modules:
Grove – GPS Module
Grove – GPS(Air530)
These GPS modules are compatible with Arduino and Raspberry Pi, making it
easy for you to start to try out.The Air 530 Module in Grove - GPS(Air530) is a
high-performance, highly integrated multi-mode statelite positioning and
navigation module. It supports GPS / Beidou / Glonass / Galileo / QZSS /
SBAS, which makes it suitable for GNSS positioning applications such as car
navigation, smart wear and drone. And Air530 module is also supporting NMEA
0183 V4.1 protocol and compatible with previous versions.
Meanwhile, the E-1612-UB module series of Grove - GPS Module is a family
of stand-alone GPS receivers featuring the high performance u-blox 5
positioning engine. The 50-channel u-blox 5 positioning engine boasts a Time-
To-First-Fix ( TTFF ) of under 1 second. The dedicated acquisition engine, with
over 1 million correlators, is capable of massive parallel time / frequency space
searches, enabling it to find satellites instantly.

FIGURE 13
WHICH GPS IS BETTER:

BETTER POWER CONSUMPTION:

The Grove – GPS (Air530) has a ultra-low power consumption at only 31uA,
low power mode at 0.85 mA, which makes it be the better GPS with lower
power consumption.
SCALABILITY:
With a higher maximum update rate, the Grove - GPS is able to be used for
projects that involve objects that travel at a faster speed. Furthermore, having
more channels open up for other applications as well, the Grove- GPS (Air
530) has a multi-mode satellite positioning & navigation and supports more than
6 satellites at the same time.
ACCURACY:
Featuring Horizontal positioning accuracy of 2.5m, High positioning accuracy of
3.5m, speed accuracy of 0.1m/s, and a time transfer accuracy of 30ns, the Grove
-GPS (Air530) is able to position quickly and accurately even under the condition
of a bad signal.
FIELD APPLICATIONS :

Measurement

Transportation

Entertainment

Agriculture

Emergence rescue
TRANSISTOR
INTRODUCTION
The name is transistor derived from ‘transfer resistors’ indicating a solid state
Semiconductor device. In addition to conductor and insulators, there is a third
class of material that exhibits proportion of both. Under some conditions, it acts
as an insulator, and under other conditions it’s a conductor. This phenomenon is
called Semi-conducting and allows a variable control over electron flow. So, the
transistor is semiconductor device used in electronics for amplitude. Transistor
has three terminals, one is the collector, one is the base and other is the emitter,
(each lead must be connected in the circuit correctly and only then the transistor
will function). Electrons are emitted via one terminal and collected on another
terminal, while the third terminal acts as a control element. Each transistor has a
number marked on its body. Every number has its own specifications.
TYPES OF TRANSISTOR
NPN TRANSISTER
When a positive voltage is applied to the base, the transistor begins to conduct
by allowing current to flow through the collector to emitter circuit. The relatively
small current flowing through the base circuit causes a much greater current to
pass through the emitter / collector circuit. The phenomenon is called current
gain and it is measure in beta.
PNP TRANSISTER
It also does exactly same thing as above except that it has a negative voltage on
its collector and a positive voltage on its emitter.

Figure: 5.7.1 Allocation of terminal of Transistor


Transistor is a combination of semi-conductor elements allowing a controlled
current flow. Germanium and Silicon is the two semi-conductor elements used
for making it. There are two types of transistors such as point contact and
junction transistors. Point contact construction is defective so is now out of use.
Junction triode transistors are in many respects analogous to triode electron
tube.
OPERATION OF PNP TRANSISTOR
A PNP transistor is made by sand witching two PN germanium or silicon diodes,
placed back to back. The center of N-type portion is extremely thin in comparison
to P region. The P region of the left is connected to the positive terminal and N-
region to the negative terminal i.e. PN is biased in the forward direction while P
region of right is biased negatively i.e. in the reverse direction as shown in Fig.
The P region in the forward biased circuit is called the emitter and P region on
the right, biased negatively is called collector. The center is called base.

Operation of PNP transistor

The majority carriers (holes) of P region (known as emitter) move to N region


as they are repelled by the positive terminal of battery while the electrons of N
region are attracted by the positive terminal. The holes overcome the barrier and
cross the emitter junction into N region. As the width of base region is
extremely thin, two to five percent of holes recombine with the free electrons of
N-region which result in a small base current while the remaining holes (95% to
98%) reach the collector junction. The collector is biased negatively and the
negative collector voltage aids in sweeping the hole into collector region.
As the P region at the right is biased negatively, a very small current should flow
but the following facts are observed:-
A substantial current flows through it when the emitter junction is biased in a
forward direction.
The current flowing across the collector is slightly less than that of the emitter,
and
The collector current is a function of emitter current i.e. with the decrease or
increase in the emitter current a corresponding change in the collector current is
observed.
The facts can be explained as follows:-
As already discussed that 2 to 5% of the holes are lost in recombination with the
electron base region, which result in a small base current and hence the collector
current is slightly less than the emitter current.
The collector current increases as the holes reaching the collector junction are
attracted by negative potential applied to the collector.
When the emitter current increases, most holes are injected into the base region,
which is attracted by the negative potential of the collector and hence results in
increasing the collector current. In this way emitter is analogous to the control
of plate current by small grid voltage in a vacuum triode.
Hence we can say that when the emitter is forward biased and collector is
negatively biased, a substantial current flows in both the circuits. Since a small
emitter voltage of about 0.1 to 0.5 volts permits the flow of an appreciable emitter
current the input power is very small. The collector voltage can be as high as 45
volts.
In variable resistors, we have the dial type of resistance boxes. There is a knob
with a metal pointer. This presses over brass pieces placed along a circle with
some space b/w each of them.
Resistance coils of different values are connected b/w the gaps. When the knob
is rotated, the pointer also moves over the brass pieces. If a gap is skipped over,
its resistance is included in the circuit. If two gaps are skipped over, the
resistances of both together are included in the circuit and so on. A dial type of
resistance box contains many dials depending upon the range, which it has to;
it will have three dials cover. If a resistance box has to read up to10, 000. The
each having ten gaps i.e. ten resistance coils each of resistance 10 .third dial will
have ten resistances each of 100.
JUNCTION TRANSISTOR:

A junction transistor can function as an amplifier or oscillator as can a triode


tube, but has the additional advantage of long life, small size, ruggedness and
absence of cathode heating power. Junction transistors are of two types which
can be obtained while manufacturing.
The two types are: -
1.NPN
2.PNP
BUZZER

FIGURE 14
Piezo buzzers are simple devices that can generate basic beeps and tones. They
work by using a piezo crystal, a special material that changes shape when voltage
is applied to it. If the crystal pushes against a diaphragm, like a tiny speaker
cone, it can generate a pressure wave which the human ear picks up as sound.
Within the buzzer is a coil of wire connected to the circuit, which produces the
magnetic field. By oscillating the signal through the coil, the buzzer produces a
fluctuating magnetic field, which vibrates the disk. This movement makes the
buzzer sound.
CHAPTER-3

ADVANTAGES:

• Easy Maintenance
• Low cost with high performance.
• Fast response.
• Environmental friendly system.
• Wireless connectivity
CHAPTER-4

APPLICATIONS:
• Can be used for the safety of children.
• Can be used for the safety of elderly aged people.
• Can be used for the safety of physically challenged people.
• Can be used as a legal evidence of crime with exact location information
for prosecution
CODE:
#include <MemoryFree.h> #include <LiquidCrystal.h> #include
<SoftwareSerial.h>
SoftwareSerial GPSSerial(11,12); // RX, TX GPS 10,11 char rec=' ';
char arr_gps[200] = ""; uint8_t valid_data_gps_flag=0; uint8_t
start_gps_reading=0; uint8_t gps_count=0;
uint8_t arr_count_gps=0; #define TRUE 1
#define FALSE 0 char time[30]; char gps_valid; char latitude[20]; char
lat_ns;
char longitude[20]; char lon_ew;
float lat1,lon1,tem1,tem2,tem3;
unsigned long panicMillis=0, outofrangeMillis=0, connectionMillis=0; int
read_flag=0, connection_flag=1;
#define buzzer 13
//GSM Serial
SoftwareSerial GSerial(2,3); // RX, TX // GSM char aux_string[25];
char phone_number[20]="9953986150"; // Change your no. here char
SMS[400];
int Swi = 10;
LiquidCrystal lcd(4, 5, 6, 7, 8, 9); float volt_value;
unsigned long previousMillis=5000,previousMillis1;
//*******
int8_t sendATcommand2(char* ATcommand, char* expected_answer1, char*
expected_answer2, unsigned int timeout) //This function sends command to the
GSM Modem and wait for reply according to arguments
{
uint8_t x=0, answer=0; char response[300]; unsigned long previous;

memset(response, '\0', 100); // Initialize the string delay(100);


while( GSerial.available() > 0) GSerial.read(); // Clean the input buffer
GSerial.println(ATcommand); // Send the AT command
x = 0;
previous = millis();

// this loop waits for the answer do{


// if there are data in the UART input buffer, reads it and checks for the asnwer
if(GSerial.available() != 0){ response[x] = GSerial.read(); x++;
// check if the desired answer 1 is in the response of the module if
(strstr(response, expected_answer1) != NULL)
{
answer = 1;
}
// check if the desired answer 2 is in the response of the module else if
(strstr(response, expected_answer2) != NULL)
{
answer = 2;
}
}
}
// Waits for the asnwer with time out
while((answer == 0) && ((millis() - previous) < timeout));
return answer;
}
//*******
void send_message(char *message)
{
char aux_string[25]; uint8_t answer=0;
Serial.print(F("GSM : Sending SMS ...")); memset(aux_string, '\0', 24); //
Initialize the string sprintf(aux_string,"AT+CMGS=\"%s\"", phone_number);
answer = sendATcommand2(aux_string, ">", ">", 3000); // send the SMS
number
if (answer == 1)
{
GSerial.println(message); GSerial.write(0x1A);
answer = sendATcommand2("", "OK", "OK", 20000); if (answer == 1)
{
Serial.println(F("Sent"));
}
else
{
Serial.println(F("X. .. Error"));
}
}
else
{
Serial.print(F("X...error ")); Serial.println(answer, DEC);
}
}
//*******
void send_msg_location(char *message)
{
char aux_string[50]; uint8_t answer=0;
Serial.print(F("GSM : Sending SMS ...")); memset(aux_string, '\0', 24); //
Initialize the string sprintf(aux_string,"AT+CMGS=\"%s\"", phone_number);
answer = sendATcommand2(aux_string, ">", ">", 3000); // send the SMS
number
if (answer == 1)
{
GSerial.print(message);GSerial.print("http://maps.google.com/maps?q=+");
GSerial.print(lat1,5);GSerial.print(",+");GSerial.print(lon1,5);
GSerial.write(0x1A);
answer = sendATcommand2(" ", "OK", "OK", 20000); if (answer == 1)
{
// Serial.println(F("Sent"));
}
else
{
// Serial.println(F("X. ..Error"));
}
}
else
{
Serial.print(F("X...error ")); Serial.println(answer, DEC);
}
}
//*******
void init_gsm()
{
uint8_t answer=0;
uint8_t gsm_detect_count=0; lcd.clear();
lcd.setCursor(0…
CHAPTER-5
CONCLUSIONS:
All the applications and devices are built by using new technologies and
processors, where in it might become difficult to operate for women in rural areas
and uneducated people, also makes it difficult for them to use smart phones and
their updated features. And if the phone is running out of battery, the application
present in the phone cannot be used. Therefore we propose here, a novel idea to
make the device easily operated by rural women folk. The device can be designed
to have 2 or 3 colored buttons on it, when the threat arrives a specific button can
be pressed, where in the buttons will be programmed with required and
necessary functions. As we see the proposed device has 4 colored buttons on it
i.e., red, blue, green and yellow. When the red button is pressed it triggers the
alarm sensor, the blue button sends an emergency message to the preset
contacts, the green button records the audio and finally the yellow button helps
detect hidden cameras. The smart phone problem cannot be easily solved
because of its too many advantages, no other device can provide those many
applications which almost support all the features required in order to use an
application or even link a device and operate it. The battery backups of present
smart phones are pretty good, but still a person always needs to makes sure that
the battery will last until the end of the day. There are many more portable
devices just in order to charge the phones (portable chargers), they can be used
to charge the phones before the battery dies. People who are not comfortable in
using applications which are installed in smart phones can always opt for
devices. The devices can be made in different forms and sizes using specific
components. It can be a belt, band or even a cosmetic shaped item. Even defense
items can be introduced in different forms such as lipstick stun gun which gives
shock etc. By using these different forms of devices attacker can be tackled easily
because he might not be aware and has no knowledge about the presence of
such devices.
SMART WRIST BAND FOR WOMEN SECURITY SYSTEM
REFERENCES:

Monisha, D. G., Monisha, M., Pavithra, G., & Subhashini, R. (2016). Women
safety device and application-FEMME. Indian Journal of Science and
Technology, 9(10).
Chougula, B., Naik, A., Monu, M., Patil, P., & Das, P. (2014). Smart girls
security system. International Journal of Application or Innovation in
Engineering & Management, 3(4).
Bhavale, M. D. M., Bhawale, M. P. S., Sasane, M. T., & Bhawale, M. A. S.
(2015). IOT Based Unified Approach for Women and Children Security Using
Wireless and GPS. International Journal of Advanced Research in Computer
Engineering & Technology (IJARCET) Volume, 5.
Miriyala, G. P., Yadlapalli, R. S., Pasam, V. R. L., Kondapalli, T., & Miriyala,
A. (2016). Smart Intelligent Security System for Women. International Journal
of Electronics and Communication Engineering & Technology (IJECET) Vol,
7, 41-46.
Jain, R. A., Patil, A., Nikam, P., More, S., & Totewar, S. (2017). Women’s
safety using IOT.

Deodhe, R., Ghode, S., & Mishra, S. Woman Security System By Using Gps &
Gsm. International journal for engineering applications and Technology, ISSN,
2321-8134.
Mahmud, S. R., Maowa, J., & Wibowo, F. W. (2017, November). Women
empowerment: One stop solution for women. In Information Technology,
Information Systems and Electrical Engineering (ICITISEE), 2017 2nd
International conferences on (pp. 485-489). IEEE.
Harikiran, G. C., Menasinkai, K., & Shirol, S. (2016, March). Smart security
solution for women based on Internet of Things (IOT). In Electrical,
Electronics,
and Optimization Techniques (ICEEOT), International Conference on (pp.
3551- 3554). IEEE.
Sharma, S., Ayaz, F., Sharma, R., Jain, D., & Student, B. E. (2017). IoT Based
Women Safety Device using ARM7. International Journal of Engineering
Science, 1146

You might also like