Smart Glove For Patient Health Care Monitoring System

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 37

SMART HAND GLOVE FOR PATIENT HEALTH CARE

MONITORING SYSTEM

Submitted By

Muhammad Umar Aslam (CSEE-F15-104)


Usman Al Bashir (CSEE-F15-107)
Jay Raaj (CSEE-F15-110)

A report Submitted to the

Department of Electronics and Electrical Systems


In partial fulfillments of the requirement for the degree of
BACHELOR OF SCIENCES IN ELECTRONICS AND ELECTRICAL SYSTEMS
Faculty of Electronics and Electrical Systems

The University of Lahore


Islamabad Campus

September 2019
Copyright © 2019 by Muhammad Umar Aslam,Usman Al Bashir and Jay Raaj.

All rights reserved. Reproduction in whole or in part in any form requires the prior written
permission of Muhammad Umar Aslam,Usman Al Bashir and Jay Raaj.
Dedicated to our beloved parents, brothers, sister and to all those,
whose prayers always pave the way to success for me.
CERTIFICATE OF APPROVAL
It is certified that the project titled “Smart Hand Glove for Patient Health Care Monitoring
System” is carried out by Muhammad Umar Aslam Reg. No. CSEE-F15-104, Usman Al
Bashir Reg. No. CSEE-F15-107, Jay Raaj CSEE-F15-110 and under the supervision of Sir
Riaz, at The University of Lahore, Islamabad Campus. It is fully adequate, in scope and in
quality, as a project report for the degree of BS in Electronics and Electrical Systems.

Supervisor:
_______________
Dr. Muhammad Riaz
Assistant Professor
Department of Electronics and Electrical systems
The University of Lahore, Islamabad Campus.

Internal Examiner 1:
_______________
Mr. Bilal Mehboob
Assistant Professor
Department of Electronics and Electrical systems
The University of Lahore, Islamabad Campus.

Internal Examiner 2
_______________
Mr. Saif ur Rehman
Assistant Professor
Department of Electronics and Electrical systems
The University of Lahore, Islamabad Campus.

HOD:
_________________
Dr. Muhammad Riaz
Assistant Professor
Department of Electronics and Electrical systems
The University of Lahore, Islamabad Campus.
ACKNOWLEDGEMENT

The heartiest gratitude to Almighty Allah (The most beneficent and the most merciful), who
loves and care us the most and who enabled me to complete this project. Our four years at
UOL Islamabad Campus have been a heady mixture of anxiety and excitement. The reward is
waiting to see this day is undoubtedly sweet. Today, we are brimming with a sense of
achievement and more importantly immense self-satisfaction. We owe this to my beloved
parents, brother, sister, professors and friends whose prayers and hopes always encourage me
to move it on.

First of all, we wish to express my most sincere gratitude to my supervisor Dr. Muhammad Riaz
Without his efficient supervision, valuable comments, continuous support, encouragement and guidance
through every step of this research work, this dissertation would never have become a reality. We have
not only learnt from his insight, deep technical knowledge and practical experience but also a lot of things
from him as an ideal human being.
We also pay my foremost and deepest thanks to Mr. Shahid who also guided us the way forward. He
made himself available in a number of ways. He was always there to discuss our ideas and reading of
various calculations. This project would also not have been possible without his encouragement,
guidance and support.
We also greatly indebted to all the worthy teachers of EES Department who have always been a source
of knowledge and guidance for me. We would like to thank Mr. Saif-ur-Rehman and Mr. Bilal Mehboob
who provided me valuable information.
We heartily thankful to my beloved friends and colleagues especially BS Spring 2019 session.
DECLARATION
It is declared that this is an original piece of my work, except where otherwise acknowledge
in text and references. This work has not been submitted in any form for another degree or
diploma at any university or other institution for tertiary education and shall not be submitted
by me in future for obtaining any degree for this or any other University or Institution.

________________
Muhammad Umar Aslam
(CSEE-F15-104)

_________________
Usman Al Bashir
(CSEE-F15-107)

_________________
Jay Raj
(CSEE-F15-110)
ABSTRACT

