a prototype of web based temperature monitoring system

6
See discussions, stats, and author profiles for this publication at: https://www.researchgate.net/publication/251937002 A prototype Of Web Based Temperature Monitoring system Article · June 2010 DOI: 10.1109/ICETC.2010.5530066 CITATIONS 11 READS 549 3 authors, including: Some of the authors of this publication are also working on these related projects: Computer Network, IoT Applications, Web Development View project Development of Emulation Network Analyzer Tool for Computer Network Planning View project Murizah Kassim Universiti Teknologi MARA 114 PUBLICATIONS 582 CITATIONS SEE PROFILE Mohd Nazri Bin Ismail National Defence University of Malaysia 113 PUBLICATIONS 381 CITATIONS SEE PROFILE All content following this page was uploaded by Mohd Nazri Bin Ismail on 01 June 2014. The user has requested enhancement of the downloaded file.

Upload: others

Post on 12-Feb-2022

2 views

Category:

Documents


0 download

TRANSCRIPT

See discussions, stats, and author profiles for this publication at: https://www.researchgate.net/publication/251937002

A prototype Of Web Based Temperature Monitoring system

Article · June 2010

DOI: 10.1109/ICETC.2010.5530066

CITATIONS

11READS

549

3 authors, including:

Some of the authors of this publication are also working on these related projects:

Computer Network, IoT Applications, Web Development View project

Development of Emulation Network Analyzer Tool for Computer Network Planning View project

Murizah Kassim

Universiti Teknologi MARA

114 PUBLICATIONS   582 CITATIONS   

SEE PROFILE

Mohd Nazri Bin Ismail

National Defence University of Malaysia

113 PUBLICATIONS   381 CITATIONS   

SEE PROFILE

All content following this page was uploaded by Mohd Nazri Bin Ismail on 01 June 2014.

The user has requested enhancement of the downloaded file.

201O 2nd International Conforence on Education Technology and Computer (ICETC)

A Prototype Of Web Based Temperature Monitoring System

Murizah Kassim Faculty of Electrical Engineering

Universiti Teknologi MARA 40450 Shah Alam, Selangor.

Cik Ku Haroswati Cik Ku Yahaya Faculty of Electrical Engineering

Universiti Teknologi MARA 40450 Shah Alam, Selangor.

Mohd Nazri Ismail Malaysian Institute of Information

Technology Universiti Kuala Lumpur

Malaysia [email protected]

Malaysia [email protected]

Malaysia [email protected]

Abstract- this research was developed to produce a prototype product of a Web Based Temperature Monitoring system that

allows the user to continuously monitor the temperature condition of a room. This prototype system is enhancement from the existing system that allowed the data to be monitored anytime and anywhere from the Internet and using new approach. This research development project was divided into two parts that involved with the hardware and software. The hardware part involved building the temperature sensor board and for the software part involved written programming and construct coding using C language program. The programs

then are uploaded into the microcontroller which then created Visual Basic 6.0 application to display the temperature and saves the data into a database. An active Server Page (ASP) scripting language is used as server side scripting to publish

the current temperature at the web browser. This prototype of a Web-Based Temperature Monitoring has met all the objectives derived and planned. The research project is considered successful and ready to be launched in the real

system implementations.

Keywords-component; Temperature Sensor, Web Based Monitoring, Prototype, Internet, Programming, coding.

I. INTRODUCTION

Monitoring is employed in various applications, including temperature, pressure, flow rate, capacity, acceleration, and so on. According to the quantities, distribution and detected frequency of the monitored objects, there are different monitoring methods to acquire the measurements [I]. Web-Based Temperature Monitoring is one type of temperature recorder that monitors a temperature in a room and stores the data into a database and display the current temperature on the website through a web server. The system will continuously monitor the temperature condition of the room and the data can be monitored at anytime and anywhere from the Internet. The temperature monitoring is widely used in various processes like in automotive industries, air conditioning, power plant and other industries that need the data to be saved and analyzed. Proposed design is to have the data acquisition system to measure and log some parameters. The main purpose of this system model is to make it easy for the user to view the current temperature.

