Next Article in Journal
MAS-YOLOv11: An Improved Underwater Object Detection Algorithm Based on YOLOv11
Previous Article in Journal
High Precision Detection Pipe Bursts Based on Small Sample Diagnostic Method
Previous Article in Special Issue
Development of a Printed Sensor and Wireless Measurement System for Urination Monitoring
 
 
Font Type:
Arial Georgia Verdana
Font Size:
Aa Aa Aa
Line Spacing:
Column Width:
Background:
Article

New Model for Weather Stations Integrated to Intelligent Meteorological Forecasts in Brasilia

by
Thomas Alexandre da Silva
1,*,
Andre L. M. Serrano
1,
Erick R. C. Figueiredo
1,
Geraldo P. Rocha Filho
2,
Fábio L. L. de Mendonça
1,
Rodolfo I. Meneguette
3 and
Vinícius P. Gonçalves
1
1
Universidade de Brasília (UnB), Campus Darcy Ribeiro, Brasília 70910-900, Brazil
2
Universidade Estadual do Sudoeste da Bahia (UESB), Campus Vitória da Conquista, Conquista 45083-900, Brazil
3
Universidade de São Paulo (USP), Campus São Carlos, São Paulo 05508-030, Brazil
*
Author to whom correspondence should be addressed.
Sensors 2025, 25(11), 3432; https://doi.org/10.3390/s25113432
Submission received: 26 February 2025 / Revised: 22 May 2025 / Accepted: 26 May 2025 / Published: 29 May 2025

Abstract

:
This paper presents a new model for low-cost solar-powered Automatic Weather Stations based on the ESP-32 microcontroller, modern sensors, and intelligent forecasts for Brasilia. The proposed system relies on compact, multifunctional sensors and features an open-source firmware project and open-circuit board design. It includes a BME688, AS7331, VEML7700, AS3935 for thermo-hygro-barometry (plus air quality), ultraviolet irradiance, luximetry, and fulminology, besides having a rainfall gauge and an anemometer. Powered by photovoltaic panels and batteries, it operates uninterruptedly under variable weather conditions, with data collected being sent via WiFi to a Web API that adapts the MZDN-HF (Meteorological Zone Delimited Neural Network–Hourly Forecaster) model compilation for Brasilia to produce accurate 24 h multivariate forecasts, which were evaluated through MAE, RMSE, and R2 metrics. Installed at the University of Brasilia, it demonstrates robust hardware performance and strong correlation with INMET’s A001 data, suitable for climate monitoring, precision agriculture, and environmental research.

1. Introduction

Understanding weather patterns and their changes is essential to optimize agricultural production and ensure food security  [1,2], while being closely related to multiple other sectors such as aviation, general transportation [3], and even influencing local culture [4]. As such, there has been a historical interest in recording various meteorological variables, such as air temperature, relative humidity, atmospheric pressure, rainfall, wind speed, direction, and many others [5]. Traditionally, in conventional weather stations (CWS), measurements used to be taken using analog instruments, such as barographs, anemographs, dry and wet-bulb mercury-based thermometers from thermohygrographs, and many others [5,6,7], with the first AWSs (Automatic Weather Stations) emerging only during World War II, developed by the US Navy [8]. Furthermore, since the 1980s, AWSs have been increasingly used in the agricultural sector due to improvements in the energy efficiency of data loggers and communications [9]. This phenomenon is also due to the advent of low-power and low-cost wireless modules, which motivated their applications to expand from industrial to agricultural applications [10], allowing the development of IoT (Internet of Things) in this field. Given such socioeconomic importance, general academic output to monitor climate changes has increased significantly [11]. Some biomes, such as the Brazilian Cerrado, are known to be getting hotter, drier, and, therefore, more prone to wildfires [12], which highlights the urge for AWSs in such places.
Considering the agricultural applications of IoT, most technical productions in this field occur in a fragmented manner and lack cooperation [13], especially for solutions in early stages of development—thus the importance of open architectures and standards in this matter. Besides all advances, most professional AWS can still cost tens of thousands of dollars [14,15,16], imposing challenges to the large-scale deployment and maintenance of such devices [17], with inexpensive models emerging as a necessity. In this context, real-time meteorological information should be systematically researched, as well as the prediction of renewable energy and estimating the impact of natural disasters [18]. Furthermore, Stith et al. (2018) [19] emphasize the importance of meteorological records for predictive practices based on numerical methods. Such data also make the development of ML (Machine Learning) and DL (Deep Learning) methods viable, as highlighted by Da Silva et al. (2024) [20], Zaytar (2016) [21], and Kreuzer et al. (2020) [22]. In these works, LSTM (Long Short-Term Memory) networks are widely applied to generate accurate hourly forecasts, with the first presenting a public solution applied to the Cerrado region of Brasilia.
Thus, this study aims to provide a complete, open-source, and open-circuit low-cost model for microcontrolled solar-powered AWSs that are capable of being integrated into intelligent forecasts and prove themselves accurate for the Cerrado Region of Brasilia. It is intended to monitor several data, such as temperature, humidity, pressure, UV irradiance, ambient illuminance, anemometry, rainfall, air quality, lightning, and hardware health, as well as estimating total solar irradiance. In addition to being WiFi-integrated, its Web API (Application Programming Interface) is desired to run an MZDN-HF (Meteorological Zone Delimited Neural Network–Hourly Forecaster) [20] compilation to execute intelligent 24 h forecasts and confirm whether or not it is applicable for custom stations in Brasilia without requiring new compilations.

Related Studies