Smart hand glove help incapacitate individuals to live with ordinary individuals. As dumb
individual can't talk then this shrewd gloves encourages him to change over his hand signal into
content and pre-recorded voice. This additionally help typical individual to comprehend what he
is attempting state and answer in like manner. This smart glove has office of home machine control
from which a physically hindered individual become autonomous to live. The principle target of
the executed undertaking is to build up a dependable, simple to utilize, light weight savvy hand
gloves framework which can limits the obstructions for handicap individuals where they can
remain with the race gesture based communication is the regular language of hard of hearing
individuals. Albeit distinctive in structure, they serve a similar capacity as communicated in
dialects. To everywhere throughout the world, it's anything but a widespread language. However
the vast majority don't comprehend the gesture based communication, making hole among
individuals and the not too sharp, just as troubles in their day by day life. In our task what we have
done is we have made, we are making a unit for not too sharp individuals with the goal that they
can convey like the ordinary individuals. This framework additionally deals with the circumstance
where in nobody is available to go to the patient and hence communicating something specific
through GSM of what he needs to pass on in SMS.
Table of Contents
CERTIFICATE OF APPROVAL ................................................................................................... 5
ACKNOWLEDGEMENT .............................................................................................................. 6
DECLARATION ............................................................................................................................ 7
ABSTRACT .................................................................................................................................... 8
LIST OF ACRONYMS ................................................................................................................ 12
CHAPTER 1 ................................................................................................................................... 1
INTRODUCTION ...................................................................................................................... 1
1.1 BASIC PRINCIPLE ......................................................................................................... 1
Figure 1.1 Block Diagram....................................................................................................... 2
Figure 1.2 Circuit Diagram ..................................................................................................... 3
CHAPTER 2 ................................................................................................................................... 5
COMPONENTS AND THEIR WORKING ............................................................................... 5
2.1 SENSORS ............................................................................................................................. 5
2.2 OPTICAL SENSORS ........................................................................................................... 5
Figure 2.1 Optical Sensor ....................................................................................................... 5
2.3 BATTERY ............................................................................................................................ 6
Figure 2.2 Battery ................................................................................................................... 6
2.4 TWO-CHANNELS RELAY MODULE .............................................................................. 7
Figure 2.3 Two Channels Relay Module ................................................................................ 7
2.5 A7 GSM, GPRS, GPS MODULE......................................................................................... 8
Fig No 2.4 A7 gsm/gprs/gps module ...................................................................................... 8
2.5 TECHNICAL SPECIFICATION OF A7 GSM / GPRS / GPS MODULE .......................... 8
2.6 SD CARD MODULES ......................................................................................................... 8
Fig No. 2.5 sd card module ..................................................................................................... 9
2.7 ARDUINO ............................................................................................................................ 9
Figure 2.6 Arduino UNO ATMEGA-328 ............................................................................. 10
2.8 SPEAKER ........................................................................................................................... 10
Figure 2.7 Speaker ................................................................................................................ 10
2.9 DC FAN .............................................................................................................................. 11
Fig No. 2.8 dc fan ................................................................................................................. 11
CHAPTER 3 ................................................................................................................................ 12
LITERATURE REVIEWS ........................................................................................................... 12
3.1 RESEARCH WORKS ........................................................................................................ 12
3.2 NEED OF THE PROJECT ................................................................................................. 12
3.3 WORKING ......................................................................................................................... 13
3.4 GESTURES WITH THEIR FUNCTIONS IN VOICE MODE ......................................... 14
Fig No 3.1 Gesture for changing mode ................................................................................. 14
i.e GSM, VOICE and Control mode. .................................................................................... 14
Fig No 3.2 Glove in free position ......................................................................................... 14
Figure 1.14 ............................................................................................................................ 14
Figure 3.3 I want to eat food ................................................................................................. 14
Figure 3.4 I want to drink water............................................................................................ 14
Figure 3.5 I want to change my cloth ................................................................................... 15
Figure 3.6 I want to go outside ............................................................................................. 15
Figure 3.8 I need help ........................................................................................................... 15
Figure 3.7 I want to take my medicine ................................................................................. 15
3.5 GESTURES WITH THEIR FUNCTIONS IN CONTROL MODE ................................... 16
Fig No 3.9 Light ON ............................................................................................................. 16
Fig No 3.10 Light OFF ......................................................................................................... 16
Fig No 3.12 Fan OFF ............................................................................................................ 16
Fig No 3.11 Fan ON.............................................................................................................. 16
Fig No 3.14 All OFF ............................................................................................................. 17
Fig No 3.13 All ON .............................................................................................................. 17
3.6 GESTURES WITH THEIR FUNCTIONS IN GSM MODE ............................................. 17
CHAPTER 4 ................................................................................................................................. 18
APPLICATIONS ADVANTAGES AND DISADVANTAGES ................................................. 18
4.1 APPLICATIONS ................................................................................................................ 18
4.2 ADVANTAGES ................................................................................................................. 18
4.3 DISADVANTAGES ........................................................................................................... 18
CHAPTER 5 ................................................................................................................................. 19
CONCLUSION AND FUTURE SCOPE ..................................................................................... 19
5.1 CONCLUSION ................................................................................................................... 19
5.2 FUTURE SCOPE................................................................................................................ 19
CHAPTER 6 ................................................................................................................................. 20
PROGRAMMING ........................................................................................................................ 20
6.1 REFERENCES ................................................................................................................... 25
LIST OF ACRONYMS