II. TEMPERATURE SENSOR CHARACTERISTIC

Temperature is a physical property of a system that underlies the common notions of hot and cold, something that is hotter generally has the greater temperature. To measure temperature, a device like a sensor is used. A sensor is a device that measures a physical quantity and converts it into a signal which can be read by an observer or by an instrument. A sensor's sensitivity indicates how much the sensor's output changes when the measured quantity changes. For instance, if the mercury in a thermometer moves Icm when the temperature changes by 1 DC, the sensitivity is 1 cm/DC. Sensors that measure very small changes must have very high sensitivities. There are also innumerable applications for sensors of which most people are never aware. Applications include cars, machines, aerospace, medicine, manufacturing and robotics. For environmental temperature, the sensor that usually used to indicate the temperature is biological sensor. Big differences exist between different temperature sensor or temperature measurement device types. Using one perspective, it can be simply classified into two groups, contact and non-contact.

A. Contact Sensor Contact temperature sensors measures it own

temperature. Temperatures of surfaces are tricky to measure by contact because the surface is moving. It is wise to be very careful when using such sensors on new applications. Surface temperature measurement problem is solved in many cases through the use of non-contact sensors. It's mostly ideal for those types of applications and use for many industrial plants worldwide in great numbers.

B. Non-Contact Sensor The use of non-contact sensor measurement is rapidly

growing. This is more advantage such as certain measured are much more accurate. The measured unit can go further to sub micron or even nanometer resolutions. It also can measure against difficult surfaces or surfaces that cannot be touched during the measurement process for example silicon, glass, plastics, miniature electronic components, medical components and even food-based surfaces. This rapid growth has pushed the development of new technologies to meet the

978-1-4244-6370-11$26.00 It> 2010 IEEE V5-266

2010 2nd International Conforence on Education Technology and Computer (ICETC)

new measurement requirements and to improve measurement accuracies and resolutions.

III. RESEARCH IDENTIFICATION

Research identifications have illustrated three main focuses for this paper. Those descriptions are as described below.

A. Research Problem Several problems usually occur during the monitoring

process of the temperature in a room. Manually monitoring consumed more waiting time for human resource. In order to solve the problem, the web-based temperature monitoring system that can be access anywhere and anytime through the Internet is build. Temperature can be monitored remotely with this approach system. This also would save some cost the human and time.

B. Objectives There are several objectives that to be achieved during

the implementation of this research project as derived: i. To develop a system that will be used to monitor the temperature in a room. ii. To create and prove that a web-based temperature monitoring can be accessed anywhere and anytime, and integrated seamlessly with the current systems. iii. The system will continuously monitor the temperature condition of a selected room to record any changes with the room temperature. iv. To make it easy for users to access the information (save money and time). v. To potentially improved reliability when additional sensors are being placed.

C. Research Limitation Web-Based Temperatures Monitoring is intended to

show the temperatures that can be accessed from anywhere. Several limitations of this project has been identified which are the temperature monitoring is limited to monitoring the temperature for one room only, only one sensor can be attached to the circuit board and the system will not function if the power supply is cut off.

IV. PREVIOUS REVIEW

Temperature monitoring is employed in various applications, including temperature, pressure, flow rate, capacity, acceleration, and so on. According to the quantities, distribution and detected frequency of the monitored objects, there are different monitoring methods to acquire the measurements. Y ouling et al has introduced a remote wireless monitoring system applied in the building construction to get the concrete temperature [2]. The system can be real-time and multi-regional access to information without the limits of distance between the monitored object and the monitor [3]. This system consists of PC monitor and multi terminal and all the devices must be located within