In the context of microcontroller-based AWS, Parvez et al. (2016) [23] proposes a photovoltaic-powered station based on LM-35, HSM-20G, MPL115A1, GUVA-S12SD, and TEMT6000 modules for temperature, humidity, pressure, UVI (Ultraviolet Index), and illuminance sensing, respectively, along with an LCD (Liquid Crystal Display). In addition to a vast set of air quality sensors, an authorial rainfall gauge and anemometers were proposed. Despite MPL115A1 being discontinued, the prototype is very complete and integrates GSM (Global System for Mobile Communications) communications, focusing on inexpensiveness for popular use in rural areas of Bangladesh. In the next year, Li et al. (2017) [18] developed a GPRS (General Packet Radio Service)-oriented portable station to measure wind speed, wind direction, light intensity, temperature, and humidity in Jinan, China, with a DS18B20 and a DHT11 for thermohygrometry and a BH1750FVI for luximetry. Although it presented good results, with little data loss during transmissions, it should be noted that some of the sensors have a reduced range, as DHT11 varies from 20% to 80% in humidity. Therefore, although prominent, low-cost, and compact, such a prototype might not be suitable for very humid or dry zones. Posteriorly, Megantoro et al. (2021) proposed a wireless ESP-32-based AWS model [24], equipped with a DHT11 and BME280 for thermohygrometry, a rainfall gauge, an anemometer, a UVI module, and several MQ-family sensors for air quality in Airlangga (Indonesia). In addition to its WiFi connection, the author’s model had an LCD for immediate data display. Although not solar-powered, it brought a vast diversity of measurements into a compact prototype with modern sensors and public circuitry details.
Furthermore, Wang et al. (2022) [25] made significant contributions when proposing a solar-powered AWS with open circuit design based on a BME680—a thermo-hygro-barometer plus air quality meter, all in one. That being a more recent work, its sensor choice is both more precise and cheaper than the sets previously reported. BME68X air quality resistance was also paired with and complemented by a ZPH02 dust sensing module. In terms of solar data, the author cites VEML6070 for I2C UV irradiance readings, despite its obsoletism [26]. Furthermore, Wang et al. (2022) [25] highlight the social importance of adapting technology to Chinese reality with a national production of weather station models. Regarding air quality, Bhandekar et al. (2024) [27] proposed a solar-powered AWS capable of sensing air quality through a set of many MQ sensors, measuring many gases, vapors, alongside with PM (Particulate Matter) specific modules. Similarly, Fahim et al. (2023) [28] proposed a prototype that monitors air pollutants to infer the AQI (Air Quality Index) through Fuzzy Logic. Although not deployed, nor solar-powered, it presents a significant contribution in the field of A.I. (Artificial Intelligence) integrated AWSs.
Furthermore, in the field of ML-based weather forecasts, an increasing number of research works have been produced, with many relying on LSTMs or Convolutional LSTMs, such as Kreuzer et al. (2020) [22], Hou et al. (2022) [29], Qing and Niu (2018) [30], Ozbek et al. (2022) [31]. In addition, in the Brazilian Cerrado region, Da Silva et al. (2024) [20] propose an encoder–decoder format of LSTM networks, trained and optimized using 5 years of hourly data provided by Station A001 [32], an official INMET (Brazil’s National Institute of Meteorology) AWS located in Brasilia. After some parameter hyper tuning experiments, the model was able to predict a multivariate set of hourly data over a one-day horizon. The model is named MZDN-HL, and after hyperparameter optimization, it achieved a robust performance of 1.32 °C, 7.14%, 0.629 hPa, and 56.7 W/m2 of MAE (Mean Absolute Error) for temperature, humidity, pressure, and solar irradiance forecasts, besides being a low-computational-cost solution and easy to implement.
Therefore, the relevance of an AWS that combines wireless integration, solar power, data completeness, open architecture, and good cost–precision balance is clear. Additionally, it is notably interesting to rely on modern sensors that are still available to guarantee the experiment’s full reproducibility and adequate for measurement range, keeping it reliable to local conditions (in this case, the Cerrado biome in Brasilia). Finally, for solutions installed in open environments that are wireless and intended to be minimally energy-saving, the LCD modules’ necessity for in-person data checking, as seen in some works, can be discarded, as well as high-power-consuming sensors. Finally, see Table 1 for comparisons between this paper’s contributions and some prominent works in the field.

2. Materials and Methods

The proposed AWS contains a set of electronic and electromechanical sensors integrated into a central board that, being powered by batteries and solar panels, connects its inputs to an ESP32 WROOM-32D microcontroller, designed and distributed by Espressif, in Shanghai, China. This one is responsible for processing the input signals and serializing the data for WiFi transmission to a Web API that persists, displays, and produces MZDN-HF based forecasts. See Figure 1 for structural clarification.

2.1. Sensors

As for the electronic sensors, the chosen set was BME688, AS7331, VEML7700, and AS3935 for thermo-hygro-barometry (plus air quality resistance), ultraviolet irradiance (UVA, UVB, and UVC separately), luximetry, and lightning, in this respective order. See Figure 2 for better visualization of the modules. The BME688 was specifically chosen due to its multisensing capabilities, bringing it simplicity and reliable information over four important weather variables. Its air quality module is MOX (Metal Oxide)-based, that is, it relies on a heated metal whose resistance varies through exposition to reducing gases, such as CO, H 2 , NH 3 , H 2 S , VOCs (Volatile Organic Compounds), etc. Although BME688 air quality resistance is not directly convertible to any specific pollutant concentration in PPM or PPB, it still offers good relative reports over time. AS7331 was chosen for being on of the few market solutions up to the current date to actually output results in irradiance (W/m2) for three UV spectrums; VEML7700 due to its high maximum value of 120 kLx in comparison to other modular lux-meters; and AS3935 due to being one of the few lightning sensors available in the market at this moment. All four sensors were chosen considering their small size, electrical efficiency, and ease of implementation, as evidenced by their I2C compatibility, allowing their data buses to be shared.
As electromechanical sensors, a generic tipping bucket rain gauge and anemometer with wind vane are included in the proposed solution—all being hall-effect based with magnets attached to rotating pieces. Both a pluviometer and an anemometer can be built from scratch via 3D printing or bought from local providers. In this experiment, they are, respectively, PB10 and SVDV10, provided by Usinainfo [33], chosen due to it being a national Brazilian producer.
For any generic tipping bucket pluviometer, as in Figure 3, an event occurs when one of its two buckets is full and, being heavy enough, it rotates, spilling its water and forcing the opposite bucket up, towards the upper funnel. When this other bucket is filled, its weight forces another rotating movement that empties it, completing the cycle with the first bucket back upwards. With a small magnet in the bucket’s structure and a hall-effect sensor facing it, each movement is sensed as a pulse and accounts for a certain volume of water. In this current experiment, the chosen capacity was that of 0.25 mm. This whole process allows the measurement of a cumulative value over a given interval.
For the anemometer, portrayed in Figure 4, the principle is similar. Each one of its rotations triggers a hall sensor with a magnet, switching two wires and accounting for one pulse on the microcontroller. The amount of pulses received is then used to calculate the average tangential speed during Δ t , with the radius between the axis and the cups being a mechanical constant of the system. Its wind vane is also hall-effect-based, relying on a magnet switching over eight different resistors to influence the final tension value. Finally, see Table 2 for technical details on both electronic and electromechanicals.

2.2. Solar Powering

Finally, autonomy is a key factor for IoT projects in rural areas. Therefore, long-lasting batteries are required to keep the station running for 12 h without sunlight and panels capable of fully recharging them during daylight hours, even on cloudy days. The 12 h value was chosen considering medium and low latitudes (consistent with the Brazilian reality), where the day and night ratio is about 1:1, even in the solstices. To achieve this autonomy, 4 cells of 2600 mAh and 3.7 V 18650 were used, along with 4 panels of 3.5 W/10 V and a 5 V–12 V to 9 V UPS charging module. See Figure 5.
The panels are connected in parallel to maintain a fixed nominal voltage of 10 V and quadruple the current. The input voltage limit of the DC UPS module is not exceeded, and a higher charging speed is obtained for the four battery cells (also connected in parallel to keep the tension and quadruple capacity). The 9 V output is subsequently regulated to 5 V and 3.3 V to power the main board. Finally, a total battery capacity of 10,400 mAh is achieved. That is enough to keep a 500 to 650 mA average consumption circuit for approximately 16 to 21 h until fully discharged (above the intended 12 h).