ESC’s Electronic Speed Controllers


RPM Rotations Per Minutes
FPV First Person View
Db Decibel
mA Mili Ampere
DC Direct Current
AC Alternating Current
G Grams
CH Channels
LCD Liquid Crystal Display
GHZ Giga Hertz
CW/CCW Clock Wise / Counter Clock Wise
KV Kilo Volts
A Amperes
I Current
V Voltage
E.g. Example
cm Centimeter
GND Ground

FTDI Future Technology Devices International


AC Alternating current
DC Direct Current
W Watt
ADC Analog to Digital Converter/Conversion
BIT Binary
CHAPTER 1
INTRODUCTION

In our life we meet many handicap individuals, some of them are mostly and some are
totally cripples. The halfway hindered individuals like dumb, hard of hearing, loss of motion in
one leg or hand deals with their existence with troubles and feel separate from others.Here
correspondence assumes real job to feel somebody better and humoring them in a movement where
they may state themselves as free individual.
The compactness of this venture is a noteworthy bit of leeway. Along these lines with the
assistance of this venture, the obstruction looked by these individuals in imparting with the general
public can be decreased all things considered.
As the objective of this undertaking, we see a gadget that can identify sicknesses in a patient
and inform them to the concerned therapeutic staff, without the mediation of even the patient
himself. This procedure is finished with the assistance of GSM innovation. The GSM innovation
is used for perusing and sending SMS to the concerned individual.
This errand means to cut down this limit in correspondence. It relies upon the need of
structure up an electronic contraption that can make a translation of signal based correspondence
into talk in order to cause the correspondence to happen between the peaceful systems with the
general populace conceivable.

1.1 BASIC PRINCIPLE

 The fundamental object is to supplant the customary methodology of patient-nurse


correspondence with present day innovations that give an a lot quicker and solid approach
to do as such.

 Target of this technique is to make such patients feel comfort for ongoing usage of
controlling the electronic devices utilizing a brilliant glove.

 We can build up the immediate correspondence among patient and specialist or medical
caretaker by communicating something specific dependent on the movement.

 The primary reason for existing is to supplant the regular methodology of patient-nurse
correspondence with current advances that give an a lot quicker and dependable approach
to do as such.

 In the present situation, the patient must be subject to a relative or for the most part a
medical caretaker the two of which need to take care of the patient continually.

1
GSM
BATTERY
MODULE

SPEAKER

SD CARD ARDUINO UNO RELAY


MODULE

S1 S2 S3 S4 FAN LIGHT

Figure 1.1 Block Diagram

 In fig 1.1 we have Arduino Uno.


 We have SD-Card Module with speaker which is connected to Arduino Uno
 Second is GSM Module and have DC Battery with 2-channel Relay i.e for
appliances Light and Fan.
 Four Optical Sensors which are also connected to Arduino Uno.

2
Figure 1.2 Circuit Diagram

3
• In fig 1.2 we have following hardware connections which are described as follows:

• Speaker is conected to stick 9 of the Arduino Uno.

• SD-Card Module is associated with stick 8,11,12,13 of the Arduino Uno.

• Optical sensors are associated with stick AO,A1,A2 and A3 of the Arduino Uno.

4
CHAPTER 2

COMPONENTS AND THEIR WORKING

2.1 SENSORS
Sensors are used in smart hand glove for sending analog signals to analog input pins of
Arduino. In our project we used optical sensors.
Applications incorporate vehicles, machines, aviation, prescription, assembling and apply
autonomy.

