Data_Logger_and_Remote_Monitoring_System_for_Multi
Data_Logger_and_Remote_Monitoring_System_for_Multi
ABSTRACT
The present article portrays a design and implementation of microcontroller
based embedded system for data logging and remote monitoring of environmental
parameters with simplicity to users. The main task of monitoring parameters viz.
temperature (T) and humidity (H) along with transmission of this information in the
form short message service (SMS) to user’s mobile phone is done by the system. Also
weather monitor system provides data-logging facility. The logged data can be then
transferred to a personal computer (PC) having a graphical user interface program for
further analysis or printing the measurements. The observed data is comparable with the
actually measured data using conventional mercury thermometer and masons
hygrometer for measurement of temperature and humidity, respectively.
KEYWORDS microcontroller, data logger, AVR, SMS
INTRODUCTION
Remotely monitoring of environmental parameters is important in various
applications and industrial processes. In earlier period weather monitoring systems are
generally based on mechanical, electromechanical instruments which suffer from the
drawbacks like poor rigidity, need of human intervention, associated parallax errors and
durability. With the inclusion of electronics the instruments were made compact and
cheaper. However, these systems lack flexibility of remote monitoring and data logging.
Kang and Park have developed monitoring systems, using sensors for indoor climate and
environment based on the parameters mentioned [1] in 2000. Combination of these
sensors with data acquisition system has proved to be a better approach for temperature
and relative humidity monitoring in 2005 [2]. Vlassov in 1993 introduces the usage of
surface acoustic waves devices as temperature sensor [3].These systems, however, are
quite complex in nature as some of them require the use of on-chip transmitter circuit
and involve fabrication process.
This demand the development of a microcontroller based embedded system for
weather monitoring. Such a system should monitor and provide data for remote
examine. A device for weather monitoring systems has been developed and
implemented as described in this paper is capable to data logging and remote examine.
The device is simple to use, requires no additional hardware and allows the flexible
selection of data-size and the time intervals between the readouts through a simple
keypad (two keys only). The collected data by weather monitoring system can easily be
exported to a PC via a serial port to make subsequent data analysis or graphic and digital
storage thus automatic data collection is possible without giving up PC resources.
http://e-jst.teiath.gr 55
e-Περιοδικό Επιστήμης & Τεχνολογίας 56
e-Journal of Science & Technology (e-JST)
support digital logic device , selection of Central Processecing Unit (CPU) and Display
unit.
(3), 6, 2011 56
e -Journal of Science & Technology (e-JST) 57
e-Περιοδικό Επιστήμης & Τεχνολογίας
Y mX c (1)
RelativeHumidity
slope offsetvoltage
OutputVoltage
30
slope 0
0.999
slope 30.3
The characteristic is a straight line and the slope is constant along the line.
http://e-jst.teiath.gr 57
e-Περιοδικό Επιστήμης & Τεχνολογίας 58
e-Journal of Science & Technology (e-JST)
(3), 6, 2011 58
e -Journal of Science & Technology (e-JST) 59
e-Περιοδικό Επιστήμης & Τεχνολογίας
5a 5b
Fig.5: Screen shot of GUI program run on PC and typical SMS view on user mobile
phone
http://e-jst.teiath.gr 59
e-Περιοδικό Επιστήμης & Τεχνολογίας 60
e-Journal of Science & Technology (e-JST)
The firmware for the CPU is written in embedded–C language. Fig.6. shows the
flow chart of the device software. The programmed behavior of the device is as follows:
When the device is powered-up, the initialization part of the device software
configures various on-chip peripherals such as timers, interrupts, ADC etc. and
initializes the externally interfaced LCD, RTC, and MMC. This initialization sequence
puts these resources into a known state. Once initialize, device display parameter and
setup user data using keys (sw1, sw2).At regular time interval specified by user setup,
device store parameter & send it through SMS to user mobile phone. Device checks
request to send stored record through serial port as shown in device software flow chart.
The accuracy of proposed device has been tested through extensive experiments.
Present device can measure temperature from 0oC to 100oC with 0.5oC resolution and
relative humidity from 30%RH to 90%RH with resolution of 1%RH. Although final
accuracy of weather remote monitoring system depends on sensor accuracy. The
observed data is comparable with the actually measured data using conventional
mercury thermometer and Masons Hygrometer. The results obtained are summarized in
Table-1, Table- 2.
(3), 6, 2011 60
e -Journal of Science & Technology (e-JST) 61
e-Περιοδικό Επιστήμης & Τεχνολογίας
Calibrated
Proposed Difference
Time Mercury
Sr.No. device (°C) (°C)
thermometer (°C)
1 06.00 AM 27.3 27.0 0.3
2 07.00 AM 27.6 27.0 0.6
3 08.00 AM 28.2 27.6 0.6
4 09.00 AM 28.7 28.0 0.7
5 10.00 AM 29.6 29.3 0.3
6 11.00 AM 30.8 30.0 0.8
7 12.00 PM 31.5 31.0 0.5
8 01.00 PM 32.8 32.2 0.6
9 02.00 PM 33.7 34.0 0.3
10 03.00 PM 34.0 34.0 00
11 04.00 PM 34.4 34.0 0.4
12 05.00 PM 33.9 34.0 0.1
13 06.00 PM 33.5 34.0 0.5
14 07.00 PM 32.1 32.0 0.1
15 08.00 PM 31.8 32.0 0.2
Table 1: Comparison of temperature measurements.
From Table-1, it can be observed that the temperature sensor shows a good level
of stability as well as accuracy. The average error of 0.60C is observed due to ±0.50C
error by the sensor and ±0.250C introduced by ADC. The humidity sensor of proposed
device also show very good accuracy as shown in Table-2.an error of 2% is observed
mainly due to the hysteresis effects of the sensor. This device is very useful in Green
house, as data logger and remote monitoring where temperature and humidity plays vital
role, hence it is necessary to monitor and control this parameter. The readout storage
capacity of device can be easily increased by adding external memory such as
Multimedia or Flash memory card.
1 06.00 AM 62 61 2
2 07.00 AM 65 63 2
3 08.00 AM 63 63 0
4 09.00 AM 60 60 0
5 10.00 AM 55 55 0
6 11.00 AM 48 48 0
7 12.00 PM 44 42 2
8 01.00 PM 41 41 0
9 02.00 PM 39 40 1
10 03.00 PM 40 40 0
11 04.00 PM 37 37 0
12 05.00 PM 47 46 1
13 06.00 PM 50 50 0
14 07.00 PM 55 55 0
15 08.00 PM 57 55 2
Table 2 : Comparison of Humidity measurements.
http://e-jst.teiath.gr 61
e-Περιοδικό Επιστήμης & Τεχνολογίας 62
e-Journal of Science & Technology (e-JST)
Calibrated Hygrometer (% Rh) Proposed device (% Rh) Mercury thermometer Proposed device (°C)
70 40
60 35
30
50
25
40
20
30
15
20 10
10 5
0 0
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
7a 7b
Fig.7: Graph of humidity and temperature compared with Hygrometer and mercury
thermometer respectively
CONCLUSION
From the graphs of Humidity and temperature it is clear that there is very close
agreement between the data collected by our system and that measured by already
available and calibrated systems, which validates the measurements made by our system.
The presented system can be useful for studding behavior of Industrial and Home
processes application having multiple parameters. Though the system employs SMS
technology which is a point-to-point communication technology with the limitations of
small bandwidth; it imposes no need of PC or web server for remote monitoring and
thus saves the cost. With slightly modifying the firmware current monitored parameters
can be sent to many users through SMS.
REFERENCES
[1] Kang. J. and Park S. “Integrated comfort sensing system on indoor climate” Sensors
and Actuators. 2000. 302-307.
[2] Moghavvemi M. and Tan. S. “A reliable and economically feasible remote sensing
system for temperature and relative humidity measurement”. Sensors and Actuators.
2005. 181-185.
[3] Vlassov Y.N. and Kozlov A.S. “Precision SAW pressure sensors” IEEE proceeding
of 47th frequency control symposium. 1993. 665-669.
[4] Jan Cimo and Bernard Siska, “Design and realization of monitoring system for
measuring air temperature and humidity, wind direction and speed”. Journal of
Environmental Engineering and Landscape Management. 2006. 14(3).127 -134.
[5] K.Gowardhan, “Control anything from a cell phone Tiny Planet” Smart Materials
Structures and Conference on Systems International.2005. Bangalore. India.
[6] Wayne Peacock. “Nokia F-Bus Protocol”.2004. online website-
www.Embedtronics.com
[7] SanDisk Corporation. SanDisk SD card product manual. Version-2.2.2004.
www.sandisk.com .
(3), 6, 2011 62