Weather Reporting System Using IoT: Benefits & Use Cases
Imagine a world where the weather is no longer an unpredictable force that catches us off guard. This reality is already here, owing to IoT based weather monitoring systems . How do they work, which industries do they serve, and what benefits do they offer?
This article has you covered as we dive into these and even more questions. Learn how IoT technology allows businesses to adapt to changing weather conditions and optimize performance with WebbyLab, an experienced IoT development vendor .
We’ll navigate you through the applications of weather monitoring system using IoT and explain the importance of such ventures. Drawing from our weather reporting expertise in projects like 2Smart Standalone , we’re here to elevate your business operations through the Internet of Things .
Weather forecasting scenario in the 2Smart Cloud platform.
The Role of IoT in Weather Reporting Systems
Traditional weather monitoring systems are getting outdated. They’re often prone to errors and inaccurate predictions — and these factors can damage your business. But with IoT in place, these systems transform dramatically. Here’s how.
- Traditional weather reporting methods, while informative, often suffer from delays in data collection and transfer. IoT, in turn, gathers data from sensors in real time.
- IoT takes forecasting to the next level when combined with internet-connected weather stations. It can predict the weather accurately and quickly for different geographic locations.
- IoT-based weather monitoring systems seamlessly integrate data from a multitude of sources. Weather sensors , satellite imagery, weather stations, drones, and even personal devices are just some examples.
- The Internet of Things brings precision to weather insights. Businesses can collect data from specific places, e.g., by improving crop watering based on soil moisture or changing flight paths to avoid turbulence.
Check how we build custom solutions for clients
Benefits of Weather Reporting System Using IoT
With the Internet of Things, weather monitoring systems have stepped up their game, becoming more accurate, consistent, and quicker in operation. Now, that sounds great, but what does this tech actually offer businesses? Here are the main benefits:
- Real-time data collection. Thanks to IoT devices and sensors, businesses get weather updates from all sorts of locations right when they need them.
- Higher accuracy. A weather monitoring system using IoT gathers data from numerous sources, providing a detailed picture of what’s happening with the weather.
- Wider coverage. Traditional weather monitoring systems usually check conditions at just a few weather stations, leaving out other areas. When IoT technology steps in, businesses can cover more places, even the most distant ones.
- Predictive analytics. IoT-powered weather reporting systems use historical data and current trends to tell businesses what’s coming. That’s how companies can adjust their operations before any weather-related challenges appear.
- Reduced response time. Every second counts when the industry is about making fast decisions — aerospace or emergency services. That’s where IoT weather monitoring comes in as a solution , offering real-time insights for rapid response times.
- Cost-effectiveness. A weather reporting system using IoT allows companies to optimize resource usage and reduce waste. For example, agriculture businesses can leverage weather forecasts to adjust their irrigation and crop protection measures.
- Increased safety. Industries prone to weather-related risks, like construction or transportation, enjoy the advantages of IoT-based automatic weather stations . These businesses can plan their activities more safely with a minimum of accidents and disruptions.
Industries That Benefit from Weather Monitoring System Using IoT
Now that you know the main benefits that IoT systems bring to weather monitoring, let’s dive into the industries that reap these advantages. Here are several examples:
Manufacturing
Manufacturing processes are intricately linked to the weather. IoT technology ensures businesses time their production just right, coordinating with the best weather conditions. Whether it’s managing temperature-sensitive materials or adjusting supply chain logistics based on weather forecasts, manufacturing gains efficiency and precision.
Flying safely and smoothly is the core of aviation, and the weather here is a big player. Thanks to IoT-based weather reporting, airlines and air traffic control get real-time updates on turbulence, lightning, and visibility — all necessary to make flights safer.
Agriculture
Imagine having a trusted partner in farming decisions — that’s what IoT weather insights are all about. When it’s time for planting, watering, or dealing with pests, these become essential. Farmers can get information on rainfall, temperature, and soil moisture with IoT to make smarter choices for their fields.
IoT based weather monitoring systems are handy in the automotive industry. When the weather gets worse and the roads get slippery, the Internet of Things may help. It assists in developing advanced driver assistance systems and fine-tuning cruise control based on visibility, ultimately adapting vehicles for safer driving.
Warehouse Management
Inventory management and logistics greatly depend on the weather. And that’s where IoT weather stations come into play. They help warehouses predict when severe weather might influence their goods and adjust storage conditions accordingly. The same goes for shipping schedules.
The energy sector, whether using renewable or non-renewable sources, is influenced by weather patterns. Using IoT energy management systems, this industry can predict when people will need more or less energy, ultimately optimizing resource allocation and enhancing grid stability.
Weather conditions are crucial for insurance companies. It’s a common instance in the US, where numerous insurance categories exist — from property protection in case of floods and hurricanes to evaluating risks for energy facilities, agriculture, health, and more. With IoT, insurers can assess risks and price their services properly.
Types of Sensors Used for Weather Monitoring
When learning how to develop IoT-based weather reporting system and considering deploying one, the sensors you choose depend on what you’re aiming to explore. There are various gadgets, each with its own particular purpose. Look at how different sensors work for various scenarios:
Boosting Crop Yields
If farmers are diving into smart agriculture, they need information on temperature, humidity, soil moisture, and rainfall. Here are the sensors used in such a case:
- Temperature sensor
- Humidity sensor or hygrometer
- Soil moisture sensor
- Rain sensor
Increasing Flight Safety
Think about pilots preparing for a smooth flight. They need to know all about wind speed, direction, atmospheric pressure, and even visibility. Check out the sensors suitable for this use case:
- Barometric sensor
- Visibility sensor
In a nutshell, the sensors you pick for weather monitoring depend on what you’re diving into.
Reasons to Invest in an IoT-Based Weather Reporting System
Whether in healthcare, agriculture, aviation, transportation, automation , warehouses, or laboratories, the right weather information is your compass. And here are the primary reasons to invest in a weather monitoring system using IoT :
- Continuous climate monitoring. An IoT-based weather reporting system tracks all environmental changes, whether small or big. It means you always know what’s happening and can prepare for unfavorable weather beforehand.
- Preventing losses. The IoT platform for weather monitoring serves as your early warning signal. It allows you to minimize damage and secure your business.
- Avoiding business disruptions. With IoT in place, you don’t have to shut down your business even if the weather gets rough since you’re ready to adapt. You can adjust schedules, reroute logistics, and ensure smooth operations, leveraging predictive analytics and real-time insights.
WebbyLab Experience in Weather Monitoring Using IoT
WebbyLab has a profound background in leveraging the Internet of Things for weather reporting. Here’s our case study on IoT system for weather monitoring :
Leveraging Ready-Made Solutions
We understand that building custom weather stations from scratch might seem the way to go, but we’ve taken a different route. Recognizing the extensive resources and time invested in refining and testing existing solutions, we’ve opted to work with these well-established options. This decision lets us focus on what truly matters — extracting accurate and reliable weather data.
Using Modern Devices
In today’s market, especially in industrial contexts, weather station devices are often designed for large ecosystems. Their software isn’t necessarily tailored to specific clouds or applications. To bridge this gap, we employ separate gateways. These gateways allow us to run our software, connect physically to devices through interfaces like RS-485, RS-232, One Wire, or Ethernet, and process the collected data. Owing to that, we can integrate weather insights into our solutions easily.
Integrating Weather Monitoring into 2Smart Standalone and 2Smart Cloud
Ease of access and usability are critical for us. That’s why integrating weather data into our 2Smart Standalone platform has been a priority. We’ve established integrations with virtual weather platforms like OpenWeather and YahooWeather. With these in place, users can create virtual devices effortlessly and receive real-time weather data for their locations.
The virtual weather stations in the 2Smart Standalone platform.
The same goes for our 2Smart Cloud platform , where anyone can set up a weather station and access weather information via our mobile application.
The weather station in the 2Smart Cloud platform.
Tailoring Weather Insights for Specific Needs
We’ve also tailored weather insights to specific applications. Our smart greenhouse solution, built on the 2Smart Standalone platform , incorporates a unique sensor-based weather forecasting scenario. Users can easily integrate their real-time pressure and wind direction data. Our algorithm then calculates the nearest weather forecast, enhancing precision for greenhouse operations.
Get Weather Insights with WebbyLab
If you’re tired of Mother Nature’s surprises and want to protect your business from weather-related disruptions, consider using an IoT based weather monitoring system . This solution allows for real-time data collection and unparalleled forecasting accuracy, ultimately optimizing your processes.
Ready to feel the difference between traditional weather monitoring and IIoT-based monitoring system ? Contact WebbyLab experts . With our profound experience in IoT projects , we’ll elevate your business with precise weather forecasting solutions.
Learn more about how we engage and what our experts can do for your business
Written by:
Kostiantyn Oliynyk
Head of IoT at Webbylab
With a robust academic background in Telecommunication Systems Engineering, I apply my knowledge to lead innovations in the IoT domain. Starting as the first team member in the newly formed IoT department at WebbyLab, I've spearheaded its growth, fostering the expansion into embedded and hardware development alongside our core software projects. My dedication lies in pushing the boundaries of IoT technology, fostering a culture of innovation and excellence that profoundly impacts our clients' operational success.
It uses sensors and devices that gather weather data, connect through messaging protocols , and transmit the information to a central hub or a cloud platform. The collected data is then analyzed to get up-to-date weather insights.
A weather monitoring system using Arduino can observe various parameters: temperature, humidity, air pressure, wind speed, wind direction, rainfall, soil moisture, UV radiation, and more.
Businesses can implement different security measures to protect their IoT weather monitoring systems. Some examples include encryption, robust communication protocols, authentication mechanisms, and adherence to the latest IoT standards .
Users typically get weather information through mobile apps, web interfaces, and dashboards.
Rate this article !
28  ratings Avg  4.7 / 5
Unlock the potential of your projects with our experienced help
Project description*
Add an attachment Delete
I give consent to the processing of my personal data given in the contact form above as well as receiving commercial and marketing communications under the
terms and conditions of WebbyLab Privacy Policy .
Avg  4.8 / 5
Avg  4.5 / 5
Avg  4.6 / 5
2024 WEBBYLAB. All rights reserved.
- Privacy Policy
- Terms and conditions
- Web Content Accessibility Policy
- Cookie Policy
Get a consultation with at Webbylab
Download the whitepaper
IoT Based Weather Monitoring System for Smart Cities: A Comprehensive Review
Ieee account.
- Change Username/Password
- Update Address
Purchase Details
- Payment Options
- Order History
- View Purchased Documents
Profile Information
- Communications Preferences
- Profession and Education
- Technical Interests
- US & Canada: +1 800 678 4333
- Worldwide: +1 732 981 0060
- Contact & Support
- About IEEE Xplore
- Accessibility
- Terms of Use
- Nondiscrimination Policy
- Privacy & Opting Out of Cookies
A not-for-profit organization, IEEE is the world's largest technical professional organization dedicated to advancing technology for the benefit of humanity. © Copyright 2024 IEEE - All rights reserved. Use of this web site signifies your agreement to the terms and conditions.
Advertisement
Modeling and implementation of a low-cost IoT-smart weather monitoring station and air quality assessment based on fuzzy inference model and MQTT protocol
- Original Article
- Published: 06 February 2023
- Volume 9 , pages 4085–4102, ( 2023 )
Cite this article
- Mohamed Fahim 1 ,
- Abderrahim El Mhouti 1 ,
- Tarik Boudaa 2 &
- Abdeslam Jakimi 3
4448 Accesses
12 Citations
7 Altmetric
Explore all metrics
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 CO 2 and NO 2 . 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 CO 2 and NO 2 values 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.
Similar content being viewed by others
An IoT Based Weather Monitoring System Using Node MCU and Fuzzy Logic
Automated Weather Monitoring Station Based on IoT for Smart Cities
Air Quality Measurement System Using Open Hardware and IoT
Avoid common mistakes on your manuscript.
Introduction
Regarding climate change and the transition in weather state, the determination of weather information is becoming increasingly important. The beneficiaries of this information include organizations in charge of civil security or health (Lee et al. 2020 ); companies involved in insurance, energy, transport, or agriculture (Ramachandran et al. 2022 ); and people planning weekends or holidays. For instance, farmers’ work is highly weather-sensitive because their crops depend significantly on weather conditions. Therefore, they are attentive to weather forecasts when planning their daily and seasonal tasks. For example, they carefully monitor fallen and expected rainfall before watering their crops. In this way, agricultural yields can be improved through weather forecasts by providing farmers with timely information. Moreover, attendance at tourist sites is highly dependent on weather conditions (Mahon et al. 2021 ). Also, attendance varies depending on temperature and sunshine or rainfall. For example, sunny days are preferred for weekends, school holidays, outings, and outdoor activities. In contrast, on days with heavy rain showers, museums, cinemas, and other indoor activities are given preference. In the field of transportation and logistics, accurate weather information is crucial to drivers and pedestrians’ safety (Zhai et al. 2019 ). Snowfall and freezing rains are hazards that make it difficult to operate roads. To facilitate commuters’ mobility and ensure safety, road managers and departmental councils put winter service plans in place. In addition, airports are commonly affected by weather variations. The airstrip can become frozen in particularly low temperatures, complicating the management of aircraft landings (Midtfjord et al. 2022 ). Finally, the building trade is heavily impacted by the weather. Certain conditions such as rain or wind can significantly affect tasks in the construction industry (Ballesteros-Pérez et al. 2018 ).
Meanwhile, environmental concerns are becoming more severe, endangering both nature and human health. The most serious threat is air pollution (Yonar and Yonar 2022 ). It is increasing due to a variety of factors, including city overcrowding, and industrial processes involving combustion. Air pollution is a combination of particulate matter (PM x ) and gases in the atmosphere. Common air pollutants include NO 2 , SO 2 , PM 2.5 , CO, and CO 2 . Some air pollutants can be harmful since ingesting them can cause serious health issues. It may be dangerous, particularly for people who suffer from respiratory illnesses. Each year, outdoor and indoor air pollution kills nearly 7 million people, according to the World Health Organization (WHO) (Yonar and Yonar 2022 ). Furthermore, the COVID-19 virus pandemic, which emerged in late 2019, highlighted the significance of the interaction between public health and the environment. According to research studies, people exposed to long-term air pollution are more likely to contract and be harmed by viruses such as COVID-19 as a result of emerging chronic disorders (Ghorbani and Zamanifar 2022 ; Yonar and Yonar 2022 ). Therefore, it is crucial to continuously monitor the quality of the air in all indoor and outdoor areas, including homes, workplaces, and industrial facilities (Ghorbani and Zamanifar 2022 ).
However, due to financial constraints, many economically developing countries are unable to invest in professional stations that enable air pollution monitoring and forecasting. Thus, their geographical distribution is very limited, mostly due to the high equipment price and the difficulty and cost of maintenance (Zaric et al. 2021 ), which leads to limited available climate information. For instance, the national network for monitoring air quality in Morocco consists only of 29 fixed stations to measure, forecast, and notify the public, local authorities, and decision-makers on air quality. Yet, air quality data is strongly needed as a first step toward mitigating the severe health and economic implications of air pollution. However, the cost of air quality monitoring technology devices is still somehow high. It is important to propose low-cost air quality monitors to the market of developing countries to avoid the costly traditional air quality monitoring technology. The affordability of low-cost air sensors can enable air quality assessment in regions where air quality data has never been available previously. Numerous models for the evaluation and surveillance of air pollutants have been proposed in the literature (Megantoro et al. 2021 ; Messan et al. 2022 ; Sung and Hsiao 2021 ; Zaric et al. 2021 ). However, their inability to address the ambiguity and inconsistency prevalent in this complicated environmental challenge is their most significant flaw.
In this context, this current research discusses modeling and implementation of an automatic weather monitoring station device based on IoT and fuzzy inference system (FIS) that provides real-time climate data and indicates air quality for a specific area.
The key novelty of this study is the proposal of a low-cost weather monitoring station based on innovative technologies, including IoT, FIS, and the message queuing telemetry transport protocol (MQTT). This solution will undoubtedly alleviate the barriers that obstruct access to appropriate and accurate weather information.
The rest of the paper is organized as follows: Sect. 2 analyses the relevant work in the literature. Section 3 presents the system model. Section 4 discusses the core elements of our approach as well as materials and methods. We describe the obtained results in Sect. 5 of this article. A discussion is highlighted in Sect. 6. Section 7 concludes the paper.
Related research
The IoT has attracted significant interest in recent years from business leaders, policymakers, regular people, and engineers. The IoT is a network that connects items on the Internet, allowing for extensive data exchange and the use of remote controls to construct decentralized systems. The IoT transforms physical objects into network devices that can share their resources with other participants or even other objects (Brandão et al. 2021 ). The IoT has been operationalized extensively in many areas, such as healthcare (Yesmin et al. 2022 ), farming (Patel et al. 2022 ; Xu et al. 2022 ), home automation (Almusaylim and Zaman 2019 ), smart cities (Bellini et al. 2022 ), and weather monitoring systems. Accurate weather information also benefits various fields, including electricity generation, agriculture, and transportation. Hence, weather monitoring is an important aspect of economic growth.
Various studies on the design of weather monitoring stations have been carried out thus far. For instance, a smart weather station concept based on a peripheral interface microcontroller (PIC) and a cloud platform was proposed by (Djordjevic and Dankovic 2019 ). The system was built to be simple to set up and scalable for expansion. The system is powered by a potent PIC microcontroller that controls the entire system. It contains embedded sensors to view and measure the environment or a given place when required. Additionally, it contains a general packet radio service (GPRS) module for uploading data to a cloud platform. Furthermore, (Liu 2019 ) outlined the development of a low-cost, reliable, modular IoT weather station that can be used in third-world countries such as Haiti. These countries lack the necessary weather/climate data to support future agricultural growth or provide climate pattern information for public and infrastructure protection. In (De Oliveira Filho et al. 2022 ), temperature, relative humidity, pressure, dust, and wind speed are all measured using several sensors in the constructed weather station. Carbon dioxide (CO 2 ), carbon monoxide (CO), ammonia (NH 3 ), hydrogen (H 2 ), and methane (CH 4 ) are among the gases monitored by the authors' proposed system. The different sensors are shielded from sunlight, rain, and other weather conditions (such as dust storms) by a solar radiation barrier, with the exception of the wind, dust, and light sensors, which must remain open to the outside world. Moreover, an IoT-based climate monitoring system for rural areas was proposed by (Muslim et al. 2021 ), who chose an Indonesian hamlet as the site for IoT wind behavior, rainfall, and temperature sensor installation because it is subject to floods, landslides, and extremely high winds. The research presented by (Girija 2018 ), describes a system that includes a microcontroller (ESP8266) that serves as the system's main processing unit, with all sensors and devices attached to it. The sensor is controlled by a microcontroller, which collects, processes, and uploads data to the Internet via a connected Wi-Fi module.
The primary purpose of the work outlined in (Verma et al. 2017 ) was to design a remote weather monitoring system that is enabled for continuous weather-monitoring parameters. The IoT-based distant weather monitoring station is a complete open-source weather station that can accurately detect temperature, humidity, and light intensity. The values of the recorded parameters were plotted on an open cloud called “ThingSpeak.” The device also included a camera that permitted live broadcasting of the monitored region. Likewise, (Megantoro et al. 2021 ) proposed the design of a weather station unit that could monitor gas concentrations in the air. The ESP32 board was used to process measurement data in this real-time telemetry system enabled by IoT. Wind speed, wind direction, humidity, ambient air temperature, air pressure, rainfall, and the ultraviolet index were some of the climate parameters examined. Meanwhile, ozone (O 3 ), H 2 , CH 4 , NH 3 , CO, and CO 2 were the gas concentration factors measured in the air. The ESP32 board processes all sensor readings of ultraviolet (UV) and uploads them to the server. Subsequently, the dataset is received by a client device, processed, displayed on a monitor, and saved as a text file. In addition, the monitor and data are utilized to analyze air quality and weather conditions in the area. Furthermore, Shaker and Walla ( 2017 ) proposed a weather station to track a variety of environmental factors in Babylon city, including CO 2 , CO, and CH 4 concentrations, humidity, temperature, and light levels. These elements were measured, analyzed, and transferred to a web application, where authorized users worldwide can view them. The system suggested by (Agrawal et al. 2019 ), demonstrates an IoT-based approach for tracking meteorological conditions in a specific location and making the data available to anyone anywhere globally. The system has a display that shows the readings in real time. It also keeps track of past data on an hourly and daily basis. This data can be shown on a liquid crystal display (LCD) screen, and the information can be sent to a web page and plotted as graphical statistics. The developed system includes a microcontroller (LPC2138) that serves as the system's main processing unit, to which all sensors and devices can be attached. The microprocessor can operate the sensors and retrieve data from them. It runs an analysis of the sensor data before uploading it to the Internet via a GPRS module connected to it. In another study, a low-cost smart weather forecast system based on an artificial neural network and IoT was discussed (Islam et al. 2021 ). Temperature, humidity, air pressure, rainfall, soil moisture, and other weather data are measured using an IoT platform in the proposed system. An MQTT dashboard connects the various sensors in this approach. Sharma and Prakash ( 2021 ) aimed to create a weather monitoring system to continuously monitor live environmental parameters while watching the weather. The weather monitoring system employed a variety of sensors to measure the parameters and used the IoT as well. The authors of this research introduced three different sensors into the system. The sensors were structured into various bundles. The proposed model illustrates the connection between the sensor and the microcontroller unit (MCU). Sensors were linked to the MCU8266 unit in the system. Three sensors were used in the model to measure temperature, pressure, humidity, and precipitation. Similarly, the primary purpose of the work discussed in Molnár et al. ( 2020 ) was to describe how to develop and implement a weather station based on the IoT and cloud services to assist in teaching IoT technologies.
The prototype’s brain proposed by Kodali and Mandal ( 2016 ) was the ESP8266-based Wi-Fi module NodeMCU (12E). The NodeMCU is equipped with four sensors: a temperature and humidity sensor (DHT11), a pressure sensor (BMP180), a raindrop module, and a light-dependent resistor (LDR). Other data parameters, such as dew point, can be calculated using temperature and humidity. In addition to these features, the location's light intensity can also be measured. A room's air pressure can be monitored, and rain quantity can be tracked. In another study (Murugan et al. 2020 ), an IoT-based weather monitoring system was ideated to predict cyclones in the Cauvery delta area of Tamil Nadu. This study proposed a new architecture for monitoring typical environmental conditions. The design primarily used sensors, such as those that measure temperature, humidity, pressure, light intensity, rainfall, and so on. In addition (Carlos-Mancilla et al. 2020 ) discussed the design and development of a weather station called MEIoT, which is an IoT device that blends educational mechatronics with IoT. MEIoT connects to the Internet, records eight meteorological factors, and uploads the data to the cloud. Using a mixture of IoT and machine learning, Durrani et al. ( 2019 ) proposed a smart weather station that predicts and monitors meteorological data. Additionally, it generates quick warnings for residents of various places to alert them of coming hazards. It is equipped with several sensors that collect meteorological data from the surroundings and send the data to the cloud. At this stage, forecasts are created using various neural network models that have been evaluated for accuracy. Siva Nagendra Reddy et al. ( 2018 ) discussed a low-cost, high-performance system that can record minute-by-minute environmental data and transfer it to a web server. If toxic gases, such as hydrocarbons (HC), CO, sulfur dioxide (SO 2 ), or nitrogen oxides (NOx), are released into the environment, the system sends a warning message to higher authorities in that area and nearby areas. Additionally, the system sounds an alarm. The MQ135 air quality sensor, Node MCU, DHT 11, and buzzer are used in this system.
Kumar and Jasuja ( 2017 ) propose the Raspberry Pi as their system's main controller. Sensors detect various environmental characteristics, such as particulate matter (PM), CO, CO 2 , temperature, humidity, and air pressure. The sensors are wired to the Arduino board, and the Raspberry Pi is connected to the Arduino Uno through a USB cable. The data collected by the sensors are continuously transferred to the cloud via Raspberry Pi. Finally, the proposed prototype in Kumari et al. ( 2018 ) is an IoT-based solution for monitoring temperature, humidity, rainfall, earthquakes, and light intensity. This prototype also displays the current status and history in the console server of the “ThingSpeak” cloud, which can be accessed globally via an Android app.
System model
There is a location L. There are a set of environmental sensors (S) such that { S 1, S 2, …, Si } ∈ S for the location L. For sensors S j ∈ S in location L, { R1, R2, …, Rn} ∈ R are the reading taken within a moment t . Some sensors can provide readings for multiple environmental parameters simultaneously. Sensors S measure a variety of parameters, including ambient temperature (T), humidity (H), atmospheric pressure (A p ), altitude (A), and levels of dangerous atmospheric gases such as CO 2 (α) and NO 2 (β). The α and β values are fed into a fuzzy inference model which outputs the air quality index (AQI) for location L. The Fuzzy inference system (FIS) model is described in the a subsection below. The list of symbols employed in the suggested model is shown in Table 1 .
Materials and methods
Figure 1 depicts our proposed low-cost smart weather station model. It includes a microcontroller (ESP32) that serves as the system's main processing unit, and all sensors and devices can be attached to it. We used several sensors for measuring the needed parameters for this study. For weather parameters such as humidity, ambient temperature, we used DHT11 sensor. The atmospheric pressure sensor (BMP280) was used for measuring the atmospheric pressure and altitude. While the levels of harmful gases like CO 2 and NO 2 have been gathered by employing a gas sensor (MQ135). The microcontroller can access the sensors to retrieve data, and it runs the analysis using the sensor data before uploading it to the Internet via an attached Wi-Fi module, using the MQTT protocol. MQTT is a lightweight messaging protocol based on the publish/subscribe concept. It was designed primarily for low-bandwidth IoT applications. With minimal code, MQTT protocol can deliver real-time, credible messaging services to network-connected devices. Furthermore, a fuzzy model is developed to assess air pollution in Al Hoceima city. The fuzzy system has been created by defining an input, a set of fuzzy rules, a fuzzy inference engine, and an output to generate a crisp number (defuzzification). The input variables for the system are the captured levels of NO 2 (β) and CO 2 (α). The unit of the input variables is taken as parts-per-million (ppm). The AQI is the output variable of the fuzzy model. The next subsections describe in detail the main components of the proposed model.
Model flowchart
Fuzzy inference model
The concept of fuzzy logic (FL) was proposed in the 1960s by Lotfi Zadeh ( 1965 ), an Iranian mathematician and computer scientist, to address the limitations of classical logic (Türkşen 2006 ). Classical logic represents the degree of membership as either 1 (true) or 0 (false). However, in the case where the membership of certain elements is unclear, classical logic becomes incapable to deal with complex real-life problems that contain some degrees of ambiguity. Therefore, fuzzy logic is used to address fuzziness in real-world problem-solving by assigning the meaning to the values ranging between 0 and 1 (Katushabe et al. 2021 ).
Mathematically, let's consider, μ A the membership function of the set A defined over the Universe U. In the classical set theory, the membership function is defined by:
In the context of fuzzy set theory, a fuzzy set A defined over the Universe U. The membership function is represented as follows:
μ A assigns a value in the interval [0,1] to each element x of U, representing the degree of belonging of x to A.
Generally, FL can represent and process imprecise or approximate knowledge. In recent years, the number of applications based on FL theory has increased significantly (Belman-Flores et al. 2022 ; Eriyadi et al. 2021 ; Wu and Xu 2020 ). FL is ideal for such applications because it mimics human decision-making by generating precise solutions from ambiguous and imprecise data.
Furthermore, FL facilitates the computation of linguistic variables whose values are counted as words and not numbers. A linguistic variable's main function is to model vague or imprecise knowledge. Formally, a linguistic variable is a triple ( V , X , T V ), where:
V is the name of the linguistic variable, e.g. age, height, temperature, etc.
X is the set of values (linguistic terms) that can be taken by V , e.g. bad, good, dangerous, etc.
T V is a fuzzy partition, where each subset is associated with a value in X .
One of the most famous applications of FL is a technique known as FIS, which analyses the values in the input vector and, depending on a set of rules, provides values to the output. FIS has quickly established itself as one of the most effective and successful control application solutions available today (Mahboob et al. 2022 ). For that, we have adopted it in the present work for air quality assessment. The FIS is a decision-making system based on “IF…THEN” rules. It comprises four basic components, namely, fuzzy rule base, fuzzification, inference engine, and defuzzification, which are interrelated, as shown in Fig. 2 .
Fuzzy inference model for the air quality determination
The purpose of the fuzzification step is to transform a crisp input into a linguistic variable. For this process, the fuzzy system designer must create membership functions. A membership function enables the definition of membership’s degree by converting a numerical data item into a linguistic variable. Triangular (Fig. 3 a) and trapezoidal (Fig. 3 b) membership functions are used in this study because they are computationally effective since utilized to normalize crisp inputs. Mathematical descriptions of these membership functions are given as follows.
Triangular membership (Mahapatra et al. 2011 ):
a Triangular membership function; b Trapezoidal membership function
Alternatively, we can write Eq. 3 as follows:
Trapezoidal membership (Janeela Theresa & Joseph Raj 2013 ):
Eq. 5 can also be written as follows:
The random fluctuations that are inherent in air quality measurements might be dangerous for prolonged exposure. It is vital to provide the levels of beneficial or dangerous concentrations to categorize the negative effects of certain parameters. The AQI calculation can use a variety of sources of contaminants (Dionova et al. 2020 ). However, in this study, two main pollutants were taken into account for calculating the AQI for Al Hoceima city: NO 2 and CO 2 . These two pollutants’ levels are crisp inputs for our FIS model, while AQI is the output variable.
The categorization levels of the air quality metrics are shown in Tables 2 and 3 , which are mainly based on reported works (Carbajal-Hernández et al. 2012 ; Dionova et al. 2020 ; EPA 2014 ; Katushabe et al. 2021 ).
In this study, the AQI model for Al Hoceima city is based on pollutant concentration levels determined by the Environmental Protection Agency (EPA) air quality index guidelines (EPA 2014 ). As shown in Table 3 , a higher AQI value indicates that the air quality is poorer; a lower AQI value implies that the air quality is better. The harmful effects of air pollutants on human health may be divided into the following categories in accordance with air quality regulations (Carbajal-Hernández et al. 2012 ):
Excellent: Conditions are appropriate for practicing outdoor activities.
Good: It is possible to participate in outdoor activities.
Regular: Outdoor activities should be avoided since they may have a negative impact on population health, particularly among young and old persons
Bad: There are increased negative health impacts on the community as a whole, especially among young and old persons
Dangerous: There could be a significant negative impact on the general public's health.
Very Dangerous: Everyone could have severe health problems.
Moreover, the associated fuzzy membership values are described as follows:
The concentration of NO 2 (β): very low, low, medium, high, very high, and hazardous
The concentration of CO2 (α): very low, low, medium, high, very high, and hazardous
The AQI is categorized and approximated as the output of the following membership values: excellent, good regular, bad, dangerous, and very dangerous.
The input presented in Table 2 is utilized to determine the corresponding membership function for each pollutant type based on the range of values for each category. The membership functions are shown in Fig. 4 , for each input and output. Membership functions of Fig. 4 were obtained using the python matplotlib.pyplot, skfuzzy, mpl_toolkits.mplot3d libraries.
The used membership functions: a CO 2 membership function; b NO 2 membership function; c AQI membership function
So far, we have linguistic variables, we can pass them into the inference engine. Here, each rule of the inference engine is written by the fuzzy system designer according to their knowledge. The fuzzy rule base set is a collection of linguistic assertions, specifying how the FIS should decide whether to categorize an input or regulate an output. Fuzzy rules are always expressed in the manner shown here:
where A i and B i are fuzzy sets that represent linguistic terms of input and output variables.
Table 4 shows the rule base utilized in this study. The probable combination of membership functions influences the number of defined fuzzy rules which can be obtained with the following formula (Cavallaro 2015 ):
M = number of parameters.
N = the number of linguistic terms per input parameter.
In our case, 6 2 = 36 rules.
Table 4 shows the 36 rules for two inputs (CO 2 and NO 2 ) with six categories for each input (i.e., very low, low, medium, high, very high, hazardous) and six categories for the AQI output (i.e., excellent, good, regular, bad, dangerous, very dangerous) utilized in this study. For instance, if we pick the first line, the reading of the input is as follows: “IF CO2 is very low AND NO 2 is very low THEN AQI is excellent”.
Finally, the defuzzification step constitutes a decisional phase that makes it possible to transform a fuzzy value of a variable into a real value. The inference engine provides a fuzzy output set. Therefore, the information at the output of the inference block is fuzzy when we need precise information. Hence, it is necessary to transform this fuzzy information into precise information (a real value). Defuzzification is what ensures this transformation.
The mean of maxima approach, center-of-gravity (COG) method, weighted average method, and the max method are some of the defuzzification techniques that have been used in past research (Masoum and Fuchs 2015 ). The COG approach was employed in the current study since it is considered to be the most frequent and relevant defuzzification technique. The defuzzification procedure was carried out according to the following equation, where z is the final AQI:
The COG returns the center of the area under the curve formed by the output fuzzy function (Carbajal-Hernández et al. 2012 ).
Message queuing telemetry transport protocol
Message Queuing Telemetry Transport (MQTT) is an open-source messaging protocol that enables non-persistent connections between devices by transferring their messages. It was developed in 1999 by Andy Stanford-Clark, an engineer at IBM, and Arlen Nipper, an engineer at EuroTech, primarily for machine-to-machine (M2M) communication. M2M communication enables the connection of two devices by utilizing various technologies. It is increasingly used to make connected objects communicate; to this end, connected objects collect various information from integrated sensors, and these data are sent via MQTT. The MQTT protocol is compatible with industrial programmable logic controllers and embedded devices, such as Arduino and Raspberry Pi. The MQTT server (broker), the MQTT client (subscriber), and the MQTT publisher are required to initiate MQTT communication. Therefore, as shown in Fig. 5 , a broker is the central component of any standard MQTT protocol built on an IoT architecture. All objects and services are connected to the broker as clients. Clients can send messages as publishers and receive messages as subscribers. Published messages contain a topic that describes the content of the message (e.g., the weather in Boston, US). Each subscriber who has subscribed to the subject of the published message receives a copy of the message.
How MQTT protocol works
Device specification
Figure 6 represents the wiring of the various components of our model using the Fritzing software.
The wiring diagram of the proposed model
The ESP32 shown in Fig. 7 a is a microcontroller with built-in Wi-Fi and Bluetooth modules. It is simple to use, lightweight, and has more memory and calculating power than its competitors. This makes it an excellent choice for learning to program and creating connected objects. Furthermore, a dual processor is included in the ESP32. This enables a more fluid and faster process. Communication (Wi-Fi or Bluetooth) is handled by one processor, while the input/output control is handled by the other. In some applications, this makes the microcontroller more efficient than the widely used (and older) ESP8266, for which the processor must occasionally interrupt input/output management to commit itself entirely to communication.
Various components used in the model: a ESP32 card; b DHT11 sensor; c BMP280 sensor; d MQ135 sensor
One of the most widely used sensors is the DHT11 sensor, shown in Fig. 7 b. It can detect temperature and humidity. The DHT11 is an entirely digital device. There is no need for analog-to-digital conversion, and the sensor is simple to operate. With an accuracy of 1 °C and 1%, the sensor can measure temperatures from 0 °C to 50 °C and humidity from 20 to 90%.
The BMP280 pressure sensor (Fig. 7 c) is the best low-cost sensing solution for measuring atmospheric pressure. Because pressure changes with altitude, it can also be used as an altimeter. Using the BMP 280 sensor is easy. If we use an ESP32, we simply connect the VIN pin to the 5 V voltage pin, GND to ground, SCL to analog pin 5, and SDA to analog pin 4. Afterward, we declare the library in Arduino IDE BMP180/ BMP280, and an example code for air pressure calculation is then added automatically in the program.
The MQ-135 gas sensor (Fig. 7 d) can detect gases like NH 3 , sulfur (S), benzene (C 6 H 6 ), CO 2 , and other harmful gases and fumes. Similar to other MQ series gas sensors, this sensor has a digital and analog output pin. When the level of these gases exceeds a threshold limit in the air, the digital pin rises. This threshold value can be adjusted using the onboard potentiometer. The analog output pin releases an analog voltage that can be used to approximate the level of these gases in the atmosphere. The MQ135 air quality sensor module operates at 5 V and draws around 150 mA. It must warm up before it can give accurate results.
Experimental setup and results
Figure 8 shows the realized embedded weather station prototype with its components for reading meteorological parameters and assessing air quality. A power source feeds each system component. The sensor block that is employed for meteorological measurements and observations is managed by the ESP32, which serves as the device's brain.
Photograph of the proposed embedded weather station
The suggested smart meteorological station based on FIS was tested and validated via an experimental research study. A set of data collected by different sensors was examined to conduct this investigation.
The meteorological parameters were measured using the suggested smart weather station prototype throughout 24 h (07 April 2022). Measurements were performed in the Faculty of Sciences and Technologies (FSTH) in Al Hoceima city in Morocco. Al Hoceima is geographically located in the northern center of Morocco on the Mediterranean coast, with a surface area of 3550 km 2 . Its province has approximately 300,000 inhabitants in the urban community. Al Hoceima has a Mediterranean climate with dry and moderately hot summers and rainy, snowy, and cool winters. The system location is presented in Fig. 9 .
Embedded weather station location using Google Maps
In our model, the DHT-11 sensor is employed to measure humidity and temperature. After placing the attached DHT-11 sensor in the weather station, in the described earlier location, we noticed that the model starts to record various humidity values. Figure 10 a depicts the obtained values. The sensor's readout ranges from 69 to 89%. The outcome of this experiment is regarded as a demonstration that confirms the sensor's response to humidity levels. As a result, it demonstrates that our system works efficiently for detecting different humidity levels for a given location. We also conducted a further simple test to evaluate the temperature values using the same DHT-11sensor. The retrieved temperature measurement is represented in Fig. 10 c. The result shows that the temperature range is between 10.8 and 21 °C. This change demonstrates the system's capability to detect various temperature values. Moreover, the BMP-280 sensor is used to test our proposed model’s ability to measure various atmospheric pressure values. The output of the atmospheric pressure sensor is shown in Fig. 10 b. The air pressure ranges from 1023.5 to 1025.2 hPa. To provide the altitude, the BMP-280 sensor was also used as an altimeter in this experiment.
Measured meteorological parameters: a the recorded relative humidity in [%]; b the recorded ambient atmospheric pressure in [hPa]; c the recorded temperature in [°C]
Besides, the suggested low-cost weather device uses a fuzzy logic model to monitor air quality. To evaluate the efficiency of the model, the MQ-135 sensor was used to measure CO 2 and NO 2 levels in the air. The two values were taken as inputs for our model, while the output is the AQI. Two types of membership functions were used for input and output parameters (i.e., trapezoidal and triangular). Based on the range of values for each category, the boundary values presented in Table 2 were used to determine the corresponding membership function for each pollutant type as well as for the AQI. In our experiment, we evaluated the state of the air quality in Al Hoceima city. As indicated in a single measured point, values provided by the MQ-135 sensor are 20 ppm and 11 ppm for CO 2 and NO 2 , respectively. According to Table 2 , the particular membership functions with a specific range of (0.0 ≤ 20.5 ≤ 300.0) and (0 ≤ 11 ≤ 53) are selected. In other words, the membership function “Very low” is assigned for the two inputs in this case. Consequently, the appropriate fuzzy rule among the list in Table 4 is chosen to be applied. Afterwards, the fuzzy inference model aggregates all the input data to provide the fuzzy AQI value in the output. Finally, a defuzzification procedure was performed using Eq. 9 . The AQI equals 35.00000000000002 after this final phase. Figure 11 depicts the AQI membership function highlighted with a black line corresponding to the calculated AQI. In this case, that means the air quality is excellent.
Example of the defuzzification process using the COG method
Moreover, as shown in Fig. 12 , the surface view demonstrates how the output AQI is affected by CO 2 and NO 2 levels in the air. The three-dimensional surface view is used to see how one value of the outputs is dependent on one or two values of the input data. The X and Y -axes correspond to the input values of air pollutants, while the Z -axis indicates the AQI output value. The plot indicates that when one of the air pollutant input concentrations rises, corresponds to an increase in the AQI.
3D surface view showing the relationship between AQI and the concentration of CO 2 and NO 2
The block hardware system of the proposed system uses the MQTT protocol to broadcast via the Internet sensor data to a mobile/web application designed by Node-RED (Klawon et al. 2017 ). Node-RED is a “low code”, simple, fundamental, and free programming tool with an intuitive graphical user interface that makes it easy to link physical components, the application programming interface (API), and web services. It was developed in JavaScript and built on Node.js to run on the network using low-cost hardware, such as Raspberry Pi.
In particular, Node-RED employs a graphical programming approach based on flows that allow programming almost entirely without code. Rather, it uses predefined blocks of code called “nodes” that must be linked together to form a program. Therefore, a developer or non-developer can easily design useful applications utilizing simple flows. Figure 13 a represents the web application dashboard layout for users, and Fig. 13 b shows the mobile app layout. The web application provides the possibility to consult the values of meteorological characteristics in real time remotly. Besides, the mobile application was developed to complement the website's work and to provide a more convenient and accessible version to users on medium and small devices. It communicates to the user an appropriate interface for consulting data and manipulating the system while remaining remote from the system. In addition to the AQI, every label on the dashboard displays a distinct sensor value. Each reading panel is featured with a label and a level indicator.
The end-users dashboard: a web dashboard version; b mobile dashboard version
The climate change impacts and the transition in weather states, as well as the various effects of air pollution, led researchers to get interested in monitoring environmental parameters and air quality to minimize and handle its intensity. Very few of the proposed weather stations in the literature had achieved the guarantee of a quick and easy weather update, due to the lack of real-time data acquisition. Furthermore, the majority of the designs are simulation-based and did not provide all the necessary information under real conditions (Dionova et al 2020 ; Ghorbani and Zamanifar 2022 ; Katushabe et al. 2021 ).
Table 5 establishes a comparison of some reported works based on the adopted methodologies and used technologies in these research works (Hasanh et al. 2021 ; Dayananda et al. 2021 ; Saini et al. 2022 ; Si Tayeb et al. 2022 ), with our proposed model. In contrast, although the authors (Dayananda et al. 2021 ; Si Tayeb et al. 2022 ) were successful in obtaining values for some dangerous gases such as CO 2 , CO, NH 3 , and NO 2 , but they did not use this information to assess air quality. Furthermore, authors (Hasanh et al. 2021 ; Dayananda et al. 2021 ; Saini et al. 2022 ) provided no solution for visualizing the meteorological data collected remotely. Hence, in the present work we did assess the air quality using the collected values of some dangerous gases.
Conclusion and future work
Due to the traditional weather monitoring stations' limited data access, large size, high cost, and inability to expand, many researchers have recently focused on other alternative solutions that take advantage of advanced sensing technologies such as IoT. Thus, this study was carried out in this context. The purpose of the proposed system is to create a low-cost, robust, modular weather station based on IoT and a fuzzy inference model. The proposed model monitors various weather parameters including ambient temperature, relevant humidity, atmospheric pressure, altitude, and CO 2 and NO 2 levels. A model based on a fuzzy inference system has been also presented to determine the state of air quality for a given location. The model was tested in real-time to evaluate the air quality in al Hoceima city based mainly on air pollutant data concentrations (CO 2 and NO 2 ). It is concluded that the fuzzy logic model is capable of efficiently determining the air quality index. The final data are broadcasted wirelessly using the MQTT protocol to the end-users dashboard. The suggested system can be improved in various ways in the future. For example, increasing the number of sensors would boost the precision of the measured environmental parameters. Additionally, the air quality could be calculated by considering additional pertinent pollutants, such as sulfur dioxide (SO 2 ), carbon monoxide (CO), O 3 , and PM x .
Availability of data and materials
The authors declare that there is no external data or materials involved in this study.
Agrawal N, Khurana D, Ahuja S (2019) IoT based weather station. Int J Sci Res 8(5):768–770
Google Scholar
Almusaylim ZA, Zaman N (2019) A review on smart home present state and challenges: linked to context-awareness internet of things (IoT). Wirel Netw 25(6):3193–3204. https://doi.org/10.1007/s11276-018-1712-5
Article Google Scholar
Ballesteros-Pérez P, Smith ST, Lloyd-Papworth JG, Cooke P (2018) Incorporating the effect of weather in construction scheduling and management with sine wave curves: application in the United Kingdom. Constr Manag Econ 36(12):666–682. https://doi.org/10.1080/01446193.2018.1478109
Bellini P, Nesi P, Pantaleo G (2022) IoT-enabled smart cities: a review of concepts, frameworks and key technologies. Appl Sci 12(3):1607–1607. https://doi.org/10.3390/app12031607
Belman-Flores JM, Rodríguez-Valderrama DA, Ledesma S, García-Pabón JJ, Hernández D, Pardo-Cely DM (2022) A review on applications of fuzzy logic control for refrigeration systems. Appl Sci 12(3):1302. https://doi.org/10.3390/app12031302
Brandão FC, Lima MAT, Pantoja CE, Zahn J, Viterbo J (2021) Engineering approaches for programming agent-based IoT objects using the resource management architecture. Sensors 21(23):8110–8110. https://doi.org/10.3390/s21238110
Carbajal-Hernández JJ, Sánchez-Fernández LP, Carrasco-Ochoa JA, Martínez-Trinidad JFCO (2012) Assessment and prediction of air quality using fuzzy logic and autoregressive models. Atmos Environ 60:37–50. https://doi.org/10.1016/j.atmosenv.2012.06.004
Carlos-Mancilla MA, Luque-Vega LF, Guerrero-Osuna HA, Ornelas-Vargas G, Aguilar-Molina Y, González-Jiménez LE (2020) Educational mechatronics and internet of things: a case study on dynamic systems using MEIoT weather station. Sensors 21(1):181–181. https://doi.org/10.3390/s21010181
Cavallaro F (2015) A Takagi-Sugeno fuzzy inference system for developing a sustainability index of biomass. Sustainability 7(9):12359–12371. https://doi.org/10.3390/su70912359
Dayananda LPSSK, Narmilan A, Pirapuraj P (2021) An IoT based low-cost weather monitoring system for smart farming. Agric Sci Digest A Res J 42:393–399. https://doi.org/10.18805/ag.D-370
De Oliveira Filho JI, Trichili A, Ooi BS, Alouini MS, Salama KN (2022) Self-powered weather station for remote areas and difficult-access locations. Opt Express 30:2668–2668. https://doi.org/10.1364/OE.441983
Dionova BW, Mohammed MN, Al-Zubaidi S, Yusuf E (2020) Environment indoor air quality assessment using fuzzy inference system. ICT Express 6(3):185–194. https://doi.org/10.1016/j.icte.2020.05.007
Djordjevic M, Dankovic D (2019) A smart weather station based on sensor technology. Facta Univ Ser Electron Energetics 32(2):195–210. https://doi.org/10.2298/FUEE1902195D
Durrani A, Khurram M, Khan HR 2019 Smart Weather Alert System for dwellers of different Areas. In: 2019 16th International Bhurban Conference on Applied Sciences and Technology (IBCAST), 333‑339. https://doi.org/10.1109/IBCAST.2019.8667190
EPA. (2014) Technical Assistance Document for the Reporting of Daily Air Quality. https://www.epa.gov/sites/default/files/2014-08/documents/careforyourair.pdf . Accessed 20 Dec 2022
Eriyadi M, Abdullah AG, Hasbullah H, Mulia SB (2021) Internet of things and fuzzy logic for smart street lighting prototypes. IAES Int J Artif Intell 10(3):528. https://doi.org/10.11591/ijai.v10.i3.pp528-535
Ghorbani A, Zamanifar K (2022) Type-2 fuzzy ontology-based semantic knowledge for indoor air quality assessment. Appl Soft Comput 121:108658. https://doi.org/10.1016/j.asoc.2022.108658
Girija C, Harshalatha H, Andreanna GS, Pushpalatha HP (2018) Internet of Things (IOT) based weather monitoring system. Int J Eng Res Technol 6:1–4
Hasanh SS, Miry AH, Salman TM (2021) Air pollution monitoring based fuzzy controller with embedded system. J Phys Conf Ser 2:022085. https://doi.org/10.1088/1742-6596/1879/2/022085
Islam SkF, Akter M, Uddin MS (2021) Design and implementation of an internet of things based low-cost smart weather prediction system. Int J Inf Tech 13(5):2001–2010. https://doi.org/10.1007/s41870-021-00732-9
Janeela Theresa MM, Joseph Raj V (2013) Fuzzy based genetic neural networks for the classification of murder cases using Trapezoidal and Lagrange Interpolation Membership Functions. Appl Soft Comput 13(1):743–754. https://doi.org/10.1016/j.asoc.2012.08.025
Katushabe C, Kumaran S, Masabo E (2021) Fuzzy based prediction model for air quality monitoring for Kampala City in East Africa. Appl Syst Innov 4(3):44–44. https://doi.org/10.3390/asi4030044
Klawon K, Ryan P, Gold J (2017) Using OSUS and node red to integrate IoT devices based on events. In: Ground/Air Multisensor Interoperability, Integration, and Networking for Persistent ISR VIII (10190):2–47. https://doi.org/10.1117/12.2266580
Kodali RK, Mandal S (2016) IoT based weather station. In: 2016 international conference on control, instrumentation, communication and computational technologies (ICCICCT), 680‑683. https://doi.org/10.1109/ICCICCT.2016.7988038
Kumar S, Jasuja A (2017) Air quality monitoring system based on IoT using Raspberry Pi. In: 2017 International conference on computing, communication and automation (ICCCA), 1341–1346. https://doi.org/10.1109/CCAA.2017.8230005
Kumari S, Kasliwal MH, Valakunde ND (2018) An android based smart environmental monitoring system using IoT. In M. Singh, P. K. Gupta, V. Tyagi, J. Flusser, & T. Ören (Éds.). Adv Comput Data Sci 906:535–544. https://doi.org/10.1007/978-981-13-1813-9_53
Lee CH, Lin SH, Kao CL, Hong MY, Huang PC, Shih CL, Chuang CC (2020) Impact of climate change on disaster events in metropolitan cities -trend of disasters reported by Taiwan national medical response and preparedness system. Environ Res 183:109186–109186. https://doi.org/10.1016/j.envres.2020.109186
Yu Liu (2019) IoT Smart Weather Station Hardware. College of Engineering, University of Florida https://ufdcimages.uflib.ufl.edu/AA/00/06/89/89/00001/Smart_Weather_Honors_Thesis.pdf . Accessed 19 June 2022
Mahapatra SS, Nanda SK, Panigrahy BK (2011) A cascaded fuzzy inference system for Indian river water quality prediction. Adv Eng Softw 42(10):787–796. https://doi.org/10.1016/j.advengsoft.2011.05.018
Mahboob Alam T, Shaukat K, Khelifi A, Ahmad Khan W, Muhammad Ehtisham Raza H, Idrees M, Luo S, Hameed IA (2022) Disease diagnosis system using IoT empowered with fuzzy inference system. Comput Mater Continua 70(3):5305–5319. https://doi.org/10.32604/cmc.2022.020344
Mahon R, Petrie JA, Trotman A, Eyzaguirre J, Burrowes R, Matthews L, Van Meerbeeck CJ, Charles A (2021) Climate services for tourism : insights from Caribbean Small Island Developing States. Clim Serv 24:100262–100262. https://doi.org/10.1016/j.cliser.2021.100262
Masoum MAS, Fuchs EF (2015) Optimal placement and sizing of shunt capacitor banks in the presence of harmonics. In: Power quality in power systems and electrical machines, pp 887–959. https://doi.org/10.1016/B978-0-12-800782-2.00010-5
Megantoro P, Aldhama SA, Prihandana GS, Vigneshwaran P (2021) IoT-based weather station with air quality measurement using ESP32 for environmental aerial condition study. TELKOMNIKA (Telecommunication Computing Electronics and Control) 19(4): 1316‑1316. https://doi.org/10.12928/telkomnika.v19i4.18990
Messan S, Shahud A, Anis A, Kalam R, Ali S, Aslam MI (2022) Air-MIT: air quality monitoring using internet of things. IEEC 20(1):45. https://doi.org/10.3390/engproc2022020045
Midtfjord AD, Bin RD, Huseby AB (2022) A decision support system for safer airplane landings: predicting runway conditions using XGBoost and explainable AI. Cold Reg Sci Technol 199:103556–103556. https://doi.org/10.1016/j.coldregions.2022.103556
Molnár J, Kirešová S, Vince T, Kováč D, Jacko P, Bereš M, Hrabovský P (2020) Weather station IoT educational model using cloud services. JUCS J Univ Comput Sci 26(11):1495–1512. https://doi.org/10.3897/jucs.2020.079
Murugan R, devi RK, Albert AJ, Nayak DK (2020) An IOT Based weather monitoring system to prevent and alert Cauvery Delta District of Tamilnadu, India. In: Pandian AP, Senjyu T, Islam SMS, Wang H (Éds) Proceeding of the international conference on computer networks, big data and IoT (ICCBI - 2018) (Vol. 31, p. 462‑469). Springer International Publishing. https://doi.org/10.1007/978-3-030-24643-3_55
Muslim MA, Setyawan RA, Basuki A, Razak AA, Hario FP, Fernando E (2021) IOT based climate monitoring system. IOP Conf Ser Earth Environ Sci 746(1):012044–012044. https://doi.org/10.1088/1755-1315/746/1/012044
Patel P, Patel Y, Patel U, Patel V, Patel N, Oza P, Patel U (2022) Towards automating irrigation: a fuzzy logic-based water irrigation system using IoT and deep learning. Model Earth Syst Environ 8(4):5235–5250. https://doi.org/10.1007/s40808-022-01452-0
Ramachandran V, Ramalakshmi R, Kavin B, Hussain I, Almaliki A, Almaliki A, Elnaggar A, Hussein E (2022) Exploiting IoT and its enabled technologies for irrigation needs in agriculture. Water 14(5):719–719. https://doi.org/10.3390/w14050719
Saini J, Dutta M, Marques G (2022) ADFIST: adaptive dynamic fuzzy inference system tree driven by optimized knowledge base for indoor air quality assessment. Sensors 22(3):1008. https://doi.org/10.3390/s22031008
Shaker MN, Walla YYA (2017) Design and implementation of a smart weather station based on internet of things. J Babylon Univ Eng Sci 25:1769–1778
Sharma P, Prakash S (2021) Real time weather monitoring system using Iot. ITM Web Conf 40:01006. https://doi.org/10.1051/itmconf/20214001006
Si Tayeb M, Anis Benallal M, Salim Benabadji M, Houari A (2022) IoT monitoring system for air quality assessment and collecting data. Indones J Electr Eng Comput Sci 28(3):1592. https://doi.org/10.11591/ijeecs.v28.i3.pp1592-1600
Siva Nagendra Reddy P, Vishnu Vardhan D, Tharun Kumar Reddy K, Ajay Kumar Reddy P (2018) An IoT-based low-cost weather monitoring and alert system using node MCU. In: Satapathy SC, Bhateja V, Das S (Éds) Smart Computing and Informatics 77: 265–274. https://doi.org/10.1007/978-981-10-5544-7_27
SkF I, Akter M, Uddin MS (2021) Design and implementation of an internet of things based low-cost smart weather prediction system. Int J Inf Technol 13(5):2001–2010. https://doi.org/10.1007/s41870-021-00732-9
Sung WT (2021) Hsiao SJ (2021) Building an indoor air quality monitoring system based on the architecture of the Internet of Things. EURASIP J Wirel Commun Netw 1:153. https://doi.org/10.1186/s13638-021-02030-1
Türkşen IB (2006) FOUNDATION. In: An ontological and epistemological perspective of fuzzy set theory 1‑54. Elsevier. https://doi.org/10.1016/B978-044451891-0/50050-8
Verma G, Gautam A, Singh A, Kaur R, Garg A, Mehta M (2017) IOT application of a remote weather monitoring & surveillance station. Int J Smart Home 11(1):131–140. https://doi.org/10.14257/ijsh/2017.11.1.09
Wu H, Xu Z (2020) Fuzzy logic in decision support: methods, applications and future trends. Int J Comput Commun Control 1:1. https://doi.org/10.15837/ijccc.2021.1.4044
Xu J, Gu B, Tian G (2022) Review of agricultural IoT technology. Artif Intell Agric 6:10–22. https://doi.org/10.1016/j.aiia.2022.01.001
Yesmin T, Carter MW, Gladman AS (2022) Internet of things in healthcare for patient safety: an empirical study. BMC Health Serv Res 22(1):278–278. https://doi.org/10.1186/s12913-022-07620-3
Yonar A, Yonar H (2022) Modeling air pollution by integrating ANFIS and metaheuristic algorithms. Model Earth Syst Environ. https://doi.org/10.1007/s40808-022-01573-6
Zadeh LA (1965) Fuzzy sets. Inf Control 8(3):338–353. https://doi.org/10.1016/S0019-9958(65)90241-X
Zaric N, Spalevic V, Bulatovic N, Pavlicevic N, Dudic B (2021) Measurement of air pollution parameters in montenegro using the ecomar system. Int J Environ Res Public Health 18(12):6565. https://doi.org/10.3390/ijerph18126565
Zhai X, Huang H, Sze NN, Song Z, Hon KK (2019) Diagnostic analysis of the effects of weather condition on pedestrian crash severity. Accid Anal Prev 122:318–324. https://doi.org/10.1016/j.aap.2018.10.017
Download references
Acknowledgements
The authors would like to acknowledge all researchers whose papers were cited in the current article.
The authors declare that there is no funding involved in this research.
Author information
Authors and affiliations.
ISISA, FS, Abdelmalek Essaadi University, Tetouan, Morocco
Mohamed Fahim & Abderrahim El Mhouti
SDIC, ENSAH, Abdelmalek Essaadi University, Tetouan, Morocco
Tarik Boudaa
SEISE, FSTE, Moulay Ismail University, Meknes, Morocco
Abdeslam Jakimi
You can also search for this author in PubMed Google Scholar
Contributions
All the authors have contributed equally to this study.
Corresponding author
Correspondence to Mohamed Fahim .
Ethics declarations
Conflict of interest.
The author declares no conflicts of interest.
Additional information
Publisher's note.
Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations.
Rights and permissions
Springer Nature or its licensor (e.g. a society or other partner) holds exclusive rights to this article under a publishing agreement with the author(s) or other rightsholder(s); author self-archiving of the accepted manuscript version of this article is solely governed by the terms of such publishing agreement and applicable law.
Reprints and permissions
About this article
Fahim, M., El Mhouti, A., Boudaa, T. et al. Modeling and implementation of a low-cost IoT-smart weather monitoring station and air quality assessment based on fuzzy inference model and MQTT protocol. Model. Earth Syst. Environ. 9 , 4085–4102 (2023). https://doi.org/10.1007/s40808-023-01701-w
Download citation
Received : 24 August 2022
Accepted : 18 January 2023
Published : 06 February 2023
Issue Date : November 2023
DOI : https://doi.org/10.1007/s40808-023-01701-w
Share this article
Anyone you share the following link with will be able to read this content:
Sorry, a shareable link is not currently available for this article.
Provided by the Springer Nature SharedIt content-sharing initiative
- Fuzzy inference system
- Smart weather station
- Air quality
- MQTT protocol
- Air pollution
- Find a journal
- Publish with us
- Track your research
COMMENTS
The system proposed is an advanced solution for monitoring the weather conditions at a particular place and make the information visible anywhere in the world. The technology behind this is Internet of Things (IoT), which is an advanced and efficient solution for connecting the things to the internet and to connect the entire world of things in ...
The proposed system in [39] is an IoT-based solution for advanced weather monitoring, capable of measuring various parameters such as temperature, humidity, wind speed, light intensity, UV ...
Abstract- The system proposed in this paper is an advanced solution for monitoring the weather conditions at a particular place and make the information visible anywhere in the world. The technology behind this is Internet of Things (IoT), which is an advanced and efficient solution for connecting the things to
Continuous climate monitoring. An IoT-based weather reporting system tracks all environmental changes, whether small or big. It means you always know what's happening and can prepare for unfavorable weather beforehand. Preventing losses. The IoT platform for weather monitoring serves as your early warning signal. It allows you to minimize ...
this gap by developing an IoT-based weather monitoring system that is cost-effective, easy to deploy, and tailored to the specific needs of smaller regions. C. Problem Definition The problem addressed in this research paper pertains to the absence of a practical and cost-effective weather monitoring system tailored for small regions.
It is a system that involves in acquiring weather and environment data using advanced electronic sensors and sending them to a web server vi IoT Based Weather Monitoring System Using Arduino Sep 3, 2022
The Internet of Things (IoT) is a new paradigm that aspires to integrate all smart physical things such that they will always give smart and cognitive solutions to people. Internet of things (IoT) plays a significant role in the evolution of applications in different fields such as health, education, smart cities, homes, agriculture, and so on in the current era of research and technology. The ...
How to cite this article: Islam MM. Weather Monitoring System Using Internet of Things. Trends Tech Sci Res. 2019; 3(3): 65-69. DOI: 10.19080/TTSR.2019.03.555615 0066 Trends in Technical & Scienti c Research to monitor and update the condition of the surroundings regular-ly. Conditions of the environment can be tracked by gathering the
The IoT-based weather monitoring system using NodeMCU ESP8266 represents a pioneering approach to weather data acquisition, analysis, and dissemination. ... Case Study-2: When the atmosphere is normal. When the temperature in atmosphere becomes normal than the gauge of the temperature, ...
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 ...