2.2 OPTICAL SENSORS


Today Optical Sensors are utilized in various research, also, business applications, for
example, for quality and procedure control, medico innovations, metrology, imaging, and remote
detecting.
There are numerous sorts of optical sensors; many dependent on the utilization of lasers.
Likewise, novel sensor strategies that empower further developed detecting are constantly being
created by utilizing novel materials, for example, meta materials, miniaturized scale and nano
organized materials or by utilizing new recurrence groups with respect to model THz radiation.

Figure 2.1 Optical Sensor

Smart hand gloves are a wide group of detecting gadgets worn on the hand, which
adventures various techniques to get kinematic information. The most prevalent detecting

5
techniques are resistive-bowing sensors and optical fiber sensors, with the last one giving the most
astounding precision.
In the two cases, the general direction of explained sections is estimated by mounting the
sensor over the joint of intrigue. Be that as it may, serious impediments are because of sensor
position and requiring of precise arrangement among sensors and joint. Also, visit re-alignment
methods are required during usage to relieve the mistakes brought about by sensors developments
on the adaptable substrate.

2.3 BATTERY
In our project we use battery to operate home appliances. In our project automation feature
has also introduced. In home appliances we used direct current fan and light, to give power to fan
and light we use battery. It is rechargeable .It is of 12 volts. In our hardware we use switch, to turn
on and turn off the battery supply according to our needs.

Figure 2.2 Battery

6
2.4 TWO-CHANNELS RELAY MODULE
The chief hand-off was used in long division communicate circuits as speakers, on a very
basic level they reiterated the sign they got from one circuit, and transmitted it into an other one,
they were in like manner used in early PCs to perform steady undertakings. The going with
structures the exchange system.
In our project we use two-channels relay module for switching purposes. By using two-
channels relay module we can on and off the home appliances according to our needs. In our
project we use only two home appliances such as direct current fan and light. Both of the two home
appliances are connected through the two-channels relay module. Relays also have many
applications such as for protection of electrical circuits in short circuit situation.

Figure 2.3 Two Channels Relay Module

Relay are fundamental protection similarly as trading devices in an enormous part of the
control strategies or sorts of rigging. Portrayal or the kinds of transfers rely upon the limit with
respect to which they are used.

7
2.5 A7 GSM, GPRS, GPS MODULE
It is used in our project. It is used for multi-purposes like gsm,gprs and gps module. In our
project it is used for sending text message to caretaker. In our project we used this module for
sending call to caretaker. It is controlled by Arduino.
This Module has a sim jacket. It is simple to use in communication purposes. In smart hand
glove there are six gestures which we have introduced in our project to convey different messages
to his/her caretaker. Patient can utilize these six gestures to convey their messages to their
caretakers.

Fig No 2.4 A7 gsm/gprs/gps module

2.5 TECHNICAL SPECIFICATION OF A7 GSM / GPRS / GPS MODULE


• Working temperature - 30 ℃ to + 80 ℃.
• Affectability < -105.
• Backup normal current 3 mA less.
• Backup typical current 3 mA underneath, A7 increase 2 m.
• Backing GSM/GPRS four repeat gatherings, including 840, 910, 1850, 1900
MHZ.
• GPRS Class is 10.
• Affectability < - 106.
• Supporting voice calls.
• Supporting SMS.

2.6 SD CARD MODULES


It is part of our project, which is used to store audio voices for conveying different
messages to caretaker of a patient. By making different gestures voices will be played so that
caretaker can listen what his patient wants.

8
Secure digital card is placed in it, to store data. It is easy to use. It is controlled by Arduino.
In our project, it is mainly used for voice mode.

Fig No. 2.5 sd card module

2.7 ARDUINO
Arduino is the main part of our project. It controls all the other modules like gsm module,
sd-card module. It is programmed by using Arduino ide software, to control all the other modules.
It has 14 digital input output pins out of which pins can be used as pulse width modulation purpose.
It has six analog input pins, In out project these pins are used to input signals to the Arduino
by using making different gestures through smart hand glove. Connections of sensors are made
with the analog input pins of Arduino.
It also have power pins, these pins are used to give power to Arduino. It also have
microcontroller of Atmel family.

9
Figure 2.6 Arduino UNO ATMEGA-328

