SlideShare a Scribd company logo
1 of 16
Download to read offline
International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013

TEMPERATURE MONITORING AND
LOGGING SYSTEM SUITABLE FOR USE IN
HOSPITALS, INCORPORATING GSM TEXT
MESSAGING
1
1

I. G. Saidu, and 2 M. Momoh and 1A. S. Mindaudu

Physics/ Electrical Department Sokoto State Polytechnic, Sokoto
Department of Physics, Usmanu Danfodiyo University, Sokoto.

2

1

ismailsaidu258@gmail.com

ABSTRACT
In this paper, a microcontroller-based temperature monitoring and logging system suitable for use in
hospitals was designed and constructed. The features include ability to monitor a patient’s temperature on
a continuous basis while displaying the instant result on a Liquid Crystal Display (LCD) device. The
temperature monitored is logged in a memory device, Electrically Erasable Programmable Read Only
Memory (EEPROM), located in the system at every 10 minutes interval and can be interfaced with a
computer using USB or RS232 UART device. An ATmega16 AVR is used as the heart of the control and
coordination of all the activities of the individual modules. It allowed a doctor at location from the patient
to keep track of his patient’s condition while attending to other issues.

Keywords
Microcontroller. Patient temperature and data logger.

INTRODUCTION
A temperature log is a document in which information about temperature is maintained. The log
usually consists of temperature readings taken at set intervals over a given period of time.
(Smith, 2010). Temperature monitoring has assumed a vital role both in the management of
patient’s condition and general hospital storage facilities. This is why the American State
Department of Health (DOH) and the Joint Commission on Accreditation of Healthcare
Organization (JCAHO) require temperature monitoring and logging for all patients’ care-related
refrigerators, freezers and blanket warmers (iWatch, 2009). Failure to comply can lead to
medically significant problems (Zweig, 2005 cited by Presidio, 2009) and costly remediation
actions (iWatch, 2009). While manual temperature monitoring logging on paper is still done in
some regions of the world, a temperature log is often done digitally (Smith, 2010). There are
however some distinct advantages to logging digitally as it allows for automatic logging that
reduces the rate of human error (Presidio, 2009) and in streamlining the logging process(Smith,
2010). According to Presidio (2009) “To meet the demands of the tight-margin, competitive
market- place, hospitals and other healthcare providers can no longer afford to rely on manual
processes and out-dated technology”.
Several temperature monitoring and logging systems have been presented in quite a number of
publications. The designs exhibit different unique features. For instance, Kapidere et al., (2005)
DOI : 10.5121/ijist.2013.3102

11
International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013

designed and constructed a microcontroller based human brain hypothermia system intended for
cooling and heating brain. Robert et al., (1999) developed a data logging system with two units; a
logger and a reader which work with a host computer. They used EEPROM chip to store data and
PIC 16C73A as the controller. Singh (2006) designed and developed a microcontroller based
temperature and humidity controller for an infant incubator. It monitors and controls the two
parameters constantly which are very critical for the normal growth of the new born (premature)
babies. Lewis (1995), in a research, developed a system that helps parents monitor the
temperature of babies remotely. The system continuously monitors the temperature and sounds an
alarm when the temperature exceeds a pre-set threshold.
In similar work a temperature and pressure monitoring system was fitted to the tyre of offhighway trucks so that the behaviour of the tires can be studied. It’s made to act when variations
exceed the normal operation parameters. In addition it provides statistical information of tyre
usage, yield, and lifespan and wears (Olavaria, 2006).
In a work by Raza (2010), a microcontroller based system for data acquisition and logging as
needed was designed. The device could be used for monitoring and controlling environment
temperature. He employed AT89C51 to send the result of 8 sensors. Qingsheng and Julio (2004)
invented a device capable of core body temperature monitoring in heart failure. The heart
monitoring system comprised of a temperature sensor for determining a core body temperature of
a patient configured to receive data representative of the core body temperature and the bodily
activity level. Tiplady (2010) invented a remote critical area monitoring system that allows
connection to a web page to obtain video image of some parameters. Other inventions, worth
mentioning, include that of Goswani et al. (2009), an embedded system capable of monitoring
temperature and light and that of Deepika (2006) a data logging system based on 8051 family and
the result stored in EEPROM.
Generally, the above designs offer a better substitute to the manual monitoring and logging of
temperature systems, they mostly require separate modules and lack certain features. Moreover,
this type of device is lacking in hospitals of the developing countries. This is why this research
was initiated with the aim of incorporating other useful features

DESIGN
The device was constructed as a stand-alone system with the various functional circuits
assembled as separate detachable modules linked together by cable buses. Each module performs
specific function as directed and instructed by an AVR microcontroller chip of the type
ATmega16. The general block diagram of the system is as shown in fig. 1.

12
International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013

PS/2 KEYBOARD
INTERFACE

EEPROM & RTC
LCD

ATMega2313
ATMega16 AVR
MICROCONTROLL

PC INTERFACE

GSM MODEM
VOICE CHIP

POWER SUPPLY UNIT

Fig. 1 Block Diagram of the System

The power supply unit design
The PSU for the system should be capable of providing the required supply voltage and current to
all the various sub-units in the system. Except for the GSM modem included, which is
responsible for sending short messages when required, all other sub-units require a dc supply of
5V with a current drain in the region of 2 Amperes (AVR ATmega16 Data book, 2001). The
GSM modem requires a dc supply of 4.2V (GSM Modem data book, 2005). The PSU is based on
a full wave bridge rectifier including suitable smoothing filters and an appropriately rated
transformer. Three regulators were employed for each sub-unit to ensure that the required
regulated voltage was obtained.
The circuit diagram of the PSU is in Fig 2 employing a step down transformer, a bridge rectifier,
a smoothing circuit and three separate regulators. Two separate sources of 5V regulated outputs
were provided in order not to overload any of the regulators. One of the 5V supplies was reserved
for the relay circuit as it draws large current.

13
International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013
5V
LM317
R1
C3

R2
50%

GND

5V
T1

D1

5V

LM7805

C1

LM7805

C2

C4

GND

Fig 2: PSU circuit diagram

The Main Micro (At Mega 16) Circuit Design
The heart of the system is the AVR microcontroller. The 40pin dip is used to control the activities
of all other sections. ATmega16 AVR was selected due to its good features of being cheap and
readily available in the market. The pin assignment of the microcontroller is as shown in fig 3

Fig.3 Pinouts of ATmega16 (ATmega16 data book, 2001)
The microcontroller datasheet recommends two separate voltage lines for the IC, one for the
Digital signal circuit and the other for analogue signal. The analogue voltage is for the ADC
circuit and it is suggested that the value should not differ from the Vcc by ± O. 3V.
In this circuit, the Vcc voltage of 5V was selected and separately connected to the analogue
voltage terminals of the IC. In other to minimise the effect of the digital signal on the accurate
conversion of the ADC circuit, an external capacitor of 100nF was connected between the
analogue supply terminals of the chip. This ensures analogue noise cancelling in the circuit.
The Digital voltage supply is between 4.5 and 6.5 volts. For this circuit a 5V regulated supply
was used as the Vcc of the circuit. The positive terminal was fed to pin 10 and the ground terminal
to pin 11. Pins 12 and 13 serves as the crystal input and output of an inverting amplifier and it
was configured as an On-chip oscillator. The connection as recommended (ATmega16 data book,
2001) is that the values of the capacitors be in such a manner that C1 = C2. And that the value
14
International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013

should be between 12 and 22 pF. For these reasons we used 2 numbers of 22pF capacitors and a
crystal with a value of 32.768 kHz.

Temperature Sensor And ADC Circuit
The temperature sensing arrangement used in the system is as designed in (Ismaila and Momoh,
2011), resulting in the circuit shown in Fig. 4. The reference voltage for the ADC and LM35 were
chosen to be 5V.
5V DC

Vs

LM35DZ

Temperature
Sensor Pin From ATMega16

OUT
C1
1uF, 25V

GND

R1
75R

GND

Fig. 4 LM35 Temperature Sensing Circuit (Ismaila and Momoh, 2011)

Keyboard Interface
In operation the main micro at certain interruption copies data in the EEPROM and send it to the
LCD, the PC or MODEM for transmission. To do this, the addresses in the EEPROM are used to
hold patient’s data such as name, age, sex etc. These data can be changed when desired. To
change these data a form of external human interface is required. The design used a standard PC
AT keyboard as interface to transfer data to the main micro.
The keyboard is powered from the +5V dc supply which is available through the keyboard
interface. A PS/2 connector is used to connect the keyboard to the 20 pin microcontroller.
The LEDs connected to the ports of 18 to 12 serves as the indicator of the status of the outputs of
port D. Resistors R1 through R7 are current limiting resistors that sink current from the voltage
supply and the can be obtained from the equation:
R = (Vcc –VLED)/ I
From the data sheet of the LED, the VLED is 2.2V and Vcc = 5V, while I = 30mA, so that
R =110 .
A value of 100 was chosen as the nearest value for all the current limiting resistors as same type
of LEDs are used as indicators throughout the design.
The final circuit connection of the Atiny2313 is as shown in fig 5

15
International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013

Fig 5 ATiny 2313 complete circuit
During operation, whenever there is a valid converted scan code signal from the keyboard IC the
data is received serially by the micro. It uses the program stored in the program memory of the
micro to convert it to ASCII value. The ASCII value is transmitted to the main micro by
interrupting the main micro’s activity through an enabling signal from pin 11 of the ATiny2313.
The main micro then reads the output data at the output of the ATiny2313. The data is first
converted to parallel format using the internal UART located in the ATiny 2313 microcontroller.
Port A of the AVR ATmega16 was selected and used to receive the converted ASCII code value
from the ATiny2313 microcontroller. Pin 16 (INT0) serves as the external interrupt of the chip
which can be triggered by either a falling edge or rising edge signal.

PC Interface Circuit
The logged data in the EEPROM can be assessed by a PC through a PC interfaced to the main
micro. Because of voltage level differences of the devices, a MAX 232 was used to provide
voltage matching of the different types of logic used in the microcontroller and those in the P C.
The Max 232 RS232 is a 16 pin dip IC that is used to convert CMOS voltages to TTL voltages.
As recommended in the datasheet of MAX232, () application note, the circuit shown in Fig 6 was
adopted.
5V

C5
GND

1

C3

16

2

C1
3
4

C4
6

C2

GND

5
TTL/CMOS
Inputs
TTL/CMOS
Outputs

11

M AX232

14

10

7

12

13

9

8

RS-232
Outputs
RS-232
Intputs

15

GND

Fig 6 MAX 232 complete circuit
16
International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013

The GSM and PC interface were made to share the same line. For this reason a manual switch
was provided. Whenever the GSM is being used, the PC interface is disconnected and the bus is
switched over to the GSM modern. Similarly when there is need to load the logged data to the
PC, the GSM modern is disabled and the common bus is switched over to serve the PC request

