Professional Documents
Culture Documents
INTRODUCTION
1.1 Introduction:
This project focuses on a security system that is designed merely to serve the purpose of
providing security to women so that they never feel helpless while facing such social
challenges. An advanced system can be built that can detect the location and health condition
of person that will enable us to take action accordingly based on electronic gadgets like GPS
receiver, body temperature sensor , GSM, Pulse rate sensor. We can make use of number of
sensors to precisely detect the real time situation of the women in critical abusive situations.
The heartbeat of a person in such situations is normally higher which helps make decisions
along with other sensors like motion sensors to detect the abnormal motion of the women while
she is victimized. The idea to develop a smart device for women is that it’s completely
comfortable and easy to use as compared with already existing women security solutions such
as a separate garment, bulky belts and infamous mobile apps that are just very abstract and
obsolete. The Smart band integrated with Smart phone has an added advantage so as to reduce
the cost of the device and also in reduced size. The GPS and the GSM can be used of a smart
phone . This also enables in reduced power use and that the watch can be installed with IOT
which comes in handy for several days on a single shot of charge.
1.2 Motivation
As we know the increase in number of rape this days is a major concern for the
society. To reduce with the help of technology will be very effective and good. By the
use of IOT we can build a system which can help women in emergency situations.
CHAPTER 2
OVERVIEW OF LITERATURE
Orlando pereira, et al (2010) proves the theory of using body sensors by using Network mobile
solutions for biofeedback monitoring. The SHIMMER firmware and bluetooth firmware has
been implemented in this work. The limitations of this work is bluetooth should be always
connected to phone, it cannot be used if phone is lost[1]. Mirjam Jutila, et al(2014) proves the
new concept of a wearable sensor vest for children. Safety vest Design, Gateway
Implementation, Sensor web elements has been implemented in this work. The limitations of
this work is the device used is very big in size, it cannot be carried to places all can go [2].
Samuel Tanga (2016) proves the concept of sensors in his work" Development Of Prototype
Smart Home Intelligent Lighting Control Architecture Using Sensors Onboard A Mobile
Computing System" . "Luminaire controlled by the Arduino microcontroller" has been
implemented. The limitations of this concept is wifi or internet is needed to work the
application[3]. Threats in Information Security are life-threatening more particularly in medical
field. [4]. Software providing more features and more security leads to increased execution
time and also leads to poor usability of the software [5]. The application can be secured with
fingerprint authentication for providing more security and to avoid false positive [6]. The
Dynamic Cognitive System shows how the application can be protected against vulnerabilities
and attacks in the social network [7].Parthsethi et al(2018) proves the theory of using alarm
system in his work published in "Safe sole Distress Alarm system for female security using
IOT". "Central controller, GSM module, GPS module gesture control System, smart phone
connecting". Limitations of this work is the click in a mobile is needed there is no automatic
detection[8]. Phooshkar rajiv et al(2016) proves the theory of using "Email in email based
Remote access and surveillance system for smart home infrastructure". "The Email from
embedded system to user and reply processing has been implemented in this work". The
limitations of this work is the application is very costly and GPS and GMS are not used[9].
Enji Sun et al(2011) proves the concept of IoT and cloud computing in his work "IoT and cloud
computing based dam monitoring and alarm system in mines". The limitations it is not
automatic. It should be switched on by external activity[10].
Zhen yan et al(2014) proves the theory of using Internet of Things in his work .A
system model of Internet of things has been implemented in his work. The limitation of this
work is poor in work and setup takes a long time[11]. Alessio Botta et al(2015) proves the
theory of integration of cloud computing and Internet of Things: A survey. RFID and wireless
sensors, cloud computing has been implemented in this work. The limitations of this work is
that the system is very poor in working. It is very costly to afford by poor people[12]. Luigi
Atzori et al(2012) proves the new concept of social Internet of Things in his work . He claims
how cloud and Internet of things are integrated. The limitations of this work is how the system
works is not clearly mentioned[13]. S.Sicari et al(2014) proves the new concept of "security
and trust in the internet of things" in his work. He claims that security, trust, privacy and
authentication has been implemented in this work. The limitations of this work is security and
authentication of the Internet of things is showed but how sensors are connected is not
showed[14]. Andre Gloria et al(2017) proves the new concept of IOT gateways in his work.
The concept of IOT gateways, multiple communication protocols has been implemented in this
work. The limitations of this work is a lot of hard work is needed to implement this and the
application is also very costly to be implemented[15].
Carolyn Whitzman et al(2009) proves the new concept of women's safety in his concept
.He claims that there should be some safety measures that should be taken by the women in the
society. The limitations of this work is only the security of women is discussed, but the device
has not been implemented[16]. Minchen et al(2016) proves the concept of smart clothing, in
his work "Connecting human's report with clouds and big data for sustainable health
monitoring". Intra smart clothing system , communications for Inter smart clothing sustainable
health monitoring for chronic diseases has been implemented[17].
Mandeep Singh (2015) proves the wireless integrated device in "AN IoT security model
design and validation of Android based wireless Integrated device for health monitoring. A
devicce for body parameter measurement with the set of measuring algorithms and the mobile
phone to increase tele medical capacity" has been implemented. Limitations of this concept is
this an android application and the victim cannot be in a position to open phone and click on
the application for help [18]. Susana P.Costa(2015) proves the concept of wearables in his work
"Integration of wearable solutions in AAL environments with mobility support. AAL, wearable
solutions for a mobile environment" has been implemented. Limitations are, although it is a
wearable device, it just needs a click to activate the wearables [19].
John Ayoade (2007) proves the concept of RFID in his work "Roadmap to solving
security and pure concerns in RFID system. Supply chain effectiveness, waste disposal has
been implemented[20]. Rolf H. Weber(2010) proves the concept of privacy and security in his
concept. Data protection, RFID, IOT has been implemented in this work. The limitations of
this work is how IOT is
protected is described but implementation has not given[21].
In this project we designed embedded system which will measure the physical
parameters like temperature, heartrate, noise level and fall detection and give us notification
for emergency situations .
2.4 Objective:
3.1 Specifications:
Microcontroller ATmega328P
Operating Voltage 5V
3.1.2.4 LCD:
100 mA consumption.
Simple to use.
16x2 display.
Arduino is an open-source hardware and software company, project and user community that
designs and manufactures single-board microcontrollers and microcontroller kits for building
digital devices and interactive objects that can sense and control objects in the physical and
digital world. Its products are licensed under the GNU Lesser General Public License (LGPL)
or the GNU General Public License (GPL),[1] permitting the manufacture of Arduino boards
and software distribution by anyone. Arduino boards are available commercially in
preassembled form or as do-it-yourself (DIY) kits.
Arduino board designs use a variety of microprocessors and controllers. The boards are
equipped with sets of digital and analog input/output (I/O) pins that may be interfaced to
various expansion boards or breadboards (shields) and other circuits. The boards feature serial
communications interfaces, including Universal Serial Bus (USB) on some models, which are
also used for loading programs from personal computers. The microcontrollers are typically
programmed using a dialect of features from the programming languages C and C++. In
addition to using traditional compiler toolchains, the Arduino project provides an integrated
development environment (IDE) based on the Processing language project.
The Arduino project started in 2003 as a program for students at the Interaction Design Institute
Ivrea in Ivrea, Italy,[2] aiming to provide a low-cost and easy way for novices and professionals
to create devices that interact with their environment using sensors and actuators. Common
examples of such devices intended for beginner hobbyists include
simple robots, thermostats and motion detectors.
The name Arduino comes from a bar in Ivrea, Italy, where some of the founders of the project
used to meet. The bar was named after Arduin of Ivrea, who was the margrave of the March of
Ivrea and King of Italy from 1002 to 1014.
You can download the IDE from the official Arduino website. Since the Arduino uses a
USB to serial converter (which allow it to communicate with the host computer), the
Arduino board is compatible with most computers that have a USB port. Of course, you
will need the IDE first. Luckily, the Arduino designers have released multiple versions of
the IDE for different operating systems, including Windows, Mac, and Linux. In this
tutorial, we will use Window 10, so ensure that you download the correct version of the
IDE if you do not have Windows 10.
Once downloaded, install the IDE and ensure that you enable most (if not all) of the
options, INCLUDING the drivers.
Step 2: Get the Arduino COM Port Number
Next, you’ll need to connect the Arduino Uno board to the computer. This is done via a
USB B connection. Thanks to the wonderful world of USB, we do not need to provide
power to the Arduino, as the USB provides 5V up to 2A. When the Arduino is connected,
the operating system should recognize the board as a generic COM port (for example, my
Arduino Uno uses a CH340G, which is an RS-232 serial to USB converter). Once it’s
recognized, we will need to find out what port number it has been assigned. The easiest
way to do this is to type “device manager” into Windows Search and select Device
Manager when it shows.
In the Device Manager window, look for a device under “Ports (COM & LPT)”, and
chances are the Arduino will be the only device on the list. In my Device Manager, the
Arduino shows up as COM7 (I know this because CH340 is in the device name).
So, if you can’t find your Arduino on the port that you usually use, just go to your Device
Manager and check what port it’s actually on and, if necessary, update your driver.
Now that we have determined the COM port that the Arduino is on, it’s time to load the
Arduino IDE and configure it to use the same device and port. Start by loading the IDE.
Once it’s loaded, navigate to Tools > Board > Arduino Uno. However, if you are using a
different board (i.e., not the Arduino Uno), you must select the proper board!
For the sake of simplicity, we will load an example project that the Arduino IDE comes
with. This example will make the onboard LED blink for a second continuously. To load
this example, click File > Examples > 01.Basics > Blink.
With the example loaded, it’s time to verify and upload the code. The verify stage checks
the code for errors, then compiles the ready-for-uploading code to the Arduino. The
upload stage actually takes the binary data, which was created from the code, and uploads
it to the Arduino via the serial port.
To verify and compile the code, press the check mark button in the upper left window.
With the code compiled, you must now upload it the Arduino Uno. To do this, click the
arrow next to the check mark.
The “Upload” button will program the Arduino with your code.
3.1.3.2 Things Speak:
• ThingSpeak is a Web Service (REST API) that lets you collect and store sensor data in the
cloud and develop Internet of Things applications.
• It works with Arduino, Raspberry Pi and MATLAB (premade libraries and APIs exists).
• But it should work with all kind of Programming Languages, since it uses a REST API and
HTTP.
• ThingSpeak is an IoT analytics platform service that lets you collect and store sensor data in
the cloud and develop Internet of Things applications.
• The ThingSpeak service also lets you perform online analysis and act on your data. Sensor
data can be sent to ThingSpeak from any hardware that can communicate using a REST API
• ThingSpeak is a Web Service (REST API) that lets you collect and store sensor data in the
cloud and develop Internet of Things applications.
Challenge
Measure and evaluate the energy efficiency of residential homes and businesses based on data
from onsite sensors
Solution
Used ThingSpeak to collect up-to-the-minute temperature, humidity, and power usage data
Used MATLAB to analyze and visualize the data
Results
"Uno" means one in Italian and was chosen to mark the release of Arduino Software
(IDE) 1.0. The Uno board and version 1.0 of Arduino Software (IDE) were the
reference versions of Arduino, now evolved to newer releases. The Uno board is the
first in a series of USB Arduino boards, and the reference model for the Arduino
platform; for an extensive list of current, past or outdated boards see the Arduino
index of boards .
Microcontroller ATmega328P
Operating Voltage 5V
SRAM 2 KB (ATmega328P)
EEPROM 1 KB (ATmega328P)
LED_BUILTIN 13
FEATURES
APPLICATIONS
Pulse Sensor is a well-designed plug-and-play heart-rate sensor for Arduino. It can be used by
students, artists, athletes, makers, and game & mobile developers who want to easily
incorporate live heartrate data into their projects. It also includes an open-source monitoring
app that graphs your pulse in real time.
2) An Ear Clip, perfectly sized to the sensor. We searched many places to find just the right
clip. It can be hotglued to the back of the sensor and easily worn on the earlobe.
3) 2 Velcro Dots. These are 'hook' side and are also perfectly sized to the sensor. You'll find
these velcro dots very useful if you want to make a velcro (or fabric) strap to wrap around a
finger tip.
4) 3 Transparent Stickers. These are used on the front of the Pulse Sensor to protect it from
oily fingers and sweaty earlobes.
5) The Pulse Sensor has 3 holes around the outside edge which make it easy to sew it into
almost anything.
Fig8:Hearbeat sensor
The front of the sensor is the pretty side with the Heart logo. This is the side that makes
contact with the skin. On the front you see a small round hole, which is where the LED shines
through from the back, and there is also a little square just under the LED. The square is an
ambient light sensor, exactly like the one used in cellphones, tablets, and laptops, to adjust
the screen brightness in different light conditions. The LED shines light into the fingertip or
earlobe, or other capillary tissue, and sensor reads the light that bounces back. The back of
the sensor is where the rest of the parts are mounted. We put them there so they would not get
in the way of the of the sensor on the front.
4.2.5Temperature sensor:
Fig7:DHT11
FEATURES
Low cost
3 to 5V power and I/O
2.5mA max current use during conversion (while requesting data)
Good for 20-80% humidity readings with 5% accuracy
Good for 0-50°C temperature readings ±2°C accuracy
No more than 1 Hz sampling rate (once every second)
Body size 15.5mm x 12mm x 5.5mm
4 pins with 0.1" spacing
4.2.8 GPS
GPS or Global Positioning System is a network of orbiting satellites that send precise
details of their position in space back to earth. The signals are obtained by GPS receivers, such
as navigation devices and are used to calculate the exact position, speed and time at the vehicles
location.
L80 GPS module with an embedded patch antenna (15mmx15mmx4mm) and LNA brings high
performance of MTK positioning engine to the industrial applications. It is able to achieve the
industry’s highest level of sensitivity, accuracy and TTFF with the lowest power consumption
in a small footprint lead-free package. With 66 search channels and 22 simultaneous tracking
channels, it acquires and tracks satellites in the shortest time even at indoor signal level. The
embedded flash memory provides capacity for users to store some useful navigation data and
allows for future updates. L80 module combines with many advanced features including
EASY, AIC, LOCUS, AlwaysLocateTM and Antenna Supervisor. These features are
beneficial to accelerate TTFF, improve sensitivity, save consumption and detect antenna status
for GPS system. The module supports various location, navigation and industrial applications
including autonomous GPS, SBAS (including WAAS, EGNOS, MSAS, and GAGAN), QZSS,
and AGPS. L80 simplifies the device’s design and cost because of embedded Patch Antenna
and LNA. Furthermore, L80 not only supports automatic antenna switching function, which
can achieve switching between external active antenna and internal patch antenna but also
supports external active antenna detection and short protection. The detection and notification
of different external active antenna status will be shown in the NMEA message including
external active antenna connection, open circuit for antenna and antenna shortage. So host can
query the external active antenna status timely and conveniently. L80 module is a SMD type
module with the compact 16mm x 16mm x 6.45mm form factor, which can be embedded in
your applications through the 12-pin pads with 2.54mm pitch. It provides necessary hardware
interfaces between the module and main board. The module is fully ROHS compliant to EU
regulation.
Features:
Power Supply Voltage: 3.0V ~ 4.3V typical : 3.3V
Power Consumption
o Acquisition 25mA@ VCC=V_BCKP=3.3V
o VCC= V_BCKP =3.3V
o Standby 1.0mA @ VCC= V_BCKP =3.3V
o Backup 7uA@ V_BCKP=3.3V
Receiver Type
o GPS L1 1575.42MHz C/A Code
o 66 search channels, 22 simultaneous tracking channels
UART Port
o UART Port: TXD1 and RXD1
o Supports baud rate from 4800bps to 115200bps, 9600bps by default
o UART port is used for NMEA output, MTK proprietary commands input and
firmware upgrade
Temperature Range
o Normal operation: -40°C ~ +85°C
o Storage temperature: -45°C ~ +125°C
ESP8266 is Wi-Fi enabled system on chip (SoC) module developed by Espressif system. It is
mostly used for development of IoT (Internet of Things) embedded applications.
It employs a 32-bit RISC CPU based on the Tensilica Xtensa L106 running at 80 MHz (or
overclocked to 160 MHz). It has a 64 KB boot ROM, 64 KB instruction RAM and 96 KB data
RAM. External flash memory can be accessed through SPI.
ESP8266 module is low cost standalone wireless transceiver that can be used for end-point IoT
developments.
To communicate with the ESP8266 module, microcontroller needs to use set of AT commands.
Microcontroller communicates with ESP8266-01 module using UART having specified Baud rate.
There are many third-party manufacturers that produce different modules based on this chip. So,
the module comes with different pin availability options like,
ESP-01 comes with 8 pins (2 GPIO pins) – PCB trace antenna. (shown in above figure)
ESP-02 comes with 8 pins, (3 GPIO pins) – U-FL antenna connector.
ESP-03 comes with 14 pins, (7 GPIO pins) – Ceramic antenna.
ESP-04 comes with 14 pins, (7 GPIO pins) – No ant.
etc.
Power supply is the first and most important part of our project. For our project we
require +5v regulated power supply with maximum current rating 500mA.Following
basic building blocks are required to generate regulated power supply.
REGULATED TERMINAL
O/P VOLTAE REGULATR
CIRCUIT
Step down is the first part of regulated power supply. To step the mains 230V AC we
require step down transformer. Following are the main characteristics of an electronic
transformer.
1. Power transformers are usually designed to operate from source of low impedance at a signal
frequency.
Transformer Rating:
In half wave rectifier only half cycle of mains AC is rectified and so its efficiency is
poor. So we use full wave bridge type rectifier, in which four diodes are used. In each half
cycle, two diodes conduct at a time and we get maximum efficiency at the output.
Following are the main advantages and disadvantages of full-wave Bridge type rectifier circuit.
Generally a rectifier is required to produce pure DC supply for using at various places
in the electronic circuit. However, the output of rectifier has pulsating character i.e. if such DC
is applied to electronic circuit, it will produce hum i.e. it will contain AC and DC components.
The AC components are undesirable and must be kept away from the load. To do so, a filter
circuit is used which removes (or filters out) the AC components reaching load. Obviously a
filter circuit is installed between rectifier and voltage regulator. In our project we use capacitor
filter because of its low cost, small size and little weight and good characteristic. Capacitors
are connected in parallel to the rectifier output because it passes AC but does pass DC at all.
A voltage regulator is the circuit that supplies constant voltage regardless of change in
load current. IC voltage regulates are versatile and relatively cheaper. The 7800 series consist
of three terminal positive regulators. These IC’s are designed as fixed voltage regulator and
with adequate heat sink, can deliver output current in excess of 1Amp. These devices do not
required external component. This IC also has internal thermal overload protection and internal
short circuit and current limiting protection.
Specifications:
Available output DC 5
Selection of diode:
= 5 x 0.707
= 3.535V
= 2 x 3.535
= 7.07V
So, from above parameters we select diode IN4001 from diode selection manual.
Design of filter capacitor:
C= 1
4√3×r×f×R1
C= 1
0.03×50×21.33× 4√3
= 4511.25µf
≈ 4700µf
And voltage rating of filter capacitor is double of Vdc i.e. rectifier o/p which is 20V.So we
choose 4700µf/25V filter capacitor.
Design of Rectifier:
Its function is to rectify the ac input voltage. At the output we get unregulated waveform
containing ripples as shown in figure
Output voltage(VL) : +5 V
Output current(IL) : 500 mA
Step1: Regulator
As per requirement the output voltage must be 5V DC regulated so we are using 7805
regulator ICas per Fairchild semiconductor datasheet specified:
Parameter Rating
t1 = 5+3.63
t1 = 8.63 msec
Vp = 9.7 ~10 V
=209.3V
209.3V 10 V
230V Vp’
Vp’ = 10.98V
= 250.7V
209.3v 10 V
250.7V Vp”
Vp” = 11.97V
=1.8*IL
=1.8*500mA
=0.9 Amp
= 6.98 VA
VA rating of transformer 6.98; i.e. Vsec=> 7.76 V
Select the transformer with secondary voltage 9V Vrms & secondary current 1Amp
=9+0.9
=9.9 VA
Design of C1:
The maximum current that can be drawn from this IC is 1A.But our circuit requires
maximum current of Imax, which is summation of all the current required to drive individual
IC’s.
Im = 500 mA
For safety purpose, we consider the maximum current limit exactly double of the circuit
requirement
Imax =2Im.
We know that,
Q = CV ………………………..……….. (1)
Where,
Q = charge on capacitor.
C = capacitance.
V = voltage applied to capacitor.
Also,
Q = I t. …………………………….….. (2)
Where,
I = Imax.
As we have used step down transformer of 9-0-9 V, we get output voltage having same
frequency of 50 Hz but amplitude step down to 9V (rms).
After rectification, frequency doubles & amplitude becomes Vpeak, as shown in figure.
Therefore, Vpeak = Vp
= Vsec / 0.707.
Vp = 10.9 v.
And, t = 1 / 2f
= 1 / 100
= 0.01 sec.
CV = I t.
Therefore,
C = Imax t / V
= 917.43 uF.
Design of C2:
We know that, due to internal circuitry of IC 7805 and load connected at the output of
power supply, various types of noises are generated at its output, such as thermal noise, flicker
noise, shot noise, white noise etc. Hence in order to bypass all these noises, we have to connect
a capacitor C2. It can take value between 0.1uF to 1000uF.Here we have connected C2 = 750uF
4.4 Circuit Diagram:
Fig 12: Circuit diagram
Fig 13: Flow chart
Temperature
Measurement
Noise measurement
Heart Rate report
System
Temperature measurement
Fall Detection
5.1 Advantages:
5.2 Disadvantages:
Complex system
Excessive delay
High cost
5.4 Conclusion:
Hence we conclude that we have decided all the hardware and software requirements that will
be needed for the project. We have discussed all the sensors we will be using for measuring the
temperature, heart rate and fall detection. We have also discussed the microcontroller that we
are going to use for our project that the Arduino Uno with its advantages. We have decided the
flow and algorithm of the project.
REFERENCES