2.8 SPEAKER
Speakers are used in our project, to play voices at different hand gestures. It plays major
role in voice mode. Voice mode is used to play voices at different hand gestures. By using voice
mode patients can convey their messages in the form of voice to their caretakers.
Speakers play their role in playing voices. These are commonly used electronic devices.

Figure 2.7 Speaker

10
2.9 DC FAN
A direct current motor is a motor that changes electrical essentialness into mechanical
imperativeness by pulling in direct stream. DC motors brief an insurgency advancement in the
machine by electromagnetism.
DC motors have inductors (electromagnet) inside them that make an appealing field that
aides the insurgency of the engine.
In our venture DC fan is utilized as home appliance.Through various signals of the
finger,the patient can control home machine.

Fig No. 2.8 dc fan

11
CHAPTER 3
LITERATURE REVIEWS

3.1 RESEARCH WORKS

• This framework can be executed in numerous application regions models incorporate


getting to government sites whereby no video cut for hard of hearing and quiet is accessible
or rounding out structures online whereby no mediator might be available to help.

• The instrument can likewise be utilized in wrist watches etc.

• Structuring of an entire coat, which would be equipped for vocalizing the motions and
developments of creatures.

• This venture didn't concentrate on facial expressions in spite of the fact that it is notable
that outward appearances pass on significant piece of gesture based communications.

3.2 NEED OF THE PROJECT

• This development could mean another course for around seventy millions people with
hearing ability and talk impedance to verbally pass on and interface with people around
them.

• Smart Hand Glove for Disable People will give the more dependable, effective, simple to
utilize and light weight answer for client as contrast with other proposed ventures. This
will dependable to make importance to lives of Disable People.

• Confused individuals will have the option to speak with ordinary individuals.

• The instrument can likewise be incorporated with higher level hardware and utilized in
different applications.

• Passing on data related activities.

• The acknowledgment of gesture based communication.

• The analytic estimation of the finger development a ways off, and the cooperation with
computer generated reality.

• Observing recovery the life and secure the wellbeing and life can be spared.

• This is an innovation of things to come which can be of extraordinary utility.

12
3.3 WORKING

• Arduino is the main component in project.

• Arduino will be programmed to control GSM Module and SD Card Module and
also to take input signals from Smart Hand Glove.

• In our project there are three main modes which includes GSM mode, Control mode
and Voice mode.

• By using GSM mode patient can send sms to his caretaker.

• By using Control mode patient can control home appliances.

• By using Voice mode dumb patients can convey their messages to normal persons
or their care takers.

• Smart Hand Glove plays an important role in this project.

13
3.4 GESTURES WITH THEIR FUNCTIONS IN VOICE MODE

Fig No 3.1 Gesture for changing mode


Fig No 3.2 Glove in free position
i.e GSM, VOICE and Control mode.

Figure 1.14

Figure 3.3 I want to eat food Figure 3.4 I want to drink water

14
Figure 3.5 I want to change my cloth Figure 3.6 I want to go outside

Figure 3.7 I want to take my medicine Figure 3.8 I need help

15
3.5 GESTURES WITH THEIR FUNCTIONS IN CONTROL MODE

Fig No 3.9 Light ON Fig No 3.10 Light OFF

Fig No 3.11 Fan ON Fig No 3.12 Fan OFF

16
Fig No 3.13 All ON Fig No 3.14 All OFF

3.6 GESTURES WITH THEIR FUNCTIONS IN GSM MODE


In GSM mode functions at gestures are similar to the gestures in Voice Mode. Patients
can convey their message to their caretaker by simply using GSM mode.

17
CHAPTER 4
APPLICATIONS ADVANTAGES AND DISADVANTAGES

4.1 APPLICATIONS
• Since the instrument isn't costly, it can even be utilized at home.
• The instrument additionally has the adaptability which causes us to append it to vehicles
etc.
• The instrument can likewise be incorporated with higher level gear and utilized in different
applications.
• The instrument can likewise be utilized in watches etc.
• Passing on data related activities.
• The acknowledgment of gesture based communication.
• The demonstrative estimation of the finger development a good ways off, and
• The connection with computer generated reality.