GSM Circuit Design
Fig 8 showed the GSM modem circuit and as recommended in the data sheet of the device the
supply voltage is 4.2V. A stabilised dc voltage source of 4.2V was used to supply the modem. It
is also recommended that two pull-up resistors of values 4K7 be used to connect the two
terminals of the EN and RX to the positive supply line. Capacitors C1 and C2 are decoupling
capacitors with recommended values of 10uF each (GSM Modem data book, 2005). Capacitor C2
is to prevent the bounce of the switch from offsetting the working condition of the device.
4.2V
C1
4k7
GND

4k7

Vcc
EN

GSM
MODEM

10uF

GSM Modem
Enable

TX

TX

GND
RX

RX
From ATMega16

GND

Fig 7 GSM modem circuit

Microcontroller as Two-Wire Serial Interface Circuit (EEPROM and RTC)
The microcontroller was used as the master in a two-wired interface (TWI) communication
scheme with the EPROM and RTC as the slaves (Fig. 9). The TWI protocol allows the system
designer to interconnect up to 128 different devices using only two bi-directional bus lines, one
for clock (SCL) and one for data (SDA).
The microcontroller was configured using software to initiate and terminate a transmission. It also
generates the SCL for the operation of the system. The supply voltage is recommended to be
between 0.7Vcc and Vcc + 0.5 (ATmega16)
But Vcc = 5V, then
Vmin = 0.7 x 5 = 3.5V
Vmax = 5 + 0.5 = 5.5V
It was decided that the supply voltage be 5V since this is already available from the main supply.
For the input low voltage the data book recommends a voltage of between
- 0.5V and 0.3Vcc
This gives a range of – 0.5 to 0.3 x 5 or - 0.5 to 1.5V
The ground of Vcc was used as the low voltage.

17
International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013
VCC

4k7

4k7
SDA
SCL

uCon
Master

RTC
Slave 1

EEPROM
Slave 2

Fig 8 the two wire interface
The datasheet recommends the frequency of operation to be between 0 to 400 KHz. The
frequency selected was 200 KHz.
For this frequency it is recommended that the value of pull-up resistor should be calculated using
Rp(min) = (Vcc – 0.4V) / (sink current)
where Rp(min) = minimum value of pull up resistor
substituting Vcc = supply voltage = 5V, V = voltage supply of the TWI line = Vcc and sink current
= 3mA (GSM Modem data book, 2005). Then
Rp(min) = ( 5 – 0.4x5) /(3mA)
(3mA) = is the sink current
(GSM Modem data book, 2005).
Rp(min) = 1KΩ
and Rpmax is given as
Rp(max) = 1000/Cb
(GSM Modem data book, 2005).
where Cb is capacitance of bus line assumed to be 200pF, so that
Rp(max) = 5kΩ
The pull up resistor is therefore to be between 1K and 5K.
We therefore chose a standard value of 4.7K as the pull up resistors for each of the two lines. We
also note that this result applies to the choice of other pull-up resistors in the entire design.
Whenever there is a request for writing or reading to the EEPROM, either to write or read, the
request is inputted through the keyboard interface circuit to the main micro. The main micro then
places the address of the EEPROM followed by either an instruction to read or write from/to the
EEPROM. The data retrieved may be sent to the LCD for display, sent to the GSM modem for
onward transmission to a phone address in another location or sent to a PC interfaced through the
main microcontroller.
The external EEPROM was used to log the temperature data of the patient at 10 minutes
intervals. A 24C08B EEPROM was selected because of its good features and availability. It has 2
wire serial interface bus, 12c compatibility (EEPROM data book, 1998). The microcontroller
serves as the master while the AT2408 EEPROM and the RTC serves as slaves. The master was
configured in such a way that the main micro generates the serial clock and controls accessibility
to the bus.
As recommended in the data sheet, pins 1 to 4 and 7 should be grounded. The chip requires a
supply of between + 4.5V to 5.5V power supply. A d.c power of 5V was therefore selected to
power the device. The EEPROM is organized into 8 pages or blocks of 256 bytes each. It is
capable of retaining data for 200 years. It also has a page-write buffer for up to 16 bytes
18
International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013

(EEPROM data book, 1978). Only a page of the 8 pages was used and is capable of logging data
at 10 minutes interval for 24 hours. After 24 hours any further logging will over-write the
previous log in a format of first in first out (erase). The other 7 pages were left unused due to the
fact that additional programming memory in the main micro would be required to address and
retrieve data from the extra pages. Unfortunately the program memory is very limited and filled
up. Using the other pages would have allowed for logging of data for 8 days at 10 minutes
interval. Adjustment of the temperature logging interval to say 30 minutes would lead to almost a
month’s logging of data from the patient. An interface is however provided to enable the data
available in the EEPROM to be accessed by a PC.

Real Time Clock Circuit (RTC)
A real time clock is use to keep track of the current time for some operations of the main micro. It
is used to maintain accurate time even when there is no power supply to the system.
The main micro has provision for timing but a separate RTC (Fig 9) is used because of its lower
power consumption and it frees the main micro for time critical tasks and it is (RTC, data sheet, )
accurate.
A lithium battery was used to provide a source of alternative power supply to the RTC.
5V DC
1
XTAL 1
32.768 kHz

4k7

7
2
3

CMOS
BATTERY

8

DS1307
RTC CHIP

6

4k7

SCL

SCL

To ATMega16

3V
4

5

SDA

SDA

GND
5V DC

1

8

2

7

LED1

3

24C08
EEPROM

4

GND

6
5

GND

GND

Fig 9 The RTC and EEPROM complete circuit diagram

L C D Circuit Design
Based on the recommendations in the data book of the AVR microcontroller and that of the 16x2
LCD,(Ismaila and Momoh, 2011) came up with an LCD circuit shown in Fig. 10 which was
found suitable for our purpose, was used.
19
International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013

16 X 2 Character LCD
2

3

1

4

5

6

7

8

9

10 11 12 13 14 15 16

5V DC
GND

GND

10k
50%

RS

GND

EN

R2
100R

5V DC

D4 D5 D6 D7

GND

To ATMega16

Fig 10 The LCD circuit (Ismaila and Momoh, 2011)
The eventual circuit diagram of the main microcontroller is as shown in fig 11below. It shows the
connections of the various sections to the ATmega16 microcontroller
.
5V DC
R7 R6

R5

R4

R3

R2 R1

R1 --- R8 = 4k7

KBData0

1
2

39

KBData2

3

38

KBData3

4

37

KBData4

5

36

KBData5

6

35

KBData6

7

34

8

33

9

From LM35

40

KBData1

32

5V DC

10
R8
C1

KBInterrupt

ATMega16

31

30
11
AVR MICROCONTROLLER
12
29

Temperature
Sensor Pin

5V DC

GND

C3
100 nF
D7

22pF

XTAL1
C2 11.0592MHz
13

From PC Interface RX
and GSM Modem TX

ISD25120
Enable Bit

D6

27
26
25

D5
D4
EN

24

RS

23
22

SDA Fom RTC and
SCL EEPROM Circuit

20

GND

28

14
15
16
17
18
19

22pF

21

Fom LCD Circuit

Fig 11 Complete circuit diagram of ATmega16

CONSTRUCTION AND TESTING
After the design of the circuit each module was tested on bread board and then constructed on
separate boards for detachability. The modules were connected together using bus cables and
cased on a wooden case. The completed work was subjected to further tests to ascertain the
design claim. Plate 1 showed the arrangement for the circuit tests.
20
International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013

Plate 1 Arrangement for circuit test

Power Supply Test
The power supply was connected and the voltages at the output of the three regulators were
measured using a digital meter. The results got were tabulated.

