You are on page 1of 6

Measurements of surface air temperatures in Lombok with low cost miniature data

loggers
I. W. Sudiartawayan.sudiarta@unram.ac.idM. S. YadnyaL. Mardiana and I. N. Kuripan

Citation: AIP Conference Proceedings 1617, 43 (2014); doi: 10.1063/1.4897100


View online: http://dx.doi.org/10.1063/1.4897100
View Table of Contents: http://aip.scitation.org/toc/apc/1617/1
Published by the American Institute of Physics
Measurements of Surface Air Temperatures in Lombok
with Low Cost Miniature Data Loggers
I. W. Sudiarta1*, M. S. Yadnya2, L. Mardiana1, and I. N. Kuripan1
1
Physics Study Program, Faculty of Mathematics and Sciences, the University of Mataram, NTB 83125
2
Department of Electrical Engineering, Faculty of Engineering, the University of Mataram, NTB 83125
* Email: wayan.sudiarta@unram.ac.id

Abstract. The global warming and climate change are two of our major problems in this decade. Local impacts of
global warming need to be investigated since it depends on local conditions. Understanding variability of local weather
especially surface air temperature requires many observations, not only periodic but also covers large area. In this paper,
we report our progress in developing low cost miniature data loggers for temperature measurements. The data loggers
are based on microcontrollers ATMega8L and 10 k thermistors. Calibration results in laboratory and in field have
indicated that the temperature obtained by data loggers shows good agreement with thermometer readings. It is found
that errors of temperature measurements are less than 0.3 oC. We have performed preliminary temperature measurements
in Lombok Island using twenty data loggers for about one week duration. Temperature variation in Lombok shows
localized temperature distribution that is affected by position and topography.
Keywords: Surface air temperature, Data loggers, Temperature variability
PACS: 92.60.hv, 07.20.D

INTRODUCTION Continuous data for a fairly long period of time is


not easy to obtain and it requires development of
The negative impacts caused by weather and techniques and technologies for weather observations .
climate change have been felt in recent years such as The rapid developments in the field of electronics have
floods, landslides and droughts. Mitigation and brought advances in the field of sensors,
adaptation of the impacts require researches in the microcontrollers and data storages. At present there
fields of measurement and data collection of weather are weather sensors, both analog and digital, at an
elements, physical modeling and prediction of weather affordable price. In addition, improvement of the
conditions as well as validation with observations [1]. ability of microcontrollers and large capacities of
Rainfall rate as one of weather elements is observed to flash memory IC components give the possibility of
depend on location and environmental conditions merging the three basic components into a portable
[2,3]. Sudiarta et al. [4] showed that precipitation is efficient data logger.
influenced significantly by local temperature in an Previous studies by Whiteman et al [6] and
area. As an example on the Lombok Island with non- Hubbart et al. [7] have found that temperature data
uniform topographical regions, surface air loggers are suitable for environmental applications.
temperatures, relative humidity and rainfall rates [5] Data loggers were successfully used also in previous
vary significantly over the island . In order to study studies, for examples, by Hoelzle et al.[8] and Isaksen
weather conditions and to improve weather prediction et al. [9] for mapping and monitoring of Permafrost in
models, it is desirable to have complete, continuous high mountain areas, Apaloo et al [10] for studying
and comprehensive weather observation data. temperatures variability with snow cover and
Currently, observations of weather conditions on topography and Pike et al [11] for studying local-scale
the Lombok Island are conducted by the Meteorology , climate in Finnish Lapland.
Climatology and Geophysics Agency, known as In an effort to help the BMKG and the community
BMKG, located in Kediri and in Central Lombok. Due on the island of Lombok in improving the availability
to the topography of Lombok Island, additional of weather data, in this research, a miniature low cost
weather observations in the northern part of the island data logger for temperature measurements is designed
or around Mount Rinjani are needed to complete the using a microcontroller ATMega8L and a 10 k
weather data. In remote areas that do not have thermistor.
adequate electrical facilities, weather observations This paper is organized as follows, in the next
require a data storage system or a data logger that is section we explain the design of data logger. In
efficient, portable and accurate. Section 3 we give calibration and measurement results.
3rd International Conference on Theoretical and Applied Physics 2013 (ICTAP 2013)
AIP Conf. Proc. 1617, 43-47 (2014); doi: 10.1063/1.4897100
2014 AIP Publishing LLC 978-0-7354-1254-5/$30.00