GSM and SMS network. The system has two ways to access the information from remote terminals. First is using hand phone to check real-time monitoring information and second is to visit the PC monitor to access all monitoring information through the internet. Another research has elaborate that temperature monitoring will give a big impact on logistic management and production flow management. China is the leading country to implement the temperature monitoring for logistic such as production, storage, transportation, marketing and consumption. One example called a Cold Chain which is supply the chain system in temperature management. It ensures that the core requirements of maintaining low-temperature environment for the purpose of maintaining perishable goods quality, so it has higher requirements than the general logistics system at room temperature [4]. Temperature changes will be recorded in the RFID tags with temperature sensors for the quality and meticulous, real-time management of the fresh products. In order to develop the based proposed model, some comparison on previous project that similar with Web­Based Temperature Monitoring has been made. There are three different research projects selected to be analyzed in order to get an idea that has been included in this project [5], [6], [7].

V. SYSTEM ARCHITECTURE

This research is continued from our previous research after identifying the model of the system architecture. The Web-Based Temperature Monitoring system is design first before the real implementations of the prototype is done. The model of the Web-Based Temperature Monitoring is a temperature recorder that monitors a temperature in a room and stores the data into a database. The system will continuously monitor the temperature condition of the room and the data can be monitored at anytime and anywhere from the Internet. A proposed architecture model of the Web based Temperature Monitoring system is shown in Figure 1. The temperature sensor using LM35 DZ senses the temperature in the room and passes the data to the microcontroller. The microcontroller will read the analog value from the sensor and convert it to the digital value and understood by the computer. Visual Basic 6.0 is the software that is used to build an application to capture and display the temperature and also store it into the MS Access database. Abyss Web Server is used as the medium to generate the web page to the web browser using ASP scripting language.

V5-267

20i 0 2nd international Conference on Education Technology and Computer (ICETC)

t

Temperature Circuit

'. TcmpLTaturc Sensor IM35 f)Z

Figure I: Proposed WEB Based Temperature Monitoring Model

VI. DEVELOPMENT METHODOLOGY

A few models on the research methodology have been compared in conducting this research method. Chaos model has been chosen as one of the research methodology for software development. The system device was identified and studied in the pre-development phase. The Technical development phase is divided into several stages, beginning with hardware development, then with software development and fmally is the process of producing output from the system which combines both hardware and software development. Figure 2 show the flow model of the prototype development. These phases are important in order to make sure all development process was done in a proper marmer.

Prototype Development

Software Development

Figure 2: Flow Model of Prototype Development

A. Hardware Development This process is related on how to develop the physical

device of temperature sensor and also how it can communicate with the system efficiently. In this stage the hardware for temperature sensor is produced. The temperature sensor board is developed with the function to detect or sense a current temperature using the LM35 sensor and at the same time it sends the information to the computer that is physically connected to it through a serial port. The temperature sensor board is built by using a temperature sensor tool kit. The hardware development involved the hardware and temperature hardware design. In temperature hardware design, LM35 sensor will detect and sense the temperature and it connects to the computer serial port and sends information to the computer monitoring software. This temperature hardware design is already provided by the temperature sensor kit and it only needs to be defmed before the start of the hardware development. While in the Temperature Hardware Design, the design layouts need to be determined before allocating the components. After the components and hardware design are determined, all the components are allocated on the board and need to be soldered that conclude product of the temperature sensor board.

B. Software Development Software development need to capture and saved all data

from the Temperature Sensor into the database and display it to the webpage. In order to monitor the temperature, the specific programming needs to be used to interface the temperature sensor hardware with the web based system. This software design can be divided into three stages, which are Microcontroller Programming, Web-Based Temperature Monitoring System application and Web page development. Each of the stages involved in different language of coding on the software design as derived.

• Microcontroller Programming Bascom is used for programming at microcontroller

software. It writes Basic scripting language to the microcontroller. Then the basic program translates the computer readable format to machine code which format the A VR that controller can execute. Existing program at microcontroller has been adapted from the Internet with some modification has been made to suite with the project requirement as in figure 5. • Web-Based Temperature Monitoring System

The function of Web-Based Temperature Monitoring System is to capture the data obtained by the temperature sensor. The system communicates with the sensor board through the COM Port. Web-Based Temperature Monitoring System will display the current temperature and previous temperature that are stored in the database along with the timestamp. The user will monitor the recorded temperatures. Web-Based Temperature Monitoring System is the medium that records the incoming temperature into

V5-268

