Modeling and implementation of a low-cost IoT-smart weather monitoring station and air quality assessment based on fuzzy inference model and MQTT protocol

Autor: Fahim, Mohamed, El Mhouti, Abderrahim, Boudaa, Tarik, Jakimi, Abdeslam
Zdroj: Modeling Earth Systems and Environment; November 2023, Vol. 9 Issue: 4 p4085-4102, 18p
Abstrakt: The automatic weather system serves to inform farmers, tourists, planners, and others with precise information to help them take the appropriate action. Today, with the advancement of smart technologies, the system has evolved into many sensing methods to gather real-time climate data. This article investigates the modeling and implementation of a low-cost weather station device that also functions to measure air quality. The proposed system based on the Internet of Things (IoT) allows access to real-time climate data for a given area. This system monitors environmental conditions such as ambient temperature, humidity, atmospheric pressure, altitude, and levels of harmful atmospheric gases like CO2and NO2. This real-time telemetry device uses MQ-135, DHT-11 and BMP280 sensors to gather data. The ESP32 board processes the obtained data from all sensors. Additionally, we present a model for a fuzzy inference system (FIS) that performs parameter categorization using a reasoning procedure and incorporates the results into an air quality index (AQI) that describes the levels of pollution for Al Hoceima city. The FIS takes CO2and NO2values as input and returns the AQI. The AQI for Al Hoceima city is categorized into six levels: Excellent, Good, Regular, Bad, Dangerous, and Very Dangerous. Furthermore, the suggested system's block hardware employs the Message Queuing Telemetry Transport (MQTT) protocol to broadcast collected data to a mobile and web application via the Internet. The suggested IoT-embedded device was tested in real life, and the results were promising.
Databáze: Supplemental Index