Research and Development of Environmental Monitoring Alarm and Automatic Flag Control System for Barracks


  • Ming-Sen Hu Department of Aviation & Communication Electronics, Air Force Institute of Technology, Kaohsiung, Taiwan
  • Wei-Kuo Soong Department of Military Meteorology, Air Force Institute of Technology, Kaohsiung, Taiwan
  • Pei-Hua Tan Department of History and Geography, National Chiayi University, Chiayi, Taiwan



danger coefficient, air quality index, automatic measurement, real-time control


This paper proposes a real-time flag alarm system that can monitor air quality and automatically plant colored flags to inform the people in the barracks. This system automatically measures the local PM 2.5 concentrations with PM sensors; and automatically measures the temperature and humidity with temperature and humidity sensors, then converts the measured values into the grades of danger coefficients and the grades of AQI to plant or replace flags by automatic control. The danger coefficient grades are represented by four colored flags, namely, green, blue, yellow, and red; meanwhile, the AQI grades are represented by six colored flags, namely, green, yellow, orange, red, purple, and maroon. Moreover, this system displays all measured data and related information with electronic billboards to provide a reference for people participating in outdoor activities.


“Taiwan Air Quality Monitoring Network,”, November 24, 2022.

M. Zhan, Z. Li, X. Li, B. Tao, Q. Zhang, and J. Wang, “Effect of Short-Term Ambient PM2.5 Exposure on Fasting Blood Glucose Levels: A Longitudinal Study Among 47,471 People in Eastern China,” Environmental Pollution, vol. 290, article no. 117983, December 2021.

J. H. Kim, S. J. Kim, D. Youn, M. K. Kim, J. H. Kim, J. Kim, et al., “Impact of North Atlantic-East Asian Teleconnections on Extremely High January PM10 Cases in Korea,” Environmental Pollution, vol. 290, article no. 118051, December 2021.

Ministry of National Defense Planning Commission, “Implementation Guidelines for Education Training Service of the Republic of China Armed Forces for Combat,” Ministry of Defense of R.O.C., January 20, 2015, (In Chinese)

The National Ambient Air Quality Standards for Particle Pollution, “Revised Air Quality Standards for Particle Pollution and Updates to the Air Quality Index (AQI),”, March 12, 2023.

AirNow, “Air Quality Index (AQI) Basics,”, December 20, 2022.

National Service Center for Environmental Publications, “School Flag Program: Fact Sheet,”, December 20, 2022.

P. J. Duan, “The School Air Quality Flag Project Introduction and Operation Instructions,” Dingze Technology Co., Ltd., 2016. (In Chinese)

K. W. Ng, F. McHale, K. Cotter, D. O’Shea, and C. Woods, “Feasibility Study of the Secondary Level Active School Flag Programme: Study Protocol,” Journal of Functional Morphology and Kinesiology, vol. 4, no. 1, article no. 16, March 2019.

T. Sayahi, A. Butterfield, and K. E. Kelly, “Long-Term Field Evaluation of the Plantower PMS Low-Cost Particulate Matter Sensors,” Environmental Pollution, vol. 245, pp. 932-940, February 2019.

W. C. Hinds and Y. Zhu, “Aerosol Technology: Properties, Behavior, and Measurement of Airborne Particles,” 3rd ed., New York: John Wiley & Sons, Inc., 2022.

D. Costa, J. Malet, and E. Gehin, “Dry Aerosol Particle Deposition on Indoor Surfaces: Review of Direct Measurement Techniques,” Aerosol Science and Technology, vol. 56, no. 3, pp. 261-280, 2022.

N. Zimmerman, “Tutorial: Guidelines for Implementing Low-Cost Sensor Networks for Aerosol Monitoring,” Journal of Aerosol Science, vol. 159, article no. 105872, January 2022.

“Air Quality Detector for APM-100 Wall-Mounted Fine Particulate Matter (PM2.5),”, October 18, 2022. (In Chinese)

C. L. Zhang, Z. D. Huang, G. Q. Zhou, and K. T. Chong, “Implementation of RS-485 Communication between PLC and PC of Distributed Control System Based on VB,” IOP Conference Series: Materials Science and Engineering, vol. 83, article no. 012017, March 2015.

MAXTHERMO, “MDA-8001 Driver Installation Guide,”, August 25, 2022.

Zeta Corp., “Communication Operation Manual for Microcomputer Controllers,”, August 28, 2022.

USB-4751/4751L User Manual,, 2011.

Microsoft Corporation, “Microsoft Visual Basic 6.0: Programmer's Guide,” Microsoft Press, New York, NY, USA, 1998.

API Interface Manual Developed Through C-Power 5200, Version: V1.6, 2015.




How to Cite

Ming-Sen Hu, Wei-Kuo Soong, and Pei-Hua Tan, “Research and Development of Environmental Monitoring Alarm and Automatic Flag Control System for Barracks”, Int. j. eng. technol. innov., vol. 13, no. 3, pp. 217–229, Jul. 2023.