20i 0 2nd international Conforence on Education Technology and Computer (ICETC)

the database. The database status is updated every five seconds and will continue to send an update until the system is shut down or the user shuts off the power supply to the sensor board. Visual Basic 6.0 programming platform is used to develop this system.

!Eie::t. ��. 1* � 'fitI:I:-!:jeb

,�� .'H. ,. ;\\1'1110. ".1'1 . • ?m .

• Title • �ersiOll • LuI U¢aled 'Tll'9!!\ 'btbor oP:ogrucode 'iU'dftI'lISj : DesenpllOll

. "'"

ICDTlIe::.-lerllJSbas 10 110120o, 'TBegd ,,".'ITpt'O)ectsaet """' ... illS �tI\I.lo;,d\lefrc.lJ1Steaper.lureseflsor siIotlbeHlSllilOl dlSpl.,'\th�.pb

s::";;;;':':;;;i'�;:"""""""""""""""""'� .. :.;;: .;;;.�! IC(lllltgf

Scr,stal 0 10000000 I

ra,

110 l-eetedc:(I) Volt-" 5 'olt.d·Volt Iod 10 Volt· Volt 10 Locate I I LcdVolt • • Volt.d

Cob' Volt 12

locate 2 I

Figure 5: Modifications of Bascom Software

• Web page

."lI.

Active Server Pages or ASP is a technology that enables users to make dynamic and interactive web pages. ASP uses server-side scripting to dynamically produce web pages that are not affected by browsers while surfmg. In this project, ASP was used because the default scripting language for querying data from the MS Access database is ASP. Inside ASP file, VB Script or Java Script can be used to query a data from the database. Any web pages containing ASP cannot be run by simply opening the page in a web browser. The page must be requested through a web server that supports ASP, this is why ASP stands for Active Server Pages, no server, means no active pages. Abyss Web Server 2.6 is used in this project as the Web server. • Integrate Hardware and Software

The integration of hardware and software was implemented with the system and tested to fmd any weaknesses occur. Figure 6 shows the process of the system with the integrations of hardware and software. First is to check the hardware connection and make sure it is properly set-up. Then the hardware is tested, if it is work then the next step is to proceed with the running of the Web based Temperature Monitoring System. If the hardware setup occurs any problems then it is checked for possible wrong configurations. All data are saved into the MS Access 2003 database at Web based Temperature Monitoring System. The user must ensure that the temperatures are saved in the database before proceeds to the next step. If everything runs smoothly, run the Abyss Web Server, and access the current temperature using the web page. The system is considered successful if there is no error detected during the testing. The hardware device was not built with expensive materials,

thus, it can only be used in a limited geographical area. It can only be used for indoor temperature monitoring and limited only for one room because there is only one sensor attached to the sensor board. Other limitation is if the electricity is cut off it will shut down the entire operating system.

Start

No

End

Figure 6: Data Flow of prototype development.

VII. TESTING RESULT

Testing phase is used to evaluate the system's function whether it meets the intended functionality. Two method of testing was carried out to make sure the hardware and software is functioning according to the objectives. Unit testing is tested during construction to ensure each unit of program is running. Functional testing (also known as black-box testing) is the process of verifying that a system or system component adheres to the specification that defmes its requirements. A. Unit Testing

Unit testing is divides into two phases. The first phase is the Hardware Testing on Temperature Sensor. In order for the temperature sensor board to function, it needs to be set­up. The hardware setup must be done properly. It also must follow the entire step that require for hardware connection. The proper hardware connection must be tested using HyperTerminal or by using Simple Terminal software. Simple Terminal is software to log raw serial port data to a file or view a data communication on screen. The second phase is the Software Testing on Web Based Temperature Monitoring System. In this phase, the sensor is connected to the computer and runs the VB application program called WebTemp, to display the temperature received from temperature sensor. The WebTemp application is the program which is designed to display the actual temperature transmits from the sensor board. The user will need the

V5-269

20i 0 2nd international Conference on Education Technology and Computer (ICETC)

WebTemp to display the temperature to the computer. Without the WebTemp application, the user cannot display the current temperature, as well as recording the temperature into the database. WebTemp also functions to store the current temperature into the MS Access database. This is the most critical part of the system. B. Functional Testing

Functional testing can be performed at the system level or the unit level. Functional testing is performed by created a set of input or outcome relationships that verify whether each specification requirement is implemented correctly. At least one test case should be created for each entry in the specification document; preferably, these test cases should test the various boundary conditions for each entry. After the test suite is ready, execute the test cases and verify whether the correct outcomes are produced. Figure 8 show the result on testing the temperature sensor on the system and on the web based system.

Figure8: Web-Based Temperature Monitoring System

The test cases are carried out individually and the following are the results obtained from the testing phases. In this testing, the most important function is selected and makes sure the product run according to the expected output. Table 1 derived the functional testing and its results.

Table 1: Functional Testing

Hardware/Software Expected Test Testing Output Output

Temperature Sensor The temperature passed The temperature sensor will sense is sensed and the temperatures. output is

produced Web-Based Temperature passed The temperature

Temperature will be display is stored Monitoring displayed and in

System data MS Access. stored in MS Access Database.

Web-Page Data is passed Connect to web

connected to and display the web and the current current temperature for temperature is the displayed. room

CONCLUSION

This project is very extensive and successful. The Web­Based Temperature Monitoring is a user friendly system because this system can assist to identify temperature at specific areas such as server room, office, home and etc. The temperature also can be obtained through the web which eliminates human capital. The objectives in this project have been successfully achieved. The traditional way to sense the temperatures was converted into an interactive and more technological way. This project is considered successful because new skills and lots of knowledge have been gained throughout the development process of this system. During this project development process, time management skills were also learnt. Overall, this system is ready to be used and a lot of benefits can be obtained through the system. This system is very flexible which allows the user to monitor the temperature level remotely and it will increase the accuracy of the monitoring system in many industry.

REFERENCES

[I) S.L.Youling, X. Weisheng, "Design of Remote Real-Time Temperature Monitoring System", College of Electronics and Information Engineering, Tongji University, Shanghai 201804 China), ICEMI Proceeding 2007.

[2) A. Sashima, T. Ikeda, Y. Inoue, and K. Kurumatani, "SENSORD/Stat: Combining Sensor Middleware with a Statistical Computing Environment". National Institute of Advanced Industrial Science and Technology / CREST, Japan Science and Technology Agency Japan 2008.

[3) S.L.Y. Youling, X. Weisheng, "Design of Remote Real-Time Temperature Monitoring System". The Eighth International Conference on Electronic Measurement and Instruments ICEMI Proceeding 2007.

[4) B.Yan and D. Lee, "Application of RFID in Cold Chain Temperature Monitoring System". ISECS International Colloquium on Computing, Communication, Control, and Management, 2009.

[5) C.G. Haba, L. Breniuc, and V. David, "E-Learning System for Temperature and Humidity Sensors and Distributed Measurement". Faculty of Electrical Engineering, 2008.

[6) [6) L.Breniuc, C.G.Haba, "Web-Based Monitoring and Control of a Temperature Measurement System". Proceedings of the 2nd on-line Workshop on Tools for Education in Measurement, Tampere , Finland, 1-15 June 2002, pp. 11- 15.

[7) Awwad Y and Chia Feng Lin, Hsien Tang Lin, Shyan Ming Yuan, "The construction of information gathering with SMS messages", WSEAS Transactions on Communications, Vo1.5, pp 1208-1213, Jun.2006.

[8) S. Hongyao, F. Jianzhong, C. Zichen, "Embedded system of temperature testing based on DSI8B20", International Technology and Innovation Conference 2006, pp 4, Nov.2006.

[9) J. Mershon, "Infrared Thermometry Introduction, History and Applications". White paper of ADVANCED ENERGY.co. 2006.

[10) T. Ikeda, Y. Inoue, A. Sashima, and K. Kurumatani, "Handling spatiotemporal sensor data in global geographical context with SENSORD" pp. 33-44, in UCS, 2007

V5-270

View publication statsView publication stats