2.3. Components Costs

As a differential for the proposed solution is the establishment of an open framework integrating inexpensive sensors and allowing for its overall minimal cost, average market prices must be transparently shown. Therefore, see Table 3 for referenced average values up to 2025-05-16, with its first part being restrictive to electronics and the second to structural pieces. The informed values in both tables do not include the labor force to assemble and solder any of the components. Values may also vary with time and place, being susceptible to transportation and importation taxes.

2.4. Firmware

The firmware for the proposed application must be capable of collecting data from the sensors mentioned in Section 2, processing them, and sending them over WiFi to a web API responsible for storing the received data. In general, it is essential to be robust, energy efficient and capable of handling user input to configure the WiFi connection.
To this end, the first pseudocode (Algorithm 1) is responsible for initializing the ESP-32 WDT (Watchdog Timer) to recover from eventual unexpected crashes, disabling unused modules, reducing the clock frequency to 80 MHz (for battery saving), and enabling the WiFi module only to sync a clock variable with an external NTP server before disabling it again (necessary for future data packages to keep a date and time reference). Anemometry and rainfall threads are also initialized and will be triggered asynchronously by external interrupts from electromechanicals on their pins. Algorithm 2 presents these threads, each increasing its global variables ( _ a n or _ p l v , both represented as _ e v e n t C o u n t e r ) by checking a minimum 25 μs debouncing interval since the last event.    
Algorithm 1: Setup code.
Sensors 25 03432 i001
Algorithm 2: Thread function model.
Sensors 25 03432 i002
Finally, Algorithm 3 contains the main loop, performing data collection followed by a 60 s watchful light–sleep (Algorithm 4), which is interrupted by external events to count them before returning to sleep until the stipulated time elapses. After 10 min, accumulators and counters are used to calculate the average or total of each measured feature. Then, the data are serialized to JSON and sent via HTTP to the Web API. After packages are sent, variables are reset after and sensors are health-checked and restarted if necessary. Additionally, to avoid noise during analog reads (battery and wind direction), a low-pass filter (with a smoothing factor of α = 0.2 ) is applied over 200 samples, followed by a median (Algorithm 5).
Algorithm 3: Loop with sensor data collection.
Sensors 25 03432 i003
Algorithm 4: Light–sleep, watchful to interruptions.
Sensors 25 03432 i004
Algorithm 5: Low-pass median filter.
Sensors 25 03432 i005

2.5. The MZDN-HF Model for Brasilia

The MZDN-HF model approximates a windowed output Y i , containing submatrices for temperature ( T m p ), humidity ( H r ), pressure ( P r ), solar irradiance ( R d ), and rainfall ( P l v ) by a Y ^ i value calculated trough a transformation T { · } . Such transformation considers an input window sample X i with the same submatrices, except for the rainfall, and uses a set of optimized hyperparameters h ^ to minimize the error E ( · ) . In this context, h f denote all the fixed hyperparameters and h the variable ones to be hypertuned. See the equations in Expression (1) formalizing it. Finally, the process T { · } basically runs an LSTM encoder–decoder model from X i to Y i . See Figure 6 for better comprehension of data windowing.
X i , Y i = T m p X 1 H r X 1 P r X 1 R d X 1 P l v X 1 T m p X n X H r X n X P r X n X R d X n X P l v X n X ,   T m p Y 1 H r Y 1 P r Y 1 R d Y 1 T m p Y 24 H r Y 24 P r Y 24 R d Y 24 h ^ = argmin h E ( Y , Y ^ ) | Y ^ = T { X , h , h f }
When analyzing the inner architecture for the T { · } process (Figure 7), the amount of input features w X = 5 , output features w Y = 4 , and the output sequence length n Y = 24 must be comprehended as initial scope parameters. Once input is made, the first LSTM encodes the entry window X i of variable order ( n X , 5) in a fixed-size vector (1, 5), being subsequently repeated 24 times to generate a two-dimensional matrix (24, 5). This is then decoded in the subsequent LSTM network and processed by a densely connected network. Its output, now of order (24, 4), comprises a response matrix Y i . It can be seen, therefore, that the presented arrangement allowed transforming the dynamic sequence ( n X , 5) into a response of fixed size (24, 4), as desired for the defined scope of a day-long hourly forecast.

2.6. Data Adaptations to Fit MZDN-HF