43
The last section we give some conclusions and future RESULTS AND DISCUSSIONS
studies.
In this study, we have built twenty low cost data
LOW COST DATA LOGGER loggers. It is found that the total cost of each data
logger is about $5 or Rp 50,000. The twenty data
The data logger designed in this study is comprised loggers are used to perform preliminary surface air
of three main components: a microcontroller temperature measurements over the Lombok Island
ATMega8L, a 10k thermistors and a battery. The and to test stability and efficiency of the design of data
ATMega8L is used because of its facilities and logger
capabilities, low cost and small size. It has enough
analog and digital inputs and outputs. It also provides Calibration of Thermistors
flash programming memory, RAM and EEPROM
memory, analog to digital conversion, serial The result of voltage measurements of the
communication, low voltage and power management thermistor circuit by the microcontroller ADC is
capabilities [12]. To keep the cost of data logger converted to the resistivity of the thermistor. Using the
minimum, we only use 512 bytes EEPROM memory conversion data provided by a manufacturer of the
in the ATMega8L for storing observation data. The thermistors [14], the temperature value can be
EEPROM memory is able to store 512 temperature obtained. Due to small variation in the values of the 10
data. This seems too limited data storage. However, k resistor and 10 kohm thermistor, the conversion data
this is enough for twenty days of hourly temperature needs to be rescaled to match the measured
measurements. temperatures. We have performed two calibration
The complete circuit diagram of the data logger is measurements with a standard thermometer for a short
shown in Figure 1. The software CodeVision AVR and a long period of time.
[13] and an ISP programmer are used to program the The results of surface air temperature measurements
ATMega8L and to download data stored in the are shown in Figure 2 and Figure 3 It is found that the
microcontroller using serial data communication. To temperatures measured using thermistors can be
save the battery power, it is essential to used power corrected by multiplying with a scale factor (see
management facilities of the microcontroller. Beside Figure 2) with errors less than 0.3 oC..
that the timer of microcontroller needs also to be Using the scale obtained using the temperature data
programmed and checked for its accuracy. Some in Figure 2, we have tested the calibration factor by
adjustment of timer may be required to get a correct performing longer measurements as shown in Figure
interval of time. 3. It is indicated by the good agreement between
temperature values of data logger and thermometer
that the scale factor obtained for the short period of
measurement is also correct for longer period.
Every thermistor requires calibration and have a
different scale factor. We have calibrated all our
twenty data loggers with the standard thermometer. An
example of measurement results using two not
calibrated data loggers and one calibrated data logger
is shown in Figure 4. This shows that three data
loggers give correct fluctuation in temperature but
with different scale factors.

FIGURE 1. A circuit diagram of data logger using an


ATMega8L and a thermistor.

The 10 k thermistor connected with 10 k


resistor and a 100nF capacitor is used to obtain
temperature by measuring the voltage across
thermistors. The capacitor is included to reduce
voltage fluctuations. Due to small variations in the
resistivity of the thermistor and the resistor, every
thermistor used for temperature measurement needs to
be calibrated with a standard thermometer.

44
Preliminary Field Study
We have performed preliminary temperature study
by placing the twenty data loggers at various locations
in the Lombok Island. It is found that only twelve of
data loggers gave good measurement data. Eight data
loggers gave shorter data or incorrect temperature
values. Loose connections of sensor cables and
defective battery holders are the main cause of
problems. The locations of twelve good data loggers is
shown in Figure 5.

FIGURE 2. Surface air temperatures were measured by a


data logger with a thermistor and a standard thermometer.
The lines are added to guide the eye.

FIGURE 5. Locations of twelve good data loggers (star


symbols) and contour of topographic elevation above sea
level on the Lombok Island. The names of locations are A.
Bayan, B. Gondang, C.Sembalun Lawang, D. Sindu, E.
Narmada, F. Buyak, G. Jagerage, H. Semoyang, I. Teros, J.
FIGURE 3. Surface air temperatures were measured by a Leneng, K.Darmaji dan L. Lembar.
calibrated data logger with a thermistor and a standard
thermometer. The lines are added to guide the eye.
To simplify the discussion, we divide the results of
temperature measurements into two regions, the
northern part and the southern of Lombok Island.
Three data loggers (A,B,C) in Bayan, Gondang and
Sembalun Lawang respectively are located in the
northern part of the island. The results for these
locations are shown in Figure 6. It is noted that the
average temperature in Sembalun Lawang (C) is
18.7oC which is much lower than average temperatures
of 27.5 oC in Bayan and 27.0 oC in Gondang. This is
expected since Sembalun Lawang is located about
1000 m above sea level. It is also noted the
temperature variations for Bayan and Gondang are
similar since they have about the same elevations and
close to the sea.

FIGURE 4. Surface air temperatures were measured by two