Thermometer Accuracy Test
To test for the accuracy of the systems temperature measurement a digital thermometer type
(ST-9269 MULTI-STEM THERMOMETER) was obtained and used to conduct an experiment to
compare the temperature of the project’s thermometer.
A water jug was obtained and half- filled with water. A water heater was inserted into the water
while the two thermometers were hung just above the covered water to measure the temperature
of the steam just above the water. The temperature of the water was raised gradually by switching
on the water heater. The temperature of the enclosure was measured using the two thermometers
at intervals and the results tabulated.`

ATiny2313 Conversion and Keyboard Test
To test to see if the ATiny 2313 was converting the scan code to ASSCI form the keyboard was
connected to the circuit through the PS/2. The keys configured were pressed individually and the
corresponding response of the LEDs noted. A sample of the ATiny2313 conversion of keyboard
output was then tabulated. The function keys were pressed one after the other and the response as
displayed on the LCD monitored.

The RTC accuracy Test
The accuracy of the RTC time constructed was tested by comparing its time with that of a digital
clock. The two times were set at 9.00AM the first day. There times after 48hours were noted and
the results recorded.

The GSM Massage Test
The keyboard was used to set the pre-set temperature arbitrarily, to 430C. A hot soldering iron
was carefully placed close to the LM35 sensor to raise its temperature above the pre-set
21
International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013

temperature. A handset was used to monitor the text massage from the system. The procedure
was repeated for several other pre-set temperatures.

Temperature Logging and Computer Interface Test
The next test conducted was to log a human temperature for a period of six hours. The LM35
sensor was attached to the armpit of a person and used to monitor the temperature for six hours.
The temperature logged was interfaced to a computer as shown in the setup of plate 1 to copy the
logged temperatures.

RESULTS
Power Supply Test Result
The results of the output of the three regulators are as tabulated in Table 1
Table 1 Result of output voltages

Output of 1st LM7805
Output of 2nd LM7805
Output of LM317

5V
5V
4.2V

Thermometer Accuracy Test Result
The results of the comparism between the temperature measured by the project thermometer and
that of the digital thermometer are plotted in Fig 12 below.

Fig 12 A graph of the measured temperatures against time.

ATiny2313 Conversion and Keyboard Test Result
A sample of the result of the test on the conversion of scan code to ASCII by ATiny2313
microcontroller is as tabulated in Table 2

22
International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013

Table 2 Result of the ATiny2313 Conversion and keyboard test

KEY
ESC
F1
F2
F3
F4
F5
F6
F7
F8
F9
F10
F11
F12

L7
0
0
0
0
0
0
0
0
0
0
0
0
0

L6
0
0
0
0
0
0
0
0
0
0
0
0
0

L5
1
0
0
0
0
0
0
0
0
0
0
0
0

L4
0
0
0
0
0
0
0
0
1
1
1
1
1

L3
0
0
0
0
1
1
1
1
0
0
0
0
1

L2
0
0
1
1
0
0
1
1
0
0
1
1
0

L1
0
1
0
1
0
1
0
1
0
1
0
1
0

Result of the RTC Test
The result of Table 3 is the summary of the test on how accurate the RTC is able to keep time.
Table 3 RTC accuracy test

Date
10/4/2011
12/6/2011

RTC (T1) time
9.00 am
9.00 am

Clock (T2) time
9.00 am
9.03am

The Result of GSM Messaging
It was noted that every time the temperature of the sensor, as displayed on the LCD, exceeds the
pre-set temperature by 10C a text massage was received on the monitoring handset. The result of
the text received from the GSM modem is tabulated in Table 4.
Table 4 GSM message

Preset temp (T1 in oC)
sent temp (T2 in oC)
43
44
36
37
40
41
45
46
48
49
50
51
Temperature Logging and Computer Interface Test Result
The temperature logged for 24 hours as logged by the EEPROM and copied to the computer is
tabulated in Table 5.

23
International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013

Table 5 Result of the temperature logged data for 24 hours.

Time
12.00
12.10
12.20
12.30
12.40
12.50
13.00
13.10
13.20
13.30
13.40
13.50
14.00
14.10
14.20
14.30
14.40
14.50

Temp.(0C)
36
36
36
36
36
36
36
36
36
36
36
36
36
36
36
36
36
36

Time
15.00
15.10
15.20
15.30
15.40
15.50
16.00
16.10
16.20
16.30
16.40
16.50
17.00
17.10
17.20
17.30
17.40
17.50

Temp.(0C)
36
36
37
37
37
36
36
36
36
36
36
36
36
36
36
36
36
36

Time
18.00
18.10
18.20
18.30
18.40
18.50
19.00
19.10
19.20
19.30
19.40
19.50
20.00
20.10
20.20
20.30
20.40
20.50

Temp.(0C)
35
35
35
35
35
35
36
36
36
36
35
35
35
35
35
35
35
35

Time
21.00
21.10
21.20
21.30
21.40
21.50
22.00
22.10
22.20
22.30
22.40
22.50
23.00
23.10
23.20
23.30
23.40
23.50

Temp.(0C)
35
35
35
35
35
35
35
35
35
35
35
35
35
35
35
35
35
35

DISCUSSION
The power supply test results are exactly as anticipated (Table 1). When switched on for about
one hour the voltage regulators were noted to heat up slightly. For this reason a small fan was
attached to the project to blow air over the components to prolong their lifespan.
The results obtained as plotted in Fig. 12 show that there are small deviations between the two
temperatures. The possible reason for slight deference in the measured temperatures is that the
resolution of the ADC is 1. This means that temperatures are rounded up to the nearest whole
number during ADC conversion process. The measured temperature is therefore likely to have
error of 0 to ± 0.5 from the actual value.
The results of ATiny2313 conversion test as shown in Table 2 show that the output LEDs
condition is exactly the ASCII equivalent of the numbers pressed. This shows that the key values
are being properly converted in the ATiny2313 microcontroller. The function keys pressed also
gave the correct response on the LCD. This is an indication that the function keys are well
configured.
The result of the test on the accuracy of the RTC (Table 3) showed that for a period of two days
(48 hours) there is an error of 3 minutes which is not too much considering the purpose for which
it is designed.
It could be seen from table 4 that whenever the pre-set temperature is exceeded by 10C a text
massage was received on the monitoring handset. It is therefore recommended that the pre-set
temperature should be 10C less than the threshold temperature. In other words if the critical

24
International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013

patient temperature is 350C, then the pre-set temperature should be set at 340C. It is also
recommended that the MODEM SIM card be charged with sufficient credit to send messages.
The result of Table 5 is an indication that the device is able to log temperature and interface the
logged data with a computer as claimed by the design. The analyses of the logged temperature is
however not the scope of this paper.

CONCLUSSION
In this paper, a system has been successfully design that should prove very useful in the field of
health care delivery in Nigeria. It is designed to help manage the temperature of a patient that is
possibly critically ill in the hospital or to monitor the temperature of other hospital operations
such as preservation of drugs, foods and there likes.
The design work is found to meet specification as it is capable of logging temperature on a
continuous base and send text massage whenever a pre-set temperature is exceeded.
The major limitation is that the accuracy of the measured value may have error of ± 0.5oC which
may be improved upon by exploring other sensors and improving the ADC resolution.
The LM35 sensor is to be physically attached to the body of the patient to monitor his
temperature which has been noted to be inconveniencing. For future development a remote sensor
that could monitor the patient’s temperature with no physical contact should be considered.

REFERENCES
[1] ATiny2313 Data Book. (2003, September). AVR Microcontroller. Retrieved April 12, 2011, from
[2]
[3]
[4]
[5]
[6]

[7]
[8]
[9]
[10]
[11]
[12]
[13]
[14]

ATmel Corporation: http;/www.atmel.com
ATmmega16 Data Book. (2001, November 4). Atmega16. Retrieved May 5, 2011, from ATmel
corporation: http;//www.atmel.com
Deepika. (2006). Designing a Microcontroller Based Temperature Data Logger. Patiala, India: Thapar
Institute of Engineering and Technology, Deemed University.
DS1307 RTC Data Book. (2001, February 4). Serial Real Time Clock. Retrieved May 4, 2010, from
Dalas Semiconductor Corporation Web Site: http;//www.dalassemiconductor.com
EEPROM. (1998). 24C08B/16B Serial EEPROMs. Retrieved may 10, 2010, from Microchip web
site: http;/www.microchip.com
Goswani et. al, A. (2009). Design of an Embedded System For Monitoring and Controlling
Temperature and Light. International Journal of Electronic Engineering Research; Volume 1 Number
1 , 27-36.
Ismaila S. and Momoh M. (2011). Microcontroller based termometer. Energy Soceity Of Nigeria
Annual Conference. Sokoto Energy Research Center: Energy soceity of Nigeria.
iWatch. (2009). Wireless temperature seneors and monitoring services to support JCAHO regulatory
compliance. Retrieved april 12, 2011, from iwatch TM: http;/iwatch&flags.com
Kapidere, M. Ahiska, R.and Guler, I. (2005). A New Microcontroller Based Human Brain
Hypothermia . System. Journal of Medical Systems Vol29 No5, 27.
Lewis, G. (1995). Patent No. 5386831. United States.
Modem Data Book. (2005). ELG282 Serial Modem data Sheet. Retrieved May 4, 2010, from E-Lines
Technology Co.Limited: Htt;//www.e-lins.com
Olavaria, A. A. (2008). Pressure and Temperature Monitoring System For Off-highway Truck Tires.
Valparaiso, Chile: Federico Santa Maria Technical University.
Presidio . (2009). improve the health of your network, patients and its investmrnts. Retrieved june 15,
2011, from Presidio Network Solutions web site: http//www.presidio.com
Qingsheng, Z. and Julio, S. (2004) Patent no 7037273 US
25
International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013
[15] Raza, A. (2010, Feb 23). Data aquisition and logging system. Retrieved July 4, 2011, from Circuit
lake electronics project and circuit collection: www.circuitlake.com
[16] Robert R, Dedrick, John, D. (1999). An Inexpensive, microprocessor-Based Data Logging System.
Haley &Aldrich, New York
[17] Singh, V. (2006). Design and Development of microcontroller Based Temperature and Humidity
Controller for Infant Incubator. Patiala, India: Thapar Institute of Engineering Technology.
[18] Smith, S. E. (2010, september 9). What is a Temperature Log? Retrieved june 4, 2011, from
wiseGeeK: http//www.getwidget.com
[19] Tiplady, K. (2010, February 2). Remote Critical Area Monitoring System . Retrieved October 4,
2011, from Circuit Lake: http;//www.circuitlake.com

26

More Related Content

What's hot

Benaka Healthcare - Cardiology, ICU and Critical Care Products
Benaka Healthcare - Cardiology, ICU and Critical Care ProductsBenaka Healthcare - Cardiology, ICU and Critical Care Products
Benaka Healthcare - Cardiology, ICU and Critical Care ProductsD.C. Chetan
 
ECG SIGNAL ACQUISITION, FEATURE EXTRACTION AND HRV ANALYSIS USING BIOMEDICAL ...
ECG SIGNAL ACQUISITION, FEATURE EXTRACTION AND HRV ANALYSIS USING BIOMEDICAL ...ECG SIGNAL ACQUISITION, FEATURE EXTRACTION AND HRV ANALYSIS USING BIOMEDICAL ...
ECG SIGNAL ACQUISITION, FEATURE EXTRACTION AND HRV ANALYSIS USING BIOMEDICAL ...IAEME Publication
 
Discovering Board for STM8L15x MCUs
Discovering Board for STM8L15x MCUsDiscovering Board for STM8L15x MCUs
Discovering Board for STM8L15x MCUsPremier Farnell
 
Overview of islab medical instruments
Overview of islab medical instrumentsOverview of islab medical instruments
Overview of islab medical instrumentsISLab
 
Mecta ppt product overview
Mecta ppt product overviewMecta ppt product overview
Mecta ppt product overviewodojam
 
Biomedical Wearable Device For Remote Monitoring Ofphysiological Signals
Biomedical Wearable Device For Remote Monitoring Ofphysiological SignalsBiomedical Wearable Device For Remote Monitoring Ofphysiological Signals
Biomedical Wearable Device For Remote Monitoring Ofphysiological Signalsncct
 
Health Monitoring KIOSK: An effective system for rural health management
Health Monitoring KIOSK: An effective system for rural health managementHealth Monitoring KIOSK: An effective system for rural health management
Health Monitoring KIOSK: An effective system for rural health managementijiert bestjournal
 
Raspberry PI Based Paralyze Attack Rehabilitation System
Raspberry PI Based Paralyze Attack Rehabilitation SystemRaspberry PI Based Paralyze Attack Rehabilitation System
Raspberry PI Based Paralyze Attack Rehabilitation SystemIRJET Journal
 
HUMAN HEALTH MONITORING SYSTEM IN ABNORMAL CONDITION USING MSP 430 TO REMOTE...
 HUMAN HEALTH MONITORING SYSTEM IN ABNORMAL CONDITION USING MSP 430 TO REMOTE... HUMAN HEALTH MONITORING SYSTEM IN ABNORMAL CONDITION USING MSP 430 TO REMOTE...
HUMAN HEALTH MONITORING SYSTEM IN ABNORMAL CONDITION USING MSP 430 TO REMOTE...ijiert bestjournal
 
Design and development of fpga based temperature measurement and control
Design and development of fpga based temperature measurement and controlDesign and development of fpga based temperature measurement and control
Design and development of fpga based temperature measurement and controlIAEME Publication
 
Embedded systems and programming (including my work at Eyantra (IIT Bombay))
Embedded systems and programming (including my work at Eyantra (IIT Bombay))Embedded systems and programming (including my work at Eyantra (IIT Bombay))
Embedded systems and programming (including my work at Eyantra (IIT Bombay))AkashDeep Singh
 
Ijaest volume 2-number-2pp-190-195x
Ijaest volume 2-number-2pp-190-195xIjaest volume 2-number-2pp-190-195x
Ijaest volume 2-number-2pp-190-195xsalborunda
 
Landslide Detection using Arduino
Landslide Detection  using ArduinoLandslide Detection  using Arduino
Landslide Detection using ArduinoShri Ram G
 
Varsha chhalani
Varsha chhalaniVarsha chhalani
Varsha chhalaniVarsha2125
 

What's hot (19)

Closed Loop DBS
Closed Loop DBSClosed Loop DBS
Closed Loop DBS
 
Control and Supervision of a Solar Electric System
Control and Supervision of a Solar Electric SystemControl and Supervision of a Solar Electric System
Control and Supervision of a Solar Electric System
 
Benaka Healthcare - Cardiology, ICU and Critical Care Products
Benaka Healthcare - Cardiology, ICU and Critical Care ProductsBenaka Healthcare - Cardiology, ICU and Critical Care Products
Benaka Healthcare - Cardiology, ICU and Critical Care Products
 
40220140505004
4022014050500440220140505004
40220140505004
 
ECG SIGNAL ACQUISITION, FEATURE EXTRACTION AND HRV ANALYSIS USING BIOMEDICAL ...
ECG SIGNAL ACQUISITION, FEATURE EXTRACTION AND HRV ANALYSIS USING BIOMEDICAL ...ECG SIGNAL ACQUISITION, FEATURE EXTRACTION AND HRV ANALYSIS USING BIOMEDICAL ...
ECG SIGNAL ACQUISITION, FEATURE EXTRACTION AND HRV ANALYSIS USING BIOMEDICAL ...
 
Discovering Board for STM8L15x MCUs
Discovering Board for STM8L15x MCUsDiscovering Board for STM8L15x MCUs
Discovering Board for STM8L15x MCUs
 
Overview of islab medical instruments
Overview of islab medical instrumentsOverview of islab medical instruments
Overview of islab medical instruments
 
Mecta ppt product overview
Mecta ppt product overviewMecta ppt product overview
Mecta ppt product overview
 
Biomedical Wearable Device For Remote Monitoring Ofphysiological Signals
Biomedical Wearable Device For Remote Monitoring Ofphysiological SignalsBiomedical Wearable Device For Remote Monitoring Ofphysiological Signals
Biomedical Wearable Device For Remote Monitoring Ofphysiological Signals
 
Health Monitoring KIOSK: An effective system for rural health management
Health Monitoring KIOSK: An effective system for rural health managementHealth Monitoring KIOSK: An effective system for rural health management
Health Monitoring KIOSK: An effective system for rural health management
 
J5244649
J5244649J5244649
J5244649
 
Raspberry PI Based Paralyze Attack Rehabilitation System
Raspberry PI Based Paralyze Attack Rehabilitation SystemRaspberry PI Based Paralyze Attack Rehabilitation System
Raspberry PI Based Paralyze Attack Rehabilitation System
 
HUMAN HEALTH MONITORING SYSTEM IN ABNORMAL CONDITION USING MSP 430 TO REMOTE...
 HUMAN HEALTH MONITORING SYSTEM IN ABNORMAL CONDITION USING MSP 430 TO REMOTE... HUMAN HEALTH MONITORING SYSTEM IN ABNORMAL CONDITION USING MSP 430 TO REMOTE...
HUMAN HEALTH MONITORING SYSTEM IN ABNORMAL CONDITION USING MSP 430 TO REMOTE...
 
Design and development of fpga based temperature measurement and control
Design and development of fpga based temperature measurement and controlDesign and development of fpga based temperature measurement and control
Design and development of fpga based temperature measurement and control
 
Meditech products list.
Meditech products list.Meditech products list.
Meditech products list.
 
Embedded systems and programming (including my work at Eyantra (IIT Bombay))
Embedded systems and programming (including my work at Eyantra (IIT Bombay))Embedded systems and programming (including my work at Eyantra (IIT Bombay))
Embedded systems and programming (including my work at Eyantra (IIT Bombay))
 
Ijaest volume 2-number-2pp-190-195x
Ijaest volume 2-number-2pp-190-195xIjaest volume 2-number-2pp-190-195x
Ijaest volume 2-number-2pp-190-195x
 
Landslide Detection using Arduino
Landslide Detection  using ArduinoLandslide Detection  using Arduino
Landslide Detection using Arduino
 
Varsha chhalani
Varsha chhalaniVarsha chhalani
Varsha chhalani
 

Viewers also liked

Web 1.0, 2.0, 3.0
Web 1.0, 2.0, 3.0Web 1.0, 2.0, 3.0
Web 1.0, 2.0, 3.0Byron Diaz
 
SEO and Social Media: Tips for Successful Integration
SEO and Social Media: Tips for Successful IntegrationSEO and Social Media: Tips for Successful Integration
SEO and Social Media: Tips for Successful Integrationsemrush_webinars
 
Where Angels Fear to Tread: Interlude 3
Where Angels Fear to Tread: Interlude 3Where Angels Fear to Tread: Interlude 3
Where Angels Fear to Tread: Interlude 3animeangel1983
 
The long-wait(08-12-13)
The long-wait(08-12-13)The long-wait(08-12-13)
The long-wait(08-12-13)flemingant
 
Extending Information Security to Non Production Environments
Extending Information Security to Non Production EnvironmentsExtending Information Security to Non Production Environments
Extending Information Security to Non Production EnvironmentsFrank Morris
 
Christmas in greece georgia konstandaropoulou
Christmas in greece   georgia konstandaropoulouChristmas in greece   georgia konstandaropoulou
Christmas in greece georgia konstandaropoulouBarbara Koziori
 
Bitcoin Price Forecasting
Bitcoin Price ForecastingBitcoin Price Forecasting
Bitcoin Price Forecastingnvenkataraman1
 
Avisos primera sesión informativa 2015 16
Avisos primera sesión informativa 2015 16Avisos primera sesión informativa 2015 16
Avisos primera sesión informativa 2015 161Donje
 
932 geometria analitica-_a._(boulos)
932 geometria analitica-_a._(boulos)932 geometria analitica-_a._(boulos)
932 geometria analitica-_a._(boulos)Rodrigo Amorim
 

Viewers also liked (17)

Web 1.0, 2.0, 3.0
Web 1.0, 2.0, 3.0Web 1.0, 2.0, 3.0
Web 1.0, 2.0, 3.0
 
Comunicacic3b3n no-verbal
Comunicacic3b3n no-verbalComunicacic3b3n no-verbal
Comunicacic3b3n no-verbal
 
SEO and Social Media: Tips for Successful Integration
SEO and Social Media: Tips for Successful IntegrationSEO and Social Media: Tips for Successful Integration
SEO and Social Media: Tips for Successful Integration
 
Alghe oil
Alghe oilAlghe oil
Alghe oil
 
Mmorpg mud
Mmorpg mudMmorpg mud
Mmorpg mud
 
Where Angels Fear to Tread: Interlude 3
Where Angels Fear to Tread: Interlude 3Where Angels Fear to Tread: Interlude 3
Where Angels Fear to Tread: Interlude 3
 
014
014014
014
 
008
008008
008
 
015
015015
015
 
The long-wait(08-12-13)
The long-wait(08-12-13)The long-wait(08-12-13)
The long-wait(08-12-13)
 
Extending Information Security to Non Production Environments
Extending Information Security to Non Production EnvironmentsExtending Information Security to Non Production Environments
Extending Information Security to Non Production Environments
 
Herramientas web 2
Herramientas web 2Herramientas web 2
Herramientas web 2
 
Mmorpg evolla
Mmorpg evollaMmorpg evolla
Mmorpg evolla
 
Christmas in greece georgia konstandaropoulou
Christmas in greece   georgia konstandaropoulouChristmas in greece   georgia konstandaropoulou
Christmas in greece georgia konstandaropoulou
 
Bitcoin Price Forecasting
Bitcoin Price ForecastingBitcoin Price Forecasting
Bitcoin Price Forecasting
 
Avisos primera sesión informativa 2015 16
Avisos primera sesión informativa 2015 16Avisos primera sesión informativa 2015 16
Avisos primera sesión informativa 2015 16
 
932 geometria analitica-_a._(boulos)
932 geometria analitica-_a._(boulos)932 geometria analitica-_a._(boulos)
932 geometria analitica-_a._(boulos)
 

Similar to 3113ijist02

TEMPERATURE MONITORING AND LOGGING SYSTEM SUITABLE FOR USE IN HOSPITALS, INCO...
TEMPERATURE MONITORING AND LOGGING SYSTEM SUITABLE FOR USE IN HOSPITALS, INCO...TEMPERATURE MONITORING AND LOGGING SYSTEM SUITABLE FOR USE IN HOSPITALS, INCO...
TEMPERATURE MONITORING AND LOGGING SYSTEM SUITABLE FOR USE IN HOSPITALS, INCO...ijistjournal
 
Smart Monitoring System for Substation’ Parameters and Automatic under Freque...
Smart Monitoring System for Substation’ Parameters and Automatic under Freque...Smart Monitoring System for Substation’ Parameters and Automatic under Freque...
Smart Monitoring System for Substation’ Parameters and Automatic under Freque...BRNSSPublicationHubI
 
GSM based agriculture monitoring system
GSM based agriculture monitoring systemGSM based agriculture monitoring system
GSM based agriculture monitoring systemIRJET Journal
 
IRJET- Health Monitoring System Based on GSM
IRJET-  	  Health Monitoring System Based on GSMIRJET-  	  Health Monitoring System Based on GSM
IRJET- Health Monitoring System Based on GSMIRJET Journal
 
IRJET- Measuring Current and Power of Different Electrical Engines
IRJET- Measuring Current and Power of Different Electrical EnginesIRJET- Measuring Current and Power of Different Electrical Engines
IRJET- Measuring Current and Power of Different Electrical EnginesIRJET Journal
 
Low Cost Temperature and Humidity Estimator with Atmega8 Microcontroller
Low Cost Temperature and Humidity Estimator with Atmega8 MicrocontrollerLow Cost Temperature and Humidity Estimator with Atmega8 Microcontroller
Low Cost Temperature and Humidity Estimator with Atmega8 MicrocontrollerYogeshIJTSRD
 
TEMPERATURE CONTROL AND DATA ACQUISITION METHOD FOR FACTORY USING LABVIEW
TEMPERATURE CONTROL AND DATA ACQUISITION METHOD FOR FACTORY USING LABVIEWTEMPERATURE CONTROL AND DATA ACQUISITION METHOD FOR FACTORY USING LABVIEW
TEMPERATURE CONTROL AND DATA ACQUISITION METHOD FOR FACTORY USING LABVIEWIAEME Publication
 
IRJET- Transformer Monitoring and Protection System using AVR Atmega16 Mi...
IRJET-  	  Transformer Monitoring and Protection System using AVR Atmega16 Mi...IRJET-  	  Transformer Monitoring and Protection System using AVR Atmega16 Mi...
IRJET- Transformer Monitoring and Protection System using AVR Atmega16 Mi...IRJET Journal
 
Real-Time Monitoring and Control System for Industry
Real-Time Monitoring and Control System for IndustryReal-Time Monitoring and Control System for Industry
Real-Time Monitoring and Control System for Industryijsrd.com
 
Design and Implementation of Real Time Remote Supervisory System
Design and Implementation of Real Time Remote Supervisory SystemDesign and Implementation of Real Time Remote Supervisory System
Design and Implementation of Real Time Remote Supervisory SystemIJERA Editor
 
DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...
DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...
DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...ijistjournal
 
DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...
DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...
DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...ijistjournal
 
DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...
DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...
DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...ijistjournal
 
Vivek_Presentation1.pptx
Vivek_Presentation1.pptxVivek_Presentation1.pptx
Vivek_Presentation1.pptxVishalLabde
 

Similar to 3113ijist02 (20)

TEMPERATURE MONITORING AND LOGGING SYSTEM SUITABLE FOR USE IN HOSPITALS, INCO...
TEMPERATURE MONITORING AND LOGGING SYSTEM SUITABLE FOR USE IN HOSPITALS, INCO...TEMPERATURE MONITORING AND LOGGING SYSTEM SUITABLE FOR USE IN HOSPITALS, INCO...
TEMPERATURE MONITORING AND LOGGING SYSTEM SUITABLE FOR USE IN HOSPITALS, INCO...
 
Smart Monitoring System for Substation’ Parameters and Automatic under Freque...
Smart Monitoring System for Substation’ Parameters and Automatic under Freque...Smart Monitoring System for Substation’ Parameters and Automatic under Freque...
Smart Monitoring System for Substation’ Parameters and Automatic under Freque...
 
GSM based agriculture monitoring system
GSM based agriculture monitoring systemGSM based agriculture monitoring system
GSM based agriculture monitoring system
 
IRJET- Health Monitoring System Based on GSM
IRJET-  	  Health Monitoring System Based on GSMIRJET-  	  Health Monitoring System Based on GSM
IRJET- Health Monitoring System Based on GSM
 
4. 8484 1-pb
4. 8484 1-pb4. 8484 1-pb
4. 8484 1-pb
 
IRJET- Measuring Current and Power of Different Electrical Engines
IRJET- Measuring Current and Power of Different Electrical EnginesIRJET- Measuring Current and Power of Different Electrical Engines
IRJET- Measuring Current and Power of Different Electrical Engines
 
B41012015
B41012015B41012015
B41012015
 
40120140506003
4012014050600340120140506003
40120140506003
 
40120140506003
4012014050600340120140506003
40120140506003
 
Low Cost Temperature and Humidity Estimator with Atmega8 Microcontroller
Low Cost Temperature and Humidity Estimator with Atmega8 MicrocontrollerLow Cost Temperature and Humidity Estimator with Atmega8 Microcontroller
Low Cost Temperature and Humidity Estimator with Atmega8 Microcontroller
 
TEMPERATURE CONTROL AND DATA ACQUISITION METHOD FOR FACTORY USING LABVIEW
TEMPERATURE CONTROL AND DATA ACQUISITION METHOD FOR FACTORY USING LABVIEWTEMPERATURE CONTROL AND DATA ACQUISITION METHOD FOR FACTORY USING LABVIEW
TEMPERATURE CONTROL AND DATA ACQUISITION METHOD FOR FACTORY USING LABVIEW
 
Ig3314081417
Ig3314081417Ig3314081417
Ig3314081417
 
Ig3314081417
Ig3314081417Ig3314081417
Ig3314081417
 
IRJET- Transformer Monitoring and Protection System using AVR Atmega16 Mi...
IRJET-  	  Transformer Monitoring and Protection System using AVR Atmega16 Mi...IRJET-  	  Transformer Monitoring and Protection System using AVR Atmega16 Mi...
IRJET- Transformer Monitoring and Protection System using AVR Atmega16 Mi...
 
Real-Time Monitoring and Control System for Industry
Real-Time Monitoring and Control System for IndustryReal-Time Monitoring and Control System for Industry
Real-Time Monitoring and Control System for Industry
 
Design and Implementation of Real Time Remote Supervisory System
Design and Implementation of Real Time Remote Supervisory SystemDesign and Implementation of Real Time Remote Supervisory System
Design and Implementation of Real Time Remote Supervisory System
 
DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...
DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...
DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...
 
DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...
DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...
DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...
 
DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...
DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...
DESIGN AND DEVELOPMENT OF A LOW-COST MICROCONTROLLER BASED SINGLE PHASE WATER...
 
Vivek_Presentation1.pptx
Vivek_Presentation1.pptxVivek_Presentation1.pptx
Vivek_Presentation1.pptx
 

Recently uploaded

Delhi Call Girls East Of Kailash 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls East Of Kailash 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls East Of Kailash 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls East Of Kailash 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
BLUE VEHICLES the kids picture show 2024
BLUE VEHICLES the kids picture show 2024BLUE VEHICLES the kids picture show 2024
BLUE VEHICLES the kids picture show 2024AHOhOops1
 
GREEN VEHICLES the kids picture show 2024
GREEN VEHICLES the kids picture show 2024GREEN VEHICLES the kids picture show 2024
GREEN VEHICLES the kids picture show 2024AHOhOops1
 
Russian Call Girls Delhi Indirapuram {9711199171} Aarvi Gupta ✌️Independent ...
Russian  Call Girls Delhi Indirapuram {9711199171} Aarvi Gupta ✌️Independent ...Russian  Call Girls Delhi Indirapuram {9711199171} Aarvi Gupta ✌️Independent ...
Russian Call Girls Delhi Indirapuram {9711199171} Aarvi Gupta ✌️Independent ...shivangimorya083
 
Call me @ 9892124323 Call Girl in Andheri East With Free Home Delivery
Call me @ 9892124323 Call Girl in Andheri East With Free Home DeliveryCall me @ 9892124323 Call Girl in Andheri East With Free Home Delivery
Call me @ 9892124323 Call Girl in Andheri East With Free Home DeliveryPooja Nehwal
 
Introduction of Basic of Paint Technology
Introduction of Basic of Paint TechnologyIntroduction of Basic of Paint Technology
Introduction of Basic of Paint TechnologyRaghavendraMishra19
 
Electronic Vehicle (EV) Industry Challenges
Electronic Vehicle (EV) Industry ChallengesElectronic Vehicle (EV) Industry Challenges
Electronic Vehicle (EV) Industry Challengesmarketingmangosemi
 
Delhi Call Girls Saket 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Saket 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Saket 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Saket 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
83778-77756 ( HER.SELF ) Brings Call Girls In Laxmi Nagar
83778-77756 ( HER.SELF ) Brings Call Girls In Laxmi Nagar83778-77756 ( HER.SELF ) Brings Call Girls In Laxmi Nagar
83778-77756 ( HER.SELF ) Brings Call Girls In Laxmi Nagardollysharma2066
 
Hyundai World Rally Team in action at 2024 WRC
Hyundai World Rally Team in action at 2024 WRCHyundai World Rally Team in action at 2024 WRC
Hyundai World Rally Team in action at 2024 WRCHyundai Motor Group
 
The 10th anniversary, Hyundai World Rally Team's amazing journey
The 10th anniversary, Hyundai World Rally Team's amazing journeyThe 10th anniversary, Hyundai World Rally Team's amazing journey
The 10th anniversary, Hyundai World Rally Team's amazing journeyHyundai Motor Group
 
John Deere 7430 7530 Tractors Diagnostic Service Manual W.pdf
John Deere 7430 7530 Tractors Diagnostic Service Manual W.pdfJohn Deere 7430 7530 Tractors Diagnostic Service Manual W.pdf
John Deere 7430 7530 Tractors Diagnostic Service Manual W.pdfExcavator
 
VIP Kolkata Call Girl Kasba 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kasba 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kasba 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kasba 👉 8250192130 Available With Roomdivyansh0kumar0
 
定制(Cantab毕业证书)剑桥大学毕业证成绩单原版一比一
定制(Cantab毕业证书)剑桥大学毕业证成绩单原版一比一定制(Cantab毕业证书)剑桥大学毕业证成绩单原版一比一
定制(Cantab毕业证书)剑桥大学毕业证成绩单原版一比一mjyguplun
 
VIP Russian Call Girls in Jamshedpur Deepika 8250192130 Independent Escort Se...
VIP Russian Call Girls in Jamshedpur Deepika 8250192130 Independent Escort Se...VIP Russian Call Girls in Jamshedpur Deepika 8250192130 Independent Escort Se...
VIP Russian Call Girls in Jamshedpur Deepika 8250192130 Independent Escort Se...Suhani Kapoor
 
Hauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhi
Hauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhiHauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhi
Hauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhiHot Call Girls In Sector 58 (Noida)
 
Alia +91-9537192988-Experience the Unmatchable Pleasure with Model Ahmedabad ...
Alia +91-9537192988-Experience the Unmatchable Pleasure with Model Ahmedabad ...Alia +91-9537192988-Experience the Unmatchable Pleasure with Model Ahmedabad ...
Alia +91-9537192988-Experience the Unmatchable Pleasure with Model Ahmedabad ...Niya Khan
 
Delhi Call Girls Mayur Vihar 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Mayur Vihar 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Mayur Vihar 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Mayur Vihar 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Callshivangimorya083
 
Call Girls in Malviya Nagar Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts Ser...
Call Girls in Malviya Nagar Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts Ser...Call Girls in Malviya Nagar Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts Ser...
Call Girls in Malviya Nagar Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts Ser...Delhi Call girls
 

Recently uploaded (20)

Delhi Call Girls East Of Kailash 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls East Of Kailash 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls East Of Kailash 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls East Of Kailash 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
BLUE VEHICLES the kids picture show 2024
BLUE VEHICLES the kids picture show 2024BLUE VEHICLES the kids picture show 2024
BLUE VEHICLES the kids picture show 2024
 
GREEN VEHICLES the kids picture show 2024
GREEN VEHICLES the kids picture show 2024GREEN VEHICLES the kids picture show 2024
GREEN VEHICLES the kids picture show 2024
 
Russian Call Girls Delhi Indirapuram {9711199171} Aarvi Gupta ✌️Independent ...
Russian  Call Girls Delhi Indirapuram {9711199171} Aarvi Gupta ✌️Independent ...Russian  Call Girls Delhi Indirapuram {9711199171} Aarvi Gupta ✌️Independent ...
Russian Call Girls Delhi Indirapuram {9711199171} Aarvi Gupta ✌️Independent ...
 
Call me @ 9892124323 Call Girl in Andheri East With Free Home Delivery
Call me @ 9892124323 Call Girl in Andheri East With Free Home DeliveryCall me @ 9892124323 Call Girl in Andheri East With Free Home Delivery
Call me @ 9892124323 Call Girl in Andheri East With Free Home Delivery
 
Introduction of Basic of Paint Technology
Introduction of Basic of Paint TechnologyIntroduction of Basic of Paint Technology
Introduction of Basic of Paint Technology
 
Electronic Vehicle (EV) Industry Challenges
Electronic Vehicle (EV) Industry ChallengesElectronic Vehicle (EV) Industry Challenges
Electronic Vehicle (EV) Industry Challenges
 
Delhi Call Girls Saket 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Saket 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Saket 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Saket 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Stay Cool and Compliant: Know Your Window Tint Laws Before You Tint
Stay Cool and Compliant: Know Your Window Tint Laws Before You TintStay Cool and Compliant: Know Your Window Tint Laws Before You Tint
Stay Cool and Compliant: Know Your Window Tint Laws Before You Tint
 
83778-77756 ( HER.SELF ) Brings Call Girls In Laxmi Nagar
83778-77756 ( HER.SELF ) Brings Call Girls In Laxmi Nagar83778-77756 ( HER.SELF ) Brings Call Girls In Laxmi Nagar
83778-77756 ( HER.SELF ) Brings Call Girls In Laxmi Nagar
 
Hyundai World Rally Team in action at 2024 WRC
Hyundai World Rally Team in action at 2024 WRCHyundai World Rally Team in action at 2024 WRC
Hyundai World Rally Team in action at 2024 WRC
 
The 10th anniversary, Hyundai World Rally Team's amazing journey
The 10th anniversary, Hyundai World Rally Team's amazing journeyThe 10th anniversary, Hyundai World Rally Team's amazing journey
The 10th anniversary, Hyundai World Rally Team's amazing journey
 
John Deere 7430 7530 Tractors Diagnostic Service Manual W.pdf
John Deere 7430 7530 Tractors Diagnostic Service Manual W.pdfJohn Deere 7430 7530 Tractors Diagnostic Service Manual W.pdf
John Deere 7430 7530 Tractors Diagnostic Service Manual W.pdf
 
VIP Kolkata Call Girl Kasba 👉 8250192130 Available With Room
VIP Kolkata Call Girl Kasba 👉 8250192130  Available With RoomVIP Kolkata Call Girl Kasba 👉 8250192130  Available With Room
VIP Kolkata Call Girl Kasba 👉 8250192130 Available With Room
 
定制(Cantab毕业证书)剑桥大学毕业证成绩单原版一比一
定制(Cantab毕业证书)剑桥大学毕业证成绩单原版一比一定制(Cantab毕业证书)剑桥大学毕业证成绩单原版一比一
定制(Cantab毕业证书)剑桥大学毕业证成绩单原版一比一
 
VIP Russian Call Girls in Jamshedpur Deepika 8250192130 Independent Escort Se...
VIP Russian Call Girls in Jamshedpur Deepika 8250192130 Independent Escort Se...VIP Russian Call Girls in Jamshedpur Deepika 8250192130 Independent Escort Se...
VIP Russian Call Girls in Jamshedpur Deepika 8250192130 Independent Escort Se...
 
Hauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhi
Hauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhiHauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhi
Hauz Khas Call Girls ☎ 7042364481 independent Escorts Service in delhi
 
Alia +91-9537192988-Experience the Unmatchable Pleasure with Model Ahmedabad ...
Alia +91-9537192988-Experience the Unmatchable Pleasure with Model Ahmedabad ...Alia +91-9537192988-Experience the Unmatchable Pleasure with Model Ahmedabad ...
Alia +91-9537192988-Experience the Unmatchable Pleasure with Model Ahmedabad ...
 
Delhi Call Girls Mayur Vihar 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Mayur Vihar 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip CallDelhi Call Girls Mayur Vihar 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
Delhi Call Girls Mayur Vihar 9711199171 ☎✔👌✔ Whatsapp Hard And Sexy Vip Call
 
Call Girls in Malviya Nagar Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts Ser...
Call Girls in Malviya Nagar Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts Ser...Call Girls in Malviya Nagar Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts Ser...
Call Girls in Malviya Nagar Delhi 💯 Call Us 🔝9205541914 🔝( Delhi) Escorts Ser...
 

3113ijist02

  • 1. International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013 TEMPERATURE MONITORING AND LOGGING SYSTEM SUITABLE FOR USE IN HOSPITALS, INCORPORATING GSM TEXT MESSAGING 1 1 I. G. Saidu, and 2 M. Momoh and 1A. S. Mindaudu Physics/ Electrical Department Sokoto State Polytechnic, Sokoto Department of Physics, Usmanu Danfodiyo University, Sokoto. 2 1 ismailsaidu258@gmail.com ABSTRACT In this paper, a microcontroller-based temperature monitoring and logging system suitable for use in hospitals was designed and constructed. The features include ability to monitor a patient’s temperature on a continuous basis while displaying the instant result on a Liquid Crystal Display (LCD) device. The temperature monitored is logged in a memory device, Electrically Erasable Programmable Read Only Memory (EEPROM), located in the system at every 10 minutes interval and can be interfaced with a computer using USB or RS232 UART device. An ATmega16 AVR is used as the heart of the control and coordination of all the activities of the individual modules. It allowed a doctor at location from the patient to keep track of his patient’s condition while attending to other issues. Keywords Microcontroller. Patient temperature and data logger. INTRODUCTION A temperature log is a document in which information about temperature is maintained. The log usually consists of temperature readings taken at set intervals over a given period of time. (Smith, 2010). Temperature monitoring has assumed a vital role both in the management of patient’s condition and general hospital storage facilities. This is why the American State Department of Health (DOH) and the Joint Commission on Accreditation of Healthcare Organization (JCAHO) require temperature monitoring and logging for all patients’ care-related refrigerators, freezers and blanket warmers (iWatch, 2009). Failure to comply can lead to medically significant problems (Zweig, 2005 cited by Presidio, 2009) and costly remediation actions (iWatch, 2009). While manual temperature monitoring logging on paper is still done in some regions of the world, a temperature log is often done digitally (Smith, 2010). There are however some distinct advantages to logging digitally as it allows for automatic logging that reduces the rate of human error (Presidio, 2009) and in streamlining the logging process(Smith, 2010). According to Presidio (2009) “To meet the demands of the tight-margin, competitive market- place, hospitals and other healthcare providers can no longer afford to rely on manual processes and out-dated technology”. Several temperature monitoring and logging systems have been presented in quite a number of publications. The designs exhibit different unique features. For instance, Kapidere et al., (2005) DOI : 10.5121/ijist.2013.3102 11
  • 2. International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013 designed and constructed a microcontroller based human brain hypothermia system intended for cooling and heating brain. Robert et al., (1999) developed a data logging system with two units; a logger and a reader which work with a host computer. They used EEPROM chip to store data and PIC 16C73A as the controller. Singh (2006) designed and developed a microcontroller based temperature and humidity controller for an infant incubator. It monitors and controls the two parameters constantly which are very critical for the normal growth of the new born (premature) babies. Lewis (1995), in a research, developed a system that helps parents monitor the temperature of babies remotely. The system continuously monitors the temperature and sounds an alarm when the temperature exceeds a pre-set threshold. In similar work a temperature and pressure monitoring system was fitted to the tyre of offhighway trucks so that the behaviour of the tires can be studied. It’s made to act when variations exceed the normal operation parameters. In addition it provides statistical information of tyre usage, yield, and lifespan and wears (Olavaria, 2006). In a work by Raza (2010), a microcontroller based system for data acquisition and logging as needed was designed. The device could be used for monitoring and controlling environment temperature. He employed AT89C51 to send the result of 8 sensors. Qingsheng and Julio (2004) invented a device capable of core body temperature monitoring in heart failure. The heart monitoring system comprised of a temperature sensor for determining a core body temperature of a patient configured to receive data representative of the core body temperature and the bodily activity level. Tiplady (2010) invented a remote critical area monitoring system that allows connection to a web page to obtain video image of some parameters. Other inventions, worth mentioning, include that of Goswani et al. (2009), an embedded system capable of monitoring temperature and light and that of Deepika (2006) a data logging system based on 8051 family and the result stored in EEPROM. Generally, the above designs offer a better substitute to the manual monitoring and logging of temperature systems, they mostly require separate modules and lack certain features. Moreover, this type of device is lacking in hospitals of the developing countries. This is why this research was initiated with the aim of incorporating other useful features DESIGN The device was constructed as a stand-alone system with the various functional circuits assembled as separate detachable modules linked together by cable buses. Each module performs specific function as directed and instructed by an AVR microcontroller chip of the type ATmega16. The general block diagram of the system is as shown in fig. 1. 12
  • 3. International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013 PS/2 KEYBOARD INTERFACE EEPROM & RTC LCD ATMega2313 ATMega16 AVR MICROCONTROLL PC INTERFACE GSM MODEM VOICE CHIP POWER SUPPLY UNIT Fig. 1 Block Diagram of the System The power supply unit design The PSU for the system should be capable of providing the required supply voltage and current to all the various sub-units in the system. Except for the GSM modem included, which is responsible for sending short messages when required, all other sub-units require a dc supply of 5V with a current drain in the region of 2 Amperes (AVR ATmega16 Data book, 2001). The GSM modem requires a dc supply of 4.2V (GSM Modem data book, 2005). The PSU is based on a full wave bridge rectifier including suitable smoothing filters and an appropriately rated transformer. Three regulators were employed for each sub-unit to ensure that the required regulated voltage was obtained. The circuit diagram of the PSU is in Fig 2 employing a step down transformer, a bridge rectifier, a smoothing circuit and three separate regulators. Two separate sources of 5V regulated outputs were provided in order not to overload any of the regulators. One of the 5V supplies was reserved for the relay circuit as it draws large current. 13
  • 4. International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013 5V LM317 R1 C3 R2 50% GND 5V T1 D1 5V LM7805 C1 LM7805 C2 C4 GND Fig 2: PSU circuit diagram The Main Micro (At Mega 16) Circuit Design The heart of the system is the AVR microcontroller. The 40pin dip is used to control the activities of all other sections. ATmega16 AVR was selected due to its good features of being cheap and readily available in the market. The pin assignment of the microcontroller is as shown in fig 3 Fig.3 Pinouts of ATmega16 (ATmega16 data book, 2001) The microcontroller datasheet recommends two separate voltage lines for the IC, one for the Digital signal circuit and the other for analogue signal. The analogue voltage is for the ADC circuit and it is suggested that the value should not differ from the Vcc by ± O. 3V. In this circuit, the Vcc voltage of 5V was selected and separately connected to the analogue voltage terminals of the IC. In other to minimise the effect of the digital signal on the accurate conversion of the ADC circuit, an external capacitor of 100nF was connected between the analogue supply terminals of the chip. This ensures analogue noise cancelling in the circuit. The Digital voltage supply is between 4.5 and 6.5 volts. For this circuit a 5V regulated supply was used as the Vcc of the circuit. The positive terminal was fed to pin 10 and the ground terminal to pin 11. Pins 12 and 13 serves as the crystal input and output of an inverting amplifier and it was configured as an On-chip oscillator. The connection as recommended (ATmega16 data book, 2001) is that the values of the capacitors be in such a manner that C1 = C2. And that the value 14
  • 5. International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013 should be between 12 and 22 pF. For these reasons we used 2 numbers of 22pF capacitors and a crystal with a value of 32.768 kHz. Temperature Sensor And ADC Circuit The temperature sensing arrangement used in the system is as designed in (Ismaila and Momoh, 2011), resulting in the circuit shown in Fig. 4. The reference voltage for the ADC and LM35 were chosen to be 5V. 5V DC Vs LM35DZ Temperature Sensor Pin From ATMega16 OUT C1 1uF, 25V GND R1 75R GND Fig. 4 LM35 Temperature Sensing Circuit (Ismaila and Momoh, 2011) Keyboard Interface In operation the main micro at certain interruption copies data in the EEPROM and send it to the LCD, the PC or MODEM for transmission. To do this, the addresses in the EEPROM are used to hold patient’s data such as name, age, sex etc. These data can be changed when desired. To change these data a form of external human interface is required. The design used a standard PC AT keyboard as interface to transfer data to the main micro. The keyboard is powered from the +5V dc supply which is available through the keyboard interface. A PS/2 connector is used to connect the keyboard to the 20 pin microcontroller. The LEDs connected to the ports of 18 to 12 serves as the indicator of the status of the outputs of port D. Resistors R1 through R7 are current limiting resistors that sink current from the voltage supply and the can be obtained from the equation: R = (Vcc –VLED)/ I From the data sheet of the LED, the VLED is 2.2V and Vcc = 5V, while I = 30mA, so that R =110 . A value of 100 was chosen as the nearest value for all the current limiting resistors as same type of LEDs are used as indicators throughout the design. The final circuit connection of the Atiny2313 is as shown in fig 5 15
  • 6. International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013 Fig 5 ATiny 2313 complete circuit During operation, whenever there is a valid converted scan code signal from the keyboard IC the data is received serially by the micro. It uses the program stored in the program memory of the micro to convert it to ASCII value. The ASCII value is transmitted to the main micro by interrupting the main micro’s activity through an enabling signal from pin 11 of the ATiny2313. The main micro then reads the output data at the output of the ATiny2313. The data is first converted to parallel format using the internal UART located in the ATiny 2313 microcontroller. Port A of the AVR ATmega16 was selected and used to receive the converted ASCII code value from the ATiny2313 microcontroller. Pin 16 (INT0) serves as the external interrupt of the chip which can be triggered by either a falling edge or rising edge signal. PC Interface Circuit The logged data in the EEPROM can be assessed by a PC through a PC interfaced to the main micro. Because of voltage level differences of the devices, a MAX 232 was used to provide voltage matching of the different types of logic used in the microcontroller and those in the P C. The Max 232 RS232 is a 16 pin dip IC that is used to convert CMOS voltages to TTL voltages. As recommended in the datasheet of MAX232, () application note, the circuit shown in Fig 6 was adopted. 5V C5 GND 1 C3 16 2 C1 3 4 C4 6 C2 GND 5 TTL/CMOS Inputs TTL/CMOS Outputs 11 M AX232 14 10 7 12 13 9 8 RS-232 Outputs RS-232 Intputs 15 GND Fig 6 MAX 232 complete circuit 16
  • 7. International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013 The GSM and PC interface were made to share the same line. For this reason a manual switch was provided. Whenever the GSM is being used, the PC interface is disconnected and the bus is switched over to the GSM modern. Similarly when there is need to load the logged data to the PC, the GSM modern is disabled and the common bus is switched over to serve the PC request GSM Circuit Design Fig 8 showed the GSM modem circuit and as recommended in the data sheet of the device the supply voltage is 4.2V. A stabilised dc voltage source of 4.2V was used to supply the modem. It is also recommended that two pull-up resistors of values 4K7 be used to connect the two terminals of the EN and RX to the positive supply line. Capacitors C1 and C2 are decoupling capacitors with recommended values of 10uF each (GSM Modem data book, 2005). Capacitor C2 is to prevent the bounce of the switch from offsetting the working condition of the device. 4.2V C1 4k7 GND 4k7 Vcc EN GSM MODEM 10uF GSM Modem Enable TX TX GND RX RX From ATMega16 GND Fig 7 GSM modem circuit Microcontroller as Two-Wire Serial Interface Circuit (EEPROM and RTC) The microcontroller was used as the master in a two-wired interface (TWI) communication scheme with the EPROM and RTC as the slaves (Fig. 9). The TWI protocol allows the system designer to interconnect up to 128 different devices using only two bi-directional bus lines, one for clock (SCL) and one for data (SDA). The microcontroller was configured using software to initiate and terminate a transmission. It also generates the SCL for the operation of the system. The supply voltage is recommended to be between 0.7Vcc and Vcc + 0.5 (ATmega16) But Vcc = 5V, then Vmin = 0.7 x 5 = 3.5V Vmax = 5 + 0.5 = 5.5V It was decided that the supply voltage be 5V since this is already available from the main supply. For the input low voltage the data book recommends a voltage of between - 0.5V and 0.3Vcc This gives a range of – 0.5 to 0.3 x 5 or - 0.5 to 1.5V The ground of Vcc was used as the low voltage. 17
  • 8. International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013 VCC 4k7 4k7 SDA SCL uCon Master RTC Slave 1 EEPROM Slave 2 Fig 8 the two wire interface The datasheet recommends the frequency of operation to be between 0 to 400 KHz. The frequency selected was 200 KHz. For this frequency it is recommended that the value of pull-up resistor should be calculated using Rp(min) = (Vcc – 0.4V) / (sink current) where Rp(min) = minimum value of pull up resistor substituting Vcc = supply voltage = 5V, V = voltage supply of the TWI line = Vcc and sink current = 3mA (GSM Modem data book, 2005). Then Rp(min) = ( 5 – 0.4x5) /(3mA) (3mA) = is the sink current (GSM Modem data book, 2005). Rp(min) = 1KΩ and Rpmax is given as Rp(max) = 1000/Cb (GSM Modem data book, 2005). where Cb is capacitance of bus line assumed to be 200pF, so that Rp(max) = 5kΩ The pull up resistor is therefore to be between 1K and 5K. We therefore chose a standard value of 4.7K as the pull up resistors for each of the two lines. We also note that this result applies to the choice of other pull-up resistors in the entire design. Whenever there is a request for writing or reading to the EEPROM, either to write or read, the request is inputted through the keyboard interface circuit to the main micro. The main micro then places the address of the EEPROM followed by either an instruction to read or write from/to the EEPROM. The data retrieved may be sent to the LCD for display, sent to the GSM modem for onward transmission to a phone address in another location or sent to a PC interfaced through the main microcontroller. The external EEPROM was used to log the temperature data of the patient at 10 minutes intervals. A 24C08B EEPROM was selected because of its good features and availability. It has 2 wire serial interface bus, 12c compatibility (EEPROM data book, 1998). The microcontroller serves as the master while the AT2408 EEPROM and the RTC serves as slaves. The master was configured in such a way that the main micro generates the serial clock and controls accessibility to the bus. As recommended in the data sheet, pins 1 to 4 and 7 should be grounded. The chip requires a supply of between + 4.5V to 5.5V power supply. A d.c power of 5V was therefore selected to power the device. The EEPROM is organized into 8 pages or blocks of 256 bytes each. It is capable of retaining data for 200 years. It also has a page-write buffer for up to 16 bytes 18
  • 9. International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013 (EEPROM data book, 1978). Only a page of the 8 pages was used and is capable of logging data at 10 minutes interval for 24 hours. After 24 hours any further logging will over-write the previous log in a format of first in first out (erase). The other 7 pages were left unused due to the fact that additional programming memory in the main micro would be required to address and retrieve data from the extra pages. Unfortunately the program memory is very limited and filled up. Using the other pages would have allowed for logging of data for 8 days at 10 minutes interval. Adjustment of the temperature logging interval to say 30 minutes would lead to almost a month’s logging of data from the patient. An interface is however provided to enable the data available in the EEPROM to be accessed by a PC. Real Time Clock Circuit (RTC) A real time clock is use to keep track of the current time for some operations of the main micro. It is used to maintain accurate time even when there is no power supply to the system. The main micro has provision for timing but a separate RTC (Fig 9) is used because of its lower power consumption and it frees the main micro for time critical tasks and it is (RTC, data sheet, ) accurate. A lithium battery was used to provide a source of alternative power supply to the RTC. 5V DC 1 XTAL 1 32.768 kHz 4k7 7 2 3 CMOS BATTERY 8 DS1307 RTC CHIP 6 4k7 SCL SCL To ATMega16 3V 4 5 SDA SDA GND 5V DC 1 8 2 7 LED1 3 24C08 EEPROM 4 GND 6 5 GND GND Fig 9 The RTC and EEPROM complete circuit diagram L C D Circuit Design Based on the recommendations in the data book of the AVR microcontroller and that of the 16x2 LCD,(Ismaila and Momoh, 2011) came up with an LCD circuit shown in Fig. 10 which was found suitable for our purpose, was used. 19
  • 10. International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013 16 X 2 Character LCD 2 3 1 4 5 6 7 8 9 10 11 12 13 14 15 16 5V DC GND GND 10k 50% RS GND EN R2 100R 5V DC D4 D5 D6 D7 GND To ATMega16 Fig 10 The LCD circuit (Ismaila and Momoh, 2011) The eventual circuit diagram of the main microcontroller is as shown in fig 11below. It shows the connections of the various sections to the ATmega16 microcontroller . 5V DC R7 R6 R5 R4 R3 R2 R1 R1 --- R8 = 4k7 KBData0 1 2 39 KBData2 3 38 KBData3 4 37 KBData4 5 36 KBData5 6 35 KBData6 7 34 8 33 9 From LM35 40 KBData1 32 5V DC 10 R8 C1 KBInterrupt ATMega16 31 30 11 AVR MICROCONTROLLER 12 29 Temperature Sensor Pin 5V DC GND C3 100 nF D7 22pF XTAL1 C2 11.0592MHz 13 From PC Interface RX and GSM Modem TX ISD25120 Enable Bit D6 27 26 25 D5 D4 EN 24 RS 23 22 SDA Fom RTC and SCL EEPROM Circuit 20 GND 28 14 15 16 17 18 19 22pF 21 Fom LCD Circuit Fig 11 Complete circuit diagram of ATmega16 CONSTRUCTION AND TESTING After the design of the circuit each module was tested on bread board and then constructed on separate boards for detachability. The modules were connected together using bus cables and cased on a wooden case. The completed work was subjected to further tests to ascertain the design claim. Plate 1 showed the arrangement for the circuit tests. 20
  • 11. International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013 Plate 1 Arrangement for circuit test Power Supply Test The power supply was connected and the voltages at the output of the three regulators were measured using a digital meter. The results got were tabulated. Thermometer Accuracy Test To test for the accuracy of the systems temperature measurement a digital thermometer type (ST-9269 MULTI-STEM THERMOMETER) was obtained and used to conduct an experiment to compare the temperature of the project’s thermometer. A water jug was obtained and half- filled with water. A water heater was inserted into the water while the two thermometers were hung just above the covered water to measure the temperature of the steam just above the water. The temperature of the water was raised gradually by switching on the water heater. The temperature of the enclosure was measured using the two thermometers at intervals and the results tabulated.` ATiny2313 Conversion and Keyboard Test To test to see if the ATiny 2313 was converting the scan code to ASSCI form the keyboard was connected to the circuit through the PS/2. The keys configured were pressed individually and the corresponding response of the LEDs noted. A sample of the ATiny2313 conversion of keyboard output was then tabulated. The function keys were pressed one after the other and the response as displayed on the LCD monitored. The RTC accuracy Test The accuracy of the RTC time constructed was tested by comparing its time with that of a digital clock. The two times were set at 9.00AM the first day. There times after 48hours were noted and the results recorded. The GSM Massage Test The keyboard was used to set the pre-set temperature arbitrarily, to 430C. A hot soldering iron was carefully placed close to the LM35 sensor to raise its temperature above the pre-set 21
  • 12. International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013 temperature. A handset was used to monitor the text massage from the system. The procedure was repeated for several other pre-set temperatures. Temperature Logging and Computer Interface Test The next test conducted was to log a human temperature for a period of six hours. The LM35 sensor was attached to the armpit of a person and used to monitor the temperature for six hours. The temperature logged was interfaced to a computer as shown in the setup of plate 1 to copy the logged temperatures. RESULTS Power Supply Test Result The results of the output of the three regulators are as tabulated in Table 1 Table 1 Result of output voltages Output of 1st LM7805 Output of 2nd LM7805 Output of LM317 5V 5V 4.2V Thermometer Accuracy Test Result The results of the comparism between the temperature measured by the project thermometer and that of the digital thermometer are plotted in Fig 12 below. Fig 12 A graph of the measured temperatures against time. ATiny2313 Conversion and Keyboard Test Result A sample of the result of the test on the conversion of scan code to ASCII by ATiny2313 microcontroller is as tabulated in Table 2 22
  • 13. International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013 Table 2 Result of the ATiny2313 Conversion and keyboard test KEY ESC F1 F2 F3 F4 F5 F6 F7 F8 F9 F10 F11 F12 L7 0 0 0 0 0 0 0 0 0 0 0 0 0 L6 0 0 0 0 0 0 0 0 0 0 0 0 0 L5 1 0 0 0 0 0 0 0 0 0 0 0 0 L4 0 0 0 0 0 0 0 0 1 1 1 1 1 L3 0 0 0 0 1 1 1 1 0 0 0 0 1 L2 0 0 1 1 0 0 1 1 0 0 1 1 0 L1 0 1 0 1 0 1 0 1 0 1 0 1 0 Result of the RTC Test The result of Table 3 is the summary of the test on how accurate the RTC is able to keep time. Table 3 RTC accuracy test Date 10/4/2011 12/6/2011 RTC (T1) time 9.00 am 9.00 am Clock (T2) time 9.00 am 9.03am The Result of GSM Messaging It was noted that every time the temperature of the sensor, as displayed on the LCD, exceeds the pre-set temperature by 10C a text massage was received on the monitoring handset. The result of the text received from the GSM modem is tabulated in Table 4. Table 4 GSM message Preset temp (T1 in oC) sent temp (T2 in oC) 43 44 36 37 40 41 45 46 48 49 50 51 Temperature Logging and Computer Interface Test Result The temperature logged for 24 hours as logged by the EEPROM and copied to the computer is tabulated in Table 5. 23
  • 14. International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013 Table 5 Result of the temperature logged data for 24 hours. Time 12.00 12.10 12.20 12.30 12.40 12.50 13.00 13.10 13.20 13.30 13.40 13.50 14.00 14.10 14.20 14.30 14.40 14.50 Temp.(0C) 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 36 Time 15.00 15.10 15.20 15.30 15.40 15.50 16.00 16.10 16.20 16.30 16.40 16.50 17.00 17.10 17.20 17.30 17.40 17.50 Temp.(0C) 36 36 37 37 37 36 36 36 36 36 36 36 36 36 36 36 36 36 Time 18.00 18.10 18.20 18.30 18.40 18.50 19.00 19.10 19.20 19.30 19.40 19.50 20.00 20.10 20.20 20.30 20.40 20.50 Temp.(0C) 35 35 35 35 35 35 36 36 36 36 35 35 35 35 35 35 35 35 Time 21.00 21.10 21.20 21.30 21.40 21.50 22.00 22.10 22.20 22.30 22.40 22.50 23.00 23.10 23.20 23.30 23.40 23.50 Temp.(0C) 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 35 DISCUSSION The power supply test results are exactly as anticipated (Table 1). When switched on for about one hour the voltage regulators were noted to heat up slightly. For this reason a small fan was attached to the project to blow air over the components to prolong their lifespan. The results obtained as plotted in Fig. 12 show that there are small deviations between the two temperatures. The possible reason for slight deference in the measured temperatures is that the resolution of the ADC is 1. This means that temperatures are rounded up to the nearest whole number during ADC conversion process. The measured temperature is therefore likely to have error of 0 to ± 0.5 from the actual value. The results of ATiny2313 conversion test as shown in Table 2 show that the output LEDs condition is exactly the ASCII equivalent of the numbers pressed. This shows that the key values are being properly converted in the ATiny2313 microcontroller. The function keys pressed also gave the correct response on the LCD. This is an indication that the function keys are well configured. The result of the test on the accuracy of the RTC (Table 3) showed that for a period of two days (48 hours) there is an error of 3 minutes which is not too much considering the purpose for which it is designed. It could be seen from table 4 that whenever the pre-set temperature is exceeded by 10C a text massage was received on the monitoring handset. It is therefore recommended that the pre-set temperature should be 10C less than the threshold temperature. In other words if the critical 24
  • 15. International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013 patient temperature is 350C, then the pre-set temperature should be set at 340C. It is also recommended that the MODEM SIM card be charged with sufficient credit to send messages. The result of Table 5 is an indication that the device is able to log temperature and interface the logged data with a computer as claimed by the design. The analyses of the logged temperature is however not the scope of this paper. CONCLUSSION In this paper, a system has been successfully design that should prove very useful in the field of health care delivery in Nigeria. It is designed to help manage the temperature of a patient that is possibly critically ill in the hospital or to monitor the temperature of other hospital operations such as preservation of drugs, foods and there likes. The design work is found to meet specification as it is capable of logging temperature on a continuous base and send text massage whenever a pre-set temperature is exceeded. The major limitation is that the accuracy of the measured value may have error of ± 0.5oC which may be improved upon by exploring other sensors and improving the ADC resolution. The LM35 sensor is to be physically attached to the body of the patient to monitor his temperature which has been noted to be inconveniencing. For future development a remote sensor that could monitor the patient’s temperature with no physical contact should be considered. REFERENCES [1] ATiny2313 Data Book. (2003, September). AVR Microcontroller. Retrieved April 12, 2011, from [2] [3] [4] [5] [6] [7] [8] [9] [10] [11] [12] [13] [14] ATmel Corporation: http;/www.atmel.com ATmmega16 Data Book. (2001, November 4). Atmega16. Retrieved May 5, 2011, from ATmel corporation: http;//www.atmel.com Deepika. (2006). Designing a Microcontroller Based Temperature Data Logger. Patiala, India: Thapar Institute of Engineering and Technology, Deemed University. DS1307 RTC Data Book. (2001, February 4). Serial Real Time Clock. Retrieved May 4, 2010, from Dalas Semiconductor Corporation Web Site: http;//www.dalassemiconductor.com EEPROM. (1998). 24C08B/16B Serial EEPROMs. Retrieved may 10, 2010, from Microchip web site: http;/www.microchip.com Goswani et. al, A. (2009). Design of an Embedded System For Monitoring and Controlling Temperature and Light. International Journal of Electronic Engineering Research; Volume 1 Number 1 , 27-36. Ismaila S. and Momoh M. (2011). Microcontroller based termometer. Energy Soceity Of Nigeria Annual Conference. Sokoto Energy Research Center: Energy soceity of Nigeria. iWatch. (2009). Wireless temperature seneors and monitoring services to support JCAHO regulatory compliance. Retrieved april 12, 2011, from iwatch TM: http;/iwatch&flags.com Kapidere, M. Ahiska, R.and Guler, I. (2005). A New Microcontroller Based Human Brain Hypothermia . System. Journal of Medical Systems Vol29 No5, 27. Lewis, G. (1995). Patent No. 5386831. United States. Modem Data Book. (2005). ELG282 Serial Modem data Sheet. Retrieved May 4, 2010, from E-Lines Technology Co.Limited: Htt;//www.e-lins.com Olavaria, A. A. (2008). Pressure and Temperature Monitoring System For Off-highway Truck Tires. Valparaiso, Chile: Federico Santa Maria Technical University. Presidio . (2009). improve the health of your network, patients and its investmrnts. Retrieved june 15, 2011, from Presidio Network Solutions web site: http//www.presidio.com Qingsheng, Z. and Julio, S. (2004) Patent no 7037273 US 25
  • 16. International Journal of Information Sciences and Techniques (IJIST) Vol.3, No.1, January 2013 [15] Raza, A. (2010, Feb 23). Data aquisition and logging system. Retrieved July 4, 2011, from Circuit lake electronics project and circuit collection: www.circuitlake.com [16] Robert R, Dedrick, John, D. (1999). An Inexpensive, microprocessor-Based Data Logging System. Haley &Aldrich, New York [17] Singh, V. (2006). Design and Development of microcontroller Based Temperature and Humidity Controller for Infant Incubator. Patiala, India: Thapar Institute of Engineering Technology. [18] Smith, S. E. (2010, september 9). What is a Temperature Log? Retrieved june 4, 2011, from wiseGeeK: http//www.getwidget.com [19] Tiplady, K. (2010, February 2). Remote Critical Area Monitoring System . Retrieved October 4, 2011, from Circuit Lake: http;//www.circuitlake.com 26