4.2 ADVANTAGES
• Minimal cost.
• Reduced framework.
• Adaptable to clients.
• It takes less capacity to work framework.
• It requires less segments so its expense is low.
• Simple to work.
• Anybody can work it effectively.
• Continuous interpretation.
• It is profoundly exact and exact and furthermore truly dependable.
• Checking save the life and secure the wellbeing and life can be saved.
• It helps in quicker discovery of information sensors.
• It will lessen the additional utilization of power.
• It is convenient and subsequently can be set anyplace.
• The utilization of a microcontroller builds its extent of uses and changes.
• The microcontroller can be reconstructed if any change is required.
• This is an innovation of things to come which can be of incredible utility.

4.3 DISADVANTAGES
• If connection is disturbed then association is irritated, at that point correspondence among
patient and medical attendant will lost.
• If power supply fails circuit won't work.
• The sensors are expensive.

18
CHAPTER 5
CONCLUSION AND FUTURE SCOPE

5.1 CONCLUSION
We can conclude that this can be probably the best technique for bio medicinal application
where the specialists can break down the subject condition from where they are sitting and
henceforth legitimate and opportune Medicare to the patient can be given with the goal that level
of death can be decreased to bigger degree.
During this task we face different kinds of difficulties. We have attempted to limit the issue.
One issue is there to make it Reliable and Efficient. Along these lines, we watched and broke down
various items accessible in market which are massive, troublesome of handle, and sensitive in
structure. Since this was a model our center was to construct a model, which can take care of or
limit the correspondence issue for the incapacitate individuals.

5.2 FUTURE SCOPE


The extent of this project is the improvement and execution of steady checking system for
remote patients using remote advancement. By using the system the human administrations
specialists can screen, dissect, and counsel their patients continually. The physiological data are
taken care of and conveyed on the web. Consequently, the social insurance master can screen their
patients from a remote territory at whatever point.
Our system is clear. It is just couple of wires related with a little unit with a PDA. The
structure is control successful. Simply the phone or the tablet ought to be charged enough to do
the test.
It is definitely not hard to use, fast, precise, high capability, and safe (with no risk of electric stun).
Instead of other customary therapeutic equipment the system can spare data for future reference.

19
CHAPTER 6
PROGRAMMING

#include <Software Serial. h>


#include < SPI. h>
Software Serial Gsm (5, 6);
TMRpcm tmrpcm;
#define Sensor 1 A3
#define Sensor 2 A2
#define Sensor 3 A1
#define Sensor 4 A 0
#define SD_ChipSelectPin 8
#define Light1 2
#define Fan1 3
char data;
String Message;
digitalWrite (Light1, HIGH);
digitalWrite (Fan1, HIGH);
Serial.begin (9600);
Gsm.begin (9600);
tmrpcm. volume (7);
tmrpcm. quality( 1);
}
//Serial. Print ln ("I Want to Eat Food");
//tmrpcm. Play ("Help.wav");
Serial. Print ln ("Initializing...");
Delay (1000);
Update Serial ();

