A Microcontroller-Based Room Temperature Monitoring System: Theophilus Wellem Bhudi Setiawan
A Microcontroller-Based Room Temperature Monitoring System: Theophilus Wellem Bhudi Setiawan
A Microcontroller-Based Room Temperature Monitoring System: Theophilus Wellem Bhudi Setiawan
7
International Journal of Computer Applications (0975 8887)
Volume 53 No.1, September 2012
8
International Journal of Computer Applications (0975 8887)
Volume 53 No.1, September 2012
9
International Journal of Computer Applications (0975 8887)
Volume 53 No.1, September 2012
administrator sent a text message whose content is Status. system has advantage by using GSM's short message service
(SMS) for its data communication. Using SMS, administrator
can check and monitor the room temperature from anywhere
by using only a mobile phone even without Internet
connection. Other approaches, for example RS-485 network,
Bluetooth and Zigbee, are limited by distance.
6. CONCLUSION
In this paper, we have designed and implemented a
microcontroller-based system for monitoring server room
temperature. We utilized Atmel AVR ATmega8535
microcontroller and LM35 temperature sensor. Based on the
testing results, the system works according to our predefined
specification. This system can be used to help the
administrator to monitor server room temperature and control
Fig 4: System testing with Status command electronic appliances in real-time using text message (SMS),
in case the administrator in not inside the server room. The
system also can raise an alarm and send a text message to
warn the administrator if the server room temperature is above
normal.
7. REFERENCES
[1] Atmel Corp. 2006. ATmega8535 Datasheet.
http://www.atmel.com/Images/2502S.pdf.
[2] National Semiconductor Corp. 2000. LM35 Precision
Centigrade Temperature Sensor Datasheet.
http://www.ti.com/lit/gpn/lm35.
[3] HongLi Zhu and LiYuan Bai. 2009. Temperature
monitoring system based on AT89C51 microcontroller.
Fig 5: Message when temperature > 28C In IEEE International Symposium on IT in Medicine
Education. ITIME (August 2009), volume 1, 316-320.
As shown in the figure, the system replied with the status of
PORTC(1-5) and the current server room temperature. The [4] T.O. Loup, M. Torres, F.M. Milian, and P.E. Ambrosio.
result of this testing is as expected. Fig 5 shows the message 2011. Bluetooth embedded system for room-safe
received by administrator when the server room temperature temperature monitoring. Latin America Transactions,
is above 28C. As shown, the system sent a warning message IEEE (Revista IEEE America Latina) (October 2011),
to the administrator with the current server room temperature. 9(6):911-915.
For all testing scenario, in general, the system can work well [5] Hu Bing and Fan Wenyao. 2010. Design of wireless
according to our specification and expectation. The testing temperature monitoring and control system based on
results are shown in Table 2. ZigBee technology in communication room. In 2010
Table 2. Testing Results International Conference on Internet Technology and
Applications (August 2010), 1-3.
Message
Reply (example) Result [6] Lin Ke, Huang Ting-lei, and Li Iifang. 2009. Design of
sent
Current room temperature temperature and humidity monitoring system based on
Temp Temperature 25.1C zigbee technology. In Control and Decision Conference.
is sent to administrator
PORTC 1 : 1 CCDC (June 2009). Chinese, 3628-3631.
PORTC 2 : 1 Status of PORTC and
PORTC 3 : 0 current room temperature [7] Li Pengfei, Li Jiakun, and Jing Junfeng. Wireless
Status temperature monitoring system based on the ZigBee
PORTC 4 : 0 is sent
PORTC 5 : 1 to administrator technology. 2010. In 2010 2nd International Conference
Temperature 25.1C on Computer Engineering and Technology (ICCET),
volume 1 (April 2010), V1-160-V1-163.
P1On OK P1on PORTC 1 is ON
[8] Maxim Integrated Product, Inc. 2010. +5V-Powered,
P1Off OK P1off PORTC 1 is OFF Multichannel RS-232 Drivers/Receivers.
P6Reset OK P6reset PORTC 6 is ON then OFF http://datasheets.maxim-ic.com/en/ds/MAX220-
MAX249.pdf.
P7Reset OK P7reset PORTC 7 is ON then OFF
[9] MCS Electronics. 2007. BASCOM-AVR Windows
PORTON OK Porton All PORTC is ON BASIC Compiler for the AVR Family.
http://www.mcselec.com.
PORTOFF OK Portoff All PORTC is OFF
[10] 3G Partnership Project. AT Command Set for User
In term of data communication part, compared to other Equipment (UE). http://www.3gpp.org/ftp/Specs/html-
approaches for room temperature monitoring system, our info/27007.htm.
10