Patient Monitoring System Using GSM and
Patient Monitoring System Using GSM and
Faculty of Engineering
Department of Electrical and Communication
Project Proposal
PATIENT MONITORING SYSTEM USING GSM AND ARDUINO ATMEGA
Presented by:
EUGENE ODHIAMBO
ENG-211-007/2012
Supervisor: Mr. Henry Kiragu
DATE: 4/04/2016
ABSTRACT
We live in a generation where diseases have reached such an unprecedented level.
Diseases are so much that the greatest worry for many people should be their health. Lifestyle
diseases such as cardiovascular ailments and blood pressure are becoming more prevalent.
Cardiovascular diseases are some of the leading causes of deaths in world. Heart beat and blood
pressure readings are by far the best parameters that could promote early detection of cardiac
events. By using this system that I am proposing, we can measure ones heart rate through
fingertip. The number of patients is also increasing exponentially, bringing a tremendous
challenge to health resources in our very own country Kenya where they have never been
enough.
Recently, the health care sensors are playing a vital role in hospitals. The patient monitoring
systems is one of the major improvements because of its advanced technology. So my project
essentially entails connecting the temperature sensor and heartbeat sensor with the Arduino Uno
so that simultaneously one can monitor the patients condition and hence ruling out the use of the
thermometer and other devices to check the condition of the patient.
My project is therefore designed to ease the burden on doctors and nurses in terms of
watching and testing of some parameters such as such as body temperature and transmitting
wirelessly using GSM module. Equally it would be used to monitor the sick and the aged at
home especially in the absence of a guardian or a relative. My project will be specifically
designed to test heart rate and body temperature using appropriate sensors. These two parameters
are a great pointer to health status of a patient or a person.
Temperature abnormality can be a symptom of so many diseases such as malaria. Abnormality
in heart rate is equally a pointer to many complications
The function of this system is thus to monitor the temperature and Heart Beat of the Patient
and the data collected by the sensors are sent to the Arduino Uno. The Arduino processes then
transmits the data over the air via GSM shield to a doctors, nurses or a relatives phone and also
displays the same information on a LCD.
Table of Contents
PATIENT MONITORING SYSTEM USING GSM AND ARDUINO ATMEGA.........................1
CHAPTER ONE: INTRODUCTION..............................................................................................4
1.0 BACKGROUND INFORMATION.......................................................................................4
1.1 PROBLEM STATEMENT.....................................................................................................4
1.2 OBJECJECTIVES.................................................................................................................5
Main objective..........................................................................................................................5
Specific objectives....................................................................................................................5
1.3 JUSTIFICATION...................................................................................................................5
CHAPTER 2: LITERATURE REVIEW.........................................................................................5
1.1
Researches.........................................................................................................................5
iii. Systems used in hospitals are also complex that only certain people can understand them. The
current systems also require one to be around to check the condition of the patient
1.2 OBJECJECTIVES
Main objective
To develop a cheap prototype of a system that can monitor the body temperature and heartbeat of
a patient at home and in the hospital.
Specific objectives
i.
To use temperature sensor to measure body temperature
ii.
To use heartbeat temperature to measure rate of heartbeat
iii.
Compute the two signals then display to a LCD and send to mobile phone as a SMS.
iv.
To alert through text when there is an abnormal parameter
1.3 JUSTIFICATION
This project is made of cheap materials. A complete system that measures temperature and
heart beat is so far expensive. This system is fully automated system and does not require any
human attention.
Automatic alert system using enabled by Arduino gives intimation to user. GSM interfacing
provides a feature of remote monitoring of patient parameters. The system determines the heart
beat rate per minute and then sends short message service (SMS) alert to the mobile phone on
top of displaying it on a LCD. It is also cost effective and portable. It is easy to handle and
efficient. It is not as complex as the current systems
Purnima, Puneet Singh [5], uses both Zigbee and GSM to transmit the data obtained from a
patient. GSM is used for purpose of mobile phones while zigbee is for PCs where the transmitted
signals are processed.
Bandana Mallick and Ajit Kumar [6] proposed the use of fingertip to measure the heart rate and
process it using Arduino.
Shrenik Suresh Sarade et. al[9] proposed a project having a simple, microcontroller based heart
beat rate & body temperature measuring device with display the information on LCD display.
Heart rate of the subject/body is measured from the index finger using IRD (Infra-Red Device)
sensors. Also Saline Level is measured continuously for different levels. The device alarms when
the heart beat & the body temperature exceed the provided threshold value. This threshold value
is defined by the programmer at the time of programming of microcontroller. The threshold value
is as 20 to 120 pulses per minute for heart beat indication & 18C to 38C for temperature.
This information transmitted wirelessly to the doctor which is not in the vicinity of the patient
through GSM technique. The problem with the use of infrared Device is that the LED light must
be very bright or it will not be sensed by the photodiode.
Analysis of LM35
proportional to absolute temperature (PTAT) by comparing the output of the two transistors.
The amplifier at the right converts absolute temperature (measured in Kelvin) into Celsius. The
little circle with the "i" in it is a constant current source circuit.
The two resistors are calibrated in the factory to produce a highly accurate temperature sensor.
The integrated circuit has many transistors in it -- two in the middle, some in each amplifier,
some in the constant current source, and some in the curvature compensation circuit. All of that
is fit into the tiny package with three leads.
The LED and the photo diode shall be connected as shown below.
Amplifier
The detector is then connected to the LM538 operational amplifier. Signal from photodiode gets
into the first op-amp through pin 5. This signal is between 1.0 to 1.4 volts. After amplification, it
comes out through pin 7 at 5 to 6 volts. This voltage carries the heart rate signal.
The output of the op-amp is regulated by resistor R5. Led D3 gives visual indication of voltage at
pin 7.
R3 controls the gain of the first op-amp so that the gain is neither too high nor too low and to
enable the LED go off and on.
Fig 1.4 The signal from the photodiode (finger clip), is amplified.
Comparator
The final op-amp acts as a comparator. Its gain is set to maximum, that is, open loop gain.
The open loop voltage gain of LM358N op-amp is 100, meaning the difference between pin 2
and pin 3 is automatically multiplied by 100. The output will however be limited by the voltage
supply. The signal from pin 7 is short-lived or transient; hence DC signal is created to be used by
the comparator as the reference point. When the heart signal is below the reference voltage, the
comparator turns off the LED and if the opposite occurs, it turns on the LED.
With finger in the clip and first D3 barely on, potentiometer R6 is adjusted until LED D4 blinks.
Fig 1.5 After the signal is amplified, a comparator configuration with a "flat" d.c. signal to make
the L.E.D. flash
WHY ARDUINO
Cheap - Arduino boards are inexpensive when compared to other microcontroller platforms.
Cross-platform - The Arduino Software runs on Windows, Macintosh OSX, and Linux
operating systems. Most microcontroller systems can only run on Windows.
Simple, clear programming environment - The Arduino Software (IDE) is easy-to-use for
beginners, yet flexible enough for advanced users to take advantage of as well.
Open source and extensible software - The Arduino software is published as open source tools,
available for extension by experienced programmers. The language can be expanded through C+
+ libraries.
Open source and extensible hardware - The plans of the Arduino boards are published under a
Creative Commons license, so experienced circuit designers can make their own version of the
module, extending it and improving it. Even relatively inexperienced users can build the
breadboard version of the module in order to understand how it works and save money.
ATmega328P
5V
7-12V
6-20V
14 (of which 6 provide PWM output)
6
6
20 mA
50 Ma
32 KB (ATmega328P)
of which 0.5 KB used by boot loader
2 KB (ATmega328P)
1 KB (ATmega328P)
16 MHz
68.6 mm
53.4 mm
25 g
The ATmega328 on the Uno comes preprogrammed with a boot loader that allows one to upload
new code to it without the use of an external hardware programmer. The Uno can be
programmed with the Arduino Software (IDE).
2.4 LCD Display
Below is a typical LCD display
The LCD will display the body temperature and hear rate
2.5 ARDUINO GSM SHIELD
The Arduino GSM shield allows an Arduino board to connect to the internet, send and receive
SMS, and make voice calls using the GSM library
PCS1900MHz. It supports TCP/UDP and HTTP protocols through a GPRS connection. GPRS
data downlink and uplink transfer speed maximum is 85.6 kbps.
To interface with the cellular network, the board requires a SIM card provided by a network
operator.
A SIM card is inserted into the holder
2.5.1 GSM
This is an international standard for mobile communication which in full is Global System for
Mobile communications. It also referred to as 2G, which is second generation cellular network.
GSM supports outgoing and incoming voice calls, Simple Message System, and data
communication via GPRS among others.
The Arduino GSM shield is actually a GSM modem. In the eyes of a mobile operator, the
Arduino GSM shield looks just like a mobile phone while from Arduino perspective, the Arduino
GSM shield looks just like a modem.
2.5.2 GPRS
GPRS is a packet switching technology that stands for General Packet Radio Service. It can
provide data rates between 56-114 Kbit per second.
A number of technologies such as SMS rely on GPRS to function. With the GSM shield, it is also
possible to leverage the data communication to access the internet. Similar to the Ethernet and
Wi-Fi libraries, the GSM library allows the Arduino to act as a client or server, using http calls to
send and receive web pages.
CHAPTER 4: METHODOLOGY
3.1 Introduction
This chapter describes the method which will be used to implement this project. This project
is divided into two main parts which are hardware design and software design. For the hardware
design, it is focus on the main controller hardware, Arduino Uno board which connects to the
heart rate sensor and temperature sensor (LM 35). Meanwhile, for the software design, Arduino
and Matlab are used.
Hardware design
start
Send data to
phone
no
ECG Display?
yes
Body temperature
display?
yes
End
no
Arduino Uno
sensor
sensor
patient
Arduino GSM
shield
doctor's/
nurse's
phone
gurdian's
phone
LCD display
CHAPTER 5: BUDGET
In this chapter, I give an approximation of how much I expect to spend in this project
ITEM
Arduino
Uno(ATmega328P)
Arduino GSM Shield
QUANTITY
1
PRICE
Ksh 2000
Ksh 3000
Ksh 100
1
Ksh 200
Power Adaptor
Ksh 300
LM358 Op-amp
L.E.Ds
Ksh 400
Ksh 100
Ksh 100
6
photodiode
Ksh 100
2
Resistors: 1 100 k,
1 10 k,
1 2.4 k,
1 330 ,
1 100 ,
2 10 k Potentiometers
Total
Ksh 100
5
2
22
Ksh 200
Ksh 6800
PROJECT SCHEDULE
SEMESTER 2
Months
Jan
Feb
Mar
April
May
June
Aug
July
Project
Project Proposal
Background Research
Proposal Preparation
Proposal presentation
Implementation
Selection and ordering
components
Design
Coding
Simulation and
implementation
Write up
Submit Project
Presentation
References
[1] www.ti.com Texas instruments LM35 integrated temperature sensor data sheet 2016.
[2] www.arduino.cc
[3] Wan Seri Bahiyah Binti w Sudin Patient monitoring system using wireless sensor network
[4] Banja Wendy Lauren Akoth Home patient monitoring based on gprs
[5] Purnima, Puneet Singh Zigbee and GSM Based Patient Health Monitoring System 2014
International Conference on Electronics and Communication System (lCECS -2014)
[6] Bandana Mallick and Ajit Kumar Patro Teart rate monitoring system using fingertip through
Arduino and processing software Journal of Theoretical and Applied Information Technology
10th April 2014. Vol. 62 No.1
[7] A. N. M. M Haque, G. Tangim, T. Ahammad and M. R. H Khonokar M. K Islam, "Study and
analysis of ECG signal using MATLAB & LABVIEW as effective tools.," vol. IV, no. 3, June
2012.
[8] Jaiee Sitaram Adivarekar et. al Patient Monitoring System Using GSM Technology
International Journal Of Mathematics And Computer Research Volume 1 issue 2 March 2013
Page No.73-78 ISSN :2320-7167
[9] Shrenik Suresh Sarade et. al patient monitoring and alerting system by using gsm
International Research Journal of Engineering and Technology (IRJET) Volume: 02 Issue: 03 |
June-2015