20
Gsm. Print ln ("AT");
Update Serial ( );
(Mode == 2) {
MessageMode();
}
if (Mode == 3) {
ControlMode();
}
if (Mode > 3) {
Mode = 0;
}
if (Sensor1Value >= 110 && Sensor2Value >= 960 && Sensor3Value >= 980 && Sensor4Value
>= 350 && Mode <= 3) {
Serial.println("Mode Changed");
(Mode > 3) {
Serial.println("Off");
}
delay(3000);
}
else {
}
}
void VoiceMode () {
if (Sensor1Value >= 110 && Sensor2Value < 60 && Sensor3Value < 50 && Sensor4Value <
280 ) {
Serial.println("I Want To Eat Food");
tmrpcm.play("Eat.wav");
delay(4000);
delay(10);}

21
else if (Sensor1Value < 50 && Sensor2Value >= 900 && Sensor3Value < 50 && Sensor4Value
< 280 ) {
Serial.println("I Want To Drink Water");
tmrpcm.play("Drink.wav");
delay(4000);
delay(10);
}
else if (Sensor1Value < 50 && Sensor2Value < 60 && Sensor3Value >= 950 && Sensor4Value
< 280 ) {
Serial.println("I Want To Change My Cloth");
tmrpcm.play("Cloth.wav");
delay(4000);
delay(10);
}
else if (Sensor1Value < 50 && Sensor2Value < 60 && Sensor3Value < 50 && Sensor4Value >=
500 ) {
Serial.println("I Want To Go Outside");
tmrpcm.play("Outside.wav");
delay(4000);
delay(10);
}
elseif (Sensor1Value < 50 && Sensor2Value >= 900 && Sensor3Value >= 950 && Sensor4Value
>= 450 )
{Serial.println("I Want To Take My Medicine");
tmrpcm.play("Medicine.wav");
delay(4000);
delay(10);
}
elseif (Sensor1Value < 50 && Sensor2Value >= 900 && Sensor3Value >= 950 &&
Sensor4Value < 280 )

22
{Serial.println("I Need Help");
tmrpcm.play("Help.wav");
delay(4000);
delay(10);
}
else {}
}
void ControlMode () {if (Sensor1Value >= 110 && Sensor2Value < 60 && Sensor3Value < 50
&& Sensor4Value < 280 ) {Serial.println("Light1 On");
digitalWrite(Light1, LOW);
}
else if (Sensor1Value < 50 && Sensor2Value >= 900 && Sensor3Value < 50 && Sensor4Value
< 280 ) {Serial.println("Light1 Off");
digitalWrite(Light1, HIGH);
}
else if (Sensor1Value < 50 && Sensor2Value < 60 && Sensor3Value >= 950 && Sensor4Value
< 280 ) {
Serial.println("Fan1 On");
digitalWrite(Fan1, LOW);
}
else if (Sensor1Value < 50 && Sensor2Value < 60 && Sensor3Value < 50 && Sensor4Value >=
500 ) {
Serial.println("Fan1 Off");
digitalWrite(Fan1, HIGH);
}
else if (Sensor1Value < 50 && Sensor2Value >= 900 && Sensor3Value >= 950 &&
Sensor4Value >= 450 ) {} else if (Sensor1Value < 50 && Sensor2Value >= 900 && Sensor3Value
>= 950 && Sensor4Value < 280 ) { }
else {}
void MessageMode () {if (Sensor1Value >= 110 && Sensor2Value < 60 && Sensor3Value < 50
&& Sensor4Value < 280 )

23
Serial.println("I Want To Eat Food");
sendSMS("I Want To Eat Food");
}
else if (Sensor1Value < 50 && Sensor2Value >= 900 && Sensor3Value < 50 && Sensor4Value
< 280 ) {
Serial.println("I Want To Drink Water");
sendSMS("I Want To Drink Water");
}
else if (Sensor1Value < 50 && Sensor2Value < 60 && Sensor3Value >= 950 && Sensor4Value
< 280 ) {
Serial.println("I Want To Change My Cloth");
sendSMS("I Want To Change My Cloth");
}
else if (Sensor1Value < 50 && Sensor2Value < 60 && Sensor3Value < 50 && Sensor4Value >=
500 ) {
Serial.println("I Want To Go Outside");
sendSMS("I Want To Go Outside");
}
else if (Sensor1Value < 50 && Sensor2Value >= 900 && Sensor3Value >= 950 &&
Sensor4Value >= 450 ) {
Serial.println("I Want To Take My Medicine");
sendSMS("I Want To Take My Medicine");
}else if (Sensor1Value < 50 && Sensor2Value >= 900 && Sensor3Value >= 950 &&
Sensor4Value < 280 ) {
Serial.println("I Need Help");
sendSMS("I Need Help");
}
else {}

24
6.1 REFERENCES

[1] Web of the World Health Organization Site, “Disabilities”. Available at:
http://www.who.int/topics/disabilities/en/.
[2] Circuit Analysis by Gupta Electrical Technology - Thereja.
[3] https://www.google.co.in/search?q=gloves+to+translate+sign+language&biw
=1366&bih=665&source=lnms&tbm=isch&sa=X&ved=0CAYQ_AUoAWoV
ChMIzezPx4zTxwIVyluOCh3sLgMF#imgrc=eTNQb-o7srRw0M%3A
[4] Electronic Devices and Circuits by P. Ramesh Babu,T.R. Ganesh Babu,Scitech
Publications.
[5] https://www.google.co.in/search?q=gloves+to+translate+sign+language&biw
=1366&bih=665&source=lnms&tbm=isch&sa=X&ved=0CAYQ_AUoAWoV
ChMIzezPx4zTxwIVyluOCh3sLgMF#imgrc=MdBV4fabmy0IhM%3A
http://www.gizmag.com/enabletalk-sign-language-gloves/23268/

25

You might also like