Please wait a minute...
Big Data Mining and Analytics  2021, Vol. 4 Issue (1): 25-32    DOI: 10.26599/BDMA.2020.9020018
Special Issue on Intelligent Recommendation System and Big Data Analysis     
IoT-Based Data Logger for Weather Monitoring Using Arduino-Based Wireless Sensor Networks with Remote Graphical Application and Alerts
Jamal Mabrouki*(),Mourade Azrour,Driss Dhiba,Yousef Farhaoui,Souad El Hajjaji
Laboratory of Spectroscopy, Molecular Modelling, Materials, Nanomaterial, Water and Environment, CERNE2D, Faculty of Science, Mohammed V University in Rabat, Rabat 10000, Morocco.
IDMS Team, Department of Computer Science, Faculty of Sciences and Techniques, Moulay Ismail University, Errachidia 52000, Morocco.
International Water Research Institute IWRI, University Mohammed VI Polytechnic (UM6P), Benguerir 43150, Morocco.
Download: PDF (4478 KB)      HTML  
Export: BibTeX | EndNote (RIS)      


In recent years, the monitoring systems play significant roles in our life. So, in this paper, we propose an automatic weather monitoring system that allows having dynamic and real-time climate data of a given area. The proposed system is based on the internet of things technology and embedded system. The system also includes electronic devices, sensors, and wireless technology. The main objective of this system is sensing the climate parameters, such as temperature, humidity, and existence of some gases, based on the sensors. The captured values can then be sent to remote applications or databases. Afterwards, the stored data can be visualized in graphics and tables form.

Key wordsArduino      weather station      internet of things      wireless      sensors      smart environment     
Received: 23 July 2020      Published: 12 January 2021
Corresponding Authors: Jamal Mabrouki     E-mail:
About author: Jamal Mabrouki received the PhD degree in water science and technology from Faculty of Sciences, Mohamed V University in Rabat in 2020. He is also an engineer in environment and climate. He is working on the project of migration and water and the role of water governance in migration policy in Africa with the cooperation between MedYWat and World Bank. He is currently a researcher for the environment and climate program at ECOMED in Morocco, where he started the coordinator of the project adaptation of "citizens to climate change" .|Mourade Azrour received the PhD degree from Faculty of Sciences and Technologies, Moulay Ismail University, Errachidia, Morocco in 2019, and the MS degree in computer and distributed systems from Faculty of Sciences, Ibn Zouhr University, Agadir, Morocco in 2014. He currently works as a computer science professor at the Department of Computer Science, Faculty of Sciences and Technologies, Moulay Ismail University. His research interests include authentication protocol, computer security, Internet of Things, and smart systems. He is a scientific committee member of numerous international conferences. He is also a reviewer of various scientific journals, such as International Journal of Cloud Computing and International Journal of Cyber-Security and Digital Forensics (IJCSDF).|Driss Dhiba received the PhD degree in agro-resources valorization from Intstitut National Polytechnique de Toulouse, Toulouse, France in 1995. He has been carrying out several research projects related to chemical engineering, water treatment and reuse, environment, biotechnology, fertilizers technologies, trace elements recovery, and new products development. He joined University Mohammed 6 Polytechnic (UM6P) in 2017 as a science & technology adviser and he is currently the co-leader of Water & Climate Program at the International Water Research Institute. His research interests include water treatment techniques, environmental studies, and climate change studies.|Yousef Farhaoui received the PhD degree in computer security from Ibn Zohr University of Science, Morocco in 2012. He is now a professor at Faculty of Sciences and Techniques, Moulay Ismail University. His research interests include e-learning, computer security, big data analytics, and business intelligence. He is a member of various international associations. He has authored 4 books and many book chapters with reputed publishers, such as Springer and IGI. He is served as a reviewer for IEEE, IET, Springer, Inderscience, and Elsevier journals. He is also the guest editor of many journals with Wiley, Springer, Inderscience, etc. He has been the general chair, session chair, and panelist in several conferences.|Souad El Hajjaji received the PhD degree in material sciences from the National Polytechnique Institute of Toulouse in 1994 and the doctorate from University Mohammed V University in Rabat, Morocco in 1999. Currently, she is a full professor at Faculty of Sciences, Mohamed V University in Rabat and the head of Research Centre on Water, Natural Resource, Environment and Sustainable Development. Her research interests include water quality, water pollution, wastewater treatment processes (adsorption, photocatalysis, etc.), innovative technologies, solid waste valorisation, modelling, climate change, etc.
Cite this article:

Jamal Mabrouki,Mourade Azrour,Driss Dhiba,Yousef Farhaoui,Souad El Hajjaji. IoT-Based Data Logger for Weather Monitoring Using Arduino-Based Wireless Sensor Networks with Remote Graphical Application and Alerts. Big Data Mining and Analytics, 2021, 4(1): 25-32.

URL:     OR

Fig. 1 Block diagram.
Fig. 2 (a) Arduino UNO card and (b) Wi-Fi module.
Fig. 3 Used sensors.
Fig. 4 Experimental result of humidity and temperature level in air.
Fig. 5 Experimental result of ozone concentration in air.
𝟐 concentration in air.
Fig. 6 Experimental result of NO𝟐 concentration in air.
𝟐 concentration in air.
Fig. 7 Experimental result of SO𝟐 concentration in air.
Fig. 8 Experimental result of CO concentration in air.
SiteTemperature (C)Humidity (%)Pollutant concentration (×10-6)
Table 1 Measurement results of pollutant concentrations at the terrain.
[1]   Firouzi F., Chakrabarty K., and Nassif S., Intelligent Internet of Things: From Device to Fog and Cloud. Cham, Germany: Springer International Publishing, 2020.
[2]   Sethi P. and Sarangi S. R., Internet of things: Architectures, protocols, and applications, Journal of Electrical and Computer Engineering, vol. 2017, p. 9 324 035, 2017.
[3]   Navani D., Jain S., and Nehra M. S., The Internet of Things (IoT): A study of architectural elements, presented at 2017 13th Int. Conf. Signal-Image Technology & Internet-Based Systems (SITIS), Jaipur, India, 2017, pp. 473-478.
[4]   Khan R., Khan S. U., Zaheer R., and Khan S., Future internet: The internet of things architecture, possible applications and key challenges, presented at 2012 10th Int. Conf. Frontiers of Information Technology, Islamabad, India, 2012, pp. 257-260.
[5]   Ray P. P., Internet of things for smart agriculture: Technologies, practices and future direction, Journal of Ambient Intelligence and Smart Environments, vol. 9, no. 4, pp. 395-420, 2017.
[6]   Naeem R. Z., Bashir S., Amjad M. F., Abbas H., and Afzal H., Fog computing in internet of things: Practical applications and future directions, Peer-to-Peer Networking and Applications, vol. 12, no. 5, pp. 1236-1262, 2019.
[7]   Mansor H., Shukor M. H. A., Meskam S. S., Rusli N. Q. A. M., and Zamery N. S., Body temperature measurement for remote health monitoring system, presented at 2013 IEEE Int. Conf. Smart Instrumentation, Measurement and Applications (ICSIMA), Kuala Lumpur, Malaysia, 2013, pp. 1-5.
[8]   Togawa T., Body temperature measurement, Clin. Phys. Physiol. Meas., vol. 6, no. 2, pp. 83-108, 1985.
[9]   Gunawan T. S., Munir Y. M. S., Kartiwi M., and Mansor H., Design and implementation of portable outdoor air quality measurement system using Arduino, International Journal of Electrical and Computer Engineering (IJECE), vol. 8, no. 1, pp. 280-290, 2018.
[10]   Sree Devi M. and Rahamathulla V., Air quality through IoT and big data analytics, in Advances in Data Science and Management, Borah S., Emilia Balas V., and Polkowski Z., eds. Singapore: Springer, 2020, pp. 181-187.
[11]   Chandana L. S. and Sekhar A. J. R., Weather monitoring using wireless sensor networks based on IOT, Weather Monitoring Using Wireless Sensor Networks based on IOT, vol. 4, no. 5, pp. 525-531, 2018.
[12]   Ram K. S. S. and Gupta A. N. P. S., IoT based data logger system for weather monitoring using wireless sensor networks, International Journal of Engineering Trends and Technology, vol. 32, no. 2, pp. 71-75, 2016.
[13]   Rao B. S., Rao D. K. S., and Ome N., Internet of Things (IoT) based weather monitoring system, International Journal of Advanced Research in Computer and Communication Engineering, vol. 5, no. 9, pp. 312-319, 2016.
[14]   Mabrouki J., Azrour M., Farhaoui Y., and El Hajjaji S., Intelligent system for monitoring and detecting water quality, in Big Data and Networks Technologies, vol. 81, Farhaoui Y., ed. Cham, Germany: Springer International Publishing, 2020, pp. 172-182.
[15]   Ali A. H., Chisab R. F., and Mnati M. J., A smart monitoring and controlling for agricultural pumps using LoRa IOT technology, Indonesian Journal of Electrical Engineering and Computer Science, vol. 13, no. 1, pp. 286-292, 2019.
[16]   Lehmann G., Rieger A., Blumendorf M., and AlbayrakDAI S., A 3-layer architecture for smart environment models, presented at 2010 8th IEEE International Conference on Pervasive Computing and Communications Workshops (PERCOM Workshops), Mannheim, Germany, 2010.
[17]   Kumar S. and Jasuja A., Air quality monitoring system based on IoT using Raspberry Pi, presented at 2017 Int. Conf. Computing, Communication and Automation (ICCCA), Greater Noida, India, 2017, pp. 1341-1346.
[18]   Reddy P. S. N., Vardhan D. V., Reddy K. T. K., and Reddy P. A. K., An IoT-based low-cost weather monitoring and alert system using node MCU, in Smart Computing and Informatics, Satapathy S. C., Bhateja V., and Das S., eds. Singapore: Springer, 2018, pp. 265-274.
[19]   Kumari S., Kasliwal M. H., and Valakunde N. D., An android based smart environmental monitoring system using IoT, in Advances in Computing and Data Sciences, vol. 906, Singh M., Gupta P., Tyagi V., Flusser J., and ?ren T., eds. Singapore: Springer, 2018, pp. 535-544.
[20]   Durrani A., Khurram M., and Khan H. R., Smart weather alert system for dwellers of different areas, in Proc. 2019 16th Int. Bhurban Conf. Applied Sciences & Technology, Islamabad, Pakistan, 2019, pp. 333-339.
[21]   Badamasi Y. A., The working principle of an Arduino, presented at 2014 the 11th Int. Conf. Electronics, Computer and Computation (ICECCO), Abuja, Nigeria, 2014, pp. 1-4.
[22]   Mesquita J., Guimar?es D., Pereira C., Santos F., and Almeida L., Assessing the ESP8266 WiFi module for the Internet of Things, presented at 2018 IEEE the 23rd Int. Conf. Emerging Technologies and Factory Automation (ETFA), Turin, Italy, 2018, pp. 784-791.
[23]   Nazemi H., Joseph A., Park J., and Emadi A., Advanced micro- and nano-gas sensor technology: A review, Sensors, vol. 19, no. 6, p. 1285, 2019.
[24]   Lazik D., Vetterlein D., Salas S. K., Sood P., Apelt B., and Vogel H. J., New sensor technology for field-scale quantification of carbon dioxide in soil, Vadose Zone Journal, vol. 18, no. 1, pp. 1-14, 2019.
[25]   Theuss H., Kolb S., Eberl M., and Schaller R., Miniaturized photoacoustic gas sensor for CO2, in Sensor Systems Simulations: From Concept to Solution, van Driel W., Pyper O., and Schumann C., eds. Cham, Germany: Springer International Publishing, 2020, pp. 73-92.
[1] Mourade Azrour,Jamal Mabrouki,Azedine Guezzaz,Yousef Farhaoui. New Enhanced Authentication Protocol for Internet of Things[J]. Big Data Mining and Analytics, 2021, 4(1): 1-9.
[2] Jamal Mabrouki,Mourade Azrour,Ghizlane Fattah,Driss Dhiba,Souad El Hajjaji. Intelligent Monitoring System for Biogas Detection Based on the Internet of Things: Mohammedia, Morocco City Landfill Case[J]. Big Data Mining and Analytics, 2021, 4(1): 10-17.