not calibrated data loggers (DL1 & DL2) and a calibrated
data logger (DL). The lines are added to guide the eye.

45
overlap data between all data loggers. We can
overcome this problem by inserting delay time at the
start time of measurement. To increase data storage,
we currently have make some improvement in the
design of data loggers by adding a micro SD memory
card for storing larger data. An RTC module has also
been added for clock information. Other sensors such
as pressure and relative humidity sensors will be added
in the near future.

CONCLUSIONS AND FUTURE


FIGURE 6. Surface air temperatures for three locations in STUDIES
the northern part of Lombok starting on August 25, 2013.
A design of data logger using a microcontroller
Nine data loggers (DL) are located in the southern ATMega8L and a thermistor for temperature
part of Lombok Island. The results for these locations measurement has correctly measured surface air
are shown in Figure 7 for seven locations. Data for two temperatures with an accuracy of 0.3oC. The
locations (Teros and Semoyang) have shorter overlap thermistor used as the temperature sensor need to be
data than others and also show similar variations. The calibrated by a scale factor due to small variations in
temperatures in all locations show similar patterns. resistivity of the thermistor and the resistor used.
The average temperatures for these regions are 27.7 oC Data loggers with RTC and SD card modules as
(location D), 25.2 oC (E), 25.0 oC (F), 25.0 oC(G), well as other additional sensors will be used in our
26.2 oC(J), 26.6 oC(K) dan 27.6 oC(L). These data future studies in mapping weather patterns in Lombok.
indicate that the temperature values are affected by Analysis of weather data will also be conducted to
local conditions. It is also noted that there are understand weather variability and to develop weather
significant increases in the lowest temperatures at models.
night and decreases of the highest temperature during
the day observed for two days (at hour 96 to hour ACKNOWLEDGEMENTS
144). This pattern may be caused by the presence of
large scale clouds that give warming effect at night
This research is funded by DIPA Universitas
and cooling effect during the day.
Mataram No. 023.04.2.4.415278/2013 under Hibah
Bersaing scheme. We thank physics students at
Physics Study Program for helping collecting
temperature data with data loggers.

REFERENCES
1. J. Houghton, Global Warming the Complete Briefing,
3rd Ed, Cambridge, Cambridge University Press,. 2004,
2. C. D. Ahrens, Essentials of Meteorology: an Invitation to
the Atmosphere, 2nd Ed., New York, West Publishing,
1994.
3. B. Tjasjono, Klimatologi Umum, Bandung, Penerbit ITB,
1999.
4. I.W. Sudiarta, S. Alaa and F. Yanti, Prosiding
FIGURE 7. Surface air temperature for six locations in the International Seminar on Economics, Cultures and
Southern part of Lombok starting on August 25, 2013. Environments, ISECE, 2010
5. BMKG NTB, Analisis Curah Hujan Bulan Maret 2011
dan Prakiraan Curah Hujan Bulan Mei, Juni dan Juli
The data loggers used in this study do not have a
2011 di Nusa Tenggara Barat, Edisi 4, BMKG Kediri-
dedicated real time clock (RTC) and a large data NTB, 2011
memory, so that during the preliminary field studies, 6. C. D. Whiteman, J. M. Hubbe, and W. J. Shaw, J. Atmos.
we needed to place the data loggers at approximately Oceanic Tech., 78, 77-81 (2000)
the same time or during few days time window. This is 7. J. Hubbart, T. Link, C. Campbell and D. Cobos, Hydrol.
done to increase synchronization or the length of Process. 19, 15171523 (2005)

46
8. M. Hoelzle, M. Wegmann and B. Krummenacher,
Permafrost Periglac. Process. 10, 113-124 (1999)
9. K. Isaksen, R. S. Odegard, B. Etzelmuller, C. Hilbich, C.
Hauck, H. Farbrot, T. Eiken, H.O. Hygen, T.F. Hipp,
Permafrost and Periglac. Process. 22(4), 361-377 (2011)
10. J. Apaloo, A. Brenning and X. Bodin, Permafrost and
Periglac. Process. (2012) doi: 10.1002/ppp.1753
11. G. Pike, N.C. Pepin and M. Schaefer, Int. J. Climatol,.
doi:10.1002/joc.3573, (2012),
12. Atmel Corporation, 8-bit AVR Microcontroller with 8
kbytes In-System Programmable Flash, Atmega 8,
Atmega 8L, Atmel Corporation , 2011.
13. HP Info Tech, Codevision AVR 3.05 User Manual, HP
Info Tech, 2013.
14. Epcos, NTC Thermistors for Temperature Measurement,
Epcos AG, 2006

47

You might also like