The MZDN-HF model has a known compilation [34] for A001 data [32] and can be applied to adjacent locations by applying barometric corrections. Since A001 is one of INMET’s official AWS in Brasilia and counts with reliable temperature, humidity, pressure, dew point, wind speed, direction, solar irradiance, and rainfall, it is a good source of comparison for meteorological data collected in this region. Except for the dew point, all of its measurements can be compared and correlated with those gathered by the aimed sensors in Section 2.1. According to Da Silva et al. (2024) [20], the A001 dataset has shown optimal performance in MZDN-HF with h 1 ^ = { h l = 10 , p d p o u t = 0 , n X = 24 , b i d = 1 } , meaning 10 hidden layers, no dropout, 24 back-steps at each window, and bidirectional LSTMs.
Regarding barometric corrections, the pressure P 2 in a given point of altitude h 1 can be easily estimated based on the pressure P 1 of another location near enough at the altitude h 2 . Based on Wallace (2006) [35], and having T 0 as the standard average temperature in the sea level, L as the decay of temperature, g the gravity, M the air molar mass, and R the ideal gases constant, the Equation (2) is proposed as the milestone for barometric conversions. A few values can be assumed in order to operate it, such as R = 8.3144598 J/(mol·K), M = 0.0289644 kg/mol, g = 9.8 m/s2, T 0 = 288.15 K, and L = 0.0065 K/m.
P 2 = P 1 × T 0 L · h 2 T 0 L · h 1 g · M R · L
Furthermore, considering that MZDN-HF uses the solar irradiance from the complete irradiated spectrum ( R d t o t a l ), it is necessary to approximate it based on the UV irradiance ( R d U V ) measured by the AS7331 as a sum of UVA, B, and C channels. It is known that UV composes about 8% of the total spectrum for direct incidence at the top of the atmosphere [36]. Yet for the zenith case, slightly lower values are implied at the ground level, varying with altitude, aerosol, ozone concentrations, etc. For a more general case, at the ground level for any solar incidence angle z, a broad conversion is possible by calculating the air mass factor m and applying it along with the attenuation coefficient τ u v (for the UV spectrum) in Equation (3). This model is derived from Gueymard’s (2003) [37] contributions and the Beer–Lambert Law, which establishes irradiation exponential decay on atmosphere.
m = 1 cos ( Z ) + 0.50572 · ( 96.07995 Z ) 1.6364 0 Z π 2 R d total = R d U V r · e τ u v · ( m 1 ) , where r 0.08 and τ u v ] 0.3 , 0.5 [
As already mentioned, the MZDN-HF intended compilation is A001-based, being related to Brasilia’s climatology, as well as the prototype here proposed. Although the meteorological behavior between the points should be overall similar, microclimatic differences might emerge (besides the well-known barometric issue and irradiance conversions), such as small temperature and/or humidity offsets. In order to mitigate the forecast error when comparing a prototyped AWS’s data to its own-based forecasts, Da Silva et al. (2024) [20] emphasize the need for microclimatic transformations between A001 and custom sources, as long as they are in the same biome and therefore share the same climatological properties. Such transformations would bring collected data to the A001 domain before inputting them into the compilation and then transforming the forecasted output back to the collected domain. If differences are small and linear, simple first-order regressions can be used, as well as their inverse functions. However, if the observed discrepancies are too high, one must consider instrumental errors or new compilation and parameter hypertuning for the custom dataset.

2.7. Implementation

The developed prototype—abbreviated to PRT—was installed at UnB, in the Institute of Biology (IB), at 1030 m altitude and at the latitude and longitude coordinates (−15.767210, −47.864540). Approximately 7 km from it, A001 lies at (−15.791222, −47.925200) 1161 m elevation, in INMET. The distance is expected to cause a small climate divergence, as well as UnB being slightly warmer due to higher urbanization and lower altitude. See Figure 8.
Furthermore, Figure 9 clarifies the physical implementation and its surroundings. The central box contains the microcontroller (placed on the main board), along with the batteries. Right over it, BME688’s encapsulation positioning lies 2 m high, like INMET’s recommendations for thermic monitoring, and the pluviometer was placed just above it. On the left side and slightly higher, the AS7331, VEML7700, and AS3935 encapsulations were made with transparent glass to allow solar light reception, also avoiding metal usage to prevent magnetic isolation on the lightning sensor. The location is wide open, ventilated, and far from objects that could shadow the UV and visible light sensors. The solar panels were installed on the opposite side to prevent occlusion and also receive the proper light they need. Finally, the anemometer pole is raised to 4.5 m high and three strings tense the structure tetrahedrally. The microcontroller runs the firmware explained in Section 2.4, compiled and programmed with the Arduino IDE. The public repository for this research [38] contains further details on the firmware. See the circuit design in Figure 10.
Finally, the Web API responsible for receiving and displaying the data was developed with the Django Framework 4.0.0 and stores data in a PostgreSQL 14.0 database. Although the database was arbitrary, with pretty much any being viable, the back-end was chosen to be developed in Python 3.0 in order to better integrate with the MZDN-HF public library available in Da Silva et al.’s work (2024) [20], which runs in this same language. Still, for compatibility reasons, the Tensorflow 2.0 version was imported to run it. Based on the firmware 10 min base packages, the API endpoints operate hourly arithmetic averages for most time series, with only rainfall and lightning being an hourly sum of their occurrences. Finally, its front-end is browser-based, built with HTML5, CSS3, and JavaScript 1.5, with the help of VueJS 2.7.7 for web components and C3 Chart 0.7.15 for interactive graphs (see it in Figure 11).

2.8. Data Analysis

When verifying weather data quality, a good approach is to compare time series from the evaluated AWS and one official station, which serves as a credible reference for the selected period. The sampled data, in order to ensure robustness, is expected to be that of at least three weeks on hourly data, totalizing 504 elements in each series. During the comparison, statistics such as MAE, RMSE (Root Mean Squared Error), and R 2 (Coefficient of Determination) are applied over the chosen data sample to acquire the absolute error, the root of the standard deviation, and the correlation coefficient between the sets. See Equation (4) for those metrics. In these, Y stands for the INMET’s A001 reference data and Y ^ the prototyped station series. It should be noted that the conversion of barometry via Equation (2), due to altitude differences, and the estimation of R d t o t a l parameterized by R d U V through Equation (3) to guarantee data compatibility.
M A E ( Y , Y ^ ) = 1 n i = 1 n | Y i Y i ^ | M S E ( Y , Y ^ ) = 1 n i = 1 n ( Y i Y i ^ ) 2 R M S E ( Y , Y ^ ) = M S E ( Y , Y ^ ) R 2 ( Y , Y ^ ) = 1 ( Y i Y i ^ ) 2 ( Y i Y ¯ ) 2
Similarly, when forecasts are tested, these same statistics can be applied to compare the events that occurred in the prototyped station (now Y, with respect to prognostics) and what was forecasted ( Y ^ , in this context) via the chosen model (MZDN-HF). Since the model produces 24 h forecasts, a sequence of daily concatenations can be produced referenced at midnight and then compared with the truly occurred data.

3. Results

3.1. Data Registered

Data were collected from 2025-01-12 to 2025-02-01 [39], a three-week hourly interval that contained episodes of bright sun and heavy rain in Brasilia. With these records, it is possible to analyze both hardware performance, meteorological information correlated with A001, and MZDN-HF performance on custom data.

3.1.1. Hardware Performance

During the analysis period, the prototype station performed well, was fully operational, and had a minimum battery level at 3.92 V, only 0.28 V discharged from its maximum (4.2 V). In addition, ESP32 was kept in light sleep for about 54.5% of the time and, although the WiFi signal occasionally went off, the readings were buffered in flash memory until the network was back on. The longest period of data buffering due to poor signal was that of 3 h in 2025-01-14. See Figure 12. RSSI was overall very poor, averaging −89.5 dB, but was already enough for the prototype to keep connection most of the time.

3.1.2. Meteorological Data

In this same period, the temperature, humidity, sea-level pressure (reduced by Equation (2)), and total irradiance (calculated by Equation (3) hyperparameters r = 0.07 and τ u v = 0.4 ) performed well compared with A001, with a R 2 of 95.68%, 92.36%, 97.23% and 86%, with MAEs of 1.34 °C, 5.51%, 0.56 hPa and 61.31 W/m2, respectively. Despite the geographic distance, a satisfactory high similarity is noticed on these series. On the other hand, the average wind speed showed a lower R 2 of 34.46% and MAE of 2.86 km/h, followed by rainfall, with 23.15% and 0.27 mm. Finally, the wind direction represented the weakest R 2 , 3.82%, and a MAE of 110.43°. Analyzing the averages, the prototyped station (PRT) was 1.31 °C warmer (as expected, due to lower altitude), 5% drier, had 0.53 hPa lower pressure, 12.1 W/m2 less solar irradiance, 0.04 mm less rain, 2.03 km/h less wind speed, and a 23.94° drift in the average direction. See Figure 13.
Finally, it should be noted that some of the proposed AWS variables are not sensed by A001 and were analyzed separately. That is the case of illuminance and UVA/B/C irradiance, air quality resistance, lightning, and lightning average distance. Note that the BME688 resistance base level can vary from each module batch; thus, it must be analyzed relatively over time. Their series is shown in Figure 14, along with the UVA–luximetry correlation, which exhibited an R 2 of 91.9%. Luximetry ranged from 0 to 110 kLx, UVA from 0 to 99.17 W/m2, UVB from 0 to 1.65 W/m2, UVC from 0 to 0.3 W/m2, gas resistance from 27 kΩ to 201 kΩ, and lightning from 0 to 19 (hourly), with distances from 1 to 27 km.

3.2. MZDN-HF Adaptation Performance

When integrating the MZDN-HF known compilation (trained with the A001 dataset) into the proposed station, linear regressions were performed to approximate the A001 temperature and humidity domain based on PRT to preserve compatibility when inputting X. The Y results were reversed back to PRT domain using the same regressions (See Figure 15). The pressure was converted, more precisely, through Equation (2), between the two points, and total irradiance was understood as uniform at both stations once Equation (3) is applied. Hourly 24 h forecasts were generated at midnight of each day and joined to form the [2025-01-13, 2025-02-02] interval. The forecasted time series was, then, compared with the occurred data in the proposed AWS, as seen in Figure 16. The MAE, RMSE, and R 2 metrics were 1.32 °C, 1.80 °C, and 72.95% for temperature; 6.12%, 7.96% and 61.05% for humidity; 0.68 hPa, 0.70 hPa and 80.77% for pressure; and 76.31 W/m2, 143.13 W/m2, and 78.4% for solar irradiance. The latter appears to have failed to properly capture the daily seasonality curve in the predictions, leading to poor performance compared with the good results exhibited by the others. The final performance report can also be found separately in Table 4.

4. Discussion

The collected data have shown good correlation with A001, despite their geographical distance and altitude differences, with temperature, humidity, sea-level pressure, and irradiance performing R 2 values above 90% for the first three and 85% for the last one. Their MAE, MSE, and average differences were also reasonably low. Finally, rainfall, wind speed, and wind direction had lower correlations and slightly higher errors, which is expected since rain occurs sparsely and the A001 pole is 10 m long (more than twice the length of this prototype). Although a higher pole could be prototyped, PRT would lose in simplicity both in installation and supporting structure. Although rain may be localized in Brasilia, it is worth noting that the time series average of PRT and A001 pluviometry diverged only by 0.04 mm, very little in this variable context.
In general, the quality of the meteorological data presented is satisfactorily high. Data completeness is also a differential, as the referred station counts with UVA/B/C, illuminance, air quality, and lightning monitoring. The UVA–luximetry correlation was that of R 2 = 91.9%, also pretty high and accounting for cross-validation purposes. In addition, most lightning was registered close to (when not during) rainy periods, which also corroborates this measurement accuracy. However, it must be noted how close the luximetry peak (110 kLx) was to the sensor maximum range (120 kLx), raising questions about high illuminance measurements reaching a plateau near the sensor maximum on brighter days in the future. In this context, VEML7700 could be protected with a partial light-blocking dome to ensure sensed values would always be lower than maximum and, then, compensated for in software to match a precision lux meter—therefore allowing final results to exceed 120 kLx cap value and preventing information loss on peaks. The air quality resistance values of BME688 were higher during the night, possibly due to the vegetal and anthropogenic liberation of VOCs during daytime. It must be noted that BME688 is also sensitive to smoke; therefore, it is important in the Cerrado biome context, which suffers from natural seasonal and anthropogenic wildfires. Such events are expected to significantly lower the resistance output, although they did not occur in the observed time window.
Additionally, Section 3.1.1 achieved a good 54% light–sleep ratio, healthy battery voltage, and no data loss (due to flash memory buffering when RSSI was poor), confirming its robust operation.
Regarding MZDN application, the temperature, humidity, and pressure RMSE (1.80 °C, 7.96%, 0.70 hPa) revealed satisfactory performance, close to the results presented by Da Silva et al. (2024) [20] (1.77 °C, 9.65%, 0.82 hPa). However, irradiance did not perform as well, exhibiting an RMSE of 143.13 W/m2, about 22% higher than the 117 W/m2 archived by the mentioned author in the A001 database, possibly due to different PRT-A001 sensor responsiveness (specially in high zenithal angles) combined with inaccuracies inherent in the approximation made by Equation (3). When analyzing each feature separately and searching for studies in different datasets, results were revealed to also be close to those of Kreuzer et al. (2020) [22], Hou et al. [29], Qing and Niu (2018) [30], and Ozbek et al. (2022) [31], which include some of the cutting-edge works in the field of hourly weather forecasting on a 1-day horizon. See Table 5.
Further enhancements are possible in data gathering, both with new sensors whenever further versions are released and with adding new electronic modules for more variables being monitored, like dust or specific gas concentrations, sky images, etc. In addition, the board contains an unused UART bus which, in the schematic, was meant to be integrated with an A7670C 4G module as a WiFi fallback. The designed board also has a socket for an SCD41 sensor, which is a carbon dioxide concentration I2C module. Such a sensor can pair well with the relative air quality resistance of BME688 in future studies. These enhancements are likely to expand the environmental comprehension of urban areas with high pollution levels.
While the system performed well in Brasilia’s Cerrado biome, its accuracy in other regions with different climatic conditions, such as tropical rainforests or arid zones, remains to be validated. Future reproductions of this study could deploy the system in diverse environments to evaluate its generalizability. In this juncture, new stations could be reproduced to expand climate monitoring in Brazilian territory, especially considering the low-cost components on which the design is based. For this purpose, the firmware code and the board schematics were left open for public use. With respect to forecasts, new MZDN-HF compilations can be adapted and applied, as well as expanded and combined with other models to enhance accuracy and cover more variables, such as rainfall, wind speed, direction, etc.

5. Conclusions

The prototype developed demonstrated the feasibility and reliability of a low-cost (about a few hundred USD), open-source, open-circuit, and AI-integrated AWS, meeting all defined objectives. Using modern sensors and photovoltaic power, the system operated autonomously with stable performance and without data loss, even under adverse network conditions.
Meteorological data collected over a three-week period presented strong R 2 correlation with the A001-INMET reference station in most metrics, particularly for temperature, humidity, pressure, and irradiance. The MZDN-HF integration enabled accurate 24 h forecasts using data collected in real time by the prototype, without requiring retraining or local recompilation. The MAE and R2 values obtained demonstrate the potential of this integrated approach for practical use in environmental and agro-meteorological contexts.
Furthermore, the proposed system was developed entirely with personal funding from the authors, focusing on its affordability and reproducibility. All hardware schematics, firmware, and collected data have been made openly available to facilitate scientific cooperation and the dissemination of accessible meteorological infrastructure in regions with limited resources.
Thus, because of its low cost and disclosed nature, it represents a step forward in democratizing access to automated weather stations and helping to center technology development toward popular needs. Therefore, it facilitates agricultural and academic production in countries in the third world, such as Brazil, benefiting its peasantry and meteorological researchers through the exchange of technology and mutual collaboration. As a direct consequence, it also represents a step forward in the field of monitoring climatic changes, especially in high-risk biomes such as the Cerrado region.

Author Contributions

Conceptualization, T.A.d.S.; Methodology, T.A.d.S. and E.R.C.F.; Software, T.A.d.S.; Validation, T.A.d.S.; Formal analysis, T.A.d.S.; Investigation, T.A.d.S.; Resources, T.A.d.S.; Data curation, T.A.d.S.; Writing—original draft, T.A.d.S.; Writing—review & editing, T.A.d.S., E.R.C.F. and V.P.G.; Visualization, T.A.d.S.; Supervision, A.L.M.S., G.P.R.F., F.L.L.d.M., R.I.M. and V.P.G.; Project administration, T.A.d.S. All authors have read and agreed to the published version of the manuscript.

Funding

The authors would like to thank TED 01/2021 of the Secretaria Nacional de Assistência Social (National Secretariat of Social Assistance)—SNAS/DGSUAS/CGRS and FAPDF (Fundação de Apoio à Pesquisa do Distrito Federal) for the financial support provided for the APC during this paper’s publication process.

Institutional Review Board Statement

Not applicable.

Informed Consent Statement

Not applicable.

Data Availability Statement

All data, code, and models are openly available: Firmware: https://github.com/redstaralek/THOM-32-Firmware-P (accessed on 25 May 2025); Meteorological data: https://github.com/redstaralek/THOM-32-MeteorologicalData-2025 (accessed on 25 May 2025); MZDN-HF model: https://github.com/redstaralek/THOM-32-DATALAB/tree/018cac93ded9e3e1489a30d9fee4b2c35dd759e1 (accessed on 25 May 2025); All resources are released under open licenses to ensure reproducibility.

Conflicts of Interest

The authors declare no conflict of interest.

References

  1. Food and Agriculture Organization (FAO). Climate Change and Food Security: Risks and Responses. 2016. Available online: http://www.fao.org/3/a-i5188e.pdf (accessed on 25 May 2025).
  2. IPCC. Climate Change and Land: An IPCC Special Report. 2019. Available online: https://www.ipcc.ch/srccl/ (accessed on 25 May 2025).
  3. Stull, R. Practical Meteorology: An Algebra-Based Survey of Atmospheric Science; University of British Columbia: Vancouver, BC, Canada, 2017; Chapter 14; pp. 401–430. ISBN 978-0888652836. [Google Scholar]
  4. Hall, A. Historical Understandings of Weather and Society, From the Everyday to the Extreme. Oxford Research Encyclopedia of Climate Science. 30 October 2019. Available online: https://oxfordre.com/climatescience/view/10.1093/acrefore/9780190228620.001.0001/acrefore-9780190228620-e-719 (accessed on 12 May 2025).
  5. Frisinger, H.H. The Hygrometer and Other Meteorological Instruments. In The History of Meteorology: To 1800; Meteorological Monographs; American Meteorological Society: Boston, MA, USA, 1983. [Google Scholar]
  6. Brooks, R.; Patterson, J. The Meteorological Instruments of John Patterson. Bull. Sci. Instrum. Soc. 1994, 7–10. [Google Scholar]
  7. Middleton, W.E.K. The Invention of the Meteorological Instruments; Johns Hopkins Press: Baltimore, ML, USA, 1969. [Google Scholar]
  8. US Navy, The Automatic Weather Station. Proceedings of the U.S. Naval Institute. Volume 73, no. 9, September 1947. Available online: https://www.usni.org/magazines/proceedings/1947/september/automatic-weather-station (accessed on 25 May 2025).
  9. Snyder, R.L.; Brown, P.W.; Hubbard, K.G.; Meyer, S.J. A Guide to Automated Weather Station Networks in North America, Advances in Bioclimatology_4; Springer: Berlin/Heidelberg, Germany, 1996; pp. 1–61. [Google Scholar]
  10. Lajara, R.; Alberola, J.; Pelegri-Sebastia, J.; Sogorb, T.; Llario, J.V. Ultra Low Power Wireless Weather Station. In Proceedings of the 2007 SENSORCOMM Conference, Valencia, Spain, 14–20 October 2007; pp. 469–474. [Google Scholar]
  11. Smith, A.B.; Jones, R. Climate monitoring priorities in economically vulnerable sectors. Nat. Clim. Change 2020, 10, 412–418. [Google Scholar] [CrossRef]
  12. Hofmann, G.S.; Cardoso, M.F.; Alves, R.J.; Weber, E.J.; Barbosa, A.A.; de Toledo, P.M.; Pontual, F.B.; Salles, L.D.O.; Hasenack, H.; Cordeiro, J.L.; et al. The BrazilianCerrado Is Becoming Hotter and Drier. Glob. Change Biol. 2021, 27, 4060–4073. [Google Scholar] [CrossRef] [PubMed]
  13. Suradhaniwar, S.; Kar, S.; Durbha, S.; Jagarlapudi, A. Time Series Forecasting of Univariate Agrometeorological Data: A Comparative Performance Evaluation via One-Step and Multi-Step Ahead Forecasting Strategies. Sensors 2021, 21, 2430. [Google Scholar] [CrossRef] [PubMed]
  14. Coda Sensors. AutomaticWeather Station Price—How Much Does It Cost? Online Product Page and Pricing Overview. 2024. Available online: https://www.codasensor.com/weather-station-price.html (accessed on 25 May 2025).
  15. Dyacon Inc. Introduction to Industrial Weather Stations, Technical Overview and Market Insight. 2024. Available online: https://dyacon.com/introduction-to-industrial-weather-stations (accessed on 25 May 2025).
  16. Straits Research. Automated Weather Station Market Report 2023–2031. Straits Research, 2023. Available online: https://straitsresearch.com/report/automated-weather-station-market (accessed on 25 May 2025).
  17. Bernardes, G.; Ishibashi, R.; Ivo, A.; Rosset, V.; Kimura, B. Prototyping Low-Cost Automatic Weather Stations for Natural Disaster Monitoring. arXiv 2021, arXiv:2102.04574. [Google Scholar] [CrossRef]
  18. Li, H.; Ochani, M.K.; Zhang, H.; Zhang, L. Design of micro-automatic weather station for modern power grid based on STM32. J. Eng. 2017, 2017, 1629–1634. [Google Scholar] [CrossRef]
  19. Stith, J.L.; Baumgardner, D.; Haggerty, J.; Hardesty, R.M.; Lee, W.; Lenschow, D.; Pilewskie, P.; Smith, P.L.; Steiner, M.; Vömel, H. 100 Years of Progress in Atmospheric Observing Systems. Meteorol. Monogr. 2018, 59, 2.1–2.55. [Google Scholar] [CrossRef]
  20. Da Silva, T.A. LSTMs Encoder-Decoders na Geração de Meteogramas Multivariados Para Brasília. In Proceedings of the SBrT 2024—XLII Brazilian Symposium on Telecommunications and Signal Processing, Belém, Brazil, 1–4 October 2024. [Google Scholar]
  21. Zaytar, M.A.; El Amrani, C. Sequence to Sequence Weather Forecasting with Long Short-Term Memory Recurrent Neural Networks. Int. J. Comput. Appl. 2016, 143, 7–11. [Google Scholar] [CrossRef]
  22. Kreuzer, D.; Munz, M.; Schlueter, S. Short-term temperature forecasts using a convolutional neural network—An application to different weather stations in Germany. Mach. Learn. Appl. 2020, 2, 100007. [Google Scholar] [CrossRef]
  23. Parvez, S.; Saha, J.; Hossain, M.; Hussain, H.; Ghuri, M.; Chowdhury, T.; Rahman, M.; Shuchi, N.; Islam, A.; Hasan, M.; et al. A Novel Design and Implementation of Electronic Weather Station and Weather Data Transmission System Using GSM Network. WSEAS Trans. Circuits Syst. 2016, 15, 21. [Google Scholar]
  24. Megantoro, P.; Aldhama, S.; Prihandana, G.; Pandi, V. IoT-based weather station with air quality measurement using ESP32 for environmental aerial condition study. TELKOMNIKA (Telecommun. Comput. Electron. Control.) 2021, 19, 1316–1325. [Google Scholar] [CrossRef]
  25. Wang, Z.; Deng, Z.; Xu, K.; Zhang, P.; Liu, T. Based on Internet of Things Platform Using NB-IoT Communication Low-Power Weather Station System. In Proceeding of the 2021 International Conference on Wireless Communications, Networking and Applications, Wuhan, China, 16–18 December 2022; pp. 633–643. [Google Scholar]
  26. Vishay Semiconductor Opto Division. “Product Termination Notification: VEML7700”, Mouser Electronics, 26 September 2019. Available online: https://www.mouser.com/PCN/Vishay_PTN_OSI_01093_2019_Rev_0.pdf (accessed on 20 November 2024).
  27. Bhandekar, P.; Gobade, S.; Dhake, P.; Kanhekar, P. WSN-Based Data Acquisition System for Collecting Environmental Pollution Factors for Green City. Int. J. Adv. Res. Sci. Commun. Technol. 2024, 52–60. [Google Scholar] [CrossRef]
  28. Fahim, M.; El Mhouti, A.; Tarik, B.; Jakimi, A. 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. 2023, 9, 1–18. [Google Scholar] [CrossRef] [PubMed]
  29. Hou, J.; Wang, Y.; Zhou, J.; Tian, Q. Prediction of hourly air temperature based on CNN–LSTM. Geomat. Nat. Hazards Risk 2022, 13, 1962–1986. [Google Scholar] [CrossRef]
  30. Qing, X.; Niu, Y. Hourly day-ahead solar irradiance prediction using weather forecasts by LSTM. Energy 2018, 148, 461–468. [Google Scholar] [CrossRef]
  31. Ozbek, A.; Ünal, Ş.; Bilgili, M. Daily average relative humidity forecasting with LSTM neural network and ANFIS approaches. Theor. Appl. Climatol. 2022, 150, 697–714. [Google Scholar] [CrossRef]
  32. INMET, Previsão Numérica—Modelo. 2024. Available online: https://portal.inmet.gov.br/servicos/previs%C3%A3o-num%C3%A9rica-modelo (accessed on 14 January 2024).
  33. Usinainfo. Wind Direction Anemometer (SVDV10) and Digital Tipping Rain Gauge (PB10). 2025. Available online: https://www.usinainfo.com.br (accessed on 25 May 2025).
  34. Alek, T. THOM-32-DATALAB, GitHub Repository. 2024. Available online: https://github.com/redstaralek/THOM-32-DATALAB/tree/018cac93ded9e3e1489a30d9fee4b2c35dd759e1 (accessed on 25 May 2025).
  35. Wallace, J.; Hobbs, P. Atmospheric Science: An Introductory Survey; Elsevier: Amsterdam, The Netherlands, 2006. [Google Scholar]
  36. Muneer, T. Solar Radiation and Daylight Models, 2nd ed.; Elsevier Butterworth-Heinemann: Oxford, UK, 2004; ISBN 978-0750659741. [Google Scholar]
  37. Gueymard, C.A. Direct solar transmittance and irradiance predictions with broadband models. Part I: Detailed theoretical performance assessment. Sol. Energy 2003, 74, 355–379. [Google Scholar] [CrossRef]
  38. Alek, T. THOM-32-FIRMWARE, GitHub Repository. 2024. Available online: https://github.com/redstaralek/THOM-32-Firmware-P (accessed on 25 May 2025).
  39. Alek, T. THOM-32: Meteorological Data Collection (2025 Release), GitHub Repository. 2025. Available online: https://github.com/redstaralek/THOM-32-MeteorologicalData-2025 (accessed on 25 May 2025).
Figure 1. General AWS diagram.
Figure 1. General AWS diagram.
Sensors 25 03432 g001
Figure 2. BME688, AS7331, VEML7700, and AS3935, respectively.
Figure 2. BME688, AS7331, VEML7700, and AS3935, respectively.
Sensors 25 03432 g002
Figure 3. A tipping bucket rain gauge performing its cycle.
Figure 3. A tipping bucket rain gauge performing its cycle.
Sensors 25 03432 g003
Figure 4. An anemometer with a wind vane (left) and the vane rotation-magnet-based resistor switching circuit (right).
Figure 4. An anemometer with a wind vane (left) and the vane rotation-magnet-based resistor switching circuit (right).
Sensors 25 03432 g004
Figure 5. Schematic diagram of the charging and power supply module.
Figure 5. Schematic diagram of the charging and power supply module.
Sensors 25 03432 g005
Figure 6. Sliding window T m p X X i , T m p Y Y i . Adapted from Da Silva et al. (2024) [20].
Figure 6. Sliding window T m p X X i , T m p Y Y i . Adapted from Da Silva et al. (2024) [20].
Sensors 25 03432 g006
Figure 7. D P , n X , h l represent some of the hyperparameters: Dropout matrix, input window length, and hidden layers number. Adapted from Da Silva et al. (2024) [20].
Figure 7. D P , n X , h l represent some of the hyperparameters: Dropout matrix, input window length, and hidden layers number. Adapted from Da Silva et al. (2024) [20].
Sensors 25 03432 g007
Figure 8. A map with A001 and the proposed AWS locations plus an aerial view from the second one.
Figure 8. A map with A001 and the proposed AWS locations plus an aerial view from the second one.
Sensors 25 03432 g008
Figure 9. Technical diagram with the proposed station physical body (a). Proposed station at UnB (b).
Figure 9. Technical diagram with the proposed station physical body (a). Proposed station at UnB (b).
Sensors 25 03432 g009
Figure 10. Circuit diagram. 4G SIM module and SCD41 CO2 sensor listed for future compatibility. * Input only pins.
Figure 10. Circuit diagram. 4G SIM module and SCD41 CO2 sensor listed for future compatibility. * Input only pins.
Sensors 25 03432 g010
Figure 11. Web interface developed displaying hourly data.
Figure 11. Web interface developed displaying hourly data.
Sensors 25 03432 g011
Figure 12. Performance data: MCU sleep ratio, battery voltage, and RSSI.
Figure 12. Performance data: MCU sleep ratio, battery voltage, and RSSI.
Sensors 25 03432 g012
Figure 13. PRT and A001 data represented in dark and light gray. Statistic boards on the side. Series are temperature, humidity, pressure, irradiance, rainfall, wind speed, and direction from top to down.
Figure 13. PRT and A001 data represented in dark and light gray. Statistic boards on the side. Series are temperature, humidity, pressure, irradiance, rainfall, wind speed, and direction from top to down.
Sensors 25 03432 g013
Figure 14. Data exclusive to PRT. Luximetry, UVA/B/C irradiance, air quality resistance, UVA-lux correlation, and lightning, respectively, from top to down.
Figure 14. Data exclusive to PRT. Luximetry, UVA/B/C irradiance, air quality resistance, UVA-lux correlation, and lightning, respectively, from top to down.
Sensors 25 03432 g014
Figure 15. PRT to A001 Linear Correlation and Regression. Temperature (left) and humidity (right).
Figure 15. PRT to A001 Linear Correlation and Regression. Temperature (left) and humidity (right).
Sensors 25 03432 g015
Figure 16. PRT data and MZDN-HF forecasts (temperature, humidity, pressure, and solar irradiance from top to bottom). MAE, RMSE, R 2 on the right.
Figure 16. PRT data and MZDN-HF forecasts (temperature, humidity, pressure, and solar irradiance from top to bottom). MAE, RMSE, R 2 on the right.
Sensors 25 03432 g016
Table 1. Comparison with similar works.
Table 1. Comparison with similar works.
FeatureParvez et al.H. Li et al.Megantoro et al.Wang et al.Fahim et al.Bhandekar et al.This Study
(2016) [23](2017) [29](2021) [24](2022) [25](2023) [28](2024) [27](2025)
Temperature and Humidity
Pressure
UV Irradiance/UVI
Illuminance
Rainfall
Wind Speed and Direction
Air Quality
Lightning
Solar Powered
Wireless Connection
Performs Forecasts
AI Integrated
Comp. to National AWSs
Hardware Monitoring
Public Circuit Design
Public Firmware
Table 2. Used sensors descriptions. * P l v [ 0.25 , 50 ] , ** V e l [ 0.9 , 80 ] .
Table 2. Used sensors descriptions. * P l v [ 0.25 , 50 ] , ** V e l [ 0.9 , 80 ] .
SensorMeasurementSymbolOutputProtocolError MarginUnit
BME688Temperature T m p Digital I 2 C ±0.5°C
BME688Relative Humidity H u m Digital I 2 C ±3.0%
BME688Pressure P r Digital I 2 C ±0.6hPa
BME688Air Quality Resistance R e s Digital I 2 C -
AS7331UV Irradiance R d u v Digital I 2 C -mW/cm2
VEML7700Illuminance L x Digital I 2 C -Lx
AS3935Lightnings L g n Digital I 2 C --
AS3935Lightnings Distance L g n d i s t Digital I 2 C -km
PB10Pluviometry P l v Digital-±1.2–2.5 *mm/h
SVDV10Anemometry A n Digital-±0.9–4.0 **km/h
SVDV10Wind Direction D i r Analog--°
Table 3. Estimated prices based on average market values as of 2025.
Table 3. Estimated prices based on average market values as of 2025.
ComponentPrice (USD)AmountTotal (USD)
10 W 12 V Solar Panel7.00428.00
DC 5 V 9 V UPS Module1.8011.80
18650, 2600 mAh Battery Cells2.3049.20
ESP-32 WROOM 32D4.2014.20
BME68820.00120.00
AS733116.00116.00
VEML77005.0015.00
AS393524.00124.00
1″ SAE Steel Industrial Round Tube10.00/m9.00 m90.00
3/4″ Aluminum L-Angle7.50/m2.50 m18.75
5/8″ ASTM A36 Steel L-Angle7.00/m2.00 m14.00
Stucco Embossed Aluminum Sheet (0.5 mm)3.00/m21.00 m23.00
PVC-Coated Steel Cable (2.7 mm)1.00/m9.00 m9.00
Final--242.95
Table 4. Algorithm forecast results in three different metrics.
Table 4. Algorithm forecast results in three different metrics.
ParameterTemperatureHumidityPressureIrradiance
MAE1.326.120.6876.31
RMSE1.807.960.70143.13
R 2 72.95%61.05%80.77%78.40%
Table 5. RMSE of prominent work in the field of LSTM hourly weather forecasting in a 24 h horizon.
Table 5. RMSE of prominent work in the field of LSTM hourly weather forecasting in a 24 h horizon.
Base Architecture Tmp (°C) Pr (hPa) Rd (W/m2) Hr (%)
Kreuzer et al. (2020) [22](ConvLSTM)2.10---
Hou et al. (2022) [29](ConvLSTM)1.97---
Qing and Niu (2018) [30](LSTM)--122.7-
Ozbek et al. (2022) [31](LSTM)---7.51
Da Silva et al. (2024) [20]MZDN-HF (EncDec-LSTM)1.770.8271179.65
Current ExperimentMZDN-HF (EncDec-LSTM)1.800.70143.137.96
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.

Share and Cite

MDPI and ACS Style

da Silva, T.A.; Serrano, A.L.M.; Figueiredo, E.R.C.; Rocha Filho, G.P.; de Mendonça, F.L.L.; Meneguette, R.I.; Gonçalves, V.P. New Model for Weather Stations Integrated to Intelligent Meteorological Forecasts in Brasilia. Sensors 2025, 25, 3432. https://doi.org/10.3390/s25113432

AMA Style

da Silva TA, Serrano ALM, Figueiredo ERC, Rocha Filho GP, de Mendonça FLL, Meneguette RI, Gonçalves VP. New Model for Weather Stations Integrated to Intelligent Meteorological Forecasts in Brasilia. Sensors. 2025; 25(11):3432. https://doi.org/10.3390/s25113432

Chicago/Turabian Style

da Silva, Thomas Alexandre, Andre L. M. Serrano, Erick R. C. Figueiredo, Geraldo P. Rocha Filho, Fábio L. L. de Mendonça, Rodolfo I. Meneguette, and Vinícius P. Gonçalves. 2025. "New Model for Weather Stations Integrated to Intelligent Meteorological Forecasts in Brasilia" Sensors 25, no. 11: 3432. https://doi.org/10.3390/s25113432

APA Style

da Silva, T. A., Serrano, A. L. M., Figueiredo, E. R. C., Rocha Filho, G. P., de Mendonça, F. L. L., Meneguette, R. I., & Gonçalves, V. P. (2025). New Model for Weather Stations Integrated to Intelligent Meteorological Forecasts in Brasilia. Sensors, 25(11), 3432. https://doi.org/10.3390/s25113432

Note that from the first issue of 2016, this journal uses article numbers instead of page numbers. See further details here.

Article Metrics

Back to TopTop